@everymatrix/casino-page-nd 1.54.12 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/components/{CasinoCalendar-DqqWE3PZ.js → CasinoCalendar-C1drIkmy.js} +1049 -1005
  2. package/components/{CasinoCalendar-BzhZkzgP.js → CasinoCalendar-Dp2YIBXE.js} +863 -819
  3. package/components/CasinoCalendar-hlupOGnG.cjs +6 -0
  4. package/components/{CasinoCalendarDailyDetails-DazppRF9.js → CasinoCalendarDailyDetails-BVWbjQFD.js} +45 -45
  5. package/components/{CasinoCalendarDailyDetails-CNKPmgJW.cjs → CasinoCalendarDailyDetails-CUTyAice.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-qLuUx2VZ.js → CasinoCalendarDailyDetails-D7SMZkT6.js} +45 -45
  7. package/components/{CasinoCalendarDailyItem-DKZuA435.js → CasinoCalendarDailyItem-BTxF_iOC.js} +46 -46
  8. package/components/{CasinoCalendarDailyItem-Dm-IKJx0.cjs → CasinoCalendarDailyItem-CSD4crn_.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DcdOBbU8.js → CasinoCalendarDailyItem-Cpx3YOPg.js} +46 -46
  10. package/components/{CasinoCollectionsProviders-DDg-M4Ky.js → CasinoCollectionsProviders-BzqyvgJV.js} +258 -263
  11. package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +1 -0
  12. package/components/{CasinoCollectionsProviders-DPXPW7Wb.js → CasinoCollectionsProviders-CSskAm-D.js} +260 -265
  13. package/components/{CasinoFavoritesSectionNd-BseQ6ntB.cjs → CasinoFavoritesSectionNd-247dKDFC.cjs} +1 -1
  14. package/components/{CasinoFavoritesSectionNd-DPO11eIl.js → CasinoFavoritesSectionNd-CuDySzEb.js} +31 -31
  15. package/components/{CasinoFavoritesSectionNd-BaYSblX2.js → CasinoFavoritesSectionNd-pNJTskAC.js} +31 -31
  16. package/components/{CasinoFilter-CQA5tRXc.js → CasinoFilter-Bm5nGmim.js} +183 -189
  17. package/components/{CasinoFilter-bjRSwwQj.cjs → CasinoFilter-Dca8BAHj.cjs} +1 -1
  18. package/components/{CasinoFilter-DarCjn7O.js → CasinoFilter-xEI9NRP7.js} +181 -187
  19. package/components/{CasinoGameThumbnailNd-M5MyMQqb.cjs → CasinoGameThumbnailNd-BfWisWyd.cjs} +1 -1
  20. package/components/{CasinoGameThumbnailNd-C8JF_kRW.js → CasinoGameThumbnailNd-D2UjvU5o.js} +62 -62
  21. package/components/{CasinoGameThumbnailNd-CMWvCrxU.js → CasinoGameThumbnailNd-DZ5EJquh.js} +62 -62
  22. package/components/{CasinoGamesCategorySectionNd-DzkueBMw.cjs → CasinoGamesCategorySectionNd-B-A_G5UN.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySectionNd-D97PLCZQ.js → CasinoGamesCategorySectionNd-BgeZaX3s.js} +70 -70
  24. package/components/{CasinoGamesCategorySectionNd-B7bxi7wJ.js → CasinoGamesCategorySectionNd-ma7TF55B.js} +132 -132
  25. package/components/CasinoJackpotBanner-BIHc0ZJN.js +690 -0
  26. package/components/CasinoJackpotBanner-C7IpKgXw.cjs +1 -0
  27. package/components/CasinoJackpotBanner-rIlKc9yB.js +686 -0
  28. package/components/{CasinoLastPlayedSectionNd-C-VkTH2C.js → CasinoLastPlayedSectionNd-5kInnaFM.js} +28 -28
  29. package/components/{CasinoLastPlayedSectionNd-K-wgzihy.cjs → CasinoLastPlayedSectionNd-BvnsjzpW.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSectionNd-D7cVedev.js → CasinoLastPlayedSectionNd-D5LPHn4E.js} +28 -28
  31. package/components/{CasinoMostPlayedSectionNd-DBY9uW22.js → CasinoMostPlayedSectionNd-6T1QffJK.js} +36 -36
  32. package/components/{CasinoMostPlayedSectionNd-DLd7wPNf.cjs → CasinoMostPlayedSectionNd-BTglRQ5Z.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSectionNd-DT0BhU2p.js → CasinoMostPlayedSectionNd-BZLYBtpa.js} +36 -36
  34. package/components/{CasinoMyGamesNd-BYler1NB.js → CasinoMyGamesNd-C1mKXnRw.js} +50 -50
  35. package/components/{CasinoMyGamesNd-DQQ8Lo5B.cjs → CasinoMyGamesNd-Cy4rvXQw.cjs} +1 -1
  36. package/components/{CasinoMyGamesNd-tEImAPBs.js → CasinoMyGamesNd-ddeJWUGs.js} +52 -52
  37. package/components/{CasinoPageNd-CbP1X2KC.js → CasinoPageNd-C2L_-oKQ.js} +145 -145
  38. package/components/{CasinoPageNd-D9CuZV8a.cjs → CasinoPageNd-CRr4o1nm.cjs} +1 -1
  39. package/components/{CasinoPageNd-BbdpaE5v.js → CasinoPageNd-tLjlJcsj.js} +142 -142
  40. package/components/{CasinoRandomGame-CGpFFaoE.js → CasinoRandomGame-BB1xnS-3.js} +225 -227
  41. package/components/{CasinoRandomGame-CWMW9E0i.js → CasinoRandomGame-Os6RvrQW.js} +244 -246
  42. package/components/{CasinoRandomGame-D1NgXW5u.cjs → CasinoRandomGame-XLB_bCSb.cjs} +2 -2
  43. package/components/{CasinoSearchNd-BNECYNN3.cjs → CasinoSearchNd-BFH_Q8-4.cjs} +1 -1
  44. package/components/{CasinoSearchNd-BnS9e06D.js → CasinoSearchNd-CG9DW_9F.js} +74 -74
  45. package/components/{CasinoSearchNd-Dr-tu25u.js → CasinoSearchNd-DQqoQRhE.js} +76 -76
  46. package/components/CasinoSort-85kTtPeQ.cjs +1 -0
  47. package/components/CasinoSort-B6tKDPof.js +428 -0
  48. package/components/CasinoSort-D05yyakn.js +427 -0
  49. package/components/{CasinoWinners-Brfa3DHB.js → CasinoWinners-BhzxeUZ8.js} +347 -344
  50. package/components/CasinoWinners-CGsgZ7OE.cjs +1 -0
  51. package/components/{CasinoWinners-CFPyLxtr.js → CasinoWinners-DNTYhXqC.js} +338 -335
  52. package/components/{GeneralAnimationLoading-DqRALFbY.cjs → GeneralAnimationLoading--i35RrmV.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-CM50RqcF.js → GeneralAnimationLoading-BTpSb-no.js} +8 -8
  54. package/components/{GeneralAnimationLoading-DVXxEF3S.js → GeneralAnimationLoading-DUpN0ANa.js} +8 -8
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
  60. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
  61. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
  62. package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
  63. package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
  64. package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
  65. package/components/CasinoCalendar-D2xyIjnZ.cjs +0 -6
  66. package/components/CasinoCollectionsProviders-BpPCl2Cs.cjs +0 -1
  67. package/components/CasinoJackpotBanner-BzQTQP0g.js +0 -618
  68. package/components/CasinoJackpotBanner-CyMIq-Hw.js +0 -614
  69. package/components/CasinoJackpotBanner-DrH5T9F0.cjs +0 -1
  70. package/components/CasinoSort-B5j-QwSa.cjs +0 -1
  71. package/components/CasinoSort-BKXVp_Q-.js +0 -432
  72. package/components/CasinoSort-mWbCQ4MJ.js +0 -431
  73. package/components/CasinoWinners-WPMrk6iO.cjs +0 -1
  74. package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
  75. package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
  76. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,106 +1,106 @@
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 Ie = (e, t, r) => t in e ? Sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
1
+ var Pr = Object.defineProperty, Ar = Object.defineProperties;
2
+ var Or = Object.getOwnPropertyDescriptors;
3
+ var at = Object.getOwnPropertySymbols;
4
+ var Ir = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable;
5
+ var Ie = (e, t, r) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Hr.call(t, r) && Ie(e, r, t[r]);
8
- if (it)
9
- for (var r of it(t))
10
- Br.call(t, r) && Ie(e, r, t[r]);
7
+ Ir.call(t, r) && Ie(e, r, t[r]);
8
+ if (at)
9
+ for (var r of at(t))
10
+ Cr.call(t, r) && Ie(e, r, t[r]);
11
11
  return e;
12
- }, st = (e, t) => wr(e, Tr(t));
12
+ }, lt = (e, t) => Ar(e, Or(t));
13
13
  var T = (e, t, r) => Ie(e, typeof t != "symbol" ? t + "" : t, r);
