@everymatrix/casino-lobby 1.76.0 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/components/{CasinoCalendar-2Cpj6Bg6.js → CasinoCalendar-B0K8z0GJ.js} +1078 -1113
  2. package/components/CasinoCalendar-Bo-lripz.cjs +19 -0
  3. package/components/{CasinoCalendar-CMIWRUUm.js → CasinoCalendar-CzMBlFEu.js} +1040 -1075
  4. package/components/{CasinoCalendarDailyDetails-DA7MIM93.js → CasinoCalendarDailyDetails-8b-Ie2Hl.js} +91 -91
  5. package/components/{CasinoCalendarDailyDetails-B5krFnaT.js → CasinoCalendarDailyDetails-D5cq8_6v.js} +91 -91
  6. package/components/CasinoCalendarDailyDetails-DZ2juA5b.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-DY2ge_ta.js → CasinoCalendarDailyItem-BglEC2TQ.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-Q79--gB8.cjs → CasinoCalendarDailyItem-Cl7eHYxY.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BAJJIvIo.js → CasinoCalendarDailyItem-DXREwm9q.js} +34 -34
  10. package/components/{CasinoCategoriesSlider-Bj5sxBdL.cjs → CasinoCategoriesSlider-B6_EYUBm.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-QFkK1VfK.js → CasinoCategoriesSlider-BKQxQQyV.js} +36 -36
  12. package/components/{CasinoCategoriesSlider-D8ihGze3.js → CasinoCategoriesSlider-C7_ke4uB.js} +34 -34
  13. package/components/{CasinoCollectionsProviders-CyhsgC2q.cjs → CasinoCollectionsProviders-Abg7c3OD.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-4Z4WIkbN.js → CasinoCollectionsProviders-BpkF43eH.js} +77 -77
  15. package/components/{CasinoCollectionsProviders-KSxevvZ5.js → CasinoCollectionsProviders-BzU-DnW_.js} +64 -64
  16. package/components/{CasinoFavoritesSection-CH6RKYbI.js → CasinoFavoritesSection-CVZktd79.js} +19 -19
  17. package/components/{CasinoFavoritesSection-CeH7gEs_.js → CasinoFavoritesSection-R-FdmVCi.js} +19 -19
  18. package/components/{CasinoFavoritesSection-CnKvlpHj.cjs → CasinoFavoritesSection-_ilSY3sa.cjs} +1 -1
  19. package/components/{CasinoFilter-BDFP3doT.cjs → CasinoFilter-Bc_k_xiT.cjs} +1 -1
  20. package/components/{CasinoFilter-nIExzBTm.js → CasinoFilter-CekYy95Z.js} +46 -46
  21. package/components/{CasinoFilter-DqvsdQLm.js → CasinoFilter-Cve0ticX.js} +46 -46
  22. package/components/{CasinoGameThumbnail-vXzpFK6B.js → CasinoGameThumbnail-1vnHRePz.js} +167 -167
  23. package/components/{CasinoGameThumbnail-DmAXBgdw.js → CasinoGameThumbnail-CWVvNagJ.js} +169 -169
  24. package/components/{CasinoGameThumbnail-Dnb_EWII.cjs → CasinoGameThumbnail-MNCUvtBB.cjs} +1 -1
  25. package/components/CasinoGamesCategorySection-D9LYDRb0.cjs +1 -0
  26. package/components/{CasinoGamesCategorySection-CCMbufvI.js → CasinoGamesCategorySection-DbTE8dp4.js} +170 -170
  27. package/components/{CasinoGamesCategorySection-D8p1YH47.js → CasinoGamesCategorySection-ORk-4Z5T.js} +157 -157
  28. package/components/{CasinoJackpotBanner-EKq86n9z.js → CasinoJackpotBanner-B_dYLQp4.js} +89 -89
  29. package/components/{CasinoJackpotBanner-uWhhU8zz.js → CasinoJackpotBanner-CBz6E__7.js} +84 -84
  30. package/components/{CasinoJackpotBanner-C2pEv1Zb.cjs → CasinoJackpotBanner-DrTQC7xJ.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSection-Cz43Ntm0.js → CasinoLastPlayedSection-DPQb7w2E.js} +33 -33
  32. package/components/{CasinoLastPlayedSection-D6dhMSFC.js → CasinoLastPlayedSection-F_nICX3T.js} +33 -33
  33. package/components/{CasinoLastPlayedSection-Bkk9ZJWU.cjs → CasinoLastPlayedSection-dsIlnh3O.cjs} +1 -1
  34. package/components/{CasinoLobby-pKt5iffv.js → CasinoLobby-DKn7cqKR.js} +59 -59
  35. package/components/{CasinoLobby-CxgUhhrv.cjs → CasinoLobby-Dbhuiv5E.cjs} +1 -1
  36. package/components/{CasinoLobby-C5W8yGx8.js → CasinoLobby-DwSpwsm2.js} +59 -59
  37. package/components/{CasinoMostPlayedSection-D2dgTPLO.cjs → CasinoMostPlayedSection-BxTpYnOu.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-CrpSf7Wm.js → CasinoMostPlayedSection-Dgv78Mz4.js} +49 -49
  39. package/components/{CasinoMostPlayedSection-WUT01RfM.js → CasinoMostPlayedSection-Q71YToxb.js} +49 -49
  40. package/components/{CasinoMyGames-D4hswNh4.js → CasinoMyGames-C95f0LUG.js} +29 -29
  41. package/components/{CasinoMyGames-CXvY2HgK.js → CasinoMyGames-CUUW-jsz.js} +29 -29
  42. package/components/{CasinoMyGames-BySluNi7.cjs → CasinoMyGames-CxJ9bl_4.cjs} +1 -1
  43. package/components/{CasinoPage-DJbF4jd3.js → CasinoPage-DlqPwpLJ.js} +124 -124
  44. package/components/{CasinoPage-CYgZ9Y3j.js → CasinoPage-IgKPkViB.js} +110 -110
  45. package/components/{CasinoPage-CXQGupl1.cjs → CasinoPage-eSiTBBlE.cjs} +1 -1
  46. package/components/{CasinoRandomGame-KqxBje-s.js → CasinoRandomGame-Bqh0v1th.js} +105 -105
  47. package/components/{CasinoRandomGame-C0LeVa_K.js → CasinoRandomGame-DUQ2O7Ih.js} +53 -53
  48. package/components/{CasinoRandomGame-CN0ZsyT7.cjs → CasinoRandomGame-DwpEKRBx.cjs} +2 -2
  49. package/components/{CasinoSearch-DKPZ8_Iy.cjs → CasinoSearch-DN57CePH.cjs} +1 -1
  50. package/components/{CasinoSearch-Bh_3dc9h.js → CasinoSearch-DtTyugw1.js} +93 -93
  51. package/components/{CasinoSearch-BSZXyGpW.js → CasinoSearch-qwCltuQO.js} +96 -96
  52. package/components/{CasinoSlider-B8GaaNuP.js → CasinoSlider-BSy-pbt8.js} +87 -87
  53. package/components/{CasinoSlider-CBsaRkSG.js → CasinoSlider-BZe1q5jA.js} +86 -86
  54. package/components/{CasinoSlider-DbyJ57E6.cjs → CasinoSlider-Gf_263k6.cjs} +1 -1
  55. package/components/{CasinoSort-DdVCJHJU.js → CasinoSort-B25h8Cud.js} +35 -35
  56. package/components/{CasinoSort-5CSg7HAS.cjs → CasinoSort-BjPW0QaZ.cjs} +1 -1
  57. package/components/{CasinoSort-DUnBFMEc.js → CasinoSort-DHRPAHDE.js} +35 -35
  58. package/components/{CasinoWinners-4uQChe2F.cjs → CasinoWinners-D1tkG_oD.cjs} +1 -1
  59. package/components/{CasinoWinners-D9hsy2fX.js → CasinoWinners-DUN0A3--.js} +76 -76
  60. package/components/{CasinoWinners-BO9ep3XD.js → CasinoWinners-DYd8q5Sh.js} +76 -76
  61. package/components/{GeneralAnimationLoading-DKWSPDDc.js → GeneralAnimationLoading-8efHmhFw.js} +14 -14
  62. package/components/{GeneralAnimationLoading-DpT91_iF.cjs → GeneralAnimationLoading-CUK4MKI8.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-yNj1-Ym_.js → GeneralAnimationLoading-DUAt1hpi.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-BmY8ENyy.js → casino-play-random-game-BGnpW6-t.js} +1 -1
  69. package/stencil/{casino-play-random-game-rSOIFZ4R.js → casino-play-random-game-Dkt8_s5i.js} +1 -1
  70. package/stencil/{casino-play-random-game-Ct16KgVH.cjs → casino-play-random-game-DxDk4Aim.cjs} +1 -1
  71. package/stencil/{casino-play-random-game_2-BJVoDn1D.cjs → casino-play-random-game_2-BxEiwCaH.cjs} +1 -1
  72. package/stencil/{casino-play-random-game_2-rMFQqRp8.js → casino-play-random-game_2-CO_ycbvG.js} +1 -1
  73. package/stencil/{casino-play-random-game_2-Cr07t-U3.js → casino-play-random-game_2-OLkBGlKQ.js} +1 -1
  74. package/stencil/index-328e660d-CgCMs0nk.js +576 -0
  75. package/stencil/index-328e660d-DIiqSVTN.js +560 -0
  76. package/stencil/index-328e660d-pKNw3-4H.cjs +1 -0
  77. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  78. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
  79. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
  80. package/stencil/index-b2193545-BL364Gzq.js +503 -0
  81. package/stencil/index-b2193545-DdqB2rk5.js +519 -0
  82. package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
  83. package/stencil/{ui-image-bN_3pDWc.js → ui-image-B_HWMBI-.js} +1 -1
  84. package/stencil/{ui-image-2_i-_1cj.js → ui-image-CzGNxx73.js} +1 -1
  85. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  86. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  87. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  88. package/stencil/{ui-image-eY8BEG3a.cjs → ui-image-wubI3fkK.cjs} +1 -1
  89. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CzFe50WB.js} +2 -2
  90. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  91. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-z5LhXZY2.js} +2 -2
  92. package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-CsmgJUYN.js} +2 -2
  93. package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
  94. package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
  95. package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
  96. package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
  97. package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-yRWBmyfK.js} +2 -2
  98. package/components/CasinoCalendar-DV_HGN_d.cjs +0 -19
  99. package/components/CasinoCalendarDailyDetails-XuqvF6i3.cjs +0 -1
  100. package/components/CasinoGamesCategorySection-i3CzEe6V.cjs +0 -1
  101. package/stencil/index-328e660d-Cex2hzsG.js +0 -576
  102. package/stencil/index-328e660d-Dti9H7_B.js +0 -560
  103. package/stencil/index-328e660d-MaaYKutI.cjs +0 -1
  104. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  105. package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
  106. package/stencil/index-b2193545-Dxw-xjac.js +0 -503
  107. package/stencil/index-b2193545-TbRClz6K.js +0 -519
@@ -1,35 +1,35 @@
1
- var Br = Object.defineProperty, Pr = Object.defineProperties;
2
- var Ar = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var Or = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable;
5
- var Le = (e, t, r) => t in e ? Br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
1
+ var Sr = Object.defineProperty, wr = Object.defineProperties;
2
+ var Tr = Object.getOwnPropertyDescriptors;
3
+ var it = Object.getOwnPropertySymbols;
4
+ var Hr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable;
5
+ var Oe = (e, t, r) => t in e ? Sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Or.call(t, r) && Le(e, r, t[r]);
8
- if (ut)
9
- for (var r of ut(t))
10
- Ir.call(t, r) && Le(e, r, t[r]);
7
+ Hr.call(t, r) && Oe(e, r, t[r]);
8
+ if (it)
9
+ for (var r of it(t))
10
+ Br.call(t, r) && Oe(e, r, t[r]);
11
11
  return e;
