@everymatrix/casino-lobby 1.76.3 → 1.76.5

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