@abtnode/blocklet-services 1.17.8-beta-20260104-120132-cb5b1914 → 1.17.8-beta-20260106-113136-b3c09e14

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/dist/assets/{AdapterDayjs-DyRP0A_7.js → AdapterDayjs-DafRMFLg.js} +1 -1
  2. package/dist/assets/Community-3AO97CCq.js +1 -0
  3. package/dist/assets/{Google-Bjq5o7qL.js → Google-DRu937I3.js} +1 -1
  4. package/dist/assets/Holiday-CqSw2e8m.js +1 -0
  5. package/dist/assets/Meeting-DKbNRI16.js +1 -0
  6. package/dist/assets/OffSick-BvEREz3_.js +1 -0
  7. package/dist/assets/WorkingRemotely-DNtYHcSB.js +1 -0
  8. package/dist/assets/{access-control-Cv1j0YWJ.js → access-control-cgo5Z15_.js} +1 -1
  9. package/dist/assets/{add-component-core-8nx00xJP.js → add-component-core-BfzNEcS5.js} +7 -7
  10. package/dist/assets/{add-resource-B3-VwSQg.js → add-resource-CYRgZ1ps.js} +1 -1
  11. package/dist/assets/addon-qN24wAb4.js +14 -0
  12. package/dist/assets/advanced-1Vu6rcXU.js +14 -0
  13. package/dist/assets/{aigne-Dehkd-7B.js → aigne-D6MrXXCU.js} +1 -1
  14. package/dist/assets/api-DwxIBXZs.js +1 -0
  15. package/dist/assets/{appearance-CkrEEbhp.js → appearance-DOQHBg9p.js} +1 -1
  16. package/dist/assets/arrow-down.svg-7ME6T1BL.js +1 -0
  17. package/dist/assets/{audit-logs-XPxQHo2y.js → audit-logs-ISyoqJFp.js} +2 -2
  18. package/dist/assets/{authorize-ByHCjaXS.js → authorize-B9RLEFal.js} +1 -1
  19. package/dist/assets/{base-chart-ChBZtUEG.js → base-chart-DhxjAyBU.js} +1 -1
  20. package/dist/assets/base32-_D4eWUeh.js +1 -0
  21. package/dist/assets/bind-account-CLIjYy96.js +1 -0
  22. package/dist/assets/{branding-CBzX3Xum.js → branding-C81Kt22j.js} +1 -1
  23. package/dist/assets/{branding-khY0G2TO.js → branding-iwUveEf5.js} +2 -2
  24. package/dist/assets/branding-myiZl37D.js +1 -0
  25. package/dist/assets/{bundle-avatar-Dtpi1uSw.js → bundle-avatar-Cc_6nw01.js} +1 -1
  26. package/dist/assets/button-D-lyR9BW.js +1 -0
  27. package/dist/assets/{click-to-copy-BEM1P78p.js → click-to-copy-CMo42VnK.js} +1 -1
  28. package/dist/assets/cloneDeep-BY8zW7hH.js +1 -0
  29. package/dist/assets/{complete-CuyAiV3B.js → complete-CJ_buCAS.js} +4 -4
  30. package/dist/assets/{component-nxxcEAFR.js → component-Dip3v1Iq.js} +3 -3
  31. package/dist/assets/config-44sI5I0w.js +53 -0
  32. package/dist/assets/{config-DOcJbRFr.js → config-D5KnWqfn.js} +1 -1
  33. package/dist/assets/{config-DweHAJPq.js → config-D8XZj8JI.js} +2 -2
  34. package/dist/assets/{config-navigation-BG6durqz.js → config-navigation-Ni0iczgA.js} +8 -8
  35. package/dist/assets/config-space-B6_f52sE.js +1 -0
  36. package/dist/assets/{confirm-BRnYfcDD.js → confirm-Lb1MrAdS.js} +1 -1
  37. package/dist/assets/connect-0OZVqJvc.js +1 -0
  38. package/dist/assets/connect-B9GQZEi7.js +5 -0
  39. package/dist/assets/connect-BV6BUhDJ.css +1 -0
  40. package/dist/assets/connect-JAX_oP3o.js +5 -0
  41. package/dist/assets/{connect-to-BEfFI4oa.js → connect-to-Djgj6TLg.js} +1 -1
  42. package/dist/assets/{create-passport-svg-BKhJ2ufW.js → create-passport-svg-5AYzBKFb.js} +1 -1
  43. package/dist/assets/createClass-DXYd7BIe.js +1 -0
  44. package/dist/assets/{dashboard-CDOqgUmx.js → dashboard-C0l2IWWH.js} +7 -7
  45. package/dist/assets/{delete-confirm-1vzcMsM2.js → delete-confirm-tbfLqDBI.js} +1 -1
  46. package/dist/assets/did-address-CsOJBoiY.js +1 -0
  47. package/dist/assets/{domain-D75xKDoP.js → domain-CnhOsdmM.js} +1 -1
  48. package/dist/assets/{domain-action-card-BgDPfYMr.js → domain-action-card-BsdHbhEi.js} +2 -2
  49. package/dist/assets/domains-DRP2VSvO.js +1 -0
  50. package/dist/assets/edit.svg-CTE5eATX.js +1 -0
  51. package/dist/assets/email-Dt_DGuhf.js +17 -0
  52. package/dist/assets/engine-BXGX_w-S.js +1 -0
  53. package/dist/assets/exchange-passport-DztKvBat.js +1 -0
  54. package/dist/assets/{form-BblKAylu.js → form-DoC8uBcB.js} +3 -3
  55. package/dist/assets/{form-text-input-C-JBHNfU.js → form-text-input-XjloVwBd.js} +2 -2
  56. package/dist/assets/{fuel-BPg61IpB.js → fuel-IaJHNPPW.js} +1 -1
  57. package/dist/assets/{gen-access-key-B-PvqBv6.js → gen-access-key-BJlDqEhI.js} +1 -1
  58. package/dist/assets/gen-simple-access-key-lyiUw0C-.js +1 -0
  59. package/dist/assets/get-safe-url-BiNPujaX.js +1 -0
  60. package/dist/assets/google-icon-vNOJy67F.js +1 -0
  61. package/dist/assets/{home-CT38dHBL.js → home-Bs_5YPbK.js} +1 -1
  62. package/dist/assets/{iframe-D119MMHU.js → iframe-Dqu4MSyW.js} +1 -1
  63. package/dist/assets/{index-BpWFE-ry.js → index-1HKgA-fz.js} +1 -1
  64. package/dist/assets/{index-CSCCjNba.js → index-B10SG1vs.js} +1 -1
  65. package/dist/assets/{index-sBtfsjBo.js → index-B4KKUWng.js} +2 -2
  66. package/dist/assets/{index-bCC4mzZc.js → index-B4YCnemd.js} +1 -1
  67. package/dist/assets/index-B6DWjLJS.js +281 -0
  68. package/dist/assets/{index-DSVwCr5p.js → index-B7_VUEoc.js} +2 -2
  69. package/dist/assets/index-B9LF8Bep.js +1 -0
  70. package/dist/assets/index-BDH_LtJL.js +1 -0
  71. package/dist/assets/{index-CGrk0HiP.js → index-BGhqVqit.js} +1 -1
  72. package/dist/assets/{index-DdojJXSn.js → index-BNhv-9xy.js} +3 -3
  73. package/dist/assets/{index-BNAs76qj.js → index-BSZtxRM0.js} +2 -2
  74. package/dist/assets/{index-BWCHnVga.js → index-BWDWEkUF.js} +1 -1
  75. package/dist/assets/{index-TzwTiNQ7.js → index-BWL6HE0j.js} +1 -1
  76. package/dist/assets/{index-E4Hos_Sx.js → index-B_SjLIbT.js} +7 -7
  77. package/dist/assets/{index-D1f4dwYF.js → index-BhhZ8IDZ.js} +13 -13
  78. package/dist/assets/{index-arhRQhsc.js → index-BkePHcyK.js} +9 -9
  79. package/dist/assets/{index-CfA9D2iF.js → index-BmXPp3DU.js} +1 -1
  80. package/dist/assets/{index-D1SIrheh.js → index-BsohFwTm.js} +1 -1
  81. package/dist/assets/index-CI_uwh_J.js +81 -0
  82. package/dist/assets/index-CQgzjKgB.js +1039 -0
  83. package/dist/assets/{index-8bzrOXqv.js → index-CRZM3CKo.js} +2 -2
  84. package/dist/assets/index-CbiyJRV7.js +1 -0
  85. package/dist/assets/{index-VaUGnCuU.js → index-Cp0b8q3A.js} +1 -1
  86. package/dist/assets/{index-BcIeEF3v.js → index-Cq6z7yeF.js} +4 -4
  87. package/dist/assets/index-DT5AXPVB.js +200 -0
  88. package/dist/assets/{index-DGbr3NAq.js → index-DctZHPFL.js} +1 -1
  89. package/dist/assets/{index-uODjznr3.js → index-Dfx19arA.js} +6 -6
  90. package/dist/assets/index-DhHvANH8.js +93 -0
  91. package/dist/assets/index-DrCTi6nm.css +1 -0
  92. package/dist/assets/{index-DoDx-vpV.js → index-G6Vk78zE.js} +3 -3
  93. package/dist/assets/{index-OTENuoZ0.js → index-TYwJnR0n.js} +23 -23
  94. package/dist/assets/{index-CIC0R_Qc.js → index-dbYkWwF4.js} +1 -1
  95. package/dist/assets/index-vP1T6V7V.js +120 -0
  96. package/dist/assets/info-outline-rounded-BIwvgXCK.js +1 -0
  97. package/dist/assets/invitation-CYFN9u5t.js +177 -0
  98. package/dist/assets/invitations-jY13RXbI.js +3 -0
  99. package/dist/assets/{invite-uHE_P5fP.js → invite-D72FvaiG.js} +1 -1
  100. package/dist/assets/{isURL-CRZ7iI7F.js → isURL-CJRImg0N.js} +2 -2
  101. package/dist/assets/issue-passport-BfqkJF3W.js +1 -0
  102. package/dist/assets/{item-BJSHAMwK.js → item-5ZWPft2s.js} +1 -1
  103. package/dist/assets/landing-page-DRtId3hN.js +1 -0
  104. package/dist/assets/{layout-D9M0eiNw.js → layout-Be1KH57_.js} +1 -1
  105. package/dist/assets/{list-DVUI92a2.js → list-CHI1rCEg.js} +3 -3
  106. package/dist/assets/list-CQtiNSih.js +2 -0
  107. package/dist/assets/localization-CKE-bHgd.js +1 -0
  108. package/dist/assets/lock.svg-CiT4rEpi.js +1 -0
  109. package/dist/assets/{log-DbdNMVuv.js → log-BfCFT05M.js} +1 -1
  110. package/dist/assets/logger-DU7baop2.js +1 -0
  111. package/dist/assets/login-BtsH3IvI.js +1 -0
  112. package/dist/assets/{login-oauth-callback-RLp-7ubu.js → login-oauth-callback-Ds4uYiRr.js} +1 -1
  113. package/dist/assets/{logo-uploader-BFMnNkRn.js → logo-uploader-lepUW_D7.js} +3 -3
  114. package/dist/assets/{lost-passport-CB5SFq30.js → lost-passport-BtN3h1ya.js} +2 -2
  115. package/dist/assets/omit-CCIQ0Qdi.js +1 -0
  116. package/dist/assets/{open-window-xMdq1GjU.js → open-window-CNt8gsrN.js} +1 -1
  117. package/dist/assets/{over-due-invoice-payment-DvKFY6t9.js → over-due-invoice-payment-7TbnqqKX.js} +1 -1
  118. package/dist/assets/{overview-DNVfcZQO.js → overview-Be3tncsL.js} +3 -3
  119. package/dist/assets/passport-CkJ4B4CG.js +1 -0
  120. package/dist/assets/passport-item-Bhbm8_m6.js +1 -0
  121. package/dist/assets/{permission-C0rLyhnq.js → permission-BHvrn0M5.js} +1 -1
  122. package/dist/assets/preferences-TFWtUYLy.js +1 -0
  123. package/dist/assets/profile-embed-B9f9hlSS.js +1 -0
  124. package/dist/assets/provider-icon-DQY2_LaP.js +1 -0
  125. package/dist/assets/publish-resource-CyvkVMG_.js +1 -0
  126. package/dist/assets/question-mark-circle.svg-GhTaklFN.js +1 -0
  127. package/dist/assets/{react-beautiful-dnd.esm-BZjy3RlT.js → react-beautiful-dnd.esm-D0JKrMDl.js} +4 -4
  128. package/dist/assets/revoke.svg-DUoaRyPZ.js +1 -0
  129. package/dist/assets/runtime-npJC4gp_.js +1 -0
  130. package/dist/assets/{sanitize-yVk8VEIO.js → sanitize-C-shWbtD.js} +1 -1
  131. package/dist/assets/sdk-CoWDgSLO.js +1 -0
  132. package/dist/assets/security-nSKpCl8B.js +22 -0
  133. package/dist/assets/server-logo-notext.svg-BLAdvsmP.js +1 -0
  134. package/dist/assets/{session-5s-U-ruq.js → session-C2ZBRIpv.js} +1 -1
  135. package/dist/assets/{setup-DgF_JFoX.js → setup-krkSJpAg.js} +1 -1
  136. package/dist/assets/simple-select-i16Vwzvl.js +1 -0
  137. package/dist/assets/{spaces-BE9CZzeJ.js → spaces-BdZ_Rv3s.js} +1 -1
  138. package/dist/assets/start-y3zrboBQ.js +187 -0
  139. package/dist/assets/{starting-progress-MyalFKYG.js → starting-progress-DI-J-VlX.js} +2 -2
  140. package/dist/assets/status-B8pB_mTB.js +1 -0
  141. package/dist/assets/{step-actions-X2c_czAD.js → step-actions-B1ufIDaK.js} +1 -1
  142. package/dist/assets/{studio-BcQoXvqZ.js → studio-1jwq0HOw.js} +1 -1
  143. package/dist/assets/{switch-BjA8SIAh.js → switch-CetbUrYR.js} +1 -1
  144. package/dist/assets/{switch-control-D2RiXLWV.js → switch-control-_85hc9FG.js} +1 -1
  145. package/dist/assets/{table-tips-Dgzi4H1y.js → table-tips-CMt22HEy.js} +1 -1
  146. package/dist/assets/team-DDjNXwXE.js +146 -0
  147. package/dist/assets/{traffic-CvgJe_3z.js → traffic-mcbpWOFq.js} +1 -1
  148. package/dist/assets/transfer-C66c3bWd.js +16 -0
  149. package/dist/assets/unsubscribe-Cvz0OKhq.js +1 -0
  150. package/dist/assets/{use-app-logo-Cfo-T8ZY.js → use-app-logo-BuyF983S.js} +1 -1
  151. package/dist/assets/use-server-logo-Pbr_UuiI.js +1 -0
  152. package/dist/assets/{use-window-close-4WCUBrSc.js → use-window-close-B16QghYq.js} +1 -1
  153. package/dist/assets/{useAsync-DVl73fmG.js → useAsync-BVTh1KYj.js} +1 -1
  154. package/dist/assets/{useAsync-Dotoxibi.js → useAsync-ZGLJQow7.js} +1 -1
  155. package/dist/assets/{useAsyncRetry-r8dEPb-x.js → useAsyncRetry-BMmRgSGm.js} +1 -1
  156. package/dist/assets/{useLocalStorage-Cl1rEjxs.js → useLocalStorage-De-EuH_M.js} +1 -1
  157. package/dist/assets/user-center-DQSoqc_z.js +125 -0
  158. package/dist/assets/user-follower-TTyja_sV.js +32 -0
  159. package/dist/assets/{util-CDBgZOAd.js → util-DuMKfKo8.js} +1 -1
  160. package/dist/assets/{util-BNGEGQGN.js → util-Ff3hwYmy.js} +1 -1
  161. package/dist/assets/{vendor-arcblock-B1iA4v4a.js → vendor-arcblock-Cnwtqa7s.js} +19 -19
  162. package/dist/assets/{vendor-hooks-qxhUUbW5.js → vendor-hooks-BQWlJm53.js} +2 -2
  163. package/dist/assets/{vendor-utils-CxWN1dT3.js → vendor-utils-DCMKu06e.js} +3 -3
  164. package/dist/assets/{vendor-ux-jvAfFAl1.js → vendor-ux-B0gV9NvH.js} +92 -95
  165. package/dist/assets/{wait-connect-VFnD4S6k.js → wait-connect-CRZmfXOA.js} +1 -1
  166. package/dist/assets/{wizard-D6nEp8xR.js → wizard-B41kI39b.js} +1 -1
  167. package/dist/assets/{wizard-components-CQAhuCn-.js → wizard-components-Bn72hVOe.js} +2 -2
  168. package/dist/assets/wrap-locale-CF46rj6q.js +1 -0
  169. package/dist/assets/{zh-LGxmNDus.js → zh-BmX_fuoi.js} +1 -1
  170. package/dist/index.html +2 -2
  171. package/package.json +46 -46
  172. package/dist/assets/Community-CELsDteM.js +0 -1
  173. package/dist/assets/Holiday-DOCjSYjH.js +0 -1
  174. package/dist/assets/Meeting-BAXt_LiK.js +0 -1
  175. package/dist/assets/OffSick-BGEr8Nkc.js +0 -1
  176. package/dist/assets/WorkingRemotely-BcneAIXG.js +0 -1
  177. package/dist/assets/addon-DckWyYy3.js +0 -14
  178. package/dist/assets/advanced-BcLdGbJh.js +0 -14
  179. package/dist/assets/api-FQQlzPOP.js +0 -1
  180. package/dist/assets/arrow-down.svg-C4FUKwt4.js +0 -1
  181. package/dist/assets/base32-BPZDlXZz.js +0 -1
  182. package/dist/assets/bind-account-DtN3r3bu.js +0 -1
  183. package/dist/assets/branding-Aq4o2tjp.js +0 -1
  184. package/dist/assets/button-D6aVYj2n.js +0 -1
  185. package/dist/assets/cloneDeep-C2rlAYcK.js +0 -1
  186. package/dist/assets/config-n9Go4CIg.js +0 -53
  187. package/dist/assets/config-space-DNGDnW7P.js +0 -1
  188. package/dist/assets/connect-B84DSta0.js +0 -1
  189. package/dist/assets/connect-CmaOf6IU.js +0 -5
  190. package/dist/assets/createClass-DXSToV70.js +0 -1
  191. package/dist/assets/did-address-B3eXeL7H.js +0 -1
  192. package/dist/assets/domains-BmgTqdar.js +0 -1
  193. package/dist/assets/edit.svg-RRSklUg-.js +0 -1
  194. package/dist/assets/email-0rfuUid8.js +0 -17
  195. package/dist/assets/engine-D-_cbl3F.js +0 -1
  196. package/dist/assets/exchange-passport-DtpDKfXH.js +0 -1
  197. package/dist/assets/gen-simple-access-key-BRpJnjDR.js +0 -1
  198. package/dist/assets/get-safe-url-xl2OarvZ.js +0 -1
  199. package/dist/assets/index-BMtr5-CV.js +0 -1
  200. package/dist/assets/index-BODmBNkm.js +0 -200
  201. package/dist/assets/index-C6oxUE_X.js +0 -281
  202. package/dist/assets/index-DUo9jXH_.js +0 -81
  203. package/dist/assets/index-DcjD74XY.js +0 -1
  204. package/dist/assets/index-DrVXX4fX.css +0 -1
  205. package/dist/assets/index-NWCpUGtr.js +0 -1039
  206. package/dist/assets/index-TG3kf9io.js +0 -120
  207. package/dist/assets/index-tfYDa2i6.js +0 -93
  208. package/dist/assets/invitation-CVulfNR5.js +0 -177
  209. package/dist/assets/invitations-CuhR5Qhr.js +0 -3
  210. package/dist/assets/issue-passport-CgdZdVEa.js +0 -1
  211. package/dist/assets/landing-page-Bu1ZaLGu.js +0 -1
  212. package/dist/assets/list-BYNjj68R.js +0 -2
  213. package/dist/assets/localization-CZX-M3IK.js +0 -1
  214. package/dist/assets/lock.svg-BgybwZNe.js +0 -1
  215. package/dist/assets/logger-Biwe4SzB.js +0 -1
  216. package/dist/assets/login-DUYsZ42N.js +0 -1
  217. package/dist/assets/omit-spWLSLbo.js +0 -1
  218. package/dist/assets/passport-BNRZfcVH.js +0 -1
  219. package/dist/assets/passport-item-Bf_kXmId.js +0 -1
  220. package/dist/assets/preferences-XGJx_7ht.js +0 -1
  221. package/dist/assets/profile-embed-DROgyynT.js +0 -1
  222. package/dist/assets/publish-resource-C3tnQoPG.js +0 -1
  223. package/dist/assets/question-mark-circle.svg-CByEVDhb.js +0 -1
  224. package/dist/assets/revoke.svg-CNl4LAbv.js +0 -1
  225. package/dist/assets/runtime-DiEn6rZ9.js +0 -1
  226. package/dist/assets/sdk-C45BrgFy.js +0 -1
  227. package/dist/assets/security-Ch3TxRbd.js +0 -22
  228. package/dist/assets/server-logo-notext.svg-xZ-i1SpD.js +0 -1
  229. package/dist/assets/simple-select-EppOca29.js +0 -1
  230. package/dist/assets/start-D6EkscL8.js +0 -187
  231. package/dist/assets/status-vSa6pwrP.js +0 -1
  232. package/dist/assets/team-D9lFN8Pe.js +0 -146
  233. package/dist/assets/transfer-IRaap94c.js +0 -16
  234. package/dist/assets/unsubscribe-7WUPZn-b.js +0 -1
  235. package/dist/assets/use-server-logo-Cv1kAPgB.js +0 -1
  236. package/dist/assets/user-center-BoGQKLvn.js +0 -125
  237. package/dist/assets/user-follower-D8NzTP2C.js +0 -32
  238. package/dist/assets/wrap-locale-qgV7mOv6.js +0 -1
