@abtnode/blocklet-services 1.17.3-beta-20251126-121502-d0926972 → 1.17.3-beta-20251128-095123-a76cb6bc

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 (238) hide show
  1. package/api/routes/oauth/client.js +11 -1
  2. package/api/routes/user.js +23 -3
  3. package/api/services/auth/connect/gen-access-key.js +1 -0
  4. package/api/services/auth/connect/verify-destroy.js +32 -31
  5. package/api/services/auth/connect/verify-elevated.js +1 -0
  6. package/api/services/notification/queue.js +34 -7
  7. package/api/util/user-util.js +48 -0
  8. package/dist/assets/{AdapterDayjs-B2uxdBcK.js → AdapterDayjs-OZNn2tpO.js} +1 -1
  9. package/dist/assets/{Google-mmkrFmA4.js → Google-PoHjNVzr.js} +1 -1
  10. package/dist/assets/{access-control-BsrYt8sR.js → access-control-2f5ZUYvn.js} +1 -1
  11. package/dist/assets/actions-CIp6hu8_.js +1 -0
  12. package/dist/assets/{add-component-core-DdA5-pKs.js → add-component-core-C8wP5DXr.js} +35 -35
  13. package/dist/assets/add-resource-D-X1I5_V.js +1 -0
  14. package/dist/assets/{addon-DMnO8VZk.js → addon-DWBAL8PD.js} +2 -2
  15. package/dist/assets/{advanced-D4bpKYrU.js → advanced-l0XvYXrR.js} +2 -2
  16. package/dist/assets/{aigne-BKYy4lDi.js → aigne-CsKyE9Oj.js} +1 -1
  17. package/dist/assets/api-DIucIOLX.js +1 -0
  18. package/dist/assets/{appearance-CoZeiSDb.js → appearance-CDE_5zqq.js} +1 -1
  19. package/dist/assets/{ar-Dz5bxvSE.js → ar-BJZY7v5z.js} +2 -2
  20. package/dist/assets/{arrow-down.svg-arX2hS9A.js → arrow-down.svg-C5rjQJG2.js} +1 -1
  21. package/dist/assets/{audit-logs-Tol8dkkk.js → audit-logs-CvWoJqnE.js} +2 -2
  22. package/dist/assets/{authorize-Bma44S9y.js → authorize-CgqsMeVu.js} +1 -1
  23. package/dist/assets/{base-chart-Gh7OtL-d.js → base-chart-DvlyWvB2.js} +1 -1
  24. package/dist/assets/{base32-HmSqZ9zU.js → base32-AX-I0UaR.js} +1 -1
  25. package/dist/assets/bind-account-C_93rOKB.js +1 -0
  26. package/dist/assets/{branding-CnmWjFbu.js → branding-C56V2vpD.js} +1 -1
  27. package/dist/assets/branding-D-5p5wha.js +1 -0
  28. package/dist/assets/{branding-Fj3LseIw.js → branding-MYLazJOV.js} +5 -5
  29. package/dist/assets/{bundle-avatar-CeDsDt5-.js → bundle-avatar-BdQv8P8t.js} +1 -1
  30. package/dist/assets/button-8Nchte_6.js +1 -0
  31. package/dist/assets/click-to-copy-DZ_4RDjR.js +1 -0
  32. package/dist/assets/{cloneDeep-D_9o-MDF.js → cloneDeep-B7kH4W7U.js} +1 -1
  33. package/dist/assets/{collapse-BlkBpbz3.js → collapse-CHg4yEHL.js} +1 -1
  34. package/dist/assets/{complete-DetpIm2X.js → complete-BSud_fLS.js} +1 -1
  35. package/dist/assets/{component-Br_A0gxQ.js → component-Z_4kfVE0.js} +2 -2
  36. package/dist/assets/{config-hHQ1dQ0r.js → config-QNXiPFng.js} +1 -1
  37. package/dist/assets/{config-BZ68qemi.js → config-YjT0ptkh.js} +6 -6
  38. package/dist/assets/{config-navigation-CIiX_S1E.js → config-navigation-BdlyLYhE.js} +2 -2
  39. package/dist/assets/{config-space-DcxPvrsQ.js → config-space-BSBup5aB.js} +1 -1
  40. package/dist/assets/{config-DaTqZM7S.js → config-tFuMpr42.js} +1 -1
  41. package/dist/assets/{confirm-CQifLVQz.js → confirm-DPD7yjeR.js} +1 -1
  42. package/dist/assets/{connect-BYne4RoU.js → connect-C51xT0zT.js} +1 -1
  43. package/dist/assets/{connect-DCXdY6aM.js → connect-DFCRlbN9.js} +1 -1
  44. package/dist/assets/connect-to-B-qzDPba.js +1 -0
  45. package/dist/assets/{content-layout-CpbYUNJ8.js → content-layout-RghQFMLL.js} +1 -1
  46. package/dist/assets/{create-passport-svg-hAgKE5uX.js → create-passport-svg-BZVXsAoP.js} +1 -1
  47. package/dist/assets/createClass-dlbhjEVd.js +1 -0
  48. package/dist/assets/{dashboard-PCrwcW_N.js → dashboard-Cto_eSyJ.js} +2 -2
  49. package/dist/assets/{de-Ztxy5vEB.js → de-BF0NHTXz.js} +2 -2
  50. package/dist/assets/{delete-confirm-DP77Lldw.js → delete-confirm-G3d9EUZU.js} +1 -1
  51. package/dist/assets/{did-address-CLsSdiw3.js → did-address-CihvGtuj.js} +1 -1
  52. package/dist/assets/domain-CJ3ZeLQs.js +9 -0
  53. package/dist/assets/{domain-action-card-DmLVoK6X.js → domain-action-card-BAzAGOUR.js} +2 -2
  54. package/dist/assets/domains-CbYSc-np.js +1 -0
  55. package/dist/assets/{email-zUlL8Ooc.js → email-BbooLxm_.js} +1 -1
  56. package/dist/assets/{empty-spinner-DiVQXbse.js → empty-spinner-2ylB84wv.js} +1 -1
  57. package/dist/assets/engine-7kGw4V-U.js +1 -0
  58. package/dist/assets/{es-Cd-spoK_.js → es-Dv2m4LXp.js} +2 -2
  59. package/dist/assets/{exchange-passport-4jMKVLBc.js → exchange-passport-B7UqzIxE.js} +1 -1
  60. package/dist/assets/{form-BhkklUts.js → form-Ci18kVmF.js} +3 -3
  61. package/dist/assets/{form-text-input-BFhD3mCK.js → form-text-input-CBL3JAev.js} +1 -1
  62. package/dist/assets/{form-wrapper-B9XdbV9a.js → form-wrapper-CqFSijKV.js} +1 -1
  63. package/dist/assets/{fr-k8jXteN1.js → fr-BGhg9oO3.js} +2 -2
  64. package/dist/assets/{fuel-_LHEMXNX.js → fuel-BE74WZ6j.js} +1 -1
  65. package/dist/assets/{gen-access-key-Cuu-iyxE.js → gen-access-key-s40ict9x.js} +1 -1
  66. package/dist/assets/{gen-simple-access-key-ud5DXiqY.js → gen-simple-access-key-D8YVPusH.js} +1 -1
  67. package/dist/assets/get-safe-url-DT47R_1b.js +1 -0
  68. package/dist/assets/{hi-CvpI1-tn.js → hi-CPfDhW8g.js} +2 -2
  69. package/dist/assets/{home-D-jA_4Lm.js → home-C9ok8LuA.js} +1 -1
  70. package/dist/assets/{id-D8coHs1U.js → id-9TUzKF6k.js} +2 -2
  71. package/dist/assets/{iframe-DwMwGxmX.js → iframe-BoFxpqBT.js} +1 -1
  72. package/dist/assets/{index-Cvr1OSm0.js → index-B9Igf2rm.js} +1 -1
  73. package/dist/assets/{index-D0XVz0dc.js → index-BF7MtybM.js} +1 -1
  74. package/dist/assets/{index-BO3UQZPi.js → index-BJz7bmlp.js} +1 -1
  75. package/dist/assets/{index-DjE2GQIM.js → index-BpNkmzkz.js} +2 -2
  76. package/dist/assets/{index-DDNvzM4M.js → index-ByWjeUNp.js} +7 -7
  77. package/dist/assets/{index-s6v6fZUe.js → index-C0TbDTja.js} +4 -4
  78. package/dist/assets/{index-BNBVWXSX.js → index-CCaP8G-5.js} +2 -2
  79. package/dist/assets/index-CFLPfp6M.js +124 -0
  80. package/dist/assets/index-CMuQuCcn.js +1 -0
  81. package/dist/assets/{index-xERuGIw0.js → index-CN4lpn74.js} +132 -134
  82. package/dist/assets/{index-auhzedGi.js → index-CO3X6G_g.js} +1 -1
  83. package/dist/assets/{index-ByEQy1Lz.js → index-CTzNs74h.js} +2 -2
  84. package/dist/assets/index-CUHwnb5s.js +120 -0
  85. package/dist/assets/index-CekShFJg.js +6 -0
  86. package/dist/assets/{index-BQyVf1E3.js → index-CgnIkelt.js} +1 -1
  87. package/dist/assets/index-CimoFUNL.js +7 -0
  88. package/dist/assets/index-CionuFLd.js +1 -0
  89. package/dist/assets/{index-Cpsil-_J.js → index-ClpPXMAi.js} +5 -5
  90. package/dist/assets/{index-BLT40lDy.js → index-CpVl3QY6.js} +8 -8
  91. package/dist/assets/{index-DYMBrhSA.js → index-DA2Pny4B.js} +1 -1
  92. package/dist/assets/{index-B65qJcbt.js → index-DA4iEV0M.js} +1 -1
  93. package/dist/assets/index-DQB7DBpQ.js +29 -0
  94. package/dist/assets/{index-kzb9GjyJ.js → index-DXYr8-bJ.js} +1 -1
  95. package/dist/assets/{index-D_l_jjH3.js → index-DaIayPTI.js} +2 -2
  96. package/dist/assets/{index-B3nY7xOz.js → index-DbmL_qgW.js} +8 -8
  97. package/dist/assets/{index-CR-yimk0.js → index-DrJnt_vf.js} +4 -4
  98. package/dist/assets/index-DsQDfClt.js +1 -0
  99. package/dist/assets/index-DtUiw_0b.js +55 -0
  100. package/dist/assets/{index-BcssdfWc.js → index-YApW_a5L.js} +1 -1
  101. package/dist/assets/{index-B1hEtoFm.js → index-bbu7QFpz.js} +1 -1
  102. package/dist/assets/{index-CoJqP_N2.js → index-h3JyhqqC.js} +1 -1
  103. package/dist/assets/{index-KzZiqY9D.js → index-tukXJbMk.js} +6 -6
  104. package/dist/assets/{index-BWgjTPxl.js → index-yGC4DbEU.js} +1 -1
  105. package/dist/assets/{invitation-gK2vIEsH.js → invitation-XkzkbIwS.js} +2 -2
  106. package/dist/assets/{invitations-lfws_T2N.js → invitations-Cy_dNcIE.js} +1 -1
  107. package/dist/assets/{invite-CGloPprm.js → invite-BSYvges4.js} +1 -1
  108. package/dist/assets/{isURL-CDvz38EO.js → isURL-DskT4RKm.js} +2 -2
  109. package/dist/assets/{issue-passport-Dl3X8TTW.js → issue-passport-opYjcMCB.js} +1 -1
  110. package/dist/assets/{item-CTQ1F-Dd.js → item-DToR6hlW.js} +1 -1
  111. package/dist/assets/{ja-Dkn5OA2r.js → ja-DT5bRsBF.js} +2 -2
  112. package/dist/assets/{ko-DXfRo0NY.js → ko-CJn9PyPz.js} +2 -2
  113. package/dist/assets/{landing-page-DKcKat1r.js → landing-page-DFIsLbb7.js} +1 -1
  114. package/dist/assets/{launch-result-message--rgseiAA.js → launch-result-message-AcBN2VCj.js} +1 -1
  115. package/dist/assets/{layout-D1wjW1Oy.js → layout-CkQwn0NR.js} +1 -1
  116. package/dist/assets/list-D4Gs036Z.js +103 -0
  117. package/dist/assets/{list-MeDKce8j.js → list-D5UHzaOx.js} +1 -1
  118. package/dist/assets/{list-header-DOS7AnGs.js → list-header-CA-QkwGq.js} +1 -1
  119. package/dist/assets/localization-DzNUtlVV.js +1 -0
  120. package/dist/assets/{log-B9KcwZD3.js → log-RL9u31-I.js} +1 -1
  121. package/dist/assets/logger-DQUu6ucJ.js +1 -0
  122. package/dist/assets/login-CqeIoGod.js +1 -0
  123. package/dist/assets/{login-oauth-callback-f64z-iJf.js → login-oauth-callback-0Nu4mPXk.js} +1 -1
  124. package/dist/assets/{logo-uploader-D6c2iUqg.js → logo-uploader-Cv5-KB8L.js} +1 -1
  125. package/dist/assets/lost-passport-CoOQTlhO.js +167 -0
  126. package/dist/assets/{observability-D1A-1uvj.js → observability-Bzq6nAvX.js} +1 -1
  127. package/dist/assets/{omit-BSwpPhgW.js → omit-W13eVnqC.js} +1 -1
  128. package/dist/assets/{open-window-7JDNMA9V.js → open-window-BHKfDlI-.js} +1 -1
  129. package/dist/assets/{over-due-invoice-payment-CljuJ4kk.js → over-due-invoice-payment-MovV2cwi.js} +1 -1
  130. package/dist/assets/{overview-CI-TDe1L.js → overview-CCLvrJi4.js} +2 -2
  131. package/dist/assets/{page-header-Dh_UA7fa.js → page-header-B4MDj6gy.js} +1 -1
  132. package/dist/assets/passport-CqvORkfw.js +1 -0
  133. package/dist/assets/{passport-item-DwumTPQv.js → passport-item-BMa8rd85.js} +1 -1
  134. package/dist/assets/{permission-Blt9Onuq.js → permission-DLnMVuoy.js} +1 -1
  135. package/dist/assets/{playground-kZ9J2CEx.js → playground-C71u8_tm.js} +1 -1
  136. package/dist/assets/preferences-CDvS8_ng.js +1 -0
  137. package/dist/assets/profile-embed-C8ofqlbV.js +1 -0
  138. package/dist/assets/pt-K9FK6Ube.js +5 -0
  139. package/dist/assets/publish-resource-CMoJF5DA.js +1 -0
  140. package/dist/assets/{react-beautiful-dnd.esm-CbCp5m8Z.js → react-beautiful-dnd.esm--C1KYPc1.js} +1 -1
  141. package/dist/assets/{react-stripe.esm-C8Keba5n.js → react-stripe.esm-DlJMzZK2.js} +1 -1
  142. package/dist/assets/{required-CgSsIuqu.js → required-glXJjYm5.js} +1 -1
  143. package/dist/assets/ru-C_RwukUu.js +5 -0
  144. package/dist/assets/runtime-D2sDgwrj.js +1 -0
  145. package/dist/assets/{sanitize-aIE75FMz.js → sanitize-Bm63FeNh.js} +1 -1
  146. package/dist/assets/sdk-CiQg0Ndf.js +1 -0
  147. package/dist/assets/{section-tQK-hwwW.js → section-4gVAq_Fp.js} +1 -1
  148. package/dist/assets/{security-DEVrQWpZ.js → security-D7O7D2Dn.js} +1 -1
  149. package/dist/assets/{session-CAj-TcUY.js → session-DNlfWI2Z.js} +1 -1
  150. package/dist/assets/{setup-BT6-74rK.js → setup-CxJT_7C9.js} +1 -1
  151. package/dist/assets/{shorten-label-JstixX67.js → shorten-label-Cf--RqV-.js} +1 -1
  152. package/dist/assets/{simple-select-_qsehgaA.js → simple-select-BAtHv3cq.js} +1 -1
  153. package/dist/assets/{spaces-B6flHcN-.js → spaces-B9YyAxJd.js} +1 -1
  154. package/dist/assets/{start-BMKAy5mb.js → start-TaXS82Bg.js} +1 -1
  155. package/dist/assets/{starting-progress-SNgrsu02.js → starting-progress-B6ma-ZGa.js} +1 -1
  156. package/dist/assets/status-DsksxwVa.js +1 -0
  157. package/dist/assets/{step-actions-BcFE8m2n.js → step-actions-DbAALRbw.js} +1 -1
  158. package/dist/assets/{studio-BkTwhFSX.js → studio-IkWmW2Xk.js} +1 -1
  159. package/dist/assets/{switch-control-DVE8MCqI.js → switch-control-DdOZdvsu.js} +1 -1
  160. package/dist/assets/{table-tips-DMkRZoRQ.js → table-tips-cVuoMOXE.js} +1 -1
  161. package/dist/assets/team-BnNEVFdE.js +146 -0
  162. package/dist/assets/th-Bhii_FfA.js +5 -0
  163. package/dist/assets/traffic-BibrNphF.js +1 -0
  164. package/dist/assets/{transfer-3jaJ_59b.js → transfer-CPU5ZBFf.js} +1 -1
  165. package/dist/assets/{unsubscribe-zGPKbsNi.js → unsubscribe-CBHokiq9.js} +1 -1
  166. package/dist/assets/{use-app-logo-mH-ZWGvv.js → use-app-logo-BWOYOuhG.js} +1 -1
  167. package/dist/assets/{use-mobile-BdZU3Qy2.js → use-mobile-BpPz1bKz.js} +1 -1
  168. package/dist/assets/{use-mobile-nqweJXIG.js → use-mobile-DoKVMODs.js} +1 -1
  169. package/dist/assets/{use-server-logo-YhCrW0Nr.js → use-server-logo-UGU40YsW.js} +1 -1
  170. package/dist/assets/{use-window-close-B1fcc1UV.js → use-window-close-CbUhh9L6.js} +1 -1
  171. package/dist/assets/{useAsync-CuuTq_2R.js → useAsync-Be4McwD-.js} +1 -1
  172. package/dist/assets/{useAsync-Di_jotad.js → useAsync-Cc-dQGZL.js} +1 -1
  173. package/dist/assets/{useAsyncRetry-DhVFzdPo.js → useAsyncRetry-DHTJ61Jg.js} +1 -1
  174. package/dist/assets/{useLocalStorage-BCYIznDQ.js → useLocalStorage-UFpv-3wa.js} +1 -1
  175. package/dist/assets/user-center-DxoxMBFK.js +126 -0
  176. package/dist/assets/{user-follower-DYsXrJ7n.js → user-follower-CNxYFKVI.js} +1 -1
  177. package/dist/assets/{util-wCHwyw_F.js → util-DWpY3O7e.js} +1 -1
  178. package/dist/assets/{util-BN6NLUU2.js → util-DzwOLYt5.js} +1 -1
  179. package/dist/assets/{vendor-arcblock-BRRIrPlW.js → vendor-arcblock-3xKfH3F1.js} +114 -115
  180. package/dist/assets/{vendor-hooks-BeI8hpF9.js → vendor-hooks-fhL5FJET.js} +1 -1
  181. package/dist/assets/{vendor-mui-core-B62p29u8.js → vendor-mui-core-DHT36AZL.js} +1 -1
  182. package/dist/assets/{vendor-mui-x-vSVDqxyB.js → vendor-mui-x-B4OOX5Es.js} +1 -1
  183. package/dist/assets/vendor-utils-BSZ4yJws.js +213 -0
  184. package/dist/assets/{vendor-ux-k_TkMNDV.js → vendor-ux-sqP3hEhY.js} +45 -45
  185. package/dist/assets/vi-DVF2tjOG.js +5 -0
  186. package/dist/assets/{wait-connect-Df9uvB6x.js → wait-connect-Crb0Z6pk.js} +1 -1
  187. package/dist/assets/{wizard-GCfJ08HB.js → wizard-GO-eYrph.js} +1 -1
  188. package/dist/assets/{wizard-components-D_w2hIhz.js → wizard-components-B0p6B74G.js} +1 -1
  189. package/dist/assets/wrap-locale-C_7Ff1OO.js +1 -0
  190. package/dist/assets/{zh-DB1zAstv.js → zh-98nxdLeR.js} +2 -2
  191. package/dist/assets/{zh-QBR-GmxX.js → zh-kaABsCb2.js} +1 -1
  192. package/dist/assets/{zh-tw-DVMVT9am.js → zh-tw-BdDE7n5E.js} +2 -2
  193. package/dist/index.html +1 -1
  194. package/dist/service-worker.js +1 -1
  195. package/package.json +32 -32
  196. package/dist/assets/actions-BQZmpgjH.js +0 -1
  197. package/dist/assets/add-resource-BwJJ0aia.js +0 -1
  198. package/dist/assets/api-C1vNuLNj.js +0 -1
  199. package/dist/assets/bind-account-BHZb-y1l.js +0 -1
  200. package/dist/assets/branding-DhsDum88.js +0 -1
  201. package/dist/assets/button-M1tE0EM6.js +0 -1
  202. package/dist/assets/click-to-copy-COEss4SB.js +0 -1
  203. package/dist/assets/connect-to-Dp0mJeqn.js +0 -1
  204. package/dist/assets/createClass-D1NoiqdO.js +0 -1
  205. package/dist/assets/domain-DptzkTFQ.js +0 -9
  206. package/dist/assets/domains-Cj55weM5.js +0 -1
  207. package/dist/assets/engine-Br5kqWzP.js +0 -1
  208. package/dist/assets/get-safe-url-baxNHkAA.js +0 -1
  209. package/dist/assets/index-C3PPGtfI.js +0 -6
  210. package/dist/assets/index-ClXqfbDZ.js +0 -1
  211. package/dist/assets/index-CozzYt0Z.js +0 -7
  212. package/dist/assets/index-D45cjNSM.js +0 -1
  213. package/dist/assets/index-DBBPnrYI.js +0 -124
  214. package/dist/assets/index-Dr1AOLd_.js +0 -30
  215. package/dist/assets/index-DxlME7t_.js +0 -120
  216. package/dist/assets/index-N6YyFqDu.js +0 -1
  217. package/dist/assets/index-kD1YmpMU.js +0 -55
  218. package/dist/assets/list-DPsX8TMn.js +0 -103
  219. package/dist/assets/localization-CASCfNj1.js +0 -1
  220. package/dist/assets/logger-6-51jSsQ.js +0 -1
  221. package/dist/assets/login-Cbb7F6Mu.js +0 -1
  222. package/dist/assets/lost-passport-CSoln1QB.js +0 -167
  223. package/dist/assets/passport-0dxK_pTH.js +0 -1
  224. package/dist/assets/preferences-OylPiHSa.js +0 -1
  225. package/dist/assets/profile-embed-CCdzwTKi.js +0 -1
  226. package/dist/assets/pt-CNQsUMCu.js +0 -5
  227. package/dist/assets/publish-resource-Adc4901F.js +0 -1
  228. package/dist/assets/ru-CjyCft4V.js +0 -5
  229. package/dist/assets/runtime-OGDYw4nO.js +0 -1
  230. package/dist/assets/sdk-CxQIQdbk.js +0 -1
  231. package/dist/assets/status-GY7lihPg.js +0 -1
  232. package/dist/assets/team-DANl8A6y.js +0 -146
  233. package/dist/assets/th-WQWRMKAv.js +0 -5
  234. package/dist/assets/traffic-D_pUHfvx.js +0 -1
  235. package/dist/assets/user-center-gH0CVETg.js +0 -126
  236. package/dist/assets/vendor-utils-DZwtp8ph.js +0 -213
  237. package/dist/assets/vi-Br98wbNi.js +0 -5
  238. package/dist/assets/wrap-locale-Dgf6KVHX.js +0 -1