14
- var at = (e, t, r) => new Promise((n, i) => {
14
+ var ht = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
- a(r.next(l));
17
+ s(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, s = (l) => {
21
+ }, a = (l) => {
22
22
  try {
23
- a(r.throw(l));
23
+ s(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);
28
- a((r = r.apply(e, t)).next());
27
+ }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
+ s((r = r.apply(e, t)).next());
29
29
  });
30
- function A() {
30
+ function O() {
31
31
  }
32
- function Pr(e, t) {
32
+ function Lr(e, t) {
33
33
  for (const r in t) e[r] = t[r];
34
34
  return (
35
35
  /** @type {T & S} */
36
36
  e
37
37
  );
38
38
  }
39
- function $t(e) {
39
+ function Gt(e) {
40
40
  return e();
41
41
  }
42
- function ut() {
42
+ function ct() {
43
43
  return /* @__PURE__ */ Object.create(null);
44
44
  }
45
45
  function W(e) {
46
- e.forEach($t);
46
+ e.forEach(Gt);
47
47
  }
48
48
  function Te(e) {
49
49
  return typeof e == "function";
50
50
  }
51
- function Dt(e, t) {
51
+ function Ft(e, t) {
52
52
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
53
  }
54
54
  let pe;
55
- function ho(e, t) {
55
+ function yo(e, t) {
56
56
  return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
57
57
  }
58
- function Ar(e) {
58
+ function Mr(e) {
59
59
  return Object.keys(e).length === 0;
60
60
  }
61
- function Ut(e, ...t) {
61
+ function jt(e, ...t) {
62
62
  if (e == null) {
63
63
  for (const n of t)
64
64
  n(void 0);
65
- return A;
65
+ return O;
66
66
  }
67
67
  const r = e.subscribe(...t);
68
68
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
69
  }
70
- function Or(e, t, r) {
71
- e.$$.on_destroy.push(Ut(t, r));
70
+ function Nr(e, t, r) {
71
+ e.$$.on_destroy.push(jt(t, r));
72
72
  }
73
- function co(e, t, r, n) {
73
+ function go(e, t, r, n) {
74
74
  if (e) {
75
- const i = Gt(e, t, r, n);
75
+ const i = kt(e, t, r, n);
76
76
  return e[0](i);
77
77
  }
78
78
  }
79
- function Gt(e, t, r, n) {
80
- return e[1] && n ? Pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
79
+ function kt(e, t, r, n) {
80
+ return e[1] && n ? Lr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
81
  }
82
- function fo(e, t, r, n) {
82
+ function vo(e, t, r, n) {
83
83
  if (e[2] && n) {
84
84
  const i = e[2](n(r));
85
85
  if (t.dirty === void 0)
86
86
  return i;
87
87
  if (typeof i == "object") {
88
- const o = [], s = Math.max(t.dirty.length, i.length);
89
- for (let a = 0; a < s; a += 1)
90
- o[a] = t.dirty[a] | i[a];
88
+ const o = [], a = Math.max(t.dirty.length, i.length);
89
+ for (let s = 0; s < a; s += 1)
90
+ o[s] = t.dirty[s] | i[s];
91
91
  return o;
92
92
  }
93
93
  return t.dirty | i;
94
94
  }
95
95
  return t.dirty;
96
96
  }
97
- function po(e, t, r, n, i, o) {
97
+ function _o(e, t, r, n, i, o) {
98
98
  if (i) {
99
- const s = Gt(t, r, n, o);
100
- e.p(s, i);
99
+ const a = kt(t, r, n, o);
100
+ e.p(a, i);
101
101
  }
102
102
  }
103
- function mo(e) {
103
+ function Eo(e) {
104
104
  if (e.ctx.length > 32) {
105
105
  const t = [], r = e.ctx.length / 32;
106
106
  for (let n = 0; n < r; n++)
@@ -109,20 +109,20 @@ function mo(e) {
109
109
  }
110
110
  return -1;
111
111
  }
112
- function bo(e) {
113
- return e && Te(e.destroy) ? e.destroy : A;
112
+ function xo(e) {
113
+ return e && Te(e.destroy) ? e.destroy : O;
114
114
  }
115
115
  function fe(e, t) {
116
116
  e.appendChild(t);
117
117
  }
118
- function Ir(e, t, r) {
119
- const n = Cr(e);
118
+ function Rr(e, t, r) {
119
+ const n = $r(e);
120
120
  if (!n.getElementById(t)) {
121
121
  const i = M("style");
122
- i.id = t, i.textContent = r, Lr(n, i);
122
+ i.id = t, i.textContent = r, Dr(n, i);
123
123
  }
124
124
  }
125
- function Cr(e) {
125
+ function $r(e) {
126
126
  if (!e) return document;
127
127
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
128
128
  return t && /** @type {ShadowRoot} */
@@ -131,7 +131,7 @@ function Cr(e) {
131
131
  t
132
132
  ) : e.ownerDocument;
133
133
  }
134
- function Lr(e, t) {
134
+ function Dr(e, t) {
135
135
  return fe(
136
136
  /** @type {Document} */
137
137
  e.head || e,
@@ -144,29 +144,29 @@ function k(e, t, r) {
144
144
  function D(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function Nr(e, t) {
147
+ function Ur(e, t) {
148
148
  for (let r = 0; r < e.length; r += 1)
149
149
  e[r] && e[r].d(t);
150
150
  }
151
151
  function M(e) {
152
152
  return document.createElement(e);
153
153
  }
154
- function Mr(e) {
154
+ function Gr(e) {
155
155
  return document.createElementNS("http://www.w3.org/2000/svg", e);
156
156
  }
157
- function tt(e) {
157
+ function rt(e) {
158
158
  return document.createTextNode(e);
159
159
  }
160
- function Rr() {
161
- return tt(" ");
160
+ function Fr() {
161
+ return rt(" ");
162
162
  }
163
- function yo() {
164
- return tt("");
163
+ function wo() {
164
+ return rt("");
165
165
  }
166
- function lt(e, t, r, n) {
166
+ function ft(e, t, r, n) {
167
167
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
168
168
  }
169
- function go(e) {
169
+ function So(e) {
170
170
  return function(t) {
171
171
  return t.stopPropagation(), e.call(this, t);
172
172
  };
@@ -178,21 +178,21 @@ function m(e, t, r) {
178
178
  const n = t.toLowerCase();
179
179
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : X(e, t, r);
180
180
  }
181
- function $r(e) {
181
+ function jr(e) {
182
182
  return Array.from(e.childNodes);
183
183
  }
184
- function Dr(e, t) {
184
+ function kr(e, t) {
185
185
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
186
186
  t);
187
187
  }
188
- function vo(e, t) {
188
+ function To(e, t) {
189
189
  e.value = t == null ? "" : t;
190
190
  }
191
- function _o(e, t, r, n) {
191
+ function Ho(e, t, r, n) {
192
192
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
193
193
  }
194
194
  let me;
195
- function Ur() {
195
+ function Vr() {
196
196
  if (me === void 0) {
197
197
  me = !1;
198
198
  try {
@@ -203,32 +203,32 @@ function Ur() {
203
203
  }
204
204
  return me;
205
205
  }
206
- function Eo(e, t) {
206
+ function Bo(e, t) {
207
207
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
208
208
  const n = M("iframe");
209
209
  n.setAttribute(
210
210
  "style",
211
211
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
212
212
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
213
- const i = Ur();
213
+ const i = Vr();
214
214
  let o;
215
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = lt(
215
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ft(
216
216
  window,
217
217
  "message",
218
218
  /** @param {MessageEvent} event */
219
- (s) => {
220
- s.source === n.contentWindow && t();
219
+ (a) => {
220
+ a.source === n.contentWindow && t();
221
221
  }
222
222
  )) : (n.src = "about:blank", n.onload = () => {
223
- o = lt(n.contentWindow, "resize", t), t();
223
+ o = ft(n.contentWindow, "resize", t), t();
224
224
  }), fe(e, n), () => {
225
225
  (i || o && n.contentWindow) && o(), D(n);
226
226
  };
227
227
  }
228
- function xo(e, t, r) {
228
+ function Po(e, t, r) {
229
229
  e.classList.toggle(t, !!r);
230
230
  }
231
- class So {
231
+ class Ao {
232
232
  constructor(t = !1) {
233
233
  /**
234
234
  * @private
@@ -259,7 +259,7 @@ class So {
259
259
  * @returns {void}
260
260
  */
261
261
  m(t, r, n = null) {
262
- this.e || (this.is_svg ? this.e = Mr(
262
+ this.e || (this.is_svg ? this.e = Gr(
263
263
  /** @type {keyof SVGElementTagNameMap} */
264
264
  r.nodeName
265
265
  ) : this.e = M(
@@ -298,7 +298,7 @@ class So {
298
298
  this.n.forEach(D);
299
299
  }
300
300
  }
301
- function Gr(e) {
301
+ function Xr(e) {
302
302
  const t = {};
303
303
  return e.childNodes.forEach(
304
304
  /** @param {Element} node */
@@ -311,29 +311,32 @@ let le;
311
311
  function ue(e) {
312
312
  le = e;
313
313
  }
314
- function Fr() {
314
+ function Vt() {
315
315
  if (!le) throw new Error("Function called outside component initialization");
316
316
  return le;
317
317
  }
318
- function jr(e) {
319
- Fr().$$.on_mount.push(e);
318
+ function Wr(e) {
319
+ Vt().$$.on_mount.push(e);
320
320
  }
321
- const J = [], Ue = [];
321
+ function Oo(e) {
322
+ Vt().$$.on_destroy.push(e);
323
+ }
324
+ const J = [], Ge = [];
322
325
  let Y = [];
323
- const ht = [], Ft = /* @__PURE__ */ Promise.resolve();
324
- let Ge = !1;
325
- function jt() {
326
- Ge || (Ge = !0, Ft.then(U));
326
+ const dt = [], Xt = /* @__PURE__ */ Promise.resolve();
327
+ let Fe = !1;
328
+ function Wt() {
329
+ Fe || (Fe = !0, Xt.then($));
327
330
  }
328
- function wo() {
329
- return jt(), Ft;
331
+ function Io() {
332
+ return Wt(), Xt;
330
333
  }
331
- function Fe(e) {
334
+ function je(e) {
332
335
  Y.push(e);
333
336
  }
334
337
  const Ce = /* @__PURE__ */ new Set();
335
338
  let Z = 0;
336
- function U() {
339
+ function $() {
337
340
  if (Z !== 0)
338
341
  return;
339
342
  const e = le;
@@ -341,36 +344,36 @@ function U() {
341
344
  try {
342
345
  for (; Z < J.length; ) {
343
346
  const t = J[Z];
344
- Z++, ue(t), kr(t.$$);
347
+ Z++, ue(t), zr(t.$$);
345
348
  }
346
349
  } catch (t) {
347
350
  throw J.length = 0, Z = 0, t;
348
351
  }
349
- for (ue(null), J.length = 0, Z = 0; Ue.length; ) Ue.pop()();
352
+ for (ue(null), J.length = 0, Z = 0; Ge.length; ) Ge.pop()();
350
353
  for (let t = 0; t < Y.length; t += 1) {
351
354
  const r = Y[t];
352
355
  Ce.has(r) || (Ce.add(r), r());
353
356
  }
354
357
  Y.length = 0;
355
358
  } while (J.length);
356
- for (; ht.length; )
357
- ht.pop()();
358
- Ge = !1, Ce.clear(), ue(e);
359
+ for (; dt.length; )
360
+ dt.pop()();
361
+ Fe = !1, Ce.clear(), ue(e);
359
362
  }
360
- function kr(e) {
363
+ function zr(e) {
361
364
  if (e.fragment !== null) {
362
365
  e.update(), W(e.before_update);
363
366
  const t = e.dirty;
364
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
367
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
365
368
  }
366
369
  }
367
- function Vr(e) {
370
+ function qr(e) {
368
371
  const t = [], r = [];
369
372
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
370
373
  }
371
374
  const ge = /* @__PURE__ */ new Set();
372
375
  let V;
373
- function To() {
376
+ function Co() {
374
377
  V = {
375
378
  r: 0,
376
379
  c: [],
@@ -378,13 +381,13 @@ function To() {
378
381
  // parent group
379
382
  };
380
383
  }
381
- function Ho() {
384
+ function Lo() {
382
385
  V.r || W(V.c), V = V.p;
383
386
  }
384
- function kt(e, t) {
387
+ function zt(e, t) {
385
388
  e && e.i && (ge.delete(e), e.i(t));
386
389
  }
387
- function Bo(e, t, r, n) {
390
+ function Mo(e, t, r, n) {
388
391
  if (e && e.o) {
389
392
  if (ge.has(e)) return;
390
393
  ge.add(e), V.c.push(() => {
@@ -392,52 +395,52 @@ function Bo(e, t, r, n) {
392
395
  }), e.o(t);
393
396
  } else n && n();
394
397
  }
395
- function ct(e) {
398
+ function pt(e) {
396
399
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
397
400
  }
398
- function Po(e, t) {
401
+ function No(e, t) {
399
402
  e.d(1), t.delete(e.key);
400
403
  }
401
- function Ao(e, t, r, n, i, o, s, a, l, u, h, f) {
402
- let c = e.length, p = o.length, b = c;
403
- const v = {};
404
- for (; b--; ) v[e[b].key] = b;
405
- const S = [], O = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), H = [];
406
- for (b = p; b--; ) {
407
- const E = f(i, o, b), C = r(E);
408
- let L = s.get(C);
409
- L ? H.push(() => L.p(E, t)) : (L = u(C, E), L.c()), O.set(C, S[b] = L), C in v && P.set(C, Math.abs(b - v[C]));
404
+ function Ro(e, t, r, n, i, o, a, s, l, u, h, f) {
405
+ let c = e.length, d = o.length, b = c;
406
+ const g = {};
407
+ for (; b--; ) g[e[b].key] = b;
408
+ const w = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), S = [];
409
+ for (b = d; b--; ) {
410
+ const x = f(i, o, b), L = r(x);
411
+ let A = a.get(L);
412
+ A ? S.push(() => A.p(x, t)) : (A = u(L, x), A.c()), I.set(L, w[b] = A), L in g && P.set(L, Math.abs(b - g[L]));
410
413
  }
411
- const R = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
412
- function $(E) {
413
- kt(E, 1), E.m(a, h), s.set(E.key, E), h = E.first, p--;
414
+ const N = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
415
+ function R(x) {
416
+ zt(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, d--;
414
417
  }
415
- for (; c && p; ) {
416
- const E = S[p - 1], C = e[c - 1], L = E.key, q = C.key;
417
- E === C ? (h = E.first, c--, p--) : O.has(q) ? !s.has(L) || R.has(L) ? $(E) : I.has(q) ? c-- : P.get(L) > P.get(q) ? (I.add(L), $(E)) : (R.add(q), c--) : (l(C, s), c--);
418
+ for (; c && d; ) {
419
+ const x = w[d - 1], L = e[c - 1], A = x.key, q = L.key;
420
+ x === L ? (h = x.first, c--, d--) : I.has(q) ? !a.has(A) || N.has(A) ? R(x) : C.has(q) ? c-- : P.get(A) > P.get(q) ? (C.add(A), R(x)) : (N.add(q), c--) : (l(L, a), c--);
418
421
  }
419
422
  for (; c--; ) {
420
- const E = e[c];
421
- O.has(E.key) || l(E, s);
423
+ const x = e[c];
424
+ I.has(x.key) || l(x, a);
422
425
  }
423
- for (; p; ) $(S[p - 1]);
424
- return W(H), S;
426
+ for (; d; ) R(w[d - 1]);
427
+ return W(S), w;
425
428
  }
426
- function Xr(e, t, r) {
429
+ function Zr(e, t, r) {
427
430
  const { fragment: n, after_update: i } = e.$$;
428
- n && n.m(t, r), Fe(() => {
429
- const o = e.$$.on_mount.map($t).filter(Te);
431
+ n && n.m(t, r), je(() => {
432
+ const o = e.$$.on_mount.map(Gt).filter(Te);
430
433
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
431
- }), i.forEach(Fe);
434
+ }), i.forEach(je);
432
435
  }
433
- function Wr(e, t) {
436
+ function Qr(e, t) {
434
437
  const r = e.$$;
435
- r.fragment !== null && (Vr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
438
+ r.fragment !== null && (qr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
436
439
  }
437
- function zr(e, t) {
438
- e.$$.dirty[0] === -1 && (J.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
440
+ function Jr(e, t) {
441
+ e.$$.dirty[0] === -1 && (J.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
439
442
  }
440
- function qr(e, t, r, n, i, o, s = null, a = [-1]) {
443
+ function Yr(e, t, r, n, i, o, a = null, s = [-1]) {
441
444
  const l = le;
442
445
  ue(e);
443
446
  const u = e.$$ = {
@@ -445,9 +448,9 @@ function qr(e, t, r, n, i, o, s = null, a = [-1]) {
445
448
  ctx: [],
446
449
  // state
447
450
  props: o,
448
- update: A,
451
+ update: O,
449
452
  not_equal: i,
450
- bound: ut(),
453
+ bound: ct(),
451
454
  // lifecycle
452
455
  on_mount: [],
453
456
  on_destroy: [],
@@ -456,28 +459,28 @@ function qr(e, t, r, n, i, o, s = null, a = [-1]) {
456
459
  after_update: [],
457
460
  context: new Map(t.context || (l ? l.$$.context : [])),
458
461
  // everything else
459
- callbacks: ut(),
460
- dirty: a,
462
+ callbacks: ct(),
463
+ dirty: s,
461
464
  skip_bound: !1,
462
465
  root: t.target || l.$$.root
463
466
  };
464
- s && s(u.root);
467
+ a && a(u.root);
465
468
  let h = !1;
466
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
467
- const b = p.length ? p[0] : c;
468
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && zr(e, f)), c;
469
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
470
+ const b = d.length ? d[0] : c;
471
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Jr(e, f)), c;
469
472
  }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
470
473
  if (t.hydrate) {
471
- const f = $r(t.target);
474
+ const f = jr(t.target);
472
475
  u.fragment && u.fragment.l(f), f.forEach(D);
473
476
  } else
474
477
  u.fragment && u.fragment.c();
475
- t.intro && kt(e.$$.fragment), Xr(e, t.target, t.anchor), U();
478
+ t.intro && zt(e.$$.fragment), Zr(e, t.target, t.anchor), $();
476
479
  }
477
480
  ue(l);
478
481
  }
479
- let Vt;
480
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
482
+ let qt;
483
+ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
481
484
  constructor(t, r, n) {
482
485
  super();
483
486
  /** The Svelte component constructor */
@@ -514,42 +517,42 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
514
517
  }
515
518
  }
516
519
  connectedCallback() {
517
- return at(this, null, function* () {
520
+ return ht(this, null, function* () {
518
521
  if (this.$$cn = !0, !this.$$c) {
519
522
  let t = function(o) {
520
523
  return () => {
521
- let s;
524
+ let a;
522
525
  return {
523
526
  c: function() {
524
- s = M("slot"), o !== "default" && X(s, "name", o);
527
+ a = M("slot"), o !== "default" && X(a, "name", o);
525
528
  },
526
529
  /**
527
530
  * @param {HTMLElement} target
528
531
  * @param {HTMLElement} [anchor]
529
532
  */
530
533
  m: function(u, h) {
531
- k(u, s, h);
534
+ k(u, a, h);
532
535
  },
533
536
  d: function(u) {
534
- u && D(s);
537
+ u && D(a);
535
538
  }
536
539
  };
537
540
  };
538
541
  };
539
542
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
540
543
  return;
541
- const r = {}, n = Gr(this);
544
+ const r = {}, n = Xr(this);
542
545
  for (const o of this.$$s)
543
546
  o in n && (r[o] = [t(o)]);
544
547
  for (const o of this.attributes) {
545
- const s = this.$$g_p(o.name);
546
- s in this.$$d || (this.$$d[s] = ve(s, o.value, this.$$p_d, "toProp"));
548
+ const a = this.$$g_p(o.name);
549
+ a in this.$$d || (this.$$d[a] = ve(a, o.value, this.$$p_d, "toProp"));
547
550
  }
548
551
  for (const o in this.$$p_d)
549
552
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
550
553
  this.$$c = new this.$$ctor({
551
554
  target: this.shadowRoot || this,
552
- props: st(ot({}, this.$$d), {
555
+ props: lt(ut({}, this.$$d), {
553
556
  $$slots: r,
554
557
  $$scope: {
555
558
  ctx: []
@@ -560,21 +563,21 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
560
563
  this.$$r = !0;
561
564
  for (const o in this.$$p_d)
562
565
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
563
- const s = ve(
566
+ const a = ve(
564
567
  o,
565
568
  this.$$d[o],
566
569
  this.$$p_d,
567
570
  "toAttribute"
568
571
  );
569
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
572
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
570
573
  }
571
574
  this.$$r = !1;
572
575
  };
573
576
  this.$$c.$$.after_update.push(i), i();
574
577
  for (const o in this.$$l)
575
- for (const s of this.$$l[o]) {
576
- const a = this.$$c.$on(o, s);
577
- this.$$l_u.set(s, a);
578
+ for (const a of this.$$l[o]) {
579
+ const s = this.$$c.$on(o, a);
580
+ this.$$l_u.set(a, s);
578
581
  }
579
582
  this.$$l = {};
580
583
  }
@@ -627,38 +630,38 @@ function ve(e, t, r, n) {
627
630
  return t;
628
631
  }
629
632
  }
630
- function Zr(e, t, r, n, i, o) {
631
- let s = class extends Vt {
633
+ function Kr(e, t, r, n, i, o) {
634
+ let a = class extends qt {
632
635
  constructor() {
633
636
  super(e, r, i), this.$$p_d = t;
634
637
  }
635
638
  static get observedAttributes() {
636
639
  return Object.keys(t).map(
637
- (a) => (t[a].attribute || a).toLowerCase()
640
+ (s) => (t[s].attribute || s).toLowerCase()
638
641
  );
639
642
  }
640
643
  };
641
- return Object.keys(t).forEach((a) => {
642
- Object.defineProperty(s.prototype, a, {
644
+ return Object.keys(t).forEach((s) => {
645
+ Object.defineProperty(a.prototype, s, {
643
646
  get() {
644
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
647
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
645
648
  },
646
649
  set(l) {
647
650
  var u;
648
- l = ve(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
651
+ l = ve(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
649
652
  }
650
653
  });
651
- }), n.forEach((a) => {
652
- Object.defineProperty(s.prototype, a, {
654
+ }), n.forEach((s) => {
655
+ Object.defineProperty(a.prototype, s, {
653
656
  get() {
654
657
  var l;
655
- return (l = this.$$c) == null ? void 0 : l[a];
658
+ return (l = this.$$c) == null ? void 0 : l[s];
656
659
  }
657
660
  });
658
661
  }), e.element = /** @type {any} */
659
- s, s;
662
+ a, a;
660
663
  }
661
- class Qr {
664
+ class en {
662
665
  constructor() {
663
666
  /**
664
667
  * ### PRIVATE API
@@ -679,7 +682,7 @@ class Qr {
679
682
  }
680
683
  /** @returns {void} */
681
684
  $destroy() {
682
- Wr(this, 1), this.$destroy = A;
685
+ Qr(this, 1), this.$destroy = O;
683
686
  }
684
687
  /**
685
688
  * @template {Extract<keyof Events, string>} K
@@ -689,7 +692,7 @@ class Qr {
689
692
  */
690
693
  $on(t, r) {
691
694
  if (!Te(r))
692
- return A;
695
+ return O;
693
696
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
694
697
  return n.push(r), () => {
695
698
  const i = n.indexOf(r);
@@ -701,22 +704,22 @@ class Qr {
701
704
  * @returns {void}
702
705
  */
703
706
  $set(t) {
704
- this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
707
+ this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
705
708
  }
706
709
  }
707
- const Jr = "4";
708
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
709
- var je = function(e, t) {
710
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
710
+ const tn = "4";
711
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
712
+ var ke = function(e, t) {
713
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
711
714
  r.__proto__ = n;
712
715
  } || function(r, n) {
713
716
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
714
- }, je(e, t);
717
+ }, ke(e, t);
715
718
  };
716
- function F(e, t) {
719
+ function G(e, t) {
717
720
  if (typeof t != "function" && t !== null)
718
721
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
719
- je(e, t);
722
+ ke(e, t);
720
723
  function r() {
721
724
  this.constructor = e;
722
725
  }
@@ -731,7 +734,7 @@ var _ = function() {
731
734
  return t;
732
735
  }, _.apply(this, arguments);
733
736
  };
734
- function Yr(e, t) {
737
+ function rn(e, t) {
735
738
  var r = {};
736
739
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
737
740
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -739,7 +742,7 @@ function Yr(e, t) {
739
742
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
740
743
  return r;
741
744
  }
742
- function ke(e) {
745
+ function Ve(e) {
743
746
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
744
747
  if (r) return r.call(e);
745
748
  if (e && typeof e.length == "number") return {
@@ -749,19 +752,19 @@ function ke(e) {
749
752
  };
750
753
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
751
754
  }
752
- function Ve(e, t) {
755
+ function Xe(e, t) {
753
756
  var r = typeof Symbol == "function" && e[Symbol.iterator];
754
757
  if (!r) return e;
755
- var n = r.call(e), i, o = [], s;
758
+ var n = r.call(e), i, o = [], a;
756
759
  try {
757
760
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
758
- } catch (a) {
759
- s = { error: a };
761
+ } catch (s) {
762
+ a = { error: s };
760
763
  } finally {
761
764
  try {
762
765
  i && !i.done && (r = n.return) && r.call(n);
763
766
  } finally {
764
- if (s) throw s.error;
767
+ if (a) throw a.error;
765
768
  }
766
769
  }
767
770
  return o;
@@ -771,16 +774,16 @@ function K(e, t, r) {
771
774
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
772
775
  return e.concat(o || Array.prototype.slice.call(t));
773
776
  }
774
- function G(e) {
777
+ function U(e) {
775
778
  return typeof e == "function";
776
779
  }
777
- function Xt(e) {
780
+ function Zt(e) {
778
781
  var t = function(n) {
779
782
  Error.call(n), n.stack = new Error().stack;
780
783
  }, r = e(t);
781
784
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
782
785
  }
783
- var Le = Xt(function(e) {
786
+ var Le = Zt(function(e) {
784
787
  return function(r) {
785
788
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
786
789
  ` + r.map(function(n, i) {
@@ -789,7 +792,7 @@ var Le = Xt(function(e) {
789
792
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
790
793
  };
791
794
  });
792
- function Xe(e, t) {
795
+ function We(e, t) {
793
796
  if (e) {
794
797
  var r = e.indexOf(t);
795
798
  0 <= r && e.splice(r, 1);
@@ -803,49 +806,49 @@ var He = function() {
803
806
  var t, r, n, i, o;
804
807
  if (!this.closed) {
805
808
  this.closed = !0;
806
- var s = this._parentage;
807
- if (s)
808
- if (this._parentage = null, Array.isArray(s))
809
+ var a = this._parentage;
810
+ if (a)
811
+ if (this._parentage = null, Array.isArray(a))
809
812
  try {
810
- for (var a = ke(s), l = a.next(); !l.done; l = a.next()) {
813
+ for (var s = Ve(a), l = s.next(); !l.done; l = s.next()) {
811
814
  var u = l.value;
812
815
  u.remove(this);
813
816
  }
814
- } catch (v) {
815
- t = { error: v };
817
+ } catch (g) {
818
+ t = { error: g };
816
819
  } finally {
817
820
  try {
818
- l && !l.done && (r = a.return) && r.call(a);
821
+ l && !l.done && (r = s.return) && r.call(s);
819
822
  } finally {
820
823
  if (t) throw t.error;
821
824
  }
822
825
  }
823
826
  else
824
- s.remove(this);
827
+ a.remove(this);
825
828
  var h = this.initialTeardown;
826
- if (G(h))
829
+ if (U(h))
827
830
  try {
828
831
  h();
829
- } catch (v) {
830
- o = v instanceof Le ? v.errors : [v];
832
+ } catch (g) {
833
+ o = g instanceof Le ? g.errors : [g];
831
834
  }
832
835
  var f = this._finalizers;
833
836
  if (f) {
834
837
  this._finalizers = null;
835
838
  try {
836
- for (var c = ke(f), p = c.next(); !p.done; p = c.next()) {
837
- var b = p.value;
839
+ for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
840
+ var b = d.value;
838
841
  try {
839
- ft(b);
840
- } catch (v) {
841
- o = o != null ? o : [], v instanceof Le ? o = K(K([], Ve(o)), Ve(v.errors)) : o.push(v);
842
+ mt(b);
843
+ } catch (g) {
844
+ o = o != null ? o : [], g instanceof Le ? o = K(K([], Xe(o)), Xe(g.errors)) : o.push(g);
842
845
  }
843
846
  }
844
- } catch (v) {
845
- n = { error: v };
847
+ } catch (g) {
848
+ n = { error: g };
846
849
  } finally {
847
850
  try {
848
- p && !p.done && (i = c.return) && i.call(c);
851
+ d && !d.done && (i = c.return) && i.call(c);
849
852
  } finally {
850
853
  if (n) throw n.error;
851
854
  }
@@ -858,7 +861,7 @@ var He = function() {
858
861
  var r;
859
862
  if (t && t !== this)
860
863
  if (this.closed)
861
- ft(t);
864
+ mt(t);
862
865
  else {
863
866
  if (t instanceof e) {
864
867
  if (t.closed || t._hasParent(this))
@@ -875,52 +878,56 @@ var He = function() {
875
878
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
876
879
  }, e.prototype._removeParent = function(t) {
877
880
  var r = this._parentage;
878
- r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
881
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
879
882
  }, e.prototype.remove = function(t) {
880
883
  var r = this._finalizers;
881
- r && Xe(r, t), t instanceof e && t._removeParent(this);
884
+ r && We(r, t), t instanceof e && t._removeParent(this);
882
885
  }, e.EMPTY = function() {
883
886
  var t = new e();
884
887
  return t.closed = !0, t;
885
888
  }(), e;
886
- }(), Wt = He.EMPTY;
887
- function zt(e) {
888
- return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
889
+ }(), Qt = He.EMPTY;
890
+ function Jt(e) {
891
+ return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
889
892
  }
890
- function ft(e) {
891
- G(e) ? e() : e.unsubscribe();
892
- }
893
- var Kr = {
894
- Promise: void 0
895
- }, en = {
893
+ function mt(e) {
894
+ U(e) ? e() : e.unsubscribe();
895
+ }
896
+ var Yt = {
897
+ onUnhandledError: null,
898
+ onStoppedNotification: null,
899
+ Promise: void 0,
900
+ useDeprecatedSynchronousErrorHandling: !1,
901
+ useDeprecatedNextContext: !1
902
+ }, nn = {
896
903
  setTimeout: function(e, t) {
897
904
  for (var r = [], n = 2; n < arguments.length; n++)
898
905
  r[n - 2] = arguments[n];
899
- return setTimeout.apply(void 0, K([e, t], Ve(r)));
906
+ return setTimeout.apply(void 0, K([e, t], Xe(r)));
900
907
  },
901
908
  clearTimeout: function(e) {
902
909
  return clearTimeout(e);
903
910
  },
904
911
  delegate: void 0
905
912
  };
906
- function tn(e) {
907
- en.setTimeout(function() {
913
+ function on(e) {
914
+ nn.setTimeout(function() {
908
915
  throw e;
909
916
  });
910
917
  }
911
- function dt() {
918
+ function bt() {
912
919
  }
913
920
  function _e(e) {
914
921
  e();
915
922
  }
916
- var qt = function(e) {
917
- F(t, e);
923
+ var Kt = function(e) {
924
+ G(t, e);
918
925
  function t(r) {
919
926
  var n = e.call(this) || this;
920
- return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = on, n;
927
+ return n.isStopped = !1, r ? (n.destination = r, Jt(r) && r.add(n)) : n.destination = ln, n;
921
928
  }
922
929
  return t.create = function(r, n, i) {
923
- return new We(r, n, i);
930
+ return new ze(r, n, i);
924
931
  }, t.prototype.next = function(r) {
925
932
  this.isStopped || this._next(r);
926
933
  }, t.prototype.error = function(r) {
@@ -944,7 +951,11 @@ var qt = function(e) {
944
951
  this.unsubscribe();
945
952
  }
946
953
  }, t;
947
- }(He), rn = function() {
954
+ }(He), sn = Function.prototype.bind;
955
+ function Me(e, t) {
956
+ return sn.call(e, t);
957
+ }
958
+ var an = function() {
948
959
  function e(t) {
949
960
  this.partialObserver = t;
950
961
  }
@@ -975,43 +986,55 @@ var qt = function(e) {
975
986
  be(r);
976
987
  }
977
988
  }, e;
978
- }(), We = function(e) {
979
- F(t, e);
989
+ }(), ze = function(e) {
990
+ G(t, e);
980
991
  function t(r, n, i) {
981
- var o = e.call(this) || this, s;
982
- return G(r) || !r ? s = {
983
- next: r != null ? r : void 0,
984
- error: n != null ? n : void 0,
985
- complete: i != null ? i : void 0
986
- } : s = r, o.destination = new rn(s), o;
992
+ var o = e.call(this) || this, a;
993
+ if (U(r) || !r)
994
+ a = {
995
+ next: r != null ? r : void 0,
996
+ error: n != null ? n : void 0,
997
+ complete: i != null ? i : void 0
998
+ };
999
+ else {
1000
+ var s;
1001
+ o && Yt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1002
+ return o.unsubscribe();
1003
+ }, a = {
1004
+ next: r.next && Me(r.next, s),
1005
+ error: r.error && Me(r.error, s),
1006
+ complete: r.complete && Me(r.complete, s)
1007
+ }) : a = r;
1008
+ }
1009
+ return o.destination = new an(a), o;
987
1010
  }
988
1011
  return t;
989
- }(qt);
1012
+ }(Kt);
990
1013
  function be(e) {
991
- tn(e);
1014
+ on(e);
992
1015
  }
993
- function nn(e) {
1016
+ function un(e) {
994
1017
  throw e;
995
1018
  }
996
- var on = {
1019
+ var ln = {
997
1020
  closed: !0,
998
- next: dt,
999
- error: nn,
1000
- complete: dt
1001
- }, sn = function() {
1021
+ next: bt,
1022
+ error: un,
1023
+ complete: bt
1024
+ }, hn = function() {
1002
1025
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1003
1026
  }();
1004
- function an(e) {
1027
+ function cn(e) {
1005
1028
  return e;
1006
1029
  }
1007
- function un(e) {
1008
- return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
1030
+ function fn(e) {
1031
+ return e.length === 0 ? cn : e.length === 1 ? e[0] : function(r) {
1009
1032
  return e.reduce(function(n, i) {
1010
1033
  return i(n);
1011
1034
  }, r);
1012
1035
  };
1013
1036
  }
1014
- var pt = function() {
1037
+ var yt = function() {
1015
1038
  function e(t) {
1016
1039
  t && (this._subscribe = t);
1017
1040
  }
@@ -1019,10 +1042,10 @@ var pt = function() {
1019
1042
  var r = new e();
1020
1043
  return r.source = this, r.operator = t, r;
1021
1044
  }, e.prototype.subscribe = function(t, r, n) {
1022
- var i = this, o = hn(t) ? t : new We(t, r, n);
1045
+ var i = this, o = pn(t) ? t : new ze(t, r, n);
1023
1046
  return _e(function() {
1024
- var s = i, a = s.operator, l = s.source;
1025
- o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1047
+ var a = i, s = a.operator, l = a.source;
1048
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1026
1049
  }), o;
1027
1050
  }, e.prototype._trySubscribe = function(t) {
1028
1051
  try {
@@ -1032,37 +1055,37 @@ var pt = function() {
1032
1055
  }
1033
1056
  }, e.prototype.forEach = function(t, r) {
1034
1057
  var n = this;
1035
- return r = mt(r), new r(function(i, o) {
1036
- var s = new We({
1037
- next: function(a) {
1058
+ return r = gt(r), new r(function(i, o) {
1059
+ var a = new ze({
1060
+ next: function(s) {
1038
1061
  try {
1039
- t(a);
1062
+ t(s);
1040
1063
  } catch (l) {
1041
- o(l), s.unsubscribe();
1064
+ o(l), a.unsubscribe();
1042
1065
  }
1043
1066
  },
1044
1067
  error: o,
1045
1068
  complete: i
1046
1069
  });
1047
- n.subscribe(s);
1070
+ n.subscribe(a);
1048
1071
  });
1049
1072
  }, e.prototype._subscribe = function(t) {
1050
1073
  var r;
1051
1074
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1052
- }, e.prototype[sn] = function() {
1075
+ }, e.prototype[hn] = function() {
1053
1076
  return this;
1054
1077
  }, e.prototype.pipe = function() {
1055
1078
  for (var t = [], r = 0; r < arguments.length; r++)
1056
1079
  t[r] = arguments[r];
1057
- return un(t)(this);
1080
+ return fn(t)(this);
1058
1081
  }, e.prototype.toPromise = function(t) {
1059
1082
  var r = this;
1060
- return t = mt(t), new t(function(n, i) {
1083
+ return t = gt(t), new t(function(n, i) {
1061
1084
  var o;
1062
- r.subscribe(function(s) {
1063
- return o = s;
1064
- }, function(s) {
1065
- return i(s);
1085
+ r.subscribe(function(a) {
1086
+ return o = a;
1087
+ }, function(a) {
1088
+ return i(a);
1066
1089
  }, function() {
1067
1090
  return n(o);
1068
1091
  });
@@ -1071,32 +1094,32 @@ var pt = function() {
1071
1094
  return new e(t);
1072
1095
  }, e;
1073
1096
  }();
1074
- function mt(e) {
1097
+ function gt(e) {
1075
1098
  var t;
1076
- return (t = e != null ? e : Kr.Promise) !== null && t !== void 0 ? t : Promise;
1099
+ return (t = e != null ? e : Yt.Promise) !== null && t !== void 0 ? t : Promise;
1077
1100
  }
1078
- function ln(e) {
1079
- return e && G(e.next) && G(e.error) && G(e.complete);
1101
+ function dn(e) {
1102
+ return e && U(e.next) && U(e.error) && U(e.complete);
1080
1103
  }
1081
- function hn(e) {
1082
- return e && e instanceof qt || ln(e) && zt(e);
1104
+ function pn(e) {
1105
+ return e && e instanceof Kt || dn(e) && Jt(e);
1083
1106
  }
1084
- var cn = Xt(function(e) {
1107
+ var mn = Zt(function(e) {
1085
1108
  return function() {
1086
1109
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1087
1110
  };
1088
- }), Zt = function(e) {
1089
- F(t, e);
1111
+ }), er = function(e) {
1112
+ G(t, e);
1090
1113
  function t() {
1091
1114
  var r = e.call(this) || this;
1092
1115
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1093
1116
  }
1094
1117
  return t.prototype.lift = function(r) {
1095
- var n = new bt(this, this);
1118
+ var n = new vt(this, this);
1096
1119
  return n.operator = r, n;
1097
1120
  }, t.prototype._throwIfClosed = function() {
1098
1121
  if (this.closed)
1099
- throw new cn();
1122
+ throw new mn();
1100
1123
  }, t.prototype.next = function(r) {
1101
1124
  var n = this;
1102
1125
  _e(function() {
@@ -1104,15 +1127,15 @@ var cn = Xt(function(e) {
1104
1127
  if (n._throwIfClosed(), !n.isStopped) {
1105
1128
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1106
1129
  try {
1107
- for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1108
- var l = a.value;
1130
+ for (var a = Ve(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1131
+ var l = s.value;
1109
1132
  l.next(r);
1110
1133
  }
1111
1134
  } catch (u) {
1112
1135
  i = { error: u };
1113
1136
  } finally {
1114
1137
  try {
1115
- a && !a.done && (o = s.return) && o.call(s);
1138
+ s && !s.done && (o = a.return) && o.call(a);
1116
1139
  } finally {
1117
1140
  if (i) throw i.error;
1118
1141
  }
@@ -1151,21 +1174,21 @@ var cn = Xt(function(e) {
1151
1174
  }, t.prototype._subscribe = function(r) {
1152
1175
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1153
1176
  }, t.prototype._innerSubscribe = function(r) {
1154
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1155
- return o || s ? Wt : (this.currentObservers = null, a.push(r), new He(function() {
1156
- n.currentObservers = null, Xe(a, r);
1177
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1178
+ return o || a ? Qt : (this.currentObservers = null, s.push(r), new He(function() {
1179
+ n.currentObservers = null, We(s, r);
1157
1180
  }));
1158
1181
  }, t.prototype._checkFinalizedStatuses = function(r) {
1159
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1160
- i ? r.error(o) : s && r.complete();
1182
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1183
+ i ? r.error(o) : a && r.complete();
1161
1184
  }, t.prototype.asObservable = function() {
1162
- var r = new pt();
1185
+ var r = new yt();
1163
1186
  return r.source = this, r;
1164
1187
  }, t.create = function(r, n) {
1165
- return new bt(r, n);
1188
+ return new vt(r, n);
1166
1189
  }, t;
1167
- }(pt), bt = function(e) {
1168
- F(t, e);
1190
+ }(yt), vt = function(e) {
1191
+ G(t, e);
1169
1192
  function t(r, n) {
1170
1193
  var i = e.call(this) || this;
1171
1194
  return i.destination = r, i.source = n, i;
@@ -1181,54 +1204,54 @@ var cn = Xt(function(e) {
1181
1204
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1182
1205
  }, t.prototype._subscribe = function(r) {
1183
1206
  var n, i;
1184
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wt;
1207
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qt;
1185
1208
  }, t;
1186
- }(Zt), Qt = {
1209
+ }(er), tr = {
1187
1210
  now: function() {
1188
- return (Qt.delegate || Date).now();
1211
+ return (tr.delegate || Date).now();
1189
1212
  },
1190
1213
  delegate: void 0
1191
- }, fn = function(e) {
1192
- F(t, e);
1214
+ }, bn = function(e) {
1215
+ G(t, e);
1193
1216
  function t(r, n, i) {
1194
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
1217
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
1195
1218
  var o = e.call(this) || this;
1196
1219
  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;
1197
1220
  }
1198
1221
  return t.prototype.next = function(r) {
1199
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1200
- i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1222
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1223
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1201
1224
  }, t.prototype._subscribe = function(r) {
1202
1225
  this._throwIfClosed(), this._trimBuffer();
1203
- 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)
1204
- r.next(a[l]);
1226
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1227
+ r.next(s[l]);
1205
1228
  return this._checkFinalizedStatuses(r), n;
1206
1229
  }, t.prototype._trimBuffer = function() {
1207
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1208
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1230
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1231
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1209
1232
  for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1210
1233
  u = h;
1211
1234
  u && o.splice(0, u + 1);
1212
1235
  }
1213
1236
  }, t;
1214
- }(Zt);
1215
- const yt = [], gt = {}, dn = (e, t = 0) => {
1216
- if (yt.indexOf(e) == -1) {
1217
- const r = new fn(t);
1218
- gt[e] = r, yt.push(e);
1237
+ }(er);
1238
+ const _t = [], Et = {}, yn = (e, t = 0) => {
1239
+ if (_t.indexOf(e) == -1) {
1240
+ const r = new bn(t);
1241
+ Et[e] = r, _t.push(e);
1219
1242
  }
1220
- return gt[e];
1243
+ return Et[e];
1221
1244
  }, Q = [];
1222
- function pn(e, t) {
1245
+ function gn(e, t) {
1223
1246
  return {
1224
1247
  subscribe: Be(e, t).subscribe
1225
1248
  };
1226
1249
  }
1227
- function Be(e, t = A) {
1250
+ function Be(e, t = O) {
1228
1251
  let r;
1229
1252
  const n = /* @__PURE__ */ new Set();
1230
- function i(a) {
1231
- if (Dt(e, a) && (e = a, r)) {
1253
+ function i(s) {
1254
+ if (Ft(e, s) && (e = s, r)) {
1232
1255
  const l = !Q.length;
1233
1256
  for (const u of n)
1234
1257
  u[1](), Q.push(u, e);
@@ -1239,112 +1262,112 @@ function Be(e, t = A) {
1239
1262
  }
1240
1263
  }
1241
1264
  }
1242
- function o(a) {
1243
- i(a(e));
1265
+ function o(s) {
1266
+ i(s(e));
1244
1267
  }
1245
- function s(a, l = A) {
1246
- const u = [a, l];
1247
- return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
1268
+ function a(s, l = O) {
1269
+ const u = [s, l];
1270
+ return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
1248
1271
  n.delete(u), n.size === 0 && r && (r(), r = null);
1249
1272
  };
1250
1273
  }
1251
- return { set: i, update: o, subscribe: s };
1274
+ return { set: i, update: o, subscribe: a };
1252
1275
  }
1253
1276
  function ie(e, t, r) {
1254
1277
  const n = !Array.isArray(e), i = n ? [e] : e;
1255
1278
  if (!i.every(Boolean))
1256
1279
  throw new Error("derived() expects stores as input, got a falsy value");
1257
1280
  const o = t.length < 2;
1258
- return pn(r, (s, a) => {
1281
+ return gn(r, (a, s) => {
1259
1282
  let l = !1;
1260
1283
  const u = [];
1261
- let h = 0, f = A;
1284
+ let h = 0, f = O;
1262
1285
  const c = () => {
1263
1286
  if (h)
1264
1287
  return;
1265
1288
  f();
1266
- const b = t(n ? u[0] : u, s, a);
1267
- o ? s(b) : f = Te(b) ? b : A;
1268
- }, p = i.map(
1269
- (b, v) => Ut(
1289
+ const b = t(n ? u[0] : u, a, s);
1290
+ o ? a(b) : f = Te(b) ? b : O;
1291
+ }, d = i.map(
1292
+ (b, g) => jt(
1270
1293
  b,
1271
- (S) => {
1272
- u[v] = S, h &= ~(1 << v), l && c();
1294
+ (w) => {
1295
+ u[g] = w, h &= ~(1 << g), l && c();
1273
1296
  },
1274
1297
  () => {
1275
- h |= 1 << v;
1298
+ h |= 1 << g;
1276
1299
  }
1277
1300
  )
1278
1301
  );
1279
1302
  return l = !0, c(), function() {
1280
- W(p), f(), l = !1;
1303
+ W(d), f(), l = !1;
1281
1304
  };
1282
1305
  });
1283
1306
  }
1284
- function mn(e) {
1307
+ function vn(e) {
1285
1308
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1286
1309
  }
1287
- var bn = function(t) {
1288
- return yn(t) && !gn(t);
1310
+ var _n = function(t) {
1311
+ return En(t) && !xn(t);
1289
1312
  };
1290
- function yn(e) {
1313
+ function En(e) {
1291
1314
  return !!e && typeof e == "object";
1292
1315
  }
1293
- function gn(e) {
1316
+ function xn(e) {
1294
1317
  var t = Object.prototype.toString.call(e);
1295
- return t === "[object RegExp]" || t === "[object Date]" || En(e);
1318
+ return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
1296
1319
  }
1297
- var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
1298
- function En(e) {
1299
- return e.$$typeof === _n;
1320
+ var wn = typeof Symbol == "function" && Symbol.for, Sn = wn ? Symbol.for("react.element") : 60103;
1321
+ function Tn(e) {
1322
+ return e.$$typeof === Sn;
1300
1323
  }
1301
- function xn(e) {
1324
+ function Hn(e) {
1302
1325
  return Array.isArray(e) ? [] : {};
1303
1326
  }
1304
1327
  function he(e, t) {
1305
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(xn(e), e, t) : e;
1328
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Hn(e), e, t) : e;
1306
1329
  }
1307
- function Sn(e, t, r) {
1330
+ function Bn(e, t, r) {
1308
1331
  return e.concat(t).map(function(n) {
1309
1332
  return he(n, r);
1310
1333
  });
1311
1334
  }
1312
- function wn(e, t) {
1335
+ function Pn(e, t) {
1313
1336
  if (!t.customMerge)
1314
1337
  return ee;
1315
1338
  var r = t.customMerge(e);
1316
1339
  return typeof r == "function" ? r : ee;
1317
1340
  }
1318
- function Tn(e) {
1341
+ function An(e) {
1319
1342
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1320
1343
  return Object.propertyIsEnumerable.call(e, t);
1321
1344
  }) : [];
1322
1345
  }
1323
- function vt(e) {
1324
- return Object.keys(e).concat(Tn(e));
1346
+ function xt(e) {
1347
+ return Object.keys(e).concat(An(e));
1325
1348
  }
1326
- function Jt(e, t) {
1349
+ function rr(e, t) {
1327
1350
  try {
1328
1351
  return t in e;
1329
1352
  } catch (r) {
1330
1353
  return !1;
1331
1354
  }
1332
1355
  }
1333
- function Hn(e, t) {
1334
- return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1356
+ function On(e, t) {
1357
+ return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1335
1358
  }
1336
- function Bn(e, t, r) {
1359
+ function In(e, t, r) {
1337
1360
  var n = {};
1338
- return r.isMergeableObject(e) && vt(e).forEach(function(i) {
1361
+ return r.isMergeableObject(e) && xt(e).forEach(function(i) {
1339
1362
  n[i] = he(e[i], r);
1340
- }), vt(t).forEach(function(i) {
1341
- Hn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1363
+ }), xt(t).forEach(function(i) {
1364
+ On(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1342
1365
  }), n;
1343
1366
  }
1344
1367
  function ee(e, t, r) {
1345
- r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = he;
1368
+ r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = he;
1346
1369
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1347
- return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : he(t, r);
1370
+ return o ? n ? r.arrayMerge(e, t, r) : In(e, t, r) : he(t, r);
1348
1371
  }
1349
1372
  ee.all = function(t, r) {
1350
1373
  if (!Array.isArray(t))
@@ -1353,105 +1376,107 @@ ee.all = function(t, r) {
1353
1376
  return ee(n, i, r);
1354
1377
  }, {});
1355
1378
  };
1356
- var Pn = ee, An = Pn;
1357
- const On = /* @__PURE__ */ mn(An);
1379
+ var Cn = ee, Ln = Cn;
1380
+ const Mn = /* @__PURE__ */ vn(Ln);
1358
1381
  function Ne(e, t) {
1359
- var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Ln;
1382
+ var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Rn;
1360
1383
  return i(e, {
1361
1384
  cache: r,
1362
1385
  serializer: n
1363
1386
  });
1364
1387
  }
1365
- function In(e) {
1388
+ function Nn(e) {
1366
1389
  return e == null || typeof e == "number" || typeof e == "boolean";
1367
1390
  }
1368
- function Cn(e, t, r, n) {
1369
- var i = In(n) ? n : r(n), o = t.get(i);
1391
+ function nr(e, t, r, n) {
1392
+ var i = Nn(n) ? n : r(n), o = t.get(i);
1370
1393
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1371
1394
  }
1372
- function Yt(e, t, r) {
1395
+ function ir(e, t, r) {
1373
1396
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1374
1397
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1375
1398
  }
1376
- function Kt(e, t, r, n, i) {
1399
+ function nt(e, t, r, n, i) {
1377
1400
  return r.bind(t, e, n, i);
1378
1401
  }
1379
- function Ln(e, t) {
1380
- var r = e.length === 1 ? Cn : Yt;
1381
- return Kt(e, this, r, t.cache.create(), t.serializer);
1402
+ function Rn(e, t) {
1403
+ var r = e.length === 1 ? nr : ir;
1404
+ return nt(e, this, r, t.cache.create(), t.serializer);
1382
1405
  }
1383
- function Nn(e, t) {
1384
- return Kt(e, this, Yt, t.cache.create(), t.serializer);
1406
+ function $n(e, t) {
1407
+ return nt(e, this, ir, t.cache.create(), t.serializer);
1385
1408
  }
1386
- var Mn = function() {
1409
+ function Dn(e, t) {
1410
+ return nt(e, this, nr, t.cache.create(), t.serializer);
1411
+ }
1412
+ var Un = function() {
1387
1413
  return JSON.stringify(arguments);
1388
- }, Rn = (
1389
- /** @class */
1390
- function() {
1391
- function e() {
1392
- this.cache = /* @__PURE__ */ Object.create(null);
1393
- }
1394
- return e.prototype.get = function(t) {
1395
- return this.cache[t];
1396
- }, e.prototype.set = function(t, r) {
1397
- this.cache[t] = r;
1398
- }, e;
1399
- }()
1400
- ), $n = {
1414
+ };
1415
+ function it() {
1416
+ this.cache = /* @__PURE__ */ Object.create(null);
1417
+ }
1418
+ it.prototype.get = function(e) {
1419
+ return this.cache[e];
1420
+ };
1421
+ it.prototype.set = function(e, t) {
1422
+ this.cache[e] = t;
1423
+ };
1424
+ var Gn = {
1401
1425
  create: function() {
1402
- return new Rn();
1426
+ return new it();
1403
1427
  }
1404
- }, Me = {
1405
- variadic: Nn
1428
+ }, Re = {
1429
+ variadic: $n,
1430
+ monadic: Dn
1406
1431
  }, y;
1407
1432
  (function(e) {
1408
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";
1409
1434
  })(y || (y = {}));
1410
- var x;
1435
+ var E;
1411
1436
  (function(e) {
1412
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";
1413
- })(x || (x = {}));
1438
+ })(E || (E = {}));
1414
1439
  var te;
1415
1440
  (function(e) {
1416
1441
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1417
1442
  })(te || (te = {}));
1418
- function _t(e) {
1419
- return e.type === x.literal;
1443
+ function wt(e) {
1444
+ return e.type === E.literal;
1420
1445
  }
1421
- function Dn(e) {
1422
- return e.type === x.argument;
1446
+ function Fn(e) {
1447
+ return e.type === E.argument;
1423
1448
  }
1424
- function er(e) {
1425
- return e.type === x.number;
1449
+ function or(e) {
1450
+ return e.type === E.number;
1426
1451
  }
1427
- function tr(e) {
1428
- return e.type === x.date;
1452
+ function sr(e) {
1453
+ return e.type === E.date;
1429
1454
  }
1430
- function rr(e) {
1431
- return e.type === x.time;
1455
+ function ar(e) {
1456
+ return e.type === E.time;
1432
1457
  }
1433
- function nr(e) {
1434
- return e.type === x.select;
1458
+ function ur(e) {
1459
+ return e.type === E.select;
1435
1460
  }
1436
- function ir(e) {
1437
- return e.type === x.plural;
1461
+ function lr(e) {
1462
+ return e.type === E.plural;
1438
1463
  }
1439
- function Un(e) {
1440
- return e.type === x.pound;
1464
+ function jn(e) {
1465
+ return e.type === E.pound;
1441
1466
  }
1442
- function or(e) {
1443
- return e.type === x.tag;
1467
+ function hr(e) {
1468
+ return e.type === E.tag;
1444
1469
  }
1445
- function sr(e) {
1470
+ function cr(e) {
1446
1471
  return !!(e && typeof e == "object" && e.type === te.number);
1447
1472
  }
1448
- function ze(e) {
1473
+ function qe(e) {
1449
1474
  return !!(e && typeof e == "object" && e.type === te.dateTime);
1450
1475
  }
1451
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1452
- function Fn(e) {
1476
+ var fr = /[ \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;
1477
+ function Vn(e) {
1453
1478
  var t = {};
1454
- return e.replace(Gn, function(r) {
1479
+ return e.replace(kn, function(r) {
1455
1480
  var n = r.length;
1456
1481
  switch (r[0]) {
1457
1482
  case "G":
@@ -1540,36 +1565,36 @@ function Fn(e) {
1540
1565
  return "";
1541
1566
  }), t;
1542
1567
  }
1543
- var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1544
- function kn(e) {
1568
+ var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1569
+ function Wn(e) {
1545
1570
  if (e.length === 0)
1546
1571
  throw new Error("Number skeleton cannot be empty");
1547
- for (var t = e.split(jn).filter(function(c) {
1572
+ for (var t = e.split(Xn).filter(function(c) {
1548
1573
  return c.length > 0;
1549
1574
  }), r = [], n = 0, i = t; n < i.length; n++) {
1550
- var o = i[n], s = o.split("/");
1551
- if (s.length === 0)
1575
+ var o = i[n], a = o.split("/");
1576
+ if (a.length === 0)
1552
1577
  throw new Error("Invalid number skeleton");
1553
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1578
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1554
1579
  var f = h[u];
1555
1580
  if (f.length === 0)
1556
1581
  throw new Error("Invalid number skeleton");
1557
1582
  }
1558
- r.push({ stem: a, options: l });
1583
+ r.push({ stem: s, options: l });
1559
1584
  }
1560
1585
  return r;
1561
1586
  }
1562
- function Vn(e) {
1587
+ function zn(e) {
1563
1588
  return e.replace(/^(.*?)-/, "");
1564
1589
  }
1565
- var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1566
- function xt(e) {
1590
+ var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, pr = /^(0+)$/;
1591
+ function Tt(e) {
1567
1592
  var t = {};
1568
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1593
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, n, i) {
1569
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)), "";
1570
1595
  }), t;
1571
1596
  }
1572
- function hr(e) {
1597
+ function mr(e) {
1573
1598
  switch (e) {
1574
1599
  case "sign-auto":
1575
1600
  return {
@@ -1609,7 +1634,7 @@ function hr(e) {
1609
1634
  };
1610
1635
  }
1611
1636
  }
1612
- function Wn(e) {
1637
+ function Zn(e) {
1613
1638
  var t;
1614
1639
  if (e[0] === "E" && e[1] === "E" ? (t = {
1615
1640
  notation: "engineering"
@@ -1617,17 +1642,17 @@ function Wn(e) {
1617
1642
  notation: "scientific"
1618
1643
  }, e = e.slice(1)), t) {
1619
1644
  var r = e.slice(0, 2);
1620
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1645
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pr.test(e))
1621
1646
  throw new Error("Malformed concise eng/scientific notation");
1622
1647
  t.minimumIntegerDigits = e.length;
1623
1648
  }
1624
1649
  return t;
1625
1650
  }
1626
- function St(e) {
1627
- var t = {}, r = hr(e);
1651
+ function Ht(e) {
1652
+ var t = {}, r = mr(e);
1628
1653
  return r || t;
1629
1654
  }
1630
- function zn(e) {
1655
+ function Qn(e) {
1631
1656
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1632
1657
  var i = n[r];
1633
1658
  switch (i.stem) {
@@ -1651,7 +1676,7 @@ function zn(e) {
1651
1676
  continue;
1652
1677
  case "measure-unit":
1653
1678
  case "unit":
1654
- t.style = "unit", t.unit = Vn(i.options[0]);
1679
+ t.style = "unit", t.unit = zn(i.options[0]);
1655
1680
  continue;
1656
1681
  case "compact-short":
1657
1682
  case "K":
@@ -1663,12 +1688,12 @@ function zn(e) {
1663
1688
  continue;
1664
1689
  case "scientific":
1665
1690
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1666
- return _(_({}, l), St(u));
1691
+ return _(_({}, l), Ht(u));
1667
1692
  }, {}));
1668
1693
  continue;
1669
1694
  case "engineering":
1670
1695
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1671
- return _(_({}, l), St(u));
1696
+ return _(_({}, l), Ht(u));
1672
1697
  }, {}));
1673
1698
  continue;
1674
1699
  case "notation-simple":
@@ -1713,41 +1738,41 @@ function zn(e) {
1713
1738
  case "integer-width":
1714
1739
  if (i.options.length > 1)
1715
1740
  throw new RangeError("integer-width stems only accept a single optional option");
1716
- i.options[0].replace(Xn, function(l, u, h, f, c, p) {
1741
+ i.options[0].replace(qn, function(l, u, h, f, c, d) {
1717
1742
  if (u)
1718
1743
  t.minimumIntegerDigits = h.length;
1719
1744
  else {
1720
1745
  if (f && c)
1721
1746
  throw new Error("We currently do not support maximum integer digits");
1722
- if (p)
1747
+ if (d)
1723
1748
  throw new Error("We currently do not support exact integer digits");
1724
1749
  }
1725
1750
  return "";
1726
1751
  });
1727
1752
  continue;
1728
1753
  }
1729
- if (lr.test(i.stem)) {
1754
+ if (pr.test(i.stem)) {
1730
1755
  t.minimumIntegerDigits = i.stem.length;
1731
1756
  continue;
1732
1757
  }
1733
- if (Et.test(i.stem)) {
1758
+ if (St.test(i.stem)) {
1734
1759
  if (i.options.length > 1)
1735
1760
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1736
- i.stem.replace(Et, function(l, u, h, f, c, p) {
1737
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1761
+ i.stem.replace(St, function(l, u, h, f, c, d) {
1762
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1738
1763
  });
1739
1764
  var o = i.options[0];
1740
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), xt(o)));
1765
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
1741
1766
  continue;
1742
1767
  }
1743
- if (ur.test(i.stem)) {
1744
- t = _(_({}, t), xt(i.stem));
1768
+ if (dr.test(i.stem)) {
1769
+ t = _(_({}, t), Tt(i.stem));
1745
1770
  continue;
1746
1771
  }
1747
- var s = hr(i.stem);
1748
- s && (t = _(_({}, t), s));
1749
- var a = Wn(i.stem);
1772
+ var a = mr(i.stem);
1750
1773
  a && (t = _(_({}, t), a));
1774
+ var s = Zn(i.stem);
1775
+ s && (t = _(_({}, t), s));
1751
1776
  }
1752
1777
  return t;
1753
1778
  }
@@ -3166,22 +3191,22 @@ var ye = {
3166
3191
  "h"
3167
3192
  ]
3168
3193
  };
3169
- function qn(e, t) {
3194
+ function Jn(e, t) {
3170
3195
  for (var r = "", n = 0; n < e.length; n++) {
3171
3196
  var i = e.charAt(n);
3172
3197
  if (i === "j") {
3173
3198
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3174
3199
  o++, n++;
3175
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Zn(t);
3176
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3200
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Yn(t);
3201
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3177
3202
  r += l;
3178
- for (; s-- > 0; )
3203
+ for (; a-- > 0; )
3179
3204
  r = u + r;
3180
3205
  } else i === "J" ? r += "H" : r += i;
3181
3206
  }
3182
3207
  return r;
3183
3208
  }
3184
- function Zn(e) {
3209
+ function Yn(e) {
3185
3210
  var t = e.hourCycle;
3186
3211
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3187
3212
  e.hourCycles && // @ts-ignore
@@ -3203,20 +3228,20 @@ function Zn(e) {
3203
3228
  var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3204
3229
  return i[0];
3205
3230
  }
3206
- var Re, Qn = new RegExp("^".concat(ar.source, "*")), Jn = new RegExp("".concat(ar.source, "*$"));
3207
- function g(e, t) {
3231
+ var $e, Kn = new RegExp("^".concat(fr.source, "*")), ei = new RegExp("".concat(fr.source, "*$"));
3232
+ function v(e, t) {
3208
3233
  return { start: e, end: t };
3209
3234
  }
3210
- var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
3235
+ 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) {
3211
3236
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3212
- }, qe = !0;
3237
+ }, Ze = !0;
3213
3238
  try {
3214
- var si = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3215
- qe = ((Re = si.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3239
+ var li = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3240
+ Ze = (($e = li.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3216
3241
  } catch (e) {
3217
- qe = !1;
3242
+ Ze = !1;
3218
3243
  }
3219
- var wt = Yn ? (
3244
+ var Bt = ti ? (
3220
3245
  // Native
3221
3246
  function(t, r, n) {
3222
3247
  return t.startsWith(r, n);
@@ -3226,31 +3251,31 @@ var wt = Yn ? (
3226
3251
  function(t, r, n) {
3227
3252
  return t.slice(n, n + r.length) === r;
3228
3253
  }
3229
- ), Ze = Kn ? String.fromCodePoint : (
3254
+ ), Qe = ri ? String.fromCodePoint : (
3230
3255
  // IE11
3231
3256
  function() {
3232
3257
  for (var t = [], r = 0; r < arguments.length; r++)
3233
3258
  t[r] = arguments[r];
3234
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3235
- if (s = t[o++], s > 1114111)
3236
- throw RangeError(s + " is not a valid code point");
3237
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3259
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3260
+ if (a = t[o++], a > 1114111)
3261
+ throw RangeError(a + " is not a valid code point");
3262
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3238
3263
  }
3239
3264
  return n;
3240
3265
  }
3241
- ), Tt = (
3266
+ ), Pt = (
3242
3267
  // native
3243
- ei ? Object.fromEntries : (
3268
+ ni ? Object.fromEntries : (
3244
3269
  // Ponyfill
3245
3270
  function(t) {
3246
3271
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3247
- var o = i[n], s = o[0], a = o[1];
3248
- r[s] = a;
3272
+ var o = i[n], a = o[0], s = o[1];
3273
+ r[a] = s;
3249
3274
  }
3250
3275
  return r;
3251
3276
  }
3252
3277
  )
3253
- ), cr = ti ? (
3278
+ ), br = ii ? (
3254
3279
  // Native
3255
3280
  function(t, r) {
3256
3281
  return t.codePointAt(r);
@@ -3264,7 +3289,7 @@ var wt = Yn ? (
3264
3289
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3265
3290
  }
3266
3291
  }
3267
- ), ai = ri ? (
3292
+ ), hi = oi ? (
3268
3293
  // Native
3269
3294
  function(t) {
3270
3295
  return t.trimStart();
@@ -3272,9 +3297,9 @@ var wt = Yn ? (
3272
3297
  ) : (
3273
3298
  // Ponyfill
3274
3299
  function(t) {
3275
- return t.replace(Qn, "");
3300
+ return t.replace(Kn, "");
3276
3301
  }
3277
- ), ui = ni ? (
3302
+ ), ci = si ? (
3278
3303
  // Native
3279
3304
  function(t) {
3280
3305
  return t.trimEnd();
@@ -3282,32 +3307,32 @@ var wt = Yn ? (
3282
3307
  ) : (
3283
3308
  // Ponyfill
3284
3309
  function(t) {
3285
- return t.replace(Jn, "");
3310
+ return t.replace(ei, "");
3286
3311
  }
3287
3312
  );
3288
- function fr(e, t) {
3313
+ function yr(e, t) {
3289
3314
  return new RegExp(e, t);
3290
3315
  }
3291
- var Qe;
3292
- if (qe) {
3293
- var Ht = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3294
- Qe = function(t, r) {
3316
+ var Je;
3317
+ if (Ze) {
3318
+ var At = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3319
+ Je = function(t, r) {
3295
3320
  var n;
3296
- Ht.lastIndex = r;
3297
- var i = Ht.exec(t);
3321
+ At.lastIndex = r;
3322
+ var i = At.exec(t);
3298
3323
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3299
3324
  };
3300
3325
  } else
3301
- Qe = function(t, r) {
3326
+ Je = function(t, r) {
3302
3327
  for (var n = []; ; ) {
3303
- var i = cr(t, r);
3304
- if (i === void 0 || dr(i) || fi(i))
3328
+ var i = br(t, r);
3329
+ if (i === void 0 || gr(i) || mi(i))
3305
3330
  break;
3306
3331
  n.push(i), r += i >= 65536 ? 2 : 1;
3307
3332
  }
3308
- return Ze.apply(void 0, n);
3333
+ return Qe.apply(void 0, n);
3309
3334
  };
3310
- var li = (
3335
+ var fi = (
3311
3336
  /** @class */
3312
3337
  function() {
3313
3338
  function e(t, r) {
@@ -3321,33 +3346,33 @@ var li = (
3321
3346
  for (var i = []; !this.isEOF(); ) {
3322
3347
  var o = this.char();
3323
3348
  if (o === 123) {
3324
- var s = this.parseArgument(t, n);
3325
- if (s.err)
3326
- return s;
3327
- i.push(s.val);
3349
+ var a = this.parseArgument(t, n);
3350
+ if (a.err)
3351
+ return a;
3352
+ i.push(a.val);
3328
3353
  } else {
3329
3354
  if (o === 125 && t > 0)
3330
3355
  break;
3331
3356
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3332
- var a = this.clonePosition();
3357
+ var s = this.clonePosition();
3333
3358
  this.bump(), i.push({
3334
- type: x.pound,
3335
- location: g(a, this.clonePosition())
3359
+ type: E.pound,
3360
+ location: v(s, this.clonePosition())
3336
3361
  });
3337
3362
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3338
3363
  if (n)
3339
3364
  break;
3340
- return this.error(y.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3341
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3342
- var s = this.parseTag(t, r);
3343
- if (s.err)
3344
- return s;
3345
- i.push(s.val);
3365
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3366
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3367
+ var a = this.parseTag(t, r);
3368
+ if (a.err)
3369
+ return a;
3370
+ i.push(a.val);
3346
3371
  } else {
3347
- var s = this.parseLiteral(t, r);
3348
- if (s.err)
3349
- return s;
3350
- i.push(s.val);
3372
+ var a = this.parseLiteral(t, r);
3373
+ if (a.err)
3374
+ return a;
3375
+ i.push(a.val);
3351
3376
  }
3352
3377
  }
3353
3378
  }
@@ -3359,9 +3384,9 @@ var li = (
3359
3384
  if (this.bumpSpace(), this.bumpIf("/>"))
3360
3385
  return {
3361
3386
  val: {
3362
- type: x.literal,
3387
+ type: E.literal,
3363
3388
  value: "<".concat(i, "/>"),
3364
- location: g(n, this.clonePosition())
3389
+ location: v(n, this.clonePosition())
3365
3390
  },
3366
3391
  err: null
3367
3392
  };
@@ -3369,27 +3394,27 @@ var li = (
3369
3394
  var o = this.parseMessage(t + 1, r, !0);
3370
3395
  if (o.err)
3371
3396
  return o;
3372
- var s = o.val, a = this.clonePosition();
3397
+ var a = o.val, s = this.clonePosition();
3373
3398
  if (this.bumpIf("</")) {
3374
- if (this.isEOF() || !Je(this.char()))
3375
- return this.error(y.INVALID_TAG, g(a, this.clonePosition()));
3399
+ if (this.isEOF() || !Ye(this.char()))
3400
+ return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3376
3401
  var l = this.clonePosition(), u = this.parseTagName();
3377
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3402
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3378
3403
  val: {
3379
- type: x.tag,
3404
+ type: E.tag,
3380
3405
  value: i,
3381
- children: s,
3382
- location: g(n, this.clonePosition())
3406
+ children: a,
3407
+ location: v(n, this.clonePosition())
3383
3408
  },
3384
3409
  err: null
3385
- } : this.error(y.INVALID_TAG, g(a, this.clonePosition())));
3410
+ } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3386
3411
  } else
3387
- return this.error(y.UNCLOSED_TAG, g(n, this.clonePosition()));
3412
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3388
3413
  } else
3389
- return this.error(y.INVALID_TAG, g(n, this.clonePosition()));
3414
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3390
3415
  }, e.prototype.parseTagName = function() {
3391
3416
  var t = this.offset();
3392
- for (this.bump(); !this.isEOF() && ci(this.char()); )
3417
+ for (this.bump(); !this.isEOF() && pi(this.char()); )
3393
3418
  this.bump();
3394
3419
  return this.message.slice(t, this.offset());
3395
3420
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3399,26 +3424,26 @@ var li = (
3399
3424
  i += o;
3400
3425
  continue;
3401
3426
  }
3402
- var s = this.tryParseUnquoted(t, r);
3403
- if (s) {
3404
- i += s;
3405
- continue;
3406
- }
3407
- var a = this.tryParseLeftAngleBracket();
3427
+ var a = this.tryParseUnquoted(t, r);
3408
3428
  if (a) {
3409
3429
  i += a;
3410
3430
  continue;
3411
3431
  }
3432
+ var s = this.tryParseLeftAngleBracket();
3433
+ if (s) {
3434
+ i += s;
3435
+ continue;
3436
+ }
3412
3437
  break;
3413
3438
  }
3414
- var l = g(n, this.clonePosition());
3439
+ var l = v(n, this.clonePosition());
3415
3440
  return {
3416
- val: { type: x.literal, value: i, location: l },
3441
+ val: { type: E.literal, value: i, location: l },
3417
3442
  err: null
3418
3443
  };
3419
3444
  }, e.prototype.tryParseLeftAngleBracket = function() {
3420
3445
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3421
- !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3446
+ !di(this.peek() || 0)) ? (this.bump(), "<") : null;
3422
3447
  }, e.prototype.tryParseQuote = function(t) {
3423
3448
  if (this.isEOF() || this.char() !== 39)
3424
3449
  return null;
@@ -3452,49 +3477,49 @@ var li = (
3452
3477
  r.push(n);
3453
3478
  this.bump();
3454
3479
  }
3455
- return Ze.apply(void 0, r);
3480
+ return Qe.apply(void 0, r);
3456
3481
  }, e.prototype.tryParseUnquoted = function(t, r) {
3457
3482
  if (this.isEOF())
3458
3483
  return null;
3459
3484
  var n = this.char();
3460
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3485
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3461
3486
  }, e.prototype.parseArgument = function(t, r) {
3462
3487
  var n = this.clonePosition();
3463
3488
  if (this.bump(), this.bumpSpace(), this.isEOF())
3464
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3489
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3465
3490
  if (this.char() === 125)
3466
- return this.bump(), this.error(y.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3491
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3467
3492
  var i = this.parseIdentifierIfPossible().value;
3468
3493
  if (!i)
3469
- return this.error(y.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3494
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3470
3495
  if (this.bumpSpace(), this.isEOF())
3471
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3496
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3472
3497
  switch (this.char()) {
3473
3498
  case 125:
3474
3499
  return this.bump(), {
3475
3500
  val: {
3476
- type: x.argument,
3501
+ type: E.argument,
3477
3502
  // value does not include the opening and closing braces.
3478
3503
  value: i,
3479
- location: g(n, this.clonePosition())
3504
+ location: v(n, this.clonePosition())
3480
3505
  },
3481
3506
  err: null
3482
3507
  };
3483
3508
  case 44:
3484
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3509
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3485
3510
  default:
3486
- return this.error(y.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3511
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3487
3512
  }
3488
3513
  }, e.prototype.parseIdentifierIfPossible = function() {
3489
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3514
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3490
3515
  this.bumpTo(i);
3491
- var o = this.clonePosition(), s = g(t, o);
3492
- return { value: n, location: s };
3516
+ var o = this.clonePosition(), a = v(t, o);
3517
+ return { value: n, location: a };
3493
3518
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3494
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3495
- switch (a) {
3519
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3520
+ switch (s) {
3496
3521
  case "":
3497
- return this.error(y.EXPECT_ARGUMENT_TYPE, g(s, l));
3522
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3498
3523
  case "number":
3499
3524
  case "date":
3500
3525
  case "time": {
@@ -3505,46 +3530,46 @@ var li = (
3505
3530
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3506
3531
  if (f.err)
3507
3532
  return f;
3508
- var c = ui(f.val);
3533
+ var c = ci(f.val);
3509
3534
  if (c.length === 0)
3510
- return this.error(y.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3511
- var p = g(h, this.clonePosition());
3512
- u = { style: c, styleLocation: p };
3535
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3536
+ var d = v(h, this.clonePosition());
3537
+ u = { style: c, styleLocation: d };
3513
3538
  }
3514
3539
  var b = this.tryParseArgumentClose(i);
3515
3540
  if (b.err)
3516
3541
  return b;
3517
- var v = g(i, this.clonePosition());
3518
- if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3519
- var S = ai(u.style.slice(2));
3520
- if (a === "number") {
3521
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3542
+ var g = v(i, this.clonePosition());
3543
+ if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
3544
+ var w = hi(u.style.slice(2));
3545
+ if (s === "number") {
3546
+ var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3522
3547
  return f.err ? f : {
3523
- val: { type: x.number, value: n, location: v, style: f.val },
3548
+ val: { type: E.number, value: n, location: g, style: f.val },
3524
3549
  err: null
3525
3550
  };
3526
3551
  } else {
3527
- if (S.length === 0)
3528
- return this.error(y.EXPECT_DATE_TIME_SKELETON, v);
3529
- var O = S;
3530
- this.locale && (O = qn(S, this.locale));
3552
+ if (w.length === 0)
3553
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3554
+ var I = w;
3555
+ this.locale && (I = Jn(w, this.locale));
3531
3556
  var c = {
3532
3557
  type: te.dateTime,
3533
- pattern: O,
3558
+ pattern: I,
3534
3559
  location: u.styleLocation,
3535
- parsedOptions: this.shouldParseSkeletons ? Fn(O) : {}
3536
- }, P = a === "date" ? x.date : x.time;
3560
+ parsedOptions: this.shouldParseSkeletons ? Vn(I) : {}
3561
+ }, P = s === "date" ? E.date : E.time;
3537
3562
  return {
3538
- val: { type: P, value: n, location: v, style: c },
3563
+ val: { type: P, value: n, location: g, style: c },
3539
3564
  err: null
3540
3565
  };
3541
3566
  }
3542
3567
  }
3543
3568
  return {
3544
3569
  val: {
3545
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3570
+ type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3546
3571
  value: n,
3547
- location: v,
3572
+ location: g,
3548
3573
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3549
3574
  },
3550
3575
  err: null
@@ -3553,52 +3578,52 @@ var li = (
3553
3578
  case "plural":
3554
3579
  case "selectordinal":
3555
3580
  case "select": {
3556
- var H = this.clonePosition();
3581
+ var S = this.clonePosition();
3557
3582
  if (this.bumpSpace(), !this.bumpIf(","))
3558
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, _({}, H)));
3583
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
3559
3584
  this.bumpSpace();
3560
- var R = this.parseIdentifierIfPossible(), I = 0;
3561
- if (a !== "select" && R.value === "offset") {
3585
+ var N = this.parseIdentifierIfPossible(), C = 0;
3586
+ if (s !== "select" && N.value === "offset") {
3562
3587
  if (!this.bumpIf(":"))
3563
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3588
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3564
3589
  this.bumpSpace();
3565
3590
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3566
3591
  if (f.err)
3567
3592
  return f;
3568
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), I = f.val;
3593
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), C = f.val;
3569
3594
  }
3570
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, R);
3571
- if ($.err)
3572
- return $;
3595
+ var R = this.tryParsePluralOrSelectOptions(t, s, r, N);
3596
+ if (R.err)
3597
+ return R;
3573
3598
  var b = this.tryParseArgumentClose(i);
3574
3599
  if (b.err)
3575
3600
  return b;
3576
- var E = g(i, this.clonePosition());
3577
- return a === "select" ? {
3601
+ var x = v(i, this.clonePosition());
3602
+ return s === "select" ? {
3578
3603
  val: {
3579
- type: x.select,
3604
+ type: E.select,
3580
3605
  value: n,
3581
- options: Tt($.val),
3582
- location: E
3606
+ options: Pt(R.val),
3607
+ location: x
3583
3608
  },
3584
3609
  err: null
3585
3610
  } : {
3586
3611
  val: {
3587
- type: x.plural,
3612
+ type: E.plural,
3588
3613
  value: n,
3589
- options: Tt($.val),
3590
- offset: I,
3591
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3592
- location: E
3614
+ options: Pt(R.val),
3615
+ offset: C,
3616
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3617
+ location: x
3593
3618
  },
3594
3619
  err: null
3595
3620
  };
3596
3621
  }
3597
3622
  default:
3598
- return this.error(y.INVALID_ARGUMENT_TYPE, g(s, l));
3623
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3599
3624
  }
3600
3625
  }, e.prototype.tryParseArgumentClose = function(t) {
3601
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3626
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3602
3627
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3603
3628
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3604
3629
  var n = this.char();
@@ -3607,7 +3632,7 @@ var li = (
3607
3632
  this.bump();
3608
3633
  var i = this.clonePosition();
3609
3634
  if (!this.bumpUntil("'"))
3610
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3635
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3611
3636
  this.bump();
3612
3637
  break;
3613
3638
  }
@@ -3637,7 +3662,7 @@ var li = (
3637
3662
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3638
3663
  var n = [];
3639
3664
  try {
3640
- n = kn(t);
3665
+ n = Wn(t);
3641
3666
  } catch (i) {
3642
3667
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3643
3668
  }
@@ -3646,55 +3671,55 @@ var li = (
3646
3671
  type: te.number,
3647
3672
  tokens: n,
3648
3673
  location: r,
3649
- parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3674
+ parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3650
3675
  },
3651
3676
  err: null
3652
3677
  };
3653
3678
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3654
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3679
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3655
3680
  if (u.length === 0) {
3656
3681
  var f = this.clonePosition();
3657
3682
  if (r !== "select" && this.bumpIf("=")) {
3658
3683
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3659
3684
  if (c.err)
3660
3685
  return c;
3661
- h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3686
+ h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3662
3687
  } else
3663
3688
  break;
3664
3689
  }
3665
3690
  if (l.has(u))
3666
3691
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3667
- u === "other" && (s = !0), this.bumpSpace();
3668
- var p = this.clonePosition();
3692
+ u === "other" && (a = !0), this.bumpSpace();
3693
+ var d = this.clonePosition();
3669
3694
  if (!this.bumpIf("{"))
3670
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3695
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3671
3696
  var b = this.parseMessage(t + 1, r, n);
3672
3697
  if (b.err)
3673
3698
  return b;
3674
- var v = this.tryParseArgumentClose(p);
3675
- if (v.err)
3676
- return v;
3677
- a.push([
3699
+ var g = this.tryParseArgumentClose(d);
3700
+ if (g.err)
3701
+ return g;
3702
+ s.push([
3678
3703
  u,
3679
3704
  {
3680
3705
  value: b.val,
3681
- location: g(p, this.clonePosition())
3706
+ location: v(d, this.clonePosition())
3682
3707
  }
3683
3708
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3684
3709
  }
3685
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3710
+ return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3686
3711
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3687
3712
  var n = 1, i = this.clonePosition();
3688
3713
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3689
- for (var o = !1, s = 0; !this.isEOF(); ) {
3690
- var a = this.char();
3691
- if (a >= 48 && a <= 57)
3692
- o = !0, s = s * 10 + (a - 48), this.bump();
3714
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3715
+ var s = this.char();
3716
+ if (s >= 48 && s <= 57)
3717
+ o = !0, a = a * 10 + (s - 48), this.bump();
3693
3718
  else
3694
3719
  break;
3695
3720
  }
3696
- var l = g(i, this.clonePosition());
3697
- return o ? (s *= n, oi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3721
+ var l = v(i, this.clonePosition());
3722
+ return o ? (a *= n, ui(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3698
3723
  }, e.prototype.offset = function() {
3699
3724
  return this.position.offset;
3700
3725
  }, e.prototype.isEOF = function() {
@@ -3709,7 +3734,7 @@ var li = (
3709
3734
  var t = this.position.offset;
3710
3735
  if (t >= this.message.length)
3711
3736
  throw Error("out of bound");
3712
- var r = cr(this.message, t);
3737
+ var r = br(this.message, t);
3713
3738
  if (r === void 0)
3714
3739
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3715
3740
  return r;
@@ -3728,7 +3753,7 @@ var li = (
3728
3753
  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);
3729
3754
  }
3730
3755
  }, e.prototype.bumpIf = function(t) {
3731
- if (wt(this.message, t, this.offset())) {
3756
+ if (Bt(this.message, t, this.offset())) {
3732
3757
  for (var r = 0; r < t.length; r++)
3733
3758
  this.bump();
3734
3759
  return !0;
@@ -3750,7 +3775,7 @@ var li = (
3750
3775
  break;
3751
3776
  }
3752
3777
  }, e.prototype.bumpSpace = function() {
3753
- for (; !this.isEOF() && dr(this.char()); )
3778
+ for (; !this.isEOF() && gr(this.char()); )
3754
3779
  this.bump();
3755
3780
  }, e.prototype.peek = function() {
3756
3781
  if (this.isEOF())
@@ -3760,37 +3785,37 @@ var li = (
3760
3785
  }, e;
3761
3786
  }()
3762
3787
  );
3763
- function Je(e) {
3788
+ function Ye(e) {
3764
3789
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3765
3790
  }
3766
- function hi(e) {
3767
- return Je(e) || e === 47;
3791
+ function di(e) {
3792
+ return Ye(e) || e === 47;
3768
3793
  }
3769
- function ci(e) {
3794
+ function pi(e) {
3770
3795
  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;
3771
3796
  }
3772
- function dr(e) {
3797
+ function gr(e) {
3773
3798
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3774
3799
  }
3775
- function fi(e) {
3800
+ function mi(e) {
3776
3801
  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;
3777
3802
  }
3778
- function Ye(e) {
3803
+ function Ke(e) {
3779
3804
  e.forEach(function(t) {
3780
- if (delete t.location, nr(t) || ir(t))
3805
+ if (delete t.location, ur(t) || lr(t))
3781
3806
  for (var r in t.options)
3782
- delete t.options[r].location, Ye(t.options[r].value);
3783
- else er(t) && sr(t.style) || (tr(t) || rr(t)) && ze(t.style) ? delete t.style.location : or(t) && Ye(t.children);
3807
+ delete t.options[r].location, Ke(t.options[r].value);
3808
+ else or(t) && cr(t.style) || (sr(t) || ar(t)) && qe(t.style) ? delete t.style.location : hr(t) && Ke(t.children);
3784
3809
  });
3785
3810
  }
3786
- function di(e, t) {
3811
+ function bi(e, t) {
3787
3812
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3788
- var r = new li(e, t).parse();
3813
+ var r = new fi(e, t).parse();
3789
3814
  if (r.err) {
3790
3815
  var n = SyntaxError(y[r.err.kind]);
3791
3816
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3792
3817
  }
3793
- return t != null && t.captureLocation || Ye(r.val), r.val;
3818
+ return t != null && t.captureLocation || Ke(r.val), r.val;
3794
3819
  }
3795
3820
  var re;
3796
3821
  (function(e) {
@@ -3799,7 +3824,7 @@ var re;
3799
3824
  var Pe = (
3800
3825
  /** @class */
3801
3826
  function(e) {
3802
- F(t, e);
3827
+ G(t, e);
3803
3828
  function t(r, n, i) {
3804
3829
  var o = e.call(this, r) || this;
3805
3830
  return o.code = n, o.originalMessage = i, o;
@@ -3808,155 +3833,155 @@ var Pe = (
3808
3833
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3809
3834
  }, t;
3810
3835
  }(Error)
3811
- ), Bt = (
3836
+ ), Ot = (
3812
3837
  /** @class */
3813
3838
  function(e) {
3814
- F(t, e);
3839
+ G(t, e);
3815
3840
  function t(r, n, i, o) {
3816
3841
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3817
3842
  }
3818
3843
  return t;
3819
3844
  }(Pe)
3820
- ), pi = (
3845
+ ), yi = (
3821
3846
  /** @class */
3822
3847
  function(e) {
3823
- F(t, e);
3848
+ G(t, e);
3824
3849
  function t(r, n, i) {
3825
3850
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3826
3851
  }
3827
3852
  return t;
3828
3853
  }(Pe)
3829
- ), mi = (
3854
+ ), gi = (
3830
3855
  /** @class */
3831
3856
  function(e) {
3832
- F(t, e);
3857
+ G(t, e);
3833
3858
  function t(r, n) {
3834
3859
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3835
3860
  }
3836
3861
  return t;
3837
3862
  }(Pe)
3838
- ), B;
3863
+ ), H;
3839
3864
  (function(e) {
3840
3865
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3841
- })(B || (B = {}));
3842
- function bi(e) {
3866
+ })(H || (H = {}));
3867
+ function vi(e) {
3843
3868
  return e.length < 2 ? e : e.reduce(function(t, r) {
3844
3869
  var n = t[t.length - 1];
3845
- return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3870
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3846
3871
  }, []);
3847
3872
  }
3848
- function yi(e) {
3873
+ function _i(e) {
3849
3874
  return typeof e == "function";
3850
3875
  }
3851
- function Ee(e, t, r, n, i, o, s) {
3852
- if (e.length === 1 && _t(e[0]))
3876
+ function Ee(e, t, r, n, i, o, a) {
3877
+ if (e.length === 1 && wt(e[0]))
3853
3878
  return [
3854
3879
  {
3855
- type: B.literal,
3880
+ type: H.literal,
3856
3881
  value: e[0].value
3857
3882
  }
3858
3883
  ];
3859
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3884
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3860
3885
  var h = u[l];
3861
- if (_t(h)) {
3862
- a.push({
3863
- type: B.literal,
3886
+ if (wt(h)) {
3887
+ s.push({
3888
+ type: H.literal,
3864
3889
  value: h.value
3865
3890
  });
3866
3891
  continue;
3867
3892
  }
3868
- if (Un(h)) {
3869
- typeof o == "number" && a.push({
3870
- type: B.literal,
3893
+ if (jn(h)) {
3894
+ typeof o == "number" && s.push({
3895
+ type: H.literal,
3871
3896
  value: r.getNumberFormat(t).format(o)
3872
3897
  });
3873
3898
  continue;
3874
3899
  }
3875
3900
  var f = h.value;
3876
3901
  if (!(i && f in i))
3877
- throw new mi(f, s);
3902
+ throw new gi(f, a);
3878
3903
  var c = i[f];
3879
- if (Dn(h)) {
3880
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3881
- type: typeof c == "string" ? B.literal : B.object,
3904
+ if (Fn(h)) {
3905
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3906
+ type: typeof c == "string" ? H.literal : H.object,
3882
3907
  value: c
3883
3908
  });
3884
3909
  continue;
3885
3910
  }
3886
- if (tr(h)) {
3887
- var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3888
- a.push({
3889
- type: B.literal,
3890
- value: r.getDateTimeFormat(t, p).format(c)
3911
+ if (sr(h)) {
3912
+ var d = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
3913
+ s.push({
3914
+ type: H.literal,
3915
+ value: r.getDateTimeFormat(t, d).format(c)
3891
3916
  });
3892
3917
  continue;
3893
3918
  }
3894
- if (rr(h)) {
3895
- var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3896
- a.push({
3897
- type: B.literal,
3898
- value: r.getDateTimeFormat(t, p).format(c)
3919
+ if (ar(h)) {
3920
+ var d = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
3921
+ s.push({
3922
+ type: H.literal,
3923
+ value: r.getDateTimeFormat(t, d).format(c)
3899
3924
  });
3900
3925
  continue;
3901
3926
  }
3902
- if (er(h)) {
3903
- var p = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3904
- p && p.scale && (c = c * (p.scale || 1)), a.push({
3905
- type: B.literal,
3906
- value: r.getNumberFormat(t, p).format(c)
3927
+ if (or(h)) {
3928
+ var d = typeof h.style == "string" ? n.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
3929
+ d && d.scale && (c = c * (d.scale || 1)), s.push({
3930
+ type: H.literal,
3931
+ value: r.getNumberFormat(t, d).format(c)
3907
3932
  });
3908
3933
  continue;
3909
3934
  }
3910
- if (or(h)) {
3911
- var b = h.children, v = h.value, S = i[v];
3912
- if (!yi(S))
3913
- throw new pi(v, "function", s);
3914
- var O = Ee(b, t, r, n, i, o), P = S(O.map(function(I) {
3915
- return I.value;
3935
+ if (hr(h)) {
3936
+ var b = h.children, g = h.value, w = i[g];
3937
+ if (!_i(w))
3938
+ throw new yi(g, "function", a);
3939
+ var I = Ee(b, t, r, n, i, o), P = w(I.map(function(C) {
3940
+ return C.value;
3916
3941
  }));
3917
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(I) {
3942
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(C) {
3918
3943
  return {
3919
- type: typeof I == "string" ? B.literal : B.object,
3920
- value: I
3944
+ type: typeof C == "string" ? H.literal : H.object,
3945
+ value: C
3921
3946
  };
3922
3947
  }));
3923
3948
  }
3924
- if (nr(h)) {
3925
- var H = h.options[c] || h.options.other;
3926
- if (!H)
3927
- throw new Bt(h.value, c, Object.keys(h.options), s);
3928
- a.push.apply(a, Ee(H.value, t, r, n, i));
3949
+ if (ur(h)) {
3950
+ var S = h.options[c] || h.options.other;
3951
+ if (!S)
3952
+ throw new Ot(h.value, c, Object.keys(h.options), a);
3953
+ s.push.apply(s, Ee(S.value, t, r, n, i));
3929
3954
  continue;
3930
3955
  }
3931
- if (ir(h)) {
3932
- var H = h.options["=".concat(c)];
3933
- if (!H) {
3956
+ if (lr(h)) {
3957
+ var S = h.options["=".concat(c)];
3958
+ if (!S) {
3934
3959
  if (!Intl.PluralRules)
3935
3960
  throw new Pe(`Intl.PluralRules is not available in this environment.
3936
3961
  Try polyfilling it using "@formatjs/intl-pluralrules"
3937
- `, re.MISSING_INTL_API, s);
3938
- var R = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3939
- H = h.options[R] || h.options.other;
3962
+ `, re.MISSING_INTL_API, a);
3963
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3964
+ S = h.options[N] || h.options.other;
3940
3965
  }
3941
- if (!H)
3942
- throw new Bt(h.value, c, Object.keys(h.options), s);
3943
- a.push.apply(a, Ee(H.value, t, r, n, i, c - (h.offset || 0)));
3966
+ if (!S)
3967
+ throw new Ot(h.value, c, Object.keys(h.options), a);
3968
+ s.push.apply(s, Ee(S.value, t, r, n, i, c - (h.offset || 0)));
3944
3969
  continue;
3945
3970
  }
3946
3971
  }
3947
- return bi(a);
3972
+ return vi(s);
3948
3973
  }
3949
- function gi(e, t) {
3974
+ function Ei(e, t) {
3950
3975
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3951
3976
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3952
3977
  }, {})) : e;
3953
3978
  }
3954
- function vi(e, t) {
3979
+ function xi(e, t) {
3955
3980
  return t ? Object.keys(e).reduce(function(r, n) {
3956
- return r[n] = gi(e[n], t[n]), r;
3981
+ return r[n] = Ei(e[n], t[n]), r;
3957
3982
  }, _({}, e)) : e;
3958
3983
  }
3959
- function $e(e) {
3984
+ function De(e) {
3960
3985
  return {
3961
3986
  create: function() {
3962
3987
  return {
@@ -3970,7 +3995,7 @@ function $e(e) {
3970
3995
  }
3971
3996
  };
3972
3997
  }
3973
- function _i(e) {
3998
+ function wi(e) {
3974
3999
  return e === void 0 && (e = {
3975
4000
  number: {},
3976
4001
  dateTime: {},
@@ -3981,28 +4006,28 @@ function _i(e) {
3981
4006
  r[n] = arguments[n];
3982
4007
  return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
3983
4008
  }, {
3984
- cache: $e(e.number),
3985
- strategy: Me.variadic
4009
+ cache: De(e.number),
4010
+ strategy: Re.variadic
3986
4011
  }),
3987
4012
  getDateTimeFormat: Ne(function() {
3988
4013
  for (var t, r = [], n = 0; n < arguments.length; n++)
3989
4014
  r[n] = arguments[n];
3990
4015
  return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
3991
4016
  }, {
3992
- cache: $e(e.dateTime),
3993
- strategy: Me.variadic
4017
+ cache: De(e.dateTime),
4018
+ strategy: Re.variadic
3994
4019
  }),
3995
4020
  getPluralRules: Ne(function() {
3996
4021
  for (var t, r = [], n = 0; n < arguments.length; n++)
3997
4022
  r[n] = arguments[n];
3998
4023
  return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
3999
4024
  }, {
4000
- cache: $e(e.pluralRules),
4001
- strategy: Me.variadic
4025
+ cache: De(e.pluralRules),
4026
+ strategy: Re.variadic
4002
4027
  })
4003
4028
  };
4004
4029
  }
4005
- var Ei = (
4030
+ var Si = (
4006
4031
  /** @class */
4007
4032
  function() {
4008
4033
  function e(t, r, n, i) {
@@ -4017,7 +4042,7 @@ var Ei = (
4017
4042
  if (u.length === 1)
4018
4043
  return u[0].value;
4019
4044
  var h = u.reduce(function(f, c) {
4020
- return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4045
+ return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4021
4046
  }, []);
4022
4047
  return h.length <= 1 ? h[0] || "" : h;
4023
4048
  }, this.formatToParts = function(l) {
@@ -4032,15 +4057,15 @@ var Ei = (
4032
4057
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4033
4058
  if (this.message = t, !e.__parse)
4034
4059
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4035
- var s = i || {};
4036
- s.formatters;
4037
- var a = Yr(s, ["formatters"]);
4038
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
4060
+ var a = i || {};
4061
+ a.formatters;
4062
+ var s = rn(a, ["formatters"]);
4063
+ this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4039
4064
  } else
4040
4065
  this.ast = t;
4041
4066
  if (!Array.isArray(this.ast))
4042
4067
  throw new TypeError("A message must be provided as a String or AST.");
4043
- this.formats = vi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
4068
+ this.formats = xi(e.formats, n), this.formatters = i && i.formatters || wi(this.formatterCache);
4044
4069
  }
4045
4070
  return Object.defineProperty(e, "defaultLocale", {
4046
4071
  get: function() {
@@ -4053,7 +4078,7 @@ var Ei = (
4053
4078
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4054
4079
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4055
4080
  }
4056
- }, e.__parse = di, e.formats = {
4081
+ }, e.__parse = bi, e.formats = {
4057
4082
  number: {
4058
4083
  integer: {
4059
4084
  maximumFractionDigits: 0
@@ -4114,7 +4139,7 @@ var Ei = (
4114
4139
  }, e;
4115
4140
  }()
4116
4141
  );
4117
- function xi(e, t) {
4142
+ function Ti(e, t) {
4118
4143
  if (t == null)
4119
4144
  return;
4120
4145
  if (t in e)
@@ -4135,92 +4160,92 @@ function xi(e, t) {
4135
4160
  n = void 0;
4136
4161
  return n;
4137
4162
  }
4138
- const j = {}, Si = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), pr = (e, t) => {
4163
+ const j = {}, Hi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
4139
4164
  if (t == null)
4140
4165
  return;
4141
4166
  if (t in j && e in j[t])
4142
4167
  return j[t][e];
4143
4168
  const r = Ae(t);
4144
4169
  for (let n = 0; n < r.length; n++) {
4145
- const i = r[n], o = Ti(i, e);
4170
+ const i = r[n], o = Pi(i, e);
4146
4171
  if (o)
4147
- return Si(e, t, o);
4172
+ return Hi(e, t, o);
4148
4173
  }
4149
4174
  };
4150
- let rt;
4175
+ let ot;
4151
4176
  const de = Be({});
4152
- function wi(e) {
4153
- return rt[e] || null;
4177
+ function Bi(e) {
4178
+ return ot[e] || null;
4154
4179
  }
4155
- function mr(e) {
4156
- return e in rt;
4180
+ function _r(e) {
4181
+ return e in ot;
4157
4182
  }
4158
- function Ti(e, t) {
4159
- if (!mr(e))
4183
+ function Pi(e, t) {
4184
+ if (!_r(e))
4160
4185
  return null;
4161
- const r = wi(e);
4162
- return xi(r, t);
4186
+ const r = Bi(e);
4187
+ return Ti(r, t);
4163
4188
  }
4164
- function Hi(e) {
4189
+ function Ai(e) {
4165
4190
  if (e == null)
4166
4191
  return;
4167
4192
  const t = Ae(e);
4168
4193
  for (let r = 0; r < t.length; r++) {
4169
4194
  const n = t[r];
4170
- if (mr(n))
4195
+ if (_r(n))
4171
4196
  return n;
4172
4197
  }
4173
4198
  }
4174
- function br(e, ...t) {
4175
- delete j[e], de.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4199
+ function Er(e, ...t) {
4200
+ delete j[e], de.update((r) => (r[e] = Mn.all([r[e] || {}, ...t]), r));
4176
4201
  }
4177
4202
  ie(
4178
4203
  [de],
4179
4204
  ([e]) => Object.keys(e)
4180
4205
  );
4181
- de.subscribe((e) => rt = e);
4206
+ de.subscribe((e) => ot = e);
4182
4207
  const xe = {};
4183
- function Bi(e, t) {
4208
+ function Oi(e, t) {
4184
4209
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4185
4210
  }
4186
- function yr(e) {
4211
+ function xr(e) {
4187
4212
  return xe[e];
4188
4213
  }
4189
- function Pi(e) {
4214
+ function Ii(e) {
4190
4215
  return Ae(e).map((t) => {
4191
- const r = yr(t);
4216
+ const r = xr(t);
4192
4217
  return [t, r ? [...r] : []];
4193
4218
  }).filter(([, t]) => t.length > 0);
4194
4219
  }
4195
- function Ke(e) {
4220
+ function et(e) {
4196
4221
  return e == null ? !1 : Ae(e).some(
4197
4222
  (t) => {
4198
4223
  var r;
4199
- return (r = yr(t)) == null ? void 0 : r.size;
4224
+ return (r = xr(t)) == null ? void 0 : r.size;
4200
4225
  }
4201
4226
  );
4202
4227
  }
4203
- function Ai(e, t) {
4228
+ function Ci(e, t) {
4204
4229
  return Promise.all(
4205
- t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4206
- ).then((n) => br(e, ...n));
4230
+ t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
4231
+ ).then((n) => Er(e, ...n));
4207
4232
  }
4208
4233
  const ae = {};
4209
- function gr(e) {
4210
- if (!Ke(e))
4234
+ function wr(e) {
4235
+ if (!et(e))
4211
4236
  return e in ae ? ae[e] : Promise.resolve();
4212
- const t = Pi(e);
4237
+ const t = Ii(e);
4213
4238
  return ae[e] = Promise.all(
4214
4239
  t.map(
4215
- ([r, n]) => Ai(r, n)
4240
+ ([r, n]) => Ci(r, n)
4216
4241
  )
4217
4242
  ).then(() => {
4218
- if (Ke(e))
4219
- return gr(e);
4243
+ if (et(e))
4244
+ return wr(e);
4220
4245
  delete ae[e];
4221
4246
  }), ae[e];
4222
4247
  }
4223
- const Oi = {
4248
+ const Li = {
4224
4249
  number: {
4225
4250
  scientific: { notation: "scientific" },
4226
4251
  engineering: { notation: "engineering" },
@@ -4249,57 +4274,57 @@ const Oi = {
4249
4274
  timeZoneName: "short"
4250
4275
  }
4251
4276
  }
4252
- }, Ii = {
4277
+ }, Mi = {
4253
4278
  fallbackLocale: null,
4254
4279
  loadingDelay: 200,
4255
- formats: Oi,
4280
+ formats: Li,
4256
4281
  warnOnMissingMessages: !0,
4257
4282
  handleMissingMessage: void 0,
4258
4283
  ignoreTag: !0
4259
- }, Ci = Ii;
4284
+ }, Ni = Mi;
4260
4285
  function ne() {
4261
- return Ci;
4286
+ return Ni;
4262
4287
  }
4263
- const De = Be(!1);
4264
- var Li = Object.defineProperty, Ni = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4288
+ const Ue = Be(!1);
4289
+ var Ri = Object.defineProperty, $i = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
4265
4290
  for (var r in t || (t = {}))
4266
- Ri.call(t, r) && At(e, r, t[r]);
4267
- if (Pt)
4268
- for (var r of Pt(t))
4269
- $i.call(t, r) && At(e, r, t[r]);
4291
+ Ui.call(t, r) && Ct(e, r, t[r]);
4292
+ if (It)
4293
+ for (var r of It(t))
4294
+ Gi.call(t, r) && Ct(e, r, t[r]);
4270
4295
  return e;
4271
- }, Ui = (e, t) => Ni(e, Mi(t));
4272
- let et;
4273
- const Se = Be(null);
4274
- function Ot(e) {
4296
+ }, ji = (e, t) => $i(e, Di(t));
4297
+ let tt;
4298
+ const we = Be(null);
4299
+ function Lt(e) {
4275
4300
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4276
4301
  }
4277
4302
  function Ae(e, t = ne().fallbackLocale) {
4278
- const r = Ot(e);
4279
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4303
+ const r = Lt(e);
4304
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
4280
4305
  }
4281
4306
  function z() {
4282
- return et != null ? et : void 0;
4307
+ return tt != null ? tt : void 0;
4283
4308
  }
4284
- Se.subscribe((e) => {
4285
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4309
+ we.subscribe((e) => {
4310
+ tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4286
4311
  });
4287
- const Gi = (e) => {
4288
- if (e && Hi(e) && Ke(e)) {
4312
+ const ki = (e) => {
4313
+ if (e && Ai(e) && et(e)) {
4289
4314
  const { loadingDelay: t } = ne();
4290
4315
  let r;
4291
4316
  return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
4292
- () => De.set(!0),
4317
+ () => Ue.set(!0),
4293
4318
  t
4294
- ) : De.set(!0), gr(e).then(() => {
4295
- Se.set(e);
4319
+ ) : Ue.set(!0), wr(e).then(() => {
4320
+ we.set(e);
4296
4321
  }).finally(() => {
4297
- clearTimeout(r), De.set(!1);
4322
+ clearTimeout(r), Ue.set(!1);
4298
4323
  });
4299
4324
  }
4300
- return Se.set(e);
4301
- }, oe = Ui(Di({}, Se), {
4302
- set: Gi
4325
+ return we.set(e);
4326
+ }, oe = ji(Fi({}, we), {
4327
+ set: ki
4303
4328
  }), Oe = (e) => {
4304
4329
  const t = /* @__PURE__ */ Object.create(null);
4305
4330
  return (n) => {
@@ -4307,20 +4332,20 @@ const Gi = (e) => {
4307
4332
  return i in t ? t[i] : t[i] = e(n);
4308
4333
  };
4309
4334
  };
4310
- var Fi = Object.defineProperty, we = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4335
+ var Vi = Object.defineProperty, Se = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4311
4336
  for (var r in t || (t = {}))
4312
- vr.call(t, r) && It(e, r, t[r]);
4313
- if (we)
4314
- for (var r of we(t))
4315
- _r.call(t, r) && It(e, r, t[r]);
4337
+ Sr.call(t, r) && Mt(e, r, t[r]);
4338
+ if (Se)
4339
+ for (var r of Se(t))
4340
+ Tr.call(t, r) && Mt(e, r, t[r]);
4316
4341
  return e;
4317
4342
  }, se = (e, t) => {
4318
4343
  var r = {};
4319
4344
  for (var n in e)
4320
- vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4321
- if (e != null && we)
4322
- for (var n of we(e))
4323
- t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4345
+ Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4346
+ if (e != null && Se)
4347
+ for (var n of Se(e))
4348
+ t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4324
4349
  return r;
4325
4350
  };
4326
4351
  const ce = (e, t) => {
@@ -4328,21 +4353,21 @@ const ce = (e, t) => {
4328
4353
  if (e in r && t in r[e])
4329
4354
  return r[e][t];
4330
4355
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4331
- }, ji = Oe(
4356
+ }, Xi = Oe(
4332
4357
  (e) => {
4333
4358
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4334
4359
  if (r == null)
4335
4360
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4336
4361
  return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4337
4362
  }
4338
- ), ki = Oe(
4363
+ ), Wi = Oe(
4339
4364
  (e) => {
4340
4365
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4341
4366
  if (r == null)
4342
4367
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4343
4368
  return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4344
4369
  }
4345
- ), Vi = Oe(
4370
+ ), zi = Oe(
4346
4371
  (e) => {
4347
4372
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4348
4373
  if (r == null)
@@ -4351,57 +4376,57 @@ const ce = (e, t) => {
4351
4376
  );
4352
4377
  return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4353
4378
  }
4354
- ), Xi = (e = {}) => {
4379
+ ), qi = (e = {}) => {
4355
4380
  var t = e, {
4356
4381
  locale: r = z()
4357
4382
  } = t, n = se(t, [
4358
4383
  "locale"
4359
4384
  ]);
4360
- return ji(nt({ locale: r }, n));
4361
- }, Wi = (e = {}) => {
4385
+ return Xi(st({ locale: r }, n));
4386
+ }, Zi = (e = {}) => {
4362
4387
  var t = e, {
4363
4388
  locale: r = z()
4364
4389
  } = t, n = se(t, [
4365
4390
  "locale"
4366
4391
  ]);
4367
- return ki(nt({ locale: r }, n));
4368
- }, zi = (e = {}) => {
4392
+ return Wi(st({ locale: r }, n));
4393
+ }, Qi = (e = {}) => {
4369
4394
  var t = e, {
4370
4395
  locale: r = z()
4371
4396
  } = t, n = se(t, [
4372
4397
  "locale"
4373
4398
  ]);
4374
- return Vi(nt({ locale: r }, n));
4375
- }, qi = Oe(
4399
+ return zi(st({ locale: r }, n));
4400
+ }, Ji = Oe(
4376
4401
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4377
- (e, t = z()) => new Ei(e, t, ne().formats, {
4402
+ (e, t = z()) => new Si(e, t, ne().formats, {
4378
4403
  ignoreTag: ne().ignoreTag
4379
4404
  })
4380
- ), Zi = (e, t = {}) => {
4405
+ ), Yi = (e, t = {}) => {
4381
4406
  var r, n, i, o;
4382
- let s = t;
4383
- typeof e == "object" && (s = e, e = s.id);
4407
+ let a = t;
4408
+ typeof e == "object" && (a = e, e = a.id);
4384
4409
  const {
4385
- values: a,
4410
+ values: s,
4386
4411
  locale: l = z(),
4387
4412
  default: u
4388
- } = s;
4413
+ } = a;
4389
4414
  if (l == null)
4390
4415
  throw new Error(
4391
4416
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4392
4417
  );
4393
- let h = pr(e, l);
4418
+ let h = vr(e, l);
4394
4419
  if (!h)
4395
4420
  h = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4396
4421
  else if (typeof h != "string")
4397
4422
  return console.warn(
4398
4423
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4399
4424
  ), h;
4400
- if (!a)
4425
+ if (!s)
4401
4426
  return h;
4402
4427
  let f = h;
4403
4428
  try {
4404
- f = qi(h, l).format(a);
4429
+ f = Ji(h, l).format(s);
4405
4430
  } catch (c) {
4406
4431
  c instanceof Error && console.warn(
4407
4432
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4409,16 +4434,16 @@ const ce = (e, t) => {
4409
4434
  );
4410
4435
  }
4411
4436
  return f;
4412
- }, Qi = (e, t) => zi(t).format(e), Ji = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = z()) => pr(e, t), eo = ie([oe, de], () => Zi);
4413
- ie([oe], () => Qi);
4414
- ie([oe], () => Ji);
4415
- ie([oe], () => Yi);
4416
- ie([oe, de], () => Ki);
4417
- window.emWidgets = { topic: dn };
4418
- 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)), to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4419
- function Oo(e, t) {
4437
+ }, Ki = (e, t) => Qi(t).format(e), eo = (e, t) => Zi(t).format(e), to = (e, t) => qi(t).format(e), ro = (e, t = z()) => vr(e, t), no = ie([oe, de], () => Yi);
4438
+ ie([oe], () => Ki);
4439
+ ie([oe], () => eo);
4440
+ ie([oe], () => to);
4441
+ ie([oe, de], () => ro);
4442
+ window.emWidgets = { topic: yn };
4443
+ const Hr = (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";
4444
+ function $o(e, t) {
4420
4445
  const r = window.navigator.userAgent;
4421
- return Er(r) ? t = e.filter((n) => {
4446
+ return Hr(r) ? t = e.filter((n) => {
4422
4447
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4423
4448
  return n;
4424
4449
  }) : t = e.filter((n) => {
@@ -4426,13 +4451,36 @@ function Oo(e, t) {
4426
4451
  return n;
4427
4452
  }), t;
4428
4453
  }
4429
- function Ct(e, t) {
4430
- br(e, t);
4454
+ function oo(e, t) {
4455
+ if (e) {
4456
+ const r = document.createElement("style");
4457
+ r.innerHTML = t, e.appendChild(r);
4458
+ }
4459
+ }
4460
+ function so(e, t) {
4461
+ const r = new URL(t);
4462
+ fetch(r.href).then((n) => n.text()).then((n) => {
4463
+ const i = document.createElement("style");
4464
+ i.innerHTML = n, e && e.appendChild(i);
4465
+ }).catch((n) => {
4466
+ console.error("There was an error while trying to load client styling from URL", n);
4467
+ });
4468
+ }
4469
+ function ao(e, t, r) {
4470
+ if (window.emMessageBus) {
4471
+ const n = document.createElement("style");
4472
+ window.emMessageBus.subscribe(t, (i) => {
4473
+ n.innerHTML = i, e && e.appendChild(n);
4474
+ });
4475
+ }
4431
4476
  }
4432
- function ro(e) {
4477
+ function Nt(e, t) {
4478
+ Er(e, t);
4479
+ }
4480
+ function uo(e) {
4433
4481
  oe.set(e);
4434
4482
  }
4435
- const Lt = {
4483
+ const Rt = {
4436
4484
  en: {
4437
4485
  error: "500 Error - Internal Server Error"
4438
4486
  },
@@ -4464,7 +4512,7 @@ if (typeof window != "undefined") {
4464
4512
  }
4465
4513
  };
4466
4514
  };
4467
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-DazppRF9.js").then(({ default: t }) => {
4515
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BVWbjQFD.js").then(({ default: t }) => {
4468
4516
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4469
4517
  });
4470
4518
  }
@@ -4480,70 +4528,70 @@ if (typeof window != "undefined") {
4480
4528
  }
4481
4529
  };
4482
4530
  };
4483
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DcdOBbU8.js").then(({ default: t }) => {
4531
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-Cpx3YOPg.js").then(({ default: t }) => {
4484
4532
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4485
4533
  });
4486
4534
  }
4487
- function no(e) {
4488
- Ir(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-1bqenf9{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-1bqenf9{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4535
+ function lo(e) {
4536
+ Rr(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-1bqenf9{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-1bqenf9{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4489
4537
  }.LoadingSpinner.svelte-1bqenf9:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-1bqenf9-LoadingSpinner 1.2s linear infinite}@keyframes svelte-1bqenf9-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4490
4538
  }
4491
- function Nt(e, t, r) {
4539
+ function $t(e, t, r) {
4492
4540
  const n = e.slice();
4493
- return n[26] = t[r], n[28] = r, n;
4541
+ return n[25] = t[r], n[27] = r, n;
4494
4542
  }
4495
- function io(e) {
4496
- let t, r, n, i = ct(
4543
+ function ho(e) {
4544
+ let t, r, n, i = pt(
4497
4545
  /*calendarCollections*/
4498
4546
  e[5]
4499
4547
  ), o = [];
4500
- for (let a = 0; a < i.length; a += 1)
4501
- o[a] = Mt(Nt(e, i, a));
4502
- let s = (
4548
+ for (let s = 0; s < i.length; s += 1)
4549
+ o[s] = Dt($t(e, i, s));
4550
+ let a = (
4503
4551
  /*calendarModalOpened*/
4504
- e[10] == !0 && Rt(e)
4552
+ e[10] == !0 && Ut(e)
4505
4553
  );
4506
4554
  return {
4507
4555
  c() {
4508
4556
  t = M("div");
4509
- for (let a = 0; a < o.length; a += 1)
4510
- o[a].c();
4511
- r = Rr(), s && s.c(), X(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4557
+ for (let s = 0; s < o.length; s += 1)
4558
+ o[s].c();
4559
+ r = Fr(), a && a.c(), X(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4512
4560
  (e[9] ? "Mobile" : "") + " svelte-1bqenf9");
4513
4561
  },
4514
- m(a, l) {
4515
- k(a, t, l);
4562
+ m(s, l) {
4563
+ k(s, t, l);
4516
4564
  for (let u = 0; u < o.length; u += 1)
4517
4565
  o[u] && o[u].m(t, null);
4518
- fe(t, r), s && s.m(t, null);
4566
+ fe(t, r), a && a.m(t, null);
4519
4567
  },
4520
- p(a, l) {
4568
+ p(s, l) {
4521
4569
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, translationurl*/
4522
4570
  47) {
4523
- i = ct(
4571
+ i = pt(
4524
4572
  /*calendarCollections*/
4525
- a[5]
4573
+ s[5]
4526
4574
  );
4527
4575
  let u;
4528
4576
  for (u = 0; u < i.length; u += 1) {
4529
- const h = Nt(a, i, u);
4530
- o[u] ? o[u].p(h, l) : (o[u] = Mt(h), o[u].c(), o[u].m(t, r));
4577
+ const h = $t(s, i, u);
4578
+ o[u] ? o[u].p(h, l) : (o[u] = Dt(h), o[u].c(), o[u].m(t, r));
4531
4579
  }
4532
4580
  for (; u < o.length; u += 1)
4533
4581
  o[u].d(1);
4534
4582
  o.length = i.length;
4535
4583
  }
4536
4584
  /*calendarModalOpened*/
4537
- a[10] == !0 ? s ? s.p(a, l) : (s = Rt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), l & /*mobileView*/
4585
+ s[10] == !0 ? a ? a.p(s, l) : (a = Ut(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4538
4586
  512 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4539
- (a[9] ? "Mobile" : "") + " svelte-1bqenf9") && X(t, "class", n);
4587
+ (s[9] ? "Mobile" : "") + " svelte-1bqenf9") && X(t, "class", n);
4540
4588
  },
4541
- d(a) {
4542
- a && D(t), Nr(o, a), s && s.d();
4589
+ d(s) {
4590
+ s && D(t), Ur(o, s), a && a.d();
4543
4591
  }
4544
4592
  };
4545
4593
  }
4546
- function oo(e) {
4594
+ function co(e) {
4547
4595
  let t;
4548
4596
  return {
4549
4597
  c() {
@@ -4552,20 +4600,20 @@ function oo(e) {
4552
4600
  m(r, n) {
4553
4601
  k(r, t, n);
4554
4602
  },
4555
- p: A,
4603
+ p: O,
4556
4604
  d(r) {
4557
4605
  r && D(t);
4558
4606
  }
4559
4607
  };
4560
4608
  }
4561
- function so(e) {
4609
+ function fo(e) {
4562
4610
  let t, r = (
4563
4611
  /*$_*/
4564
4612
  e[11]("error") + ""
4565
4613
  ), n;
4566
4614
  return {
4567
4615
  c() {
4568
- t = M("p"), n = tt(r), X(t, "class", "SearchLoading");
4616
+ t = M("p"), n = rt(r), X(t, "class", "SearchLoading");
4569
4617
  },
4570
4618
  m(i, o) {
4571
4619
  k(i, t, o), fe(t, n);
@@ -4573,27 +4621,27 @@ function so(e) {
4573
4621
  p(i, o) {
4574
4622
  o & /*$_*/
4575
4623
  2048 && r !== (r = /*$_*/
4576
- i[11]("error") + "") && Dr(n, r);
4624
+ i[11]("error") + "") && kr(n, r);
4577
4625
  },
4578
4626
  d(i) {
4579
4627
  i && D(t);
4580
4628
  }
4581
4629
  };
4582
4630
  }
4583
- function Mt(e) {
4584
- let t, r, n, i, o, s;
4631
+ function Dt(e) {
4632
+ let t, r, n, i, o, a;
4585
4633
  return {
4586
4634
  c() {
4587
4635
  t = M("casino-calendar-daily-item"), m(t, "dailybackground", r = /*dailyCalendarData*/
4588
- e[26].dailyBackground), m(t, "dailyicon", n = /*dailyCalendarData*/
4589
- e[26].dailyIcon), m(t, "dailyday", i = /*dailyCalendarData*/
4590
- e[26].dailyDay), m(t, "dailydescription", o = /*dailyCalendarData*/
4591
- e[26].dailyDescription), m(t, "dailybuttontitle", s = /*dailyCalendarData*/
4592
- e[26].dailyButtonTitle), m(
4636
+ e[25].dailyBackground), m(t, "dailyicon", n = /*dailyCalendarData*/
4637
+ e[25].dailyIcon), m(t, "dailyday", i = /*dailyCalendarData*/
4638
+ e[25].dailyDay), m(t, "dailydescription", o = /*dailyCalendarData*/
4639
+ e[25].dailyDescription), m(t, "dailybuttontitle", a = /*dailyCalendarData*/
4640
+ e[25].dailyButtonTitle), m(
4593
4641
  t,
4594
4642
  "index",
4595
4643
  /*index*/
4596
- e[28]
4644
+ e[27]
4597
4645
  ), m(
4598
4646
  t,
4599
4647
  "lang",
@@ -4616,53 +4664,53 @@ function Mt(e) {
4616
4664
  e[3]
4617
4665
  );
4618
4666
  },
4619
- m(a, l) {
4620
- k(a, t, l);
4667
+ m(s, l) {
4668
+ k(s, t, l);
4621
4669
  },
4622
- p(a, l) {
4670
+ p(s, l) {
4623
4671
  l & /*calendarCollections*/
4624
4672
  32 && r !== (r = /*dailyCalendarData*/
4625
- a[26].dailyBackground) && m(t, "dailybackground", r), l & /*calendarCollections*/
4673
+ s[25].dailyBackground) && m(t, "dailybackground", r), l & /*calendarCollections*/
4626
4674
  32 && n !== (n = /*dailyCalendarData*/
4627
- a[26].dailyIcon) && m(t, "dailyicon", n), l & /*calendarCollections*/
4675
+ s[25].dailyIcon) && m(t, "dailyicon", n), l & /*calendarCollections*/
4628
4676
  32 && i !== (i = /*dailyCalendarData*/
4629
- a[26].dailyDay) && m(t, "dailyday", i), l & /*calendarCollections*/
4677
+ s[25].dailyDay) && m(t, "dailyday", i), l & /*calendarCollections*/
4630
4678
  32 && o !== (o = /*dailyCalendarData*/
4631
- a[26].dailyDescription) && m(t, "dailydescription", o), l & /*calendarCollections*/
4632
- 32 && s !== (s = /*dailyCalendarData*/
4633
- a[26].dailyButtonTitle) && m(t, "dailybuttontitle", s), l & /*lang*/
4679
+ s[25].dailyDescription) && m(t, "dailydescription", o), l & /*calendarCollections*/
4680
+ 32 && a !== (a = /*dailyCalendarData*/
4681
+ s[25].dailyButtonTitle) && m(t, "dailybuttontitle", a), l & /*lang*/
4634
4682
  1 && m(
4635
4683
  t,
4636
4684
  "lang",
4637
4685
  /*lang*/
4638
- a[0]
4686
+ s[0]
4639
4687
  ), l & /*clientstyling*/
4640
4688
  2 && m(
4641
4689
  t,
4642
4690
  "clientstyling",
4643
4691
  /*clientstyling*/
4644
- a[1]
4692
+ s[1]
4645
4693
  ), l & /*clientstylingurl*/
4646
4694
  4 && m(
4647
4695
  t,
4648
4696
  "clientstylingurl",
4649
4697
  /*clientstylingurl*/
4650
- a[2]
4698
+ s[2]
4651
4699
  ), l & /*translationurl*/
4652
4700
  8 && m(
4653
4701
  t,
4654
4702
  "translationurl",
4655
4703
  /*translationurl*/
4656
- a[3]
4704
+ s[3]
4657
4705
  );
4658
4706
  },
4659
- d(a) {
4660
- a && D(t);
4707
+ d(s) {
4708
+ s && D(t);
4661
4709
  }
4662
4710
  };
4663
4711
  }
4664
- function Rt(e) {
4665
- let t, r, n, i, o, s, a, l;
4712
+ function Ut(e) {
4713
+ let t, r, n, i, o, a, s, l;
4666
4714
  return {
4667
4715
  c() {
4668
4716
  t = M("div"), r = M("casino-calendar-daily-details"), m(r, "dailybackground", n = /*calendarCollections*/
@@ -4677,11 +4725,11 @@ function Rt(e) {
4677
4725
  e[5][
4678
4726
  /*selectedIndex*/
4679
4727
  e[6]
4680
- ].dailyDay), m(r, "dailydescription", s = /*calendarCollections*/
4728
+ ].dailyDay), m(r, "dailydescription", a = /*calendarCollections*/
4681
4729
  e[5][
4682
4730
  /*selectedIndex*/
4683
4731
  e[6]
4684
- ].dailyDescription), m(r, "dailyicon", a = /*calendarCollections*/
4732
+ ].dailyDescription), m(r, "dailyicon", s = /*calendarCollections*/
4685
4733
  e[5][
4686
4734
  /*selectedIndex*/
4687
4735
  e[6]
@@ -4731,16 +4779,16 @@ function Rt(e) {
4731
4779
  /*selectedIndex*/
4732
4780
  u[6]
4733
4781
  ].dailyDay) && m(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4734
- 96 && s !== (s = /*calendarCollections*/
4782
+ 96 && a !== (a = /*calendarCollections*/
4735
4783
  u[5][
4736
4784
  /*selectedIndex*/
4737
4785
  u[6]
4738
- ].dailyDescription) && m(r, "dailydescription", s), h & /*calendarCollections, selectedIndex*/
4739
- 96 && a !== (a = /*calendarCollections*/
4786
+ ].dailyDescription) && m(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4787
+ 96 && s !== (s = /*calendarCollections*/
4740
4788
  u[5][
4741
4789
  /*selectedIndex*/
4742
4790
  u[6]
4743
- ].dailyIcon) && m(r, "dailyicon", a), h & /*calendarCollections, selectedIndex*/
4791
+ ].dailyIcon) && m(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4744
4792
  96 && l !== (l = /*calendarCollections*/
4745
4793
  u[5][
4746
4794
  /*selectedIndex*/
@@ -4776,150 +4824,135 @@ function Rt(e) {
4776
4824
  }
4777
4825
  };
4778
4826
  }
4779
- function ao(e) {
4827
+ function po(e) {
4780
4828
  let t;
4781
- function r(o, s) {
4782
- var a;
4829
+ function r(o, a) {
4830
+ var s;
4783
4831
  if (
4784
4832
  /*hasErrors*/
4785
4833
  o[8]
4786
- ) return so;
4834
+ ) return fo;
4787
4835
  if (
4788
4836
  /*isLoading*/
4789
4837
  o[7]
4790
- ) return oo;
4838
+ ) return co;
4791
4839
  if (
4792
4840
  /*calendarCollections*/
4793
- (a = o[5]) != null && a.length
4794
- ) return io;
4841
+ (s = o[5]) != null && s.length
4842
+ ) return ho;
4795
4843
  }
4796
4844
  let n = r(e), i = n && n(e);
4797
4845
  return {
4798
4846
  c() {
4799
4847
  t = M("div"), i && i.c();
4800
4848
  },
4801
- m(o, s) {
4802
- k(o, t, s), i && i.m(t, null), e[15](t);
4849
+ m(o, a) {
4850
+ k(o, t, a), i && i.m(t, null), e[16](t);
4803
4851
  },
4804
- p(o, [s]) {
4805
- n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4852
+ p(o, [a]) {
4853
+ n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4806
4854
  },
4807
- i: A,
4808
- o: A,
4855
+ i: O,
4856
+ o: O,
4809
4857
  d(o) {
4810
- o && D(t), i && i.d(), e[15](null);
4858
+ o && D(t), i && i.d(), e[16](null);
4811
4859
  }
4812
4860
  };
4813
4861
  }
4814
- function uo(e, t, r) {
4862
+ function mo(e, t, r) {
4815
4863
  let n;
4816
- Or(e, eo, (d) => r(11, n = d));
4817
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, f, c, p = 0, b = !0, v = !1, S = !1, O = window.navigator.userAgent, P = !1;
4818
- const H = () => {
4819
- ro(a);
4864
+ Nr(e, no, (p) => r(11, n = p));
4865
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, d, b = 0, g = !0, w = !1, I = !1, P = window.navigator.userAgent, S = !1, N;
4866
+ const C = () => {
4867
+ uo(s);
4820
4868
  };
4821
- Object.keys(Lt).forEach((d) => {
4822
- Ct(d, Lt[d]);
4869
+ Object.keys(Rt).forEach((p) => {
4870
+ Nt(p, Rt[p]);
4823
4871
  });
4824
4872
  const R = () => {
4825
- let d = h;
4826
- if (d)
4827
- return fetch(d).then((w) => w.json()).then((w) => {
4828
- Object.keys(w).forEach((N) => {
4829
- Ct(N, w[N]);
4873
+ let p = h;
4874
+ if (p)
4875
+ return fetch(p).then((B) => B.json()).then((B) => {
4876
+ Object.keys(B).forEach((F) => {
4877
+ Nt(F, B[F]);
4830
4878
  });
4831
- }).catch((w) => {
4832
- console.log(w);
4879
+ }).catch((B) => {
4880
+ console.log(B);
4833
4881
  });
4834
- }, I = () => {
4835
- r(7, b = !0);
4836
- let d = new URL(`${i}/${a}/daily-calendar`);
4837
- d.searchParams.append("userRoles", s), d.searchParams.append("env", o);
4838
- let w = to(O);
4839
- w && (w === "PC" ? d.searchParams.append("device", "dk") : w === "iPad" || w === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((N) => N.json()).then((N) => {
4840
- r(5, c = N);
4841
- }).catch((N) => {
4842
- console.log(N), r(8, v = !0);
4882
+ }, x = () => {
4883
+ r(7, g = !0);
4884
+ let p = new URL(`${i}/${s}/daily-calendar`);
4885
+ p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4886
+ let B = io(P);
4887
+ 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) => {
4888
+ r(5, d = F);
4889
+ }).catch((F) => {
4890
+ console.log(F), r(8, w = !0);
4843
4891
  }).finally(() => {
4844
- r(7, b = !1);
4892
+ r(7, g = !1);
4845
4893
  });
4846
- }, $ = () => {
4847
- I();
4848
- }, E = (d) => {
4849
- var w;
4850
- d.data && d.data.type == "OpenCalendar" && (r(6, p = d.data.index), r(10, P = !0), window.postMessage(
4894
+ }, L = () => {
4895
+ x();
4896
+ }, A = (p) => {
4897
+ var B;
4898
+ p.data && p.data.type == "OpenCalendar" && (r(6, b = p.data.index), r(10, S = !0), window.postMessage(
4851
4899
  {
4852
4900
  type: "ShowModal",
4853
- selectedIndex: p,
4901
+ selectedIndex: b,
4854
4902
  identifier: "Calendar"
4855
4903
  },
4856
4904
  window.location.href
4857
4905
  ), window.postMessage({
4858
4906
  type: "DailyEventsData",
4859
- data: (w = c[p]) == null ? void 0 : w.dailyEvents
4860
- })), d.data && d.data.type == "ModalClosed" && r(10, P = !1);
4861
- }, C = () => {
4862
- let d = document.createElement("style");
4863
- d.innerHTML = l, f.appendChild(d);
4864
- }, L = () => {
4865
- let d = new URL(u), w = document.createElement("style");
4866
- fetch(d.href).then((N) => N.text()).then((N) => {
4867
- w.innerHTML = N, setTimeout(
4868
- () => {
4869
- f.appendChild(w);
4870
- },
4871
- 1
4872
- ), setTimeout(
4873
- () => {
4874
- },
4875
- 500
4876
- );
4877
- });
4907
+ data: (B = d[b]) == null ? void 0 : B.dailyEvents
4908
+ })), p.data && p.data.type == "ModalClosed" && r(10, S = !1);
4878
4909
  };
4879
- jr(() => (window.addEventListener("message", E, !1), Er(O) && r(9, S = !0), () => {
4880
- window.removeEventListener("message", E);
4910
+ Wr(() => (window.addEventListener("message", A, !1), Hr(P) && r(9, I = !0), () => {
4911
+ window.emMessageBus && N && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", A);
4881
4912
  }));
4882
- function q(d) {
4883
- Ue[d ? "unshift" : "push"](() => {
4884
- f = d, r(4, f);
4913
+ function q(p) {
4914
+ Ge[p ? "unshift" : "push"](() => {
4915
+ c = p, r(4, c);
4885
4916
  });
4886
4917
  }
4887
- return e.$$set = (d) => {
4888
- "cmsendpoint" in d && r(12, i = d.cmsendpoint), "env" in d && r(13, o = d.env), "userroles" in d && r(14, s = d.userroles), "lang" in d && r(0, a = d.lang), "clientstyling" in d && r(1, l = d.clientstyling), "clientstylingurl" in d && r(2, u = d.clientstylingurl), "translationurl" in d && r(3, h = d.translationurl);
4918
+ return e.$$set = (p) => {
4919
+ "cmsendpoint" in p && r(12, i = p.cmsendpoint), "env" in p && r(13, o = p.env), "userroles" in p && r(14, a = p.userroles), "lang" in p && r(0, s = p.lang), "clientstyling" in p && r(1, l = p.clientstyling), "clientstylingurl" in p && r(2, u = p.clientstylingurl), "translationurl" in p && r(3, h = p.translationurl), "mbsource" in p && r(15, f = p.mbsource);
4889
4920
  }, e.$$.update = () => {
4890
4921
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4891
- 28673 && i && a && o && s && $(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4892
- 18 && l && f && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4893
- 20 && u && f && L(), e.$$.dirty & /*lang*/
4894
- 1 && a && H(), e.$$.dirty & /*lang, translationurl*/
4895
- 9 && a && h && R();
4922
+ 28673 && i && s && o && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4923
+ 18 && l && c && oo(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4924
+ 20 && u && c && so(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4925
+ 32784 && c && ao(c, `${f}.Style`), e.$$.dirty & /*lang*/
4926
+ 1 && s && C(), e.$$.dirty & /*lang, translationurl*/
4927
+ 9 && s && h && R();
4896
4928
  }, [
4897
- a,
4929
+ s,
4898
4930
  l,
4899
4931
  u,
4900
4932
  h,
4901
- f,
4902
4933
  c,
4903
- p,
4934
+ d,
4904
4935
  b,
4905
- v,
4936
+ g,
4937
+ w,
4938
+ I,
4906
4939
  S,
4907
- P,
4908
4940
  n,
4909
4941
  i,
4910
4942
  o,
4911
- s,
4943
+ a,
4944
+ f,
4912
4945
  q
4913
4946
  ];
4914
4947
  }
4915
- class xr extends Qr {
4948
+ class Br extends en {
4916
4949
  constructor(t) {
4917
- super(), qr(
4950
+ super(), Yr(
4918
4951
  this,
4919
4952
  t,
4920
- uo,
4921
- ao,
4922
- Dt,
4953
+ mo,
4954
+ po,
4955
+ Ft,
4923
4956
  {
4924
4957
  cmsendpoint: 12,
4925
4958
  env: 13,
@@ -4927,112 +4960,123 @@ class xr extends Qr {
4927
4960
  lang: 0,
4928
4961
  clientstyling: 1,
4929
4962
  clientstylingurl: 2,
4930
- translationurl: 3
4963
+ translationurl: 3,
4964
+ mbsource: 15
4931
4965
  },
4932
- no
4966
+ lo
4933
4967
  );
4934
4968
  }
4935
4969
  get cmsendpoint() {
4936
4970
  return this.$$.ctx[12];
4937
4971
  }
4938
4972
  set cmsendpoint(t) {
4939
- this.$$set({ cmsendpoint: t }), U();
4973
+ this.$$set({ cmsendpoint: t }), $();
4940
4974
  }
4941
4975
  get env() {
4942
4976
  return this.$$.ctx[13];
4943
4977
  }
4944
4978
  set env(t) {
4945
- this.$$set({ env: t }), U();
4979
+ this.$$set({ env: t }), $();
4946
4980
  }
4947
4981
  get userroles() {
4948
4982
  return this.$$.ctx[14];
4949
4983
  }
4950
4984
  set userroles(t) {
4951
- this.$$set({ userroles: t }), U();
4985
+ this.$$set({ userroles: t }), $();
4952
4986
  }
4953
4987
  get lang() {
4954
4988
  return this.$$.ctx[0];
4955
4989
  }
4956
4990
  set lang(t) {
4957
- this.$$set({ lang: t }), U();
4991
+ this.$$set({ lang: t }), $();
4958
4992
  }
4959
4993
  get clientstyling() {
4960
4994
  return this.$$.ctx[1];
4961
4995
  }
4962
4996
  set clientstyling(t) {
4963
- this.$$set({ clientstyling: t }), U();
4997
+ this.$$set({ clientstyling: t }), $();
4964
4998
  }
4965
4999
  get clientstylingurl() {
4966
5000
  return this.$$.ctx[2];
4967
5001
  }
4968
5002
  set clientstylingurl(t) {
4969
- this.$$set({ clientstylingurl: t }), U();
5003
+ this.$$set({ clientstylingurl: t }), $();
4970
5004
  }
4971
5005
  get translationurl() {
4972
5006
  return this.$$.ctx[3];
4973
5007
  }
4974
5008
  set translationurl(t) {
4975
- this.$$set({ translationurl: t }), U();
5009
+ this.$$set({ translationurl: t }), $();
5010
+ }
5011
+ get mbsource() {
5012
+ return this.$$.ctx[15];
5013
+ }
5014
+ set mbsource(t) {
5015
+ this.$$set({ mbsource: t }), $();
4976
5016
  }
4977
5017
  }
4978
- Zr(xr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4979
- const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5018
+ Kr(Br, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5019
+ const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4980
5020
  __proto__: null,
4981
- default: xr
5021
+ default: Br
4982
5022
  }, Symbol.toStringTag, { value: "Module" }));
4983
5023
  export {
4984
5024
  oe as $,
4985
- lt as A,
4986
- Rr as B,
4987
- Ue as C,
4988
- ho as D,
4989
- Mr as E,
4990
- yo as F,
4991
- _o as G,
4992
- So as H,
4993
- Zr as I,
4994
- eo as J,
4995
- Eo as K,
4996
- Fe as L,
4997
- W as M,
4998
- go as N,
4999
- de as O,
5000
- m as P,
5001
- to as Q,
5002
- vo as R,
5003
- Qr as S,
5004
- xo as T,
5005
- wo as U,
5006
- Oo as V,
5007
- Ao as W,
5008
- Po as X,
5009
- bo as Y,
5010
- Te as Z,
5011
- Io as _,
5012
- br as a,
5013
- Ir as b,
5014
- kt as c,
5015
- D as d,
5016
- Ho as e,
5017
- U as f,
5018
- To as g,
5019
- k as h,
5020
- qr as i,
5021
- M as j,
5022
- Or as k,
5023
- Er as l,
5024
- Dr as m,
5025
- A as n,
5026
- jr as o,
5027
- fe as p,
5028
- tt as q,
5029
- X as r,
5030
- Dt as s,
5031
- Bo as t,
5032
- co as u,
5033
- ct as v,
5034
- Nr as w,
5035
- po as x,
5036
- mo as y,
5037
- fo as z
5025
+ vo as A,
5026
+ kr as B,
5027
+ Ur as C,
5028
+ O as D,
5029
+ yo as E,
5030
+ no as F,
5031
+ Gr as G,
5032
+ wo as H,
5033
+ Ho as I,
5034
+ Ao as J,
5035
+ so as K,
5036
+ oo as L,
5037
+ ao as M,
5038
+ je as N,
5039
+ Bo as O,
5040
+ W as P,
5041
+ So as Q,
5042
+ de as R,
5043
+ en as S,
5044
+ m as T,
5045
+ io as U,
5046
+ To as V,
5047
+ Po as W,
5048
+ Io as X,
5049
+ $o as Y,
5050
+ Ro as Z,
5051
+ No as _,
5052
+ Er as a,
5053
+ Oo as a0,
5054
+ xo as a1,
5055
+ Te as a2,
5056
+ Do as a3,
5057
+ Rr as b,
5058
+ Kr as c,
5059
+ k as d,
5060
+ M as e,
5061
+ $ as f,
5062
+ Lo as g,
5063
+ zt as h,
5064
+ Yr as i,
5065
+ D as j,
5066
+ Nr as k,
5067
+ Co as l,
5068
+ Hr as m,
5069
+ Ge as n,
5070
+ Wr as o,
5071
+ go as p,
5072
+ pt as q,
5073
+ Fr as r,
5074
+ Ft as s,
5075
+ Mo as t,
5076
+ rt as u,
5077
+ X as v,
5078
+ fe as w,
5079
+ ft as x,
5080
+ _o as y,
5081
+ Eo as z
5038
5082
  };