@everymatrix/player-account-controller-nd 1.87.26 → 1.87.27

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