@@ -0,0 +1,213 @@
1
+ import{p as Or}from"./vendor-react-CUXIiAnY.js";var Va=9007199254740991,Ka=Math.floor;function Ti(e,t){var r="";if(!e||t<1||t>Va)return r;do t%2&&(r+=e),t=Ka(t/2),t&&(e+=e);while(t);return r}const Mt=globalThis||void 0||self;var Ho=typeof Mt=="object"&&Mt&&Mt.Object===Object&&Mt,Ya=typeof self=="object"&&self&&self.Object===Object&&self,ot=Ho||Ya||Function("return this")(),it=ot.Symbol;function gt(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var Ge=Array.isArray,Go=Object.prototype,Xa=Go.hasOwnProperty,Qa=Go.toString,Xt=it?it.toStringTag:void 0;function eu(e){var t=Xa.call(e,Xt),r=e[Xt];try{e[Xt]=void 0;var n=!0}catch{}var a=Qa.call(e);return n&&(t?e[Xt]=r:delete e[Xt]),a}var tu=Object.prototype,ru=tu.toString;function nu(e){return ru.call(e)}var iu="[object Null]",ou="[object Undefined]",Ci=it?it.toStringTag:void 0;function ut(e){return e==null?e===void 0?ou:iu:Ci&&Ci in Object(e)?eu(e):nu(e)}function et(e){return e!=null&&typeof e=="object"}var su="[object Symbol]";function Lt(e){return typeof e=="symbol"||et(e)&&ut(e)==su}var $i=it?it.prototype:void 0,Fi=$i?$i.toString:void 0;function or(e){if(typeof e=="string")return e;if(Ge(e))return gt(e,or)+"";if(Lt(e))return Fi?Fi.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Yn(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(a);++n<a;)o[n]=e[n+t];return o}function Rr(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:Yn(e,t,r)}var au="\\ud800-\\udfff",uu="\\u0300-\\u036f",fu="\\ufe20-\\ufe2f",lu="\\u20d0-\\u20ff",cu=uu+fu+lu,hu="\\ufe0e\\ufe0f",du="\\u200d",pu=RegExp("["+du+au+cu+hu+"]");function Ir(e){return pu.test(e)}function Wo(e){return function(t){return t?.[e]}}var gu=Wo("length"),Zo="\\ud800-\\udfff",mu="\\u0300-\\u036f",yu="\\ufe20-\\ufe2f",wu="\\u20d0-\\u20ff",vu=mu+yu+wu,xu="\\ufe0e\\ufe0f",bu="["+Zo+"]",In="["+vu+"]",Nn="\\ud83c[\\udffb-\\udfff]",Eu="(?:"+In+"|"+Nn+")",Jo="[^"+Zo+"]",Vo="(?:\\ud83c[\\udde6-\\uddff]){2}",Ko="[\\ud800-\\udbff][\\udc00-\\udfff]",Mu="\\u200d",Yo=Eu+"?",Xo="["+xu+"]?",_u="(?:"+Mu+"(?:"+[Jo,Vo,Ko].join("|")+")"+Xo+Yo+")*",Su=Xo+Yo+_u,Bu="(?:"+[Jo+In+"?",In,Vo,Ko,bu].join("|")+")",Ri=RegExp(Nn+"(?="+Nn+")|"+Bu+Su,"g");function Au(e){for(var t=Ri.lastIndex=0;Ri.test(e);)++t;return t}function Xn(e){return Ir(e)?Au(e):gu(e)}function Ou(e){return e.split("")}var Qo="\\ud800-\\udfff",Tu="\\u0300-\\u036f",Cu="\\ufe20-\\ufe2f",$u="\\u20d0-\\u20ff",Fu=Tu+Cu+$u,Ru="\\ufe0e\\ufe0f",Iu="["+Qo+"]",Un="["+Fu+"]",Pn="\\ud83c[\\udffb-\\udfff]",Nu="(?:"+Un+"|"+Pn+")",es="[^"+Qo+"]",ts="(?:\\ud83c[\\udde6-\\uddff]){2}",rs="[\\ud800-\\udbff][\\udc00-\\udfff]",Uu="\\u200d",ns=Nu+"?",is="["+Ru+"]?",Pu="(?:"+Uu+"(?:"+[es,ts,rs].join("|")+")"+is+ns+")*",Lu=is+ns+Pu,Du="(?:"+[es+Un+"?",Un,ts,rs,Iu].join("|")+")",ju=RegExp(Pn+"(?="+Pn+")|"+Du+Lu,"g");function ku(e){return e.match(ju)||[]}function Dt(e){return Ir(e)?ku(e):Ou(e)}var qu=Math.ceil;function os(e,t){t=t===void 0?" ":or(t);var r=t.length;if(r<2)return r?Ti(t,e):t;var n=Ti(t,qu(e/Xn(t)));return Ir(t)?Rr(Dt(n),0,e).join(""):n.slice(0,e)}var zu=/\s/;function ss(e){for(var t=e.length;t--&&zu.test(e.charAt(t)););return t}var Hu=/^\s+/;function as(e){return e&&e.slice(0,ss(e)+1).replace(Hu,"")}function Ve(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}const fy=Object.freeze(Object.defineProperty({__proto__:null,default:Ve},Symbol.toStringTag,{value:"Module"}));var Ii=NaN,Gu=/^[-+]0x[0-9a-f]+$/i,Wu=/^0b[01]+$/i,Zu=/^0o[0-7]+$/i,Ju=parseInt;function Ln(e){if(typeof e=="number")return e;if(Lt(e))return Ii;if(Ve(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ve(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=as(e);var r=Wu.test(e);return r||Zu.test(e)?Ju(e.slice(2),r?2:8):Gu.test(e)?Ii:+e}var Ni=1/0,Vu=17976931348623157e292;function Ku(e){if(!e)return e===0?e:0;if(e=Ln(e),e===Ni||e===-Ni){var t=e<0?-1:1;return t*Vu}return e===e?e:0}function Gt(e){var t=Ku(e),r=t%1;return t===t?r?t-r:t:0}function tt(e){return e==null?"":or(e)}function Yu(e,t,r){e=tt(e),t=Gt(t);var n=t?Xn(e):0;return t&&n<t?os(t-n,r)+e:e}const ly=Object.freeze(Object.defineProperty({__proto__:null,default:Yu},Symbol.toStringTag,{value:"Module"}));function Xu(e){return e==null}const cy=Object.freeze(Object.defineProperty({__proto__:null,default:Xu},Symbol.toStringTag,{value:"Module"}));function Qu(){this.__data__=[],this.size=0}function Wt(e,t){return e===t||e!==e&&t!==t}function Nr(e,t){for(var r=e.length;r--;)if(Wt(e[r][0],t))return r;return-1}var ef=Array.prototype,tf=ef.splice;function rf(e){var t=this.__data__,r=Nr(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():tf.call(t,r,1),--this.size,!0}function nf(e){var t=this.__data__,r=Nr(t,e);return r<0?void 0:t[r][1]}function of(e){return Nr(this.__data__,e)>-1}function sf(e,t){var r=this.__data__,n=Nr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function yt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}yt.prototype.clear=Qu;yt.prototype.delete=rf;yt.prototype.get=nf;yt.prototype.has=of;yt.prototype.set=sf;function af(){this.__data__=new yt,this.size=0}function uf(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function ff(e){return this.__data__.get(e)}function lf(e){return this.__data__.has(e)}var cf="[object AsyncFunction]",hf="[object Function]",df="[object GeneratorFunction]",pf="[object Proxy]";function Qn(e){if(!Ve(e))return!1;var t=ut(e);return t==hf||t==df||t==cf||t==pf}var wn=ot["__core-js_shared__"],Ui=function(){var e=/[^.]+$/.exec(wn&&wn.keys&&wn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function gf(e){return!!Ui&&Ui in e}var mf=Function.prototype,yf=mf.toString;function Ct(e){if(e!=null){try{return yf.call(e)}catch{}try{return e+""}catch{}}return""}var wf=/[\\^$.*+?()[\]{}|]/g,vf=/^\[object .+?Constructor\]$/,xf=Function.prototype,bf=Object.prototype,Ef=xf.toString,Mf=bf.hasOwnProperty,_f=RegExp("^"+Ef.call(Mf).replace(wf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Sf(e){if(!Ve(e)||gf(e))return!1;var t=Qn(e)?_f:vf;return t.test(Ct(e))}function Bf(e,t){return e?.[t]}function $t(e,t){var r=Bf(e,t);return Sf(r)?r:void 0}var rr=$t(ot,"Map"),nr=$t(Object,"create");function Af(){this.__data__=nr?nr(null):{},this.size=0}function Of(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Tf="__lodash_hash_undefined__",Cf=Object.prototype,$f=Cf.hasOwnProperty;function Ff(e){var t=this.__data__;if(nr){var r=t[e];return r===Tf?void 0:r}return $f.call(t,e)?t[e]:void 0}var Rf=Object.prototype,If=Rf.hasOwnProperty;function Nf(e){var t=this.__data__;return nr?t[e]!==void 0:If.call(t,e)}var Uf="__lodash_hash_undefined__";function Pf(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nr&&t===void 0?Uf:t,this}function Bt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Bt.prototype.clear=Af;Bt.prototype.delete=Of;Bt.prototype.get=Ff;Bt.prototype.has=Nf;Bt.prototype.set=Pf;function Lf(){this.size=0,this.__data__={hash:new Bt,map:new(rr||yt),string:new Bt}}function Df(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ur(e,t){var r=e.__data__;return Df(t)?r[typeof t=="string"?"string":"hash"]:r.map}function jf(e){var t=Ur(this,e).delete(e);return this.size-=t?1:0,t}function kf(e){return Ur(this,e).get(e)}function qf(e){return Ur(this,e).has(e)}function zf(e,t){var r=Ur(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function wt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}wt.prototype.clear=Lf;wt.prototype.delete=jf;wt.prototype.get=kf;wt.prototype.has=qf;wt.prototype.set=zf;var Hf=200;function Gf(e,t){var r=this.__data__;if(r instanceof yt){var n=r.__data__;if(!rr||n.length<Hf-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new wt(n)}return r.set(e,t),this.size=r.size,this}function at(e){var t=this.__data__=new yt(e);this.size=t.size}at.prototype.clear=af;at.prototype.delete=uf;at.prototype.get=ff;at.prototype.has=lf;at.prototype.set=Gf;var Wf="__lodash_hash_undefined__";function Zf(e){return this.__data__.set(e,Wf),this}function Jf(e){return this.__data__.has(e)}function At(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new wt;++t<r;)this.add(e[t])}At.prototype.add=At.prototype.push=Zf;At.prototype.has=Jf;function Vf(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function ir(e,t){return e.has(t)}var Kf=1,Yf=2;function us(e,t,r,n,a,o){var d=r&Kf,x=e.length,S=t.length;if(x!=S&&!(d&&S>x))return!1;var E=o.get(e),p=o.get(t);if(E&&p)return E==t&&p==e;var $=-1,j=!0,Y=r&Yf?new At:void 0;for(o.set(e,t),o.set(t,e);++$<x;){var z=e[$],oe=t[$];if(n)var J=d?n(oe,z,$,t,e,o):n(z,oe,$,e,t,o);if(J!==void 0){if(J)continue;j=!1;break}if(Y){if(!Vf(t,function(he,te){if(!ir(Y,te)&&(z===he||a(z,he,r,n,o)))return Y.push(te)})){j=!1;break}}else if(!(z===oe||a(z,oe,r,n,o))){j=!1;break}}return o.delete(e),o.delete(t),j}var Tr=ot.Uint8Array;function Xf(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}function ei(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Qf=1,el=2,tl="[object Boolean]",rl="[object Date]",nl="[object Error]",il="[object Map]",ol="[object Number]",sl="[object RegExp]",al="[object Set]",ul="[object String]",fl="[object Symbol]",ll="[object ArrayBuffer]",cl="[object DataView]",Pi=it?it.prototype:void 0,vn=Pi?Pi.valueOf:void 0;function hl(e,t,r,n,a,o,d){switch(r){case cl:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ll:return!(e.byteLength!=t.byteLength||!o(new Tr(e),new Tr(t)));case tl:case rl:case ol:return Wt(+e,+t);case nl:return e.name==t.name&&e.message==t.message;case sl:case ul:return e==t+"";case il:var x=Xf;case al:var S=n&Qf;if(x||(x=ei),e.size!=t.size&&!S)return!1;var E=d.get(e);if(E)return E==t;n|=el,d.set(e,t);var p=us(x(e),x(t),n,a,o,d);return d.delete(e),p;case fl:if(vn)return vn.call(e)==vn.call(t)}return!1}function ti(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}function fs(e,t,r){var n=t(e);return Ge(e)?n:ti(n,r(e))}function ls(e,t){for(var r=-1,n=e==null?0:e.length,a=0,o=[];++r<n;){var d=e[r];t(d,r,e)&&(o[a++]=d)}return o}function cs(){return[]}var dl=Object.prototype,pl=dl.propertyIsEnumerable,Li=Object.getOwnPropertySymbols,ri=Li?function(e){return e==null?[]:(e=Object(e),ls(Li(e),function(t){return pl.call(e,t)}))}:cs;function gl(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var ml="[object Arguments]";function Di(e){return et(e)&&ut(e)==ml}var hs=Object.prototype,yl=hs.hasOwnProperty,wl=hs.propertyIsEnumerable,jt=Di(function(){return arguments}())?Di:function(e){return et(e)&&yl.call(e,"callee")&&!wl.call(e,"callee")};function vl(){return!1}var ds=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ji=ds&&typeof module=="object"&&module&&!module.nodeType&&module,xl=ji&&ji.exports===ds,ki=xl?ot.Buffer:void 0,bl=ki?ki.isBuffer:void 0,kt=bl||vl,El=9007199254740991,Ml=/^(?:0|[1-9]\d*)$/;function sr(e,t){var r=typeof e;return t=t??El,!!t&&(r=="number"||r!="symbol"&&Ml.test(e))&&e>-1&&e%1==0&&e<t}var _l=9007199254740991;function ni(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=_l}var Sl="[object Arguments]",Bl="[object Array]",Al="[object Boolean]",Ol="[object Date]",Tl="[object Error]",Cl="[object Function]",$l="[object Map]",Fl="[object Number]",Rl="[object Object]",Il="[object RegExp]",Nl="[object Set]",Ul="[object String]",Pl="[object WeakMap]",Ll="[object ArrayBuffer]",Dl="[object DataView]",jl="[object Float32Array]",kl="[object Float64Array]",ql="[object Int8Array]",zl="[object Int16Array]",Hl="[object Int32Array]",Gl="[object Uint8Array]",Wl="[object Uint8ClampedArray]",Zl="[object Uint16Array]",Jl="[object Uint32Array]",qe={};qe[jl]=qe[kl]=qe[ql]=qe[zl]=qe[Hl]=qe[Gl]=qe[Wl]=qe[Zl]=qe[Jl]=!0;qe[Sl]=qe[Bl]=qe[Ll]=qe[Al]=qe[Dl]=qe[Ol]=qe[Tl]=qe[Cl]=qe[$l]=qe[Fl]=qe[Rl]=qe[Il]=qe[Nl]=qe[Ul]=qe[Pl]=!1;function Vl(e){return et(e)&&ni(e.length)&&!!qe[ut(e)]}function Pr(e){return function(t){return e(t)}}var ps=typeof exports=="object"&&exports&&!exports.nodeType&&exports,er=ps&&typeof module=="object"&&module&&!module.nodeType&&module,Kl=er&&er.exports===ps,xn=Kl&&Ho.process,qt=function(){try{var e=er&&er.require&&er.require("util").types;return e||xn&&xn.binding&&xn.binding("util")}catch{}}(),qi=qt&&qt.isTypedArray,Lr=qi?Pr(qi):Vl,Yl=Object.prototype,Xl=Yl.hasOwnProperty;function gs(e,t){var r=Ge(e),n=!r&&jt(e),a=!r&&!n&&kt(e),o=!r&&!n&&!a&&Lr(e),d=r||n||a||o,x=d?gl(e.length,String):[],S=x.length;for(var E in e)(t||Xl.call(e,E))&&!(d&&(E=="length"||a&&(E=="offset"||E=="parent")||o&&(E=="buffer"||E=="byteLength"||E=="byteOffset")||sr(E,S)))&&x.push(E);return x}var Ql=Object.prototype;function Dr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Ql;return e===r}function ms(e,t){return function(r){return e(t(r))}}var ec=ms(Object.keys,Object),tc=Object.prototype,rc=tc.hasOwnProperty;function ys(e){if(!Dr(e))return ec(e);var t=[];for(var r in Object(e))rc.call(e,r)&&r!="constructor"&&t.push(r);return t}function vt(e){return e!=null&&ni(e.length)&&!Qn(e)}function xt(e){return vt(e)?gs(e):ys(e)}function Dn(e){return fs(e,xt,ri)}var nc=1,ic=Object.prototype,oc=ic.hasOwnProperty;function sc(e,t,r,n,a,o){var d=r&nc,x=Dn(e),S=x.length,E=Dn(t),p=E.length;if(S!=p&&!d)return!1;for(var $=S;$--;){var j=x[$];if(!(d?j in t:oc.call(t,j)))return!1}var Y=o.get(e),z=o.get(t);if(Y&&z)return Y==t&&z==e;var oe=!0;o.set(e,t),o.set(t,e);for(var J=d;++$<S;){j=x[$];var he=e[j],te=t[j];if(n)var se=d?n(te,he,j,t,e,o):n(he,te,j,e,t,o);if(!(se===void 0?he===te||a(he,te,r,n,o):se)){oe=!1;break}J||(J=j=="constructor")}if(oe&&!J){var ce=e.constructor,fe=t.constructor;ce!=fe&&"constructor"in e&&"constructor"in t&&!(typeof ce=="function"&&ce instanceof ce&&typeof fe=="function"&&fe instanceof fe)&&(oe=!1)}return o.delete(e),o.delete(t),oe}var jn=$t(ot,"DataView"),kn=$t(ot,"Promise"),Pt=$t(ot,"Set"),qn=$t(ot,"WeakMap"),zi="[object Map]",ac="[object Object]",Hi="[object Promise]",Gi="[object Set]",Wi="[object WeakMap]",Zi="[object DataView]",uc=Ct(jn),fc=Ct(rr),lc=Ct(kn),cc=Ct(Pt),hc=Ct(qn),nt=ut;(jn&&nt(new jn(new ArrayBuffer(1)))!=Zi||rr&&nt(new rr)!=zi||kn&&nt(kn.resolve())!=Hi||Pt&&nt(new Pt)!=Gi||qn&&nt(new qn)!=Wi)&&(nt=function(e){var t=ut(e),r=t==ac?e.constructor:void 0,n=r?Ct(r):"";if(n)switch(n){case uc:return Zi;case fc:return zi;case lc:return Hi;case cc:return Gi;case hc:return Wi}return t});var dc=1,Ji="[object Arguments]",Vi="[object Array]",wr="[object Object]",pc=Object.prototype,Ki=pc.hasOwnProperty;function gc(e,t,r,n,a,o){var d=Ge(e),x=Ge(t),S=d?Vi:nt(e),E=x?Vi:nt(t);S=S==Ji?wr:S,E=E==Ji?wr:E;var p=S==wr,$=E==wr,j=S==E;if(j&&kt(e)){if(!kt(t))return!1;d=!0,p=!1}if(j&&!p)return o||(o=new at),d||Lr(e)?us(e,t,r,n,a,o):hl(e,t,S,r,n,a,o);if(!(r&dc)){var Y=p&&Ki.call(e,"__wrapped__"),z=$&&Ki.call(t,"__wrapped__");if(Y||z){var oe=Y?e.value():e,J=z?t.value():t;return o||(o=new at),a(oe,J,r,n,o)}}return j?(o||(o=new at),sc(e,t,r,n,a,o)):!1}function jr(e,t,r,n,a){return e===t?!0:e==null||t==null||!et(e)&&!et(t)?e!==e&&t!==t:gc(e,t,r,n,jr,a)}var mc=1,yc=2;function wc(e,t,r,n){var a=r.length,o=a;if(e==null)return!o;for(e=Object(e);a--;){var d=r[a];if(d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++a<o;){d=r[a];var x=d[0],S=e[x],E=d[1];if(d[2]){if(S===void 0&&!(x in e))return!1}else{var p=new at,$;if(!($===void 0?jr(E,S,mc|yc,n,p):$))return!1}}return!0}function ws(e){return e===e&&!Ve(e)}function vc(e){for(var t=xt(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,ws(a)]}return t}function vs(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function xc(e){var t=vc(e);return t.length==1&&t[0][2]?vs(t[0][0],t[0][1]):function(r){return r===e||wc(r,e,t)}}var bc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ec=/^\w*$/;function ii(e,t){if(Ge(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Lt(e)?!0:Ec.test(e)||!bc.test(e)||t!=null&&e in Object(t)}var Mc="Expected a function";function oi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Mc);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var d=e.apply(this,n);return r.cache=o.set(a,d)||o,d};return r.cache=new(oi.Cache||wt),r}oi.Cache=wt;var _c=500;function Sc(e){var t=oi(e,function(n){return r.size===_c&&r.clear(),n}),r=t.cache;return t}var Bc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ac=/\\(\\)?/g,Oc=Sc(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Bc,function(r,n,a,o){t.push(a?o.replace(Ac,"$1"):n||r)}),t});function Zt(e,t){return Ge(e)?e:ii(e,t)?[e]:Oc(tt(e))}function Jt(e){if(typeof e=="string"||Lt(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function ar(e,t){t=Zt(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Jt(t[r++])];return r&&r==n?e:void 0}function xs(e,t,r){var n=e==null?void 0:ar(e,t);return n===void 0?r:n}const hy=Object.freeze(Object.defineProperty({__proto__:null,default:xs},Symbol.toStringTag,{value:"Module"}));function Tc(e,t){return e!=null&&t in Object(e)}function Cc(e,t,r){t=Zt(t,e);for(var n=-1,a=t.length,o=!1;++n<a;){var d=Jt(t[n]);if(!(o=e!=null&&r(e,d)))break;e=e[d]}return o||++n!=a?o:(a=e==null?0:e.length,!!a&&ni(a)&&sr(d,a)&&(Ge(e)||jt(e)))}function bs(e,t){return e!=null&&Cc(e,t,Tc)}var $c=1,Fc=2;function Rc(e,t){return ii(e)&&ws(t)?vs(Jt(e),t):function(r){var n=xs(r,e);return n===void 0&&n===t?bs(r,e):jr(t,n,$c|Fc)}}function ur(e){return e}function Ic(e){return function(t){return ar(t,e)}}function Nc(e){return ii(e)?Wo(Jt(e)):Ic(e)}function dt(e){return typeof e=="function"?e:e==null?ur:typeof e=="object"?Ge(e)?Rc(e[0],e[1]):xc(e):Nc(e)}var Uc="Expected a function";function Pc(e){if(typeof e!="function")throw new TypeError(Uc);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Cr=function(){try{var e=$t(Object,"defineProperty");return e({},"",{}),e}catch{}}();function fr(e,t,r){t=="__proto__"&&Cr?Cr(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Lc=Object.prototype,Dc=Lc.hasOwnProperty;function si(e,t,r){var n=e[t];(!(Dc.call(e,t)&&Wt(n,r))||r===void 0&&!(t in e))&&fr(e,t,r)}function Es(e,t,r,n){if(!Ve(e))return e;t=Zt(t,e);for(var a=-1,o=t.length,d=o-1,x=e;x!=null&&++a<o;){var S=Jt(t[a]),E=r;if(S==="__proto__"||S==="constructor"||S==="prototype")return e;if(a!=d){var p=x[S];E=void 0,E===void 0&&(E=Ve(p)?p:sr(t[a+1])?[]:{})}si(x,S,E),x=x[S]}return e}function Ms(e,t,r){for(var n=-1,a=t.length,o={};++n<a;){var d=t[n],x=ar(e,d);r(x,d)&&Es(o,Zt(d,e),x)}return o}var ai=ms(Object.getPrototypeOf,Object),jc=Object.getOwnPropertySymbols,_s=jc?function(e){for(var t=[];e;)ti(t,ri(e)),e=ai(e);return t}:cs;function kc(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var qc=Object.prototype,zc=qc.hasOwnProperty;function Hc(e){if(!Ve(e))return kc(e);var t=Dr(e),r=[];for(var n in e)n=="constructor"&&(t||!zc.call(e,n))||r.push(n);return r}function Vt(e){return vt(e)?gs(e,!0):Hc(e)}function ui(e){return fs(e,Vt,_s)}function Gc(e,t){if(e==null)return{};var r=gt(ui(e),function(n){return[n]});return t=dt(t),Ms(e,r,function(n,a){return t(n,a[0])})}function dy(e,t){return Gc(e,Pc(dt(t)))}var Mr={exports:{}},Wc=Mr.exports,Yi;function py(){return Yi||(Yi=1,function(e,t){(function(r,n){e.exports=n()})(Wc,function(){var r=1e3,n=6e4,a=36e5,o="millisecond",d="second",x="minute",S="hour",E="day",p="week",$="month",j="quarter",Y="year",z="date",oe="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,he=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,te={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(g){var m=["th","st","nd","rd"],v=g%100;return"["+g+(m[(v-20)%10]||m[v]||m[0])+"]"}},se=function(g,m,v){var T=String(g);return!T||T.length>=m?g:""+Array(m+1-T.length).join(v)+g},ce={s:se,z:function(g){var m=-g.utcOffset(),v=Math.abs(m),T=Math.floor(v/60),F=v%60;return(m<=0?"+":"-")+se(T,2,"0")+":"+se(F,2,"0")},m:function g(m,v){if(m.date()<v.date())return-g(v,m);var T=12*(v.year()-m.year())+(v.month()-m.month()),F=m.clone().add(T,$),M=v-F<0,f=m.clone().add(T+(M?-1:1),$);return+(-(T+(v-F)/(M?F-f:f-F))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:$,y:Y,w:p,d:E,D:z,h:S,m:x,s:d,ms:o,Q:j}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},fe="en",X={};X[fe]=te;var H="$isDayjsObject",ae=function(g){return g instanceof i||!(!g||!g[H])},de=function g(m,v,T){var F;if(!m)return fe;if(typeof m=="string"){var M=m.toLowerCase();X[M]&&(F=M),v&&(X[M]=v,F=M);var f=m.split("-");if(!F&&f.length>1)return g(f[0])}else{var B=m.name;X[B]=m,F=B}return!T&&F&&(fe=F),F||!T&&fe},ne=function(g,m){if(ae(g))return g.clone();var v=typeof m=="object"?m:{};return v.date=g,v.args=arguments,new i(v)},A=ce;A.l=de,A.i=ae,A.w=function(g,m){return ne(g,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var i=function(){function g(v){this.$L=de(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[H]=!0}var m=g.prototype;return m.parse=function(v){this.$d=function(T){var F=T.date,M=T.utc;if(F===null)return new Date(NaN);if(A.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var f=F.match(J);if(f){var B=f[2]-1||0,ue=(f[7]||"0").substring(0,3);return M?new Date(Date.UTC(f[1],B,f[3]||1,f[4]||0,f[5]||0,f[6]||0,ue)):new Date(f[1],B,f[3]||1,f[4]||0,f[5]||0,f[6]||0,ue)}}return new Date(F)}(v),this.init()},m.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},m.$utils=function(){return A},m.isValid=function(){return this.$d.toString()!==oe},m.isSame=function(v,T){var F=ne(v);return this.startOf(T)<=F&&F<=this.endOf(T)},m.isAfter=function(v,T){return ne(v)<this.startOf(T)},m.isBefore=function(v,T){return this.endOf(T)<ne(v)},m.$g=function(v,T,F){return A.u(v)?this[T]:this.set(F,v)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(v,T){var F=this,M=!!A.u(T)||T,f=A.p(v),B=function(_e,b){var C=A.w(F.$u?Date.UTC(F.$y,b,_e):new Date(F.$y,b,_e),F);return M?C:C.endOf(E)},ue=function(_e,b){return A.w(F.toDate()[_e].apply(F.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(b)),F)},pe=this.$W,D=this.$M,me=this.$D,Me="set"+(this.$u?"UTC":"");switch(f){case Y:return M?B(1,0):B(31,11);case $:return M?B(1,D):B(0,D+1);case p:var Oe=this.$locale().weekStart||0,$e=(pe<Oe?pe+7:pe)-Oe;return B(M?me-$e:me+(6-$e),D);case E:case z:return ue(Me+"Hours",0);case S:return ue(Me+"Minutes",1);case x:return ue(Me+"Seconds",2);case d:return ue(Me+"Milliseconds",3);default:return this.clone()}},m.endOf=function(v){return this.startOf(v,!1)},m.$set=function(v,T){var F,M=A.p(v),f="set"+(this.$u?"UTC":""),B=(F={},F[E]=f+"Date",F[z]=f+"Date",F[$]=f+"Month",F[Y]=f+"FullYear",F[S]=f+"Hours",F[x]=f+"Minutes",F[d]=f+"Seconds",F[o]=f+"Milliseconds",F)[M],ue=M===E?this.$D+(T-this.$W):T;if(M===$||M===Y){var pe=this.clone().set(z,1);pe.$d[B](ue),pe.init(),this.$d=pe.set(z,Math.min(this.$D,pe.daysInMonth())).$d}else B&&this.$d[B](ue);return this.init(),this},m.set=function(v,T){return this.clone().$set(v,T)},m.get=function(v){return this[A.p(v)]()},m.add=function(v,T){var F,M=this;v=Number(v);var f=A.p(T),B=function(D){var me=ne(M);return A.w(me.date(me.date()+Math.round(D*v)),M)};if(f===$)return this.set($,this.$M+v);if(f===Y)return this.set(Y,this.$y+v);if(f===E)return B(1);if(f===p)return B(7);var ue=(F={},F[x]=n,F[S]=a,F[d]=r,F)[f]||1,pe=this.$d.getTime()+v*ue;return A.w(pe,this)},m.subtract=function(v,T){return this.add(-1*v,T)},m.format=function(v){var T=this,F=this.$locale();if(!this.isValid())return F.invalidDate||oe;var M=v||"YYYY-MM-DDTHH:mm:ssZ",f=A.z(this),B=this.$H,ue=this.$m,pe=this.$M,D=F.weekdays,me=F.months,Me=F.meridiem,Oe=function(b,C,R,q){return b&&(b[C]||b(T,M))||R[C].slice(0,q)},$e=function(b){return A.s(B%12||12,b,"0")},_e=Me||function(b,C,R){var q=b<12?"AM":"PM";return R?q.toLowerCase():q};return M.replace(he,function(b,C){return C||function(R){switch(R){case"YY":return String(T.$y).slice(-2);case"YYYY":return A.s(T.$y,4,"0");case"M":return pe+1;case"MM":return A.s(pe+1,2,"0");case"MMM":return Oe(F.monthsShort,pe,me,3);case"MMMM":return Oe(me,pe);case"D":return T.$D;case"DD":return A.s(T.$D,2,"0");case"d":return String(T.$W);case"dd":return Oe(F.weekdaysMin,T.$W,D,2);case"ddd":return Oe(F.weekdaysShort,T.$W,D,3);case"dddd":return D[T.$W];case"H":return String(B);case"HH":return A.s(B,2,"0");case"h":return $e(1);case"hh":return $e(2);case"a":return _e(B,ue,!0);case"A":return _e(B,ue,!1);case"m":return String(ue);case"mm":return A.s(ue,2,"0");case"s":return String(T.$s);case"ss":return A.s(T.$s,2,"0");case"SSS":return A.s(T.$ms,3,"0");case"Z":return f}return null}(b)||f.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(v,T,F){var M,f=this,B=A.p(T),ue=ne(v),pe=(ue.utcOffset()-this.utcOffset())*n,D=this-ue,me=function(){return A.m(f,ue)};switch(B){case Y:M=me()/12;break;case $:M=me();break;case j:M=me()/3;break;case p:M=(D-pe)/6048e5;break;case E:M=(D-pe)/864e5;break;case S:M=D/a;break;case x:M=D/n;break;case d:M=D/r;break;default:M=D}return F?M:A.a(M)},m.daysInMonth=function(){return this.endOf($).$D},m.$locale=function(){return X[this.$L]},m.locale=function(v,T){if(!v)return this.$L;var F=this.clone(),M=de(v,T,!0);return M&&(F.$L=M),F},m.clone=function(){return A.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},g}(),h=i.prototype;return ne.prototype=h,[["$ms",o],["$s",d],["$m",x],["$H",S],["$W",E],["$M",$],["$y",Y],["$D",z]].forEach(function(g){h[g[1]]=function(m){return this.$g(m,g[0],g[1])}}),ne.extend=function(g,m){return g.$i||(g(m,i,ne),g.$i=!0),ne},ne.locale=de,ne.isDayjs=ae,ne.unix=function(g){return ne(1e3*g)},ne.en=X[fe],ne.Ls=X,ne.p={},ne})}(Mr)),Mr.exports}var Zc="[object Map]",Jc="[object Set]",Vc=Object.prototype,Kc=Vc.hasOwnProperty;function Yc(e){if(e==null)return!0;if(vt(e)&&(Ge(e)||typeof e=="string"||typeof e.splice=="function"||kt(e)||Lr(e)||jt(e)))return!e.length;var t=nt(e);if(t==Zc||t==Jc)return!e.size;if(Dr(e))return!ys(e).length;for(var r in e)if(Kc.call(e,r))return!1;return!0}const gy=Object.freeze(Object.defineProperty({__proto__:null,default:Yc},Symbol.toStringTag,{value:"Module"}));function my(e,t,r){return e==null?e:Es(e,t,r)}function yy(e){return e===void 0}var bn=function(){return ot.Date.now()},Xc="Expected a function",Qc=Math.max,e0=Math.min;function t0(e,t,r){var n,a,o,d,x,S,E=0,p=!1,$=!1,j=!0;if(typeof e!="function")throw new TypeError(Xc);t=Ln(t)||0,Ve(r)&&(p=!!r.leading,$="maxWait"in r,o=$?Qc(Ln(r.maxWait)||0,t):o,j="trailing"in r?!!r.trailing:j);function Y(X){var H=n,ae=a;return n=a=void 0,E=X,d=e.apply(ae,H),d}function z(X){return E=X,x=setTimeout(he,t),p?Y(X):d}function oe(X){var H=X-S,ae=X-E,de=t-H;return $?e0(de,o-ae):de}function J(X){var H=X-S,ae=X-E;return S===void 0||H>=t||H<0||$&&ae>=o}function he(){var X=bn();if(J(X))return te(X);x=setTimeout(he,oe(X))}function te(X){return x=void 0,j&&n?Y(X):(n=a=void 0,d)}function se(){x!==void 0&&clearTimeout(x),E=0,n=S=a=x=void 0}function ce(){return x===void 0?d:te(bn())}function fe(){var X=bn(),H=J(X);if(n=arguments,a=this,S=X,H){if(x===void 0)return z(S);if($)return clearTimeout(x),x=setTimeout(he,t),Y(S)}return x===void 0&&(x=setTimeout(he,t)),d}return fe.cancel=se,fe.flush=ce,fe}var r0="Expected a function";function wy(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(r0);return Ve(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),t0(e,t,{leading:n,maxWait:t,trailing:a})}var n0="[object Object]",i0=Function.prototype,o0=Object.prototype,Ss=i0.toString,s0=o0.hasOwnProperty,a0=Ss.call(Object);function kr(e){if(!et(e)||ut(e)!=n0)return!1;var t=ai(e);if(t===null)return!0;var r=s0.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Ss.call(r)==a0}const vy=Object.freeze(Object.defineProperty({__proto__:null,default:kr},Symbol.toStringTag,{value:"Module"}));function u0(){}function zn(e,t,r){(r!==void 0&&!Wt(e[t],r)||r===void 0&&!(t in e))&&fr(e,t,r)}function f0(e){return function(t,r,n){for(var a=-1,o=Object(t),d=n(t),x=d.length;x--;){var S=d[++a];if(r(o[S],S,o)===!1)break}return t}}var Bs=f0(),As=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Xi=As&&typeof module=="object"&&module&&!module.nodeType&&module,l0=Xi&&Xi.exports===As,Qi=l0?ot.Buffer:void 0,eo=Qi?Qi.allocUnsafe:void 0;function Os(e,t){if(t)return e.slice();var r=e.length,n=eo?eo(r):new e.constructor(r);return e.copy(n),n}function fi(e){var t=new e.constructor(e.byteLength);return new Tr(t).set(new Tr(e)),t}function Ts(e,t){var r=t?fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function li(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var to=Object.create,c0=function(){function e(){}return function(t){if(!Ve(t))return{};if(to)return to(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Cs(e){return typeof e.constructor=="function"&&!Dr(e)?c0(ai(e)):{}}function Ot(e){return et(e)&&vt(e)}function Hn(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Ft(e,t,r,n){var a=!r;r||(r={});for(var o=-1,d=t.length;++o<d;){var x=t[o],S=n?n(r[x],e[x],x,r,e):void 0;S===void 0&&(S=e[x]),a?fr(r,x,S):si(r,x,S)}return r}function h0(e){return Ft(e,Vt(e))}function d0(e,t,r,n,a,o,d){var x=Hn(e,r),S=Hn(t,r),E=d.get(S);if(E){zn(e,r,E);return}var p=o?o(x,S,r+"",e,t,d):void 0,$=p===void 0;if($){var j=Ge(S),Y=!j&&kt(S),z=!j&&!Y&&Lr(S);p=S,j||Y||z?Ge(x)?p=x:Ot(x)?p=li(x):Y?($=!1,p=Os(S,!0)):z?($=!1,p=Ts(S,!0)):p=[]:kr(S)||jt(S)?(p=x,jt(x)?p=h0(x):(!Ve(x)||Qn(x))&&(p=Cs(S))):$=!1}$&&(d.set(S,p),a(p,S,n,o,d),d.delete(S)),zn(e,r,p)}function qr(e,t,r,n,a){e!==t&&Bs(t,function(o,d){if(a||(a=new at),Ve(o))d0(e,t,d,r,qr,n,a);else{var x=n?n(Hn(e,d),o,d+"",e,t,a):void 0;x===void 0&&(x=o),zn(e,d,x)}},Vt)}function ci(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var ro=Math.max;function $s(e,t,r){return t=ro(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,o=ro(n.length-t,0),d=Array(o);++a<o;)d[a]=n[t+a];a=-1;for(var x=Array(t+1);++a<t;)x[a]=n[a];return x[t]=r(d),ci(e,this,x)}}function p0(e){return function(){return e}}var g0=Cr?function(e,t){return Cr(e,"toString",{configurable:!0,enumerable:!1,value:p0(t),writable:!0})}:ur,m0=800,y0=16,w0=Date.now;function v0(e){var t=0,r=0;return function(){var n=w0(),a=y0-(n-r);if(r=n,a>0){if(++t>=m0)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Fs=v0(g0);function ft(e,t){return Fs($s(e,t,ur),e+"")}function Gn(e,t,r){if(!Ve(r))return!1;var n=typeof t;return(n=="number"?vt(r)&&sr(t,r.length):n=="string"&&t in r)?Wt(r[t],e):!1}function hi(e){return ft(function(t,r){var n=-1,a=r.length,o=a>1?r[a-1]:void 0,d=a>2?r[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,d&&Gn(r[0],r[1],d)&&(o=a<3?void 0:o,a=1),t=Object(t);++n<a;){var x=r[n];x&&e(t,x,n,o)}return t})}var xy=hi(function(e,t,r){qr(e,t,r)});function Rs(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function x0(e,t){return e&&Ft(t,xt(t),e)}function b0(e,t){return e&&Ft(t,Vt(t),e)}function E0(e,t){return Ft(e,ri(e),t)}function M0(e,t){return Ft(e,_s(e),t)}var _0=Object.prototype,S0=_0.hasOwnProperty;function B0(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&S0.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function A0(e,t){var r=t?fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var O0=/\w*$/;function T0(e){var t=new e.constructor(e.source,O0.exec(e));return t.lastIndex=e.lastIndex,t}var no=it?it.prototype:void 0,io=no?no.valueOf:void 0;function C0(e){return io?Object(io.call(e)):{}}var $0="[object Boolean]",F0="[object Date]",R0="[object Map]",I0="[object Number]",N0="[object RegExp]",U0="[object Set]",P0="[object String]",L0="[object Symbol]",D0="[object ArrayBuffer]",j0="[object DataView]",k0="[object Float32Array]",q0="[object Float64Array]",z0="[object Int8Array]",H0="[object Int16Array]",G0="[object Int32Array]",W0="[object Uint8Array]",Z0="[object Uint8ClampedArray]",J0="[object Uint16Array]",V0="[object Uint32Array]";function K0(e,t,r){var n=e.constructor;switch(t){case D0:return fi(e);case $0:case F0:return new n(+e);case j0:return A0(e,r);case k0:case q0:case z0:case H0:case G0:case W0:case Z0:case J0:case V0:return Ts(e,r);case R0:return new n;case I0:case P0:return new n(e);case N0:return T0(e);case U0:return new n;case L0:return C0(e)}}var Y0="[object Map]";function X0(e){return et(e)&&nt(e)==Y0}var oo=qt&&qt.isMap,Q0=oo?Pr(oo):X0,eh="[object Set]";function th(e){return et(e)&&nt(e)==eh}var so=qt&&qt.isSet,rh=so?Pr(so):th,nh=1,ih=2,oh=4,Is="[object Arguments]",sh="[object Array]",ah="[object Boolean]",uh="[object Date]",fh="[object Error]",Ns="[object Function]",lh="[object GeneratorFunction]",ch="[object Map]",hh="[object Number]",Us="[object Object]",dh="[object RegExp]",ph="[object Set]",gh="[object String]",mh="[object Symbol]",yh="[object WeakMap]",wh="[object ArrayBuffer]",vh="[object DataView]",xh="[object Float32Array]",bh="[object Float64Array]",Eh="[object Int8Array]",Mh="[object Int16Array]",_h="[object Int32Array]",Sh="[object Uint8Array]",Bh="[object Uint8ClampedArray]",Ah="[object Uint16Array]",Oh="[object Uint32Array]",De={};De[Is]=De[sh]=De[wh]=De[vh]=De[ah]=De[uh]=De[xh]=De[bh]=De[Eh]=De[Mh]=De[_h]=De[ch]=De[hh]=De[Us]=De[dh]=De[ph]=De[gh]=De[mh]=De[Sh]=De[Bh]=De[Ah]=De[Oh]=!0;De[fh]=De[Ns]=De[yh]=!1;function tr(e,t,r,n,a,o){var d,x=t&nh,S=t&ih,E=t&oh;if(r&&(d=a?r(e,n,a,o):r(e)),d!==void 0)return d;if(!Ve(e))return e;var p=Ge(e);if(p){if(d=B0(e),!x)return li(e,d)}else{var $=nt(e),j=$==Ns||$==lh;if(kt(e))return Os(e,x);if($==Us||$==Is||j&&!a){if(d=S||j?{}:Cs(e),!x)return S?M0(e,b0(d,e)):E0(e,x0(d,e))}else{if(!De[$])return a?e:{};d=K0(e,$,x)}}o||(o=new at);var Y=o.get(e);if(Y)return Y;o.set(e,d),rh(e)?e.forEach(function(J){d.add(tr(J,t,r,J,e,o))}):Q0(e)&&e.forEach(function(J,he){d.set(he,tr(J,t,r,he,e,o))});var z=E?S?ui:Dn:S?Vt:xt,oe=p?void 0:z(e);return Rs(oe||e,function(J,he){oe&&(he=J,J=e[he]),si(d,he,tr(J,t,r,he,e,o))}),d}function zr(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Th(e,t){return t.length<2?e:ar(e,Yn(t,0,-1))}function Ch(e,t){return t=Zt(t,e),e=Th(e,t),e==null||delete e[Jt(zr(t))]}function $h(e){return kr(e)?void 0:e}var ao=it?it.isConcatSpreadable:void 0;function Fh(e){return Ge(e)||jt(e)||!!(ao&&e&&e[ao])}function lr(e,t,r,n,a){var o=-1,d=e.length;for(r||(r=Fh),a||(a=[]);++o<d;){var x=e[o];r(x)?ti(a,x):n||(a[a.length]=x)}return a}function Rh(e){var t=e==null?0:e.length;return t?lr(e):[]}function Ps(e){return Fs($s(e,void 0,Rh),e+"")}var Ih=1,Nh=2,Uh=4,Ph=Ps(function(e,t){var r={};if(e==null)return r;var n=!1;t=gt(t,function(o){return o=Zt(o,e),n||(n=o.length>1),o}),Ft(e,ui(e),r),n&&(r=tr(r,Ih|Nh|Uh,$h));for(var a=t.length;a--;)Ch(r,t[a]);return r});const by=Object.freeze(Object.defineProperty({__proto__:null,default:Ph},Symbol.toStringTag,{value:"Module"}));function Ls(e,t,r,n){for(var a=e.length,o=r+-1;++o<a;)if(t(e[o],o,e))return o;return-1}function Lh(e){return e!==e}function Dh(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function Hr(e,t,r){return t===t?Dh(e,t,r):Ls(e,Lh,r)}function di(e,t){var r=e==null?0:e.length;return!!r&&Hr(e,t,0)>-1}function Ds(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}var jh=1/0,kh=Pt&&1/ei(new Pt([,-0]))[1]==jh?function(e){return new Pt(e)}:u0,qh=200;function zt(e,t,r){var n=-1,a=di,o=e.length,d=!0,x=[],S=x;if(r)d=!1,a=Ds;else if(o>=qh){var E=t?null:kh(e);if(E)return ei(E);d=!1,a=ir,S=new At}else S=t?[]:x;e:for(;++n<o;){var p=e[n],$=t?t(p):p;if(p=r||p!==0?p:0,d&&$===$){for(var j=S.length;j--;)if(S[j]===$)continue e;t&&S.push($),x.push(p)}else a(S,$,r)||(S!==x&&S.push($),x.push(p))}return x}function zh(e,t){return e&&e.length?zt(e,dt(t)):[]}const Ey=Object.freeze(Object.defineProperty({__proto__:null,default:zh},Symbol.toStringTag,{value:"Module"})),Hh=/#/g,Gh=/&/g,Wh=/\//g,Zh=/=/g,pi=/\+/g,Jh=/%5e/gi,Vh=/%60/gi,Kh=/%7c/gi,Yh=/%20/gi;function Xh(e){return encodeURI(""+e).replace(Kh,"|")}function Wn(e){return Xh(typeof e=="string"?e:JSON.stringify(e)).replace(pi,"%2B").replace(Yh,"+").replace(Hh,"%23").replace(Gh,"%26").replace(Vh,"`").replace(Jh,"^").replace(Wh,"%2F")}function En(e){return Wn(e).replace(Zh,"%3D")}function js(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Qh(e){return js(e.replace(pi," "))}function ed(e){return js(e.replace(pi," "))}function ks(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const a=Qh(n[1]);if(a==="__proto__"||a==="constructor")continue;const o=ed(n[2]||"");t[a]===void 0?t[a]=o:Array.isArray(t[a])?t[a].push(o):t[a]=[t[a],o]}return t}function td(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${En(e)}=${Wn(r)}`).join("&"):`${En(e)}=${Wn(t)}`:En(e)}function rd(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>td(t,e[t])).filter(Boolean).join("&")}const nd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,qs=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,id=/^([/\\]\s*){2,}[^/\\]/,od=/^\.?\//;function sd(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?nd.test(e):qs.test(e)||(t.acceptRelative?id.test(e):!1)}function ad(e="",t){return e.endsWith("/")}function My(e="",t){return(ad(e)?e.slice(0,-1):e)||"/"}function ud(e="",t){return e.endsWith("/")?e:e+"/"}function fd(e=""){return e.startsWith("/")}function _y(e=""){return(fd(e)?e.slice(1):e)||"/"}function Sy(e,t){const r=mi(e),n={...ks(r.search),...t};return r.search=rd(n),cd(r)}function By(e){return ks(mi(e).search)}function ld(e){return e&&e!=="/"}function Ay(e,...t){let r=e||"";for(const n of t.filter(a=>ld(a)))if(r){const a=n.replace(od,"");r=ud(r)+a}else r=n;return r}function Oy(e){return gi(e,"http://")}function Ty(e){return gi(e,"https://")}function Cy(e){return gi(e,"")}function gi(e,t){let r=e.match(qs);return r||(r=e.match(/^\/{2,}/)),r?t+e.slice(r[0].length):t+e}const zs=Symbol.for("ufo:protocolRelative");function mi(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,$,j=""]=r;return{protocol:$.toLowerCase(),pathname:j,href:$+j,auth:"",host:"",search:"",hash:""}}if(!sd(e,{acceptRelative:!0}))return uo(e);const[,n="",a,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,d="",x=""]=o.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(x=x.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:S,search:E,hash:p}=uo(x);return{protocol:n.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:d,pathname:S,search:E,hash:p,[zs]:!n}}function uo(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function cd(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",a=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[zs]?(e.protocol||"")+"//":"")+a+o+t+r+n}const hd=/\/([^/]+\.[^/]+)$/;function $y(e="",t){const{pathname:r}=mi(e),n=r.match(hd);return n?n[1]:void 0}function Hs(e,t){return function(){return e.apply(t,arguments)}}const{toString:dd}=Object.prototype,{getPrototypeOf:yi}=Object,{iterator:Gr,toStringTag:Gs}=Symbol,Wr=(e=>t=>{const r=dd.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),lt=e=>(e=e.toLowerCase(),t=>Wr(t)===e),Zr=e=>t=>typeof t===e,{isArray:Kt}=Array,Ht=Zr("undefined");function cr(e){return e!==null&&!Ht(e)&&e.constructor!==null&&!Ht(e.constructor)&&Xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ws=lt("ArrayBuffer");function pd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ws(e.buffer),t}const gd=Zr("string"),Xe=Zr("function"),Zs=Zr("number"),hr=e=>e!==null&&typeof e=="object",md=e=>e===!0||e===!1,_r=e=>{if(Wr(e)!=="object")return!1;const t=yi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Gs in e)&&!(Gr in e)},yd=e=>{if(!hr(e)||cr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},wd=lt("Date"),vd=lt("File"),xd=lt("Blob"),bd=lt("FileList"),Ed=e=>hr(e)&&Xe(e.pipe),Md=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xe(e.append)&&((t=Wr(e))==="formdata"||t==="object"&&Xe(e.toString)&&e.toString()==="[object FormData]"))},_d=lt("URLSearchParams"),[Sd,Bd,Ad,Od]=["ReadableStream","Request","Response","Headers"].map(lt),Td=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function dr(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),Kt(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{if(cr(e))return;const o=r?Object.getOwnPropertyNames(e):Object.keys(e),d=o.length;let x;for(n=0;n<d;n++)x=o[n],t.call(null,e[x],x,e)}}function Js(e,t){if(cr(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const _t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Mt,Vs=e=>!Ht(e)&&e!==_t;function Zn(){const{caseless:e,skipUndefined:t}=Vs(this)&&this||{},r={},n=(a,o)=>{const d=e&&Js(r,o)||o;_r(r[d])&&_r(a)?r[d]=Zn(r[d],a):_r(a)?r[d]=Zn({},a):Kt(a)?r[d]=a.slice():(!t||!Ht(a))&&(r[d]=a)};for(let a=0,o=arguments.length;a<o;a++)arguments[a]&&dr(arguments[a],n);return r}const Cd=(e,t,r,{allOwnKeys:n}={})=>(dr(t,(a,o)=>{r&&Xe(a)?e[o]=Hs(a,r):e[o]=a},{allOwnKeys:n}),e),$d=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Fd=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Rd=(e,t,r,n)=>{let a,o,d;const x={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)d=a[o],(!n||n(d,e,t))&&!x[d]&&(t[d]=e[d],x[d]=!0);e=r!==!1&&yi(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Id=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Nd=e=>{if(!e)return null;if(Kt(e))return e;let t=e.length;if(!Zs(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Ud=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&yi(Uint8Array)),Pd=(e,t)=>{const n=(e&&e[Gr]).call(e);let a;for(;(a=n.next())&&!a.done;){const o=a.value;t.call(e,o[0],o[1])}},Ld=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Dd=lt("HTMLFormElement"),jd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),fo=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),kd=lt("RegExp"),Ks=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};dr(r,(a,o)=>{let d;(d=t(a,o,e))!==!1&&(n[o]=d||a)}),Object.defineProperties(e,n)},qd=e=>{Ks(e,(t,r)=>{if(Xe(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Xe(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},zd=(e,t)=>{const r={},n=a=>{a.forEach(o=>{r[o]=!0})};return Kt(e)?n(e):n(String(e).split(t)),r},Hd=()=>{},Gd=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Wd(e){return!!(e&&Xe(e.append)&&e[Gs]==="FormData"&&e[Gr])}const Zd=e=>{const t=new Array(10),r=(n,a)=>{if(hr(n)){if(t.indexOf(n)>=0)return;if(cr(n))return n;if(!("toJSON"in n)){t[a]=n;const o=Kt(n)?[]:{};return dr(n,(d,x)=>{const S=r(d,a+1);!Ht(S)&&(o[x]=S)}),t[a]=void 0,o}}return n};return r(e,0)},Jd=lt("AsyncFunction"),Vd=e=>e&&(hr(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),Ys=((e,t)=>e?setImmediate:t?((r,n)=>(_t.addEventListener("message",({source:a,data:o})=>{a===_t&&o===r&&n.length&&n.shift()()},!1),a=>{n.push(a),_t.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Xe(_t.postMessage)),Kd=typeof queueMicrotask<"u"?queueMicrotask.bind(_t):typeof Or<"u"&&Or.nextTick||Ys,Yd=e=>e!=null&&Xe(e[Gr]),ee={isArray:Kt,isArrayBuffer:Ws,isBuffer:cr,isFormData:Md,isArrayBufferView:pd,isString:gd,isNumber:Zs,isBoolean:md,isObject:hr,isPlainObject:_r,isEmptyObject:yd,isReadableStream:Sd,isRequest:Bd,isResponse:Ad,isHeaders:Od,isUndefined:Ht,isDate:wd,isFile:vd,isBlob:xd,isRegExp:kd,isFunction:Xe,isStream:Ed,isURLSearchParams:_d,isTypedArray:Ud,isFileList:bd,forEach:dr,merge:Zn,extend:Cd,trim:Td,stripBOM:$d,inherits:Fd,toFlatObject:Rd,kindOf:Wr,kindOfTest:lt,endsWith:Id,toArray:Nd,forEachEntry:Pd,matchAll:Ld,isHTMLForm:Dd,hasOwnProperty:fo,hasOwnProp:fo,reduceDescriptors:Ks,freezeMethods:qd,toObjectSet:zd,toCamelCase:jd,noop:Hd,toFiniteNumber:Gd,findKey:Js,global:_t,isContextDefined:Vs,isSpecCompliantForm:Wd,toJSONObject:Zd,isAsyncFn:Jd,isThenable:Vd,setImmediate:Ys,asap:Kd,isIterable:Yd};var wi={},Jr={};Jr.byteLength=ep;Jr.toByteArray=rp;Jr.fromByteArray=op;var ht=[],rt=[],Xd=typeof Uint8Array<"u"?Uint8Array:Array,Mn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var It=0,Qd=Mn.length;It<Qd;++It)ht[It]=Mn[It],rt[Mn.charCodeAt(It)]=It;rt[45]=62;rt[95]=63;function Xs(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function ep(e){var t=Xs(e),r=t[0],n=t[1];return(r+n)*3/4-n}function tp(e,t,r){return(t+r)*3/4-r}function rp(e){var t,r=Xs(e),n=r[0],a=r[1],o=new Xd(tp(e,n,a)),d=0,x=a>0?n-4:n,S;for(S=0;S<x;S+=4)t=rt[e.charCodeAt(S)]<<18|rt[e.charCodeAt(S+1)]<<12|rt[e.charCodeAt(S+2)]<<6|rt[e.charCodeAt(S+3)],o[d++]=t>>16&255,o[d++]=t>>8&255,o[d++]=t&255;return a===2&&(t=rt[e.charCodeAt(S)]<<2|rt[e.charCodeAt(S+1)]>>4,o[d++]=t&255),a===1&&(t=rt[e.charCodeAt(S)]<<10|rt[e.charCodeAt(S+1)]<<4|rt[e.charCodeAt(S+2)]>>2,o[d++]=t>>8&255,o[d++]=t&255),o}function np(e){return ht[e>>18&63]+ht[e>>12&63]+ht[e>>6&63]+ht[e&63]}function ip(e,t,r){for(var n,a=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),a.push(np(n));return a.join("")}function op(e){for(var t,r=e.length,n=r%3,a=[],o=16383,d=0,x=r-n;d<x;d+=o)a.push(ip(e,d,d+o>x?x:d+o));return n===1?(t=e[r-1],a.push(ht[t>>2]+ht[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],a.push(ht[t>>10]+ht[t>>4&63]+ht[t<<2&63]+"=")),a.join("")}var vi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */vi.read=function(e,t,r,n,a){var o,d,x=a*8-n-1,S=(1<<x)-1,E=S>>1,p=-7,$=r?a-1:0,j=r?-1:1,Y=e[t+$];for($+=j,o=Y&(1<<-p)-1,Y>>=-p,p+=x;p>0;o=o*256+e[t+$],$+=j,p-=8);for(d=o&(1<<-p)-1,o>>=-p,p+=n;p>0;d=d*256+e[t+$],$+=j,p-=8);if(o===0)o=1-E;else{if(o===S)return d?NaN:(Y?-1:1)*(1/0);d=d+Math.pow(2,n),o=o-E}return(Y?-1:1)*d*Math.pow(2,o-n)};vi.write=function(e,t,r,n,a,o){var d,x,S,E=o*8-a-1,p=(1<<E)-1,$=p>>1,j=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,Y=n?0:o-1,z=n?1:-1,oe=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(x=isNaN(t)?1:0,d=p):(d=Math.floor(Math.log(t)/Math.LN2),t*(S=Math.pow(2,-d))<1&&(d--,S*=2),d+$>=1?t+=j/S:t+=j*Math.pow(2,1-$),t*S>=2&&(d++,S/=2),d+$>=p?(x=0,d=p):d+$>=1?(x=(t*S-1)*Math.pow(2,a),d=d+$):(x=t*Math.pow(2,$-1)*Math.pow(2,a),d=0));a>=8;e[r+Y]=x&255,Y+=z,x/=256,a-=8);for(d=d<<a|x,E+=a;E>0;e[r+Y]=d&255,Y+=z,d/=256,E-=8);e[r+Y-z]|=oe*128};/*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <https://feross.org>
5
+ * @license MIT
6
+ */(function(e){const t=Jr,r=vi,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=p,e.SlowBuffer=fe,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a;const{Uint8Array:o,ArrayBuffer:d,SharedArrayBuffer:x}=globalThis;p.TYPED_ARRAY_SUPPORT=S(),!p.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function S(){try{const y=new o(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,o.prototype),Object.setPrototypeOf(y,s),y.foo()===42}catch{return!1}}Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}});function E(y){if(y>a)throw new RangeError('The value "'+y+'" is invalid for option "size"');const s=new o(y);return Object.setPrototypeOf(s,p.prototype),s}function p(y,s,l){if(typeof y=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return z(y)}return $(y,s,l)}p.poolSize=8192;function $(y,s,l){if(typeof y=="string")return oe(y,s);if(d.isView(y))return he(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(Ee(y,d)||y&&Ee(y.buffer,d)||typeof x<"u"&&(Ee(y,x)||y&&Ee(y.buffer,x)))return te(y,s,l);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const _=y.valueOf&&y.valueOf();if(_!=null&&_!==y)return p.from(_,s,l);const I=se(y);if(I)return I;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return p.from(y[Symbol.toPrimitive]("string"),s,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}p.from=function(y,s,l){return $(y,s,l)},Object.setPrototypeOf(p.prototype,o.prototype),Object.setPrototypeOf(p,o);function j(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function Y(y,s,l){return j(y),y<=0?E(y):s!==void 0?typeof l=="string"?E(y).fill(s,l):E(y).fill(s):E(y)}p.alloc=function(y,s,l){return Y(y,s,l)};function z(y){return j(y),E(y<0?0:ce(y)|0)}p.allocUnsafe=function(y){return z(y)},p.allocUnsafeSlow=function(y){return z(y)};function oe(y,s){if((typeof s!="string"||s==="")&&(s="utf8"),!p.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const l=X(y,s)|0;let _=E(l);const I=_.write(y,s);return I!==l&&(_=_.slice(0,I)),_}function J(y){const s=y.length<0?0:ce(y.length)|0,l=E(s);for(let _=0;_<s;_+=1)l[_]=y[_]&255;return l}function he(y){if(Ee(y,o)){const s=new o(y);return te(s.buffer,s.byteOffset,s.byteLength)}return J(y)}function te(y,s,l){if(s<0||y.byteLength<s)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<s+(l||0))throw new RangeError('"length" is outside of buffer bounds');let _;return s===void 0&&l===void 0?_=new o(y):l===void 0?_=new o(y,s):_=new o(y,s,l),Object.setPrototypeOf(_,p.prototype),_}function se(y){if(p.isBuffer(y)){const s=ce(y.length)|0,l=E(s);return l.length===0||y.copy(l,0,0,s),l}if(y.length!==void 0)return typeof y.length!="number"||Ne(y.length)?E(0):J(y);if(y.type==="Buffer"&&Array.isArray(y.data))return J(y.data)}function ce(y){if(y>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return y|0}function fe(y){return+y!=y&&(y=0),p.alloc(+y)}p.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==p.prototype},p.compare=function(s,l){if(Ee(s,o)&&(s=p.from(s,s.offset,s.byteLength)),Ee(l,o)&&(l=p.from(l,l.offset,l.byteLength)),!p.isBuffer(s)||!p.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===l)return 0;let _=s.length,I=l.length;for(let Z=0,K=Math.min(_,I);Z<K;++Z)if(s[Z]!==l[Z]){_=s[Z],I=l[Z];break}return _<I?-1:I<_?1:0},p.isEncoding=function(s){switch(String(s).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},p.concat=function(s,l){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return p.alloc(0);let _;if(l===void 0)for(l=0,_=0;_<s.length;++_)l+=s[_].length;const I=p.allocUnsafe(l);let Z=0;for(_=0;_<s.length;++_){let K=s[_];if(Ee(K,o))Z+K.length>I.length?(p.isBuffer(K)||(K=p.from(K)),K.copy(I,Z)):o.prototype.set.call(I,K,Z);else if(p.isBuffer(K))K.copy(I,Z);else throw new TypeError('"list" argument must be an Array of Buffers');Z+=K.length}return I};function X(y,s){if(p.isBuffer(y))return y.length;if(d.isView(y)||Ee(y,d))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const l=y.length,_=arguments.length>2&&arguments[2]===!0;if(!_&&l===0)return 0;let I=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return V(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return ye(y).length;default:if(I)return _?-1:V(y).length;s=(""+s).toLowerCase(),I=!0}}p.byteLength=X;function H(y,s,l){let _=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,s>>>=0,l<=s))return"";for(y||(y="utf8");;)switch(y){case"hex":return ue(this,s,l);case"utf8":case"utf-8":return T(this,s,l);case"ascii":return f(this,s,l);case"latin1":case"binary":return B(this,s,l);case"base64":return v(this,s,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pe(this,s,l);default:if(_)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),_=!0}}p.prototype._isBuffer=!0;function ae(y,s,l){const _=y[s];y[s]=y[l],y[l]=_}p.prototype.swap16=function(){const s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let l=0;l<s;l+=2)ae(this,l,l+1);return this},p.prototype.swap32=function(){const s=this.length;if(s%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let l=0;l<s;l+=4)ae(this,l,l+3),ae(this,l+1,l+2);return this},p.prototype.swap64=function(){const s=this.length;if(s%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let l=0;l<s;l+=8)ae(this,l,l+7),ae(this,l+1,l+6),ae(this,l+2,l+5),ae(this,l+3,l+4);return this},p.prototype.toString=function(){const s=this.length;return s===0?"":arguments.length===0?T(this,0,s):H.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(s){if(!p.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s?!0:p.compare(this,s)===0},p.prototype.inspect=function(){let s="";const l=e.INSPECT_MAX_BYTES;return s=this.toString("hex",0,l).replace(/(.{2})/g,"$1 ").trim(),this.length>l&&(s+=" ... "),"<Buffer "+s+">"},n&&(p.prototype[n]=p.prototype.inspect),p.prototype.compare=function(s,l,_,I,Z){if(Ee(s,o)&&(s=p.from(s,s.offset,s.byteLength)),!p.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(l===void 0&&(l=0),_===void 0&&(_=s?s.length:0),I===void 0&&(I=0),Z===void 0&&(Z=this.length),l<0||_>s.length||I<0||Z>this.length)throw new RangeError("out of range index");if(I>=Z&&l>=_)return 0;if(I>=Z)return-1;if(l>=_)return 1;if(l>>>=0,_>>>=0,I>>>=0,Z>>>=0,this===s)return 0;let K=Z-I,ge=_-l;const Ue=Math.min(K,ge),Se=this.slice(I,Z),Be=s.slice(l,_);for(let Fe=0;Fe<Ue;++Fe)if(Se[Fe]!==Be[Fe]){K=Se[Fe],ge=Be[Fe];break}return K<ge?-1:ge<K?1:0};function de(y,s,l,_,I){if(y.length===0)return-1;if(typeof l=="string"?(_=l,l=0):l>2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,Ne(l)&&(l=I?0:y.length-1),l<0&&(l=y.length+l),l>=y.length){if(I)return-1;l=y.length-1}else if(l<0)if(I)l=0;else return-1;if(typeof s=="string"&&(s=p.from(s,_)),p.isBuffer(s))return s.length===0?-1:ne(y,s,l,_,I);if(typeof s=="number")return s=s&255,typeof o.prototype.indexOf=="function"?I?o.prototype.indexOf.call(y,s,l):o.prototype.lastIndexOf.call(y,s,l):ne(y,[s],l,_,I);throw new TypeError("val must be string, number or Buffer")}function ne(y,s,l,_,I){let Z=1,K=y.length,ge=s.length;if(_!==void 0&&(_=String(_).toLowerCase(),_==="ucs2"||_==="ucs-2"||_==="utf16le"||_==="utf-16le")){if(y.length<2||s.length<2)return-1;Z=2,K/=2,ge/=2,l/=2}function Ue(Be,Fe){return Z===1?Be[Fe]:Be.readUInt16BE(Fe*Z)}let Se;if(I){let Be=-1;for(Se=l;Se<K;Se++)if(Ue(y,Se)===Ue(s,Be===-1?0:Se-Be)){if(Be===-1&&(Be=Se),Se-Be+1===ge)return Be*Z}else Be!==-1&&(Se-=Se-Be),Be=-1}else for(l+ge>K&&(l=K-ge),Se=l;Se>=0;Se--){let Be=!0;for(let Fe=0;Fe<ge;Fe++)if(Ue(y,Se+Fe)!==Ue(s,Fe)){Be=!1;break}if(Be)return Se}return-1}p.prototype.includes=function(s,l,_){return this.indexOf(s,l,_)!==-1},p.prototype.indexOf=function(s,l,_){return de(this,s,l,_,!0)},p.prototype.lastIndexOf=function(s,l,_){return de(this,s,l,_,!1)};function A(y,s,l,_){l=Number(l)||0;const I=y.length-l;_?(_=Number(_),_>I&&(_=I)):_=I;const Z=s.length;_>Z/2&&(_=Z/2);let K;for(K=0;K<_;++K){const ge=parseInt(s.substr(K*2,2),16);if(Ne(ge))return K;y[l+K]=ge}return K}function i(y,s,l,_){return we(V(s,y.length-l),y,l,_)}function h(y,s,l,_){return we(ie(s),y,l,_)}function g(y,s,l,_){return we(ye(s),y,l,_)}function m(y,s,l,_){return we(le(s,y.length-l),y,l,_)}p.prototype.write=function(s,l,_,I){if(l===void 0)I="utf8",_=this.length,l=0;else if(_===void 0&&typeof l=="string")I=l,_=this.length,l=0;else if(isFinite(l))l=l>>>0,isFinite(_)?(_=_>>>0,I===void 0&&(I="utf8")):(I=_,_=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Z=this.length-l;if((_===void 0||_>Z)&&(_=Z),s.length>0&&(_<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");let K=!1;for(;;)switch(I){case"hex":return A(this,s,l,_);case"utf8":case"utf-8":return i(this,s,l,_);case"ascii":case"latin1":case"binary":return h(this,s,l,_);case"base64":return g(this,s,l,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m(this,s,l,_);default:if(K)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),K=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function v(y,s,l){return s===0&&l===y.length?t.fromByteArray(y):t.fromByteArray(y.slice(s,l))}function T(y,s,l){l=Math.min(y.length,l);const _=[];let I=s;for(;I<l;){const Z=y[I];let K=null,ge=Z>239?4:Z>223?3:Z>191?2:1;if(I+ge<=l){let Ue,Se,Be,Fe;switch(ge){case 1:Z<128&&(K=Z);break;case 2:Ue=y[I+1],(Ue&192)===128&&(Fe=(Z&31)<<6|Ue&63,Fe>127&&(K=Fe));break;case 3:Ue=y[I+1],Se=y[I+2],(Ue&192)===128&&(Se&192)===128&&(Fe=(Z&15)<<12|(Ue&63)<<6|Se&63,Fe>2047&&(Fe<55296||Fe>57343)&&(K=Fe));break;case 4:Ue=y[I+1],Se=y[I+2],Be=y[I+3],(Ue&192)===128&&(Se&192)===128&&(Be&192)===128&&(Fe=(Z&15)<<18|(Ue&63)<<12|(Se&63)<<6|Be&63,Fe>65535&&Fe<1114112&&(K=Fe))}}K===null?(K=65533,ge=1):K>65535&&(K-=65536,_.push(K>>>10&1023|55296),K=56320|K&1023),_.push(K),I+=ge}return M(_)}const F=4096;function M(y){const s=y.length;if(s<=F)return String.fromCharCode.apply(String,y);let l="",_=0;for(;_<s;)l+=String.fromCharCode.apply(String,y.slice(_,_+=F));return l}function f(y,s,l){let _="";l=Math.min(y.length,l);for(let I=s;I<l;++I)_+=String.fromCharCode(y[I]&127);return _}function B(y,s,l){let _="";l=Math.min(y.length,l);for(let I=s;I<l;++I)_+=String.fromCharCode(y[I]);return _}function ue(y,s,l){const _=y.length;(!s||s<0)&&(s=0),(!l||l<0||l>_)&&(l=_);let I="";for(let Z=s;Z<l;++Z)I+=xe[y[Z]];return I}function pe(y,s,l){const _=y.slice(s,l);let I="";for(let Z=0;Z<_.length-1;Z+=2)I+=String.fromCharCode(_[Z]+_[Z+1]*256);return I}p.prototype.slice=function(s,l){const _=this.length;s=~~s,l=l===void 0?_:~~l,s<0?(s+=_,s<0&&(s=0)):s>_&&(s=_),l<0?(l+=_,l<0&&(l=0)):l>_&&(l=_),l<s&&(l=s);const I=this.subarray(s,l);return Object.setPrototypeOf(I,p.prototype),I};function D(y,s,l){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+s>l)throw new RangeError("Trying to access beyond buffer length")}p.prototype.readUintLE=p.prototype.readUIntLE=function(s,l,_){s=s>>>0,l=l>>>0,_||D(s,l,this.length);let I=this[s],Z=1,K=0;for(;++K<l&&(Z*=256);)I+=this[s+K]*Z;return I},p.prototype.readUintBE=p.prototype.readUIntBE=function(s,l,_){s=s>>>0,l=l>>>0,_||D(s,l,this.length);let I=this[s+--l],Z=1;for(;l>0&&(Z*=256);)I+=this[s+--l]*Z;return I},p.prototype.readUint8=p.prototype.readUInt8=function(s,l){return s=s>>>0,l||D(s,1,this.length),this[s]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(s,l){return s=s>>>0,l||D(s,2,this.length),this[s]|this[s+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(s,l){return s=s>>>0,l||D(s,2,this.length),this[s]<<8|this[s+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(s,l){return s=s>>>0,l||D(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(s,l){return s=s>>>0,l||D(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},p.prototype.readBigUInt64LE=ve(function(s){s=s>>>0,W(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=l+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,Z=this[++s]+this[++s]*2**8+this[++s]*2**16+_*2**24;return BigInt(I)+(BigInt(Z)<<BigInt(32))}),p.prototype.readBigUInt64BE=ve(function(s){s=s>>>0,W(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=l*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],Z=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+_;return(BigInt(I)<<BigInt(32))+BigInt(Z)}),p.prototype.readIntLE=function(s,l,_){s=s>>>0,l=l>>>0,_||D(s,l,this.length);let I=this[s],Z=1,K=0;for(;++K<l&&(Z*=256);)I+=this[s+K]*Z;return Z*=128,I>=Z&&(I-=Math.pow(2,8*l)),I},p.prototype.readIntBE=function(s,l,_){s=s>>>0,l=l>>>0,_||D(s,l,this.length);let I=l,Z=1,K=this[s+--I];for(;I>0&&(Z*=256);)K+=this[s+--I]*Z;return Z*=128,K>=Z&&(K-=Math.pow(2,8*l)),K},p.prototype.readInt8=function(s,l){return s=s>>>0,l||D(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},p.prototype.readInt16LE=function(s,l){s=s>>>0,l||D(s,2,this.length);const _=this[s]|this[s+1]<<8;return _&32768?_|4294901760:_},p.prototype.readInt16BE=function(s,l){s=s>>>0,l||D(s,2,this.length);const _=this[s+1]|this[s]<<8;return _&32768?_|4294901760:_},p.prototype.readInt32LE=function(s,l){return s=s>>>0,l||D(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},p.prototype.readInt32BE=function(s,l){return s=s>>>0,l||D(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},p.prototype.readBigInt64LE=ve(function(s){s=s>>>0,W(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(_<<24);return(BigInt(I)<<BigInt(32))+BigInt(l+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24)}),p.prototype.readBigInt64BE=ve(function(s){s=s>>>0,W(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=(l<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(I)<<BigInt(32))+BigInt(this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+_)}),p.prototype.readFloatLE=function(s,l){return s=s>>>0,l||D(s,4,this.length),r.read(this,s,!0,23,4)},p.prototype.readFloatBE=function(s,l){return s=s>>>0,l||D(s,4,this.length),r.read(this,s,!1,23,4)},p.prototype.readDoubleLE=function(s,l){return s=s>>>0,l||D(s,8,this.length),r.read(this,s,!0,52,8)},p.prototype.readDoubleBE=function(s,l){return s=s>>>0,l||D(s,8,this.length),r.read(this,s,!1,52,8)};function me(y,s,l,_,I,Z){if(!p.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>I||s<Z)throw new RangeError('"value" argument is out of bounds');if(l+_>y.length)throw new RangeError("Index out of range")}p.prototype.writeUintLE=p.prototype.writeUIntLE=function(s,l,_,I){if(s=+s,l=l>>>0,_=_>>>0,!I){const ge=Math.pow(2,8*_)-1;me(this,s,l,_,ge,0)}let Z=1,K=0;for(this[l]=s&255;++K<_&&(Z*=256);)this[l+K]=s/Z&255;return l+_},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(s,l,_,I){if(s=+s,l=l>>>0,_=_>>>0,!I){const ge=Math.pow(2,8*_)-1;me(this,s,l,_,ge,0)}let Z=_-1,K=1;for(this[l+Z]=s&255;--Z>=0&&(K*=256);)this[l+Z]=s/K&255;return l+_},p.prototype.writeUint8=p.prototype.writeUInt8=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,1,255,0),this[l]=s&255,l+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,2,65535,0),this[l]=s&255,this[l+1]=s>>>8,l+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,2,65535,0),this[l]=s>>>8,this[l+1]=s&255,l+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,4,4294967295,0),this[l+3]=s>>>24,this[l+2]=s>>>16,this[l+1]=s>>>8,this[l]=s&255,l+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,4,4294967295,0),this[l]=s>>>24,this[l+1]=s>>>16,this[l+2]=s>>>8,this[l+3]=s&255,l+4};function Me(y,s,l,_,I){L(s,_,I,y,l,7);let Z=Number(s&BigInt(4294967295));y[l++]=Z,Z=Z>>8,y[l++]=Z,Z=Z>>8,y[l++]=Z,Z=Z>>8,y[l++]=Z;let K=Number(s>>BigInt(32)&BigInt(4294967295));return y[l++]=K,K=K>>8,y[l++]=K,K=K>>8,y[l++]=K,K=K>>8,y[l++]=K,l}function Oe(y,s,l,_,I){L(s,_,I,y,l,7);let Z=Number(s&BigInt(4294967295));y[l+7]=Z,Z=Z>>8,y[l+6]=Z,Z=Z>>8,y[l+5]=Z,Z=Z>>8,y[l+4]=Z;let K=Number(s>>BigInt(32)&BigInt(4294967295));return y[l+3]=K,K=K>>8,y[l+2]=K,K=K>>8,y[l+1]=K,K=K>>8,y[l]=K,l+8}p.prototype.writeBigUInt64LE=ve(function(s,l=0){return Me(this,s,l,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeBigUInt64BE=ve(function(s,l=0){return Oe(this,s,l,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeIntLE=function(s,l,_,I){if(s=+s,l=l>>>0,!I){const Ue=Math.pow(2,8*_-1);me(this,s,l,_,Ue-1,-Ue)}let Z=0,K=1,ge=0;for(this[l]=s&255;++Z<_&&(K*=256);)s<0&&ge===0&&this[l+Z-1]!==0&&(ge=1),this[l+Z]=(s/K>>0)-ge&255;return l+_},p.prototype.writeIntBE=function(s,l,_,I){if(s=+s,l=l>>>0,!I){const Ue=Math.pow(2,8*_-1);me(this,s,l,_,Ue-1,-Ue)}let Z=_-1,K=1,ge=0;for(this[l+Z]=s&255;--Z>=0&&(K*=256);)s<0&&ge===0&&this[l+Z+1]!==0&&(ge=1),this[l+Z]=(s/K>>0)-ge&255;return l+_},p.prototype.writeInt8=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,1,127,-128),s<0&&(s=255+s+1),this[l]=s&255,l+1},p.prototype.writeInt16LE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,2,32767,-32768),this[l]=s&255,this[l+1]=s>>>8,l+2},p.prototype.writeInt16BE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,2,32767,-32768),this[l]=s>>>8,this[l+1]=s&255,l+2},p.prototype.writeInt32LE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,4,2147483647,-2147483648),this[l]=s&255,this[l+1]=s>>>8,this[l+2]=s>>>16,this[l+3]=s>>>24,l+4},p.prototype.writeInt32BE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[l]=s>>>24,this[l+1]=s>>>16,this[l+2]=s>>>8,this[l+3]=s&255,l+4},p.prototype.writeBigInt64LE=ve(function(s,l=0){return Me(this,s,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeBigInt64BE=ve(function(s,l=0){return Oe(this,s,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function $e(y,s,l,_,I,Z){if(l+_>y.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function _e(y,s,l,_,I){return s=+s,l=l>>>0,I||$e(y,s,l,4),r.write(y,s,l,_,23,4),l+4}p.prototype.writeFloatLE=function(s,l,_){return _e(this,s,l,!0,_)},p.prototype.writeFloatBE=function(s,l,_){return _e(this,s,l,!1,_)};function b(y,s,l,_,I){return s=+s,l=l>>>0,I||$e(y,s,l,8),r.write(y,s,l,_,52,8),l+8}p.prototype.writeDoubleLE=function(s,l,_){return b(this,s,l,!0,_)},p.prototype.writeDoubleBE=function(s,l,_){return b(this,s,l,!1,_)},p.prototype.copy=function(s,l,_,I){if(!p.isBuffer(s))throw new TypeError("argument should be a Buffer");if(_||(_=0),!I&&I!==0&&(I=this.length),l>=s.length&&(l=s.length),l||(l=0),I>0&&I<_&&(I=_),I===_||s.length===0||this.length===0)return 0;if(l<0)throw new RangeError("targetStart out of bounds");if(_<0||_>=this.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),s.length-l<I-_&&(I=s.length-l+_);const Z=I-_;return this===s&&typeof o.prototype.copyWithin=="function"?this.copyWithin(l,_,I):o.prototype.set.call(s,this.subarray(_,I),l),Z},p.prototype.fill=function(s,l,_,I){if(typeof s=="string"){if(typeof l=="string"?(I=l,l=0,_=this.length):typeof _=="string"&&(I=_,_=this.length),I!==void 0&&typeof I!="string")throw new TypeError("encoding must be a string");if(typeof I=="string"&&!p.isEncoding(I))throw new TypeError("Unknown encoding: "+I);if(s.length===1){const K=s.charCodeAt(0);(I==="utf8"&&K<128||I==="latin1")&&(s=K)}}else typeof s=="number"?s=s&255:typeof s=="boolean"&&(s=Number(s));if(l<0||this.length<l||this.length<_)throw new RangeError("Out of range index");if(_<=l)return this;l=l>>>0,_=_===void 0?this.length:_>>>0,s||(s=0);let Z;if(typeof s=="number")for(Z=l;Z<_;++Z)this[Z]=s;else{const K=p.isBuffer(s)?s:p.from(s,I),ge=K.length;if(ge===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(Z=0;Z<_-l;++Z)this[Z+l]=K[Z%ge]}return this};const C={};function R(y,s,l){C[y]=class extends l{constructor(){super(),Object.defineProperty(this,"message",{value:s.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(I){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:I,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}R("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),R("ERR_INVALID_ARG_TYPE",function(y,s){return`The "${y}" argument must be of type number. Received type ${typeof s}`},TypeError),R("ERR_OUT_OF_RANGE",function(y,s,l){let _=`The value of "${y}" is out of range.`,I=l;return Number.isInteger(l)&&Math.abs(l)>2**32?I=q(String(l)):typeof l=="bigint"&&(I=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(I=q(I)),I+="n"),_+=` It must be ${s}. Received ${I}`,_},RangeError);function q(y){let s="",l=y.length;const _=y[0]==="-"?1:0;for(;l>=_+4;l-=3)s=`_${y.slice(l-3,l)}${s}`;return`${y.slice(0,l)}${s}`}function k(y,s,l){W(s,"offset"),(y[s]===void 0||y[s+l]===void 0)&&U(s,y.length-(l+1))}function L(y,s,l,_,I,Z){if(y>l||y<s){const K=typeof s=="bigint"?"n":"";let ge;throw s===0||s===BigInt(0)?ge=`>= 0${K} and < 2${K} ** ${(Z+1)*8}${K}`:ge=`>= -(2${K} ** ${(Z+1)*8-1}${K}) and < 2 ** ${(Z+1)*8-1}${K}`,new C.ERR_OUT_OF_RANGE("value",ge,y)}k(_,I,Z)}function W(y,s){if(typeof y!="number")throw new C.ERR_INVALID_ARG_TYPE(s,"number",y)}function U(y,s,l){throw Math.floor(y)!==y?(W(y,l),new C.ERR_OUT_OF_RANGE("offset","an integer",y)):s<0?new C.ERR_BUFFER_OUT_OF_BOUNDS:new C.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${s}`,y)}const P=/[^+/0-9A-Za-z-_]/g;function G(y){if(y=y.split("=")[0],y=y.trim().replace(P,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function V(y,s){s=s||1/0;let l;const _=y.length;let I=null;const Z=[];for(let K=0;K<_;++K){if(l=y.charCodeAt(K),l>55295&&l<57344){if(!I){if(l>56319){(s-=3)>-1&&Z.push(239,191,189);continue}else if(K+1===_){(s-=3)>-1&&Z.push(239,191,189);continue}I=l;continue}if(l<56320){(s-=3)>-1&&Z.push(239,191,189),I=l;continue}l=(I-55296<<10|l-56320)+65536}else I&&(s-=3)>-1&&Z.push(239,191,189);if(I=null,l<128){if((s-=1)<0)break;Z.push(l)}else if(l<2048){if((s-=2)<0)break;Z.push(l>>6|192,l&63|128)}else if(l<65536){if((s-=3)<0)break;Z.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((s-=4)<0)break;Z.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return Z}function ie(y){const s=[];for(let l=0;l<y.length;++l)s.push(y.charCodeAt(l)&255);return s}function le(y,s){let l,_,I;const Z=[];for(let K=0;K<y.length&&!((s-=2)<0);++K)l=y.charCodeAt(K),_=l>>8,I=l%256,Z.push(I),Z.push(_);return Z}function ye(y){return t.toByteArray(G(y))}function we(y,s,l,_){let I;for(I=0;I<_&&!(I+l>=s.length||I>=y.length);++I)s[I+l]=y[I];return I}function Ee(y,s){return y instanceof s||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===s.name}function Ne(y){return y!==y}const xe=function(){const y="0123456789abcdef",s=new Array(256);for(let l=0;l<16;++l){const _=l*16;for(let I=0;I<16;++I)s[_+I]=y[l]+y[I]}return s}();function ve(y){return typeof BigInt>"u"?Le:y}function Le(){throw new Error("BigInt not supported")}})(wi);const sp=wi.Buffer,Ry=wi.Buffer;function Ce(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}ee.inherits(Ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ee.toJSONObject(this.config),code:this.code,status:this.status}}});const Qs=Ce.prototype,ea={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ea[e]={value:e}});Object.defineProperties(Ce,ea);Object.defineProperty(Qs,"isAxiosError",{value:!0});Ce.from=(e,t,r,n,a,o)=>{const d=Object.create(Qs);ee.toFlatObject(e,d,function(p){return p!==Error.prototype},E=>E!=="isAxiosError");const x=e&&e.message?e.message:"Error",S=t==null&&e?e.code:t;return Ce.call(d,x,S,r,n,a),e&&d.cause==null&&Object.defineProperty(d,"cause",{value:e,configurable:!0}),d.name=e&&e.name||"Error",o&&Object.assign(d,o),d};const ap=null;function Jn(e){return ee.isPlainObject(e)||ee.isArray(e)}function ta(e){return ee.endsWith(e,"[]")?e.slice(0,-2):e}function lo(e,t,r){return e?e.concat(t).map(function(a,o){return a=ta(a),!r&&o?"["+a+"]":a}).join(r?".":""):t}function up(e){return ee.isArray(e)&&!e.some(Jn)}const fp=ee.toFlatObject(ee,{},null,function(t){return/^is[A-Z]/.test(t)});function Vr(e,t,r){if(!ee.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=ee.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(oe,J){return!ee.isUndefined(J[oe])});const n=r.metaTokens,a=r.visitor||p,o=r.dots,d=r.indexes,S=(r.Blob||typeof Blob<"u"&&Blob)&&ee.isSpecCompliantForm(t);if(!ee.isFunction(a))throw new TypeError("visitor must be a function");function E(z){if(z===null)return"";if(ee.isDate(z))return z.toISOString();if(ee.isBoolean(z))return z.toString();if(!S&&ee.isBlob(z))throw new Ce("Blob is not supported. Use a Buffer instead.");return ee.isArrayBuffer(z)||ee.isTypedArray(z)?S&&typeof Blob=="function"?new Blob([z]):sp.from(z):z}function p(z,oe,J){let he=z;if(z&&!J&&typeof z=="object"){if(ee.endsWith(oe,"{}"))oe=n?oe:oe.slice(0,-2),z=JSON.stringify(z);else if(ee.isArray(z)&&up(z)||(ee.isFileList(z)||ee.endsWith(oe,"[]"))&&(he=ee.toArray(z)))return oe=ta(oe),he.forEach(function(se,ce){!(ee.isUndefined(se)||se===null)&&t.append(d===!0?lo([oe],ce,o):d===null?oe:oe+"[]",E(se))}),!1}return Jn(z)?!0:(t.append(lo(J,oe,o),E(z)),!1)}const $=[],j=Object.assign(fp,{defaultVisitor:p,convertValue:E,isVisitable:Jn});function Y(z,oe){if(!ee.isUndefined(z)){if($.indexOf(z)!==-1)throw Error("Circular reference detected in "+oe.join("."));$.push(z),ee.forEach(z,function(he,te){(!(ee.isUndefined(he)||he===null)&&a.call(t,he,ee.isString(te)?te.trim():te,oe,j))===!0&&Y(he,oe?oe.concat(te):[te])}),$.pop()}}if(!ee.isObject(e))throw new TypeError("data must be an object");return Y(e),t}function co(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function xi(e,t){this._pairs=[],e&&Vr(e,this,t)}const ra=xi.prototype;ra.append=function(t,r){this._pairs.push([t,r])};ra.toString=function(t){const r=t?function(n){return t.call(this,n,co)}:co;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function lp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function na(e,t,r){if(!t)return e;const n=r&&r.encode||lp;ee.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let o;if(a?o=a(t,r):o=ee.isURLSearchParams(t)?t.toString():new xi(t,r).toString(n),o){const d=e.indexOf("#");d!==-1&&(e=e.slice(0,d)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class ho{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ee.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ia={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},cp=typeof URLSearchParams<"u"?URLSearchParams:xi,hp=typeof FormData<"u"?FormData:null,dp=typeof Blob<"u"?Blob:null,pp={isBrowser:!0,classes:{URLSearchParams:cp,FormData:hp,Blob:dp},protocols:["http","https","file","blob","url","data"]},bi=typeof window<"u"&&typeof document<"u",Vn=typeof navigator=="object"&&navigator||void 0,gp=bi&&(!Vn||["ReactNative","NativeScript","NS"].indexOf(Vn.product)<0),mp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",yp=bi&&window.location.href||"http://localhost",wp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bi,hasStandardBrowserEnv:gp,hasStandardBrowserWebWorkerEnv:mp,navigator:Vn,origin:yp},Symbol.toStringTag,{value:"Module"})),Ye={...wp,...pp};function vp(e,t){return Vr(e,new Ye.classes.URLSearchParams,{visitor:function(r,n,a,o){return Ye.isNode&&ee.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function xp(e){return ee.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function bp(e){const t={},r=Object.keys(e);let n;const a=r.length;let o;for(n=0;n<a;n++)o=r[n],t[o]=e[o];return t}function oa(e){function t(r,n,a,o){let d=r[o++];if(d==="__proto__")return!0;const x=Number.isFinite(+d),S=o>=r.length;return d=!d&&ee.isArray(a)?a.length:d,S?(ee.hasOwnProp(a,d)?a[d]=[a[d],n]:a[d]=n,!x):((!a[d]||!ee.isObject(a[d]))&&(a[d]=[]),t(r,n,a[d],o)&&ee.isArray(a[d])&&(a[d]=bp(a[d])),!x)}if(ee.isFormData(e)&&ee.isFunction(e.entries)){const r={};return ee.forEachEntry(e,(n,a)=>{t(xp(n),a,r,0)}),r}return null}function Ep(e,t,r){if(ee.isString(e))try{return(t||JSON.parse)(e),ee.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const pr={transitional:ia,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,o=ee.isObject(t);if(o&&ee.isHTMLForm(t)&&(t=new FormData(t)),ee.isFormData(t))return a?JSON.stringify(oa(t)):t;if(ee.isArrayBuffer(t)||ee.isBuffer(t)||ee.isStream(t)||ee.isFile(t)||ee.isBlob(t)||ee.isReadableStream(t))return t;if(ee.isArrayBufferView(t))return t.buffer;if(ee.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let x;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return vp(t,this.formSerializer).toString();if((x=ee.isFileList(t))||n.indexOf("multipart/form-data")>-1){const S=this.env&&this.env.FormData;return Vr(x?{"files[]":t}:t,S&&new S,this.formSerializer)}}return o||a?(r.setContentType("application/json",!1),Ep(t)):t}],transformResponse:[function(t){const r=this.transitional||pr.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(ee.isResponse(t)||ee.isReadableStream(t))return t;if(t&&ee.isString(t)&&(n&&!this.responseType||a)){const d=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(x){if(d)throw x.name==="SyntaxError"?Ce.from(x,Ce.ERR_BAD_RESPONSE,this,null,this.response):x}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ye.classes.FormData,Blob:Ye.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ee.forEach(["delete","get","head","post","put","patch"],e=>{pr.headers[e]={}});const Mp=ee.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),_p=e=>{const t={};let r,n,a;return e&&e.split(`
7
+ `).forEach(function(d){a=d.indexOf(":"),r=d.substring(0,a).trim().toLowerCase(),n=d.substring(a+1).trim(),!(!r||t[r]&&Mp[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},po=Symbol("internals");function Qt(e){return e&&String(e).trim().toLowerCase()}function Sr(e){return e===!1||e==null?e:ee.isArray(e)?e.map(Sr):String(e)}function Sp(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Bp=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _n(e,t,r,n,a){if(ee.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!ee.isString(t)){if(ee.isString(n))return t.indexOf(n)!==-1;if(ee.isRegExp(n))return n.test(t)}}function Ap(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Op(e,t){const r=ee.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,o,d){return this[n].call(this,t,a,o,d)},configurable:!0})})}let Qe=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function o(x,S,E){const p=Qt(S);if(!p)throw new Error("header name must be a non-empty string");const $=ee.findKey(a,p);(!$||a[$]===void 0||E===!0||E===void 0&&a[$]!==!1)&&(a[$||S]=Sr(x))}const d=(x,S)=>ee.forEach(x,(E,p)=>o(E,p,S));if(ee.isPlainObject(t)||t instanceof this.constructor)d(t,r);else if(ee.isString(t)&&(t=t.trim())&&!Bp(t))d(_p(t),r);else if(ee.isObject(t)&&ee.isIterable(t)){let x={},S,E;for(const p of t){if(!ee.isArray(p))throw TypeError("Object iterator must return a key-value pair");x[E=p[0]]=(S=x[E])?ee.isArray(S)?[...S,p[1]]:[S,p[1]]:p[1]}d(x,r)}else t!=null&&o(r,t,n);return this}get(t,r){if(t=Qt(t),t){const n=ee.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return Sp(a);if(ee.isFunction(r))return r.call(this,a,n);if(ee.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Qt(t),t){const n=ee.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||_n(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function o(d){if(d=Qt(d),d){const x=ee.findKey(n,d);x&&(!r||_n(n,n[x],x,r))&&(delete n[x],a=!0)}}return ee.isArray(t)?t.forEach(o):o(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const o=r[n];(!t||_n(this,this[o],o,t,!0))&&(delete this[o],a=!0)}return a}normalize(t){const r=this,n={};return ee.forEach(this,(a,o)=>{const d=ee.findKey(n,o);if(d){r[d]=Sr(a),delete r[o];return}const x=t?Ap(o):String(o).trim();x!==o&&delete r[o],r[x]=Sr(a),n[x]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return ee.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&ee.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
8
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[po]=this[po]={accessors:{}}).accessors,a=this.prototype;function o(d){const x=Qt(d);n[x]||(Op(a,d),n[x]=!0)}return ee.isArray(t)?t.forEach(o):o(t),this}};Qe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ee.reduceDescriptors(Qe.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});ee.freezeMethods(Qe);function Sn(e,t){const r=this||pr,n=t||r,a=Qe.from(n.headers);let o=n.data;return ee.forEach(e,function(x){o=x.call(r,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function sa(e){return!!(e&&e.__CANCEL__)}function Yt(e,t,r){Ce.call(this,e??"canceled",Ce.ERR_CANCELED,t,r),this.name="CanceledError"}ee.inherits(Yt,Ce,{__CANCEL__:!0});function aa(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ce("Request failed with status code "+r.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Tp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Cp(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,o=0,d;return t=t!==void 0?t:1e3,function(S){const E=Date.now(),p=n[o];d||(d=E),r[a]=S,n[a]=E;let $=o,j=0;for(;$!==a;)j+=r[$++],$=$%e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),E-d<t)return;const Y=p&&E-p;return Y?Math.round(j*1e3/Y):void 0}}function $p(e,t){let r=0,n=1e3/t,a,o;const d=(E,p=Date.now())=>{r=p,a=null,o&&(clearTimeout(o),o=null),e(...E)};return[(...E)=>{const p=Date.now(),$=p-r;$>=n?d(E,p):(a=E,o||(o=setTimeout(()=>{o=null,d(a)},n-$)))},()=>a&&d(a)]}const $r=(e,t,r=3)=>{let n=0;const a=Cp(50,250);return $p(o=>{const d=o.loaded,x=o.lengthComputable?o.total:void 0,S=d-n,E=a(S),p=d<=x;n=d;const $={loaded:d,total:x,progress:x?d/x:void 0,bytes:S,rate:E||void 0,estimated:E&&x&&p?(x-d)/E:void 0,event:o,lengthComputable:x!=null,[t?"download":"upload"]:!0};e($)},r)},go=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},mo=e=>(...t)=>ee.asap(()=>e(...t)),Fp=Ye.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ye.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ye.origin),Ye.navigator&&/(msie|trident)/i.test(Ye.navigator.userAgent)):()=>!0,Rp=Ye.hasStandardBrowserEnv?{write(e,t,r,n,a,o,d){if(typeof document>"u")return;const x=[`${e}=${encodeURIComponent(t)}`];ee.isNumber(r)&&x.push(`expires=${new Date(r).toUTCString()}`),ee.isString(n)&&x.push(`path=${n}`),ee.isString(a)&&x.push(`domain=${a}`),o===!0&&x.push("secure"),ee.isString(d)&&x.push(`SameSite=${d}`),document.cookie=x.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Ip(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Np(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ua(e,t,r){let n=!Ip(t);return e&&(n||r==!1)?Np(e,t):t}const yo=e=>e instanceof Qe?{...e}:e;function Tt(e,t){t=t||{};const r={};function n(E,p,$,j){return ee.isPlainObject(E)&&ee.isPlainObject(p)?ee.merge.call({caseless:j},E,p):ee.isPlainObject(p)?ee.merge({},p):ee.isArray(p)?p.slice():p}function a(E,p,$,j){if(ee.isUndefined(p)){if(!ee.isUndefined(E))return n(void 0,E,$,j)}else return n(E,p,$,j)}function o(E,p){if(!ee.isUndefined(p))return n(void 0,p)}function d(E,p){if(ee.isUndefined(p)){if(!ee.isUndefined(E))return n(void 0,E)}else return n(void 0,p)}function x(E,p,$){if($ in t)return n(E,p);if($ in e)return n(void 0,E)}const S={url:o,method:o,data:o,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:x,headers:(E,p,$)=>a(yo(E),yo(p),$,!0)};return ee.forEach(Object.keys({...e,...t}),function(p){const $=S[p]||a,j=$(e[p],t[p],p);ee.isUndefined(j)&&$!==x||(r[p]=j)}),r}const fa=e=>{const t=Tt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:o,headers:d,auth:x}=t;if(t.headers=d=Qe.from(d),t.url=na(ua(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),x&&d.set("Authorization","Basic "+btoa((x.username||"")+":"+(x.password?unescape(encodeURIComponent(x.password)):""))),ee.isFormData(r)){if(Ye.hasStandardBrowserEnv||Ye.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if(ee.isFunction(r.getHeaders)){const S=r.getHeaders(),E=["content-type","content-length"];Object.entries(S).forEach(([p,$])=>{E.includes(p.toLowerCase())&&d.set(p,$)})}}if(Ye.hasStandardBrowserEnv&&(n&&ee.isFunction(n)&&(n=n(t)),n||n!==!1&&Fp(t.url))){const S=a&&o&&Rp.read(o);S&&d.set(a,S)}return t},Up=typeof XMLHttpRequest<"u",Pp=Up&&function(e){return new Promise(function(r,n){const a=fa(e);let o=a.data;const d=Qe.from(a.headers).normalize();let{responseType:x,onUploadProgress:S,onDownloadProgress:E}=a,p,$,j,Y,z;function oe(){Y&&Y(),z&&z(),a.cancelToken&&a.cancelToken.unsubscribe(p),a.signal&&a.signal.removeEventListener("abort",p)}let J=new XMLHttpRequest;J.open(a.method.toUpperCase(),a.url,!0),J.timeout=a.timeout;function he(){if(!J)return;const se=Qe.from("getAllResponseHeaders"in J&&J.getAllResponseHeaders()),fe={data:!x||x==="text"||x==="json"?J.responseText:J.response,status:J.status,statusText:J.statusText,headers:se,config:e,request:J};aa(function(H){r(H),oe()},function(H){n(H),oe()},fe),J=null}"onloadend"in J?J.onloadend=he:J.onreadystatechange=function(){!J||J.readyState!==4||J.status===0&&!(J.responseURL&&J.responseURL.indexOf("file:")===0)||setTimeout(he)},J.onabort=function(){J&&(n(new Ce("Request aborted",Ce.ECONNABORTED,e,J)),J=null)},J.onerror=function(ce){const fe=ce&&ce.message?ce.message:"Network Error",X=new Ce(fe,Ce.ERR_NETWORK,e,J);X.event=ce||null,n(X),J=null},J.ontimeout=function(){let ce=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const fe=a.transitional||ia;a.timeoutErrorMessage&&(ce=a.timeoutErrorMessage),n(new Ce(ce,fe.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,e,J)),J=null},o===void 0&&d.setContentType(null),"setRequestHeader"in J&&ee.forEach(d.toJSON(),function(ce,fe){J.setRequestHeader(fe,ce)}),ee.isUndefined(a.withCredentials)||(J.withCredentials=!!a.withCredentials),x&&x!=="json"&&(J.responseType=a.responseType),E&&([j,z]=$r(E,!0),J.addEventListener("progress",j)),S&&J.upload&&([$,Y]=$r(S),J.upload.addEventListener("progress",$),J.upload.addEventListener("loadend",Y)),(a.cancelToken||a.signal)&&(p=se=>{J&&(n(!se||se.type?new Yt(null,e,J):se),J.abort(),J=null)},a.cancelToken&&a.cancelToken.subscribe(p),a.signal&&(a.signal.aborted?p():a.signal.addEventListener("abort",p)));const te=Tp(a.url);if(te&&Ye.protocols.indexOf(te)===-1){n(new Ce("Unsupported protocol "+te+":",Ce.ERR_BAD_REQUEST,e));return}J.send(o||null)})},Lp=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const o=function(E){if(!a){a=!0,x();const p=E instanceof Error?E:this.reason;n.abort(p instanceof Ce?p:new Yt(p instanceof Error?p.message:p))}};let d=t&&setTimeout(()=>{d=null,o(new Ce(`timeout ${t} of ms exceeded`,Ce.ETIMEDOUT))},t);const x=()=>{e&&(d&&clearTimeout(d),d=null,e.forEach(E=>{E.unsubscribe?E.unsubscribe(o):E.removeEventListener("abort",o)}),e=null)};e.forEach(E=>E.addEventListener("abort",o));const{signal:S}=n;return S.unsubscribe=()=>ee.asap(x),S}},Dp=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},jp=async function*(e,t){for await(const r of kp(e))yield*Dp(r,t)},kp=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},wo=(e,t,r,n)=>{const a=jp(e,t);let o=0,d,x=S=>{d||(d=!0,n&&n(S))};return new ReadableStream({async pull(S){try{const{done:E,value:p}=await a.next();if(E){x(),S.close();return}let $=p.byteLength;if(r){let j=o+=$;r(j)}S.enqueue(new Uint8Array(p))}catch(E){throw x(E),E}},cancel(S){return x(S),a.return()}},{highWaterMark:2})},vo=64*1024,{isFunction:vr}=ee,qp=(({Request:e,Response:t})=>({Request:e,Response:t}))(ee.global),{ReadableStream:xo,TextEncoder:bo}=ee.global,Eo=(e,...t)=>{try{return!!e(...t)}catch{return!1}},zp=e=>{e=ee.merge.call({skipUndefined:!0},qp,e);const{fetch:t,Request:r,Response:n}=e,a=t?vr(t):typeof fetch=="function",o=vr(r),d=vr(n);if(!a)return!1;const x=a&&vr(xo),S=a&&(typeof bo=="function"?(z=>oe=>z.encode(oe))(new bo):async z=>new Uint8Array(await new r(z).arrayBuffer())),E=o&&x&&Eo(()=>{let z=!1;const oe=new r(Ye.origin,{body:new xo,method:"POST",get duplex(){return z=!0,"half"}}).headers.has("Content-Type");return z&&!oe}),p=d&&x&&Eo(()=>ee.isReadableStream(new n("").body)),$={stream:p&&(z=>z.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(z=>{!$[z]&&($[z]=(oe,J)=>{let he=oe&&oe[z];if(he)return he.call(oe);throw new Ce(`Response type '${z}' is not supported`,Ce.ERR_NOT_SUPPORT,J)})});const j=async z=>{if(z==null)return 0;if(ee.isBlob(z))return z.size;if(ee.isSpecCompliantForm(z))return(await new r(Ye.origin,{method:"POST",body:z}).arrayBuffer()).byteLength;if(ee.isArrayBufferView(z)||ee.isArrayBuffer(z))return z.byteLength;if(ee.isURLSearchParams(z)&&(z=z+""),ee.isString(z))return(await S(z)).byteLength},Y=async(z,oe)=>{const J=ee.toFiniteNumber(z.getContentLength());return J??j(oe)};return async z=>{let{url:oe,method:J,data:he,signal:te,cancelToken:se,timeout:ce,onDownloadProgress:fe,onUploadProgress:X,responseType:H,headers:ae,withCredentials:de="same-origin",fetchOptions:ne}=fa(z),A=t||fetch;H=H?(H+"").toLowerCase():"text";let i=Lp([te,se&&se.toAbortSignal()],ce),h=null;const g=i&&i.unsubscribe&&(()=>{i.unsubscribe()});let m;try{if(X&&E&&J!=="get"&&J!=="head"&&(m=await Y(ae,he))!==0){let B=new r(oe,{method:"POST",body:he,duplex:"half"}),ue;if(ee.isFormData(he)&&(ue=B.headers.get("content-type"))&&ae.setContentType(ue),B.body){const[pe,D]=go(m,$r(mo(X)));he=wo(B.body,vo,pe,D)}}ee.isString(de)||(de=de?"include":"omit");const v=o&&"credentials"in r.prototype,T={...ne,signal:i,method:J.toUpperCase(),headers:ae.normalize().toJSON(),body:he,duplex:"half",credentials:v?de:void 0};h=o&&new r(oe,T);let F=await(o?A(h,ne):A(oe,T));const M=p&&(H==="stream"||H==="response");if(p&&(fe||M&&g)){const B={};["status","statusText","headers"].forEach(me=>{B[me]=F[me]});const ue=ee.toFiniteNumber(F.headers.get("content-length")),[pe,D]=fe&&go(ue,$r(mo(fe),!0))||[];F=new n(wo(F.body,vo,pe,()=>{D&&D(),g&&g()}),B)}H=H||"text";let f=await $[ee.findKey($,H)||"text"](F,z);return!M&&g&&g(),await new Promise((B,ue)=>{aa(B,ue,{data:f,headers:Qe.from(F.headers),status:F.status,statusText:F.statusText,config:z,request:h})})}catch(v){throw g&&g(),v&&v.name==="TypeError"&&/Load failed|fetch/i.test(v.message)?Object.assign(new Ce("Network Error",Ce.ERR_NETWORK,z,h),{cause:v.cause||v}):Ce.from(v,v&&v.code,z,h)}}},Hp=new Map,la=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:a}=t,o=[n,a,r];let d=o.length,x=d,S,E,p=Hp;for(;x--;)S=o[x],E=p.get(S),E===void 0&&p.set(S,E=x?new Map:zp(t)),p=E;return E};la();const Ei={http:ap,xhr:Pp,fetch:{get:la}};ee.forEach(Ei,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Mo=e=>`- ${e}`,Gp=e=>ee.isFunction(e)||e===null||e===!1;function Wp(e,t){e=ee.isArray(e)?e:[e];const{length:r}=e;let n,a;const o={};for(let d=0;d<r;d++){n=e[d];let x;if(a=n,!Gp(n)&&(a=Ei[(x=String(n)).toLowerCase()],a===void 0))throw new Ce(`Unknown adapter '${x}'`);if(a&&(ee.isFunction(a)||(a=a.get(t))))break;o[x||"#"+d]=a}if(!a){const d=Object.entries(o).map(([S,E])=>`adapter ${S} `+(E===!1?"is not supported by the environment":"is not available in the build"));let x=r?d.length>1?`since :
9
+ `+d.map(Mo).join(`
10
+ `):" "+Mo(d[0]):"as no adapter specified";throw new Ce("There is no suitable adapter to dispatch the request "+x,"ERR_NOT_SUPPORT")}return a}const ca={getAdapter:Wp,adapters:Ei};function Bn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yt(null,e)}function _o(e){return Bn(e),e.headers=Qe.from(e.headers),e.data=Sn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ca.getAdapter(e.adapter||pr.adapter,e)(e).then(function(n){return Bn(e),n.data=Sn.call(e,e.transformResponse,n),n.headers=Qe.from(n.headers),n},function(n){return sa(n)||(Bn(e),n&&n.response&&(n.response.data=Sn.call(e,e.transformResponse,n.response),n.response.headers=Qe.from(n.response.headers))),Promise.reject(n)})}const ha="1.13.2",Kr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Kr[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const So={};Kr.transitional=function(t,r,n){function a(o,d){return"[Axios v"+ha+"] Transitional option '"+o+"'"+d+(n?". "+n:"")}return(o,d,x)=>{if(t===!1)throw new Ce(a(d," has been removed"+(r?" in "+r:"")),Ce.ERR_DEPRECATED);return r&&!So[d]&&(So[d]=!0,console.warn(a(d," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,d,x):!0}};Kr.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Zp(e,t,r){if(typeof e!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const o=n[a],d=t[o];if(d){const x=e[o],S=x===void 0||d(x,o,e);if(S!==!0)throw new Ce("option "+o+" must be "+S,Ce.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ce("Unknown option "+o,Ce.ERR_BAD_OPTION)}}const Br={assertOptions:Zp,validators:Kr},ct=Br.validators;let St=class{constructor(t){this.defaults=t||{},this.interceptors={request:new ho,response:new ho}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const o=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
11
+ `+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Tt(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:o}=r;n!==void 0&&Br.assertOptions(n,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),a!=null&&(ee.isFunction(a)?r.paramsSerializer={serialize:a}:Br.assertOptions(a,{encode:ct.function,serialize:ct.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Br.assertOptions(r,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let d=o&&ee.merge(o.common,o[r.method]);o&&ee.forEach(["delete","get","head","post","put","patch","common"],z=>{delete o[z]}),r.headers=Qe.concat(d,o);const x=[];let S=!0;this.interceptors.request.forEach(function(oe){typeof oe.runWhen=="function"&&oe.runWhen(r)===!1||(S=S&&oe.synchronous,x.unshift(oe.fulfilled,oe.rejected))});const E=[];this.interceptors.response.forEach(function(oe){E.push(oe.fulfilled,oe.rejected)});let p,$=0,j;if(!S){const z=[_o.bind(this),void 0];for(z.unshift(...x),z.push(...E),j=z.length,p=Promise.resolve(r);$<j;)p=p.then(z[$++],z[$++]);return p}j=x.length;let Y=r;for(;$<j;){const z=x[$++],oe=x[$++];try{Y=z(Y)}catch(J){oe.call(this,J);break}}try{p=_o.call(this,Y)}catch(z){return Promise.reject(z)}for($=0,j=E.length;$<j;)p=p.then(E[$++],E[$++]);return p}getUri(t){t=Tt(this.defaults,t);const r=ua(t.baseURL,t.url,t.allowAbsoluteUrls);return na(r,t.params,t.paramsSerializer)}};ee.forEach(["delete","get","head","options"],function(t){St.prototype[t]=function(r,n){return this.request(Tt(n||{},{method:t,url:r,data:(n||{}).data}))}});ee.forEach(["post","put","patch"],function(t){function r(n){return function(o,d,x){return this.request(Tt(x||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:d}))}}St.prototype[t]=r(),St.prototype[t+"Form"]=r(!0)});let Jp=class da{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(a=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](a);n._listeners=null}),this.promise.then=a=>{let o;const d=new Promise(x=>{n.subscribe(x),o=x}).then(a);return d.cancel=function(){n.unsubscribe(o)},d},t(function(o,d,x){n.reason||(n.reason=new Yt(o,d,x),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new da(function(a){t=a}),cancel:t}}};function Vp(e){return function(r){return e.apply(null,r)}}function Kp(e){return ee.isObject(e)&&e.isAxiosError===!0}const Kn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Kn).forEach(([e,t])=>{Kn[t]=e});function pa(e){const t=new St(e),r=Hs(St.prototype.request,t);return ee.extend(r,St.prototype,t,{allOwnKeys:!0}),ee.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return pa(Tt(e,a))},r}const Je=pa(pr);Je.Axios=St;Je.CanceledError=Yt;Je.CancelToken=Jp;Je.isCancel=sa;Je.VERSION=ha;Je.toFormData=Vr;Je.AxiosError=Ce;Je.Cancel=Je.CanceledError;Je.all=function(t){return Promise.all(t)};Je.spread=Vp;Je.isAxiosError=Kp;Je.mergeConfig=Tt;Je.AxiosHeaders=Qe;Je.formToJSON=e=>oa(ee.isHTMLForm(e)?new FormData(e):e);Je.getAdapter=ca.getAdapter;Je.HttpStatusCode=Kn;Je.default=Je;const{Axios:Uy,AxiosError:Py,CanceledError:Ly,isCancel:Dy,CancelToken:jy,VERSION:ky,all:qy,Cancel:zy,isAxiosError:Hy,spread:Gy,toFormData:Wy,AxiosHeaders:Zy,HttpStatusCode:Jy,formToJSON:Vy,getAdapter:Ky,mergeConfig:Yy}=Je;var Yp="[object Number]";function Xp(e){return typeof e=="number"||et(e)&&ut(e)==Yp}const Xy=Object.freeze(Object.defineProperty({__proto__:null,default:Xp},Symbol.toStringTag,{value:"Module"}));var Qp="[object Boolean]";function e1(e){return e===!0||e===!1||et(e)&&ut(e)==Qp}const Qy=Object.freeze(Object.defineProperty({__proto__:null,default:e1},Symbol.toStringTag,{value:"Module"}));var t1="[object String]";function r1(e){return typeof e=="string"||!Ge(e)&&et(e)&&ut(e)==t1}const ew=Object.freeze(Object.defineProperty({__proto__:null,default:r1},Symbol.toStringTag,{value:"Module"}));function n1(e){return function(t){t=tt(t);var r=Ir(t)?Dt(t):void 0,n=r?r[0]:t.charAt(0),a=r?Rr(r,1).join(""):t.slice(1);return n[e]()+a}}var ga=n1("toUpperCase");const tw=Object.freeze(Object.defineProperty({__proto__:null,default:ga},Symbol.toStringTag,{value:"Module"}));function i1(e){return ga(tt(e).toLowerCase())}function o1(e,t,r,n){for(var a=-1,o=e==null?0:e.length;++a<o;)r=t(r,e[a],a,e);return r}function ma(e){return function(t){return e?.[t]}}var s1={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},a1=ma(s1),u1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,f1="\\u0300-\\u036f",l1="\\ufe20-\\ufe2f",c1="\\u20d0-\\u20ff",h1=f1+l1+c1,d1="["+h1+"]",p1=RegExp(d1,"g");function g1(e){return e=tt(e),e&&e.replace(u1,a1).replace(p1,"")}var m1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function y1(e){return e.match(m1)||[]}var w1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function v1(e){return w1.test(e)}var ya="\\ud800-\\udfff",x1="\\u0300-\\u036f",b1="\\ufe20-\\ufe2f",E1="\\u20d0-\\u20ff",M1=x1+b1+E1,wa="\\u2700-\\u27bf",va="a-z\\xdf-\\xf6\\xf8-\\xff",_1="\\xac\\xb1\\xd7\\xf7",S1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",B1="\\u2000-\\u206f",A1=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xa="A-Z\\xc0-\\xd6\\xd8-\\xde",O1="\\ufe0e\\ufe0f",ba=_1+S1+B1+A1,Ea="['’]",Bo="["+ba+"]",T1="["+M1+"]",Ma="\\d+",C1="["+wa+"]",_a="["+va+"]",Sa="[^"+ya+ba+Ma+wa+va+xa+"]",$1="\\ud83c[\\udffb-\\udfff]",F1="(?:"+T1+"|"+$1+")",R1="[^"+ya+"]",Ba="(?:\\ud83c[\\udde6-\\uddff]){2}",Aa="[\\ud800-\\udbff][\\udc00-\\udfff]",Nt="["+xa+"]",I1="\\u200d",Ao="(?:"+_a+"|"+Sa+")",N1="(?:"+Nt+"|"+Sa+")",Oo="(?:"+Ea+"(?:d|ll|m|re|s|t|ve))?",To="(?:"+Ea+"(?:D|LL|M|RE|S|T|VE))?",Oa=F1+"?",Ta="["+O1+"]?",U1="(?:"+I1+"(?:"+[R1,Ba,Aa].join("|")+")"+Ta+Oa+")*",P1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",L1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",D1=Ta+Oa+U1,j1="(?:"+[C1,Ba,Aa].join("|")+")"+D1,k1=RegExp([Nt+"?"+_a+"+"+Oo+"(?="+[Bo,Nt,"$"].join("|")+")",N1+"+"+To+"(?="+[Bo,Nt+Ao,"$"].join("|")+")",Nt+"?"+Ao+"+"+Oo,Nt+"+"+To,L1,P1,Ma,j1].join("|"),"g");function q1(e){return e.match(k1)||[]}function z1(e,t,r){return e=tt(e),t=t,t===void 0?v1(e)?q1(e):y1(e):e.match(t)||[]}var H1="['’]",G1=RegExp(H1,"g");function W1(e){return function(t){return o1(z1(g1(t).replace(G1,"")),e,"")}}var Z1=W1(function(e,t,r){return t=t.toLowerCase(),e+(r?i1(t):t)});const rw=Object.freeze(Object.defineProperty({__proto__:null,default:Z1},Symbol.toStringTag,{value:"Module"}));function J1(e){return e===null}const nw=Object.freeze(Object.defineProperty({__proto__:null,default:J1},Symbol.toStringTag,{value:"Module"}));function V1(e,t,r){e=tt(e),t=Gt(t);var n=t?Xn(e):0;return t&&n<t?e+os(t-n,r):e}const iw=Object.freeze(Object.defineProperty({__proto__:null,default:V1},Symbol.toStringTag,{value:"Module"}));var Ar={exports:{}},An={},Co;function K1(){return Co||(Co=1,function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},r={};r.byteLength=p,r.toByteArray=j,r.fromByteArray=oe;for(var n=[],a=[],o=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",x=0,S=d.length;x<S;++x)n[x]=d[x],a[d.charCodeAt(x)]=x;a[45]=62,a[95]=63;function E(te){var se=te.length;if(se%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ce=te.indexOf("=");ce===-1&&(ce=se);var fe=ce===se?0:4-ce%4;return[ce,fe]}function p(te){var se=E(te),ce=se[0],fe=se[1];return(ce+fe)*3/4-fe}function $(te,se,ce){return(se+ce)*3/4-ce}function j(te){var se,ce=E(te),fe=ce[0],X=ce[1],H=new o($(te,fe,X)),ae=0,de=X>0?fe-4:fe,ne;for(ne=0;ne<de;ne+=4)se=a[te.charCodeAt(ne)]<<18|a[te.charCodeAt(ne+1)]<<12|a[te.charCodeAt(ne+2)]<<6|a[te.charCodeAt(ne+3)],H[ae++]=se>>16&255,H[ae++]=se>>8&255,H[ae++]=se&255;return X===2&&(se=a[te.charCodeAt(ne)]<<2|a[te.charCodeAt(ne+1)]>>4,H[ae++]=se&255),X===1&&(se=a[te.charCodeAt(ne)]<<10|a[te.charCodeAt(ne+1)]<<4|a[te.charCodeAt(ne+2)]>>2,H[ae++]=se>>8&255,H[ae++]=se&255),H}function Y(te){return n[te>>18&63]+n[te>>12&63]+n[te>>6&63]+n[te&63]}function z(te,se,ce){for(var fe,X=[],H=se;H<ce;H+=3)fe=(te[H]<<16&16711680)+(te[H+1]<<8&65280)+(te[H+2]&255),X.push(Y(fe));return X.join("")}function oe(te){for(var se,ce=te.length,fe=ce%3,X=[],H=16383,ae=0,de=ce-fe;ae<de;ae+=H)X.push(z(te,ae,ae+H>de?de:ae+H));return fe===1?(se=te[ce-1],X.push(n[se>>2]+n[se<<4&63]+"==")):fe===2&&(se=(te[ce-2]<<8)+te[ce-1],X.push(n[se>>10]+n[se>>4&63]+n[se<<2&63]+"=")),X.join("")}var J={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */J.read=function(te,se,ce,fe,X){var H,ae,de=X*8-fe-1,ne=(1<<de)-1,A=ne>>1,i=-7,h=ce?X-1:0,g=ce?-1:1,m=te[se+h];for(h+=g,H=m&(1<<-i)-1,m>>=-i,i+=de;i>0;H=H*256+te[se+h],h+=g,i-=8);for(ae=H&(1<<-i)-1,H>>=-i,i+=fe;i>0;ae=ae*256+te[se+h],h+=g,i-=8);if(H===0)H=1-A;else{if(H===ne)return ae?NaN:(m?-1:1)*(1/0);ae=ae+Math.pow(2,fe),H=H-A}return(m?-1:1)*ae*Math.pow(2,H-fe)},J.write=function(te,se,ce,fe,X,H){var ae,de,ne,A=H*8-X-1,i=(1<<A)-1,h=i>>1,g=X===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=fe?0:H-1,v=fe?1:-1,T=se<0||se===0&&1/se<0?1:0;for(se=Math.abs(se),isNaN(se)||se===1/0?(de=isNaN(se)?1:0,ae=i):(ae=Math.floor(Math.log(se)/Math.LN2),se*(ne=Math.pow(2,-ae))<1&&(ae--,ne*=2),ae+h>=1?se+=g/ne:se+=g*Math.pow(2,1-h),se*ne>=2&&(ae++,ne/=2),ae+h>=i?(de=0,ae=i):ae+h>=1?(de=(se*ne-1)*Math.pow(2,X),ae=ae+h):(de=se*Math.pow(2,h-1)*Math.pow(2,X),ae=0));X>=8;te[ce+m]=de&255,m+=v,de/=256,X-=8);for(ae=ae<<X|de,A+=X;A>0;te[ce+m]=ae&255,m+=v,ae/=256,A-=8);te[ce+m-v]|=T*128};/*!
12
+ * The buffer module from node.js, for the browser.
13
+ *
14
+ * @author Feross Aboukhadijeh <https://feross.org>
15
+ * @license MIT
16
+ */(function(te){const se=r,ce=J,fe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;te.Buffer=i,te.SlowBuffer=pe,te.INSPECT_MAX_BYTES=50;const X=2147483647;te.kMaxLength=X;const{Uint8Array:H,ArrayBuffer:ae,SharedArrayBuffer:de}=globalThis;i.TYPED_ARRAY_SUPPORT=ne(),!i.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ne(){try{const w=new H(1),u={foo:function(){return 42}};return Object.setPrototypeOf(u,H.prototype),Object.setPrototypeOf(w,u),w.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function A(w){if(w>X)throw new RangeError('The value "'+w+'" is invalid for option "size"');const u=new H(w);return Object.setPrototypeOf(u,i.prototype),u}function i(w,u,c){if(typeof w=="number"){if(typeof u=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(w)}return h(w,u,c)}i.poolSize=8192;function h(w,u,c){if(typeof w=="string")return T(w,u);if(ae.isView(w))return M(w);if(w==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w);if(Re(w,ae)||w&&Re(w.buffer,ae)||typeof de<"u"&&(Re(w,de)||w&&Re(w.buffer,de)))return f(w,u,c);if(typeof w=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const O=w.valueOf&&w.valueOf();if(O!=null&&O!==w)return i.from(O,u,c);const N=B(w);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return i.from(w[Symbol.toPrimitive]("string"),u,c);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w)}i.from=function(w,u,c){return h(w,u,c)},Object.setPrototypeOf(i.prototype,H.prototype),Object.setPrototypeOf(i,H);function g(w){if(typeof w!="number")throw new TypeError('"size" argument must be of type number');if(w<0)throw new RangeError('The value "'+w+'" is invalid for option "size"')}function m(w,u,c){return g(w),w<=0?A(w):u!==void 0?typeof c=="string"?A(w).fill(u,c):A(w).fill(u):A(w)}i.alloc=function(w,u,c){return m(w,u,c)};function v(w){return g(w),A(w<0?0:ue(w)|0)}i.allocUnsafe=function(w){return v(w)},i.allocUnsafeSlow=function(w){return v(w)};function T(w,u){if((typeof u!="string"||u==="")&&(u="utf8"),!i.isEncoding(u))throw new TypeError("Unknown encoding: "+u);const c=D(w,u)|0;let O=A(c);const N=O.write(w,u);return N!==c&&(O=O.slice(0,N)),O}function F(w){const u=w.length<0?0:ue(w.length)|0,c=A(u);for(let O=0;O<u;O+=1)c[O]=w[O]&255;return c}function M(w){if(Re(w,H)){const u=new H(w);return f(u.buffer,u.byteOffset,u.byteLength)}return F(w)}function f(w,u,c){if(u<0||w.byteLength<u)throw new RangeError('"offset" is outside of buffer bounds');if(w.byteLength<u+(c||0))throw new RangeError('"length" is outside of buffer bounds');let O;return u===void 0&&c===void 0?O=new H(w):c===void 0?O=new H(w,u):O=new H(w,u,c),Object.setPrototypeOf(O,i.prototype),O}function B(w){if(i.isBuffer(w)){const u=ue(w.length)|0,c=A(u);return c.length===0||w.copy(c,0,0,u),c}if(w.length!==void 0)return typeof w.length!="number"||Rt(w.length)?A(0):F(w);if(w.type==="Buffer"&&Array.isArray(w.data))return F(w.data)}function ue(w){if(w>=X)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+X.toString(16)+" bytes");return w|0}function pe(w){return+w!=w&&(w=0),i.alloc(+w)}i.isBuffer=function(u){return u!=null&&u._isBuffer===!0&&u!==i.prototype},i.compare=function(u,c){if(Re(u,H)&&(u=i.from(u,u.offset,u.byteLength)),Re(c,H)&&(c=i.from(c,c.offset,c.byteLength)),!i.isBuffer(u)||!i.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(u===c)return 0;let O=u.length,N=c.length;for(let Q=0,re=Math.min(O,N);Q<re;++Q)if(u[Q]!==c[Q]){O=u[Q],N=c[Q];break}return O<N?-1:N<O?1:0},i.isEncoding=function(u){switch(String(u).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(u,c){if(!Array.isArray(u))throw new TypeError('"list" argument must be an Array of Buffers');if(u.length===0)return i.alloc(0);let O;if(c===void 0)for(c=0,O=0;O<u.length;++O)c+=u[O].length;const N=i.allocUnsafe(c);let Q=0;for(O=0;O<u.length;++O){let re=u[O];if(Re(re,H))Q+re.length>N.length?(i.isBuffer(re)||(re=i.from(re)),re.copy(N,Q)):H.prototype.set.call(N,re,Q);else if(i.isBuffer(re))re.copy(N,Q);else throw new TypeError('"list" argument must be an Array of Buffers');Q+=re.length}return N};function D(w,u){if(i.isBuffer(w))return w.length;if(ae.isView(w)||Re(w,ae))return w.byteLength;if(typeof w!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof w);const c=w.length,O=arguments.length>2&&arguments[2]===!0;if(!O&&c===0)return 0;let N=!1;for(;;)switch(u){case"ascii":case"latin1":case"binary":return c;case"utf8":case"utf-8":return Ue(w).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c*2;case"hex":return c>>>1;case"base64":return Fe(w).length;default:if(N)return O?-1:Ue(w).length;u=(""+u).toLowerCase(),N=!0}}i.byteLength=D;function me(w,u,c){let O=!1;if((u===void 0||u<0)&&(u=0),u>this.length||((c===void 0||c>this.length)&&(c=this.length),c<=0)||(c>>>=0,u>>>=0,c<=u))return"";for(w||(w="utf8");;)switch(w){case"hex":return V(this,u,c);case"utf8":case"utf-8":return L(this,u,c);case"ascii":return P(this,u,c);case"latin1":case"binary":return G(this,u,c);case"base64":return k(this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,u,c);default:if(O)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),O=!0}}i.prototype._isBuffer=!0;function Me(w,u,c){const O=w[u];w[u]=w[c],w[c]=O}i.prototype.swap16=function(){const u=this.length;if(u%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<u;c+=2)Me(this,c,c+1);return this},i.prototype.swap32=function(){const u=this.length;if(u%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<u;c+=4)Me(this,c,c+3),Me(this,c+1,c+2);return this},i.prototype.swap64=function(){const u=this.length;if(u%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<u;c+=8)Me(this,c,c+7),Me(this,c+1,c+6),Me(this,c+2,c+5),Me(this,c+3,c+4);return this},i.prototype.toString=function(){const u=this.length;return u===0?"":arguments.length===0?L(this,0,u):me.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(u){if(!i.isBuffer(u))throw new TypeError("Argument must be a Buffer");return this===u?!0:i.compare(this,u)===0},i.prototype.inspect=function(){let u="";const c=te.INSPECT_MAX_BYTES;return u=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(u+=" ... "),"<Buffer "+u+">"},fe&&(i.prototype[fe]=i.prototype.inspect),i.prototype.compare=function(u,c,O,N,Q){if(Re(u,H)&&(u=i.from(u,u.offset,u.byteLength)),!i.isBuffer(u))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof u);if(c===void 0&&(c=0),O===void 0&&(O=u?u.length:0),N===void 0&&(N=0),Q===void 0&&(Q=this.length),c<0||O>u.length||N<0||Q>this.length)throw new RangeError("out of range index");if(N>=Q&&c>=O)return 0;if(N>=Q)return-1;if(c>=O)return 1;if(c>>>=0,O>>>=0,N>>>=0,Q>>>=0,this===u)return 0;let re=Q-N,be=O-c;const ke=Math.min(re,be),Ae=this.slice(N,Q),Te=u.slice(c,O);for(let Ie=0;Ie<ke;++Ie)if(Ae[Ie]!==Te[Ie]){re=Ae[Ie],be=Te[Ie];break}return re<be?-1:be<re?1:0};function Oe(w,u,c,O,N){if(w.length===0)return-1;if(typeof c=="string"?(O=c,c=0):c>2147483647?c=2147483647:c<-2147483648&&(c=-2147483648),c=+c,Rt(c)&&(c=N?0:w.length-1),c<0&&(c=w.length+c),c>=w.length){if(N)return-1;c=w.length-1}else if(c<0)if(N)c=0;else return-1;if(typeof u=="string"&&(u=i.from(u,O)),i.isBuffer(u))return u.length===0?-1:$e(w,u,c,O,N);if(typeof u=="number")return u=u&255,typeof H.prototype.indexOf=="function"?N?H.prototype.indexOf.call(w,u,c):H.prototype.lastIndexOf.call(w,u,c):$e(w,[u],c,O,N);throw new TypeError("val must be string, number or Buffer")}function $e(w,u,c,O,N){let Q=1,re=w.length,be=u.length;if(O!==void 0&&(O=String(O).toLowerCase(),O==="ucs2"||O==="ucs-2"||O==="utf16le"||O==="utf-16le")){if(w.length<2||u.length<2)return-1;Q=2,re/=2,be/=2,c/=2}function ke(Te,Ie){return Q===1?Te[Ie]:Te.readUInt16BE(Ie*Q)}let Ae;if(N){let Te=-1;for(Ae=c;Ae<re;Ae++)if(ke(w,Ae)===ke(u,Te===-1?0:Ae-Te)){if(Te===-1&&(Te=Ae),Ae-Te+1===be)return Te*Q}else Te!==-1&&(Ae-=Ae-Te),Te=-1}else for(c+be>re&&(c=re-be),Ae=c;Ae>=0;Ae--){let Te=!0;for(let Ie=0;Ie<be;Ie++)if(ke(w,Ae+Ie)!==ke(u,Ie)){Te=!1;break}if(Te)return Ae}return-1}i.prototype.includes=function(u,c,O){return this.indexOf(u,c,O)!==-1},i.prototype.indexOf=function(u,c,O){return Oe(this,u,c,O,!0)},i.prototype.lastIndexOf=function(u,c,O){return Oe(this,u,c,O,!1)};function _e(w,u,c,O){c=Number(c)||0;const N=w.length-c;O?(O=Number(O),O>N&&(O=N)):O=N;const Q=u.length;O>Q/2&&(O=Q/2);let re;for(re=0;re<O;++re){const be=parseInt(u.substr(re*2,2),16);if(Rt(be))return re;w[c+re]=be}return re}function b(w,u,c,O){return je(Ue(u,w.length-c),w,c,O)}function C(w,u,c,O){return je(Se(u),w,c,O)}function R(w,u,c,O){return je(Fe(u),w,c,O)}function q(w,u,c,O){return je(Be(u,w.length-c),w,c,O)}i.prototype.write=function(u,c,O,N){if(c===void 0)N="utf8",O=this.length,c=0;else if(O===void 0&&typeof c=="string")N=c,O=this.length,c=0;else if(isFinite(c))c=c>>>0,isFinite(O)?(O=O>>>0,N===void 0&&(N="utf8")):(N=O,O=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Q=this.length-c;if((O===void 0||O>Q)&&(O=Q),u.length>0&&(O<0||c<0)||c>this.length)throw new RangeError("Attempt to write outside buffer bounds");N||(N="utf8");let re=!1;for(;;)switch(N){case"hex":return _e(this,u,c,O);case"utf8":case"utf-8":return b(this,u,c,O);case"ascii":case"latin1":case"binary":return C(this,u,c,O);case"base64":return R(this,u,c,O);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,u,c,O);default:if(re)throw new TypeError("Unknown encoding: "+N);N=(""+N).toLowerCase(),re=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(w,u,c){return u===0&&c===w.length?se.fromByteArray(w):se.fromByteArray(w.slice(u,c))}function L(w,u,c){c=Math.min(w.length,c);const O=[];let N=u;for(;N<c;){const Q=w[N];let re=null,be=Q>239?4:Q>223?3:Q>191?2:1;if(N+be<=c){let ke,Ae,Te,Ie;switch(be){case 1:Q<128&&(re=Q);break;case 2:ke=w[N+1],(ke&192)===128&&(Ie=(Q&31)<<6|ke&63,Ie>127&&(re=Ie));break;case 3:ke=w[N+1],Ae=w[N+2],(ke&192)===128&&(Ae&192)===128&&(Ie=(Q&15)<<12|(ke&63)<<6|Ae&63,Ie>2047&&(Ie<55296||Ie>57343)&&(re=Ie));break;case 4:ke=w[N+1],Ae=w[N+2],Te=w[N+3],(ke&192)===128&&(Ae&192)===128&&(Te&192)===128&&(Ie=(Q&15)<<18|(ke&63)<<12|(Ae&63)<<6|Te&63,Ie>65535&&Ie<1114112&&(re=Ie))}}re===null?(re=65533,be=1):re>65535&&(re-=65536,O.push(re>>>10&1023|55296),re=56320|re&1023),O.push(re),N+=be}return U(O)}const W=4096;function U(w){const u=w.length;if(u<=W)return String.fromCharCode.apply(String,w);let c="",O=0;for(;O<u;)c+=String.fromCharCode.apply(String,w.slice(O,O+=W));return c}function P(w,u,c){let O="";c=Math.min(w.length,c);for(let N=u;N<c;++N)O+=String.fromCharCode(w[N]&127);return O}function G(w,u,c){let O="";c=Math.min(w.length,c);for(let N=u;N<c;++N)O+=String.fromCharCode(w[N]);return O}function V(w,u,c){const O=w.length;(!u||u<0)&&(u=0),(!c||c<0||c>O)&&(c=O);let N="";for(let Q=u;Q<c;++Q)N+=ze[w[Q]];return N}function ie(w,u,c){const O=w.slice(u,c);let N="";for(let Q=0;Q<O.length-1;Q+=2)N+=String.fromCharCode(O[Q]+O[Q+1]*256);return N}i.prototype.slice=function(u,c){const O=this.length;u=~~u,c=c===void 0?O:~~c,u<0?(u+=O,u<0&&(u=0)):u>O&&(u=O),c<0?(c+=O,c<0&&(c=0)):c>O&&(c=O),c<u&&(c=u);const N=this.subarray(u,c);return Object.setPrototypeOf(N,i.prototype),N};function le(w,u,c){if(w%1!==0||w<0)throw new RangeError("offset is not uint");if(w+u>c)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(u,c,O){u=u>>>0,c=c>>>0,O||le(u,c,this.length);let N=this[u],Q=1,re=0;for(;++re<c&&(Q*=256);)N+=this[u+re]*Q;return N},i.prototype.readUintBE=i.prototype.readUIntBE=function(u,c,O){u=u>>>0,c=c>>>0,O||le(u,c,this.length);let N=this[u+--c],Q=1;for(;c>0&&(Q*=256);)N+=this[u+--c]*Q;return N},i.prototype.readUint8=i.prototype.readUInt8=function(u,c){return u=u>>>0,c||le(u,1,this.length),this[u]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(u,c){return u=u>>>0,c||le(u,2,this.length),this[u]|this[u+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(u,c){return u=u>>>0,c||le(u,2,this.length),this[u]<<8|this[u+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(u,c){return u=u>>>0,c||le(u,4,this.length),(this[u]|this[u+1]<<8|this[u+2]<<16)+this[u+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(u,c){return u=u>>>0,c||le(u,4,this.length),this[u]*16777216+(this[u+1]<<16|this[u+2]<<8|this[u+3])},i.prototype.readBigUInt64LE=Pe(function(u){u=u>>>0,I(u,"offset");const c=this[u],O=this[u+7];(c===void 0||O===void 0)&&Z(u,this.length-8);const N=c+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24,Q=this[++u]+this[++u]*2**8+this[++u]*2**16+O*2**24;return BigInt(N)+(BigInt(Q)<<BigInt(32))}),i.prototype.readBigUInt64BE=Pe(function(u){u=u>>>0,I(u,"offset");const c=this[u],O=this[u+7];(c===void 0||O===void 0)&&Z(u,this.length-8);const N=c*2**24+this[++u]*2**16+this[++u]*2**8+this[++u],Q=this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+O;return(BigInt(N)<<BigInt(32))+BigInt(Q)}),i.prototype.readIntLE=function(u,c,O){u=u>>>0,c=c>>>0,O||le(u,c,this.length);let N=this[u],Q=1,re=0;for(;++re<c&&(Q*=256);)N+=this[u+re]*Q;return Q*=128,N>=Q&&(N-=Math.pow(2,8*c)),N},i.prototype.readIntBE=function(u,c,O){u=u>>>0,c=c>>>0,O||le(u,c,this.length);let N=c,Q=1,re=this[u+--N];for(;N>0&&(Q*=256);)re+=this[u+--N]*Q;return Q*=128,re>=Q&&(re-=Math.pow(2,8*c)),re},i.prototype.readInt8=function(u,c){return u=u>>>0,c||le(u,1,this.length),this[u]&128?(255-this[u]+1)*-1:this[u]},i.prototype.readInt16LE=function(u,c){u=u>>>0,c||le(u,2,this.length);const O=this[u]|this[u+1]<<8;return O&32768?O|4294901760:O},i.prototype.readInt16BE=function(u,c){u=u>>>0,c||le(u,2,this.length);const O=this[u+1]|this[u]<<8;return O&32768?O|4294901760:O},i.prototype.readInt32LE=function(u,c){return u=u>>>0,c||le(u,4,this.length),this[u]|this[u+1]<<8|this[u+2]<<16|this[u+3]<<24},i.prototype.readInt32BE=function(u,c){return u=u>>>0,c||le(u,4,this.length),this[u]<<24|this[u+1]<<16|this[u+2]<<8|this[u+3]},i.prototype.readBigInt64LE=Pe(function(u){u=u>>>0,I(u,"offset");const c=this[u],O=this[u+7];(c===void 0||O===void 0)&&Z(u,this.length-8);const N=this[u+4]+this[u+5]*2**8+this[u+6]*2**16+(O<<24);return(BigInt(N)<<BigInt(32))+BigInt(c+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24)}),i.prototype.readBigInt64BE=Pe(function(u){u=u>>>0,I(u,"offset");const c=this[u],O=this[u+7];(c===void 0||O===void 0)&&Z(u,this.length-8);const N=(c<<24)+this[++u]*2**16+this[++u]*2**8+this[++u];return(BigInt(N)<<BigInt(32))+BigInt(this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+O)}),i.prototype.readFloatLE=function(u,c){return u=u>>>0,c||le(u,4,this.length),ce.read(this,u,!0,23,4)},i.prototype.readFloatBE=function(u,c){return u=u>>>0,c||le(u,4,this.length),ce.read(this,u,!1,23,4)},i.prototype.readDoubleLE=function(u,c){return u=u>>>0,c||le(u,8,this.length),ce.read(this,u,!0,52,8)},i.prototype.readDoubleBE=function(u,c){return u=u>>>0,c||le(u,8,this.length),ce.read(this,u,!1,52,8)};function ye(w,u,c,O,N,Q){if(!i.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(u>N||u<Q)throw new RangeError('"value" argument is out of bounds');if(c+O>w.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(u,c,O,N){if(u=+u,c=c>>>0,O=O>>>0,!N){const be=Math.pow(2,8*O)-1;ye(this,u,c,O,be,0)}let Q=1,re=0;for(this[c]=u&255;++re<O&&(Q*=256);)this[c+re]=u/Q&255;return c+O},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(u,c,O,N){if(u=+u,c=c>>>0,O=O>>>0,!N){const be=Math.pow(2,8*O)-1;ye(this,u,c,O,be,0)}let Q=O-1,re=1;for(this[c+Q]=u&255;--Q>=0&&(re*=256);)this[c+Q]=u/re&255;return c+O},i.prototype.writeUint8=i.prototype.writeUInt8=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,1,255,0),this[c]=u&255,c+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,2,65535,0),this[c]=u&255,this[c+1]=u>>>8,c+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,2,65535,0),this[c]=u>>>8,this[c+1]=u&255,c+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,4,4294967295,0),this[c+3]=u>>>24,this[c+2]=u>>>16,this[c+1]=u>>>8,this[c]=u&255,c+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,4,4294967295,0),this[c]=u>>>24,this[c+1]=u>>>16,this[c+2]=u>>>8,this[c+3]=u&255,c+4};function we(w,u,c,O,N){_(u,O,N,w,c,7);let Q=Number(u&BigInt(4294967295));w[c++]=Q,Q=Q>>8,w[c++]=Q,Q=Q>>8,w[c++]=Q,Q=Q>>8,w[c++]=Q;let re=Number(u>>BigInt(32)&BigInt(4294967295));return w[c++]=re,re=re>>8,w[c++]=re,re=re>>8,w[c++]=re,re=re>>8,w[c++]=re,c}function Ee(w,u,c,O,N){_(u,O,N,w,c,7);let Q=Number(u&BigInt(4294967295));w[c+7]=Q,Q=Q>>8,w[c+6]=Q,Q=Q>>8,w[c+5]=Q,Q=Q>>8,w[c+4]=Q;let re=Number(u>>BigInt(32)&BigInt(4294967295));return w[c+3]=re,re=re>>8,w[c+2]=re,re=re>>8,w[c+1]=re,re=re>>8,w[c]=re,c+8}i.prototype.writeBigUInt64LE=Pe(function(u,c=0){return we(this,u,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=Pe(function(u,c=0){return Ee(this,u,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(u,c,O,N){if(u=+u,c=c>>>0,!N){const ke=Math.pow(2,8*O-1);ye(this,u,c,O,ke-1,-ke)}let Q=0,re=1,be=0;for(this[c]=u&255;++Q<O&&(re*=256);)u<0&&be===0&&this[c+Q-1]!==0&&(be=1),this[c+Q]=(u/re>>0)-be&255;return c+O},i.prototype.writeIntBE=function(u,c,O,N){if(u=+u,c=c>>>0,!N){const ke=Math.pow(2,8*O-1);ye(this,u,c,O,ke-1,-ke)}let Q=O-1,re=1,be=0;for(this[c+Q]=u&255;--Q>=0&&(re*=256);)u<0&&be===0&&this[c+Q+1]!==0&&(be=1),this[c+Q]=(u/re>>0)-be&255;return c+O},i.prototype.writeInt8=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,1,127,-128),u<0&&(u=255+u+1),this[c]=u&255,c+1},i.prototype.writeInt16LE=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,2,32767,-32768),this[c]=u&255,this[c+1]=u>>>8,c+2},i.prototype.writeInt16BE=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,2,32767,-32768),this[c]=u>>>8,this[c+1]=u&255,c+2},i.prototype.writeInt32LE=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,4,2147483647,-2147483648),this[c]=u&255,this[c+1]=u>>>8,this[c+2]=u>>>16,this[c+3]=u>>>24,c+4},i.prototype.writeInt32BE=function(u,c,O){return u=+u,c=c>>>0,O||ye(this,u,c,4,2147483647,-2147483648),u<0&&(u=4294967295+u+1),this[c]=u>>>24,this[c+1]=u>>>16,this[c+2]=u>>>8,this[c+3]=u&255,c+4},i.prototype.writeBigInt64LE=Pe(function(u,c=0){return we(this,u,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=Pe(function(u,c=0){return Ee(this,u,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ne(w,u,c,O,N,Q){if(c+O>w.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("Index out of range")}function xe(w,u,c,O,N){return u=+u,c=c>>>0,N||Ne(w,u,c,4),ce.write(w,u,c,O,23,4),c+4}i.prototype.writeFloatLE=function(u,c,O){return xe(this,u,c,!0,O)},i.prototype.writeFloatBE=function(u,c,O){return xe(this,u,c,!1,O)};function ve(w,u,c,O,N){return u=+u,c=c>>>0,N||Ne(w,u,c,8),ce.write(w,u,c,O,52,8),c+8}i.prototype.writeDoubleLE=function(u,c,O){return ve(this,u,c,!0,O)},i.prototype.writeDoubleBE=function(u,c,O){return ve(this,u,c,!1,O)},i.prototype.copy=function(u,c,O,N){if(!i.isBuffer(u))throw new TypeError("argument should be a Buffer");if(O||(O=0),!N&&N!==0&&(N=this.length),c>=u.length&&(c=u.length),c||(c=0),N>0&&N<O&&(N=O),N===O||u.length===0||this.length===0)return 0;if(c<0)throw new RangeError("targetStart out of bounds");if(O<0||O>=this.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("sourceEnd out of bounds");N>this.length&&(N=this.length),u.length-c<N-O&&(N=u.length-c+O);const Q=N-O;return this===u&&typeof H.prototype.copyWithin=="function"?this.copyWithin(c,O,N):H.prototype.set.call(u,this.subarray(O,N),c),Q},i.prototype.fill=function(u,c,O,N){if(typeof u=="string"){if(typeof c=="string"?(N=c,c=0,O=this.length):typeof O=="string"&&(N=O,O=this.length),N!==void 0&&typeof N!="string")throw new TypeError("encoding must be a string");if(typeof N=="string"&&!i.isEncoding(N))throw new TypeError("Unknown encoding: "+N);if(u.length===1){const re=u.charCodeAt(0);(N==="utf8"&&re<128||N==="latin1")&&(u=re)}}else typeof u=="number"?u=u&255:typeof u=="boolean"&&(u=Number(u));if(c<0||this.length<c||this.length<O)throw new RangeError("Out of range index");if(O<=c)return this;c=c>>>0,O=O===void 0?this.length:O>>>0,u||(u=0);let Q;if(typeof u=="number")for(Q=c;Q<O;++Q)this[Q]=u;else{const re=i.isBuffer(u)?u:i.from(u,N),be=re.length;if(be===0)throw new TypeError('The value "'+u+'" is invalid for argument "value"');for(Q=0;Q<O-c;++Q)this[Q+c]=re[Q%be]}return this};const Le={};function y(w,u,c){Le[w]=class extends c{constructor(){super(),Object.defineProperty(this,"message",{value:u.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${w}]`,this.stack,delete this.name}get code(){return w}set code(N){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:N,writable:!0})}toString(){return`${this.name} [${w}]: ${this.message}`}}}y("ERR_BUFFER_OUT_OF_BOUNDS",function(w){return w?`${w} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),y("ERR_INVALID_ARG_TYPE",function(w,u){return`The "${w}" argument must be of type number. Received type ${typeof u}`},TypeError),y("ERR_OUT_OF_RANGE",function(w,u,c){let O=`The value of "${w}" is out of range.`,N=c;return Number.isInteger(c)&&Math.abs(c)>2**32?N=s(String(c)):typeof c=="bigint"&&(N=String(c),(c>BigInt(2)**BigInt(32)||c<-(BigInt(2)**BigInt(32)))&&(N=s(N)),N+="n"),O+=` It must be ${u}. Received ${N}`,O},RangeError);function s(w){let u="",c=w.length;const O=w[0]==="-"?1:0;for(;c>=O+4;c-=3)u=`_${w.slice(c-3,c)}${u}`;return`${w.slice(0,c)}${u}`}function l(w,u,c){I(u,"offset"),(w[u]===void 0||w[u+c]===void 0)&&Z(u,w.length-(c+1))}function _(w,u,c,O,N,Q){if(w>c||w<u){const re=typeof u=="bigint"?"n":"";let be;throw u===0||u===BigInt(0)?be=`>= 0${re} and < 2${re} ** ${(Q+1)*8}${re}`:be=`>= -(2${re} ** ${(Q+1)*8-1}${re}) and < 2 ** ${(Q+1)*8-1}${re}`,new Le.ERR_OUT_OF_RANGE("value",be,w)}l(O,N,Q)}function I(w,u){if(typeof w!="number")throw new Le.ERR_INVALID_ARG_TYPE(u,"number",w)}function Z(w,u,c){throw Math.floor(w)!==w?(I(w,c),new Le.ERR_OUT_OF_RANGE("offset","an integer",w)):u<0?new Le.ERR_BUFFER_OUT_OF_BOUNDS:new Le.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${u}`,w)}const K=/[^+/0-9A-Za-z-_]/g;function ge(w){if(w=w.split("=")[0],w=w.trim().replace(K,""),w.length<2)return"";for(;w.length%4!==0;)w=w+"=";return w}function Ue(w,u){u=u||1/0;let c;const O=w.length;let N=null;const Q=[];for(let re=0;re<O;++re){if(c=w.charCodeAt(re),c>55295&&c<57344){if(!N){if(c>56319){(u-=3)>-1&&Q.push(239,191,189);continue}else if(re+1===O){(u-=3)>-1&&Q.push(239,191,189);continue}N=c;continue}if(c<56320){(u-=3)>-1&&Q.push(239,191,189),N=c;continue}c=(N-55296<<10|c-56320)+65536}else N&&(u-=3)>-1&&Q.push(239,191,189);if(N=null,c<128){if((u-=1)<0)break;Q.push(c)}else if(c<2048){if((u-=2)<0)break;Q.push(c>>6|192,c&63|128)}else if(c<65536){if((u-=3)<0)break;Q.push(c>>12|224,c>>6&63|128,c&63|128)}else if(c<1114112){if((u-=4)<0)break;Q.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw new Error("Invalid code point")}return Q}function Se(w){const u=[];for(let c=0;c<w.length;++c)u.push(w.charCodeAt(c)&255);return u}function Be(w,u){let c,O,N;const Q=[];for(let re=0;re<w.length&&!((u-=2)<0);++re)c=w.charCodeAt(re),O=c>>8,N=c%256,Q.push(N),Q.push(O);return Q}function Fe(w){return se.toByteArray(ge(w))}function je(w,u,c,O){let N;for(N=0;N<O&&!(N+c>=u.length||N>=w.length);++N)u[N+c]=w[N];return N}function Re(w,u){return w instanceof u||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===u.name}function Rt(w){return w!==w}const ze=function(){const w="0123456789abcdef",u=new Array(256);for(let c=0;c<16;++c){const O=c*16;for(let N=0;N<16;++N)u[O+N]=w[c]+w[N]}return u}();function Pe(w){return typeof BigInt>"u"?yr:w}function yr(){throw new Error("BigInt not supported")}})(t);const he=t.Buffer;e.Blob=t.Blob,e.BlobOptions=t.BlobOptions,e.Buffer=t.Buffer,e.File=t.File,e.FileOptions=t.FileOptions,e.INSPECT_MAX_BYTES=t.INSPECT_MAX_BYTES,e.SlowBuffer=t.SlowBuffer,e.TranscodeEncoding=t.TranscodeEncoding,e.atob=t.atob,e.btoa=t.btoa,e.constants=t.constants,e.default=he,e.isAscii=t.isAscii,e.isUtf8=t.isUtf8,e.kMaxLength=t.kMaxLength,e.kStringMaxLength=t.kStringMaxLength,e.resolveObjectURL=t.resolveObjectURL,e.transcode=t.transcode}(An)),An}var Y1=Ar.exports,$o;function sw(){return $o||($o=1,function(e){(function(t,r){function n(A,i){if(!A)throw new Error(i||"Assertion failed")}function a(A,i){A.super_=i;var h=function(){};h.prototype=i.prototype,A.prototype=new h,A.prototype.constructor=A}function o(A,i,h){if(o.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,A!==null&&((i==="le"||i==="be")&&(h=i,i=10),this._init(A||0,i||10,h||"be"))}typeof t=="object"?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var d;try{typeof window<"u"&&typeof window.Buffer<"u"?d=window.Buffer:d=K1().Buffer}catch{}o.isBN=function(i){return i instanceof o?!0:i!==null&&typeof i=="object"&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,h){return i.cmp(h)>0?i:h},o.min=function(i,h){return i.cmp(h)<0?i:h},o.prototype._init=function(i,h,g){if(typeof i=="number")return this._initNumber(i,h,g);if(typeof i=="object")return this._initArray(i,h,g);h==="hex"&&(h=16),n(h===(h|0)&&h>=2&&h<=36),i=i.toString().replace(/\s+/g,"");var m=0;i[0]==="-"&&(m++,this.negative=1),m<i.length&&(h===16?this._parseHex(i,m,g):(this._parseBase(i,h,m),g==="le"&&this._initArray(this.toArray(),h,g)))},o.prototype._initNumber=function(i,h,g){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[i&67108863],this.length=1):i<4503599627370496?(this.words=[i&67108863,i/67108864&67108863],this.length=2):(n(i<9007199254740992),this.words=[i&67108863,i/67108864&67108863,1],this.length=3),g==="le"&&this._initArray(this.toArray(),h,g)},o.prototype._initArray=function(i,h,g){if(n(typeof i.length=="number"),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var m=0;m<this.length;m++)this.words[m]=0;var v,T,F=0;if(g==="be")for(m=i.length-1,v=0;m>=0;m-=3)T=i[m]|i[m-1]<<8|i[m-2]<<16,this.words[v]|=T<<F&67108863,this.words[v+1]=T>>>26-F&67108863,F+=24,F>=26&&(F-=26,v++);else if(g==="le")for(m=0,v=0;m<i.length;m+=3)T=i[m]|i[m+1]<<8|i[m+2]<<16,this.words[v]|=T<<F&67108863,this.words[v+1]=T>>>26-F&67108863,F+=24,F>=26&&(F-=26,v++);return this.strip()};function x(A,i){var h=A.charCodeAt(i);return h>=65&&h<=70?h-55:h>=97&&h<=102?h-87:h-48&15}function S(A,i,h){var g=x(A,h);return h-1>=i&&(g|=x(A,h-1)<<4),g}o.prototype._parseHex=function(i,h,g){this.length=Math.ceil((i.length-h)/6),this.words=new Array(this.length);for(var m=0;m<this.length;m++)this.words[m]=0;var v=0,T=0,F;if(g==="be")for(m=i.length-1;m>=h;m-=2)F=S(i,h,m)<<v,this.words[T]|=F&67108863,v>=18?(v-=18,T+=1,this.words[T]|=F>>>26):v+=8;else{var M=i.length-h;for(m=M%2===0?h+1:h;m<i.length;m+=2)F=S(i,h,m)<<v,this.words[T]|=F&67108863,v>=18?(v-=18,T+=1,this.words[T]|=F>>>26):v+=8}this.strip()};function E(A,i,h,g){for(var m=0,v=Math.min(A.length,h),T=i;T<v;T++){var F=A.charCodeAt(T)-48;m*=g,F>=49?m+=F-49+10:F>=17?m+=F-17+10:m+=F}return m}o.prototype._parseBase=function(i,h,g){this.words=[0],this.length=1;for(var m=0,v=1;v<=67108863;v*=h)m++;m--,v=v/h|0;for(var T=i.length-g,F=T%m,M=Math.min(T,T-F)+g,f=0,B=g;B<M;B+=m)f=E(i,B,B+m,h),this.imuln(v),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(F!==0){var ue=1;for(f=E(i,B,i.length,h),B=0;B<F;B++)ue*=h;this.imuln(ue),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var h=0;h<this.length;h++)i.words[h]=this.words[h];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],$=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],j=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(i,h){i=i||10,h=h|0||1;var g;if(i===16||i==="hex"){g="";for(var m=0,v=0,T=0;T<this.length;T++){var F=this.words[T],M=((F<<m|v)&16777215).toString(16);v=F>>>24-m&16777215,v!==0||T!==this.length-1?g=p[6-M.length]+M+g:g=M+g,m+=2,m>=26&&(m-=26,T--)}for(v!==0&&(g=v.toString(16)+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}if(i===(i|0)&&i>=2&&i<=36){var f=$[i],B=j[i];g="";var ue=this.clone();for(ue.negative=0;!ue.isZero();){var pe=ue.modn(B).toString(i);ue=ue.idivn(B),ue.isZero()?g=pe+g:g=p[f-pe.length]+pe+g}for(this.isZero()&&(g="0"+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return this.length===2?i+=this.words[1]*67108864:this.length===3&&this.words[2]===1?i+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,h){return n(typeof d<"u"),this.toArrayLike(d,i,h)},o.prototype.toArray=function(i,h){return this.toArrayLike(Array,i,h)},o.prototype.toArrayLike=function(i,h,g){var m=this.byteLength(),v=g||Math.max(1,m);n(m<=v,"byte array longer than desired length"),n(v>0,"Requested array length <= 0"),this.strip();var T=h==="le",F=new i(v),M,f,B=this.clone();if(T){for(f=0;!B.isZero();f++)M=B.andln(255),B.iushrn(8),F[f]=M;for(;f<v;f++)F[f]=0}else{for(f=0;f<v-m;f++)F[f]=0;for(f=0;!B.isZero();f++)M=B.andln(255),B.iushrn(8),F[v-f-1]=M}return F},Math.clz32?o.prototype._countBits=function(i){return 32-Math.clz32(i)}:o.prototype._countBits=function(i){var h=i,g=0;return h>=4096&&(g+=13,h>>>=13),h>=64&&(g+=7,h>>>=7),h>=8&&(g+=4,h>>>=4),h>=2&&(g+=2,h>>>=2),g+h},o.prototype._zeroBits=function(i){if(i===0)return 26;var h=i,g=0;return(h&8191)===0&&(g+=13,h>>>=13),(h&127)===0&&(g+=7,h>>>=7),(h&15)===0&&(g+=4,h>>>=4),(h&3)===0&&(g+=2,h>>>=2),(h&1)===0&&g++,g},o.prototype.bitLength=function(){var i=this.words[this.length-1],h=this._countBits(i);return(this.length-1)*26+h};function Y(A){for(var i=new Array(A.bitLength()),h=0;h<i.length;h++){var g=h/26|0,m=h%26;i[h]=(A.words[g]&1<<m)>>>m}return i}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,h=0;h<this.length;h++){var g=this._zeroBits(this.words[h]);if(i+=g,g!==26)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return this.negative!==0?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return this.negative!==0},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var h=0;h<i.length;h++)this.words[h]=this.words[h]|i.words[h];return this.strip()},o.prototype.ior=function(i){return n((this.negative|i.negative)===0),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var h;this.length>i.length?h=i:h=this;for(var g=0;g<h.length;g++)this.words[g]=this.words[g]&i.words[g];return this.length=h.length,this.strip()},o.prototype.iand=function(i){return n((this.negative|i.negative)===0),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var h,g;this.length>i.length?(h=this,g=i):(h=i,g=this);for(var m=0;m<g.length;m++)this.words[m]=h.words[m]^g.words[m];if(this!==h)for(;m<h.length;m++)this.words[m]=h.words[m];return this.length=h.length,this.strip()},o.prototype.ixor=function(i){return n((this.negative|i.negative)===0),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){n(typeof i=="number"&&i>=0);var h=Math.ceil(i/26)|0,g=i%26;this._expand(h),g>0&&h--;for(var m=0;m<h;m++)this.words[m]=~this.words[m]&67108863;return g>0&&(this.words[m]=~this.words[m]&67108863>>26-g),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,h){n(typeof i=="number"&&i>=0);var g=i/26|0,m=i%26;return this._expand(g+1),h?this.words[g]=this.words[g]|1<<m:this.words[g]=this.words[g]&~(1<<m),this.strip()},o.prototype.iadd=function(i){var h;if(this.negative!==0&&i.negative===0)return this.negative=0,h=this.isub(i),this.negative^=1,this._normSign();if(this.negative===0&&i.negative!==0)return i.negative=0,h=this.isub(i),i.negative=1,h._normSign();var g,m;this.length>i.length?(g=this,m=i):(g=i,m=this);for(var v=0,T=0;T<m.length;T++)h=(g.words[T]|0)+(m.words[T]|0)+v,this.words[T]=h&67108863,v=h>>>26;for(;v!==0&&T<g.length;T++)h=(g.words[T]|0)+v,this.words[T]=h&67108863,v=h>>>26;if(this.length=g.length,v!==0)this.words[this.length]=v,this.length++;else if(g!==this)for(;T<g.length;T++)this.words[T]=g.words[T];return this},o.prototype.add=function(i){var h;return i.negative!==0&&this.negative===0?(i.negative=0,h=this.sub(i),i.negative^=1,h):i.negative===0&&this.negative!==0?(this.negative=0,h=i.sub(this),this.negative=1,h):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(i.negative!==0){i.negative=0;var h=this.iadd(i);return i.negative=1,h._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var g=this.cmp(i);if(g===0)return this.negative=0,this.length=1,this.words[0]=0,this;var m,v;g>0?(m=this,v=i):(m=i,v=this);for(var T=0,F=0;F<v.length;F++)h=(m.words[F]|0)-(v.words[F]|0)+T,T=h>>26,this.words[F]=h&67108863;for(;T!==0&&F<m.length;F++)h=(m.words[F]|0)+T,T=h>>26,this.words[F]=h&67108863;if(T===0&&F<m.length&&m!==this)for(;F<m.length;F++)this.words[F]=m.words[F];return this.length=Math.max(this.length,F),m!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};function z(A,i,h){h.negative=i.negative^A.negative;var g=A.length+i.length|0;h.length=g,g=g-1|0;var m=A.words[0]|0,v=i.words[0]|0,T=m*v,F=T&67108863,M=T/67108864|0;h.words[0]=F;for(var f=1;f<g;f++){for(var B=M>>>26,ue=M&67108863,pe=Math.min(f,i.length-1),D=Math.max(0,f-A.length+1);D<=pe;D++){var me=f-D|0;m=A.words[me]|0,v=i.words[D]|0,T=m*v+ue,B+=T/67108864|0,ue=T&67108863}h.words[f]=ue|0,M=B|0}return M!==0?h.words[f]=M|0:h.length--,h.strip()}var oe=function(i,h,g){var m=i.words,v=h.words,T=g.words,F=0,M,f,B,ue=m[0]|0,pe=ue&8191,D=ue>>>13,me=m[1]|0,Me=me&8191,Oe=me>>>13,$e=m[2]|0,_e=$e&8191,b=$e>>>13,C=m[3]|0,R=C&8191,q=C>>>13,k=m[4]|0,L=k&8191,W=k>>>13,U=m[5]|0,P=U&8191,G=U>>>13,V=m[6]|0,ie=V&8191,le=V>>>13,ye=m[7]|0,we=ye&8191,Ee=ye>>>13,Ne=m[8]|0,xe=Ne&8191,ve=Ne>>>13,Le=m[9]|0,y=Le&8191,s=Le>>>13,l=v[0]|0,_=l&8191,I=l>>>13,Z=v[1]|0,K=Z&8191,ge=Z>>>13,Ue=v[2]|0,Se=Ue&8191,Be=Ue>>>13,Fe=v[3]|0,je=Fe&8191,Re=Fe>>>13,Rt=v[4]|0,ze=Rt&8191,Pe=Rt>>>13,yr=v[5]|0,w=yr&8191,u=yr>>>13,c=v[6]|0,O=c&8191,N=c>>>13,Q=v[7]|0,re=Q&8191,be=Q>>>13,ke=v[8]|0,Ae=ke&8191,Te=ke>>>13,Ie=v[9]|0,We=Ie&8191,Ze=Ie>>>13;g.negative=i.negative^h.negative,g.length=19,M=Math.imul(pe,_),f=Math.imul(pe,I),f=f+Math.imul(D,_)|0,B=Math.imul(D,I);var Xr=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(Xr>>>26)|0,Xr&=67108863,M=Math.imul(Me,_),f=Math.imul(Me,I),f=f+Math.imul(Oe,_)|0,B=Math.imul(Oe,I),M=M+Math.imul(pe,K)|0,f=f+Math.imul(pe,ge)|0,f=f+Math.imul(D,K)|0,B=B+Math.imul(D,ge)|0;var Qr=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(Qr>>>26)|0,Qr&=67108863,M=Math.imul(_e,_),f=Math.imul(_e,I),f=f+Math.imul(b,_)|0,B=Math.imul(b,I),M=M+Math.imul(Me,K)|0,f=f+Math.imul(Me,ge)|0,f=f+Math.imul(Oe,K)|0,B=B+Math.imul(Oe,ge)|0,M=M+Math.imul(pe,Se)|0,f=f+Math.imul(pe,Be)|0,f=f+Math.imul(D,Se)|0,B=B+Math.imul(D,Be)|0;var en=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(en>>>26)|0,en&=67108863,M=Math.imul(R,_),f=Math.imul(R,I),f=f+Math.imul(q,_)|0,B=Math.imul(q,I),M=M+Math.imul(_e,K)|0,f=f+Math.imul(_e,ge)|0,f=f+Math.imul(b,K)|0,B=B+Math.imul(b,ge)|0,M=M+Math.imul(Me,Se)|0,f=f+Math.imul(Me,Be)|0,f=f+Math.imul(Oe,Se)|0,B=B+Math.imul(Oe,Be)|0,M=M+Math.imul(pe,je)|0,f=f+Math.imul(pe,Re)|0,f=f+Math.imul(D,je)|0,B=B+Math.imul(D,Re)|0;var tn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(tn>>>26)|0,tn&=67108863,M=Math.imul(L,_),f=Math.imul(L,I),f=f+Math.imul(W,_)|0,B=Math.imul(W,I),M=M+Math.imul(R,K)|0,f=f+Math.imul(R,ge)|0,f=f+Math.imul(q,K)|0,B=B+Math.imul(q,ge)|0,M=M+Math.imul(_e,Se)|0,f=f+Math.imul(_e,Be)|0,f=f+Math.imul(b,Se)|0,B=B+Math.imul(b,Be)|0,M=M+Math.imul(Me,je)|0,f=f+Math.imul(Me,Re)|0,f=f+Math.imul(Oe,je)|0,B=B+Math.imul(Oe,Re)|0,M=M+Math.imul(pe,ze)|0,f=f+Math.imul(pe,Pe)|0,f=f+Math.imul(D,ze)|0,B=B+Math.imul(D,Pe)|0;var rn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(rn>>>26)|0,rn&=67108863,M=Math.imul(P,_),f=Math.imul(P,I),f=f+Math.imul(G,_)|0,B=Math.imul(G,I),M=M+Math.imul(L,K)|0,f=f+Math.imul(L,ge)|0,f=f+Math.imul(W,K)|0,B=B+Math.imul(W,ge)|0,M=M+Math.imul(R,Se)|0,f=f+Math.imul(R,Be)|0,f=f+Math.imul(q,Se)|0,B=B+Math.imul(q,Be)|0,M=M+Math.imul(_e,je)|0,f=f+Math.imul(_e,Re)|0,f=f+Math.imul(b,je)|0,B=B+Math.imul(b,Re)|0,M=M+Math.imul(Me,ze)|0,f=f+Math.imul(Me,Pe)|0,f=f+Math.imul(Oe,ze)|0,B=B+Math.imul(Oe,Pe)|0,M=M+Math.imul(pe,w)|0,f=f+Math.imul(pe,u)|0,f=f+Math.imul(D,w)|0,B=B+Math.imul(D,u)|0;var nn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(nn>>>26)|0,nn&=67108863,M=Math.imul(ie,_),f=Math.imul(ie,I),f=f+Math.imul(le,_)|0,B=Math.imul(le,I),M=M+Math.imul(P,K)|0,f=f+Math.imul(P,ge)|0,f=f+Math.imul(G,K)|0,B=B+Math.imul(G,ge)|0,M=M+Math.imul(L,Se)|0,f=f+Math.imul(L,Be)|0,f=f+Math.imul(W,Se)|0,B=B+Math.imul(W,Be)|0,M=M+Math.imul(R,je)|0,f=f+Math.imul(R,Re)|0,f=f+Math.imul(q,je)|0,B=B+Math.imul(q,Re)|0,M=M+Math.imul(_e,ze)|0,f=f+Math.imul(_e,Pe)|0,f=f+Math.imul(b,ze)|0,B=B+Math.imul(b,Pe)|0,M=M+Math.imul(Me,w)|0,f=f+Math.imul(Me,u)|0,f=f+Math.imul(Oe,w)|0,B=B+Math.imul(Oe,u)|0,M=M+Math.imul(pe,O)|0,f=f+Math.imul(pe,N)|0,f=f+Math.imul(D,O)|0,B=B+Math.imul(D,N)|0;var on=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(on>>>26)|0,on&=67108863,M=Math.imul(we,_),f=Math.imul(we,I),f=f+Math.imul(Ee,_)|0,B=Math.imul(Ee,I),M=M+Math.imul(ie,K)|0,f=f+Math.imul(ie,ge)|0,f=f+Math.imul(le,K)|0,B=B+Math.imul(le,ge)|0,M=M+Math.imul(P,Se)|0,f=f+Math.imul(P,Be)|0,f=f+Math.imul(G,Se)|0,B=B+Math.imul(G,Be)|0,M=M+Math.imul(L,je)|0,f=f+Math.imul(L,Re)|0,f=f+Math.imul(W,je)|0,B=B+Math.imul(W,Re)|0,M=M+Math.imul(R,ze)|0,f=f+Math.imul(R,Pe)|0,f=f+Math.imul(q,ze)|0,B=B+Math.imul(q,Pe)|0,M=M+Math.imul(_e,w)|0,f=f+Math.imul(_e,u)|0,f=f+Math.imul(b,w)|0,B=B+Math.imul(b,u)|0,M=M+Math.imul(Me,O)|0,f=f+Math.imul(Me,N)|0,f=f+Math.imul(Oe,O)|0,B=B+Math.imul(Oe,N)|0,M=M+Math.imul(pe,re)|0,f=f+Math.imul(pe,be)|0,f=f+Math.imul(D,re)|0,B=B+Math.imul(D,be)|0;var sn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(sn>>>26)|0,sn&=67108863,M=Math.imul(xe,_),f=Math.imul(xe,I),f=f+Math.imul(ve,_)|0,B=Math.imul(ve,I),M=M+Math.imul(we,K)|0,f=f+Math.imul(we,ge)|0,f=f+Math.imul(Ee,K)|0,B=B+Math.imul(Ee,ge)|0,M=M+Math.imul(ie,Se)|0,f=f+Math.imul(ie,Be)|0,f=f+Math.imul(le,Se)|0,B=B+Math.imul(le,Be)|0,M=M+Math.imul(P,je)|0,f=f+Math.imul(P,Re)|0,f=f+Math.imul(G,je)|0,B=B+Math.imul(G,Re)|0,M=M+Math.imul(L,ze)|0,f=f+Math.imul(L,Pe)|0,f=f+Math.imul(W,ze)|0,B=B+Math.imul(W,Pe)|0,M=M+Math.imul(R,w)|0,f=f+Math.imul(R,u)|0,f=f+Math.imul(q,w)|0,B=B+Math.imul(q,u)|0,M=M+Math.imul(_e,O)|0,f=f+Math.imul(_e,N)|0,f=f+Math.imul(b,O)|0,B=B+Math.imul(b,N)|0,M=M+Math.imul(Me,re)|0,f=f+Math.imul(Me,be)|0,f=f+Math.imul(Oe,re)|0,B=B+Math.imul(Oe,be)|0,M=M+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Te)|0,f=f+Math.imul(D,Ae)|0,B=B+Math.imul(D,Te)|0;var an=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(an>>>26)|0,an&=67108863,M=Math.imul(y,_),f=Math.imul(y,I),f=f+Math.imul(s,_)|0,B=Math.imul(s,I),M=M+Math.imul(xe,K)|0,f=f+Math.imul(xe,ge)|0,f=f+Math.imul(ve,K)|0,B=B+Math.imul(ve,ge)|0,M=M+Math.imul(we,Se)|0,f=f+Math.imul(we,Be)|0,f=f+Math.imul(Ee,Se)|0,B=B+Math.imul(Ee,Be)|0,M=M+Math.imul(ie,je)|0,f=f+Math.imul(ie,Re)|0,f=f+Math.imul(le,je)|0,B=B+Math.imul(le,Re)|0,M=M+Math.imul(P,ze)|0,f=f+Math.imul(P,Pe)|0,f=f+Math.imul(G,ze)|0,B=B+Math.imul(G,Pe)|0,M=M+Math.imul(L,w)|0,f=f+Math.imul(L,u)|0,f=f+Math.imul(W,w)|0,B=B+Math.imul(W,u)|0,M=M+Math.imul(R,O)|0,f=f+Math.imul(R,N)|0,f=f+Math.imul(q,O)|0,B=B+Math.imul(q,N)|0,M=M+Math.imul(_e,re)|0,f=f+Math.imul(_e,be)|0,f=f+Math.imul(b,re)|0,B=B+Math.imul(b,be)|0,M=M+Math.imul(Me,Ae)|0,f=f+Math.imul(Me,Te)|0,f=f+Math.imul(Oe,Ae)|0,B=B+Math.imul(Oe,Te)|0,M=M+Math.imul(pe,We)|0,f=f+Math.imul(pe,Ze)|0,f=f+Math.imul(D,We)|0,B=B+Math.imul(D,Ze)|0;var un=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(un>>>26)|0,un&=67108863,M=Math.imul(y,K),f=Math.imul(y,ge),f=f+Math.imul(s,K)|0,B=Math.imul(s,ge),M=M+Math.imul(xe,Se)|0,f=f+Math.imul(xe,Be)|0,f=f+Math.imul(ve,Se)|0,B=B+Math.imul(ve,Be)|0,M=M+Math.imul(we,je)|0,f=f+Math.imul(we,Re)|0,f=f+Math.imul(Ee,je)|0,B=B+Math.imul(Ee,Re)|0,M=M+Math.imul(ie,ze)|0,f=f+Math.imul(ie,Pe)|0,f=f+Math.imul(le,ze)|0,B=B+Math.imul(le,Pe)|0,M=M+Math.imul(P,w)|0,f=f+Math.imul(P,u)|0,f=f+Math.imul(G,w)|0,B=B+Math.imul(G,u)|0,M=M+Math.imul(L,O)|0,f=f+Math.imul(L,N)|0,f=f+Math.imul(W,O)|0,B=B+Math.imul(W,N)|0,M=M+Math.imul(R,re)|0,f=f+Math.imul(R,be)|0,f=f+Math.imul(q,re)|0,B=B+Math.imul(q,be)|0,M=M+Math.imul(_e,Ae)|0,f=f+Math.imul(_e,Te)|0,f=f+Math.imul(b,Ae)|0,B=B+Math.imul(b,Te)|0,M=M+Math.imul(Me,We)|0,f=f+Math.imul(Me,Ze)|0,f=f+Math.imul(Oe,We)|0,B=B+Math.imul(Oe,Ze)|0;var fn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(fn>>>26)|0,fn&=67108863,M=Math.imul(y,Se),f=Math.imul(y,Be),f=f+Math.imul(s,Se)|0,B=Math.imul(s,Be),M=M+Math.imul(xe,je)|0,f=f+Math.imul(xe,Re)|0,f=f+Math.imul(ve,je)|0,B=B+Math.imul(ve,Re)|0,M=M+Math.imul(we,ze)|0,f=f+Math.imul(we,Pe)|0,f=f+Math.imul(Ee,ze)|0,B=B+Math.imul(Ee,Pe)|0,M=M+Math.imul(ie,w)|0,f=f+Math.imul(ie,u)|0,f=f+Math.imul(le,w)|0,B=B+Math.imul(le,u)|0,M=M+Math.imul(P,O)|0,f=f+Math.imul(P,N)|0,f=f+Math.imul(G,O)|0,B=B+Math.imul(G,N)|0,M=M+Math.imul(L,re)|0,f=f+Math.imul(L,be)|0,f=f+Math.imul(W,re)|0,B=B+Math.imul(W,be)|0,M=M+Math.imul(R,Ae)|0,f=f+Math.imul(R,Te)|0,f=f+Math.imul(q,Ae)|0,B=B+Math.imul(q,Te)|0,M=M+Math.imul(_e,We)|0,f=f+Math.imul(_e,Ze)|0,f=f+Math.imul(b,We)|0,B=B+Math.imul(b,Ze)|0;var ln=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(ln>>>26)|0,ln&=67108863,M=Math.imul(y,je),f=Math.imul(y,Re),f=f+Math.imul(s,je)|0,B=Math.imul(s,Re),M=M+Math.imul(xe,ze)|0,f=f+Math.imul(xe,Pe)|0,f=f+Math.imul(ve,ze)|0,B=B+Math.imul(ve,Pe)|0,M=M+Math.imul(we,w)|0,f=f+Math.imul(we,u)|0,f=f+Math.imul(Ee,w)|0,B=B+Math.imul(Ee,u)|0,M=M+Math.imul(ie,O)|0,f=f+Math.imul(ie,N)|0,f=f+Math.imul(le,O)|0,B=B+Math.imul(le,N)|0,M=M+Math.imul(P,re)|0,f=f+Math.imul(P,be)|0,f=f+Math.imul(G,re)|0,B=B+Math.imul(G,be)|0,M=M+Math.imul(L,Ae)|0,f=f+Math.imul(L,Te)|0,f=f+Math.imul(W,Ae)|0,B=B+Math.imul(W,Te)|0,M=M+Math.imul(R,We)|0,f=f+Math.imul(R,Ze)|0,f=f+Math.imul(q,We)|0,B=B+Math.imul(q,Ze)|0;var cn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(cn>>>26)|0,cn&=67108863,M=Math.imul(y,ze),f=Math.imul(y,Pe),f=f+Math.imul(s,ze)|0,B=Math.imul(s,Pe),M=M+Math.imul(xe,w)|0,f=f+Math.imul(xe,u)|0,f=f+Math.imul(ve,w)|0,B=B+Math.imul(ve,u)|0,M=M+Math.imul(we,O)|0,f=f+Math.imul(we,N)|0,f=f+Math.imul(Ee,O)|0,B=B+Math.imul(Ee,N)|0,M=M+Math.imul(ie,re)|0,f=f+Math.imul(ie,be)|0,f=f+Math.imul(le,re)|0,B=B+Math.imul(le,be)|0,M=M+Math.imul(P,Ae)|0,f=f+Math.imul(P,Te)|0,f=f+Math.imul(G,Ae)|0,B=B+Math.imul(G,Te)|0,M=M+Math.imul(L,We)|0,f=f+Math.imul(L,Ze)|0,f=f+Math.imul(W,We)|0,B=B+Math.imul(W,Ze)|0;var hn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(hn>>>26)|0,hn&=67108863,M=Math.imul(y,w),f=Math.imul(y,u),f=f+Math.imul(s,w)|0,B=Math.imul(s,u),M=M+Math.imul(xe,O)|0,f=f+Math.imul(xe,N)|0,f=f+Math.imul(ve,O)|0,B=B+Math.imul(ve,N)|0,M=M+Math.imul(we,re)|0,f=f+Math.imul(we,be)|0,f=f+Math.imul(Ee,re)|0,B=B+Math.imul(Ee,be)|0,M=M+Math.imul(ie,Ae)|0,f=f+Math.imul(ie,Te)|0,f=f+Math.imul(le,Ae)|0,B=B+Math.imul(le,Te)|0,M=M+Math.imul(P,We)|0,f=f+Math.imul(P,Ze)|0,f=f+Math.imul(G,We)|0,B=B+Math.imul(G,Ze)|0;var dn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(dn>>>26)|0,dn&=67108863,M=Math.imul(y,O),f=Math.imul(y,N),f=f+Math.imul(s,O)|0,B=Math.imul(s,N),M=M+Math.imul(xe,re)|0,f=f+Math.imul(xe,be)|0,f=f+Math.imul(ve,re)|0,B=B+Math.imul(ve,be)|0,M=M+Math.imul(we,Ae)|0,f=f+Math.imul(we,Te)|0,f=f+Math.imul(Ee,Ae)|0,B=B+Math.imul(Ee,Te)|0,M=M+Math.imul(ie,We)|0,f=f+Math.imul(ie,Ze)|0,f=f+Math.imul(le,We)|0,B=B+Math.imul(le,Ze)|0;var pn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(pn>>>26)|0,pn&=67108863,M=Math.imul(y,re),f=Math.imul(y,be),f=f+Math.imul(s,re)|0,B=Math.imul(s,be),M=M+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Te)|0,f=f+Math.imul(ve,Ae)|0,B=B+Math.imul(ve,Te)|0,M=M+Math.imul(we,We)|0,f=f+Math.imul(we,Ze)|0,f=f+Math.imul(Ee,We)|0,B=B+Math.imul(Ee,Ze)|0;var gn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(gn>>>26)|0,gn&=67108863,M=Math.imul(y,Ae),f=Math.imul(y,Te),f=f+Math.imul(s,Ae)|0,B=Math.imul(s,Te),M=M+Math.imul(xe,We)|0,f=f+Math.imul(xe,Ze)|0,f=f+Math.imul(ve,We)|0,B=B+Math.imul(ve,Ze)|0;var mn=(F+M|0)+((f&8191)<<13)|0;F=(B+(f>>>13)|0)+(mn>>>26)|0,mn&=67108863,M=Math.imul(y,We),f=Math.imul(y,Ze),f=f+Math.imul(s,We)|0,B=Math.imul(s,Ze);var yn=(F+M|0)+((f&8191)<<13)|0;return F=(B+(f>>>13)|0)+(yn>>>26)|0,yn&=67108863,T[0]=Xr,T[1]=Qr,T[2]=en,T[3]=tn,T[4]=rn,T[5]=nn,T[6]=on,T[7]=sn,T[8]=an,T[9]=un,T[10]=fn,T[11]=ln,T[12]=cn,T[13]=hn,T[14]=dn,T[15]=pn,T[16]=gn,T[17]=mn,T[18]=yn,F!==0&&(T[19]=F,g.length++),g};Math.imul||(oe=z);function J(A,i,h){h.negative=i.negative^A.negative,h.length=A.length+i.length;for(var g=0,m=0,v=0;v<h.length-1;v++){var T=m;m=0;for(var F=g&67108863,M=Math.min(v,i.length-1),f=Math.max(0,v-A.length+1);f<=M;f++){var B=v-f,ue=A.words[B]|0,pe=i.words[f]|0,D=ue*pe,me=D&67108863;T=T+(D/67108864|0)|0,me=me+F|0,F=me&67108863,T=T+(me>>>26)|0,m+=T>>>26,T&=67108863}h.words[v]=F,g=T,T=m}return g!==0?h.words[v]=g:h.length--,h.strip()}function he(A,i,h){var g=new te;return g.mulp(A,i,h)}o.prototype.mulTo=function(i,h){var g,m=this.length+i.length;return this.length===10&&i.length===10?g=oe(this,i,h):m<63?g=z(this,i,h):m<1024?g=J(this,i,h):g=he(this,i,h),g};function te(A,i){this.x=A,this.y=i}te.prototype.makeRBT=function(i){for(var h=new Array(i),g=o.prototype._countBits(i)-1,m=0;m<i;m++)h[m]=this.revBin(m,g,i);return h},te.prototype.revBin=function(i,h,g){if(i===0||i===g-1)return i;for(var m=0,v=0;v<h;v++)m|=(i&1)<<h-v-1,i>>=1;return m},te.prototype.permute=function(i,h,g,m,v,T){for(var F=0;F<T;F++)m[F]=h[i[F]],v[F]=g[i[F]]},te.prototype.transform=function(i,h,g,m,v,T){this.permute(T,i,h,g,m,v);for(var F=1;F<v;F<<=1)for(var M=F<<1,f=Math.cos(2*Math.PI/M),B=Math.sin(2*Math.PI/M),ue=0;ue<v;ue+=M)for(var pe=f,D=B,me=0;me<F;me++){var Me=g[ue+me],Oe=m[ue+me],$e=g[ue+me+F],_e=m[ue+me+F],b=pe*$e-D*_e;_e=pe*_e+D*$e,$e=b,g[ue+me]=Me+$e,m[ue+me]=Oe+_e,g[ue+me+F]=Me-$e,m[ue+me+F]=Oe-_e,me!==M&&(b=f*pe-B*D,D=f*D+B*pe,pe=b)}},te.prototype.guessLen13b=function(i,h){var g=Math.max(h,i)|1,m=g&1,v=0;for(g=g/2|0;g;g=g>>>1)v++;return 1<<v+1+m},te.prototype.conjugate=function(i,h,g){if(!(g<=1))for(var m=0;m<g/2;m++){var v=i[m];i[m]=i[g-m-1],i[g-m-1]=v,v=h[m],h[m]=-h[g-m-1],h[g-m-1]=-v}},te.prototype.normalize13b=function(i,h){for(var g=0,m=0;m<h/2;m++){var v=Math.round(i[2*m+1]/h)*8192+Math.round(i[2*m]/h)+g;i[m]=v&67108863,v<67108864?g=0:g=v/67108864|0}return i},te.prototype.convert13b=function(i,h,g,m){for(var v=0,T=0;T<h;T++)v=v+(i[T]|0),g[2*T]=v&8191,v=v>>>13,g[2*T+1]=v&8191,v=v>>>13;for(T=2*h;T<m;++T)g[T]=0;n(v===0),n((v&-8192)===0)},te.prototype.stub=function(i){for(var h=new Array(i),g=0;g<i;g++)h[g]=0;return h},te.prototype.mulp=function(i,h,g){var m=2*this.guessLen13b(i.length,h.length),v=this.makeRBT(m),T=this.stub(m),F=new Array(m),M=new Array(m),f=new Array(m),B=new Array(m),ue=new Array(m),pe=new Array(m),D=g.words;D.length=m,this.convert13b(i.words,i.length,F,m),this.convert13b(h.words,h.length,B,m),this.transform(F,T,M,f,m,v),this.transform(B,T,ue,pe,m,v);for(var me=0;me<m;me++){var Me=M[me]*ue[me]-f[me]*pe[me];f[me]=M[me]*pe[me]+f[me]*ue[me],M[me]=Me}return this.conjugate(M,f,m),this.transform(M,f,D,T,m,v),this.conjugate(D,T,m),this.normalize13b(D,m),g.negative=i.negative^h.negative,g.length=i.length+h.length,g.strip()},o.prototype.mul=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),this.mulTo(i,h)},o.prototype.mulf=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),he(this,i,h)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){n(typeof i=="number"),n(i<67108864);for(var h=0,g=0;g<this.length;g++){var m=(this.words[g]|0)*i,v=(m&67108863)+(h&67108863);h>>=26,h+=m/67108864|0,h+=v>>>26,this.words[g]=v&67108863}return h!==0&&(this.words[g]=h,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var h=Y(i);if(h.length===0)return new o(1);for(var g=this,m=0;m<h.length&&h[m]===0;m++,g=g.sqr());if(++m<h.length)for(var v=g.sqr();m<h.length;m++,v=v.sqr())h[m]!==0&&(g=g.mul(v));return g},o.prototype.iushln=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,m=67108863>>>26-h<<26-h,v;if(h!==0){var T=0;for(v=0;v<this.length;v++){var F=this.words[v]&m,M=(this.words[v]|0)-F<<h;this.words[v]=M|T,T=F>>>26-h}T&&(this.words[v]=T,this.length++)}if(g!==0){for(v=this.length-1;v>=0;v--)this.words[v+g]=this.words[v];for(v=0;v<g;v++)this.words[v]=0;this.length+=g}return this.strip()},o.prototype.ishln=function(i){return n(this.negative===0),this.iushln(i)},o.prototype.iushrn=function(i,h,g){n(typeof i=="number"&&i>=0);var m;h?m=(h-h%26)/26:m=0;var v=i%26,T=Math.min((i-v)/26,this.length),F=67108863^67108863>>>v<<v,M=g;if(m-=T,m=Math.max(0,m),M){for(var f=0;f<T;f++)M.words[f]=this.words[f];M.length=T}if(T!==0)if(this.length>T)for(this.length-=T,f=0;f<this.length;f++)this.words[f]=this.words[f+T];else this.words[0]=0,this.length=1;var B=0;for(f=this.length-1;f>=0&&(B!==0||f>=m);f--){var ue=this.words[f]|0;this.words[f]=B<<26-v|ue>>>v,B=ue&F}return M&&B!==0&&(M.words[M.length++]=B),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,h,g){return n(this.negative===0),this.iushrn(i,h,g)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,m=1<<h;if(this.length<=g)return!1;var v=this.words[g];return!!(v&m)},o.prototype.imaskn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=g)return this;if(h!==0&&g++,this.length=Math.min(g,this.length),h!==0){var m=67108863^67108863>>>h<<h;this.words[this.length-1]&=m}return this.strip()},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return n(typeof i=="number"),n(i<67108864),i<0?this.isubn(-i):this.negative!==0?this.length===1&&(this.words[0]|0)<i?(this.words[0]=i-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var h=0;h<this.length&&this.words[h]>=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},o.prototype.isubn=function(i){if(n(typeof i=="number"),n(i<67108864),i<0)return this.iaddn(-i);if(this.negative!==0)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h<this.length&&this.words[h]<0;h++)this.words[h]+=67108864,this.words[h+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,h,g){var m=i.length+g,v;this._expand(m);var T,F=0;for(v=0;v<i.length;v++){T=(this.words[v+g]|0)+F;var M=(i.words[v]|0)*h;T-=M&67108863,F=(T>>26)-(M/67108864|0),this.words[v+g]=T&67108863}for(;v<this.length-g;v++)T=(this.words[v+g]|0)+F,F=T>>26,this.words[v+g]=T&67108863;if(F===0)return this.strip();for(n(F===-1),F=0,v=0;v<this.length;v++)T=-(this.words[v]|0)+F,F=T>>26,this.words[v]=T&67108863;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,h){var g=this.length-i.length,m=this.clone(),v=i,T=v.words[v.length-1]|0,F=this._countBits(T);g=26-F,g!==0&&(v=v.ushln(g),m.iushln(g),T=v.words[v.length-1]|0);var M=m.length-v.length,f;if(h!=="mod"){f=new o(null),f.length=M+1,f.words=new Array(f.length);for(var B=0;B<f.length;B++)f.words[B]=0}var ue=m.clone()._ishlnsubmul(v,1,M);ue.negative===0&&(m=ue,f&&(f.words[M]=1));for(var pe=M-1;pe>=0;pe--){var D=(m.words[v.length+pe]|0)*67108864+(m.words[v.length+pe-1]|0);for(D=Math.min(D/T|0,67108863),m._ishlnsubmul(v,D,pe);m.negative!==0;)D--,m.negative=0,m._ishlnsubmul(v,1,pe),m.isZero()||(m.negative^=1);f&&(f.words[pe]=D)}return f&&f.strip(),m.strip(),h!=="div"&&g!==0&&m.iushrn(g),{div:f||null,mod:m}},o.prototype.divmod=function(i,h,g){if(n(!i.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var m,v,T;return this.negative!==0&&i.negative===0?(T=this.neg().divmod(i,h),h!=="mod"&&(m=T.div.neg()),h!=="div"&&(v=T.mod.neg(),g&&v.negative!==0&&v.iadd(i)),{div:m,mod:v}):this.negative===0&&i.negative!==0?(T=this.divmod(i.neg(),h),h!=="mod"&&(m=T.div.neg()),{div:m,mod:T.mod}):(this.negative&i.negative)!==0?(T=this.neg().divmod(i.neg(),h),h!=="div"&&(v=T.mod.neg(),g&&v.negative!==0&&v.isub(i)),{div:T.div,mod:v}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:i.length===1?h==="div"?{div:this.divn(i.words[0]),mod:null}:h==="mod"?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,h)},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var h=this.divmod(i);if(h.mod.isZero())return h.div;var g=h.div.negative!==0?h.mod.isub(i):h.mod,m=i.ushrn(1),v=i.andln(1),T=g.cmp(m);return T<0||v===1&&T===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},o.prototype.modn=function(i){n(i<=67108863);for(var h=(1<<26)%i,g=0,m=this.length-1;m>=0;m--)g=(h*g+(this.words[m]|0))%i;return g},o.prototype.idivn=function(i){n(i<=67108863);for(var h=0,g=this.length-1;g>=0;g--){var m=(this.words[g]|0)+h*67108864;this.words[g]=m/i|0,h=m%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var m=new o(1),v=new o(0),T=new o(0),F=new o(1),M=0;h.isEven()&&g.isEven();)h.iushrn(1),g.iushrn(1),++M;for(var f=g.clone(),B=h.clone();!h.isZero();){for(var ue=0,pe=1;(h.words[0]&pe)===0&&ue<26;++ue,pe<<=1);if(ue>0)for(h.iushrn(ue);ue-- >0;)(m.isOdd()||v.isOdd())&&(m.iadd(f),v.isub(B)),m.iushrn(1),v.iushrn(1);for(var D=0,me=1;(g.words[0]&me)===0&&D<26;++D,me<<=1);if(D>0)for(g.iushrn(D);D-- >0;)(T.isOdd()||F.isOdd())&&(T.iadd(f),F.isub(B)),T.iushrn(1),F.iushrn(1);h.cmp(g)>=0?(h.isub(g),m.isub(T),v.isub(F)):(g.isub(h),T.isub(m),F.isub(v))}return{a:T,b:F,gcd:g.iushln(M)}},o.prototype._invmp=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var m=new o(1),v=new o(0),T=g.clone();h.cmpn(1)>0&&g.cmpn(1)>0;){for(var F=0,M=1;(h.words[0]&M)===0&&F<26;++F,M<<=1);if(F>0)for(h.iushrn(F);F-- >0;)m.isOdd()&&m.iadd(T),m.iushrn(1);for(var f=0,B=1;(g.words[0]&B)===0&&f<26;++f,B<<=1);if(f>0)for(g.iushrn(f);f-- >0;)v.isOdd()&&v.iadd(T),v.iushrn(1);h.cmp(g)>=0?(h.isub(g),m.isub(v)):(g.isub(h),v.isub(m))}var ue;return h.cmpn(1)===0?ue=m:ue=v,ue.cmpn(0)<0&&ue.iadd(i),ue},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var h=this.clone(),g=i.clone();h.negative=0,g.negative=0;for(var m=0;h.isEven()&&g.isEven();m++)h.iushrn(1),g.iushrn(1);do{for(;h.isEven();)h.iushrn(1);for(;g.isEven();)g.iushrn(1);var v=h.cmp(g);if(v<0){var T=h;h=g,g=T}else if(v===0||g.cmpn(1)===0)break;h.isub(g)}while(!0);return g.iushln(m)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){n(typeof i=="number");var h=i%26,g=(i-h)/26,m=1<<h;if(this.length<=g)return this._expand(g+1),this.words[g]|=m,this;for(var v=m,T=g;v!==0&&T<this.length;T++){var F=this.words[T]|0;F+=v,v=F>>>26,F&=67108863,this.words[T]=F}return v!==0&&(this.words[T]=v,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(i){var h=i<0;if(this.negative!==0&&!h)return-1;if(this.negative===0&&h)return 1;this.strip();var g;if(this.length>1)g=1;else{h&&(i=-i),n(i<=67108863,"Number is too big");var m=this.words[0]|0;g=m===i?0:m<i?-1:1}return this.negative!==0?-g|0:g},o.prototype.cmp=function(i){if(this.negative!==0&&i.negative===0)return-1;if(this.negative===0&&i.negative!==0)return 1;var h=this.ucmp(i);return this.negative!==0?-h|0:h},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var h=0,g=this.length-1;g>=0;g--){var m=this.words[g]|0,v=i.words[g]|0;if(m!==v){m<v?h=-1:m>v&&(h=1);break}}return h},o.prototype.gtn=function(i){return this.cmpn(i)===1},o.prototype.gt=function(i){return this.cmp(i)===1},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return this.cmpn(i)===-1},o.prototype.lt=function(i){return this.cmp(i)===-1},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return this.cmpn(i)===0},o.prototype.eq=function(i){return this.cmp(i)===0},o.red=function(i){return new de(i)},o.prototype.toRed=function(i){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return n(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return n(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var se={k256:null,p224:null,p192:null,p25519:null};function ce(A,i){this.name=A,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}ce.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ce.prototype.ireduce=function(i){var h=i,g;do this.split(h,this.tmp),h=this.imulK(h),h=h.iadd(this.tmp),g=h.bitLength();while(g>this.n);var m=g<this.n?-1:h.ucmp(this.p);return m===0?(h.words[0]=0,h.length=1):m>0?h.isub(this.p):h.strip!==void 0?h.strip():h._strip(),h},ce.prototype.split=function(i,h){i.iushrn(this.n,0,h)},ce.prototype.imulK=function(i){return i.imul(this.k)};function fe(){ce.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(fe,ce),fe.prototype.split=function(i,h){for(var g=4194303,m=Math.min(i.length,9),v=0;v<m;v++)h.words[v]=i.words[v];if(h.length=m,i.length<=9){i.words[0]=0,i.length=1;return}var T=i.words[9];for(h.words[h.length++]=T&g,v=10;v<i.length;v++){var F=i.words[v]|0;i.words[v-10]=(F&g)<<4|T>>>22,T=F}T>>>=22,i.words[v-10]=T,T===0&&i.length>10?i.length-=10:i.length-=9},fe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var h=0,g=0;g<i.length;g++){var m=i.words[g]|0;h+=m*977,i.words[g]=h&67108863,h=m*64+(h/67108864|0)}return i.words[i.length-1]===0&&(i.length--,i.words[i.length-1]===0&&i.length--),i};function X(){ce.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(X,ce);function H(){ce.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(H,ce);function ae(){ce.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(ae,ce),ae.prototype.imulK=function(i){for(var h=0,g=0;g<i.length;g++){var m=(i.words[g]|0)*19+h,v=m&67108863;m>>>=26,i.words[g]=v,h=m}return h!==0&&(i.words[i.length++]=h),i},o._prime=function(i){if(se[i])return se[i];var h;if(i==="k256")h=new fe;else if(i==="p224")h=new X;else if(i==="p192")h=new H;else if(i==="p25519")h=new ae;else throw new Error("Unknown prime "+i);return se[i]=h,h};function de(A){if(typeof A=="string"){var i=o._prime(A);this.m=i.p,this.prime=i}else n(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}de.prototype._verify1=function(i){n(i.negative===0,"red works only with positives"),n(i.red,"red works only with red numbers")},de.prototype._verify2=function(i,h){n((i.negative|h.negative)===0,"red works only with positives"),n(i.red&&i.red===h.red,"red works only with red numbers")},de.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},de.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},de.prototype.add=function(i,h){this._verify2(i,h);var g=i.add(h);return g.cmp(this.m)>=0&&g.isub(this.m),g._forceRed(this)},de.prototype.iadd=function(i,h){this._verify2(i,h);var g=i.iadd(h);return g.cmp(this.m)>=0&&g.isub(this.m),g},de.prototype.sub=function(i,h){this._verify2(i,h);var g=i.sub(h);return g.cmpn(0)<0&&g.iadd(this.m),g._forceRed(this)},de.prototype.isub=function(i,h){this._verify2(i,h);var g=i.isub(h);return g.cmpn(0)<0&&g.iadd(this.m),g},de.prototype.shl=function(i,h){return this._verify1(i),this.imod(i.ushln(h))},de.prototype.imul=function(i,h){return this._verify2(i,h),this.imod(i.imul(h))},de.prototype.mul=function(i,h){return this._verify2(i,h),this.imod(i.mul(h))},de.prototype.isqr=function(i){return this.imul(i,i.clone())},de.prototype.sqr=function(i){return this.mul(i,i)},de.prototype.sqrt=function(i){if(i.isZero())return i.clone();var h=this.m.andln(3);if(n(h%2===1),h===3){var g=this.m.add(new o(1)).iushrn(2);return this.pow(i,g)}for(var m=this.m.subn(1),v=0;!m.isZero()&&m.andln(1)===0;)v++,m.iushrn(1);n(!m.isZero());var T=new o(1).toRed(this),F=T.redNeg(),M=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);this.pow(f,M).cmp(F)!==0;)f.redIAdd(F);for(var B=this.pow(f,m),ue=this.pow(i,m.addn(1).iushrn(1)),pe=this.pow(i,m),D=v;pe.cmp(T)!==0;){for(var me=pe,Me=0;me.cmp(T)!==0;Me++)me=me.redSqr();n(Me<D);var Oe=this.pow(B,new o(1).iushln(D-Me-1));ue=ue.redMul(Oe),B=Oe.redSqr(),pe=pe.redMul(B),D=Me}return ue},de.prototype.invm=function(i){var h=i._invmp(this.m);return h.negative!==0?(h.negative=0,this.imod(h).redNeg()):this.imod(h)},de.prototype.pow=function(i,h){if(h.isZero())return new o(1).toRed(this);if(h.cmpn(1)===0)return i.clone();var g=4,m=new Array(1<<g);m[0]=new o(1).toRed(this),m[1]=i;for(var v=2;v<m.length;v++)m[v]=this.mul(m[v-1],i);var T=m[0],F=0,M=0,f=h.bitLength()%26;for(f===0&&(f=26),v=h.length-1;v>=0;v--){for(var B=h.words[v],ue=f-1;ue>=0;ue--){var pe=B>>ue&1;if(T!==m[0]&&(T=this.sqr(T)),pe===0&&F===0){M=0;continue}F<<=1,F|=pe,M++,!(M!==g&&(v!==0||ue!==0))&&(T=this.mul(T,m[F]),M=0,F=0)}f=26}return T},de.prototype.convertTo=function(i){var h=i.umod(this.m);return h===i?h.clone():h},de.prototype.convertFrom=function(i){var h=i.clone();return h.red=null,h},o.mont=function(i){return new ne(i)};function ne(A){de.call(this,A),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(ne,de),ne.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ne.prototype.convertFrom=function(i){var h=this.imod(i.mul(this.rinv));return h.red=null,h},ne.prototype.imul=function(i,h){if(i.isZero()||h.isZero())return i.words[0]=0,i.length=1,i;var g=i.imul(h),m=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=g.isub(m).iushrn(this.shift),T=v;return v.cmp(this.m)>=0?T=v.isub(this.m):v.cmpn(0)<0&&(T=v.iadd(this.m)),T._forceRed(this)},ne.prototype.mul=function(i,h){if(i.isZero()||h.isZero())return new o(0)._forceRed(this);var g=i.mul(h),m=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=g.isub(m).iushrn(this.shift),T=v;return v.cmp(this.m)>=0?T=v.isub(this.m):v.cmpn(0)<0&&(T=v.iadd(this.m)),T._forceRed(this)},ne.prototype.invm=function(i){var h=this.imod(i._invmp(this.m).mul(this.r2));return h._forceRed(this)}})(e,Y1)}(Ar)),Ar.exports}function X1(e,t){return jr(e,t)}const aw=Object.freeze(Object.defineProperty({__proto__:null,default:X1},Symbol.toStringTag,{value:"Module"}));function Q1(e,t){return Ms(e,t,function(r,n){return bs(e,n)})}var eg=Ps(function(e,t){return e==null?{}:Q1(e,t)});const uw=Object.freeze(Object.defineProperty({__proto__:null,default:eg},Symbol.toStringTag,{value:"Module"}));var xr={exports:{}},On,Fo;function tg(){if(Fo)return On;Fo=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,o=n*365.25;On=function(p,$){$=$||{};var j=typeof p;if(j==="string"&&p.length>0)return d(p);if(j==="number"&&isFinite(p))return $.long?S(p):x(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function d(p){if(p=String(p),!(p.length>100)){var $=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if($){var j=parseFloat($[1]),Y=($[2]||"ms").toLowerCase();switch(Y){case"years":case"year":case"yrs":case"yr":case"y":return j*o;case"weeks":case"week":case"w":return j*a;case"days":case"day":case"d":return j*n;case"hours":case"hour":case"hrs":case"hr":case"h":return j*r;case"minutes":case"minute":case"mins":case"min":case"m":return j*t;case"seconds":case"second":case"secs":case"sec":case"s":return j*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return j;default:return}}}}function x(p){var $=Math.abs(p);return $>=n?Math.round(p/n)+"d":$>=r?Math.round(p/r)+"h":$>=t?Math.round(p/t)+"m":$>=e?Math.round(p/e)+"s":p+"ms"}function S(p){var $=Math.abs(p);return $>=n?E(p,$,n,"day"):$>=r?E(p,$,r,"hour"):$>=t?E(p,$,t,"minute"):$>=e?E(p,$,e,"second"):p+" ms"}function E(p,$,j,Y){var z=$>=j*1.5;return Math.round(p/j)+" "+Y+(z?"s":"")}return On}var Tn,Ro;function rg(){if(Ro)return Tn;Ro=1;function e(t){n.debug=n,n.default=n,n.coerce=E,n.disable=x,n.enable=o,n.enabled=S,n.humanize=tg(),n.destroy=p,Object.keys(t).forEach($=>{n[$]=t[$]}),n.names=[],n.skips=[],n.formatters={};function r($){let j=0;for(let Y=0;Y<$.length;Y++)j=(j<<5)-j+$.charCodeAt(Y),j|=0;return n.colors[Math.abs(j)%n.colors.length]}n.selectColor=r;function n($){let j,Y=null,z,oe;function J(...he){if(!J.enabled)return;const te=J,se=Number(new Date),ce=se-(j||se);te.diff=ce,te.prev=j,te.curr=se,j=se,he[0]=n.coerce(he[0]),typeof he[0]!="string"&&he.unshift("%O");let fe=0;he[0]=he[0].replace(/%([a-zA-Z%])/g,(H,ae)=>{if(H==="%%")return"%";fe++;const de=n.formatters[ae];if(typeof de=="function"){const ne=he[fe];H=de.call(te,ne),he.splice(fe,1),fe--}return H}),n.formatArgs.call(te,he),(te.log||n.log).apply(te,he)}return J.namespace=$,J.useColors=n.useColors(),J.color=n.selectColor($),J.extend=a,J.destroy=n.destroy,Object.defineProperty(J,"enabled",{enumerable:!0,configurable:!1,get:()=>Y!==null?Y:(z!==n.namespaces&&(z=n.namespaces,oe=n.enabled($)),oe),set:he=>{Y=he}}),typeof n.init=="function"&&n.init(J),J}function a($,j){const Y=n(this.namespace+(typeof j>"u"?":":j)+$);return Y.log=this.log,Y}function o($){n.save($),n.namespaces=$,n.names=[],n.skips=[];const j=(typeof $=="string"?$:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const Y of j)Y[0]==="-"?n.skips.push(Y.slice(1)):n.names.push(Y)}function d($,j){let Y=0,z=0,oe=-1,J=0;for(;Y<$.length;)if(z<j.length&&(j[z]===$[Y]||j[z]==="*"))j[z]==="*"?(oe=z,J=Y,z++):(Y++,z++);else if(oe!==-1)z=oe+1,J++,Y=J;else return!1;for(;z<j.length&&j[z]==="*";)z++;return z===j.length}function x(){const $=[...n.names,...n.skips.map(j=>"-"+j)].join(",");return n.enable(""),$}function S($){for(const j of n.skips)if(d($,j))return!1;for(const j of n.names)if(d($,j))return!0;return!1}function E($){return $ instanceof Error?$.stack||$.message:$}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Tn=e,Tn}var Io;function fw(){return Io||(Io=1,function(e,t){var r={};t.formatArgs=a,t.save=o,t.load=d,t.useColors=n,t.storage=x(),t.destroy=(()=>{let E=!1;return()=>{E||(E=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let E;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(E=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(E[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function a(E){if(E[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+E[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;E.splice(1,0,p,"color: inherit");let $=0,j=0;E[0].replace(/%[a-zA-Z%]/g,Y=>{Y!=="%%"&&($++,Y==="%c"&&(j=$))}),E.splice(j,0,p)}t.log=console.debug||console.log||(()=>{});function o(E){try{E?t.storage.setItem("debug",E):t.storage.removeItem("debug")}catch{}}function d(){let E;try{E=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!E&&typeof Or<"u"&&"env"in Or&&(E=r.DEBUG),E}function x(){try{return localStorage}catch{}}e.exports=rg()(t);const{formatters:S}=e.exports;S.j=function(E){try{return JSON.stringify(E)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}}(xr,xr.exports)),xr.exports}function Ca(e,t){for(var r=e.length;r--&&Hr(t,e[r],0)>-1;);return r}function lw(e,t,r){if(e=tt(e),e&&t===void 0)return e.slice(0,ss(e)+1);if(!e||!(t=or(t)))return e;var n=Dt(e),a=Ca(n,Dt(t))+1;return Rr(n,0,a).join("")}var ng=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Mt<"u"?Mt:typeof self<"u"?self:{};function ig(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
17
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
18
+ *
19
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
20
+ * of this software and associated documentation files (the "Software"), to deal
21
+ * in the Software without restriction, including without limitation the rights
22
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23
+ * copies of the Software, and to permit persons to whom the Software is
24
+ * furnished to do so, subject to the following conditions:
25
+ *
26
+ * The above copyright notice and this permission notice shall be included in
27
+ * all copies or substantial portions of the Software.
28
+ *
29
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
+ * SOFTWARE.
36
+ */var Cn,No;function og(){return No||(No=1,Cn={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),Cn}/*!
37
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
38
+ *
39
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
40
+ * of this software and associated documentation files (the "Software"), to deal
41
+ * in the Software without restriction, including without limitation the rights
42
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43
+ * copies of the Software, and to permit persons to whom the Software is
44
+ * furnished to do so, subject to the following conditions:
45
+ *
46
+ * The above copyright notice and this permission notice shall be included in
47
+ * all copies or substantial portions of the Software.
48
+ *
49
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55
+ * SOFTWARE.
56
+ */var $n,Uo;function $a(){if(Uo)return $n;Uo=1;const e=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function t(S){return S.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function r(S,E,p,$,j,Y,z){if(!isNaN(+S))return+S;let oe="",J=S.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(J!==S)return-1*r(J,E,p,$,j,Y);for(let X=0;X<e.length;X++){let H=e[X];if(oe=S.replace(RegExp(`([0-9 ])(${H.key})$`),"$1"),oe!==S)return r(oe,E,p,$,j,Y)*H.factor}if(oe=S.replace("%",""),oe!==S)return r(oe,E,p,$,j,Y)/100;let he=parseFloat(S);if(isNaN(he))return;let te=$(he);if(te&&te!=="."&&(oe=S.replace(new RegExp(`${t(te)}$`),""),oe!==S))return r(oe,E,p,$,j,Y);let se={};Object.keys(Y).forEach(X=>{se[Y[X]]=X});let ce=Object.keys(se).sort().reverse(),fe=ce.length;for(let X=0;X<fe;X++){let H=ce[X],ae=se[H];if(oe=S.replace(H,""),oe!==S){let de;switch(ae){case"thousand":de=Math.pow(10,3);break;case"million":de=Math.pow(10,6);break;case"billion":de=Math.pow(10,9);break;case"trillion":de=Math.pow(10,12);break}return r(oe,E,p,$,j,Y)*de}}}function n(S,E,p){let $=S.replace(p,"");return $=$.replace(new RegExp(`([0-9])${t(E.thousands)}([0-9])`,"g"),"$1$2"),$=$.replace(E.decimal,"."),$}function a(S,E,p="",$,j,Y,z){if(S==="")return;if(S===j)return 0;let oe=n(S,E,p);return r(oe,E,p,$,j,Y)}function o(S,E){if(!(S.indexOf(":")&&E.thousands!==":"))return!1;let $=S.split(":");if($.length!==3)return!1;let j=+$[0],Y=+$[1],z=+$[2];return!isNaN(j)&&!isNaN(Y)&&!isNaN(z)}function d(S){let E=S.split(":"),p=+E[0],$=+E[1];return+E[2]+60*$+3600*p}function x(S,E){const p=Si();let $=p.currentDelimiters(),j=p.currentCurrency().symbol,Y=p.currentOrdinal(),z=p.getZeroFormat(),oe=p.currentAbbreviations(),J;if(typeof S=="string")o(S,$)?J=d(S):J=a(S,$,j,Y,z,oe);else if(typeof S=="number")J=S;else return;if(J!==void 0)return J}return $n={unformat:x},$n}/*!
57
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
58
+ *
59
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
60
+ * of this software and associated documentation files (the "Software"), to deal
61
+ * in the Software without restriction, including without limitation the rights
62
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
63
+ * copies of the Software, and to permit persons to whom the Software is
64
+ * furnished to do so, subject to the following conditions:
65
+ *
66
+ * The above copyright notice and this permission notice shall be included in
67
+ * all copies or substantial portions of the Software.
68
+ *
69
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
70
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
71
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
72
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
74
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
75
+ * SOFTWARE.
76
+ */var Fn,Po;function Mi(){if(Po)return Fn;Po=1;let e=$a();const t=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r=["currency","percent","byte","time","ordinal","number"],n=["trillion","billion","million","thousand"],a=["prefix","infix","postfix"],o=["sign","parenthesis"],d={type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},E={output:{type:"string",validValues:r},base:{type:"string",validValues:["decimal","binary","general"],restriction:(J,he)=>he.output==="byte",message:"`base` must be provided only when the output is `byte`",mandatory:J=>J.output==="byte"},characteristic:{type:"number",restriction:J=>J>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:n},average:"boolean",lowPrecision:{type:"boolean",restriction:(J,he)=>he.average===!0,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:a},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:J=>J>=0,message:"value must be positive"},{restriction:(J,he)=>!he.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:J=>J>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:o},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(J,he)=>he.output==="percent",message:"`prefixSymbol` can be provided only when the output is `percent`"}},p={languageTag:{type:"string",mandatory:!0,restriction:J=>J.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:d,spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function $(J,he){let te=j(J),se=z(he);return te&&se}function j(J){return e.unformat(J)!==void 0}function Y(J,he,te,se=!1){let ce=Object.keys(J).map(fe=>{if(!he[fe])return console.error(`${te} Invalid key: ${fe}`),!1;let X=J[fe],H=he[fe];if(typeof H=="string"&&(H={type:H}),H.type==="format"){if(!Y(X,E,`[Validate ${fe}]`,!0))return!1}else if(typeof X!==H.type)return console.error(`${te} ${fe} type mismatched: "${H.type}" expected, "${typeof X}" provided`),!1;if(H.restrictions&&H.restrictions.length){let ae=H.restrictions.length;for(let de=0;de<ae;de++){let{restriction:ne,message:A}=H.restrictions[de];if(!ne(X,J))return console.error(`${te} ${fe} invalid value: ${A}`),!1}}return H.restriction&&!H.restriction(X,J)?(console.error(`${te} ${fe} invalid value: ${H.message}`),!1):H.validValues&&H.validValues.indexOf(X)===-1?(console.error(`${te} ${fe} invalid value: must be among ${JSON.stringify(H.validValues)}, "${X}" provided`),!1):!(H.children&&!Y(X,H.children,`[Validate ${fe}]`))});return se||ce.push(...Object.keys(he).map(fe=>{let X=he[fe];if(typeof X=="string"&&(X={type:X}),X.mandatory){let H=X.mandatory;if(typeof H=="function"&&(H=H(J)),H&&J[fe]===void 0)return console.error(`${te} Missing mandatory key "${fe}"`),!1}return!0})),ce.reduce((fe,X)=>fe&&X,!0)}function z(J){return Y(J,E,"[Validate format]")}function oe(J){return Y(J,p,"[Validate language]")}return Fn={validate:$,validateFormat:z,validateInput:j,validateLanguage:oe},Fn}/*!
77
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
78
+ *
79
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
80
+ * of this software and associated documentation files (the "Software"), to deal
81
+ * in the Software without restriction, including without limitation the rights
82
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
83
+ * copies of the Software, and to permit persons to whom the Software is
84
+ * furnished to do so, subject to the following conditions:
85
+ *
86
+ * The above copyright notice and this permission notice shall be included in
87
+ * all copies or substantial portions of the Software.
88
+ *
89
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
90
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
91
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
92
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
93
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
94
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
95
+ * SOFTWARE.
96
+ */function sg(e,t){let r=e.match(/^{([^}]*)}/);return r?(t.prefix=r[1],e.slice(r[0].length)):e}function ag(e,t){let r=e.match(/{([^}]*)}$/);return r?(t.postfix=r[1],e.slice(0,-r[0].length)):e}function ug(e,t){if(e.indexOf("$")!==-1){t.output="currency";return}if(e.indexOf("%")!==-1){t.output="percent";return}if(e.indexOf("bd")!==-1){t.output="byte",t.base="general";return}if(e.indexOf("b")!==-1){t.output="byte",t.base="binary";return}if(e.indexOf("d")!==-1){t.output="byte",t.base="decimal";return}if(e.indexOf(":")!==-1){t.output="time";return}e.indexOf("o")!==-1&&(t.output="ordinal")}function fg(e,t){e.indexOf(",")!==-1&&(t.thousandSeparated=!0)}function lg(e,t){e.indexOf(" ")!==-1&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0))}function cg(e,t){let r=e.match(/[1-9]+[0-9]*/);r&&(t.totalLength=+r[0])}function hg(e,t){let n=e.split(".")[0].match(/0+/);n&&(t.characteristic=n[0].length)}function dg(e,t){let r=e.split(".")[1];if(r){let n=r.match(/0+/);n&&(t.mantissa=n[0].length)}}function pg(e,t){const r=e.split(".")[1];r&&(t.trimMantissa=r.indexOf("[")!==-1)}function gg(e,t){e.indexOf("a")!==-1&&(t.average=!0)}function mg(e,t){e.indexOf("K")!==-1?t.forceAverage="thousand":e.indexOf("M")!==-1?t.forceAverage="million":e.indexOf("B")!==-1?t.forceAverage="billion":e.indexOf("T")!==-1&&(t.forceAverage="trillion")}function yg(e,t){e.match(/\[\.]/)?t.optionalMantissa=!0:e.match(/\./)&&(t.optionalMantissa=!1)}function wg(e,t){if(e.indexOf(".")!==-1){let r=e.split(".")[0];t.optionalCharacteristic=r.indexOf("0")===-1}}function vg(e,t){e.match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),e.match(/^\+?-/)&&(t.negative="sign")}function xg(e,t){e.match(/^\+/)&&(t.forceSign=!0)}function bg(e,t={}){return typeof e!="string"?e:(e=sg(e,t),e=ag(e,t),ug(e,t),cg(e,t),hg(e,t),wg(e,t),gg(e,t),mg(e,t),dg(e,t),yg(e,t),pg(e,t),fg(e,t),lg(e,t),vg(e,t),xg(e,t),t)}var _i={parseFormat:bg};/*!
97
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
98
+ *
99
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
100
+ * of this software and associated documentation files (the "Software"), to deal
101
+ * in the Software without restriction, including without limitation the rights
102
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103
+ * copies of the Software, and to permit persons to whom the Software is
104
+ * furnished to do so, subject to the following conditions:
105
+ *
106
+ * The above copyright notice and this permission notice shall be included in
107
+ * all copies or substantial portions of the Software.
108
+ *
109
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
115
+ * SOFTWARE.
116
+ */var Rn,Lo;function Si(){if(Lo)return Rn;Lo=1;const e=og(),t=Mi(),r=_i;let n={},a,o={},d=null,x={};function S(p){a=p}function E(){return o[a]}return n.languages=()=>Object.assign({},o),n.currentLanguage=()=>a,n.currentBytes=()=>E().bytes||{},n.currentCurrency=()=>E().currency,n.currentAbbreviations=()=>E().abbreviations,n.currentDelimiters=()=>E().delimiters,n.currentOrdinal=()=>E().ordinal,n.currentDefaults=()=>Object.assign({},E().defaults,x),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().timeFormat),n.setDefaults=p=>{p=r.parseFormat(p),t.validateFormat(p)&&(x=p)},n.getZeroFormat=()=>d,n.setZeroFormat=p=>d=typeof p=="string"?p:null,n.hasZeroFormat=()=>d!==null,n.languageData=p=>{if(p){if(o[p])return o[p];throw new Error(`Unknown tag "${p}"`)}return E()},n.registerLanguage=(p,$=!1)=>{if(!t.validateLanguage(p))throw new Error("Invalid language data");o[p.languageTag]=p,$&&S(p.languageTag)},n.setLanguage=(p,$=e.languageTag)=>{if(!o[p]){let j=p.split("-")[0],Y=Object.keys(o).find(z=>z.split("-")[0]===j);if(!o[Y]){S($);return}S(Y);return}S(p)},n.registerLanguage(e),a=e.languageTag,Rn=n,Rn}function Eg(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}/*!
117
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
118
+ *
119
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
120
+ * of this software and associated documentation files (the "Software"), to deal
121
+ * in the Software without restriction, including without limitation the rights
122
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
123
+ * copies of the Software, and to permit persons to whom the Software is
124
+ * furnished to do so, subject to the following conditions:
125
+ *
126
+ * The above copyright notice and this permission notice shall be included in
127
+ * all copies or substantial portions of the Software.
128
+ *
129
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
130
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
131
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
132
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
133
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
134
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
135
+ * SOFTWARE.
136
+ */function Mg(e,t){e.forEach(r=>{let n;try{n=Eg(`../languages/${r}`)}catch{console.error(`Unable to load "${r}". No matching language file found.`)}n&&t.registerLanguage(n)})}var _g=e=>({loadLanguagesInNode:t=>Mg(t,e)}),Fa={exports:{}};(function(e){(function(t){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,a=Math.ceil,o=Math.floor,d="[BigNumber Error] ",x=d+"Number primitive has more than 15 significant digits: ",S=1e14,E=14,p=9007199254740991,$=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],j=1e7,Y=1e9;function z(X){var H,ae,de,ne=D.prototype={constructor:D,toString:null,valueOf:null},A=new D(1),i=20,h=4,g=-7,m=21,v=-1e7,T=1e7,F=!1,M=1,f=0,B={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},ue="0123456789abcdefghijklmnopqrstuvwxyz",pe=!0;function D(b,C){var R,q,k,L,W,U,P,G,V=this;if(!(V instanceof D))return new D(b,C);if(C==null){if(b&&b._isBigNumber===!0){V.s=b.s,!b.c||b.e>T?V.c=V.e=null:b.e<v?V.c=[V.e=0]:(V.e=b.e,V.c=b.c.slice());return}if((U=typeof b=="number")&&b*0==0){if(V.s=1/b<0?(b=-b,-1):1,b===~~b){for(L=0,W=b;W>=10;W/=10,L++);L>T?V.c=V.e=null:(V.e=L,V.c=[b]);return}G=String(b)}else{if(!n.test(G=String(b)))return de(V,G,U);V.s=G.charCodeAt(0)==45?(G=G.slice(1),-1):1}(L=G.indexOf("."))>-1&&(G=G.replace(".","")),(W=G.search(/e/i))>0?(L<0&&(L=W),L+=+G.slice(W+1),G=G.substring(0,W)):L<0&&(L=G.length)}else{if(te(C,2,ue.length,"Base"),C==10&&pe)return V=new D(b),$e(V,i+V.e+1,h);if(G=String(b),U=typeof b=="number"){if(b*0!=0)return de(V,G,U,C);if(V.s=1/b<0?(G=G.slice(1),-1):1,D.DEBUG&&G.replace(/^0\.0*|\./,"").length>15)throw Error(x+b)}else V.s=G.charCodeAt(0)===45?(G=G.slice(1),-1):1;for(R=ue.slice(0,C),L=W=0,P=G.length;W<P;W++)if(R.indexOf(q=G.charAt(W))<0){if(q=="."){if(W>L){L=P;continue}}else if(!k&&(G==G.toUpperCase()&&(G=G.toLowerCase())||G==G.toLowerCase()&&(G=G.toUpperCase()))){k=!0,W=-1,L=0;continue}return de(V,String(b),U,C)}U=!1,G=ae(G,C,10,V.s),(L=G.indexOf("."))>-1?G=G.replace(".",""):L=G.length}for(W=0;G.charCodeAt(W)===48;W++);for(P=G.length;G.charCodeAt(--P)===48;);if(G=G.slice(W,++P)){if(P-=W,U&&D.DEBUG&&P>15&&(b>p||b!==o(b)))throw Error(x+V.s*b);if((L=L-W-1)>T)V.c=V.e=null;else if(L<v)V.c=[V.e=0];else{if(V.e=L,V.c=[],W=(L+1)%E,L<0&&(W+=E),W<P){for(W&&V.c.push(+G.slice(0,W)),P-=E;W<P;)V.c.push(+G.slice(W,W+=E));W=E-(G=G.slice(W)).length}else W-=P;for(;W--;G+="0");V.c.push(+G)}}else V.c=[V.e=0]}D.clone=z,D.ROUND_UP=0,D.ROUND_DOWN=1,D.ROUND_CEIL=2,D.ROUND_FLOOR=3,D.ROUND_HALF_UP=4,D.ROUND_HALF_DOWN=5,D.ROUND_HALF_EVEN=6,D.ROUND_HALF_CEIL=7,D.ROUND_HALF_FLOOR=8,D.EUCLID=9,D.config=D.set=function(b){var C,R;if(b!=null)if(typeof b=="object"){if(b.hasOwnProperty(C="DECIMAL_PLACES")&&(R=b[C],te(R,0,Y,C),i=R),b.hasOwnProperty(C="ROUNDING_MODE")&&(R=b[C],te(R,0,8,C),h=R),b.hasOwnProperty(C="EXPONENTIAL_AT")&&(R=b[C],R&&R.pop?(te(R[0],-Y,0,C),te(R[1],0,Y,C),g=R[0],m=R[1]):(te(R,-Y,Y,C),g=-(m=R<0?-R:R))),b.hasOwnProperty(C="RANGE"))if(R=b[C],R&&R.pop)te(R[0],-Y,-1,C),te(R[1],1,Y,C),v=R[0],T=R[1];else if(te(R,-Y,Y,C),R)v=-(T=R<0?-R:R);else throw Error(d+C+" cannot be zero: "+R);if(b.hasOwnProperty(C="CRYPTO"))if(R=b[C],R===!!R)if(R)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))F=R;else throw F=!R,Error(d+"crypto unavailable");else F=R;else throw Error(d+C+" not true or false: "+R);if(b.hasOwnProperty(C="MODULO_MODE")&&(R=b[C],te(R,0,9,C),M=R),b.hasOwnProperty(C="POW_PRECISION")&&(R=b[C],te(R,0,Y,C),f=R),b.hasOwnProperty(C="FORMAT"))if(R=b[C],typeof R=="object")B=R;else throw Error(d+C+" not an object: "+R);if(b.hasOwnProperty(C="ALPHABET"))if(R=b[C],typeof R=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(R))pe=R.slice(0,10)=="0123456789",ue=R;else throw Error(d+C+" invalid: "+R)}else throw Error(d+"Object expected: "+b);return{DECIMAL_PLACES:i,ROUNDING_MODE:h,EXPONENTIAL_AT:[g,m],RANGE:[v,T],CRYPTO:F,MODULO_MODE:M,POW_PRECISION:f,FORMAT:B,ALPHABET:ue}},D.isBigNumber=function(b){if(!b||b._isBigNumber!==!0)return!1;if(!D.DEBUG)return!0;var C,R,q=b.c,k=b.e,L=b.s;e:if({}.toString.call(q)=="[object Array]"){if((L===1||L===-1)&&k>=-Y&&k<=Y&&k===o(k)){if(q[0]===0){if(k===0&&q.length===1)return!0;break e}if(C=(k+1)%E,C<1&&(C+=E),String(q[0]).length==C){for(C=0;C<q.length;C++)if(R=q[C],R<0||R>=S||R!==o(R))break e;if(R!==0)return!0}}}else if(q===null&&k===null&&(L===null||L===1||L===-1))return!0;throw Error(d+"Invalid BigNumber: "+b)},D.maximum=D.max=function(){return Me(arguments,-1)},D.minimum=D.min=function(){return Me(arguments,1)},D.random=function(){var b=9007199254740992,C=Math.random()*b&2097151?function(){return o(Math.random()*b)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(R){var q,k,L,W,U,P=0,G=[],V=new D(A);if(R==null?R=i:te(R,0,Y),W=a(R/E),F)if(crypto.getRandomValues){for(q=crypto.getRandomValues(new Uint32Array(W*=2));P<W;)U=q[P]*131072+(q[P+1]>>>11),U>=9e15?(k=crypto.getRandomValues(new Uint32Array(2)),q[P]=k[0],q[P+1]=k[1]):(G.push(U%1e14),P+=2);P=W/2}else if(crypto.randomBytes){for(q=crypto.randomBytes(W*=7);P<W;)U=(q[P]&31)*281474976710656+q[P+1]*1099511627776+q[P+2]*4294967296+q[P+3]*16777216+(q[P+4]<<16)+(q[P+5]<<8)+q[P+6],U>=9e15?crypto.randomBytes(7).copy(q,P):(G.push(U%1e14),P+=7);P=W/7}else throw F=!1,Error(d+"crypto unavailable");if(!F)for(;P<W;)U=C(),U<9e15&&(G[P++]=U%1e14);for(W=G[--P],R%=E,W&&R&&(U=$[E-R],G[P]=o(W/U)*U);G[P]===0;G.pop(),P--);if(P<0)G=[L=0];else{for(L=-1;G[0]===0;G.splice(0,1),L-=E);for(P=1,U=G[0];U>=10;U/=10,P++);P<E&&(L-=E-P)}return V.e=L,V.c=G,V}}(),D.sum=function(){for(var b=1,C=arguments,R=new D(C[0]);b<C.length;)R=R.plus(C[b++]);return R},ae=function(){var b="0123456789";function C(R,q,k,L){for(var W,U=[0],P,G=0,V=R.length;G<V;){for(P=U.length;P--;U[P]*=q);for(U[0]+=L.indexOf(R.charAt(G++)),W=0;W<U.length;W++)U[W]>k-1&&(U[W+1]==null&&(U[W+1]=0),U[W+1]+=U[W]/k|0,U[W]%=k)}return U.reverse()}return function(R,q,k,L,W){var U,P,G,V,ie,le,ye,we,Ee=R.indexOf("."),Ne=i,xe=h;for(Ee>=0&&(V=f,f=0,R=R.replace(".",""),we=new D(q),le=we.pow(R.length-Ee),f=V,we.c=C(fe(J(le.c),le.e,"0"),10,k,b),we.e=we.c.length),ye=C(R,q,k,W?(U=ue,b):(U=b,ue)),G=V=ye.length;ye[--V]==0;ye.pop());if(!ye[0])return U.charAt(0);if(Ee<0?--G:(le.c=ye,le.e=G,le.s=L,le=H(le,we,Ne,xe,k),ye=le.c,ie=le.r,G=le.e),P=G+Ne+1,Ee=ye[P],V=k/2,ie=ie||P<0||ye[P+1]!=null,ie=xe<4?(Ee!=null||ie)&&(xe==0||xe==(le.s<0?3:2)):Ee>V||Ee==V&&(xe==4||ie||xe==6&&ye[P-1]&1||xe==(le.s<0?8:7)),P<1||!ye[0])R=ie?fe(U.charAt(1),-Ne,U.charAt(0)):U.charAt(0);else{if(ye.length=P,ie)for(--k;++ye[--P]>k;)ye[P]=0,P||(++G,ye=[1].concat(ye));for(V=ye.length;!ye[--V];);for(Ee=0,R="";Ee<=V;R+=U.charAt(ye[Ee++]));R=fe(R,G,U.charAt(0))}return R}}(),H=function(){function b(q,k,L){var W,U,P,G,V=0,ie=q.length,le=k%j,ye=k/j|0;for(q=q.slice();ie--;)P=q[ie]%j,G=q[ie]/j|0,W=ye*P+G*le,U=le*P+W%j*j+V,V=(U/L|0)+(W/j|0)+ye*G,q[ie]=U%L;return V&&(q=[V].concat(q)),q}function C(q,k,L,W){var U,P;if(L!=W)P=L>W?1:-1;else for(U=P=0;U<L;U++)if(q[U]!=k[U]){P=q[U]>k[U]?1:-1;break}return P}function R(q,k,L,W){for(var U=0;L--;)q[L]-=U,U=q[L]<k[L]?1:0,q[L]=U*W+q[L]-k[L];for(;!q[0]&&q.length>1;q.splice(0,1));}return function(q,k,L,W,U){var P,G,V,ie,le,ye,we,Ee,Ne,xe,ve,Le,y,s,l,_,I,Z=q.s==k.s?1:-1,K=q.c,ge=k.c;if(!K||!K[0]||!ge||!ge[0])return new D(!q.s||!k.s||(K?ge&&K[0]==ge[0]:!ge)?NaN:K&&K[0]==0||!ge?Z*0:Z/0);for(Ee=new D(Z),Ne=Ee.c=[],G=q.e-k.e,Z=L+G+1,U||(U=S,G=oe(q.e/E)-oe(k.e/E),Z=Z/E|0),V=0;ge[V]==(K[V]||0);V++);if(ge[V]>(K[V]||0)&&G--,Z<0)Ne.push(1),ie=!0;else{for(s=K.length,_=ge.length,V=0,Z+=2,le=o(U/(ge[0]+1)),le>1&&(ge=b(ge,le,U),K=b(K,le,U),_=ge.length,s=K.length),y=_,xe=K.slice(0,_),ve=xe.length;ve<_;xe[ve++]=0);I=ge.slice(),I=[0].concat(I),l=ge[0],ge[1]>=U/2&&l++;do{if(le=0,P=C(ge,xe,_,ve),P<0){if(Le=xe[0],_!=ve&&(Le=Le*U+(xe[1]||0)),le=o(Le/l),le>1)for(le>=U&&(le=U-1),ye=b(ge,le,U),we=ye.length,ve=xe.length;C(ye,xe,we,ve)==1;)le--,R(ye,_<we?I:ge,we,U),we=ye.length,P=1;else le==0&&(P=le=1),ye=ge.slice(),we=ye.length;if(we<ve&&(ye=[0].concat(ye)),R(xe,ye,ve,U),ve=xe.length,P==-1)for(;C(ge,xe,_,ve)<1;)le++,R(xe,_<ve?I:ge,ve,U),ve=xe.length}else P===0&&(le++,xe=[0]);Ne[V++]=le,xe[0]?xe[ve++]=K[y]||0:(xe=[K[y]],ve=1)}while((y++<s||xe[0]!=null)&&Z--);ie=xe[0]!=null,Ne[0]||Ne.splice(0,1)}if(U==S){for(V=1,Z=Ne[0];Z>=10;Z/=10,V++);$e(Ee,L+(Ee.e=V+G*E-1)+1,W,ie)}else Ee.e=G,Ee.r=+ie;return Ee}}();function me(b,C,R,q){var k,L,W,U,P;if(R==null?R=h:te(R,0,8),!b.c)return b.toString();if(k=b.c[0],W=b.e,C==null)P=J(b.c),P=q==1||q==2&&(W<=g||W>=m)?ce(P,W):fe(P,W,"0");else if(b=$e(new D(b),C,R),L=b.e,P=J(b.c),U=P.length,q==1||q==2&&(C<=L||L<=g)){for(;U<C;P+="0",U++);P=ce(P,L)}else if(C-=W,P=fe(P,L,"0"),L+1>U){if(--C>0)for(P+=".";C--;P+="0");}else if(C+=L-U,C>0)for(L+1==U&&(P+=".");C--;P+="0");return b.s<0&&k?"-"+P:P}function Me(b,C){for(var R,q,k=1,L=new D(b[0]);k<b.length;k++)q=new D(b[k]),(!q.s||(R=he(L,q))===C||R===0&&L.s===C)&&(L=q);return L}function Oe(b,C,R){for(var q=1,k=C.length;!C[--k];C.pop());for(k=C[0];k>=10;k/=10,q++);return(R=q+R*E-1)>T?b.c=b.e=null:R<v?b.c=[b.e=0]:(b.e=R,b.c=C),b}de=function(){var b=/^(-?)0([xbo])(?=\w[\w.]*$)/i,C=/^([^.]+)\.$/,R=/^\.([^.]+)$/,q=/^-?(Infinity|NaN)$/,k=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(L,W,U,P){var G,V=U?W:W.replace(k,"");if(q.test(V))L.s=isNaN(V)?null:V<0?-1:1;else{if(!U&&(V=V.replace(b,function(ie,le,ye){return G=(ye=ye.toLowerCase())=="x"?16:ye=="b"?2:8,!P||P==G?le:ie}),P&&(G=P,V=V.replace(C,"$1").replace(R,"0.$1")),W!=V))return new D(V,G);if(D.DEBUG)throw Error(d+"Not a"+(P?" base "+P:"")+" number: "+W);L.s=null}L.c=L.e=null}}();function $e(b,C,R,q){var k,L,W,U,P,G,V,ie=b.c,le=$;if(ie){e:{for(k=1,U=ie[0];U>=10;U/=10,k++);if(L=C-k,L<0)L+=E,W=C,P=ie[G=0],V=o(P/le[k-W-1]%10);else if(G=a((L+1)/E),G>=ie.length)if(q){for(;ie.length<=G;ie.push(0));P=V=0,k=1,L%=E,W=L-E+1}else break e;else{for(P=U=ie[G],k=1;U>=10;U/=10,k++);L%=E,W=L-E+k,V=W<0?0:o(P/le[k-W-1]%10)}if(q=q||C<0||ie[G+1]!=null||(W<0?P:P%le[k-W-1]),q=R<4?(V||q)&&(R==0||R==(b.s<0?3:2)):V>5||V==5&&(R==4||q||R==6&&(L>0?W>0?P/le[k-W]:0:ie[G-1])%10&1||R==(b.s<0?8:7)),C<1||!ie[0])return ie.length=0,q?(C-=b.e+1,ie[0]=le[(E-C%E)%E],b.e=-C||0):ie[0]=b.e=0,b;if(L==0?(ie.length=G,U=1,G--):(ie.length=G+1,U=le[E-L],ie[G]=W>0?o(P/le[k-W]%le[W])*U:0),q)for(;;)if(G==0){for(L=1,W=ie[0];W>=10;W/=10,L++);for(W=ie[0]+=U,U=1;W>=10;W/=10,U++);L!=U&&(b.e++,ie[0]==S&&(ie[0]=1));break}else{if(ie[G]+=U,ie[G]!=S)break;ie[G--]=0,U=1}for(L=ie.length;ie[--L]===0;ie.pop());}b.e>T?b.c=b.e=null:b.e<v&&(b.c=[b.e=0])}return b}function _e(b){var C,R=b.e;return R===null?b.toString():(C=J(b.c),C=R<=g||R>=m?ce(C,R):fe(C,R,"0"),b.s<0?"-"+C:C)}return ne.absoluteValue=ne.abs=function(){var b=new D(this);return b.s<0&&(b.s=1),b},ne.comparedTo=function(b,C){return he(this,new D(b,C))},ne.decimalPlaces=ne.dp=function(b,C){var R,q,k,L=this;if(b!=null)return te(b,0,Y),C==null?C=h:te(C,0,8),$e(new D(L),b+L.e+1,C);if(!(R=L.c))return null;if(q=((k=R.length-1)-oe(this.e/E))*E,k=R[k])for(;k%10==0;k/=10,q--);return q<0&&(q=0),q},ne.dividedBy=ne.div=function(b,C){return H(this,new D(b,C),i,h)},ne.dividedToIntegerBy=ne.idiv=function(b,C){return H(this,new D(b,C),0,1)},ne.exponentiatedBy=ne.pow=function(b,C){var R,q,k,L,W,U,P,G,V,ie=this;if(b=new D(b),b.c&&!b.isInteger())throw Error(d+"Exponent not an integer: "+_e(b));if(C!=null&&(C=new D(C)),U=b.e>14,!ie.c||!ie.c[0]||ie.c[0]==1&&!ie.e&&ie.c.length==1||!b.c||!b.c[0])return V=new D(Math.pow(+_e(ie),U?b.s*(2-se(b)):+_e(b))),C?V.mod(C):V;if(P=b.s<0,C){if(C.c?!C.c[0]:!C.s)return new D(NaN);q=!P&&ie.isInteger()&&C.isInteger(),q&&(ie=ie.mod(C))}else{if(b.e>9&&(ie.e>0||ie.e<-1||(ie.e==0?ie.c[0]>1||U&&ie.c[1]>=24e7:ie.c[0]<8e13||U&&ie.c[0]<=9999975e7)))return L=ie.s<0&&se(b)?-0:0,ie.e>-1&&(L=1/L),new D(P?1/L:L);f&&(L=a(f/E+2))}for(U?(R=new D(.5),P&&(b.s=1),G=se(b)):(k=Math.abs(+_e(b)),G=k%2),V=new D(A);;){if(G){if(V=V.times(ie),!V.c)break;L?V.c.length>L&&(V.c.length=L):q&&(V=V.mod(C))}if(k){if(k=o(k/2),k===0)break;G=k%2}else if(b=b.times(R),$e(b,b.e+1,1),b.e>14)G=se(b);else{if(k=+_e(b),k===0)break;G=k%2}ie=ie.times(ie),L?ie.c&&ie.c.length>L&&(ie.c.length=L):q&&(ie=ie.mod(C))}return q?V:(P&&(V=A.div(V)),C?V.mod(C):L?$e(V,f,h,W):V)},ne.integerValue=function(b){var C=new D(this);return b==null?b=h:te(b,0,8),$e(C,C.e+1,b)},ne.isEqualTo=ne.eq=function(b,C){return he(this,new D(b,C))===0},ne.isFinite=function(){return!!this.c},ne.isGreaterThan=ne.gt=function(b,C){return he(this,new D(b,C))>0},ne.isGreaterThanOrEqualTo=ne.gte=function(b,C){return(C=he(this,new D(b,C)))===1||C===0},ne.isInteger=function(){return!!this.c&&oe(this.e/E)>this.c.length-2},ne.isLessThan=ne.lt=function(b,C){return he(this,new D(b,C))<0},ne.isLessThanOrEqualTo=ne.lte=function(b,C){return(C=he(this,new D(b,C)))===-1||C===0},ne.isNaN=function(){return!this.s},ne.isNegative=function(){return this.s<0},ne.isPositive=function(){return this.s>0},ne.isZero=function(){return!!this.c&&this.c[0]==0},ne.minus=function(b,C){var R,q,k,L,W=this,U=W.s;if(b=new D(b,C),C=b.s,!U||!C)return new D(NaN);if(U!=C)return b.s=-C,W.plus(b);var P=W.e/E,G=b.e/E,V=W.c,ie=b.c;if(!P||!G){if(!V||!ie)return V?(b.s=-C,b):new D(ie?W:NaN);if(!V[0]||!ie[0])return ie[0]?(b.s=-C,b):new D(V[0]?W:h==3?-0:0)}if(P=oe(P),G=oe(G),V=V.slice(),U=P-G){for((L=U<0)?(U=-U,k=V):(G=P,k=ie),k.reverse(),C=U;C--;k.push(0));k.reverse()}else for(q=(L=(U=V.length)<(C=ie.length))?U:C,U=C=0;C<q;C++)if(V[C]!=ie[C]){L=V[C]<ie[C];break}if(L&&(k=V,V=ie,ie=k,b.s=-b.s),C=(q=ie.length)-(R=V.length),C>0)for(;C--;V[R++]=0);for(C=S-1;q>U;){if(V[--q]<ie[q]){for(R=q;R&&!V[--R];V[R]=C);--V[R],V[q]+=S}V[q]-=ie[q]}for(;V[0]==0;V.splice(0,1),--G);return V[0]?Oe(b,V,G):(b.s=h==3?-1:1,b.c=[b.e=0],b)},ne.modulo=ne.mod=function(b,C){var R,q,k=this;return b=new D(b,C),!k.c||!b.s||b.c&&!b.c[0]?new D(NaN):!b.c||k.c&&!k.c[0]?new D(k):(M==9?(q=b.s,b.s=1,R=H(k,b,0,3),b.s=q,R.s*=q):R=H(k,b,0,M),b=k.minus(R.times(b)),!b.c[0]&&M==1&&(b.s=k.s),b)},ne.multipliedBy=ne.times=function(b,C){var R,q,k,L,W,U,P,G,V,ie,le,ye,we,Ee,Ne,xe=this,ve=xe.c,Le=(b=new D(b,C)).c;if(!ve||!Le||!ve[0]||!Le[0])return!xe.s||!b.s||ve&&!ve[0]&&!Le||Le&&!Le[0]&&!ve?b.c=b.e=b.s=null:(b.s*=xe.s,!ve||!Le?b.c=b.e=null:(b.c=[0],b.e=0)),b;for(q=oe(xe.e/E)+oe(b.e/E),b.s*=xe.s,P=ve.length,ie=Le.length,P<ie&&(we=ve,ve=Le,Le=we,k=P,P=ie,ie=k),k=P+ie,we=[];k--;we.push(0));for(Ee=S,Ne=j,k=ie;--k>=0;){for(R=0,le=Le[k]%Ne,ye=Le[k]/Ne|0,W=P,L=k+W;L>k;)G=ve[--W]%Ne,V=ve[W]/Ne|0,U=ye*G+V*le,G=le*G+U%Ne*Ne+we[L]+R,R=(G/Ee|0)+(U/Ne|0)+ye*V,we[L--]=G%Ee;we[L]=R}return R?++q:we.splice(0,1),Oe(b,we,q)},ne.negated=function(){var b=new D(this);return b.s=-b.s||null,b},ne.plus=function(b,C){var R,q=this,k=q.s;if(b=new D(b,C),C=b.s,!k||!C)return new D(NaN);if(k!=C)return b.s=-C,q.minus(b);var L=q.e/E,W=b.e/E,U=q.c,P=b.c;if(!L||!W){if(!U||!P)return new D(k/0);if(!U[0]||!P[0])return P[0]?b:new D(U[0]?q:k*0)}if(L=oe(L),W=oe(W),U=U.slice(),k=L-W){for(k>0?(W=L,R=P):(k=-k,R=U),R.reverse();k--;R.push(0));R.reverse()}for(k=U.length,C=P.length,k-C<0&&(R=P,P=U,U=R,C=k),k=0;C;)k=(U[--C]=U[C]+P[C]+k)/S|0,U[C]=S===U[C]?0:U[C]%S;return k&&(U=[k].concat(U),++W),Oe(b,U,W)},ne.precision=ne.sd=function(b,C){var R,q,k,L=this;if(b!=null&&b!==!!b)return te(b,1,Y),C==null?C=h:te(C,0,8),$e(new D(L),b,C);if(!(R=L.c))return null;if(k=R.length-1,q=k*E+1,k=R[k]){for(;k%10==0;k/=10,q--);for(k=R[0];k>=10;k/=10,q++);}return b&&L.e+1>q&&(q=L.e+1),q},ne.shiftedBy=function(b){return te(b,-p,p),this.times("1e"+b)},ne.squareRoot=ne.sqrt=function(){var b,C,R,q,k,L=this,W=L.c,U=L.s,P=L.e,G=i+4,V=new D("0.5");if(U!==1||!W||!W[0])return new D(!U||U<0&&(!W||W[0])?NaN:W?L:1/0);if(U=Math.sqrt(+_e(L)),U==0||U==1/0?(C=J(W),(C.length+P)%2==0&&(C+="0"),U=Math.sqrt(+C),P=oe((P+1)/2)-(P<0||P%2),U==1/0?C="5e"+P:(C=U.toExponential(),C=C.slice(0,C.indexOf("e")+1)+P),R=new D(C)):R=new D(U+""),R.c[0]){for(P=R.e,U=P+G,U<3&&(U=0);;)if(k=R,R=V.times(k.plus(H(L,k,G,1))),J(k.c).slice(0,U)===(C=J(R.c)).slice(0,U))if(R.e<P&&--U,C=C.slice(U-3,U+1),C=="9999"||!q&&C=="4999"){if(!q&&($e(k,k.e+i+2,0),k.times(k).eq(L))){R=k;break}G+=4,U+=4,q=1}else{(!+C||!+C.slice(1)&&C.charAt(0)=="5")&&($e(R,R.e+i+2,1),b=!R.times(R).eq(L));break}}return $e(R,R.e+i+1,h,b)},ne.toExponential=function(b,C){return b!=null&&(te(b,0,Y),b++),me(this,b,C,1)},ne.toFixed=function(b,C){return b!=null&&(te(b,0,Y),b=b+this.e+1),me(this,b,C)},ne.toFormat=function(b,C,R){var q,k=this;if(R==null)b!=null&&C&&typeof C=="object"?(R=C,C=null):b&&typeof b=="object"?(R=b,b=C=null):R=B;else if(typeof R!="object")throw Error(d+"Argument not an object: "+R);if(q=k.toFixed(b,C),k.c){var L,W=q.split("."),U=+R.groupSize,P=+R.secondaryGroupSize,G=R.groupSeparator||"",V=W[0],ie=W[1],le=k.s<0,ye=le?V.slice(1):V,we=ye.length;if(P&&(L=U,U=P,P=L,we-=L),U>0&&we>0){for(L=we%U||U,V=ye.substr(0,L);L<we;L+=U)V+=G+ye.substr(L,U);P>0&&(V+=G+ye.slice(L)),le&&(V="-"+V)}q=ie?V+(R.decimalSeparator||"")+((P=+R.fractionGroupSize)?ie.replace(new RegExp("\\d{"+P+"}\\B","g"),"$&"+(R.fractionGroupSeparator||"")):ie):V}return(R.prefix||"")+q+(R.suffix||"")},ne.toFraction=function(b){var C,R,q,k,L,W,U,P,G,V,ie,le,ye=this,we=ye.c;if(b!=null&&(U=new D(b),!U.isInteger()&&(U.c||U.s!==1)||U.lt(A)))throw Error(d+"Argument "+(U.isInteger()?"out of range: ":"not an integer: ")+_e(U));if(!we)return new D(ye);for(C=new D(A),G=R=new D(A),q=P=new D(A),le=J(we),L=C.e=le.length-ye.e-1,C.c[0]=$[(W=L%E)<0?E+W:W],b=!b||U.comparedTo(C)>0?L>0?C:G:U,W=T,T=1/0,U=new D(le),P.c[0]=0;V=H(U,C,0,1),k=R.plus(V.times(q)),k.comparedTo(b)!=1;)R=q,q=k,G=P.plus(V.times(k=G)),P=k,C=U.minus(V.times(k=C)),U=k;return k=H(b.minus(R),q,0,1),P=P.plus(k.times(G)),R=R.plus(k.times(q)),P.s=G.s=ye.s,L=L*2,ie=H(G,q,L,h).minus(ye).abs().comparedTo(H(P,R,L,h).minus(ye).abs())<1?[G,q]:[P,R],T=W,ie},ne.toNumber=function(){return+_e(this)},ne.toPrecision=function(b,C){return b!=null&&te(b,1,Y),me(this,b,C,2)},ne.toString=function(b){var C,R=this,q=R.s,k=R.e;return k===null?q?(C="Infinity",q<0&&(C="-"+C)):C="NaN":(b==null?C=k<=g||k>=m?ce(J(R.c),k):fe(J(R.c),k,"0"):b===10&&pe?(R=$e(new D(R),i+k+1,h),C=fe(J(R.c),R.e,"0")):(te(b,2,ue.length,"Base"),C=ae(fe(J(R.c),k,"0"),10,b,q,!0)),q<0&&R.c[0]&&(C="-"+C)),C},ne.valueOf=ne.toJSON=function(){return _e(this)},ne._isBigNumber=!0,X!=null&&D.set(X),D}function oe(X){var H=X|0;return X>0||X===H?H:H-1}function J(X){for(var H,ae,de=1,ne=X.length,A=X[0]+"";de<ne;){for(H=X[de++]+"",ae=E-H.length;ae--;H="0"+H);A+=H}for(ne=A.length;A.charCodeAt(--ne)===48;);return A.slice(0,ne+1||1)}function he(X,H){var ae,de,ne=X.c,A=H.c,i=X.s,h=H.s,g=X.e,m=H.e;if(!i||!h)return null;if(ae=ne&&!ne[0],de=A&&!A[0],ae||de)return ae?de?0:-h:i;if(i!=h)return i;if(ae=i<0,de=g==m,!ne||!A)return de?0:!ne^ae?1:-1;if(!de)return g>m^ae?1:-1;for(h=(g=ne.length)<(m=A.length)?g:m,i=0;i<h;i++)if(ne[i]!=A[i])return ne[i]>A[i]^ae?1:-1;return g==m?0:g>m^ae?1:-1}function te(X,H,ae,de){if(X<H||X>ae||X!==o(X))throw Error(d+(de||"Argument")+(typeof X=="number"?X<H||X>ae?" out of range: ":" not an integer: ":" not a primitive number: ")+String(X))}function se(X){var H=X.c.length-1;return oe(X.e/E)==H&&X.c[H]%2!=0}function ce(X,H){return(X.length>1?X.charAt(0)+"."+X.slice(1):X)+(H<0?"e":"e+")+H}function fe(X,H,ae){var de,ne;if(H<0){for(ne=ae+".";++H;ne+=ae);X=ne+X}else if(de=X.length,++H>de){for(ne=ae,H-=de;--H;ne+=ae);X+=ne}else H<de&&(X=X.slice(0,H)+"."+X.slice(H));return X}r=z(),r.default=r.BigNumber=r,e.exports?e.exports=r:(t||(t=typeof self<"u"&&self?self:window),t.BigNumber=r)})(ng)})(Fa);var Ra=Fa.exports;/*!
137
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
138
+ *
139
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
140
+ * of this software and associated documentation files (the "Software"), to deal
141
+ * in the Software without restriction, including without limitation the rights
142
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
143
+ * copies of the Software, and to permit persons to whom the Software is
144
+ * furnished to do so, subject to the following conditions:
145
+ *
146
+ * The above copyright notice and this permission notice shall be included in
147
+ * all copies or substantial portions of the Software.
148
+ *
149
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
150
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
151
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
152
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
153
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
154
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
155
+ * SOFTWARE.
156
+ */const st=Si(),Sg=Mi(),Bg=_i,Ag=Ra,Ke={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},gr={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:Ia,decimalSuffixes:Fr}=st.currentBytes(),Bi={general:{scale:1024,suffixes:Fr},binary:{scale:1024,suffixes:Ia},decimal:{scale:1e3,suffixes:Fr}};function Og(e,t={},r){if(typeof t=="string"&&(t=Bg.parseFormat(t)),!Sg.validateFormat(t))return"ERROR: invalid format";let a=t.prefix||"",o=t.postfix||"",d=Tg(e,t,r);return d=Jg(d,a),d=Vg(d,o),d}function Tg(e,t,r){switch(t.output){case"currency":return t=Ut(t,st.currentCurrencyDefaultFormat()),Pg(e,t,st);case"percent":return t=Ut(t,st.currentPercentageDefaultFormat()),Ug(e,t,st,r);case"byte":return t=Ut(t,st.currentByteDefaultFormat()),Rg(e,t,st,r);case"time":return t=Ut(t,st.currentTimeDefaultFormat()),Ng(e);case"ordinal":return t=Ut(t,st.currentOrdinalDefaultFormat()),Ig(e,t,st);case"number":default:return mr({instance:e,providedFormat:t})}}function Cg(e){let t=Bi.decimal;return Yr(e._value,t.suffixes,t.scale).suffix}function $g(e){let t=Bi.binary;return Yr(e._value,t.suffixes,t.scale).suffix}function Fg(e){let t=Bi.general;return Yr(e._value,t.suffixes,t.scale).suffix}function Yr(e,t,r){let n=t[0],a=Math.abs(e);if(a>=r){for(let o=1;o<t.length;++o){let d=Math.pow(r,o),x=Math.pow(r,o+1);if(a>=d&&a<x){n=t[o],e=e/d;break}}n===t[0]&&(e=e/Math.pow(r,t.length-1),n=t[t.length-1])}return{value:e,suffix:n}}function Rg(e,t,r,n){let a=t.base||"binary",o=Object.assign({},gr,t);const{binarySuffixes:d,decimalSuffixes:x}=r.currentBytes();let E={general:{scale:1024,suffixes:x||Fr,marker:"bd"},binary:{scale:1024,suffixes:d||Ia,marker:"b"},decimal:{scale:1e3,suffixes:x||Fr,marker:"d"}}[a],{value:p,suffix:$}=Yr(e._value,E.suffixes,E.scale);return`${mr({instance:n(p),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()})}${o.spaceSeparated?" ":""}${$}`}function Ig(e,t,r){let n=r.currentOrdinal(),a=Object.assign({},gr,t),o=mr({instance:e,providedFormat:t,state:r}),d=n(e._value);return`${o}${a.spaceSeparated?" ":""}${d}`}function Ng(e){let t=Math.floor(e._value/60/60),r=Math.floor((e._value-t*60*60)/60),n=Math.round(e._value-t*60*60-r*60);return`${t}:${r<10?"0":""}${r}:${n<10?"0":""}${n}`}function Ug(e,t,r,n){let a=t.prefixSymbol,o=mr({instance:n(e._value*100),providedFormat:t,state:r}),d=Object.assign({},gr,t);return a?`%${d.spaceSeparated?" ":""}${o}`:`${o}${d.spaceSeparated?" ":""}%`}function Pg(e,t,r){const n=r.currentCurrency();let a=Object.assign({},t),o=Object.assign({},gr,a),d,x="",S=!!o.totalLength||!!o.forceAverage||o.average,E=a.currencyPosition||n.position,p=a.currencySymbol||n.symbol;const $=o.spaceSeparatedCurrency!==void 0?o.spaceSeparatedCurrency:o.spaceSeparated;a.lowPrecision===void 0&&(a.lowPrecision=!1),$&&(x=" "),E==="infix"&&(d=x+p+x);let j=mr({instance:e,providedFormat:a,state:r,decimalSeparator:d});return E==="prefix"&&(e._value<0&&o.negative==="sign"?j=`-${x}${p}${j.slice(1)}`:e._value>0&&o.forceSign?j=`+${x}${p}${j.slice(1)}`:j=p+x+j),(!E||E==="postfix")&&(x=!o.spaceSeparatedAbbreviation&&S?"":x,j=j+x+p),j}function Lg({value:e,forceAverage:t,lowPrecision:r=!0,abbreviations:n,spaceSeparated:a=!1,totalLength:o=0,roundingFunction:d=Math.round}){let x="",S=Math.abs(e),E=-1;if(t&&n[t]&&Ke[t]?(x=n[t],e=e/Ke[t]):S>=Ke.trillion||r&&d(S/Ke.trillion)===1?(x=n.trillion,e=e/Ke.trillion):S<Ke.trillion&&S>=Ke.billion||r&&d(S/Ke.billion)===1?(x=n.billion,e=e/Ke.billion):S<Ke.billion&&S>=Ke.million||r&&d(S/Ke.million)===1?(x=n.million,e=e/Ke.million):(S<Ke.million&&S>=Ke.thousand||r&&d(S/Ke.thousand)===1)&&(x=n.thousand,e=e/Ke.thousand),x&&(x=(a?" ":"")+x),o){let $=e<0,j=e.toString().split(".")[0],Y=$?j.length-1:j.length;E=Math.max(o-Y,0)}return{value:e,abbreviation:x,mantissaPrecision:E}}function Dg({value:e,characteristicPrecision:t}){let[r,n]=e.toExponential().split("e"),a=+r;if(!t)return{value:a,abbreviation:`e${n}`};let o=1;return o<t&&(a=a*Math.pow(10,t-o),n=+n-(t-o),n=n>=0?`+${n}`:n),{value:a,abbreviation:`e${n}`}}function br(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function jg(e,t){let r=e.toString(),[n,a]=r.split("e"),[o,d=""]=n.split(".");if(+a>0)r=o+d+br(a-d.length);else{let x=".";+o<0?x=`-0${x}`:x=`0${x}`;let S=(br(-a-1)+Math.abs(o)+d).substr(0,t);S.length<t&&(S+=br(t-S.length)),r=x+S}return+a>0&&t>0&&(r+=`.${br(t)}`),r}function kg(e,t,r=Math.round){return e.toString().indexOf("e")!==-1?jg(e,t):new Ag(r(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}function qg(e,t,r,n,a,o){if(n===-1)return e;let d=kg(t,n,o),[x,S=""]=d.toString().split(".");if(S.match(/^0+$/)&&(r||a))return x;let E=S.match(/0+$/);return a&&E?`${x}.${S.toString().slice(0,E.index)}`:d.toString()}function zg(e,t,r,n){let a=e,[o,d]=a.toString().split(".");if(o.match(/^-?0$/)&&r)return d?`${o.replace("0","")}.${d}`:o.replace("0","");const x=t<0&&o.indexOf("-")===0;if(x&&(o=o.slice(1),a=a.slice(1)),o.length<n){let S=n-o.length;for(let E=0;E<S;E++)a=`0${a}`}return x&&(a=`-${a}`),a.toString()}function Hg(e,t){let r=[],n=0;for(let a=e;a>0;a--)n===t&&(r.unshift(a),n=0),n++;return r}function Gg(e,t,r,n,a){let o=n.currentDelimiters(),d=o.thousands;a=a||o.decimal;let x=o.thousandsSize||3,S=e.toString(),E=S.split(".")[0],p=S.split(".")[1];const $=t<0&&E.indexOf("-")===0;return r&&($&&(E=E.slice(1)),Hg(E.length,x).forEach((Y,z)=>{E=E.slice(0,Y+z)+d+E.slice(Y+z)}),$&&(E=`-${E}`)),p?S=E+a+p:S=E,S}function Wg(e,t){return e+t}function Zg(e,t,r){return t===0?e:+e==0?e.replace("-",""):t>0?`+${e}`:r==="sign"?e:`(${e.replace("-","")})`}function Jg(e,t){return t+e}function Vg(e,t){return e+t}function mr({instance:e,providedFormat:t,state:r=st,decimalSeparator:n,defaults:a=r.currentDefaults()}){let o=e._value;if(o===0&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(o))return o.toString();let d=Object.assign({},gr,a,t),x=d.totalLength,S=x?0:d.characteristic,E=d.optionalCharacteristic,p=d.forceAverage,$=d.lowPrecision,j=!!x||!!p||d.average,Y=x?-1:j&&t.mantissa===void 0?0:d.mantissa,z=x?!1:t.optionalMantissa===void 0?Y===-1:d.optionalMantissa,oe=d.trimMantissa,J=d.thousandSeparated,he=d.spaceSeparated,te=d.negative,se=d.forceSign,ce=d.exponential,fe=d.roundingFunction,X="";if(j){let ae=Lg({value:o,forceAverage:p,lowPrecision:$,abbreviations:r.currentAbbreviations(),spaceSeparated:he,roundingFunction:fe,totalLength:x});o=ae.value,X+=ae.abbreviation,x&&(Y=ae.mantissaPrecision)}if(ce){let ae=Dg({value:o,characteristicPrecision:S});o=ae.value,X=ae.abbreviation+X}let H=qg(o.toString(),o,z,Y,oe,fe);return H=zg(H,o,E,S),H=Gg(H,o,J,r,n),(j||ce)&&(H=Wg(H,X)),(se||o<0)&&(H=Zg(H,o,te)),H}function Ut(e,t){if(!e)return t;let r=Object.keys(e);return r.length===1&&r[0]==="output"?t:e}var Kg=e=>({format:(...t)=>Og(...t,e),getByteUnit:(...t)=>Fg(...t,e),getBinaryByteUnit:(...t)=>$g(...t,e),getDecimalByteUnit:(...t)=>Cg(...t,e),formatOrDefault:Ut});/*!
157
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
158
+ *
159
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
160
+ * of this software and associated documentation files (the "Software"), to deal
161
+ * in the Software without restriction, including without limitation the rights
162
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
163
+ * copies of the Software, and to permit persons to whom the Software is
164
+ * furnished to do so, subject to the following conditions:
165
+ *
166
+ * The above copyright notice and this permission notice shall be included in
167
+ * all copies or substantial portions of the Software.
168
+ *
169
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
170
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
171
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
172
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
173
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
174
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
175
+ * SOFTWARE.
176
+ */const mt=Ra;function Yg(e,t,r){let n=new mt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new mt(a),e._value=n.plus(a).toNumber(),e}function Na(e,t,r){let n=new mt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new mt(a),e._value=n.minus(a).toNumber(),e}function Xg(e,t,r){let n=new mt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new mt(a),e._value=n.times(a).toNumber(),e}function Qg(e,t,r){let n=new mt(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new mt(a),e._value=n.dividedBy(a).toNumber(),e}function em(e,t,r){let n=t;return r.isNumbro(t)&&(n=t._value),e._value=n,e}function tm(e,t,r){let n=r(e._value);return Na(n,t,r),Math.abs(n._value)}var rm=e=>({add:(t,r)=>Yg(t,r,e),subtract:(t,r)=>Na(t,r,e),multiply:(t,r)=>Xg(t,r,e),divide:(t,r)=>Qg(t,r,e),set:(t,r)=>em(t,r,e),difference:(t,r)=>tm(t,r,e),BigNumber:mt});/*!
177
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
178
+ *
179
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
180
+ * of this software and associated documentation files (the "Software"), to deal
181
+ * in the Software without restriction, including without limitation the rights
182
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
183
+ * copies of the Software, and to permit persons to whom the Software is
184
+ * furnished to do so, subject to the following conditions:
185
+ *
186
+ * The above copyright notice and this permission notice shall be included in
187
+ * all copies or substantial portions of the Software.
188
+ *
189
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
190
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
191
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
192
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
193
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
194
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
195
+ * SOFTWARE.
196
+ */const nm="2.5.0",pt=Si(),im=Mi(),om=_g(He),sm=$a();let bt=Kg(He),Et=rm(He);const am=_i;class Ua{constructor(t){this._value=t}clone(){return He(this._value)}format(t={}){return bt.format(this,t)}formatCurrency(t){return typeof t=="string"&&(t=am.parseFormat(t)),t=bt.formatOrDefault(t,pt.currentCurrencyDefaultFormat()),t.output="currency",bt.format(this,t)}formatTime(t={}){return t.output="time",bt.format(this,t)}binaryByteUnits(){return bt.getBinaryByteUnit(this)}decimalByteUnits(){return bt.getDecimalByteUnit(this)}byteUnits(){return bt.getByteUnit(this)}difference(t){return Et.difference(this,t)}add(t){return Et.add(this,t)}subtract(t){return Et.subtract(this,t)}multiply(t){return Et.multiply(this,t)}divide(t){return Et.divide(this,t)}set(t){return Et.set(this,Pa(t))}value(){return this._value}valueOf(){return this._value}}function Pa(e){let t=e;return He.isNumbro(e)?t=e._value:typeof e=="string"?t=He.unformat(e):isNaN(e)&&(t=NaN),t}function He(e){return new Ua(Pa(e))}He.version=nm;He.isNumbro=function(e){return e instanceof Ua};He.language=pt.currentLanguage;He.registerLanguage=pt.registerLanguage;He.setLanguage=pt.setLanguage;He.languages=pt.languages;He.languageData=pt.languageData;He.zeroFormat=pt.setZeroFormat;He.defaultFormat=pt.currentDefaults;He.setDefaults=pt.setDefaults;He.defaultCurrencyFormat=pt.currentCurrencyDefaultFormat;He.validate=im.validate;He.loadLanguagesInNode=om.loadLanguagesInNode;He.unformat=sm.unformat;He.BigNumber=Et.BigNumber;var um=He,cw=ig(um),Do=hi(function(e,t,r,n){Ft(t,Vt(t),e,n)}),fm="[object DOMException]",lm="[object Error]";function La(e){if(!et(e))return!1;var t=ut(e);return t==lm||t==fm||typeof e.message=="string"&&typeof e.name=="string"&&!kr(e)}var cm=ft(function(e,t){try{return ci(e,void 0,t)}catch(r){return La(r)?r:new Error(r)}});function Da(e,t){return gt(t,function(r){return e[r]})}var ja=Object.prototype,hm=ja.hasOwnProperty;function jo(e,t,r,n){return e===void 0||Wt(e,ja[r])&&!hm.call(n,r)?t:e}var dm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function pm(e){return"\\"+dm[e]}var ka=/<%=([\s\S]+?)%>/g,gm={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},mm=ma(gm),qa=/[&<>"']/g,ym=RegExp(qa.source);function wm(e){return e=tt(e),e&&ym.test(e)?e.replace(qa,mm):e}var vm=/<%-([\s\S]+?)%>/g,xm=/<%([\s\S]+?)%>/g,ko={escape:vm,evaluate:xm,interpolate:ka,variable:"",imports:{_:{escape:wm}}},bm="Invalid `variable` option passed into `_.template`",Em=/\b__p \+= '';/g,Mm=/\b(__p \+=) '' \+/g,_m=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Sm=/[()=,{}\[\]\/\s]/,Bm=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Er=/($^)/,Am=/['\n\r\u2028\u2029\\]/g,Om=Object.prototype,qo=Om.hasOwnProperty;function hw(e,t,r){var n=ko.imports._.templateSettings||ko;e=tt(e),t=Do({},t,n,jo);var a=Do({},t.imports,n.imports,jo),o=xt(a),d=Da(a,o),x,S,E=0,p=t.interpolate||Er,$="__p += '",j=RegExp((t.escape||Er).source+"|"+p.source+"|"+(p===ka?Bm:Er).source+"|"+(t.evaluate||Er).source+"|$","g"),Y=qo.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
197
+ `:"";e.replace(j,function(J,he,te,se,ce,fe){return te||(te=se),$+=e.slice(E,fe).replace(Am,pm),he&&(x=!0,$+=`' +
198
+ __e(`+he+`) +
199
+ '`),ce&&(S=!0,$+=`';
200
+ `+ce+`;
201
+ __p += '`),te&&($+=`' +
202
+ ((__t = (`+te+`)) == null ? '' : __t) +
203
+ '`),E=fe+J.length,J}),$+=`';
204
+ `;var z=qo.call(t,"variable")&&t.variable;if(!z)$=`with (obj) {
205
+ `+$+`
206
+ }
207
+ `;else if(Sm.test(z))throw new Error(bm);$=(S?$.replace(Em,""):$).replace(Mm,"$1").replace(_m,"$1;"),$="function("+(z||"obj")+`) {
208
+ `+(z?"":`obj || (obj = {});
209
+ `)+"var __t, __p = ''"+(x?", __e = _.escape":"")+(S?`, __j = Array.prototype.join;
210
+ function print() { __p += __j.call(arguments, '') }
211
+ `:`;
212
+ `)+$+`return __p
213
+ }`;var oe=cm(function(){return Function(o,Y+"return "+$).apply(void 0,d)});if(oe.source=$,La(oe))throw oe;return oe}var Tm=ot.isFinite;function dw(e){return typeof e=="number"&&Tm(e)}var Cm=1,$m=4;function Fm(e){return tr(e,Cm|$m)}const pw=Object.freeze(Object.defineProperty({__proto__:null,default:Fm},Symbol.toStringTag,{value:"Module"}));function za(e,t,r,n,a,o){return Ve(e)&&Ve(t)&&(o.set(t,e),qr(e,t,void 0,za,o),o.delete(t)),e}var Rm=hi(function(e,t,r,n){qr(e,t,r,n)}),gw=ft(function(e){return e.push(void 0,za),ci(Rm,void 0,e)});function Im(e,t){for(var r=-1,n=e.length;++r<n&&Hr(t,e[r],0)>-1;);return r}function Nm(e,t,r){if(e=tt(e),e&&(r||t===void 0))return as(e);if(!e||!(t=or(t)))return e;var n=Dt(e),a=Dt(t),o=Im(n,a),d=Ca(n,a)+1;return Rr(n,o,d).join("")}const mw=Object.freeze(Object.defineProperty({__proto__:null,default:Nm},Symbol.toStringTag,{value:"Module"}));var Um=Math.min;function Pm(e,t,r){for(var n=di,a=e[0].length,o=e.length,d=o,x=Array(o),S=1/0,E=[];d--;){var p=e[d];S=Um(p.length,S),x[d]=a>=120&&p.length>=120?new At(d&&p):void 0}p=e[0];var $=-1,j=x[0];e:for(;++$<a&&E.length<S;){var Y=p[$],z=Y;if(Y=Y!==0?Y:0,!(j?ir(j,z):n(E,z))){for(d=o;--d;){var oe=x[d];if(!(oe?ir(oe,z):n(e[d],z)))continue e}j&&j.push(z),E.push(Y)}}return E}function Lm(e){return Ot(e)?e:[]}var yw=ft(function(e){var t=gt(e,Lm);return t.length&&t[0]===e[0]?Pm(t):[]}),ww=ft(function(e){var t=zr(e);return Ot(t)&&(t=void 0),zt(lr(e,1,Ot,!0),dt(t))});function Ai(e,t){return e&&Bs(e,t,xt)}function Dm(e,t){return function(r,n){if(r==null)return r;if(!vt(r))return e(r,n);for(var a=r.length,o=-1,d=Object(r);++o<a&&n(d[o],o,d)!==!1;);return r}}var Oi=Dm(Ai);function Ha(e,t){var r=-1,n=vt(e)?Array(e.length):[];return Oi(e,function(a,o,d){n[++r]=t(a,o,d)}),n}function jm(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}function km(e,t){if(e!==t){var r=e!==void 0,n=e===null,a=e===e,o=Lt(e),d=t!==void 0,x=t===null,S=t===t,E=Lt(t);if(!x&&!E&&!o&&e>t||o&&d&&S&&!x&&!E||n&&d&&S||!r&&S||!a)return 1;if(!n&&!o&&!E&&e<t||E&&r&&a&&!n&&!o||x&&r&&a||!d&&a||!S)return-1}return 0}function qm(e,t,r){for(var n=-1,a=e.criteria,o=t.criteria,d=a.length,x=r.length;++n<d;){var S=km(a[n],o[n]);if(S){if(n>=x)return S;var E=r[n];return S*(E=="desc"?-1:1)}}return e.index-t.index}function Ga(e,t,r){t.length?t=gt(t,function(o){return Ge(o)?function(d){return ar(d,o.length===1?o[0]:o)}:o}):t=[ur];var n=-1;t=gt(t,Pr(dt));var a=Ha(e,function(o,d,x){var S=gt(t,function(E){return E(o)});return{criteria:S,index:++n,value:o}});return jm(a,function(o,d){return qm(o,d,r)})}var vw=ft(function(e,t){if(e==null)return[];var r=t.length;return r>1&&Gn(e,t[0],t[1])?t=[]:r>2&&Gn(t[0],t[1],t[2])&&(t=[t[0]]),Ga(e,lr(t),[])});function zm(e){return function(t,r,n){var a=Object(t);if(!vt(t)){var o=dt(r);t=xt(t),r=function(x){return o(a[x],x,a)}}var d=e(t,r,n);return d>-1?a[o?t[d]:d]:void 0}}var Hm=Math.max;function Gm(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var a=r==null?0:Gt(r);return a<0&&(a=Hm(n+a,0)),Ls(e,dt(t),a)}var xw=zm(Gm);function Wm(e){return e&&e.length?zt(e):[]}const bw=Object.freeze(Object.defineProperty({__proto__:null,default:Wm},Symbol.toStringTag,{value:"Module"}));var Zm=Math.ceil,Jm=Math.max;function Ew(e,t,r){t===void 0?t=1:t=Jm(Gt(t),0);var n=e==null?0:e.length;if(!n||t<1)return[];for(var a=0,o=0,d=Array(Zm(n/t));a<n;)d[o++]=Yn(e,a,a+=t);return d}function Vm(e,t,r,n){for(var a=-1,o=e==null?0:e.length;++a<o;){var d=e[a];t(n,d,r(d),e)}return n}function Km(e,t,r,n){return Oi(e,function(a,o,d){t(n,a,r(a),d)}),n}function Wa(e,t){return function(r,n){var a=Ge(r)?Vm:Km,o=t?t():{};return a(r,e,dt(n),o)}}var Ym=200;function Za(e,t,r,n){var a=-1,o=di,d=!0,x=e.length,S=[],E=t.length;if(!x)return S;n?(o=Ds,d=!1):t.length>=Ym&&(o=ir,d=!1,t=new At(t));e:for(;++a<x;){var p=e[a],$=p;if(p=n||p!==0?p:0,d&&$===$){for(var j=E;j--;)if(t[j]===$)continue e;S.push(p)}else o(t,$,n)||S.push(p)}return S}function Ja(e){return typeof e=="function"?e:ur}function Mw(e,t){var r=Ge(e)?Rs:Oi;return r(e,Ja(t))}function Xm(e,t){var r=Ge(e)?gt:Ha;return r(e,dt(t))}const _w=Object.freeze(Object.defineProperty({__proto__:null,default:Xm},Symbol.toStringTag,{value:"Module"}));function Qm(e,t){return e&&Ai(e,Ja(t))}const Sw=Object.freeze(Object.defineProperty({__proto__:null,default:Qm},Symbol.toStringTag,{value:"Module"}));function Bw(e){return e==null?[]:Da(e,xt(e))}function Aw(e){return typeof e=="number"&&e==Gt(e)}var Ow=Wa(function(e,t,r){fr(e,r,t)});function Tw(e,t){var r={};return t=dt(t),Ai(e,function(n,a,o){fr(r,a,t(n,a,o))}),r}function ey(e,t){var r=e.length;if(r)return t+=t<0?r:0,sr(t,r)?e[t]:void 0}function Cw(e){return e=Gt(e),ft(function(t){return ey(t,e)})}function $w(e,t,r,n){return e==null?[]:(Ge(t)||(t=t==null?[]:[t]),r=r,Ge(r)||(r=r==null?[]:[r]),Ga(e,t,r))}var ty=Wa(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const Fw=Object.freeze(Object.defineProperty({__proto__:null,default:ty},Symbol.toStringTag,{value:"Module"}));var ry=Array.prototype,zo=ry.splice;function ny(e,t,r,n){var a=Hr,o=-1,d=t.length,x=e;for(e===t&&(t=li(t));++o<d;)for(var S=0,E=t[o],p=E;(S=a(x,p,S))>-1;)x!==e&&zo.call(x,S,1),zo.call(e,S,1);return e}function iy(e,t){return e&&e.length&&t&&t.length?ny(e,t):e}var Rw=ft(iy);function oy(e){return tt(e).toLowerCase()}const Iw=Object.freeze(Object.defineProperty({__proto__:null,default:oy},Symbol.toStringTag,{value:"Module"}));function Nw(e){return tt(e).toUpperCase()}var sy=ft(function(e){var t=zr(e);return t=typeof t=="function"?t:void 0,zt(lr(e,1,Ot,!0),void 0,t)});const Uw=Object.freeze(Object.defineProperty({__proto__:null,default:sy},Symbol.toStringTag,{value:"Module"}));var Pw=ft(function(e,t){return Ot(e)?Za(e,t):[]});function ay(e,t,r){var n=e.length;if(n<2)return n?zt(e[0]):[];for(var a=-1,o=Array(n);++a<n;)for(var d=e[a],x=-1;++x<n;)x!=a&&(o[a]=Za(o[a]||d,e[x],t,r));return zt(lr(o),t,r)}var Lw=ft(function(e){var t=zr(e);return t=typeof t=="function"?t:void 0,ay(ls(e,Ot),void 0,t)});export{Rw as $,eg as A,sp as B,Ay as C,Je as D,xw as E,Ve as F,Fm as G,Nm as H,r1 as I,Sy as J,ga as K,Z1 as L,pw as M,by as N,Ty as O,Oy as P,xy as Q,zh as R,Rh as S,Qn as T,Wm as U,mi as V,Xp as W,Cw as X,Aw as Y,Ph as Z,tg as _,Yc as a,J1 as a0,vw as a1,ud as a2,X1 as a3,By as a4,Iw as a5,mw as a6,Ew as a7,$w as a8,Py as a9,cw as aA,Ge as aB,yw as aC,ww as aD,gw as aE,gy as aF,dw as aG,hy as aH,bw as aI,oi as aJ,Lw as aa,Pp as ab,Ry as ac,Ow as ad,Cy as ae,My as af,Sw as ag,vy as ah,_w as ai,Mw as aj,Xm as ak,ks as al,$y as am,cd as an,Uw as ao,cy as ap,Fw as aq,Pw as ar,_y as as,Bw as at,Gc as au,Ey as av,Nw as aw,Tw as ax,lw as ay,hw as az,Xu as b,yy as c,t0 as d,xs as e,Qy as f,Mt as g,ew as h,kr as i,Xy as j,fy as k,rw as l,nw as m,u0 as n,dy as o,iw as p,ly as q,py as r,my as s,wy as t,tw as u,sw as v,K1 as w,aw as x,uw as y,fw as z};