@everymatrix/casino-page-nd 1.87.26 → 1.87.27

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 (150) hide show
  1. package/components/CasinoCalendar-4gqh3tjm.js +544 -0
  2. package/components/CasinoCalendar-D-jt46wW.js +542 -0
  3. package/components/CasinoCalendar-ynlHjTfj.cjs +2 -0
  4. package/components/{CasinoCalendarDailyDetails-B9Svmn08.js → CasinoCalendarDailyDetails-BgcvH9nK.js} +91 -91
  5. package/components/{CasinoCalendarDailyDetails-BzANjMYK.js → CasinoCalendarDailyDetails-Cbe8pC7J.js} +104 -104
  6. package/components/CasinoCalendarDailyDetails-DuVZISBD.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-Ddwevbwg.js → CasinoCalendarDailyItem-COIhg8yV.js} +118 -118
  8. package/components/CasinoCalendarDailyItem-XIp0Lg7p.cjs +1 -0
  9. package/components/{CasinoCalendarDailyItem-Csh2ZNEb.js → CasinoCalendarDailyItem-fVTVyUL4.js} +115 -115
  10. package/components/{CasinoCollectionsProviders-Bz4Qwgcy.js → CasinoCollectionsProviders-BEPYwCWn.js} +99 -99
  11. package/components/{CasinoCollectionsProviders-B-rxzUHS.js → CasinoCollectionsProviders-DhMmNofL.js} +89 -89
  12. package/components/CasinoCollectionsProviders-re4bKhyh.cjs +1 -0
  13. package/components/CasinoFavoritesSectionNd-BYye_OqX.cjs +1 -0
  14. package/components/{CasinoFavoritesSectionNd-OgOa7MBa.js → CasinoFavoritesSectionNd-DIChCUWH.js} +43 -43
  15. package/components/{CasinoFavoritesSectionNd-Doh425U1.js → CasinoFavoritesSectionNd-DehWpE4C.js} +29 -29
  16. package/components/{CasinoFilter-F9z7t5pe.js → CasinoFilter-BBPXUROy.js} +248 -247
  17. package/components/CasinoFilter-hJQjaIWk.cjs +1 -0
  18. package/components/{CasinoFilter-BOPSPGn4.js → CasinoFilter-vZxw-pSX.js} +226 -227
  19. package/components/CasinoGameThumbnailNd-BrnCxDF0.js +1841 -0
  20. package/components/CasinoGameThumbnailNd-BvM0R6oS.cjs +30 -0
  21. package/components/CasinoGameThumbnailNd-CBW5XULX.js +1825 -0
  22. package/components/CasinoGamesCategorySectionNd-CZEde4tc.js +4569 -0
  23. package/components/CasinoGamesCategorySectionNd-DBlWbwZr.cjs +1 -0
  24. package/components/CasinoGamesCategorySectionNd-Dzj5UiL6.js +4602 -0
  25. package/components/{CasinoJackpotBanner-Djh5d5I0.js → CasinoJackpotBanner-CMoIV2Qg.js} +148 -148
  26. package/components/{CasinoJackpotBanner-D-liS_Me.js → CasinoJackpotBanner-D0X5L0Fz.js} +148 -148
  27. package/components/CasinoJackpotBanner-D48QAlyM.cjs +1 -0
  28. package/components/CasinoLastPlayedSectionNd-Dbai7XXg.cjs +1 -0
  29. package/components/{CasinoLastPlayedSectionNd-CDt_OWWF.js → CasinoLastPlayedSectionNd-Hz1MGr2w.js} +67 -68
  30. package/components/{CasinoLastPlayedSectionNd-DNewZ65k.js → CasinoLastPlayedSectionNd-Nm8QJSvi.js} +68 -69
  31. package/components/{CasinoMostPlayedSectionNd-CqVf2pf-.js → CasinoMostPlayedSectionNd-C2TOAcIX.js} +81 -82
  32. package/components/{CasinoMostPlayedSectionNd-BPJRi-mx.js → CasinoMostPlayedSectionNd-D78ro-LI.js} +90 -91
  33. package/components/CasinoMostPlayedSectionNd-DIPIP9gt.cjs +1 -0
  34. package/components/CasinoMyGamesNd-B1sfMK3_.cjs +1 -0
  35. package/components/{CasinoMyGamesNd-PlQpeD0V.js → CasinoMyGamesNd-Bb9JdqMU.js} +186 -187
  36. package/components/{CasinoMyGamesNd-4iJsQUyK.js → CasinoMyGamesNd-CZlSlxbH.js} +187 -188
  37. package/components/CasinoPageNd-CcSCHl8E.js +8898 -0
  38. package/components/CasinoPageNd-DF8VWpzm.cjs +18 -0
  39. package/components/CasinoPageNd-V8GTyc-d.js +8943 -0
  40. package/components/{CasinoRandomGame-BqY01xC4.js → CasinoRandomGame-Bu7BMO6x.js} +119 -119
  41. package/components/{CasinoRandomGame-OSVl6dyi.js → CasinoRandomGame-DNDiY5mi.js} +118 -118
  42. package/components/CasinoRandomGame-r6IDCjxz.cjs +2 -0
  43. package/components/{CasinoSearchNd-CxPW28Eu.js → CasinoSearchNd--A3r1bol.js} +137 -137
  44. package/components/{CasinoSearchNd-2oH02fm7.js → CasinoSearchNd-C-c2kfaz.js} +116 -116
  45. package/components/CasinoSearchNd-tkeQa-4D.cjs +1 -0
  46. package/components/{CasinoSort-gHx_6Htf.js → CasinoSort-BsnJnnBd.js} +105 -104
  47. package/components/CasinoSort-C5B5VrQK.cjs +1 -0
  48. package/components/{CasinoSort-ChNfSlPO.js → CasinoSort-DTg6GMDm.js} +106 -107
  49. package/components/{CasinoWinners-CQd0AWVY.js → CasinoWinners-9UUZl0zW.js} +88 -89
  50. package/components/{CasinoWinners-CJLTqoB5.js → CasinoWinners-HHekahwS.js} +86 -87
  51. package/components/CasinoWinners-l7SjMLq0.cjs +1 -0
  52. package/components/{GeneralAnimationLoading-khf0HKjf.js → GeneralAnimationLoading-BpIMzIUb.js} +23 -23
  53. package/components/GeneralAnimationLoading-BrpKZCf6.cjs +1 -0
  54. package/components/{GeneralAnimationLoading-DrJIjWen.js → GeneralAnimationLoading-DoHKm0vp.js} +22 -22
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +7 -7
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/casino-calendar-BQRTF7DC.js +16 -0
  59. package/lazy/casino-calendar-DB45ET5Y.js +16 -0
  60. package/lazy/{casino-calendar-daily-details-Bs78gyMV.js → casino-calendar-daily-details-B3jG_5mi.js} +1 -1
  61. package/lazy/{casino-calendar-daily-details-DgAlT_Jk.cjs → casino-calendar-daily-details-CKXIPC61.cjs} +1 -1
  62. package/lazy/{casino-calendar-daily-details-DbdU0n9_.js → casino-calendar-daily-details-fOo4pKjF.js} +1 -1
  63. package/lazy/{casino-calendar-daily-item-UAvUvm5x.cjs → casino-calendar-daily-item-B8FmTb3F.cjs} +1 -1
  64. package/lazy/{casino-calendar-daily-item-BZGfz8IW.js → casino-calendar-daily-item-DmJBggBQ.js} +1 -1
  65. package/lazy/{casino-calendar-daily-item-BzQVDuqP.js → casino-calendar-daily-item-yhApzywX.js} +1 -1
  66. package/lazy/casino-calendar-rFYhy_Rl.cjs +1 -0
  67. package/lazy/{casino-collections-providers-__jGk8Bi.js → casino-collections-providers-BlhsWNQs.js} +1 -1
  68. package/lazy/{casino-collections-providers-DEpXDWUW.cjs → casino-collections-providers-CQ-LhgQh.cjs} +1 -1
  69. package/lazy/{casino-collections-providers-DHPnDwqI.js → casino-collections-providers-Dzem7JVX.js} +1 -1
  70. package/lazy/{casino-favorites-section-nd-DTHR_WoG.js → casino-favorites-section-nd-DDvn91GT.js} +1 -1
  71. package/lazy/{casino-favorites-section-nd-C6rFw4hJ.js → casino-favorites-section-nd-DoV8dzTW.js} +1 -1
  72. package/lazy/{casino-favorites-section-nd--WmlZh9C.cjs → casino-favorites-section-nd-HqHu0HXh.cjs} +1 -1
  73. package/lazy/{casino-filter-D_OJZ711.cjs → casino-filter-Bg9zWxnh.cjs} +1 -1
  74. package/lazy/{casino-filter-sujGI1Sw.js → casino-filter-DWdpcqGK.js} +1 -1
  75. package/lazy/{casino-filter-947plBW0.js → casino-filter-DZSIuJ8Z.js} +1 -1
  76. package/lazy/casino-game-thumbnail-nd-B4bWjPVs.js +16 -0
  77. package/lazy/casino-game-thumbnail-nd-BKZQlZH2.cjs +1 -0
  78. package/lazy/casino-game-thumbnail-nd-CLvJa_O7.js +16 -0
  79. package/lazy/{casino-calendar-W25gPujL.js → casino-games-category-section-nd-Chv9dRqL.js} +2 -2
  80. package/lazy/{casino-calendar-BQ3kWu0l.js → casino-games-category-section-nd-DTurm4m5.js} +2 -2
  81. package/lazy/{casino-calendar-C-GiLu3p.cjs → casino-games-category-section-nd-avQYtfSL.cjs} +1 -1
  82. package/lazy/{casino-jackpot-banner-C6PN_r6L.js → casino-jackpot-banner-DK2dZVQ4.js} +1 -1
  83. package/lazy/{casino-jackpot-banner-aWzFMQtT.cjs → casino-jackpot-banner-Dgw_f8Kx.cjs} +1 -1
  84. package/lazy/{casino-jackpot-banner-CUQV4cSc.js → casino-jackpot-banner-sjsSpjbL.js} +1 -1
  85. package/lazy/{casino-last-played-section-nd-BPs_q57i.js → casino-last-played-section-nd-B8RCGi5D.js} +1 -1
  86. package/lazy/{casino-last-played-section-nd-Z1Eqkg-W.js → casino-last-played-section-nd-BzPSdKqZ.js} +1 -1
  87. package/lazy/{casino-last-played-section-nd-DrB-yi_x.cjs → casino-last-played-section-nd-DMzSMctM.cjs} +1 -1
  88. package/lazy/{casino-most-played-section-nd-vNEsmYNv.js → casino-most-played-section-nd-BW_W-IY8.js} +1 -1
  89. package/lazy/{casino-most-played-section-nd-CsO2-tH-.cjs → casino-most-played-section-nd-DxVaDgWi.cjs} +1 -1
  90. package/lazy/{casino-most-played-section-nd-UW_M18NT.js → casino-most-played-section-nd-MVRS6dcI.js} +1 -1
  91. package/lazy/{casino-my-games-nd-wnfXxA4K.js → casino-my-games-nd-BOMVCSi5.js} +1 -1
  92. package/lazy/{casino-my-games-nd-BgkBJ625.cjs → casino-my-games-nd-G5Q2qOzF.cjs} +1 -1
  93. package/lazy/{casino-my-games-nd-DsN_8Hh5.js → casino-my-games-nd-_lXUBvel.js} +1 -1
  94. package/lazy/{casino-play-random-game-DtfZNoGc.js → casino-play-random-game-BWZurtgT.js} +1 -1
  95. package/lazy/{casino-play-random-game-BwP_PyGn.js → casino-play-random-game-CFCxse5b.js} +1 -1
  96. package/lazy/{casino-play-random-game-B_ZqJC9O.cjs → casino-play-random-game-pwqgQVLV.cjs} +1 -1
  97. package/lazy/{casino-random-game-C8MfHXaa.js → casino-random-game-BEz7yTkT.js} +1 -1
  98. package/lazy/{casino-random-game-DFRc-OVf.js → casino-random-game-BcGWBzT2.js} +1 -1
  99. package/lazy/{casino-random-game-eOSEDGdT.cjs → casino-random-game-hBRg0fFp.cjs} +1 -1
  100. package/lazy/{casino-search-nd-DK7NClj7.js → casino-search-nd-BREKygXT.js} +1 -1
  101. package/lazy/{casino-search-nd-0h3RFpG5.js → casino-search-nd-W95Lk6BP.js} +1 -1
  102. package/lazy/{casino-search-nd-B4IMeGRL.cjs → casino-search-nd-a6cCkhdf.cjs} +1 -1
  103. package/lazy/{casino-sort-DnvZL0xh.cjs → casino-sort-CIdKBJtJ.cjs} +1 -1
  104. package/lazy/{casino-sort-DHWqDjlb.js → casino-sort-Co9nWF48.js} +1 -1
  105. package/lazy/{casino-sort-DCo8rI3E.js → casino-sort-DRc59Y-x.js} +1 -1
  106. package/lazy/{casino-winners-CNIy3lxn.js → casino-winners-Bs8a8MNm.js} +1 -1
  107. package/lazy/{casino-winners-D-kl8Pt9.cjs → casino-winners-DCjacxAF.cjs} +1 -1
  108. package/lazy/{casino-winners-wudr0jE1.js → casino-winners-DuIhnL7J.js} +1 -1
  109. package/lazy/{general-animation-loading-BEnsNW2g.js → general-animation-loading-BCRRr9R1.js} +1 -1
  110. package/lazy/{general-animation-loading-D03DfjDc.cjs → general-animation-loading-BN__VtW2.cjs} +1 -1
  111. package/lazy/{general-animation-loading-B3lvSOkP.js → general-animation-loading-BsaF5Ej3.js} +1 -1
  112. package/package.json +1 -1
  113. package/stencil/{casino-play-random-game-lwEwVdAM.js → casino-play-random-game-BOPRTiwD.js} +2 -2
  114. package/stencil/{casino-play-random-game-DyQoGWi6.cjs → casino-play-random-game-CoPqwq78.cjs} +1 -1
  115. package/stencil/{casino-play-random-game-ViBhO659.js → casino-play-random-game-yO-x2QjR.js} +2 -2
  116. package/stencil/{casino-play-random-game_2-CDiEK5Rt.js → casino-play-random-game_2-BxaCgNIB.js} +92 -64
  117. package/stencil/{casino-play-random-game_2-C4f-74R0.js → casino-play-random-game_2-CIEKYYQF.js} +91 -64
  118. package/stencil/{casino-play-random-game_2-C64foLSL.cjs → casino-play-random-game_2-DXgBuAeq.cjs} +3 -3
  119. package/components/CasinoCalendar-BELrT2lA.js +0 -5071
  120. package/components/CasinoCalendar-BpwU4Nrb.js +0 -5110
  121. package/components/CasinoCalendar-DrrajltR.cjs +0 -19
  122. package/components/CasinoCalendarDailyDetails-lmz3Ug1c.cjs +0 -1
  123. package/components/CasinoCalendarDailyItem-DmRnSMf5.cjs +0 -1
  124. package/components/CasinoCollectionsProviders-C5rH3HrT.cjs +0 -1
  125. package/components/CasinoFavoritesSectionNd-BELSdOTJ.cjs +0 -1
  126. package/components/CasinoFilter-BkWQ4KgW.cjs +0 -1
  127. package/components/CasinoGameThumbnailNd-BR1mn9ZI.js +0 -3121
  128. package/components/CasinoGameThumbnailNd-CuVwgwvD.js +0 -3105
  129. package/components/CasinoGameThumbnailNd-DTU6nSKd.cjs +0 -30
  130. package/components/CasinoGamesCategorySectionNd-BdsjIQ7s.cjs +0 -1
  131. package/components/CasinoGamesCategorySectionNd-K7o3qVk7.js +0 -3292
  132. package/components/CasinoGamesCategorySectionNd-hFAHZgTC.js +0 -3325
  133. package/components/CasinoJackpotBanner-DKGuifD8.cjs +0 -1
  134. package/components/CasinoLastPlayedSectionNd-BnKRy68b.cjs +0 -1
  135. package/components/CasinoMostPlayedSectionNd-6Hm3k1kM.cjs +0 -1
  136. package/components/CasinoMyGamesNd-y1vPuFt-.cjs +0 -1
  137. package/components/CasinoPageNd-BBi0HzpA.js +0 -4364
  138. package/components/CasinoPageNd-D5mGix6W.cjs +0 -1
  139. package/components/CasinoPageNd-DSKsK40E.js +0 -4345
  140. package/components/CasinoRandomGame-BqszKIRI.cjs +0 -2
  141. package/components/CasinoSearchNd-BONwYpjU.cjs +0 -1
  142. package/components/CasinoSort-D9yqS_K_.cjs +0 -1
  143. package/components/CasinoWinners-BNaYIdgc.cjs +0 -1
  144. package/components/GeneralAnimationLoading-dlrAfGeC.cjs +0 -1
  145. package/lazy/casino-game-thumbnail-nd-C6m6nRiR.js +0 -16
  146. package/lazy/casino-game-thumbnail-nd-C_3atSCn.cjs +0 -1
  147. package/lazy/casino-game-thumbnail-nd-TwbY9jp9.js +0 -16
  148. package/lazy/casino-games-category-section-nd-B5EKRtdm.cjs +0 -1
  149. package/lazy/casino-games-category-section-nd-CS53a63I.js +0 -16
  150. package/lazy/casino-games-category-section-nd-Dcf6QgfF.js +0 -16
