@everymatrix/player-account-controller 1.87.26 → 1.87.28

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