@everymatrix/casino-page-nd 1.59.0 → 1.59.2

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 (85) hide show
  1. package/components/{CasinoCalendar-DSG6g7xU.js → CasinoCalendar-Bm8jJ1Mr.js} +1131 -1106
  2. package/components/CasinoCalendar-DBpyNdzX.cjs +19 -0
  3. package/components/{CasinoCalendar-DiZrkgaV.js → CasinoCalendar-DttQUJ_p.js} +877 -852
  4. package/components/{CasinoCalendarDailyDetails-Dv1jxPLQ.js → CasinoCalendarDailyDetails-BRtEBxYn.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-DNnl20nr.cjs → CasinoCalendarDailyDetails-Cjdo10t8.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-CcuM0Eaq.js → CasinoCalendarDailyDetails-DesTWpk5.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-BBaphFv2.js → CasinoCalendarDailyItem-B4jvb1pM.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-HkwdKiaQ.cjs → CasinoCalendarDailyItem-D0zUyBnz.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DateMcJ_.js → CasinoCalendarDailyItem-D7jrZ_LJ.js} +41 -41
  10. package/components/{CasinoCollectionsProviders-JONztOpa.js → CasinoCollectionsProviders-CYGBqFuD.js} +140 -137
  11. package/components/{CasinoCollectionsProviders-CQ42E76I.js → CasinoCollectionsProviders-LsjiLvS-.js} +136 -133
  12. package/components/{CasinoCollectionsProviders-DlyhZFGW.cjs → CasinoCollectionsProviders-NvzBTvSZ.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-CwvCXm1r.cjs → CasinoFavoritesSectionNd-BU_H-Cwa.cjs} +1 -1
  14. package/components/{CasinoFavoritesSectionNd-BSrQfl8F.js → CasinoFavoritesSectionNd-Bl8r84A3.js} +84 -84
  15. package/components/{CasinoFavoritesSectionNd-ATr7IIaY.js → CasinoFavoritesSectionNd-DgqUgnPb.js} +84 -84
  16. package/components/{CasinoFilter-D3nwp5eh.js → CasinoFilter-DBAa4rgv.js} +229 -230
  17. package/components/{CasinoFilter-DTSqCXdO.js → CasinoFilter-DC7UpKxg.js} +243 -242
  18. package/components/CasinoFilter-DVMmkZnS.cjs +1 -0
  19. package/components/{CasinoGameThumbnailNd-iZtSs_jC.js → CasinoGameThumbnailNd-CYg2FAUk.js} +1424 -1408
  20. package/components/CasinoGameThumbnailNd-C_15hyfI.cjs +39 -0
  21. package/components/{CasinoGameThumbnailNd-Bbz2LIXF.js → CasinoGameThumbnailNd-uEJomZ9h.js} +1456 -1440
  22. package/components/{CasinoGamesCategorySectionNd-CD6gB3VP.cjs → CasinoGamesCategorySectionNd-CleR81HR.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySectionNd-CfFKc9wx.js → CasinoGamesCategorySectionNd-D0Ai5-RT.js} +368 -363
  24. package/components/{CasinoGamesCategorySectionNd-CxoRqMJF.js → CasinoGamesCategorySectionNd-DdFLyOsp.js} +375 -370
  25. package/components/CasinoJackpotBanner-BgpQokE3.cjs +1 -0
  26. package/components/{CasinoJackpotBanner-DhUCd87f.js → CasinoJackpotBanner-C2j1yUXk.js} +246 -241
  27. package/components/{CasinoJackpotBanner-CB4S1SRX.js → CasinoJackpotBanner-CFJR1YWM.js} +198 -193
  28. package/components/{CasinoLastPlayedSectionNd-CYAcEpfP.cjs → CasinoLastPlayedSectionNd-C4xNg-EE.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-B-n269-s.js → CasinoLastPlayedSectionNd-CQNlYKvE.js} +40 -40
  30. package/components/{CasinoLastPlayedSectionNd-CQPUK7a2.js → CasinoLastPlayedSectionNd-DCty3Jqc.js} +40 -40
  31. package/components/{CasinoMostPlayedSectionNd-Bp6uBo0l.cjs → CasinoMostPlayedSectionNd-BDi2oS49.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSectionNd-DCpLfek7.js → CasinoMostPlayedSectionNd-BRlZx2lF.js} +49 -49
  33. package/components/{CasinoMostPlayedSectionNd-nE2y7G8a.js → CasinoMostPlayedSectionNd-BYfiOjBt.js} +49 -49
  34. package/components/{CasinoMyGamesNd-CGwaiRfg.js → CasinoMyGamesNd-BPIFWLpA.js} +43 -43
  35. package/components/{CasinoMyGamesNd-BO_tVNke.js → CasinoMyGamesNd-CTnKfOJD.js} +42 -42
  36. package/components/{CasinoMyGamesNd-Cro1d_2s.cjs → CasinoMyGamesNd-DpatylQh.cjs} +1 -1
  37. package/components/{CasinoPageNd-DXpri24n.js → CasinoPageNd-ChEHSnRJ.js} +1560 -1509
  38. package/components/{CasinoPageNd-EyQHuFWR.js → CasinoPageNd-DO4djyEb.js} +1553 -1502
  39. package/components/CasinoPageNd-kz_2FL7R.cjs +1 -0
  40. package/components/{CasinoRandomGame-C723vTme.cjs → CasinoRandomGame-C1nrrW2N.cjs} +1 -1
  41. package/components/{CasinoRandomGame-BdTCJXjk.js → CasinoRandomGame-D3B5tI8S.js} +74 -74
  42. package/components/{CasinoRandomGame-Cs6Mh9-O.js → CasinoRandomGame-DfLR0r0i.js} +77 -77
  43. package/components/{CasinoSearchNd-BeAkV3B-.js → CasinoSearchNd--nhdFpqz.js} +53 -53
  44. package/components/{CasinoSearchNd-B5CiyikN.cjs → CasinoSearchNd-BKnd-5lF.cjs} +1 -1
  45. package/components/{CasinoSearchNd-DPtiOjMG.js → CasinoSearchNd-C_vPqLL1.js} +53 -53
  46. package/components/{CasinoSort-C9FqhPn1.js → CasinoSort-BU6PWDpY.js} +111 -110
  47. package/components/{CasinoSort-DJGB2rWX.js → CasinoSort-DX5EmYm_.js} +103 -104
  48. package/components/{CasinoSort-d7HpFn0y.cjs → CasinoSort-DcG0TUN4.cjs} +1 -1
  49. package/components/{CasinoWinners-KCECqhoF.js → CasinoWinners-BOa69aMH.js} +173 -170
  50. package/components/{CasinoWinners-Djt0qjWA.js → CasinoWinners-CYRn98z1.js} +168 -165
  51. package/components/{CasinoWinners-Br-OwXS1.cjs → CasinoWinners-DwOZC8ON.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-Dy1zCPsz.cjs → GeneralAnimationLoading-B40sJaX7.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-Dha7DXjj.js → GeneralAnimationLoading-CXZNRm34.js} +16 -16
  54. package/components/{GeneralAnimationLoading-jXOehNwh.js → GeneralAnimationLoading-D0rjnOL3.js} +16 -16
  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 +3 -2
  59. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  60. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  61. package/stencil/{casino-play-random-game-BOnTgUqC.js → casino-play-random-game-BW66Civ1.js} +20 -18
  62. package/stencil/{casino-play-random-game-NcJEjFWA.js → casino-play-random-game-Bk7toWLj.js} +19 -17
  63. package/stencil/{casino-play-random-game-DjdZ0XM0.cjs → casino-play-random-game-CKM_xKne.cjs} +2 -2
  64. package/stencil/index-ab3202d6-BW1TSmQg.js +575 -0
  65. package/stencil/index-ab3202d6-C6VFhXtX.cjs +1 -0
  66. package/stencil/index-ab3202d6-CkTejM5U.js +559 -0
  67. package/stencil/index-ae04a8b1-BvZmaj3p.js +532 -0
  68. package/stencil/index-ae04a8b1-DoeYpoC5.js +516 -0
  69. package/stencil/index-ae04a8b1-OBbo8Dzb.cjs +1 -0
  70. package/stencil/ui-skeleton-C02hm1pt.js +29 -0
  71. package/stencil/ui-skeleton-DET4YE0J.js +11 -0
  72. package/stencil/ui-skeleton-DlNNnOZy.cjs +1 -0
  73. package/stencil/ui-skeleton-a642cced-7C4Fyb2d.js +122 -0
  74. package/stencil/ui-skeleton-a642cced-BhVS1i2r.cjs +1 -0
  75. package/stencil/ui-skeleton-a642cced-Dn9GOtgo.js +122 -0
  76. package/components/CasinoCalendar-df0Yv0_Y.cjs +0 -19
  77. package/components/CasinoFilter-w2jN5tFN.cjs +0 -1
  78. package/components/CasinoGameThumbnailNd-BH2dRX58.cjs +0 -39
  79. package/components/CasinoJackpotBanner-Bc1JKlzX.cjs +0 -1
  80. package/components/CasinoPageNd-IQy9Bvjn.cjs +0 -1
  81. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  82. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  83. package/stencil/index-510a6ba4-1RrL4Z6e.js +0 -564
  84. package/stencil/index-510a6ba4-CNr-xCZE.js +0 -548
  85. package/stencil/index-510a6ba4-eEczisTR.cjs +0 -1
