@everymatrix/player-account-controller 1.56.1 → 1.56.2

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