@@ -1,5071 +0,0 @@
1
- import "../lazy/casino-calendar-daily-details-DbdU0n9_.js";
2
- import "../lazy/casino-calendar-daily-item-BZGfz8IW.js";
3
- function P() {
4
- }
5
- function Er(e, t) {
6
- for (const r in t)
7
- e[r] = t[r];
8
- return (
9
- /** @type {T & S} */
10
- e
11
- );
12
- }
13
- function Ct(e) {
14
- return e();
15
- }
16
- function st() {
17
- return /* @__PURE__ */ Object.create(null);
18
- }
19
- function X(e) {
20
- e.forEach(Ct);
21
- }
22
- function Se(e) {
23
- return typeof e == "function";
24
- }
25
- function Mt(e, t) {
26
- return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
27
- }
28
- let fe;
29
- function so(e, t) {
30
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
31
- }
32
- function xr(e) {
33
- return Object.keys(e).length === 0;
34
- }
35
- function Rt(e, ...t) {
36
- if (e == null) {
37
- for (const n of t)
38
- n(void 0);
39
- return P;
40
- }
41
- const r = e.subscribe(...t);
42
- return r.unsubscribe ? () => r.unsubscribe() : r;
43
- }
44
- function Sr(e, t, r) {
45
- e.$$.on_destroy.push(Rt(t, r));
46
- }
47
- function ao(e, t, r, n) {
48
- if (e) {
49
- const i = $t(e, t, r, n);
50
- return e[0](i);
51
- }
52
- }
53
- function $t(e, t, r, n) {
54
- return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
55
- }
56
- function uo(e, t, r, n) {
57
- if (e[2] && n) {
58
- const i = e[2](n(r));
59
- if (t.dirty === void 0)
60
- return i;
61
- if (typeof i == "object") {
62
- const o = [], a = Math.max(t.dirty.length, i.length);
63
- for (let s = 0; s < a; s += 1)
64
- o[s] = t.dirty[s] | i[s];
65
- return o;
66
- }
67
- return t.dirty | i;
68
- }
69
- return t.dirty;
70
- }
71
- function lo(e, t, r, n, i, o) {
72
- if (i) {
73
- const a = $t(t, r, n, o);
74
- e.p(a, i);
75
- }
76
- }
77
- function ho(e) {
78
- if (e.ctx.length > 32) {
79
- const t = [], r = e.ctx.length / 32;
80
- for (let n = 0; n < r; n++)
81
- t[n] = -1;
82
- return t;
83
- }
84
- return -1;
85
- }
86
- function co(e) {
87
- return e && Se(e.destroy) ? e.destroy : P;
88
- }
89
- function we(e, t) {
90
- e.appendChild(t);
91
- }
92
- function wr(e, t, r) {
93
- const n = Tr(e);
94
- if (!n.getElementById(t)) {
95
- const i = $("style");
96
- i.id = t, i.textContent = r, Hr(n, i);
97
- }
98
- }
99
- function Tr(e) {
100
- if (!e)
101
- return document;
102
- const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
103
- return t && /** @type {ShadowRoot} */
104
- t.host ? (
105
- /** @type {ShadowRoot} */
106
- t
107
- ) : e.ownerDocument;
108
- }
109
- function Hr(e, t) {
110
- return we(
111
- /** @type {Document} */
112
- e.head || e,
113
- t
114
- ), t.sheet;
115
- }
116
- function k(e, t, r) {
117
- e.insertBefore(t, r || null);
118
- }
119
- function U(e) {
120
- e.parentNode && e.parentNode.removeChild(e);
121
- }
122
- function Br(e, t) {
123
- for (let r = 0; r < e.length; r += 1)
124
- e[r] && e[r].d(t);
125
- }
126
- function $(e) {
127
- return document.createElement(e);
128
- }
129
- function Pr(e) {
130
- return document.createElementNS("http://www.w3.org/2000/svg", e);
131
- }
132
- function nt(e) {
133
- return document.createTextNode(e);
134
- }
135
- function Ar() {
136
- return nt(" ");
137
- }
138
- function fo() {
139
- return nt("");
140
- }
141
- function po(e, t, r, n) {
142
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
143
- }
144
- function mo(e) {
145
- return function(t) {
146
- return t.stopPropagation(), e.call(this, t);
147
- };
148
- }
149
- function j(e, t, r) {
150
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
151
- }
152
- function d(e, t, r) {
153
- const n = t.toLowerCase();
154
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
155
- }
156
- function Or(e) {
157
- return Array.from(e.childNodes);
158
- }
159
- function Ir(e, t) {
160
- t = "" + t, e.data !== t && (e.data = /** @type {string} */
161
- t);
162
- }
163
- function bo(e, t) {
164
- e.value = t ?? "";
165
- }
166
- function yo(e, t, r, n) {
167
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
168
- }
169
- function go(e, t, r) {
170
- e.classList.toggle(t, !!r);
171
- }
172
- class _o {
173
- /**
174
- * @private
175
- * @default false
176
- */
177
- is_svg = !1;
178
- /** parent for creating node */
179
- e = void 0;
180
- /** html tag nodes */
181
- n = void 0;
182
- /** target */
183
- t = void 0;
184
- /** anchor */
185
- a = void 0;
186
- constructor(t = !1) {
187
- this.is_svg = t, this.e = this.n = null;
188
- }
189
- /**
190
- * @param {string} html
191
- * @returns {void}
192
- */
193
- c(t) {
194
- this.h(t);
195
- }
196
- /**
197
- * @param {string} html
198
- * @param {HTMLElement | SVGElement} target
199
- * @param {HTMLElement | SVGElement} anchor
200
- * @returns {void}
201
- */
202
- m(t, r, n = null) {
203
- this.e || (this.is_svg ? this.e = Pr(
204
- /** @type {keyof SVGElementTagNameMap} */
205
- r.nodeName
206
- ) : this.e = $(
207
- /** @type {keyof HTMLElementTagNameMap} */
208
- r.nodeType === 11 ? "TEMPLATE" : r.nodeName
209
- ), this.t = r.tagName !== "TEMPLATE" ? r : (
210
- /** @type {HTMLTemplateElement} */
211
- r.content
212
- ), this.c(t)), this.i(n);
213
- }
214
- /**
215
- * @param {string} html
216
- * @returns {void}
217
- */
218
- h(t) {
219
- this.e.innerHTML = t, this.n = Array.from(
220
- this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
221
- );
222
- }
223
- /**
224
- * @returns {void} */
225
- i(t) {
226
- for (let r = 0; r < this.n.length; r += 1)
227
- k(this.t, this.n[r], t);
228
- }
229
- /**
230
- * @param {string} html
231
- * @returns {void}
232
- */
233
- p(t) {
234
- this.d(), this.h(t), this.i(this.a);
235
- }
236
- /**
237
- * @returns {void} */
238
- d() {
239
- this.n.forEach(U);
240
- }
241
- }
242
- function Lr(e) {
243
- const t = {};
244
- return e.childNodes.forEach(
245
- /** @param {Element} node */
246
- (r) => {
247
- t[r.slot || "default"] = !0;
248
- }
249
- ), t;
250
- }
251
- let ae;
252
- function se(e) {
253
- ae = e;
254
- }
255
- function Dt() {
256
- if (!ae)
257
- throw new Error("Function called outside component initialization");
258
- return ae;
259
- }
260
- function Nr(e) {
261
- Dt().$$.on_mount.push(e);
262
- }
263
- function vo(e) {
264
- Dt().$$.on_destroy.push(e);
265
- }
266
- const J = [], Ue = [];
267
- let q = [];
268
- const at = [], Ut = /* @__PURE__ */ Promise.resolve();
269
- let Ge = !1;
270
- function Gt() {
271
- Ge || (Ge = !0, Ut.then(M));
272
- }
273
- function Eo() {
274
- return Gt(), Ut;
275
- }
276
- function Fe(e) {
277
- q.push(e);
278
- }
279
- const Ie = /* @__PURE__ */ new Set();
280
- let Z = 0;
281
- function M() {
282
- if (Z !== 0)
283
- return;
284
- const e = ae;
285
- do {
286
- try {
287
- for (; Z < J.length; ) {
288
- const t = J[Z];
289
- Z++, se(t), Cr(t.$$);
290
- }
291
- } catch (t) {
292
- throw J.length = 0, Z = 0, t;
293
- }
294
- for (se(null), J.length = 0, Z = 0; Ue.length; )
295
- Ue.pop()();
296
- for (let t = 0; t < q.length; t += 1) {
297
- const r = q[t];
298
- Ie.has(r) || (Ie.add(r), r());
299
- }
300
- q.length = 0;
301
- } while (J.length);
302
- for (; at.length; )
303
- at.pop()();
304
- Ge = !1, Ie.clear(), se(e);
305
- }
306
- function Cr(e) {
307
- if (e.fragment !== null) {
308
- e.update(), X(e.before_update);
309
- const t = e.dirty;
310
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
311
- }
312
- }
313
- function Mr(e) {
314
- const t = [], r = [];
315
- q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
316
- }
317
- const me = /* @__PURE__ */ new Set();
318
- let V;
319
- function xo() {
320
- V = {
321
- r: 0,
322
- c: [],
323
- p: V
324
- // parent group
325
- };
326
- }
327
- function So() {
328
- V.r || X(V.c), V = V.p;
329
- }
330
- function Ft(e, t) {
331
- e && e.i && (me.delete(e), e.i(t));
332
- }
333
- function Rr(e, t, r, n) {
334
- if (e && e.o) {
335
- if (me.has(e))
336
- return;
337
- me.add(e), V.c.push(() => {
338
- me.delete(e), n && (r && e.d(1), n());
339
- }), e.o(t);
340
- } else
341
- n && n();
342
- }
343
- function ut(e) {
344
- return e?.length !== void 0 ? e : Array.from(e);
345
- }
346
- function wo(e, t) {
347
- e.d(1), t.delete(e.key);
348
- }
349
- function To(e, t) {
350
- Rr(e, 1, 1, () => {
351
- t.delete(e.key);
352
- });
353
- }
354
- function Ho(e, t, r, n, i, o, a, s, l, u, h, f) {
355
- let c = e.length, m = o.length, b = c;
356
- const g = {};
357
- for (; b--; )
358
- g[e[b].key] = b;
359
- const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
360
- for (b = m; b--; ) {
361
- const E = f(i, o, b), I = r(E);
362
- let B = a.get(I);
363
- B ? w.push(() => B.p(E, t)) : (B = u(I, E), B.c()), A.set(I, S[b] = B), I in g && H.set(I, Math.abs(b - g[I]));
364
- }
365
- const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
366
- function C(E) {
367
- Ft(E, 1), E.m(s, h), a.set(E.key, E), h = E.first, m--;
368
- }
369
- for (; c && m; ) {
370
- const E = S[m - 1], I = e[c - 1], B = E.key, z = I.key;
371
- E === I ? (h = E.first, c--, m--) : A.has(z) ? !a.has(B) || N.has(B) ? C(E) : O.has(z) ? c-- : H.get(B) > H.get(z) ? (O.add(B), C(E)) : (N.add(z), c--) : (l(I, a), c--);
372
- }
373
- for (; c--; ) {
374
- const E = e[c];
375
- A.has(E.key) || l(E, a);
376
- }
377
- for (; m; )
378
- C(S[m - 1]);
379
- return X(w), S;
380
- }
381
- function $r(e, t, r) {
382
- const { fragment: n, after_update: i } = e.$$;
383
- n && n.m(t, r), Fe(() => {
384
- const o = e.$$.on_mount.map(Ct).filter(Se);
385
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
386
- }), i.forEach(Fe);
387
- }
388
- function Dr(e, t) {
389
- const r = e.$$;
390
- r.fragment !== null && (Mr(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
391
- }
392
- function Ur(e, t) {
393
- e.$$.dirty[0] === -1 && (J.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
394
- }
395
- function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
396
- const l = ae;
397
- se(e);
398
- const u = e.$$ = {
399
- fragment: null,
400
- ctx: [],
401
- // state
402
- props: o,
403
- update: P,
404
- not_equal: i,
405
- bound: st(),
406
- // lifecycle
407
- on_mount: [],
408
- on_destroy: [],
409
- on_disconnect: [],
410
- before_update: [],
411
- after_update: [],
412
- context: new Map(t.context || (l ? l.$$.context : [])),
413
- // everything else
414
- callbacks: st(),
415
- dirty: s,
416
- skip_bound: !1,
417
- root: t.target || l.$$.root
418
- };
419
- a && a(u.root);
420
- let h = !1;
421
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
422
- const b = m.length ? m[0] : c;
423
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Ur(e, f)), c;
424
- }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
425
- if (t.hydrate) {
426
- const f = Or(t.target);
427
- u.fragment && u.fragment.l(f), f.forEach(U);
428
- } else
429
- u.fragment && u.fragment.c();
430
- t.intro && Ft(e.$$.fragment), $r(e, t.target, t.anchor), M();
431
- }
432
- se(l);
433
- }
434
- let jt;
435
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
436
- /** The Svelte component constructor */
437
- $$ctor;
438
- /** Slots */
439
- $$s;
440
- /** The Svelte component instance */
441
- $$c;
442
- /** Whether or not the custom element is connected */
443
- $$cn = !1;
444
- /** Component props data */
445
- $$d = {};
446
- /** `true` if currently in the process of reflecting component props back to attributes */
447
- $$r = !1;
448
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
449
- $$p_d = {};
450
- /** @type {Record<string, Function[]>} Event listeners */
451
- $$l = {};
452
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
453
- $$l_u = /* @__PURE__ */ new Map();
454
- constructor(e, t, r) {
455
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
456
- }
457
- addEventListener(e, t, r) {
458
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
459
- const n = this.$$c.$on(e, t);
460
- this.$$l_u.set(t, n);
461
- }
462
- super.addEventListener(e, t, r);
463
- }
464
- removeEventListener(e, t, r) {
465
- if (super.removeEventListener(e, t, r), this.$$c) {
466
- const n = this.$$l_u.get(t);
467
- n && (n(), this.$$l_u.delete(t));
468
- }
469
- }
470
- async connectedCallback() {
471
- if (this.$$cn = !0, !this.$$c) {
472
- let e = function(i) {
473
- return () => {
474
- let o;
475
- return {
476
- c: function() {
477
- o = $("slot"), i !== "default" && j(o, "name", i);
478
- },
479
- /**
480
- * @param {HTMLElement} target
481
- * @param {HTMLElement} [anchor]
482
- */
483
- m: function(l, u) {
484
- k(l, o, u);
485
- },
486
- d: function(l) {
487
- l && U(o);
488
- }
489
- };
490
- };
491
- };
492
- if (await Promise.resolve(), !this.$$cn || this.$$c)
493
- return;
494
- const t = {}, r = Lr(this);
495
- for (const i of this.$$s)
496
- i in r && (t[i] = [e(i)]);
497
- for (const i of this.attributes) {
498
- const o = this.$$g_p(i.name);
499
- o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
500
- }
501
- for (const i in this.$$p_d)
502
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
503
- this.$$c = new this.$$ctor({
504
- target: this.shadowRoot || this,
505
- props: {
506
- ...this.$$d,
507
- $$slots: t,
508
- $$scope: {
509
- ctx: []
510
- }
511
- }
512
- });
513
- const n = () => {
514
- this.$$r = !0;
515
- for (const i in this.$$p_d)
516
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
517
- const o = be(
518
- i,
519
- this.$$d[i],
520
- this.$$p_d,
521
- "toAttribute"
522
- );
523
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
524
- }
525
- this.$$r = !1;
526
- };
527
- this.$$c.$$.after_update.push(n), n();
528
- for (const i in this.$$l)
529
- for (const o of this.$$l[i]) {
530
- const a = this.$$c.$on(i, o);
531
- this.$$l_u.set(o, a);
532
- }
533
- this.$$l = {};
534
- }
535
- }
536
- // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
537
- // and setting attributes through setAttribute etc, this is helpful
538
- attributeChangedCallback(e, t, r) {
539
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
540
- }
541
- disconnectedCallback() {
542
- this.$$cn = !1, Promise.resolve().then(() => {
543
- !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
544
- });
545
- }
546
- $$g_p(e) {
547
- return Object.keys(this.$$p_d).find(
548
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
549
- ) || e;
550
- }
551
- });
552
- function be(e, t, r, n) {
553
- const i = r[e]?.type;
554
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
555
- return t;
556
- if (n === "toAttribute")
557
- switch (i) {
558
- case "Object":
559
- case "Array":
560
- return t == null ? null : JSON.stringify(t);
561
- case "Boolean":
562
- return t ? "" : null;
563
- case "Number":
564
- return t ?? null;
565
- default:
566
- return t;
567
- }
568
- else
569
- switch (i) {
570
- case "Object":
571
- case "Array":
572
- return t && JSON.parse(t);
573
- case "Boolean":
574
- return t;
575
- case "Number":
576
- return t != null ? +t : t;
577
- default:
578
- return t;
579
- }
580
- }
581
- function Fr(e, t, r, n, i, o) {
582
- let a = class extends jt {
583
- constructor() {
584
- super(e, r, i), this.$$p_d = t;
585
- }
586
- static get observedAttributes() {
587
- return Object.keys(t).map(
588
- (s) => (t[s].attribute || s).toLowerCase()
589
- );
590
- }
591
- };
592
- return Object.keys(t).forEach((s) => {
593
- Object.defineProperty(a.prototype, s, {
594
- get() {
595
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
596
- },
597
- set(l) {
598
- l = be(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
599
- }
600
- });
601
- }), n.forEach((s) => {
602
- Object.defineProperty(a.prototype, s, {
603
- get() {
604
- return this.$$c?.[s];
605
- }
606
- });
607
- }), e.element = /** @type {any} */
608
- a, a;
609
- }
610
- class jr {
611
- /**
612
- * ### PRIVATE API
613
- *
614
- * Do not use, may change at any time
615
- *
616
- * @type {any}
617
- */
618
- $$ = void 0;
619
- /**
620
- * ### PRIVATE API
621
- *
622
- * Do not use, may change at any time
623
- *
624
- * @type {any}
625
- */
626
- $$set = void 0;
627
- /** @returns {void} */
628
- $destroy() {
629
- Dr(this, 1), this.$destroy = P;
630
- }
631
- /**
632
- * @template {Extract<keyof Events, string>} K
633
- * @param {K} type
634
- * @param {((e: Events[K]) => void) | null | undefined} callback
635
- * @returns {() => void}
636
- */
637
- $on(t, r) {
638
- if (!Se(r))
639
- return P;
640
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
641
- return n.push(r), () => {
642
- const i = n.indexOf(r);
643
- i !== -1 && n.splice(i, 1);
644
- };
645
- }
646
- /**
647
- * @param {Partial<Props>} props
648
- * @returns {void}
649
- */
650
- $set(t) {
651
- this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
652
- }
653
- }
654
- const kr = "4";
655
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
656
- /*! *****************************************************************************
657
- Copyright (c) Microsoft Corporation.
658
-
659
- Permission to use, copy, modify, and/or distribute this software for any
660
- purpose with or without fee is hereby granted.
661
-
662
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
663
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
664
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
665
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
666
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
667
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
668
- PERFORMANCE OF THIS SOFTWARE.
669
- ***************************************************************************** */
670
- var je = function(e, t) {
671
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
672
- r.__proto__ = n;
673
- } || function(r, n) {
674
- for (var i in n)
675
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
676
- }, je(e, t);
677
- };
678
- function he(e, t) {
679
- if (typeof t != "function" && t !== null)
680
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
681
- je(e, t);
682
- function r() {
683
- this.constructor = e;
684
- }
685
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
686
- }
687
- function ke(e) {
688
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
689
- if (r)
690
- return r.call(e);
691
- if (e && typeof e.length == "number")
692
- return {
693
- next: function() {
694
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
695
- }
696
- };
697
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
698
- }
699
- function Ve(e, t) {
700
- var r = typeof Symbol == "function" && e[Symbol.iterator];
701
- if (!r)
702
- return e;
703
- var n = r.call(e), i, o = [], a;
704
- try {
705
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
706
- o.push(i.value);
707
- } catch (s) {
708
- a = { error: s };
709
- } finally {
710
- try {
711
- i && !i.done && (r = n.return) && r.call(n);
712
- } finally {
713
- if (a)
714
- throw a.error;
715
- }
716
- }
717
- return o;
718
- }
719
- function Xe(e, t, r) {
720
- if (arguments.length === 2)
721
- for (var n = 0, i = t.length, o; n < i; n++)
722
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
723
- return e.concat(o || t);
724
- }
725
- function D(e) {
726
- return typeof e == "function";
727
- }
728
- function kt(e) {
729
- var t = function(n) {
730
- Error.call(n), n.stack = new Error().stack;
731
- }, r = e(t);
732
- return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
733
- }
734
- var Le = kt(function(e) {
735
- return function(r) {
736
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
737
- ` + r.map(function(n, i) {
738
- return i + 1 + ") " + n.toString();
739
- }).join(`
740
- `) : "", this.name = "UnsubscriptionError", this.errors = r;
741
- };
742
- });
743
- function We(e, t) {
744
- if (e) {
745
- var r = e.indexOf(t);
746
- 0 <= r && e.splice(r, 1);
747
- }
748
- }
749
- var Te = function() {
750
- function e(t) {
751
- this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
752
- }
753
- return e.prototype.unsubscribe = function() {
754
- var t, r, n, i, o;
755
- if (!this.closed) {
756
- this.closed = !0;
757
- var a = this._parentage;
758
- if (a)
759
- if (this._parentage = null, Array.isArray(a))
760
- try {
761
- for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
762
- var u = l.value;
763
- u.remove(this);
764
- }
765
- } catch (g) {
766
- t = { error: g };
767
- } finally {
768
- try {
769
- l && !l.done && (r = s.return) && r.call(s);
770
- } finally {
771
- if (t)
772
- throw t.error;
773
- }
774
- }
775
- else
776
- a.remove(this);
777
- var h = this.initialTeardown;
778
- if (D(h))
779
- try {
780
- h();
781
- } catch (g) {
782
- o = g instanceof Le ? g.errors : [g];
783
- }
784
- var f = this._finalizers;
785
- if (f) {
786
- this._finalizers = null;
787
- try {
788
- for (var c = ke(f), m = c.next(); !m.done; m = c.next()) {
789
- var b = m.value;
790
- try {
791
- lt(b);
792
- } catch (g) {
793
- o = o ?? [], g instanceof Le ? o = Xe(Xe([], Ve(o)), Ve(g.errors)) : o.push(g);
794
- }
795
- }
796
- } catch (g) {
797
- n = { error: g };
798
- } finally {
799
- try {
800
- m && !m.done && (i = c.return) && i.call(c);
801
- } finally {
802
- if (n)
803
- throw n.error;
804
- }
805
- }
806
- }
807
- if (o)
808
- throw new Le(o);
809
- }
810
- }, e.prototype.add = function(t) {
811
- var r;
812
- if (t && t !== this)
813
- if (this.closed)
814
- lt(t);
815
- else {
816
- if (t instanceof e) {
817
- if (t.closed || t._hasParent(this))
818
- return;
819
- t._addParent(this);
820
- }
821
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
822
- }
823
- }, e.prototype._hasParent = function(t) {
824
- var r = this._parentage;
825
- return r === t || Array.isArray(r) && r.includes(t);
826
- }, e.prototype._addParent = function(t) {
827
- var r = this._parentage;
828
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
829
- }, e.prototype._removeParent = function(t) {
830
- var r = this._parentage;
831
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
832
- }, e.prototype.remove = function(t) {
833
- var r = this._finalizers;
834
- r && We(r, t), t instanceof e && t._removeParent(this);
835
- }, e.EMPTY = function() {
836
- var t = new e();
837
- return t.closed = !0, t;
838
- }(), e;
839
- }(), Vt = Te.EMPTY;
840
- function Xt(e) {
841
- return e instanceof Te || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
842
- }
843
- function lt(e) {
844
- D(e) ? e() : e.unsubscribe();
845
- }
846
- var Vr = {
847
- Promise: void 0
848
- }, Xr = {
849
- setTimeout: function(e, t) {
850
- for (var r = [], n = 2; n < arguments.length; n++)
851
- r[n - 2] = arguments[n];
852
- return setTimeout.apply(void 0, Xe([e, t], Ve(r)));
853
- },
854
- clearTimeout: function(e) {
855
- return clearTimeout(e);
856
- },
857
- delegate: void 0
858
- };
859
- function Wr(e) {
860
- Xr.setTimeout(function() {
861
- throw e;
862
- });
863
- }
864
- function ht() {
865
- }
866
- function ye(e) {
867
- e();
868
- }
869
- var Wt = function(e) {
870
- he(t, e);
871
- function t(r) {
872
- var n = e.call(this) || this;
873
- return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = Qr, n;
874
- }
875
- return t.create = function(r, n, i) {
876
- return new ze(r, n, i);
877
- }, t.prototype.next = function(r) {
878
- this.isStopped || this._next(r);
879
- }, t.prototype.error = function(r) {
880
- this.isStopped || (this.isStopped = !0, this._error(r));
881
- }, t.prototype.complete = function() {
882
- this.isStopped || (this.isStopped = !0, this._complete());
883
- }, t.prototype.unsubscribe = function() {
884
- this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
885
- }, t.prototype._next = function(r) {
886
- this.destination.next(r);
887
- }, t.prototype._error = function(r) {
888
- try {
889
- this.destination.error(r);
890
- } finally {
891
- this.unsubscribe();
892
- }
893
- }, t.prototype._complete = function() {
894
- try {
895
- this.destination.complete();
896
- } finally {
897
- this.unsubscribe();
898
- }
899
- }, t;
900
- }(Te), zr = function() {
901
- function e(t) {
902
- this.partialObserver = t;
903
- }
904
- return e.prototype.next = function(t) {
905
- var r = this.partialObserver;
906
- if (r.next)
907
- try {
908
- r.next(t);
909
- } catch (n) {
910
- de(n);
911
- }
912
- }, e.prototype.error = function(t) {
913
- var r = this.partialObserver;
914
- if (r.error)
915
- try {
916
- r.error(t);
917
- } catch (n) {
918
- de(n);
919
- }
920
- else
921
- de(t);
922
- }, e.prototype.complete = function() {
923
- var t = this.partialObserver;
924
- if (t.complete)
925
- try {
926
- t.complete();
927
- } catch (r) {
928
- de(r);
929
- }
930
- }, e;
931
- }(), ze = function(e) {
932
- he(t, e);
933
- function t(r, n, i) {
934
- var o = e.call(this) || this, a;
935
- return D(r) || !r ? a = {
936
- next: r ?? void 0,
937
- error: n ?? void 0,
938
- complete: i ?? void 0
939
- } : a = r, o.destination = new zr(a), o;
940
- }
941
- return t;
942
- }(Wt);
943
- function de(e) {
944
- Wr(e);
945
- }
946
- function Zr(e) {
947
- throw e;
948
- }
949
- var Qr = {
950
- closed: !0,
951
- next: ht,
952
- error: Zr,
953
- complete: ht
954
- }, Jr = function() {
955
- return typeof Symbol == "function" && Symbol.observable || "@@observable";
956
- }();
957
- function qr(e) {
958
- return e;
959
- }
960
- function Yr(e) {
961
- return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
962
- return e.reduce(function(n, i) {
963
- return i(n);
964
- }, r);
965
- };
966
- }
967
- var ct = function() {
968
- function e(t) {
969
- t && (this._subscribe = t);
970
- }
971
- return e.prototype.lift = function(t) {
972
- var r = new e();
973
- return r.source = this, r.operator = t, r;
974
- }, e.prototype.subscribe = function(t, r, n) {
975
- var i = this, o = en(t) ? t : new ze(t, r, n);
976
- return ye(function() {
977
- var a = i, s = a.operator, l = a.source;
978
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
979
- }), o;
980
- }, e.prototype._trySubscribe = function(t) {
981
- try {
982
- return this._subscribe(t);
983
- } catch (r) {
984
- t.error(r);
985
- }
986
- }, e.prototype.forEach = function(t, r) {
987
- var n = this;
988
- return r = ft(r), new r(function(i, o) {
989
- var a = new ze({
990
- next: function(s) {
991
- try {
992
- t(s);
993
- } catch (l) {
994
- o(l), a.unsubscribe();
995
- }
996
- },
997
- error: o,
998
- complete: i
999
- });
1000
- n.subscribe(a);
1001
- });
1002
- }, e.prototype._subscribe = function(t) {
1003
- var r;
1004
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1005
- }, e.prototype[Jr] = function() {
1006
- return this;
1007
- }, e.prototype.pipe = function() {
1008
- for (var t = [], r = 0; r < arguments.length; r++)
1009
- t[r] = arguments[r];
1010
- return Yr(t)(this);
1011
- }, e.prototype.toPromise = function(t) {
1012
- var r = this;
1013
- return t = ft(t), new t(function(n, i) {
1014
- var o;
1015
- r.subscribe(function(a) {
1016
- return o = a;
1017
- }, function(a) {
1018
- return i(a);
1019
- }, function() {
1020
- return n(o);
1021
- });
1022
- });
1023
- }, e.create = function(t) {
1024
- return new e(t);
1025
- }, e;
1026
- }();
1027
- function ft(e) {
1028
- var t;
1029
- return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
1030
- }
1031
- function Kr(e) {
1032
- return e && D(e.next) && D(e.error) && D(e.complete);
1033
- }
1034
- function en(e) {
1035
- return e && e instanceof Wt || Kr(e) && Xt(e);
1036
- }
1037
- var tn = kt(function(e) {
1038
- return function() {
1039
- e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1040
- };
1041
- }), zt = function(e) {
1042
- he(t, e);
1043
- function t() {
1044
- var r = e.call(this) || this;
1045
- return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1046
- }
1047
- return t.prototype.lift = function(r) {
1048
- var n = new dt(this, this);
1049
- return n.operator = r, n;
1050
- }, t.prototype._throwIfClosed = function() {
1051
- if (this.closed)
1052
- throw new tn();
1053
- }, t.prototype.next = function(r) {
1054
- var n = this;
1055
- ye(function() {
1056
- var i, o;
1057
- if (n._throwIfClosed(), !n.isStopped) {
1058
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
1059
- try {
1060
- for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1061
- var l = s.value;
1062
- l.next(r);
1063
- }
1064
- } catch (u) {
1065
- i = { error: u };
1066
- } finally {
1067
- try {
1068
- s && !s.done && (o = a.return) && o.call(a);
1069
- } finally {
1070
- if (i)
1071
- throw i.error;
1072
- }
1073
- }
1074
- }
1075
- });
1076
- }, t.prototype.error = function(r) {
1077
- var n = this;
1078
- ye(function() {
1079
- if (n._throwIfClosed(), !n.isStopped) {
1080
- n.hasError = n.isStopped = !0, n.thrownError = r;
1081
- for (var i = n.observers; i.length; )
1082
- i.shift().error(r);
1083
- }
1084
- });
1085
- }, t.prototype.complete = function() {
1086
- var r = this;
1087
- ye(function() {
1088
- if (r._throwIfClosed(), !r.isStopped) {
1089
- r.isStopped = !0;
1090
- for (var n = r.observers; n.length; )
1091
- n.shift().complete();
1092
- }
1093
- });
1094
- }, t.prototype.unsubscribe = function() {
1095
- this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1096
- }, Object.defineProperty(t.prototype, "observed", {
1097
- get: function() {
1098
- var r;
1099
- return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1100
- },
1101
- enumerable: !1,
1102
- configurable: !0
1103
- }), t.prototype._trySubscribe = function(r) {
1104
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1105
- }, t.prototype._subscribe = function(r) {
1106
- return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1107
- }, t.prototype._innerSubscribe = function(r) {
1108
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1109
- return o || a ? Vt : (this.currentObservers = null, s.push(r), new Te(function() {
1110
- n.currentObservers = null, We(s, r);
1111
- }));
1112
- }, t.prototype._checkFinalizedStatuses = function(r) {
1113
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1114
- i ? r.error(o) : a && r.complete();
1115
- }, t.prototype.asObservable = function() {
1116
- var r = new ct();
1117
- return r.source = this, r;
1118
- }, t.create = function(r, n) {
1119
- return new dt(r, n);
1120
- }, t;
1121
- }(ct), dt = function(e) {
1122
- he(t, e);
1123
- function t(r, n) {
1124
- var i = e.call(this) || this;
1125
- return i.destination = r, i.source = n, i;
1126
- }
1127
- return t.prototype.next = function(r) {
1128
- var n, i;
1129
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1130
- }, t.prototype.error = function(r) {
1131
- var n, i;
1132
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1133
- }, t.prototype.complete = function() {
1134
- var r, n;
1135
- (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1136
- }, t.prototype._subscribe = function(r) {
1137
- var n, i;
1138
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1139
- }, t;
1140
- }(zt), Zt = {
1141
- now: function() {
1142
- return (Zt.delegate || Date).now();
1143
- },
1144
- delegate: void 0
1145
- }, rn = function(e) {
1146
- he(t, e);
1147
- function t(r, n, i) {
1148
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1149
- var o = e.call(this) || this;
1150
- 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;
1151
- }
1152
- return t.prototype.next = function(r) {
1153
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1154
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1155
- }, t.prototype._subscribe = function(r) {
1156
- this._throwIfClosed(), this._trimBuffer();
1157
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1158
- r.next(s[l]);
1159
- return this._checkFinalizedStatuses(r), n;
1160
- }, t.prototype._trimBuffer = function() {
1161
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1162
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1163
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1164
- u = h;
1165
- u && o.splice(0, u + 1);
1166
- }
1167
- }, t;
1168
- }(zt);
1169
- const pt = [], mt = {}, nn = (e, t = 0) => {
1170
- if (pt.indexOf(e) == -1) {
1171
- const r = new rn(t);
1172
- mt[e] = r, pt.push(e);
1173
- }
1174
- return mt[e];
1175
- }, Q = [];
1176
- function on(e, t) {
1177
- return {
1178
- subscribe: He(e, t).subscribe
1179
- };
1180
- }
1181
- function He(e, t = P) {
1182
- let r;
1183
- const n = /* @__PURE__ */ new Set();
1184
- function i(s) {
1185
- if (Mt(e, s) && (e = s, r)) {
1186
- const l = !Q.length;
1187
- for (const u of n)
1188
- u[1](), Q.push(u, e);
1189
- if (l) {
1190
- for (let u = 0; u < Q.length; u += 2)
1191
- Q[u][0](Q[u + 1]);
1192
- Q.length = 0;
1193
- }
1194
- }
1195
- }
1196
- function o(s) {
1197
- i(s(e));
1198
- }
1199
- function a(s, l = P) {
1200
- const u = [s, l];
1201
- return n.add(u), n.size === 1 && (r = t(i, o) || P), s(e), () => {
1202
- n.delete(u), n.size === 0 && r && (r(), r = null);
1203
- };
1204
- }
1205
- return { set: i, update: o, subscribe: a };
1206
- }
1207
- function re(e, t, r) {
1208
- const n = !Array.isArray(e), i = n ? [e] : e;
1209
- if (!i.every(Boolean))
1210
- throw new Error("derived() expects stores as input, got a falsy value");
1211
- const o = t.length < 2;
1212
- return on(r, (a, s) => {
1213
- let l = !1;
1214
- const u = [];
1215
- let h = 0, f = P;
1216
- const c = () => {
1217
- if (h)
1218
- return;
1219
- f();
1220
- const b = t(n ? u[0] : u, a, s);
1221
- o ? a(b) : f = Se(b) ? b : P;
1222
- }, m = i.map(
1223
- (b, g) => Rt(
1224
- b,
1225
- (S) => {
1226
- u[g] = S, h &= ~(1 << g), l && c();
1227
- },
1228
- () => {
1229
- h |= 1 << g;
1230
- }
1231
- )
1232
- );
1233
- return l = !0, c(), function() {
1234
- X(m), f(), l = !1;
1235
- };
1236
- });
1237
- }
1238
- function sn(e) {
1239
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1240
- }
1241
- var an = function(t) {
1242
- return un(t) && !ln(t);
1243
- };
1244
- function un(e) {
1245
- return !!e && typeof e == "object";
1246
- }
1247
- function ln(e) {
1248
- var t = Object.prototype.toString.call(e);
1249
- return t === "[object RegExp]" || t === "[object Date]" || fn(e);
1250
- }
1251
- var hn = typeof Symbol == "function" && Symbol.for, cn = hn ? Symbol.for("react.element") : 60103;
1252
- function fn(e) {
1253
- return e.$$typeof === cn;
1254
- }
1255
- function dn(e) {
1256
- return Array.isArray(e) ? [] : {};
1257
- }
1258
- function ue(e, t) {
1259
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(dn(e), e, t) : e;
1260
- }
1261
- function pn(e, t, r) {
1262
- return e.concat(t).map(function(n) {
1263
- return ue(n, r);
1264
- });
1265
- }
1266
- function mn(e, t) {
1267
- if (!t.customMerge)
1268
- return Y;
1269
- var r = t.customMerge(e);
1270
- return typeof r == "function" ? r : Y;
1271
- }
1272
- function bn(e) {
1273
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1274
- return Object.propertyIsEnumerable.call(e, t);
1275
- }) : [];
1276
- }
1277
- function bt(e) {
1278
- return Object.keys(e).concat(bn(e));
1279
- }
1280
- function Qt(e, t) {
1281
- try {
1282
- return t in e;
1283
- } catch {
1284
- return !1;
1285
- }
1286
- }
1287
- function yn(e, t) {
1288
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1289
- }
1290
- function gn(e, t, r) {
1291
- var n = {};
1292
- return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1293
- n[i] = ue(e[i], r);
1294
- }), bt(t).forEach(function(i) {
1295
- yn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1296
- }), n;
1297
- }
1298
- function Y(e, t, r) {
1299
- r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || an, r.cloneUnlessOtherwiseSpecified = ue;
1300
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1301
- return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
1302
- }
1303
- Y.all = function(t, r) {
1304
- if (!Array.isArray(t))
1305
- throw new Error("first argument should be an array");
1306
- return t.reduce(function(n, i) {
1307
- return Y(n, i, r);
1308
- }, {});
1309
- };
1310
- var _n = Y, vn = _n;
1311
- const En = /* @__PURE__ */ sn(vn);
1312
- var Ze = function(e, t) {
1313
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1314
- r.__proto__ = n;
1315
- } || function(r, n) {
1316
- for (var i in n)
1317
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1318
- }, Ze(e, t);
1319
- };
1320
- function Be(e, t) {
1321
- if (typeof t != "function" && t !== null)
1322
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1323
- Ze(e, t);
1324
- function r() {
1325
- this.constructor = e;
1326
- }
1327
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1328
- }
1329
- var R = function() {
1330
- return R = Object.assign || function(t) {
1331
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1332
- r = arguments[n];
1333
- for (var o in r)
1334
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1335
- }
1336
- return t;
1337
- }, R.apply(this, arguments);
1338
- };
1339
- function xn(e, t) {
1340
- var r = {};
1341
- for (var n in e)
1342
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1343
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1344
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1345
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1346
- return r;
1347
- }
1348
- function Ne(e, t, r) {
1349
- if (r || arguments.length === 2)
1350
- for (var n = 0, i = t.length, o; n < i; n++)
1351
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1352
- return e.concat(o || Array.prototype.slice.call(t));
1353
- }
1354
- function Ce(e, t) {
1355
- var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
1356
- return i(e, {
1357
- cache: r,
1358
- serializer: n
1359
- });
1360
- }
1361
- function Sn(e) {
1362
- return e == null || typeof e == "number" || typeof e == "boolean";
1363
- }
1364
- function wn(e, t, r, n) {
1365
- var i = Sn(n) ? n : r(n), o = t.get(i);
1366
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1367
- }
1368
- function Jt(e, t, r) {
1369
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1370
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1371
- }
1372
- function qt(e, t, r, n, i) {
1373
- return r.bind(t, e, n, i);
1374
- }
1375
- function Tn(e, t) {
1376
- var r = e.length === 1 ? wn : Jt;
1377
- return qt(e, this, r, t.cache.create(), t.serializer);
1378
- }
1379
- function Hn(e, t) {
1380
- return qt(e, this, Jt, t.cache.create(), t.serializer);
1381
- }
1382
- var Bn = function() {
1383
- return JSON.stringify(arguments);
1384
- }, Pn = (
1385
- /** @class */
1386
- function() {
1387
- function e() {
1388
- this.cache = /* @__PURE__ */ Object.create(null);
1389
- }
1390
- return e.prototype.get = function(t) {
1391
- return this.cache[t];
1392
- }, e.prototype.set = function(t, r) {
1393
- this.cache[t] = r;
1394
- }, e;
1395
- }()
1396
- ), An = {
1397
- create: function() {
1398
- return new Pn();
1399
- }
1400
- }, Me = {
1401
- variadic: Hn
1402
- }, ve = function() {
1403
- return ve = Object.assign || function(t) {
1404
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1405
- r = arguments[n];
1406
- for (var o in r)
1407
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1408
- }
1409
- return t;
1410
- }, ve.apply(this, arguments);
1411
- };
1412
- var y;
1413
- (function(e) {
1414
- 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";
1415
- })(y || (y = {}));
1416
- var v;
1417
- (function(e) {
1418
- 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";
1419
- })(v || (v = {}));
1420
- var K;
1421
- (function(e) {
1422
- e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1423
- })(K || (K = {}));
1424
- function yt(e) {
1425
- return e.type === v.literal;
1426
- }
1427
- function On(e) {
1428
- return e.type === v.argument;
1429
- }
1430
- function Yt(e) {
1431
- return e.type === v.number;
1432
- }
1433
- function Kt(e) {
1434
- return e.type === v.date;
1435
- }
1436
- function er(e) {
1437
- return e.type === v.time;
1438
- }
1439
- function tr(e) {
1440
- return e.type === v.select;
1441
- }
1442
- function rr(e) {
1443
- return e.type === v.plural;
1444
- }
1445
- function In(e) {
1446
- return e.type === v.pound;
1447
- }
1448
- function nr(e) {
1449
- return e.type === v.tag;
1450
- }
1451
- function ir(e) {
1452
- return !!(e && typeof e == "object" && e.type === K.number);
1453
- }
1454
- function Qe(e) {
1455
- return !!(e && typeof e == "object" && e.type === K.dateTime);
1456
- }
1457
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1458
- function Nn(e) {
1459
- var t = {};
1460
- return e.replace(Ln, function(r) {
1461
- var n = r.length;
1462
- switch (r[0]) {
1463
- case "G":
1464
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1465
- break;
1466
- case "y":
1467
- t.year = n === 2 ? "2-digit" : "numeric";
1468
- break;
1469
- case "Y":
1470
- case "u":
1471
- case "U":
1472
- case "r":
1473
- throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
1474
- case "q":
1475
- case "Q":
1476
- throw new RangeError("`q/Q` (quarter) patterns are not supported");
1477
- case "M":
1478
- case "L":
1479
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1480
- break;
1481
- case "w":
1482
- case "W":
1483
- throw new RangeError("`w/W` (week) patterns are not supported");
1484
- case "d":
1485
- t.day = ["numeric", "2-digit"][n - 1];
1486
- break;
1487
- case "D":
1488
- case "F":
1489
- case "g":
1490
- throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1491
- case "E":
1492
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1493
- break;
1494
- case "e":
1495
- if (n < 4)
1496
- throw new RangeError("`e..eee` (weekday) patterns are not supported");
1497
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1498
- break;
1499
- case "c":
1500
- if (n < 4)
1501
- throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1502
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1503
- break;
1504
- case "a":
1505
- t.hour12 = !0;
1506
- break;
1507
- case "b":
1508
- case "B":
1509
- throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1510
- case "h":
1511
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1512
- break;
1513
- case "H":
1514
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1515
- break;
1516
- case "K":
1517
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1518
- break;
1519
- case "k":
1520
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1521
- break;
1522
- case "j":
1523
- case "J":
1524
- case "C":
1525
- throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1526
- case "m":
1527
- t.minute = ["numeric", "2-digit"][n - 1];
1528
- break;
1529
- case "s":
1530
- t.second = ["numeric", "2-digit"][n - 1];
1531
- break;
1532
- case "S":
1533
- case "A":
1534
- throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1535
- case "z":
1536
- t.timeZoneName = n < 4 ? "short" : "long";
1537
- break;
1538
- case "Z":
1539
- case "O":
1540
- case "v":
1541
- case "V":
1542
- case "X":
1543
- case "x":
1544
- throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
1545
- }
1546
- return "";
1547
- }), t;
1548
- }
1549
- var x = function() {
1550
- return x = Object.assign || function(t) {
1551
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1552
- r = arguments[n];
1553
- for (var o in r)
1554
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1555
- }
1556
- return t;
1557
- }, x.apply(this, arguments);
1558
- };
1559
- var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1560
- function Mn(e) {
1561
- if (e.length === 0)
1562
- throw new Error("Number skeleton cannot be empty");
1563
- for (var t = e.split(Cn).filter(function(c) {
1564
- return c.length > 0;
1565
- }), r = [], n = 0, i = t; n < i.length; n++) {
1566
- var o = i[n], a = o.split("/");
1567
- if (a.length === 0)
1568
- throw new Error("Invalid number skeleton");
1569
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1570
- var f = h[u];
1571
- if (f.length === 0)
1572
- throw new Error("Invalid number skeleton");
1573
- }
1574
- r.push({ stem: s, options: l });
1575
- }
1576
- return r;
1577
- }
1578
- function Rn(e) {
1579
- return e.replace(/^(.*?)-/, "");
1580
- }
1581
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1582
- function _t(e) {
1583
- var t = {};
1584
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1585
- 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)), "";
1586
- }), t;
1587
- }
1588
- function ur(e) {
1589
- switch (e) {
1590
- case "sign-auto":
1591
- return {
1592
- signDisplay: "auto"
1593
- };
1594
- case "sign-accounting":
1595
- case "()":
1596
- return {
1597
- currencySign: "accounting"
1598
- };
1599
- case "sign-always":
1600
- case "+!":
1601
- return {
1602
- signDisplay: "always"
1603
- };
1604
- case "sign-accounting-always":
1605
- case "()!":
1606
- return {
1607
- signDisplay: "always",
1608
- currencySign: "accounting"
1609
- };
1610
- case "sign-except-zero":
1611
- case "+?":
1612
- return {
1613
- signDisplay: "exceptZero"
1614
- };
1615
- case "sign-accounting-except-zero":
1616
- case "()?":
1617
- return {
1618
- signDisplay: "exceptZero",
1619
- currencySign: "accounting"
1620
- };
1621
- case "sign-never":
1622
- case "+_":
1623
- return {
1624
- signDisplay: "never"
1625
- };
1626
- }
1627
- }
1628
- function Dn(e) {
1629
- var t;
1630
- if (e[0] === "E" && e[1] === "E" ? (t = {
1631
- notation: "engineering"
1632
- }, e = e.slice(2)) : e[0] === "E" && (t = {
1633
- notation: "scientific"
1634
- }, e = e.slice(1)), t) {
1635
- var r = e.slice(0, 2);
1636
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1637
- throw new Error("Malformed concise eng/scientific notation");
1638
- t.minimumIntegerDigits = e.length;
1639
- }
1640
- return t;
1641
- }
1642
- function vt(e) {
1643
- var t = {}, r = ur(e);
1644
- return r || t;
1645
- }
1646
- function Un(e) {
1647
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1648
- var i = n[r];
1649
- switch (i.stem) {
1650
- case "percent":
1651
- case "%":
1652
- t.style = "percent";
1653
- continue;
1654
- case "%x100":
1655
- t.style = "percent", t.scale = 100;
1656
- continue;
1657
- case "currency":
1658
- t.style = "currency", t.currency = i.options[0];
1659
- continue;
1660
- case "group-off":
1661
- case ",_":
1662
- t.useGrouping = !1;
1663
- continue;
1664
- case "precision-integer":
1665
- case ".":
1666
- t.maximumFractionDigits = 0;
1667
- continue;
1668
- case "measure-unit":
1669
- case "unit":
1670
- t.style = "unit", t.unit = Rn(i.options[0]);
1671
- continue;
1672
- case "compact-short":
1673
- case "K":
1674
- t.notation = "compact", t.compactDisplay = "short";
1675
- continue;
1676
- case "compact-long":
1677
- case "KK":
1678
- t.notation = "compact", t.compactDisplay = "long";
1679
- continue;
1680
- case "scientific":
1681
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1682
- return x(x({}, l), vt(u));
1683
- }, {}));
1684
- continue;
1685
- case "engineering":
1686
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1687
- return x(x({}, l), vt(u));
1688
- }, {}));
1689
- continue;
1690
- case "notation-simple":
1691
- t.notation = "standard";
1692
- continue;
1693
- case "unit-width-narrow":
1694
- t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1695
- continue;
1696
- case "unit-width-short":
1697
- t.currencyDisplay = "code", t.unitDisplay = "short";
1698
- continue;
1699
- case "unit-width-full-name":
1700
- t.currencyDisplay = "name", t.unitDisplay = "long";
1701
- continue;
1702
- case "unit-width-iso-code":
1703
- t.currencyDisplay = "symbol";
1704
- continue;
1705
- case "scale":
1706
- t.scale = parseFloat(i.options[0]);
1707
- continue;
1708
- case "rounding-mode-floor":
1709
- t.roundingMode = "floor";
1710
- continue;
1711
- case "rounding-mode-ceiling":
1712
- t.roundingMode = "ceil";
1713
- continue;
1714
- case "rounding-mode-down":
1715
- t.roundingMode = "trunc";
1716
- continue;
1717
- case "rounding-mode-up":
1718
- t.roundingMode = "expand";
1719
- continue;
1720
- case "rounding-mode-half-even":
1721
- t.roundingMode = "halfEven";
1722
- continue;
1723
- case "rounding-mode-half-down":
1724
- t.roundingMode = "halfTrunc";
1725
- continue;
1726
- case "rounding-mode-half-up":
1727
- t.roundingMode = "halfExpand";
1728
- continue;
1729
- case "integer-width":
1730
- if (i.options.length > 1)
1731
- throw new RangeError("integer-width stems only accept a single optional option");
1732
- i.options[0].replace($n, function(l, u, h, f, c, m) {
1733
- if (u)
1734
- t.minimumIntegerDigits = h.length;
1735
- else {
1736
- if (f && c)
1737
- throw new Error("We currently do not support maximum integer digits");
1738
- if (m)
1739
- throw new Error("We currently do not support exact integer digits");
1740
- }
1741
- return "";
1742
- });
1743
- continue;
1744
- }
1745
- if (ar.test(i.stem)) {
1746
- t.minimumIntegerDigits = i.stem.length;
1747
- continue;
1748
- }
1749
- if (gt.test(i.stem)) {
1750
- if (i.options.length > 1)
1751
- throw new RangeError("Fraction-precision stems only accept a single optional option");
1752
- i.stem.replace(gt, function(l, u, h, f, c, m) {
1753
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1754
- });
1755
- var o = i.options[0];
1756
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), _t(o)));
1757
- continue;
1758
- }
1759
- if (sr.test(i.stem)) {
1760
- t = x(x({}, t), _t(i.stem));
1761
- continue;
1762
- }
1763
- var a = ur(i.stem);
1764
- a && (t = x(x({}, t), a));
1765
- var s = Dn(i.stem);
1766
- s && (t = x(x({}, t), s));
1767
- }
1768
- return t;
1769
- }
1770
- var pe = {
1771
- "001": [
1772
- "H",
1773
- "h"
1774
- ],
1775
- 419: [
1776
- "h",
1777
- "H",
1778
- "hB",
1779
- "hb"
1780
- ],
1781
- AC: [
1782
- "H",
1783
- "h",
1784
- "hb",
1785
- "hB"
1786
- ],
1787
- AD: [
1788
- "H",
1789
- "hB"
1790
- ],
1791
- AE: [
1792
- "h",
1793
- "hB",
1794
- "hb",
1795
- "H"
1796
- ],
1797
- AF: [
1798
- "H",
1799
- "hb",
1800
- "hB",
1801
- "h"
1802
- ],
1803
- AG: [
1804
- "h",
1805
- "hb",
1806
- "H",
1807
- "hB"
1808
- ],
1809
- AI: [
1810
- "H",
1811
- "h",
1812
- "hb",
1813
- "hB"
1814
- ],
1815
- AL: [
1816
- "h",
1817
- "H",
1818
- "hB"
1819
- ],
1820
- AM: [
1821
- "H",
1822
- "hB"
1823
- ],
1824
- AO: [
1825
- "H",
1826
- "hB"
1827
- ],
1828
- AR: [
1829
- "h",
1830
- "H",
1831
- "hB",
1832
- "hb"
1833
- ],
1834
- AS: [
1835
- "h",
1836
- "H"
1837
- ],
1838
- AT: [
1839
- "H",
1840
- "hB"
1841
- ],
1842
- AU: [
1843
- "h",
1844
- "hb",
1845
- "H",
1846
- "hB"
1847
- ],
1848
- AW: [
1849
- "H",
1850
- "hB"
1851
- ],
1852
- AX: [
1853
- "H"
1854
- ],
1855
- AZ: [
1856
- "H",
1857
- "hB",
1858
- "h"
1859
- ],
1860
- BA: [
1861
- "H",
1862
- "hB",
1863
- "h"
1864
- ],
1865
- BB: [
1866
- "h",
1867
- "hb",
1868
- "H",
1869
- "hB"
1870
- ],
1871
- BD: [
1872
- "h",
1873
- "hB",
1874
- "H"
1875
- ],
1876
- BE: [
1877
- "H",
1878
- "hB"
1879
- ],
1880
- BF: [
1881
- "H",
1882
- "hB"
1883
- ],
1884
- BG: [
1885
- "H",
1886
- "hB",
1887
- "h"
1888
- ],
1889
- BH: [
1890
- "h",
1891
- "hB",
1892
- "hb",
1893
- "H"
1894
- ],
1895
- BI: [
1896
- "H",
1897
- "h"
1898
- ],
1899
- BJ: [
1900
- "H",
1901
- "hB"
1902
- ],
1903
- BL: [
1904
- "H",
1905
- "hB"
1906
- ],
1907
- BM: [
1908
- "h",
1909
- "hb",
1910
- "H",
1911
- "hB"
1912
- ],
1913
- BN: [
1914
- "hb",
1915
- "hB",
1916
- "h",
1917
- "H"
1918
- ],
1919
- BO: [
1920
- "h",
1921
- "H",
1922
- "hB",
1923
- "hb"
1924
- ],
1925
- BQ: [
1926
- "H"
1927
- ],
1928
- BR: [
1929
- "H",
1930
- "hB"
1931
- ],
1932
- BS: [
1933
- "h",
1934
- "hb",
1935
- "H",
1936
- "hB"
1937
- ],
1938
- BT: [
1939
- "h",
1940
- "H"
1941
- ],
1942
- BW: [
1943
- "H",
1944
- "h",
1945
- "hb",
1946
- "hB"
1947
- ],
1948
- BY: [
1949
- "H",
1950
- "h"
1951
- ],
1952
- BZ: [
1953
- "H",
1954
- "h",
1955
- "hb",
1956
- "hB"
1957
- ],
1958
- CA: [
1959
- "h",
1960
- "hb",
1961
- "H",
1962
- "hB"
1963
- ],
1964
- CC: [
1965
- "H",
1966
- "h",
1967
- "hb",
1968
- "hB"
1969
- ],
1970
- CD: [
1971
- "hB",
1972
- "H"
1973
- ],
1974
- CF: [
1975
- "H",
1976
- "h",
1977
- "hB"
1978
- ],
1979
- CG: [
1980
- "H",
1981
- "hB"
1982
- ],
1983
- CH: [
1984
- "H",
1985
- "hB",
1986
- "h"
1987
- ],
1988
- CI: [
1989
- "H",
1990
- "hB"
1991
- ],
1992
- CK: [
1993
- "H",
1994
- "h",
1995
- "hb",
1996
- "hB"
1997
- ],
1998
- CL: [
1999
- "h",
2000
- "H",
2001
- "hB",
2002
- "hb"
2003
- ],
2004
- CM: [
2005
- "H",
2006
- "h",
2007
- "hB"
2008
- ],
2009
- CN: [
2010
- "H",
2011
- "hB",
2012
- "hb",
2013
- "h"
2014
- ],
2015
- CO: [
2016
- "h",
2017
- "H",
2018
- "hB",
2019
- "hb"
2020
- ],
2021
- CP: [
2022
- "H"
2023
- ],
2024
- CR: [
2025
- "h",
2026
- "H",
2027
- "hB",
2028
- "hb"
2029
- ],
2030
- CU: [
2031
- "h",
2032
- "H",
2033
- "hB",
2034
- "hb"
2035
- ],
2036
- CV: [
2037
- "H",
2038
- "hB"
2039
- ],
2040
- CW: [
2041
- "H",
2042
- "hB"
2043
- ],
2044
- CX: [
2045
- "H",
2046
- "h",
2047
- "hb",
2048
- "hB"
2049
- ],
2050
- CY: [
2051
- "h",
2052
- "H",
2053
- "hb",
2054
- "hB"
2055
- ],
2056
- CZ: [
2057
- "H"
2058
- ],
2059
- DE: [
2060
- "H",
2061
- "hB"
2062
- ],
2063
- DG: [
2064
- "H",
2065
- "h",
2066
- "hb",
2067
- "hB"
2068
- ],
2069
- DJ: [
2070
- "h",
2071
- "H"
2072
- ],
2073
- DK: [
2074
- "H"
2075
- ],
2076
- DM: [
2077
- "h",
2078
- "hb",
2079
- "H",
2080
- "hB"
2081
- ],
2082
- DO: [
2083
- "h",
2084
- "H",
2085
- "hB",
2086
- "hb"
2087
- ],
2088
- DZ: [
2089
- "h",
2090
- "hB",
2091
- "hb",
2092
- "H"
2093
- ],
2094
- EA: [
2095
- "H",
2096
- "h",
2097
- "hB",
2098
- "hb"
2099
- ],
2100
- EC: [
2101
- "h",
2102
- "H",
2103
- "hB",
2104
- "hb"
2105
- ],
2106
- EE: [
2107
- "H",
2108
- "hB"
2109
- ],
2110
- EG: [
2111
- "h",
2112
- "hB",
2113
- "hb",
2114
- "H"
2115
- ],
2116
- EH: [
2117
- "h",
2118
- "hB",
2119
- "hb",
2120
- "H"
2121
- ],
2122
- ER: [
2123
- "h",
2124
- "H"
2125
- ],
2126
- ES: [
2127
- "H",
2128
- "hB",
2129
- "h",
2130
- "hb"
2131
- ],
2132
- ET: [
2133
- "hB",
2134
- "hb",
2135
- "h",
2136
- "H"
2137
- ],
2138
- FI: [
2139
- "H"
2140
- ],
2141
- FJ: [
2142
- "h",
2143
- "hb",
2144
- "H",
2145
- "hB"
2146
- ],
2147
- FK: [
2148
- "H",
2149
- "h",
2150
- "hb",
2151
- "hB"
2152
- ],
2153
- FM: [
2154
- "h",
2155
- "hb",
2156
- "H",
2157
- "hB"
2158
- ],
2159
- FO: [
2160
- "H",
2161
- "h"
2162
- ],
2163
- FR: [
2164
- "H",
2165
- "hB"
2166
- ],
2167
- GA: [
2168
- "H",
2169
- "hB"
2170
- ],
2171
- GB: [
2172
- "H",
2173
- "h",
2174
- "hb",
2175
- "hB"
2176
- ],
2177
- GD: [
2178
- "h",
2179
- "hb",
2180
- "H",
2181
- "hB"
2182
- ],
2183
- GE: [
2184
- "H",
2185
- "hB",
2186
- "h"
2187
- ],
2188
- GF: [
2189
- "H",
2190
- "hB"
2191
- ],
2192
- GG: [
2193
- "H",
2194
- "h",
2195
- "hb",
2196
- "hB"
2197
- ],
2198
- GH: [
2199
- "h",
2200
- "H"
2201
- ],
2202
- GI: [
2203
- "H",
2204
- "h",
2205
- "hb",
2206
- "hB"
2207
- ],
2208
- GL: [
2209
- "H",
2210
- "h"
2211
- ],
2212
- GM: [
2213
- "h",
2214
- "hb",
2215
- "H",
2216
- "hB"
2217
- ],
2218
- GN: [
2219
- "H",
2220
- "hB"
2221
- ],
2222
- GP: [
2223
- "H",
2224
- "hB"
2225
- ],
2226
- GQ: [
2227
- "H",
2228
- "hB",
2229
- "h",
2230
- "hb"
2231
- ],
2232
- GR: [
2233
- "h",
2234
- "H",
2235
- "hb",
2236
- "hB"
2237
- ],
2238
- GT: [
2239
- "h",
2240
- "H",
2241
- "hB",
2242
- "hb"
2243
- ],
2244
- GU: [
2245
- "h",
2246
- "hb",
2247
- "H",
2248
- "hB"
2249
- ],
2250
- GW: [
2251
- "H",
2252
- "hB"
2253
- ],
2254
- GY: [
2255
- "h",
2256
- "hb",
2257
- "H",
2258
- "hB"
2259
- ],
2260
- HK: [
2261
- "h",
2262
- "hB",
2263
- "hb",
2264
- "H"
2265
- ],
2266
- HN: [
2267
- "h",
2268
- "H",
2269
- "hB",
2270
- "hb"
2271
- ],
2272
- HR: [
2273
- "H",
2274
- "hB"
2275
- ],
2276
- HU: [
2277
- "H",
2278
- "h"
2279
- ],
2280
- IC: [
2281
- "H",
2282
- "h",
2283
- "hB",
2284
- "hb"
2285
- ],
2286
- ID: [
2287
- "H"
2288
- ],
2289
- IE: [
2290
- "H",
2291
- "h",
2292
- "hb",
2293
- "hB"
2294
- ],
2295
- IL: [
2296
- "H",
2297
- "hB"
2298
- ],
2299
- IM: [
2300
- "H",
2301
- "h",
2302
- "hb",
2303
- "hB"
2304
- ],
2305
- IN: [
2306
- "h",
2307
- "H"
2308
- ],
2309
- IO: [
2310
- "H",
2311
- "h",
2312
- "hb",
2313
- "hB"
2314
- ],
2315
- IQ: [
2316
- "h",
2317
- "hB",
2318
- "hb",
2319
- "H"
2320
- ],
2321
- IR: [
2322
- "hB",
2323
- "H"
2324
- ],
2325
- IS: [
2326
- "H"
2327
- ],
2328
- IT: [
2329
- "H",
2330
- "hB"
2331
- ],
2332
- JE: [
2333
- "H",
2334
- "h",
2335
- "hb",
2336
- "hB"
2337
- ],
2338
- JM: [
2339
- "h",
2340
- "hb",
2341
- "H",
2342
- "hB"
2343
- ],
2344
- JO: [
2345
- "h",
2346
- "hB",
2347
- "hb",
2348
- "H"
2349
- ],
2350
- JP: [
2351
- "H",
2352
- "K",
2353
- "h"
2354
- ],
2355
- KE: [
2356
- "hB",
2357
- "hb",
2358
- "H",
2359
- "h"
2360
- ],
2361
- KG: [
2362
- "H",
2363
- "h",
2364
- "hB",
2365
- "hb"
2366
- ],
2367
- KH: [
2368
- "hB",
2369
- "h",
2370
- "H",
2371
- "hb"
2372
- ],
2373
- KI: [
2374
- "h",
2375
- "hb",
2376
- "H",
2377
- "hB"
2378
- ],
2379
- KM: [
2380
- "H",
2381
- "h",
2382
- "hB",
2383
- "hb"
2384
- ],
2385
- KN: [
2386
- "h",
2387
- "hb",
2388
- "H",
2389
- "hB"
2390
- ],
2391
- KP: [
2392
- "h",
2393
- "H",
2394
- "hB",
2395
- "hb"
2396
- ],
2397
- KR: [
2398
- "h",
2399
- "H",
2400
- "hB",
2401
- "hb"
2402
- ],
2403
- KW: [
2404
- "h",
2405
- "hB",
2406
- "hb",
2407
- "H"
2408
- ],
2409
- KY: [
2410
- "h",
2411
- "hb",
2412
- "H",
2413
- "hB"
2414
- ],
2415
- KZ: [
2416
- "H",
2417
- "hB"
2418
- ],
2419
- LA: [
2420
- "H",
2421
- "hb",
2422
- "hB",
2423
- "h"
2424
- ],
2425
- LB: [
2426
- "h",
2427
- "hB",
2428
- "hb",
2429
- "H"
2430
- ],
2431
- LC: [
2432
- "h",
2433
- "hb",
2434
- "H",
2435
- "hB"
2436
- ],
2437
- LI: [
2438
- "H",
2439
- "hB",
2440
- "h"
2441
- ],
2442
- LK: [
2443
- "H",
2444
- "h",
2445
- "hB",
2446
- "hb"
2447
- ],
2448
- LR: [
2449
- "h",
2450
- "hb",
2451
- "H",
2452
- "hB"
2453
- ],
2454
- LS: [
2455
- "h",
2456
- "H"
2457
- ],
2458
- LT: [
2459
- "H",
2460
- "h",
2461
- "hb",
2462
- "hB"
2463
- ],
2464
- LU: [
2465
- "H",
2466
- "h",
2467
- "hB"
2468
- ],
2469
- LV: [
2470
- "H",
2471
- "hB",
2472
- "hb",
2473
- "h"
2474
- ],
2475
- LY: [
2476
- "h",
2477
- "hB",
2478
- "hb",
2479
- "H"
2480
- ],
2481
- MA: [
2482
- "H",
2483
- "h",
2484
- "hB",
2485
- "hb"
2486
- ],
2487
- MC: [
2488
- "H",
2489
- "hB"
2490
- ],
2491
- MD: [
2492
- "H",
2493
- "hB"
2494
- ],
2495
- ME: [
2496
- "H",
2497
- "hB",
2498
- "h"
2499
- ],
2500
- MF: [
2501
- "H",
2502
- "hB"
2503
- ],
2504
- MG: [
2505
- "H",
2506
- "h"
2507
- ],
2508
- MH: [
2509
- "h",
2510
- "hb",
2511
- "H",
2512
- "hB"
2513
- ],
2514
- MK: [
2515
- "H",
2516
- "h",
2517
- "hb",
2518
- "hB"
2519
- ],
2520
- ML: [
2521
- "H"
2522
- ],
2523
- MM: [
2524
- "hB",
2525
- "hb",
2526
- "H",
2527
- "h"
2528
- ],
2529
- MN: [
2530
- "H",
2531
- "h",
2532
- "hb",
2533
- "hB"
2534
- ],
2535
- MO: [
2536
- "h",
2537
- "hB",
2538
- "hb",
2539
- "H"
2540
- ],
2541
- MP: [
2542
- "h",
2543
- "hb",
2544
- "H",
2545
- "hB"
2546
- ],
2547
- MQ: [
2548
- "H",
2549
- "hB"
2550
- ],
2551
- MR: [
2552
- "h",
2553
- "hB",
2554
- "hb",
2555
- "H"
2556
- ],
2557
- MS: [
2558
- "H",
2559
- "h",
2560
- "hb",
2561
- "hB"
2562
- ],
2563
- MT: [
2564
- "H",
2565
- "h"
2566
- ],
2567
- MU: [
2568
- "H",
2569
- "h"
2570
- ],
2571
- MV: [
2572
- "H",
2573
- "h"
2574
- ],
2575
- MW: [
2576
- "h",
2577
- "hb",
2578
- "H",
2579
- "hB"
2580
- ],
2581
- MX: [
2582
- "h",
2583
- "H",
2584
- "hB",
2585
- "hb"
2586
- ],
2587
- MY: [
2588
- "hb",
2589
- "hB",
2590
- "h",
2591
- "H"
2592
- ],
2593
- MZ: [
2594
- "H",
2595
- "hB"
2596
- ],
2597
- NA: [
2598
- "h",
2599
- "H",
2600
- "hB",
2601
- "hb"
2602
- ],
2603
- NC: [
2604
- "H",
2605
- "hB"
2606
- ],
2607
- NE: [
2608
- "H"
2609
- ],
2610
- NF: [
2611
- "H",
2612
- "h",
2613
- "hb",
2614
- "hB"
2615
- ],
2616
- NG: [
2617
- "H",
2618
- "h",
2619
- "hb",
2620
- "hB"
2621
- ],
2622
- NI: [
2623
- "h",
2624
- "H",
2625
- "hB",
2626
- "hb"
2627
- ],
2628
- NL: [
2629
- "H",
2630
- "hB"
2631
- ],
2632
- NO: [
2633
- "H",
2634
- "h"
2635
- ],
2636
- NP: [
2637
- "H",
2638
- "h",
2639
- "hB"
2640
- ],
2641
- NR: [
2642
- "H",
2643
- "h",
2644
- "hb",
2645
- "hB"
2646
- ],
2647
- NU: [
2648
- "H",
2649
- "h",
2650
- "hb",
2651
- "hB"
2652
- ],
2653
- NZ: [
2654
- "h",
2655
- "hb",
2656
- "H",
2657
- "hB"
2658
- ],
2659
- OM: [
2660
- "h",
2661
- "hB",
2662
- "hb",
2663
- "H"
2664
- ],
2665
- PA: [
2666
- "h",
2667
- "H",
2668
- "hB",
2669
- "hb"
2670
- ],
2671
- PE: [
2672
- "h",
2673
- "H",
2674
- "hB",
2675
- "hb"
2676
- ],
2677
- PF: [
2678
- "H",
2679
- "h",
2680
- "hB"
2681
- ],
2682
- PG: [
2683
- "h",
2684
- "H"
2685
- ],
2686
- PH: [
2687
- "h",
2688
- "hB",
2689
- "hb",
2690
- "H"
2691
- ],
2692
- PK: [
2693
- "h",
2694
- "hB",
2695
- "H"
2696
- ],
2697
- PL: [
2698
- "H",
2699
- "h"
2700
- ],
2701
- PM: [
2702
- "H",
2703
- "hB"
2704
- ],
2705
- PN: [
2706
- "H",
2707
- "h",
2708
- "hb",
2709
- "hB"
2710
- ],
2711
- PR: [
2712
- "h",
2713
- "H",
2714
- "hB",
2715
- "hb"
2716
- ],
2717
- PS: [
2718
- "h",
2719
- "hB",
2720
- "hb",
2721
- "H"
2722
- ],
2723
- PT: [
2724
- "H",
2725
- "hB"
2726
- ],
2727
- PW: [
2728
- "h",
2729
- "H"
2730
- ],
2731
- PY: [
2732
- "h",
2733
- "H",
2734
- "hB",
2735
- "hb"
2736
- ],
2737
- QA: [
2738
- "h",
2739
- "hB",
2740
- "hb",
2741
- "H"
2742
- ],
2743
- RE: [
2744
- "H",
2745
- "hB"
2746
- ],
2747
- RO: [
2748
- "H",
2749
- "hB"
2750
- ],
2751
- RS: [
2752
- "H",
2753
- "hB",
2754
- "h"
2755
- ],
2756
- RU: [
2757
- "H"
2758
- ],
2759
- RW: [
2760
- "H",
2761
- "h"
2762
- ],
2763
- SA: [
2764
- "h",
2765
- "hB",
2766
- "hb",
2767
- "H"
2768
- ],
2769
- SB: [
2770
- "h",
2771
- "hb",
2772
- "H",
2773
- "hB"
2774
- ],
2775
- SC: [
2776
- "H",
2777
- "h",
2778
- "hB"
2779
- ],
2780
- SD: [
2781
- "h",
2782
- "hB",
2783
- "hb",
2784
- "H"
2785
- ],
2786
- SE: [
2787
- "H"
2788
- ],
2789
- SG: [
2790
- "h",
2791
- "hb",
2792
- "H",
2793
- "hB"
2794
- ],
2795
- SH: [
2796
- "H",
2797
- "h",
2798
- "hb",
2799
- "hB"
2800
- ],
2801
- SI: [
2802
- "H",
2803
- "hB"
2804
- ],
2805
- SJ: [
2806
- "H"
2807
- ],
2808
- SK: [
2809
- "H"
2810
- ],
2811
- SL: [
2812
- "h",
2813
- "hb",
2814
- "H",
2815
- "hB"
2816
- ],
2817
- SM: [
2818
- "H",
2819
- "h",
2820
- "hB"
2821
- ],
2822
- SN: [
2823
- "H",
2824
- "h",
2825
- "hB"
2826
- ],
2827
- SO: [
2828
- "h",
2829
- "H"
2830
- ],
2831
- SR: [
2832
- "H",
2833
- "hB"
2834
- ],
2835
- SS: [
2836
- "h",
2837
- "hb",
2838
- "H",
2839
- "hB"
2840
- ],
2841
- ST: [
2842
- "H",
2843
- "hB"
2844
- ],
2845
- SV: [
2846
- "h",
2847
- "H",
2848
- "hB",
2849
- "hb"
2850
- ],
2851
- SX: [
2852
- "H",
2853
- "h",
2854
- "hb",
2855
- "hB"
2856
- ],
2857
- SY: [
2858
- "h",
2859
- "hB",
2860
- "hb",
2861
- "H"
2862
- ],
2863
- SZ: [
2864
- "h",
2865
- "hb",
2866
- "H",
2867
- "hB"
2868
- ],
2869
- TA: [
2870
- "H",
2871
- "h",
2872
- "hb",
2873
- "hB"
2874
- ],
2875
- TC: [
2876
- "h",
2877
- "hb",
2878
- "H",
2879
- "hB"
2880
- ],
2881
- TD: [
2882
- "h",
2883
- "H",
2884
- "hB"
2885
- ],
2886
- TF: [
2887
- "H",
2888
- "h",
2889
- "hB"
2890
- ],
2891
- TG: [
2892
- "H",
2893
- "hB"
2894
- ],
2895
- TH: [
2896
- "H",
2897
- "h"
2898
- ],
2899
- TJ: [
2900
- "H",
2901
- "h"
2902
- ],
2903
- TL: [
2904
- "H",
2905
- "hB",
2906
- "hb",
2907
- "h"
2908
- ],
2909
- TM: [
2910
- "H",
2911
- "h"
2912
- ],
2913
- TN: [
2914
- "h",
2915
- "hB",
2916
- "hb",
2917
- "H"
2918
- ],
2919
- TO: [
2920
- "h",
2921
- "H"
2922
- ],
2923
- TR: [
2924
- "H",
2925
- "hB"
2926
- ],
2927
- TT: [
2928
- "h",
2929
- "hb",
2930
- "H",
2931
- "hB"
2932
- ],
2933
- TW: [
2934
- "hB",
2935
- "hb",
2936
- "h",
2937
- "H"
2938
- ],
2939
- TZ: [
2940
- "hB",
2941
- "hb",
2942
- "H",
2943
- "h"
2944
- ],
2945
- UA: [
2946
- "H",
2947
- "hB",
2948
- "h"
2949
- ],
2950
- UG: [
2951
- "hB",
2952
- "hb",
2953
- "H",
2954
- "h"
2955
- ],
2956
- UM: [
2957
- "h",
2958
- "hb",
2959
- "H",
2960
- "hB"
2961
- ],
2962
- US: [
2963
- "h",
2964
- "hb",
2965
- "H",
2966
- "hB"
2967
- ],
2968
- UY: [
2969
- "h",
2970
- "H",
2971
- "hB",
2972
- "hb"
2973
- ],
2974
- UZ: [
2975
- "H",
2976
- "hB",
2977
- "h"
2978
- ],
2979
- VA: [
2980
- "H",
2981
- "h",
2982
- "hB"
2983
- ],
2984
- VC: [
2985
- "h",
2986
- "hb",
2987
- "H",
2988
- "hB"
2989
- ],
2990
- VE: [
2991
- "h",
2992
- "H",
2993
- "hB",
2994
- "hb"
2995
- ],
2996
- VG: [
2997
- "h",
2998
- "hb",
2999
- "H",
3000
- "hB"
3001
- ],
3002
- VI: [
3003
- "h",
3004
- "hb",
3005
- "H",
3006
- "hB"
3007
- ],
3008
- VN: [
3009
- "H",
3010
- "h"
3011
- ],
3012
- VU: [
3013
- "h",
3014
- "H"
3015
- ],
3016
- WF: [
3017
- "H",
3018
- "hB"
3019
- ],
3020
- WS: [
3021
- "h",
3022
- "H"
3023
- ],
3024
- XK: [
3025
- "H",
3026
- "hB",
3027
- "h"
3028
- ],
3029
- YE: [
3030
- "h",
3031
- "hB",
3032
- "hb",
3033
- "H"
3034
- ],
3035
- YT: [
3036
- "H",
3037
- "hB"
3038
- ],
3039
- ZA: [
3040
- "H",
3041
- "h",
3042
- "hb",
3043
- "hB"
3044
- ],
3045
- ZM: [
3046
- "h",
3047
- "hb",
3048
- "H",
3049
- "hB"
3050
- ],
3051
- ZW: [
3052
- "H",
3053
- "h"
3054
- ],
3055
- "af-ZA": [
3056
- "H",
3057
- "h",
3058
- "hB",
3059
- "hb"
3060
- ],
3061
- "ar-001": [
3062
- "h",
3063
- "hB",
3064
- "hb",
3065
- "H"
3066
- ],
3067
- "ca-ES": [
3068
- "H",
3069
- "h",
3070
- "hB"
3071
- ],
3072
- "en-001": [
3073
- "h",
3074
- "hb",
3075
- "H",
3076
- "hB"
3077
- ],
3078
- "en-HK": [
3079
- "h",
3080
- "hb",
3081
- "H",
3082
- "hB"
3083
- ],
3084
- "en-IL": [
3085
- "H",
3086
- "h",
3087
- "hb",
3088
- "hB"
3089
- ],
3090
- "en-MY": [
3091
- "h",
3092
- "hb",
3093
- "H",
3094
- "hB"
3095
- ],
3096
- "es-BR": [
3097
- "H",
3098
- "h",
3099
- "hB",
3100
- "hb"
3101
- ],
3102
- "es-ES": [
3103
- "H",
3104
- "h",
3105
- "hB",
3106
- "hb"
3107
- ],
3108
- "es-GQ": [
3109
- "H",
3110
- "h",
3111
- "hB",
3112
- "hb"
3113
- ],
3114
- "fr-CA": [
3115
- "H",
3116
- "h",
3117
- "hB"
3118
- ],
3119
- "gl-ES": [
3120
- "H",
3121
- "h",
3122
- "hB"
3123
- ],
3124
- "gu-IN": [
3125
- "hB",
3126
- "hb",
3127
- "h",
3128
- "H"
3129
- ],
3130
- "hi-IN": [
3131
- "hB",
3132
- "h",
3133
- "H"
3134
- ],
3135
- "it-CH": [
3136
- "H",
3137
- "h",
3138
- "hB"
3139
- ],
3140
- "it-IT": [
3141
- "H",
3142
- "h",
3143
- "hB"
3144
- ],
3145
- "kn-IN": [
3146
- "hB",
3147
- "h",
3148
- "H"
3149
- ],
3150
- "ml-IN": [
3151
- "hB",
3152
- "h",
3153
- "H"
3154
- ],
3155
- "mr-IN": [
3156
- "hB",
3157
- "hb",
3158
- "h",
3159
- "H"
3160
- ],
3161
- "pa-IN": [
3162
- "hB",
3163
- "hb",
3164
- "h",
3165
- "H"
3166
- ],
3167
- "ta-IN": [
3168
- "hB",
3169
- "h",
3170
- "hb",
3171
- "H"
3172
- ],
3173
- "te-IN": [
3174
- "hB",
3175
- "h",
3176
- "H"
3177
- ],
3178
- "zu-ZA": [
3179
- "H",
3180
- "hB",
3181
- "hb",
3182
- "h"
3183
- ]
3184
- };
3185
- function Gn(e, t) {
3186
- for (var r = "", n = 0; n < e.length; n++) {
3187
- var i = e.charAt(n);
3188
- if (i === "j") {
3189
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3190
- o++, n++;
3191
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
3192
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3193
- r += l;
3194
- for (; a-- > 0; )
3195
- r = u + r;
3196
- } else
3197
- i === "J" ? r += "H" : r += i;
3198
- }
3199
- return r;
3200
- }
3201
- function Fn(e) {
3202
- var t = e.hourCycle;
3203
- if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3204
- e.hourCycles && // @ts-ignore
3205
- e.hourCycles.length && (t = e.hourCycles[0]), t)
3206
- switch (t) {
3207
- case "h24":
3208
- return "k";
3209
- case "h23":
3210
- return "H";
3211
- case "h12":
3212
- return "h";
3213
- case "h11":
3214
- return "K";
3215
- default:
3216
- throw new Error("Invalid hourCycle");
3217
- }
3218
- var r = e.language, n;
3219
- r !== "root" && (n = e.maximize().region);
3220
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3221
- return i[0];
3222
- }
3223
- var Re, jn = new RegExp("^".concat(or.source, "*")), kn = new RegExp("".concat(or.source, "*$"));
3224
- function _(e, t) {
3225
- return { start: e, end: t };
3226
- }
3227
- var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xn = !!String.fromCodePoint, Wn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, qn = Jn ? Number.isSafeInteger : function(e) {
3228
- return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3229
- }, Je = !0;
3230
- try {
3231
- var Yn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3232
- Je = ((Re = Yn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3233
- } catch {
3234
- Je = !1;
3235
- }
3236
- var Et = Vn ? (
3237
- // Native
3238
- function(t, r, n) {
3239
- return t.startsWith(r, n);
3240
- }
3241
- ) : (
3242
- // For IE11
3243
- function(t, r, n) {
3244
- return t.slice(n, n + r.length) === r;
3245
- }
3246
- ), qe = Xn ? String.fromCodePoint : (
3247
- // IE11
3248
- function() {
3249
- for (var t = [], r = 0; r < arguments.length; r++)
3250
- t[r] = arguments[r];
3251
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3252
- if (a = t[o++], a > 1114111)
3253
- throw RangeError(a + " is not a valid code point");
3254
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3255
- }
3256
- return n;
3257
- }
3258
- ), xt = (
3259
- // native
3260
- Wn ? Object.fromEntries : (
3261
- // Ponyfill
3262
- function(t) {
3263
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
3264
- var o = i[n], a = o[0], s = o[1];
3265
- r[a] = s;
3266
- }
3267
- return r;
3268
- }
3269
- )
3270
- ), lr = zn ? (
3271
- // Native
3272
- function(t, r) {
3273
- return t.codePointAt(r);
3274
- }
3275
- ) : (
3276
- // IE 11
3277
- function(t, r) {
3278
- var n = t.length;
3279
- if (!(r < 0 || r >= n)) {
3280
- var i = t.charCodeAt(r), o;
3281
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3282
- }
3283
- }
3284
- ), Kn = Zn ? (
3285
- // Native
3286
- function(t) {
3287
- return t.trimStart();
3288
- }
3289
- ) : (
3290
- // Ponyfill
3291
- function(t) {
3292
- return t.replace(jn, "");
3293
- }
3294
- ), ei = Qn ? (
3295
- // Native
3296
- function(t) {
3297
- return t.trimEnd();
3298
- }
3299
- ) : (
3300
- // Ponyfill
3301
- function(t) {
3302
- return t.replace(kn, "");
3303
- }
3304
- );
3305
- function hr(e, t) {
3306
- return new RegExp(e, t);
3307
- }
3308
- var Ye;
3309
- if (Je) {
3310
- var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3311
- Ye = function(t, r) {
3312
- var n;
3313
- St.lastIndex = r;
3314
- var i = St.exec(t);
3315
- return (n = i[1]) !== null && n !== void 0 ? n : "";
3316
- };
3317
- } else
3318
- Ye = function(t, r) {
3319
- for (var n = []; ; ) {
3320
- var i = lr(t, r);
3321
- if (i === void 0 || cr(i) || ii(i))
3322
- break;
3323
- n.push(i), r += i >= 65536 ? 2 : 1;
3324
- }
3325
- return qe.apply(void 0, n);
3326
- };
3327
- var ti = (
3328
- /** @class */
3329
- function() {
3330
- function e(t, r) {
3331
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3332
- }
3333
- return e.prototype.parse = function() {
3334
- if (this.offset() !== 0)
3335
- throw Error("parser can only be used once");
3336
- return this.parseMessage(0, "", !1);
3337
- }, e.prototype.parseMessage = function(t, r, n) {
3338
- for (var i = []; !this.isEOF(); ) {
3339
- var o = this.char();
3340
- if (o === 123) {
3341
- var a = this.parseArgument(t, n);
3342
- if (a.err)
3343
- return a;
3344
- i.push(a.val);
3345
- } else {
3346
- if (o === 125 && t > 0)
3347
- break;
3348
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3349
- var s = this.clonePosition();
3350
- this.bump(), i.push({
3351
- type: v.pound,
3352
- location: _(s, this.clonePosition())
3353
- });
3354
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3355
- if (n)
3356
- break;
3357
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3358
- } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3359
- var a = this.parseTag(t, r);
3360
- if (a.err)
3361
- return a;
3362
- i.push(a.val);
3363
- } else {
3364
- var a = this.parseLiteral(t, r);
3365
- if (a.err)
3366
- return a;
3367
- i.push(a.val);
3368
- }
3369
- }
3370
- }
3371
- return { val: i, err: null };
3372
- }, e.prototype.parseTag = function(t, r) {
3373
- var n = this.clonePosition();
3374
- this.bump();
3375
- var i = this.parseTagName();
3376
- if (this.bumpSpace(), this.bumpIf("/>"))
3377
- return {
3378
- val: {
3379
- type: v.literal,
3380
- value: "<".concat(i, "/>"),
3381
- location: _(n, this.clonePosition())
3382
- },
3383
- err: null
3384
- };
3385
- if (this.bumpIf(">")) {
3386
- var o = this.parseMessage(t + 1, r, !0);
3387
- if (o.err)
3388
- return o;
3389
- var a = o.val, s = this.clonePosition();
3390
- if (this.bumpIf("</")) {
3391
- if (this.isEOF() || !Ke(this.char()))
3392
- return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
3393
- var l = this.clonePosition(), u = this.parseTagName();
3394
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3395
- val: {
3396
- type: v.tag,
3397
- value: i,
3398
- children: a,
3399
- location: _(n, this.clonePosition())
3400
- },
3401
- err: null
3402
- } : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
3403
- } else
3404
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3405
- } else
3406
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3407
- }, e.prototype.parseTagName = function() {
3408
- var t = this.offset();
3409
- for (this.bump(); !this.isEOF() && ni(this.char()); )
3410
- this.bump();
3411
- return this.message.slice(t, this.offset());
3412
- }, e.prototype.parseLiteral = function(t, r) {
3413
- for (var n = this.clonePosition(), i = ""; ; ) {
3414
- var o = this.tryParseQuote(r);
3415
- if (o) {
3416
- i += o;
3417
- continue;
3418
- }
3419
- var a = this.tryParseUnquoted(t, r);
3420
- if (a) {
3421
- i += a;
3422
- continue;
3423
- }
3424
- var s = this.tryParseLeftAngleBracket();
3425
- if (s) {
3426
- i += s;
3427
- continue;
3428
- }
3429
- break;
3430
- }
3431
- var l = _(n, this.clonePosition());
3432
- return {
3433
- val: { type: v.literal, value: i, location: l },
3434
- err: null
3435
- };
3436
- }, e.prototype.tryParseLeftAngleBracket = function() {
3437
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3438
- !ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3439
- }, e.prototype.tryParseQuote = function(t) {
3440
- if (this.isEOF() || this.char() !== 39)
3441
- return null;
3442
- switch (this.peek()) {
3443
- case 39:
3444
- return this.bump(), this.bump(), "'";
3445
- case 123:
3446
- case 60:
3447
- case 62:
3448
- case 125:
3449
- break;
3450
- case 35:
3451
- if (t === "plural" || t === "selectordinal")
3452
- break;
3453
- return null;
3454
- default:
3455
- return null;
3456
- }
3457
- this.bump();
3458
- var r = [this.char()];
3459
- for (this.bump(); !this.isEOF(); ) {
3460
- var n = this.char();
3461
- if (n === 39)
3462
- if (this.peek() === 39)
3463
- r.push(39), this.bump();
3464
- else {
3465
- this.bump();
3466
- break;
3467
- }
3468
- else
3469
- r.push(n);
3470
- this.bump();
3471
- }
3472
- return qe.apply(void 0, r);
3473
- }, e.prototype.tryParseUnquoted = function(t, r) {
3474
- if (this.isEOF())
3475
- return null;
3476
- var n = this.char();
3477
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3478
- }, e.prototype.parseArgument = function(t, r) {
3479
- var n = this.clonePosition();
3480
- if (this.bump(), this.bumpSpace(), this.isEOF())
3481
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3482
- if (this.char() === 125)
3483
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3484
- var i = this.parseIdentifierIfPossible().value;
3485
- if (!i)
3486
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3487
- if (this.bumpSpace(), this.isEOF())
3488
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3489
- switch (this.char()) {
3490
- case 125:
3491
- return this.bump(), {
3492
- val: {
3493
- type: v.argument,
3494
- // value does not include the opening and closing braces.
3495
- value: i,
3496
- location: _(n, this.clonePosition())
3497
- },
3498
- err: null
3499
- };
3500
- case 44:
3501
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3502
- default:
3503
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3504
- }
3505
- }, e.prototype.parseIdentifierIfPossible = function() {
3506
- var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3507
- this.bumpTo(i);
3508
- var o = this.clonePosition(), a = _(t, o);
3509
- return { value: n, location: a };
3510
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3511
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3512
- switch (s) {
3513
- case "":
3514
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
3515
- case "number":
3516
- case "date":
3517
- case "time": {
3518
- this.bumpSpace();
3519
- var u = null;
3520
- if (this.bumpIf(",")) {
3521
- this.bumpSpace();
3522
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3523
- if (f.err)
3524
- return f;
3525
- var c = ei(f.val);
3526
- if (c.length === 0)
3527
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3528
- var m = _(h, this.clonePosition());
3529
- u = { style: c, styleLocation: m };
3530
- }
3531
- var b = this.tryParseArgumentClose(i);
3532
- if (b.err)
3533
- return b;
3534
- var g = _(i, this.clonePosition());
3535
- if (u && Et(u?.style, "::", 0)) {
3536
- var S = Kn(u.style.slice(2));
3537
- if (s === "number") {
3538
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3539
- return f.err ? f : {
3540
- val: { type: v.number, value: n, location: g, style: f.val },
3541
- err: null
3542
- };
3543
- } else {
3544
- if (S.length === 0)
3545
- return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3546
- var A = S;
3547
- this.locale && (A = Gn(S, this.locale));
3548
- var c = {
3549
- type: K.dateTime,
3550
- pattern: A,
3551
- location: u.styleLocation,
3552
- parsedOptions: this.shouldParseSkeletons ? Nn(A) : {}
3553
- }, H = s === "date" ? v.date : v.time;
3554
- return {
3555
- val: { type: H, value: n, location: g, style: c },
3556
- err: null
3557
- };
3558
- }
3559
- }
3560
- return {
3561
- val: {
3562
- type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3563
- value: n,
3564
- location: g,
3565
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3566
- },
3567
- err: null
3568
- };
3569
- }
3570
- case "plural":
3571
- case "selectordinal":
3572
- case "select": {
3573
- var w = this.clonePosition();
3574
- if (this.bumpSpace(), !this.bumpIf(","))
3575
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, ve({}, w)));
3576
- this.bumpSpace();
3577
- var N = this.parseIdentifierIfPossible(), O = 0;
3578
- if (s !== "select" && N.value === "offset") {
3579
- if (!this.bumpIf(":"))
3580
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3581
- this.bumpSpace();
3582
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3583
- if (f.err)
3584
- return f;
3585
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = f.val;
3586
- }
3587
- var C = this.tryParsePluralOrSelectOptions(t, s, r, N);
3588
- if (C.err)
3589
- return C;
3590
- var b = this.tryParseArgumentClose(i);
3591
- if (b.err)
3592
- return b;
3593
- var E = _(i, this.clonePosition());
3594
- return s === "select" ? {
3595
- val: {
3596
- type: v.select,
3597
- value: n,
3598
- options: xt(C.val),
3599
- location: E
3600
- },
3601
- err: null
3602
- } : {
3603
- val: {
3604
- type: v.plural,
3605
- value: n,
3606
- options: xt(C.val),
3607
- offset: O,
3608
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3609
- location: E
3610
- },
3611
- err: null
3612
- };
3613
- }
3614
- default:
3615
- return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
3616
- }
3617
- }, e.prototype.tryParseArgumentClose = function(t) {
3618
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3619
- }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3620
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3621
- var n = this.char();
3622
- switch (n) {
3623
- case 39: {
3624
- this.bump();
3625
- var i = this.clonePosition();
3626
- if (!this.bumpUntil("'"))
3627
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3628
- this.bump();
3629
- break;
3630
- }
3631
- case 123: {
3632
- t += 1, this.bump();
3633
- break;
3634
- }
3635
- case 125: {
3636
- if (t > 0)
3637
- t -= 1;
3638
- else
3639
- return {
3640
- val: this.message.slice(r.offset, this.offset()),
3641
- err: null
3642
- };
3643
- break;
3644
- }
3645
- default:
3646
- this.bump();
3647
- break;
3648
- }
3649
- }
3650
- return {
3651
- val: this.message.slice(r.offset, this.offset()),
3652
- err: null
3653
- };
3654
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3655
- var n = [];
3656
- try {
3657
- n = Mn(t);
3658
- } catch {
3659
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3660
- }
3661
- return {
3662
- val: {
3663
- type: K.number,
3664
- tokens: n,
3665
- location: r,
3666
- parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3667
- },
3668
- err: null
3669
- };
3670
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3671
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3672
- if (u.length === 0) {
3673
- var f = this.clonePosition();
3674
- if (r !== "select" && this.bumpIf("=")) {
3675
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3676
- if (c.err)
3677
- return c;
3678
- h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3679
- } else
3680
- break;
3681
- }
3682
- if (l.has(u))
3683
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3684
- u === "other" && (a = !0), this.bumpSpace();
3685
- var m = this.clonePosition();
3686
- if (!this.bumpIf("{"))
3687
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3688
- var b = this.parseMessage(t + 1, r, n);
3689
- if (b.err)
3690
- return b;
3691
- var g = this.tryParseArgumentClose(m);
3692
- if (g.err)
3693
- return g;
3694
- s.push([
3695
- u,
3696
- {
3697
- value: b.val,
3698
- location: _(m, this.clonePosition())
3699
- }
3700
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3701
- }
3702
- 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 };
3703
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3704
- var n = 1, i = this.clonePosition();
3705
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3706
- for (var o = !1, a = 0; !this.isEOF(); ) {
3707
- var s = this.char();
3708
- if (s >= 48 && s <= 57)
3709
- o = !0, a = a * 10 + (s - 48), this.bump();
3710
- else
3711
- break;
3712
- }
3713
- var l = _(i, this.clonePosition());
3714
- return o ? (a *= n, qn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3715
- }, e.prototype.offset = function() {
3716
- return this.position.offset;
3717
- }, e.prototype.isEOF = function() {
3718
- return this.offset() === this.message.length;
3719
- }, e.prototype.clonePosition = function() {
3720
- return {
3721
- offset: this.position.offset,
3722
- line: this.position.line,
3723
- column: this.position.column
3724
- };
3725
- }, e.prototype.char = function() {
3726
- var t = this.position.offset;
3727
- if (t >= this.message.length)
3728
- throw Error("out of bound");
3729
- var r = lr(this.message, t);
3730
- if (r === void 0)
3731
- throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3732
- return r;
3733
- }, e.prototype.error = function(t, r) {
3734
- return {
3735
- val: null,
3736
- err: {
3737
- kind: t,
3738
- message: this.message,
3739
- location: r
3740
- }
3741
- };
3742
- }, e.prototype.bump = function() {
3743
- if (!this.isEOF()) {
3744
- var t = this.char();
3745
- 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);
3746
- }
3747
- }, e.prototype.bumpIf = function(t) {
3748
- if (Et(this.message, t, this.offset())) {
3749
- for (var r = 0; r < t.length; r++)
3750
- this.bump();
3751
- return !0;
3752
- }
3753
- return !1;
3754
- }, e.prototype.bumpUntil = function(t) {
3755
- var r = this.offset(), n = this.message.indexOf(t, r);
3756
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3757
- }, e.prototype.bumpTo = function(t) {
3758
- if (this.offset() > t)
3759
- throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3760
- for (t = Math.min(t, this.message.length); ; ) {
3761
- var r = this.offset();
3762
- if (r === t)
3763
- break;
3764
- if (r > t)
3765
- throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3766
- if (this.bump(), this.isEOF())
3767
- break;
3768
- }
3769
- }, e.prototype.bumpSpace = function() {
3770
- for (; !this.isEOF() && cr(this.char()); )
3771
- this.bump();
3772
- }, e.prototype.peek = function() {
3773
- if (this.isEOF())
3774
- return null;
3775
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3776
- return n ?? null;
3777
- }, e;
3778
- }()
3779
- );
3780
- function Ke(e) {
3781
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3782
- }
3783
- function ri(e) {
3784
- return Ke(e) || e === 47;
3785
- }
3786
- function ni(e) {
3787
- 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;
3788
- }
3789
- function cr(e) {
3790
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3791
- }
3792
- function ii(e) {
3793
- 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;
3794
- }
3795
- function et(e) {
3796
- e.forEach(function(t) {
3797
- if (delete t.location, tr(t) || rr(t))
3798
- for (var r in t.options)
3799
- delete t.options[r].location, et(t.options[r].value);
3800
- else
3801
- Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
3802
- });
3803
- }
3804
- function oi(e, t) {
3805
- t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3806
- var r = new ti(e, t).parse();
3807
- if (r.err) {
3808
- var n = SyntaxError(y[r.err.kind]);
3809
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3810
- }
3811
- return t?.captureLocation || et(r.val), r.val;
3812
- }
3813
- var ee;
3814
- (function(e) {
3815
- e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3816
- })(ee || (ee = {}));
3817
- var Pe = (
3818
- /** @class */
3819
- function(e) {
3820
- Be(t, e);
3821
- function t(r, n, i) {
3822
- var o = e.call(this, r) || this;
3823
- return o.code = n, o.originalMessage = i, o;
3824
- }
3825
- return t.prototype.toString = function() {
3826
- return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3827
- }, t;
3828
- }(Error)
3829
- ), wt = (
3830
- /** @class */
3831
- function(e) {
3832
- Be(t, e);
3833
- function t(r, n, i, o) {
3834
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3835
- }
3836
- return t;
3837
- }(Pe)
3838
- ), si = (
3839
- /** @class */
3840
- function(e) {
3841
- Be(t, e);
3842
- function t(r, n, i) {
3843
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3844
- }
3845
- return t;
3846
- }(Pe)
3847
- ), ai = (
3848
- /** @class */
3849
- function(e) {
3850
- Be(t, e);
3851
- function t(r, n) {
3852
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3853
- }
3854
- return t;
3855
- }(Pe)
3856
- ), T;
3857
- (function(e) {
3858
- e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3859
- })(T || (T = {}));
3860
- function ui(e) {
3861
- return e.length < 2 ? e : e.reduce(function(t, r) {
3862
- var n = t[t.length - 1];
3863
- return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3864
- }, []);
3865
- }
3866
- function li(e) {
3867
- return typeof e == "function";
3868
- }
3869
- function ge(e, t, r, n, i, o, a) {
3870
- if (e.length === 1 && yt(e[0]))
3871
- return [
3872
- {
3873
- type: T.literal,
3874
- value: e[0].value
3875
- }
3876
- ];
3877
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3878
- var h = u[l];
3879
- if (yt(h)) {
3880
- s.push({
3881
- type: T.literal,
3882
- value: h.value
3883
- });
3884
- continue;
3885
- }
3886
- if (In(h)) {
3887
- typeof o == "number" && s.push({
3888
- type: T.literal,
3889
- value: r.getNumberFormat(t).format(o)
3890
- });
3891
- continue;
3892
- }
3893
- var f = h.value;
3894
- if (!(i && f in i))
3895
- throw new ai(f, a);
3896
- var c = i[f];
3897
- if (On(h)) {
3898
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3899
- type: typeof c == "string" ? T.literal : T.object,
3900
- value: c
3901
- });
3902
- continue;
3903
- }
3904
- if (Kt(h)) {
3905
- var m = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3906
- s.push({
3907
- type: T.literal,
3908
- value: r.getDateTimeFormat(t, m).format(c)
3909
- });
3910
- continue;
3911
- }
3912
- if (er(h)) {
3913
- var m = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3914
- s.push({
3915
- type: T.literal,
3916
- value: r.getDateTimeFormat(t, m).format(c)
3917
- });
3918
- continue;
3919
- }
3920
- if (Yt(h)) {
3921
- var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3922
- m && m.scale && (c = c * (m.scale || 1)), s.push({
3923
- type: T.literal,
3924
- value: r.getNumberFormat(t, m).format(c)
3925
- });
3926
- continue;
3927
- }
3928
- if (nr(h)) {
3929
- var b = h.children, g = h.value, S = i[g];
3930
- if (!li(S))
3931
- throw new si(g, "function", a);
3932
- var A = ge(b, t, r, n, i, o), H = S(A.map(function(O) {
3933
- return O.value;
3934
- }));
3935
- Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(O) {
3936
- return {
3937
- type: typeof O == "string" ? T.literal : T.object,
3938
- value: O
3939
- };
3940
- }));
3941
- }
3942
- if (tr(h)) {
3943
- var w = h.options[c] || h.options.other;
3944
- if (!w)
3945
- throw new wt(h.value, c, Object.keys(h.options), a);
3946
- s.push.apply(s, ge(w.value, t, r, n, i));
3947
- continue;
3948
- }
3949
- if (rr(h)) {
3950
- var w = h.options["=".concat(c)];
3951
- if (!w) {
3952
- if (!Intl.PluralRules)
3953
- throw new Pe(`Intl.PluralRules is not available in this environment.
3954
- Try polyfilling it using "@formatjs/intl-pluralrules"
3955
- `, ee.MISSING_INTL_API, a);
3956
- var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3957
- w = h.options[N] || h.options.other;
3958
- }
3959
- if (!w)
3960
- throw new wt(h.value, c, Object.keys(h.options), a);
3961
- s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3962
- continue;
3963
- }
3964
- }
3965
- return ui(s);
3966
- }
3967
- function hi(e, t) {
3968
- return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3969
- return r[n] = R(R({}, e[n]), t[n] || {}), r;
3970
- }, {})) : e;
3971
- }
3972
- function ci(e, t) {
3973
- return t ? Object.keys(e).reduce(function(r, n) {
3974
- return r[n] = hi(e[n], t[n]), r;
3975
- }, R({}, e)) : e;
3976
- }
3977
- function $e(e) {
3978
- return {
3979
- create: function() {
3980
- return {
3981
- get: function(t) {
3982
- return e[t];
3983
- },
3984
- set: function(t, r) {
3985
- e[t] = r;
3986
- }
3987
- };
3988
- }
3989
- };
3990
- }
3991
- function fi(e) {
3992
- return e === void 0 && (e = {
3993
- number: {},
3994
- dateTime: {},
3995
- pluralRules: {}
3996
- }), {
3997
- getNumberFormat: Ce(function() {
3998
- for (var t, r = [], n = 0; n < arguments.length; n++)
3999
- r[n] = arguments[n];
4000
- return new ((t = Intl.NumberFormat).bind.apply(t, Ne([void 0], r, !1)))();
4001
- }, {
4002
- cache: $e(e.number),
4003
- strategy: Me.variadic
4004
- }),
4005
- getDateTimeFormat: Ce(function() {
4006
- for (var t, r = [], n = 0; n < arguments.length; n++)
4007
- r[n] = arguments[n];
4008
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ne([void 0], r, !1)))();
4009
- }, {
4010
- cache: $e(e.dateTime),
4011
- strategy: Me.variadic
4012
- }),
4013
- getPluralRules: Ce(function() {
4014
- for (var t, r = [], n = 0; n < arguments.length; n++)
4015
- r[n] = arguments[n];
4016
- return new ((t = Intl.PluralRules).bind.apply(t, Ne([void 0], r, !1)))();
4017
- }, {
4018
- cache: $e(e.pluralRules),
4019
- strategy: Me.variadic
4020
- })
4021
- };
4022
- }
4023
- var di = (
4024
- /** @class */
4025
- function() {
4026
- function e(t, r, n, i) {
4027
- r === void 0 && (r = e.defaultLocale);
4028
- var o = this;
4029
- if (this.formatterCache = {
4030
- number: {},
4031
- dateTime: {},
4032
- pluralRules: {}
4033
- }, this.format = function(l) {
4034
- var u = o.formatToParts(l);
4035
- if (u.length === 1)
4036
- return u[0].value;
4037
- var h = u.reduce(function(f, c) {
4038
- return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4039
- }, []);
4040
- return h.length <= 1 ? h[0] || "" : h;
4041
- }, this.formatToParts = function(l) {
4042
- return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4043
- }, this.resolvedOptions = function() {
4044
- var l;
4045
- return {
4046
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4047
- };
4048
- }, this.getAst = function() {
4049
- return o.ast;
4050
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4051
- if (this.message = t, !e.__parse)
4052
- throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4053
- var a = i || {};
4054
- a.formatters;
4055
- var s = xn(a, ["formatters"]);
4056
- this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
4057
- } else
4058
- this.ast = t;
4059
- if (!Array.isArray(this.ast))
4060
- throw new TypeError("A message must be provided as a String or AST.");
4061
- this.formats = ci(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
4062
- }
4063
- return Object.defineProperty(e, "defaultLocale", {
4064
- get: function() {
4065
- return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
4066
- },
4067
- enumerable: !1,
4068
- configurable: !0
4069
- }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4070
- if (!(typeof Intl.Locale > "u")) {
4071
- var r = Intl.NumberFormat.supportedLocalesOf(t);
4072
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4073
- }
4074
- }, e.__parse = oi, e.formats = {
4075
- number: {
4076
- integer: {
4077
- maximumFractionDigits: 0
4078
- },
4079
- currency: {
4080
- style: "currency"
4081
- },
4082
- percent: {
4083
- style: "percent"
4084
- }
4085
- },
4086
- date: {
4087
- short: {
4088
- month: "numeric",
4089
- day: "numeric",
4090
- year: "2-digit"
4091
- },
4092
- medium: {
4093
- month: "short",
4094
- day: "numeric",
4095
- year: "numeric"
4096
- },
4097
- long: {
4098
- month: "long",
4099
- day: "numeric",
4100
- year: "numeric"
4101
- },
4102
- full: {
4103
- weekday: "long",
4104
- month: "long",
4105
- day: "numeric",
4106
- year: "numeric"
4107
- }
4108
- },
4109
- time: {
4110
- short: {
4111
- hour: "numeric",
4112
- minute: "numeric"
4113
- },
4114
- medium: {
4115
- hour: "numeric",
4116
- minute: "numeric",
4117
- second: "numeric"
4118
- },
4119
- long: {
4120
- hour: "numeric",
4121
- minute: "numeric",
4122
- second: "numeric",
4123
- timeZoneName: "short"
4124
- },
4125
- full: {
4126
- hour: "numeric",
4127
- minute: "numeric",
4128
- second: "numeric",
4129
- timeZoneName: "short"
4130
- }
4131
- }
4132
- }, e;
4133
- }()
4134
- );
4135
- function pi(e, t) {
4136
- if (t == null)
4137
- return;
4138
- if (t in e)
4139
- return e[t];
4140
- const r = t.split(".");
4141
- let n = e;
4142
- for (let i = 0; i < r.length; i++)
4143
- if (typeof n == "object") {
4144
- if (i > 0) {
4145
- const o = r.slice(i, r.length).join(".");
4146
- if (o in n) {
4147
- n = n[o];
4148
- break;
4149
- }
4150
- }
4151
- n = n[r[i]];
4152
- } else
4153
- n = void 0;
4154
- return n;
4155
- }
4156
- const F = {}, mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
4157
- if (t == null)
4158
- return;
4159
- if (t in F && e in F[t])
4160
- return F[t][e];
4161
- const r = Ae(t);
4162
- for (let n = 0; n < r.length; n++) {
4163
- const i = r[n], o = yi(i, e);
4164
- if (o)
4165
- return mi(e, t, o);
4166
- }
4167
- };
4168
- let it;
4169
- const ce = He({});
4170
- function bi(e) {
4171
- return it[e] || null;
4172
- }
4173
- function dr(e) {
4174
- return e in it;
4175
- }
4176
- function yi(e, t) {
4177
- if (!dr(e))
4178
- return null;
4179
- const r = bi(e);
4180
- return pi(r, t);
4181
- }
4182
- function gi(e) {
4183
- if (e == null)
4184
- return;
4185
- const t = Ae(e);
4186
- for (let r = 0; r < t.length; r++) {
4187
- const n = t[r];
4188
- if (dr(n))
4189
- return n;
4190
- }
4191
- }
4192
- function pr(e, ...t) {
4193
- delete F[e], ce.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
4194
- }
4195
- re(
4196
- [ce],
4197
- ([e]) => Object.keys(e)
4198
- );
4199
- ce.subscribe((e) => it = e);
4200
- const _e = {};
4201
- function _i(e, t) {
4202
- _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4203
- }
4204
- function mr(e) {
4205
- return _e[e];
4206
- }
4207
- function vi(e) {
4208
- return Ae(e).map((t) => {
4209
- const r = mr(t);
4210
- return [t, r ? [...r] : []];
4211
- }).filter(([, t]) => t.length > 0);
4212
- }
4213
- function tt(e) {
4214
- return e == null ? !1 : Ae(e).some(
4215
- (t) => {
4216
- var r;
4217
- return (r = mr(t)) == null ? void 0 : r.size;
4218
- }
4219
- );
4220
- }
4221
- function Ei(e, t) {
4222
- return Promise.all(
4223
- t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
4224
- ).then((n) => pr(e, ...n));
4225
- }
4226
- const oe = {};
4227
- function br(e) {
4228
- if (!tt(e))
4229
- return e in oe ? oe[e] : Promise.resolve();
4230
- const t = vi(e);
4231
- return oe[e] = Promise.all(
4232
- t.map(
4233
- ([r, n]) => Ei(r, n)
4234
- )
4235
- ).then(() => {
4236
- if (tt(e))
4237
- return br(e);
4238
- delete oe[e];
4239
- }), oe[e];
4240
- }
4241
- const xi = {
4242
- number: {
4243
- scientific: { notation: "scientific" },
4244
- engineering: { notation: "engineering" },
4245
- compactLong: { notation: "compact", compactDisplay: "long" },
4246
- compactShort: { notation: "compact", compactDisplay: "short" }
4247
- },
4248
- date: {
4249
- short: { month: "numeric", day: "numeric", year: "2-digit" },
4250
- medium: { month: "short", day: "numeric", year: "numeric" },
4251
- long: { month: "long", day: "numeric", year: "numeric" },
4252
- full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
4253
- },
4254
- time: {
4255
- short: { hour: "numeric", minute: "numeric" },
4256
- medium: { hour: "numeric", minute: "numeric", second: "numeric" },
4257
- long: {
4258
- hour: "numeric",
4259
- minute: "numeric",
4260
- second: "numeric",
4261
- timeZoneName: "short"
4262
- },
4263
- full: {
4264
- hour: "numeric",
4265
- minute: "numeric",
4266
- second: "numeric",
4267
- timeZoneName: "short"
4268
- }
4269
- }
4270
- }, Si = {
4271
- fallbackLocale: null,
4272
- loadingDelay: 200,
4273
- formats: xi,
4274
- warnOnMissingMessages: !0,
4275
- handleMissingMessage: void 0,
4276
- ignoreTag: !0
4277
- }, wi = Si;
4278
- function te() {
4279
- return wi;
4280
- }
4281
- const De = He(!1);
4282
- 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) => {
4283
- for (var r in t || (t = {}))
4284
- Pi.call(t, r) && Ht(e, r, t[r]);
4285
- if (Tt)
4286
- for (var r of Tt(t))
4287
- Ai.call(t, r) && Ht(e, r, t[r]);
4288
- return e;
4289
- }, Ii = (e, t) => Hi(e, Bi(t));
4290
- let rt;
4291
- const Ee = He(null);
4292
- function Bt(e) {
4293
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4294
- }
4295
- function Ae(e, t = te().fallbackLocale) {
4296
- const r = Bt(e);
4297
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4298
- }
4299
- function W() {
4300
- return rt ?? void 0;
4301
- }
4302
- Ee.subscribe((e) => {
4303
- rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4304
- });
4305
- const Li = (e) => {
4306
- if (e && gi(e) && tt(e)) {
4307
- const { loadingDelay: t } = te();
4308
- let r;
4309
- return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4310
- () => De.set(!0),
4311
- t
4312
- ) : De.set(!0), br(e).then(() => {
4313
- Ee.set(e);
4314
- }).finally(() => {
4315
- clearTimeout(r), De.set(!1);
4316
- });
4317
- }
4318
- return Ee.set(e);
4319
- }, ne = Ii(Oi({}, Ee), {
4320
- set: Li
4321
- }), Oe = (e) => {
4322
- const t = /* @__PURE__ */ Object.create(null);
4323
- return (n) => {
4324
- const i = JSON.stringify(n);
4325
- return i in t ? t[i] : t[i] = e(n);
4326
- };
4327
- };
4328
- var Ni = Object.defineProperty, xe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4329
- for (var r in t || (t = {}))
4330
- yr.call(t, r) && Pt(e, r, t[r]);
4331
- if (xe)
4332
- for (var r of xe(t))
4333
- gr.call(t, r) && Pt(e, r, t[r]);
4334
- return e;
4335
- }, ie = (e, t) => {
4336
- var r = {};
4337
- for (var n in e)
4338
- yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4339
- if (e != null && xe)
4340
- for (var n of xe(e))
4341
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4342
- return r;
4343
- };
4344
- const le = (e, t) => {
4345
- const { formats: r } = te();
4346
- if (e in r && t in r[e])
4347
- return r[e][t];
4348
- throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4349
- }, Ci = Oe(
4350
- (e) => {
4351
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4352
- if (r == null)
4353
- throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4354
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4355
- }
4356
- ), Mi = Oe(
4357
- (e) => {
4358
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4359
- if (r == null)
4360
- throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4361
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4362
- }
4363
- ), Ri = Oe(
4364
- (e) => {
4365
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4366
- if (r == null)
4367
- throw new Error(
4368
- '[svelte-i18n] A "locale" must be set to format time values'
4369
- );
4370
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4371
- }
4372
- ), $i = (e = {}) => {
4373
- var t = e, {
4374
- locale: r = W()
4375
- } = t, n = ie(t, [
4376
- "locale"
4377
- ]);
4378
- return Ci(ot({ locale: r }, n));
4379
- }, Di = (e = {}) => {
4380
- var t = e, {
4381
- locale: r = W()
4382
- } = t, n = ie(t, [
4383
- "locale"
4384
- ]);
4385
- return Mi(ot({ locale: r }, n));
4386
- }, Ui = (e = {}) => {
4387
- var t = e, {
4388
- locale: r = W()
4389
- } = t, n = ie(t, [
4390
- "locale"
4391
- ]);
4392
- return Ri(ot({ locale: r }, n));
4393
- }, Gi = Oe(
4394
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4395
- (e, t = W()) => new di(e, t, te().formats, {
4396
- ignoreTag: te().ignoreTag
4397
- })
4398
- ), Fi = (e, t = {}) => {
4399
- var r, n, i, o;
4400
- let a = t;
4401
- typeof e == "object" && (a = e, e = a.id);
4402
- const {
4403
- values: s,
4404
- locale: l = W(),
4405
- default: u
4406
- } = a;
4407
- if (l == null)
4408
- throw new Error(
4409
- "[svelte-i18n] Cannot format a message without first setting the initial locale."
4410
- );
4411
- let h = fr(e, l);
4412
- if (!h)
4413
- h = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4414
- else if (typeof h != "string")
4415
- return console.warn(
4416
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4417
- ), h;
4418
- if (!s)
4419
- return h;
4420
- let f = h;
4421
- try {
4422
- f = Gi(h, l).format(s);
4423
- } catch (c) {
4424
- c instanceof Error && console.warn(
4425
- `[svelte-i18n] Message "${e}" has syntax error:`,
4426
- c.message
4427
- );
4428
- }
4429
- return f;
4430
- }, ji = (e, t) => Ui(t).format(e), ki = (e, t) => Di(t).format(e), Vi = (e, t) => $i(t).format(e), Xi = (e, t = W()) => fr(e, t), Wi = re([ne, ce], () => Fi);
4431
- re([ne], () => ji);
4432
- re([ne], () => ki);
4433
- re([ne], () => Vi);
4434
- re([ne, ce], () => Xi);
4435
- window.emWidgets = { topic: nn };
4436
- const _r = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4437
- function Bo(e, t) {
4438
- const r = window.navigator.userAgent;
4439
- return _r(r) ? t = e.filter((n) => {
4440
- if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4441
- return n;
4442
- }) : t = e.filter((n) => {
4443
- if (n.gameModel && n.gameModel.platform.includes("PC"))
4444
- return n;
4445
- }), t;
4446
- }
4447
- String(Number.MAX_SAFE_INTEGER).length;
4448
- function Zi(e, t) {
4449
- if (e) {
4450
- const r = document.createElement("style");
4451
- r.innerHTML = t, e.appendChild(r);
4452
- }
4453
- }
4454
- function Qi(e, t) {
4455
- if (!e || !t)
4456
- return;
4457
- const r = new URL(t);
4458
- fetch(r.href).then((n) => n.text()).then((n) => {
4459
- const i = document.createElement("style");
4460
- i.innerHTML = n, e && e.appendChild(i);
4461
- }).catch((n) => {
4462
- console.error("There was an error while trying to load client styling from URL", n);
4463
- });
4464
- }
4465
- function Ji(e, t, r) {
4466
- if (window.emMessageBus) {
4467
- const n = document.createElement("style");
4468
- window.emMessageBus.subscribe(t, (i) => {
4469
- n.innerHTML = i, e && e.appendChild(n);
4470
- });
4471
- }
4472
- }
4473
- function At(e, t) {
4474
- pr(e, t);
4475
- }
4476
- function qi(e) {
4477
- ne.set(e);
4478
- }
4479
- const Ot = {
4480
- en: {
4481
- error: "500 Error - Internal Server Error"
4482
- },
4483
- hr: {
4484
- error: "500 Error - Internal Server Error"
4485
- },
4486
- "pt-br": {
4487
- error: "500 Error - Internal Server Error"
4488
- },
4489
- "es-mx": {
4490
- error: "500 Error - Internal Server Error"
4491
- },
4492
- tr: {
4493
- error: "500 Error - Internal Server Error"
4494
- },
4495
- "en-us": {
4496
- error: "500 Error - Internal Server Error"
4497
- }
4498
- };
4499
- function Yi(e) {
4500
- wr(e, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-5u3c97{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-5u3c97{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-5u3c97{display:block;width:80px;height:80px;margin:0 auto
4501
- }.LoadingSpinner.svelte-5u3c97:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-5u3c97-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5u3c97-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4502
- }
4503
- function It(e, t, r) {
4504
- const n = e.slice();
4505
- return n[26] = t[r], n[28] = r, n;
4506
- }
4507
- function Ki(e) {
4508
- let t, r, n, i = ut(
4509
- /*calendarCollections*/
4510
- e[6]
4511
- ), o = [];
4512
- for (let s = 0; s < i.length; s += 1)
4513
- o[s] = Lt(It(e, i, s));
4514
- let a = (
4515
- /*calendarModalOpened*/
4516
- e[11] == !0 && Nt(e)
4517
- );
4518
- return {
4519
- c() {
4520
- t = $("div");
4521
- for (let s = 0; s < o.length; s += 1)
4522
- o[s].c();
4523
- r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4524
- (e[10] ? "Mobile" : "") + " svelte-5u3c97");
4525
- },
4526
- m(s, l) {
4527
- k(s, t, l);
4528
- for (let u = 0; u < o.length; u += 1)
4529
- o[u] && o[u].m(t, null);
4530
- we(t, r), a && a.m(t, null);
4531
- },
4532
- p(s, l) {
4533
- if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4534
- 95) {
4535
- i = ut(
4536
- /*calendarCollections*/
4537
- s[6]
4538
- );
4539
- let u;
4540
- for (u = 0; u < i.length; u += 1) {
4541
- const h = It(s, i, u);
4542
- o[u] ? o[u].p(h, l) : (o[u] = Lt(h), o[u].c(), o[u].m(t, r));
4543
- }
4544
- for (; u < o.length; u += 1)
4545
- o[u].d(1);
4546
- o.length = i.length;
4547
- }
4548
- /*calendarModalOpened*/
4549
- s[11] == !0 ? a ? a.p(s, l) : (a = Nt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4550
- 1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4551
- (s[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
4552
- },
4553
- d(s) {
4554
- s && U(t), Br(o, s), a && a.d();
4555
- }
4556
- };
4557
- }
4558
- function eo(e) {
4559
- let t;
4560
- return {
4561
- c() {
4562
- t = $("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
4563
- },
4564
- m(r, n) {
4565
- k(r, t, n);
4566
- },
4567
- p: P,
4568
- d(r) {
4569
- r && U(t);
4570
- }
4571
- };
4572
- }
4573
- function to(e) {
4574
- let t, r = (
4575
- /*$_*/
4576
- e[12]("error") + ""
4577
- ), n;
4578
- return {
4579
- c() {
4580
- t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-5u3c97");
4581
- },
4582
- m(i, o) {
4583
- k(i, t, o), we(t, n);
4584
- },
4585
- p(i, o) {
4586
- o & /*$_*/
4587
- 4096 && r !== (r = /*$_*/
4588
- i[12]("error") + "") && Ir(n, r);
4589
- },
4590
- d(i) {
4591
- i && U(t);
4592
- }
4593
- };
4594
- }
4595
- function Lt(e) {
4596
- let t, r, n, i, o, a;
4597
- return {
4598
- c() {
4599
- t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4600
- e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4601
- e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4602
- e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
4603
- e[26].dailyDescription), d(t, "dailybuttontitle", a = /*dailyCalendarData*/
4604
- e[26].dailyButtonTitle), d(
4605
- t,
4606
- "index",
4607
- /*index*/
4608
- e[28]
4609
- ), d(
4610
- t,
4611
- "lang",
4612
- /*lang*/
4613
- e[0]
4614
- ), d(
4615
- t,
4616
- "clientstyling",
4617
- /*clientstyling*/
4618
- e[1]
4619
- ), d(
4620
- t,
4621
- "clientstylingurl",
4622
- /*clientstylingurl*/
4623
- e[2]
4624
- ), d(
4625
- t,
4626
- "mbsource",
4627
- /*mbsource*/
4628
- e[4]
4629
- ), d(
4630
- t,
4631
- "translationurl",
4632
- /*translationurl*/
4633
- e[3]
4634
- ), d(t, "class", "svelte-5u3c97");
4635
- },
4636
- m(s, l) {
4637
- k(s, t, l);
4638
- },
4639
- p(s, l) {
4640
- l & /*calendarCollections*/
4641
- 64 && r !== (r = /*dailyCalendarData*/
4642
- s[26].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4643
- 64 && n !== (n = /*dailyCalendarData*/
4644
- s[26].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4645
- 64 && i !== (i = /*dailyCalendarData*/
4646
- s[26].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4647
- 64 && o !== (o = /*dailyCalendarData*/
4648
- s[26].dailyDescription) && d(t, "dailydescription", o), l & /*calendarCollections*/
4649
- 64 && a !== (a = /*dailyCalendarData*/
4650
- s[26].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
4651
- 1 && d(
4652
- t,
4653
- "lang",
4654
- /*lang*/
4655
- s[0]
4656
- ), l & /*clientstyling*/
4657
- 2 && d(
4658
- t,
4659
- "clientstyling",
4660
- /*clientstyling*/
4661
- s[1]
4662
- ), l & /*clientstylingurl*/
4663
- 4 && d(
4664
- t,
4665
- "clientstylingurl",
4666
- /*clientstylingurl*/
4667
- s[2]
4668
- ), l & /*mbsource*/
4669
- 16 && d(
4670
- t,
4671
- "mbsource",
4672
- /*mbsource*/
4673
- s[4]
4674
- ), l & /*translationurl*/
4675
- 8 && d(
4676
- t,
4677
- "translationurl",
4678
- /*translationurl*/
4679
- s[3]
4680
- );
4681
- },
4682
- d(s) {
4683
- s && U(t);
4684
- }
4685
- };
4686
- }
4687
- function Nt(e) {
4688
- let t, r, n, i, o, a, s, l;
4689
- return {
4690
- c() {
4691
- t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4692
- e[6][
4693
- /*selectedIndex*/
4694
- e[7]
4695
- ].dailyBackground), d(r, "dailybuttontitle", i = /*calendarCollections*/
4696
- e[6][
4697
- /*selectedIndex*/
4698
- e[7]
4699
- ].dailyButtonTitle), d(r, "dailyday", o = /*calendarCollections*/
4700
- e[6][
4701
- /*selectedIndex*/
4702
- e[7]
4703
- ].dailyDay), d(r, "dailydescription", a = /*calendarCollections*/
4704
- e[6][
4705
- /*selectedIndex*/
4706
- e[7]
4707
- ].dailyDescription), d(r, "dailyicon", s = /*calendarCollections*/
4708
- e[6][
4709
- /*selectedIndex*/
4710
- e[7]
4711
- ].dailyIcon), d(r, "dailytitle", l = /*calendarCollections*/
4712
- e[6][
4713
- /*selectedIndex*/
4714
- e[7]
4715
- ].dailyTitle), d(
4716
- r,
4717
- "lang",
4718
- /*lang*/
4719
- e[0]
4720
- ), d(
4721
- r,
4722
- "clientstyling",
4723
- /*clientstyling*/
4724
- e[1]
4725
- ), d(
4726
- r,
4727
- "clientstylingurl",
4728
- /*clientstylingurl*/
4729
- e[2]
4730
- ), d(
4731
- r,
4732
- "mbsource",
4733
- /*mbsource*/
4734
- e[4]
4735
- ), d(
4736
- r,
4737
- "translationurl",
4738
- /*translationurl*/
4739
- e[3]
4740
- ), d(r, "class", "svelte-5u3c97"), j(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
4741
- },
4742
- m(u, h) {
4743
- k(u, t, h), we(t, r);
4744
- },
4745
- p(u, h) {
4746
- h & /*calendarCollections, selectedIndex*/
4747
- 192 && n !== (n = /*calendarCollections*/
4748
- u[6][
4749
- /*selectedIndex*/
4750
- u[7]
4751
- ].dailyBackground) && d(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4752
- 192 && i !== (i = /*calendarCollections*/
4753
- u[6][
4754
- /*selectedIndex*/
4755
- u[7]
4756
- ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4757
- 192 && o !== (o = /*calendarCollections*/
4758
- u[6][
4759
- /*selectedIndex*/
4760
- u[7]
4761
- ].dailyDay) && d(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4762
- 192 && a !== (a = /*calendarCollections*/
4763
- u[6][
4764
- /*selectedIndex*/
4765
- u[7]
4766
- ].dailyDescription) && d(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4767
- 192 && s !== (s = /*calendarCollections*/
4768
- u[6][
4769
- /*selectedIndex*/
4770
- u[7]
4771
- ].dailyIcon) && d(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4772
- 192 && l !== (l = /*calendarCollections*/
4773
- u[6][
4774
- /*selectedIndex*/
4775
- u[7]
4776
- ].dailyTitle) && d(r, "dailytitle", l), h & /*lang*/
4777
- 1 && d(
4778
- r,
4779
- "lang",
4780
- /*lang*/
4781
- u[0]
4782
- ), h & /*clientstyling*/
4783
- 2 && d(
4784
- r,
4785
- "clientstyling",
4786
- /*clientstyling*/
4787
- u[1]
4788
- ), h & /*clientstylingurl*/
4789
- 4 && d(
4790
- r,
4791
- "clientstylingurl",
4792
- /*clientstylingurl*/
4793
- u[2]
4794
- ), h & /*mbsource*/
4795
- 16 && d(
4796
- r,
4797
- "mbsource",
4798
- /*mbsource*/
4799
- u[4]
4800
- ), h & /*translationurl*/
4801
- 8 && d(
4802
- r,
4803
- "translationurl",
4804
- /*translationurl*/
4805
- u[3]
4806
- );
4807
- },
4808
- d(u) {
4809
- u && U(t);
4810
- }
4811
- };
4812
- }
4813
- function ro(e) {
4814
- let t;
4815
- function r(o, a) {
4816
- if (
4817
- /*hasErrors*/
4818
- o[9]
4819
- )
4820
- return to;
4821
- if (
4822
- /*isLoading*/
4823
- o[8]
4824
- )
4825
- return eo;
4826
- if (
4827
- /*calendarCollections*/
4828
- o[6]?.length
4829
- )
4830
- return Ki;
4831
- }
4832
- let n = r(e), i = n && n(e);
4833
- return {
4834
- c() {
4835
- t = $("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
4836
- },
4837
- m(o, a) {
4838
- k(o, t, a), i && i.m(t, null), e[16](t);
4839
- },
4840
- p(o, [a]) {
4841
- n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4842
- },
4843
- i: P,
4844
- o: P,
4845
- d(o) {
4846
- o && U(t), i && i.d(), e[16](null);
4847
- }
4848
- };
4849
- }
4850
- function no(e, t, r) {
4851
- let n;
4852
- Sr(e, Wi, (p) => r(12, n = p));
4853
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, A = !1, H = window.navigator.userAgent, w = !1;
4854
- const N = () => {
4855
- qi(s);
4856
- };
4857
- Object.keys(Ot).forEach((p) => {
4858
- At(p, Ot[p]);
4859
- });
4860
- const O = () => {
4861
- let p = h;
4862
- if (p)
4863
- return fetch(p).then((L) => L.json()).then((L) => {
4864
- Object.keys(L).forEach((G) => {
4865
- At(G, L[G]);
4866
- });
4867
- }).catch((L) => {
4868
- console.log(L);
4869
- });
4870
- }, C = () => {
4871
- r(8, g = !0);
4872
- let p = new URL(`${i}/${s}/daily-calendar`);
4873
- p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4874
- let L = zi(H);
4875
- L && (L === "PC" ? p.searchParams.append("device", "dk") : L === "iPad" || L === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
4876
- r(6, m = G);
4877
- }).catch((G) => {
4878
- console.log(G), r(9, S = !0);
4879
- }).finally(() => {
4880
- E(), r(8, g = !1);
4881
- });
4882
- }, E = () => {
4883
- const p = c.getRootNode().host;
4884
- p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4885
- }, I = () => {
4886
- C();
4887
- }, B = (p) => {
4888
- p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
4889
- {
4890
- type: "ShowModal",
4891
- selectedIndex: b,
4892
- identifier: "Calendar"
4893
- },
4894
- window.location.href
4895
- ), window.postMessage({
4896
- type: "DailyEventsData",
4897
- data: m[b]?.dailyEvents
4898
- })), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
4899
- };
4900
- Nr(() => (window.addEventListener("message", B, !1), _r(H) && r(10, A = !0), () => {
4901
- window.removeEventListener("message", B);
4902
- }));
4903
- function z(p) {
4904
- Ue[p ? "unshift" : "push"](() => {
4905
- c = p, r(5, c);
4906
- });
4907
- }
4908
- return e.$$set = (p) => {
4909
- "cmsendpoint" in p && r(13, i = p.cmsendpoint), "env" in p && r(14, o = p.env), "userroles" in p && r(15, a = p.userroles), "lang" in p && r(0, s = p.lang), "clientstyling" in p && r(1, l = p.clientstyling), "clientstylingurl" in p && r(2, u = p.clientstylingurl), "translationurl" in p && r(3, h = p.translationurl), "mbsource" in p && r(4, f = p.mbsource);
4910
- }, e.$$.update = () => {
4911
- e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4912
- 57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4913
- 34 && l && c && Zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4914
- 36 && u && c && Qi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4915
- 48 && c && Ji(c, `${f}.Style`), e.$$.dirty & /*lang*/
4916
- 1 && s && N(), e.$$.dirty & /*lang, translationurl*/
4917
- 9 && s && h && O();
4918
- }, [
4919
- s,
4920
- l,
4921
- u,
4922
- h,
4923
- f,
4924
- c,
4925
- m,
4926
- b,
4927
- g,
4928
- S,
4929
- A,
4930
- w,
4931
- n,
4932
- i,
4933
- o,
4934
- a,
4935
- z
4936
- ];
4937
- }
4938
- class vr extends jr {
4939
- constructor(t) {
4940
- super(), Gr(
4941
- this,
4942
- t,
4943
- no,
4944
- ro,
4945
- Mt,
4946
- {
4947
- cmsendpoint: 13,
4948
- env: 14,
4949
- userroles: 15,
4950
- lang: 0,
4951
- clientstyling: 1,
4952
- clientstylingurl: 2,
4953
- translationurl: 3,
4954
- mbsource: 4
4955
- },
4956
- Yi
4957
- );
4958
- }
4959
- get cmsendpoint() {
4960
- return this.$$.ctx[13];
4961
- }
4962
- set cmsendpoint(t) {
4963
- this.$$set({ cmsendpoint: t }), M();
4964
- }
4965
- get env() {
4966
- return this.$$.ctx[14];
4967
- }
4968
- set env(t) {
4969
- this.$$set({ env: t }), M();
4970
- }
4971
- get userroles() {
4972
- return this.$$.ctx[15];
4973
- }
4974
- set userroles(t) {
4975
- this.$$set({ userroles: t }), M();
4976
- }
4977
- get lang() {
4978
- return this.$$.ctx[0];
4979
- }
4980
- set lang(t) {
4981
- this.$$set({ lang: t }), M();
4982
- }
4983
- get clientstyling() {
4984
- return this.$$.ctx[1];
4985
- }
4986
- set clientstyling(t) {
4987
- this.$$set({ clientstyling: t }), M();
4988
- }
4989
- get clientstylingurl() {
4990
- return this.$$.ctx[2];
4991
- }
4992
- set clientstylingurl(t) {
4993
- this.$$set({ clientstylingurl: t }), M();
4994
- }
4995
- get translationurl() {
4996
- return this.$$.ctx[3];
4997
- }
4998
- set translationurl(t) {
4999
- this.$$set({ translationurl: t }), M();
5000
- }
5001
- get mbsource() {
5002
- return this.$$.ctx[4];
5003
- }
5004
- set mbsource(t) {
5005
- this.$$set({ mbsource: t }), M();
5006
- }
5007
- }
5008
- Fr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5009
- const Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5010
- __proto__: null,
5011
- default: vr
5012
- }, Symbol.toStringTag, { value: "Module" }));
5013
- export {
5014
- ne as $,
5015
- uo as A,
5016
- po as B,
5017
- Ar as C,
5018
- Ue as D,
5019
- so as E,
5020
- d as F,
5021
- Pr as G,
5022
- yo as H,
5023
- Zi as I,
5024
- Qi as J,
5025
- Ji as K,
5026
- Fr as L,
5027
- X as M,
5028
- mo as N,
5029
- ce as O,
5030
- zi as P,
5031
- bo as Q,
5032
- go as R,
5033
- jr as S,
5034
- fo as T,
5035
- _o as U,
5036
- Eo as V,
5037
- vo as W,
5038
- Bo as X,
5039
- Ho as Y,
5040
- wo as Z,
5041
- co as _,
5042
- pr as a,
5043
- To as a0,
5044
- Se as a1,
5045
- Po as a2,
5046
- wr as b,
5047
- Ft as c,
5048
- U as d,
5049
- So as e,
5050
- M as f,
5051
- xo as g,
5052
- k as h,
5053
- Gr as i,
5054
- $ as j,
5055
- Sr as k,
5056
- Wi as l,
5057
- _r as m,
5058
- P as n,
5059
- Nr as o,
5060
- Ir as p,
5061
- we as q,
5062
- nt as r,
5063
- Mt as s,
5064
- Rr as t,
5065
- j as u,
5066
- ao as v,
5067
- ut as w,
5068
- Br as x,
5069
- lo as y,
5070
- ho as z
5071
- };