@@ -1,6 +1,6 @@
1
- function P() {
1
+ function B() {
2
2
  }
3
- function mr(e, t) {
3
+ function Er(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,50 +8,50 @@ function mr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Pt(e) {
11
+ function Ct(e) {
12
12
  return e();
13
13
  }
14
- function et() {
14
+ function it() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function X(e) {
18
- e.forEach(Pt);
17
+ function W(e) {
18
+ e.forEach(Ct);
19
19
  }
20
- function Ee(e) {
20
+ function xe(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function At(e, t) {
23
+ function Lt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- let ce;
27
- function qi(e, t) {
28
- return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
26
+ let fe;
27
+ function ro(e, t) {
28
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
29
29
  }
30
- function br(e) {
30
+ function xr(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function Ot(e, ...t) {
33
+ function Mt(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
37
- return P;
37
+ return B;
38
38
  }
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function yr(e, t, r) {
43
- e.$$.on_destroy.push(Ot(t, r));
42
+ function Sr(e, t, r) {
43
+ e.$$.on_destroy.push(Mt(t, r));
44
44
  }
45
- function Yi(e, t, r, n) {
45
+ function no(e, t, r, n) {
46
46
  if (e) {
47
- const i = It(e, t, r, n);
47
+ const i = Nt(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function It(e, t, r, n) {
52
- return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function Nt(e, t, r, n) {
52
+ return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function Ki(e, t, r, n) {
54
+ function io(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function Ki(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function eo(e, t, r, n, i, o) {
69
+ function oo(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = It(t, r, n, o);
71
+ const a = Nt(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function to(e) {
75
+ function so(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -81,20 +81,20 @@ function to(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function ro(e) {
85
- return e && Ee(e.destroy) ? e.destroy : P;
84
+ function ao(e) {
85
+ return e && xe(e.destroy) ? e.destroy : B;
86
86
  }
87
- function xe(e, t) {
87
+ function Se(e, t) {
88
88
  e.appendChild(t);
89
89
  }
90
- function gr(e, t, r) {
91
- const n = vr(e);
90
+ function wr(e, t, r) {
91
+ const n = Tr(e);
92
92
  if (!n.getElementById(t)) {
93
93
  const i = R("style");
94
- i.id = t, i.textContent = r, _r(n, i);
94
+ i.id = t, i.textContent = r, Hr(n, i);
95
95
  }
96
96
  }
97
- function vr(e) {
97
+ function Tr(e) {
98
98
  if (!e)
99
99
  return document;
100
100
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -104,8 +104,8 @@ function vr(e) {
104
104
  t
105
105
  ) : e.ownerDocument;
106
106
  }
107
- function _r(e, t) {
108
- return xe(
107
+ function Hr(e, t) {
108
+ return Se(
109
109
  /** @type {Document} */
110
110
  e.head || e,
111
111
  t
@@ -117,29 +117,29 @@ function k(e, t, r) {
117
117
  function D(e) {
118
118
  e.parentNode && e.parentNode.removeChild(e);
119
119
  }
120
- function Er(e, t) {
120
+ function Br(e, t) {
121
121
  for (let r = 0; r < e.length; r += 1)
122
122
  e[r] && e[r].d(t);
123
123
  }
124
124
  function R(e) {
125
125
  return document.createElement(e);
126
126
  }
127
- function xr(e) {
127
+ function Pr(e) {
128
128
  return document.createElementNS("http://www.w3.org/2000/svg", e);
129
129
  }
130
- function qe(e) {
130
+ function Ke(e) {
131
131
  return document.createTextNode(e);
132
132
  }
133
- function Sr() {
134
- return qe(" ");
133
+ function Ar() {
134
+ return Ke(" ");
135
135
  }
136
- function no() {
137
- return qe("");
136
+ function uo() {
137
+ return Ke("");
138
138
  }
139
- function io(e, t, r, n) {
139
+ function lo(e, t, r, n) {
140
140
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
141
141
  }
142
- function oo(e) {
142
+ function ho(e) {
143
143
  return function(t) {
144
144
  return t.stopPropagation(), e.call(this, t);
145
145
  };
@@ -147,27 +147,27 @@ function oo(e) {
147
147
  function j(e, t, r) {
148
148
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
149
149
  }
150
- function p(e, t, r) {
150
+ function d(e, t, r) {
151
151
  const n = t.toLowerCase();
152
152
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
153
153
  }
154
- function wr(e) {
154
+ function Or(e) {
155
155
  return Array.from(e.childNodes);
156
156
  }
157
- function Tr(e, t) {
157
+ function Ir(e, t) {
158
158
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
159
159
  t);
160
160
  }
161
- function so(e, t) {
161
+ function co(e, t) {
162
162
  e.value = t ?? "";
163
163
  }
164
- function ao(e, t, r, n) {
164
+ function fo(e, t, r, n) {
165
165
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
166
166
  }
167
- function uo(e, t, r) {
167
+ function po(e, t, r) {
168
168
  e.classList.toggle(t, !!r);
169
169
  }
170
- class lo {
170
+ class mo {
171
171
  /**
172
172
  * @private
173
173
  * @default false
@@ -198,7 +198,7 @@ class lo {
198
198
  * @returns {void}
199
199
  */
200
200
  m(t, r, n = null) {
201
- this.e || (this.is_svg ? this.e = xr(
201
+ this.e || (this.is_svg ? this.e = Pr(
202
202
  /** @type {keyof SVGElementTagNameMap} */
203
203
  r.nodeName
204
204
  ) : this.e = R(
@@ -237,7 +237,7 @@ class lo {
237
237
  this.n.forEach(D);
238
238
  }
239
239
  }
240
- function Hr(e) {
240
+ function Cr(e) {
241
241
  const t = {};
242
242
  return e.childNodes.forEach(
243
243
  /** @param {Element} node */
@@ -246,156 +246,156 @@ function Hr(e) {
246
246
  }
247
247
  ), t;
248
248
  }
249
- let ae;
250
- function se(e) {
251
- ae = e;
249
+ let ue;
250
+ function ae(e) {
251
+ ue = e;
252
252
  }
253
- function Ct() {
254
- if (!ae)
253
+ function Rt() {
254
+ if (!ue)
255
255
  throw new Error("Function called outside component initialization");
256
- return ae;
256
+ return ue;
257
257
  }
258
- function Br(e) {
259
- Ct().$$.on_mount.push(e);
258
+ function Lr(e) {
259
+ Rt().$$.on_mount.push(e);
260
260
  }
261
- function ho(e) {
262
- Ct().$$.on_destroy.push(e);
261
+ function bo(e) {
262
+ Rt().$$.on_destroy.push(e);
263
263
  }
264
- const Q = [], Me = [];
265
- let J = [];
266
- const tt = [], Lt = /* @__PURE__ */ Promise.resolve();
267
- let Re = !1;
268
- function Nt() {
269
- Re || (Re = !0, Lt.then(M));
264
+ const J = [], $e = [];
265
+ let q = [];
266
+ const ot = [], $t = /* @__PURE__ */ Promise.resolve();
267
+ let De = !1;
268
+ function Dt() {
269
+ De || (De = !0, $t.then(N));
270
270
  }
271
- function co() {
272
- return Nt(), Lt;
271
+ function yo() {
272
+ return Dt(), $t;
273
273
  }
274
- function $e(e) {
275
- J.push(e);
274
+ function Ue(e) {
275
+ q.push(e);
276
276
  }
277
- const Pe = /* @__PURE__ */ new Set();
278
- let z = 0;
279
- function M() {
280
- if (z !== 0)
277
+ const Ae = /* @__PURE__ */ new Set();
278
+ let Z = 0;
279
+ function N() {
280
+ if (Z !== 0)
281
281
  return;
282
- const e = ae;
282
+ const e = ue;
283
283
  do {
284
284
  try {
285
- for (; z < Q.length; ) {
286
- const t = Q[z];
287
- z++, se(t), Pr(t.$$);
285
+ for (; Z < J.length; ) {
286
+ const t = J[Z];
287
+ Z++, ae(t), Mr(t.$$);
288
288
  }
289
289
  } catch (t) {
290
- throw Q.length = 0, z = 0, t;
290
+ throw J.length = 0, Z = 0, t;
291
291
  }
292
- for (se(null), Q.length = 0, z = 0; Me.length; )
293
- Me.pop()();
294
- for (let t = 0; t < J.length; t += 1) {
295
- const r = J[t];
296
- Pe.has(r) || (Pe.add(r), r());
292
+ for (ae(null), J.length = 0, Z = 0; $e.length; )
293
+ $e.pop()();
294
+ for (let t = 0; t < q.length; t += 1) {
295
+ const r = q[t];
296
+ Ae.has(r) || (Ae.add(r), r());
297
297
  }
298
- J.length = 0;
299
- } while (Q.length);
300
- for (; tt.length; )
301
- tt.pop()();
302
- Re = !1, Pe.clear(), se(e);
298
+ q.length = 0;
299
+ } while (J.length);
300
+ for (; ot.length; )
301
+ ot.pop()();
302
+ De = !1, Ae.clear(), ae(e);
303
303
  }
304
- function Pr(e) {
304
+ function Mr(e) {
305
305
  if (e.fragment !== null) {
306
- e.update(), X(e.before_update);
306
+ e.update(), W(e.before_update);
307
307
  const t = e.dirty;
308
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
308
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
309
309
  }
310
310
  }
311
- function Ar(e) {
311
+ function Nr(e) {
312
312
  const t = [], r = [];
313
- J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
313
+ q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
314
314
  }
315
- const pe = /* @__PURE__ */ new Set();
316
- let V;
317
- function fo() {
318
- V = {
315
+ const me = /* @__PURE__ */ new Set();
316
+ let X;
317
+ function go() {
318
+ X = {
319
319
  r: 0,
320
320
  c: [],
321
- p: V
321
+ p: X
322
322
  // parent group
323
323
  };
324
324
  }
325
- function po() {
326
- V.r || X(V.c), V = V.p;
325
+ function vo() {
326
+ X.r || W(X.c), X = X.p;
327
327
  }
328
- function Mt(e, t) {
329
- e && e.i && (pe.delete(e), e.i(t));
328
+ function Ut(e, t) {
329
+ e && e.i && (me.delete(e), e.i(t));
330
330
  }
331
- function mo(e, t, r, n) {
331
+ function _o(e, t, r, n) {
332
332
  if (e && e.o) {
333
- if (pe.has(e))
333
+ if (me.has(e))
334
334
  return;
335
- pe.add(e), V.c.push(() => {
336
- pe.delete(e), n && (r && e.d(1), n());
335
+ me.add(e), X.c.push(() => {
336
+ me.delete(e), n && (r && e.d(1), n());
337
337
  }), e.o(t);
338
338
  } else
339
339
  n && n();
340
340
  }
341
- function rt(e) {
341
+ function st(e) {
342
342
  return e?.length !== void 0 ? e : Array.from(e);
343
343
  }
344
- function bo(e, t) {
344
+ function Eo(e, t) {
345
345
  e.d(1), t.delete(e.key);
346
346
  }
347
- function yo(e, t, r, n, i, o, a, s, l, u, h, f) {
347
+ function xo(e, t, r, n, i, o, a, s, l, u, h, f) {
348
348
  let c = e.length, m = o.length, b = c;
349
349
  const g = {};
350
350
  for (; b--; )
351
351
  g[e[b].key] = b;
352
- const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
352
+ const S = [], P = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
353
353
  for (b = m; b--; ) {
354
- const x = f(i, o, b), B = r(x);
355
- let I = a.get(B);
356
- I ? w.push(() => I.p(x, t)) : (I = u(B, x), I.c()), A.set(B, S[b] = I), B in g && H.set(B, Math.abs(b - g[B]));
354
+ const x = f(i, o, b), O = r(x);
355
+ let I = a.get(O);
356
+ I ? w.push(() => I.p(x, t)) : (I = u(O, x), I.c()), P.set(O, S[b] = I), O in g && H.set(O, Math.abs(b - g[O]));
357
357
  }
358
- const L = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
359
- function N(x) {
360
- Mt(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, m--;
358
+ const L = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set();
359
+ function M(x) {
360
+ Ut(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, m--;
361
361
  }
362
362
  for (; c && m; ) {
363
- const x = S[m - 1], B = e[c - 1], I = x.key, d = B.key;
364
- x === B ? (h = x.first, c--, m--) : A.has(d) ? !a.has(I) || L.has(I) ? N(x) : O.has(d) ? c-- : H.get(I) > H.get(d) ? (O.add(I), N(x)) : (L.add(d), c--) : (l(B, a), c--);
363
+ const x = S[m - 1], O = e[c - 1], I = x.key, V = O.key;
364
+ x === O ? (h = x.first, c--, m--) : P.has(V) ? !a.has(I) || L.has(I) ? M(x) : A.has(V) ? c-- : H.get(I) > H.get(V) ? (A.add(I), M(x)) : (L.add(V), c--) : (l(O, a), c--);
365
365
  }
366
366
  for (; c--; ) {
367
367
  const x = e[c];
368
- A.has(x.key) || l(x, a);
368
+ P.has(x.key) || l(x, a);
369
369
  }
370
370
  for (; m; )
371
- N(S[m - 1]);
372
- return X(w), S;
371
+ M(S[m - 1]);
372
+ return W(w), S;
373
373
  }
374
- function Or(e, t, r) {
374
+ function Rr(e, t, r) {
375
375
  const { fragment: n, after_update: i } = e.$$;
376
- n && n.m(t, r), $e(() => {
377
- const o = e.$$.on_mount.map(Pt).filter(Ee);
378
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
379
- }), i.forEach($e);
376
+ n && n.m(t, r), Ue(() => {
377
+ const o = e.$$.on_mount.map(Ct).filter(xe);
378
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
379
+ }), i.forEach(Ue);
380
380
  }
381
- function Ir(e, t) {
381
+ function $r(e, t) {
382
382
  const r = e.$$;
383
- r.fragment !== null && (Ar(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
383
+ r.fragment !== null && (Nr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
384
384
  }
385
- function Cr(e, t) {
386
- e.$$.dirty[0] === -1 && (Q.push(e), Nt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
385
+ function Dr(e, t) {
386
+ e.$$.dirty[0] === -1 && (J.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
387
387
  }
388
- function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
389
- const l = ae;
390
- se(e);
388
+ function Ur(e, t, r, n, i, o, a = null, s = [-1]) {
389
+ const l = ue;
390
+ ae(e);
391
391
  const u = e.$$ = {
392
392
  fragment: null,
393
393
  ctx: [],
394
394
  // state
395
395
  props: o,
396
- update: P,
396
+ update: B,
397
397
  not_equal: i,
398
- bound: et(),
398
+ bound: it(),
399
399
  // lifecycle
400
400
  on_mount: [],
401
401
  on_destroy: [],
@@ -404,7 +404,7 @@ function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
404
404
  after_update: [],
405
405
  context: new Map(t.context || (l ? l.$$.context : [])),
406
406
  // everything else
407
- callbacks: et(),
407
+ callbacks: it(),
408
408
  dirty: s,
409
409
  skip_bound: !1,
410
410
  root: t.target || l.$$.root
@@ -413,19 +413,19 @@ function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
413
413
  let h = !1;
414
414
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
415
415
  const b = m.length ? m[0] : c;
416
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Cr(e, f)), c;
417
- }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
416
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Dr(e, f)), c;
417
+ }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
418
418
  if (t.hydrate) {
419
- const f = wr(t.target);
419
+ const f = Or(t.target);
420
420
  u.fragment && u.fragment.l(f), f.forEach(D);
421
421
  } else
422
422
  u.fragment && u.fragment.c();
423
- t.intro && Mt(e.$$.fragment), Or(e, t.target, t.anchor), M();
423
+ t.intro && Ut(e.$$.fragment), Rr(e, t.target, t.anchor), N();
424
424
  }
425
- se(l);
425
+ ae(l);
426
426
  }
427
- let Rt;
428
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
427
+ let Gt;
428
+ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
429
429
  /** The Svelte component constructor */
430
430
  $$ctor;
431
431
  /** Slots */
@@ -484,12 +484,12 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
484
484
  };
485
485
  if (await Promise.resolve(), !this.$$cn || this.$$c)
486
486
  return;
487
- const t = {}, r = Hr(this);
487
+ const t = {}, r = Cr(this);
488
488
  for (const i of this.$$s)
489
489
  i in r && (t[i] = [e(i)]);
490
490
  for (const i of this.attributes) {
491
491
  const o = this.$$g_p(i.name);
492
- o in this.$$d || (this.$$d[o] = me(o, i.value, this.$$p_d, "toProp"));
492
+ o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
493
493
  }
494
494
  for (const i in this.$$p_d)
495
495
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -507,7 +507,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
507
507
  this.$$r = !0;
508
508
  for (const i in this.$$p_d)
509
509
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
510
- const o = me(
510
+ const o = be(
511
511
  i,
512
512
  this.$$d[i],
513
513
  this.$$p_d,
@@ -529,7 +529,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
529
529
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
530
530
  // and setting attributes through setAttribute etc, this is helpful
531
531
  attributeChangedCallback(e, t, r) {
532
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
532
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
533
533
  }
534
534
  disconnectedCallback() {
535
535
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -542,7 +542,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
542
542
  ) || e;
543
543
  }
544
544
  });
545
- function me(e, t, r, n) {
545
+ function be(e, t, r, n) {
546
546
  const i = r[e]?.type;
547
547
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
548
548
  return t;
@@ -571,8 +571,8 @@ function me(e, t, r, n) {
571
571
  return t;
572
572
  }
573
573
  }
574
- function Nr(e, t, r, n, i, o) {
575
- let a = class extends Rt {
574
+ function Gr(e, t, r, n, i, o) {
575
+ let a = class extends Gt {
576
576
  constructor() {
577
577
  super(e, r, i), this.$$p_d = t;
578
578
  }
@@ -588,7 +588,7 @@ function Nr(e, t, r, n, i, o) {
588
588
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
589
589
  },
590
590
  set(l) {
591
- l = me(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
591
+ l = be(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
592
592
  }
593
593
  });
594
594
  }), n.forEach((s) => {
@@ -600,7 +600,7 @@ function Nr(e, t, r, n, i, o) {
600
600
  }), e.element = /** @type {any} */
601
601
  a, a;
602
602
  }
603
- class Mr {
603
+ class Fr {
604
604
  /**
605
605
  * ### PRIVATE API
606
606
  *
@@ -619,7 +619,7 @@ class Mr {
619
619
  $$set = void 0;
620
620
  /** @returns {void} */
621
621
  $destroy() {
622
- Ir(this, 1), this.$destroy = P;
622
+ $r(this, 1), this.$destroy = B;
623
623
  }
624
624
  /**
625
625
  * @template {Extract<keyof Events, string>} K
@@ -628,8 +628,8 @@ class Mr {
628
628
  * @returns {() => void}
629
629
  */
630
630
  $on(t, r) {
631
- if (!Ee(r))
632
- return P;
631
+ if (!xe(r))
632
+ return B;
633
633
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
634
634
  return n.push(r), () => {
635
635
  const i = n.indexOf(r);
@@ -641,11 +641,11 @@ class Mr {
641
641
  * @returns {void}
642
642
  */
643
643
  $set(t) {
644
- this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
644
+ this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
645
645
  }
646
646
  }
647
- const Rr = "4";
648
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
647
+ const jr = "4";
648
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
649
649
  /*! *****************************************************************************
650
650
  Copyright (c) Microsoft Corporation.
651
651
 
@@ -660,18 +660,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
660
660
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
661
661
  PERFORMANCE OF THIS SOFTWARE.
662
662
  ***************************************************************************** */
663
- var De = function(e, t) {
664
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
663
+ var Ge = function(e, t) {
664
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
665
665
  r.__proto__ = n;
666
666
  } || function(r, n) {
667
667
  for (var i in n)
668
668
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
669
- }, De(e, t);
669
+ }, Ge(e, t);
670
670
  };
671
671
  function U(e, t) {
672
672
  if (typeof t != "function" && t !== null)
673
673
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
674
- De(e, t);
674
+ Ge(e, t);
675
675
  function r() {
676
676
  this.constructor = e;
677
677
  }
@@ -687,7 +687,7 @@ var _ = function() {
687
687
  return t;
688
688
  }, _.apply(this, arguments);
689
689
  };
690
- function $r(e, t) {
690
+ function kr(e, t) {
691
691
  var r = {};
692
692
  for (var n in e)
693
693
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -696,7 +696,7 @@ function $r(e, t) {
696
696
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
697
697
  return r;
698
698
  }
699
- function Ue(e) {
699
+ function Fe(e) {
700
700
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
701
701
  if (r)
702
702
  return r.call(e);
@@ -708,7 +708,7 @@ function Ue(e) {
708
708
  };
709
709
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
710
710
  }
711
- function Ge(e, t) {
711
+ function je(e, t) {
712
712
  var r = typeof Symbol == "function" && e[Symbol.iterator];
713
713
  if (!r)
714
714
  return e;
@@ -728,7 +728,7 @@ function Ge(e, t) {
728
728
  }
729
729
  return o;
730
730
  }
731
- function q(e, t, r) {
731
+ function Y(e, t, r) {
732
732
  if (r || arguments.length === 2)
733
733
  for (var n = 0, i = t.length, o; n < i; n++)
734
734
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -737,13 +737,13 @@ function q(e, t, r) {
737
737
  function $(e) {
738
738
  return typeof e == "function";
739
739
  }
740
- function $t(e) {
740
+ function Ft(e) {
741
741
  var t = function(n) {
742
742
  Error.call(n), n.stack = new Error().stack;
743
743
  }, r = e(t);
744
744
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
745
745
  }
746
- var Ae = $t(function(e) {
746
+ var Oe = Ft(function(e) {
747
747
  return function(r) {
748
748
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
749
749
  ` + r.map(function(n, i) {
@@ -752,13 +752,13 @@ var Ae = $t(function(e) {
752
752
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
753
753
  };
754
754
  });
755
- function Fe(e, t) {
755
+ function ke(e, t) {
756
756
  if (e) {
757
757
  var r = e.indexOf(t);
758
758
  0 <= r && e.splice(r, 1);
759
759
  }
760
760
  }
761
- var Se = function() {
761
+ var we = function() {
762
762
  function e(t) {
763
763
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
764
764
  }
@@ -770,7 +770,7 @@ var Se = function() {
770
770
  if (a)
771
771
  if (this._parentage = null, Array.isArray(a))
772
772
  try {
773
- for (var s = Ue(a), l = s.next(); !l.done; l = s.next()) {
773
+ for (var s = Fe(a), l = s.next(); !l.done; l = s.next()) {
774
774
  var u = l.value;
775
775
  u.remove(this);
776
776
  }
@@ -791,18 +791,18 @@ var Se = function() {
791
791
  try {
792
792
  h();
793
793
  } catch (g) {
794
- o = g instanceof Ae ? g.errors : [g];
794
+ o = g instanceof Oe ? g.errors : [g];
795
795
  }
796
796
  var f = this._finalizers;
797
797
  if (f) {
798
798
  this._finalizers = null;
799
799
  try {
800
- for (var c = Ue(f), m = c.next(); !m.done; m = c.next()) {
800
+ for (var c = Fe(f), m = c.next(); !m.done; m = c.next()) {
801
801
  var b = m.value;
802
802
  try {
803
- nt(b);
803
+ at(b);
804
804
  } catch (g) {
805
- o = o ?? [], g instanceof Ae ? o = q(q([], Ge(o)), Ge(g.errors)) : o.push(g);
805
+ o = o ?? [], g instanceof Oe ? o = Y(Y([], je(o)), je(g.errors)) : o.push(g);
806
806
  }
807
807
  }
808
808
  } catch (g) {
@@ -817,13 +817,13 @@ var Se = function() {
817
817
  }
818
818
  }
819
819
  if (o)
820
- throw new Ae(o);
820
+ throw new Oe(o);
821
821
  }
822
822
  }, e.prototype.add = function(t) {
823
823
  var r;
824
824
  if (t && t !== this)
825
825
  if (this.closed)
826
- nt(t);
826
+ at(t);
827
827
  else {
828
828
  if (t instanceof e) {
829
829
  if (t.closed || t._hasParent(this))
@@ -840,52 +840,56 @@ var Se = function() {
840
840
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
841
841
  }, e.prototype._removeParent = function(t) {
842
842
  var r = this._parentage;
843
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
843
+ r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
844
844
  }, e.prototype.remove = function(t) {
845
845
  var r = this._finalizers;
846
- r && Fe(r, t), t instanceof e && t._removeParent(this);
846
+ r && ke(r, t), t instanceof e && t._removeParent(this);
847
847
  }, e.EMPTY = function() {
848
848
  var t = new e();
849
849
  return t.closed = !0, t;
850
850
  }(), e;
851
- }(), Dt = Se.EMPTY;
852
- function Ut(e) {
853
- return e instanceof Se || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
851
+ }(), jt = we.EMPTY;
852
+ function kt(e) {
853
+ return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
854
854
  }
855
- function nt(e) {
855
+ function at(e) {
856
856
  $(e) ? e() : e.unsubscribe();
857
857
  }
858
- var Dr = {
859
- Promise: void 0
860
- }, Ur = {
858
+ var Vt = {
859
+ onUnhandledError: null,
860
+ onStoppedNotification: null,
861
+ Promise: void 0,
862
+ useDeprecatedSynchronousErrorHandling: !1,
863
+ useDeprecatedNextContext: !1
864
+ }, Vr = {
861
865
  setTimeout: function(e, t) {
862
866
  for (var r = [], n = 2; n < arguments.length; n++)
863
867
  r[n - 2] = arguments[n];
864
- return setTimeout.apply(void 0, q([e, t], Ge(r)));
868
+ return setTimeout.apply(void 0, Y([e, t], je(r)));
865
869
  },
866
870
  clearTimeout: function(e) {
867
871
  return clearTimeout(e);
868
872
  },
869
873
  delegate: void 0
870
874
  };
871
- function Gr(e) {
872
- Ur.setTimeout(function() {
875
+ function Xr(e) {
876
+ Vr.setTimeout(function() {
873
877
  throw e;
874
878
  });
875
879
  }
876
- function it() {
880
+ function ut() {
877
881
  }
878
- function be(e) {
882
+ function ye(e) {
879
883
  e();
880
884
  }
881
- var Gt = function(e) {
885
+ var Xt = function(e) {
882
886
  U(t, e);
883
887
  function t(r) {
884
888
  var n = e.call(this) || this;
885
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = kr, n;
889
+ return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = Qr, n;
886
890
  }
887
891
  return t.create = function(r, n, i) {
888
- return new je(r, n, i);
892
+ return new Ve(r, n, i);
889
893
  }, t.prototype.next = function(r) {
890
894
  this.isStopped || this._next(r);
891
895
  }, t.prototype.error = function(r) {
@@ -909,7 +913,11 @@ var Gt = function(e) {
909
913
  this.unsubscribe();
910
914
  }
911
915
  }, t;
912
- }(Se), Fr = function() {
916
+ }(we), Wr = Function.prototype.bind;
917
+ function Ie(e, t) {
918
+ return Wr.call(e, t);
919
+ }
920
+ var zr = function() {
913
921
  function e(t) {
914
922
  this.partialObserver = t;
915
923
  }
@@ -919,7 +927,7 @@ var Gt = function(e) {
919
927
  try {
920
928
  r.next(t);
921
929
  } catch (n) {
922
- fe(n);
930
+ de(n);
923
931
  }
924
932
  }, e.prototype.error = function(t) {
925
933
  var r = this.partialObserver;
@@ -927,56 +935,68 @@ var Gt = function(e) {
927
935
  try {
928
936
  r.error(t);
929
937
  } catch (n) {
930
- fe(n);
938
+ de(n);
931
939
  }
932
940
  else
933
- fe(t);
941
+ de(t);
934
942
  }, e.prototype.complete = function() {
935
943
  var t = this.partialObserver;
936
944
  if (t.complete)
937
945
  try {
938
946
  t.complete();
939
947
  } catch (r) {
940
- fe(r);
948
+ de(r);
941
949
  }
942
950
  }, e;
943
- }(), je = function(e) {
951
+ }(), Ve = function(e) {
944
952
  U(t, e);
945
953
  function t(r, n, i) {
946
954
  var o = e.call(this) || this, a;
947
- return $(r) || !r ? a = {
948
- next: r ?? void 0,
949
- error: n ?? void 0,
950
- complete: i ?? void 0
951
- } : a = r, o.destination = new Fr(a), o;
955
+ if ($(r) || !r)
956
+ a = {
957
+ next: r ?? void 0,
958
+ error: n ?? void 0,
959
+ complete: i ?? void 0
960
+ };
961
+ else {
962
+ var s;
963
+ o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
964
+ return o.unsubscribe();
965
+ }, a = {
966
+ next: r.next && Ie(r.next, s),
967
+ error: r.error && Ie(r.error, s),
968
+ complete: r.complete && Ie(r.complete, s)
969
+ }) : a = r;
970
+ }
971
+ return o.destination = new zr(a), o;
952
972
  }
953
973
  return t;
954
- }(Gt);
955
- function fe(e) {
956
- Gr(e);
974
+ }(Xt);
975
+ function de(e) {
976
+ Xr(e);
957
977
  }
958
- function jr(e) {
978
+ function Zr(e) {
959
979
  throw e;
960
980
  }
961
- var kr = {
981
+ var Qr = {
962
982
  closed: !0,
963
- next: it,
964
- error: jr,
965
- complete: it
966
- }, Vr = function() {
983
+ next: ut,
984
+ error: Zr,
985
+ complete: ut
986
+ }, Jr = function() {
967
987
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
968
988
  }();
969
- function Xr(e) {
989
+ function qr(e) {
970
990
  return e;
971
991
  }
972
- function Wr(e) {
973
- return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
992
+ function Yr(e) {
993
+ return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
974
994
  return e.reduce(function(n, i) {
975
995
  return i(n);
976
996
  }, r);
977
997
  };
978
998
  }
979
- var ot = function() {
999
+ var lt = function() {
980
1000
  function e(t) {
981
1001
  t && (this._subscribe = t);
982
1002
  }
@@ -984,8 +1004,8 @@ var ot = function() {
984
1004
  var r = new e();
985
1005
  return r.source = this, r.operator = t, r;
986
1006
  }, e.prototype.subscribe = function(t, r, n) {
987
- var i = this, o = Zr(t) ? t : new je(t, r, n);
988
- return be(function() {
1007
+ var i = this, o = en(t) ? t : new Ve(t, r, n);
1008
+ return ye(function() {
989
1009
  var a = i, s = a.operator, l = a.source;
990
1010
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
991
1011
  }), o;
@@ -997,8 +1017,8 @@ var ot = function() {
997
1017
  }
998
1018
  }, e.prototype.forEach = function(t, r) {
999
1019
  var n = this;
1000
- return r = st(r), new r(function(i, o) {
1001
- var a = new je({
1020
+ return r = ht(r), new r(function(i, o) {
1021
+ var a = new Ve({
1002
1022
  next: function(s) {
1003
1023
  try {
1004
1024
  t(s);
@@ -1014,15 +1034,15 @@ var ot = function() {
1014
1034
  }, e.prototype._subscribe = function(t) {
1015
1035
  var r;
1016
1036
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1017
- }, e.prototype[Vr] = function() {
1037
+ }, e.prototype[Jr] = function() {
1018
1038
  return this;
1019
1039
  }, e.prototype.pipe = function() {
1020
1040
  for (var t = [], r = 0; r < arguments.length; r++)
1021
1041
  t[r] = arguments[r];
1022
- return Wr(t)(this);
1042
+ return Yr(t)(this);
1023
1043
  }, e.prototype.toPromise = function(t) {
1024
1044
  var r = this;
1025
- return t = st(t), new t(function(n, i) {
1045
+ return t = ht(t), new t(function(n, i) {
1026
1046
  var o;
1027
1047
  r.subscribe(function(a) {
1028
1048
  return o = a;
@@ -1036,40 +1056,40 @@ var ot = function() {
1036
1056
  return new e(t);
1037
1057
  }, e;
1038
1058
  }();
1039
- function st(e) {
1059
+ function ht(e) {
1040
1060
  var t;
1041
- return (t = e ?? Dr.Promise) !== null && t !== void 0 ? t : Promise;
1061
+ return (t = e ?? Vt.Promise) !== null && t !== void 0 ? t : Promise;
1042
1062
  }
1043
- function zr(e) {
1063
+ function Kr(e) {
1044
1064
  return e && $(e.next) && $(e.error) && $(e.complete);
1045
1065
  }
1046
- function Zr(e) {
1047
- return e && e instanceof Gt || zr(e) && Ut(e);
1066
+ function en(e) {
1067
+ return e && e instanceof Xt || Kr(e) && kt(e);
1048
1068
  }
1049
- var Qr = $t(function(e) {
1069
+ var tn = Ft(function(e) {
1050
1070
  return function() {
1051
1071
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1052
1072
  };
1053
- }), Ft = function(e) {
1073
+ }), Wt = function(e) {
1054
1074
  U(t, e);
1055
1075
  function t() {
1056
1076
  var r = e.call(this) || this;
1057
1077
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1058
1078
  }
1059
1079
  return t.prototype.lift = function(r) {
1060
- var n = new at(this, this);
1080
+ var n = new ct(this, this);
1061
1081
  return n.operator = r, n;
1062
1082
  }, t.prototype._throwIfClosed = function() {
1063
1083
  if (this.closed)
1064
- throw new Qr();
1084
+ throw new tn();
1065
1085
  }, t.prototype.next = function(r) {
1066
1086
  var n = this;
1067
- be(function() {
1087
+ ye(function() {
1068
1088
  var i, o;
1069
1089
  if (n._throwIfClosed(), !n.isStopped) {
1070
1090
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1071
1091
  try {
1072
- for (var a = Ue(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1092
+ for (var a = Fe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1073
1093
  var l = s.value;
1074
1094
  l.next(r);
1075
1095
  }
@@ -1087,7 +1107,7 @@ var Qr = $t(function(e) {
1087
1107
  });
1088
1108
  }, t.prototype.error = function(r) {
1089
1109
  var n = this;
1090
- be(function() {
1110
+ ye(function() {
1091
1111
  if (n._throwIfClosed(), !n.isStopped) {
1092
1112
  n.hasError = n.isStopped = !0, n.thrownError = r;
1093
1113
  for (var i = n.observers; i.length; )
@@ -1096,7 +1116,7 @@ var Qr = $t(function(e) {
1096
1116
  });
1097
1117
  }, t.prototype.complete = function() {
1098
1118
  var r = this;
1099
- be(function() {
1119
+ ye(function() {
1100
1120
  if (r._throwIfClosed(), !r.isStopped) {
1101
1121
  r.isStopped = !0;
1102
1122
  for (var n = r.observers; n.length; )
@@ -1118,19 +1138,19 @@ var Qr = $t(function(e) {
1118
1138
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1119
1139
  }, t.prototype._innerSubscribe = function(r) {
1120
1140
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1121
- return o || a ? Dt : (this.currentObservers = null, s.push(r), new Se(function() {
1122
- n.currentObservers = null, Fe(s, r);
1141
+ return o || a ? jt : (this.currentObservers = null, s.push(r), new we(function() {
1142
+ n.currentObservers = null, ke(s, r);
1123
1143
  }));
1124
1144
  }, t.prototype._checkFinalizedStatuses = function(r) {
1125
1145
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1126
1146
  i ? r.error(o) : a && r.complete();
1127
1147
  }, t.prototype.asObservable = function() {
1128
- var r = new ot();
1148
+ var r = new lt();
1129
1149
  return r.source = this, r;
1130
1150
  }, t.create = function(r, n) {
1131
- return new at(r, n);
1151
+ return new ct(r, n);
1132
1152
  }, t;
1133
- }(ot), at = function(e) {
1153
+ }(lt), ct = function(e) {
1134
1154
  U(t, e);
1135
1155
  function t(r, n) {
1136
1156
  var i = e.call(this) || this;
@@ -1147,17 +1167,17 @@ var Qr = $t(function(e) {
1147
1167
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1148
1168
  }, t.prototype._subscribe = function(r) {
1149
1169
  var n, i;
1150
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1170
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1151
1171
  }, t;
1152
- }(Ft), jt = {
1172
+ }(Wt), zt = {
1153
1173
  now: function() {
1154
- return (jt.delegate || Date).now();
1174
+ return (zt.delegate || Date).now();
1155
1175
  },
1156
1176
  delegate: void 0
1157
- }, Jr = function(e) {
1177
+ }, rn = function(e) {
1158
1178
  U(t, e);
1159
1179
  function t(r, n, i) {
1160
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1180
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1161
1181
  var o = e.call(this) || this;
1162
1182
  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;
1163
1183
  }
@@ -1177,62 +1197,62 @@ var Qr = $t(function(e) {
1177
1197
  u && o.splice(0, u + 1);
1178
1198
  }
1179
1199
  }, t;
1180
- }(Ft);
1181
- const ut = [], lt = {}, qr = (e, t = 0) => {
1182
- if (ut.indexOf(e) == -1) {
1183
- const r = new Jr(t);
1184
- lt[e] = r, ut.push(e);
1200
+ }(Wt);
1201
+ const ft = [], dt = {}, nn = (e, t = 0) => {
1202
+ if (ft.indexOf(e) == -1) {
1203
+ const r = new rn(t);
1204
+ dt[e] = r, ft.push(e);
1185
1205
  }
1186
- return lt[e];
1187
- }, Z = [];
1188
- function Yr(e, t) {
1206
+ return dt[e];
1207
+ }, Q = [];
1208
+ function on(e, t) {
1189
1209
  return {
1190
- subscribe: we(e, t).subscribe
1210
+ subscribe: Te(e, t).subscribe
1191
1211
  };
1192
1212
  }
1193
- function we(e, t = P) {
1213
+ function Te(e, t = B) {
1194
1214
  let r;
1195
1215
  const n = /* @__PURE__ */ new Set();
1196
1216
  function i(s) {
1197
- if (At(e, s) && (e = s, r)) {
1198
- const l = !Z.length;
1217
+ if (Lt(e, s) && (e = s, r)) {
1218
+ const l = !Q.length;
1199
1219
  for (const u of n)
1200
- u[1](), Z.push(u, e);
1220
+ u[1](), Q.push(u, e);
1201
1221
  if (l) {
1202
- for (let u = 0; u < Z.length; u += 2)
1203
- Z[u][0](Z[u + 1]);
1204
- Z.length = 0;
1222
+ for (let u = 0; u < Q.length; u += 2)
1223
+ Q[u][0](Q[u + 1]);
1224
+ Q.length = 0;
1205
1225
  }
1206
1226
  }
1207
1227
  }
1208
1228
  function o(s) {
1209
1229
  i(s(e));
1210
1230
  }
1211
- function a(s, l = P) {
1231
+ function a(s, l = B) {
1212
1232
  const u = [s, l];
1213
- return n.add(u), n.size === 1 && (r = t(i, o) || P), s(e), () => {
1233
+ return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1214
1234
  n.delete(u), n.size === 0 && r && (r(), r = null);
1215
1235
  };
1216
1236
  }
1217
1237
  return { set: i, update: o, subscribe: a };
1218
1238
  }
1219
- function re(e, t, r) {
1239
+ function ne(e, t, r) {
1220
1240
  const n = !Array.isArray(e), i = n ? [e] : e;
1221
1241
  if (!i.every(Boolean))
1222
1242
  throw new Error("derived() expects stores as input, got a falsy value");
1223
1243
  const o = t.length < 2;
1224
- return Yr(r, (a, s) => {
1244
+ return on(r, (a, s) => {
1225
1245
  let l = !1;
1226
1246
  const u = [];
1227
- let h = 0, f = P;
1247
+ let h = 0, f = B;
1228
1248
  const c = () => {
1229
1249
  if (h)
1230
1250
  return;
1231
1251
  f();
1232
1252
  const b = t(n ? u[0] : u, a, s);
1233
- o ? a(b) : f = Ee(b) ? b : P;
1253
+ o ? a(b) : f = xe(b) ? b : B;
1234
1254
  }, m = i.map(
1235
- (b, g) => Ot(
1255
+ (b, g) => Mt(
1236
1256
  b,
1237
1257
  (S) => {
1238
1258
  u[g] = S, h &= ~(1 << g), l && c();
@@ -1243,132 +1263,134 @@ function re(e, t, r) {
1243
1263
  )
1244
1264
  );
1245
1265
  return l = !0, c(), function() {
1246
- X(m), f(), l = !1;
1266
+ W(m), f(), l = !1;
1247
1267
  };
1248
1268
  });
1249
1269
  }
1250
- function Kr(e) {
1270
+ function sn(e) {
1251
1271
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1252
1272
  }
1253
- var en = function(t) {
1254
- return tn(t) && !rn(t);
1273
+ var an = function(t) {
1274
+ return un(t) && !ln(t);
1255
1275
  };
1256
- function tn(e) {
1276
+ function un(e) {
1257
1277
  return !!e && typeof e == "object";
1258
1278
  }
1259
- function rn(e) {
1279
+ function ln(e) {
1260
1280
  var t = Object.prototype.toString.call(e);
1261
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1281
+ return t === "[object RegExp]" || t === "[object Date]" || fn(e);
1262
1282
  }
1263
- var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1264
- function sn(e) {
1265
- return e.$$typeof === on;
1283
+ var hn = typeof Symbol == "function" && Symbol.for, cn = hn ? Symbol.for("react.element") : 60103;
1284
+ function fn(e) {
1285
+ return e.$$typeof === cn;
1266
1286
  }
1267
- function an(e) {
1287
+ function dn(e) {
1268
1288
  return Array.isArray(e) ? [] : {};
1269
1289
  }
1270
- function ue(e, t) {
1271
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(an(e), e, t) : e;
1290
+ function le(e, t) {
1291
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(dn(e), e, t) : e;
1272
1292
  }
1273
- function un(e, t, r) {
1293
+ function pn(e, t, r) {
1274
1294
  return e.concat(t).map(function(n) {
1275
- return ue(n, r);
1295
+ return le(n, r);
1276
1296
  });
1277
1297
  }
1278
- function ln(e, t) {
1298
+ function mn(e, t) {
1279
1299
  if (!t.customMerge)
1280
- return Y;
1300
+ return K;
1281
1301
  var r = t.customMerge(e);
1282
- return typeof r == "function" ? r : Y;
1302
+ return typeof r == "function" ? r : K;
1283
1303
  }
1284
- function hn(e) {
1304
+ function bn(e) {
1285
1305
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1286
1306
  return Object.propertyIsEnumerable.call(e, t);
1287
1307
  }) : [];
1288
1308
  }
1289
- function ht(e) {
1290
- return Object.keys(e).concat(hn(e));
1309
+ function pt(e) {
1310
+ return Object.keys(e).concat(bn(e));
1291
1311
  }
1292
- function kt(e, t) {
1312
+ function Zt(e, t) {
1293
1313
  try {
1294
1314
  return t in e;
1295
1315
  } catch {
1296
1316
  return !1;
1297
1317
  }
1298
1318
  }
1299
- function cn(e, t) {
1300
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1319
+ function yn(e, t) {
1320
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1301
1321
  }
1302
- function fn(e, t, r) {
1322
+ function gn(e, t, r) {
1303
1323
  var n = {};
1304
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1305
- n[i] = ue(e[i], r);
1306
- }), ht(t).forEach(function(i) {
1307
- cn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1324
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1325
+ n[i] = le(e[i], r);
1326
+ }), pt(t).forEach(function(i) {
1327
+ yn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1308
1328
  }), n;
1309
1329
  }
1310
- function Y(e, t, r) {
1311
- r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ue;
1330
+ function K(e, t, r) {
1331
+ r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || an, r.cloneUnlessOtherwiseSpecified = le;
1312
1332
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1313
- return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : ue(t, r);
1333
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : le(t, r);
1314
1334
  }
1315
- Y.all = function(t, r) {
1335
+ K.all = function(t, r) {
1316
1336
  if (!Array.isArray(t))
1317
1337
  throw new Error("first argument should be an array");
1318
1338
  return t.reduce(function(n, i) {
1319
- return Y(n, i, r);
1339
+ return K(n, i, r);
1320
1340
  }, {});
1321
1341
  };
1322
- var dn = Y, pn = dn;
1323
- const mn = /* @__PURE__ */ Kr(pn);
1324
- function Oe(e, t) {
1325
- var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
1342
+ var vn = K, _n = vn;
1343
+ const En = /* @__PURE__ */ sn(_n);
1344
+ function Ce(e, t) {
1345
+ var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : Sn;
1326
1346
  return i(e, {
1327
1347
  cache: r,
1328
1348
  serializer: n
1329
1349
  });
1330
1350
  }
1331
- function bn(e) {
1351
+ function xn(e) {
1332
1352
  return e == null || typeof e == "number" || typeof e == "boolean";
1333
1353
  }
1334
- function yn(e, t, r, n) {
1335
- var i = bn(n) ? n : r(n), o = t.get(i);
1354
+ function Qt(e, t, r, n) {
1355
+ var i = xn(n) ? n : r(n), o = t.get(i);
1336
1356
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1337
1357
  }
1338
- function Vt(e, t, r) {
1358
+ function Jt(e, t, r) {
1339
1359
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1340
1360
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1341
1361
  }
1342
- function Xt(e, t, r, n, i) {
1362
+ function et(e, t, r, n, i) {
1343
1363
  return r.bind(t, e, n, i);
1344
1364
  }
1345
- function gn(e, t) {
1346
- var r = e.length === 1 ? yn : Vt;
1347
- return Xt(e, this, r, t.cache.create(), t.serializer);
1365
+ function Sn(e, t) {
1366
+ var r = e.length === 1 ? Qt : Jt;
1367
+ return et(e, this, r, t.cache.create(), t.serializer);
1368
+ }
1369
+ function wn(e, t) {
1370
+ return et(e, this, Jt, t.cache.create(), t.serializer);
1348
1371
  }
1349
- function vn(e, t) {
1350
- return Xt(e, this, Vt, t.cache.create(), t.serializer);
1372
+ function Tn(e, t) {
1373
+ return et(e, this, Qt, t.cache.create(), t.serializer);
1351
1374
  }
1352
- var _n = function() {
1375
+ var Hn = function() {
1353
1376
  return JSON.stringify(arguments);
1354
- }, En = (
1355
- /** @class */
1356
- function() {
1357
- function e() {
1358
- this.cache = /* @__PURE__ */ Object.create(null);
1359
- }
1360
- return e.prototype.get = function(t) {
1361
- return this.cache[t];
1362
- }, e.prototype.set = function(t, r) {
1363
- this.cache[t] = r;
1364
- }, e;
1365
- }()
1366
- ), xn = {
1377
+ };
1378
+ function tt() {
1379
+ this.cache = /* @__PURE__ */ Object.create(null);
1380
+ }
1381
+ tt.prototype.get = function(e) {
1382
+ return this.cache[e];
1383
+ };
1384
+ tt.prototype.set = function(e, t) {
1385
+ this.cache[e] = t;
1386
+ };
1387
+ var Bn = {
1367
1388
  create: function() {
1368
- return new En();
1389
+ return new tt();
1369
1390
  }
1370
- }, Ie = {
1371
- variadic: vn
1391
+ }, Le = {
1392
+ variadic: wn,
1393
+ monadic: Tn
1372
1394
  }, y;
1373
1395
  (function(e) {
1374
1396
  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";
@@ -1377,47 +1399,47 @@ var E;
1377
1399
  (function(e) {
1378
1400
  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";
1379
1401
  })(E || (E = {}));
1380
- var K;
1402
+ var ee;
1381
1403
  (function(e) {
1382
1404
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1383
- })(K || (K = {}));
1384
- function ct(e) {
1405
+ })(ee || (ee = {}));
1406
+ function mt(e) {
1385
1407
  return e.type === E.literal;
1386
1408
  }
1387
- function Sn(e) {
1409
+ function Pn(e) {
1388
1410
  return e.type === E.argument;
1389
1411
  }
1390
- function Wt(e) {
1412
+ function qt(e) {
1391
1413
  return e.type === E.number;
1392
1414
  }
1393
- function zt(e) {
1415
+ function Yt(e) {
1394
1416
  return e.type === E.date;
1395
1417
  }
1396
- function Zt(e) {
1418
+ function Kt(e) {
1397
1419
  return e.type === E.time;
1398
1420
  }
1399
- function Qt(e) {
1421
+ function er(e) {
1400
1422
  return e.type === E.select;
1401
1423
  }
1402
- function Jt(e) {
1424
+ function tr(e) {
1403
1425
  return e.type === E.plural;
1404
1426
  }
1405
- function wn(e) {
1427
+ function An(e) {
1406
1428
  return e.type === E.pound;
1407
1429
  }
1408
- function qt(e) {
1430
+ function rr(e) {
1409
1431
  return e.type === E.tag;
1410
1432
  }
1411
- function Yt(e) {
1412
- return !!(e && typeof e == "object" && e.type === K.number);
1433
+ function nr(e) {
1434
+ return !!(e && typeof e == "object" && e.type === ee.number);
1413
1435
  }
1414
- function ke(e) {
1415
- return !!(e && typeof e == "object" && e.type === K.dateTime);
1436
+ function Xe(e) {
1437
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1416
1438
  }
1417
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1418
- function Hn(e) {
1439
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1440
+ function In(e) {
1419
1441
  var t = {};
1420
- return e.replace(Tn, function(r) {
1442
+ return e.replace(On, function(r) {
1421
1443
  var n = r.length;
1422
1444
  switch (r[0]) {
1423
1445
  case "G":
@@ -1506,11 +1528,11 @@ function Hn(e) {
1506
1528
  return "";
1507
1529
  }), t;
1508
1530
  }
1509
- var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1510
- function Pn(e) {
1531
+ var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1532
+ function Ln(e) {
1511
1533
  if (e.length === 0)
1512
1534
  throw new Error("Number skeleton cannot be empty");
1513
- for (var t = e.split(Bn).filter(function(c) {
1535
+ for (var t = e.split(Cn).filter(function(c) {
1514
1536
  return c.length > 0;
1515
1537
  }), r = [], n = 0, i = t; n < i.length; n++) {
1516
1538
  var o = i[n], a = o.split("/");
@@ -1525,17 +1547,17 @@ function Pn(e) {
1525
1547
  }
1526
1548
  return r;
1527
1549
  }
1528
- function An(e) {
1550
+ function Mn(e) {
1529
1551
  return e.replace(/^(.*?)-/, "");
1530
1552
  }
1531
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1532
- function dt(e) {
1553
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1554
+ function yt(e) {
1533
1555
  var t = {};
1534
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1556
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1535
1557
  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)), "";
1536
1558
  }), t;
1537
1559
  }
1538
- function rr(e) {
1560
+ function ar(e) {
1539
1561
  switch (e) {
1540
1562
  case "sign-auto":
1541
1563
  return {
@@ -1575,7 +1597,7 @@ function rr(e) {
1575
1597
  };
1576
1598
  }
1577
1599
  }
1578
- function In(e) {
1600
+ function Rn(e) {
1579
1601
  var t;
1580
1602
  if (e[0] === "E" && e[1] === "E" ? (t = {
1581
1603
  notation: "engineering"
@@ -1583,17 +1605,17 @@ function In(e) {
1583
1605
  notation: "scientific"
1584
1606
  }, e = e.slice(1)), t) {
1585
1607
  var r = e.slice(0, 2);
1586
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1608
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1587
1609
  throw new Error("Malformed concise eng/scientific notation");
1588
1610
  t.minimumIntegerDigits = e.length;
1589
1611
  }
1590
1612
  return t;
1591
1613
  }
1592
- function pt(e) {
1593
- var t = {}, r = rr(e);
1614
+ function gt(e) {
1615
+ var t = {}, r = ar(e);
1594
1616
  return r || t;
1595
1617
  }
1596
- function Cn(e) {
1618
+ function $n(e) {
1597
1619
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1598
1620
  var i = n[r];
1599
1621
  switch (i.stem) {
@@ -1617,7 +1639,7 @@ function Cn(e) {
1617
1639
  continue;
1618
1640
  case "measure-unit":
1619
1641
  case "unit":
1620
- t.style = "unit", t.unit = An(i.options[0]);
1642
+ t.style = "unit", t.unit = Mn(i.options[0]);
1621
1643
  continue;
1622
1644
  case "compact-short":
1623
1645
  case "K":
@@ -1629,12 +1651,12 @@ function Cn(e) {
1629
1651
  continue;
1630
1652
  case "scientific":
1631
1653
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1632
- return _(_({}, l), pt(u));
1654
+ return _(_({}, l), gt(u));
1633
1655
  }, {}));
1634
1656
  continue;
1635
1657
  case "engineering":
1636
1658
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1637
- return _(_({}, l), pt(u));
1659
+ return _(_({}, l), gt(u));
1638
1660
  }, {}));
1639
1661
  continue;
1640
1662
  case "notation-simple":
@@ -1679,7 +1701,7 @@ function Cn(e) {
1679
1701
  case "integer-width":
1680
1702
  if (i.options.length > 1)
1681
1703
  throw new RangeError("integer-width stems only accept a single optional option");
1682
- i.options[0].replace(On, function(l, u, h, f, c, m) {
1704
+ i.options[0].replace(Nn, function(l, u, h, f, c, m) {
1683
1705
  if (u)
1684
1706
  t.minimumIntegerDigits = h.length;
1685
1707
  else {
@@ -1692,32 +1714,32 @@ function Cn(e) {
1692
1714
  });
1693
1715
  continue;
1694
1716
  }
1695
- if (tr.test(i.stem)) {
1717
+ if (sr.test(i.stem)) {
1696
1718
  t.minimumIntegerDigits = i.stem.length;
1697
1719
  continue;
1698
1720
  }
1699
- if (ft.test(i.stem)) {
1721
+ if (bt.test(i.stem)) {
1700
1722
  if (i.options.length > 1)
1701
1723
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1702
- i.stem.replace(ft, function(l, u, h, f, c, m) {
1724
+ i.stem.replace(bt, function(l, u, h, f, c, m) {
1703
1725
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1704
1726
  });
1705
1727
  var o = i.options[0];
1706
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), dt(o)));
1728
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1707
1729
  continue;
1708
1730
  }
1709
- if (er.test(i.stem)) {
1710
- t = _(_({}, t), dt(i.stem));
1731
+ if (or.test(i.stem)) {
1732
+ t = _(_({}, t), yt(i.stem));
1711
1733
  continue;
1712
1734
  }
1713
- var a = rr(i.stem);
1735
+ var a = ar(i.stem);
1714
1736
  a && (t = _(_({}, t), a));
1715
- var s = In(i.stem);
1737
+ var s = Rn(i.stem);
1716
1738
  s && (t = _(_({}, t), s));
1717
1739
  }
1718
1740
  return t;
1719
1741
  }
1720
- var de = {
1742
+ var pe = {
1721
1743
  "001": [
1722
1744
  "H",
1723
1745
  "h"
@@ -3132,13 +3154,13 @@ var de = {
3132
3154
  "h"
3133
3155
  ]
3134
3156
  };
3135
- function Ln(e, t) {
3157
+ function Dn(e, t) {
3136
3158
  for (var r = "", n = 0; n < e.length; n++) {
3137
3159
  var i = e.charAt(n);
3138
3160
  if (i === "j") {
3139
3161
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3140
3162
  o++, n++;
3141
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Nn(t);
3163
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Un(t);
3142
3164
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3143
3165
  r += l;
3144
3166
  for (; a-- > 0; )
@@ -3148,7 +3170,7 @@ function Ln(e, t) {
3148
3170
  }
3149
3171
  return r;
3150
3172
  }
3151
- function Nn(e) {
3173
+ function Un(e) {
3152
3174
  var t = e.hourCycle;
3153
3175
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3154
3176
  e.hourCycles && // @ts-ignore
@@ -3167,23 +3189,23 @@ function Nn(e) {
3167
3189
  }
3168
3190
  var r = e.language, n;
3169
3191
  r !== "root" && (n = e.maximize().region);
3170
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3192
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3171
3193
  return i[0];
3172
3194
  }
3173
- var Ce, Mn = new RegExp("^".concat(Kt.source, "*")), Rn = new RegExp("".concat(Kt.source, "*$"));
3195
+ var Me, Gn = new RegExp("^".concat(ir.source, "*")), Fn = new RegExp("".concat(ir.source, "*$"));
3174
3196
  function v(e, t) {
3175
3197
  return { start: e, end: t };
3176
3198
  }
3177
- var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
3199
+ var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Qn = Zn ? Number.isSafeInteger : function(e) {
3178
3200
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3179
- }, Ve = !0;
3201
+ }, We = !0;
3180
3202
  try {
3181
- var Xn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3182
- Ve = ((Ce = Xn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3203
+ var Jn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3204
+ We = ((Me = Jn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3183
3205
  } catch {
3184
- Ve = !1;
3206
+ We = !1;
3185
3207
  }
3186
- var mt = $n ? (
3208
+ var vt = jn ? (
3187
3209
  // Native
3188
3210
  function(t, r, n) {
3189
3211
  return t.startsWith(r, n);
@@ -3193,7 +3215,7 @@ var mt = $n ? (
3193
3215
  function(t, r, n) {
3194
3216
  return t.slice(n, n + r.length) === r;
3195
3217
  }
3196
- ), Xe = Dn ? String.fromCodePoint : (
3218
+ ), ze = kn ? String.fromCodePoint : (
3197
3219
  // IE11
3198
3220
  function() {
3199
3221
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3205,9 +3227,9 @@ var mt = $n ? (
3205
3227
  }
3206
3228
  return n;
3207
3229
  }
3208
- ), bt = (
3230
+ ), _t = (
3209
3231
  // native
3210
- Un ? Object.fromEntries : (
3232
+ Vn ? Object.fromEntries : (
3211
3233
  // Ponyfill
3212
3234
  function(t) {
3213
3235
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3217,7 +3239,7 @@ var mt = $n ? (
3217
3239
  return r;
3218
3240
  }
3219
3241
  )
3220
- ), nr = Gn ? (
3242
+ ), ur = Xn ? (
3221
3243
  // Native
3222
3244
  function(t, r) {
3223
3245
  return t.codePointAt(r);
@@ -3231,7 +3253,7 @@ var mt = $n ? (
3231
3253
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3232
3254
  }
3233
3255
  }
3234
- ), Wn = Fn ? (
3256
+ ), qn = Wn ? (
3235
3257
  // Native
3236
3258
  function(t) {
3237
3259
  return t.trimStart();
@@ -3239,9 +3261,9 @@ var mt = $n ? (
3239
3261
  ) : (
3240
3262
  // Ponyfill
3241
3263
  function(t) {
3242
- return t.replace(Mn, "");
3264
+ return t.replace(Gn, "");
3243
3265
  }
3244
- ), zn = jn ? (
3266
+ ), Yn = zn ? (
3245
3267
  // Native
3246
3268
  function(t) {
3247
3269
  return t.trimEnd();
@@ -3249,32 +3271,32 @@ var mt = $n ? (
3249
3271
  ) : (
3250
3272
  // Ponyfill
3251
3273
  function(t) {
3252
- return t.replace(Rn, "");
3274
+ return t.replace(Fn, "");
3253
3275
  }
3254
3276
  );
3255
- function ir(e, t) {
3277
+ function lr(e, t) {
3256
3278
  return new RegExp(e, t);
3257
3279
  }
3258
- var We;
3259
- if (Ve) {
3260
- var yt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3261
- We = function(t, r) {
3280
+ var Ze;
3281
+ if (We) {
3282
+ var Et = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3283
+ Ze = function(t, r) {
3262
3284
  var n;
3263
- yt.lastIndex = r;
3264
- var i = yt.exec(t);
3285
+ Et.lastIndex = r;
3286
+ var i = Et.exec(t);
3265
3287
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3266
3288
  };
3267
3289
  } else
3268
- We = function(t, r) {
3290
+ Ze = function(t, r) {
3269
3291
  for (var n = []; ; ) {
3270
- var i = nr(t, r);
3271
- if (i === void 0 || or(i) || qn(i))
3292
+ var i = ur(t, r);
3293
+ if (i === void 0 || hr(i) || ri(i))
3272
3294
  break;
3273
3295
  n.push(i), r += i >= 65536 ? 2 : 1;
3274
3296
  }
3275
- return Xe.apply(void 0, n);
3297
+ return ze.apply(void 0, n);
3276
3298
  };
3277
- var Zn = (
3299
+ var Kn = (
3278
3300
  /** @class */
3279
3301
  function() {
3280
3302
  function e(t, r) {
@@ -3305,7 +3327,7 @@ var Zn = (
3305
3327
  if (n)
3306
3328
  break;
3307
3329
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3308
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3330
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3309
3331
  var a = this.parseTag(t, r);
3310
3332
  if (a.err)
3311
3333
  return a;
@@ -3338,7 +3360,7 @@ var Zn = (
3338
3360
  return o;
3339
3361
  var a = o.val, s = this.clonePosition();
3340
3362
  if (this.bumpIf("</")) {
3341
- if (this.isEOF() || !ze(this.char()))
3363
+ if (this.isEOF() || !Qe(this.char()))
3342
3364
  return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3343
3365
  var l = this.clonePosition(), u = this.parseTagName();
3344
3366
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3356,7 +3378,7 @@ var Zn = (
3356
3378
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3357
3379
  }, e.prototype.parseTagName = function() {
3358
3380
  var t = this.offset();
3359
- for (this.bump(); !this.isEOF() && Jn(this.char()); )
3381
+ for (this.bump(); !this.isEOF() && ti(this.char()); )
3360
3382
  this.bump();
3361
3383
  return this.message.slice(t, this.offset());
3362
3384
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3385,7 +3407,7 @@ var Zn = (
3385
3407
  };
3386
3408
  }, e.prototype.tryParseLeftAngleBracket = function() {
3387
3409
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3388
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3410
+ !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3389
3411
  }, e.prototype.tryParseQuote = function(t) {
3390
3412
  if (this.isEOF() || this.char() !== 39)
3391
3413
  return null;
@@ -3419,12 +3441,12 @@ var Zn = (
3419
3441
  r.push(n);
3420
3442
  this.bump();
3421
3443
  }
3422
- return Xe.apply(void 0, r);
3444
+ return ze.apply(void 0, r);
3423
3445
  }, e.prototype.tryParseUnquoted = function(t, r) {
3424
3446
  if (this.isEOF())
3425
3447
  return null;
3426
3448
  var n = this.char();
3427
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3449
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3428
3450
  }, e.prototype.parseArgument = function(t, r) {
3429
3451
  var n = this.clonePosition();
3430
3452
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3453,7 +3475,7 @@ var Zn = (
3453
3475
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3454
3476
  }
3455
3477
  }, e.prototype.parseIdentifierIfPossible = function() {
3456
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3478
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3457
3479
  this.bumpTo(i);
3458
3480
  var o = this.clonePosition(), a = v(t, o);
3459
3481
  return { value: n, location: a };
@@ -3472,7 +3494,7 @@ var Zn = (
3472
3494
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3473
3495
  if (f.err)
3474
3496
  return f;
3475
- var c = zn(f.val);
3497
+ var c = Yn(f.val);
3476
3498
  if (c.length === 0)
3477
3499
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3478
3500
  var m = v(h, this.clonePosition());
@@ -3482,8 +3504,8 @@ var Zn = (
3482
3504
  if (b.err)
3483
3505
  return b;
3484
3506
  var g = v(i, this.clonePosition());
3485
- if (u && mt(u?.style, "::", 0)) {
3486
- var S = Wn(u.style.slice(2));
3507
+ if (u && vt(u?.style, "::", 0)) {
3508
+ var S = qn(u.style.slice(2));
3487
3509
  if (s === "number") {
3488
3510
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3489
3511
  return f.err ? f : {
@@ -3493,13 +3515,13 @@ var Zn = (
3493
3515
  } else {
3494
3516
  if (S.length === 0)
3495
3517
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3496
- var A = S;
3497
- this.locale && (A = Ln(S, this.locale));
3518
+ var P = S;
3519
+ this.locale && (P = Dn(S, this.locale));
3498
3520
  var c = {
3499
- type: K.dateTime,
3500
- pattern: A,
3521
+ type: ee.dateTime,
3522
+ pattern: P,
3501
3523
  location: u.styleLocation,
3502
- parsedOptions: this.shouldParseSkeletons ? Hn(A) : {}
3524
+ parsedOptions: this.shouldParseSkeletons ? In(P) : {}
3503
3525
  }, H = s === "date" ? E.date : E.time;
3504
3526
  return {
3505
3527
  val: { type: H, value: n, location: g, style: c },
@@ -3524,7 +3546,7 @@ var Zn = (
3524
3546
  if (this.bumpSpace(), !this.bumpIf(","))
3525
3547
  return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
3526
3548
  this.bumpSpace();
3527
- var L = this.parseIdentifierIfPossible(), O = 0;
3549
+ var L = this.parseIdentifierIfPossible(), A = 0;
3528
3550
  if (s !== "select" && L.value === "offset") {
3529
3551
  if (!this.bumpIf(":"))
3530
3552
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
@@ -3532,11 +3554,11 @@ var Zn = (
3532
3554
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3533
3555
  if (f.err)
3534
3556
  return f;
3535
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), O = f.val;
3557
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), A = f.val;
3536
3558
  }
3537
- var N = this.tryParsePluralOrSelectOptions(t, s, r, L);
3538
- if (N.err)
3539
- return N;
3559
+ var M = this.tryParsePluralOrSelectOptions(t, s, r, L);
3560
+ if (M.err)
3561
+ return M;
3540
3562
  var b = this.tryParseArgumentClose(i);
3541
3563
  if (b.err)
3542
3564
  return b;
@@ -3545,7 +3567,7 @@ var Zn = (
3545
3567
  val: {
3546
3568
  type: E.select,
3547
3569
  value: n,
3548
- options: bt(N.val),
3570
+ options: _t(M.val),
3549
3571
  location: x
3550
3572
  },
3551
3573
  err: null
@@ -3553,8 +3575,8 @@ var Zn = (
3553
3575
  val: {
3554
3576
  type: E.plural,
3555
3577
  value: n,
3556
- options: bt(N.val),
3557
- offset: O,
3578
+ options: _t(M.val),
3579
+ offset: A,
3558
3580
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3559
3581
  location: x
3560
3582
  },
@@ -3604,16 +3626,16 @@ var Zn = (
3604
3626
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3605
3627
  var n = [];
3606
3628
  try {
3607
- n = Pn(t);
3629
+ n = Ln(t);
3608
3630
  } catch {
3609
3631
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3610
3632
  }
3611
3633
  return {
3612
3634
  val: {
3613
- type: K.number,
3635
+ type: ee.number,
3614
3636
  tokens: n,
3615
3637
  location: r,
3616
- parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3638
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3617
3639
  },
3618
3640
  err: null
3619
3641
  };
@@ -3661,7 +3683,7 @@ var Zn = (
3661
3683
  break;
3662
3684
  }
3663
3685
  var l = v(i, this.clonePosition());
3664
- return o ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3686
+ return o ? (a *= n, Qn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3665
3687
  }, e.prototype.offset = function() {
3666
3688
  return this.position.offset;
3667
3689
  }, e.prototype.isEOF = function() {
@@ -3676,7 +3698,7 @@ var Zn = (
3676
3698
  var t = this.position.offset;
3677
3699
  if (t >= this.message.length)
3678
3700
  throw Error("out of bound");
3679
- var r = nr(this.message, t);
3701
+ var r = ur(this.message, t);
3680
3702
  if (r === void 0)
3681
3703
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3682
3704
  return r;
@@ -3695,7 +3717,7 @@ var Zn = (
3695
3717
  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);
3696
3718
  }
3697
3719
  }, e.prototype.bumpIf = function(t) {
3698
- if (mt(this.message, t, this.offset())) {
3720
+ if (vt(this.message, t, this.offset())) {
3699
3721
  for (var r = 0; r < t.length; r++)
3700
3722
  this.bump();
3701
3723
  return !0;
@@ -3717,7 +3739,7 @@ var Zn = (
3717
3739
  break;
3718
3740
  }
3719
3741
  }, e.prototype.bumpSpace = function() {
3720
- for (; !this.isEOF() && or(this.char()); )
3742
+ for (; !this.isEOF() && hr(this.char()); )
3721
3743
  this.bump();
3722
3744
  }, e.prototype.peek = function() {
3723
3745
  if (this.isEOF())
@@ -3727,44 +3749,44 @@ var Zn = (
3727
3749
  }, e;
3728
3750
  }()
3729
3751
  );
3730
- function ze(e) {
3752
+ function Qe(e) {
3731
3753
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3732
3754
  }
3733
- function Qn(e) {
3734
- return ze(e) || e === 47;
3755
+ function ei(e) {
3756
+ return Qe(e) || e === 47;
3735
3757
  }
3736
- function Jn(e) {
3758
+ function ti(e) {
3737
3759
  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;
3738
3760
  }
3739
- function or(e) {
3761
+ function hr(e) {
3740
3762
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3741
3763
  }
3742
- function qn(e) {
3764
+ function ri(e) {
3743
3765
  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;
3744
3766
  }
3745
- function Ze(e) {
3767
+ function Je(e) {
3746
3768
  e.forEach(function(t) {
3747
- if (delete t.location, Qt(t) || Jt(t))
3769
+ if (delete t.location, er(t) || tr(t))
3748
3770
  for (var r in t.options)
3749
- delete t.options[r].location, Ze(t.options[r].value);
3771
+ delete t.options[r].location, Je(t.options[r].value);
3750
3772
  else
3751
- Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && ke(t.style) ? delete t.style.location : qt(t) && Ze(t.children);
3773
+ qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Xe(t.style) ? delete t.style.location : rr(t) && Je(t.children);
3752
3774
  });
3753
3775
  }
3754
- function Yn(e, t) {
3776
+ function ni(e, t) {
3755
3777
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3756
- var r = new Zn(e, t).parse();
3778
+ var r = new Kn(e, t).parse();
3757
3779
  if (r.err) {
3758
3780
  var n = SyntaxError(y[r.err.kind]);
3759
3781
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3760
3782
  }
3761
- return t?.captureLocation || Ze(r.val), r.val;
3783
+ return t?.captureLocation || Je(r.val), r.val;
3762
3784
  }
3763
- var ee;
3785
+ var te;
3764
3786
  (function(e) {
3765
3787
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3766
- })(ee || (ee = {}));
3767
- var Te = (
3788
+ })(te || (te = {}));
3789
+ var He = (
3768
3790
  /** @class */
3769
3791
  function(e) {
3770
3792
  U(t, e);
@@ -3776,48 +3798,48 @@ var Te = (
3776
3798
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3777
3799
  }, t;
3778
3800
  }(Error)
3779
- ), gt = (
3801
+ ), xt = (
3780
3802
  /** @class */
3781
3803
  function(e) {
3782
3804
  U(t, e);
3783
3805
  function t(r, n, i, o) {
3784
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3806
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3785
3807
  }
3786
3808
  return t;
3787
- }(Te)
3788
- ), Kn = (
3809
+ }(He)
3810
+ ), ii = (
3789
3811
  /** @class */
3790
3812
  function(e) {
3791
3813
  U(t, e);
3792
3814
  function t(r, n, i) {
3793
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3815
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3794
3816
  }
3795
3817
  return t;
3796
- }(Te)
3797
- ), ei = (
3818
+ }(He)
3819
+ ), oi = (
3798
3820
  /** @class */
3799
3821
  function(e) {
3800
3822
  U(t, e);
3801
3823
  function t(r, n) {
3802
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3824
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3803
3825
  }
3804
3826
  return t;
3805
- }(Te)
3827
+ }(He)
3806
3828
  ), T;
3807
3829
  (function(e) {
3808
3830
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3809
3831
  })(T || (T = {}));
3810
- function ti(e) {
3832
+ function si(e) {
3811
3833
  return e.length < 2 ? e : e.reduce(function(t, r) {
3812
3834
  var n = t[t.length - 1];
3813
3835
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3814
3836
  }, []);
3815
3837
  }
3816
- function ri(e) {
3838
+ function ai(e) {
3817
3839
  return typeof e == "function";
3818
3840
  }
3819
- function ye(e, t, r, n, i, o, a) {
3820
- if (e.length === 1 && ct(e[0]))
3841
+ function ge(e, t, r, n, i, o, a) {
3842
+ if (e.length === 1 && mt(e[0]))
3821
3843
  return [
3822
3844
  {
3823
3845
  type: T.literal,
@@ -3826,14 +3848,14 @@ function ye(e, t, r, n, i, o, a) {
3826
3848
  ];
3827
3849
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3828
3850
  var h = u[l];
3829
- if (ct(h)) {
3851
+ if (mt(h)) {
3830
3852
  s.push({
3831
3853
  type: T.literal,
3832
3854
  value: h.value
3833
3855
  });
3834
3856
  continue;
3835
3857
  }
3836
- if (wn(h)) {
3858
+ if (An(h)) {
3837
3859
  typeof o == "number" && s.push({
3838
3860
  type: T.literal,
3839
3861
  value: r.getNumberFormat(t).format(o)
@@ -3842,89 +3864,89 @@ function ye(e, t, r, n, i, o, a) {
3842
3864
  }
3843
3865
  var f = h.value;
3844
3866
  if (!(i && f in i))
3845
- throw new ei(f, a);
3867
+ throw new oi(f, a);
3846
3868
  var c = i[f];
3847
- if (Sn(h)) {
3869
+ if (Pn(h)) {
3848
3870
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3849
3871
  type: typeof c == "string" ? T.literal : T.object,
3850
3872
  value: c
3851
3873
  });
3852
3874
  continue;
3853
3875
  }
3854
- if (zt(h)) {
3855
- var m = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3876
+ if (Yt(h)) {
3877
+ var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3856
3878
  s.push({
3857
3879
  type: T.literal,
3858
3880
  value: r.getDateTimeFormat(t, m).format(c)
3859
3881
  });
3860
3882
  continue;
3861
3883
  }
3862
- if (Zt(h)) {
3863
- var m = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
3884
+ if (Kt(h)) {
3885
+ var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3864
3886
  s.push({
3865
3887
  type: T.literal,
3866
3888
  value: r.getDateTimeFormat(t, m).format(c)
3867
3889
  });
3868
3890
  continue;
3869
3891
  }
3870
- if (Wt(h)) {
3871
- var m = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3892
+ if (qt(h)) {
3893
+ var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3872
3894
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3873
3895
  type: T.literal,
3874
3896
  value: r.getNumberFormat(t, m).format(c)
3875
3897
  });
3876
3898
  continue;
3877
3899
  }
3878
- if (qt(h)) {
3900
+ if (rr(h)) {
3879
3901
  var b = h.children, g = h.value, S = i[g];
3880
- if (!ri(S))
3881
- throw new Kn(g, "function", a);
3882
- var A = ye(b, t, r, n, i, o), H = S(A.map(function(O) {
3883
- return O.value;
3902
+ if (!ai(S))
3903
+ throw new ii(g, "function", a);
3904
+ var P = ge(b, t, r, n, i, o), H = S(P.map(function(A) {
3905
+ return A.value;
3884
3906
  }));
3885
- Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(O) {
3907
+ Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(A) {
3886
3908
  return {
3887
- type: typeof O == "string" ? T.literal : T.object,
3888
- value: O
3909
+ type: typeof A == "string" ? T.literal : T.object,
3910
+ value: A
3889
3911
  };
3890
3912
  }));
3891
3913
  }
3892
- if (Qt(h)) {
3914
+ if (er(h)) {
3893
3915
  var w = h.options[c] || h.options.other;
3894
3916
  if (!w)
3895
- throw new gt(h.value, c, Object.keys(h.options), a);
3896
- s.push.apply(s, ye(w.value, t, r, n, i));
3917
+ throw new xt(h.value, c, Object.keys(h.options), a);
3918
+ s.push.apply(s, ge(w.value, t, r, n, i));
3897
3919
  continue;
3898
3920
  }
3899
- if (Jt(h)) {
3921
+ if (tr(h)) {
3900
3922
  var w = h.options["=".concat(c)];
3901
3923
  if (!w) {
3902
3924
  if (!Intl.PluralRules)
3903
- throw new Te(`Intl.PluralRules is not available in this environment.
3925
+ throw new He(`Intl.PluralRules is not available in this environment.
3904
3926
  Try polyfilling it using "@formatjs/intl-pluralrules"
3905
- `, ee.MISSING_INTL_API, a);
3927
+ `, te.MISSING_INTL_API, a);
3906
3928
  var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3907
3929
  w = h.options[L] || h.options.other;
3908
3930
  }
3909
3931
  if (!w)
3910
- throw new gt(h.value, c, Object.keys(h.options), a);
3911
- s.push.apply(s, ye(w.value, t, r, n, i, c - (h.offset || 0)));
3932
+ throw new xt(h.value, c, Object.keys(h.options), a);
3933
+ s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3912
3934
  continue;
3913
3935
  }
3914
3936
  }
3915
- return ti(s);
3937
+ return si(s);
3916
3938
  }
3917
- function ni(e, t) {
3939
+ function ui(e, t) {
3918
3940
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3919
3941
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3920
3942
  }, {})) : e;
3921
3943
  }
3922
- function ii(e, t) {
3944
+ function li(e, t) {
3923
3945
  return t ? Object.keys(e).reduce(function(r, n) {
3924
- return r[n] = ni(e[n], t[n]), r;
3946
+ return r[n] = ui(e[n], t[n]), r;
3925
3947
  }, _({}, e)) : e;
3926
3948
  }
3927
- function Le(e) {
3949
+ function Ne(e) {
3928
3950
  return {
3929
3951
  create: function() {
3930
3952
  return {
@@ -3938,39 +3960,39 @@ function Le(e) {
3938
3960
  }
3939
3961
  };
3940
3962
  }
3941
- function oi(e) {
3963
+ function hi(e) {
3942
3964
  return e === void 0 && (e = {
3943
3965
  number: {},
3944
3966
  dateTime: {},
3945
3967
  pluralRules: {}
3946
3968
  }), {
3947
- getNumberFormat: Oe(function() {
3969
+ getNumberFormat: Ce(function() {
3948
3970
  for (var t, r = [], n = 0; n < arguments.length; n++)
3949
3971
  r[n] = arguments[n];
3950
- return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3972
+ return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
3951
3973
  }, {
3952
- cache: Le(e.number),
3953
- strategy: Ie.variadic
3974
+ cache: Ne(e.number),
3975
+ strategy: Le.variadic
3954
3976
  }),
3955
- getDateTimeFormat: Oe(function() {
3977
+ getDateTimeFormat: Ce(function() {
3956
3978
  for (var t, r = [], n = 0; n < arguments.length; n++)
3957
3979
  r[n] = arguments[n];
3958
- return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3980
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
3959
3981
  }, {
3960
- cache: Le(e.dateTime),
3961
- strategy: Ie.variadic
3982
+ cache: Ne(e.dateTime),
3983
+ strategy: Le.variadic
3962
3984
  }),
3963
- getPluralRules: Oe(function() {
3985
+ getPluralRules: Ce(function() {
3964
3986
  for (var t, r = [], n = 0; n < arguments.length; n++)
3965
3987
  r[n] = arguments[n];
3966
- return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3988
+ return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
3967
3989
  }, {
3968
- cache: Le(e.pluralRules),
3969
- strategy: Ie.variadic
3990
+ cache: Ne(e.pluralRules),
3991
+ strategy: Le.variadic
3970
3992
  })
3971
3993
  };
3972
3994
  }
3973
- var si = (
3995
+ var ci = (
3974
3996
  /** @class */
3975
3997
  function() {
3976
3998
  function e(t, r, n, i) {
@@ -3989,7 +4011,7 @@ var si = (
3989
4011
  }, []);
3990
4012
  return h.length <= 1 ? h[0] || "" : h;
3991
4013
  }, this.formatToParts = function(l) {
3992
- return ye(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4014
+ return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3993
4015
  }, this.resolvedOptions = function() {
3994
4016
  var l;
3995
4017
  return {
@@ -4002,13 +4024,13 @@ var si = (
4002
4024
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4003
4025
  var a = i || {};
4004
4026
  a.formatters;
4005
- var s = $r(a, ["formatters"]);
4027
+ var s = kr(a, ["formatters"]);
4006
4028
  this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4007
4029
  } else
4008
4030
  this.ast = t;
4009
4031
  if (!Array.isArray(this.ast))
4010
4032
  throw new TypeError("A message must be provided as a String or AST.");
4011
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
4033
+ this.formats = li(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
4012
4034
  }
4013
4035
  return Object.defineProperty(e, "defaultLocale", {
4014
4036
  get: function() {
@@ -4021,7 +4043,7 @@ var si = (
4021
4043
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4022
4044
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4023
4045
  }
4024
- }, e.__parse = Yn, e.formats = {
4046
+ }, e.__parse = ni, e.formats = {
4025
4047
  number: {
4026
4048
  integer: {
4027
4049
  maximumFractionDigits: 0
@@ -4082,7 +4104,7 @@ var si = (
4082
4104
  }, e;
4083
4105
  }()
4084
4106
  );
4085
- function ai(e, t) {
4107
+ function fi(e, t) {
4086
4108
  if (t == null)
4087
4109
  return;
4088
4110
  if (t in e)
@@ -4103,92 +4125,92 @@ function ai(e, t) {
4103
4125
  n = void 0;
4104
4126
  return n;
4105
4127
  }
4106
- const F = {}, ui = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), sr = (e, t) => {
4128
+ const F = {}, di = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
4107
4129
  if (t == null)
4108
4130
  return;
4109
4131
  if (t in F && e in F[t])
4110
4132
  return F[t][e];
4111
- const r = He(t);
4133
+ const r = Be(t);
4112
4134
  for (let n = 0; n < r.length; n++) {
4113
- const i = r[n], o = hi(i, e);
4135
+ const i = r[n], o = mi(i, e);
4114
4136
  if (o)
4115
- return ui(e, t, o);
4137
+ return di(e, t, o);
4116
4138
  }
4117
4139
  };
4118
- let Ye;
4119
- const he = we({});
4120
- function li(e) {
4121
- return Ye[e] || null;
4140
+ let rt;
4141
+ const ce = Te({});
4142
+ function pi(e) {
4143
+ return rt[e] || null;
4122
4144
  }
4123
- function ar(e) {
4124
- return e in Ye;
4145
+ function fr(e) {
4146
+ return e in rt;
4125
4147
  }
4126
- function hi(e, t) {
4127
- if (!ar(e))
4148
+ function mi(e, t) {
4149
+ if (!fr(e))
4128
4150
  return null;
4129
- const r = li(e);
4130
- return ai(r, t);
4151
+ const r = pi(e);
4152
+ return fi(r, t);
4131
4153
  }
4132
- function ci(e) {
4154
+ function bi(e) {
4133
4155
  if (e == null)
4134
4156
  return;
4135
- const t = He(e);
4157
+ const t = Be(e);
4136
4158
  for (let r = 0; r < t.length; r++) {
4137
4159
  const n = t[r];
4138
- if (ar(n))
4160
+ if (fr(n))
4139
4161
  return n;
4140
4162
  }
4141
4163
  }
4142
- function ur(e, ...t) {
4143
- delete F[e], he.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
4164
+ function dr(e, ...t) {
4165
+ delete F[e], ce.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
4144
4166
  }
4145
- re(
4146
- [he],
4167
+ ne(
4168
+ [ce],
4147
4169
  ([e]) => Object.keys(e)
4148
4170
  );
4149
- he.subscribe((e) => Ye = e);
4150
- const ge = {};
4151
- function fi(e, t) {
4152
- ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4171
+ ce.subscribe((e) => rt = e);
4172
+ const ve = {};
4173
+ function yi(e, t) {
4174
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4153
4175
  }
4154
- function lr(e) {
4155
- return ge[e];
4176
+ function pr(e) {
4177
+ return ve[e];
4156
4178
  }
4157
- function di(e) {
4158
- return He(e).map((t) => {
4159
- const r = lr(t);
4179
+ function gi(e) {
4180
+ return Be(e).map((t) => {
4181
+ const r = pr(t);
4160
4182
  return [t, r ? [...r] : []];
4161
4183
  }).filter(([, t]) => t.length > 0);
4162
4184
  }
4163
- function Qe(e) {
4164
- return e == null ? !1 : He(e).some(
4185
+ function qe(e) {
4186
+ return e == null ? !1 : Be(e).some(
4165
4187
  (t) => {
4166
4188
  var r;
4167
- return (r = lr(t)) == null ? void 0 : r.size;
4189
+ return (r = pr(t)) == null ? void 0 : r.size;
4168
4190
  }
4169
4191
  );
4170
4192
  }
4171
- function pi(e, t) {
4193
+ function vi(e, t) {
4172
4194
  return Promise.all(
4173
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4174
- ).then((n) => ur(e, ...n));
4175
- }
4176
- const oe = {};
4177
- function hr(e) {
4178
- if (!Qe(e))
4179
- return e in oe ? oe[e] : Promise.resolve();
4180
- const t = di(e);
4181
- return oe[e] = Promise.all(
4195
+ t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4196
+ ).then((n) => dr(e, ...n));
4197
+ }
4198
+ const se = {};
4199
+ function mr(e) {
4200
+ if (!qe(e))
4201
+ return e in se ? se[e] : Promise.resolve();
4202
+ const t = gi(e);
4203
+ return se[e] = Promise.all(
4182
4204
  t.map(
4183
- ([r, n]) => pi(r, n)
4205
+ ([r, n]) => vi(r, n)
4184
4206
  )
4185
4207
  ).then(() => {
4186
- if (Qe(e))
4187
- return hr(e);
4188
- delete oe[e];
4189
- }), oe[e];
4208
+ if (qe(e))
4209
+ return mr(e);
4210
+ delete se[e];
4211
+ }), se[e];
4190
4212
  }
4191
- const mi = {
4213
+ const _i = {
4192
4214
  number: {
4193
4215
  scientific: { notation: "scientific" },
4194
4216
  engineering: { notation: "engineering" },
@@ -4217,150 +4239,150 @@ const mi = {
4217
4239
  timeZoneName: "short"
4218
4240
  }
4219
4241
  }
4220
- }, bi = {
4242
+ }, Ei = {
4221
4243
  fallbackLocale: null,
4222
4244
  loadingDelay: 200,
4223
- formats: mi,
4245
+ formats: _i,
4224
4246
  warnOnMissingMessages: !0,
4225
4247
  handleMissingMessage: void 0,
4226
4248
  ignoreTag: !0
4227
- }, yi = bi;
4228
- function te() {
4229
- return yi;
4249
+ }, xi = Ei;
4250
+ function re() {
4251
+ return xi;
4230
4252
  }
4231
- const Ne = we(!1);
4232
- var gi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4253
+ const Re = Te(!1);
4254
+ var Si = Object.defineProperty, wi = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
4233
4255
  for (var r in t || (t = {}))
4234
- Ei.call(t, r) && _t(e, r, t[r]);
4235
- if (vt)
4236
- for (var r of vt(t))
4237
- xi.call(t, r) && _t(e, r, t[r]);
4256
+ Hi.call(t, r) && wt(e, r, t[r]);
4257
+ if (St)
4258
+ for (var r of St(t))
4259
+ Bi.call(t, r) && wt(e, r, t[r]);
4238
4260
  return e;
4239
- }, wi = (e, t) => vi(e, _i(t));
4240
- let Je;
4241
- const ve = we(null);
4242
- function Et(e) {
4261
+ }, Ai = (e, t) => wi(e, Ti(t));
4262
+ let Ye;
4263
+ const _e = Te(null);
4264
+ function Tt(e) {
4243
4265
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4244
4266
  }
4245
- function He(e, t = te().fallbackLocale) {
4246
- const r = Et(e);
4247
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4267
+ function Be(e, t = re().fallbackLocale) {
4268
+ const r = Tt(e);
4269
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4248
4270
  }
4249
- function W() {
4250
- return Je ?? void 0;
4271
+ function z() {
4272
+ return Ye ?? void 0;
4251
4273
  }
4252
- ve.subscribe((e) => {
4253
- Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4274
+ _e.subscribe((e) => {
4275
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4254
4276
  });
4255
- const Ti = (e) => {
4256
- if (e && ci(e) && Qe(e)) {
4257
- const { loadingDelay: t } = te();
4277
+ const Oi = (e) => {
4278
+ if (e && bi(e) && qe(e)) {
4279
+ const { loadingDelay: t } = re();
4258
4280
  let r;
4259
- return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4260
- () => Ne.set(!0),
4281
+ return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4282
+ () => Re.set(!0),
4261
4283
  t
4262
- ) : Ne.set(!0), hr(e).then(() => {
4263
- ve.set(e);
4284
+ ) : Re.set(!0), mr(e).then(() => {
4285
+ _e.set(e);
4264
4286
  }).finally(() => {
4265
- clearTimeout(r), Ne.set(!1);
4287
+ clearTimeout(r), Re.set(!1);
4266
4288
  });
4267
4289
  }
4268
- return ve.set(e);
4269
- }, ne = wi(Si({}, ve), {
4270
- set: Ti
4271
- }), Be = (e) => {
4290
+ return _e.set(e);
4291
+ }, ie = Ai(Pi({}, _e), {
4292
+ set: Oi
4293
+ }), Pe = (e) => {
4272
4294
  const t = /* @__PURE__ */ Object.create(null);
4273
4295
  return (n) => {
4274
4296
  const i = JSON.stringify(n);
4275
4297
  return i in t ? t[i] : t[i] = e(n);
4276
4298
  };
4277
4299
  };
4278
- var Hi = Object.defineProperty, _e = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4300
+ var Ii = Object.defineProperty, Ee = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4279
4301
  for (var r in t || (t = {}))
4280
- cr.call(t, r) && xt(e, r, t[r]);
4281
- if (_e)
4282
- for (var r of _e(t))
4283
- fr.call(t, r) && xt(e, r, t[r]);
4302
+ br.call(t, r) && Ht(e, r, t[r]);
4303
+ if (Ee)
4304
+ for (var r of Ee(t))
4305
+ yr.call(t, r) && Ht(e, r, t[r]);
4284
4306
  return e;
4285
- }, ie = (e, t) => {
4307
+ }, oe = (e, t) => {
4286
4308
  var r = {};
4287
4309
  for (var n in e)
4288
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4289
- if (e != null && _e)
4290
- for (var n of _e(e))
4291
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4310
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4311
+ if (e != null && Ee)
4312
+ for (var n of Ee(e))
4313
+ t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4292
4314
  return r;
4293
4315
  };
4294
- const le = (e, t) => {
4295
- const { formats: r } = te();
4316
+ const he = (e, t) => {
4317
+ const { formats: r } = re();
4296
4318
  if (e in r && t in r[e])
4297
4319
  return r[e][t];
4298
4320
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4299
- }, Bi = Be(
4321
+ }, Ci = Pe(
4300
4322
  (e) => {
4301
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4323
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4302
4324
  if (r == null)
4303
4325
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4304
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4326
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4305
4327
  }
4306
- ), Pi = Be(
4328
+ ), Li = Pe(
4307
4329
  (e) => {
4308
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4330
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4309
4331
  if (r == null)
4310
4332
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4311
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4333
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4312
4334
  }
4313
- ), Ai = Be(
4335
+ ), Mi = Pe(
4314
4336
  (e) => {
4315
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4337
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4316
4338
  if (r == null)
4317
4339
  throw new Error(
4318
4340
  '[svelte-i18n] A "locale" must be set to format time values'
4319
4341
  );
4320
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4342
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4321
4343
  }
4322
- ), Oi = (e = {}) => {
4344
+ ), Ni = (e = {}) => {
4323
4345
  var t = e, {
4324
- locale: r = W()
4325
- } = t, n = ie(t, [
4346
+ locale: r = z()
4347
+ } = t, n = oe(t, [
4326
4348
  "locale"
4327
4349
  ]);
4328
- return Bi(Ke({ locale: r }, n));
4329
- }, Ii = (e = {}) => {
4350
+ return Ci(nt({ locale: r }, n));
4351
+ }, Ri = (e = {}) => {
4330
4352
  var t = e, {
4331
- locale: r = W()
4332
- } = t, n = ie(t, [
4353
+ locale: r = z()
4354
+ } = t, n = oe(t, [
4333
4355
  "locale"
4334
4356
  ]);
4335
- return Pi(Ke({ locale: r }, n));
4336
- }, Ci = (e = {}) => {
4357
+ return Li(nt({ locale: r }, n));
4358
+ }, $i = (e = {}) => {
4337
4359
  var t = e, {
4338
- locale: r = W()
4339
- } = t, n = ie(t, [
4360
+ locale: r = z()
4361
+ } = t, n = oe(t, [
4340
4362
  "locale"
4341
4363
  ]);
4342
- return Ai(Ke({ locale: r }, n));
4343
- }, Li = Be(
4364
+ return Mi(nt({ locale: r }, n));
4365
+ }, Di = Pe(
4344
4366
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4345
- (e, t = W()) => new si(e, t, te().formats, {
4346
- ignoreTag: te().ignoreTag
4367
+ (e, t = z()) => new ci(e, t, re().formats, {
4368
+ ignoreTag: re().ignoreTag
4347
4369
  })
4348
- ), Ni = (e, t = {}) => {
4370
+ ), Ui = (e, t = {}) => {
4349
4371
  var r, n, i, o;
4350
4372
  let a = t;
4351
4373
  typeof e == "object" && (a = e, e = a.id);
4352
4374
  const {
4353
4375
  values: s,
4354
- locale: l = W(),
4376
+ locale: l = z(),
4355
4377
  default: u
4356
4378
  } = a;
4357
4379
  if (l == null)
4358
4380
  throw new Error(
4359
4381
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4360
4382
  );
4361
- let h = sr(e, l);
4383
+ let h = cr(e, l);
4362
4384
  if (!h)
4363
- h = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4385
+ h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4364
4386
  else if (typeof h != "string")
4365
4387
  return console.warn(
4366
4388
  `[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.`
@@ -4369,7 +4391,7 @@ const le = (e, t) => {
4369
4391
  return h;
4370
4392
  let f = h;
4371
4393
  try {
4372
- f = Li(h, l).format(s);
4394
+ f = Di(h, l).format(s);
4373
4395
  } catch (c) {
4374
4396
  c instanceof Error && console.warn(
4375
4397
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4377,16 +4399,16 @@ const le = (e, t) => {
4377
4399
  );
4378
4400
  }
4379
4401
  return f;
4380
- }, Mi = (e, t) => Ci(t).format(e), Ri = (e, t) => Ii(t).format(e), $i = (e, t) => Oi(t).format(e), Di = (e, t = W()) => sr(e, t), Ui = re([ne, he], () => Ni);
4381
- re([ne], () => Mi);
4382
- re([ne], () => Ri);
4383
- re([ne], () => $i);
4384
- re([ne, he], () => Di);
4385
- window.emWidgets = { topic: qr };
4386
- const dr = (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)), Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4387
- function go(e, t) {
4402
+ }, Gi = (e, t) => $i(t).format(e), Fi = (e, t) => Ri(t).format(e), ji = (e, t) => Ni(t).format(e), ki = (e, t = z()) => cr(e, t), Vi = ne([ie, ce], () => Ui);
4403
+ ne([ie], () => Gi);
4404
+ ne([ie], () => Fi);
4405
+ ne([ie], () => ji);
4406
+ ne([ie, ce], () => ki);
4407
+ window.emWidgets = { topic: nn };
4408
+ const gr = (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)), Xi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4409
+ function So(e, t) {
4388
4410
  const r = window.navigator.userAgent;
4389
- return dr(r) ? t = e.filter((n) => {
4411
+ return gr(r) ? t = e.filter((n) => {
4390
4412
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4391
4413
  return n;
4392
4414
  }) : t = e.filter((n) => {
@@ -4394,13 +4416,13 @@ function go(e, t) {
4394
4416
  return n;
4395
4417
  }), t;
4396
4418
  }
4397
- function Fi(e, t) {
4419
+ function Wi(e, t) {
4398
4420
  if (e) {
4399
4421
  const r = document.createElement("style");
4400
4422
  r.innerHTML = t, e.appendChild(r);
4401
4423
  }
4402
4424
  }
4403
- function ji(e, t) {
4425
+ function zi(e, t) {
4404
4426
  const r = new URL(t);
4405
4427
  fetch(r.href).then((n) => n.text()).then((n) => {
4406
4428
  const i = document.createElement("style");
@@ -4409,7 +4431,7 @@ function ji(e, t) {
4409
4431
  console.error("There was an error while trying to load client styling from URL", n);
4410
4432
  });
4411
4433
  }
4412
- function ki(e, t, r) {
4434
+ function Zi(e, t, r) {
4413
4435
  if (window.emMessageBus) {
4414
4436
  const n = document.createElement("style");
4415
4437
  window.emMessageBus.subscribe(t, (i) => {
@@ -4417,13 +4439,13 @@ function ki(e, t, r) {
4417
4439
  });
4418
4440
  }
4419
4441
  }
4420
- function St(e, t) {
4421
- ur(e, t);
4442
+ function Bt(e, t) {
4443
+ dr(e, t);
4422
4444
  }
4423
- function Vi(e) {
4424
- ne.set(e);
4445
+ function Qi(e) {
4446
+ ie.set(e);
4425
4447
  }
4426
- const wt = {
4448
+ const Pt = {
4427
4449
  en: {
4428
4450
  error: "500 Error - Internal Server Error"
4429
4451
  },
@@ -4455,7 +4477,7 @@ if (typeof window < "u") {
4455
4477
  }
4456
4478
  };
4457
4479
  };
4458
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-CcuM0Eaq.js").then(({ default: t }) => {
4480
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BRtEBxYn.js").then(({ default: t }) => {
4459
4481
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4460
4482
  });
4461
4483
  }
@@ -4471,70 +4493,70 @@ if (typeof window < "u") {
4471
4493
  }
4472
4494
  };
4473
4495
  };
4474
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DateMcJ_.js").then(({ default: t }) => {
4496
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-B4jvb1pM.js").then(({ default: t }) => {
4475
4497
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4476
4498
  });
4477
4499
  }
4478
- function Xi(e) {
4479
- gr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4500
+ function Ji(e) {
4501
+ wr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4480
4502
  }.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4481
4503
  }
4482
- function Tt(e, t, r) {
4504
+ function At(e, t, r) {
4483
4505
  const n = e.slice();
4484
- return n[25] = t[r], n[27] = r, n;
4506
+ return n[26] = t[r], n[28] = r, n;
4485
4507
  }
4486
- function Wi(e) {
4487
- let t, r, n, i = rt(
4508
+ function qi(e) {
4509
+ let t, r, n, i = st(
4488
4510
  /*calendarCollections*/
4489
4511
  e[6]
4490
4512
  ), o = [];
4491
4513
  for (let s = 0; s < i.length; s += 1)
4492
- o[s] = Ht(Tt(e, i, s));
4514
+ o[s] = Ot(At(e, i, s));
4493
4515
  let a = (
4494
4516
  /*calendarModalOpened*/
4495
- e[11] == !0 && Bt(e)
4517
+ e[11] == !0 && It(e)
4496
4518
  );
4497
4519
  return {
4498
4520
  c() {
4499
4521
  t = R("div");
4500
4522
  for (let s = 0; s < o.length; s += 1)
4501
4523
  o[s].c();
4502
- r = Sr(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4524
+ r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4503
4525
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4504
4526
  },
4505
4527
  m(s, l) {
4506
4528
  k(s, t, l);
4507
4529
  for (let u = 0; u < o.length; u += 1)
4508
4530
  o[u] && o[u].m(t, null);
4509
- xe(t, r), a && a.m(t, null);
4531
+ Se(t, r), a && a.m(t, null);
4510
4532
  },
4511
4533
  p(s, l) {
4512
4534
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4513
4535
  95) {
4514
- i = rt(
4536
+ i = st(
4515
4537
  /*calendarCollections*/
4516
4538
  s[6]
4517
4539
  );
4518
4540
  let u;
4519
4541
  for (u = 0; u < i.length; u += 1) {
4520
- const h = Tt(s, i, u);
4521
- o[u] ? o[u].p(h, l) : (o[u] = Ht(h), o[u].c(), o[u].m(t, r));
4542
+ const h = At(s, i, u);
4543
+ o[u] ? o[u].p(h, l) : (o[u] = Ot(h), o[u].c(), o[u].m(t, r));
4522
4544
  }
4523
4545
  for (; u < o.length; u += 1)
4524
4546
  o[u].d(1);
4525
4547
  o.length = i.length;
4526
4548
  }
4527
4549
  /*calendarModalOpened*/
4528
- s[11] == !0 ? a ? a.p(s, l) : (a = Bt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4550
+ s[11] == !0 ? a ? a.p(s, l) : (a = It(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4529
4551
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4530
4552
  (s[10] ? "Mobile" : "") + " svelte-61avp5") && j(t, "class", n);
4531
4553
  },
4532
4554
  d(s) {
4533
- s && D(t), Er(o, s), a && a.d();
4555
+ s && D(t), Br(o, s), a && a.d();
4534
4556
  }
4535
4557
  };
4536
4558
  }
4537
- function zi(e) {
4559
+ function Yi(e) {
4538
4560
  let t;
4539
4561
  return {
4540
4562
  c() {
@@ -4543,74 +4565,74 @@ function zi(e) {
4543
4565
  m(r, n) {
4544
4566
  k(r, t, n);
4545
4567
  },
4546
- p: P,
4568
+ p: B,
4547
4569
  d(r) {
4548
4570
  r && D(t);
4549
4571
  }
4550
4572
  };
4551
4573
  }
4552
- function Zi(e) {
4574
+ function Ki(e) {
4553
4575
  let t, r = (
4554
4576
  /*$_*/
4555
4577
  e[12]("error") + ""
4556
4578
  ), n;
4557
4579
  return {
4558
4580
  c() {
4559
- t = R("p"), n = qe(r), j(t, "class", "SearchLoading svelte-61avp5");
4581
+ t = R("p"), n = Ke(r), j(t, "class", "SearchLoading svelte-61avp5");
4560
4582
  },
4561
4583
  m(i, o) {
4562
- k(i, t, o), xe(t, n);
4584
+ k(i, t, o), Se(t, n);
4563
4585
  },
4564
4586
  p(i, o) {
4565
4587
  o & /*$_*/
4566
4588
  4096 && r !== (r = /*$_*/
4567
- i[12]("error") + "") && Tr(n, r);
4589
+ i[12]("error") + "") && Ir(n, r);
4568
4590
  },
4569
4591
  d(i) {
4570
4592
  i && D(t);
4571
4593
  }
4572
4594
  };
4573
4595
  }
4574
- function Ht(e) {
4596
+ function Ot(e) {
4575
4597
  let t, r, n, i, o, a;
4576
4598
  return {
4577
4599
  c() {
4578
- t = R("casino-calendar-daily-item"), p(t, "dailybackground", r = /*dailyCalendarData*/
4579
- e[25].dailyBackground), p(t, "dailyicon", n = /*dailyCalendarData*/
4580
- e[25].dailyIcon), p(t, "dailyday", i = /*dailyCalendarData*/
4581
- e[25].dailyDay), p(t, "dailydescription", o = /*dailyCalendarData*/
4582
- e[25].dailyDescription), p(t, "dailybuttontitle", a = /*dailyCalendarData*/
4583
- e[25].dailyButtonTitle), p(
4600
+ t = R("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4601
+ e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4602
+ e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4603
+ e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
4604
+ e[26].dailyDescription), d(t, "dailybuttontitle", a = /*dailyCalendarData*/
4605
+ e[26].dailyButtonTitle), d(
4584
4606
  t,
4585
4607
  "index",
4586
4608
  /*index*/
4587
- e[27]
4588
- ), p(
4609
+ e[28]
4610
+ ), d(
4589
4611
  t,
4590
4612
  "lang",
4591
4613
  /*lang*/
4592
4614
  e[0]
4593
- ), p(
4615
+ ), d(
4594
4616
  t,
4595
4617
  "clientstyling",
4596
4618
  /*clientstyling*/
4597
4619
  e[1]
4598
- ), p(
4620
+ ), d(
4599
4621
  t,
4600
4622
  "clientstylingurl",
4601
4623
  /*clientstylingurl*/
4602
4624
  e[2]
4603
- ), p(
4625
+ ), d(
4604
4626
  t,
4605
4627
  "mbsource",
4606
4628
  /*mbsource*/
4607
4629
  e[4]
4608
- ), p(
4630
+ ), d(
4609
4631
  t,
4610
4632
  "translationurl",
4611
4633
  /*translationurl*/
4612
4634
  e[3]
4613
- ), p(t, "class", "svelte-61avp5");
4635
+ ), d(t, "class", "svelte-61avp5");
4614
4636
  },
4615
4637
  m(s, l) {
4616
4638
  k(s, t, l);
@@ -4618,40 +4640,40 @@ function Ht(e) {
4618
4640
  p(s, l) {
4619
4641
  l & /*calendarCollections*/
4620
4642
  64 && r !== (r = /*dailyCalendarData*/
4621
- s[25].dailyBackground) && p(t, "dailybackground", r), l & /*calendarCollections*/
4643
+ s[26].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4622
4644
  64 && n !== (n = /*dailyCalendarData*/
4623
- s[25].dailyIcon) && p(t, "dailyicon", n), l & /*calendarCollections*/
4645
+ s[26].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4624
4646
  64 && i !== (i = /*dailyCalendarData*/
4625
- s[25].dailyDay) && p(t, "dailyday", i), l & /*calendarCollections*/
4647
+ s[26].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4626
4648
  64 && o !== (o = /*dailyCalendarData*/
4627
- s[25].dailyDescription) && p(t, "dailydescription", o), l & /*calendarCollections*/
4649
+ s[26].dailyDescription) && d(t, "dailydescription", o), l & /*calendarCollections*/
4628
4650
  64 && a !== (a = /*dailyCalendarData*/
4629
- s[25].dailyButtonTitle) && p(t, "dailybuttontitle", a), l & /*lang*/
4630
- 1 && p(
4651
+ s[26].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
4652
+ 1 && d(
4631
4653
  t,
4632
4654
  "lang",
4633
4655
  /*lang*/
4634
4656
  s[0]
4635
4657
  ), l & /*clientstyling*/
4636
- 2 && p(
4658
+ 2 && d(
4637
4659
  t,
4638
4660
  "clientstyling",
4639
4661
  /*clientstyling*/
4640
4662
  s[1]
4641
4663
  ), l & /*clientstylingurl*/
4642
- 4 && p(
4664
+ 4 && d(
4643
4665
  t,
4644
4666
  "clientstylingurl",
4645
4667
  /*clientstylingurl*/
4646
4668
  s[2]
4647
4669
  ), l & /*mbsource*/
4648
- 16 && p(
4670
+ 16 && d(
4649
4671
  t,
4650
4672
  "mbsource",
4651
4673
  /*mbsource*/
4652
4674
  s[4]
4653
4675
  ), l & /*translationurl*/
4654
- 8 && p(
4676
+ 8 && d(
4655
4677
  t,
4656
4678
  "translationurl",
4657
4679
  /*translationurl*/
@@ -4663,63 +4685,63 @@ function Ht(e) {
4663
4685
  }
4664
4686
  };
4665
4687
  }
4666
- function Bt(e) {
4688
+ function It(e) {
4667
4689
  let t, r, n, i, o, a, s, l;
4668
4690
  return {
4669
4691
  c() {
4670
- t = R("div"), r = R("casino-calendar-daily-details"), p(r, "dailybackground", n = /*calendarCollections*/
4692
+ t = R("div"), r = R("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4671
4693
  e[6][
4672
4694
  /*selectedIndex*/
4673
4695
  e[7]
4674
- ].dailyBackground), p(r, "dailybuttontitle", i = /*calendarCollections*/
4696
+ ].dailyBackground), d(r, "dailybuttontitle", i = /*calendarCollections*/
4675
4697
  e[6][
4676
4698
  /*selectedIndex*/
4677
4699
  e[7]
4678
- ].dailyButtonTitle), p(r, "dailyday", o = /*calendarCollections*/
4700
+ ].dailyButtonTitle), d(r, "dailyday", o = /*calendarCollections*/
4679
4701
  e[6][
4680
4702
  /*selectedIndex*/
4681
4703
  e[7]
4682
- ].dailyDay), p(r, "dailydescription", a = /*calendarCollections*/
4704
+ ].dailyDay), d(r, "dailydescription", a = /*calendarCollections*/
4683
4705
  e[6][
4684
4706
  /*selectedIndex*/
4685
4707
  e[7]
4686
- ].dailyDescription), p(r, "dailyicon", s = /*calendarCollections*/
4708
+ ].dailyDescription), d(r, "dailyicon", s = /*calendarCollections*/
4687
4709
  e[6][
4688
4710
  /*selectedIndex*/
4689
4711
  e[7]
4690
- ].dailyIcon), p(r, "dailytitle", l = /*calendarCollections*/
4712
+ ].dailyIcon), d(r, "dailytitle", l = /*calendarCollections*/
4691
4713
  e[6][
4692
4714
  /*selectedIndex*/
4693
4715
  e[7]
4694
- ].dailyTitle), p(
4716
+ ].dailyTitle), d(
4695
4717
  r,
4696
4718
  "lang",
4697
4719
  /*lang*/
4698
4720
  e[0]
4699
- ), p(
4721
+ ), d(
4700
4722
  r,
4701
4723
  "clientstyling",
4702
4724
  /*clientstyling*/
4703
4725
  e[1]
4704
- ), p(
4726
+ ), d(
4705
4727
  r,
4706
4728
  "clientstylingurl",
4707
4729
  /*clientstylingurl*/
4708
4730
  e[2]
4709
- ), p(
4731
+ ), d(
4710
4732
  r,
4711
4733
  "mbsource",
4712
4734
  /*mbsource*/
4713
4735
  e[4]
4714
- ), p(
4736
+ ), d(
4715
4737
  r,
4716
4738
  "translationurl",
4717
4739
  /*translationurl*/
4718
4740
  e[3]
4719
- ), p(r, "class", "svelte-61avp5"), j(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4741
+ ), d(r, "class", "svelte-61avp5"), j(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4720
4742
  },
4721
4743
  m(u, h) {
4722
- k(u, t, h), xe(t, r);
4744
+ k(u, t, h), Se(t, r);
4723
4745
  },
4724
4746
  p(u, h) {
4725
4747
  h & /*calendarCollections, selectedIndex*/
@@ -4727,57 +4749,57 @@ function Bt(e) {
4727
4749
  u[6][
4728
4750
  /*selectedIndex*/
4729
4751
  u[7]
4730
- ].dailyBackground) && p(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4752
+ ].dailyBackground) && d(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4731
4753
  192 && i !== (i = /*calendarCollections*/
4732
4754
  u[6][
4733
4755
  /*selectedIndex*/
4734
4756
  u[7]
4735
- ].dailyButtonTitle) && p(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4757
+ ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4736
4758
  192 && o !== (o = /*calendarCollections*/
4737
4759
  u[6][
4738
4760
  /*selectedIndex*/
4739
4761
  u[7]
4740
- ].dailyDay) && p(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4762
+ ].dailyDay) && d(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4741
4763
  192 && a !== (a = /*calendarCollections*/
4742
4764
  u[6][
4743
4765
  /*selectedIndex*/
4744
4766
  u[7]
4745
- ].dailyDescription) && p(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4767
+ ].dailyDescription) && d(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4746
4768
  192 && s !== (s = /*calendarCollections*/
4747
4769
  u[6][
4748
4770
  /*selectedIndex*/
4749
4771
  u[7]
4750
- ].dailyIcon) && p(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4772
+ ].dailyIcon) && d(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4751
4773
  192 && l !== (l = /*calendarCollections*/
4752
4774
  u[6][
4753
4775
  /*selectedIndex*/
4754
4776
  u[7]
4755
- ].dailyTitle) && p(r, "dailytitle", l), h & /*lang*/
4756
- 1 && p(
4777
+ ].dailyTitle) && d(r, "dailytitle", l), h & /*lang*/
4778
+ 1 && d(
4757
4779
  r,
4758
4780
  "lang",
4759
4781
  /*lang*/
4760
4782
  u[0]
4761
4783
  ), h & /*clientstyling*/
4762
- 2 && p(
4784
+ 2 && d(
4763
4785
  r,
4764
4786
  "clientstyling",
4765
4787
  /*clientstyling*/
4766
4788
  u[1]
4767
4789
  ), h & /*clientstylingurl*/
4768
- 4 && p(
4790
+ 4 && d(
4769
4791
  r,
4770
4792
  "clientstylingurl",
4771
4793
  /*clientstylingurl*/
4772
4794
  u[2]
4773
4795
  ), h & /*mbsource*/
4774
- 16 && p(
4796
+ 16 && d(
4775
4797
  r,
4776
4798
  "mbsource",
4777
4799
  /*mbsource*/
4778
4800
  u[4]
4779
4801
  ), h & /*translationurl*/
4780
- 8 && p(
4802
+ 8 && d(
4781
4803
  r,
4782
4804
  "translationurl",
4783
4805
  /*translationurl*/
@@ -4789,24 +4811,24 @@ function Bt(e) {
4789
4811
  }
4790
4812
  };
4791
4813
  }
4792
- function Qi(e) {
4814
+ function eo(e) {
4793
4815
  let t;
4794
4816
  function r(o, a) {
4795
4817
  if (
4796
4818
  /*hasErrors*/
4797
4819
  o[9]
4798
4820
  )
4799
- return Zi;
4821
+ return Ki;
4800
4822
  if (
4801
4823
  /*isLoading*/
4802
4824
  o[8]
4803
4825
  )
4804
- return zi;
4826
+ return Yi;
4805
4827
  if (
4806
4828
  /*calendarCollections*/
4807
4829
  o[6]?.length
4808
4830
  )
4809
- return Wi;
4831
+ return qi;
4810
4832
  }
4811
4833
  let n = r(e), i = n && n(e);
4812
4834
  return {
@@ -4819,49 +4841,52 @@ function Qi(e) {
4819
4841
  p(o, [a]) {
4820
4842
  n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4821
4843
  },
4822
- i: P,
4823
- o: P,
4844
+ i: B,
4845
+ o: B,
4824
4846
  d(o) {
4825
4847
  o && D(t), i && i.d(), e[16](null);
4826
4848
  }
4827
4849
  };
4828
4850
  }
4829
- function Ji(e, t, r) {
4851
+ function to(e, t, r) {
4830
4852
  let n;
4831
- yr(e, Ui, (d) => r(12, n = d));
4832
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, A = !1, H = window.navigator.userAgent, w = !1;
4833
- const L = () => {
4834
- Vi(s);
4853
+ Sr(e, Vi, (p) => r(12, n = p));
4854
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, P = !1, H = window.navigator.userAgent, w = !1, L;
4855
+ const A = () => {
4856
+ Qi(s);
4835
4857
  };
4836
- Object.keys(wt).forEach((d) => {
4837
- St(d, wt[d]);
4858
+ Object.keys(Pt).forEach((p) => {
4859
+ Bt(p, Pt[p]);
4838
4860
  });
4839
- const O = () => {
4840
- let d = h;
4841
- if (d)
4842
- return fetch(d).then((C) => C.json()).then((C) => {
4861
+ const M = () => {
4862
+ let p = h;
4863
+ if (p)
4864
+ return fetch(p).then((C) => C.json()).then((C) => {
4843
4865
  Object.keys(C).forEach((G) => {
4844
- St(G, C[G]);
4866
+ Bt(G, C[G]);
4845
4867
  });
4846
4868
  }).catch((C) => {
4847
4869
  console.log(C);
4848
4870
  });
4849
- }, N = () => {
4871
+ }, x = () => {
4850
4872
  r(8, g = !0);
4851
- let d = new URL(`${i}/${s}/daily-calendar`);
4852
- d.searchParams.append("userRoles", a), d.searchParams.append("env", o);
4853
- let C = Gi(H);
4854
- C && (C === "PC" ? d.searchParams.append("device", "dk") : C === "iPad" || C === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((G) => G.json()).then((G) => {
4873
+ let p = new URL(`${i}/${s}/daily-calendar`);
4874
+ p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4875
+ let C = Xi(H);
4876
+ C && (C === "PC" ? p.searchParams.append("device", "dk") : C === "iPad" || C === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
4855
4877
  r(6, m = G);
4856
4878
  }).catch((G) => {
4857
4879
  console.log(G), r(9, S = !0);
4858
4880
  }).finally(() => {
4859
- r(8, g = !1);
4881
+ O(), r(8, g = !1);
4860
4882
  });
4861
- }, x = () => {
4862
- N();
4863
- }, B = (d) => {
4864
- d.data && d.data.type == "OpenCalendar" && (r(7, b = d.data.index), r(11, w = !0), window.postMessage(
4883
+ }, O = () => {
4884
+ const p = c.getRootNode().host;
4885
+ p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4886
+ }, I = () => {
4887
+ x();
4888
+ }, V = (p) => {
4889
+ p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
4865
4890
  {
4866
4891
  type: "ShowModal",
4867
4892
  selectedIndex: b,
@@ -4871,26 +4896,26 @@ function Ji(e, t, r) {
4871
4896
  ), window.postMessage({
4872
4897
  type: "DailyEventsData",
4873
4898
  data: m[b]?.dailyEvents
4874
- })), d.data && d.data.type == "ModalClosed" && r(11, w = !1);
4899
+ })), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
4875
4900
  };
4876
- Br(() => (window.addEventListener("message", B, !1), dr(H) && r(10, A = !0), () => {
4877
- window.removeEventListener("message", B);
4901
+ Lr(() => (window.addEventListener("message", V, !1), gr(H) && r(10, P = !0), () => {
4902
+ window.emMessageBus && L && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", V);
4878
4903
  }));
4879
- function I(d) {
4880
- Me[d ? "unshift" : "push"](() => {
4881
- c = d, r(5, c);
4904
+ function _r(p) {
4905
+ $e[p ? "unshift" : "push"](() => {
4906
+ c = p, r(5, c);
4882
4907
  });
4883
4908
  }
4884
- return e.$$set = (d) => {
4885
- "cmsendpoint" in d && r(13, i = d.cmsendpoint), "env" in d && r(14, o = d.env), "userroles" in d && r(15, a = d.userroles), "lang" in d && r(0, s = 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), "mbsource" in d && r(4, f = d.mbsource);
4909
+ return e.$$set = (p) => {
4910
+ "cmsendpoint" in p && r(13, i = p.cmsendpoint), "env" in p && r(14, o = p.env), "userroles" in p && r(15, a = p.userroles), "lang" in p && r(0, s = p.lang), "clientstyling" in p && r(1, l = p.clientstyling), "clientstylingurl" in p && r(2, u = p.clientstylingurl), "translationurl" in p && r(3, h = p.translationurl), "mbsource" in p && r(4, f = p.mbsource);
4886
4911
  }, e.$$.update = () => {
4887
4912
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4888
- 57345 && i && s && o && a && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4889
- 34 && l && c && Fi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4890
- 36 && u && c && ji(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4891
- 48 && c && ki(c, `${f}.Style`), e.$$.dirty & /*lang*/
4892
- 1 && s && L(), e.$$.dirty & /*lang, translationurl*/
4893
- 9 && s && h && O();
4913
+ 57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4914
+ 34 && l && c && Wi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4915
+ 36 && u && c && zi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4916
+ 48 && c && Zi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4917
+ 1 && s && A(), e.$$.dirty & /*lang, translationurl*/
4918
+ 9 && s && h && M();
4894
4919
  }, [
4895
4920
  s,
4896
4921
  l,
@@ -4902,23 +4927,23 @@ function Ji(e, t, r) {
4902
4927
  b,
4903
4928
  g,
4904
4929
  S,
4905
- A,
4930
+ P,
4906
4931
  w,
4907
4932
  n,
4908
4933
  i,
4909
4934
  o,
4910
4935
  a,
4911
- I
4936
+ _r
4912
4937
  ];
4913
4938
  }
4914
- class pr extends Mr {
4939
+ class vr extends Fr {
4915
4940
  constructor(t) {
4916
- super(), Lr(
4941
+ super(), Ur(
4917
4942
  this,
4918
4943
  t,
4919
- Ji,
4920
- Qi,
4921
- At,
4944
+ to,
4945
+ eo,
4946
+ Lt,
4922
4947
  {
4923
4948
  cmsendpoint: 13,
4924
4949
  env: 14,
@@ -4929,118 +4954,118 @@ class pr extends Mr {
4929
4954
  translationurl: 3,
4930
4955
  mbsource: 4
4931
4956
  },
4932
- Xi
4957
+ Ji
4933
4958
  );
4934
4959
  }
4935
4960
  get cmsendpoint() {
4936
4961
  return this.$$.ctx[13];
4937
4962
  }
4938
4963
  set cmsendpoint(t) {
4939
- this.$$set({ cmsendpoint: t }), M();
4964
+ this.$$set({ cmsendpoint: t }), N();
4940
4965
  }
4941
4966
  get env() {
4942
4967
  return this.$$.ctx[14];
4943
4968
  }
4944
4969
  set env(t) {
4945
- this.$$set({ env: t }), M();
4970
+ this.$$set({ env: t }), N();
4946
4971
  }
4947
4972
  get userroles() {
4948
4973
  return this.$$.ctx[15];
4949
4974
  }
4950
4975
  set userroles(t) {
4951
- this.$$set({ userroles: t }), M();
4976
+ this.$$set({ userroles: t }), N();
4952
4977
  }
4953
4978
  get lang() {
4954
4979
  return this.$$.ctx[0];
4955
4980
  }
4956
4981
  set lang(t) {
4957
- this.$$set({ lang: t }), M();
4982
+ this.$$set({ lang: t }), N();
4958
4983
  }
4959
4984
  get clientstyling() {
4960
4985
  return this.$$.ctx[1];
4961
4986
  }
4962
4987
  set clientstyling(t) {
4963
- this.$$set({ clientstyling: t }), M();
4988
+ this.$$set({ clientstyling: t }), N();
4964
4989
  }
4965
4990
  get clientstylingurl() {
4966
4991
  return this.$$.ctx[2];
4967
4992
  }
4968
4993
  set clientstylingurl(t) {
4969
- this.$$set({ clientstylingurl: t }), M();
4994
+ this.$$set({ clientstylingurl: t }), N();
4970
4995
  }
4971
4996
  get translationurl() {
4972
4997
  return this.$$.ctx[3];
4973
4998
  }
4974
4999
  set translationurl(t) {
4975
- this.$$set({ translationurl: t }), M();
5000
+ this.$$set({ translationurl: t }), N();
4976
5001
  }
4977
5002
  get mbsource() {
4978
5003
  return this.$$.ctx[4];
4979
5004
  }
4980
5005
  set mbsource(t) {
4981
- this.$$set({ mbsource: t }), M();
5006
+ this.$$set({ mbsource: t }), N();
4982
5007
  }
4983
5008
  }
4984
- Nr(pr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4985
- const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5009
+ Gr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5010
+ const wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4986
5011
  __proto__: null,
4987
- default: pr
5012
+ default: vr
4988
5013
  }, Symbol.toStringTag, { value: "Module" }));
4989
5014
  export {
4990
- ne as $,
4991
- io as A,
4992
- Sr as B,
4993
- Me as C,
4994
- qi as D,
4995
- xr as E,
4996
- no as F,
4997
- ao as G,
4998
- lo as H,
4999
- Fi as I,
5000
- ji as J,
5001
- ki as K,
5002
- Nr as L,
5003
- Ui as M,
5004
- X as N,
5005
- oo as O,
5006
- he as P,
5007
- p as Q,
5008
- Gi as R,
5009
- Mr as S,
5010
- so as T,
5011
- uo as U,
5012
- co as V,
5013
- go as W,
5014
- yo as X,
5015
- bo as Y,
5016
- ho as Z,
5017
- ro as _,
5018
- ur as a,
5019
- Ee as a0,
5020
- vo as a1,
5021
- gr as b,
5022
- Mt as c,
5023
- D as d,
5024
- po as e,
5025
- M as f,
5026
- fo as g,
5027
- k as h,
5028
- Lr as i,
5029
- R as j,
5030
- yr as k,
5031
- dr as l,
5032
- Tr as m,
5033
- P as n,
5034
- Br as o,
5035
- xe as p,
5036
- qe as q,
5037
- j as r,
5038
- At as s,
5039
- mo as t,
5040
- Yi as u,
5041
- rt as v,
5042
- Er as w,
5043
- eo as x,
5044
- to as y,
5045
- Ki as z
5015
+ ie as $,
5016
+ lo as A,
5017
+ oo as B,
5018
+ so as C,
5019
+ io as D,
5020
+ Ir as E,
5021
+ Br as F,
5022
+ B as G,
5023
+ ro as H,
5024
+ Vi as I,
5025
+ Pr as J,
5026
+ uo as K,
5027
+ fo as L,
5028
+ mo as M,
5029
+ W as N,
5030
+ ho as O,
5031
+ ce as P,
5032
+ d as Q,
5033
+ Xi as R,
5034
+ Fr as S,
5035
+ co as T,
5036
+ po as U,
5037
+ ao as V,
5038
+ yo as W,
5039
+ So as X,
5040
+ xo as Y,
5041
+ Eo as Z,
5042
+ bo as _,
5043
+ dr as a,
5044
+ xe as a0,
5045
+ wo as a1,
5046
+ wr as b,
5047
+ Gr as c,
5048
+ k as d,
5049
+ R as e,
5050
+ N as f,
5051
+ vo as g,
5052
+ Ut as h,
5053
+ Ur as i,
5054
+ D as j,
5055
+ Sr as k,
5056
+ zi as l,
5057
+ Zi as m,
5058
+ go as n,
5059
+ Lr as o,
5060
+ gr as p,
5061
+ $e as q,
5062
+ Wi as r,
5063
+ Lt as s,
5064
+ _o as t,
5065
+ no as u,
5066
+ st as v,
5067
+ Ar as w,
5068
+ Ke as x,
5069
+ j as y,
5070
+ Se as z
5046
5071
  };