@everymatrix/casino-page-nd 1.54.12 → 1.55.0

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