@everymatrix/casino-lobby 1.62.0 → 1.62.1

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 (127) hide show
  1. package/components/CasinoCalendar-C8B0eACb.cjs +22 -0
  2. package/components/{CasinoCalendar-DwNK-Krf.js → CasinoCalendar-izYyDxua.js} +873 -852
  3. package/components/{CasinoCalendar-Ds_auLbt.js → CasinoCalendar-lTuMef5g.js} +1099 -1078
  4. package/components/{CasinoCalendarDailyDetails-C_XI9wqh.js → CasinoCalendarDailyDetails-BO_acJjS.js} +49 -49
  5. package/components/{CasinoCalendarDailyDetails-Bsp_M9tm.js → CasinoCalendarDailyDetails-BRtsgmSz.js} +49 -49
  6. package/components/{CasinoCalendarDailyDetails-CfPB55Pq.cjs → CasinoCalendarDailyDetails-DB-0YZ9U.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-DX4mmW--.js → CasinoCalendarDailyItem-CE-i7Rjk.js} +33 -33
  8. package/components/{CasinoCalendarDailyItem-BZFRiT1-.js → CasinoCalendarDailyItem-CearDjmk.js} +33 -33
  9. package/components/{CasinoCalendarDailyItem-DKNNV9h9.cjs → CasinoCalendarDailyItem-DAkal_aw.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-BpGXCaMb.js → CasinoCategoriesSlider-CbZRQLJS.js} +71 -71
  11. package/components/{CasinoCategoriesSlider-3nT06xt_.js → CasinoCategoriesSlider-CtsT7oWX.js} +70 -70
  12. package/components/CasinoCategoriesSlider-DtDec725.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-Bs5ioZVG.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-Dk4psn1e.js → CasinoCollectionsProviders-BsANDUWq.js} +77 -77
  15. package/components/{CasinoCollectionsProviders-BGPURFbw.js → CasinoCollectionsProviders-C6vH48GA.js} +58 -58
  16. package/components/{CasinoFavoritesSection-Bc0fMYjF.js → CasinoFavoritesSection-6WkSSin3.js} +23 -23
  17. package/components/{CasinoFavoritesSection-C0CsEcw_.js → CasinoFavoritesSection-Binip-ga.js} +23 -23
  18. package/components/{CasinoFavoritesSection-vRmZpBaX.cjs → CasinoFavoritesSection-Xa7P63xe.cjs} +1 -1
  19. package/components/CasinoFilter-Dg58c3Om.cjs +1 -0
  20. package/components/CasinoFilter-N8qvxcNm.js +645 -0
  21. package/components/CasinoFilter-xLSNxOV2.js +644 -0
  22. package/components/{CasinoGamePage-DJvIg2Lf.js → CasinoGamePage-AxIvVXWI.js} +746 -746
  23. package/components/{CasinoGamePage-JBZLEvnG.js → CasinoGamePage-DJFhafR6.js} +783 -783
  24. package/components/{CasinoGamePage-ChuDdD-6.cjs → CasinoGamePage-DQL-yFsp.cjs} +6 -6
  25. package/components/CasinoGameThumbnail-BjLYh64K.js +1836 -0
  26. package/components/CasinoGameThumbnail-CYUpL3dx.cjs +38 -0
  27. package/components/CasinoGameThumbnail-dOxN1fba.js +1852 -0
  28. package/components/{CasinoGamesCategorySection-foSq_Gr6.js → CasinoGamesCategorySection-BUxtHhON.js} +249 -249
  29. package/components/{CasinoGamesCategorySection-GOjPf7-0.cjs → CasinoGamesCategorySection-C0zpuZl3.cjs} +1 -1
  30. package/components/{CasinoGamesCategorySection-Ch0WIANe.js → CasinoGamesCategorySection-pmibtuJd.js} +332 -332
  31. package/components/{CasinoJackpotBanner-Iq9Ey3dk.js → CasinoJackpotBanner-CdjXlJzV.js} +131 -131
  32. package/components/{CasinoJackpotBanner-B2CksgLI.js → CasinoJackpotBanner-DcU4dn5c.js} +163 -163
  33. package/components/CasinoJackpotBanner-DkGsDt5a.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-DbANdFuL.js → CasinoLastPlayedSection-BP5rPSQ_.js} +46 -46
  35. package/components/{CasinoLastPlayedSection-cmf92qRb.cjs → CasinoLastPlayedSection-D0h-rsdy.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection-Bp4Lsv3s.js → CasinoLastPlayedSection-vlivUYOC.js} +46 -46
  37. package/components/{CasinoLobby-siRHhGuy.js → CasinoLobby-CPaRNRtp.js} +74 -74
  38. package/components/{CasinoLobby-B8ucHOFp.js → CasinoLobby-CyDr4hqy.js} +73 -73
  39. package/components/{CasinoLobby-CAeLQ5BE.cjs → CasinoLobby-Ds5HlH8Y.cjs} +1 -1
  40. package/components/{CasinoModal-DGa_AIvk.cjs → CasinoModal-Cr5ZiTlh.cjs} +1 -1
  41. package/components/{CasinoModal-Pt4nHM76.js → CasinoModal-D9IpMDiG.js} +43 -43
  42. package/components/{CasinoModal-e0s3ToYA.js → CasinoModal-Dk3TnqEW.js} +43 -43
  43. package/components/{CasinoMostPlayedSection-Dk8rng9q.js → CasinoMostPlayedSection-20MO7enx.js} +44 -44
  44. package/components/{CasinoMostPlayedSection-DuO2XrE8.js → CasinoMostPlayedSection-CbfiaETY.js} +44 -44
  45. package/components/{CasinoMostPlayedSection-Cxmg0Bai.cjs → CasinoMostPlayedSection-D26xQEsr.cjs} +1 -1
  46. package/components/{CasinoMyGames-BXV5DJsV.cjs → CasinoMyGames-BpDT9BLf.cjs} +1 -1
  47. package/components/{CasinoMyGames-ZgZazIms.js → CasinoMyGames-CFxQ8X8x.js} +47 -47
  48. package/components/{CasinoMyGames-DDhJiodD.js → CasinoMyGames-CadZECEx.js} +51 -51
  49. package/components/{CasinoPage-QkYfyrIK.cjs → CasinoPage-CqUxa6JX.cjs} +1 -1
  50. package/components/{CasinoPage-BfG57-mo.js → CasinoPage-DFLtQdP3.js} +77 -77
  51. package/components/{CasinoPage-DlenCL5e.js → CasinoPage-jKeNqwgL.js} +77 -77
  52. package/components/{CasinoRandomGame-C-KByRhW.js → CasinoRandomGame-CMMdb6MX.js} +201 -202
  53. package/components/CasinoRandomGame-CQSoF_L9.cjs +2 -0
  54. package/components/{CasinoRandomGame-CFxey-Hj.js → CasinoRandomGame-Dfk5ExSm.js} +165 -166
  55. package/components/{CasinoSearch-BjnGir-z.js → CasinoSearch-B-DNLDkb.js} +69 -69
  56. package/components/{CasinoSearch-Ci-NvpMW.cjs → CasinoSearch-CBYRtC_2.cjs} +1 -1
  57. package/components/{CasinoSearch-Cwi_srKc.js → CasinoSearch-ulzQNNP2.js} +69 -69
  58. package/components/CasinoSlider-Bvy9S6qQ.cjs +1 -0
  59. package/components/{CasinoSlider-39QtmWWi.js → CasinoSlider-DCODvBVc.js} +177 -178
  60. package/components/{CasinoSlider-C7tccz8y.js → CasinoSlider-M-ePf6YF.js} +228 -229
  61. package/components/{CasinoSort-Big21575.cjs → CasinoSort-CMyP4b81.cjs} +1 -1
  62. package/components/{CasinoSort-DgtkEGDb.js → CasinoSort-Cz8W-yKd.js} +110 -111
  63. package/components/{CasinoSort-BvuV6OEx.js → CasinoSort-DJlRNRiq.js} +104 -103
  64. package/components/{CasinoWinners-CUHNrZzd.js → CasinoWinners-B11A2z1V.js} +138 -138
  65. package/components/{CasinoWinners-CAaxaJlt.js → CasinoWinners-B44zvyCP.js} +151 -151
  66. package/components/{CasinoWinners-YGc-x05i.cjs → CasinoWinners-CTbjyBxP.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-DgYbDns-.js → GeneralAnimationLoading-N8PSBBga.js} +18 -18
  68. package/components/{GeneralAnimationLoading-DS00gkfg.cjs → GeneralAnimationLoading-s32ZAU4z.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-GRiNTyhV.js → GeneralAnimationLoading-yZge1VnD.js} +18 -18
  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 +1 -1
  74. package/stencil/{casino-play-random-game-C7EJAFXg.js → casino-play-random-game-6EpPs13y.js} +2 -2
  75. package/stencil/{casino-play-random-game-BXqbLgi6.js → casino-play-random-game-BUvMKyaw.js} +2 -2
  76. package/stencil/{casino-play-random-game-DjzHFI4S.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  77. package/stencil/index-97d17652-CCalHFFZ.js +558 -0
  78. package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
  79. package/stencil/index-97d17652-De_e2iwD.js +542 -0
  80. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  81. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  82. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  83. package/stencil/index-b2193545-60VR4wV3.js +519 -0
  84. package/stencil/index-b2193545-LYFajSbf.js +503 -0
  85. package/stencil/index-b2193545-nJb2J-aJ.cjs +1 -0
  86. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
  87. package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
  88. package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
  89. package/stencil/ui-image-CUjXE1FQ.js +25 -0
  90. package/stencil/ui-image-DO4by88q.js +7 -0
  91. package/stencil/ui-image-DgVuZYOM.cjs +1 -0
  92. package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
  93. package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
  94. package/stencil/ui-image_2-CIsvIZfV.js +154 -0
  95. package/stencil/{ui-skeleton-6d1c12ae-CrQ3Yom_.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
  96. package/stencil/{ui-skeleton-6d1c12ae-C2t65ZQ6.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
  97. package/stencil/{ui-skeleton-6d1c12ae-D9cBvSa8.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
  98. package/stencil/{ui-skeleton-BEBLuDwu.js → ui-skeleton-CDhNSEbX.js} +2 -2
  99. package/stencil/{ui-skeleton-D595e_7Y.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
  100. package/stencil/{ui-skeleton-Z7IcB7dJ.js → ui-skeleton-D5ACyLBl.js} +2 -2
  101. package/components/CasinoCalendar-mfnJr7FR.cjs +0 -22
  102. package/components/CasinoCategoriesSlider-BcnId76H.cjs +0 -1
  103. package/components/CasinoCollectionsProviders-By4Ga1uR.cjs +0 -1
  104. package/components/CasinoFilter-CAtpk4a4.js +0 -645
  105. package/components/CasinoFilter-CtjgbEie.js +0 -646
  106. package/components/CasinoFilter-dn8i37bN.cjs +0 -1
  107. package/components/CasinoGameThumbnail-DjAdZZBA.js +0 -1883
  108. package/components/CasinoGameThumbnail-DrQpg0EE.js +0 -1867
  109. package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +0 -38
  110. package/components/CasinoJackpotBanner-B_eZxp_D.cjs +0 -1
  111. package/components/CasinoRandomGame-Cs9kjDxc.cjs +0 -2
  112. package/components/CasinoSlider-DrdLTNh9.cjs +0 -1
  113. package/stencil/index-ab3202d6-CMLJROQf.cjs +0 -1
  114. package/stencil/index-ab3202d6-CqQYxn8J.js +0 -575
  115. package/stencil/index-ab3202d6-D5caeC50.js +0 -559
  116. package/stencil/index-b2193545-CJX9lIo2.js +0 -519
  117. package/stencil/index-b2193545-CbB5TWd2.js +0 -503
  118. package/stencil/index-b2193545-DQd_Uk3t.cjs +0 -1
  119. package/stencil/index-b7bbd57e-BO976FKE.js +0 -534
  120. package/stencil/index-b7bbd57e-CRts68dn.cjs +0 -1
  121. package/stencil/index-b7bbd57e-ChiHMF5W.js +0 -550
  122. package/stencil/ui-image-38c3c15f-C4x7O9FA.js +0 -39
  123. package/stencil/ui-image-38c3c15f-DQqFo7p2.cjs +0 -1
  124. package/stencil/ui-image-38c3c15f-DY2A0QkK.js +0 -39
  125. package/stencil/ui-image-CzWACXX6.js +0 -11
  126. package/stencil/ui-image-c5YAxRRi.cjs +0 -1
  127. package/stencil/ui-image-shmNN3yX.js +0 -29
@@ -1,7 +1,7 @@
1
- function A() {
1
+ function B() {
2
2
  }
3
- const Mr = (e) => e;
4
- function Nr(e, t) {
3
+ const Nr = (e) => e;
4
+ function Mr(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,71 +9,71 @@ function Nr(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function kt(e) {
12
+ function Xt(e) {
13
13
  return e();
14
14
  }
15
- function dt() {
15
+ function mt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function V(e) {
19
- e.forEach(kt);
19
+ e.forEach(Xt);
20
20
  }
21
- function de(e) {
21
+ function fe(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Vt(e, t) {
24
+ function Wt(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
27
  let be;
28
- function Hs(e, t) {
28
+ function Ao(e, t) {
29
29
  return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
30
30
  }
31
- function Rr(e) {
31
+ function $r(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Xt(e, ...t) {
34
+ function zt(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
38
- return A;
38
+ return B;
39
39
  }
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function $r(e, t, r) {
44
- e.$$.on_destroy.push(Xt(t, r));
43
+ function Rr(e, t, r) {
44
+ e.$$.on_destroy.push(zt(t, r));
45
45
  }
46
- function Bs(e, t, r, n) {
46
+ function Bo(e, t, r, n) {
47
47
  if (e) {
48
- const i = Wt(e, t, r, n);
48
+ const i = Zt(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Wt(e, t, r, n) {
53
- return e[1] && n ? Nr(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function Zt(e, t, r, n) {
53
+ return e[1] && n ? Mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function Ps(e, t, r, n) {
55
+ function Oo(e, t, r, n) {
56
56
  if (e[2] && n) {
57
57
  const i = e[2](n(r));
58
58
  if (t.dirty === void 0)
59
59
  return i;
60
60
  if (typeof i == "object") {
61
- const s = [], a = Math.max(t.dirty.length, i.length);
62
- for (let o = 0; o < a; o += 1)
63
- s[o] = t.dirty[o] | i[o];
64
- return s;
61
+ const o = [], a = Math.max(t.dirty.length, i.length);
62
+ for (let s = 0; s < a; s += 1)
63
+ o[s] = t.dirty[s] | i[s];
64
+ return o;
65
65
  }
66
66
  return t.dirty | i;
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function As(e, t, r, n, i, s) {
70
+ function Io(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const a = Wt(t, r, n, s);
72
+ const a = Zt(t, r, n, o);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function Os(e) {
76
+ function Co(e) {
77
77
  if (e.ctx.length > 32) {
78
78
  const t = [], r = e.ctx.length / 32;
79
79
  for (let n = 0; n < r; n++)
@@ -82,20 +82,20 @@ function Os(e) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- function Is(e) {
86
- return e && de(e.destroy) ? e.destroy : A;
85
+ function Lo(e) {
86
+ return e && fe(e.destroy) ? e.destroy : B;
87
87
  }
88
- const zt = typeof window < "u";
89
- let Dr = zt ? () => window.performance.now() : () => Date.now(), st = zt ? (e) => requestAnimationFrame(e) : A;
88
+ const Qt = typeof window < "u";
89
+ let Dr = Qt ? () => window.performance.now() : () => Date.now(), lt = Qt ? (e) => requestAnimationFrame(e) : B;
90
90
  const J = /* @__PURE__ */ new Set();
91
- function Zt(e) {
91
+ function qt(e) {
92
92
  J.forEach((t) => {
93
93
  t.c(e) || (J.delete(t), t.f());
94
- }), J.size !== 0 && st(Zt);
94
+ }), J.size !== 0 && lt(qt);
95
95
  }
96
96
  function Ur(e) {
97
97
  let t;
98
- return J.size === 0 && st(Zt), {
98
+ return J.size === 0 && lt(qt), {
99
99
  promise: new Promise((r) => {
100
100
  J.add(t = { c: e, f: r });
101
101
  }),
@@ -104,17 +104,17 @@ function Ur(e) {
104
104
  }
105
105
  };
106
106
  }
107
- function pe(e, t) {
107
+ function de(e, t) {
108
108
  e.appendChild(t);
109
109
  }
110
110
  function Gr(e, t, r) {
111
- const n = ot(e);
111
+ const n = ht(e);
112
112
  if (!n.getElementById(t)) {
113
- const i = M("style");
114
- i.id = t, i.textContent = r, Qt(n, i);
113
+ const i = N("style");
114
+ i.id = t, i.textContent = r, Jt(n, i);
115
115
  }
116
116
  }
117
- function ot(e) {
117
+ function ht(e) {
118
118
  if (!e)
119
119
  return document;
120
120
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -125,11 +125,11 @@ function ot(e) {
125
125
  ) : e.ownerDocument;
126
126
  }
127
127
  function Fr(e) {
128
- const t = M("style");
129
- return t.textContent = "/* empty */", Qt(ot(e), t), t.sheet;
128
+ const t = N("style");
129
+ return t.textContent = "/* empty */", Jt(ht(e), t), t.sheet;
130
130
  }
131
- function Qt(e, t) {
132
- return pe(
131
+ function Jt(e, t) {
132
+ return de(
133
133
  /** @type {Document} */
134
134
  e.head || e,
135
135
  t
@@ -138,32 +138,32 @@ function Qt(e, t) {
138
138
  function X(e, t, r) {
139
139
  e.insertBefore(t, r || null);
140
140
  }
141
- function R(e) {
141
+ function $(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
144
  function jr(e, t) {
145
145
  for (let r = 0; r < e.length; r += 1)
146
146
  e[r] && e[r].d(t);
147
147
  }
148
- function M(e) {
148
+ function N(e) {
149
149
  return document.createElement(e);
150
150
  }
151
151
  function kr(e) {
152
152
  return document.createElementNS("http://www.w3.org/2000/svg", e);
153
153
  }
154
- function at(e) {
154
+ function ct(e) {
155
155
  return document.createTextNode(e);
156
156
  }
157
157
  function Vr() {
158
- return at(" ");
158
+ return ct(" ");
159
159
  }
160
- function Cs() {
161
- return at("");
160
+ function No() {
161
+ return ct("");
162
162
  }
163
- function pt(e, t, r, n) {
163
+ function bt(e, t, r, n) {
164
164
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
165
165
  }
166
- function Ls(e) {
166
+ function Mo(e) {
167
167
  return function(t) {
168
168
  return t.stopPropagation(), e.call(this, t);
169
169
  };
@@ -182,10 +182,10 @@ function Wr(e, t) {
182
182
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
183
183
  t);
184
184
  }
185
- function Ms(e, t) {
185
+ function $o(e, t) {
186
186
  e.value = t ?? "";
187
187
  }
188
- function Ns(e, t, r, n) {
188
+ function Ro(e, t, r, n) {
189
189
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
190
190
  }
191
191
  let ye;
@@ -200,16 +200,16 @@ function zr() {
200
200
  }
201
201
  return ye;
202
202
  }
203
- function Rs(e, t) {
203
+ function Do(e, t) {
204
204
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
205
- const n = M("iframe");
205
+ const n = N("iframe");
206
206
  n.setAttribute(
207
207
  "style",
208
208
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
209
209
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
210
210
  const i = zr();
211
- let s;
212
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = pt(
211
+ let o;
212
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = bt(
213
213
  window,
214
214
  "message",
215
215
  /** @param {MessageEvent} event */
@@ -217,18 +217,18 @@ function Rs(e, t) {
217
217
  a.source === n.contentWindow && t();
218
218
  }
219
219
  )) : (n.src = "about:blank", n.onload = () => {
220
- s = pt(n.contentWindow, "resize", t), t();
221
- }), pe(e, n), () => {
222
- (i || s && n.contentWindow) && s(), R(n);
220
+ o = bt(n.contentWindow, "resize", t), t();
221
+ }), de(e, n), () => {
222
+ (i || o && n.contentWindow) && o(), $(n);
223
223
  };
224
224
  }
225
- function $s(e, t, r) {
225
+ function Uo(e, t, r) {
226
226
  e.classList.toggle(t, !!r);
227
227
  }
228
228
  function Zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
229
229
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
230
230
  }
231
- class Ds {
231
+ class Go {
232
232
  /**
233
233
  * @private
234
234
  * @default false
@@ -262,7 +262,7 @@ class Ds {
262
262
  this.e || (this.is_svg ? this.e = kr(
263
263
  /** @type {keyof SVGElementTagNameMap} */
264
264
  r.nodeName
265
- ) : this.e = M(
265
+ ) : this.e = N(
266
266
  /** @type {keyof HTMLElementTagNameMap} */
267
267
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
268
268
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -295,7 +295,7 @@ class Ds {
295
295
  /**
296
296
  * @returns {void} */
297
297
  d() {
298
- this.n.forEach(R);
298
+ this.n.forEach($);
299
299
  }
300
300
  }
301
301
  function Qr(e) {
@@ -319,155 +319,155 @@ function Jr(e, t) {
319
319
  const r = { stylesheet: Fr(t), rules: {} };
320
320
  return Te.set(e, r), r;
321
321
  }
322
- function mt(e, t, r, n, i, s, a, o = 0) {
322
+ function yt(e, t, r, n, i, o, a, s = 0) {
323
323
  const l = 16.666 / n;
324
324
  let u = `{
325
325
  `;
326
- for (let E = 0; E <= 1; E += l) {
327
- const T = t + (r - t) * s(E);
328
- u += E * 100 + `%{${a(T, 1 - T)}}
326
+ for (let v = 0; v <= 1; v += l) {
327
+ const T = t + (r - t) * o(v);
328
+ u += v * 100 + `%{${a(T, 1 - T)}}
329
329
  `;
330
330
  }
331
331
  const h = u + `100% {${a(r, 1 - r)}}
332
- }`, f = `__svelte_${qr(h)}_${o}`, c = ot(e), { stylesheet: p, rules: d } = Te.get(c) || Jr(c, e);
332
+ }`, f = `__svelte_${qr(h)}_${s}`, c = ht(e), { stylesheet: p, rules: d } = Te.get(c) || Jr(c, e);
333
333
  d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
334
334
  const m = e.style.animation || "";
335
335
  return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, He += 1, f;
336
336
  }
337
337
  function Yr(e, t) {
338
338
  const r = (e.style.animation || "").split(", "), n = r.filter(
339
- t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
339
+ t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
340
340
  // remove all Svelte animations
341
341
  ), i = r.length - n.length;
342
342
  i && (e.style.animation = n.join(", "), He -= i, He || Kr());
343
343
  }
344
344
  function Kr() {
345
- st(() => {
345
+ lt(() => {
346
346
  He || (Te.forEach((e) => {
347
347
  const { ownerNode: t } = e.stylesheet;
348
- t && R(t);
348
+ t && $(t);
349
349
  }), Te.clear());
350
350
  });
351
351
  }
352
- let he;
353
- function le(e) {
354
- he = e;
352
+ let le;
353
+ function ue(e) {
354
+ le = e;
355
355
  }
356
- function ut() {
357
- if (!he)
356
+ function ft() {
357
+ if (!le)
358
358
  throw new Error("Function called outside component initialization");
359
- return he;
359
+ return le;
360
360
  }
361
- function Us(e) {
362
- ut().$$.before_update.push(e);
361
+ function Fo(e) {
362
+ ft().$$.before_update.push(e);
363
363
  }
364
364
  function en(e) {
365
- ut().$$.on_mount.push(e);
365
+ ft().$$.on_mount.push(e);
366
366
  }
367
- function Gs(e) {
368
- ut().$$.on_destroy.push(e);
367
+ function jo(e) {
368
+ ft().$$.on_destroy.push(e);
369
369
  }
370
- const q = [], Ve = [];
370
+ const q = [], We = [];
371
371
  let Y = [];
372
- const bt = [], qt = /* @__PURE__ */ Promise.resolve();
373
- let Xe = !1;
374
- function Jt() {
375
- Xe || (Xe = !0, qt.then($));
372
+ const gt = [], Yt = /* @__PURE__ */ Promise.resolve();
373
+ let ze = !1;
374
+ function Kt() {
375
+ ze || (ze = !0, Yt.then(R));
376
376
  }
377
- function Fs() {
378
- return Jt(), qt;
377
+ function ko() {
378
+ return Kt(), Yt;
379
379
  }
380
- function Be(e) {
380
+ function Pe(e) {
381
381
  Y.push(e);
382
382
  }
383
- const Ne = /* @__PURE__ */ new Set();
383
+ const Re = /* @__PURE__ */ new Set();
384
384
  let Z = 0;
385
- function $() {
385
+ function R() {
386
386
  if (Z !== 0)
387
387
  return;
388
- const e = he;
388
+ const e = le;
389
389
  do {
390
390
  try {
391
391
  for (; Z < q.length; ) {
392
392
  const t = q[Z];
393
- Z++, le(t), tn(t.$$);
393
+ Z++, ue(t), tn(t.$$);
394
394
  }
395
395
  } catch (t) {
396
396
  throw q.length = 0, Z = 0, t;
397
397
  }
398
- for (le(null), q.length = 0, Z = 0; Ve.length; )
399
- Ve.pop()();
398
+ for (ue(null), q.length = 0, Z = 0; We.length; )
399
+ We.pop()();
400
400
  for (let t = 0; t < Y.length; t += 1) {
401
401
  const r = Y[t];
402
- Ne.has(r) || (Ne.add(r), r());
402
+ Re.has(r) || (Re.add(r), r());
403
403
  }
404
404
  Y.length = 0;
405
405
  } while (q.length);
406
- for (; bt.length; )
407
- bt.pop()();
408
- Xe = !1, Ne.clear(), le(e);
406
+ for (; gt.length; )
407
+ gt.pop()();
408
+ ze = !1, Re.clear(), ue(e);
409
409
  }
410
410
  function tn(e) {
411
411
  if (e.fragment !== null) {
412
412
  e.update(), V(e.before_update);
413
413
  const t = e.dirty;
414
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
414
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
415
415
  }
416
416
  }
417
417
  function rn(e) {
418
418
  const t = [], r = [];
419
419
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
420
420
  }
421
- let ae;
421
+ let se;
422
422
  function nn() {
423
- return ae || (ae = Promise.resolve(), ae.then(() => {
424
- ae = null;
425
- })), ae;
423
+ return se || (se = Promise.resolve(), se.then(() => {
424
+ se = null;
425
+ })), se;
426
426
  }
427
- function Re(e, t, r) {
427
+ function De(e, t, r) {
428
428
  e.dispatchEvent(Zr(`${t ? "intro" : "outro"}${r}`));
429
429
  }
430
430
  const ve = /* @__PURE__ */ new Set();
431
- let D;
432
- function js() {
433
- D = {
431
+ let U;
432
+ function Vo() {
433
+ U = {
434
434
  r: 0,
435
435
  c: [],
436
- p: D
436
+ p: U
437
437
  // parent group
438
438
  };
439
439
  }
440
- function ks() {
441
- D.r || V(D.c), D = D.p;
440
+ function Xo() {
441
+ U.r || V(U.c), U = U.p;
442
442
  }
443
- function Yt(e, t) {
443
+ function er(e, t) {
444
444
  e && e.i && (ve.delete(e), e.i(t));
445
445
  }
446
- function sn(e, t, r, n) {
446
+ function on(e, t, r, n) {
447
447
  if (e && e.o) {
448
448
  if (ve.has(e))
449
449
  return;
450
- ve.add(e), D.c.push(() => {
450
+ ve.add(e), U.c.push(() => {
451
451
  ve.delete(e), n && (r && e.d(1), n());
452
452
  }), e.o(t);
453
453
  } else
454
454
  n && n();
455
455
  }
456
- const on = { duration: 0 };
457
- function Vs(e, t, r, n) {
458
- let s = t(e, r, { direction: "both" }), a = n ? 0 : 1, o = null, l = null, u = null, h;
456
+ const sn = { duration: 0 };
457
+ function Wo(e, t, r, n) {
458
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
459
459
  function f() {
460
460
  u && Yr(e, u);
461
461
  }
462
462
  function c(d, m) {
463
- const E = (
463
+ const v = (
464
464
  /** @type {Program['d']} */
465
465
  d.b - a
466
466
  );
467
- return m *= Math.abs(E), {
467
+ return m *= Math.abs(v), {
468
468
  a,
469
469
  b: d.b,
470
- d: E,
470
+ d: v,
471
471
  duration: m,
472
472
  start: d.start,
473
473
  end: d.start + m,
@@ -477,109 +477,109 @@ function Vs(e, t, r, n) {
477
477
  function p(d) {
478
478
  const {
479
479
  delay: m = 0,
480
- duration: E = 300,
481
- easing: T = Mr,
482
- tick: H = A,
480
+ duration: v = 300,
481
+ easing: T = Nr,
482
+ tick: H = B,
483
483
  css: S
484
- } = s || on, O = {
484
+ } = o || sn, O = {
485
485
  start: Dr() + m,
486
486
  b: d
487
487
  };
488
- d || (O.group = D, D.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
489
- e.inert, e.inert = !0)), o || l ? l = O : (S && (f(), u = mt(e, a, d, E, m, T, S)), d && H(0, 1), o = c(O, E), Be(() => Re(e, d, "start")), Ur((B) => {
490
- if (l && B > l.start && (o = c(l, E), l = null, Re(e, o.b, "start"), S && (f(), u = mt(
488
+ d || (O.group = U, U.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
489
+ e.inert, e.inert = !0)), s || l ? l = O : (S && (f(), u = yt(e, a, d, v, m, T, S)), d && H(0, 1), s = c(O, v), Pe(() => De(e, d, "start")), Ur((P) => {
490
+ if (l && P > l.start && (s = c(l, v), l = null, De(e, s.b, "start"), S && (f(), u = yt(
491
491
  e,
492
492
  a,
493
- o.b,
494
- o.duration,
493
+ s.b,
494
+ s.duration,
495
495
  0,
496
496
  T,
497
- s.css
498
- ))), o) {
499
- if (B >= o.end)
500
- H(a = o.b, 1 - a), Re(e, o.b, "end"), l || (o.b ? f() : --o.group.r || V(o.group.c)), o = null;
501
- else if (B >= o.start) {
502
- const I = B - o.start;
503
- a = o.a + o.d * T(I / o.duration), H(a, 1 - a);
497
+ o.css
498
+ ))), s) {
499
+ if (P >= s.end)
500
+ H(a = s.b, 1 - a), De(e, s.b, "end"), l || (s.b ? f() : --s.group.r || V(s.group.c)), s = null;
501
+ else if (P >= s.start) {
502
+ const C = P - s.start;
503
+ a = s.a + s.d * T(C / s.duration), H(a, 1 - a);
504
504
  }
505
505
  }
506
- return !!(o || l);
506
+ return !!(s || l);
507
507
  }));
508
508
  }
509
509
  return {
510
510
  run(d) {
511
- de(s) ? nn().then(() => {
512
- s = s({ direction: d ? "in" : "out" }), p(d);
511
+ fe(o) ? nn().then(() => {
512
+ o = o({ direction: d ? "in" : "out" }), p(d);
513
513
  }) : p(d);
514
514
  },
515
515
  end() {
516
- f(), o = l = null;
516
+ f(), s = l = null;
517
517
  }
518
518
  };
519
519
  }
520
- function yt(e) {
520
+ function _t(e) {
521
521
  return e?.length !== void 0 ? e : Array.from(e);
522
522
  }
523
- function Xs(e, t) {
523
+ function zo(e, t) {
524
524
  e.d(1), t.delete(e.key);
525
525
  }
526
- function Ws(e, t) {
527
- sn(e, 1, 1, () => {
526
+ function Zo(e, t) {
527
+ on(e, 1, 1, () => {
528
528
  t.delete(e.key);
529
529
  });
530
530
  }
531
- function zs(e, t, r, n, i, s, a, o, l, u, h, f) {
532
- let c = e.length, p = s.length, d = c;
531
+ function Qo(e, t, r, n, i, o, a, s, l, u, h, f) {
532
+ let c = e.length, p = o.length, d = c;
533
533
  const m = {};
534
534
  for (; d--; )
535
535
  m[e[d].key] = d;
536
- const E = [], T = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), S = [];
536
+ const v = [], T = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), S = [];
537
537
  for (d = p; d--; ) {
538
- const w = f(i, s, d), C = r(w);
539
- let L = a.get(C);
540
- L ? S.push(() => L.p(w, t)) : (L = u(C, w), L.c()), T.set(C, E[d] = L), C in m && H.set(C, Math.abs(d - m[C]));
538
+ const x = f(i, o, d), L = r(x);
539
+ let I = a.get(L);
540
+ I ? S.push(() => I.p(x, t)) : (I = u(L, x), I.c()), T.set(L, v[d] = I), L in m && H.set(L, Math.abs(d - m[L]));
541
541
  }
542
- const O = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
543
- function I(w) {
544
- Yt(w, 1), w.m(o, h), a.set(w.key, w), h = w.first, p--;
542
+ const O = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
543
+ function C(x) {
544
+ er(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, p--;
545
545
  }
546
546
  for (; c && p; ) {
547
- const w = E[p - 1], C = e[c - 1], L = w.key, W = C.key;
548
- w === C ? (h = w.first, c--, p--) : T.has(W) ? !a.has(L) || O.has(L) ? I(w) : B.has(W) ? c-- : H.get(L) > H.get(W) ? (B.add(L), I(w)) : (O.add(W), c--) : (l(C, a), c--);
547
+ const x = v[p - 1], L = e[c - 1], I = x.key, z = L.key;
548
+ x === L ? (h = x.first, c--, p--) : T.has(z) ? !a.has(I) || O.has(I) ? C(x) : P.has(z) ? c-- : H.get(I) > H.get(z) ? (P.add(I), C(x)) : (O.add(z), c--) : (l(L, a), c--);
549
549
  }
550
550
  for (; c--; ) {
551
- const w = e[c];
552
- T.has(w.key) || l(w, a);
551
+ const x = e[c];
552
+ T.has(x.key) || l(x, a);
553
553
  }
554
554
  for (; p; )
555
- I(E[p - 1]);
556
- return V(S), E;
555
+ C(v[p - 1]);
556
+ return V(S), v;
557
557
  }
558
558
  function an(e, t, r) {
559
559
  const { fragment: n, after_update: i } = e.$$;
560
- n && n.m(t, r), Be(() => {
561
- const s = e.$$.on_mount.map(kt).filter(de);
562
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
563
- }), i.forEach(Be);
560
+ n && n.m(t, r), Pe(() => {
561
+ const o = e.$$.on_mount.map(Xt).filter(fe);
562
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : V(o), e.$$.on_mount = [];
563
+ }), i.forEach(Pe);
564
564
  }
565
565
  function un(e, t) {
566
566
  const r = e.$$;
567
567
  r.fragment !== null && (rn(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
568
568
  }
569
569
  function ln(e, t) {
570
- e.$$.dirty[0] === -1 && (q.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
570
+ e.$$.dirty[0] === -1 && (q.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
571
571
  }
572
- function hn(e, t, r, n, i, s, a = null, o = [-1]) {
573
- const l = he;
574
- le(e);
572
+ function hn(e, t, r, n, i, o, a = null, s = [-1]) {
573
+ const l = le;
574
+ ue(e);
575
575
  const u = e.$$ = {
576
576
  fragment: null,
577
577
  ctx: [],
578
578
  // state
579
- props: s,
580
- update: A,
579
+ props: o,
580
+ update: B,
581
581
  not_equal: i,
582
- bound: dt(),
582
+ bound: mt(),
583
583
  // lifecycle
584
584
  on_mount: [],
585
585
  on_destroy: [],
@@ -588,8 +588,8 @@ function hn(e, t, r, n, i, s, a = null, o = [-1]) {
588
588
  after_update: [],
589
589
  context: new Map(t.context || (l ? l.$$.context : [])),
590
590
  // everything else
591
- callbacks: dt(),
592
- dirty: o,
591
+ callbacks: mt(),
592
+ dirty: s,
593
593
  skip_bound: !1,
594
594
  root: t.target || l.$$.root
595
595
  };
@@ -601,15 +601,15 @@ function hn(e, t, r, n, i, s, a = null, o = [-1]) {
601
601
  }) : [], u.update(), h = !0, V(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
602
602
  if (t.hydrate) {
603
603
  const f = Xr(t.target);
604
- u.fragment && u.fragment.l(f), f.forEach(R);
604
+ u.fragment && u.fragment.l(f), f.forEach($);
605
605
  } else
606
606
  u.fragment && u.fragment.c();
607
- t.intro && Yt(e.$$.fragment), an(e, t.target, t.anchor), $();
607
+ t.intro && er(e.$$.fragment), an(e, t.target, t.anchor), R();
608
608
  }
609
- le(l);
609
+ ue(l);
610
610
  }
611
- let Kt;
612
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
611
+ let tr;
612
+ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
613
613
  /** The Svelte component constructor */
614
614
  $$ctor;
615
615
  /** Slots */
@@ -648,20 +648,20 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
648
648
  if (this.$$cn = !0, !this.$$c) {
649
649
  let e = function(i) {
650
650
  return () => {
651
- let s;
651
+ let o;
652
652
  return {
653
653
  c: function() {
654
- s = M("slot"), i !== "default" && k(s, "name", i);
654
+ o = N("slot"), i !== "default" && k(o, "name", i);
655
655
  },
656
656
  /**
657
657
  * @param {HTMLElement} target
658
658
  * @param {HTMLElement} [anchor]
659
659
  */
660
660
  m: function(l, u) {
661
- X(l, s, u);
661
+ X(l, o, u);
662
662
  },
663
663
  d: function(l) {
664
- l && R(s);
664
+ l && $(o);
665
665
  }
666
666
  };
667
667
  };
@@ -672,8 +672,8 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
672
672
  for (const i of this.$$s)
673
673
  i in r && (t[i] = [e(i)]);
674
674
  for (const i of this.attributes) {
675
- const s = this.$$g_p(i.name);
676
- s in this.$$d || (this.$$d[s] = Ee(s, i.value, this.$$p_d, "toProp"));
675
+ const o = this.$$g_p(i.name);
676
+ o in this.$$d || (this.$$d[o] = Ee(o, i.value, this.$$p_d, "toProp"));
677
677
  }
678
678
  for (const i in this.$$p_d)
679
679
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -691,21 +691,21 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
691
691
  this.$$r = !0;
692
692
  for (const i in this.$$p_d)
693
693
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
694
- const s = Ee(
694
+ const o = Ee(
695
695
  i,
696
696
  this.$$d[i],
697
697
  this.$$p_d,
698
698
  "toAttribute"
699
699
  );
700
- s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
700
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
701
701
  }
702
702
  this.$$r = !1;
703
703
  };
704
704
  this.$$c.$$.after_update.push(n), n();
705
705
  for (const i in this.$$l)
706
- for (const s of this.$$l[i]) {
707
- const a = this.$$c.$on(i, s);
708
- this.$$l_u.set(s, a);
706
+ for (const o of this.$$l[i]) {
707
+ const a = this.$$c.$on(i, o);
708
+ this.$$l_u.set(o, a);
709
709
  }
710
710
  this.$$l = {};
711
711
  }
@@ -755,30 +755,30 @@ function Ee(e, t, r, n) {
755
755
  return t;
756
756
  }
757
757
  }
758
- function cn(e, t, r, n, i, s) {
759
- let a = class extends Kt {
758
+ function cn(e, t, r, n, i, o) {
759
+ let a = class extends tr {
760
760
  constructor() {
761
761
  super(e, r, i), this.$$p_d = t;
762
762
  }
763
763
  static get observedAttributes() {
764
764
  return Object.keys(t).map(
765
- (o) => (t[o].attribute || o).toLowerCase()
765
+ (s) => (t[s].attribute || s).toLowerCase()
766
766
  );
767
767
  }
768
768
  };
769
- return Object.keys(t).forEach((o) => {
770
- Object.defineProperty(a.prototype, o, {
769
+ return Object.keys(t).forEach((s) => {
770
+ Object.defineProperty(a.prototype, s, {
771
771
  get() {
772
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
772
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
773
773
  },
774
774
  set(l) {
775
- l = Ee(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
775
+ l = Ee(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
776
776
  }
777
777
  });
778
- }), n.forEach((o) => {
779
- Object.defineProperty(a.prototype, o, {
778
+ }), n.forEach((s) => {
779
+ Object.defineProperty(a.prototype, s, {
780
780
  get() {
781
- return this.$$c?.[o];
781
+ return this.$$c?.[s];
782
782
  }
783
783
  });
784
784
  }), e.element = /** @type {any} */
@@ -803,7 +803,7 @@ class fn {
803
803
  $$set = void 0;
804
804
  /** @returns {void} */
805
805
  $destroy() {
806
- un(this, 1), this.$destroy = A;
806
+ un(this, 1), this.$destroy = B;
807
807
  }
808
808
  /**
809
809
  * @template {Extract<keyof Events, string>} K
@@ -812,8 +812,8 @@ class fn {
812
812
  * @returns {() => void}
813
813
  */
814
814
  $on(t, r) {
815
- if (!de(r))
816
- return A;
815
+ if (!fe(r))
816
+ return B;
817
817
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
818
818
  return n.push(r), () => {
819
819
  const i = n.indexOf(r);
@@ -825,7 +825,7 @@ class fn {
825
825
  * @returns {void}
826
826
  */
827
827
  $set(t) {
828
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
828
+ this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
829
829
  }
830
830
  }
831
831
  const dn = "4";
@@ -844,43 +844,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
844
844
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
845
845
  PERFORMANCE OF THIS SOFTWARE.
846
846
  ***************************************************************************** */
847
- var We = function(e, t) {
848
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
847
+ var Ze = function(e, t) {
848
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
849
849
  r.__proto__ = n;
850
850
  } || function(r, n) {
851
851
  for (var i in n)
852
852
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
853
- }, We(e, t);
853
+ }, Ze(e, t);
854
854
  };
855
- function G(e, t) {
855
+ function pe(e, t) {
856
856
  if (typeof t != "function" && t !== null)
857
857
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
858
- We(e, t);
858
+ Ze(e, t);
859
859
  function r() {
860
860
  this.constructor = e;
861
861
  }
862
862
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
863
863
  }
864
- var v = function() {
865
- return v = Object.assign || function(t) {
866
- for (var r, n = 1, i = arguments.length; n < i; n++) {
867
- r = arguments[n];
868
- for (var s in r)
869
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
870
- }
871
- return t;
872
- }, v.apply(this, arguments);
873
- };
874
- function pn(e, t) {
875
- var r = {};
876
- for (var n in e)
877
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
878
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
879
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
880
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
881
- return r;
882
- }
883
- function ze(e) {
864
+ function Qe(e) {
884
865
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
885
866
  if (r)
886
867
  return r.call(e);
@@ -892,16 +873,16 @@ function ze(e) {
892
873
  };
893
874
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
894
875
  }
895
- function Ze(e, t) {
876
+ function qe(e, t) {
896
877
  var r = typeof Symbol == "function" && e[Symbol.iterator];
897
878
  if (!r)
898
879
  return e;
899
- var n = r.call(e), i, s = [], a;
880
+ var n = r.call(e), i, o = [], a;
900
881
  try {
901
882
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
902
- s.push(i.value);
903
- } catch (o) {
904
- a = { error: o };
883
+ o.push(i.value);
884
+ } catch (s) {
885
+ a = { error: s };
905
886
  } finally {
906
887
  try {
907
888
  i && !i.done && (r = n.return) && r.call(n);
@@ -910,24 +891,24 @@ function Ze(e, t) {
910
891
  throw a.error;
911
892
  }
912
893
  }
913
- return s;
894
+ return o;
914
895
  }
915
- function K(e, t, r) {
916
- if (r || arguments.length === 2)
917
- for (var n = 0, i = t.length, s; n < i; n++)
918
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
919
- return e.concat(s || t);
896
+ function Je(e, t, r) {
897
+ if (arguments.length === 2)
898
+ for (var n = 0, i = t.length, o; n < i; n++)
899
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
900
+ return e.concat(o || t);
920
901
  }
921
- function U(e) {
902
+ function G(e) {
922
903
  return typeof e == "function";
923
904
  }
924
- function er(e) {
905
+ function rr(e) {
925
906
  var t = function(n) {
926
907
  Error.call(n), n.stack = new Error().stack;
927
908
  }, r = e(t);
928
909
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
929
910
  }
930
- var $e = er(function(e) {
911
+ var Ue = rr(function(e) {
931
912
  return function(r) {
932
913
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
933
914
  ` + r.map(function(n, i) {
@@ -936,25 +917,25 @@ var $e = er(function(e) {
936
917
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
937
918
  };
938
919
  });
939
- function Qe(e, t) {
920
+ function Ye(e, t) {
940
921
  if (e) {
941
922
  var r = e.indexOf(t);
942
923
  0 <= r && e.splice(r, 1);
943
924
  }
944
925
  }
945
- var Oe = function() {
926
+ var Ie = function() {
946
927
  function e(t) {
947
928
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
948
929
  }
949
930
  return e.prototype.unsubscribe = function() {
950
- var t, r, n, i, s;
931
+ var t, r, n, i, o;
951
932
  if (!this.closed) {
952
933
  this.closed = !0;
953
934
  var a = this._parentage;
954
935
  if (a)
955
936
  if (this._parentage = null, Array.isArray(a))
956
937
  try {
957
- for (var o = ze(a), l = o.next(); !l.done; l = o.next()) {
938
+ for (var s = Qe(a), l = s.next(); !l.done; l = s.next()) {
958
939
  var u = l.value;
959
940
  u.remove(this);
960
941
  }
@@ -962,7 +943,7 @@ var Oe = function() {
962
943
  t = { error: m };
963
944
  } finally {
964
945
  try {
965
- l && !l.done && (r = o.return) && r.call(o);
946
+ l && !l.done && (r = s.return) && r.call(s);
966
947
  } finally {
967
948
  if (t)
968
949
  throw t.error;
@@ -971,22 +952,22 @@ var Oe = function() {
971
952
  else
972
953
  a.remove(this);
973
954
  var h = this.initialTeardown;
974
- if (U(h))
955
+ if (G(h))
975
956
  try {
976
957
  h();
977
958
  } catch (m) {
978
- s = m instanceof $e ? m.errors : [m];
959
+ o = m instanceof Ue ? m.errors : [m];
979
960
  }
980
961
  var f = this._finalizers;
981
962
  if (f) {
982
963
  this._finalizers = null;
983
964
  try {
984
- for (var c = ze(f), p = c.next(); !p.done; p = c.next()) {
965
+ for (var c = Qe(f), p = c.next(); !p.done; p = c.next()) {
985
966
  var d = p.value;
986
967
  try {
987
- gt(d);
968
+ vt(d);
988
969
  } catch (m) {
989
- s = s ?? [], m instanceof $e ? s = K(K([], Ze(s)), Ze(m.errors)) : s.push(m);
970
+ o = o ?? [], m instanceof Ue ? o = Je(Je([], qe(o)), qe(m.errors)) : o.push(m);
990
971
  }
991
972
  }
992
973
  } catch (m) {
@@ -1000,14 +981,14 @@ var Oe = function() {
1000
981
  }
1001
982
  }
1002
983
  }
1003
- if (s)
1004
- throw new $e(s);
984
+ if (o)
985
+ throw new Ue(o);
1005
986
  }
1006
987
  }, e.prototype.add = function(t) {
1007
988
  var r;
1008
989
  if (t && t !== this)
1009
990
  if (this.closed)
1010
- gt(t);
991
+ vt(t);
1011
992
  else {
1012
993
  if (t instanceof e) {
1013
994
  if (t.closed || t._hasParent(this))
@@ -1024,32 +1005,28 @@ var Oe = function() {
1024
1005
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
1025
1006
  }, e.prototype._removeParent = function(t) {
1026
1007
  var r = this._parentage;
1027
- r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
1008
+ r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
1028
1009
  }, e.prototype.remove = function(t) {
1029
1010
  var r = this._finalizers;
1030
- r && Qe(r, t), t instanceof e && t._removeParent(this);
1011
+ r && Ye(r, t), t instanceof e && t._removeParent(this);
1031
1012
  }, e.EMPTY = function() {
1032
1013
  var t = new e();
1033
1014
  return t.closed = !0, t;
1034
1015
  }(), e;
1035
- }(), tr = Oe.EMPTY;
1036
- function rr(e) {
1037
- return e instanceof Oe || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
1016
+ }(), nr = Ie.EMPTY;
1017
+ function ir(e) {
1018
+ return e instanceof Ie || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
1038
1019
  }
1039
- function gt(e) {
1040
- U(e) ? e() : e.unsubscribe();
1020
+ function vt(e) {
1021
+ G(e) ? e() : e.unsubscribe();
1041
1022
  }
1042
- var nr = {
1043
- onUnhandledError: null,
1044
- onStoppedNotification: null,
1045
- Promise: void 0,
1046
- useDeprecatedSynchronousErrorHandling: !1,
1047
- useDeprecatedNextContext: !1
1023
+ var pn = {
1024
+ Promise: void 0
1048
1025
  }, mn = {
1049
1026
  setTimeout: function(e, t) {
1050
1027
  for (var r = [], n = 2; n < arguments.length; n++)
1051
1028
  r[n - 2] = arguments[n];
1052
- return setTimeout.apply(void 0, K([e, t], Ze(r)));
1029
+ return setTimeout.apply(void 0, Je([e, t], qe(r)));
1053
1030
  },
1054
1031
  clearTimeout: function(e) {
1055
1032
  return clearTimeout(e);
@@ -1061,19 +1038,19 @@ function bn(e) {
1061
1038
  throw e;
1062
1039
  });
1063
1040
  }
1064
- function _t() {
1041
+ function Et() {
1065
1042
  }
1066
1043
  function xe(e) {
1067
1044
  e();
1068
1045
  }
1069
- var ir = function(e) {
1070
- G(t, e);
1046
+ var or = function(e) {
1047
+ pe(t, e);
1071
1048
  function t(r) {
1072
1049
  var n = e.call(this) || this;
1073
- return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = vn, n;
1050
+ return n.isStopped = !1, r ? (n.destination = r, ir(r) && r.add(n)) : n.destination = _n, n;
1074
1051
  }
1075
1052
  return t.create = function(r, n, i) {
1076
- return new qe(r, n, i);
1053
+ return new Ke(r, n, i);
1077
1054
  }, t.prototype.next = function(r) {
1078
1055
  this.isStopped || this._next(r);
1079
1056
  }, t.prototype.error = function(r) {
@@ -1097,11 +1074,7 @@ var ir = function(e) {
1097
1074
  this.unsubscribe();
1098
1075
  }
1099
1076
  }, t;
1100
- }(Oe), yn = Function.prototype.bind;
1101
- function De(e, t) {
1102
- return yn.call(e, t);
1103
- }
1104
- var gn = function() {
1077
+ }(Ie), yn = function() {
1105
1078
  function e(t) {
1106
1079
  this.partialObserver = t;
1107
1080
  }
@@ -1132,55 +1105,43 @@ var gn = function() {
1132
1105
  ge(r);
1133
1106
  }
1134
1107
  }, e;
1135
- }(), qe = function(e) {
1136
- G(t, e);
1108
+ }(), Ke = function(e) {
1109
+ pe(t, e);
1137
1110
  function t(r, n, i) {
1138
- var s = e.call(this) || this, a;
1139
- if (U(r) || !r)
1140
- a = {
1141
- next: r ?? void 0,
1142
- error: n ?? void 0,
1143
- complete: i ?? void 0
1144
- };
1145
- else {
1146
- var o;
1147
- s && nr.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
1148
- return s.unsubscribe();
1149
- }, a = {
1150
- next: r.next && De(r.next, o),
1151
- error: r.error && De(r.error, o),
1152
- complete: r.complete && De(r.complete, o)
1153
- }) : a = r;
1154
- }
1155
- return s.destination = new gn(a), s;
1111
+ var o = e.call(this) || this, a;
1112
+ return G(r) || !r ? a = {
1113
+ next: r ?? void 0,
1114
+ error: n ?? void 0,
1115
+ complete: i ?? void 0
1116
+ } : a = r, o.destination = new yn(a), o;
1156
1117
  }
1157
1118
  return t;
1158
- }(ir);
1119
+ }(or);
1159
1120
  function ge(e) {
1160
1121
  bn(e);
1161
1122
  }
1162
- function _n(e) {
1123
+ function gn(e) {
1163
1124
  throw e;
1164
1125
  }
1165
- var vn = {
1126
+ var _n = {
1166
1127
  closed: !0,
1167
- next: _t,
1168
- error: _n,
1169
- complete: _t
1170
- }, En = function() {
1128
+ next: Et,
1129
+ error: gn,
1130
+ complete: Et
1131
+ }, vn = function() {
1171
1132
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1172
1133
  }();
1173
- function xn(e) {
1134
+ function En(e) {
1174
1135
  return e;
1175
1136
  }
1176
- function wn(e) {
1177
- return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
1137
+ function xn(e) {
1138
+ return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
1178
1139
  return e.reduce(function(n, i) {
1179
1140
  return i(n);
1180
1141
  }, r);
1181
1142
  };
1182
1143
  }
1183
- var vt = function() {
1144
+ var xt = function() {
1184
1145
  function e(t) {
1185
1146
  t && (this._subscribe = t);
1186
1147
  }
@@ -1188,11 +1149,11 @@ var vt = function() {
1188
1149
  var r = new e();
1189
1150
  return r.source = this, r.operator = t, r;
1190
1151
  }, e.prototype.subscribe = function(t, r, n) {
1191
- var i = this, s = Tn(t) ? t : new qe(t, r, n);
1152
+ var i = this, o = Sn(t) ? t : new Ke(t, r, n);
1192
1153
  return xe(function() {
1193
- var a = i, o = a.operator, l = a.source;
1194
- s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
1195
- }), s;
1154
+ var a = i, s = a.operator, l = a.source;
1155
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1156
+ }), o;
1196
1157
  }, e.prototype._trySubscribe = function(t) {
1197
1158
  try {
1198
1159
  return this._subscribe(t);
@@ -1201,16 +1162,16 @@ var vt = function() {
1201
1162
  }
1202
1163
  }, e.prototype.forEach = function(t, r) {
1203
1164
  var n = this;
1204
- return r = Et(r), new r(function(i, s) {
1205
- var a = new qe({
1206
- next: function(o) {
1165
+ return r = wt(r), new r(function(i, o) {
1166
+ var a = new Ke({
1167
+ next: function(s) {
1207
1168
  try {
1208
- t(o);
1169
+ t(s);
1209
1170
  } catch (l) {
1210
- s(l), a.unsubscribe();
1171
+ o(l), a.unsubscribe();
1211
1172
  }
1212
1173
  },
1213
- error: s,
1174
+ error: o,
1214
1175
  complete: i
1215
1176
  });
1216
1177
  n.subscribe(a);
@@ -1218,70 +1179,70 @@ var vt = function() {
1218
1179
  }, e.prototype._subscribe = function(t) {
1219
1180
  var r;
1220
1181
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1221
- }, e.prototype[En] = function() {
1182
+ }, e.prototype[vn] = function() {
1222
1183
  return this;
1223
1184
  }, e.prototype.pipe = function() {
1224
1185
  for (var t = [], r = 0; r < arguments.length; r++)
1225
1186
  t[r] = arguments[r];
1226
- return wn(t)(this);
1187
+ return xn(t)(this);
1227
1188
  }, e.prototype.toPromise = function(t) {
1228
1189
  var r = this;
1229
- return t = Et(t), new t(function(n, i) {
1230
- var s;
1190
+ return t = wt(t), new t(function(n, i) {
1191
+ var o;
1231
1192
  r.subscribe(function(a) {
1232
- return s = a;
1193
+ return o = a;
1233
1194
  }, function(a) {
1234
1195
  return i(a);
1235
1196
  }, function() {
1236
- return n(s);
1197
+ return n(o);
1237
1198
  });
1238
1199
  });
1239
1200
  }, e.create = function(t) {
1240
1201
  return new e(t);
1241
1202
  }, e;
1242
1203
  }();
1243
- function Et(e) {
1204
+ function wt(e) {
1244
1205
  var t;
1245
- return (t = e ?? nr.Promise) !== null && t !== void 0 ? t : Promise;
1206
+ return (t = e ?? pn.Promise) !== null && t !== void 0 ? t : Promise;
1246
1207
  }
1247
- function Sn(e) {
1248
- return e && U(e.next) && U(e.error) && U(e.complete);
1208
+ function wn(e) {
1209
+ return e && G(e.next) && G(e.error) && G(e.complete);
1249
1210
  }
1250
- function Tn(e) {
1251
- return e && e instanceof ir || Sn(e) && rr(e);
1211
+ function Sn(e) {
1212
+ return e && e instanceof or || wn(e) && ir(e);
1252
1213
  }
1253
- var Hn = er(function(e) {
1214
+ var Tn = rr(function(e) {
1254
1215
  return function() {
1255
1216
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1256
1217
  };
1257
1218
  }), sr = function(e) {
1258
- G(t, e);
1219
+ pe(t, e);
1259
1220
  function t() {
1260
1221
  var r = e.call(this) || this;
1261
1222
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1262
1223
  }
1263
1224
  return t.prototype.lift = function(r) {
1264
- var n = new xt(this, this);
1225
+ var n = new St(this, this);
1265
1226
  return n.operator = r, n;
1266
1227
  }, t.prototype._throwIfClosed = function() {
1267
1228
  if (this.closed)
1268
- throw new Hn();
1229
+ throw new Tn();
1269
1230
  }, t.prototype.next = function(r) {
1270
1231
  var n = this;
1271
1232
  xe(function() {
1272
- var i, s;
1233
+ var i, o;
1273
1234
  if (n._throwIfClosed(), !n.isStopped) {
1274
1235
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1275
1236
  try {
1276
- for (var a = ze(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1277
- var l = o.value;
1237
+ for (var a = Qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1238
+ var l = s.value;
1278
1239
  l.next(r);
1279
1240
  }
1280
1241
  } catch (u) {
1281
1242
  i = { error: u };
1282
1243
  } finally {
1283
1244
  try {
1284
- o && !o.done && (s = a.return) && s.call(a);
1245
+ s && !s.done && (o = a.return) && o.call(a);
1285
1246
  } finally {
1286
1247
  if (i)
1287
1248
  throw i.error;
@@ -1321,21 +1282,21 @@ var Hn = er(function(e) {
1321
1282
  }, t.prototype._subscribe = function(r) {
1322
1283
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1323
1284
  }, t.prototype._innerSubscribe = function(r) {
1324
- var n = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1325
- return s || a ? tr : (this.currentObservers = null, o.push(r), new Oe(function() {
1326
- n.currentObservers = null, Qe(o, r);
1285
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1286
+ return o || a ? nr : (this.currentObservers = null, s.push(r), new Ie(function() {
1287
+ n.currentObservers = null, Ye(s, r);
1327
1288
  }));
1328
1289
  }, t.prototype._checkFinalizedStatuses = function(r) {
1329
- var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
1330
- i ? r.error(s) : a && r.complete();
1290
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1291
+ i ? r.error(o) : a && r.complete();
1331
1292
  }, t.prototype.asObservable = function() {
1332
- var r = new vt();
1293
+ var r = new xt();
1333
1294
  return r.source = this, r;
1334
1295
  }, t.create = function(r, n) {
1335
- return new xt(r, n);
1296
+ return new St(r, n);
1336
1297
  }, t;
1337
- }(vt), xt = function(e) {
1338
- G(t, e);
1298
+ }(xt), St = function(e) {
1299
+ pe(t, e);
1339
1300
  function t(r, n) {
1340
1301
  var i = e.call(this) || this;
1341
1302
  return i.destination = r, i.source = n, i;
@@ -1351,54 +1312,54 @@ var Hn = er(function(e) {
1351
1312
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1352
1313
  }, t.prototype._subscribe = function(r) {
1353
1314
  var n, i;
1354
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1315
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : nr;
1355
1316
  }, t;
1356
- }(sr), or = {
1317
+ }(sr), ar = {
1357
1318
  now: function() {
1358
- return (or.delegate || Date).now();
1319
+ return (ar.delegate || Date).now();
1359
1320
  },
1360
1321
  delegate: void 0
1361
- }, Bn = function(e) {
1362
- G(t, e);
1322
+ }, Hn = function(e) {
1323
+ pe(t, e);
1363
1324
  function t(r, n, i) {
1364
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1365
- var s = e.call(this) || this;
1366
- return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1325
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ar);
1326
+ var o = e.call(this) || this;
1327
+ 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;
1367
1328
  }
1368
1329
  return t.prototype.next = function(r) {
1369
- var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow, o = n._timestampProvider, l = n._windowTime;
1370
- i || (s.push(r), !a && s.push(o.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1330
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1331
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1371
1332
  }, t.prototype._subscribe = function(r) {
1372
1333
  this._throwIfClosed(), this._trimBuffer();
1373
- for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, a = i._buffer, o = a.slice(), l = 0; l < o.length && !r.closed; l += s ? 1 : 2)
1374
- r.next(o[l]);
1334
+ 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)
1335
+ r.next(s[l]);
1375
1336
  return this._checkFinalizedStatuses(r), n;
1376
1337
  }, t.prototype._trimBuffer = function() {
1377
- var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * n;
1378
- if (n < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
1379
- for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1338
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1339
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1340
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1380
1341
  u = h;
1381
- u && s.splice(0, u + 1);
1342
+ u && o.splice(0, u + 1);
1382
1343
  }
1383
1344
  }, t;
1384
1345
  }(sr);
1385
- const wt = [], St = {}, Pn = (e, t = 0) => {
1386
- if (wt.indexOf(e) == -1) {
1387
- const r = new Bn(t);
1388
- St[e] = r, wt.push(e);
1346
+ const Tt = [], Ht = {}, Pn = (e, t = 0) => {
1347
+ if (Tt.indexOf(e) == -1) {
1348
+ const r = new Hn(t);
1349
+ Ht[e] = r, Tt.push(e);
1389
1350
  }
1390
- return St[e];
1351
+ return Ht[e];
1391
1352
  }, Q = [];
1392
1353
  function An(e, t) {
1393
1354
  return {
1394
- subscribe: Ie(e, t).subscribe
1355
+ subscribe: Ce(e, t).subscribe
1395
1356
  };
1396
1357
  }
1397
- function Ie(e, t = A) {
1358
+ function Ce(e, t = B) {
1398
1359
  let r;
1399
1360
  const n = /* @__PURE__ */ new Set();
1400
- function i(o) {
1401
- if (Vt(e, o) && (e = o, r)) {
1361
+ function i(s) {
1362
+ if (Wt(e, s) && (e = s, r)) {
1402
1363
  const l = !Q.length;
1403
1364
  for (const u of n)
1404
1365
  u[1](), Q.push(u, e);
@@ -1409,37 +1370,37 @@ function Ie(e, t = A) {
1409
1370
  }
1410
1371
  }
1411
1372
  }
1412
- function s(o) {
1413
- i(o(e));
1373
+ function o(s) {
1374
+ i(s(e));
1414
1375
  }
1415
- function a(o, l = A) {
1416
- const u = [o, l];
1417
- return n.add(u), n.size === 1 && (r = t(i, s) || A), o(e), () => {
1376
+ function a(s, l = B) {
1377
+ const u = [s, l];
1378
+ return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1418
1379
  n.delete(u), n.size === 0 && r && (r(), r = null);
1419
1380
  };
1420
1381
  }
1421
- return { set: i, update: s, subscribe: a };
1382
+ return { set: i, update: o, subscribe: a };
1422
1383
  }
1423
- function ie(e, t, r) {
1384
+ function ne(e, t, r) {
1424
1385
  const n = !Array.isArray(e), i = n ? [e] : e;
1425
1386
  if (!i.every(Boolean))
1426
1387
  throw new Error("derived() expects stores as input, got a falsy value");
1427
- const s = t.length < 2;
1428
- return An(r, (a, o) => {
1388
+ const o = t.length < 2;
1389
+ return An(r, (a, s) => {
1429
1390
  let l = !1;
1430
1391
  const u = [];
1431
- let h = 0, f = A;
1392
+ let h = 0, f = B;
1432
1393
  const c = () => {
1433
1394
  if (h)
1434
1395
  return;
1435
1396
  f();
1436
- const d = t(n ? u[0] : u, a, o);
1437
- s ? a(d) : f = de(d) ? d : A;
1397
+ const d = t(n ? u[0] : u, a, s);
1398
+ o ? a(d) : f = fe(d) ? d : B;
1438
1399
  }, p = i.map(
1439
- (d, m) => Xt(
1400
+ (d, m) => zt(
1440
1401
  d,
1441
- (E) => {
1442
- u[m] = E, h &= ~(1 << m), l && c();
1402
+ (v) => {
1403
+ u[m] = v, h &= ~(1 << m), l && c();
1443
1404
  },
1444
1405
  () => {
1445
1406
  h |= 1 << m;
@@ -1451,82 +1412,124 @@ function ie(e, t, r) {
1451
1412
  };
1452
1413
  });
1453
1414
  }
1454
- function On(e) {
1415
+ function Bn(e) {
1455
1416
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1456
1417
  }
1457
- var In = function(t) {
1458
- return Cn(t) && !Ln(t);
1418
+ var On = function(t) {
1419
+ return In(t) && !Cn(t);
1459
1420
  };
1460
- function Cn(e) {
1421
+ function In(e) {
1461
1422
  return !!e && typeof e == "object";
1462
1423
  }
1463
- function Ln(e) {
1424
+ function Cn(e) {
1464
1425
  var t = Object.prototype.toString.call(e);
1465
- return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
1426
+ return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1466
1427
  }
1467
- var Mn = typeof Symbol == "function" && Symbol.for, Nn = Mn ? Symbol.for("react.element") : 60103;
1468
- function Rn(e) {
1428
+ var Ln = typeof Symbol == "function" && Symbol.for, Nn = Ln ? Symbol.for("react.element") : 60103;
1429
+ function Mn(e) {
1469
1430
  return e.$$typeof === Nn;
1470
1431
  }
1471
1432
  function $n(e) {
1472
1433
  return Array.isArray(e) ? [] : {};
1473
1434
  }
1474
- function ce(e, t) {
1475
- return t.clone !== !1 && t.isMergeableObject(e) ? ee($n(e), e, t) : e;
1435
+ function he(e, t) {
1436
+ return t.clone !== !1 && t.isMergeableObject(e) ? K($n(e), e, t) : e;
1476
1437
  }
1477
- function Dn(e, t, r) {
1438
+ function Rn(e, t, r) {
1478
1439
  return e.concat(t).map(function(n) {
1479
- return ce(n, r);
1440
+ return he(n, r);
1480
1441
  });
1481
1442
  }
1482
- function Un(e, t) {
1443
+ function Dn(e, t) {
1483
1444
  if (!t.customMerge)
1484
- return ee;
1445
+ return K;
1485
1446
  var r = t.customMerge(e);
1486
- return typeof r == "function" ? r : ee;
1447
+ return typeof r == "function" ? r : K;
1487
1448
  }
1488
- function Gn(e) {
1449
+ function Un(e) {
1489
1450
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1490
1451
  return Object.propertyIsEnumerable.call(e, t);
1491
1452
  }) : [];
1492
1453
  }
1493
- function Tt(e) {
1494
- return Object.keys(e).concat(Gn(e));
1454
+ function Pt(e) {
1455
+ return Object.keys(e).concat(Un(e));
1495
1456
  }
1496
- function ar(e, t) {
1457
+ function ur(e, t) {
1497
1458
  try {
1498
1459
  return t in e;
1499
1460
  } catch {
1500
1461
  return !1;
1501
1462
  }
1502
1463
  }
1503
- function Fn(e, t) {
1504
- return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1464
+ function Gn(e, t) {
1465
+ return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1505
1466
  }
1506
- function jn(e, t, r) {
1467
+ function Fn(e, t, r) {
1507
1468
  var n = {};
1508
- return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1509
- n[i] = ce(e[i], r);
1510
- }), Tt(t).forEach(function(i) {
1511
- Fn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1469
+ return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1470
+ n[i] = he(e[i], r);
1471
+ }), Pt(t).forEach(function(i) {
1472
+ Gn(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1512
1473
  }), n;
1513
1474
  }
1514
- function ee(e, t, r) {
1515
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || In, r.cloneUnlessOtherwiseSpecified = ce;
1516
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1517
- return s ? n ? r.arrayMerge(e, t, r) : jn(e, t, r) : ce(t, r);
1475
+ function K(e, t, r) {
1476
+ r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = he;
1477
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1478
+ return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : he(t, r);
1518
1479
  }
1519
- ee.all = function(t, r) {
1480
+ K.all = function(t, r) {
1520
1481
  if (!Array.isArray(t))
1521
1482
  throw new Error("first argument should be an array");
1522
1483
  return t.reduce(function(n, i) {
1523
- return ee(n, i, r);
1484
+ return K(n, i, r);
1524
1485
  }, {});
1525
1486
  };
1526
- var kn = ee, Vn = kn;
1527
- const Xn = /* @__PURE__ */ On(Vn);
1528
- function Ue(e, t) {
1529
- var r = t && t.cache ? t.cache : Jn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : zn;
1487
+ var jn = K, kn = jn;
1488
+ const Vn = /* @__PURE__ */ Bn(kn);
1489
+ var et = function(e, t) {
1490
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1491
+ r.__proto__ = n;
1492
+ } || function(r, n) {
1493
+ for (var i in n)
1494
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1495
+ }, et(e, t);
1496
+ };
1497
+ function Le(e, t) {
1498
+ if (typeof t != "function" && t !== null)
1499
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1500
+ et(e, t);
1501
+ function r() {
1502
+ this.constructor = e;
1503
+ }
1504
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1505
+ }
1506
+ var D = function() {
1507
+ return D = Object.assign || function(t) {
1508
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1509
+ r = arguments[n];
1510
+ for (var o in r)
1511
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1512
+ }
1513
+ return t;
1514
+ }, D.apply(this, arguments);
1515
+ };
1516
+ function Xn(e, t) {
1517
+ var r = {};
1518
+ for (var n in e)
1519
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1520
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1521
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1522
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1523
+ return r;
1524
+ }
1525
+ function Ge(e, t, r) {
1526
+ if (r || arguments.length === 2)
1527
+ for (var n = 0, i = t.length, o; n < i; n++)
1528
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1529
+ return e.concat(o || Array.prototype.slice.call(t));
1530
+ }
1531
+ function Fe(e, t) {
1532
+ var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Zn;
1530
1533
  return i(e, {
1531
1534
  cache: r,
1532
1535
  serializer: n
@@ -1535,95 +1538,103 @@ function Ue(e, t) {
1535
1538
  function Wn(e) {
1536
1539
  return e == null || typeof e == "number" || typeof e == "boolean";
1537
1540
  }
1538
- function ur(e, t, r, n) {
1539
- var i = Wn(n) ? n : r(n), s = t.get(i);
1540
- return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1541
+ function zn(e, t, r, n) {
1542
+ var i = Wn(n) ? n : r(n), o = t.get(i);
1543
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1541
1544
  }
1542
1545
  function lr(e, t, r) {
1543
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1544
- return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1546
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1547
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1545
1548
  }
1546
- function lt(e, t, r, n, i) {
1549
+ function hr(e, t, r, n, i) {
1547
1550
  return r.bind(t, e, n, i);
1548
1551
  }
1549
- function zn(e, t) {
1550
- var r = e.length === 1 ? ur : lr;
1551
- return lt(e, this, r, t.cache.create(), t.serializer);
1552
- }
1553
1552
  function Zn(e, t) {
1554
- return lt(e, this, lr, t.cache.create(), t.serializer);
1553
+ var r = e.length === 1 ? zn : lr;
1554
+ return hr(e, this, r, t.cache.create(), t.serializer);
1555
1555
  }
1556
1556
  function Qn(e, t) {
1557
- return lt(e, this, ur, t.cache.create(), t.serializer);
1557
+ return hr(e, this, lr, t.cache.create(), t.serializer);
1558
1558
  }
1559
1559
  var qn = function() {
1560
1560
  return JSON.stringify(arguments);
1561
- };
1562
- function ht() {
1563
- this.cache = /* @__PURE__ */ Object.create(null);
1564
- }
1565
- ht.prototype.get = function(e) {
1566
- return this.cache[e];
1567
- };
1568
- ht.prototype.set = function(e, t) {
1569
- this.cache[e] = t;
1570
- };
1571
- var Jn = {
1561
+ }, Jn = (
1562
+ /** @class */
1563
+ function() {
1564
+ function e() {
1565
+ this.cache = /* @__PURE__ */ Object.create(null);
1566
+ }
1567
+ return e.prototype.get = function(t) {
1568
+ return this.cache[t];
1569
+ }, e.prototype.set = function(t, r) {
1570
+ this.cache[t] = r;
1571
+ }, e;
1572
+ }()
1573
+ ), Yn = {
1572
1574
  create: function() {
1573
- return new ht();
1575
+ return new Jn();
1574
1576
  }
1575
- }, Ge = {
1576
- variadic: Zn,
1577
- monadic: Qn
1578
- }, g;
1577
+ }, je = {
1578
+ variadic: Qn
1579
+ }, Ae = function() {
1580
+ return Ae = Object.assign || function(t) {
1581
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1582
+ r = arguments[n];
1583
+ for (var o in r)
1584
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1585
+ }
1586
+ return t;
1587
+ }, Ae.apply(this, arguments);
1588
+ };
1589
+ var g;
1579
1590
  (function(e) {
1580
1591
  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";
1581
1592
  })(g || (g = {}));
1582
- var x;
1593
+ var E;
1583
1594
  (function(e) {
1584
1595
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1585
- })(x || (x = {}));
1586
- var te;
1596
+ })(E || (E = {}));
1597
+ var ee;
1587
1598
  (function(e) {
1588
1599
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1589
- })(te || (te = {}));
1590
- function Ht(e) {
1591
- return e.type === x.literal;
1592
- }
1593
- function Yn(e) {
1594
- return e.type === x.argument;
1600
+ })(ee || (ee = {}));
1601
+ function At(e) {
1602
+ return e.type === E.literal;
1595
1603
  }
1596
- function hr(e) {
1597
- return e.type === x.number;
1604
+ function Kn(e) {
1605
+ return e.type === E.argument;
1598
1606
  }
1599
1607
  function cr(e) {
1600
- return e.type === x.date;
1608
+ return e.type === E.number;
1601
1609
  }
1602
1610
  function fr(e) {
1603
- return e.type === x.time;
1611
+ return e.type === E.date;
1604
1612
  }
1605
1613
  function dr(e) {
1606
- return e.type === x.select;
1614
+ return e.type === E.time;
1607
1615
  }
1608
1616
  function pr(e) {
1609
- return e.type === x.plural;
1610
- }
1611
- function Kn(e) {
1612
- return e.type === x.pound;
1617
+ return e.type === E.select;
1613
1618
  }
1614
1619
  function mr(e) {
1615
- return e.type === x.tag;
1620
+ return e.type === E.plural;
1621
+ }
1622
+ function ei(e) {
1623
+ return e.type === E.pound;
1616
1624
  }
1617
1625
  function br(e) {
1618
- return !!(e && typeof e == "object" && e.type === te.number);
1626
+ return e.type === E.tag;
1619
1627
  }
1620
- function Je(e) {
1621
- return !!(e && typeof e == "object" && e.type === te.dateTime);
1628
+ function yr(e) {
1629
+ return !!(e && typeof e == "object" && e.type === ee.number);
1622
1630
  }
1623
- var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ei = /(?:[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;
1624
- function ti(e) {
1631
+ function tt(e) {
1632
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1633
+ }
1634
+ var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1635
+ function ri(e) {
1625
1636
  var t = {};
1626
- return e.replace(ei, function(r) {
1637
+ return e.replace(ti, function(r) {
1627
1638
  var n = r.length;
1628
1639
  switch (r[0]) {
1629
1640
  case "G":
@@ -1712,36 +1723,46 @@ function ti(e) {
1712
1723
  return "";
1713
1724
  }), t;
1714
1725
  }
1715
- var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1716
- function ni(e) {
1726
+ var w = function() {
1727
+ return w = Object.assign || function(t) {
1728
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1729
+ r = arguments[n];
1730
+ for (var o in r)
1731
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1732
+ }
1733
+ return t;
1734
+ }, w.apply(this, arguments);
1735
+ };
1736
+ var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1737
+ function ii(e) {
1717
1738
  if (e.length === 0)
1718
1739
  throw new Error("Number skeleton cannot be empty");
1719
- for (var t = e.split(ri).filter(function(c) {
1740
+ for (var t = e.split(ni).filter(function(c) {
1720
1741
  return c.length > 0;
1721
1742
  }), r = [], n = 0, i = t; n < i.length; n++) {
1722
- var s = i[n], a = s.split("/");
1743
+ var o = i[n], a = o.split("/");
1723
1744
  if (a.length === 0)
1724
1745
  throw new Error("Invalid number skeleton");
1725
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1746
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1726
1747
  var f = h[u];
1727
1748
  if (f.length === 0)
1728
1749
  throw new Error("Invalid number skeleton");
1729
1750
  }
1730
- r.push({ stem: o, options: l });
1751
+ r.push({ stem: s, options: l });
1731
1752
  }
1732
1753
  return r;
1733
1754
  }
1734
- function ii(e) {
1755
+ function oi(e) {
1735
1756
  return e.replace(/^(.*?)-/, "");
1736
1757
  }
1737
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
1738
- function Pt(e) {
1758
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _r = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1759
+ function Ot(e) {
1739
1760
  var t = {};
1740
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1761
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_r, function(r, n, i) {
1741
1762
  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)), "";
1742
1763
  }), t;
1743
1764
  }
1744
- function vr(e) {
1765
+ function Er(e) {
1745
1766
  switch (e) {
1746
1767
  case "sign-auto":
1747
1768
  return {
@@ -1781,7 +1802,7 @@ function vr(e) {
1781
1802
  };
1782
1803
  }
1783
1804
  }
1784
- function oi(e) {
1805
+ function ai(e) {
1785
1806
  var t;
1786
1807
  if (e[0] === "E" && e[1] === "E" ? (t = {
1787
1808
  notation: "engineering"
@@ -1789,17 +1810,17 @@ function oi(e) {
1789
1810
  notation: "scientific"
1790
1811
  }, e = e.slice(1)), t) {
1791
1812
  var r = e.slice(0, 2);
1792
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
1813
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1793
1814
  throw new Error("Malformed concise eng/scientific notation");
1794
1815
  t.minimumIntegerDigits = e.length;
1795
1816
  }
1796
1817
  return t;
1797
1818
  }
1798
- function At(e) {
1799
- var t = {}, r = vr(e);
1819
+ function It(e) {
1820
+ var t = {}, r = Er(e);
1800
1821
  return r || t;
1801
1822
  }
1802
- function ai(e) {
1823
+ function ui(e) {
1803
1824
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1804
1825
  var i = n[r];
1805
1826
  switch (i.stem) {
@@ -1823,7 +1844,7 @@ function ai(e) {
1823
1844
  continue;
1824
1845
  case "measure-unit":
1825
1846
  case "unit":
1826
- t.style = "unit", t.unit = ii(i.options[0]);
1847
+ t.style = "unit", t.unit = oi(i.options[0]);
1827
1848
  continue;
1828
1849
  case "compact-short":
1829
1850
  case "K":
@@ -1834,13 +1855,13 @@ function ai(e) {
1834
1855
  t.notation = "compact", t.compactDisplay = "long";
1835
1856
  continue;
1836
1857
  case "scientific":
1837
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1838
- return v(v({}, l), At(u));
1858
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1859
+ return w(w({}, l), It(u));
1839
1860
  }, {}));
1840
1861
  continue;
1841
1862
  case "engineering":
1842
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1843
- return v(v({}, l), At(u));
1863
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1864
+ return w(w({}, l), It(u));
1844
1865
  }, {}));
1845
1866
  continue;
1846
1867
  case "notation-simple":
@@ -1898,7 +1919,7 @@ function ai(e) {
1898
1919
  });
1899
1920
  continue;
1900
1921
  }
1901
- if (_r.test(i.stem)) {
1922
+ if (vr.test(i.stem)) {
1902
1923
  t.minimumIntegerDigits = i.stem.length;
1903
1924
  continue;
1904
1925
  }
@@ -1908,18 +1929,18 @@ function ai(e) {
1908
1929
  i.stem.replace(Bt, function(l, u, h, f, c, p) {
1909
1930
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1910
1931
  });
1911
- var s = i.options[0];
1912
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Pt(s)));
1932
+ var o = i.options[0];
1933
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ot(o)));
1913
1934
  continue;
1914
1935
  }
1915
- if (gr.test(i.stem)) {
1916
- t = v(v({}, t), Pt(i.stem));
1936
+ if (_r.test(i.stem)) {
1937
+ t = w(w({}, t), Ot(i.stem));
1917
1938
  continue;
1918
1939
  }
1919
- var a = vr(i.stem);
1920
- a && (t = v(v({}, t), a));
1921
- var o = oi(i.stem);
1922
- o && (t = v(v({}, t), o));
1940
+ var a = Er(i.stem);
1941
+ a && (t = w(w({}, t), a));
1942
+ var s = ai(i.stem);
1943
+ s && (t = w(w({}, t), s));
1923
1944
  }
1924
1945
  return t;
1925
1946
  }
@@ -3338,14 +3359,14 @@ var _e = {
3338
3359
  "h"
3339
3360
  ]
3340
3361
  };
3341
- function ui(e, t) {
3362
+ function li(e, t) {
3342
3363
  for (var r = "", n = 0; n < e.length; n++) {
3343
3364
  var i = e.charAt(n);
3344
3365
  if (i === "j") {
3345
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3346
- s++, n++;
3347
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = li(t);
3348
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3366
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3367
+ o++, n++;
3368
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = hi(t);
3369
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3349
3370
  r += l;
3350
3371
  for (; a-- > 0; )
3351
3372
  r = u + r;
@@ -3354,7 +3375,7 @@ function ui(e, t) {
3354
3375
  }
3355
3376
  return r;
3356
3377
  }
3357
- function li(e) {
3378
+ function hi(e) {
3358
3379
  var t = e.hourCycle;
3359
3380
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3360
3381
  e.hourCycles && // @ts-ignore
@@ -3376,20 +3397,20 @@ function li(e) {
3376
3397
  var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3377
3398
  return i[0];
3378
3399
  }
3379
- var Fe, hi = new RegExp("^".concat(yr.source, "*")), ci = new RegExp("".concat(yr.source, "*$"));
3400
+ var ke, ci = new RegExp("^".concat(gr.source, "*")), fi = new RegExp("".concat(gr.source, "*$"));
3380
3401
  function _(e, t) {
3381
3402
  return { start: e, end: t };
3382
3403
  }
3383
- var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, pi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, _i = gi ? Number.isSafeInteger : function(e) {
3404
+ var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, mi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, gi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, vi = _i ? Number.isSafeInteger : function(e) {
3384
3405
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3385
- }, Ye = !0;
3406
+ }, rt = !0;
3386
3407
  try {
3387
- var vi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3388
- Ye = ((Fe = vi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3408
+ var Ei = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3409
+ rt = ((ke = Ei.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
3389
3410
  } catch {
3390
- Ye = !1;
3411
+ rt = !1;
3391
3412
  }
3392
- var Ot = fi ? (
3413
+ var Ct = di ? (
3393
3414
  // Native
3394
3415
  function(t, r, n) {
3395
3416
  return t.startsWith(r, n);
@@ -3399,31 +3420,31 @@ var Ot = fi ? (
3399
3420
  function(t, r, n) {
3400
3421
  return t.slice(n, n + r.length) === r;
3401
3422
  }
3402
- ), Ke = di ? String.fromCodePoint : (
3423
+ ), nt = pi ? String.fromCodePoint : (
3403
3424
  // IE11
3404
3425
  function() {
3405
3426
  for (var t = [], r = 0; r < arguments.length; r++)
3406
3427
  t[r] = arguments[r];
3407
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
3408
- if (a = t[s++], a > 1114111)
3428
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3429
+ if (a = t[o++], a > 1114111)
3409
3430
  throw RangeError(a + " is not a valid code point");
3410
3431
  n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3411
3432
  }
3412
3433
  return n;
3413
3434
  }
3414
- ), It = (
3435
+ ), Lt = (
3415
3436
  // native
3416
- pi ? Object.fromEntries : (
3437
+ mi ? Object.fromEntries : (
3417
3438
  // Ponyfill
3418
3439
  function(t) {
3419
3440
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3420
- var s = i[n], a = s[0], o = s[1];
3421
- r[a] = o;
3441
+ var o = i[n], a = o[0], s = o[1];
3442
+ r[a] = s;
3422
3443
  }
3423
3444
  return r;
3424
3445
  }
3425
3446
  )
3426
- ), Er = mi ? (
3447
+ ), xr = bi ? (
3427
3448
  // Native
3428
3449
  function(t, r) {
3429
3450
  return t.codePointAt(r);
@@ -3433,11 +3454,11 @@ var Ot = fi ? (
3433
3454
  function(t, r) {
3434
3455
  var n = t.length;
3435
3456
  if (!(r < 0 || r >= n)) {
3436
- var i = t.charCodeAt(r), s;
3437
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3457
+ var i = t.charCodeAt(r), o;
3458
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3438
3459
  }
3439
3460
  }
3440
- ), Ei = bi ? (
3461
+ ), xi = yi ? (
3441
3462
  // Native
3442
3463
  function(t) {
3443
3464
  return t.trimStart();
@@ -3445,9 +3466,9 @@ var Ot = fi ? (
3445
3466
  ) : (
3446
3467
  // Ponyfill
3447
3468
  function(t) {
3448
- return t.replace(hi, "");
3469
+ return t.replace(ci, "");
3449
3470
  }
3450
- ), xi = yi ? (
3471
+ ), wi = gi ? (
3451
3472
  // Native
3452
3473
  function(t) {
3453
3474
  return t.trimEnd();
@@ -3455,32 +3476,32 @@ var Ot = fi ? (
3455
3476
  ) : (
3456
3477
  // Ponyfill
3457
3478
  function(t) {
3458
- return t.replace(ci, "");
3479
+ return t.replace(fi, "");
3459
3480
  }
3460
3481
  );
3461
- function xr(e, t) {
3482
+ function wr(e, t) {
3462
3483
  return new RegExp(e, t);
3463
3484
  }
3464
- var et;
3465
- if (Ye) {
3466
- var Ct = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3467
- et = function(t, r) {
3485
+ var it;
3486
+ if (rt) {
3487
+ var Nt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3488
+ it = function(t, r) {
3468
3489
  var n;
3469
- Ct.lastIndex = r;
3470
- var i = Ct.exec(t);
3490
+ Nt.lastIndex = r;
3491
+ var i = Nt.exec(t);
3471
3492
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3472
3493
  };
3473
3494
  } else
3474
- et = function(t, r) {
3495
+ it = function(t, r) {
3475
3496
  for (var n = []; ; ) {
3476
- var i = Er(t, r);
3477
- if (i === void 0 || wr(i) || Hi(i))
3497
+ var i = xr(t, r);
3498
+ if (i === void 0 || Sr(i) || Pi(i))
3478
3499
  break;
3479
3500
  n.push(i), r += i >= 65536 ? 2 : 1;
3480
3501
  }
3481
- return Ke.apply(void 0, n);
3502
+ return nt.apply(void 0, n);
3482
3503
  };
3483
- var wi = (
3504
+ var Si = (
3484
3505
  /** @class */
3485
3506
  function() {
3486
3507
  function e(t, r) {
@@ -3492,26 +3513,26 @@ var wi = (
3492
3513
  return this.parseMessage(0, "", !1);
3493
3514
  }, e.prototype.parseMessage = function(t, r, n) {
3494
3515
  for (var i = []; !this.isEOF(); ) {
3495
- var s = this.char();
3496
- if (s === 123) {
3516
+ var o = this.char();
3517
+ if (o === 123) {
3497
3518
  var a = this.parseArgument(t, n);
3498
3519
  if (a.err)
3499
3520
  return a;
3500
3521
  i.push(a.val);
3501
3522
  } else {
3502
- if (s === 125 && t > 0)
3523
+ if (o === 125 && t > 0)
3503
3524
  break;
3504
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
3505
- var o = this.clonePosition();
3525
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3526
+ var s = this.clonePosition();
3506
3527
  this.bump(), i.push({
3507
- type: x.pound,
3508
- location: _(o, this.clonePosition())
3528
+ type: E.pound,
3529
+ location: _(s, this.clonePosition())
3509
3530
  });
3510
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3531
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3511
3532
  if (n)
3512
3533
  break;
3513
3534
  return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3514
- } else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3535
+ } else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3515
3536
  var a = this.parseTag(t, r);
3516
3537
  if (a.err)
3517
3538
  return a;
@@ -3532,44 +3553,44 @@ var wi = (
3532
3553
  if (this.bumpSpace(), this.bumpIf("/>"))
3533
3554
  return {
3534
3555
  val: {
3535
- type: x.literal,
3556
+ type: E.literal,
3536
3557
  value: "<".concat(i, "/>"),
3537
3558
  location: _(n, this.clonePosition())
3538
3559
  },
3539
3560
  err: null
3540
3561
  };
3541
3562
  if (this.bumpIf(">")) {
3542
- var s = this.parseMessage(t + 1, r, !0);
3543
- if (s.err)
3544
- return s;
3545
- var a = s.val, o = this.clonePosition();
3563
+ var o = this.parseMessage(t + 1, r, !0);
3564
+ if (o.err)
3565
+ return o;
3566
+ var a = o.val, s = this.clonePosition();
3546
3567
  if (this.bumpIf("</")) {
3547
- if (this.isEOF() || !tt(this.char()))
3548
- return this.error(g.INVALID_TAG, _(o, this.clonePosition()));
3568
+ if (this.isEOF() || !ot(this.char()))
3569
+ return this.error(g.INVALID_TAG, _(s, this.clonePosition()));
3549
3570
  var l = this.clonePosition(), u = this.parseTagName();
3550
3571
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3551
3572
  val: {
3552
- type: x.tag,
3573
+ type: E.tag,
3553
3574
  value: i,
3554
3575
  children: a,
3555
3576
  location: _(n, this.clonePosition())
3556
3577
  },
3557
3578
  err: null
3558
- } : this.error(g.INVALID_TAG, _(o, this.clonePosition())));
3579
+ } : this.error(g.INVALID_TAG, _(s, this.clonePosition())));
3559
3580
  } else
3560
3581
  return this.error(g.UNCLOSED_TAG, _(n, this.clonePosition()));
3561
3582
  } else
3562
3583
  return this.error(g.INVALID_TAG, _(n, this.clonePosition()));
3563
3584
  }, e.prototype.parseTagName = function() {
3564
3585
  var t = this.offset();
3565
- for (this.bump(); !this.isEOF() && Ti(this.char()); )
3586
+ for (this.bump(); !this.isEOF() && Hi(this.char()); )
3566
3587
  this.bump();
3567
3588
  return this.message.slice(t, this.offset());
3568
3589
  }, e.prototype.parseLiteral = function(t, r) {
3569
3590
  for (var n = this.clonePosition(), i = ""; ; ) {
3570
- var s = this.tryParseQuote(r);
3571
- if (s) {
3572
- i += s;
3591
+ var o = this.tryParseQuote(r);
3592
+ if (o) {
3593
+ i += o;
3573
3594
  continue;
3574
3595
  }
3575
3596
  var a = this.tryParseUnquoted(t, r);
@@ -3577,21 +3598,21 @@ var wi = (
3577
3598
  i += a;
3578
3599
  continue;
3579
3600
  }
3580
- var o = this.tryParseLeftAngleBracket();
3581
- if (o) {
3582
- i += o;
3601
+ var s = this.tryParseLeftAngleBracket();
3602
+ if (s) {
3603
+ i += s;
3583
3604
  continue;
3584
3605
  }
3585
3606
  break;
3586
3607
  }
3587
3608
  var l = _(n, this.clonePosition());
3588
3609
  return {
3589
- val: { type: x.literal, value: i, location: l },
3610
+ val: { type: E.literal, value: i, location: l },
3590
3611
  err: null
3591
3612
  };
3592
3613
  }, e.prototype.tryParseLeftAngleBracket = function() {
3593
3614
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3594
- !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3615
+ !Ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3595
3616
  }, e.prototype.tryParseQuote = function(t) {
3596
3617
  if (this.isEOF() || this.char() !== 39)
3597
3618
  return null;
@@ -3625,12 +3646,12 @@ var wi = (
3625
3646
  r.push(n);
3626
3647
  this.bump();
3627
3648
  }
3628
- return Ke.apply(void 0, r);
3649
+ return nt.apply(void 0, r);
3629
3650
  }, e.prototype.tryParseUnquoted = function(t, r) {
3630
3651
  if (this.isEOF())
3631
3652
  return null;
3632
3653
  var n = this.char();
3633
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3654
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
3634
3655
  }, e.prototype.parseArgument = function(t, r) {
3635
3656
  var n = this.clonePosition();
3636
3657
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3646,7 +3667,7 @@ var wi = (
3646
3667
  case 125:
3647
3668
  return this.bump(), {
3648
3669
  val: {
3649
- type: x.argument,
3670
+ type: E.argument,
3650
3671
  // value does not include the opening and closing braces.
3651
3672
  value: i,
3652
3673
  location: _(n, this.clonePosition())
@@ -3659,13 +3680,13 @@ var wi = (
3659
3680
  return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3660
3681
  }
3661
3682
  }, e.prototype.parseIdentifierIfPossible = function() {
3662
- var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3683
+ var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
3663
3684
  this.bumpTo(i);
3664
- var s = this.clonePosition(), a = _(t, s);
3685
+ var o = this.clonePosition(), a = _(t, o);
3665
3686
  return { value: n, location: a };
3666
3687
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3667
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3668
- switch (o) {
3688
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3689
+ switch (s) {
3669
3690
  case "":
3670
3691
  return this.error(g.EXPECT_ARGUMENT_TYPE, _(a, l));
3671
3692
  case "number":
@@ -3678,7 +3699,7 @@ var wi = (
3678
3699
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3679
3700
  if (f.err)
3680
3701
  return f;
3681
- var c = xi(f.val);
3702
+ var c = wi(f.val);
3682
3703
  if (c.length === 0)
3683
3704
  return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3684
3705
  var p = _(h, this.clonePosition());
@@ -3688,25 +3709,25 @@ var wi = (
3688
3709
  if (d.err)
3689
3710
  return d;
3690
3711
  var m = _(i, this.clonePosition());
3691
- if (u && Ot(u?.style, "::", 0)) {
3692
- var E = Ei(u.style.slice(2));
3693
- if (o === "number") {
3694
- var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3712
+ if (u && Ct(u?.style, "::", 0)) {
3713
+ var v = xi(u.style.slice(2));
3714
+ if (s === "number") {
3715
+ var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
3695
3716
  return f.err ? f : {
3696
- val: { type: x.number, value: n, location: m, style: f.val },
3717
+ val: { type: E.number, value: n, location: m, style: f.val },
3697
3718
  err: null
3698
3719
  };
3699
3720
  } else {
3700
- if (E.length === 0)
3721
+ if (v.length === 0)
3701
3722
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3702
- var T = E;
3703
- this.locale && (T = ui(E, this.locale));
3723
+ var T = v;
3724
+ this.locale && (T = li(v, this.locale));
3704
3725
  var c = {
3705
- type: te.dateTime,
3726
+ type: ee.dateTime,
3706
3727
  pattern: T,
3707
3728
  location: u.styleLocation,
3708
- parsedOptions: this.shouldParseSkeletons ? ti(T) : {}
3709
- }, H = o === "date" ? x.date : x.time;
3729
+ parsedOptions: this.shouldParseSkeletons ? ri(T) : {}
3730
+ }, H = s === "date" ? E.date : E.time;
3710
3731
  return {
3711
3732
  val: { type: H, value: n, location: m, style: c },
3712
3733
  err: null
@@ -3715,10 +3736,10 @@ var wi = (
3715
3736
  }
3716
3737
  return {
3717
3738
  val: {
3718
- type: o === "number" ? x.number : o === "date" ? x.date : x.time,
3739
+ type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3719
3740
  value: n,
3720
3741
  location: m,
3721
- style: (s = u?.style) !== null && s !== void 0 ? s : null
3742
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3722
3743
  },
3723
3744
  err: null
3724
3745
  };
@@ -3728,41 +3749,41 @@ var wi = (
3728
3749
  case "select": {
3729
3750
  var S = this.clonePosition();
3730
3751
  if (this.bumpSpace(), !this.bumpIf(","))
3731
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, v({}, S)));
3752
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Ae({}, S)));
3732
3753
  this.bumpSpace();
3733
- var O = this.parseIdentifierIfPossible(), B = 0;
3734
- if (o !== "select" && O.value === "offset") {
3754
+ var O = this.parseIdentifierIfPossible(), P = 0;
3755
+ if (s !== "select" && O.value === "offset") {
3735
3756
  if (!this.bumpIf(":"))
3736
3757
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3737
3758
  this.bumpSpace();
3738
3759
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3739
3760
  if (f.err)
3740
3761
  return f;
3741
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = f.val;
3762
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = f.val;
3742
3763
  }
3743
- var I = this.tryParsePluralOrSelectOptions(t, o, r, O);
3744
- if (I.err)
3745
- return I;
3764
+ var C = this.tryParsePluralOrSelectOptions(t, s, r, O);
3765
+ if (C.err)
3766
+ return C;
3746
3767
  var d = this.tryParseArgumentClose(i);
3747
3768
  if (d.err)
3748
3769
  return d;
3749
- var w = _(i, this.clonePosition());
3750
- return o === "select" ? {
3770
+ var x = _(i, this.clonePosition());
3771
+ return s === "select" ? {
3751
3772
  val: {
3752
- type: x.select,
3773
+ type: E.select,
3753
3774
  value: n,
3754
- options: It(I.val),
3755
- location: w
3775
+ options: Lt(C.val),
3776
+ location: x
3756
3777
  },
3757
3778
  err: null
3758
3779
  } : {
3759
3780
  val: {
3760
- type: x.plural,
3781
+ type: E.plural,
3761
3782
  value: n,
3762
- options: It(I.val),
3763
- offset: B,
3764
- pluralType: o === "plural" ? "cardinal" : "ordinal",
3765
- location: w
3783
+ options: Lt(C.val),
3784
+ offset: P,
3785
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3786
+ location: x
3766
3787
  },
3767
3788
  err: null
3768
3789
  };
@@ -3810,21 +3831,21 @@ var wi = (
3810
3831
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3811
3832
  var n = [];
3812
3833
  try {
3813
- n = ni(t);
3834
+ n = ii(t);
3814
3835
  } catch {
3815
3836
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3816
3837
  }
3817
3838
  return {
3818
3839
  val: {
3819
- type: te.number,
3840
+ type: ee.number,
3820
3841
  tokens: n,
3821
3842
  location: r,
3822
- parsedOptions: this.shouldParseSkeletons ? ai(n) : {}
3843
+ parsedOptions: this.shouldParseSkeletons ? ui(n) : {}
3823
3844
  },
3824
3845
  err: null
3825
3846
  };
3826
3847
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3827
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3848
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3828
3849
  if (u.length === 0) {
3829
3850
  var f = this.clonePosition();
3830
3851
  if (r !== "select" && this.bumpIf("=")) {
@@ -3847,27 +3868,27 @@ var wi = (
3847
3868
  var m = this.tryParseArgumentClose(p);
3848
3869
  if (m.err)
3849
3870
  return m;
3850
- o.push([
3871
+ s.push([
3851
3872
  u,
3852
3873
  {
3853
3874
  value: d.val,
3854
3875
  location: _(p, this.clonePosition())
3855
3876
  }
3856
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3877
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3857
3878
  }
3858
- return o.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: o, err: null };
3879
+ return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3859
3880
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3860
3881
  var n = 1, i = this.clonePosition();
3861
3882
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3862
- for (var s = !1, a = 0; !this.isEOF(); ) {
3863
- var o = this.char();
3864
- if (o >= 48 && o <= 57)
3865
- s = !0, a = a * 10 + (o - 48), this.bump();
3883
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3884
+ var s = this.char();
3885
+ if (s >= 48 && s <= 57)
3886
+ o = !0, a = a * 10 + (s - 48), this.bump();
3866
3887
  else
3867
3888
  break;
3868
3889
  }
3869
3890
  var l = _(i, this.clonePosition());
3870
- return s ? (a *= n, _i(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3891
+ return o ? (a *= n, vi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3871
3892
  }, e.prototype.offset = function() {
3872
3893
  return this.position.offset;
3873
3894
  }, e.prototype.isEOF = function() {
@@ -3882,7 +3903,7 @@ var wi = (
3882
3903
  var t = this.position.offset;
3883
3904
  if (t >= this.message.length)
3884
3905
  throw Error("out of bound");
3885
- var r = Er(this.message, t);
3906
+ var r = xr(this.message, t);
3886
3907
  if (r === void 0)
3887
3908
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3888
3909
  return r;
@@ -3901,7 +3922,7 @@ var wi = (
3901
3922
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3902
3923
  }
3903
3924
  }, e.prototype.bumpIf = function(t) {
3904
- if (Ot(this.message, t, this.offset())) {
3925
+ if (Ct(this.message, t, this.offset())) {
3905
3926
  for (var r = 0; r < t.length; r++)
3906
3927
  this.bump();
3907
3928
  return !0;
@@ -3923,7 +3944,7 @@ var wi = (
3923
3944
  break;
3924
3945
  }
3925
3946
  }, e.prototype.bumpSpace = function() {
3926
- for (; !this.isEOF() && wr(this.char()); )
3947
+ for (; !this.isEOF() && Sr(this.char()); )
3927
3948
  this.bump();
3928
3949
  }, e.prototype.peek = function() {
3929
3950
  if (this.isEOF())
@@ -3933,204 +3954,204 @@ var wi = (
3933
3954
  }, e;
3934
3955
  }()
3935
3956
  );
3936
- function tt(e) {
3957
+ function ot(e) {
3937
3958
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3938
3959
  }
3939
- function Si(e) {
3940
- return tt(e) || e === 47;
3941
- }
3942
3960
  function Ti(e) {
3961
+ return ot(e) || e === 47;
3962
+ }
3963
+ function Hi(e) {
3943
3964
  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;
3944
3965
  }
3945
- function wr(e) {
3966
+ function Sr(e) {
3946
3967
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3947
3968
  }
3948
- function Hi(e) {
3969
+ function Pi(e) {
3949
3970
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3950
3971
  }
3951
- function rt(e) {
3972
+ function st(e) {
3952
3973
  e.forEach(function(t) {
3953
- if (delete t.location, dr(t) || pr(t))
3974
+ if (delete t.location, pr(t) || mr(t))
3954
3975
  for (var r in t.options)
3955
- delete t.options[r].location, rt(t.options[r].value);
3976
+ delete t.options[r].location, st(t.options[r].value);
3956
3977
  else
3957
- hr(t) && br(t.style) || (cr(t) || fr(t)) && Je(t.style) ? delete t.style.location : mr(t) && rt(t.children);
3978
+ cr(t) && yr(t.style) || (fr(t) || dr(t)) && tt(t.style) ? delete t.style.location : br(t) && st(t.children);
3958
3979
  });
3959
3980
  }
3960
- function Bi(e, t) {
3961
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3962
- var r = new wi(e, t).parse();
3981
+ function Ai(e, t) {
3982
+ t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3983
+ var r = new Si(e, t).parse();
3963
3984
  if (r.err) {
3964
3985
  var n = SyntaxError(g[r.err.kind]);
3965
3986
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3966
3987
  }
3967
- return t?.captureLocation || rt(r.val), r.val;
3988
+ return t?.captureLocation || st(r.val), r.val;
3968
3989
  }
3969
- var re;
3990
+ var te;
3970
3991
  (function(e) {
3971
3992
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3972
- })(re || (re = {}));
3973
- var Ce = (
3993
+ })(te || (te = {}));
3994
+ var Ne = (
3974
3995
  /** @class */
3975
3996
  function(e) {
3976
- G(t, e);
3997
+ Le(t, e);
3977
3998
  function t(r, n, i) {
3978
- var s = e.call(this, r) || this;
3979
- return s.code = n, s.originalMessage = i, s;
3999
+ var o = e.call(this, r) || this;
4000
+ return o.code = n, o.originalMessage = i, o;
3980
4001
  }
3981
4002
  return t.prototype.toString = function() {
3982
4003
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3983
4004
  }, t;
3984
4005
  }(Error)
3985
- ), Lt = (
4006
+ ), Mt = (
3986
4007
  /** @class */
3987
4008
  function(e) {
3988
- G(t, e);
3989
- function t(r, n, i, s) {
3990
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
4009
+ Le(t, e);
4010
+ function t(r, n, i, o) {
4011
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3991
4012
  }
3992
4013
  return t;
3993
- }(Ce)
3994
- ), Pi = (
4014
+ }(Ne)
4015
+ ), Bi = (
3995
4016
  /** @class */
3996
4017
  function(e) {
3997
- G(t, e);
4018
+ Le(t, e);
3998
4019
  function t(r, n, i) {
3999
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
4020
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
4000
4021
  }
4001
4022
  return t;
4002
- }(Ce)
4003
- ), Ai = (
4023
+ }(Ne)
4024
+ ), Oi = (
4004
4025
  /** @class */
4005
4026
  function(e) {
4006
- G(t, e);
4027
+ Le(t, e);
4007
4028
  function t(r, n) {
4008
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
4029
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
4009
4030
  }
4010
4031
  return t;
4011
- }(Ce)
4012
- ), P;
4032
+ }(Ne)
4033
+ ), A;
4013
4034
  (function(e) {
4014
4035
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
4015
- })(P || (P = {}));
4016
- function Oi(e) {
4036
+ })(A || (A = {}));
4037
+ function Ii(e) {
4017
4038
  return e.length < 2 ? e : e.reduce(function(t, r) {
4018
4039
  var n = t[t.length - 1];
4019
- return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
4040
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
4020
4041
  }, []);
4021
4042
  }
4022
- function Ii(e) {
4043
+ function Ci(e) {
4023
4044
  return typeof e == "function";
4024
4045
  }
4025
- function we(e, t, r, n, i, s, a) {
4026
- if (e.length === 1 && Ht(e[0]))
4046
+ function we(e, t, r, n, i, o, a) {
4047
+ if (e.length === 1 && At(e[0]))
4027
4048
  return [
4028
4049
  {
4029
- type: P.literal,
4050
+ type: A.literal,
4030
4051
  value: e[0].value
4031
4052
  }
4032
4053
  ];
4033
- for (var o = [], l = 0, u = e; l < u.length; l++) {
4054
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
4034
4055
  var h = u[l];
4035
- if (Ht(h)) {
4036
- o.push({
4037
- type: P.literal,
4056
+ if (At(h)) {
4057
+ s.push({
4058
+ type: A.literal,
4038
4059
  value: h.value
4039
4060
  });
4040
4061
  continue;
4041
4062
  }
4042
- if (Kn(h)) {
4043
- typeof s == "number" && o.push({
4044
- type: P.literal,
4045
- value: r.getNumberFormat(t).format(s)
4063
+ if (ei(h)) {
4064
+ typeof o == "number" && s.push({
4065
+ type: A.literal,
4066
+ value: r.getNumberFormat(t).format(o)
4046
4067
  });
4047
4068
  continue;
4048
4069
  }
4049
4070
  var f = h.value;
4050
4071
  if (!(i && f in i))
4051
- throw new Ai(f, a);
4072
+ throw new Oi(f, a);
4052
4073
  var c = i[f];
4053
- if (Yn(h)) {
4054
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
4055
- type: typeof c == "string" ? P.literal : P.object,
4074
+ if (Kn(h)) {
4075
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
4076
+ type: typeof c == "string" ? A.literal : A.object,
4056
4077
  value: c
4057
4078
  });
4058
4079
  continue;
4059
4080
  }
4060
- if (cr(h)) {
4061
- var p = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
4062
- o.push({
4063
- type: P.literal,
4081
+ if (fr(h)) {
4082
+ var p = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
4083
+ s.push({
4084
+ type: A.literal,
4064
4085
  value: r.getDateTimeFormat(t, p).format(c)
4065
4086
  });
4066
4087
  continue;
4067
4088
  }
4068
- if (fr(h)) {
4069
- var p = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
4070
- o.push({
4071
- type: P.literal,
4089
+ if (dr(h)) {
4090
+ var p = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
4091
+ s.push({
4092
+ type: A.literal,
4072
4093
  value: r.getDateTimeFormat(t, p).format(c)
4073
4094
  });
4074
4095
  continue;
4075
4096
  }
4076
- if (hr(h)) {
4077
- var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
4078
- p && p.scale && (c = c * (p.scale || 1)), o.push({
4079
- type: P.literal,
4097
+ if (cr(h)) {
4098
+ var p = typeof h.style == "string" ? n.number[h.style] : yr(h.style) ? h.style.parsedOptions : void 0;
4099
+ p && p.scale && (c = c * (p.scale || 1)), s.push({
4100
+ type: A.literal,
4080
4101
  value: r.getNumberFormat(t, p).format(c)
4081
4102
  });
4082
4103
  continue;
4083
4104
  }
4084
- if (mr(h)) {
4085
- var d = h.children, m = h.value, E = i[m];
4086
- if (!Ii(E))
4087
- throw new Pi(m, "function", a);
4088
- var T = we(d, t, r, n, i, s), H = E(T.map(function(B) {
4089
- return B.value;
4105
+ if (br(h)) {
4106
+ var d = h.children, m = h.value, v = i[m];
4107
+ if (!Ci(v))
4108
+ throw new Bi(m, "function", a);
4109
+ var T = we(d, t, r, n, i, o), H = v(T.map(function(P) {
4110
+ return P.value;
4090
4111
  }));
4091
- Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(B) {
4112
+ Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(P) {
4092
4113
  return {
4093
- type: typeof B == "string" ? P.literal : P.object,
4094
- value: B
4114
+ type: typeof P == "string" ? A.literal : A.object,
4115
+ value: P
4095
4116
  };
4096
4117
  }));
4097
4118
  }
4098
- if (dr(h)) {
4119
+ if (pr(h)) {
4099
4120
  var S = h.options[c] || h.options.other;
4100
4121
  if (!S)
4101
- throw new Lt(h.value, c, Object.keys(h.options), a);
4102
- o.push.apply(o, we(S.value, t, r, n, i));
4122
+ throw new Mt(h.value, c, Object.keys(h.options), a);
4123
+ s.push.apply(s, we(S.value, t, r, n, i));
4103
4124
  continue;
4104
4125
  }
4105
- if (pr(h)) {
4126
+ if (mr(h)) {
4106
4127
  var S = h.options["=".concat(c)];
4107
4128
  if (!S) {
4108
4129
  if (!Intl.PluralRules)
4109
- throw new Ce(`Intl.PluralRules is not available in this environment.
4130
+ throw new Ne(`Intl.PluralRules is not available in this environment.
4110
4131
  Try polyfilling it using "@formatjs/intl-pluralrules"
4111
- `, re.MISSING_INTL_API, a);
4132
+ `, te.MISSING_INTL_API, a);
4112
4133
  var O = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4113
4134
  S = h.options[O] || h.options.other;
4114
4135
  }
4115
4136
  if (!S)
4116
- throw new Lt(h.value, c, Object.keys(h.options), a);
4117
- o.push.apply(o, we(S.value, t, r, n, i, c - (h.offset || 0)));
4137
+ throw new Mt(h.value, c, Object.keys(h.options), a);
4138
+ s.push.apply(s, we(S.value, t, r, n, i, c - (h.offset || 0)));
4118
4139
  continue;
4119
4140
  }
4120
4141
  }
4121
- return Oi(o);
4142
+ return Ii(s);
4122
4143
  }
4123
- function Ci(e, t) {
4124
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4125
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
4144
+ function Li(e, t) {
4145
+ return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4146
+ return r[n] = D(D({}, e[n]), t[n] || {}), r;
4126
4147
  }, {})) : e;
4127
4148
  }
4128
- function Li(e, t) {
4149
+ function Ni(e, t) {
4129
4150
  return t ? Object.keys(e).reduce(function(r, n) {
4130
- return r[n] = Ci(e[n], t[n]), r;
4131
- }, v({}, e)) : e;
4151
+ return r[n] = Li(e[n], t[n]), r;
4152
+ }, D({}, e)) : e;
4132
4153
  }
4133
- function je(e) {
4154
+ function Ve(e) {
4134
4155
  return {
4135
4156
  create: function() {
4136
4157
  return {
@@ -4150,71 +4171,71 @@ function Mi(e) {
4150
4171
  dateTime: {},
4151
4172
  pluralRules: {}
4152
4173
  }), {
4153
- getNumberFormat: Ue(function() {
4174
+ getNumberFormat: Fe(function() {
4154
4175
  for (var t, r = [], n = 0; n < arguments.length; n++)
4155
4176
  r[n] = arguments[n];
4156
- return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4177
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
4157
4178
  }, {
4158
- cache: je(e.number),
4159
- strategy: Ge.variadic
4179
+ cache: Ve(e.number),
4180
+ strategy: je.variadic
4160
4181
  }),
4161
- getDateTimeFormat: Ue(function() {
4182
+ getDateTimeFormat: Fe(function() {
4162
4183
  for (var t, r = [], n = 0; n < arguments.length; n++)
4163
4184
  r[n] = arguments[n];
4164
- return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4185
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
4165
4186
  }, {
4166
- cache: je(e.dateTime),
4167
- strategy: Ge.variadic
4187
+ cache: Ve(e.dateTime),
4188
+ strategy: je.variadic
4168
4189
  }),
4169
- getPluralRules: Ue(function() {
4190
+ getPluralRules: Fe(function() {
4170
4191
  for (var t, r = [], n = 0; n < arguments.length; n++)
4171
4192
  r[n] = arguments[n];
4172
- return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4193
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
4173
4194
  }, {
4174
- cache: je(e.pluralRules),
4175
- strategy: Ge.variadic
4195
+ cache: Ve(e.pluralRules),
4196
+ strategy: je.variadic
4176
4197
  })
4177
4198
  };
4178
4199
  }
4179
- var Ni = (
4200
+ var $i = (
4180
4201
  /** @class */
4181
4202
  function() {
4182
4203
  function e(t, r, n, i) {
4183
4204
  r === void 0 && (r = e.defaultLocale);
4184
- var s = this;
4205
+ var o = this;
4185
4206
  if (this.formatterCache = {
4186
4207
  number: {},
4187
4208
  dateTime: {},
4188
4209
  pluralRules: {}
4189
4210
  }, this.format = function(l) {
4190
- var u = s.formatToParts(l);
4211
+ var u = o.formatToParts(l);
4191
4212
  if (u.length === 1)
4192
4213
  return u[0].value;
4193
4214
  var h = u.reduce(function(f, c) {
4194
- return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4215
+ return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4195
4216
  }, []);
4196
4217
  return h.length <= 1 ? h[0] || "" : h;
4197
4218
  }, this.formatToParts = function(l) {
4198
- return we(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4219
+ return we(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4199
4220
  }, this.resolvedOptions = function() {
4200
4221
  var l;
4201
4222
  return {
4202
- locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4223
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4203
4224
  };
4204
4225
  }, this.getAst = function() {
4205
- return s.ast;
4226
+ return o.ast;
4206
4227
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4207
4228
  if (this.message = t, !e.__parse)
4208
4229
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4209
4230
  var a = i || {};
4210
4231
  a.formatters;
4211
- var o = pn(a, ["formatters"]);
4212
- this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
4232
+ var s = Xn(a, ["formatters"]);
4233
+ this.ast = e.__parse(t, D(D({}, s), { locale: this.resolvedLocale }));
4213
4234
  } else
4214
4235
  this.ast = t;
4215
4236
  if (!Array.isArray(this.ast))
4216
4237
  throw new TypeError("A message must be provided as a String or AST.");
4217
- this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Mi(this.formatterCache);
4238
+ this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Mi(this.formatterCache);
4218
4239
  }
4219
4240
  return Object.defineProperty(e, "defaultLocale", {
4220
4241
  get: function() {
@@ -4227,7 +4248,7 @@ var Ni = (
4227
4248
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4228
4249
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4229
4250
  }
4230
- }, e.__parse = Bi, e.formats = {
4251
+ }, e.__parse = Ai, e.formats = {
4231
4252
  number: {
4232
4253
  integer: {
4233
4254
  maximumFractionDigits: 0
@@ -4298,9 +4319,9 @@ function Ri(e, t) {
4298
4319
  for (let i = 0; i < r.length; i++)
4299
4320
  if (typeof n == "object") {
4300
4321
  if (i > 0) {
4301
- const s = r.slice(i, r.length).join(".");
4302
- if (s in n) {
4303
- n = n[s];
4322
+ const o = r.slice(i, r.length).join(".");
4323
+ if (o in n) {
4324
+ n = n[o];
4304
4325
  break;
4305
4326
  }
4306
4327
  }
@@ -4309,92 +4330,92 @@ function Ri(e, t) {
4309
4330
  n = void 0;
4310
4331
  return n;
4311
4332
  }
4312
- const j = {}, $i = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Sr = (e, t) => {
4333
+ const j = {}, Di = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Tr = (e, t) => {
4313
4334
  if (t == null)
4314
4335
  return;
4315
4336
  if (t in j && e in j[t])
4316
4337
  return j[t][e];
4317
- const r = Le(t);
4338
+ const r = Me(t);
4318
4339
  for (let n = 0; n < r.length; n++) {
4319
- const i = r[n], s = Ui(i, e);
4320
- if (s)
4321
- return $i(e, t, s);
4340
+ const i = r[n], o = Gi(i, e);
4341
+ if (o)
4342
+ return Di(e, t, o);
4322
4343
  }
4323
4344
  };
4324
- let ct;
4325
- const me = Ie({});
4326
- function Di(e) {
4327
- return ct[e] || null;
4345
+ let dt;
4346
+ const me = Ce({});
4347
+ function Ui(e) {
4348
+ return dt[e] || null;
4328
4349
  }
4329
- function Tr(e) {
4330
- return e in ct;
4350
+ function Hr(e) {
4351
+ return e in dt;
4331
4352
  }
4332
- function Ui(e, t) {
4333
- if (!Tr(e))
4353
+ function Gi(e, t) {
4354
+ if (!Hr(e))
4334
4355
  return null;
4335
- const r = Di(e);
4356
+ const r = Ui(e);
4336
4357
  return Ri(r, t);
4337
4358
  }
4338
- function Gi(e) {
4359
+ function Fi(e) {
4339
4360
  if (e == null)
4340
4361
  return;
4341
- const t = Le(e);
4362
+ const t = Me(e);
4342
4363
  for (let r = 0; r < t.length; r++) {
4343
4364
  const n = t[r];
4344
- if (Tr(n))
4365
+ if (Hr(n))
4345
4366
  return n;
4346
4367
  }
4347
4368
  }
4348
- function Hr(e, ...t) {
4349
- delete j[e], me.update((r) => (r[e] = Xn.all([r[e] || {}, ...t]), r));
4369
+ function Pr(e, ...t) {
4370
+ delete j[e], me.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
4350
4371
  }
4351
- ie(
4372
+ ne(
4352
4373
  [me],
4353
4374
  ([e]) => Object.keys(e)
4354
4375
  );
4355
- me.subscribe((e) => ct = e);
4376
+ me.subscribe((e) => dt = e);
4356
4377
  const Se = {};
4357
- function Fi(e, t) {
4378
+ function ji(e, t) {
4358
4379
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4359
4380
  }
4360
- function Br(e) {
4381
+ function Ar(e) {
4361
4382
  return Se[e];
4362
4383
  }
4363
- function ji(e) {
4364
- return Le(e).map((t) => {
4365
- const r = Br(t);
4384
+ function ki(e) {
4385
+ return Me(e).map((t) => {
4386
+ const r = Ar(t);
4366
4387
  return [t, r ? [...r] : []];
4367
4388
  }).filter(([, t]) => t.length > 0);
4368
4389
  }
4369
- function nt(e) {
4370
- return e == null ? !1 : Le(e).some(
4390
+ function at(e) {
4391
+ return e == null ? !1 : Me(e).some(
4371
4392
  (t) => {
4372
4393
  var r;
4373
- return (r = Br(t)) == null ? void 0 : r.size;
4394
+ return (r = Ar(t)) == null ? void 0 : r.size;
4374
4395
  }
4375
4396
  );
4376
4397
  }
4377
- function ki(e, t) {
4398
+ function Vi(e, t) {
4378
4399
  return Promise.all(
4379
- t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4380
- ).then((n) => Hr(e, ...n));
4381
- }
4382
- const ue = {};
4383
- function Pr(e) {
4384
- if (!nt(e))
4385
- return e in ue ? ue[e] : Promise.resolve();
4386
- const t = ji(e);
4387
- return ue[e] = Promise.all(
4400
+ t.map((n) => (ji(e, n), n().then((i) => i.default || i)))
4401
+ ).then((n) => Pr(e, ...n));
4402
+ }
4403
+ const ae = {};
4404
+ function Br(e) {
4405
+ if (!at(e))
4406
+ return e in ae ? ae[e] : Promise.resolve();
4407
+ const t = ki(e);
4408
+ return ae[e] = Promise.all(
4388
4409
  t.map(
4389
- ([r, n]) => ki(r, n)
4410
+ ([r, n]) => Vi(r, n)
4390
4411
  )
4391
4412
  ).then(() => {
4392
- if (nt(e))
4393
- return Pr(e);
4394
- delete ue[e];
4395
- }), ue[e];
4413
+ if (at(e))
4414
+ return Br(e);
4415
+ delete ae[e];
4416
+ }), ae[e];
4396
4417
  }
4397
- const Vi = {
4418
+ const Xi = {
4398
4419
  number: {
4399
4420
  scientific: { notation: "scientific" },
4400
4421
  engineering: { notation: "engineering" },
@@ -4423,159 +4444,159 @@ const Vi = {
4423
4444
  timeZoneName: "short"
4424
4445
  }
4425
4446
  }
4426
- }, Xi = {
4447
+ }, Wi = {
4427
4448
  fallbackLocale: null,
4428
4449
  loadingDelay: 200,
4429
- formats: Vi,
4450
+ formats: Xi,
4430
4451
  warnOnMissingMessages: !0,
4431
4452
  handleMissingMessage: void 0,
4432
4453
  ignoreTag: !0
4433
- }, Wi = Xi;
4434
- function ne() {
4435
- return Wi;
4454
+ }, zi = Wi;
4455
+ function re() {
4456
+ return zi;
4436
4457
  }
4437
- const ke = Ie(!1);
4438
- var zi = Object.defineProperty, Zi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ji = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => {
4458
+ const Xe = Ce(!1);
4459
+ var Zi = Object.defineProperty, Qi = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ki = (e, t) => {
4439
4460
  for (var r in t || (t = {}))
4440
- qi.call(t, r) && Nt(e, r, t[r]);
4441
- if (Mt)
4442
- for (var r of Mt(t))
4443
- Ji.call(t, r) && Nt(e, r, t[r]);
4461
+ Ji.call(t, r) && Rt(e, r, t[r]);
4462
+ if ($t)
4463
+ for (var r of $t(t))
4464
+ Yi.call(t, r) && Rt(e, r, t[r]);
4444
4465
  return e;
4445
- }, Ki = (e, t) => Zi(e, Qi(t));
4446
- let it;
4447
- const Pe = Ie(null);
4448
- function Rt(e) {
4466
+ }, eo = (e, t) => Qi(e, qi(t));
4467
+ let ut;
4468
+ const Be = Ce(null);
4469
+ function Dt(e) {
4449
4470
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4450
4471
  }
4451
- function Le(e, t = ne().fallbackLocale) {
4452
- const r = Rt(e);
4453
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4472
+ function Me(e, t = re().fallbackLocale) {
4473
+ const r = Dt(e);
4474
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
4454
4475
  }
4455
- function z() {
4456
- return it ?? void 0;
4476
+ function W() {
4477
+ return ut ?? void 0;
4457
4478
  }
4458
- Pe.subscribe((e) => {
4459
- it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4479
+ Be.subscribe((e) => {
4480
+ ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4460
4481
  });
4461
- const es = (e) => {
4462
- if (e && Gi(e) && nt(e)) {
4463
- const { loadingDelay: t } = ne();
4482
+ const to = (e) => {
4483
+ if (e && Fi(e) && at(e)) {
4484
+ const { loadingDelay: t } = re();
4464
4485
  let r;
4465
- return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4466
- () => ke.set(!0),
4486
+ return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4487
+ () => Xe.set(!0),
4467
4488
  t
4468
- ) : ke.set(!0), Pr(e).then(() => {
4469
- Pe.set(e);
4489
+ ) : Xe.set(!0), Br(e).then(() => {
4490
+ Be.set(e);
4470
4491
  }).finally(() => {
4471
- clearTimeout(r), ke.set(!1);
4492
+ clearTimeout(r), Xe.set(!1);
4472
4493
  });
4473
4494
  }
4474
- return Pe.set(e);
4475
- }, se = Ki(Yi({}, Pe), {
4476
- set: es
4477
- }), Me = (e) => {
4495
+ return Be.set(e);
4496
+ }, ie = eo(Ki({}, Be), {
4497
+ set: to
4498
+ }), $e = (e) => {
4478
4499
  const t = /* @__PURE__ */ Object.create(null);
4479
4500
  return (n) => {
4480
4501
  const i = JSON.stringify(n);
4481
4502
  return i in t ? t[i] : t[i] = e(n);
4482
4503
  };
4483
4504
  };
4484
- var ts = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4505
+ var ro = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4485
4506
  for (var r in t || (t = {}))
4486
- Ar.call(t, r) && $t(e, r, t[r]);
4487
- if (Ae)
4488
- for (var r of Ae(t))
4489
- Or.call(t, r) && $t(e, r, t[r]);
4507
+ Or.call(t, r) && Ut(e, r, t[r]);
4508
+ if (Oe)
4509
+ for (var r of Oe(t))
4510
+ Ir.call(t, r) && Ut(e, r, t[r]);
4490
4511
  return e;
4491
4512
  }, oe = (e, t) => {
4492
4513
  var r = {};
4493
4514
  for (var n in e)
4494
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4495
- if (e != null && Ae)
4496
- for (var n of Ae(e))
4497
- t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4515
+ Or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4516
+ if (e != null && Oe)
4517
+ for (var n of Oe(e))
4518
+ t.indexOf(n) < 0 && Ir.call(e, n) && (r[n] = e[n]);
4498
4519
  return r;
4499
4520
  };
4500
- const fe = (e, t) => {
4501
- const { formats: r } = ne();
4521
+ const ce = (e, t) => {
4522
+ const { formats: r } = re();
4502
4523
  if (e in r && t in r[e])
4503
4524
  return r[e][t];
4504
4525
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4505
- }, rs = Me(
4526
+ }, no = $e(
4506
4527
  (e) => {
4507
4528
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4508
4529
  if (r == null)
4509
4530
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4510
- return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4531
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4511
4532
  }
4512
- ), ns = Me(
4533
+ ), io = $e(
4513
4534
  (e) => {
4514
4535
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4515
4536
  if (r == null)
4516
4537
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4517
- return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4538
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4518
4539
  }
4519
- ), is = Me(
4540
+ ), oo = $e(
4520
4541
  (e) => {
4521
4542
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4522
4543
  if (r == null)
4523
4544
  throw new Error(
4524
4545
  '[svelte-i18n] A "locale" must be set to format time values'
4525
4546
  );
4526
- return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4547
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4527
4548
  }
4528
- ), ss = (e = {}) => {
4549
+ ), so = (e = {}) => {
4529
4550
  var t = e, {
4530
- locale: r = z()
4551
+ locale: r = W()
4531
4552
  } = t, n = oe(t, [
4532
4553
  "locale"
4533
4554
  ]);
4534
- return rs(ft({ locale: r }, n));
4535
- }, os = (e = {}) => {
4555
+ return no(pt({ locale: r }, n));
4556
+ }, ao = (e = {}) => {
4536
4557
  var t = e, {
4537
- locale: r = z()
4558
+ locale: r = W()
4538
4559
  } = t, n = oe(t, [
4539
4560
  "locale"
4540
4561
  ]);
4541
- return ns(ft({ locale: r }, n));
4542
- }, as = (e = {}) => {
4562
+ return io(pt({ locale: r }, n));
4563
+ }, uo = (e = {}) => {
4543
4564
  var t = e, {
4544
- locale: r = z()
4565
+ locale: r = W()
4545
4566
  } = t, n = oe(t, [
4546
4567
  "locale"
4547
4568
  ]);
4548
- return is(ft({ locale: r }, n));
4549
- }, us = Me(
4569
+ return oo(pt({ locale: r }, n));
4570
+ }, lo = $e(
4550
4571
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4551
- (e, t = z()) => new Ni(e, t, ne().formats, {
4552
- ignoreTag: ne().ignoreTag
4572
+ (e, t = W()) => new $i(e, t, re().formats, {
4573
+ ignoreTag: re().ignoreTag
4553
4574
  })
4554
- ), ls = (e, t = {}) => {
4555
- var r, n, i, s;
4575
+ ), ho = (e, t = {}) => {
4576
+ var r, n, i, o;
4556
4577
  let a = t;
4557
4578
  typeof e == "object" && (a = e, e = a.id);
4558
4579
  const {
4559
- values: o,
4560
- locale: l = z(),
4580
+ values: s,
4581
+ locale: l = W(),
4561
4582
  default: u
4562
4583
  } = a;
4563
4584
  if (l == null)
4564
4585
  throw new Error(
4565
4586
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4566
4587
  );
4567
- let h = Sr(e, l);
4588
+ let h = Tr(e, l);
4568
4589
  if (!h)
4569
- h = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4590
+ h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4570
4591
  else if (typeof h != "string")
4571
4592
  return console.warn(
4572
4593
  `[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.`
4573
4594
  ), h;
4574
- if (!o)
4595
+ if (!s)
4575
4596
  return h;
4576
4597
  let f = h;
4577
4598
  try {
4578
- f = us(h, l).format(o);
4599
+ f = lo(h, l).format(s);
4579
4600
  } catch (c) {
4580
4601
  c instanceof Error && console.warn(
4581
4602
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4583,16 +4604,16 @@ const fe = (e, t) => {
4583
4604
  );
4584
4605
  }
4585
4606
  return f;
4586
- }, hs = (e, t) => as(t).format(e), cs = (e, t) => os(t).format(e), fs = (e, t) => ss(t).format(e), ds = (e, t = z()) => Sr(e, t), ps = ie([se, me], () => ls);
4587
- ie([se], () => hs);
4588
- ie([se], () => cs);
4589
- ie([se], () => fs);
4590
- ie([se, me], () => ds);
4607
+ }, co = (e, t) => uo(t).format(e), fo = (e, t) => ao(t).format(e), po = (e, t) => so(t).format(e), mo = (e, t = W()) => Tr(e, t), bo = ne([ie, me], () => ho);
4608
+ ne([ie], () => co);
4609
+ ne([ie], () => fo);
4610
+ ne([ie], () => po);
4611
+ ne([ie, me], () => mo);
4591
4612
  window.emWidgets = { topic: Pn };
4592
- const Ir = (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)), ms = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4593
- function Zs(e, t) {
4613
+ const Cr = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4614
+ function qo(e, t) {
4594
4615
  const r = window.navigator.userAgent;
4595
- return Ir(r) ? t = e.filter((n) => {
4616
+ return Cr(r) ? t = e.filter((n) => {
4596
4617
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4597
4618
  return n;
4598
4619
  }) : t = e.filter((n) => {
@@ -4600,24 +4621,24 @@ function Zs(e, t) {
4600
4621
  return n;
4601
4622
  }), t;
4602
4623
  }
4603
- function Qs(e, t) {
4624
+ function Jo(e, t) {
4604
4625
  return new Promise((r, n) => {
4605
4626
  const i = new Headers();
4606
4627
  i.append("X-SessionID", t);
4607
- const s = {
4628
+ const o = {
4608
4629
  method: "GET",
4609
4630
  headers: i
4610
4631
  };
4611
- fetch(`${e}/v1/player/session/player`, s).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4632
+ fetch(`${e}/v1/player/session/player`, o).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4612
4633
  });
4613
4634
  }
4614
- function bs(e, t) {
4635
+ function go(e, t) {
4615
4636
  if (e) {
4616
4637
  const r = document.createElement("style");
4617
4638
  r.innerHTML = t, e.appendChild(r);
4618
4639
  }
4619
4640
  }
4620
- function ys(e, t) {
4641
+ function _o(e, t) {
4621
4642
  const r = new URL(t);
4622
4643
  fetch(r.href).then((n) => n.text()).then((n) => {
4623
4644
  const i = document.createElement("style");
@@ -4626,7 +4647,7 @@ function ys(e, t) {
4626
4647
  console.error("There was an error while trying to load client styling from URL", n);
4627
4648
  });
4628
4649
  }
4629
- function gs(e, t, r) {
4650
+ function vo(e, t, r) {
4630
4651
  if (window.emMessageBus) {
4631
4652
  const n = document.createElement("style");
4632
4653
  window.emMessageBus.subscribe(t, (i) => {
@@ -4634,13 +4655,13 @@ function gs(e, t, r) {
4634
4655
  });
4635
4656
  }
4636
4657
  }
4637
- function Dt(e, t) {
4638
- Hr(e, t);
4658
+ function Gt(e, t) {
4659
+ Pr(e, t);
4639
4660
  }
4640
- function _s(e) {
4641
- se.set(e);
4661
+ function Eo(e) {
4662
+ ie.set(e);
4642
4663
  }
4643
- const Ut = {
4664
+ const Ft = {
4644
4665
  en: {
4645
4666
  error: "500 Error - Internal Server Error"
4646
4667
  },
@@ -4672,7 +4693,7 @@ if (typeof window < "u") {
4672
4693
  }
4673
4694
  };
4674
4695
  };
4675
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-Bsp_M9tm.js").then(({ default: t }) => {
4696
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BO_acJjS.js").then(({ default: t }) => {
4676
4697
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4677
4698
  });
4678
4699
  }
@@ -4688,114 +4709,114 @@ if (typeof window < "u") {
4688
4709
  }
4689
4710
  };
4690
4711
  };
4691
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BZFRiT1-.js").then(({ default: t }) => {
4712
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-CearDjmk.js").then(({ default: t }) => {
4692
4713
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4693
4714
  });
4694
4715
  }
4695
- function vs(e) {
4716
+ function xo(e) {
4696
4717
  Gr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4697
4718
  }.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4698
4719
  }
4699
- function Gt(e, t, r) {
4720
+ function jt(e, t, r) {
4700
4721
  const n = e.slice();
4701
4722
  return n[26] = t[r], n[28] = r, n;
4702
4723
  }
4703
- function Es(e) {
4704
- let t, r, n, i = yt(
4724
+ function wo(e) {
4725
+ let t, r, n, i = _t(
4705
4726
  /*calendarCollections*/
4706
4727
  e[6]
4707
- ), s = [];
4708
- for (let o = 0; o < i.length; o += 1)
4709
- s[o] = Ft(Gt(e, i, o));
4728
+ ), o = [];
4729
+ for (let s = 0; s < i.length; s += 1)
4730
+ o[s] = kt(jt(e, i, s));
4710
4731
  let a = (
4711
4732
  /*calendarModalOpened*/
4712
- e[11] == !0 && jt(e)
4733
+ e[11] == !0 && Vt(e)
4713
4734
  );
4714
4735
  return {
4715
4736
  c() {
4716
- t = M("div");
4717
- for (let o = 0; o < s.length; o += 1)
4718
- s[o].c();
4737
+ t = N("div");
4738
+ for (let s = 0; s < o.length; s += 1)
4739
+ o[s].c();
4719
4740
  r = Vr(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4720
4741
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4721
4742
  },
4722
- m(o, l) {
4723
- X(o, t, l);
4724
- for (let u = 0; u < s.length; u += 1)
4725
- s[u] && s[u].m(t, null);
4726
- pe(t, r), a && a.m(t, null);
4743
+ m(s, l) {
4744
+ X(s, t, l);
4745
+ for (let u = 0; u < o.length; u += 1)
4746
+ o[u] && o[u].m(t, null);
4747
+ de(t, r), a && a.m(t, null);
4727
4748
  },
4728
- p(o, l) {
4749
+ p(s, l) {
4729
4750
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4730
4751
  95) {
4731
- i = yt(
4752
+ i = _t(
4732
4753
  /*calendarCollections*/
4733
- o[6]
4754
+ s[6]
4734
4755
  );
4735
4756
  let u;
4736
4757
  for (u = 0; u < i.length; u += 1) {
4737
- const h = Gt(o, i, u);
4738
- s[u] ? s[u].p(h, l) : (s[u] = Ft(h), s[u].c(), s[u].m(t, r));
4758
+ const h = jt(s, i, u);
4759
+ o[u] ? o[u].p(h, l) : (o[u] = kt(h), o[u].c(), o[u].m(t, r));
4739
4760
  }
4740
- for (; u < s.length; u += 1)
4741
- s[u].d(1);
4742
- s.length = i.length;
4761
+ for (; u < o.length; u += 1)
4762
+ o[u].d(1);
4763
+ o.length = i.length;
4743
4764
  }
4744
4765
  /*calendarModalOpened*/
4745
- o[11] == !0 ? a ? a.p(o, l) : (a = jt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4766
+ s[11] == !0 ? a ? a.p(s, l) : (a = Vt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4746
4767
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4747
- (o[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4768
+ (s[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4748
4769
  },
4749
- d(o) {
4750
- o && R(t), jr(s, o), a && a.d();
4770
+ d(s) {
4771
+ s && $(t), jr(o, s), a && a.d();
4751
4772
  }
4752
4773
  };
4753
4774
  }
4754
- function xs(e) {
4775
+ function So(e) {
4755
4776
  let t;
4756
4777
  return {
4757
4778
  c() {
4758
- t = M("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4779
+ t = N("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4759
4780
  },
4760
4781
  m(r, n) {
4761
4782
  X(r, t, n);
4762
4783
  },
4763
- p: A,
4784
+ p: B,
4764
4785
  d(r) {
4765
- r && R(t);
4786
+ r && $(t);
4766
4787
  }
4767
4788
  };
4768
4789
  }
4769
- function ws(e) {
4790
+ function To(e) {
4770
4791
  let t, r = (
4771
4792
  /*$_*/
4772
4793
  e[12]("error") + ""
4773
4794
  ), n;
4774
4795
  return {
4775
4796
  c() {
4776
- t = M("p"), n = at(r), k(t, "class", "SearchLoading svelte-61avp5");
4797
+ t = N("p"), n = ct(r), k(t, "class", "SearchLoading svelte-61avp5");
4777
4798
  },
4778
- m(i, s) {
4779
- X(i, t, s), pe(t, n);
4799
+ m(i, o) {
4800
+ X(i, t, o), de(t, n);
4780
4801
  },
4781
- p(i, s) {
4782
- s & /*$_*/
4802
+ p(i, o) {
4803
+ o & /*$_*/
4783
4804
  4096 && r !== (r = /*$_*/
4784
4805
  i[12]("error") + "") && Wr(n, r);
4785
4806
  },
4786
4807
  d(i) {
4787
- i && R(t);
4808
+ i && $(t);
4788
4809
  }
4789
4810
  };
4790
4811
  }
4791
- function Ft(e) {
4792
- let t, r, n, i, s, a;
4812
+ function kt(e) {
4813
+ let t, r, n, i, o, a;
4793
4814
  return {
4794
4815
  c() {
4795
- t = M("casino-calendar-daily-item"), b(t, "dailybackground", r = /*dailyCalendarData*/
4816
+ t = N("casino-calendar-daily-item"), b(t, "dailybackground", r = /*dailyCalendarData*/
4796
4817
  e[26].dailyBackground), b(t, "dailyicon", n = /*dailyCalendarData*/
4797
4818
  e[26].dailyIcon), b(t, "dailyday", i = /*dailyCalendarData*/
4798
- e[26].dailyDay), b(t, "dailydescription", s = /*dailyCalendarData*/
4819
+ e[26].dailyDay), b(t, "dailydescription", o = /*dailyCalendarData*/
4799
4820
  e[26].dailyDescription), b(t, "dailybuttontitle", a = /*dailyCalendarData*/
4800
4821
  e[26].dailyButtonTitle), b(
4801
4822
  t,
@@ -4829,62 +4850,62 @@ function Ft(e) {
4829
4850
  e[3]
4830
4851
  ), b(t, "class", "svelte-61avp5");
4831
4852
  },
4832
- m(o, l) {
4833
- X(o, t, l);
4853
+ m(s, l) {
4854
+ X(s, t, l);
4834
4855
  },
4835
- p(o, l) {
4856
+ p(s, l) {
4836
4857
  l & /*calendarCollections*/
4837
4858
  64 && r !== (r = /*dailyCalendarData*/
4838
- o[26].dailyBackground) && b(t, "dailybackground", r), l & /*calendarCollections*/
4859
+ s[26].dailyBackground) && b(t, "dailybackground", r), l & /*calendarCollections*/
4839
4860
  64 && n !== (n = /*dailyCalendarData*/
4840
- o[26].dailyIcon) && b(t, "dailyicon", n), l & /*calendarCollections*/
4861
+ s[26].dailyIcon) && b(t, "dailyicon", n), l & /*calendarCollections*/
4841
4862
  64 && i !== (i = /*dailyCalendarData*/
4842
- o[26].dailyDay) && b(t, "dailyday", i), l & /*calendarCollections*/
4843
- 64 && s !== (s = /*dailyCalendarData*/
4844
- o[26].dailyDescription) && b(t, "dailydescription", s), l & /*calendarCollections*/
4863
+ s[26].dailyDay) && b(t, "dailyday", i), l & /*calendarCollections*/
4864
+ 64 && o !== (o = /*dailyCalendarData*/
4865
+ s[26].dailyDescription) && b(t, "dailydescription", o), l & /*calendarCollections*/
4845
4866
  64 && a !== (a = /*dailyCalendarData*/
4846
- o[26].dailyButtonTitle) && b(t, "dailybuttontitle", a), l & /*lang*/
4867
+ s[26].dailyButtonTitle) && b(t, "dailybuttontitle", a), l & /*lang*/
4847
4868
  1 && b(
4848
4869
  t,
4849
4870
  "lang",
4850
4871
  /*lang*/
4851
- o[0]
4872
+ s[0]
4852
4873
  ), l & /*clientstyling*/
4853
4874
  2 && b(
4854
4875
  t,
4855
4876
  "clientstyling",
4856
4877
  /*clientstyling*/
4857
- o[1]
4878
+ s[1]
4858
4879
  ), l & /*clientstylingurl*/
4859
4880
  4 && b(
4860
4881
  t,
4861
4882
  "clientstylingurl",
4862
4883
  /*clientstylingurl*/
4863
- o[2]
4884
+ s[2]
4864
4885
  ), l & /*mbsource*/
4865
4886
  16 && b(
4866
4887
  t,
4867
4888
  "mbsource",
4868
4889
  /*mbsource*/
4869
- o[4]
4890
+ s[4]
4870
4891
  ), l & /*translationurl*/
4871
4892
  8 && b(
4872
4893
  t,
4873
4894
  "translationurl",
4874
4895
  /*translationurl*/
4875
- o[3]
4896
+ s[3]
4876
4897
  );
4877
4898
  },
4878
- d(o) {
4879
- o && R(t);
4899
+ d(s) {
4900
+ s && $(t);
4880
4901
  }
4881
4902
  };
4882
4903
  }
4883
- function jt(e) {
4884
- let t, r, n, i, s, a, o, l;
4904
+ function Vt(e) {
4905
+ let t, r, n, i, o, a, s, l;
4885
4906
  return {
4886
4907
  c() {
4887
- t = M("div"), r = M("casino-calendar-daily-details"), b(r, "dailybackground", n = /*calendarCollections*/
4908
+ t = N("div"), r = N("casino-calendar-daily-details"), b(r, "dailybackground", n = /*calendarCollections*/
4888
4909
  e[6][
4889
4910
  /*selectedIndex*/
4890
4911
  e[7]
@@ -4892,7 +4913,7 @@ function jt(e) {
4892
4913
  e[6][
4893
4914
  /*selectedIndex*/
4894
4915
  e[7]
4895
- ].dailyButtonTitle), b(r, "dailyday", s = /*calendarCollections*/
4916
+ ].dailyButtonTitle), b(r, "dailyday", o = /*calendarCollections*/
4896
4917
  e[6][
4897
4918
  /*selectedIndex*/
4898
4919
  e[7]
@@ -4900,7 +4921,7 @@ function jt(e) {
4900
4921
  e[6][
4901
4922
  /*selectedIndex*/
4902
4923
  e[7]
4903
- ].dailyDescription), b(r, "dailyicon", o = /*calendarCollections*/
4924
+ ].dailyDescription), b(r, "dailyicon", s = /*calendarCollections*/
4904
4925
  e[6][
4905
4926
  /*selectedIndex*/
4906
4927
  e[7]
@@ -4936,7 +4957,7 @@ function jt(e) {
4936
4957
  ), b(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4937
4958
  },
4938
4959
  m(u, h) {
4939
- X(u, t, h), pe(t, r);
4960
+ X(u, t, h), de(t, r);
4940
4961
  },
4941
4962
  p(u, h) {
4942
4963
  h & /*calendarCollections, selectedIndex*/
@@ -4950,21 +4971,21 @@ function jt(e) {
4950
4971
  /*selectedIndex*/
4951
4972
  u[7]
4952
4973
  ].dailyButtonTitle) && b(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4953
- 192 && s !== (s = /*calendarCollections*/
4974
+ 192 && o !== (o = /*calendarCollections*/
4954
4975
  u[6][
4955
4976
  /*selectedIndex*/
4956
4977
  u[7]
4957
- ].dailyDay) && b(r, "dailyday", s), h & /*calendarCollections, selectedIndex*/
4978
+ ].dailyDay) && b(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4958
4979
  192 && a !== (a = /*calendarCollections*/
4959
4980
  u[6][
4960
4981
  /*selectedIndex*/
4961
4982
  u[7]
4962
4983
  ].dailyDescription) && b(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4963
- 192 && o !== (o = /*calendarCollections*/
4984
+ 192 && s !== (s = /*calendarCollections*/
4964
4985
  u[6][
4965
4986
  /*selectedIndex*/
4966
4987
  u[7]
4967
- ].dailyIcon) && b(r, "dailyicon", o), h & /*calendarCollections, selectedIndex*/
4988
+ ].dailyIcon) && b(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4968
4989
  192 && l !== (l = /*calendarCollections*/
4969
4990
  u[6][
4970
4991
  /*selectedIndex*/
@@ -5002,85 +5023,85 @@ function jt(e) {
5002
5023
  );
5003
5024
  },
5004
5025
  d(u) {
5005
- u && R(t);
5026
+ u && $(t);
5006
5027
  }
5007
5028
  };
5008
5029
  }
5009
- function Ss(e) {
5030
+ function Ho(e) {
5010
5031
  let t;
5011
- function r(s, a) {
5032
+ function r(o, a) {
5012
5033
  if (
5013
5034
  /*hasErrors*/
5014
- s[9]
5035
+ o[9]
5015
5036
  )
5016
- return ws;
5037
+ return To;
5017
5038
  if (
5018
5039
  /*isLoading*/
5019
- s[8]
5040
+ o[8]
5020
5041
  )
5021
- return xs;
5042
+ return So;
5022
5043
  if (
5023
5044
  /*calendarCollections*/
5024
- s[6]?.length
5045
+ o[6]?.length
5025
5046
  )
5026
- return Es;
5047
+ return wo;
5027
5048
  }
5028
5049
  let n = r(e), i = n && n(e);
5029
5050
  return {
5030
5051
  c() {
5031
- t = M("div"), i && i.c(), k(t, "class", "svelte-61avp5");
5052
+ t = N("div"), i && i.c(), k(t, "class", "svelte-61avp5");
5032
5053
  },
5033
- m(s, a) {
5034
- X(s, t, a), i && i.m(t, null), e[16](t);
5054
+ m(o, a) {
5055
+ X(o, t, a), i && i.m(t, null), e[16](t);
5035
5056
  },
5036
- p(s, [a]) {
5037
- n === (n = r(s)) && i ? i.p(s, a) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(t, null)));
5057
+ p(o, [a]) {
5058
+ n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
5038
5059
  },
5039
- i: A,
5040
- o: A,
5041
- d(s) {
5042
- s && R(t), i && i.d(), e[16](null);
5060
+ i: B,
5061
+ o: B,
5062
+ d(o) {
5063
+ o && $(t), i && i.d(), e[16](null);
5043
5064
  }
5044
5065
  };
5045
5066
  }
5046
- function Ts(e, t, r) {
5067
+ function Po(e, t, r) {
5047
5068
  let n;
5048
- $r(e, ps, (y) => r(12, n = y));
5049
- let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, d = 0, m = !0, E = !1, T = !1, H = window.navigator.userAgent, S = !1, O;
5050
- const B = () => {
5051
- _s(o);
5069
+ Rr(e, bo, (y) => r(12, n = y));
5070
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, d = 0, m = !0, v = !1, T = !1, H = window.navigator.userAgent, S = !1;
5071
+ const O = () => {
5072
+ Eo(s);
5052
5073
  };
5053
- Object.keys(Ut).forEach((y) => {
5054
- Dt(y, Ut[y]);
5074
+ Object.keys(Ft).forEach((y) => {
5075
+ Gt(y, Ft[y]);
5055
5076
  });
5056
- const I = () => {
5077
+ const P = () => {
5057
5078
  let y = h;
5058
5079
  if (y)
5059
- return fetch(y).then((N) => N.json()).then((N) => {
5060
- Object.keys(N).forEach((F) => {
5061
- Dt(F, N[F]);
5080
+ return fetch(y).then((M) => M.json()).then((M) => {
5081
+ Object.keys(M).forEach((F) => {
5082
+ Gt(F, M[F]);
5062
5083
  });
5063
- }).catch((N) => {
5064
- console.log(N);
5084
+ }).catch((M) => {
5085
+ console.log(M);
5065
5086
  });
5066
- }, w = () => {
5087
+ }, C = () => {
5067
5088
  r(8, m = !0);
5068
- let y = new URL(`${i}/${o}/daily-calendar`);
5069
- y.searchParams.append("userRoles", a), y.searchParams.append("env", s);
5070
- let N = ms(H);
5071
- N && (N === "PC" ? y.searchParams.append("device", "dk") : N === "iPad" || N === "iPhone" ? y.searchParams.append("device", "ios") : y.searchParams.append("device", "mtWeb")), fetch(y.href).then((F) => F.json()).then((F) => {
5089
+ let y = new URL(`${i}/${s}/daily-calendar`);
5090
+ y.searchParams.append("userRoles", a), y.searchParams.append("env", o);
5091
+ let M = yo(H);
5092
+ M && (M === "PC" ? y.searchParams.append("device", "dk") : M === "iPad" || M === "iPhone" ? y.searchParams.append("device", "ios") : y.searchParams.append("device", "mtWeb")), fetch(y.href).then((F) => F.json()).then((F) => {
5072
5093
  r(6, p = F);
5073
5094
  }).catch((F) => {
5074
- console.log(F), r(9, E = !0);
5095
+ console.log(F), r(9, v = !0);
5075
5096
  }).finally(() => {
5076
- C(), r(8, m = !1);
5097
+ x(), r(8, m = !1);
5077
5098
  });
5078
- }, C = () => {
5099
+ }, x = () => {
5079
5100
  const y = c.getRootNode().host;
5080
5101
  y.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: y } }));
5081
5102
  }, L = () => {
5082
- w();
5083
- }, W = (y) => {
5103
+ C();
5104
+ }, I = (y) => {
5084
5105
  y.data && y.data.type == "OpenCalendar" && (r(7, d = y.data.index), r(11, S = !0), window.postMessage(
5085
5106
  {
5086
5107
  type: "ShowModal",
@@ -5093,26 +5114,26 @@ function Ts(e, t, r) {
5093
5114
  data: p[d]?.dailyEvents
5094
5115
  })), y.data && y.data.type == "ModalClosed" && r(11, S = !1);
5095
5116
  };
5096
- en(() => (window.addEventListener("message", W, !1), Ir(H) && r(10, T = !0), () => {
5097
- window.emMessageBus && O && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", W);
5117
+ en(() => (window.addEventListener("message", I, !1), Cr(H) && r(10, T = !0), () => {
5118
+ window.removeEventListener("message", I);
5098
5119
  }));
5099
- function Lr(y) {
5100
- Ve[y ? "unshift" : "push"](() => {
5120
+ function z(y) {
5121
+ We[y ? "unshift" : "push"](() => {
5101
5122
  c = y, r(5, c);
5102
5123
  });
5103
5124
  }
5104
5125
  return e.$$set = (y) => {
5105
- "cmsendpoint" in y && r(13, i = y.cmsendpoint), "env" in y && r(14, s = y.env), "userroles" in y && r(15, a = y.userroles), "lang" in y && r(0, o = y.lang), "clientstyling" in y && r(1, l = y.clientstyling), "clientstylingurl" in y && r(2, u = y.clientstylingurl), "translationurl" in y && r(3, h = y.translationurl), "mbsource" in y && r(4, f = y.mbsource);
5126
+ "cmsendpoint" in y && r(13, i = y.cmsendpoint), "env" in y && r(14, o = y.env), "userroles" in y && r(15, a = y.userroles), "lang" in y && r(0, s = y.lang), "clientstyling" in y && r(1, l = y.clientstyling), "clientstylingurl" in y && r(2, u = y.clientstylingurl), "translationurl" in y && r(3, h = y.translationurl), "mbsource" in y && r(4, f = y.mbsource);
5106
5127
  }, e.$$.update = () => {
5107
5128
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
5108
- 57345 && i && o && s && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5109
- 34 && l && c && bs(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5110
- 36 && u && c && ys(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5111
- 48 && c && gs(c, `${f}.Style`), e.$$.dirty & /*lang*/
5112
- 1 && o && B(), e.$$.dirty & /*lang, translationurl*/
5113
- 9 && o && h && I();
5129
+ 57345 && i && s && o && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5130
+ 34 && l && c && go(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5131
+ 36 && u && c && _o(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5132
+ 48 && c && vo(c, `${f}.Style`), e.$$.dirty & /*lang*/
5133
+ 1 && s && O(), e.$$.dirty & /*lang, translationurl*/
5134
+ 9 && s && h && P();
5114
5135
  }, [
5115
- o,
5136
+ s,
5116
5137
  l,
5117
5138
  u,
5118
5139
  h,
@@ -5121,24 +5142,24 @@ function Ts(e, t, r) {
5121
5142
  p,
5122
5143
  d,
5123
5144
  m,
5124
- E,
5145
+ v,
5125
5146
  T,
5126
5147
  S,
5127
5148
  n,
5128
5149
  i,
5129
- s,
5150
+ o,
5130
5151
  a,
5131
- Lr
5152
+ z
5132
5153
  ];
5133
5154
  }
5134
- class Cr extends fn {
5155
+ class Lr extends fn {
5135
5156
  constructor(t) {
5136
5157
  super(), hn(
5137
5158
  this,
5138
5159
  t,
5139
- Ts,
5140
- Ss,
5141
- Vt,
5160
+ Po,
5161
+ Ho,
5162
+ Wt,
5142
5163
  {
5143
5164
  cmsendpoint: 13,
5144
5165
  env: 14,
@@ -5149,125 +5170,125 @@ class Cr extends fn {
5149
5170
  translationurl: 3,
5150
5171
  mbsource: 4
5151
5172
  },
5152
- vs
5173
+ xo
5153
5174
  );
5154
5175
  }
5155
5176
  get cmsendpoint() {
5156
5177
  return this.$$.ctx[13];
5157
5178
  }
5158
5179
  set cmsendpoint(t) {
5159
- this.$$set({ cmsendpoint: t }), $();
5180
+ this.$$set({ cmsendpoint: t }), R();
5160
5181
  }
5161
5182
  get env() {
5162
5183
  return this.$$.ctx[14];
5163
5184
  }
5164
5185
  set env(t) {
5165
- this.$$set({ env: t }), $();
5186
+ this.$$set({ env: t }), R();
5166
5187
  }
5167
5188
  get userroles() {
5168
5189
  return this.$$.ctx[15];
5169
5190
  }
5170
5191
  set userroles(t) {
5171
- this.$$set({ userroles: t }), $();
5192
+ this.$$set({ userroles: t }), R();
5172
5193
  }
5173
5194
  get lang() {
5174
5195
  return this.$$.ctx[0];
5175
5196
  }
5176
5197
  set lang(t) {
5177
- this.$$set({ lang: t }), $();
5198
+ this.$$set({ lang: t }), R();
5178
5199
  }
5179
5200
  get clientstyling() {
5180
5201
  return this.$$.ctx[1];
5181
5202
  }
5182
5203
  set clientstyling(t) {
5183
- this.$$set({ clientstyling: t }), $();
5204
+ this.$$set({ clientstyling: t }), R();
5184
5205
  }
5185
5206
  get clientstylingurl() {
5186
5207
  return this.$$.ctx[2];
5187
5208
  }
5188
5209
  set clientstylingurl(t) {
5189
- this.$$set({ clientstylingurl: t }), $();
5210
+ this.$$set({ clientstylingurl: t }), R();
5190
5211
  }
5191
5212
  get translationurl() {
5192
5213
  return this.$$.ctx[3];
5193
5214
  }
5194
5215
  set translationurl(t) {
5195
- this.$$set({ translationurl: t }), $();
5216
+ this.$$set({ translationurl: t }), R();
5196
5217
  }
5197
5218
  get mbsource() {
5198
5219
  return this.$$.ctx[4];
5199
5220
  }
5200
5221
  set mbsource(t) {
5201
- this.$$set({ mbsource: t }), $();
5222
+ this.$$set({ mbsource: t }), R();
5202
5223
  }
5203
5224
  }
5204
- cn(Cr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5205
- const qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5225
+ cn(Lr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5226
+ const Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5206
5227
  __proto__: null,
5207
- default: Cr
5228
+ default: Lr
5208
5229
  }, Symbol.toStringTag, { value: "Module" }));
5209
5230
  export {
5210
- se as $,
5211
- pt as A,
5212
- As as B,
5213
- Os as C,
5214
- Ps as D,
5215
- Wr as E,
5216
- jr as F,
5217
- A as G,
5218
- b as H,
5219
- Hs as I,
5220
- ps as J,
5221
- kr as K,
5222
- Cs as L,
5223
- Ns as M,
5224
- Ds as N,
5225
- Fs as O,
5226
- ms as P,
5227
- Is as Q,
5231
+ ie as $,
5232
+ bt as A,
5233
+ Vr as B,
5234
+ We as C,
5235
+ Ao as D,
5236
+ b as E,
5237
+ kr as F,
5238
+ No as G,
5239
+ Go as H,
5240
+ Ro as I,
5241
+ go as J,
5242
+ _o as K,
5243
+ vo as L,
5244
+ cn as M,
5245
+ bo as N,
5246
+ yo as O,
5247
+ Lo as P,
5248
+ ko as Q,
5228
5249
  V as R,
5229
5250
  fn as S,
5230
- Ls as T,
5251
+ Mo as T,
5231
5252
  me as U,
5232
- Ms as V,
5233
- Us as W,
5234
- Qs as X,
5235
- $s as Y,
5236
- Gs as Z,
5237
- Zs as _,
5238
- Hr as a,
5239
- zs as a0,
5240
- Xs as a1,
5241
- Mr as a2,
5242
- Be as a3,
5243
- Rs as a4,
5244
- Vs as a5,
5245
- Ws as a6,
5246
- de as a7,
5247
- qs as a8,
5253
+ $o as V,
5254
+ Fo as W,
5255
+ Jo as X,
5256
+ Uo as Y,
5257
+ jo as Z,
5258
+ qo as _,
5259
+ Pr as a,
5260
+ Qo as a0,
5261
+ zo as a1,
5262
+ Nr as a2,
5263
+ Wo as a3,
5264
+ Pe as a4,
5265
+ Do as a5,
5266
+ Zo as a6,
5267
+ fe as a7,
5268
+ Yo as a8,
5248
5269
  Gr as b,
5249
- cn as c,
5250
- X as d,
5251
- M as e,
5252
- $ as f,
5253
- ks as g,
5254
- Yt as h,
5270
+ er as c,
5271
+ $ as d,
5272
+ Xo as e,
5273
+ R as f,
5274
+ Vo as g,
5275
+ X as h,
5255
5276
  hn as i,
5256
- R as j,
5257
- $r as k,
5258
- ys as l,
5259
- gs as m,
5260
- js as n,
5277
+ N as j,
5278
+ Rr as k,
5279
+ Cr as l,
5280
+ Wr as m,
5281
+ B as n,
5261
5282
  en as o,
5262
- Ir as p,
5263
- Ve as q,
5264
- bs as r,
5265
- Vt as s,
5266
- sn as t,
5267
- Bs as u,
5268
- yt as v,
5269
- Vr as w,
5270
- at as x,
5271
- k as y,
5272
- pe as z
5283
+ de as p,
5284
+ ct as q,
5285
+ k as r,
5286
+ Wt as s,
5287
+ on as t,
5288
+ Bo as u,
5289
+ _t as v,
5290
+ jr as w,
5291
+ Io as x,
5292
+ Co as y,
5293
+ Oo as z
5273
5294
  };