@everymatrix/player-account-controller 1.55.0 → 1.56.1

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