12
- }, ht = (e, t) => Pr(e, Ar(t));
13
- var T = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ct = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
12
+ }, ot = (e, t) => wr(e, Tr(t));
13
+ var T = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var at = (e, t, r) => new Promise((n, i) => {
15
+ var s = (l) => {
16
16
  try {
17
17
  a(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, s = (l) => {
21
+ }, o = (l) => {
22
22
  try {
23
23
  a(r.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
27
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function O() {
31
31
  }
32
- function Lr(e, t) {
32
+ function Pr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function Lr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Gt(e) {
40
+ function Rt(e) {
41
41
  return e();
42
42
  }
43
- function ft() {
43
+ function ut() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function W(e) {
47
- e.forEach(Gt);
47
+ e.forEach(Rt);
48
48
  }
49
- function we(e) {
49
+ function Se(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Ft(e, t) {
52
+ function $t(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
55
  let de;
56
- function yo(e, t) {
56
+ function cs(e, t) {
57
57
  return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
58
58
  }
59
- function Cr(e) {
59
+ function Ar(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function jt(e, ...t) {
62
+ function Dt(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,40 +68,40 @@ function jt(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function Nr(e, t, r) {
72
- e.$$.on_destroy.push(jt(t, r));
71
+ function Or(e, t, r) {
72
+ e.$$.on_destroy.push(Dt(t, r));
73
73
  }
74
- function go(e, t, r, n) {
74
+ function ds(e, t, r, n) {
75
75
  if (e) {
76
- const i = kt(e, t, r, n);
76
+ const i = Ut(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function kt(e, t, r, n) {
81
- return e[1] && n ? Lr(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function Ut(e, t, r, n) {
81
+ return e[1] && n ? Pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function vo(e, t, r, n) {
83
+ function ps(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
87
87
  return i;
88
88
  if (typeof i == "object") {
89
- const o = [], s = Math.max(t.dirty.length, i.length);
90
- for (let a = 0; a < s; a += 1)
91
- o[a] = t.dirty[a] | i[a];
92
- return o;
89
+ const s = [], o = Math.max(t.dirty.length, i.length);
90
+ for (let a = 0; a < o; a += 1)
91
+ s[a] = t.dirty[a] | i[a];
92
+ return s;
93
93
  }
94
94
  return t.dirty | i;
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function _o(e, t, r, n, i, o) {
98
+ function ms(e, t, r, n, i, s) {
99
99
  if (i) {
100
- const s = kt(t, r, n, o);
101
- e.p(s, i);
100
+ const o = Ut(t, r, n, s);
101
+ e.p(o, i);
102
102
  }
103
103
  }
104
- function Eo(e) {
104
+ function bs(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -110,20 +110,20 @@ function Eo(e) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- function xo(e) {
114
- return e && we(e.destroy) ? e.destroy : O;
113
+ function ys(e) {
114
+ return e && Se(e.destroy) ? e.destroy : O;
115
115
  }
116
- function Te(e, t) {
116
+ function we(e, t) {
117
117
  e.appendChild(t);
118
118
  }
119
- function Mr(e, t, r) {
120
- const n = Rr(e);
119
+ function Ir(e, t, r) {
120
+ const n = Lr(e);
121
121
  if (!n.getElementById(t)) {
122
- const i = D("style");
123
- i.id = t, i.textContent = r, $r(n, i);
122
+ const i = $("style");
123
+ i.id = t, i.textContent = r, Cr(n, i);
124
124
  }
125
125
  }
126
- function Rr(e) {
126
+ function Lr(e) {
127
127
  if (!e)
128
128
  return document;
129
129
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -133,8 +133,8 @@ function Rr(e) {
133
133
  t
134
134
  ) : e.ownerDocument;
135
135
  }
136
- function $r(e, t) {
137
- return Te(
136
+ function Cr(e, t) {
137
+ return we(
138
138
  /** @type {Document} */
139
139
  e.head || e,
140
140
  t
@@ -143,37 +143,37 @@ function $r(e, t) {
143
143
  function V(e, t, r) {
144
144
  e.insertBefore(t, r || null);
145
145
  }
146
- function G(e) {
146
+ function U(e) {
147
147
  e.parentNode && e.parentNode.removeChild(e);
148
148
  }
149
- function Dr(e, t) {
149
+ function Nr(e, t) {
150
150
  for (let r = 0; r < e.length; r += 1)
151
151
  e[r] && e[r].d(t);
152
152
  }
153
- function D(e) {
153
+ function $(e) {
154
154
  return document.createElement(e);
155
155
  }
156
- function Ur(e) {
156
+ function Mr(e) {
157
157
  return document.createElementNS("http://www.w3.org/2000/svg", e);
158
158
  }
159
- function ot(e) {
159
+ function et(e) {
160
160
  return document.createTextNode(e);
161
161
  }
162
- function Gr() {
163
- return ot(" ");
162
+ function Rr() {
163
+ return et(" ");
164
164
  }
165
- function So() {
166
- return ot("");
165
+ function gs() {
166
+ return et("");
167
167
  }
168
- function wo(e, t, r, n) {
168
+ function _s(e, t, r, n) {
169
169
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
170
170
  }
171
- function To(e) {
171
+ function vs(e) {
172
172
  return function(t) {
173
173
  return t.preventDefault(), e.call(this, t);
174
174
  };
175
175
  }
176
- function Ho(e) {
176
+ function Es(e) {
177
177
  return function(t) {
178
178
  return t.stopPropagation(), e.call(this, t);
179
179
  };
@@ -185,23 +185,23 @@ function d(e, t, r) {
185
185
  const n = t.toLowerCase();
186
186
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
187
187
  }
188
- function Fr(e) {
188
+ function $r(e) {
189
189
  return Array.from(e.childNodes);
190
190
  }
191
- function jr(e, t) {
191
+ function Dr(e, t) {
192
192
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
193
193
  t);
194
194
  }
195
- function Bo(e, t) {
195
+ function xs(e, t) {
196
196
  e.value = t == null ? "" : t;
197
197
  }
198
- function Po(e, t, r, n) {
198
+ function Ss(e, t, r, n) {
199
199
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
200
200
  }
201
- function Ao(e, t, r) {
201
+ function ws(e, t, r) {
202
202
  e.classList.toggle(t, !!r);
203
203
  }
204
- class Oo {
204
+ class Ts {
205
205
  constructor(t = !1) {
206
206
  /**
207
207
  * @private
@@ -232,10 +232,10 @@ class Oo {
232
232
  * @returns {void}
233
233
  */
234
234
  m(t, r, n = null) {
235
- this.e || (this.is_svg ? this.e = Ur(
235
+ this.e || (this.is_svg ? this.e = Mr(
236
236
  /** @type {keyof SVGElementTagNameMap} */
237
237
  r.nodeName
238
- ) : this.e = D(
238
+ ) : this.e = $(
239
239
  /** @type {keyof HTMLElementTagNameMap} */
240
240
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
241
241
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -268,10 +268,10 @@ class Oo {
268
268
  /**
269
269
  * @returns {void} */
270
270
  d() {
271
- this.n.forEach(G);
271
+ this.n.forEach(U);
272
272
  }
273
273
  }
274
- function kr(e) {
274
+ function Ur(e) {
275
275
  const t = {};
276
276
  return e.childNodes.forEach(
277
277
  /** @param {Element} node */
@@ -280,79 +280,79 @@ function kr(e) {
280
280
  }
281
281
  ), t;
282
282
  }
283
- let ue;
284
- function ae(e) {
285
- ue = e;
283
+ let le;
284
+ function ue(e) {
285
+ le = e;
286
286
  }
287
- function Vt() {
288
- if (!ue)
287
+ function Gt() {
288
+ if (!le)
289
289
  throw new Error("Function called outside component initialization");
290
- return ue;
290
+ return le;
291
291
  }
292
- function Vr(e) {
293
- Vt().$$.on_mount.push(e);
292
+ function Gr(e) {
293
+ Gt().$$.on_mount.push(e);
294
294
  }
295
- function Io(e) {
296
- Vt().$$.on_destroy.push(e);
295
+ function Hs(e) {
296
+ Gt().$$.on_destroy.push(e);
297
297
  }
298
- function Lo(e, t) {
298
+ function Bs(e, t) {
299
299
  const r = e.$$.callbacks[t.type];
300
300
  r && r.slice().forEach((n) => n.call(this, t));
301
301
  }
302
- const J = [], Fe = [];
302
+ const J = [], De = [];
303
303
  let Y = [];
304
- const dt = [], Xt = /* @__PURE__ */ Promise.resolve();
305
- let je = !1;
306
- function Wt() {
307
- je || (je = !0, Xt.then(R));
304
+ const lt = [], Ft = /* @__PURE__ */ Promise.resolve();
305
+ let Ue = !1;
306
+ function jt() {
307
+ Ue || (Ue = !0, Ft.then(R));
308
308
  }
309
- function Co() {
310
- return Wt(), Xt;
309
+ function Ps() {
310
+ return jt(), Ft;
311
311
  }
312
- function ke(e) {
312
+ function Ge(e) {
313
313
  Y.push(e);
314
314
  }
315
- const Ce = /* @__PURE__ */ new Set();
315
+ const Ie = /* @__PURE__ */ new Set();
316
316
  let Q = 0;
317
317
  function R() {
318
318
  if (Q !== 0)
319
319
  return;
320
- const e = ue;
320
+ const e = le;
321
321
  do {
322
322
  try {
323
323
  for (; Q < J.length; ) {
324
324
  const t = J[Q];
325
- Q++, ae(t), Xr(t.$$);
325
+ Q++, ue(t), Fr(t.$$);
326
326
  }
327
327
  } catch (t) {
328
328
  throw J.length = 0, Q = 0, t;
329
329
  }
330
- for (ae(null), J.length = 0, Q = 0; Fe.length; )
331
- Fe.pop()();
330
+ for (ue(null), J.length = 0, Q = 0; De.length; )
331
+ De.pop()();
332
332
  for (let t = 0; t < Y.length; t += 1) {
333
333
  const r = Y[t];
334
- Ce.has(r) || (Ce.add(r), r());
334
+ Ie.has(r) || (Ie.add(r), r());
335
335
  }
336
336
  Y.length = 0;
337
337
  } while (J.length);
338
- for (; dt.length; )
339
- dt.pop()();
340
- je = !1, Ce.clear(), ae(e);
338
+ for (; lt.length; )
339
+ lt.pop()();
340
+ Ue = !1, Ie.clear(), ue(e);
341
341
  }
342
- function Xr(e) {
342
+ function Fr(e) {
343
343
  if (e.fragment !== null) {
344
344
  e.update(), W(e.before_update);
345
345
  const t = e.dirty;
346
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
346
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
347
347
  }
348
348
  }
349
- function Wr(e) {
349
+ function jr(e) {
350
350
  const t = [], r = [];
351
351
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
352
352
  }
353
353
  const be = /* @__PURE__ */ new Set();
354
354
  let X;
355
- function No() {
355
+ function As() {
356
356
  X = {
357
357
  r: 0,
358
358
  c: [],
@@ -360,13 +360,13 @@ function No() {
360
360
  // parent group
361
361
  };
362
362
  }
363
- function Mo() {
363
+ function Os() {
364
364
  X.r || W(X.c), X = X.p;
365
365
  }
366
- function zt(e, t) {
366
+ function kt(e, t) {
367
367
  e && e.i && (be.delete(e), e.i(t));
368
368
  }
369
- function zr(e, t, r, n) {
369
+ function kr(e, t, r, n) {
370
370
  if (e && e.o) {
371
371
  if (be.has(e))
372
372
  return;
@@ -376,69 +376,69 @@ function zr(e, t, r, n) {
376
376
  } else
377
377
  n && n();
378
378
  }
379
- function pt(e) {
379
+ function ht(e) {
380
380
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
381
381
  }
382
- function Ro(e, t) {
382
+ function Is(e, t) {
383
383
  e.d(1), t.delete(e.key);
384
384
  }
385
- function $o(e, t) {
386
- zr(e, 1, 1, () => {
385
+ function Ls(e, t) {
386
+ kr(e, 1, 1, () => {
387
387
  t.delete(e.key);
388
388
  });
389
389
  }
390
- function Do(e, t, r, n, i, o, s, a, l, u, h, f) {
391
- let c = e.length, m = o.length, b = c;
390
+ function Cs(e, t, r, n, i, s, o, a, l, u, h, c) {
391
+ let f = e.length, m = s.length, b = f;
392
392
  const g = {};
393
393
  for (; b--; )
394
394
  g[e[b].key] = b;
395
395
  const S = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
396
396
  for (b = m; b--; ) {
397
- const E = f(i, o, b), C = r(E);
398
- let A = s.get(C);
399
- A ? w.push(() => A.p(E, t)) : (A = u(C, E), A.c()), I.set(C, S[b] = A), C in g && P.set(C, Math.abs(b - g[C]));
397
+ const x = c(i, s, b), C = r(x);
398
+ let A = o.get(C);
399
+ A ? w.push(() => A.p(x, t)) : (A = u(C, x), A.c()), I.set(C, S[b] = A), C in g && P.set(C, Math.abs(b - g[C]));
400
400
  }
401
401
  const N = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
402
- function M(E) {
403
- zt(E, 1), E.m(a, h), s.set(E.key, E), h = E.first, m--;
402
+ function M(x) {
403
+ kt(x, 1), x.m(a, h), o.set(x.key, x), h = x.first, m--;
404
404
  }
405
- for (; c && m; ) {
406
- const E = S[m - 1], C = e[c - 1], A = E.key, Z = C.key;
407
- E === C ? (h = E.first, c--, m--) : I.has(Z) ? !s.has(A) || N.has(A) ? M(E) : L.has(Z) ? c-- : P.get(A) > P.get(Z) ? (L.add(A), M(E)) : (N.add(Z), c--) : (l(C, s), c--);
405
+ for (; f && m; ) {
406
+ const x = S[m - 1], C = e[f - 1], A = x.key, Z = C.key;
407
+ x === C ? (h = x.first, f--, m--) : I.has(Z) ? !o.has(A) || N.has(A) ? M(x) : L.has(Z) ? f-- : P.get(A) > P.get(Z) ? (L.add(A), M(x)) : (N.add(Z), f--) : (l(C, o), f--);
408
408
  }
409
- for (; c--; ) {
410
- const E = e[c];
411
- I.has(E.key) || l(E, s);
409
+ for (; f--; ) {
410
+ const x = e[f];
411
+ I.has(x.key) || l(x, o);
412
412
  }
413
413
  for (; m; )
414
414
  M(S[m - 1]);
415
415
  return W(w), S;
416
416
  }
417
- function Zr(e, t, r) {
417
+ function Vr(e, t, r) {
418
418
  const { fragment: n, after_update: i } = e.$$;
419
- n && n.m(t, r), ke(() => {
420
- const o = e.$$.on_mount.map(Gt).filter(we);
421
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
422
- }), i.forEach(ke);
419
+ n && n.m(t, r), Ge(() => {
420
+ const s = e.$$.on_mount.map(Rt).filter(Se);
421
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
422
+ }), i.forEach(Ge);
423
423
  }
424
- function Qr(e, t) {
424
+ function Xr(e, t) {
425
425
  const r = e.$$;
426
- r.fragment !== null && (Wr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
426
+ r.fragment !== null && (jr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
427
427
  }
428
- function qr(e, t) {
429
- e.$$.dirty[0] === -1 && (J.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
428
+ function Wr(e, t) {
429
+ e.$$.dirty[0] === -1 && (J.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
430
430
  }
431
- function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
432
- const l = ue;
433
- ae(e);
431
+ function zr(e, t, r, n, i, s, o = null, a = [-1]) {
432
+ const l = le;
433
+ ue(e);
434
434
  const u = e.$$ = {
435
435
  fragment: null,
436
436
  ctx: [],
437
437
  // state
438
- props: o,
438
+ props: s,
439
439
  update: O,
440
440
  not_equal: i,
441
- bound: ft(),
441
+ bound: ut(),
442
442
  // lifecycle
443
443
  on_mount: [],
444
444
  on_destroy: [],
@@ -447,28 +447,28 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
447
447
  after_update: [],
448
448
  context: new Map(t.context || (l ? l.$$.context : [])),
449
449
  // everything else
450
- callbacks: ft(),
450
+ callbacks: ut(),
451
451
  dirty: a,
452
452
  skip_bound: !1,
453
453
  root: t.target || l.$$.root
454
454
  };
455
- s && s(u.root);
455
+ o && o(u.root);
456
456
  let h = !1;
457
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
458
- const b = m.length ? m[0] : c;
459
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && qr(e, f)), c;
457
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
458
+ const b = m.length ? m[0] : f;
459
+ return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && Wr(e, c)), f;
460
460
  }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
461
461
  if (t.hydrate) {
462
- const f = Fr(t.target);
463
- u.fragment && u.fragment.l(f), f.forEach(G);
462
+ const c = $r(t.target);
463
+ u.fragment && u.fragment.l(c), c.forEach(U);
464
464
  } else
465
465
  u.fragment && u.fragment.c();
466
- t.intro && zt(e.$$.fragment), Zr(e, t.target, t.anchor), R();
466
+ t.intro && kt(e.$$.fragment), Vr(e, t.target, t.anchor), R();
467
467
  }
468
- ae(l);
468
+ ue(l);
469
469
  }
470
- let Zt;
471
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
470
+ let Vt;
471
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
472
472
  constructor(t, r, n) {
473
473
  super();
474
474
  /** The Svelte component constructor */
@@ -505,42 +505,42 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
505
505
  }
506
506
  }
507
507
  connectedCallback() {
508
- return ct(this, null, function* () {
508
+ return at(this, null, function* () {
509
509
  if (this.$$cn = !0, !this.$$c) {
510
- let t = function(o) {
510
+ let t = function(s) {
511
511
  return () => {
512
- let s;
512
+ let o;
513
513
  return {
514
514
  c: function() {
515
- s = D("slot"), o !== "default" && k(s, "name", o);
515
+ o = $("slot"), s !== "default" && k(o, "name", s);
516
516
  },
517
517
  /**
518
518
  * @param {HTMLElement} target
519
519
  * @param {HTMLElement} [anchor]
520
520
  */
521
521
  m: function(u, h) {
522
- V(u, s, h);
522
+ V(u, o, h);
523
523
  },
524
524
  d: function(u) {
525
- u && G(s);
525
+ u && U(o);
526
526
  }
527
527
  };
528
528
  };
529
529
  };
530
530
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
531
531
  return;
532
- const r = {}, n = kr(this);
533
- for (const o of this.$$s)
534
- o in n && (r[o] = [t(o)]);
535
- for (const o of this.attributes) {
536
- const s = this.$$g_p(o.name);
537
- s in this.$$d || (this.$$d[s] = ye(s, o.value, this.$$p_d, "toProp"));
532
+ const r = {}, n = Ur(this);
533
+ for (const s of this.$$s)
534
+ s in n && (r[s] = [t(s)]);
535
+ for (const s of this.attributes) {
536
+ const o = this.$$g_p(s.name);
537
+ o in this.$$d || (this.$$d[o] = ye(o, s.value, this.$$p_d, "toProp"));
538
538
  }
539
- for (const o in this.$$p_d)
540
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
539
+ for (const s in this.$$p_d)
540
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
541
541
  this.$$c = new this.$$ctor({
542
542
  target: this.shadowRoot || this,
543
- props: ht(lt({}, this.$$d), {
543
+ props: ot(st({}, this.$$d), {
544
544
  $$slots: r,
545
545
  $$scope: {
546
546
  ctx: []
@@ -549,23 +549,23 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
549
549
  });
550
550
  const i = () => {
551
551
  this.$$r = !0;
552
- for (const o in this.$$p_d)
553
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
554
- const s = ye(
555
- o,
556
- this.$$d[o],
552
+ for (const s in this.$$p_d)
553
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
554
+ const o = ye(
555
+ s,
556
+ this.$$d[s],
557
557
  this.$$p_d,
558
558
  "toAttribute"
559
559
  );
560
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
560
+ o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
561
561
  }
562
562
  this.$$r = !1;
563
563
  };
564
564
  this.$$c.$$.after_update.push(i), i();
565
- for (const o in this.$$l)
566
- for (const s of this.$$l[o]) {
567
- const a = this.$$c.$on(o, s);
568
- this.$$l_u.set(s, a);
565
+ for (const s in this.$$l)
566
+ for (const o of this.$$l[s]) {
567
+ const a = this.$$c.$on(s, o);
568
+ this.$$l_u.set(o, a);
569
569
  }
570
570
  this.$$l = {};
571
571
  }
@@ -589,8 +589,8 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
589
589
  }
590
590
  });
591
591
  function ye(e, t, r, n) {
592
- var o;
593
- const i = (o = r[e]) == null ? void 0 : o.type;
592
+ var s;
593
+ const i = (s = r[e]) == null ? void 0 : s.type;
594
594
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
595
595
  return t;
596
596
  if (n === "toAttribute")
@@ -618,8 +618,8 @@ function ye(e, t, r, n) {
618
618
  return t;
619
619
  }
620
620
  }
621
- function Yr(e, t, r, n, i, o) {
622
- let s = class extends Zt {
621
+ function Zr(e, t, r, n, i, s) {
622
+ let o = class extends Vt {
623
623
  constructor() {
624
624
  super(e, r, i), this.$$p_d = t;
625
625
  }
@@ -630,7 +630,7 @@ function Yr(e, t, r, n, i, o) {
630
630
  }
631
631
  };
632
632
  return Object.keys(t).forEach((a) => {
633
- Object.defineProperty(s.prototype, a, {
633
+ Object.defineProperty(o.prototype, a, {
634
634
  get() {
635
635
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
636
636
  },
@@ -640,16 +640,16 @@ function Yr(e, t, r, n, i, o) {
640
640
  }
641
641
  });
642
642
  }), n.forEach((a) => {
643
- Object.defineProperty(s.prototype, a, {
643
+ Object.defineProperty(o.prototype, a, {
644
644
  get() {
645
645
  var l;
646
646
  return (l = this.$$c) == null ? void 0 : l[a];
647
647
  }
648
648
  });
649
649
  }), e.element = /** @type {any} */
650
- s, s;
650
+ o, o;
651
651
  }
652
- class Kr {
652
+ class Qr {
653
653
  constructor() {
654
654
  /**
655
655
  * ### PRIVATE API
@@ -670,7 +670,7 @@ class Kr {
670
670
  }
671
671
  /** @returns {void} */
672
672
  $destroy() {
673
- Qr(this, 1), this.$destroy = O;
673
+ Xr(this, 1), this.$destroy = O;
674
674
  }
675
675
  /**
676
676
  * @template {Extract<keyof Events, string>} K
@@ -679,7 +679,7 @@ class Kr {
679
679
  * @returns {() => void}
680
680
  */
681
681
  $on(t, r) {
682
- if (!we(r))
682
+ if (!Se(r))
683
683
  return O;
684
684
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
685
685
  return n.push(r), () => {
@@ -692,11 +692,11 @@ class Kr {
692
692
  * @returns {void}
693
693
  */
694
694
  $set(t) {
695
- this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
695
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
696
696
  }
697
697
  }
698
- const en = "4";
699
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
698
+ const qr = "4";
699
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qr);
700
700
  /*! *****************************************************************************
701
701
  Copyright (c) Microsoft Corporation.
702
702
 
@@ -711,24 +711,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
711
711
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
712
712
  PERFORMANCE OF THIS SOFTWARE.
713
713
  ***************************************************************************** */
714
- var Ve = function(e, t) {
715
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
714
+ var Fe = function(e, t) {
715
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
716
716
  r.__proto__ = n;
717
717
  } || function(r, n) {
718
718
  for (var i in n)
719
719
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
720
- }, Ve(e, t);
720
+ }, Fe(e, t);
721
721
  };
722
- function ce(e, t) {
722
+ function G(e, t) {
723
723
  if (typeof t != "function" && t !== null)
724
724
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
725
- Ve(e, t);
725
+ Fe(e, t);
726
726
  function r() {
727
727
  this.constructor = e;
728
728
  }
729
729
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
730
730
  }
731
- function Xe(e) {
731
+ var v = function() {
732
+ return v = Object.assign || function(t) {
733
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
734
+ r = arguments[n];
735
+ for (var s in r)
736
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
737
+ }
738
+ return t;
739
+ }, v.apply(this, arguments);
740
+ };
741
+ function Jr(e, t) {
742
+ var r = {};
743
+ for (var n in e)
744
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
745
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
746
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
747
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
748
+ return r;
749
+ }
750
+ function je(e) {
732
751
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
733
752
  if (r)
734
753
  return r.call(e);
@@ -740,42 +759,42 @@ function Xe(e) {
740
759
  };
741
760
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
742
761
  }
743
- function We(e, t) {
762
+ function ke(e, t) {
744
763
  var r = typeof Symbol == "function" && e[Symbol.iterator];
745
764
  if (!r)
746
765
  return e;
747
- var n = r.call(e), i, o = [], s;
766
+ var n = r.call(e), i, s = [], o;
748
767
  try {
749
768
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
750
- o.push(i.value);
769
+ s.push(i.value);
751
770
  } catch (a) {
752
- s = { error: a };
771
+ o = { error: a };
753
772
  } finally {
754
773
  try {
755
774
  i && !i.done && (r = n.return) && r.call(n);
756
775
  } finally {
757
- if (s)
758
- throw s.error;
776
+ if (o)
777
+ throw o.error;
759
778
  }
760
779
  }
761
- return o;
780
+ return s;
762
781
  }
763
- function ze(e, t, r) {
764
- if (arguments.length === 2)
765
- for (var n = 0, i = t.length, o; n < i; n++)
766
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
767
- return e.concat(o || t);
782
+ function K(e, t, r) {
783
+ if (r || arguments.length === 2)
784
+ for (var n = 0, i = t.length, s; n < i; n++)
785
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
786
+ return e.concat(s || t);
768
787
  }
769
- function U(e) {
788
+ function D(e) {
770
789
  return typeof e == "function";
771
790
  }
772
- function Qt(e) {
791
+ function Xt(e) {
773
792
  var t = function(n) {
774
793
  Error.call(n), n.stack = new Error().stack;
775
794
  }, r = e(t);
776
795
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
777
796
  }
778
- var Ne = Qt(function(e) {
797
+ var Le = Xt(function(e) {
779
798
  return function(r) {
780
799
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
781
800
  ` + r.map(function(n, i) {
@@ -784,25 +803,25 @@ var Ne = Qt(function(e) {
784
803
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
785
804
  };
786
805
  });
787
- function Ze(e, t) {
806
+ function Ve(e, t) {
788
807
  if (e) {
789
808
  var r = e.indexOf(t);
790
809
  0 <= r && e.splice(r, 1);
791
810
  }
792
811
  }
793
- var He = function() {
812
+ var Te = function() {
794
813
  function e(t) {
795
814
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
796
815
  }
797
816
  return e.prototype.unsubscribe = function() {
798
- var t, r, n, i, o;
817
+ var t, r, n, i, s;
799
818
  if (!this.closed) {
800
819
  this.closed = !0;
801
- var s = this._parentage;
802
- if (s)
803
- if (this._parentage = null, Array.isArray(s))
820
+ var o = this._parentage;
821
+ if (o)
822
+ if (this._parentage = null, Array.isArray(o))
804
823
  try {
805
- for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
824
+ for (var a = je(o), l = a.next(); !l.done; l = a.next()) {
806
825
  var u = l.value;
807
826
  u.remove(this);
808
827
  }
@@ -817,45 +836,45 @@ var He = function() {
817
836
  }
818
837
  }
819
838
  else
820
- s.remove(this);
839
+ o.remove(this);
821
840
  var h = this.initialTeardown;
822
- if (U(h))
841
+ if (D(h))
823
842
  try {
824
843
  h();
825
844
  } catch (g) {
826
- o = g instanceof Ne ? g.errors : [g];
845
+ s = g instanceof Le ? g.errors : [g];
827
846
  }
828
- var f = this._finalizers;
829
- if (f) {
847
+ var c = this._finalizers;
848
+ if (c) {
830
849
  this._finalizers = null;
831
850
  try {
832
- for (var c = Xe(f), m = c.next(); !m.done; m = c.next()) {
851
+ for (var f = je(c), m = f.next(); !m.done; m = f.next()) {
833
852
  var b = m.value;
834
853
  try {
835
- mt(b);
854
+ ft(b);
836
855
  } catch (g) {
837
- o = o != null ? o : [], g instanceof Ne ? o = ze(ze([], We(o)), We(g.errors)) : o.push(g);
856
+ s = s != null ? s : [], g instanceof Le ? s = K(K([], ke(s)), ke(g.errors)) : s.push(g);
838
857
  }
839
858
  }
840
859
  } catch (g) {
841
860
  n = { error: g };
842
861
  } finally {
843
862
  try {
844
- m && !m.done && (i = c.return) && i.call(c);
863
+ m && !m.done && (i = f.return) && i.call(f);
845
864
  } finally {
846
865
  if (n)
847
866
  throw n.error;
848
867
  }
849
868
  }
850
869
  }
851
- if (o)
852
- throw new Ne(o);
870
+ if (s)
871
+ throw new Le(s);
853
872
  }
854
873
  }, e.prototype.add = function(t) {
855
874
  var r;
856
875
  if (t && t !== this)
857
876
  if (this.closed)
858
- mt(t);
877
+ ft(t);
859
878
  else {
860
879
  if (t instanceof e) {
861
880
  if (t.closed || t._hasParent(this))
@@ -872,52 +891,56 @@ var He = function() {
872
891
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
873
892
  }, e.prototype._removeParent = function(t) {
874
893
  var r = this._parentage;
875
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
894
+ r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
876
895
  }, e.prototype.remove = function(t) {
877
896
  var r = this._finalizers;
878
- r && Ze(r, t), t instanceof e && t._removeParent(this);
897
+ r && Ve(r, t), t instanceof e && t._removeParent(this);
879
898
  }, e.EMPTY = function() {
880
899
  var t = new e();
881
900
  return t.closed = !0, t;
882
901
  }(), e;
883
- }(), qt = He.EMPTY;
884
- function Jt(e) {
885
- return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
886
- }
887
- function mt(e) {
888
- U(e) ? e() : e.unsubscribe();
889
- }
890
- var tn = {
891
- Promise: void 0
892
- }, rn = {
902
+ }(), Wt = Te.EMPTY;
903
+ function zt(e) {
904
+ return e instanceof Te || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
905
+ }
906
+ function ft(e) {
907
+ D(e) ? e() : e.unsubscribe();
908
+ }
909
+ var Yr = {
910
+ onUnhandledError: null,
911
+ onStoppedNotification: null,
912
+ Promise: void 0,
913
+ useDeprecatedSynchronousErrorHandling: !1,
914
+ useDeprecatedNextContext: !1
915
+ }, Kr = {
893
916
  setTimeout: function(e, t) {
894
917
  for (var r = [], n = 2; n < arguments.length; n++)
895
918
  r[n - 2] = arguments[n];
896
- return setTimeout.apply(void 0, ze([e, t], We(r)));
919
+ return setTimeout.apply(void 0, K([e, t], ke(r)));
897
920
  },
898
921
  clearTimeout: function(e) {
899
922
  return clearTimeout(e);
900
923
  },
901
924
  delegate: void 0
902
925
  };
903
- function nn(e) {
904
- rn.setTimeout(function() {
926
+ function en(e) {
927
+ Kr.setTimeout(function() {
905
928
  throw e;
906
929
  });
907
930
  }
908
- function bt() {
931
+ function ct() {
909
932
  }
910
933
  function ge(e) {
911
934
  e();
912
935
  }
913
- var Yt = function(e) {
914
- ce(t, e);
936
+ var Zt = function(e) {
937
+ G(t, e);
915
938
  function t(r) {
916
939
  var n = e.call(this) || this;
917
- return n.isStopped = !1, r ? (n.destination = r, Jt(r) && r.add(n)) : n.destination = an, n;
940
+ return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = nn, n;
918
941
  }
919
942
  return t.create = function(r, n, i) {
920
- return new Qe(r, n, i);
943
+ return new Xe(r, n, i);
921
944
  }, t.prototype.next = function(r) {
922
945
  this.isStopped || this._next(r);
923
946
  }, t.prototype.error = function(r) {
@@ -941,7 +964,7 @@ var Yt = function(e) {
941
964
  this.unsubscribe();
942
965
  }
943
966
  }, t;
944
- }(He), on = function() {
967
+ }(Te), tn = function() {
945
968
  function e(t) {
946
969
  this.partialObserver = t;
947
970
  }
@@ -972,43 +995,43 @@ var Yt = function(e) {
972
995
  pe(r);
973
996
  }
974
997
  }, e;
975
- }(), Qe = function(e) {
976
- ce(t, e);
998
+ }(), Xe = function(e) {
999
+ G(t, e);
977
1000
  function t(r, n, i) {
978
- var o = e.call(this) || this, s;
979
- return U(r) || !r ? s = {
1001
+ var s = e.call(this) || this, o;
1002
+ return D(r) || !r ? o = {
980
1003
  next: r != null ? r : void 0,
981
1004
  error: n != null ? n : void 0,
982
1005
  complete: i != null ? i : void 0
983
- } : s = r, o.destination = new on(s), o;
1006
+ } : o = r, s.destination = new tn(o), s;
984
1007
  }
985
1008
  return t;
986
- }(Yt);
1009
+ }(Zt);
987
1010
  function pe(e) {
988
- nn(e);
1011
+ en(e);
989
1012
  }
990
- function sn(e) {
1013
+ function rn(e) {
991
1014
  throw e;
992
1015
  }
993
- var an = {
1016
+ var nn = {
994
1017
  closed: !0,
995
- next: bt,
996
- error: sn,
997
- complete: bt
998
- }, un = function() {
1018
+ next: ct,
1019
+ error: rn,
1020
+ complete: ct
1021
+ }, sn = function() {
999
1022
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1000
1023
  }();
1001
- function ln(e) {
1024
+ function on(e) {
1002
1025
  return e;
1003
1026
  }
1004
- function hn(e) {
1005
- return e.length === 0 ? ln : e.length === 1 ? e[0] : function(r) {
1027
+ function an(e) {
1028
+ return e.length === 0 ? on : e.length === 1 ? e[0] : function(r) {
1006
1029
  return e.reduce(function(n, i) {
1007
1030
  return i(n);
1008
1031
  }, r);
1009
1032
  };
1010
1033
  }
1011
- var yt = function() {
1034
+ var dt = function() {
1012
1035
  function e(t) {
1013
1036
  t && (this._subscribe = t);
1014
1037
  }
@@ -1016,11 +1039,11 @@ var yt = function() {
1016
1039
  var r = new e();
1017
1040
  return r.source = this, r.operator = t, r;
1018
1041
  }, e.prototype.subscribe = function(t, r, n) {
1019
- var i = this, o = fn(t) ? t : new Qe(t, r, n);
1042
+ var i = this, s = ln(t) ? t : new Xe(t, r, n);
1020
1043
  return ge(function() {
1021
- var s = i, a = s.operator, l = s.source;
1022
- o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1023
- }), o;
1044
+ var o = i, a = o.operator, l = o.source;
1045
+ s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
1046
+ }), s;
1024
1047
  }, e.prototype._trySubscribe = function(t) {
1025
1048
  try {
1026
1049
  return this._subscribe(t);
@@ -1029,79 +1052,79 @@ var yt = function() {
1029
1052
  }
1030
1053
  }, e.prototype.forEach = function(t, r) {
1031
1054
  var n = this;
1032
- return r = gt(r), new r(function(i, o) {
1033
- var s = new Qe({
1055
+ return r = pt(r), new r(function(i, s) {
1056
+ var o = new Xe({
1034
1057
  next: function(a) {
1035
1058
  try {
1036
1059
  t(a);
1037
1060
  } catch (l) {
1038
- o(l), s.unsubscribe();
1061
+ s(l), o.unsubscribe();
1039
1062
  }
1040
1063
  },
1041
- error: o,
1064
+ error: s,
1042
1065
  complete: i
1043
1066
  });
1044
- n.subscribe(s);
1067
+ n.subscribe(o);
1045
1068
  });
1046
1069
  }, e.prototype._subscribe = function(t) {
1047
1070
  var r;
1048
1071
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1049
- }, e.prototype[un] = function() {
1072
+ }, e.prototype[sn] = function() {
1050
1073
  return this;
1051
1074
  }, e.prototype.pipe = function() {
1052
1075
  for (var t = [], r = 0; r < arguments.length; r++)
1053
1076
  t[r] = arguments[r];
1054
- return hn(t)(this);
1077
+ return an(t)(this);
1055
1078
  }, e.prototype.toPromise = function(t) {
1056
1079
  var r = this;
1057
- return t = gt(t), new t(function(n, i) {
1058
- var o;
1059
- r.subscribe(function(s) {
1060
- return o = s;
1061
- }, function(s) {
1062
- return i(s);
1080
+ return t = pt(t), new t(function(n, i) {
1081
+ var s;
1082
+ r.subscribe(function(o) {
1083
+ return s = o;
1084
+ }, function(o) {
1085
+ return i(o);
1063
1086
  }, function() {
1064
- return n(o);
1087
+ return n(s);
1065
1088
  });
1066
1089
  });
1067
1090
  }, e.create = function(t) {
1068
1091
  return new e(t);
1069
1092
  }, e;
1070
1093
  }();
1071
- function gt(e) {
1094
+ function pt(e) {
1072
1095
  var t;
1073
- return (t = e != null ? e : tn.Promise) !== null && t !== void 0 ? t : Promise;
1096
+ return (t = e != null ? e : Yr.Promise) !== null && t !== void 0 ? t : Promise;
1074
1097
  }
1075
- function cn(e) {
1076
- return e && U(e.next) && U(e.error) && U(e.complete);
1098
+ function un(e) {
1099
+ return e && D(e.next) && D(e.error) && D(e.complete);
1077
1100
  }
1078
- function fn(e) {
1079
- return e && e instanceof Yt || cn(e) && Jt(e);
1101
+ function ln(e) {
1102
+ return e && e instanceof Zt || un(e) && zt(e);
1080
1103
  }
1081
- var dn = Qt(function(e) {
1104
+ var hn = Xt(function(e) {
1082
1105
  return function() {
1083
1106
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1084
1107
  };
1085
- }), Kt = function(e) {
1086
- ce(t, e);
1108
+ }), Qt = function(e) {
1109
+ G(t, e);
1087
1110
  function t() {
1088
1111
  var r = e.call(this) || this;
1089
1112
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1090
1113
  }
1091
1114
  return t.prototype.lift = function(r) {
1092
- var n = new vt(this, this);
1115
+ var n = new mt(this, this);
1093
1116
  return n.operator = r, n;
1094
1117
  }, t.prototype._throwIfClosed = function() {
1095
1118
  if (this.closed)
1096
- throw new dn();
1119
+ throw new hn();
1097
1120
  }, t.prototype.next = function(r) {
1098
1121
  var n = this;
1099
1122
  ge(function() {
1100
- var i, o;
1123
+ var i, s;
1101
1124
  if (n._throwIfClosed(), !n.isStopped) {
1102
1125
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1103
1126
  try {
1104
- for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1127
+ for (var o = je(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
1105
1128
  var l = a.value;
1106
1129
  l.next(r);
1107
1130
  }
@@ -1109,7 +1132,7 @@ var dn = Qt(function(e) {
1109
1132
  i = { error: u };
1110
1133
  } finally {
1111
1134
  try {
1112
- a && !a.done && (o = s.return) && o.call(s);
1135
+ a && !a.done && (s = o.return) && s.call(o);
1113
1136
  } finally {
1114
1137
  if (i)
1115
1138
  throw i.error;
@@ -1149,21 +1172,21 @@ var dn = Qt(function(e) {
1149
1172
  }, t.prototype._subscribe = function(r) {
1150
1173
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1151
1174
  }, t.prototype._innerSubscribe = function(r) {
1152
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1153
- return o || s ? qt : (this.currentObservers = null, a.push(r), new He(function() {
1154
- n.currentObservers = null, Ze(a, r);
1175
+ var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
1176
+ return s || o ? Wt : (this.currentObservers = null, a.push(r), new Te(function() {
1177
+ n.currentObservers = null, Ve(a, r);
1155
1178
  }));
1156
1179
  }, t.prototype._checkFinalizedStatuses = function(r) {
1157
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1158
- i ? r.error(o) : s && r.complete();
1180
+ var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
1181
+ i ? r.error(s) : o && r.complete();
1159
1182
  }, t.prototype.asObservable = function() {
1160
- var r = new yt();
1183
+ var r = new dt();
1161
1184
  return r.source = this, r;
1162
1185
  }, t.create = function(r, n) {
1163
- return new vt(r, n);
1186
+ return new mt(r, n);
1164
1187
  }, t;
1165
- }(yt), vt = function(e) {
1166
- ce(t, e);
1188
+ }(dt), mt = function(e) {
1189
+ G(t, e);
1167
1190
  function t(r, n) {
1168
1191
  var i = e.call(this) || this;
1169
1192
  return i.destination = r, i.source = n, i;
@@ -1179,54 +1202,54 @@ var dn = Qt(function(e) {
1179
1202
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1180
1203
  }, t.prototype._subscribe = function(r) {
1181
1204
  var n, i;
1182
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
1205
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wt;
1183
1206
  }, t;
1184
- }(Kt), er = {
1207
+ }(Qt), qt = {
1185
1208
  now: function() {
1186
- return (er.delegate || Date).now();
1209
+ return (qt.delegate || Date).now();
1187
1210
  },
1188
1211
  delegate: void 0
1189
- }, pn = function(e) {
1190
- ce(t, e);
1212
+ }, fn = function(e) {
1213
+ G(t, e);
1191
1214
  function t(r, n, i) {
1192
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
1193
- var o = e.call(this) || this;
1194
- 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;
1215
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
1216
+ var s = e.call(this) || this;
1217
+ 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;
1195
1218
  }
1196
1219
  return t.prototype.next = function(r) {
1197
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1198
- i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1220
+ var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1221
+ i || (s.push(r), !o && s.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1199
1222
  }, t.prototype._subscribe = function(r) {
1200
1223
  this._throwIfClosed(), this._trimBuffer();
1201
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1224
+ for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), l = 0; l < a.length && !r.closed; l += s ? 1 : 2)
1202
1225
  r.next(a[l]);
1203
1226
  return this._checkFinalizedStatuses(r), n;
1204
1227
  }, t.prototype._trimBuffer = function() {
1205
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1206
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1207
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1228
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
1229
+ if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1230
+ for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1208
1231
  u = h;
1209
- u && o.splice(0, u + 1);
1232
+ u && s.splice(0, u + 1);
1210
1233
  }
1211
1234
  }, t;
1212
- }(Kt);
1213
- const _t = [], Et = {}, mn = (e, t = 0) => {
1214
- if (_t.indexOf(e) == -1) {
1215
- const r = new pn(t);
1216
- Et[e] = r, _t.push(e);
1235
+ }(Qt);
1236
+ const bt = [], yt = {}, cn = (e, t = 0) => {
1237
+ if (bt.indexOf(e) == -1) {
1238
+ const r = new fn(t);
1239
+ yt[e] = r, bt.push(e);
1217
1240
  }
1218
- return Et[e];
1241
+ return yt[e];
1219
1242
  }, q = [];
1220
- function bn(e, t) {
1243
+ function dn(e, t) {
1221
1244
  return {
1222
- subscribe: Be(e, t).subscribe
1245
+ subscribe: He(e, t).subscribe
1223
1246
  };
1224
1247
  }
1225
- function Be(e, t = O) {
1248
+ function He(e, t = O) {
1226
1249
  let r;
1227
1250
  const n = /* @__PURE__ */ new Set();
1228
1251
  function i(a) {
1229
- if (Ft(e, a) && (e = a, r)) {
1252
+ if ($t(e, a) && (e = a, r)) {
1230
1253
  const l = !q.length;
1231
1254
  for (const u of n)
1232
1255
  u[1](), q.push(u, e);
@@ -1237,195 +1260,156 @@ function Be(e, t = O) {
1237
1260
  }
1238
1261
  }
1239
1262
  }
1240
- function o(a) {
1263
+ function s(a) {
1241
1264
  i(a(e));
1242
1265
  }
1243
- function s(a, l = O) {
1266
+ function o(a, l = O) {
1244
1267
  const u = [a, l];
1245
- return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
1268
+ return n.add(u), n.size === 1 && (r = t(i, s) || O), a(e), () => {
1246
1269
  n.delete(u), n.size === 0 && r && (r(), r = null);
1247
1270
  };
1248
1271
  }
1249
- return { set: i, update: o, subscribe: s };
1272
+ return { set: i, update: s, subscribe: o };
1250
1273
  }
1251
- function ne(e, t, r) {
1274
+ function ie(e, t, r) {
1252
1275
  const n = !Array.isArray(e), i = n ? [e] : e;
1253
1276
  if (!i.every(Boolean))
1254
1277
  throw new Error("derived() expects stores as input, got a falsy value");
1255
- const o = t.length < 2;
1256
- return bn(r, (s, a) => {
1278
+ const s = t.length < 2;
1279
+ return dn(r, (o, a) => {
1257
1280
  let l = !1;
1258
1281
  const u = [];
1259
- let h = 0, f = O;
1260
- const c = () => {
1282
+ let h = 0, c = O;
1283
+ const f = () => {
1261
1284
  if (h)
1262
1285
  return;
1263
- f();
1264
- const b = t(n ? u[0] : u, s, a);
1265
- o ? s(b) : f = we(b) ? b : O;
1286
+ c();
1287
+ const b = t(n ? u[0] : u, o, a);
1288
+ s ? o(b) : c = Se(b) ? b : O;
1266
1289
  }, m = i.map(
1267
- (b, g) => jt(
1290
+ (b, g) => Dt(
1268
1291
  b,
1269
1292
  (S) => {
1270
- u[g] = S, h &= ~(1 << g), l && c();
1293
+ u[g] = S, h &= ~(1 << g), l && f();
1271
1294
  },
1272
1295
  () => {
1273
1296
  h |= 1 << g;
1274
1297
  }
1275
1298
  )
1276
1299
  );
1277
- return l = !0, c(), function() {
1278
- W(m), f(), l = !1;
1300
+ return l = !0, f(), function() {
1301
+ W(m), c(), l = !1;
1279
1302
  };
1280
1303
  });
1281
1304
  }
1282
- function yn(e) {
1283
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1305
+ function pn(e) {
1306
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1284
1307
  }
1285
- var gn = function(t) {
1286
- return vn(t) && !_n(t);
1308
+ var mn = function(t) {
1309
+ return bn(t) && !yn(t);
1287
1310
  };
1288
- function vn(e) {
1311
+ function bn(e) {
1289
1312
  return !!e && typeof e == "object";
1290
1313
  }
1291
- function _n(e) {
1314
+ function yn(e) {
1292
1315
  var t = Object.prototype.toString.call(e);
1293
- return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1316
+ return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1294
1317
  }
1295
- var En = typeof Symbol == "function" && Symbol.for, xn = En ? Symbol.for("react.element") : 60103;
1296
- function Sn(e) {
1297
- return e.$$typeof === xn;
1318
+ var gn = typeof Symbol == "function" && Symbol.for, _n = gn ? Symbol.for("react.element") : 60103;
1319
+ function vn(e) {
1320
+ return e.$$typeof === _n;
1298
1321
  }
1299
- function wn(e) {
1322
+ function En(e) {
1300
1323
  return Array.isArray(e) ? [] : {};
1301
1324
  }
1302
- function le(e, t) {
1303
- return t.clone !== !1 && t.isMergeableObject(e) ? K(wn(e), e, t) : e;
1325
+ function he(e, t) {
1326
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(En(e), e, t) : e;
1304
1327
  }
1305
- function Tn(e, t, r) {
1328
+ function xn(e, t, r) {
1306
1329
  return e.concat(t).map(function(n) {
1307
- return le(n, r);
1330
+ return he(n, r);
1308
1331
  });
1309
1332
  }
1310
- function Hn(e, t) {
1333
+ function Sn(e, t) {
1311
1334
  if (!t.customMerge)
1312
- return K;
1335
+ return ee;
1313
1336
  var r = t.customMerge(e);
1314
- return typeof r == "function" ? r : K;
1337
+ return typeof r == "function" ? r : ee;
1315
1338
  }
1316
- function Bn(e) {
1339
+ function wn(e) {
1317
1340
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1318
1341
  return Object.propertyIsEnumerable.call(e, t);
1319
1342
  }) : [];
1320
1343
  }
1321
- function xt(e) {
1322
- return Object.keys(e).concat(Bn(e));
1344
+ function gt(e) {
1345
+ return Object.keys(e).concat(wn(e));
1323
1346
  }
1324
- function tr(e, t) {
1347
+ function Jt(e, t) {
1325
1348
  try {
1326
1349
  return t in e;
1327
1350
  } catch (r) {
1328
1351
  return !1;
1329
1352
  }
1330
1353
  }
1331
- function Pn(e, t) {
1332
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1354
+ function Tn(e, t) {
1355
+ return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1333
1356
  }
1334
- function An(e, t, r) {
1357
+ function Hn(e, t, r) {
1335
1358
  var n = {};
1336
- return r.isMergeableObject(e) && xt(e).forEach(function(i) {
1337
- n[i] = le(e[i], r);
1338
- }), xt(t).forEach(function(i) {
1339
- Pn(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1359
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1360
+ n[i] = he(e[i], r);
1361
+ }), gt(t).forEach(function(i) {
1362
+ Tn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1340
1363
  }), n;
1341
1364
  }
1342
- function K(e, t, r) {
1343
- r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = le;
1344
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1345
- return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : le(t, r);
1365
+ function ee(e, t, r) {
1366
+ r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = he;
1367
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1368
+ return s ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : he(t, r);
1346
1369
  }
1347
- K.all = function(t, r) {
1370
+ ee.all = function(t, r) {
1348
1371
  if (!Array.isArray(t))
1349
1372
  throw new Error("first argument should be an array");
1350
1373
  return t.reduce(function(n, i) {
1351
- return K(n, i, r);
1374
+ return ee(n, i, r);
1352
1375
  }, {});
1353
1376
  };
1354
- var On = K, In = On;
1355
- const Ln = /* @__PURE__ */ yn(In);
1356
- var qe = function(e, t) {
1357
- return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1358
- r.__proto__ = n;
1359
- } || function(r, n) {
1360
- for (var i in n)
1361
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1362
- }, qe(e, t);
1363
- };
1364
- function Pe(e, t) {
1365
- if (typeof t != "function" && t !== null)
1366
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1367
- qe(e, t);
1368
- function r() {
1369
- this.constructor = e;
1370
- }
1371
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1372
- }
1373
- var $ = function() {
1374
- return $ = Object.assign || function(t) {
1375
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1376
- r = arguments[n];
1377
- for (var o in r)
1378
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1379
- }
1380
- return t;
1381
- }, $.apply(this, arguments);
1382
- };
1383
- function Cn(e, t) {
1384
- var r = {};
1385
- for (var n in e)
1386
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1387
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1388
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1389
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1390
- return r;
1391
- }
1392
- function Me(e, t, r) {
1393
- if (r || arguments.length === 2)
1394
- for (var n = 0, i = t.length, o; n < i; n++)
1395
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1396
- return e.concat(o || Array.prototype.slice.call(t));
1397
- }
1398
- function Re(e, t) {
1399
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Dn, i = t && t.strategy ? t.strategy : Rn;
1377
+ var Bn = ee, Pn = Bn;
1378
+ const An = /* @__PURE__ */ pn(Pn);
1379
+ function Ce(e, t) {
1380
+ var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : In;
1400
1381
  return i(e, {
1401
1382
  cache: r,
1402
1383
  serializer: n
1403
1384
  });
1404
1385
  }
1405
- function Nn(e) {
1386
+ function On(e) {
1406
1387
  return e == null || typeof e == "number" || typeof e == "boolean";
1407
1388
  }
1408
- function Mn(e, t, r, n) {
1409
- var i = Nn(n) ? n : r(n), o = t.get(i);
1410
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1389
+ function Yt(e, t, r, n) {
1390
+ var i = On(n) ? n : r(n), s = t.get(i);
1391
+ return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1411
1392
  }
1412
- function rr(e, t, r) {
1413
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1414
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1393
+ function Kt(e, t, r) {
1394
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1395
+ return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1415
1396
  }
1416
- function nr(e, t, r, n, i) {
1397
+ function tt(e, t, r, n, i) {
1417
1398
  return r.bind(t, e, n, i);
1418
1399
  }
1419
- function Rn(e, t) {
1420
- var r = e.length === 1 ? Mn : rr;
1421
- return nr(e, this, r, t.cache.create(), t.serializer);
1400
+ function In(e, t) {
1401
+ var r = e.length === 1 ? Yt : Kt;
1402
+ return tt(e, this, r, t.cache.create(), t.serializer);
1403
+ }
1404
+ function Ln(e, t) {
1405
+ return tt(e, this, Kt, t.cache.create(), t.serializer);
1422
1406
  }
1423
- function $n(e, t) {
1424
- return nr(e, this, rr, t.cache.create(), t.serializer);
1407
+ function Cn(e, t) {
1408
+ return tt(e, this, Yt, t.cache.create(), t.serializer);
1425
1409
  }
1426
- var Dn = function() {
1410
+ var Nn = function() {
1427
1411
  return JSON.stringify(arguments);
1428
- }, Un = (
1412
+ }, Mn = (
1429
1413
  /** @class */
1430
1414
  function() {
1431
1415
  function e() {
@@ -1437,71 +1421,62 @@ var Dn = function() {
1437
1421
  this.cache[t] = r;
1438
1422
  }, e;
1439
1423
  }()
1440
- ), Gn = {
1424
+ ), Rn = {
1441
1425
  create: function() {
1442
- return new Un();
1426
+ return new Mn();
1443
1427
  }
1444
- }, $e = {
1445
- variadic: $n
1446
- }, Ee = function() {
1447
- return Ee = Object.assign || function(t) {
1448
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1449
- r = arguments[n];
1450
- for (var o in r)
1451
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1452
- }
1453
- return t;
1454
- }, Ee.apply(this, arguments);
1455
- };
1456
- var y;
1428
+ }, Ne = {
1429
+ variadic: Ln,
1430
+ monadic: Cn
1431
+ }, y;
1457
1432
  (function(e) {
1458
1433
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1459
1434
  })(y || (y = {}));
1460
- var _;
1435
+ var E;
1461
1436
  (function(e) {
1462
1437
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1463
- })(_ || (_ = {}));
1464
- var ee;
1438
+ })(E || (E = {}));
1439
+ var te;
1465
1440
  (function(e) {
1466
1441
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1467
- })(ee || (ee = {}));
1468
- function St(e) {
1469
- return e.type === _.literal;
1442
+ })(te || (te = {}));
1443
+ function _t(e) {
1444
+ return e.type === E.literal;
1470
1445
  }
1471
- function Fn(e) {
1472
- return e.type === _.argument;
1446
+ function $n(e) {
1447
+ return e.type === E.argument;
1473
1448
  }
1474
- function ir(e) {
1475
- return e.type === _.number;
1449
+ function er(e) {
1450
+ return e.type === E.number;
1476
1451
  }
1477
- function or(e) {
1478
- return e.type === _.date;
1452
+ function tr(e) {
1453
+ return e.type === E.date;
1479
1454
  }
1480
- function sr(e) {
1481
- return e.type === _.time;
1455
+ function rr(e) {
1456
+ return e.type === E.time;
1482
1457
  }
1483
- function ar(e) {
1484
- return e.type === _.select;
1458
+ function nr(e) {
1459
+ return e.type === E.select;
1485
1460
  }
1486
- function ur(e) {
1487
- return e.type === _.plural;
1461
+ function ir(e) {
1462
+ return e.type === E.plural;
1488
1463
  }
1489
- function jn(e) {
1490
- return e.type === _.pound;
1464
+ function Dn(e) {
1465
+ return e.type === E.pound;
1491
1466
  }
1492
- function lr(e) {
1493
- return e.type === _.tag;
1467
+ function sr(e) {
1468
+ return e.type === E.tag;
1494
1469
  }
1495
- function hr(e) {
1496
- return !!(e && typeof e == "object" && e.type === ee.number);
1470
+ function or(e) {
1471
+ return !!(e && typeof e == "object" && e.type === te.number);
1497
1472
  }
1498
- function Je(e) {
1499
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1473
+ function We(e) {
1474
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
1500
1475
  }
1501
- var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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;
1502
- function Vn(e) {
1476
+ var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1477
+ function Gn(e) {
1503
1478
  var t = {};
1504
- return e.replace(kn, function(r) {
1479
+ return e.replace(Un, function(r) {
1505
1480
  var n = r.length;
1506
1481
  switch (r[0]) {
1507
1482
  case "G":
@@ -1590,46 +1565,36 @@ function Vn(e) {
1590
1565
  return "";
1591
1566
  }), t;
1592
1567
  }
1593
- var x = function() {
1594
- return x = Object.assign || function(t) {
1595
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1596
- r = arguments[n];
1597
- for (var o in r)
1598
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1599
- }
1600
- return t;
1601
- }, x.apply(this, arguments);
1602
- };
1603
- var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1604
- function Wn(e) {
1568
+ var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1569
+ function jn(e) {
1605
1570
  if (e.length === 0)
1606
1571
  throw new Error("Number skeleton cannot be empty");
1607
- for (var t = e.split(Xn).filter(function(c) {
1608
- return c.length > 0;
1572
+ for (var t = e.split(Fn).filter(function(f) {
1573
+ return f.length > 0;
1609
1574
  }), r = [], n = 0, i = t; n < i.length; n++) {
1610
- var o = i[n], s = o.split("/");
1611
- if (s.length === 0)
1575
+ var s = i[n], o = s.split("/");
1576
+ if (o.length === 0)
1612
1577
  throw new Error("Invalid number skeleton");
1613
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1614
- var f = h[u];
1615
- if (f.length === 0)
1578
+ for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
1579
+ var c = h[u];
1580
+ if (c.length === 0)
1616
1581
  throw new Error("Invalid number skeleton");
1617
1582
  }
1618
1583
  r.push({ stem: a, options: l });
1619
1584
  }
1620
1585
  return r;
1621
1586
  }
1622
- function zn(e) {
1587
+ function kn(e) {
1623
1588
  return e.replace(/^(.*?)-/, "");
1624
1589
  }
1625
- var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1626
- function Tt(e) {
1590
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1591
+ function Et(e) {
1627
1592
  var t = {};
1628
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
1593
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1629
1594
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1630
1595
  }), t;
1631
1596
  }
1632
- function pr(e) {
1597
+ function hr(e) {
1633
1598
  switch (e) {
1634
1599
  case "sign-auto":
1635
1600
  return {
@@ -1669,7 +1634,7 @@ function pr(e) {
1669
1634
  };
1670
1635
  }
1671
1636
  }
1672
- function Qn(e) {
1637
+ function Xn(e) {
1673
1638
  var t;
1674
1639
  if (e[0] === "E" && e[1] === "E" ? (t = {
1675
1640
  notation: "engineering"
@@ -1677,17 +1642,17 @@ function Qn(e) {
1677
1642
  notation: "scientific"
1678
1643
  }, e = e.slice(1)), t) {
1679
1644
  var r = e.slice(0, 2);
1680
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1645
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1681
1646
  throw new Error("Malformed concise eng/scientific notation");
1682
1647
  t.minimumIntegerDigits = e.length;
1683
1648
  }
1684
1649
  return t;
1685
1650
  }
1686
- function Ht(e) {
1687
- var t = {}, r = pr(e);
1651
+ function xt(e) {
1652
+ var t = {}, r = hr(e);
1688
1653
  return r || t;
1689
1654
  }
1690
- function qn(e) {
1655
+ function Wn(e) {
1691
1656
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1692
1657
  var i = n[r];
1693
1658
  switch (i.stem) {
@@ -1711,7 +1676,7 @@ function qn(e) {
1711
1676
  continue;
1712
1677
  case "measure-unit":
1713
1678
  case "unit":
1714
- t.style = "unit", t.unit = zn(i.options[0]);
1679
+ t.style = "unit", t.unit = kn(i.options[0]);
1715
1680
  continue;
1716
1681
  case "compact-short":
1717
1682
  case "K":
@@ -1722,13 +1687,13 @@ function qn(e) {
1722
1687
  t.notation = "compact", t.compactDisplay = "long";
1723
1688
  continue;
1724
1689
  case "scientific":
1725
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1726
- return x(x({}, l), Ht(u));
1690
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1691
+ return v(v({}, l), xt(u));
1727
1692
  }, {}));
1728
1693
  continue;
1729
1694
  case "engineering":
1730
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1731
- return x(x({}, l), Ht(u));
1695
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1696
+ return v(v({}, l), xt(u));
1732
1697
  }, {}));
1733
1698
  continue;
1734
1699
  case "notation-simple":
@@ -1773,11 +1738,11 @@ function qn(e) {
1773
1738
  case "integer-width":
1774
1739
  if (i.options.length > 1)
1775
1740
  throw new RangeError("integer-width stems only accept a single optional option");
1776
- i.options[0].replace(Zn, function(l, u, h, f, c, m) {
1741
+ i.options[0].replace(Vn, function(l, u, h, c, f, m) {
1777
1742
  if (u)
1778
1743
  t.minimumIntegerDigits = h.length;
1779
1744
  else {
1780
- if (f && c)
1745
+ if (c && f)
1781
1746
  throw new Error("We currently do not support maximum integer digits");
1782
1747
  if (m)
1783
1748
  throw new Error("We currently do not support exact integer digits");
@@ -1786,28 +1751,28 @@ function qn(e) {
1786
1751
  });
1787
1752
  continue;
1788
1753
  }
1789
- if (dr.test(i.stem)) {
1754
+ if (lr.test(i.stem)) {
1790
1755
  t.minimumIntegerDigits = i.stem.length;
1791
1756
  continue;
1792
1757
  }
1793
- if (wt.test(i.stem)) {
1758
+ if (vt.test(i.stem)) {
1794
1759
  if (i.options.length > 1)
1795
1760
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1796
- i.stem.replace(wt, function(l, u, h, f, c, m) {
1797
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1761
+ i.stem.replace(vt, function(l, u, h, c, f, m) {
1762
+ 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), "";
1798
1763
  });
1799
- var o = i.options[0];
1800
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Tt(o)));
1764
+ var s = i.options[0];
1765
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Et(s)));
1801
1766
  continue;
1802
1767
  }
1803
- if (fr.test(i.stem)) {
1804
- t = x(x({}, t), Tt(i.stem));
1768
+ if (ur.test(i.stem)) {
1769
+ t = v(v({}, t), Et(i.stem));
1805
1770
  continue;
1806
1771
  }
1807
- var s = pr(i.stem);
1808
- s && (t = x(x({}, t), s));
1809
- var a = Qn(i.stem);
1810
- a && (t = x(x({}, t), a));
1772
+ var o = hr(i.stem);
1773
+ o && (t = v(v({}, t), o));
1774
+ var a = Xn(i.stem);
1775
+ a && (t = v(v({}, t), a));
1811
1776
  }
1812
1777
  return t;
1813
1778
  }
@@ -3226,23 +3191,23 @@ var me = {
3226
3191
  "h"
3227
3192
  ]
3228
3193
  };
3229
- function Jn(e, t) {
3194
+ function zn(e, t) {
3230
3195
  for (var r = "", n = 0; n < e.length; n++) {
3231
3196
  var i = e.charAt(n);
3232
3197
  if (i === "j") {
3233
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3234
- o++, n++;
3235
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Yn(t);
3198
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3199
+ s++, n++;
3200
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Zn(t);
3236
3201
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3237
3202
  r += l;
3238
- for (; s-- > 0; )
3203
+ for (; o-- > 0; )
3239
3204
  r = u + r;
3240
3205
  } else
3241
3206
  i === "J" ? r += "H" : r += i;
3242
3207
  }
3243
3208
  return r;
3244
3209
  }
3245
- function Yn(e) {
3210
+ function Zn(e) {
3246
3211
  var t = e.hourCycle;
3247
3212
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3248
3213
  e.hourCycles && // @ts-ignore
@@ -3264,20 +3229,20 @@ function Yn(e) {
3264
3229
  var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3265
3230
  return i[0];
3266
3231
  }
3267
- var De, Kn = new RegExp("^".concat(cr.source, "*")), ei = new RegExp("".concat(cr.source, "*$"));
3268
- function v(e, t) {
3232
+ var Me, Qn = new RegExp("^".concat(ar.source, "*")), qn = new RegExp("".concat(ar.source, "*$"));
3233
+ function _(e, t) {
3269
3234
  return { start: e, end: t };
3270
3235
  }
3271
- var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, oi = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, ui = ai ? Number.isSafeInteger : function(e) {
3236
+ var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3272
3237
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3273
- }, Ye = !0;
3238
+ }, ze = !0;
3274
3239
  try {
3275
- var li = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3276
- Ye = ((De = li.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3240
+ var si = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3241
+ ze = ((Me = si.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3277
3242
  } catch (e) {
3278
- Ye = !1;
3243
+ ze = !1;
3279
3244
  }
3280
- var Bt = ti ? (
3245
+ var St = Jn ? (
3281
3246
  // Native
3282
3247
  function(t, r, n) {
3283
3248
  return t.startsWith(r, n);
@@ -3287,31 +3252,31 @@ var Bt = ti ? (
3287
3252
  function(t, r, n) {
3288
3253
  return t.slice(n, n + r.length) === r;
3289
3254
  }
3290
- ), Ke = ri ? String.fromCodePoint : (
3255
+ ), Ze = Yn ? String.fromCodePoint : (
3291
3256
  // IE11
3292
3257
  function() {
3293
3258
  for (var t = [], r = 0; r < arguments.length; r++)
3294
3259
  t[r] = arguments[r];
3295
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3296
- if (s = t[o++], s > 1114111)
3297
- throw RangeError(s + " is not a valid code point");
3298
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3260
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
3261
+ if (o = t[s++], o > 1114111)
3262
+ throw RangeError(o + " is not a valid code point");
3263
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3299
3264
  }
3300
3265
  return n;
3301
3266
  }
3302
- ), Pt = (
3267
+ ), wt = (
3303
3268
  // native
3304
- ni ? Object.fromEntries : (
3269
+ Kn ? Object.fromEntries : (
3305
3270
  // Ponyfill
3306
3271
  function(t) {
3307
3272
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3308
- var o = i[n], s = o[0], a = o[1];
3309
- r[s] = a;
3273
+ var s = i[n], o = s[0], a = s[1];
3274
+ r[o] = a;
3310
3275
  }
3311
3276
  return r;
3312
3277
  }
3313
3278
  )
3314
- ), mr = ii ? (
3279
+ ), fr = ei ? (
3315
3280
  // Native
3316
3281
  function(t, r) {
3317
3282
  return t.codePointAt(r);
@@ -3321,11 +3286,11 @@ var Bt = ti ? (
3321
3286
  function(t, r) {
3322
3287
  var n = t.length;
3323
3288
  if (!(r < 0 || r >= n)) {
3324
- var i = t.charCodeAt(r), o;
3325
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3289
+ var i = t.charCodeAt(r), s;
3290
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3326
3291
  }
3327
3292
  }
3328
- ), hi = oi ? (
3293
+ ), oi = ti ? (
3329
3294
  // Native
3330
3295
  function(t) {
3331
3296
  return t.trimStart();
@@ -3333,9 +3298,9 @@ var Bt = ti ? (
3333
3298
  ) : (
3334
3299
  // Ponyfill
3335
3300
  function(t) {
3336
- return t.replace(Kn, "");
3301
+ return t.replace(Qn, "");
3337
3302
  }
3338
- ), ci = si ? (
3303
+ ), ai = ri ? (
3339
3304
  // Native
3340
3305
  function(t) {
3341
3306
  return t.trimEnd();
@@ -3343,32 +3308,32 @@ var Bt = ti ? (
3343
3308
  ) : (
3344
3309
  // Ponyfill
3345
3310
  function(t) {
3346
- return t.replace(ei, "");
3311
+ return t.replace(qn, "");
3347
3312
  }
3348
3313
  );
3349
- function br(e, t) {
3314
+ function cr(e, t) {
3350
3315
  return new RegExp(e, t);
3351
3316
  }
3352
- var et;
3353
- if (Ye) {
3354
- var At = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3355
- et = function(t, r) {
3317
+ var Qe;
3318
+ if (ze) {
3319
+ var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3320
+ Qe = function(t, r) {
3356
3321
  var n;
3357
- At.lastIndex = r;
3358
- var i = At.exec(t);
3322
+ Tt.lastIndex = r;
3323
+ var i = Tt.exec(t);
3359
3324
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3360
3325
  };
3361
3326
  } else
3362
- et = function(t, r) {
3327
+ Qe = function(t, r) {
3363
3328
  for (var n = []; ; ) {
3364
- var i = mr(t, r);
3365
- if (i === void 0 || yr(i) || mi(i))
3329
+ var i = fr(t, r);
3330
+ if (i === void 0 || dr(i) || fi(i))
3366
3331
  break;
3367
3332
  n.push(i), r += i >= 65536 ? 2 : 1;
3368
3333
  }
3369
- return Ke.apply(void 0, n);
3334
+ return Ze.apply(void 0, n);
3370
3335
  };
3371
- var fi = (
3336
+ var ui = (
3372
3337
  /** @class */
3373
3338
  function() {
3374
3339
  function e(t, r) {
@@ -3380,35 +3345,35 @@ var fi = (
3380
3345
  return this.parseMessage(0, "", !1);
3381
3346
  }, e.prototype.parseMessage = function(t, r, n) {
3382
3347
  for (var i = []; !this.isEOF(); ) {
3383
- var o = this.char();
3384
- if (o === 123) {
3385
- var s = this.parseArgument(t, n);
3386
- if (s.err)
3387
- return s;
3388
- i.push(s.val);
3348
+ var s = this.char();
3349
+ if (s === 123) {
3350
+ var o = this.parseArgument(t, n);
3351
+ if (o.err)
3352
+ return o;
3353
+ i.push(o.val);
3389
3354
  } else {
3390
- if (o === 125 && t > 0)
3355
+ if (s === 125 && t > 0)
3391
3356
  break;
3392
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3357
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3393
3358
  var a = this.clonePosition();
3394
3359
  this.bump(), i.push({
3395
- type: _.pound,
3396
- location: v(a, this.clonePosition())
3360
+ type: E.pound,
3361
+ location: _(a, this.clonePosition())
3397
3362
  });
3398
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3363
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3399
3364
  if (n)
3400
3365
  break;
3401
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3402
- } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3403
- var s = this.parseTag(t, r);
3404
- if (s.err)
3405
- return s;
3406
- i.push(s.val);
3366
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3367
+ } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3368
+ var o = this.parseTag(t, r);
3369
+ if (o.err)
3370
+ return o;
3371
+ i.push(o.val);
3407
3372
  } else {
3408
- var s = this.parseLiteral(t, r);
3409
- if (s.err)
3410
- return s;
3411
- i.push(s.val);
3373
+ var o = this.parseLiteral(t, r);
3374
+ if (o.err)
3375
+ return o;
3376
+ i.push(o.val);
3412
3377
  }
3413
3378
  }
3414
3379
  }
@@ -3420,51 +3385,51 @@ var fi = (
3420
3385
  if (this.bumpSpace(), this.bumpIf("/>"))
3421
3386
  return {
3422
3387
  val: {
3423
- type: _.literal,
3388
+ type: E.literal,
3424
3389
  value: "<".concat(i, "/>"),
3425
- location: v(n, this.clonePosition())
3390
+ location: _(n, this.clonePosition())
3426
3391
  },
3427
3392
  err: null
3428
3393
  };
3429
3394
  if (this.bumpIf(">")) {
3430
- var o = this.parseMessage(t + 1, r, !0);
3431
- if (o.err)
3432
- return o;
3433
- var s = o.val, a = this.clonePosition();
3395
+ var s = this.parseMessage(t + 1, r, !0);
3396
+ if (s.err)
3397
+ return s;
3398
+ var o = s.val, a = this.clonePosition();
3434
3399
  if (this.bumpIf("</")) {
3435
- if (this.isEOF() || !tt(this.char()))
3436
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3400
+ if (this.isEOF() || !qe(this.char()))
3401
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
3437
3402
  var l = this.clonePosition(), u = this.parseTagName();
3438
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3403
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3439
3404
  val: {
3440
- type: _.tag,
3405
+ type: E.tag,
3441
3406
  value: i,
3442
- children: s,
3443
- location: v(n, this.clonePosition())
3407
+ children: o,
3408
+ location: _(n, this.clonePosition())
3444
3409
  },
3445
3410
  err: null
3446
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3411
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
3447
3412
  } else
3448
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3413
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3449
3414
  } else
3450
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3415
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3451
3416
  }, e.prototype.parseTagName = function() {
3452
3417
  var t = this.offset();
3453
- for (this.bump(); !this.isEOF() && pi(this.char()); )
3418
+ for (this.bump(); !this.isEOF() && hi(this.char()); )
3454
3419
  this.bump();
3455
3420
  return this.message.slice(t, this.offset());
3456
3421
  }, e.prototype.parseLiteral = function(t, r) {
3457
3422
  for (var n = this.clonePosition(), i = ""; ; ) {
3458
- var o = this.tryParseQuote(r);
3459
- if (o) {
3460
- i += o;
3461
- continue;
3462
- }
3463
- var s = this.tryParseUnquoted(t, r);
3423
+ var s = this.tryParseQuote(r);
3464
3424
  if (s) {
3465
3425
  i += s;
3466
3426
  continue;
3467
3427
  }
3428
+ var o = this.tryParseUnquoted(t, r);
3429
+ if (o) {
3430
+ i += o;
3431
+ continue;
3432
+ }
3468
3433
  var a = this.tryParseLeftAngleBracket();
3469
3434
  if (a) {
3470
3435
  i += a;
@@ -3472,14 +3437,14 @@ var fi = (
3472
3437
  }
3473
3438
  break;
3474
3439
  }
3475
- var l = v(n, this.clonePosition());
3440
+ var l = _(n, this.clonePosition());
3476
3441
  return {
3477
- val: { type: _.literal, value: i, location: l },
3442
+ val: { type: E.literal, value: i, location: l },
3478
3443
  err: null
3479
3444
  };
3480
3445
  }, e.prototype.tryParseLeftAngleBracket = function() {
3481
3446
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3482
- !di(this.peek() || 0)) ? (this.bump(), "<") : null;
3447
+ !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3483
3448
  }, e.prototype.tryParseQuote = function(t) {
3484
3449
  if (this.isEOF() || this.char() !== 39)
3485
3450
  return null;
@@ -3513,49 +3478,49 @@ var fi = (
3513
3478
  r.push(n);
3514
3479
  this.bump();
3515
3480
  }
3516
- return Ke.apply(void 0, r);
3481
+ return Ze.apply(void 0, r);
3517
3482
  }, e.prototype.tryParseUnquoted = function(t, r) {
3518
3483
  if (this.isEOF())
3519
3484
  return null;
3520
3485
  var n = this.char();
3521
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3486
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3522
3487
  }, e.prototype.parseArgument = function(t, r) {
3523
3488
  var n = this.clonePosition();
3524
3489
  if (this.bump(), this.bumpSpace(), this.isEOF())
3525
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3490
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3526
3491
  if (this.char() === 125)
3527
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3492
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3528
3493
  var i = this.parseIdentifierIfPossible().value;
3529
3494
  if (!i)
3530
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3495
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3531
3496
  if (this.bumpSpace(), this.isEOF())
3532
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3497
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3533
3498
  switch (this.char()) {
3534
3499
  case 125:
3535
3500
  return this.bump(), {
3536
3501
  val: {
3537
- type: _.argument,
3502
+ type: E.argument,
3538
3503
  // value does not include the opening and closing braces.
3539
3504
  value: i,
3540
- location: v(n, this.clonePosition())
3505
+ location: _(n, this.clonePosition())
3541
3506
  },
3542
3507
  err: null
3543
3508
  };
3544
3509
  case 44:
3545
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3510
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3546
3511
  default:
3547
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3512
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3548
3513
  }
3549
3514
  }, e.prototype.parseIdentifierIfPossible = function() {
3550
- var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3515
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3551
3516
  this.bumpTo(i);
3552
- var o = this.clonePosition(), s = v(t, o);
3553
- return { value: n, location: s };
3517
+ var s = this.clonePosition(), o = _(t, s);
3518
+ return { value: n, location: o };
3554
3519
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3555
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3520
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3556
3521
  switch (a) {
3557
3522
  case "":
3558
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
3523
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, l));
3559
3524
  case "number":
3560
3525
  case "date":
3561
3526
  case "time": {
@@ -3563,50 +3528,50 @@ var fi = (
3563
3528
  var u = null;
3564
3529
  if (this.bumpIf(",")) {
3565
3530
  this.bumpSpace();
3566
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3567
- if (f.err)
3568
- return f;
3569
- var c = ci(f.val);
3570
- if (c.length === 0)
3571
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3572
- var m = v(h, this.clonePosition());
3573
- u = { style: c, styleLocation: m };
3531
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3532
+ if (c.err)
3533
+ return c;
3534
+ var f = ai(c.val);
3535
+ if (f.length === 0)
3536
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3537
+ var m = _(h, this.clonePosition());
3538
+ u = { style: f, styleLocation: m };
3574
3539
  }
3575
3540
  var b = this.tryParseArgumentClose(i);
3576
3541
  if (b.err)
3577
3542
  return b;
3578
- var g = v(i, this.clonePosition());
3579
- if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
3580
- var S = hi(u.style.slice(2));
3543
+ var g = _(i, this.clonePosition());
3544
+ if (u && St(u == null ? void 0 : u.style, "::", 0)) {
3545
+ var S = oi(u.style.slice(2));
3581
3546
  if (a === "number") {
3582
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3583
- return f.err ? f : {
3584
- val: { type: _.number, value: n, location: g, style: f.val },
3547
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3548
+ return c.err ? c : {
3549
+ val: { type: E.number, value: n, location: g, style: c.val },
3585
3550
  err: null
3586
3551
  };
3587
3552
  } else {
3588
3553
  if (S.length === 0)
3589
3554
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3590
3555
  var I = S;
3591
- this.locale && (I = Jn(S, this.locale));
3592
- var c = {
3593
- type: ee.dateTime,
3556
+ this.locale && (I = zn(S, this.locale));
3557
+ var f = {
3558
+ type: te.dateTime,
3594
3559
  pattern: I,
3595
3560
  location: u.styleLocation,
3596
- parsedOptions: this.shouldParseSkeletons ? Vn(I) : {}
3597
- }, P = a === "date" ? _.date : _.time;
3561
+ parsedOptions: this.shouldParseSkeletons ? Gn(I) : {}
3562
+ }, P = a === "date" ? E.date : E.time;
3598
3563
  return {
3599
- val: { type: P, value: n, location: g, style: c },
3564
+ val: { type: P, value: n, location: g, style: f },
3600
3565
  err: null
3601
3566
  };
3602
3567
  }
3603
3568
  }
3604
3569
  return {
3605
3570
  val: {
3606
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3571
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3607
3572
  value: n,
3608
3573
  location: g,
3609
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3574
+ style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3610
3575
  },
3611
3576
  err: null
3612
3577
  };
@@ -3616,17 +3581,17 @@ var fi = (
3616
3581
  case "select": {
3617
3582
  var w = this.clonePosition();
3618
3583
  if (this.bumpSpace(), !this.bumpIf(","))
3619
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, Ee({}, w)));
3584
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, v({}, w)));
3620
3585
  this.bumpSpace();
3621
3586
  var N = this.parseIdentifierIfPossible(), L = 0;
3622
3587
  if (a !== "select" && N.value === "offset") {
3623
3588
  if (!this.bumpIf(":"))
3624
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3589
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3625
3590
  this.bumpSpace();
3626
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3627
- if (f.err)
3628
- return f;
3629
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = f.val;
3591
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3592
+ if (c.err)
3593
+ return c;
3594
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = c.val;
3630
3595
  }
3631
3596
  var M = this.tryParsePluralOrSelectOptions(t, a, r, N);
3632
3597
  if (M.err)
@@ -3634,32 +3599,32 @@ var fi = (
3634
3599
  var b = this.tryParseArgumentClose(i);
3635
3600
  if (b.err)
3636
3601
  return b;
3637
- var E = v(i, this.clonePosition());
3602
+ var x = _(i, this.clonePosition());
3638
3603
  return a === "select" ? {
3639
3604
  val: {
3640
- type: _.select,
3605
+ type: E.select,
3641
3606
  value: n,
3642
- options: Pt(M.val),
3643
- location: E
3607
+ options: wt(M.val),
3608
+ location: x
3644
3609
  },
3645
3610
  err: null
3646
3611
  } : {
3647
3612
  val: {
3648
- type: _.plural,
3613
+ type: E.plural,
3649
3614
  value: n,
3650
- options: Pt(M.val),
3615
+ options: wt(M.val),
3651
3616
  offset: L,
3652
3617
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3653
- location: E
3618
+ location: x
3654
3619
  },
3655
3620
  err: null
3656
3621
  };
3657
3622
  }
3658
3623
  default:
3659
- return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
3624
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(o, l));
3660
3625
  }
3661
3626
  }, e.prototype.tryParseArgumentClose = function(t) {
3662
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3627
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3663
3628
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3664
3629
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3665
3630
  var n = this.char();
@@ -3668,7 +3633,7 @@ var fi = (
3668
3633
  this.bump();
3669
3634
  var i = this.clonePosition();
3670
3635
  if (!this.bumpUntil("'"))
3671
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3636
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3672
3637
  this.bump();
3673
3638
  break;
3674
3639
  }
@@ -3698,37 +3663,37 @@ var fi = (
3698
3663
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3699
3664
  var n = [];
3700
3665
  try {
3701
- n = Wn(t);
3666
+ n = jn(t);
3702
3667
  } catch (i) {
3703
3668
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3704
3669
  }
3705
3670
  return {
3706
3671
  val: {
3707
- type: ee.number,
3672
+ type: te.number,
3708
3673
  tokens: n,
3709
3674
  location: r,
3710
- parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3675
+ parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3711
3676
  },
3712
3677
  err: null
3713
3678
  };
3714
3679
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3715
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3680
+ for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3716
3681
  if (u.length === 0) {
3717
- var f = this.clonePosition();
3682
+ var c = this.clonePosition();
3718
3683
  if (r !== "select" && this.bumpIf("=")) {
3719
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3720
- if (c.err)
3721
- return c;
3722
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3684
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3685
+ if (f.err)
3686
+ return f;
3687
+ h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3723
3688
  } else
3724
3689
  break;
3725
3690
  }
3726
3691
  if (l.has(u))
3727
3692
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3728
- u === "other" && (s = !0), this.bumpSpace();
3693
+ u === "other" && (o = !0), this.bumpSpace();
3729
3694
  var m = this.clonePosition();
3730
3695
  if (!this.bumpIf("{"))
3731
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3696
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3732
3697
  var b = this.parseMessage(t + 1, r, n);
3733
3698
  if (b.err)
3734
3699
  return b;
@@ -3739,23 +3704,23 @@ var fi = (
3739
3704
  u,
3740
3705
  {
3741
3706
  value: b.val,
3742
- location: v(m, this.clonePosition())
3707
+ location: _(m, this.clonePosition())
3743
3708
  }
3744
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3709
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3745
3710
  }
3746
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3711
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3747
3712
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3748
3713
  var n = 1, i = this.clonePosition();
3749
3714
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3750
- for (var o = !1, s = 0; !this.isEOF(); ) {
3715
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3751
3716
  var a = this.char();
3752
3717
  if (a >= 48 && a <= 57)
3753
- o = !0, s = s * 10 + (a - 48), this.bump();
3718
+ s = !0, o = o * 10 + (a - 48), this.bump();
3754
3719
  else
3755
3720
  break;
3756
3721
  }
3757
- var l = v(i, this.clonePosition());
3758
- return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3722
+ var l = _(i, this.clonePosition());
3723
+ return s ? (o *= n, ii(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3759
3724
  }, e.prototype.offset = function() {
3760
3725
  return this.position.offset;
3761
3726
  }, e.prototype.isEOF = function() {
@@ -3770,7 +3735,7 @@ var fi = (
3770
3735
  var t = this.position.offset;
3771
3736
  if (t >= this.message.length)
3772
3737
  throw Error("out of bound");
3773
- var r = mr(this.message, t);
3738
+ var r = fr(this.message, t);
3774
3739
  if (r === void 0)
3775
3740
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3776
3741
  return r;
@@ -3789,7 +3754,7 @@ var fi = (
3789
3754
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3790
3755
  }
3791
3756
  }, e.prototype.bumpIf = function(t) {
3792
- if (Bt(this.message, t, this.offset())) {
3757
+ if (St(this.message, t, this.offset())) {
3793
3758
  for (var r = 0; r < t.length; r++)
3794
3759
  this.bump();
3795
3760
  return !0;
@@ -3811,7 +3776,7 @@ var fi = (
3811
3776
  break;
3812
3777
  }
3813
3778
  }, e.prototype.bumpSpace = function() {
3814
- for (; !this.isEOF() && yr(this.char()); )
3779
+ for (; !this.isEOF() && dr(this.char()); )
3815
3780
  this.bump();
3816
3781
  }, e.prototype.peek = function() {
3817
3782
  if (this.isEOF())
@@ -3821,97 +3786,97 @@ var fi = (
3821
3786
  }, e;
3822
3787
  }()
3823
3788
  );
3824
- function tt(e) {
3789
+ function qe(e) {
3825
3790
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3826
3791
  }
3827
- function di(e) {
3828
- return tt(e) || e === 47;
3792
+ function li(e) {
3793
+ return qe(e) || e === 47;
3829
3794
  }
3830
- function pi(e) {
3795
+ function hi(e) {
3831
3796
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3832
3797
  }
3833
- function yr(e) {
3798
+ function dr(e) {
3834
3799
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3835
3800
  }
3836
- function mi(e) {
3801
+ function fi(e) {
3837
3802
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3838
3803
  }
3839
- function rt(e) {
3804
+ function Je(e) {
3840
3805
  e.forEach(function(t) {
3841
- if (delete t.location, ar(t) || ur(t))
3806
+ if (delete t.location, nr(t) || ir(t))
3842
3807
  for (var r in t.options)
3843
- delete t.options[r].location, rt(t.options[r].value);
3808
+ delete t.options[r].location, Je(t.options[r].value);
3844
3809
  else
3845
- ir(t) && hr(t.style) || (or(t) || sr(t)) && Je(t.style) ? delete t.style.location : lr(t) && rt(t.children);
3810
+ er(t) && or(t.style) || (tr(t) || rr(t)) && We(t.style) ? delete t.style.location : sr(t) && Je(t.children);
3846
3811
  });
3847
3812
  }
3848
- function bi(e, t) {
3849
- t === void 0 && (t = {}), t = Ee({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3850
- var r = new fi(e, t).parse();
3813
+ function ci(e, t) {
3814
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3815
+ var r = new ui(e, t).parse();
3851
3816
  if (r.err) {
3852
3817
  var n = SyntaxError(y[r.err.kind]);
3853
3818
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3854
3819
  }
3855
- return t != null && t.captureLocation || rt(r.val), r.val;
3820
+ return t != null && t.captureLocation || Je(r.val), r.val;
3856
3821
  }
3857
- var te;
3822
+ var re;
3858
3823
  (function(e) {
3859
3824
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3860
- })(te || (te = {}));
3861
- var Ae = (
3825
+ })(re || (re = {}));
3826
+ var Be = (
3862
3827
  /** @class */
3863
3828
  function(e) {
3864
- Pe(t, e);
3829
+ G(t, e);
3865
3830
  function t(r, n, i) {
3866
- var o = e.call(this, r) || this;
3867
- return o.code = n, o.originalMessage = i, o;
3831
+ var s = e.call(this, r) || this;
3832
+ return s.code = n, s.originalMessage = i, s;
3868
3833
  }
3869
3834
  return t.prototype.toString = function() {
3870
3835
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3871
3836
  }, t;
3872
3837
  }(Error)
3873
- ), Ot = (
3838
+ ), Ht = (
3874
3839
  /** @class */
3875
3840
  function(e) {
3876
- Pe(t, e);
3877
- function t(r, n, i, o) {
3878
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3841
+ G(t, e);
3842
+ function t(r, n, i, s) {
3843
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3879
3844
  }
3880
3845
  return t;
3881
- }(Ae)
3882
- ), yi = (
3846
+ }(Be)
3847
+ ), di = (
3883
3848
  /** @class */
3884
3849
  function(e) {
3885
- Pe(t, e);
3850
+ G(t, e);
3886
3851
  function t(r, n, i) {
3887
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3852
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3888
3853
  }
3889
3854
  return t;
3890
- }(Ae)
3891
- ), gi = (
3855
+ }(Be)
3856
+ ), pi = (
3892
3857
  /** @class */
3893
3858
  function(e) {
3894
- Pe(t, e);
3859
+ G(t, e);
3895
3860
  function t(r, n) {
3896
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3861
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3897
3862
  }
3898
3863
  return t;
3899
- }(Ae)
3864
+ }(Be)
3900
3865
  ), H;
3901
3866
  (function(e) {
3902
3867
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3903
3868
  })(H || (H = {}));
3904
- function vi(e) {
3869
+ function mi(e) {
3905
3870
  return e.length < 2 ? e : e.reduce(function(t, r) {
3906
3871
  var n = t[t.length - 1];
3907
3872
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3908
3873
  }, []);
3909
3874
  }
3910
- function _i(e) {
3875
+ function bi(e) {
3911
3876
  return typeof e == "function";
3912
3877
  }
3913
- function ve(e, t, r, n, i, o, s) {
3914
- if (e.length === 1 && St(e[0]))
3878
+ function _e(e, t, r, n, i, s, o) {
3879
+ if (e.length === 1 && _t(e[0]))
3915
3880
  return [
3916
3881
  {
3917
3882
  type: H.literal,
@@ -3920,60 +3885,60 @@ function ve(e, t, r, n, i, o, s) {
3920
3885
  ];
3921
3886
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3922
3887
  var h = u[l];
3923
- if (St(h)) {
3888
+ if (_t(h)) {
3924
3889
  a.push({
3925
3890
  type: H.literal,
3926
3891
  value: h.value
3927
3892
  });
3928
3893
  continue;
3929
3894
  }
3930
- if (jn(h)) {
3931
- typeof o == "number" && a.push({
3895
+ if (Dn(h)) {
3896
+ typeof s == "number" && a.push({
3932
3897
  type: H.literal,
3933
- value: r.getNumberFormat(t).format(o)
3898
+ value: r.getNumberFormat(t).format(s)
3934
3899
  });
3935
3900
  continue;
3936
3901
  }
3937
- var f = h.value;
3938
- if (!(i && f in i))
3939
- throw new gi(f, s);
3940
- var c = i[f];
3941
- if (Fn(h)) {
3942
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3943
- type: typeof c == "string" ? H.literal : H.object,
3944
- value: c
3902
+ var c = h.value;
3903
+ if (!(i && c in i))
3904
+ throw new pi(c, o);
3905
+ var f = i[c];
3906
+ if ($n(h)) {
3907
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3908
+ type: typeof f == "string" ? H.literal : H.object,
3909
+ value: f
3945
3910
  });
3946
3911
  continue;
3947
3912
  }
3948
- if (or(h)) {
3949
- var m = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
3913
+ if (tr(h)) {
3914
+ var m = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3950
3915
  a.push({
3951
3916
  type: H.literal,
3952
- value: r.getDateTimeFormat(t, m).format(c)
3917
+ value: r.getDateTimeFormat(t, m).format(f)
3953
3918
  });
3954
3919
  continue;
3955
3920
  }
3956
- if (sr(h)) {
3957
- var m = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
3921
+ if (rr(h)) {
3922
+ var m = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3958
3923
  a.push({
3959
3924
  type: H.literal,
3960
- value: r.getDateTimeFormat(t, m).format(c)
3925
+ value: r.getDateTimeFormat(t, m).format(f)
3961
3926
  });
3962
3927
  continue;
3963
3928
  }
3964
- if (ir(h)) {
3965
- var m = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3966
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3929
+ if (er(h)) {
3930
+ var m = typeof h.style == "string" ? n.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
3931
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3967
3932
  type: H.literal,
3968
- value: r.getNumberFormat(t, m).format(c)
3933
+ value: r.getNumberFormat(t, m).format(f)
3969
3934
  });
3970
3935
  continue;
3971
3936
  }
3972
- if (lr(h)) {
3937
+ if (sr(h)) {
3973
3938
  var b = h.children, g = h.value, S = i[g];
3974
- if (!_i(S))
3975
- throw new yi(g, "function", s);
3976
- var I = ve(b, t, r, n, i, o), P = S(I.map(function(L) {
3939
+ if (!bi(S))
3940
+ throw new di(g, "function", o);
3941
+ var I = _e(b, t, r, n, i, s), P = S(I.map(function(L) {
3977
3942
  return L.value;
3978
3943
  }));
3979
3944
  Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(L) {
@@ -3983,42 +3948,42 @@ function ve(e, t, r, n, i, o, s) {
3983
3948
  };
3984
3949
  }));
3985
3950
  }
3986
- if (ar(h)) {
3987
- var w = h.options[c] || h.options.other;
3951
+ if (nr(h)) {
3952
+ var w = h.options[f] || h.options.other;
3988
3953
  if (!w)
3989
- throw new Ot(h.value, c, Object.keys(h.options), s);
3990
- a.push.apply(a, ve(w.value, t, r, n, i));
3954
+ throw new Ht(h.value, f, Object.keys(h.options), o);
3955
+ a.push.apply(a, _e(w.value, t, r, n, i));
3991
3956
  continue;
3992
3957
  }
3993
- if (ur(h)) {
3994
- var w = h.options["=".concat(c)];
3958
+ if (ir(h)) {
3959
+ var w = h.options["=".concat(f)];
3995
3960
  if (!w) {
3996
3961
  if (!Intl.PluralRules)
3997
- throw new Ae(`Intl.PluralRules is not available in this environment.
3962
+ throw new Be(`Intl.PluralRules is not available in this environment.
3998
3963
  Try polyfilling it using "@formatjs/intl-pluralrules"
3999
- `, te.MISSING_INTL_API, s);
4000
- var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3964
+ `, re.MISSING_INTL_API, o);
3965
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4001
3966
  w = h.options[N] || h.options.other;
4002
3967
  }
4003
3968
  if (!w)
4004
- throw new Ot(h.value, c, Object.keys(h.options), s);
4005
- a.push.apply(a, ve(w.value, t, r, n, i, c - (h.offset || 0)));
3969
+ throw new Ht(h.value, f, Object.keys(h.options), o);
3970
+ a.push.apply(a, _e(w.value, t, r, n, i, f - (h.offset || 0)));
4006
3971
  continue;
4007
3972
  }
4008
3973
  }
4009
- return vi(a);
3974
+ return mi(a);
4010
3975
  }
4011
- function Ei(e, t) {
4012
- return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4013
- return r[n] = $($({}, e[n]), t[n] || {}), r;
3976
+ function yi(e, t) {
3977
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3978
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
4014
3979
  }, {})) : e;
4015
3980
  }
4016
- function xi(e, t) {
3981
+ function gi(e, t) {
4017
3982
  return t ? Object.keys(e).reduce(function(r, n) {
4018
- return r[n] = Ei(e[n], t[n]), r;
4019
- }, $({}, e)) : e;
3983
+ return r[n] = yi(e[n], t[n]), r;
3984
+ }, v({}, e)) : e;
4020
3985
  }
4021
- function Ue(e) {
3986
+ function Re(e) {
4022
3987
  return {
4023
3988
  create: function() {
4024
3989
  return {
@@ -4032,77 +3997,77 @@ function Ue(e) {
4032
3997
  }
4033
3998
  };
4034
3999
  }
4035
- function Si(e) {
4000
+ function _i(e) {
4036
4001
  return e === void 0 && (e = {
4037
4002
  number: {},
4038
4003
  dateTime: {},
4039
4004
  pluralRules: {}
4040
4005
  }), {
4041
- getNumberFormat: Re(function() {
4006
+ getNumberFormat: Ce(function() {
4042
4007
  for (var t, r = [], n = 0; n < arguments.length; n++)
4043
4008
  r[n] = arguments[n];
4044
- return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
4009
+ return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4045
4010
  }, {
4046
- cache: Ue(e.number),
4047
- strategy: $e.variadic
4011
+ cache: Re(e.number),
4012
+ strategy: Ne.variadic
4048
4013
  }),
4049
- getDateTimeFormat: Re(function() {
4014
+ getDateTimeFormat: Ce(function() {
4050
4015
  for (var t, r = [], n = 0; n < arguments.length; n++)
4051
4016
  r[n] = arguments[n];
4052
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
4017
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4053
4018
  }, {
4054
- cache: Ue(e.dateTime),
4055
- strategy: $e.variadic
4019
+ cache: Re(e.dateTime),
4020
+ strategy: Ne.variadic
4056
4021
  }),
4057
- getPluralRules: Re(function() {
4022
+ getPluralRules: Ce(function() {
4058
4023
  for (var t, r = [], n = 0; n < arguments.length; n++)
4059
4024
  r[n] = arguments[n];
4060
- return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
4025
+ return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4061
4026
  }, {
4062
- cache: Ue(e.pluralRules),
4063
- strategy: $e.variadic
4027
+ cache: Re(e.pluralRules),
4028
+ strategy: Ne.variadic
4064
4029
  })
4065
4030
  };
4066
4031
  }
4067
- var wi = (
4032
+ var vi = (
4068
4033
  /** @class */
4069
4034
  function() {
4070
4035
  function e(t, r, n, i) {
4071
4036
  r === void 0 && (r = e.defaultLocale);
4072
- var o = this;
4037
+ var s = this;
4073
4038
  if (this.formatterCache = {
4074
4039
  number: {},
4075
4040
  dateTime: {},
4076
4041
  pluralRules: {}
4077
4042
  }, this.format = function(l) {
4078
- var u = o.formatToParts(l);
4043
+ var u = s.formatToParts(l);
4079
4044
  if (u.length === 1)
4080
4045
  return u[0].value;
4081
- var h = u.reduce(function(f, c) {
4082
- return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4046
+ var h = u.reduce(function(c, f) {
4047
+ return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4083
4048
  }, []);
4084
4049
  return h.length <= 1 ? h[0] || "" : h;
4085
4050
  }, this.formatToParts = function(l) {
4086
- return ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4051
+ return _e(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4087
4052
  }, this.resolvedOptions = function() {
4088
4053
  var l;
4089
4054
  return {
4090
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4055
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4091
4056
  };
4092
4057
  }, this.getAst = function() {
4093
- return o.ast;
4058
+ return s.ast;
4094
4059
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4095
4060
  if (this.message = t, !e.__parse)
4096
4061
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4097
- var s = i || {};
4098
- s.formatters;
4099
- var a = Cn(s, ["formatters"]);
4100
- this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
4062
+ var o = i || {};
4063
+ o.formatters;
4064
+ var a = Jr(o, ["formatters"]);
4065
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
4101
4066
  } else
4102
4067
  this.ast = t;
4103
4068
  if (!Array.isArray(this.ast))
4104
4069
  throw new TypeError("A message must be provided as a String or AST.");
4105
- this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
4070
+ this.formats = gi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
4106
4071
  }
4107
4072
  return Object.defineProperty(e, "defaultLocale", {
4108
4073
  get: function() {
@@ -4115,7 +4080,7 @@ var wi = (
4115
4080
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4116
4081
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4117
4082
  }
4118
- }, e.__parse = bi, e.formats = {
4083
+ }, e.__parse = ci, e.formats = {
4119
4084
  number: {
4120
4085
  integer: {
4121
4086
  maximumFractionDigits: 0
@@ -4176,7 +4141,7 @@ var wi = (
4176
4141
  }, e;
4177
4142
  }()
4178
4143
  );
4179
- function Ti(e, t) {
4144
+ function Ei(e, t) {
4180
4145
  if (t == null)
4181
4146
  return;
4182
4147
  if (t in e)
@@ -4186,9 +4151,9 @@ function Ti(e, t) {
4186
4151
  for (let i = 0; i < r.length; i++)
4187
4152
  if (typeof n == "object") {
4188
4153
  if (i > 0) {
4189
- const o = r.slice(i, r.length).join(".");
4190
- if (o in n) {
4191
- n = n[o];
4154
+ const s = r.slice(i, r.length).join(".");
4155
+ if (s in n) {
4156
+ n = n[s];
4192
4157
  break;
4193
4158
  }
4194
4159
  }
@@ -4197,92 +4162,92 @@ function Ti(e, t) {
4197
4162
  n = void 0;
4198
4163
  return n;
4199
4164
  }
4200
- const j = {}, Hi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), gr = (e, t) => {
4165
+ const j = {}, xi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), pr = (e, t) => {
4201
4166
  if (t == null)
4202
4167
  return;
4203
4168
  if (t in j && e in j[t])
4204
4169
  return j[t][e];
4205
- const r = Oe(t);
4170
+ const r = Pe(t);
4206
4171
  for (let n = 0; n < r.length; n++) {
4207
- const i = r[n], o = Pi(i, e);
4208
- if (o)
4209
- return Hi(e, t, o);
4172
+ const i = r[n], s = wi(i, e);
4173
+ if (s)
4174
+ return xi(e, t, s);
4210
4175
  }
4211
4176
  };
4212
- let st;
4213
- const fe = Be({});
4214
- function Bi(e) {
4215
- return st[e] || null;
4177
+ let rt;
4178
+ const ce = He({});
4179
+ function Si(e) {
4180
+ return rt[e] || null;
4216
4181
  }
4217
- function vr(e) {
4218
- return e in st;
4182
+ function mr(e) {
4183
+ return e in rt;
4219
4184
  }
4220
- function Pi(e, t) {
4221
- if (!vr(e))
4185
+ function wi(e, t) {
4186
+ if (!mr(e))
4222
4187
  return null;
4223
- const r = Bi(e);
4224
- return Ti(r, t);
4188
+ const r = Si(e);
4189
+ return Ei(r, t);
4225
4190
  }
4226
- function Ai(e) {
4191
+ function Ti(e) {
4227
4192
  if (e == null)
4228
4193
  return;
4229
- const t = Oe(e);
4194
+ const t = Pe(e);
4230
4195
  for (let r = 0; r < t.length; r++) {
4231
4196
  const n = t[r];
4232
- if (vr(n))
4197
+ if (mr(n))
4233
4198
  return n;
4234
4199
  }
4235
4200
  }
4236
- function _r(e, ...t) {
4237
- delete j[e], fe.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
4201
+ function br(e, ...t) {
4202
+ delete j[e], ce.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4238
4203
  }
4239
- ne(
4240
- [fe],
4204
+ ie(
4205
+ [ce],
4241
4206
  ([e]) => Object.keys(e)
4242
4207
  );
4243
- fe.subscribe((e) => st = e);
4244
- const _e = {};
4245
- function Oi(e, t) {
4246
- _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4208
+ ce.subscribe((e) => rt = e);
4209
+ const ve = {};
4210
+ function Hi(e, t) {
4211
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4247
4212
  }
4248
- function Er(e) {
4249
- return _e[e];
4213
+ function yr(e) {
4214
+ return ve[e];
4250
4215
  }
4251
- function Ii(e) {
4252
- return Oe(e).map((t) => {
4253
- const r = Er(t);
4216
+ function Bi(e) {
4217
+ return Pe(e).map((t) => {
4218
+ const r = yr(t);
4254
4219
  return [t, r ? [...r] : []];
4255
4220
  }).filter(([, t]) => t.length > 0);
4256
4221
  }
4257
- function nt(e) {
4258
- return e == null ? !1 : Oe(e).some(
4222
+ function Ye(e) {
4223
+ return e == null ? !1 : Pe(e).some(
4259
4224
  (t) => {
4260
4225
  var r;
4261
- return (r = Er(t)) == null ? void 0 : r.size;
4226
+ return (r = yr(t)) == null ? void 0 : r.size;
4262
4227
  }
4263
4228
  );
4264
4229
  }
4265
- function Li(e, t) {
4230
+ function Pi(e, t) {
4266
4231
  return Promise.all(
4267
- t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
4268
- ).then((n) => _r(e, ...n));
4269
- }
4270
- const se = {};
4271
- function xr(e) {
4272
- if (!nt(e))
4273
- return e in se ? se[e] : Promise.resolve();
4274
- const t = Ii(e);
4275
- return se[e] = Promise.all(
4232
+ t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4233
+ ).then((n) => br(e, ...n));
4234
+ }
4235
+ const ae = {};
4236
+ function gr(e) {
4237
+ if (!Ye(e))
4238
+ return e in ae ? ae[e] : Promise.resolve();
4239
+ const t = Bi(e);
4240
+ return ae[e] = Promise.all(
4276
4241
  t.map(
4277
- ([r, n]) => Li(r, n)
4242
+ ([r, n]) => Pi(r, n)
4278
4243
  )
4279
4244
  ).then(() => {
4280
- if (nt(e))
4281
- return xr(e);
4282
- delete se[e];
4283
- }), se[e];
4245
+ if (Ye(e))
4246
+ return gr(e);
4247
+ delete ae[e];
4248
+ }), ae[e];
4284
4249
  }
4285
- const Ci = {
4250
+ const Ai = {
4286
4251
  number: {
4287
4252
  scientific: { notation: "scientific" },
4288
4253
  engineering: { notation: "engineering" },
@@ -4311,176 +4276,176 @@ const Ci = {
4311
4276
  timeZoneName: "short"
4312
4277
  }
4313
4278
  }
4314
- }, Ni = {
4279
+ }, Oi = {
4315
4280
  fallbackLocale: null,
4316
4281
  loadingDelay: 200,
4317
- formats: Ci,
4282
+ formats: Ai,
4318
4283
  warnOnMissingMessages: !0,
4319
4284
  handleMissingMessage: void 0,
4320
4285
  ignoreTag: !0
4321
- }, Mi = Ni;
4322
- function re() {
4323
- return Mi;
4324
- }
4325
- const Ge = Be(!1);
4326
- var Ri = Object.defineProperty, $i = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
4327
- for (var r in t || (t = {}))
4328
- Ui.call(t, r) && Lt(e, r, t[r]);
4329
- if (It)
4330
- for (var r of It(t))
4331
- Gi.call(t, r) && Lt(e, r, t[r]);
4286
+ }, Ii = Oi;
4287
+ function ne() {
4288
+ return Ii;
4289
+ }
4290
+ const $e = He(!1);
4291
+ var Li = Object.defineProperty, Ci = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
4292
+ for (var r in t)
4293
+ Mi.call(t, r) && Pt(e, r, t[r]);
4294
+ if (Bt)
4295
+ for (var r of Bt(t))
4296
+ Ri.call(t, r) && Pt(e, r, t[r]);
4332
4297
  return e;
4333
- }, ji = (e, t) => $i(e, Di(t));
4334
- let it;
4335
- const xe = Be(null);
4336
- function Ct(e) {
4298
+ }, Di = (e, t) => Ci(e, Ni(t));
4299
+ let Ke;
4300
+ const Ee = He(null);
4301
+ function At(e) {
4337
4302
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4338
4303
  }
4339
- function Oe(e, t = re().fallbackLocale) {
4340
- const r = Ct(e);
4341
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4304
+ function Pe(e, t = ne().fallbackLocale) {
4305
+ const r = At(e);
4306
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4342
4307
  }
4343
4308
  function z() {
4344
- return it != null ? it : void 0;
4309
+ return Ke != null ? Ke : void 0;
4345
4310
  }
4346
- xe.subscribe((e) => {
4347
- it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4311
+ Ee.subscribe((e) => {
4312
+ Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4348
4313
  });
4349
- const ki = (e) => {
4350
- if (e && Ai(e) && nt(e)) {
4351
- const { loadingDelay: t } = re();
4314
+ const Ui = (e) => {
4315
+ if (e && Ti(e) && Ye(e)) {
4316
+ const { loadingDelay: t } = ne();
4352
4317
  let r;
4353
4318
  return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
4354
- () => Ge.set(!0),
4319
+ () => $e.set(!0),
4355
4320
  t
4356
- ) : Ge.set(!0), xr(e).then(() => {
4357
- xe.set(e);
4321
+ ) : $e.set(!0), gr(e).then(() => {
4322
+ Ee.set(e);
4358
4323
  }).finally(() => {
4359
- clearTimeout(r), Ge.set(!1);
4324
+ clearTimeout(r), $e.set(!1);
4360
4325
  });
4361
4326
  }
4362
- return xe.set(e);
4363
- }, ie = ji(Fi({}, xe), {
4364
- set: ki
4365
- }), Ie = (e) => {
4327
+ return Ee.set(e);
4328
+ }, se = Di($i({}, Ee), {
4329
+ set: Ui
4330
+ }), Ae = (e) => {
4366
4331
  const t = /* @__PURE__ */ Object.create(null);
4367
4332
  return (n) => {
4368
4333
  const i = JSON.stringify(n);
4369
4334
  return i in t ? t[i] : t[i] = e(n);
4370
4335
  };
4371
4336
  };
4372
- var Vi = Object.defineProperty, Se = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4337
+ var Gi = Object.defineProperty, xe = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4373
4338
  for (var r in t || (t = {}))
4374
- Sr.call(t, r) && Nt(e, r, t[r]);
4375
- if (Se)
4376
- for (var r of Se(t))
4377
- wr.call(t, r) && Nt(e, r, t[r]);
4339
+ _r.call(t, r) && Ot(e, r, t[r]);
4340
+ if (xe)
4341
+ for (var r of xe(t))
4342
+ vr.call(t, r) && Ot(e, r, t[r]);
4378
4343
  return e;
4379
4344
  }, oe = (e, t) => {
4380
4345
  var r = {};
4381
4346
  for (var n in e)
4382
- Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4383
- if (e != null && Se)
4384
- for (var n of Se(e))
4385
- t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
4347
+ _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4348
+ if (e != null && xe)
4349
+ for (var n of xe(e))
4350
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4386
4351
  return r;
4387
4352
  };
4388
- const he = (e, t) => {
4389
- const { formats: r } = re();
4353
+ const fe = (e, t) => {
4354
+ const { formats: r } = ne();
4390
4355
  if (e in r && t in r[e])
4391
4356
  return r[e][t];
4392
4357
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4393
- }, Xi = Ie(
4358
+ }, Fi = Ae(
4394
4359
  (e) => {
4395
4360
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4396
4361
  if (r == null)
4397
4362
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4398
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4363
+ return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4399
4364
  }
4400
- ), Wi = Ie(
4365
+ ), ji = Ae(
4401
4366
  (e) => {
4402
4367
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4403
4368
  if (r == null)
4404
4369
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4405
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4370
+ return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4406
4371
  }
4407
- ), zi = Ie(
4372
+ ), ki = Ae(
4408
4373
  (e) => {
4409
4374
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4410
4375
  if (r == null)
4411
4376
  throw new Error(
4412
4377
  '[svelte-i18n] A "locale" must be set to format time values'
4413
4378
  );
4414
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4379
+ return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4415
4380
  }
4416
- ), Zi = (e = {}) => {
4381
+ ), Vi = (e = {}) => {
4417
4382
  var t = e, {
4418
4383
  locale: r = z()
4419
4384
  } = t, n = oe(t, [
4420
4385
  "locale"
4421
4386
  ]);
4422
- return Xi(at({ locale: r }, n));
4423
- }, Qi = (e = {}) => {
4387
+ return Fi(nt({ locale: r }, n));
4388
+ }, Xi = (e = {}) => {
4424
4389
  var t = e, {
4425
4390
  locale: r = z()
4426
4391
  } = t, n = oe(t, [
4427
4392
  "locale"
4428
4393
  ]);
4429
- return Wi(at({ locale: r }, n));
4430
- }, qi = (e = {}) => {
4394
+ return ji(nt({ locale: r }, n));
4395
+ }, Wi = (e = {}) => {
4431
4396
  var t = e, {
4432
4397
  locale: r = z()
4433
4398
  } = t, n = oe(t, [
4434
4399
  "locale"
4435
4400
  ]);
4436
- return zi(at({ locale: r }, n));
4437
- }, Ji = Ie(
4401
+ return ki(nt({ locale: r }, n));
4402
+ }, zi = Ae(
4438
4403
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4439
- (e, t = z()) => new wi(e, t, re().formats, {
4440
- ignoreTag: re().ignoreTag
4404
+ (e, t = z()) => new vi(e, t, ne().formats, {
4405
+ ignoreTag: ne().ignoreTag
4441
4406
  })
4442
- ), Yi = (e, t = {}) => {
4443
- var r, n, i, o;
4444
- let s = t;
4445
- typeof e == "object" && (s = e, e = s.id);
4407
+ ), Zi = (e, t = {}) => {
4408
+ var r, n, i, s;
4409
+ let o = t;
4410
+ typeof e == "object" && (o = e, e = o.id);
4446
4411
  const {
4447
4412
  values: a,
4448
4413
  locale: l = z(),
4449
4414
  default: u
4450
- } = s;
4415
+ } = o;
4451
4416
  if (l == null)
4452
4417
  throw new Error(
4453
4418
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4454
4419
  );
4455
- let h = gr(e, l);
4420
+ let h = pr(e, l);
4456
4421
  if (!h)
4457
- h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4422
+ h = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4458
4423
  else if (typeof h != "string")
4459
4424
  return console.warn(
4460
4425
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4461
4426
  ), h;
4462
4427
  if (!a)
4463
4428
  return h;
4464
- let f = h;
4429
+ let c = h;
4465
4430
  try {
4466
- f = Ji(h, l).format(a);
4467
- } catch (c) {
4468
- c instanceof Error && console.warn(
4431
+ c = zi(h, l).format(a);
4432
+ } catch (f) {
4433
+ f instanceof Error && console.warn(
4469
4434
  `[svelte-i18n] Message "${e}" has syntax error:`,
4470
- c.message
4435
+ f.message
4471
4436
  );
4472
4437
  }
4473
- return f;
4474
- }, Ki = (e, t) => qi(t).format(e), eo = (e, t) => Qi(t).format(e), to = (e, t) => Zi(t).format(e), ro = (e, t = z()) => gr(e, t), no = ne([ie, fe], () => Yi);
4475
- ne([ie], () => Ki);
4476
- ne([ie], () => eo);
4477
- ne([ie], () => to);
4478
- ne([ie, fe], () => ro);
4479
- window.emWidgets = { topic: mn };
4480
- const Tr = (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)), io = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4481
- function Uo(e, t) {
4438
+ return c;
4439
+ }, Qi = (e, t) => Wi(t).format(e), qi = (e, t) => Xi(t).format(e), Ji = (e, t) => Vi(t).format(e), Yi = (e, t = z()) => pr(e, t), Ki = ie([se, ce], () => Zi);
4440
+ ie([se], () => Qi);
4441
+ ie([se], () => qi);
4442
+ ie([se], () => Ji);
4443
+ ie([se, ce], () => Yi);
4444
+ window.emWidgets = { topic: cn };
4445
+ const Er = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), es = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4446
+ function Ns(e, t) {
4482
4447
  const r = window.navigator.userAgent;
4483
- return Tr(r) ? t = e.filter((n) => {
4448
+ return Er(r) ? t = e.filter((n) => {
4484
4449
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4485
4450
  return n;
4486
4451
  }) : t = e.filter((n) => {
@@ -4488,24 +4453,24 @@ function Uo(e, t) {
4488
4453
  return n;
4489
4454
  }), t;
4490
4455
  }
4491
- function Go(e, t) {
4456
+ function Ms(e, t) {
4492
4457
  return new Promise((r, n) => {
4493
4458
  const i = new Headers();
4494
4459
  i.append("X-SessionID", t);
4495
- const o = {
4460
+ const s = {
4496
4461
  method: "GET",
4497
4462
  headers: i
4498
4463
  };
4499
- fetch(`${e}/v1/player/session/player`, o).then((s) => s.json()).then((s) => r(s)).catch((s) => n(s));
4464
+ fetch(`${e}/v1/player/session/player`, s).then((o) => o.json()).then((o) => r(o)).catch((o) => n(o));
4500
4465
  });
4501
4466
  }
4502
- function oo(e, t) {
4467
+ function ts(e, t) {
4503
4468
  if (e) {
4504
4469
  const r = document.createElement("style");
4505
4470
  r.innerHTML = t, e.appendChild(r);
4506
4471
  }
4507
4472
  }
4508
- function so(e, t) {
4473
+ function rs(e, t) {
4509
4474
  const r = new URL(t);
4510
4475
  fetch(r.href).then((n) => n.text()).then((n) => {
4511
4476
  const i = document.createElement("style");
@@ -4514,7 +4479,7 @@ function so(e, t) {
4514
4479
  console.error("There was an error while trying to load client styling from URL", n);
4515
4480
  });
4516
4481
  }
4517
- function ao(e, t, r) {
4482
+ function ns(e, t, r) {
4518
4483
  if (window.emMessageBus) {
4519
4484
  const n = document.createElement("style");
4520
4485
  window.emMessageBus.subscribe(t, (i) => {
@@ -4522,13 +4487,13 @@ function ao(e, t, r) {
4522
4487
  });
4523
4488
  }
4524
4489
  }
4525
- function Mt(e, t) {
4526
- _r(e, t);
4490
+ function It(e, t) {
4491
+ br(e, t);
4527
4492
  }
4528
- function uo(e) {
4529
- ie.set(e);
4493
+ function is(e) {
4494
+ se.set(e);
4530
4495
  }
4531
- const Rt = {
4496
+ const Lt = {
4532
4497
  en: {
4533
4498
  error: "500 Error - Internal Server Error"
4534
4499
  },
@@ -4560,7 +4525,7 @@ if (typeof window != "undefined") {
4560
4525
  }
4561
4526
  };
4562
4527
  };
4563
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-DA7MIM93.js").then(({ default: t }) => {
4528
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-8b-Ie2Hl.js").then(({ default: t }) => {
4564
4529
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4565
4530
  });
4566
4531
  }
@@ -4576,115 +4541,115 @@ if (typeof window != "undefined") {
4576
4541
  }
4577
4542
  };
4578
4543
  };
4579
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DY2ge_ta.js").then(({ default: t }) => {
4544
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BglEC2TQ.js").then(({ default: t }) => {
4580
4545
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4581
4546
  });
4582
4547
  }
4583
- function lo(e) {
4584
- Mr(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
4548
+ function ss(e) {
4549
+ Ir(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
4585
4550
  }.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)}}`);
4586
4551
  }
4587
- function $t(e, t, r) {
4552
+ function Ct(e, t, r) {
4588
4553
  const n = e.slice();
4589
4554
  return n[26] = t[r], n[28] = r, n;
4590
4555
  }
4591
- function ho(e) {
4592
- let t, r, n, i = pt(
4556
+ function os(e) {
4557
+ let t, r, n, i = ht(
4593
4558
  /*calendarCollections*/
4594
4559
  e[6]
4595
- ), o = [];
4560
+ ), s = [];
4596
4561
  for (let a = 0; a < i.length; a += 1)
4597
- o[a] = Dt($t(e, i, a));
4598
- let s = (
4562
+ s[a] = Nt(Ct(e, i, a));
4563
+ let o = (
4599
4564
  /*calendarModalOpened*/
4600
- e[11] == !0 && Ut(e)
4565
+ e[11] == !0 && Mt(e)
4601
4566
  );
4602
4567
  return {
4603
4568
  c() {
4604
- t = D("div");
4605
- for (let a = 0; a < o.length; a += 1)
4606
- o[a].c();
4607
- r = Gr(), s && s.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4569
+ t = $("div");
4570
+ for (let a = 0; a < s.length; a += 1)
4571
+ s[a].c();
4572
+ r = Rr(), o && o.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4608
4573
  (e[10] ? "Mobile" : "") + " svelte-5u3c97");
4609
4574
  },
4610
4575
  m(a, l) {
4611
4576
  V(a, t, l);
4612
- for (let u = 0; u < o.length; u += 1)
4613
- o[u] && o[u].m(t, null);
4614
- Te(t, r), s && s.m(t, null);
4577
+ for (let u = 0; u < s.length; u += 1)
4578
+ s[u] && s[u].m(t, null);
4579
+ we(t, r), o && o.m(t, null);
4615
4580
  },
4616
4581
  p(a, l) {
4617
4582
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4618
4583
  95) {
4619
- i = pt(
4584
+ i = ht(
4620
4585
  /*calendarCollections*/
4621
4586
  a[6]
4622
4587
  );
4623
4588
  let u;
4624
4589
  for (u = 0; u < i.length; u += 1) {
4625
- const h = $t(a, i, u);
4626
- o[u] ? o[u].p(h, l) : (o[u] = Dt(h), o[u].c(), o[u].m(t, r));
4590
+ const h = Ct(a, i, u);
4591
+ s[u] ? s[u].p(h, l) : (s[u] = Nt(h), s[u].c(), s[u].m(t, r));
4627
4592
  }
4628
- for (; u < o.length; u += 1)
4629
- o[u].d(1);
4630
- o.length = i.length;
4593
+ for (; u < s.length; u += 1)
4594
+ s[u].d(1);
4595
+ s.length = i.length;
4631
4596
  }
4632
4597
  /*calendarModalOpened*/
4633
- a[11] == !0 ? s ? s.p(a, l) : (s = Ut(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), l & /*mobileView*/
4598
+ a[11] == !0 ? o ? o.p(a, l) : (o = Mt(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null), l & /*mobileView*/
4634
4599
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4635
4600
  (a[10] ? "Mobile" : "") + " svelte-5u3c97") && k(t, "class", n);
4636
4601
  },
4637
4602
  d(a) {
4638
- a && G(t), Dr(o, a), s && s.d();
4603
+ a && U(t), Nr(s, a), o && o.d();
4639
4604
  }
4640
4605
  };
4641
4606
  }
4642
- function co(e) {
4607
+ function as(e) {
4643
4608
  let t;
4644
4609
  return {
4645
4610
  c() {
4646
- t = D("div"), k(t, "class", "LoadingSpinner svelte-5u3c97");
4611
+ t = $("div"), k(t, "class", "LoadingSpinner svelte-5u3c97");
4647
4612
  },
4648
4613
  m(r, n) {
4649
4614
  V(r, t, n);
4650
4615
  },
4651
4616
  p: O,
4652
4617
  d(r) {
4653
- r && G(t);
4618
+ r && U(t);
4654
4619
  }
4655
4620
  };
4656
4621
  }
4657
- function fo(e) {
4622
+ function us(e) {
4658
4623
  let t, r = (
4659
4624
  /*$_*/
4660
4625
  e[12]("error") + ""
4661
4626
  ), n;
4662
4627
  return {
4663
4628
  c() {
4664
- t = D("p"), n = ot(r), k(t, "class", "SearchLoading svelte-5u3c97");
4629
+ t = $("p"), n = et(r), k(t, "class", "SearchLoading svelte-5u3c97");
4665
4630
  },
4666
- m(i, o) {
4667
- V(i, t, o), Te(t, n);
4631
+ m(i, s) {
4632
+ V(i, t, s), we(t, n);
4668
4633
  },
4669
- p(i, o) {
4670
- o & /*$_*/
4634
+ p(i, s) {
4635
+ s & /*$_*/
4671
4636
  4096 && r !== (r = /*$_*/
4672
- i[12]("error") + "") && jr(n, r);
4637
+ i[12]("error") + "") && Dr(n, r);
4673
4638
  },
4674
4639
  d(i) {
4675
- i && G(t);
4640
+ i && U(t);
4676
4641
  }
4677
4642
  };
4678
4643
  }
4679
- function Dt(e) {
4680
- let t, r, n, i, o, s;
4644
+ function Nt(e) {
4645
+ let t, r, n, i, s, o;
4681
4646
  return {
4682
4647
  c() {
4683
- t = D("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4648
+ t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4684
4649
  e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4685
4650
  e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4686
- e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
4687
- e[26].dailyDescription), d(t, "dailybuttontitle", s = /*dailyCalendarData*/
4651
+ e[26].dailyDay), d(t, "dailydescription", s = /*dailyCalendarData*/
4652
+ e[26].dailyDescription), d(t, "dailybuttontitle", o = /*dailyCalendarData*/
4688
4653
  e[26].dailyButtonTitle), d(
4689
4654
  t,
4690
4655
  "index",
@@ -4728,10 +4693,10 @@ function Dt(e) {
4728
4693
  a[26].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4729
4694
  64 && i !== (i = /*dailyCalendarData*/
4730
4695
  a[26].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4731
- 64 && o !== (o = /*dailyCalendarData*/
4732
- a[26].dailyDescription) && d(t, "dailydescription", o), l & /*calendarCollections*/
4733
4696
  64 && s !== (s = /*dailyCalendarData*/
4734
- a[26].dailyButtonTitle) && d(t, "dailybuttontitle", s), l & /*lang*/
4697
+ a[26].dailyDescription) && d(t, "dailydescription", s), l & /*calendarCollections*/
4698
+ 64 && o !== (o = /*dailyCalendarData*/
4699
+ a[26].dailyButtonTitle) && d(t, "dailybuttontitle", o), l & /*lang*/
4735
4700
  1 && d(
4736
4701
  t,
4737
4702
  "lang",
@@ -4764,15 +4729,15 @@ function Dt(e) {
4764
4729
  );
4765
4730
  },
4766
4731
  d(a) {
4767
- a && G(t);
4732
+ a && U(t);
4768
4733
  }
4769
4734
  };
4770
4735
  }
4771
- function Ut(e) {
4772
- let t, r, n, i, o, s, a, l;
4736
+ function Mt(e) {
4737
+ let t, r, n, i, s, o, a, l;
4773
4738
  return {
4774
4739
  c() {
4775
- t = D("div"), r = D("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4740
+ t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4776
4741
  e[6][
4777
4742
  /*selectedIndex*/
4778
4743
  e[7]
@@ -4780,11 +4745,11 @@ function Ut(e) {
4780
4745
  e[6][
4781
4746
  /*selectedIndex*/
4782
4747
  e[7]
4783
- ].dailyButtonTitle), d(r, "dailyday", o = /*calendarCollections*/
4748
+ ].dailyButtonTitle), d(r, "dailyday", s = /*calendarCollections*/
4784
4749
  e[6][
4785
4750
  /*selectedIndex*/
4786
4751
  e[7]
4787
- ].dailyDay), d(r, "dailydescription", s = /*calendarCollections*/
4752
+ ].dailyDay), d(r, "dailydescription", o = /*calendarCollections*/
4788
4753
  e[6][
4789
4754
  /*selectedIndex*/
4790
4755
  e[7]
@@ -4824,7 +4789,7 @@ function Ut(e) {
4824
4789
  ), d(r, "class", "svelte-5u3c97"), k(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
4825
4790
  },
4826
4791
  m(u, h) {
4827
- V(u, t, h), Te(t, r);
4792
+ V(u, t, h), we(t, r);
4828
4793
  },
4829
4794
  p(u, h) {
4830
4795
  h & /*calendarCollections, selectedIndex*/
@@ -4838,16 +4803,16 @@ function Ut(e) {
4838
4803
  /*selectedIndex*/
4839
4804
  u[7]
4840
4805
  ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4841
- 192 && o !== (o = /*calendarCollections*/
4806
+ 192 && s !== (s = /*calendarCollections*/
4842
4807
  u[6][
4843
4808
  /*selectedIndex*/
4844
4809
  u[7]
4845
- ].dailyDay) && d(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4846
- 192 && s !== (s = /*calendarCollections*/
4810
+ ].dailyDay) && d(r, "dailyday", s), h & /*calendarCollections, selectedIndex*/
4811
+ 192 && o !== (o = /*calendarCollections*/
4847
4812
  u[6][
4848
4813
  /*selectedIndex*/
4849
4814
  u[7]
4850
- ].dailyDescription) && d(r, "dailydescription", s), h & /*calendarCollections, selectedIndex*/
4815
+ ].dailyDescription) && d(r, "dailydescription", o), h & /*calendarCollections, selectedIndex*/
4851
4816
  192 && a !== (a = /*calendarCollections*/
4852
4817
  u[6][
4853
4818
  /*selectedIndex*/
@@ -4890,64 +4855,64 @@ function Ut(e) {
4890
4855
  );
4891
4856
  },
4892
4857
  d(u) {
4893
- u && G(t);
4858
+ u && U(t);
4894
4859
  }
4895
4860
  };
4896
4861
  }
4897
- function po(e) {
4862
+ function ls(e) {
4898
4863
  let t;
4899
- function r(o, s) {
4864
+ function r(s, o) {
4900
4865
  var a;
4901
4866
  if (
4902
4867
  /*hasErrors*/
4903
- o[9]
4868
+ s[9]
4904
4869
  )
4905
- return fo;
4870
+ return us;
4906
4871
  if (
4907
4872
  /*isLoading*/
4908
- o[8]
4873
+ s[8]
4909
4874
  )
4910
- return co;
4875
+ return as;
4911
4876
  if (
4912
4877
  /*calendarCollections*/
4913
- (a = o[6]) != null && a.length
4878
+ (a = s[6]) != null && a.length
4914
4879
  )
4915
- return ho;
4880
+ return os;
4916
4881
  }
4917
4882
  let n = r(e), i = n && n(e);
4918
4883
  return {
4919
4884
  c() {
4920
- t = D("div"), i && i.c(), k(t, "class", "svelte-5u3c97");
4885
+ t = $("div"), i && i.c(), k(t, "class", "svelte-5u3c97");
4921
4886
  },
4922
- m(o, s) {
4923
- V(o, t, s), i && i.m(t, null), e[16](t);
4887
+ m(s, o) {
4888
+ V(s, t, o), i && i.m(t, null), e[16](t);
4924
4889
  },
4925
- p(o, [s]) {
4926
- n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4890
+ p(s, [o]) {
4891
+ n === (n = r(s)) && i ? i.p(s, o) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(t, null)));
4927
4892
  },
4928
4893
  i: O,
4929
4894
  o: O,
4930
- d(o) {
4931
- o && G(t), i && i.d(), e[16](null);
4895
+ d(s) {
4896
+ s && U(t), i && i.d(), e[16](null);
4932
4897
  }
4933
4898
  };
4934
4899
  }
4935
- function mo(e, t, r) {
4900
+ function hs(e, t, r) {
4936
4901
  let n;
4937
- Nr(e, no, (p) => r(12, n = p));
4938
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, I = !1, P = window.navigator.userAgent, w = !1;
4902
+ Or(e, Ki, (p) => r(12, n = p));
4903
+ let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: o = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: c } = t, f, m, b = 0, g = !0, S = !1, I = !1, P = window.navigator.userAgent, w = !1;
4939
4904
  const N = () => {
4940
- uo(a);
4905
+ is(a);
4941
4906
  };
4942
- Object.keys(Rt).forEach((p) => {
4943
- Mt(p, Rt[p]);
4907
+ Object.keys(Lt).forEach((p) => {
4908
+ It(p, Lt[p]);
4944
4909
  });
4945
4910
  const L = () => {
4946
4911
  let p = h;
4947
4912
  if (p)
4948
4913
  return fetch(p).then((B) => B.json()).then((B) => {
4949
4914
  Object.keys(B).forEach((F) => {
4950
- Mt(F, B[F]);
4915
+ It(F, B[F]);
4951
4916
  });
4952
4917
  }).catch((B) => {
4953
4918
  console.log(B);
@@ -4955,17 +4920,17 @@ function mo(e, t, r) {
4955
4920
  }, M = () => {
4956
4921
  r(8, g = !0);
4957
4922
  let p = new URL(`${i}/${a}/daily-calendar`);
4958
- p.searchParams.append("userRoles", s), p.searchParams.append("env", o);
4959
- let B = io(P);
4923
+ p.searchParams.append("userRoles", o), p.searchParams.append("env", s);
4924
+ let B = es(P);
4960
4925
  B && (B === "PC" ? p.searchParams.append("device", "dk") : B === "iPad" || B === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((F) => F.json()).then((F) => {
4961
4926
  r(6, m = F);
4962
4927
  }).catch((F) => {
4963
4928
  console.log(F), r(9, S = !0);
4964
4929
  }).finally(() => {
4965
- E(), r(8, g = !1);
4930
+ x(), r(8, g = !1);
4966
4931
  });
4967
- }, E = () => {
4968
- const p = c.getRootNode().host;
4932
+ }, x = () => {
4933
+ const p = f.getRootNode().host;
4969
4934
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4970
4935
  }, C = () => {
4971
4936
  M();
@@ -4983,22 +4948,22 @@ function mo(e, t, r) {
4983
4948
  data: (B = m[b]) == null ? void 0 : B.dailyEvents
4984
4949
  })), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
4985
4950
  };
4986
- Vr(() => (window.addEventListener("message", A, !1), Tr(P) && r(10, I = !0), () => {
4951
+ Gr(() => (window.addEventListener("message", A, !1), Er(P) && r(10, I = !0), () => {
4987
4952
  window.removeEventListener("message", A);
4988
4953
  }));
4989
4954
  function Z(p) {
4990
- Fe[p ? "unshift" : "push"](() => {
4991
- c = p, r(5, c);
4955
+ De[p ? "unshift" : "push"](() => {
4956
+ f = p, r(5, f);
4992
4957
  });
4993
4958
  }
4994
4959
  return e.$$set = (p) => {
4995
- "cmsendpoint" in p && r(13, i = p.cmsendpoint), "env" in p && r(14, o = p.env), "userroles" in p && r(15, s = p.userroles), "lang" in p && r(0, a = 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);
4960
+ "cmsendpoint" in p && r(13, i = p.cmsendpoint), "env" in p && r(14, s = p.env), "userroles" in p && r(15, o = p.userroles), "lang" in p && r(0, a = 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);
4996
4961
  }, e.$$.update = () => {
4997
4962
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4998
- 57345 && i && a && o && s && C(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4999
- 34 && l && c && oo(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5000
- 36 && u && c && so(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5001
- 48 && c && ao(c, `${f}.Style`), e.$$.dirty & /*lang*/
4963
+ 57345 && i && a && s && o && C(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4964
+ 34 && l && f && ts(f, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4965
+ 36 && u && f && rs(f, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4966
+ 48 && f && ns(f, `${c}.Style`), e.$$.dirty & /*lang*/
5002
4967
  1 && a && N(), e.$$.dirty & /*lang, translationurl*/
5003
4968
  9 && a && h && L();
5004
4969
  }, [
@@ -5006,8 +4971,8 @@ function mo(e, t, r) {
5006
4971
  l,
5007
4972
  u,
5008
4973
  h,
5009
- f,
5010
4974
  c,
4975
+ f,
5011
4976
  m,
5012
4977
  b,
5013
4978
  g,
@@ -5016,19 +4981,19 @@ function mo(e, t, r) {
5016
4981
  w,
5017
4982
  n,
5018
4983
  i,
5019
- o,
5020
4984
  s,
4985
+ o,
5021
4986
  Z
5022
4987
  ];
5023
4988
  }
5024
- class Hr extends Kr {
4989
+ class xr extends Qr {
5025
4990
  constructor(t) {
5026
- super(), Jr(
4991
+ super(), zr(
5027
4992
  this,
5028
4993
  t,
5029
- mo,
5030
- po,
5031
- Ft,
4994
+ hs,
4995
+ ls,
4996
+ $t,
5032
4997
  {
5033
4998
  cmsendpoint: 13,
5034
4999
  env: 14,
@@ -5039,7 +5004,7 @@ class Hr extends Kr {
5039
5004
  translationurl: 3,
5040
5005
  mbsource: 4
5041
5006
  },
5042
- lo
5007
+ ss
5043
5008
  );
5044
5009
  }
5045
5010
  get cmsendpoint() {
@@ -5091,70 +5056,70 @@ class Hr extends Kr {
5091
5056
  this.$$set({ mbsource: t }), R();
5092
5057
  }
5093
5058
  }
5094
- Yr(Hr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5095
- const Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5059
+ Zr(xr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5060
+ const Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5096
5061
  __proto__: null,
5097
- default: Hr
5062
+ default: xr
5098
5063
  }, Symbol.toStringTag, { value: "Module" }));
5099
5064
  export {
5100
- ie as $,
5101
- wo as A,
5102
- Gr as B,
5103
- Fe as C,
5104
- yo as D,
5105
- d as E,
5106
- Ur as F,
5107
- Po as G,
5108
- oo as H,
5109
- so as I,
5110
- ao as J,
5111
- Yr as K,
5112
- no as L,
5113
- io as M,
5114
- Co as N,
5065
+ se as $,
5066
+ _s as A,
5067
+ ms as B,
5068
+ bs as C,
5069
+ ps as D,
5070
+ Dr as E,
5071
+ Nr as F,
5072
+ O as G,
5073
+ d as H,
5074
+ cs as I,
5075
+ Ki as J,
5076
+ Mr as K,
5077
+ Ss as L,
5078
+ es as M,
5079
+ Ps as N,
5115
5080
  W as O,
5116
- Ho as P,
5117
- fe as Q,
5118
- Bo as R,
5119
- Kr as S,
5120
- Ao as T,
5121
- So as U,
5122
- Oo as V,
5123
- Io as W,
5124
- Uo as X,
5125
- Do as Y,
5126
- Ro as Z,
5127
- Go as _,
5128
- _r as a,
5129
- xo as a0,
5130
- $o as a1,
5131
- we as a2,
5132
- To as a3,
5133
- Lo as a4,
5134
- Fo as a5,
5135
- Mr as b,
5136
- zt as c,
5137
- G as d,
5138
- Mo as e,
5081
+ Es as P,
5082
+ ce as Q,
5083
+ xs as R,
5084
+ Qr as S,
5085
+ ws as T,
5086
+ gs as U,
5087
+ Ts as V,
5088
+ Hs as W,
5089
+ Ns as X,
5090
+ Cs as Y,
5091
+ Is as Z,
5092
+ Ms as _,
5093
+ br as a,
5094
+ Ls as a0,
5095
+ ys as a1,
5096
+ Se as a2,
5097
+ vs as a3,
5098
+ Bs as a4,
5099
+ Rs as a5,
5100
+ Ir as b,
5101
+ Zr as c,
5102
+ V as d,
5103
+ $ as e,
5139
5104
  R as f,
5140
- No as g,
5141
- V as h,
5142
- Jr as i,
5143
- D as j,
5144
- Nr as k,
5145
- Tr as l,
5146
- jr as m,
5147
- O as n,
5148
- Vr as o,
5149
- Te as p,
5150
- ot as q,
5151
- k as r,
5152
- Ft as s,
5153
- zr as t,
5154
- go as u,
5155
- pt as v,
5156
- Dr as w,
5157
- _o as x,
5158
- Eo as y,
5159
- vo as z
5105
+ Os as g,
5106
+ kt as h,
5107
+ zr as i,
5108
+ U as j,
5109
+ Or as k,
5110
+ As as l,
5111
+ Er as m,
5112
+ De as n,
5113
+ Gr as o,
5114
+ ts as p,
5115
+ rs as q,
5116
+ ns as r,
5117
+ $t as s,
5118
+ kr as t,
5119
+ ds as u,
5120
+ ht as v,
5121
+ Rr as w,
5122
+ et as x,
5123
+ k as y,
5124
+ we as z
5160
5125
  };