@@ -8,12 +8,12 @@ import{p as Ar}from"./vendor-react-CTtPmzVP.js";var Va=9007199254740991,Ka=Math.
8
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(u=>n.set(u)),n}static accessor(t){const n=(this[ho]=this[ho]={accessors:{}}).accessors,u=this.prototype;function o(d){const b=Qt(d);n[b]||(Op(u,d),n[b]=!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 _n(e,t){const r=this||dr,n=t||r,u=Qe.from(n.headers);let o=n.data;return ee.forEach(e,function(b){o=b.call(r,o,u.normalize(),t?t.status:void 0)}),u.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 u=0,o=0,d;return t=t!==void 0?t:1e3,function(B){const E=Date.now(),p=n[o];d||(d=E),r[u]=B,n[u]=E;let F=o,q=0;for(;F!==u;)q+=r[F++],F=F%e;if(u=(u+1)%e,u===o&&(o=(o+1)%e),E-d<t)return;const Q=p&&E-p;return Q?Math.round(q*1e3/Q):void 0}}function $p(e,t){let r=0,n=1e3/t,u,o;const d=(E,p=Date.now())=>{r=p,u=null,o&&(clearTimeout(o),o=null),e(...E)};return[(...E)=>{const p=Date.now(),F=p-r;F>=n?d(E,p):(u=E,o||(o=setTimeout(()=>{o=null,d(u)},n-F)))},()=>u&&d(u)]}const Cr=(e,t,r=3)=>{let n=0;const u=Cp(50,250);return $p(o=>{const d=o.loaded,b=o.lengthComputable?o.total:void 0,B=d-n,E=u(B),p=d<=b;n=d;const F={loaded:d,total:b,progress:b?d/b:void 0,bytes:B,rate:E||void 0,estimated:E&&b&&p?(b-d)/E:void 0,event:o,lengthComputable:b!=null,[t?"download":"upload"]:!0};e(F)},r)},po=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},go=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,u,o,d){if(typeof document>"u")return;const b=[`${e}=${encodeURIComponent(t)}`];ee.isNumber(r)&&b.push(`expires=${new Date(r).toUTCString()}`),ee.isString(n)&&b.push(`path=${n}`),ee.isString(u)&&b.push(`domain=${u}`),o===!0&&b.push("secure"),ee.isString(d)&&b.push(`SameSite=${d}`),document.cookie=b.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 mo=e=>e instanceof Qe?{...e}:e;function At(e,t){t=t||{};const r={};function n(E,p,F,q){return ee.isPlainObject(E)&&ee.isPlainObject(p)?ee.merge.call({caseless:q},E,p):ee.isPlainObject(p)?ee.merge({},p):ee.isArray(p)?p.slice():p}function u(E,p,F,q){if(ee.isUndefined(p)){if(!ee.isUndefined(E))return n(void 0,E,F,q)}else return n(E,p,F,q)}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 b(E,p,F){if(F in t)return n(E,p);if(F in e)return n(void 0,E)}const B={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:b,headers:(E,p,F)=>u(mo(E),mo(p),F,!0)};return ee.forEach(Object.keys({...e,...t}),function(p){const F=B[p]||u,q=F(e[p],t[p],p);ee.isUndefined(q)&&F!==b||(r[p]=q)}),r}const fa=e=>{const t=At({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:u,xsrfCookieName:o,headers:d,auth:b}=t;if(t.headers=d=Qe.from(d),t.url=na(ua(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),b&&d.set("Authorization","Basic "+btoa((b.username||"")+":"+(b.password?unescape(encodeURIComponent(b.password)):""))),ee.isFormData(r)){if(Ye.hasStandardBrowserEnv||Ye.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if(ee.isFunction(r.getHeaders)){const B=r.getHeaders(),E=["content-type","content-length"];Object.entries(B).forEach(([p,F])=>{E.includes(p.toLowerCase())&&d.set(p,F)})}}if(Ye.hasStandardBrowserEnv&&(n&&ee.isFunction(n)&&(n=n(t)),n||n!==!1&&Fp(t.url))){const B=u&&o&&Rp.read(o);B&&d.set(u,B)}return t},Up=typeof XMLHttpRequest<"u",Pp=Up&&function(e){return new Promise(function(r,n){const u=fa(e);let o=u.data;const d=Qe.from(u.headers).normalize();let{responseType:b,onUploadProgress:B,onDownloadProgress:E}=u,p,F,q,Q,W;function oe(){Q&&Q(),W&&W(),u.cancelToken&&u.cancelToken.unsubscribe(p),u.signal&&u.signal.removeEventListener("abort",p)}let J=new XMLHttpRequest;J.open(u.method.toUpperCase(),u.url,!0),J.timeout=u.timeout;function he(){if(!J)return;const se=Qe.from("getAllResponseHeaders"in J&&J.getAllResponseHeaders()),fe={data:!b||b==="text"||b==="json"?J.responseText:J.response,status:J.status,statusText:J.statusText,headers:se,config:e,request:J};aa(function(z){r(z),oe()},function(z){n(z),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",Y=new Ce(fe,Ce.ERR_NETWORK,e,J);Y.event=ce||null,n(Y),J=null},J.ontimeout=function(){let ce=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const fe=u.transitional||ia;u.timeoutErrorMessage&&(ce=u.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(u.withCredentials)||(J.withCredentials=!!u.withCredentials),b&&b!=="json"&&(J.responseType=u.responseType),E&&([q,W]=Cr(E,!0),J.addEventListener("progress",q)),B&&J.upload&&([F,Q]=Cr(B),J.upload.addEventListener("progress",F),J.upload.addEventListener("loadend",Q)),(u.cancelToken||u.signal)&&(p=se=>{J&&(n(!se||se.type?new Yt(null,e,J):se),J.abort(),J=null)},u.cancelToken&&u.cancelToken.subscribe(p),u.signal&&(u.signal.aborted?p():u.signal.addEventListener("abort",p)));const te=Tp(u.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,u;const o=function(E){if(!u){u=!0,b();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 b=()=>{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:B}=n;return B.unsubscribe=()=>ee.asap(b),B}},Dp=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,u;for(;n<r;)u=n+t,yield e.slice(n,u),n=u},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()}},yo=(e,t,r,n)=>{const u=jp(e,t);let o=0,d,b=B=>{d||(d=!0,n&&n(B))};return new ReadableStream({async pull(B){try{const{done:E,value:p}=await u.next();if(E){b(),B.close();return}let F=p.byteLength;if(r){let q=o+=F;r(q)}B.enqueue(new Uint8Array(p))}catch(E){throw b(E),E}},cancel(B){return b(B),u.return()}},{highWaterMark:2})},wo=64*1024,{isFunction:wr}=ee,qp=(({Request:e,Response:t})=>({Request:e,Response:t}))(ee.global),{ReadableStream:vo,TextEncoder:xo}=ee.global,bo=(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,u=t?wr(t):typeof fetch=="function",o=wr(r),d=wr(n);if(!u)return!1;const b=u&&wr(vo),B=u&&(typeof xo=="function"?(W=>oe=>W.encode(oe))(new xo):async W=>new Uint8Array(await new r(W).arrayBuffer())),E=o&&b&&bo(()=>{let W=!1;const oe=new r(Ye.origin,{body:new vo,method:"POST",get duplex(){return W=!0,"half"}}).headers.has("Content-Type");return W&&!oe}),p=d&&b&&bo(()=>ee.isReadableStream(new n("").body)),F={stream:p&&(W=>W.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(W=>{!F[W]&&(F[W]=(oe,J)=>{let he=oe&&oe[W];if(he)return he.call(oe);throw new Ce(`Response type '${W}' is not supported`,Ce.ERR_NOT_SUPPORT,J)})});const q=async W=>{if(W==null)return 0;if(ee.isBlob(W))return W.size;if(ee.isSpecCompliantForm(W))return(await new r(Ye.origin,{method:"POST",body:W}).arrayBuffer()).byteLength;if(ee.isArrayBufferView(W)||ee.isArrayBuffer(W))return W.byteLength;if(ee.isURLSearchParams(W)&&(W=W+""),ee.isString(W))return(await B(W)).byteLength},Q=async(W,oe)=>{const J=ee.toFiniteNumber(W.getContentLength());return J??q(oe)};return async W=>{let{url:oe,method:J,data:he,signal:te,cancelToken:se,timeout:ce,onDownloadProgress:fe,onUploadProgress:Y,responseType:z,headers:ae,withCredentials:de="same-origin",fetchOptions:ne}=fa(W),A=t||fetch;z=z?(z+"").toLowerCase():"text";let i=Lp([te,se&&se.toAbortSignal()],ce),h=null;const g=i&&i.unsubscribe&&(()=>{i.unsubscribe()});let m;try{if(Y&&E&&J!=="get"&&J!=="head"&&(m=await Q(ae,he))!==0){let S=new r(oe,{method:"POST",body:he,duplex:"half"}),ue;if(ee.isFormData(he)&&(ue=S.headers.get("content-type"))&&ae.setContentType(ue),S.body){const[pe,D]=po(m,Cr(go(Y)));he=yo(S.body,wo,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 $=await(o?A(h,ne):A(oe,T));const M=p&&(z==="stream"||z==="response");if(p&&(fe||M&&g)){const S={};["status","statusText","headers"].forEach(me=>{S[me]=$[me]});const ue=ee.toFiniteNumber($.headers.get("content-length")),[pe,D]=fe&&po(ue,Cr(go(fe),!0))||[];$=new n(yo($.body,wo,pe,()=>{D&&D(),g&&g()}),S)}z=z||"text";let f=await F[ee.findKey(F,z)||"text"]($,W);return!M&&g&&g(),await new Promise((S,ue)=>{aa(S,ue,{data:f,headers:Qe.from($.headers),status:$.status,statusText:$.statusText,config:W,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,W,h),{cause:v.cause||v}):Ce.from(v,v&&v.code,W,h)}}},Hp=new Map,la=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:u}=t,o=[n,u,r];let d=o.length,b=d,B,E,p=Hp;for(;b--;)B=o[b],E=p.get(B),E===void 0&&p.set(B,E=b?new Map:zp(t)),p=E;return E};la();const bi={http:ap,xhr:Pp,fetch:{get:la}};ee.forEach(bi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Eo=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,u;const o={};for(let d=0;d<r;d++){n=e[d];let b;if(u=n,!Gp(n)&&(u=bi[(b=String(n)).toLowerCase()],u===void 0))throw new Ce(`Unknown adapter '${b}'`);if(u&&(ee.isFunction(u)||(u=u.get(t))))break;o[b||"#"+d]=u}if(!u){const d=Object.entries(o).map(([B,E])=>`adapter ${B} `+(E===!1?"is not supported by the environment":"is not available in the build"));let b=r?d.length>1?`since :
9
9
  `+d.map(Eo).join(`
10
10
  `):" "+Eo(d[0]):"as no adapter specified";throw new Ce("There is no suitable adapter to dispatch the request "+b,"ERR_NOT_SUPPORT")}return u}const ca={getAdapter:Wp,adapters:bi};function Sn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yt(null,e)}function Mo(e){return Sn(e),e.headers=Qe.from(e.headers),e.data=_n.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ca.getAdapter(e.adapter||dr.adapter,e)(e).then(function(n){return Sn(e),n.data=_n.call(e,e.transformResponse,n),n.headers=Qe.from(n.headers),n},function(n){return sa(n)||(Sn(e),n&&n.response&&(n.response.data=_n.call(e,e.transformResponse,n.response),n.response.headers=Qe.from(n.response.headers))),Promise.reject(n)})}const ha="1.13.2",Vr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Vr[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const _o={};Vr.transitional=function(t,r,n){function u(o,d){return"[Axios v"+ha+"] Transitional option '"+o+"'"+d+(n?". "+n:"")}return(o,d,b)=>{if(t===!1)throw new Ce(u(d," has been removed"+(r?" in "+r:"")),Ce.ERR_DEPRECATED);return r&&!_o[d]&&(_o[d]=!0,console.warn(u(d," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,d,b):!0}};Vr.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 u=n.length;for(;u-- >0;){const o=n[u],d=t[o];if(d){const b=e[o],B=b===void 0||d(b,o,e);if(B!==!0)throw new Ce("option "+o+" must be "+B,Ce.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ce("Unknown option "+o,Ce.ERR_BAD_OPTION)}}const Sr={assertOptions:Zp,validators:Vr},lt=Sr.validators;let St=class{constructor(t){this.defaults=t||{},this.interceptors={request:new co,response:new co}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const o=u.stack?u.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=At(this.defaults,r);const{transitional:n,paramsSerializer:u,headers:o}=r;n!==void 0&&Sr.assertOptions(n,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),u!=null&&(ee.isFunction(u)?r.paramsSerializer={serialize:u}:Sr.assertOptions(u,{encode:lt.function,serialize:lt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Sr.assertOptions(r,{baseUrl:lt.spelling("baseURL"),withXsrfToken:lt.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"],W=>{delete o[W]}),r.headers=Qe.concat(d,o);const b=[];let B=!0;this.interceptors.request.forEach(function(oe){typeof oe.runWhen=="function"&&oe.runWhen(r)===!1||(B=B&&oe.synchronous,b.unshift(oe.fulfilled,oe.rejected))});const E=[];this.interceptors.response.forEach(function(oe){E.push(oe.fulfilled,oe.rejected)});let p,F=0,q;if(!B){const W=[Mo.bind(this),void 0];for(W.unshift(...b),W.push(...E),q=W.length,p=Promise.resolve(r);F<q;)p=p.then(W[F++],W[F++]);return p}q=b.length;let Q=r;for(;F<q;){const W=b[F++],oe=b[F++];try{Q=W(Q)}catch(J){oe.call(this,J);break}}try{p=Mo.call(this,Q)}catch(W){return Promise.reject(W)}for(F=0,q=E.length;F<q;)p=p.then(E[F++],E[F++]);return p}getUri(t){t=At(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(At(n||{},{method:t,url:r,data:(n||{}).data}))}});ee.forEach(["post","put","patch"],function(t){function r(n){return function(o,d,b){return this.request(At(b||{},{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(u=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](u);n._listeners=null}),this.promise.then=u=>{let o;const d=new Promise(b=>{n.subscribe(b),o=b}).then(u);return d.cancel=function(){n.unsubscribe(o)},d},t(function(o,d,b){n.reason||(n.reason=new Yt(o,d,b),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(u){t=u}),cancel:t}}};function Vp(e){return function(r){return e.apply(null,r)}}function Kp(e){return ee.isObject(e)&&e.isAxiosError===!0}const Vn={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(Vn).forEach(([e,t])=>{Vn[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(u){return pa(At(e,u))},r}const Je=pa(dr);Je.Axios=St;Je.CanceledError=Yt;Je.CancelToken=Jp;Je.isCancel=sa;Je.VERSION=ha;Je.toFormData=Jr;Je.AxiosError=Ce;Je.Cancel=Je.CanceledError;Je.all=function(t){return Promise.all(t)};Je.spread=Vp;Je.isAxiosError=Kp;Je.mergeConfig=At;Je.AxiosHeaders=Qe;Je.formToJSON=e=>oa(ee.isHTMLForm(e)?new FormData(e):e);Je.getAdapter=ca.getAdapter;Je.HttpStatusCode=Vn;Je.default=Je;const{Axios:Ry,AxiosError:Iy,CanceledError:Ny,isCancel:Uy,CancelToken:Py,VERSION:Ly,all:Dy,Cancel:jy,isAxiosError:ky,spread:qy,toFormData:zy,AxiosHeaders:Hy,HttpStatusCode:Gy,formToJSON:Wy,getAdapter:Zy,mergeConfig:Jy}=Je;var Yp="[object Number]";function Xp(e){return typeof e=="number"||et(e)&&ut(e)==Yp}const Vy=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 Ky=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 Yy=Object.freeze(Object.defineProperty({__proto__:null,default:r1},Symbol.toStringTag,{value:"Module"}));function n1(e){return function(t){t=tt(t);var r=Rr(t)?Pt(t):void 0,n=r?r[0]:t.charAt(0),u=r?Fr(r,1).join(""):t.slice(1);return n[e]()+u}}var ga=n1("toUpperCase");const Xy=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 u=-1,o=e==null?0:e.length;++u<o;)r=t(r,e[u],u,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="['’]",So="["+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]",Rt="["+xa+"]",I1="\\u200d",Bo="(?:"+_a+"|"+Sa+")",N1="(?:"+Rt+"|"+Sa+")",Ao="(?:"+Ea+"(?:d|ll|m|re|s|t|ve))?",Oo="(?:"+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([Rt+"?"+_a+"+"+Ao+"(?="+[So,Rt,"$"].join("|")+")",N1+"+"+Oo+"(?="+[So,Rt+Bo,"$"].join("|")+")",Rt+"?"+Bo+"+"+Ao,Rt+"+"+Oo,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 Qy=Object.freeze(Object.defineProperty({__proto__:null,default:Z1},Symbol.toStringTag,{value:"Module"}));function J1(e){return e===null}const ew=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?Yn(e):0;return t&&n<t?e+is(t-n,r):e}const tw=Object.freeze(Object.defineProperty({__proto__:null,default:V1},Symbol.toStringTag,{value:"Module"}));var Br={exports:{}},Bn={},To;function K1(){return To||(To=1,function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},r={};r.byteLength=p,r.toByteArray=q,r.fromByteArray=oe;for(var n=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,B=d.length;b<B;++b)n[b]=d[b],u[d.charCodeAt(b)]=b;u[45]=62,u[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 F(te,se,ce){return(se+ce)*3/4-ce}function q(te){var se,ce=E(te),fe=ce[0],Y=ce[1],z=new o(F(te,fe,Y)),ae=0,de=Y>0?fe-4:fe,ne;for(ne=0;ne<de;ne+=4)se=u[te.charCodeAt(ne)]<<18|u[te.charCodeAt(ne+1)]<<12|u[te.charCodeAt(ne+2)]<<6|u[te.charCodeAt(ne+3)],z[ae++]=se>>16&255,z[ae++]=se>>8&255,z[ae++]=se&255;return Y===2&&(se=u[te.charCodeAt(ne)]<<2|u[te.charCodeAt(ne+1)]>>4,z[ae++]=se&255),Y===1&&(se=u[te.charCodeAt(ne)]<<10|u[te.charCodeAt(ne+1)]<<4|u[te.charCodeAt(ne+2)]>>2,z[ae++]=se>>8&255,z[ae++]=se&255),z}function Q(te){return n[te>>18&63]+n[te>>12&63]+n[te>>6&63]+n[te&63]}function W(te,se,ce){for(var fe,Y=[],z=se;z<ce;z+=3)fe=(te[z]<<16&16711680)+(te[z+1]<<8&65280)+(te[z+2]&255),Y.push(Q(fe));return Y.join("")}function oe(te){for(var se,ce=te.length,fe=ce%3,Y=[],z=16383,ae=0,de=ce-fe;ae<de;ae+=z)Y.push(W(te,ae,ae+z>de?de:ae+z));return fe===1?(se=te[ce-1],Y.push(n[se>>2]+n[se<<4&63]+"==")):fe===2&&(se=(te[ce-2]<<8)+te[ce-1],Y.push(n[se>>10]+n[se>>4&63]+n[se<<2&63]+"=")),Y.join("")}var J={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */J.read=function(te,se,ce,fe,Y){var z,ae,de=Y*8-fe-1,ne=(1<<de)-1,A=ne>>1,i=-7,h=ce?Y-1:0,g=ce?-1:1,m=te[se+h];for(h+=g,z=m&(1<<-i)-1,m>>=-i,i+=de;i>0;z=z*256+te[se+h],h+=g,i-=8);for(ae=z&(1<<-i)-1,z>>=-i,i+=fe;i>0;ae=ae*256+te[se+h],h+=g,i-=8);if(z===0)z=1-A;else{if(z===ne)return ae?NaN:(m?-1:1)*(1/0);ae=ae+Math.pow(2,fe),z=z-A}return(m?-1:1)*ae*Math.pow(2,z-fe)},J.write=function(te,se,ce,fe,Y,z){var ae,de,ne,A=z*8-Y-1,i=(1<<A)-1,h=i>>1,g=Y===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=fe?0:z-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,Y),ae=ae+h):(de=se*Math.pow(2,h-1)*Math.pow(2,Y),ae=0));Y>=8;te[ce+m]=de&255,m+=v,de/=256,Y-=8);for(ae=ae<<Y|de,A+=Y;A>0;te[ce+m]=ae&255,m+=v,ae/=256,A-=8);te[ce+m-v]|=T*128};/*!
11
+ `+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=At(this.defaults,r);const{transitional:n,paramsSerializer:u,headers:o}=r;n!==void 0&&Sr.assertOptions(n,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),u!=null&&(ee.isFunction(u)?r.paramsSerializer={serialize:u}:Sr.assertOptions(u,{encode:lt.function,serialize:lt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Sr.assertOptions(r,{baseUrl:lt.spelling("baseURL"),withXsrfToken:lt.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"],W=>{delete o[W]}),r.headers=Qe.concat(d,o);const b=[];let B=!0;this.interceptors.request.forEach(function(oe){typeof oe.runWhen=="function"&&oe.runWhen(r)===!1||(B=B&&oe.synchronous,b.unshift(oe.fulfilled,oe.rejected))});const E=[];this.interceptors.response.forEach(function(oe){E.push(oe.fulfilled,oe.rejected)});let p,F=0,q;if(!B){const W=[Mo.bind(this),void 0];for(W.unshift(...b),W.push(...E),q=W.length,p=Promise.resolve(r);F<q;)p=p.then(W[F++],W[F++]);return p}q=b.length;let Q=r;for(;F<q;){const W=b[F++],oe=b[F++];try{Q=W(Q)}catch(J){oe.call(this,J);break}}try{p=Mo.call(this,Q)}catch(W){return Promise.reject(W)}for(F=0,q=E.length;F<q;)p=p.then(E[F++],E[F++]);return p}getUri(t){t=At(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(At(n||{},{method:t,url:r,data:(n||{}).data}))}});ee.forEach(["post","put","patch"],function(t){function r(n){return function(o,d,b){return this.request(At(b||{},{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(u=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](u);n._listeners=null}),this.promise.then=u=>{let o;const d=new Promise(b=>{n.subscribe(b),o=b}).then(u);return d.cancel=function(){n.unsubscribe(o)},d},t(function(o,d,b){n.reason||(n.reason=new Yt(o,d,b),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(u){t=u}),cancel:t}}};function Vp(e){return function(r){return e.apply(null,r)}}function Kp(e){return ee.isObject(e)&&e.isAxiosError===!0}const Vn={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(Vn).forEach(([e,t])=>{Vn[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(u){return pa(At(e,u))},r}const Je=pa(dr);Je.Axios=St;Je.CanceledError=Yt;Je.CancelToken=Jp;Je.isCancel=sa;Je.VERSION=ha;Je.toFormData=Jr;Je.AxiosError=Ce;Je.Cancel=Je.CanceledError;Je.all=function(t){return Promise.all(t)};Je.spread=Vp;Je.isAxiosError=Kp;Je.mergeConfig=At;Je.AxiosHeaders=Qe;Je.formToJSON=e=>oa(ee.isHTMLForm(e)?new FormData(e):e);Je.getAdapter=ca.getAdapter;Je.HttpStatusCode=Vn;Je.default=Je;const{Axios:Ry,AxiosError:Iy,CanceledError:Ny,isCancel:Uy,CancelToken:Py,VERSION:Ly,all:Dy,Cancel:jy,isAxiosError:ky,spread:qy,toFormData:zy,AxiosHeaders:Hy,HttpStatusCode:Gy,formToJSON:Wy,getAdapter:Zy,mergeConfig:Jy}=Je;var Yp="[object Number]";function Xp(e){return typeof e=="number"||et(e)&&ut(e)==Yp}const Vy=Object.freeze(Object.defineProperty({__proto__:null,default:Xp},Symbol.toStringTag,{value:"Module"}));var Br={exports:{}},Bn={},So;function Qp(){return So||(So=1,function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},r={};r.byteLength=p,r.toByteArray=q,r.fromByteArray=oe;for(var n=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,B=d.length;b<B;++b)n[b]=d[b],u[d.charCodeAt(b)]=b;u[45]=62,u[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 F(te,se,ce){return(se+ce)*3/4-ce}function q(te){var se,ce=E(te),fe=ce[0],Y=ce[1],z=new o(F(te,fe,Y)),ae=0,de=Y>0?fe-4:fe,ne;for(ne=0;ne<de;ne+=4)se=u[te.charCodeAt(ne)]<<18|u[te.charCodeAt(ne+1)]<<12|u[te.charCodeAt(ne+2)]<<6|u[te.charCodeAt(ne+3)],z[ae++]=se>>16&255,z[ae++]=se>>8&255,z[ae++]=se&255;return Y===2&&(se=u[te.charCodeAt(ne)]<<2|u[te.charCodeAt(ne+1)]>>4,z[ae++]=se&255),Y===1&&(se=u[te.charCodeAt(ne)]<<10|u[te.charCodeAt(ne+1)]<<4|u[te.charCodeAt(ne+2)]>>2,z[ae++]=se>>8&255,z[ae++]=se&255),z}function Q(te){return n[te>>18&63]+n[te>>12&63]+n[te>>6&63]+n[te&63]}function W(te,se,ce){for(var fe,Y=[],z=se;z<ce;z+=3)fe=(te[z]<<16&16711680)+(te[z+1]<<8&65280)+(te[z+2]&255),Y.push(Q(fe));return Y.join("")}function oe(te){for(var se,ce=te.length,fe=ce%3,Y=[],z=16383,ae=0,de=ce-fe;ae<de;ae+=z)Y.push(W(te,ae,ae+z>de?de:ae+z));return fe===1?(se=te[ce-1],Y.push(n[se>>2]+n[se<<4&63]+"==")):fe===2&&(se=(te[ce-2]<<8)+te[ce-1],Y.push(n[se>>10]+n[se>>4&63]+n[se<<2&63]+"=")),Y.join("")}var J={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */J.read=function(te,se,ce,fe,Y){var z,ae,de=Y*8-fe-1,ne=(1<<de)-1,A=ne>>1,i=-7,h=ce?Y-1:0,g=ce?-1:1,m=te[se+h];for(h+=g,z=m&(1<<-i)-1,m>>=-i,i+=de;i>0;z=z*256+te[se+h],h+=g,i-=8);for(ae=z&(1<<-i)-1,z>>=-i,i+=fe;i>0;ae=ae*256+te[se+h],h+=g,i-=8);if(z===0)z=1-A;else{if(z===ne)return ae?NaN:(m?-1:1)*(1/0);ae=ae+Math.pow(2,fe),z=z-A}return(m?-1:1)*ae*Math.pow(2,z-fe)},J.write=function(te,se,ce,fe,Y,z){var ae,de,ne,A=z*8-Y-1,i=(1<<A)-1,h=i>>1,g=Y===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=fe?0:z-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,Y),ae=ae+h):(de=se*Math.pow(2,h-1)*Math.pow(2,Y),ae=0));Y>=8;te[ce+m]=de&255,m+=v,de/=256,Y-=8);for(ae=ae<<Y|de,A+=Y;A>0;te[ce+m]=ae&255,m+=v,ae/=256,A-=8);te[ce+m-v]|=T*128};/*!
12
12
  * The buffer module from node.js, for the browser.
13
13
  *
14
14
  * @author Feross Aboukhadijeh <https://feross.org>
15
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 Y=2147483647;te.kMaxLength=Y;const{Uint8Array:z,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 z(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,z.prototype),Object.setPrototypeOf(w,a),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>Y)throw new RangeError('The value "'+w+'" is invalid for option "size"');const a=new z(w);return Object.setPrototypeOf(a,i.prototype),a}function i(w,a,c){if(typeof w=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(w)}return h(w,a,c)}i.poolSize=8192;function h(w,a,c){if(typeof w=="string")return T(w,a);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,a,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,a,c);const N=S(w);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return i.from(w[Symbol.toPrimitive]("string"),a,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,a,c){return h(w,a,c)},Object.setPrototypeOf(i.prototype,z.prototype),Object.setPrototypeOf(i,z);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,a,c){return g(w),w<=0?A(w):a!==void 0?typeof c=="string"?A(w).fill(a,c):A(w).fill(a):A(w)}i.alloc=function(w,a,c){return m(w,a,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,a){if((typeof a!="string"||a==="")&&(a="utf8"),!i.isEncoding(a))throw new TypeError("Unknown encoding: "+a);const c=D(w,a)|0;let O=A(c);const N=O.write(w,a);return N!==c&&(O=O.slice(0,N)),O}function $(w){const a=w.length<0?0:ue(w.length)|0,c=A(a);for(let O=0;O<a;O+=1)c[O]=w[O]&255;return c}function M(w){if(Re(w,z)){const a=new z(w);return f(a.buffer,a.byteOffset,a.byteLength)}return $(w)}function f(w,a,c){if(a<0||w.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(w.byteLength<a+(c||0))throw new RangeError('"length" is outside of buffer bounds');let O;return a===void 0&&c===void 0?O=new z(w):c===void 0?O=new z(w,a):O=new z(w,a,c),Object.setPrototypeOf(O,i.prototype),O}function S(w){if(i.isBuffer(w)){const a=ue(w.length)|0,c=A(a);return c.length===0||w.copy(c,0,0,a),c}if(w.length!==void 0)return typeof w.length!="number"||$t(w.length)?A(0):$(w);if(w.type==="Buffer"&&Array.isArray(w.data))return $(w.data)}function ue(w){if(w>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return w|0}function pe(w){return+w!=w&&(w=0),i.alloc(+w)}i.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==i.prototype},i.compare=function(a,c){if(Re(a,z)&&(a=i.from(a,a.offset,a.byteLength)),Re(c,z)&&(c=i.from(c,c.offset,c.byteLength)),!i.isBuffer(a)||!i.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===c)return 0;let O=a.length,N=c.length;for(let X=0,re=Math.min(O,N);X<re;++X)if(a[X]!==c[X]){O=a[X],N=c[X];break}return O<N?-1:N<O?1:0},i.isEncoding=function(a){switch(String(a).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(a,c){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return i.alloc(0);let O;if(c===void 0)for(c=0,O=0;O<a.length;++O)c+=a[O].length;const N=i.allocUnsafe(c);let X=0;for(O=0;O<a.length;++O){let re=a[O];if(Re(re,z))X+re.length>N.length?(i.isBuffer(re)||(re=i.from(re)),re.copy(N,X)):z.prototype.set.call(N,re,X);else if(i.isBuffer(re))re.copy(N,X);else throw new TypeError('"list" argument must be an Array of Buffers');X+=re.length}return N};function D(w,a){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(a){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;a=(""+a).toLowerCase(),N=!0}}i.byteLength=D;function me(w,a,c){let O=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((c===void 0||c>this.length)&&(c=this.length),c<=0)||(c>>>=0,a>>>=0,c<=a))return"";for(w||(w="utf8");;)switch(w){case"hex":return V(this,a,c);case"utf8":case"utf-8":return L(this,a,c);case"ascii":return P(this,a,c);case"latin1":case"binary":return H(this,a,c);case"base64":return j(this,a,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,a,c);default:if(O)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),O=!0}}i.prototype._isBuffer=!0;function Me(w,a,c){const O=w[a];w[a]=w[c],w[c]=O}i.prototype.swap16=function(){const a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<a;c+=2)Me(this,c,c+1);return this},i.prototype.swap32=function(){const a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<a;c+=4)Me(this,c,c+3),Me(this,c+1,c+2);return this},i.prototype.swap64=function(){const a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<a;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 a=this.length;return a===0?"":arguments.length===0?L(this,0,a):me.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(a){if(!i.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:i.compare(this,a)===0},i.prototype.inspect=function(){let a="";const c=te.INSPECT_MAX_BYTES;return a=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(a+=" ... "),"<Buffer "+a+">"},fe&&(i.prototype[fe]=i.prototype.inspect),i.prototype.compare=function(a,c,O,N,X){if(Re(a,z)&&(a=i.from(a,a.offset,a.byteLength)),!i.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(c===void 0&&(c=0),O===void 0&&(O=a?a.length:0),N===void 0&&(N=0),X===void 0&&(X=this.length),c<0||O>a.length||N<0||X>this.length)throw new RangeError("out of range index");if(N>=X&&c>=O)return 0;if(N>=X)return-1;if(c>=O)return 1;if(c>>>=0,O>>>=0,N>>>=0,X>>>=0,this===a)return 0;let re=X-N,be=O-c;const ke=Math.min(re,be),Ae=this.slice(N,X),Te=a.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,a,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,$t(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 a=="string"&&(a=i.from(a,O)),i.isBuffer(a))return a.length===0?-1:$e(w,a,c,O,N);if(typeof a=="number")return a=a&255,typeof z.prototype.indexOf=="function"?N?z.prototype.indexOf.call(w,a,c):z.prototype.lastIndexOf.call(w,a,c):$e(w,[a],c,O,N);throw new TypeError("val must be string, number or Buffer")}function $e(w,a,c,O,N){let X=1,re=w.length,be=a.length;if(O!==void 0&&(O=String(O).toLowerCase(),O==="ucs2"||O==="ucs-2"||O==="utf16le"||O==="utf-16le")){if(w.length<2||a.length<2)return-1;X=2,re/=2,be/=2,c/=2}function ke(Te,Ie){return X===1?Te[Ie]:Te.readUInt16BE(Ie*X)}let Ae;if(N){let Te=-1;for(Ae=c;Ae<re;Ae++)if(ke(w,Ae)===ke(a,Te===-1?0:Ae-Te)){if(Te===-1&&(Te=Ae),Ae-Te+1===be)return Te*X}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(a,Ie)){Te=!1;break}if(Te)return Ae}return-1}i.prototype.includes=function(a,c,O){return this.indexOf(a,c,O)!==-1},i.prototype.indexOf=function(a,c,O){return Oe(this,a,c,O,!0)},i.prototype.lastIndexOf=function(a,c,O){return Oe(this,a,c,O,!1)};function _e(w,a,c,O){c=Number(c)||0;const N=w.length-c;O?(O=Number(O),O>N&&(O=N)):O=N;const X=a.length;O>X/2&&(O=X/2);let re;for(re=0;re<O;++re){const be=parseInt(a.substr(re*2,2),16);if($t(be))return re;w[c+re]=be}return re}function x(w,a,c,O){return je(Ue(a,w.length-c),w,c,O)}function C(w,a,c,O){return je(Se(a),w,c,O)}function R(w,a,c,O){return je(Fe(a),w,c,O)}function k(w,a,c,O){return je(Be(a,w.length-c),w,c,O)}i.prototype.write=function(a,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 X=this.length-c;if((O===void 0||O>X)&&(O=X),a.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,a,c,O);case"utf8":case"utf-8":return x(this,a,c,O);case"ascii":case"latin1":case"binary":return C(this,a,c,O);case"base64":return R(this,a,c,O);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,a,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 j(w,a,c){return a===0&&c===w.length?se.fromByteArray(w):se.fromByteArray(w.slice(a,c))}function L(w,a,c){c=Math.min(w.length,c);const O=[];let N=a;for(;N<c;){const X=w[N];let re=null,be=X>239?4:X>223?3:X>191?2:1;if(N+be<=c){let ke,Ae,Te,Ie;switch(be){case 1:X<128&&(re=X);break;case 2:ke=w[N+1],(ke&192)===128&&(Ie=(X&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=(X&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=(X&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 G=4096;function U(w){const a=w.length;if(a<=G)return String.fromCharCode.apply(String,w);let c="",O=0;for(;O<a;)c+=String.fromCharCode.apply(String,w.slice(O,O+=G));return c}function P(w,a,c){let O="";c=Math.min(w.length,c);for(let N=a;N<c;++N)O+=String.fromCharCode(w[N]&127);return O}function H(w,a,c){let O="";c=Math.min(w.length,c);for(let N=a;N<c;++N)O+=String.fromCharCode(w[N]);return O}function V(w,a,c){const O=w.length;(!a||a<0)&&(a=0),(!c||c<0||c>O)&&(c=O);let N="";for(let X=a;X<c;++X)N+=ze[w[X]];return N}function ie(w,a,c){const O=w.slice(a,c);let N="";for(let X=0;X<O.length-1;X+=2)N+=String.fromCharCode(O[X]+O[X+1]*256);return N}i.prototype.slice=function(a,c){const O=this.length;a=~~a,c=c===void 0?O:~~c,a<0?(a+=O,a<0&&(a=0)):a>O&&(a=O),c<0?(c+=O,c<0&&(c=0)):c>O&&(c=O),c<a&&(c=a);const N=this.subarray(a,c);return Object.setPrototypeOf(N,i.prototype),N};function le(w,a,c){if(w%1!==0||w<0)throw new RangeError("offset is not uint");if(w+a>c)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=this[a],X=1,re=0;for(;++re<c&&(X*=256);)N+=this[a+re]*X;return N},i.prototype.readUintBE=i.prototype.readUIntBE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=this[a+--c],X=1;for(;c>0&&(X*=256);)N+=this[a+--c]*X;return N},i.prototype.readUint8=i.prototype.readUInt8=function(a,c){return a=a>>>0,c||le(a,1,this.length),this[a]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(a,c){return a=a>>>0,c||le(a,2,this.length),this[a]|this[a+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(a,c){return a=a>>>0,c||le(a,2,this.length),this[a]<<8|this[a+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(a,c){return a=a>>>0,c||le(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(a,c){return a=a>>>0,c||le(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},i.prototype.readBigUInt64LE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=c+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,X=this[++a]+this[++a]*2**8+this[++a]*2**16+O*2**24;return BigInt(N)+(BigInt(X)<<BigInt(32))}),i.prototype.readBigUInt64BE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=c*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],X=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+O;return(BigInt(N)<<BigInt(32))+BigInt(X)}),i.prototype.readIntLE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=this[a],X=1,re=0;for(;++re<c&&(X*=256);)N+=this[a+re]*X;return X*=128,N>=X&&(N-=Math.pow(2,8*c)),N},i.prototype.readIntBE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=c,X=1,re=this[a+--N];for(;N>0&&(X*=256);)re+=this[a+--N]*X;return X*=128,re>=X&&(re-=Math.pow(2,8*c)),re},i.prototype.readInt8=function(a,c){return a=a>>>0,c||le(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},i.prototype.readInt16LE=function(a,c){a=a>>>0,c||le(a,2,this.length);const O=this[a]|this[a+1]<<8;return O&32768?O|4294901760:O},i.prototype.readInt16BE=function(a,c){a=a>>>0,c||le(a,2,this.length);const O=this[a+1]|this[a]<<8;return O&32768?O|4294901760:O},i.prototype.readInt32LE=function(a,c){return a=a>>>0,c||le(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},i.prototype.readInt32BE=function(a,c){return a=a>>>0,c||le(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},i.prototype.readBigInt64LE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(O<<24);return(BigInt(N)<<BigInt(32))+BigInt(c+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),i.prototype.readBigInt64BE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=(c<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(N)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+O)}),i.prototype.readFloatLE=function(a,c){return a=a>>>0,c||le(a,4,this.length),ce.read(this,a,!0,23,4)},i.prototype.readFloatBE=function(a,c){return a=a>>>0,c||le(a,4,this.length),ce.read(this,a,!1,23,4)},i.prototype.readDoubleLE=function(a,c){return a=a>>>0,c||le(a,8,this.length),ce.read(this,a,!0,52,8)},i.prototype.readDoubleBE=function(a,c){return a=a>>>0,c||le(a,8,this.length),ce.read(this,a,!1,52,8)};function ye(w,a,c,O,N,X){if(!i.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>N||a<X)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(a,c,O,N){if(a=+a,c=c>>>0,O=O>>>0,!N){const be=Math.pow(2,8*O)-1;ye(this,a,c,O,be,0)}let X=1,re=0;for(this[c]=a&255;++re<O&&(X*=256);)this[c+re]=a/X&255;return c+O},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(a,c,O,N){if(a=+a,c=c>>>0,O=O>>>0,!N){const be=Math.pow(2,8*O)-1;ye(this,a,c,O,be,0)}let X=O-1,re=1;for(this[c+X]=a&255;--X>=0&&(re*=256);)this[c+X]=a/re&255;return c+O},i.prototype.writeUint8=i.prototype.writeUInt8=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,1,255,0),this[c]=a&255,c+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,65535,0),this[c]=a&255,this[c+1]=a>>>8,c+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,65535,0),this[c]=a>>>8,this[c+1]=a&255,c+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,4294967295,0),this[c+3]=a>>>24,this[c+2]=a>>>16,this[c+1]=a>>>8,this[c]=a&255,c+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,4294967295,0),this[c]=a>>>24,this[c+1]=a>>>16,this[c+2]=a>>>8,this[c+3]=a&255,c+4};function we(w,a,c,O,N){_(a,O,N,w,c,7);let X=Number(a&BigInt(4294967295));w[c++]=X,X=X>>8,w[c++]=X,X=X>>8,w[c++]=X,X=X>>8,w[c++]=X;let re=Number(a>>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,a,c,O,N){_(a,O,N,w,c,7);let X=Number(a&BigInt(4294967295));w[c+7]=X,X=X>>8,w[c+6]=X,X=X>>8,w[c+5]=X,X=X>>8,w[c+4]=X;let re=Number(a>>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(a,c=0){return we(this,a,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=Pe(function(a,c=0){return Ee(this,a,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(a,c,O,N){if(a=+a,c=c>>>0,!N){const ke=Math.pow(2,8*O-1);ye(this,a,c,O,ke-1,-ke)}let X=0,re=1,be=0;for(this[c]=a&255;++X<O&&(re*=256);)a<0&&be===0&&this[c+X-1]!==0&&(be=1),this[c+X]=(a/re>>0)-be&255;return c+O},i.prototype.writeIntBE=function(a,c,O,N){if(a=+a,c=c>>>0,!N){const ke=Math.pow(2,8*O-1);ye(this,a,c,O,ke-1,-ke)}let X=O-1,re=1,be=0;for(this[c+X]=a&255;--X>=0&&(re*=256);)a<0&&be===0&&this[c+X+1]!==0&&(be=1),this[c+X]=(a/re>>0)-be&255;return c+O},i.prototype.writeInt8=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,1,127,-128),a<0&&(a=255+a+1),this[c]=a&255,c+1},i.prototype.writeInt16LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,32767,-32768),this[c]=a&255,this[c+1]=a>>>8,c+2},i.prototype.writeInt16BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,32767,-32768),this[c]=a>>>8,this[c+1]=a&255,c+2},i.prototype.writeInt32LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,2147483647,-2147483648),this[c]=a&255,this[c+1]=a>>>8,this[c+2]=a>>>16,this[c+3]=a>>>24,c+4},i.prototype.writeInt32BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[c]=a>>>24,this[c+1]=a>>>16,this[c+2]=a>>>8,this[c+3]=a&255,c+4},i.prototype.writeBigInt64LE=Pe(function(a,c=0){return we(this,a,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=Pe(function(a,c=0){return Ee(this,a,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ne(w,a,c,O,N,X){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,a,c,O,N){return a=+a,c=c>>>0,N||Ne(w,a,c,4),ce.write(w,a,c,O,23,4),c+4}i.prototype.writeFloatLE=function(a,c,O){return xe(this,a,c,!0,O)},i.prototype.writeFloatBE=function(a,c,O){return xe(this,a,c,!1,O)};function ve(w,a,c,O,N){return a=+a,c=c>>>0,N||Ne(w,a,c,8),ce.write(w,a,c,O,52,8),c+8}i.prototype.writeDoubleLE=function(a,c,O){return ve(this,a,c,!0,O)},i.prototype.writeDoubleBE=function(a,c,O){return ve(this,a,c,!1,O)},i.prototype.copy=function(a,c,O,N){if(!i.isBuffer(a))throw new TypeError("argument should be a Buffer");if(O||(O=0),!N&&N!==0&&(N=this.length),c>=a.length&&(c=a.length),c||(c=0),N>0&&N<O&&(N=O),N===O||a.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),a.length-c<N-O&&(N=a.length-c+O);const X=N-O;return this===a&&typeof z.prototype.copyWithin=="function"?this.copyWithin(c,O,N):z.prototype.set.call(a,this.subarray(O,N),c),X},i.prototype.fill=function(a,c,O,N){if(typeof a=="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(a.length===1){const re=a.charCodeAt(0);(N==="utf8"&&re<128||N==="latin1")&&(a=re)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));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,a||(a=0);let X;if(typeof a=="number")for(X=c;X<O;++X)this[X]=a;else{const re=i.isBuffer(a)?a:i.from(a,N),be=re.length;if(be===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(X=0;X<O-c;++X)this[X+c]=re[X%be]}return this};const Le={};function y(w,a,c){Le[w]=class extends c{constructor(){super(),Object.defineProperty(this,"message",{value:a.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,a){return`The "${w}" argument must be of type number. Received type ${typeof a}`},TypeError),y("ERR_OUT_OF_RANGE",function(w,a,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 ${a}. Received ${N}`,O},RangeError);function s(w){let a="",c=w.length;const O=w[0]==="-"?1:0;for(;c>=O+4;c-=3)a=`_${w.slice(c-3,c)}${a}`;return`${w.slice(0,c)}${a}`}function l(w,a,c){I(a,"offset"),(w[a]===void 0||w[a+c]===void 0)&&Z(a,w.length-(c+1))}function _(w,a,c,O,N,X){if(w>c||w<a){const re=typeof a=="bigint"?"n":"";let be;throw a===0||a===BigInt(0)?be=`>= 0${re} and < 2${re} ** ${(X+1)*8}${re}`:be=`>= -(2${re} ** ${(X+1)*8-1}${re}) and < 2 ** ${(X+1)*8-1}${re}`,new Le.ERR_OUT_OF_RANGE("value",be,w)}l(O,N,X)}function I(w,a){if(typeof w!="number")throw new Le.ERR_INVALID_ARG_TYPE(a,"number",w)}function Z(w,a,c){throw Math.floor(w)!==w?(I(w,c),new Le.ERR_OUT_OF_RANGE("offset","an integer",w)):a<0?new Le.ERR_BUFFER_OUT_OF_BOUNDS:new Le.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${a}`,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,a){a=a||1/0;let c;const O=w.length;let N=null;const X=[];for(let re=0;re<O;++re){if(c=w.charCodeAt(re),c>55295&&c<57344){if(!N){if(c>56319){(a-=3)>-1&&X.push(239,191,189);continue}else if(re+1===O){(a-=3)>-1&&X.push(239,191,189);continue}N=c;continue}if(c<56320){(a-=3)>-1&&X.push(239,191,189),N=c;continue}c=(N-55296<<10|c-56320)+65536}else N&&(a-=3)>-1&&X.push(239,191,189);if(N=null,c<128){if((a-=1)<0)break;X.push(c)}else if(c<2048){if((a-=2)<0)break;X.push(c>>6|192,c&63|128)}else if(c<65536){if((a-=3)<0)break;X.push(c>>12|224,c>>6&63|128,c&63|128)}else if(c<1114112){if((a-=4)<0)break;X.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw new Error("Invalid code point")}return X}function Se(w){const a=[];for(let c=0;c<w.length;++c)a.push(w.charCodeAt(c)&255);return a}function Be(w,a){let c,O,N;const X=[];for(let re=0;re<w.length&&!((a-=2)<0);++re)c=w.charCodeAt(re),O=c>>8,N=c%256,X.push(N),X.push(O);return X}function Fe(w){return se.toByteArray(ge(w))}function je(w,a,c,O){let N;for(N=0;N<O&&!(N+c>=a.length||N>=w.length);++N)a[N+c]=w[N];return N}function Re(w,a){return w instanceof a||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===a.name}function $t(w){return w!==w}const ze=function(){const w="0123456789abcdef",a=new Array(256);for(let c=0;c<16;++c){const O=c*16;for(let N=0;N<16;++N)a[O+N]=w[c]+w[N]}return a}();function Pe(w){return typeof BigInt>"u"?mr:w}function mr(){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}(Bn)),Bn}var Y1=Br.exports,Co;function nw(){return Co||(Co=1,function(e){(function(t,r){function n(A,i){if(!A)throw new Error(i||"Assertion failed")}function u(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,$=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<<$&67108863,this.words[v+1]=T>>>26-$&67108863,$+=24,$>=26&&($-=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<<$&67108863,this.words[v+1]=T>>>26-$&67108863,$+=24,$>=26&&($-=26,v++);return this.strip()};function b(A,i){var h=A.charCodeAt(i);return h>=65&&h<=70?h-55:h>=97&&h<=102?h-87:h-48&15}function B(A,i,h){var g=b(A,h);return h-1>=i&&(g|=b(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,$;if(g==="be")for(m=i.length-1;m>=h;m-=2)$=B(i,h,m)<<v,this.words[T]|=$&67108863,v>=18?(v-=18,T+=1,this.words[T]|=$>>>26):v+=8;else{var M=i.length-h;for(m=M%2===0?h+1:h;m<i.length;m+=2)$=B(i,h,m)<<v,this.words[T]|=$&67108863,v>=18?(v-=18,T+=1,this.words[T]|=$>>>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 $=A.charCodeAt(T)-48;m*=g,$>=49?m+=$-49+10:$>=17?m+=$-17+10:m+=$}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,$=T%m,M=Math.min(T,T-$)+g,f=0,S=g;S<M;S+=m)f=E(i,S,S+m,h),this.imuln(v),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if($!==0){var ue=1;for(f=E(i,S,i.length,h),S=0;S<$;S++)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"],F=[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],q=[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 $=this.words[T],M=(($<<m|v)&16777215).toString(16);v=$>>>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=F[i],S=q[i];g="";var ue=this.clone();for(ue.negative=0;!ue.isZero();){var pe=ue.modn(S).toString(i);ue=ue.idivn(S),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",$=new i(v),M,f,S=this.clone();if(T){for(f=0;!S.isZero();f++)M=S.andln(255),S.iushrn(8),$[f]=M;for(;f<v;f++)$[f]=0}else{for(f=0;f<v-m;f++)$[f]=0;for(f=0;!S.isZero();f++)M=S.andln(255),S.iushrn(8),$[v-f-1]=M}return $},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 Q(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,$=0;$<v.length;$++)h=(m.words[$]|0)-(v.words[$]|0)+T,T=h>>26,this.words[$]=h&67108863;for(;T!==0&&$<m.length;$++)h=(m.words[$]|0)+T,T=h>>26,this.words[$]=h&67108863;if(T===0&&$<m.length&&m!==this)for(;$<m.length;$++)this.words[$]=m.words[$];return this.length=Math.max(this.length,$),m!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};function W(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,$=T&67108863,M=T/67108864|0;h.words[0]=$;for(var f=1;f<g;f++){for(var S=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,S+=T/67108864|0,ue=T&67108863}h.words[f]=ue|0,M=S|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,$=0,M,f,S,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,x=$e>>>13,C=m[3]|0,R=C&8191,k=C>>>13,j=m[4]|0,L=j&8191,G=j>>>13,U=m[5]|0,P=U&8191,H=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,$t=v[4]|0,ze=$t&8191,Pe=$t>>>13,mr=v[5]|0,w=mr&8191,a=mr>>>13,c=v[6]|0,O=c&8191,N=c>>>13,X=v[7]|0,re=X&8191,be=X>>>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,S=Math.imul(D,I);var Yr=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(Yr>>>26)|0,Yr&=67108863,M=Math.imul(Me,_),f=Math.imul(Me,I),f=f+Math.imul(Oe,_)|0,S=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,S=S+Math.imul(D,ge)|0;var Xr=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(Xr>>>26)|0,Xr&=67108863,M=Math.imul(_e,_),f=Math.imul(_e,I),f=f+Math.imul(x,_)|0,S=Math.imul(x,I),M=M+Math.imul(Me,K)|0,f=f+Math.imul(Me,ge)|0,f=f+Math.imul(Oe,K)|0,S=S+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,S=S+Math.imul(D,Be)|0;var Qr=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(Qr>>>26)|0,Qr&=67108863,M=Math.imul(R,_),f=Math.imul(R,I),f=f+Math.imul(k,_)|0,S=Math.imul(k,I),M=M+Math.imul(_e,K)|0,f=f+Math.imul(_e,ge)|0,f=f+Math.imul(x,K)|0,S=S+Math.imul(x,ge)|0,M=M+Math.imul(Me,Se)|0,f=f+Math.imul(Me,Be)|0,f=f+Math.imul(Oe,Se)|0,S=S+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,S=S+Math.imul(D,Re)|0;var en=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(en>>>26)|0,en&=67108863,M=Math.imul(L,_),f=Math.imul(L,I),f=f+Math.imul(G,_)|0,S=Math.imul(G,I),M=M+Math.imul(R,K)|0,f=f+Math.imul(R,ge)|0,f=f+Math.imul(k,K)|0,S=S+Math.imul(k,ge)|0,M=M+Math.imul(_e,Se)|0,f=f+Math.imul(_e,Be)|0,f=f+Math.imul(x,Se)|0,S=S+Math.imul(x,Be)|0,M=M+Math.imul(Me,je)|0,f=f+Math.imul(Me,Re)|0,f=f+Math.imul(Oe,je)|0,S=S+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,S=S+Math.imul(D,Pe)|0;var tn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(tn>>>26)|0,tn&=67108863,M=Math.imul(P,_),f=Math.imul(P,I),f=f+Math.imul(H,_)|0,S=Math.imul(H,I),M=M+Math.imul(L,K)|0,f=f+Math.imul(L,ge)|0,f=f+Math.imul(G,K)|0,S=S+Math.imul(G,ge)|0,M=M+Math.imul(R,Se)|0,f=f+Math.imul(R,Be)|0,f=f+Math.imul(k,Se)|0,S=S+Math.imul(k,Be)|0,M=M+Math.imul(_e,je)|0,f=f+Math.imul(_e,Re)|0,f=f+Math.imul(x,je)|0,S=S+Math.imul(x,Re)|0,M=M+Math.imul(Me,ze)|0,f=f+Math.imul(Me,Pe)|0,f=f+Math.imul(Oe,ze)|0,S=S+Math.imul(Oe,Pe)|0,M=M+Math.imul(pe,w)|0,f=f+Math.imul(pe,a)|0,f=f+Math.imul(D,w)|0,S=S+Math.imul(D,a)|0;var rn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(rn>>>26)|0,rn&=67108863,M=Math.imul(ie,_),f=Math.imul(ie,I),f=f+Math.imul(le,_)|0,S=Math.imul(le,I),M=M+Math.imul(P,K)|0,f=f+Math.imul(P,ge)|0,f=f+Math.imul(H,K)|0,S=S+Math.imul(H,ge)|0,M=M+Math.imul(L,Se)|0,f=f+Math.imul(L,Be)|0,f=f+Math.imul(G,Se)|0,S=S+Math.imul(G,Be)|0,M=M+Math.imul(R,je)|0,f=f+Math.imul(R,Re)|0,f=f+Math.imul(k,je)|0,S=S+Math.imul(k,Re)|0,M=M+Math.imul(_e,ze)|0,f=f+Math.imul(_e,Pe)|0,f=f+Math.imul(x,ze)|0,S=S+Math.imul(x,Pe)|0,M=M+Math.imul(Me,w)|0,f=f+Math.imul(Me,a)|0,f=f+Math.imul(Oe,w)|0,S=S+Math.imul(Oe,a)|0,M=M+Math.imul(pe,O)|0,f=f+Math.imul(pe,N)|0,f=f+Math.imul(D,O)|0,S=S+Math.imul(D,N)|0;var nn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(nn>>>26)|0,nn&=67108863,M=Math.imul(we,_),f=Math.imul(we,I),f=f+Math.imul(Ee,_)|0,S=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,S=S+Math.imul(le,ge)|0,M=M+Math.imul(P,Se)|0,f=f+Math.imul(P,Be)|0,f=f+Math.imul(H,Se)|0,S=S+Math.imul(H,Be)|0,M=M+Math.imul(L,je)|0,f=f+Math.imul(L,Re)|0,f=f+Math.imul(G,je)|0,S=S+Math.imul(G,Re)|0,M=M+Math.imul(R,ze)|0,f=f+Math.imul(R,Pe)|0,f=f+Math.imul(k,ze)|0,S=S+Math.imul(k,Pe)|0,M=M+Math.imul(_e,w)|0,f=f+Math.imul(_e,a)|0,f=f+Math.imul(x,w)|0,S=S+Math.imul(x,a)|0,M=M+Math.imul(Me,O)|0,f=f+Math.imul(Me,N)|0,f=f+Math.imul(Oe,O)|0,S=S+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,S=S+Math.imul(D,be)|0;var on=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(on>>>26)|0,on&=67108863,M=Math.imul(xe,_),f=Math.imul(xe,I),f=f+Math.imul(ve,_)|0,S=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,S=S+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,S=S+Math.imul(le,Be)|0,M=M+Math.imul(P,je)|0,f=f+Math.imul(P,Re)|0,f=f+Math.imul(H,je)|0,S=S+Math.imul(H,Re)|0,M=M+Math.imul(L,ze)|0,f=f+Math.imul(L,Pe)|0,f=f+Math.imul(G,ze)|0,S=S+Math.imul(G,Pe)|0,M=M+Math.imul(R,w)|0,f=f+Math.imul(R,a)|0,f=f+Math.imul(k,w)|0,S=S+Math.imul(k,a)|0,M=M+Math.imul(_e,O)|0,f=f+Math.imul(_e,N)|0,f=f+Math.imul(x,O)|0,S=S+Math.imul(x,N)|0,M=M+Math.imul(Me,re)|0,f=f+Math.imul(Me,be)|0,f=f+Math.imul(Oe,re)|0,S=S+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,S=S+Math.imul(D,Te)|0;var sn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(sn>>>26)|0,sn&=67108863,M=Math.imul(y,_),f=Math.imul(y,I),f=f+Math.imul(s,_)|0,S=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,S=S+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,S=S+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,S=S+Math.imul(le,Re)|0,M=M+Math.imul(P,ze)|0,f=f+Math.imul(P,Pe)|0,f=f+Math.imul(H,ze)|0,S=S+Math.imul(H,Pe)|0,M=M+Math.imul(L,w)|0,f=f+Math.imul(L,a)|0,f=f+Math.imul(G,w)|0,S=S+Math.imul(G,a)|0,M=M+Math.imul(R,O)|0,f=f+Math.imul(R,N)|0,f=f+Math.imul(k,O)|0,S=S+Math.imul(k,N)|0,M=M+Math.imul(_e,re)|0,f=f+Math.imul(_e,be)|0,f=f+Math.imul(x,re)|0,S=S+Math.imul(x,be)|0,M=M+Math.imul(Me,Ae)|0,f=f+Math.imul(Me,Te)|0,f=f+Math.imul(Oe,Ae)|0,S=S+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,S=S+Math.imul(D,Ze)|0;var an=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(an>>>26)|0,an&=67108863,M=Math.imul(y,K),f=Math.imul(y,ge),f=f+Math.imul(s,K)|0,S=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,S=S+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,S=S+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,S=S+Math.imul(le,Pe)|0,M=M+Math.imul(P,w)|0,f=f+Math.imul(P,a)|0,f=f+Math.imul(H,w)|0,S=S+Math.imul(H,a)|0,M=M+Math.imul(L,O)|0,f=f+Math.imul(L,N)|0,f=f+Math.imul(G,O)|0,S=S+Math.imul(G,N)|0,M=M+Math.imul(R,re)|0,f=f+Math.imul(R,be)|0,f=f+Math.imul(k,re)|0,S=S+Math.imul(k,be)|0,M=M+Math.imul(_e,Ae)|0,f=f+Math.imul(_e,Te)|0,f=f+Math.imul(x,Ae)|0,S=S+Math.imul(x,Te)|0,M=M+Math.imul(Me,We)|0,f=f+Math.imul(Me,Ze)|0,f=f+Math.imul(Oe,We)|0,S=S+Math.imul(Oe,Ze)|0;var un=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(un>>>26)|0,un&=67108863,M=Math.imul(y,Se),f=Math.imul(y,Be),f=f+Math.imul(s,Se)|0,S=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,S=S+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,S=S+Math.imul(Ee,Pe)|0,M=M+Math.imul(ie,w)|0,f=f+Math.imul(ie,a)|0,f=f+Math.imul(le,w)|0,S=S+Math.imul(le,a)|0,M=M+Math.imul(P,O)|0,f=f+Math.imul(P,N)|0,f=f+Math.imul(H,O)|0,S=S+Math.imul(H,N)|0,M=M+Math.imul(L,re)|0,f=f+Math.imul(L,be)|0,f=f+Math.imul(G,re)|0,S=S+Math.imul(G,be)|0,M=M+Math.imul(R,Ae)|0,f=f+Math.imul(R,Te)|0,f=f+Math.imul(k,Ae)|0,S=S+Math.imul(k,Te)|0,M=M+Math.imul(_e,We)|0,f=f+Math.imul(_e,Ze)|0,f=f+Math.imul(x,We)|0,S=S+Math.imul(x,Ze)|0;var fn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(fn>>>26)|0,fn&=67108863,M=Math.imul(y,je),f=Math.imul(y,Re),f=f+Math.imul(s,je)|0,S=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,S=S+Math.imul(ve,Pe)|0,M=M+Math.imul(we,w)|0,f=f+Math.imul(we,a)|0,f=f+Math.imul(Ee,w)|0,S=S+Math.imul(Ee,a)|0,M=M+Math.imul(ie,O)|0,f=f+Math.imul(ie,N)|0,f=f+Math.imul(le,O)|0,S=S+Math.imul(le,N)|0,M=M+Math.imul(P,re)|0,f=f+Math.imul(P,be)|0,f=f+Math.imul(H,re)|0,S=S+Math.imul(H,be)|0,M=M+Math.imul(L,Ae)|0,f=f+Math.imul(L,Te)|0,f=f+Math.imul(G,Ae)|0,S=S+Math.imul(G,Te)|0,M=M+Math.imul(R,We)|0,f=f+Math.imul(R,Ze)|0,f=f+Math.imul(k,We)|0,S=S+Math.imul(k,Ze)|0;var ln=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(ln>>>26)|0,ln&=67108863,M=Math.imul(y,ze),f=Math.imul(y,Pe),f=f+Math.imul(s,ze)|0,S=Math.imul(s,Pe),M=M+Math.imul(xe,w)|0,f=f+Math.imul(xe,a)|0,f=f+Math.imul(ve,w)|0,S=S+Math.imul(ve,a)|0,M=M+Math.imul(we,O)|0,f=f+Math.imul(we,N)|0,f=f+Math.imul(Ee,O)|0,S=S+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,S=S+Math.imul(le,be)|0,M=M+Math.imul(P,Ae)|0,f=f+Math.imul(P,Te)|0,f=f+Math.imul(H,Ae)|0,S=S+Math.imul(H,Te)|0,M=M+Math.imul(L,We)|0,f=f+Math.imul(L,Ze)|0,f=f+Math.imul(G,We)|0,S=S+Math.imul(G,Ze)|0;var cn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(cn>>>26)|0,cn&=67108863,M=Math.imul(y,w),f=Math.imul(y,a),f=f+Math.imul(s,w)|0,S=Math.imul(s,a),M=M+Math.imul(xe,O)|0,f=f+Math.imul(xe,N)|0,f=f+Math.imul(ve,O)|0,S=S+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,S=S+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,S=S+Math.imul(le,Te)|0,M=M+Math.imul(P,We)|0,f=f+Math.imul(P,Ze)|0,f=f+Math.imul(H,We)|0,S=S+Math.imul(H,Ze)|0;var hn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(hn>>>26)|0,hn&=67108863,M=Math.imul(y,O),f=Math.imul(y,N),f=f+Math.imul(s,O)|0,S=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,S=S+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,S=S+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,S=S+Math.imul(le,Ze)|0;var dn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(dn>>>26)|0,dn&=67108863,M=Math.imul(y,re),f=Math.imul(y,be),f=f+Math.imul(s,re)|0,S=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,S=S+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,S=S+Math.imul(Ee,Ze)|0;var pn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(pn>>>26)|0,pn&=67108863,M=Math.imul(y,Ae),f=Math.imul(y,Te),f=f+Math.imul(s,Ae)|0,S=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,S=S+Math.imul(ve,Ze)|0;var gn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(gn>>>26)|0,gn&=67108863,M=Math.imul(y,We),f=Math.imul(y,Ze),f=f+Math.imul(s,We)|0,S=Math.imul(s,Ze);var mn=($+M|0)+((f&8191)<<13)|0;return $=(S+(f>>>13)|0)+(mn>>>26)|0,mn&=67108863,T[0]=Yr,T[1]=Xr,T[2]=Qr,T[3]=en,T[4]=tn,T[5]=rn,T[6]=nn,T[7]=on,T[8]=sn,T[9]=an,T[10]=un,T[11]=fn,T[12]=ln,T[13]=cn,T[14]=hn,T[15]=dn,T[16]=pn,T[17]=gn,T[18]=mn,$!==0&&(T[19]=$,g.length++),g};Math.imul||(oe=W);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 $=g&67108863,M=Math.min(v,i.length-1),f=Math.max(0,v-A.length+1);f<=M;f++){var S=v-f,ue=A.words[S]|0,pe=i.words[f]|0,D=ue*pe,me=D&67108863;T=T+(D/67108864|0)|0,me=me+$|0,$=me&67108863,T=T+(me>>>26)|0,m+=T>>>26,T&=67108863}h.words[v]=$,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=W(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 $=0;$<T;$++)m[$]=h[i[$]],v[$]=g[i[$]]},te.prototype.transform=function(i,h,g,m,v,T){this.permute(T,i,h,g,m,v);for(var $=1;$<v;$<<=1)for(var M=$<<1,f=Math.cos(2*Math.PI/M),S=Math.sin(2*Math.PI/M),ue=0;ue<v;ue+=M)for(var pe=f,D=S,me=0;me<$;me++){var Me=g[ue+me],Oe=m[ue+me],$e=g[ue+me+$],_e=m[ue+me+$],x=pe*$e-D*_e;_e=pe*_e+D*$e,$e=x,g[ue+me]=Me+$e,m[ue+me]=Oe+_e,g[ue+me+$]=Me-$e,m[ue+me+$]=Oe-_e,me!==M&&(x=f*pe-S*D,D=f*D+S*pe,pe=x)}},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),$=new Array(m),M=new Array(m),f=new Array(m),S=new Array(m),ue=new Array(m),pe=new Array(m),D=g.words;D.length=m,this.convert13b(i.words,i.length,$,m),this.convert13b(h.words,h.length,S,m),this.transform($,T,M,f,m,v),this.transform(S,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=Q(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 $=this.words[v]&m,M=(this.words[v]|0)-$<<h;this.words[v]=M|T,T=$>>>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),$=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 S=0;for(f=this.length-1;f>=0&&(S!==0||f>=m);f--){var ue=this.words[f]|0;this.words[f]=S<<26-v|ue>>>v,S=ue&$}return M&&S!==0&&(M.words[M.length++]=S),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,$=0;for(v=0;v<i.length;v++){T=(this.words[v+g]|0)+$;var M=(i.words[v]|0)*h;T-=M&67108863,$=(T>>26)-(M/67108864|0),this.words[v+g]=T&67108863}for(;v<this.length-g;v++)T=(this.words[v+g]|0)+$,$=T>>26,this.words[v+g]=T&67108863;if($===0)return this.strip();for(n($===-1),$=0,v=0;v<this.length;v++)T=-(this.words[v]|0)+$,$=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,$=this._countBits(T);g=26-$,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 S=0;S<f.length;S++)f.words[S]=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),$=new o(1),M=0;h.isEven()&&g.isEven();)h.iushrn(1),g.iushrn(1),++M;for(var f=g.clone(),S=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(S)),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()||$.isOdd())&&(T.iadd(f),$.isub(S)),T.iushrn(1),$.iushrn(1);h.cmp(g)>=0?(h.isub(g),m.isub(T),v.isub($)):(g.isub(h),T.isub(m),$.isub(v))}return{a:T,b:$,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 $=0,M=1;(h.words[0]&M)===0&&$<26;++$,M<<=1);if($>0)for(h.iushrn($);$-- >0;)m.isOdd()&&m.iadd(T),m.iushrn(1);for(var f=0,S=1;(g.words[0]&S)===0&&f<26;++f,S<<=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 $=this.words[T]|0;$+=v,v=$>>>26,$&=67108863,this.words[T]=$}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")}u(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 $=i.words[v]|0;i.words[v-10]=($&g)<<4|T>>>22,T=$}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 Y(){ce.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(Y,ce);function z(){ce.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(z,ce);function ae(){ce.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(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 Y;else if(i==="p192")h=new z;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),$=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($)!==0;)f.redIAdd($);for(var S=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(S,new o(1).iushln(D-Me-1));ue=ue.redMul(Oe),S=Oe.redSqr(),pe=pe.redMul(S),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],$=0,M=0,f=h.bitLength()%26;for(f===0&&(f=26),v=h.length-1;v>=0;v--){for(var S=h.words[v],ue=f-1;ue>=0;ue--){var pe=S>>ue&1;if(T!==m[0]&&(T=this.sqr(T)),pe===0&&$===0){M=0;continue}$<<=1,$|=pe,M++,!(M!==g&&(v!==0||ue!==0))&&(T=this.mul(T,m[$]),M=0,$=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)}u(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)}(Br)),Br.exports}function X1(e,t){return Dr(e,t)}const iw=Object.freeze(Object.defineProperty({__proto__:null,default:X1},Symbol.toStringTag,{value:"Module"}));function Q1(e,t){return Es(e,t,function(r,n){return xs(e,n)})}var eg=Us(function(e,t){return e==null?{}:Q1(e,t)});const ow=Object.freeze(Object.defineProperty({__proto__:null,default:eg},Symbol.toStringTag,{value:"Module"}));var vr={exports:{}},An,$o;function tg(){if($o)return An;$o=1;var e=1e3,t=e*60,r=t*60,n=r*24,u=n*7,o=n*365.25;An=function(p,F){F=F||{};var q=typeof p;if(q==="string"&&p.length>0)return d(p);if(q==="number"&&isFinite(p))return F.long?B(p):b(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 F=/^(-?(?:\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(F){var q=parseFloat(F[1]),Q=(F[2]||"ms").toLowerCase();switch(Q){case"years":case"year":case"yrs":case"yr":case"y":return q*o;case"weeks":case"week":case"w":return q*u;case"days":case"day":case"d":return q*n;case"hours":case"hour":case"hrs":case"hr":case"h":return q*r;case"minutes":case"minute":case"mins":case"min":case"m":return q*t;case"seconds":case"second":case"secs":case"sec":case"s":return q*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return q;default:return}}}}function b(p){var F=Math.abs(p);return F>=n?Math.round(p/n)+"d":F>=r?Math.round(p/r)+"h":F>=t?Math.round(p/t)+"m":F>=e?Math.round(p/e)+"s":p+"ms"}function B(p){var F=Math.abs(p);return F>=n?E(p,F,n,"day"):F>=r?E(p,F,r,"hour"):F>=t?E(p,F,t,"minute"):F>=e?E(p,F,e,"second"):p+" ms"}function E(p,F,q,Q){var W=F>=q*1.5;return Math.round(p/q)+" "+Q+(W?"s":"")}return An}var On,Fo;function rg(){if(Fo)return On;Fo=1;function e(t){n.debug=n,n.default=n,n.coerce=E,n.disable=b,n.enable=o,n.enabled=B,n.humanize=tg(),n.destroy=p,Object.keys(t).forEach(F=>{n[F]=t[F]}),n.names=[],n.skips=[],n.formatters={};function r(F){let q=0;for(let Q=0;Q<F.length;Q++)q=(q<<5)-q+F.charCodeAt(Q),q|=0;return n.colors[Math.abs(q)%n.colors.length]}n.selectColor=r;function n(F){let q,Q=null,W,oe;function J(...he){if(!J.enabled)return;const te=J,se=Number(new Date),ce=se-(q||se);te.diff=ce,te.prev=q,te.curr=se,q=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,(z,ae)=>{if(z==="%%")return"%";fe++;const de=n.formatters[ae];if(typeof de=="function"){const ne=he[fe];z=de.call(te,ne),he.splice(fe,1),fe--}return z}),n.formatArgs.call(te,he),(te.log||n.log).apply(te,he)}return J.namespace=F,J.useColors=n.useColors(),J.color=n.selectColor(F),J.extend=u,J.destroy=n.destroy,Object.defineProperty(J,"enabled",{enumerable:!0,configurable:!1,get:()=>Q!==null?Q:(W!==n.namespaces&&(W=n.namespaces,oe=n.enabled(F)),oe),set:he=>{Q=he}}),typeof n.init=="function"&&n.init(J),J}function u(F,q){const Q=n(this.namespace+(typeof q>"u"?":":q)+F);return Q.log=this.log,Q}function o(F){n.save(F),n.namespaces=F,n.names=[],n.skips=[];const q=(typeof F=="string"?F:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const Q of q)Q[0]==="-"?n.skips.push(Q.slice(1)):n.names.push(Q)}function d(F,q){let Q=0,W=0,oe=-1,J=0;for(;Q<F.length;)if(W<q.length&&(q[W]===F[Q]||q[W]==="*"))q[W]==="*"?(oe=W,J=Q,W++):(Q++,W++);else if(oe!==-1)W=oe+1,J++,Q=J;else return!1;for(;W<q.length&&q[W]==="*";)W++;return W===q.length}function b(){const F=[...n.names,...n.skips.map(q=>"-"+q)].join(",");return n.enable(""),F}function B(F){for(const q of n.skips)if(d(F,q))return!1;for(const q of n.names)if(d(F,q))return!0;return!1}function E(F){return F instanceof Error?F.stack||F.message:F}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 On=e,On}var Ro;function sw(){return Ro||(Ro=1,function(e,t){var r={};t.formatArgs=u,t.save=o,t.load=d,t.useColors=n,t.storage=b(),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 u(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 F=0,q=0;E[0].replace(/%[a-zA-Z%]/g,Q=>{Q!=="%%"&&(F++,Q==="%c"&&(q=F))}),E.splice(q,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 Ar<"u"&&"env"in Ar&&(E=r.DEBUG),E}function b(){try{return localStorage}catch{}}e.exports=rg()(t);const{formatters:B}=e.exports;B.j=function(E){try{return JSON.stringify(E)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}}(vr,vr.exports)),vr.exports}function Ca(e,t){for(var r=e.length;r--&&zr(t,e[r],0)>-1;);return r}function aw(e,t,r){if(e=tt(e),e&&t===void 0)return e.slice(0,os(e)+1);if(!e||!(t=ir(t)))return e;var n=Pt(e),u=Ca(n,Pt(t))+1;return Fr(n,0,u).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}/*!
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 Y=2147483647;te.kMaxLength=Y;const{Uint8Array:z,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 z(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,z.prototype),Object.setPrototypeOf(w,a),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>Y)throw new RangeError('The value "'+w+'" is invalid for option "size"');const a=new z(w);return Object.setPrototypeOf(a,i.prototype),a}function i(w,a,c){if(typeof w=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(w)}return h(w,a,c)}i.poolSize=8192;function h(w,a,c){if(typeof w=="string")return T(w,a);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,a,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,a,c);const N=S(w);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return i.from(w[Symbol.toPrimitive]("string"),a,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,a,c){return h(w,a,c)},Object.setPrototypeOf(i.prototype,z.prototype),Object.setPrototypeOf(i,z);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,a,c){return g(w),w<=0?A(w):a!==void 0?typeof c=="string"?A(w).fill(a,c):A(w).fill(a):A(w)}i.alloc=function(w,a,c){return m(w,a,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,a){if((typeof a!="string"||a==="")&&(a="utf8"),!i.isEncoding(a))throw new TypeError("Unknown encoding: "+a);const c=D(w,a)|0;let O=A(c);const N=O.write(w,a);return N!==c&&(O=O.slice(0,N)),O}function $(w){const a=w.length<0?0:ue(w.length)|0,c=A(a);for(let O=0;O<a;O+=1)c[O]=w[O]&255;return c}function M(w){if(Re(w,z)){const a=new z(w);return f(a.buffer,a.byteOffset,a.byteLength)}return $(w)}function f(w,a,c){if(a<0||w.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(w.byteLength<a+(c||0))throw new RangeError('"length" is outside of buffer bounds');let O;return a===void 0&&c===void 0?O=new z(w):c===void 0?O=new z(w,a):O=new z(w,a,c),Object.setPrototypeOf(O,i.prototype),O}function S(w){if(i.isBuffer(w)){const a=ue(w.length)|0,c=A(a);return c.length===0||w.copy(c,0,0,a),c}if(w.length!==void 0)return typeof w.length!="number"||$t(w.length)?A(0):$(w);if(w.type==="Buffer"&&Array.isArray(w.data))return $(w.data)}function ue(w){if(w>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return w|0}function pe(w){return+w!=w&&(w=0),i.alloc(+w)}i.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==i.prototype},i.compare=function(a,c){if(Re(a,z)&&(a=i.from(a,a.offset,a.byteLength)),Re(c,z)&&(c=i.from(c,c.offset,c.byteLength)),!i.isBuffer(a)||!i.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===c)return 0;let O=a.length,N=c.length;for(let X=0,re=Math.min(O,N);X<re;++X)if(a[X]!==c[X]){O=a[X],N=c[X];break}return O<N?-1:N<O?1:0},i.isEncoding=function(a){switch(String(a).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(a,c){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return i.alloc(0);let O;if(c===void 0)for(c=0,O=0;O<a.length;++O)c+=a[O].length;const N=i.allocUnsafe(c);let X=0;for(O=0;O<a.length;++O){let re=a[O];if(Re(re,z))X+re.length>N.length?(i.isBuffer(re)||(re=i.from(re)),re.copy(N,X)):z.prototype.set.call(N,re,X);else if(i.isBuffer(re))re.copy(N,X);else throw new TypeError('"list" argument must be an Array of Buffers');X+=re.length}return N};function D(w,a){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(a){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;a=(""+a).toLowerCase(),N=!0}}i.byteLength=D;function me(w,a,c){let O=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((c===void 0||c>this.length)&&(c=this.length),c<=0)||(c>>>=0,a>>>=0,c<=a))return"";for(w||(w="utf8");;)switch(w){case"hex":return V(this,a,c);case"utf8":case"utf-8":return L(this,a,c);case"ascii":return P(this,a,c);case"latin1":case"binary":return H(this,a,c);case"base64":return j(this,a,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,a,c);default:if(O)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),O=!0}}i.prototype._isBuffer=!0;function Me(w,a,c){const O=w[a];w[a]=w[c],w[c]=O}i.prototype.swap16=function(){const a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<a;c+=2)Me(this,c,c+1);return this},i.prototype.swap32=function(){const a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<a;c+=4)Me(this,c,c+3),Me(this,c+1,c+2);return this},i.prototype.swap64=function(){const a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<a;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 a=this.length;return a===0?"":arguments.length===0?L(this,0,a):me.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(a){if(!i.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:i.compare(this,a)===0},i.prototype.inspect=function(){let a="";const c=te.INSPECT_MAX_BYTES;return a=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(a+=" ... "),"<Buffer "+a+">"},fe&&(i.prototype[fe]=i.prototype.inspect),i.prototype.compare=function(a,c,O,N,X){if(Re(a,z)&&(a=i.from(a,a.offset,a.byteLength)),!i.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(c===void 0&&(c=0),O===void 0&&(O=a?a.length:0),N===void 0&&(N=0),X===void 0&&(X=this.length),c<0||O>a.length||N<0||X>this.length)throw new RangeError("out of range index");if(N>=X&&c>=O)return 0;if(N>=X)return-1;if(c>=O)return 1;if(c>>>=0,O>>>=0,N>>>=0,X>>>=0,this===a)return 0;let re=X-N,be=O-c;const ke=Math.min(re,be),Ae=this.slice(N,X),Te=a.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,a,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,$t(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 a=="string"&&(a=i.from(a,O)),i.isBuffer(a))return a.length===0?-1:$e(w,a,c,O,N);if(typeof a=="number")return a=a&255,typeof z.prototype.indexOf=="function"?N?z.prototype.indexOf.call(w,a,c):z.prototype.lastIndexOf.call(w,a,c):$e(w,[a],c,O,N);throw new TypeError("val must be string, number or Buffer")}function $e(w,a,c,O,N){let X=1,re=w.length,be=a.length;if(O!==void 0&&(O=String(O).toLowerCase(),O==="ucs2"||O==="ucs-2"||O==="utf16le"||O==="utf-16le")){if(w.length<2||a.length<2)return-1;X=2,re/=2,be/=2,c/=2}function ke(Te,Ie){return X===1?Te[Ie]:Te.readUInt16BE(Ie*X)}let Ae;if(N){let Te=-1;for(Ae=c;Ae<re;Ae++)if(ke(w,Ae)===ke(a,Te===-1?0:Ae-Te)){if(Te===-1&&(Te=Ae),Ae-Te+1===be)return Te*X}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(a,Ie)){Te=!1;break}if(Te)return Ae}return-1}i.prototype.includes=function(a,c,O){return this.indexOf(a,c,O)!==-1},i.prototype.indexOf=function(a,c,O){return Oe(this,a,c,O,!0)},i.prototype.lastIndexOf=function(a,c,O){return Oe(this,a,c,O,!1)};function _e(w,a,c,O){c=Number(c)||0;const N=w.length-c;O?(O=Number(O),O>N&&(O=N)):O=N;const X=a.length;O>X/2&&(O=X/2);let re;for(re=0;re<O;++re){const be=parseInt(a.substr(re*2,2),16);if($t(be))return re;w[c+re]=be}return re}function x(w,a,c,O){return je(Ue(a,w.length-c),w,c,O)}function C(w,a,c,O){return je(Se(a),w,c,O)}function R(w,a,c,O){return je(Fe(a),w,c,O)}function k(w,a,c,O){return je(Be(a,w.length-c),w,c,O)}i.prototype.write=function(a,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 X=this.length-c;if((O===void 0||O>X)&&(O=X),a.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,a,c,O);case"utf8":case"utf-8":return x(this,a,c,O);case"ascii":case"latin1":case"binary":return C(this,a,c,O);case"base64":return R(this,a,c,O);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,a,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 j(w,a,c){return a===0&&c===w.length?se.fromByteArray(w):se.fromByteArray(w.slice(a,c))}function L(w,a,c){c=Math.min(w.length,c);const O=[];let N=a;for(;N<c;){const X=w[N];let re=null,be=X>239?4:X>223?3:X>191?2:1;if(N+be<=c){let ke,Ae,Te,Ie;switch(be){case 1:X<128&&(re=X);break;case 2:ke=w[N+1],(ke&192)===128&&(Ie=(X&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=(X&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=(X&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 G=4096;function U(w){const a=w.length;if(a<=G)return String.fromCharCode.apply(String,w);let c="",O=0;for(;O<a;)c+=String.fromCharCode.apply(String,w.slice(O,O+=G));return c}function P(w,a,c){let O="";c=Math.min(w.length,c);for(let N=a;N<c;++N)O+=String.fromCharCode(w[N]&127);return O}function H(w,a,c){let O="";c=Math.min(w.length,c);for(let N=a;N<c;++N)O+=String.fromCharCode(w[N]);return O}function V(w,a,c){const O=w.length;(!a||a<0)&&(a=0),(!c||c<0||c>O)&&(c=O);let N="";for(let X=a;X<c;++X)N+=ze[w[X]];return N}function ie(w,a,c){const O=w.slice(a,c);let N="";for(let X=0;X<O.length-1;X+=2)N+=String.fromCharCode(O[X]+O[X+1]*256);return N}i.prototype.slice=function(a,c){const O=this.length;a=~~a,c=c===void 0?O:~~c,a<0?(a+=O,a<0&&(a=0)):a>O&&(a=O),c<0?(c+=O,c<0&&(c=0)):c>O&&(c=O),c<a&&(c=a);const N=this.subarray(a,c);return Object.setPrototypeOf(N,i.prototype),N};function le(w,a,c){if(w%1!==0||w<0)throw new RangeError("offset is not uint");if(w+a>c)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=this[a],X=1,re=0;for(;++re<c&&(X*=256);)N+=this[a+re]*X;return N},i.prototype.readUintBE=i.prototype.readUIntBE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=this[a+--c],X=1;for(;c>0&&(X*=256);)N+=this[a+--c]*X;return N},i.prototype.readUint8=i.prototype.readUInt8=function(a,c){return a=a>>>0,c||le(a,1,this.length),this[a]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(a,c){return a=a>>>0,c||le(a,2,this.length),this[a]|this[a+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(a,c){return a=a>>>0,c||le(a,2,this.length),this[a]<<8|this[a+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(a,c){return a=a>>>0,c||le(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(a,c){return a=a>>>0,c||le(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},i.prototype.readBigUInt64LE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=c+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,X=this[++a]+this[++a]*2**8+this[++a]*2**16+O*2**24;return BigInt(N)+(BigInt(X)<<BigInt(32))}),i.prototype.readBigUInt64BE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=c*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],X=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+O;return(BigInt(N)<<BigInt(32))+BigInt(X)}),i.prototype.readIntLE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=this[a],X=1,re=0;for(;++re<c&&(X*=256);)N+=this[a+re]*X;return X*=128,N>=X&&(N-=Math.pow(2,8*c)),N},i.prototype.readIntBE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=c,X=1,re=this[a+--N];for(;N>0&&(X*=256);)re+=this[a+--N]*X;return X*=128,re>=X&&(re-=Math.pow(2,8*c)),re},i.prototype.readInt8=function(a,c){return a=a>>>0,c||le(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},i.prototype.readInt16LE=function(a,c){a=a>>>0,c||le(a,2,this.length);const O=this[a]|this[a+1]<<8;return O&32768?O|4294901760:O},i.prototype.readInt16BE=function(a,c){a=a>>>0,c||le(a,2,this.length);const O=this[a+1]|this[a]<<8;return O&32768?O|4294901760:O},i.prototype.readInt32LE=function(a,c){return a=a>>>0,c||le(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},i.prototype.readInt32BE=function(a,c){return a=a>>>0,c||le(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},i.prototype.readBigInt64LE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(O<<24);return(BigInt(N)<<BigInt(32))+BigInt(c+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),i.prototype.readBigInt64BE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=(c<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(N)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+O)}),i.prototype.readFloatLE=function(a,c){return a=a>>>0,c||le(a,4,this.length),ce.read(this,a,!0,23,4)},i.prototype.readFloatBE=function(a,c){return a=a>>>0,c||le(a,4,this.length),ce.read(this,a,!1,23,4)},i.prototype.readDoubleLE=function(a,c){return a=a>>>0,c||le(a,8,this.length),ce.read(this,a,!0,52,8)},i.prototype.readDoubleBE=function(a,c){return a=a>>>0,c||le(a,8,this.length),ce.read(this,a,!1,52,8)};function ye(w,a,c,O,N,X){if(!i.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>N||a<X)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(a,c,O,N){if(a=+a,c=c>>>0,O=O>>>0,!N){const be=Math.pow(2,8*O)-1;ye(this,a,c,O,be,0)}let X=1,re=0;for(this[c]=a&255;++re<O&&(X*=256);)this[c+re]=a/X&255;return c+O},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(a,c,O,N){if(a=+a,c=c>>>0,O=O>>>0,!N){const be=Math.pow(2,8*O)-1;ye(this,a,c,O,be,0)}let X=O-1,re=1;for(this[c+X]=a&255;--X>=0&&(re*=256);)this[c+X]=a/re&255;return c+O},i.prototype.writeUint8=i.prototype.writeUInt8=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,1,255,0),this[c]=a&255,c+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,65535,0),this[c]=a&255,this[c+1]=a>>>8,c+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,65535,0),this[c]=a>>>8,this[c+1]=a&255,c+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,4294967295,0),this[c+3]=a>>>24,this[c+2]=a>>>16,this[c+1]=a>>>8,this[c]=a&255,c+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,4294967295,0),this[c]=a>>>24,this[c+1]=a>>>16,this[c+2]=a>>>8,this[c+3]=a&255,c+4};function we(w,a,c,O,N){_(a,O,N,w,c,7);let X=Number(a&BigInt(4294967295));w[c++]=X,X=X>>8,w[c++]=X,X=X>>8,w[c++]=X,X=X>>8,w[c++]=X;let re=Number(a>>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,a,c,O,N){_(a,O,N,w,c,7);let X=Number(a&BigInt(4294967295));w[c+7]=X,X=X>>8,w[c+6]=X,X=X>>8,w[c+5]=X,X=X>>8,w[c+4]=X;let re=Number(a>>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(a,c=0){return we(this,a,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=Pe(function(a,c=0){return Ee(this,a,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(a,c,O,N){if(a=+a,c=c>>>0,!N){const ke=Math.pow(2,8*O-1);ye(this,a,c,O,ke-1,-ke)}let X=0,re=1,be=0;for(this[c]=a&255;++X<O&&(re*=256);)a<0&&be===0&&this[c+X-1]!==0&&(be=1),this[c+X]=(a/re>>0)-be&255;return c+O},i.prototype.writeIntBE=function(a,c,O,N){if(a=+a,c=c>>>0,!N){const ke=Math.pow(2,8*O-1);ye(this,a,c,O,ke-1,-ke)}let X=O-1,re=1,be=0;for(this[c+X]=a&255;--X>=0&&(re*=256);)a<0&&be===0&&this[c+X+1]!==0&&(be=1),this[c+X]=(a/re>>0)-be&255;return c+O},i.prototype.writeInt8=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,1,127,-128),a<0&&(a=255+a+1),this[c]=a&255,c+1},i.prototype.writeInt16LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,32767,-32768),this[c]=a&255,this[c+1]=a>>>8,c+2},i.prototype.writeInt16BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,32767,-32768),this[c]=a>>>8,this[c+1]=a&255,c+2},i.prototype.writeInt32LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,2147483647,-2147483648),this[c]=a&255,this[c+1]=a>>>8,this[c+2]=a>>>16,this[c+3]=a>>>24,c+4},i.prototype.writeInt32BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[c]=a>>>24,this[c+1]=a>>>16,this[c+2]=a>>>8,this[c+3]=a&255,c+4},i.prototype.writeBigInt64LE=Pe(function(a,c=0){return we(this,a,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=Pe(function(a,c=0){return Ee(this,a,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ne(w,a,c,O,N,X){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,a,c,O,N){return a=+a,c=c>>>0,N||Ne(w,a,c,4),ce.write(w,a,c,O,23,4),c+4}i.prototype.writeFloatLE=function(a,c,O){return xe(this,a,c,!0,O)},i.prototype.writeFloatBE=function(a,c,O){return xe(this,a,c,!1,O)};function ve(w,a,c,O,N){return a=+a,c=c>>>0,N||Ne(w,a,c,8),ce.write(w,a,c,O,52,8),c+8}i.prototype.writeDoubleLE=function(a,c,O){return ve(this,a,c,!0,O)},i.prototype.writeDoubleBE=function(a,c,O){return ve(this,a,c,!1,O)},i.prototype.copy=function(a,c,O,N){if(!i.isBuffer(a))throw new TypeError("argument should be a Buffer");if(O||(O=0),!N&&N!==0&&(N=this.length),c>=a.length&&(c=a.length),c||(c=0),N>0&&N<O&&(N=O),N===O||a.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),a.length-c<N-O&&(N=a.length-c+O);const X=N-O;return this===a&&typeof z.prototype.copyWithin=="function"?this.copyWithin(c,O,N):z.prototype.set.call(a,this.subarray(O,N),c),X},i.prototype.fill=function(a,c,O,N){if(typeof a=="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(a.length===1){const re=a.charCodeAt(0);(N==="utf8"&&re<128||N==="latin1")&&(a=re)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));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,a||(a=0);let X;if(typeof a=="number")for(X=c;X<O;++X)this[X]=a;else{const re=i.isBuffer(a)?a:i.from(a,N),be=re.length;if(be===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(X=0;X<O-c;++X)this[X+c]=re[X%be]}return this};const Le={};function y(w,a,c){Le[w]=class extends c{constructor(){super(),Object.defineProperty(this,"message",{value:a.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,a){return`The "${w}" argument must be of type number. Received type ${typeof a}`},TypeError),y("ERR_OUT_OF_RANGE",function(w,a,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 ${a}. Received ${N}`,O},RangeError);function s(w){let a="",c=w.length;const O=w[0]==="-"?1:0;for(;c>=O+4;c-=3)a=`_${w.slice(c-3,c)}${a}`;return`${w.slice(0,c)}${a}`}function l(w,a,c){I(a,"offset"),(w[a]===void 0||w[a+c]===void 0)&&Z(a,w.length-(c+1))}function _(w,a,c,O,N,X){if(w>c||w<a){const re=typeof a=="bigint"?"n":"";let be;throw a===0||a===BigInt(0)?be=`>= 0${re} and < 2${re} ** ${(X+1)*8}${re}`:be=`>= -(2${re} ** ${(X+1)*8-1}${re}) and < 2 ** ${(X+1)*8-1}${re}`,new Le.ERR_OUT_OF_RANGE("value",be,w)}l(O,N,X)}function I(w,a){if(typeof w!="number")throw new Le.ERR_INVALID_ARG_TYPE(a,"number",w)}function Z(w,a,c){throw Math.floor(w)!==w?(I(w,c),new Le.ERR_OUT_OF_RANGE("offset","an integer",w)):a<0?new Le.ERR_BUFFER_OUT_OF_BOUNDS:new Le.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${a}`,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,a){a=a||1/0;let c;const O=w.length;let N=null;const X=[];for(let re=0;re<O;++re){if(c=w.charCodeAt(re),c>55295&&c<57344){if(!N){if(c>56319){(a-=3)>-1&&X.push(239,191,189);continue}else if(re+1===O){(a-=3)>-1&&X.push(239,191,189);continue}N=c;continue}if(c<56320){(a-=3)>-1&&X.push(239,191,189),N=c;continue}c=(N-55296<<10|c-56320)+65536}else N&&(a-=3)>-1&&X.push(239,191,189);if(N=null,c<128){if((a-=1)<0)break;X.push(c)}else if(c<2048){if((a-=2)<0)break;X.push(c>>6|192,c&63|128)}else if(c<65536){if((a-=3)<0)break;X.push(c>>12|224,c>>6&63|128,c&63|128)}else if(c<1114112){if((a-=4)<0)break;X.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw new Error("Invalid code point")}return X}function Se(w){const a=[];for(let c=0;c<w.length;++c)a.push(w.charCodeAt(c)&255);return a}function Be(w,a){let c,O,N;const X=[];for(let re=0;re<w.length&&!((a-=2)<0);++re)c=w.charCodeAt(re),O=c>>8,N=c%256,X.push(N),X.push(O);return X}function Fe(w){return se.toByteArray(ge(w))}function je(w,a,c,O){let N;for(N=0;N<O&&!(N+c>=a.length||N>=w.length);++N)a[N+c]=w[N];return N}function Re(w,a){return w instanceof a||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===a.name}function $t(w){return w!==w}const ze=function(){const w="0123456789abcdef",a=new Array(256);for(let c=0;c<16;++c){const O=c*16;for(let N=0;N<16;++N)a[O+N]=w[c]+w[N]}return a}();function Pe(w){return typeof BigInt>"u"?mr:w}function mr(){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}(Bn)),Bn}var e1=Br.exports,Bo;function Yy(){return Bo||(Bo=1,function(e){(function(t,r){function n(A,i){if(!A)throw new Error(i||"Assertion failed")}function u(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=Qp().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,$=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<<$&67108863,this.words[v+1]=T>>>26-$&67108863,$+=24,$>=26&&($-=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<<$&67108863,this.words[v+1]=T>>>26-$&67108863,$+=24,$>=26&&($-=26,v++);return this.strip()};function b(A,i){var h=A.charCodeAt(i);return h>=65&&h<=70?h-55:h>=97&&h<=102?h-87:h-48&15}function B(A,i,h){var g=b(A,h);return h-1>=i&&(g|=b(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,$;if(g==="be")for(m=i.length-1;m>=h;m-=2)$=B(i,h,m)<<v,this.words[T]|=$&67108863,v>=18?(v-=18,T+=1,this.words[T]|=$>>>26):v+=8;else{var M=i.length-h;for(m=M%2===0?h+1:h;m<i.length;m+=2)$=B(i,h,m)<<v,this.words[T]|=$&67108863,v>=18?(v-=18,T+=1,this.words[T]|=$>>>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 $=A.charCodeAt(T)-48;m*=g,$>=49?m+=$-49+10:$>=17?m+=$-17+10:m+=$}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,$=T%m,M=Math.min(T,T-$)+g,f=0,S=g;S<M;S+=m)f=E(i,S,S+m,h),this.imuln(v),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if($!==0){var ue=1;for(f=E(i,S,i.length,h),S=0;S<$;S++)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"],F=[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],q=[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 $=this.words[T],M=(($<<m|v)&16777215).toString(16);v=$>>>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=F[i],S=q[i];g="";var ue=this.clone();for(ue.negative=0;!ue.isZero();){var pe=ue.modn(S).toString(i);ue=ue.idivn(S),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",$=new i(v),M,f,S=this.clone();if(T){for(f=0;!S.isZero();f++)M=S.andln(255),S.iushrn(8),$[f]=M;for(;f<v;f++)$[f]=0}else{for(f=0;f<v-m;f++)$[f]=0;for(f=0;!S.isZero();f++)M=S.andln(255),S.iushrn(8),$[v-f-1]=M}return $},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 Q(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,$=0;$<v.length;$++)h=(m.words[$]|0)-(v.words[$]|0)+T,T=h>>26,this.words[$]=h&67108863;for(;T!==0&&$<m.length;$++)h=(m.words[$]|0)+T,T=h>>26,this.words[$]=h&67108863;if(T===0&&$<m.length&&m!==this)for(;$<m.length;$++)this.words[$]=m.words[$];return this.length=Math.max(this.length,$),m!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};function W(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,$=T&67108863,M=T/67108864|0;h.words[0]=$;for(var f=1;f<g;f++){for(var S=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,S+=T/67108864|0,ue=T&67108863}h.words[f]=ue|0,M=S|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,$=0,M,f,S,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,x=$e>>>13,C=m[3]|0,R=C&8191,k=C>>>13,j=m[4]|0,L=j&8191,G=j>>>13,U=m[5]|0,P=U&8191,H=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,$t=v[4]|0,ze=$t&8191,Pe=$t>>>13,mr=v[5]|0,w=mr&8191,a=mr>>>13,c=v[6]|0,O=c&8191,N=c>>>13,X=v[7]|0,re=X&8191,be=X>>>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,S=Math.imul(D,I);var Yr=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(Yr>>>26)|0,Yr&=67108863,M=Math.imul(Me,_),f=Math.imul(Me,I),f=f+Math.imul(Oe,_)|0,S=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,S=S+Math.imul(D,ge)|0;var Xr=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(Xr>>>26)|0,Xr&=67108863,M=Math.imul(_e,_),f=Math.imul(_e,I),f=f+Math.imul(x,_)|0,S=Math.imul(x,I),M=M+Math.imul(Me,K)|0,f=f+Math.imul(Me,ge)|0,f=f+Math.imul(Oe,K)|0,S=S+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,S=S+Math.imul(D,Be)|0;var Qr=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(Qr>>>26)|0,Qr&=67108863,M=Math.imul(R,_),f=Math.imul(R,I),f=f+Math.imul(k,_)|0,S=Math.imul(k,I),M=M+Math.imul(_e,K)|0,f=f+Math.imul(_e,ge)|0,f=f+Math.imul(x,K)|0,S=S+Math.imul(x,ge)|0,M=M+Math.imul(Me,Se)|0,f=f+Math.imul(Me,Be)|0,f=f+Math.imul(Oe,Se)|0,S=S+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,S=S+Math.imul(D,Re)|0;var en=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(en>>>26)|0,en&=67108863,M=Math.imul(L,_),f=Math.imul(L,I),f=f+Math.imul(G,_)|0,S=Math.imul(G,I),M=M+Math.imul(R,K)|0,f=f+Math.imul(R,ge)|0,f=f+Math.imul(k,K)|0,S=S+Math.imul(k,ge)|0,M=M+Math.imul(_e,Se)|0,f=f+Math.imul(_e,Be)|0,f=f+Math.imul(x,Se)|0,S=S+Math.imul(x,Be)|0,M=M+Math.imul(Me,je)|0,f=f+Math.imul(Me,Re)|0,f=f+Math.imul(Oe,je)|0,S=S+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,S=S+Math.imul(D,Pe)|0;var tn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(tn>>>26)|0,tn&=67108863,M=Math.imul(P,_),f=Math.imul(P,I),f=f+Math.imul(H,_)|0,S=Math.imul(H,I),M=M+Math.imul(L,K)|0,f=f+Math.imul(L,ge)|0,f=f+Math.imul(G,K)|0,S=S+Math.imul(G,ge)|0,M=M+Math.imul(R,Se)|0,f=f+Math.imul(R,Be)|0,f=f+Math.imul(k,Se)|0,S=S+Math.imul(k,Be)|0,M=M+Math.imul(_e,je)|0,f=f+Math.imul(_e,Re)|0,f=f+Math.imul(x,je)|0,S=S+Math.imul(x,Re)|0,M=M+Math.imul(Me,ze)|0,f=f+Math.imul(Me,Pe)|0,f=f+Math.imul(Oe,ze)|0,S=S+Math.imul(Oe,Pe)|0,M=M+Math.imul(pe,w)|0,f=f+Math.imul(pe,a)|0,f=f+Math.imul(D,w)|0,S=S+Math.imul(D,a)|0;var rn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(rn>>>26)|0,rn&=67108863,M=Math.imul(ie,_),f=Math.imul(ie,I),f=f+Math.imul(le,_)|0,S=Math.imul(le,I),M=M+Math.imul(P,K)|0,f=f+Math.imul(P,ge)|0,f=f+Math.imul(H,K)|0,S=S+Math.imul(H,ge)|0,M=M+Math.imul(L,Se)|0,f=f+Math.imul(L,Be)|0,f=f+Math.imul(G,Se)|0,S=S+Math.imul(G,Be)|0,M=M+Math.imul(R,je)|0,f=f+Math.imul(R,Re)|0,f=f+Math.imul(k,je)|0,S=S+Math.imul(k,Re)|0,M=M+Math.imul(_e,ze)|0,f=f+Math.imul(_e,Pe)|0,f=f+Math.imul(x,ze)|0,S=S+Math.imul(x,Pe)|0,M=M+Math.imul(Me,w)|0,f=f+Math.imul(Me,a)|0,f=f+Math.imul(Oe,w)|0,S=S+Math.imul(Oe,a)|0,M=M+Math.imul(pe,O)|0,f=f+Math.imul(pe,N)|0,f=f+Math.imul(D,O)|0,S=S+Math.imul(D,N)|0;var nn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(nn>>>26)|0,nn&=67108863,M=Math.imul(we,_),f=Math.imul(we,I),f=f+Math.imul(Ee,_)|0,S=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,S=S+Math.imul(le,ge)|0,M=M+Math.imul(P,Se)|0,f=f+Math.imul(P,Be)|0,f=f+Math.imul(H,Se)|0,S=S+Math.imul(H,Be)|0,M=M+Math.imul(L,je)|0,f=f+Math.imul(L,Re)|0,f=f+Math.imul(G,je)|0,S=S+Math.imul(G,Re)|0,M=M+Math.imul(R,ze)|0,f=f+Math.imul(R,Pe)|0,f=f+Math.imul(k,ze)|0,S=S+Math.imul(k,Pe)|0,M=M+Math.imul(_e,w)|0,f=f+Math.imul(_e,a)|0,f=f+Math.imul(x,w)|0,S=S+Math.imul(x,a)|0,M=M+Math.imul(Me,O)|0,f=f+Math.imul(Me,N)|0,f=f+Math.imul(Oe,O)|0,S=S+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,S=S+Math.imul(D,be)|0;var on=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(on>>>26)|0,on&=67108863,M=Math.imul(xe,_),f=Math.imul(xe,I),f=f+Math.imul(ve,_)|0,S=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,S=S+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,S=S+Math.imul(le,Be)|0,M=M+Math.imul(P,je)|0,f=f+Math.imul(P,Re)|0,f=f+Math.imul(H,je)|0,S=S+Math.imul(H,Re)|0,M=M+Math.imul(L,ze)|0,f=f+Math.imul(L,Pe)|0,f=f+Math.imul(G,ze)|0,S=S+Math.imul(G,Pe)|0,M=M+Math.imul(R,w)|0,f=f+Math.imul(R,a)|0,f=f+Math.imul(k,w)|0,S=S+Math.imul(k,a)|0,M=M+Math.imul(_e,O)|0,f=f+Math.imul(_e,N)|0,f=f+Math.imul(x,O)|0,S=S+Math.imul(x,N)|0,M=M+Math.imul(Me,re)|0,f=f+Math.imul(Me,be)|0,f=f+Math.imul(Oe,re)|0,S=S+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,S=S+Math.imul(D,Te)|0;var sn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(sn>>>26)|0,sn&=67108863,M=Math.imul(y,_),f=Math.imul(y,I),f=f+Math.imul(s,_)|0,S=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,S=S+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,S=S+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,S=S+Math.imul(le,Re)|0,M=M+Math.imul(P,ze)|0,f=f+Math.imul(P,Pe)|0,f=f+Math.imul(H,ze)|0,S=S+Math.imul(H,Pe)|0,M=M+Math.imul(L,w)|0,f=f+Math.imul(L,a)|0,f=f+Math.imul(G,w)|0,S=S+Math.imul(G,a)|0,M=M+Math.imul(R,O)|0,f=f+Math.imul(R,N)|0,f=f+Math.imul(k,O)|0,S=S+Math.imul(k,N)|0,M=M+Math.imul(_e,re)|0,f=f+Math.imul(_e,be)|0,f=f+Math.imul(x,re)|0,S=S+Math.imul(x,be)|0,M=M+Math.imul(Me,Ae)|0,f=f+Math.imul(Me,Te)|0,f=f+Math.imul(Oe,Ae)|0,S=S+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,S=S+Math.imul(D,Ze)|0;var an=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(an>>>26)|0,an&=67108863,M=Math.imul(y,K),f=Math.imul(y,ge),f=f+Math.imul(s,K)|0,S=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,S=S+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,S=S+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,S=S+Math.imul(le,Pe)|0,M=M+Math.imul(P,w)|0,f=f+Math.imul(P,a)|0,f=f+Math.imul(H,w)|0,S=S+Math.imul(H,a)|0,M=M+Math.imul(L,O)|0,f=f+Math.imul(L,N)|0,f=f+Math.imul(G,O)|0,S=S+Math.imul(G,N)|0,M=M+Math.imul(R,re)|0,f=f+Math.imul(R,be)|0,f=f+Math.imul(k,re)|0,S=S+Math.imul(k,be)|0,M=M+Math.imul(_e,Ae)|0,f=f+Math.imul(_e,Te)|0,f=f+Math.imul(x,Ae)|0,S=S+Math.imul(x,Te)|0,M=M+Math.imul(Me,We)|0,f=f+Math.imul(Me,Ze)|0,f=f+Math.imul(Oe,We)|0,S=S+Math.imul(Oe,Ze)|0;var un=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(un>>>26)|0,un&=67108863,M=Math.imul(y,Se),f=Math.imul(y,Be),f=f+Math.imul(s,Se)|0,S=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,S=S+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,S=S+Math.imul(Ee,Pe)|0,M=M+Math.imul(ie,w)|0,f=f+Math.imul(ie,a)|0,f=f+Math.imul(le,w)|0,S=S+Math.imul(le,a)|0,M=M+Math.imul(P,O)|0,f=f+Math.imul(P,N)|0,f=f+Math.imul(H,O)|0,S=S+Math.imul(H,N)|0,M=M+Math.imul(L,re)|0,f=f+Math.imul(L,be)|0,f=f+Math.imul(G,re)|0,S=S+Math.imul(G,be)|0,M=M+Math.imul(R,Ae)|0,f=f+Math.imul(R,Te)|0,f=f+Math.imul(k,Ae)|0,S=S+Math.imul(k,Te)|0,M=M+Math.imul(_e,We)|0,f=f+Math.imul(_e,Ze)|0,f=f+Math.imul(x,We)|0,S=S+Math.imul(x,Ze)|0;var fn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(fn>>>26)|0,fn&=67108863,M=Math.imul(y,je),f=Math.imul(y,Re),f=f+Math.imul(s,je)|0,S=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,S=S+Math.imul(ve,Pe)|0,M=M+Math.imul(we,w)|0,f=f+Math.imul(we,a)|0,f=f+Math.imul(Ee,w)|0,S=S+Math.imul(Ee,a)|0,M=M+Math.imul(ie,O)|0,f=f+Math.imul(ie,N)|0,f=f+Math.imul(le,O)|0,S=S+Math.imul(le,N)|0,M=M+Math.imul(P,re)|0,f=f+Math.imul(P,be)|0,f=f+Math.imul(H,re)|0,S=S+Math.imul(H,be)|0,M=M+Math.imul(L,Ae)|0,f=f+Math.imul(L,Te)|0,f=f+Math.imul(G,Ae)|0,S=S+Math.imul(G,Te)|0,M=M+Math.imul(R,We)|0,f=f+Math.imul(R,Ze)|0,f=f+Math.imul(k,We)|0,S=S+Math.imul(k,Ze)|0;var ln=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(ln>>>26)|0,ln&=67108863,M=Math.imul(y,ze),f=Math.imul(y,Pe),f=f+Math.imul(s,ze)|0,S=Math.imul(s,Pe),M=M+Math.imul(xe,w)|0,f=f+Math.imul(xe,a)|0,f=f+Math.imul(ve,w)|0,S=S+Math.imul(ve,a)|0,M=M+Math.imul(we,O)|0,f=f+Math.imul(we,N)|0,f=f+Math.imul(Ee,O)|0,S=S+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,S=S+Math.imul(le,be)|0,M=M+Math.imul(P,Ae)|0,f=f+Math.imul(P,Te)|0,f=f+Math.imul(H,Ae)|0,S=S+Math.imul(H,Te)|0,M=M+Math.imul(L,We)|0,f=f+Math.imul(L,Ze)|0,f=f+Math.imul(G,We)|0,S=S+Math.imul(G,Ze)|0;var cn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(cn>>>26)|0,cn&=67108863,M=Math.imul(y,w),f=Math.imul(y,a),f=f+Math.imul(s,w)|0,S=Math.imul(s,a),M=M+Math.imul(xe,O)|0,f=f+Math.imul(xe,N)|0,f=f+Math.imul(ve,O)|0,S=S+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,S=S+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,S=S+Math.imul(le,Te)|0,M=M+Math.imul(P,We)|0,f=f+Math.imul(P,Ze)|0,f=f+Math.imul(H,We)|0,S=S+Math.imul(H,Ze)|0;var hn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(hn>>>26)|0,hn&=67108863,M=Math.imul(y,O),f=Math.imul(y,N),f=f+Math.imul(s,O)|0,S=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,S=S+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,S=S+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,S=S+Math.imul(le,Ze)|0;var dn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(dn>>>26)|0,dn&=67108863,M=Math.imul(y,re),f=Math.imul(y,be),f=f+Math.imul(s,re)|0,S=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,S=S+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,S=S+Math.imul(Ee,Ze)|0;var pn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(pn>>>26)|0,pn&=67108863,M=Math.imul(y,Ae),f=Math.imul(y,Te),f=f+Math.imul(s,Ae)|0,S=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,S=S+Math.imul(ve,Ze)|0;var gn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(gn>>>26)|0,gn&=67108863,M=Math.imul(y,We),f=Math.imul(y,Ze),f=f+Math.imul(s,We)|0,S=Math.imul(s,Ze);var mn=($+M|0)+((f&8191)<<13)|0;return $=(S+(f>>>13)|0)+(mn>>>26)|0,mn&=67108863,T[0]=Yr,T[1]=Xr,T[2]=Qr,T[3]=en,T[4]=tn,T[5]=rn,T[6]=nn,T[7]=on,T[8]=sn,T[9]=an,T[10]=un,T[11]=fn,T[12]=ln,T[13]=cn,T[14]=hn,T[15]=dn,T[16]=pn,T[17]=gn,T[18]=mn,$!==0&&(T[19]=$,g.length++),g};Math.imul||(oe=W);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 $=g&67108863,M=Math.min(v,i.length-1),f=Math.max(0,v-A.length+1);f<=M;f++){var S=v-f,ue=A.words[S]|0,pe=i.words[f]|0,D=ue*pe,me=D&67108863;T=T+(D/67108864|0)|0,me=me+$|0,$=me&67108863,T=T+(me>>>26)|0,m+=T>>>26,T&=67108863}h.words[v]=$,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=W(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 $=0;$<T;$++)m[$]=h[i[$]],v[$]=g[i[$]]},te.prototype.transform=function(i,h,g,m,v,T){this.permute(T,i,h,g,m,v);for(var $=1;$<v;$<<=1)for(var M=$<<1,f=Math.cos(2*Math.PI/M),S=Math.sin(2*Math.PI/M),ue=0;ue<v;ue+=M)for(var pe=f,D=S,me=0;me<$;me++){var Me=g[ue+me],Oe=m[ue+me],$e=g[ue+me+$],_e=m[ue+me+$],x=pe*$e-D*_e;_e=pe*_e+D*$e,$e=x,g[ue+me]=Me+$e,m[ue+me]=Oe+_e,g[ue+me+$]=Me-$e,m[ue+me+$]=Oe-_e,me!==M&&(x=f*pe-S*D,D=f*D+S*pe,pe=x)}},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),$=new Array(m),M=new Array(m),f=new Array(m),S=new Array(m),ue=new Array(m),pe=new Array(m),D=g.words;D.length=m,this.convert13b(i.words,i.length,$,m),this.convert13b(h.words,h.length,S,m),this.transform($,T,M,f,m,v),this.transform(S,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=Q(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 $=this.words[v]&m,M=(this.words[v]|0)-$<<h;this.words[v]=M|T,T=$>>>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),$=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 S=0;for(f=this.length-1;f>=0&&(S!==0||f>=m);f--){var ue=this.words[f]|0;this.words[f]=S<<26-v|ue>>>v,S=ue&$}return M&&S!==0&&(M.words[M.length++]=S),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,$=0;for(v=0;v<i.length;v++){T=(this.words[v+g]|0)+$;var M=(i.words[v]|0)*h;T-=M&67108863,$=(T>>26)-(M/67108864|0),this.words[v+g]=T&67108863}for(;v<this.length-g;v++)T=(this.words[v+g]|0)+$,$=T>>26,this.words[v+g]=T&67108863;if($===0)return this.strip();for(n($===-1),$=0,v=0;v<this.length;v++)T=-(this.words[v]|0)+$,$=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,$=this._countBits(T);g=26-$,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 S=0;S<f.length;S++)f.words[S]=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),$=new o(1),M=0;h.isEven()&&g.isEven();)h.iushrn(1),g.iushrn(1),++M;for(var f=g.clone(),S=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(S)),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()||$.isOdd())&&(T.iadd(f),$.isub(S)),T.iushrn(1),$.iushrn(1);h.cmp(g)>=0?(h.isub(g),m.isub(T),v.isub($)):(g.isub(h),T.isub(m),$.isub(v))}return{a:T,b:$,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 $=0,M=1;(h.words[0]&M)===0&&$<26;++$,M<<=1);if($>0)for(h.iushrn($);$-- >0;)m.isOdd()&&m.iadd(T),m.iushrn(1);for(var f=0,S=1;(g.words[0]&S)===0&&f<26;++f,S<<=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 $=this.words[T]|0;$+=v,v=$>>>26,$&=67108863,this.words[T]=$}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")}u(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 $=i.words[v]|0;i.words[v-10]=($&g)<<4|T>>>22,T=$}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 Y(){ce.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(Y,ce);function z(){ce.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(z,ce);function ae(){ce.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(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 Y;else if(i==="p192")h=new z;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),$=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($)!==0;)f.redIAdd($);for(var S=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(S,new o(1).iushln(D-Me-1));ue=ue.redMul(Oe),S=Oe.redSqr(),pe=pe.redMul(S),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],$=0,M=0,f=h.bitLength()%26;for(f===0&&(f=26),v=h.length-1;v>=0;v--){for(var S=h.words[v],ue=f-1;ue>=0;ue--){var pe=S>>ue&1;if(T!==m[0]&&(T=this.sqr(T)),pe===0&&$===0){M=0;continue}$<<=1,$|=pe,M++,!(M!==g&&(v!==0||ue!==0))&&(T=this.mul(T,m[$]),M=0,$=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)}u(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,e1)}(Br)),Br.exports}var t1="[object Boolean]";function r1(e){return e===!0||e===!1||et(e)&&ut(e)==t1}const Xy=Object.freeze(Object.defineProperty({__proto__:null,default:r1},Symbol.toStringTag,{value:"Module"}));var n1="[object String]";function i1(e){return typeof e=="string"||!Ge(e)&&et(e)&&ut(e)==n1}const Qy=Object.freeze(Object.defineProperty({__proto__:null,default:i1},Symbol.toStringTag,{value:"Module"}));function o1(e){return function(t){t=tt(t);var r=Rr(t)?Pt(t):void 0,n=r?r[0]:t.charAt(0),u=r?Fr(r,1).join(""):t.slice(1);return n[e]()+u}}var ga=o1("toUpperCase");const ew=Object.freeze(Object.defineProperty({__proto__:null,default:ga},Symbol.toStringTag,{value:"Module"}));function s1(e){return ga(tt(e).toLowerCase())}function a1(e,t,r,n){for(var u=-1,o=e==null?0:e.length;++u<o;)r=t(r,e[u],u,e);return r}function ma(e){return function(t){return e?.[t]}}var u1={À:"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"},f1=ma(u1),l1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,c1="\\u0300-\\u036f",h1="\\ufe20-\\ufe2f",d1="\\u20d0-\\u20ff",p1=c1+h1+d1,g1="["+p1+"]",m1=RegExp(g1,"g");function y1(e){return e=tt(e),e&&e.replace(l1,f1).replace(m1,"")}var w1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function v1(e){return e.match(w1)||[]}var x1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function b1(e){return x1.test(e)}var ya="\\ud800-\\udfff",E1="\\u0300-\\u036f",M1="\\ufe20-\\ufe2f",_1="\\u20d0-\\u20ff",S1=E1+M1+_1,wa="\\u2700-\\u27bf",va="a-z\\xdf-\\xf6\\xf8-\\xff",B1="\\xac\\xb1\\xd7\\xf7",A1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",O1="\\u2000-\\u206f",T1=" \\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",C1="\\ufe0e\\ufe0f",ba=B1+A1+O1+T1,Ea="['’]",Ao="["+ba+"]",$1="["+S1+"]",Ma="\\d+",F1="["+wa+"]",_a="["+va+"]",Sa="[^"+ya+ba+Ma+wa+va+xa+"]",R1="\\ud83c[\\udffb-\\udfff]",I1="(?:"+$1+"|"+R1+")",N1="[^"+ya+"]",Ba="(?:\\ud83c[\\udde6-\\uddff]){2}",Aa="[\\ud800-\\udbff][\\udc00-\\udfff]",Rt="["+xa+"]",U1="\\u200d",Oo="(?:"+_a+"|"+Sa+")",P1="(?:"+Rt+"|"+Sa+")",To="(?:"+Ea+"(?:d|ll|m|re|s|t|ve))?",Co="(?:"+Ea+"(?:D|LL|M|RE|S|T|VE))?",Oa=I1+"?",Ta="["+C1+"]?",L1="(?:"+U1+"(?:"+[N1,Ba,Aa].join("|")+")"+Ta+Oa+")*",D1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",j1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",k1=Ta+Oa+L1,q1="(?:"+[F1,Ba,Aa].join("|")+")"+k1,z1=RegExp([Rt+"?"+_a+"+"+To+"(?="+[Ao,Rt,"$"].join("|")+")",P1+"+"+Co+"(?="+[Ao,Rt+Oo,"$"].join("|")+")",Rt+"?"+Oo+"+"+To,Rt+"+"+Co,j1,D1,Ma,q1].join("|"),"g");function H1(e){return e.match(z1)||[]}function G1(e,t,r){return e=tt(e),t=t,t===void 0?b1(e)?H1(e):v1(e):e.match(t)||[]}var W1="['’]",Z1=RegExp(W1,"g");function J1(e){return function(t){return a1(G1(y1(t).replace(Z1,"")),e,"")}}var V1=J1(function(e,t,r){return t=t.toLowerCase(),e+(r?s1(t):t)});const tw=Object.freeze(Object.defineProperty({__proto__:null,default:V1},Symbol.toStringTag,{value:"Module"}));function K1(e){return e===null}const rw=Object.freeze(Object.defineProperty({__proto__:null,default:K1},Symbol.toStringTag,{value:"Module"}));function Y1(e,t,r){e=tt(e),t=Gt(t);var n=t?Yn(e):0;return t&&n<t?e+is(t-n,r):e}const nw=Object.freeze(Object.defineProperty({__proto__:null,default:Y1},Symbol.toStringTag,{value:"Module"}));function X1(e,t){return Dr(e,t)}const iw=Object.freeze(Object.defineProperty({__proto__:null,default:X1},Symbol.toStringTag,{value:"Module"}));function Q1(e,t){return Es(e,t,function(r,n){return xs(e,n)})}var eg=Us(function(e,t){return e==null?{}:Q1(e,t)});const ow=Object.freeze(Object.defineProperty({__proto__:null,default:eg},Symbol.toStringTag,{value:"Module"}));var vr={exports:{}},An,$o;function tg(){if($o)return An;$o=1;var e=1e3,t=e*60,r=t*60,n=r*24,u=n*7,o=n*365.25;An=function(p,F){F=F||{};var q=typeof p;if(q==="string"&&p.length>0)return d(p);if(q==="number"&&isFinite(p))return F.long?B(p):b(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 F=/^(-?(?:\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(F){var q=parseFloat(F[1]),Q=(F[2]||"ms").toLowerCase();switch(Q){case"years":case"year":case"yrs":case"yr":case"y":return q*o;case"weeks":case"week":case"w":return q*u;case"days":case"day":case"d":return q*n;case"hours":case"hour":case"hrs":case"hr":case"h":return q*r;case"minutes":case"minute":case"mins":case"min":case"m":return q*t;case"seconds":case"second":case"secs":case"sec":case"s":return q*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return q;default:return}}}}function b(p){var F=Math.abs(p);return F>=n?Math.round(p/n)+"d":F>=r?Math.round(p/r)+"h":F>=t?Math.round(p/t)+"m":F>=e?Math.round(p/e)+"s":p+"ms"}function B(p){var F=Math.abs(p);return F>=n?E(p,F,n,"day"):F>=r?E(p,F,r,"hour"):F>=t?E(p,F,t,"minute"):F>=e?E(p,F,e,"second"):p+" ms"}function E(p,F,q,Q){var W=F>=q*1.5;return Math.round(p/q)+" "+Q+(W?"s":"")}return An}var On,Fo;function rg(){if(Fo)return On;Fo=1;function e(t){n.debug=n,n.default=n,n.coerce=E,n.disable=b,n.enable=o,n.enabled=B,n.humanize=tg(),n.destroy=p,Object.keys(t).forEach(F=>{n[F]=t[F]}),n.names=[],n.skips=[],n.formatters={};function r(F){let q=0;for(let Q=0;Q<F.length;Q++)q=(q<<5)-q+F.charCodeAt(Q),q|=0;return n.colors[Math.abs(q)%n.colors.length]}n.selectColor=r;function n(F){let q,Q=null,W,oe;function J(...he){if(!J.enabled)return;const te=J,se=Number(new Date),ce=se-(q||se);te.diff=ce,te.prev=q,te.curr=se,q=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,(z,ae)=>{if(z==="%%")return"%";fe++;const de=n.formatters[ae];if(typeof de=="function"){const ne=he[fe];z=de.call(te,ne),he.splice(fe,1),fe--}return z}),n.formatArgs.call(te,he),(te.log||n.log).apply(te,he)}return J.namespace=F,J.useColors=n.useColors(),J.color=n.selectColor(F),J.extend=u,J.destroy=n.destroy,Object.defineProperty(J,"enabled",{enumerable:!0,configurable:!1,get:()=>Q!==null?Q:(W!==n.namespaces&&(W=n.namespaces,oe=n.enabled(F)),oe),set:he=>{Q=he}}),typeof n.init=="function"&&n.init(J),J}function u(F,q){const Q=n(this.namespace+(typeof q>"u"?":":q)+F);return Q.log=this.log,Q}function o(F){n.save(F),n.namespaces=F,n.names=[],n.skips=[];const q=(typeof F=="string"?F:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const Q of q)Q[0]==="-"?n.skips.push(Q.slice(1)):n.names.push(Q)}function d(F,q){let Q=0,W=0,oe=-1,J=0;for(;Q<F.length;)if(W<q.length&&(q[W]===F[Q]||q[W]==="*"))q[W]==="*"?(oe=W,J=Q,W++):(Q++,W++);else if(oe!==-1)W=oe+1,J++,Q=J;else return!1;for(;W<q.length&&q[W]==="*";)W++;return W===q.length}function b(){const F=[...n.names,...n.skips.map(q=>"-"+q)].join(",");return n.enable(""),F}function B(F){for(const q of n.skips)if(d(F,q))return!1;for(const q of n.names)if(d(F,q))return!0;return!1}function E(F){return F instanceof Error?F.stack||F.message:F}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 On=e,On}var Ro;function sw(){return Ro||(Ro=1,function(e,t){var r={};t.formatArgs=u,t.save=o,t.load=d,t.useColors=n,t.storage=b(),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 u(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 F=0,q=0;E[0].replace(/%[a-zA-Z%]/g,Q=>{Q!=="%%"&&(F++,Q==="%c"&&(q=F))}),E.splice(q,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 Ar<"u"&&"env"in Ar&&(E=r.DEBUG),E}function b(){try{return localStorage}catch{}}e.exports=rg()(t);const{formatters:B}=e.exports;B.j=function(E){try{return JSON.stringify(E)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}}(vr,vr.exports)),vr.exports}function Ca(e,t){for(var r=e.length;r--&&zr(t,e[r],0)>-1;);return r}function aw(e,t,r){if(e=tt(e),e&&t===void 0)return e.slice(0,os(e)+1);if(!e||!(t=ir(t)))return e;var n=Pt(e),u=Ca(n,Pt(t))+1;return Fr(n,0,u).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
17
  * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
18
18
  *
19
19
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -210,4 +210,4 @@ __p += '`),te&&(F+=`' +
210
210
  function print() { __p += __j.call(arguments, '') }
211
211
  `:`;
212
212
  `)+F+`return __p
213
- }`;var oe=cm(function(){return Function(o,Q+"return "+F).apply(void 0,d)});if(oe.source=F,La(oe))throw oe;return oe}var Tm=ot.isFinite;function lw(e){return typeof e=="number"&&Tm(e)}var Cm=1,$m=4;function Fm(e){return tr(e,Cm|$m)}const cw=Object.freeze(Object.defineProperty({__proto__:null,default:Fm},Symbol.toStringTag,{value:"Module"}));function za(e,t,r,n,u,o){return Ve(e)&&Ve(t)&&(o.set(t,e),kr(e,t,void 0,za,o),o.delete(t)),e}var Rm=hi(function(e,t,r,n){kr(e,t,r,n)}),hw=dt(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&&zr(t,e[r],0)>-1;);return r}function Nm(e,t,r){if(e=tt(e),e&&(r||t===void 0))return ss(e);if(!e||!(t=ir(t)))return e;var n=Pt(e),u=Pt(t),o=Im(n,u),d=Ca(n,u)+1;return Fr(n,o,d).join("")}const dw=Object.freeze(Object.defineProperty({__proto__:null,default:Nm},Symbol.toStringTag,{value:"Module"}));var pw=dt(function(e){var t=qr(e);return qt(t)&&(t=void 0),zt(fr(e,1,qt,!0),ht(t))});function Bi(e,t){return e&&Ss(e,t,xt)}function Um(e,t){return function(r,n){if(r==null)return r;if(!vt(r))return e(r,n);for(var u=r.length,o=-1,d=Object(r);++o<u&&n(d[o],o,d)!==!1;);return r}}var Ai=Um(Bi);function Ha(e,t){var r=-1,n=vt(e)?Array(e.length):[];return Ai(e,function(u,o,d){n[++r]=t(u,o,d)}),n}function Pm(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}function Lm(e,t){if(e!==t){var r=e!==void 0,n=e===null,u=e===e,o=Ut(e),d=t!==void 0,b=t===null,B=t===t,E=Ut(t);if(!b&&!E&&!o&&e>t||o&&d&&B&&!b&&!E||n&&d&&B||!r&&B||!u)return 1;if(!n&&!o&&!E&&e<t||E&&r&&u&&!n&&!o||b&&r&&u||!d&&u||!B)return-1}return 0}function Dm(e,t,r){for(var n=-1,u=e.criteria,o=t.criteria,d=u.length,b=r.length;++n<d;){var B=Lm(u[n],o[n]);if(B){if(n>=b)return B;var E=r[n];return B*(E=="desc"?-1:1)}}return e.index-t.index}function Ga(e,t,r){t.length?t=wt(t,function(o){return Ge(o)?function(d){return sr(d,o.length===1?o[0]:o)}:o}):t=[ar];var n=-1;t=wt(t,Ur(ht));var u=Ha(e,function(o,d,b){var B=wt(t,function(E){return E(o)});return{criteria:B,index:++n,value:o}});return Pm(u,function(o,d){return Dm(o,d,r)})}var gw=dt(function(e,t){if(e==null)return[];var r=t.length;return r>1&&Hn(e,t[0],t[1])?t=[]:r>2&&Hn(t[0],t[1],t[2])&&(t=[t[0]]),Ga(e,fr(t),[])});function jm(e){return function(t,r,n){var u=Object(t);if(!vt(t)){var o=ht(r);t=xt(t),r=function(b){return o(u[b],b,u)}}var d=e(t,r,n);return d>-1?u[o?t[d]:d]:void 0}}var km=Math.max;function qm(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var u=r==null?0:Gt(r);return u<0&&(u=km(n+u,0)),Ps(e,ht(t),u)}var mw=jm(qm);function zm(e){return e&&e.length?zt(e):[]}const yw=Object.freeze(Object.defineProperty({__proto__:null,default:zm},Symbol.toStringTag,{value:"Module"}));var Hm=Math.ceil,Gm=Math.max;function ww(e,t,r){t===void 0?t=1:t=Gm(Gt(t),0);var n=e==null?0:e.length;if(!n||t<1)return[];for(var u=0,o=0,d=Array(Hm(n/t));u<n;)d[o++]=Kn(e,u,u+=t);return d}function Wm(e,t,r,n){for(var u=-1,o=e==null?0:e.length;++u<o;){var d=e[u];t(n,d,r(d),e)}return n}function Zm(e,t,r,n){return Ai(e,function(u,o,d){t(n,u,r(u),d)}),n}function Wa(e,t){return function(r,n){var u=Ge(r)?Wm:Zm,o=t?t():{};return u(r,e,ht(n),o)}}var Jm=200;function Za(e,t,r,n){var u=-1,o=Ls,d=!0,b=e.length,B=[],E=t.length;if(!b)return B;n?(o=Ds,d=!1):t.length>=Jm&&(o=Qn,d=!1,t=new Lt(t));e:for(;++u<b;){var p=e[u],F=p;if(p=n||p!==0?p:0,d&&F===F){for(var q=E;q--;)if(t[q]===F)continue e;B.push(p)}else o(t,F,n)||B.push(p)}return B}function Ja(e){return typeof e=="function"?e:ar}function vw(e,t){var r=Ge(e)?Fs:Ai;return r(e,Ja(t))}function Vm(e,t){var r=Ge(e)?wt:Ha;return r(e,ht(t))}const xw=Object.freeze(Object.defineProperty({__proto__:null,default:Vm},Symbol.toStringTag,{value:"Module"}));function Km(e,t){return e&&Bi(e,Ja(t))}const bw=Object.freeze(Object.defineProperty({__proto__:null,default:Km},Symbol.toStringTag,{value:"Module"}));function Ew(e){return e==null?[]:Da(e,xt(e))}function Mw(e){return typeof e=="number"&&e==Gt(e)}var _w=Wa(function(e,t,r){ur(e,r,t)});function Sw(e,t){var r={};return t=ht(t),Bi(e,function(n,u,o){ur(r,u,t(n,u,o))}),r}function Ym(e,t){var r=e.length;if(r)return t+=t<0?r:0,or(t,r)?e[t]:void 0}function Bw(e){return e=Gt(e),dt(function(t){return Ym(t,e)})}function Aw(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 Xm=Wa(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const Ow=Object.freeze(Object.defineProperty({__proto__:null,default:Xm},Symbol.toStringTag,{value:"Module"}));var Qm=Array.prototype,qo=Qm.splice;function ey(e,t,r,n){var u=zr,o=-1,d=t.length,b=e;for(e===t&&(t=li(t));++o<d;)for(var B=0,E=t[o],p=E;(B=u(b,p,B))>-1;)b!==e&&qo.call(b,B,1),qo.call(e,B,1);return e}function ty(e,t){return e&&e.length&&t&&t.length?ey(e,t):e}var Tw=dt(ty);function ry(e){return tt(e).toLowerCase()}const Cw=Object.freeze(Object.defineProperty({__proto__:null,default:ry},Symbol.toStringTag,{value:"Module"}));function $w(e){return tt(e).toUpperCase()}var ny=dt(function(e){var t=qr(e);return t=typeof t=="function"?t:void 0,zt(fr(e,1,qt,!0),void 0,t)});const Fw=Object.freeze(Object.defineProperty({__proto__:null,default:ny},Symbol.toStringTag,{value:"Module"}));var Rw=dt(function(e,t){return qt(e)?Za(e,t):[]});function iy(e,t,r){var n=e.length;if(n<2)return n?zt(e[0]):[];for(var u=-1,o=Array(n);++u<n;)for(var d=e[u],b=-1;++b<n;)b!=u&&(o[u]=Za(o[u]||d,e[b],t,r));return zt(fr(o),t,r)}var Iw=dt(function(e){var t=qr(e);return t=typeof t=="function"?t:void 0,iy(fs(e,qt),void 0,t)});export{fy as $,eg as A,sp as B,_y as C,Je as D,mw as E,Ve as F,Fm as G,Xp as H,Ph as I,Ey as J,fw as K,uw as L,aw as M,J1 as N,My as O,Cy as P,r1 as Q,Ge as R,Ay as S,Nm as T,Xn as U,gw as V,pw as W,hw as X,hy as Y,lw as Z,yy as _,Yc as a,yw as a0,By as a1,oi as a2,zh as a3,Sy as a4,Iw as a5,xy as a6,ww as a7,Aw as a8,gi as a9,ud as aA,X1 as aB,Fw as aC,uy as aD,Ow as aE,Rw as aF,by as aG,Ew as aH,_w as aI,ga as aa,zm as ab,Pp as ac,Mw as ad,Iy as ae,Z1 as af,ks as ag,Oy as ah,cd as ai,Rh as aj,bw as ak,my as al,xw as am,vw as an,Vm as ao,cw as ap,wy as aq,Cw as ar,dw as as,Sw as at,$w as au,Bw as av,Gc as aw,vy as ax,tg as ay,Tw as az,Xu as b,py as c,t0 as d,vs as e,Ky as f,Mt as g,Yy as h,jr as i,Vy as j,sy as k,Qy as l,ew as m,u0 as n,ly as o,tw as p,ay as q,cy as r,dy as s,gy as t,Xy as u,nw as v,K1 as w,iw as x,ow as y,sw as z};
213
+ }`;var oe=cm(function(){return Function(o,Q+"return "+F).apply(void 0,d)});if(oe.source=F,La(oe))throw oe;return oe}var Tm=ot.isFinite;function lw(e){return typeof e=="number"&&Tm(e)}var Cm=1,$m=4;function Fm(e){return tr(e,Cm|$m)}const cw=Object.freeze(Object.defineProperty({__proto__:null,default:Fm},Symbol.toStringTag,{value:"Module"}));function za(e,t,r,n,u,o){return Ve(e)&&Ve(t)&&(o.set(t,e),kr(e,t,void 0,za,o),o.delete(t)),e}var Rm=hi(function(e,t,r,n){kr(e,t,r,n)}),hw=dt(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&&zr(t,e[r],0)>-1;);return r}function Nm(e,t,r){if(e=tt(e),e&&(r||t===void 0))return ss(e);if(!e||!(t=ir(t)))return e;var n=Pt(e),u=Pt(t),o=Im(n,u),d=Ca(n,u)+1;return Fr(n,o,d).join("")}const dw=Object.freeze(Object.defineProperty({__proto__:null,default:Nm},Symbol.toStringTag,{value:"Module"}));var pw=dt(function(e){var t=qr(e);return qt(t)&&(t=void 0),zt(fr(e,1,qt,!0),ht(t))});function Bi(e,t){return e&&Ss(e,t,xt)}function Um(e,t){return function(r,n){if(r==null)return r;if(!vt(r))return e(r,n);for(var u=r.length,o=-1,d=Object(r);++o<u&&n(d[o],o,d)!==!1;);return r}}var Ai=Um(Bi);function Ha(e,t){var r=-1,n=vt(e)?Array(e.length):[];return Ai(e,function(u,o,d){n[++r]=t(u,o,d)}),n}function Pm(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}function Lm(e,t){if(e!==t){var r=e!==void 0,n=e===null,u=e===e,o=Ut(e),d=t!==void 0,b=t===null,B=t===t,E=Ut(t);if(!b&&!E&&!o&&e>t||o&&d&&B&&!b&&!E||n&&d&&B||!r&&B||!u)return 1;if(!n&&!o&&!E&&e<t||E&&r&&u&&!n&&!o||b&&r&&u||!d&&u||!B)return-1}return 0}function Dm(e,t,r){for(var n=-1,u=e.criteria,o=t.criteria,d=u.length,b=r.length;++n<d;){var B=Lm(u[n],o[n]);if(B){if(n>=b)return B;var E=r[n];return B*(E=="desc"?-1:1)}}return e.index-t.index}function Ga(e,t,r){t.length?t=wt(t,function(o){return Ge(o)?function(d){return sr(d,o.length===1?o[0]:o)}:o}):t=[ar];var n=-1;t=wt(t,Ur(ht));var u=Ha(e,function(o,d,b){var B=wt(t,function(E){return E(o)});return{criteria:B,index:++n,value:o}});return Pm(u,function(o,d){return Dm(o,d,r)})}var gw=dt(function(e,t){if(e==null)return[];var r=t.length;return r>1&&Hn(e,t[0],t[1])?t=[]:r>2&&Hn(t[0],t[1],t[2])&&(t=[t[0]]),Ga(e,fr(t),[])});function jm(e){return function(t,r,n){var u=Object(t);if(!vt(t)){var o=ht(r);t=xt(t),r=function(b){return o(u[b],b,u)}}var d=e(t,r,n);return d>-1?u[o?t[d]:d]:void 0}}var km=Math.max;function qm(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var u=r==null?0:Gt(r);return u<0&&(u=km(n+u,0)),Ps(e,ht(t),u)}var mw=jm(qm);function zm(e){return e&&e.length?zt(e):[]}const yw=Object.freeze(Object.defineProperty({__proto__:null,default:zm},Symbol.toStringTag,{value:"Module"}));var Hm=Math.ceil,Gm=Math.max;function ww(e,t,r){t===void 0?t=1:t=Gm(Gt(t),0);var n=e==null?0:e.length;if(!n||t<1)return[];for(var u=0,o=0,d=Array(Hm(n/t));u<n;)d[o++]=Kn(e,u,u+=t);return d}function Wm(e,t,r,n){for(var u=-1,o=e==null?0:e.length;++u<o;){var d=e[u];t(n,d,r(d),e)}return n}function Zm(e,t,r,n){return Ai(e,function(u,o,d){t(n,u,r(u),d)}),n}function Wa(e,t){return function(r,n){var u=Ge(r)?Wm:Zm,o=t?t():{};return u(r,e,ht(n),o)}}var Jm=200;function Za(e,t,r,n){var u=-1,o=Ls,d=!0,b=e.length,B=[],E=t.length;if(!b)return B;n?(o=Ds,d=!1):t.length>=Jm&&(o=Qn,d=!1,t=new Lt(t));e:for(;++u<b;){var p=e[u],F=p;if(p=n||p!==0?p:0,d&&F===F){for(var q=E;q--;)if(t[q]===F)continue e;B.push(p)}else o(t,F,n)||B.push(p)}return B}function Ja(e){return typeof e=="function"?e:ar}function vw(e,t){var r=Ge(e)?Fs:Ai;return r(e,Ja(t))}function Vm(e,t){var r=Ge(e)?wt:Ha;return r(e,ht(t))}const xw=Object.freeze(Object.defineProperty({__proto__:null,default:Vm},Symbol.toStringTag,{value:"Module"}));function Km(e,t){return e&&Bi(e,Ja(t))}const bw=Object.freeze(Object.defineProperty({__proto__:null,default:Km},Symbol.toStringTag,{value:"Module"}));function Ew(e){return e==null?[]:Da(e,xt(e))}function Mw(e){return typeof e=="number"&&e==Gt(e)}var _w=Wa(function(e,t,r){ur(e,r,t)});function Sw(e,t){var r={};return t=ht(t),Bi(e,function(n,u,o){ur(r,u,t(n,u,o))}),r}function Ym(e,t){var r=e.length;if(r)return t+=t<0?r:0,or(t,r)?e[t]:void 0}function Bw(e){return e=Gt(e),dt(function(t){return Ym(t,e)})}function Aw(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 Xm=Wa(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const Ow=Object.freeze(Object.defineProperty({__proto__:null,default:Xm},Symbol.toStringTag,{value:"Module"}));var Qm=Array.prototype,qo=Qm.splice;function ey(e,t,r,n){var u=zr,o=-1,d=t.length,b=e;for(e===t&&(t=li(t));++o<d;)for(var B=0,E=t[o],p=E;(B=u(b,p,B))>-1;)b!==e&&qo.call(b,B,1),qo.call(e,B,1);return e}function ty(e,t){return e&&e.length&&t&&t.length?ey(e,t):e}var Tw=dt(ty);function ry(e){return tt(e).toLowerCase()}const Cw=Object.freeze(Object.defineProperty({__proto__:null,default:ry},Symbol.toStringTag,{value:"Module"}));function $w(e){return tt(e).toUpperCase()}var ny=dt(function(e){var t=qr(e);return t=typeof t=="function"?t:void 0,zt(fr(e,1,qt,!0),void 0,t)});const Fw=Object.freeze(Object.defineProperty({__proto__:null,default:ny},Symbol.toStringTag,{value:"Module"}));var Rw=dt(function(e,t){return qt(e)?Za(e,t):[]});function iy(e,t,r){var n=e.length;if(n<2)return n?zt(e[0]):[];for(var u=-1,o=Array(n);++u<n;)for(var d=e[u],b=-1;++b<n;)b!=u&&(o[u]=Za(o[u]||d,e[b],t,r));return zt(fr(o),t,r)}var Iw=dt(function(e){var t=qr(e);return t=typeof t=="function"?t:void 0,iy(fs(e,qt),void 0,t)});export{ow as $,mw as A,sp as B,Fm as C,Ph as D,Ey as E,fw as F,uw as G,aw as H,My as I,Cy as J,Ge as K,Ay as L,Nm as M,Xn as N,gw as O,pw as P,hw as Q,Xy as R,Qy as S,Vy as T,sy as U,ew as V,tw as W,rw as X,nw as Y,ay as Z,iw as _,Yc as a,hy as a0,lw as a1,yy as a2,fy as a3,yw as a4,By as a5,oi as a6,zh as a7,Sy as a8,Iw as a9,vy as aA,tg as aB,Tw as aC,ud as aD,Fw as aE,uy as aF,Ow as aG,Rw as aH,by as aI,Ew as aJ,_w as aK,xy as aa,ww as ab,Aw as ac,gi as ad,zm as ae,Pp as af,Mw as ag,Iy as ah,V1 as ai,ks as aj,Oy as ak,cd as al,Rh as am,bw as an,my as ao,xw as ap,vw as aq,Vm as ar,cw as as,wy as at,Cw as au,dw as av,Sw as aw,$w as ax,Bw as ay,Gc as az,Xu as b,py as c,t0 as d,vs as e,Yy as f,Mt as g,i1 as h,jr as i,Xp as j,r1 as k,Ve as l,K1 as m,u0 as n,ly as o,Qp as p,Yu as q,cy as r,dy as s,gy as t,ga as u,X1 as v,eg as w,sw as x,_y as y,Je as z};