@acedatacloud/nexior 3.123.0 → 3.124.0

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 (273) hide show
  1. package/dist/assets/{Auth-CVnlt5_W.js → Auth-BmTgoY6Y.js} +1 -1
  2. package/dist/assets/{BotPlaceholder-a9R2UtvK.js → BotPlaceholder-CI2kgAUE.js} +1 -1
  3. package/dist/assets/{Callback-D3QPtTln.js → Callback-CH_-ssPO.js} +1 -1
  4. package/dist/assets/{Console-DL0GtmUi.js → Console-DSNXzsZl.js} +1 -1
  5. package/dist/assets/{Consumption-Bs1pEV4F.js → Consumption-DwrLZoY5.js} +1 -1
  6. package/dist/assets/{Conversation-CZ2-3sIQ.js → Conversation-D_-kPXoT.js} +1 -1
  7. package/dist/assets/{CopyToClipboard-DtS4Cm-K.js → CopyToClipboard-CIT7F0gW.js} +1 -1
  8. package/dist/assets/{Detail-BzMxQXgP.js → Detail-BMVeNjPg.js} +2 -2
  9. package/dist/assets/EditArray-LJZ29IXX.js +1 -0
  10. package/dist/assets/{Extra-DUwimZV-.js → Extra-XsqG0Wop.js} +1 -1
  11. package/dist/assets/{FilePreview-DUJBdznO.js → FilePreview-CM5E9Ki4.js} +1 -1
  12. package/dist/assets/{History-Bt-4zQvc.js → History-Cpg_rcrM.js} +1 -1
  13. package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-B17lykW8.js → IconPark.vue_vue_type_script_setup_true_lang-CFjUPLQF.js} +1 -1
  14. package/dist/assets/{ImagePreview-BQvRlIaJ.js → ImagePreview-DLdbTHgD.js} +1 -1
  15. package/dist/assets/{ImageWrapper-F8OvWPcI.js → ImageWrapper-CBkOFf1l.js} +1 -1
  16. package/dist/assets/Index-3tAg0WhH.js +1 -0
  17. package/dist/assets/{Index-C0ycXcou.js → Index-B9w3rD8N.js} +1 -1
  18. package/dist/assets/{Index-DHNSTdbS.js → Index-BUfFXTaK.js} +1 -1
  19. package/dist/assets/Index-BcKcFCQz.js +1 -0
  20. package/dist/assets/{Index-BIw7EoXV.js → Index-BgNuo1XU.js} +1 -1
  21. package/dist/assets/{Index-34pQ4eYp.js → Index-Bp6UtpIN.js} +1 -1
  22. package/dist/assets/{Index-TL6dL_9L.js → Index-C0GBVkxd.js} +1 -1
  23. package/dist/assets/{Index-MDrViejx.js → Index-C2TFYxC6.js} +1 -1
  24. package/dist/assets/{Index-DwFlY-8i.js → Index-C6H9cquC.js} +1 -1
  25. package/dist/assets/{Index-BFptUEn_.js → Index-CY58fQvN.js} +1 -1
  26. package/dist/assets/{Index-D3BOdKRb.js → Index-D5IkcUKR.js} +1 -1
  27. package/dist/assets/{Index-BXI08f-X.js → Index-D5n5m5qV.js} +2 -2
  28. package/dist/assets/Index-DHU4jRNt.js +1 -0
  29. package/dist/assets/{Index-v6yrnALo.js → Index-DRg5fj8c.js} +1 -1
  30. package/dist/assets/{Index-DHXImx7_.js → Index-DShlJEbB.js} +1 -1
  31. package/dist/assets/Index-D_5VDtZe.css +1 -0
  32. package/dist/assets/{Index-DekSjKrT.js → Index-DdBg-OIV.js} +1 -1
  33. package/dist/assets/{Index-Dx8SOTQN.js → Index-Dn5Rig6m.js} +1 -1
  34. package/dist/assets/Index-DpPrlGti.js +1 -0
  35. package/dist/assets/Index-DsKNVF1J.js +1 -0
  36. package/dist/assets/{Index-6vcyHcvt.js → Index-F5UAPeVH.js} +1 -1
  37. package/dist/assets/{Index-Am7eviwF.js → Index-JhiMjgaW.js} +1 -1
  38. package/dist/assets/Index-PdMqt79p.js +1 -0
  39. package/dist/assets/{Index-D8rDifHX.js → Index-Wb3yqIxM.js} +1 -1
  40. package/dist/assets/Index-p_1lStbu.js +1 -0
  41. package/dist/assets/{Invitees-BbDfrNSa.js → Invitees-DJjZta12.js} +1 -1
  42. package/dist/assets/{List-mhJS7A2o.js → List-BdemTnV7.js} +1 -1
  43. package/dist/assets/{List-CGfEcdj-.js → List-DAZs6sK2.js} +1 -1
  44. package/dist/assets/{List-CbojiUea.js → List-Fv-toD8L.js} +1 -1
  45. package/dist/assets/{Login-CVRIsLnU.js → Login-CexEqkug.js} +1 -1
  46. package/dist/assets/{Main-l9hd5iMw.js → Main-WloDZhlO.js} +1 -1
  47. package/dist/assets/{Navigator-CeuNfD5r.js → Navigator-jmC6qZ12.js} +1 -1
  48. package/dist/assets/{NoTasks-CLwtsYBj.js → NoTasks-CZZiBPLB.js} +1 -1
  49. package/dist/assets/{NotFound-COF56vlo.js → NotFound-DbcEgCC0.js} +1 -1
  50. package/dist/assets/{OAuthCallback-C9xZfXcj.js → OAuthCallback-CEek1bru.js} +1 -1
  51. package/dist/assets/{Pagination-CITiuqdB.js → Pagination--f2vCR6a.js} +1 -1
  52. package/dist/assets/{ScrollList-BwZLijYx.js → ScrollList-Dtyk_NMY.js} +1 -1
  53. package/dist/assets/{Status-CM9Bn3Y9.js → Status-BxO79tnM.js} +1 -1
  54. package/dist/assets/{Subscribe-C2kgyspY.js → Subscribe-By_rE_xS.js} +1 -1
  55. package/dist/assets/{TransportWebHID-DheRey6G.js → TransportWebHID-CUvZZOSm.js} +1 -1
  56. package/dist/assets/{VideoPlayer-BNZzVtrY.js → VideoPlayer-CKpHue6x.js} +1 -1
  57. package/dist/assets/{_Uint8Array-DZlmw_fv.js → _Uint8Array-OuRJU3No.js} +1 -1
  58. package/dist/assets/{_baseClone-ByL-37oR.js → _baseClone-BkWvX5AZ.js} +1 -1
  59. package/dist/assets/_baseIteratee-D7sWLjmc.js +1 -0
  60. package/dist/assets/_initCloneObject-h100Y33g.js +1 -0
  61. package/dist/assets/{add-Dhxu2IUI.js → add-DEX5MPa6.js} +1 -1
  62. package/dist/assets/{all-wallets-CWAXSE5b.js → all-wallets-DFuOxB9d.js} +1 -1
  63. package/dist/assets/{app-store-DX4czW5T.js → app-store-yDbU1Njm.js} +1 -1
  64. package/dist/assets/{apple-AAM9ECW4.js → apple-D5gXHcQa.js} +1 -1
  65. package/dist/assets/{arrow-bottom-DSRimcSC.js → arrow-bottom-CWDvSDpR.js} +1 -1
  66. package/dist/assets/{arrow-bottom-circle-CCSXv7uB.js → arrow-bottom-circle-CMQqnq3S.js} +1 -1
  67. package/dist/assets/{arrow-left-ok8PisT_.js → arrow-left-Cj8HxFy3.js} +1 -1
  68. package/dist/assets/{arrow-right-DI8gO85c.js → arrow-right-DNH_bw2P.js} +1 -1
  69. package/dist/assets/{arrow-top-CksyJpo4.js → arrow-top-CcciqKK0.js} +1 -1
  70. package/dist/assets/{avatar-D5SnZDbR.js → avatar-DGbZxF7L.js} +1 -1
  71. package/dist/assets/{bank-B9YfS8oZ.js → bank-9B_qULPr.js} +1 -1
  72. package/dist/assets/{basic-DsAWpLM-.js → basic-CP132uyb.js} +1 -1
  73. package/dist/assets/{browser-C4Up3GKT.js → browser-DL9smG5x.js} +1 -1
  74. package/dist/assets/{byokCredential-DJDBS_mk.js → byokCredential-CZTry8Tn.js} +1 -1
  75. package/dist/assets/{card-2yoqyCbQ.js → card-CG6ZFzd4.js} +1 -1
  76. package/dist/assets/{castArray-BqpYK4s8.js → castArray-CRVyQAho.js} +1 -1
  77. package/dist/assets/{chat-Cx1qJ7L-.js → chat-BcQJvI7k.js} +1 -1
  78. package/dist/assets/{checkmark-DgWzzV28.js → checkmark-Dt_nSGz4.js} +1 -1
  79. package/dist/assets/{checkmark-bold-E5M1nq-p.js → checkmark-bold-D17CX4ZG.js} +1 -1
  80. package/dist/assets/{chevron-bottom-DDRTo79S.js → chevron-bottom-Y7Dq_3Bx.js} +1 -1
  81. package/dist/assets/{chevron-left-Db1ffYOJ.js → chevron-left-CF42Oax0.js} +1 -1
  82. package/dist/assets/{chevron-right-DfzaFPBJ.js → chevron-right-DDQj2Nej.js} +1 -1
  83. package/dist/assets/{chevron-top-D0ECdc9E.js → chevron-top-CKOnEO2h.js} +1 -1
  84. package/dist/assets/{chrome-store-452TPyC5.js → chrome-store-BG2VH_l3.js} +1 -1
  85. package/dist/assets/{clock-CDTMseqG.js → clock-CMI_6Vmn.js} +1 -1
  86. package/dist/assets/{close-CtpVXmjL.js → close-BHObd-9P.js} +1 -1
  87. package/dist/assets/{coinPlaceholder-Df_mrJAo.js → coinPlaceholder-CYOiZCVy.js} +1 -1
  88. package/dist/assets/{compass-CkjgeT7N.js → compass-BuV3MuBp.js} +1 -1
  89. package/dist/assets/{copy-jOiCyXhP.js → copy-DNZEc58A.js} +1 -1
  90. package/dist/assets/cursor-BS_Cll3f.js +3 -0
  91. package/dist/assets/{cursor-transparent-hQ-nyKgP.js → cursor-transparent-DFDQGrut.js} +1 -1
  92. package/dist/assets/debounce-nPK494CX.js +1 -0
  93. package/dist/assets/{desktop-d4hH-bLf.js → desktop-D5qiQalQ.js} +1 -1
  94. package/dist/assets/{disconnect-CS991Ha0.js → disconnect-i8wQ3JW2.js} +1 -1
  95. package/dist/assets/{discord-5s0R_79H.js → discord-Bv306gfN.js} +1 -1
  96. package/dist/assets/{distribution-DZ14wdS9.js → distribution-DhSmW5Nt.js} +1 -1
  97. package/dist/assets/{dropdown-Bzp-se08.js → dropdown-DZMEz-3F.js} +1 -1
  98. package/dist/assets/{etherscan-CNzNQJ3b.js → etherscan-CR_REOU3.js} +1 -1
  99. package/dist/assets/{exclamation-triangle-DuigPZ_G.js → exclamation-triangle-Btcun5fx.js} +1 -1
  100. package/dist/assets/{extension-B-o_mDCf.js → extension-CZLdHglF.js} +1 -1
  101. package/dist/assets/{external-link-Dl-Fskuj.js → external-link-CsF8wLre.js} +1 -1
  102. package/dist/assets/{facebook-Ccv3bDEY.js → facebook-CLtO7Sfn.js} +1 -1
  103. package/dist/assets/{farcaster-DBrvhs5q.js → farcaster-5oXi0VV2.js} +1 -1
  104. package/dist/assets/{filters-DTNFiEGL.js → filters-CD-uNmHS.js} +1 -1
  105. package/dist/assets/{flux-BkysuXHs.js → flux-CoQXxpeT.js} +1 -1
  106. package/dist/assets/{github-CTp1spzJ.js → github-wXXqfuJ7.js} +1 -1
  107. package/dist/assets/{google-DThiC5V8.js → google-VDDes55_.js} +1 -1
  108. package/dist/assets/{hailuo-AjZog1TT.js → hailuo-DQfN-eX4.js} +1 -1
  109. package/dist/assets/{headshots-CqYPINyS.js → headshots-kRW57xUv.js} +1 -1
  110. package/dist/assets/{help-circle-oVbMrmGc.js → help-circle-CH7luHPD.js} +1 -1
  111. package/dist/assets/{id-DQw3HAW0.js → id-aaHoy9Y_.js} +1 -1
  112. package/dist/assets/{image-lY8g03jI.js → image-B7P_h51Y.js} +1 -1
  113. package/dist/assets/{index-3dAZGa_t.js → index-1c06WBVV.js} +1 -1
  114. package/dist/assets/{index-Bqj2cOaa.js → index-B-DeTN68.js} +1 -1
  115. package/dist/assets/{index-BBvXHNpO.js → index-B-bAgXRP.js} +1 -1
  116. package/dist/assets/index-B75hTVN6.js +1 -0
  117. package/dist/assets/index-B9_Jc2GM.js +1 -0
  118. package/dist/assets/{index-CiNJUC2r.js → index-BIIZh_b3.js} +1 -1
  119. package/dist/assets/{index-JxmpiT_L.js → index-BJDfSPqm.js} +1 -1
  120. package/dist/assets/index-BJWhdznf.js +1 -0
  121. package/dist/assets/{index-BGRqVZoq.js → index-BR6AosZw.js} +1 -1
  122. package/dist/assets/{index-BgZdpRIU.js → index-Bbredy_M.js} +1 -1
  123. package/dist/assets/{index-DNobfY4G.js → index-BdjbdOk0.js} +1 -1
  124. package/dist/assets/index-BfpdbW5t.js +1 -0
  125. package/dist/assets/index-BhRMrHC3.js +1 -0
  126. package/dist/assets/index-BmRFCDFx.js +1 -0
  127. package/dist/assets/index-Bn1PgvB0.js +1 -0
  128. package/dist/assets/{index-B_JX0Z3U.js → index-BoScOcLw.js} +1 -1
  129. package/dist/assets/{index-BlbIbI0w.js → index-BvCDVAWw.js} +6 -6
  130. package/dist/assets/{index-FRbVCWjJ.js → index-Bzmd66RC.js} +2 -2
  131. package/dist/assets/{index-q1eAWzgz.js → index-C-oWlM97.js} +1 -1
  132. package/dist/assets/{index-CWiFGUEg.js → index-C0nL3VMm.js} +1 -1
  133. package/dist/assets/{index-D8tjF1gw.js → index-C2gLm1Dj.js} +1 -1
  134. package/dist/assets/{index-peXQbPy_.js → index-C6jxKaHk.js} +1 -1
  135. package/dist/assets/{index-K6bAhHZY.js → index-C75XX_-y.js} +1 -1
  136. package/dist/assets/{index-DXfz4m05.js → index-CIKkUm08.js} +1 -1
  137. package/dist/assets/{index-SSZxlyGP.js → index-CIv23br6.js} +1 -1
  138. package/dist/assets/{index-krrWNEQx.js → index-CN8O9VjI.js} +1 -1
  139. package/dist/assets/{index-CHcUvz3V.js → index-CUgrLErO.js} +1 -1
  140. package/dist/assets/{index-Cuv98ora.js → index-CUhcCZWp.js} +1 -1
  141. package/dist/assets/index-CUiYpKJs.js +1 -0
  142. package/dist/assets/{index-CsnOTU3Y.js → index-CVCGK6tv.js} +1 -1
  143. package/dist/assets/{index-Vzl6sCqV.js → index-CW3sEKTW.js} +1 -1
  144. package/dist/assets/{index-B0LAVzeN.js → index-CWQcgvv1.js} +1 -1
  145. package/dist/assets/{index-vx6LJPpk.js → index-CiRNw67k.js} +1 -1
  146. package/dist/assets/{index-BAs56gFU.js → index-CpWPFvxb.js} +1 -1
  147. package/dist/assets/{index-Bz0iDXPF.js → index-Cu41y2Fl.js} +1 -1
  148. package/dist/assets/{index-BOmH1DPh.js → index-CuVBVq_L.js} +1 -1
  149. package/dist/assets/{index-ClsebBE-.js → index-Cy01TWxl.js} +1 -1
  150. package/dist/assets/{index-OKxphHU_.js → index-D3FdxoJz.js} +1 -1
  151. package/dist/assets/{index-DM8mkgkH.js → index-DBfcc-dv.js} +1 -1
  152. package/dist/assets/{index-ATj9GJwN.js → index-DCxgYlE_.js} +1 -1
  153. package/dist/assets/{index-C-cVqSqQ.js → index-DFe-4JEU.js} +1 -1
  154. package/dist/assets/{index-XM8S_a-p.js → index-DJhR82La.js} +1 -1
  155. package/dist/assets/index-DM7W3nuB.js +1 -0
  156. package/dist/assets/{index-D4yf1nAu.js → index-DNHS-39v.js} +1 -1
  157. package/dist/assets/{index-DJQr9LV3.js → index-DOeY8IjA.js} +1 -1
  158. package/dist/assets/{index-DZXL4Eiz.js → index-DOg08tRp.js} +1 -1
  159. package/dist/assets/{index-liIqVCY0.js → index-DP68HOrb.js} +1 -1
  160. package/dist/assets/{index-B1mCbB0o.js → index-DRv49PhN.js} +1 -1
  161. package/dist/assets/{index-CQlMHfCy.js → index-DaN2z7bv.js} +3 -3
  162. package/dist/assets/{index-CCl0AY4d.js → index-DbA5TUv0.js} +1 -1
  163. package/dist/assets/{index-CMMFOPnb.js → index-Dbvd9zGc.js} +1 -1
  164. package/dist/assets/{index-CjiEyHJZ.js → index-DfA1sn-Q.js} +1 -1
  165. package/dist/assets/{index-DeWhXNCw.js → index-Dg_nniBi.js} +1 -1
  166. package/dist/assets/{index-DTtvaU-4.js → index-Dm7asLCu.js} +1 -1
  167. package/dist/assets/{index-MVs5uAX2.js → index-DpjO1sOo.js} +1 -1
  168. package/dist/assets/{index-yo-hC2vv.js → index-DvJNaguu.js} +1 -1
  169. package/dist/assets/{index-DFS41ohP.js → index-GBIsY1sU.js} +1 -1
  170. package/dist/assets/{index-D4OwrIVt.js → index-Mh-N7yH7.js} +1 -1
  171. package/dist/assets/{index-DnOEw3l3.js → index-PjbSzpFh.js} +1 -1
  172. package/dist/assets/{index-CCW4Vldr.js → index-_yFUo4Ac.js} +15 -15
  173. package/dist/assets/{index-ubAOgOWD.js → index-c6yQl0bX.js} +1 -1
  174. package/dist/assets/{index-DxyoN3Z1.js → index-gWec6afa.js} +1 -1
  175. package/dist/assets/{index-C3YrWLEd.js → index-yN87C18M.js} +1 -1
  176. package/dist/assets/{index.browser.esm-CN4R74nT.js → index.browser.esm-6nUPDoFV.js} +1 -1
  177. package/dist/assets/{index.es-CSyQGf6l.js → index.es-C1x6LEyw.js} +1 -1
  178. package/dist/assets/{info-xaUWvbiF.js → info-C8x3waF0.js} +1 -1
  179. package/dist/assets/{info-circle-DTNIUgEK.js → info-circle-C-WfuwUr.js} +1 -1
  180. package/dist/assets/{isEqual-D6KmF_GH.js → isEqual-B6HrvaXt.js} +1 -1
  181. package/dist/assets/{isPlainObject-Dlqb1--F.js → isPlainObject-CPdCKVZp.js} +1 -1
  182. package/dist/assets/{kling-BxSSM_gk.js → kling-CzoUg5rD.js} +1 -1
  183. package/dist/assets/{lightbulb-C3J5gGp6.js → lightbulb-C3n4-4wp.js} +1 -1
  184. package/dist/assets/{luma-BWBUABMj.js → luma-DJXWJlpr.js} +1 -1
  185. package/dist/assets/{mail-BjjvUp4E.js → mail-DmRO4DvV.js} +1 -1
  186. package/dist/assets/{midjourney-CjKIzreB.js → midjourney-zA705Eoj.js} +1 -1
  187. package/dist/assets/{mobile-Bl1kD7E2.js → mobile-WNfKe8t2.js} +1 -1
  188. package/dist/assets/{more-66Ix1FCA.js → more-ByhrH-XM.js} +1 -1
  189. package/dist/assets/{nanobanana-D0G9y8pm.js → nanobanana-B_4g5ILp.js} +1 -1
  190. package/dist/assets/{network-placeholder-DuvkMVG7.js → network-placeholder-BGIgKYgp.js} +1 -1
  191. package/dist/assets/{nftPlaceholder-BCn7hLQV.js → nftPlaceholder-CJTzhi2P.js} +1 -1
  192. package/dist/assets/{off-DBtG7XRi.js → off-ieVWEHGw.js} +1 -1
  193. package/dist/assets/{openaiimage-zO4zkqvz.js → openaiimage-2AxNsRUM.js} +1 -1
  194. package/dist/assets/{order-B8l4Vq3W.js → order-BIAXlaHa.js} +1 -1
  195. package/dist/assets/{pagination-CcnL0MdN.js → pagination-Cnc6Oeyx.js} +1 -1
  196. package/dist/assets/{pika-CKuMUy1M.js → pika-BcVcP_cJ.js} +1 -1
  197. package/dist/assets/{pixverse-5CvUsoZR.js → pixverse-BYFI5Xby.js} +1 -1
  198. package/dist/assets/{play-store-BZUGJGnX.js → play-store-D18920ol.js} +1 -1
  199. package/dist/assets/{plus-M9MQScW_.js → plus-BWx8uigi.js} +1 -1
  200. package/dist/assets/{price-DrXh4ZP1.js → price-DyjS8ZjF.js} +1 -1
  201. package/dist/assets/{producer-DODBp05V.js → producer-DaT-6GvY.js} +1 -1
  202. package/dist/assets/{qr-code-BF87cEcu.js → qr-code-BVLjquHb.js} +1 -1
  203. package/dist/assets/{qrart-DgC4uACY.js → qrart-1RWmSI4F.js} +1 -1
  204. package/dist/assets/{recycle-horizontal-BhW7b3Yg.js → recycle-horizontal-BVFlIiAR.js} +1 -1
  205. package/dist/assets/{refresh-8_FzFubK.js → refresh-CTz-NyJa.js} +1 -1
  206. package/dist/assets/{reown-logo-DI1JHH98.js → reown-logo-D7eEdoRe.js} +1 -1
  207. package/dist/assets/{search-y9GAfSLF.js → search-C51SqlcR.js} +1 -1
  208. package/dist/assets/{secp256k1-zPg2Gksh.js → secp256k1-CcqhEnAd.js} +1 -1
  209. package/dist/assets/{secp256k1-C5PPljzR.js → secp256k1-DfAydRJM.js} +1 -1
  210. package/dist/assets/{seedance-BLyipsUB.js → seedance-B35QSQ9Q.js} +1 -1
  211. package/dist/assets/{seedream-kB3lpvjy.js → seedream-BL_4_spl.js} +1 -1
  212. package/dist/assets/{seedream-CiUpcs0b.js → seedream-CXCUm_0w.js} +1 -1
  213. package/dist/assets/{seedream-CUVilnMk.js → seedream-DDUODY6r.js} +1 -1
  214. package/dist/assets/{send-XDHG2RXo.js → send-Dd1dUGfS.js} +1 -1
  215. package/dist/assets/{service-DDWAy1YV.js → service-I7-3ktTT.js} +1 -1
  216. package/dist/assets/{solana-wallets-DjOTQJoe.js → solana-wallets-BjQQM-eC.js} +2 -2
  217. package/dist/assets/{solana-wallets-vue-4Nf0-Zz4.js → solana-wallets-vue-Da2h0GXE.js} +1 -1
  218. package/dist/assets/{solanaEmbed.esm-BjvX19BZ.js → solanaEmbed.esm-BMUr2diP.js} +1 -1
  219. package/dist/assets/{sora-C4q86F9s.js → sora-DFaHiZtE.js} +1 -1
  220. package/dist/assets/{string_decoder-Emllu1dO.js → string_decoder-DlVk4kBn.js} +1 -1
  221. package/dist/assets/{strings-DigWlKo9.js → strings-beZM2Y-f.js} +1 -1
  222. package/dist/assets/{suno-BxTuwPVk.js → suno-D7ZF9kCu.js} +1 -1
  223. package/dist/assets/{swapHorizontal-YX2V_7MB.js → swapHorizontal-Dq_JSn3y.js} +1 -1
  224. package/dist/assets/{swapHorizontalBold-heROweqO.js → swapHorizontalBold-DZS4I3Zm.js} +1 -1
  225. package/dist/assets/{swapHorizontalMedium-CxoYIPaf.js → swapHorizontalMedium-Dj4Xypg6.js} +1 -1
  226. package/dist/assets/{swapHorizontalRoundedBold-D6isWL2i.js → swapHorizontalRoundedBold-CXYLT82_.js} +1 -1
  227. package/dist/assets/{swapVertical-C7q8cwhU.js → swapVertical-O-cu5tGL.js} +1 -1
  228. package/dist/assets/{telegram-INYzOXDM.js → telegram-B2I6o2ZZ.js} +1 -1
  229. package/dist/assets/{three-dots-Dpaf0-0P.js → three-dots-BFJibTf-.js} +1 -1
  230. package/dist/assets/{twitch-k4h2ycX5.js → twitch-BfbUyRnB.js} +1 -1
  231. package/dist/assets/{twitterIcon-wpqgP_p2.js → twitterIcon-B41zsSGo.js} +1 -1
  232. package/dist/assets/{typescript-Dj6EsltO.js → typescript-BXXbWbCq.js} +1 -1
  233. package/dist/assets/{use-form-item-BFqjbdWG.js → use-form-item-BkJysy63.js} +1 -1
  234. package/dist/assets/validator-BQqyxTIc.js +1 -0
  235. package/dist/assets/{vendor-chart-CxwsMgS4.js → vendor-chart-DWjK6opE.js} +1 -1
  236. package/dist/assets/{vendor-vue-DU0w5ewx.js → vendor-vue-NSDaktjZ.js} +1 -1
  237. package/dist/assets/{vendor-vue-router-9TBHB1ku.js → vendor-vue-router-Kg6s1a65.js} +1 -1
  238. package/dist/assets/{veo-B5H736wc.js → veo-BMPa2ggT.js} +1 -1
  239. package/dist/assets/{verify-BgBBIZRg.js → verify-CW4ClBnK.js} +1 -1
  240. package/dist/assets/{verify-filled-BC915fJ4.js → verify-filled-6_96Jr6N.js} +1 -1
  241. package/dist/assets/{w3m-modal-DggboPJp.js → w3m-modal-chrFaLVf.js} +1 -1
  242. package/dist/assets/{wallet-BpoYvWi8.js → wallet-Ch24hjV7.js} +1 -1
  243. package/dist/assets/{wallet-placeholder-BB00We-Y.js → wallet-placeholder-CxFsswfj.js} +1 -1
  244. package/dist/assets/{walletconnect-CuICoSmY.js → walletconnect-CnsLByiX.js} +1 -1
  245. package/dist/assets/{wan-BS3VjLDn.js → wan-Fw_g37Tf.js} +1 -1
  246. package/dist/assets/{warning-circle-yUEqWQGE.js → warning-circle-Vedd5yU9.js} +1 -1
  247. package/dist/assets/{web-9Z-v8TYH.js → web-B3gauwRG.js} +1 -1
  248. package/dist/assets/{web-BRRCg6cp.js → web-BXFAjigl.js} +1 -1
  249. package/dist/assets/{x-Do2auTwS.js → x-BEEsZa7j.js} +1 -1
  250. package/dist/index.html +3 -3
  251. package/package.json +1 -1
  252. package/dist/assets/EditArray-CvcDrK60.js +0 -1
  253. package/dist/assets/Index-B-CQD9DG.css +0 -1
  254. package/dist/assets/Index-B-qKE3Ky.js +0 -1
  255. package/dist/assets/Index-BIj9535t.js +0 -1
  256. package/dist/assets/Index-D4Wwh68j.js +0 -1
  257. package/dist/assets/Index-DgPHaBAJ.js +0 -1
  258. package/dist/assets/Index-DkRdupK3.js +0 -1
  259. package/dist/assets/Index-DliuWnn3.js +0 -1
  260. package/dist/assets/Index-sqfO-ncA.js +0 -1
  261. package/dist/assets/_baseIteratee-CNRuIXuT.js +0 -1
  262. package/dist/assets/_initCloneObject-BfVcLwpS.js +0 -1
  263. package/dist/assets/cursor-1wlXXjJ8.js +0 -3
  264. package/dist/assets/debounce-I8TRCGqa.js +0 -1
  265. package/dist/assets/index-BQ5G3Mua.js +0 -1
  266. package/dist/assets/index-BlJGddvA.js +0 -1
  267. package/dist/assets/index-BoQpDrN-.js +0 -1
  268. package/dist/assets/index-BvUUdRsB.js +0 -1
  269. package/dist/assets/index-DNb9dihR.js +0 -1
  270. package/dist/assets/index-DV5HXc4f.js +0 -1
  271. package/dist/assets/index-DnBhaD6F.js +0 -1
  272. package/dist/assets/index-MGHUMNTT.js +0 -1
  273. package/dist/assets/validator-B56L8A9g.js +0 -1
@@ -1 +1 @@
1
- import{H as Xt,c as St,a as xt,t as Qt,b as de,d as he,r as P,e as ge,f as we,g as pe,h as be}from"./index-BlbIbI0w.js";import"./index.browser.esm-CN4R74nT.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-CCW4Vldr.js";import"./vendor-vue-DU0w5ewx.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-9TBHB1ku.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";function ye(n,e,t,r){if(typeof n.setBigUint64=="function")return n.setBigUint64(e,t,r);const o=BigInt(32),s=BigInt(4294967295),c=Number(t>>o&s),f=Number(t&s),i=r?4:0,u=r?0:4;n.setUint32(e+i,c,r),n.setUint32(e+u,f,r)}function me(n,e,t){return n&e^~n&t}function xe(n,e,t){return n&e^n&t^e&t}class Ee extends Xt{constructor(e,t,r,o){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=St(this.buffer)}update(e){xt(this);const{view:t,buffer:r,blockLen:o}=this;e=Qt(e);const s=e.length;for(let c=0;c<s;){const f=Math.min(o-this.pos,s-c);if(f===o){const i=St(e);for(;o<=s-c;c+=o)this.process(i,c);continue}r.set(e.subarray(c,c+f),this.pos),this.pos+=f,c+=f,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){xt(this),de(e,this),this.finished=!0;const{buffer:t,view:r,blockLen:o,isLE:s}=this;let{pos:c}=this;t[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>o-c&&(this.process(r,0),c=0);for(let h=c;h<o;h++)t[h]=0;ye(r,o-8,BigInt(this.length*8),s),this.process(r,0);const f=St(e),i=this.outputLen;if(i%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=i/4,y=this.get();if(u>y.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<u;h++)f.setUint32(4*h,y[h],s)}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:t,buffer:r,length:o,finished:s,destroyed:c,pos:f}=this;return e.length=o,e.pos=f,e.finished=s,e.destroyed=c,o%t&&e.buffer.set(r),e}}const Be=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Q=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),J=new Uint32Array(64);class ve extends Ee{constructor(){super(64,32,8,!1),this.A=Q[0]|0,this.B=Q[1]|0,this.C=Q[2]|0,this.D=Q[3]|0,this.E=Q[4]|0,this.F=Q[5]|0,this.G=Q[6]|0,this.H=Q[7]|0}get(){const{A:e,B:t,C:r,D:o,E:s,F:c,G:f,H:i}=this;return[e,t,r,o,s,c,f,i]}set(e,t,r,o,s,c,f,i){this.A=e|0,this.B=t|0,this.C=r|0,this.D=o|0,this.E=s|0,this.F=c|0,this.G=f|0,this.H=i|0}process(e,t){for(let h=0;h<16;h++,t+=4)J[h]=e.getUint32(t,!1);for(let h=16;h<64;h++){const l=J[h-15],m=J[h-2],N=P(l,7)^P(l,18)^l>>>3,b=P(m,17)^P(m,19)^m>>>10;J[h]=b+J[h-7]+N+J[h-16]|0}let{A:r,B:o,C:s,D:c,E:f,F:i,G:u,H:y}=this;for(let h=0;h<64;h++){const l=P(f,6)^P(f,11)^P(f,25),m=y+l+me(f,i,u)+Be[h]+J[h]|0,b=(P(r,2)^P(r,13)^P(r,22))+xe(r,o,s)|0;y=u,u=i,i=f,f=c+m|0,c=s,s=o,o=r,r=m+b|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,f=f+this.E|0,i=i+this.F|0,u=u+this.G|0,y=y+this.H|0,this.set(r,o,s,c,f,i,u,y)}roundClean(){J.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Se=he(()=>new ve);const zt=BigInt(0),Jt=BigInt(1),Ae=BigInt(2);function it(n){return n instanceof Uint8Array||ArrayBuffer.isView(n)&&n.constructor.name==="Uint8Array"}function bt(n){if(!it(n))throw new Error("Uint8Array expected")}function at(n,e){if(typeof e!="boolean")throw new Error(n+" boolean expected, got "+e)}const Ie=Array.from({length:256},(n,e)=>e.toString(16).padStart(2,"0"));function ut(n){bt(n);let e="";for(let t=0;t<n.length;t++)e+=Ie[n[t]];return e}function gt(n){const e=n.toString(16);return e.length&1?"0"+e:e}function Ct(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);return n===""?zt:BigInt("0x"+n)}const D={_0:48,_9:57,A:65,F:70,a:97,f:102};function jt(n){if(n>=D._0&&n<=D._9)return n-D._0;if(n>=D.A&&n<=D.F)return n-(D.A-10);if(n>=D.a&&n<=D.f)return n-(D.a-10)}function wt(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);const e=n.length,t=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(t);for(let o=0,s=0;o<t;o++,s+=2){const c=jt(n.charCodeAt(s)),f=jt(n.charCodeAt(s+1));if(c===void 0||f===void 0){const i=n[s]+n[s+1];throw new Error('hex string expected, got non-hex character "'+i+'" at index '+s)}r[o]=c*16+f}return r}function rt(n){return Ct(ut(n))}function Zt(n){return bt(n),Ct(ut(Uint8Array.from(n).reverse()))}function lt(n,e){return wt(n.toString(16).padStart(e*2,"0"))}function Rt(n,e){return lt(n,e).reverse()}function K(n,e,t){let r;if(typeof e=="string")try{r=wt(e)}catch(s){throw new Error(n+" must be hex string or Uint8Array, cause: "+s)}else if(it(e))r=Uint8Array.from(e);else throw new Error(n+" must be hex string or Uint8Array");const o=r.length;if(typeof t=="number"&&o!==t)throw new Error(n+" of length "+t+" expected, got "+o);return r}function pt(...n){let e=0;for(let r=0;r<n.length;r++){const o=n[r];bt(o),e+=o.length}const t=new Uint8Array(e);for(let r=0,o=0;r<n.length;r++){const s=n[r];t.set(s,o),o+=s.length}return t}const At=n=>typeof n=="bigint"&&zt<=n;function Et(n,e,t){return At(n)&&At(e)&&At(t)&&e<=n&&n<t}function ot(n,e,t,r){if(!Et(e,t,r))throw new Error("expected valid "+n+": "+t+" <= n < "+r+", got "+e)}function te(n){let e;for(e=0;n>zt;n>>=Jt,e+=1);return e}const Mt=n=>(Ae<<BigInt(n-1))-Jt,It=n=>new Uint8Array(n),Yt=n=>Uint8Array.from(n);function ee(n,e,t){if(typeof n!="number"||n<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof t!="function")throw new Error("hmacFn must be a function");let r=It(n),o=It(n),s=0;const c=()=>{r.fill(1),o.fill(0),s=0},f=(...h)=>t(o,r,...h),i=(h=It())=>{o=f(Yt([0]),h),r=f(),h.length!==0&&(o=f(Yt([1]),h),r=f())},u=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const l=[];for(;h<e;){r=f();const m=r.slice();l.push(m),h+=r.length}return pt(...l)};return(h,l)=>{c(),i(h);let m;for(;!(m=l(u()));)i();return c(),m}}const Ne={bigint:n=>typeof n=="bigint",function:n=>typeof n=="function",boolean:n=>typeof n=="boolean",string:n=>typeof n=="string",stringOrUint8Array:n=>typeof n=="string"||it(n),isSafeInteger:n=>Number.isSafeInteger(n),array:n=>Array.isArray(n),field:(n,e)=>e.Fp.isValid(n),hash:n=>typeof n=="function"&&Number.isSafeInteger(n.outputLen)};function yt(n,e,t={}){const r=(o,s,c)=>{const f=Ne[s];if(typeof f!="function")throw new Error("invalid validator function");const i=n[o];if(!(c&&i===void 0)&&!f(i,n))throw new Error("param "+String(o)+" is invalid. Expected "+s+", got "+i)};for(const[o,s]of Object.entries(e))r(o,s,!1);for(const[o,s]of Object.entries(t))r(o,s,!0);return n}function Ht(n){const e=new WeakMap;return(t,...r)=>{const o=e.get(t);if(o!==void 0)return o;const s=n(t,...r);return e.set(t,s),s}}const qe=Object.freeze(Object.defineProperty({__proto__:null,aInRange:ot,abool:at,abytes:bt,bitLen:te,bitMask:Mt,bytesToHex:ut,bytesToNumberBE:rt,bytesToNumberLE:Zt,concatBytes:pt,createHmacDrbg:ee,ensureBytes:K,hexToBytes:wt,hexToNumber:Ct,inRange:Et,isBytes:it,memoized:Ht,numberToBytesBE:lt,numberToBytesLE:Rt,numberToHexUnpadded:gt,validateObject:yt},Symbol.toStringTag,{value:"Module"}));class ne extends Xt{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,ge(e);const r=Qt(t);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?e.create().update(r).digest():r);for(let c=0;c<s.length;c++)s[c]^=54;this.iHash.update(s),this.oHash=e.create();for(let c=0;c<s.length;c++)s[c]^=106;this.oHash.update(s),s.fill(0)}update(e){return xt(this),this.iHash.update(e),this}digestInto(e){xt(this),we(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:t,iHash:r,finished:o,destroyed:s,blockLen:c,outputLen:f}=this;return e=e,e.finished=o,e.destroyed=s,e.blockLen=c,e.outputLen=f,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const re=(n,e,t)=>new ne(n,e).update(t).digest();re.create=(n,e)=>new ne(n,e);const z=BigInt(0),_=BigInt(1),nt=BigInt(2),Oe=BigInt(3),Ut=BigInt(4),Ft=BigInt(5),Kt=BigInt(8);function V(n,e){const t=n%e;return t>=z?t:e+t}function Le(n,e,t){if(e<z)throw new Error("invalid exponent, negatives unsupported");if(t<=z)throw new Error("invalid modulus");if(t===_)return z;let r=_;for(;e>z;)e&_&&(r=r*n%t),n=n*n%t,e>>=_;return r}function Y(n,e,t){let r=n;for(;e-- >z;)r*=r,r%=t;return r}function _t(n,e){if(n===z)throw new Error("invert: expected non-zero number");if(e<=z)throw new Error("invert: expected positive modulus, got "+e);let t=V(n,e),r=e,o=z,s=_;for(;t!==z;){const f=r/t,i=r%t,u=o-s*f;r=t,t=i,o=s,s=u}if(r!==_)throw new Error("invert: does not exist");return V(o,e)}function He(n){const e=(n-_)/nt;let t,r,o;for(t=n-_,r=0;t%nt===z;t/=nt,r++);for(o=nt;o<n&&Le(o,e,n)!==n-_;o++)if(o>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const c=(n+_)/Ut;return function(i,u){const y=i.pow(u,c);if(!i.eql(i.sqr(y),u))throw new Error("Cannot find square root");return y}}const s=(t+_)/nt;return function(f,i){if(f.pow(i,e)===f.neg(f.ONE))throw new Error("Cannot find square root");let u=r,y=f.pow(f.mul(f.ONE,o),t),h=f.pow(i,s),l=f.pow(i,t);for(;!f.eql(l,f.ONE);){if(f.eql(l,f.ZERO))return f.ZERO;let m=1;for(let b=f.sqr(l);m<u&&!f.eql(b,f.ONE);m++)b=f.sqr(b);const N=f.pow(y,_<<BigInt(u-m-1));y=f.sqr(N),h=f.mul(h,N),l=f.mul(l,y),u=m}return h}}function Ue(n){if(n%Ut===Oe){const e=(n+_)/Ut;return function(r,o){const s=r.pow(o,e);if(!r.eql(r.sqr(s),o))throw new Error("Cannot find square root");return s}}if(n%Kt===Ft){const e=(n-Ft)/Kt;return function(r,o){const s=r.mul(o,nt),c=r.pow(s,e),f=r.mul(o,c),i=r.mul(r.mul(f,nt),c),u=r.mul(f,r.sub(i,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return He(n)}const _e=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Te(n){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},t=_e.reduce((r,o)=>(r[o]="function",r),e);return yt(n,t)}function ke(n,e,t){if(t<z)throw new Error("invalid exponent, negatives unsupported");if(t===z)return n.ONE;if(t===_)return e;let r=n.ONE,o=e;for(;t>z;)t&_&&(r=n.mul(r,o)),o=n.sqr(o),t>>=_;return r}function ze(n,e){const t=new Array(e.length),r=e.reduce((s,c,f)=>n.is0(c)?s:(t[f]=s,n.mul(s,c)),n.ONE),o=n.inv(r);return e.reduceRight((s,c,f)=>n.is0(c)?s:(t[f]=n.mul(s,t[f]),n.mul(s,c)),o),t}function oe(n,e){const t=e!==void 0?e:n.toString(2).length,r=Math.ceil(t/8);return{nBitLength:t,nByteLength:r}}function ie(n,e,t=!1,r={}){if(n<=z)throw new Error("invalid field: expected ORDER > 0, got "+n);const{nBitLength:o,nByteLength:s}=oe(n,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c;const f=Object.freeze({ORDER:n,isLE:t,BITS:o,BYTES:s,MASK:Mt(o),ZERO:z,ONE:_,create:i=>V(i,n),isValid:i=>{if(typeof i!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof i);return z<=i&&i<n},is0:i=>i===z,isOdd:i=>(i&_)===_,neg:i=>V(-i,n),eql:(i,u)=>i===u,sqr:i=>V(i*i,n),add:(i,u)=>V(i+u,n),sub:(i,u)=>V(i-u,n),mul:(i,u)=>V(i*u,n),pow:(i,u)=>ke(f,i,u),div:(i,u)=>V(i*_t(u,n),n),sqrN:i=>i*i,addN:(i,u)=>i+u,subN:(i,u)=>i-u,mulN:(i,u)=>i*u,inv:i=>_t(i,n),sqrt:r.sqrt||(i=>(c||(c=Ue(n)),c(f,i))),invertBatch:i=>ze(f,i),cmov:(i,u,y)=>y?u:i,toBytes:i=>t?Rt(i,s):lt(i,s),fromBytes:i=>{if(i.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+i.length);return t?Zt(i):rt(i)}});return Object.freeze(f)}function se(n){if(typeof n!="bigint")throw new Error("field order must be bigint");const e=n.toString(2).length;return Math.ceil(e/8)}function ce(n){const e=se(n);return e+Math.ceil(e/2)}function Ce(n,e,t=!1){const r=n.length,o=se(e),s=ce(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const c=t?Zt(n):rt(n),f=V(c,e-_)+_;return t?Rt(f,o):lt(f,o)}const Pt=BigInt(0),mt=BigInt(1);function Nt(n,e){const t=e.negate();return n?t:e}function fe(n,e){if(!Number.isSafeInteger(n)||n<=0||n>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+n)}function qt(n,e){fe(n,e);const t=Math.ceil(e/n)+1,r=2**(n-1);return{windows:t,windowSize:r}}function Ze(n,e){if(!Array.isArray(n))throw new Error("array expected");n.forEach((t,r)=>{if(!(t instanceof e))throw new Error("invalid point at index "+r)})}function Re(n,e){if(!Array.isArray(n))throw new Error("array of scalars expected");n.forEach((t,r)=>{if(!e.isValid(t))throw new Error("invalid scalar at index "+r)})}const Ot=new WeakMap,ae=new WeakMap;function Lt(n){return ae.get(n)||1}function Me(n,e){return{constTimeNegate:Nt,hasPrecomputes(t){return Lt(t)!==1},unsafeLadder(t,r,o=n.ZERO){let s=t;for(;r>Pt;)r&mt&&(o=o.add(s)),s=s.double(),r>>=mt;return o},precomputeWindow(t,r){const{windows:o,windowSize:s}=qt(r,e),c=[];let f=t,i=f;for(let u=0;u<o;u++){i=f,c.push(i);for(let y=1;y<s;y++)i=i.add(f),c.push(i);f=i.double()}return c},wNAF(t,r,o){const{windows:s,windowSize:c}=qt(t,e);let f=n.ZERO,i=n.BASE;const u=BigInt(2**t-1),y=2**t,h=BigInt(t);for(let l=0;l<s;l++){const m=l*c;let N=Number(o&u);o>>=h,N>c&&(N-=y,o+=mt);const b=m,a=m+Math.abs(N)-1,g=l%2!==0,x=N<0;N===0?i=i.add(Nt(g,r[b])):f=f.add(Nt(x,r[a]))}return{p:f,f:i}},wNAFUnsafe(t,r,o,s=n.ZERO){const{windows:c,windowSize:f}=qt(t,e),i=BigInt(2**t-1),u=2**t,y=BigInt(t);for(let h=0;h<c;h++){const l=h*f;if(o===Pt)break;let m=Number(o&i);if(o>>=y,m>f&&(m-=u,o+=mt),m===0)continue;let N=r[l+Math.abs(m)-1];m<0&&(N=N.negate()),s=s.add(N)}return s},getPrecomputes(t,r,o){let s=Ot.get(r);return s||(s=this.precomputeWindow(r,t),t!==1&&Ot.set(r,o(s))),s},wNAFCached(t,r,o){const s=Lt(t);return this.wNAF(s,this.getPrecomputes(s,t,o),r)},wNAFCachedUnsafe(t,r,o,s){const c=Lt(t);return c===1?this.unsafeLadder(t,r,s):this.wNAFUnsafe(c,this.getPrecomputes(c,t,o),r,s)},setWindowSize(t,r){fe(r,e),ae.set(t,r),Ot.delete(t)}}}function Ve(n,e,t,r){if(Ze(t,n),Re(r,e),t.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const o=n.ZERO,s=te(BigInt(t.length)),c=s>12?s-3:s>4?s-2:s?2:1,f=(1<<c)-1,i=new Array(f+1).fill(o),u=Math.floor((e.BITS-1)/c)*c;let y=o;for(let h=u;h>=0;h-=c){i.fill(o);for(let m=0;m<r.length;m++){const N=r[m],b=Number(N>>BigInt(h)&BigInt(f));i[b]=i[b].add(t[m])}let l=o;for(let m=i.length-1,N=o;m>0;m--)N=N.add(i[m]),l=l.add(N);if(y=y.add(l),h!==0)for(let m=0;m<c;m++)y=y.double()}return y}function ue(n){return Te(n.Fp),yt(n,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...oe(n.n,n.nBitLength),...n,p:n.Fp.ORDER})}function Gt(n){n.lowS!==void 0&&at("lowS",n.lowS),n.prehash!==void 0&&at("prehash",n.prehash)}function je(n){const e=ue(n);yt(e,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:t,Fp:r,a:o}=e;if(t){if(!r.eql(o,r.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof t!="object"||typeof t.beta!="bigint"||typeof t.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...e})}const{bytesToNumberBE:Ye,hexToBytes:Fe}=qe;class Ke extends Error{constructor(e=""){super(e)}}const $={Err:Ke,_tlv:{encode:(n,e)=>{const{Err:t}=$;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length&1)throw new t("tlv.encode: unpadded data");const r=e.length/2,o=gt(r);if(o.length/2&128)throw new t("tlv.encode: long form length too big");const s=r>127?gt(o.length/2|128):"";return gt(n)+s+o+e},decode(n,e){const{Err:t}=$;let r=0;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length<2||e[r++]!==n)throw new t("tlv.decode: wrong tlv");const o=e[r++],s=!!(o&128);let c=0;if(!s)c=o;else{const i=o&127;if(!i)throw new t("tlv.decode(long): indefinite length not supported");if(i>4)throw new t("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+i);if(u.length!==i)throw new t("tlv.decode: length bytes not complete");if(u[0]===0)throw new t("tlv.decode(long): zero leftmost byte");for(const y of u)c=c<<8|y;if(r+=i,c<128)throw new t("tlv.decode(long): not minimal encoding")}const f=e.subarray(r,r+c);if(f.length!==c)throw new t("tlv.decode: wrong value length");return{v:f,l:e.subarray(r+c)}}},_int:{encode(n){const{Err:e}=$;if(n<W)throw new e("integer: negative integers are not allowed");let t=gt(n);if(Number.parseInt(t[0],16)&8&&(t="00"+t),t.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return t},decode(n){const{Err:e}=$;if(n[0]&128)throw new e("invalid signature integer: negative");if(n[0]===0&&!(n[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Ye(n)}},toSig(n){const{Err:e,_int:t,_tlv:r}=$,o=typeof n=="string"?Fe(n):n;bt(o);const{v:s,l:c}=r.decode(48,o);if(c.length)throw new e("invalid signature: left bytes after parsing");const{v:f,l:i}=r.decode(2,s),{v:u,l:y}=r.decode(2,i);if(y.length)throw new e("invalid signature: left bytes after parsing");return{r:t.decode(f),s:t.decode(u)}},hexFromSig(n){const{_tlv:e,_int:t}=$,r=e.encode(2,t.encode(n.r)),o=e.encode(2,t.encode(n.s)),s=r+o;return e.encode(48,s)}},W=BigInt(0),k=BigInt(1);BigInt(2);const Dt=BigInt(3);BigInt(4);function Pe(n){const e=je(n),{Fp:t}=e,r=ie(e.n,e.nBitLength),o=e.toBytes||((b,a,g)=>{const x=a.toAffine();return pt(Uint8Array.from([4]),t.toBytes(x.x),t.toBytes(x.y))}),s=e.fromBytes||(b=>{const a=b.subarray(1),g=t.fromBytes(a.subarray(0,t.BYTES)),x=t.fromBytes(a.subarray(t.BYTES,2*t.BYTES));return{x:g,y:x}});function c(b){const{a,b:g}=e,x=t.sqr(b),E=t.mul(x,b);return t.add(t.add(E,t.mul(b,a)),g)}if(!t.eql(t.sqr(e.Gy),c(e.Gx)))throw new Error("bad generator point: equation left != right");function f(b){return Et(b,k,e.n)}function i(b){const{allowedPrivateKeyLengths:a,nByteLength:g,wrapPrivateKey:x,n:E}=e;if(a&&typeof b!="bigint"){if(it(b)&&(b=ut(b)),typeof b!="string"||!a.includes(b.length))throw new Error("invalid private key");b=b.padStart(g*2,"0")}let q;try{q=typeof b=="bigint"?b:rt(K("private key",b,g))}catch{throw new Error("invalid private key, expected hex or "+g+" bytes, got "+typeof b)}return x&&(q=V(q,E)),ot("private key",q,k,E),q}function u(b){if(!(b instanceof l))throw new Error("ProjectivePoint expected")}const y=Ht((b,a)=>{const{px:g,py:x,pz:E}=b;if(t.eql(E,t.ONE))return{x:g,y:x};const q=b.is0();a==null&&(a=q?t.ONE:t.inv(E));const L=t.mul(g,a),I=t.mul(x,a),B=t.mul(E,a);if(q)return{x:t.ZERO,y:t.ZERO};if(!t.eql(B,t.ONE))throw new Error("invZ was invalid");return{x:L,y:I}}),h=Ht(b=>{if(b.is0()){if(e.allowInfinityPoint&&!t.is0(b.py))return;throw new Error("bad point: ZERO")}const{x:a,y:g}=b.toAffine();if(!t.isValid(a)||!t.isValid(g))throw new Error("bad point: x or y not FE");const x=t.sqr(g),E=c(a);if(!t.eql(x,E))throw new Error("bad point: equation left != right");if(!b.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class l{constructor(a,g,x){if(this.px=a,this.py=g,this.pz=x,a==null||!t.isValid(a))throw new Error("x required");if(g==null||!t.isValid(g))throw new Error("y required");if(x==null||!t.isValid(x))throw new Error("z required");Object.freeze(this)}static fromAffine(a){const{x:g,y:x}=a||{};if(!a||!t.isValid(g)||!t.isValid(x))throw new Error("invalid affine point");if(a instanceof l)throw new Error("projective point not allowed");const E=q=>t.eql(q,t.ZERO);return E(g)&&E(x)?l.ZERO:new l(g,x,t.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(a){const g=t.invertBatch(a.map(x=>x.pz));return a.map((x,E)=>x.toAffine(g[E])).map(l.fromAffine)}static fromHex(a){const g=l.fromAffine(s(K("pointHex",a)));return g.assertValidity(),g}static fromPrivateKey(a){return l.BASE.multiply(i(a))}static msm(a,g){return Ve(l,r,a,g)}_setWindowSize(a){N.setWindowSize(this,a)}assertValidity(){h(this)}hasEvenY(){const{y:a}=this.toAffine();if(t.isOdd)return!t.isOdd(a);throw new Error("Field doesn't support isOdd")}equals(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a,B=t.eql(t.mul(g,I),t.mul(q,E)),A=t.eql(t.mul(x,I),t.mul(L,E));return B&&A}negate(){return new l(this.px,t.neg(this.py),this.pz)}double(){const{a,b:g}=e,x=t.mul(g,Dt),{px:E,py:q,pz:L}=this;let I=t.ZERO,B=t.ZERO,A=t.ZERO,v=t.mul(E,E),C=t.mul(q,q),U=t.mul(L,L),H=t.mul(E,q);return H=t.add(H,H),A=t.mul(E,L),A=t.add(A,A),I=t.mul(a,A),B=t.mul(x,U),B=t.add(I,B),I=t.sub(C,B),B=t.add(C,B),B=t.mul(I,B),I=t.mul(H,I),A=t.mul(x,A),U=t.mul(a,U),H=t.sub(v,U),H=t.mul(a,H),H=t.add(H,A),A=t.add(v,v),v=t.add(A,v),v=t.add(v,U),v=t.mul(v,H),B=t.add(B,v),U=t.mul(q,L),U=t.add(U,U),v=t.mul(U,H),I=t.sub(I,v),A=t.mul(U,C),A=t.add(A,A),A=t.add(A,A),new l(I,B,A)}add(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a;let B=t.ZERO,A=t.ZERO,v=t.ZERO;const C=e.a,U=t.mul(e.b,Dt);let H=t.mul(g,q),j=t.mul(x,L),d=t.mul(E,I),w=t.add(g,x),p=t.add(q,L);w=t.mul(w,p),p=t.add(H,j),w=t.sub(w,p),p=t.add(g,E);let S=t.add(q,I);return p=t.mul(p,S),S=t.add(H,d),p=t.sub(p,S),S=t.add(x,E),B=t.add(L,I),S=t.mul(S,B),B=t.add(j,d),S=t.sub(S,B),v=t.mul(C,p),B=t.mul(U,d),v=t.add(B,v),B=t.sub(j,v),v=t.add(j,v),A=t.mul(B,v),j=t.add(H,H),j=t.add(j,H),d=t.mul(C,d),p=t.mul(U,p),j=t.add(j,d),d=t.sub(H,d),d=t.mul(C,d),p=t.add(p,d),H=t.mul(j,p),A=t.add(A,H),H=t.mul(S,p),B=t.mul(w,B),B=t.sub(B,H),H=t.mul(w,j),v=t.mul(S,v),v=t.add(v,H),new l(B,A,v)}subtract(a){return this.add(a.negate())}is0(){return this.equals(l.ZERO)}wNAF(a){return N.wNAFCached(this,a,l.normalizeZ)}multiplyUnsafe(a){const{endo:g,n:x}=e;ot("scalar",a,W,x);const E=l.ZERO;if(a===W)return E;if(this.is0()||a===k)return this;if(!g||N.hasPrecomputes(this))return N.wNAFCachedUnsafe(this,a,l.normalizeZ);let{k1neg:q,k1:L,k2neg:I,k2:B}=g.splitScalar(a),A=E,v=E,C=this;for(;L>W||B>W;)L&k&&(A=A.add(C)),B&k&&(v=v.add(C)),C=C.double(),L>>=k,B>>=k;return q&&(A=A.negate()),I&&(v=v.negate()),v=new l(t.mul(v.px,g.beta),v.py,v.pz),A.add(v)}multiply(a){const{endo:g,n:x}=e;ot("scalar",a,k,x);let E,q;if(g){const{k1neg:L,k1:I,k2neg:B,k2:A}=g.splitScalar(a);let{p:v,f:C}=this.wNAF(I),{p:U,f:H}=this.wNAF(A);v=N.constTimeNegate(L,v),U=N.constTimeNegate(B,U),U=new l(t.mul(U.px,g.beta),U.py,U.pz),E=v.add(U),q=C.add(H)}else{const{p:L,f:I}=this.wNAF(a);E=L,q=I}return l.normalizeZ([E,q])[0]}multiplyAndAddUnsafe(a,g,x){const E=l.BASE,q=(I,B)=>B===W||B===k||!I.equals(E)?I.multiplyUnsafe(B):I.multiply(B),L=q(this,g).add(q(a,x));return L.is0()?void 0:L}toAffine(a){return y(this,a)}isTorsionFree(){const{h:a,isTorsionFree:g}=e;if(a===k)return!0;if(g)return g(l,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:a,clearCofactor:g}=e;return a===k?this:g?g(l,this):this.multiplyUnsafe(e.h)}toRawBytes(a=!0){return at("isCompressed",a),this.assertValidity(),o(l,this,a)}toHex(a=!0){return at("isCompressed",a),ut(this.toRawBytes(a))}}l.BASE=new l(e.Gx,e.Gy,t.ONE),l.ZERO=new l(t.ZERO,t.ONE,t.ZERO);const m=e.nBitLength,N=Me(l,e.endo?Math.ceil(m/2):m);return{CURVE:e,ProjectivePoint:l,normPrivateKeyToScalar:i,weierstrassEquation:c,isWithinCurveOrder:f}}function Ge(n){const e=ue(n);return yt(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function De(n){const e=Ge(n),{Fp:t,n:r}=e,o=t.BYTES+1,s=2*t.BYTES+1;function c(d){return V(d,r)}function f(d){return _t(d,r)}const{ProjectivePoint:i,normPrivateKeyToScalar:u,weierstrassEquation:y,isWithinCurveOrder:h}=Pe({...e,toBytes(d,w,p){const S=w.toAffine(),O=t.toBytes(S.x),T=pt;return at("isCompressed",p),p?T(Uint8Array.from([w.hasEvenY()?2:3]),O):T(Uint8Array.from([4]),O,t.toBytes(S.y))},fromBytes(d){const w=d.length,p=d[0],S=d.subarray(1);if(w===o&&(p===2||p===3)){const O=rt(S);if(!Et(O,k,t.ORDER))throw new Error("Point is not on curve");const T=y(O);let R;try{R=t.sqrt(T)}catch(F){const M=F instanceof Error?": "+F.message:"";throw new Error("Point is not on curve"+M)}const Z=(R&k)===k;return(p&1)===1!==Z&&(R=t.neg(R)),{x:O,y:R}}else if(w===s&&p===4){const O=t.fromBytes(S.subarray(0,t.BYTES)),T=t.fromBytes(S.subarray(t.BYTES,2*t.BYTES));return{x:O,y:T}}else{const O=o,T=s;throw new Error("invalid Point, expected length of "+O+", or uncompressed "+T+", got "+w)}}}),l=d=>ut(lt(d,e.nByteLength));function m(d){const w=r>>k;return d>w}function N(d){return m(d)?c(-d):d}const b=(d,w,p)=>rt(d.slice(w,p));class a{constructor(w,p,S){this.r=w,this.s=p,this.recovery=S,this.assertValidity()}static fromCompact(w){const p=e.nByteLength;return w=K("compactSignature",w,p*2),new a(b(w,0,p),b(w,p,2*p))}static fromDER(w){const{r:p,s:S}=$.toSig(K("DER",w));return new a(p,S)}assertValidity(){ot("r",this.r,k,r),ot("s",this.s,k,r)}addRecoveryBit(w){return new a(this.r,this.s,w)}recoverPublicKey(w){const{r:p,s:S,recovery:O}=this,T=I(K("msgHash",w));if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");const R=O===2||O===3?p+e.n:p;if(R>=t.ORDER)throw new Error("recovery id 2 or 3 invalid");const Z=(O&1)===0?"02":"03",G=i.fromHex(Z+l(R)),F=f(R),M=c(-T*F),st=c(S*F),X=i.BASE.multiplyAndAddUnsafe(G,M,st);if(!X)throw new Error("point at infinify");return X.assertValidity(),X}hasHighS(){return m(this.s)}normalizeS(){return this.hasHighS()?new a(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return wt(this.toDERHex())}toDERHex(){return $.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return wt(this.toCompactHex())}toCompactHex(){return l(this.r)+l(this.s)}}const g={isValidPrivateKey(d){try{return u(d),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const d=ce(e.n);return Ce(e.randomBytes(d),e.n)},precompute(d=8,w=i.BASE){return w._setWindowSize(d),w.multiply(BigInt(3)),w}};function x(d,w=!0){return i.fromPrivateKey(d).toRawBytes(w)}function E(d){const w=it(d),p=typeof d=="string",S=(w||p)&&d.length;return w?S===o||S===s:p?S===2*o||S===2*s:d instanceof i}function q(d,w,p=!0){if(E(d))throw new Error("first arg must be private key");if(!E(w))throw new Error("second arg must be public key");return i.fromHex(w).multiply(u(d)).toRawBytes(p)}const L=e.bits2int||function(d){if(d.length>8192)throw new Error("input is too large");const w=rt(d),p=d.length*8-e.nBitLength;return p>0?w>>BigInt(p):w},I=e.bits2int_modN||function(d){return c(L(d))},B=Mt(e.nBitLength);function A(d){return ot("num < 2^"+e.nBitLength,d,W,B),lt(d,e.nByteLength)}function v(d,w,p=C){if(["recovered","canonical"].some(tt=>tt in p))throw new Error("sign() legacy options not supported");const{hash:S,randomBytes:O}=e;let{lowS:T,prehash:R,extraEntropy:Z}=p;T==null&&(T=!0),d=K("msgHash",d),Gt(p),R&&(d=K("prehashed msgHash",S(d)));const G=I(d),F=u(w),M=[A(F),A(G)];if(Z!=null&&Z!==!1){const tt=Z===!0?O(t.BYTES):Z;M.push(K("extraEntropy",tt))}const st=pt(...M),X=G;function Bt(tt){const ct=L(tt);if(!h(ct))return;const vt=f(ct),dt=i.BASE.multiply(ct).toAffine(),et=c(dt.x);if(et===W)return;const ht=c(vt*c(X+et*F));if(ht===W)return;let ft=(dt.x===et?0:2)|Number(dt.y&k),Vt=ht;return T&&m(ht)&&(Vt=N(ht),ft^=1),new a(et,Vt,ft)}return{seed:st,k2sig:Bt}}const C={lowS:e.lowS,prehash:!1},U={lowS:e.lowS,prehash:!1};function H(d,w,p=C){const{seed:S,k2sig:O}=v(d,w,p),T=e;return ee(T.hash.outputLen,T.nByteLength,T.hmac)(S,O)}i.BASE._setWindowSize(8);function j(d,w,p,S=U){const O=d;w=K("msgHash",w),p=K("publicKey",p);const{lowS:T,prehash:R,format:Z}=S;if(Gt(S),"strict"in S)throw new Error("options.strict was renamed to lowS");if(Z!==void 0&&Z!=="compact"&&Z!=="der")throw new Error("format must be compact or der");const G=typeof O=="string"||it(O),F=!G&&!Z&&typeof O=="object"&&O!==null&&typeof O.r=="bigint"&&typeof O.s=="bigint";if(!G&&!F)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let M,st;try{if(F&&(M=new a(O.r,O.s)),G){try{Z!=="compact"&&(M=a.fromDER(O))}catch(ft){if(!(ft instanceof $.Err))throw ft}!M&&Z!=="der"&&(M=a.fromCompact(O))}st=i.fromHex(p)}catch{return!1}if(!M||T&&M.hasHighS())return!1;R&&(w=e.hash(w));const{r:X,s:Bt}=M,tt=I(w),ct=f(Bt),vt=c(tt*ct),dt=c(X*ct),et=i.BASE.multiplyAndAddUnsafe(st,vt,dt)?.toAffine();return et?c(et.x)===X:!1}return{CURVE:e,getPublicKey:x,getSharedSecret:q,sign:H,verify:j,ProjectivePoint:i,Signature:a,utils:g}}function $e(n){return{hash:n,hmac:(e,...t)=>re(n,e,be(...t)),randomBytes:pe}}function We(n,e){const t=r=>De({...n,...$e(r)});return{...t(e),create:t}}const le=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),$t=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Xe=BigInt(1),Tt=BigInt(2),Wt=(n,e)=>(n+e/Tt)/e;function Qe(n){const e=le,t=BigInt(3),r=BigInt(6),o=BigInt(11),s=BigInt(22),c=BigInt(23),f=BigInt(44),i=BigInt(88),u=n*n*n%e,y=u*u*n%e,h=Y(y,t,e)*y%e,l=Y(h,t,e)*y%e,m=Y(l,Tt,e)*u%e,N=Y(m,o,e)*m%e,b=Y(N,s,e)*N%e,a=Y(b,f,e)*b%e,g=Y(a,i,e)*a%e,x=Y(g,f,e)*b%e,E=Y(x,t,e)*y%e,q=Y(E,c,e)*N%e,L=Y(q,r,e)*u%e,I=Y(L,Tt,e);if(!kt.eql(kt.sqr(I),n))throw new Error("Cannot find square root");return I}const kt=ie(le,void 0,void 0,{sqrt:Qe}),Je=We({a:BigInt(0),b:BigInt(7),Fp:kt,n:$t,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:n=>{const e=$t,t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-Xe*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=t,c=BigInt("0x100000000000000000000000000000000"),f=Wt(s*n,e),i=Wt(-r*n,e);let u=V(n-f*t-i*o,e),y=V(-f*r-i*s,e);const h=u>c,l=y>c;if(h&&(u=e-u),l&&(y=e-y),u>c||y>c)throw new Error("splitScalar: Endomorphism failed, k="+n);return{k1neg:h,k1:u,k2neg:l,k2:y}}}},Se);BigInt(0);Je.ProjectivePoint;export{Je as secp256k1};
1
+ import{H as Xt,c as St,a as xt,t as Qt,b as de,d as he,r as P,e as ge,f as we,g as pe,h as be}from"./index-BvCDVAWw.js";import"./index.browser.esm-6nUPDoFV.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-_yFUo4Ac.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";function ye(n,e,t,r){if(typeof n.setBigUint64=="function")return n.setBigUint64(e,t,r);const o=BigInt(32),s=BigInt(4294967295),c=Number(t>>o&s),f=Number(t&s),i=r?4:0,u=r?0:4;n.setUint32(e+i,c,r),n.setUint32(e+u,f,r)}function me(n,e,t){return n&e^~n&t}function xe(n,e,t){return n&e^n&t^e&t}class Ee extends Xt{constructor(e,t,r,o){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=St(this.buffer)}update(e){xt(this);const{view:t,buffer:r,blockLen:o}=this;e=Qt(e);const s=e.length;for(let c=0;c<s;){const f=Math.min(o-this.pos,s-c);if(f===o){const i=St(e);for(;o<=s-c;c+=o)this.process(i,c);continue}r.set(e.subarray(c,c+f),this.pos),this.pos+=f,c+=f,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){xt(this),de(e,this),this.finished=!0;const{buffer:t,view:r,blockLen:o,isLE:s}=this;let{pos:c}=this;t[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>o-c&&(this.process(r,0),c=0);for(let h=c;h<o;h++)t[h]=0;ye(r,o-8,BigInt(this.length*8),s),this.process(r,0);const f=St(e),i=this.outputLen;if(i%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=i/4,y=this.get();if(u>y.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<u;h++)f.setUint32(4*h,y[h],s)}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:t,buffer:r,length:o,finished:s,destroyed:c,pos:f}=this;return e.length=o,e.pos=f,e.finished=s,e.destroyed=c,o%t&&e.buffer.set(r),e}}const Be=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Q=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),J=new Uint32Array(64);class ve extends Ee{constructor(){super(64,32,8,!1),this.A=Q[0]|0,this.B=Q[1]|0,this.C=Q[2]|0,this.D=Q[3]|0,this.E=Q[4]|0,this.F=Q[5]|0,this.G=Q[6]|0,this.H=Q[7]|0}get(){const{A:e,B:t,C:r,D:o,E:s,F:c,G:f,H:i}=this;return[e,t,r,o,s,c,f,i]}set(e,t,r,o,s,c,f,i){this.A=e|0,this.B=t|0,this.C=r|0,this.D=o|0,this.E=s|0,this.F=c|0,this.G=f|0,this.H=i|0}process(e,t){for(let h=0;h<16;h++,t+=4)J[h]=e.getUint32(t,!1);for(let h=16;h<64;h++){const l=J[h-15],m=J[h-2],N=P(l,7)^P(l,18)^l>>>3,b=P(m,17)^P(m,19)^m>>>10;J[h]=b+J[h-7]+N+J[h-16]|0}let{A:r,B:o,C:s,D:c,E:f,F:i,G:u,H:y}=this;for(let h=0;h<64;h++){const l=P(f,6)^P(f,11)^P(f,25),m=y+l+me(f,i,u)+Be[h]+J[h]|0,b=(P(r,2)^P(r,13)^P(r,22))+xe(r,o,s)|0;y=u,u=i,i=f,f=c+m|0,c=s,s=o,o=r,r=m+b|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,f=f+this.E|0,i=i+this.F|0,u=u+this.G|0,y=y+this.H|0,this.set(r,o,s,c,f,i,u,y)}roundClean(){J.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Se=he(()=>new ve);const zt=BigInt(0),Jt=BigInt(1),Ae=BigInt(2);function it(n){return n instanceof Uint8Array||ArrayBuffer.isView(n)&&n.constructor.name==="Uint8Array"}function bt(n){if(!it(n))throw new Error("Uint8Array expected")}function at(n,e){if(typeof e!="boolean")throw new Error(n+" boolean expected, got "+e)}const Ie=Array.from({length:256},(n,e)=>e.toString(16).padStart(2,"0"));function ut(n){bt(n);let e="";for(let t=0;t<n.length;t++)e+=Ie[n[t]];return e}function gt(n){const e=n.toString(16);return e.length&1?"0"+e:e}function Ct(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);return n===""?zt:BigInt("0x"+n)}const D={_0:48,_9:57,A:65,F:70,a:97,f:102};function jt(n){if(n>=D._0&&n<=D._9)return n-D._0;if(n>=D.A&&n<=D.F)return n-(D.A-10);if(n>=D.a&&n<=D.f)return n-(D.a-10)}function wt(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);const e=n.length,t=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(t);for(let o=0,s=0;o<t;o++,s+=2){const c=jt(n.charCodeAt(s)),f=jt(n.charCodeAt(s+1));if(c===void 0||f===void 0){const i=n[s]+n[s+1];throw new Error('hex string expected, got non-hex character "'+i+'" at index '+s)}r[o]=c*16+f}return r}function rt(n){return Ct(ut(n))}function Zt(n){return bt(n),Ct(ut(Uint8Array.from(n).reverse()))}function lt(n,e){return wt(n.toString(16).padStart(e*2,"0"))}function Rt(n,e){return lt(n,e).reverse()}function K(n,e,t){let r;if(typeof e=="string")try{r=wt(e)}catch(s){throw new Error(n+" must be hex string or Uint8Array, cause: "+s)}else if(it(e))r=Uint8Array.from(e);else throw new Error(n+" must be hex string or Uint8Array");const o=r.length;if(typeof t=="number"&&o!==t)throw new Error(n+" of length "+t+" expected, got "+o);return r}function pt(...n){let e=0;for(let r=0;r<n.length;r++){const o=n[r];bt(o),e+=o.length}const t=new Uint8Array(e);for(let r=0,o=0;r<n.length;r++){const s=n[r];t.set(s,o),o+=s.length}return t}const At=n=>typeof n=="bigint"&&zt<=n;function Et(n,e,t){return At(n)&&At(e)&&At(t)&&e<=n&&n<t}function ot(n,e,t,r){if(!Et(e,t,r))throw new Error("expected valid "+n+": "+t+" <= n < "+r+", got "+e)}function te(n){let e;for(e=0;n>zt;n>>=Jt,e+=1);return e}const Mt=n=>(Ae<<BigInt(n-1))-Jt,It=n=>new Uint8Array(n),Yt=n=>Uint8Array.from(n);function ee(n,e,t){if(typeof n!="number"||n<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof t!="function")throw new Error("hmacFn must be a function");let r=It(n),o=It(n),s=0;const c=()=>{r.fill(1),o.fill(0),s=0},f=(...h)=>t(o,r,...h),i=(h=It())=>{o=f(Yt([0]),h),r=f(),h.length!==0&&(o=f(Yt([1]),h),r=f())},u=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const l=[];for(;h<e;){r=f();const m=r.slice();l.push(m),h+=r.length}return pt(...l)};return(h,l)=>{c(),i(h);let m;for(;!(m=l(u()));)i();return c(),m}}const Ne={bigint:n=>typeof n=="bigint",function:n=>typeof n=="function",boolean:n=>typeof n=="boolean",string:n=>typeof n=="string",stringOrUint8Array:n=>typeof n=="string"||it(n),isSafeInteger:n=>Number.isSafeInteger(n),array:n=>Array.isArray(n),field:(n,e)=>e.Fp.isValid(n),hash:n=>typeof n=="function"&&Number.isSafeInteger(n.outputLen)};function yt(n,e,t={}){const r=(o,s,c)=>{const f=Ne[s];if(typeof f!="function")throw new Error("invalid validator function");const i=n[o];if(!(c&&i===void 0)&&!f(i,n))throw new Error("param "+String(o)+" is invalid. Expected "+s+", got "+i)};for(const[o,s]of Object.entries(e))r(o,s,!1);for(const[o,s]of Object.entries(t))r(o,s,!0);return n}function Ht(n){const e=new WeakMap;return(t,...r)=>{const o=e.get(t);if(o!==void 0)return o;const s=n(t,...r);return e.set(t,s),s}}const qe=Object.freeze(Object.defineProperty({__proto__:null,aInRange:ot,abool:at,abytes:bt,bitLen:te,bitMask:Mt,bytesToHex:ut,bytesToNumberBE:rt,bytesToNumberLE:Zt,concatBytes:pt,createHmacDrbg:ee,ensureBytes:K,hexToBytes:wt,hexToNumber:Ct,inRange:Et,isBytes:it,memoized:Ht,numberToBytesBE:lt,numberToBytesLE:Rt,numberToHexUnpadded:gt,validateObject:yt},Symbol.toStringTag,{value:"Module"}));class ne extends Xt{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,ge(e);const r=Qt(t);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?e.create().update(r).digest():r);for(let c=0;c<s.length;c++)s[c]^=54;this.iHash.update(s),this.oHash=e.create();for(let c=0;c<s.length;c++)s[c]^=106;this.oHash.update(s),s.fill(0)}update(e){return xt(this),this.iHash.update(e),this}digestInto(e){xt(this),we(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:t,iHash:r,finished:o,destroyed:s,blockLen:c,outputLen:f}=this;return e=e,e.finished=o,e.destroyed=s,e.blockLen=c,e.outputLen=f,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const re=(n,e,t)=>new ne(n,e).update(t).digest();re.create=(n,e)=>new ne(n,e);const z=BigInt(0),_=BigInt(1),nt=BigInt(2),Oe=BigInt(3),Ut=BigInt(4),Ft=BigInt(5),Kt=BigInt(8);function V(n,e){const t=n%e;return t>=z?t:e+t}function Le(n,e,t){if(e<z)throw new Error("invalid exponent, negatives unsupported");if(t<=z)throw new Error("invalid modulus");if(t===_)return z;let r=_;for(;e>z;)e&_&&(r=r*n%t),n=n*n%t,e>>=_;return r}function Y(n,e,t){let r=n;for(;e-- >z;)r*=r,r%=t;return r}function _t(n,e){if(n===z)throw new Error("invert: expected non-zero number");if(e<=z)throw new Error("invert: expected positive modulus, got "+e);let t=V(n,e),r=e,o=z,s=_;for(;t!==z;){const f=r/t,i=r%t,u=o-s*f;r=t,t=i,o=s,s=u}if(r!==_)throw new Error("invert: does not exist");return V(o,e)}function He(n){const e=(n-_)/nt;let t,r,o;for(t=n-_,r=0;t%nt===z;t/=nt,r++);for(o=nt;o<n&&Le(o,e,n)!==n-_;o++)if(o>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const c=(n+_)/Ut;return function(i,u){const y=i.pow(u,c);if(!i.eql(i.sqr(y),u))throw new Error("Cannot find square root");return y}}const s=(t+_)/nt;return function(f,i){if(f.pow(i,e)===f.neg(f.ONE))throw new Error("Cannot find square root");let u=r,y=f.pow(f.mul(f.ONE,o),t),h=f.pow(i,s),l=f.pow(i,t);for(;!f.eql(l,f.ONE);){if(f.eql(l,f.ZERO))return f.ZERO;let m=1;for(let b=f.sqr(l);m<u&&!f.eql(b,f.ONE);m++)b=f.sqr(b);const N=f.pow(y,_<<BigInt(u-m-1));y=f.sqr(N),h=f.mul(h,N),l=f.mul(l,y),u=m}return h}}function Ue(n){if(n%Ut===Oe){const e=(n+_)/Ut;return function(r,o){const s=r.pow(o,e);if(!r.eql(r.sqr(s),o))throw new Error("Cannot find square root");return s}}if(n%Kt===Ft){const e=(n-Ft)/Kt;return function(r,o){const s=r.mul(o,nt),c=r.pow(s,e),f=r.mul(o,c),i=r.mul(r.mul(f,nt),c),u=r.mul(f,r.sub(i,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return He(n)}const _e=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Te(n){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},t=_e.reduce((r,o)=>(r[o]="function",r),e);return yt(n,t)}function ke(n,e,t){if(t<z)throw new Error("invalid exponent, negatives unsupported");if(t===z)return n.ONE;if(t===_)return e;let r=n.ONE,o=e;for(;t>z;)t&_&&(r=n.mul(r,o)),o=n.sqr(o),t>>=_;return r}function ze(n,e){const t=new Array(e.length),r=e.reduce((s,c,f)=>n.is0(c)?s:(t[f]=s,n.mul(s,c)),n.ONE),o=n.inv(r);return e.reduceRight((s,c,f)=>n.is0(c)?s:(t[f]=n.mul(s,t[f]),n.mul(s,c)),o),t}function oe(n,e){const t=e!==void 0?e:n.toString(2).length,r=Math.ceil(t/8);return{nBitLength:t,nByteLength:r}}function ie(n,e,t=!1,r={}){if(n<=z)throw new Error("invalid field: expected ORDER > 0, got "+n);const{nBitLength:o,nByteLength:s}=oe(n,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c;const f=Object.freeze({ORDER:n,isLE:t,BITS:o,BYTES:s,MASK:Mt(o),ZERO:z,ONE:_,create:i=>V(i,n),isValid:i=>{if(typeof i!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof i);return z<=i&&i<n},is0:i=>i===z,isOdd:i=>(i&_)===_,neg:i=>V(-i,n),eql:(i,u)=>i===u,sqr:i=>V(i*i,n),add:(i,u)=>V(i+u,n),sub:(i,u)=>V(i-u,n),mul:(i,u)=>V(i*u,n),pow:(i,u)=>ke(f,i,u),div:(i,u)=>V(i*_t(u,n),n),sqrN:i=>i*i,addN:(i,u)=>i+u,subN:(i,u)=>i-u,mulN:(i,u)=>i*u,inv:i=>_t(i,n),sqrt:r.sqrt||(i=>(c||(c=Ue(n)),c(f,i))),invertBatch:i=>ze(f,i),cmov:(i,u,y)=>y?u:i,toBytes:i=>t?Rt(i,s):lt(i,s),fromBytes:i=>{if(i.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+i.length);return t?Zt(i):rt(i)}});return Object.freeze(f)}function se(n){if(typeof n!="bigint")throw new Error("field order must be bigint");const e=n.toString(2).length;return Math.ceil(e/8)}function ce(n){const e=se(n);return e+Math.ceil(e/2)}function Ce(n,e,t=!1){const r=n.length,o=se(e),s=ce(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const c=t?Zt(n):rt(n),f=V(c,e-_)+_;return t?Rt(f,o):lt(f,o)}const Pt=BigInt(0),mt=BigInt(1);function Nt(n,e){const t=e.negate();return n?t:e}function fe(n,e){if(!Number.isSafeInteger(n)||n<=0||n>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+n)}function qt(n,e){fe(n,e);const t=Math.ceil(e/n)+1,r=2**(n-1);return{windows:t,windowSize:r}}function Ze(n,e){if(!Array.isArray(n))throw new Error("array expected");n.forEach((t,r)=>{if(!(t instanceof e))throw new Error("invalid point at index "+r)})}function Re(n,e){if(!Array.isArray(n))throw new Error("array of scalars expected");n.forEach((t,r)=>{if(!e.isValid(t))throw new Error("invalid scalar at index "+r)})}const Ot=new WeakMap,ae=new WeakMap;function Lt(n){return ae.get(n)||1}function Me(n,e){return{constTimeNegate:Nt,hasPrecomputes(t){return Lt(t)!==1},unsafeLadder(t,r,o=n.ZERO){let s=t;for(;r>Pt;)r&mt&&(o=o.add(s)),s=s.double(),r>>=mt;return o},precomputeWindow(t,r){const{windows:o,windowSize:s}=qt(r,e),c=[];let f=t,i=f;for(let u=0;u<o;u++){i=f,c.push(i);for(let y=1;y<s;y++)i=i.add(f),c.push(i);f=i.double()}return c},wNAF(t,r,o){const{windows:s,windowSize:c}=qt(t,e);let f=n.ZERO,i=n.BASE;const u=BigInt(2**t-1),y=2**t,h=BigInt(t);for(let l=0;l<s;l++){const m=l*c;let N=Number(o&u);o>>=h,N>c&&(N-=y,o+=mt);const b=m,a=m+Math.abs(N)-1,g=l%2!==0,x=N<0;N===0?i=i.add(Nt(g,r[b])):f=f.add(Nt(x,r[a]))}return{p:f,f:i}},wNAFUnsafe(t,r,o,s=n.ZERO){const{windows:c,windowSize:f}=qt(t,e),i=BigInt(2**t-1),u=2**t,y=BigInt(t);for(let h=0;h<c;h++){const l=h*f;if(o===Pt)break;let m=Number(o&i);if(o>>=y,m>f&&(m-=u,o+=mt),m===0)continue;let N=r[l+Math.abs(m)-1];m<0&&(N=N.negate()),s=s.add(N)}return s},getPrecomputes(t,r,o){let s=Ot.get(r);return s||(s=this.precomputeWindow(r,t),t!==1&&Ot.set(r,o(s))),s},wNAFCached(t,r,o){const s=Lt(t);return this.wNAF(s,this.getPrecomputes(s,t,o),r)},wNAFCachedUnsafe(t,r,o,s){const c=Lt(t);return c===1?this.unsafeLadder(t,r,s):this.wNAFUnsafe(c,this.getPrecomputes(c,t,o),r,s)},setWindowSize(t,r){fe(r,e),ae.set(t,r),Ot.delete(t)}}}function Ve(n,e,t,r){if(Ze(t,n),Re(r,e),t.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const o=n.ZERO,s=te(BigInt(t.length)),c=s>12?s-3:s>4?s-2:s?2:1,f=(1<<c)-1,i=new Array(f+1).fill(o),u=Math.floor((e.BITS-1)/c)*c;let y=o;for(let h=u;h>=0;h-=c){i.fill(o);for(let m=0;m<r.length;m++){const N=r[m],b=Number(N>>BigInt(h)&BigInt(f));i[b]=i[b].add(t[m])}let l=o;for(let m=i.length-1,N=o;m>0;m--)N=N.add(i[m]),l=l.add(N);if(y=y.add(l),h!==0)for(let m=0;m<c;m++)y=y.double()}return y}function ue(n){return Te(n.Fp),yt(n,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...oe(n.n,n.nBitLength),...n,p:n.Fp.ORDER})}function Gt(n){n.lowS!==void 0&&at("lowS",n.lowS),n.prehash!==void 0&&at("prehash",n.prehash)}function je(n){const e=ue(n);yt(e,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:t,Fp:r,a:o}=e;if(t){if(!r.eql(o,r.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof t!="object"||typeof t.beta!="bigint"||typeof t.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...e})}const{bytesToNumberBE:Ye,hexToBytes:Fe}=qe;class Ke extends Error{constructor(e=""){super(e)}}const $={Err:Ke,_tlv:{encode:(n,e)=>{const{Err:t}=$;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length&1)throw new t("tlv.encode: unpadded data");const r=e.length/2,o=gt(r);if(o.length/2&128)throw new t("tlv.encode: long form length too big");const s=r>127?gt(o.length/2|128):"";return gt(n)+s+o+e},decode(n,e){const{Err:t}=$;let r=0;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length<2||e[r++]!==n)throw new t("tlv.decode: wrong tlv");const o=e[r++],s=!!(o&128);let c=0;if(!s)c=o;else{const i=o&127;if(!i)throw new t("tlv.decode(long): indefinite length not supported");if(i>4)throw new t("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+i);if(u.length!==i)throw new t("tlv.decode: length bytes not complete");if(u[0]===0)throw new t("tlv.decode(long): zero leftmost byte");for(const y of u)c=c<<8|y;if(r+=i,c<128)throw new t("tlv.decode(long): not minimal encoding")}const f=e.subarray(r,r+c);if(f.length!==c)throw new t("tlv.decode: wrong value length");return{v:f,l:e.subarray(r+c)}}},_int:{encode(n){const{Err:e}=$;if(n<W)throw new e("integer: negative integers are not allowed");let t=gt(n);if(Number.parseInt(t[0],16)&8&&(t="00"+t),t.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return t},decode(n){const{Err:e}=$;if(n[0]&128)throw new e("invalid signature integer: negative");if(n[0]===0&&!(n[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Ye(n)}},toSig(n){const{Err:e,_int:t,_tlv:r}=$,o=typeof n=="string"?Fe(n):n;bt(o);const{v:s,l:c}=r.decode(48,o);if(c.length)throw new e("invalid signature: left bytes after parsing");const{v:f,l:i}=r.decode(2,s),{v:u,l:y}=r.decode(2,i);if(y.length)throw new e("invalid signature: left bytes after parsing");return{r:t.decode(f),s:t.decode(u)}},hexFromSig(n){const{_tlv:e,_int:t}=$,r=e.encode(2,t.encode(n.r)),o=e.encode(2,t.encode(n.s)),s=r+o;return e.encode(48,s)}},W=BigInt(0),k=BigInt(1);BigInt(2);const Dt=BigInt(3);BigInt(4);function Pe(n){const e=je(n),{Fp:t}=e,r=ie(e.n,e.nBitLength),o=e.toBytes||((b,a,g)=>{const x=a.toAffine();return pt(Uint8Array.from([4]),t.toBytes(x.x),t.toBytes(x.y))}),s=e.fromBytes||(b=>{const a=b.subarray(1),g=t.fromBytes(a.subarray(0,t.BYTES)),x=t.fromBytes(a.subarray(t.BYTES,2*t.BYTES));return{x:g,y:x}});function c(b){const{a,b:g}=e,x=t.sqr(b),E=t.mul(x,b);return t.add(t.add(E,t.mul(b,a)),g)}if(!t.eql(t.sqr(e.Gy),c(e.Gx)))throw new Error("bad generator point: equation left != right");function f(b){return Et(b,k,e.n)}function i(b){const{allowedPrivateKeyLengths:a,nByteLength:g,wrapPrivateKey:x,n:E}=e;if(a&&typeof b!="bigint"){if(it(b)&&(b=ut(b)),typeof b!="string"||!a.includes(b.length))throw new Error("invalid private key");b=b.padStart(g*2,"0")}let q;try{q=typeof b=="bigint"?b:rt(K("private key",b,g))}catch{throw new Error("invalid private key, expected hex or "+g+" bytes, got "+typeof b)}return x&&(q=V(q,E)),ot("private key",q,k,E),q}function u(b){if(!(b instanceof l))throw new Error("ProjectivePoint expected")}const y=Ht((b,a)=>{const{px:g,py:x,pz:E}=b;if(t.eql(E,t.ONE))return{x:g,y:x};const q=b.is0();a==null&&(a=q?t.ONE:t.inv(E));const L=t.mul(g,a),I=t.mul(x,a),B=t.mul(E,a);if(q)return{x:t.ZERO,y:t.ZERO};if(!t.eql(B,t.ONE))throw new Error("invZ was invalid");return{x:L,y:I}}),h=Ht(b=>{if(b.is0()){if(e.allowInfinityPoint&&!t.is0(b.py))return;throw new Error("bad point: ZERO")}const{x:a,y:g}=b.toAffine();if(!t.isValid(a)||!t.isValid(g))throw new Error("bad point: x or y not FE");const x=t.sqr(g),E=c(a);if(!t.eql(x,E))throw new Error("bad point: equation left != right");if(!b.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class l{constructor(a,g,x){if(this.px=a,this.py=g,this.pz=x,a==null||!t.isValid(a))throw new Error("x required");if(g==null||!t.isValid(g))throw new Error("y required");if(x==null||!t.isValid(x))throw new Error("z required");Object.freeze(this)}static fromAffine(a){const{x:g,y:x}=a||{};if(!a||!t.isValid(g)||!t.isValid(x))throw new Error("invalid affine point");if(a instanceof l)throw new Error("projective point not allowed");const E=q=>t.eql(q,t.ZERO);return E(g)&&E(x)?l.ZERO:new l(g,x,t.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(a){const g=t.invertBatch(a.map(x=>x.pz));return a.map((x,E)=>x.toAffine(g[E])).map(l.fromAffine)}static fromHex(a){const g=l.fromAffine(s(K("pointHex",a)));return g.assertValidity(),g}static fromPrivateKey(a){return l.BASE.multiply(i(a))}static msm(a,g){return Ve(l,r,a,g)}_setWindowSize(a){N.setWindowSize(this,a)}assertValidity(){h(this)}hasEvenY(){const{y:a}=this.toAffine();if(t.isOdd)return!t.isOdd(a);throw new Error("Field doesn't support isOdd")}equals(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a,B=t.eql(t.mul(g,I),t.mul(q,E)),A=t.eql(t.mul(x,I),t.mul(L,E));return B&&A}negate(){return new l(this.px,t.neg(this.py),this.pz)}double(){const{a,b:g}=e,x=t.mul(g,Dt),{px:E,py:q,pz:L}=this;let I=t.ZERO,B=t.ZERO,A=t.ZERO,v=t.mul(E,E),C=t.mul(q,q),U=t.mul(L,L),H=t.mul(E,q);return H=t.add(H,H),A=t.mul(E,L),A=t.add(A,A),I=t.mul(a,A),B=t.mul(x,U),B=t.add(I,B),I=t.sub(C,B),B=t.add(C,B),B=t.mul(I,B),I=t.mul(H,I),A=t.mul(x,A),U=t.mul(a,U),H=t.sub(v,U),H=t.mul(a,H),H=t.add(H,A),A=t.add(v,v),v=t.add(A,v),v=t.add(v,U),v=t.mul(v,H),B=t.add(B,v),U=t.mul(q,L),U=t.add(U,U),v=t.mul(U,H),I=t.sub(I,v),A=t.mul(U,C),A=t.add(A,A),A=t.add(A,A),new l(I,B,A)}add(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a;let B=t.ZERO,A=t.ZERO,v=t.ZERO;const C=e.a,U=t.mul(e.b,Dt);let H=t.mul(g,q),j=t.mul(x,L),d=t.mul(E,I),w=t.add(g,x),p=t.add(q,L);w=t.mul(w,p),p=t.add(H,j),w=t.sub(w,p),p=t.add(g,E);let S=t.add(q,I);return p=t.mul(p,S),S=t.add(H,d),p=t.sub(p,S),S=t.add(x,E),B=t.add(L,I),S=t.mul(S,B),B=t.add(j,d),S=t.sub(S,B),v=t.mul(C,p),B=t.mul(U,d),v=t.add(B,v),B=t.sub(j,v),v=t.add(j,v),A=t.mul(B,v),j=t.add(H,H),j=t.add(j,H),d=t.mul(C,d),p=t.mul(U,p),j=t.add(j,d),d=t.sub(H,d),d=t.mul(C,d),p=t.add(p,d),H=t.mul(j,p),A=t.add(A,H),H=t.mul(S,p),B=t.mul(w,B),B=t.sub(B,H),H=t.mul(w,j),v=t.mul(S,v),v=t.add(v,H),new l(B,A,v)}subtract(a){return this.add(a.negate())}is0(){return this.equals(l.ZERO)}wNAF(a){return N.wNAFCached(this,a,l.normalizeZ)}multiplyUnsafe(a){const{endo:g,n:x}=e;ot("scalar",a,W,x);const E=l.ZERO;if(a===W)return E;if(this.is0()||a===k)return this;if(!g||N.hasPrecomputes(this))return N.wNAFCachedUnsafe(this,a,l.normalizeZ);let{k1neg:q,k1:L,k2neg:I,k2:B}=g.splitScalar(a),A=E,v=E,C=this;for(;L>W||B>W;)L&k&&(A=A.add(C)),B&k&&(v=v.add(C)),C=C.double(),L>>=k,B>>=k;return q&&(A=A.negate()),I&&(v=v.negate()),v=new l(t.mul(v.px,g.beta),v.py,v.pz),A.add(v)}multiply(a){const{endo:g,n:x}=e;ot("scalar",a,k,x);let E,q;if(g){const{k1neg:L,k1:I,k2neg:B,k2:A}=g.splitScalar(a);let{p:v,f:C}=this.wNAF(I),{p:U,f:H}=this.wNAF(A);v=N.constTimeNegate(L,v),U=N.constTimeNegate(B,U),U=new l(t.mul(U.px,g.beta),U.py,U.pz),E=v.add(U),q=C.add(H)}else{const{p:L,f:I}=this.wNAF(a);E=L,q=I}return l.normalizeZ([E,q])[0]}multiplyAndAddUnsafe(a,g,x){const E=l.BASE,q=(I,B)=>B===W||B===k||!I.equals(E)?I.multiplyUnsafe(B):I.multiply(B),L=q(this,g).add(q(a,x));return L.is0()?void 0:L}toAffine(a){return y(this,a)}isTorsionFree(){const{h:a,isTorsionFree:g}=e;if(a===k)return!0;if(g)return g(l,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:a,clearCofactor:g}=e;return a===k?this:g?g(l,this):this.multiplyUnsafe(e.h)}toRawBytes(a=!0){return at("isCompressed",a),this.assertValidity(),o(l,this,a)}toHex(a=!0){return at("isCompressed",a),ut(this.toRawBytes(a))}}l.BASE=new l(e.Gx,e.Gy,t.ONE),l.ZERO=new l(t.ZERO,t.ONE,t.ZERO);const m=e.nBitLength,N=Me(l,e.endo?Math.ceil(m/2):m);return{CURVE:e,ProjectivePoint:l,normPrivateKeyToScalar:i,weierstrassEquation:c,isWithinCurveOrder:f}}function Ge(n){const e=ue(n);return yt(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function De(n){const e=Ge(n),{Fp:t,n:r}=e,o=t.BYTES+1,s=2*t.BYTES+1;function c(d){return V(d,r)}function f(d){return _t(d,r)}const{ProjectivePoint:i,normPrivateKeyToScalar:u,weierstrassEquation:y,isWithinCurveOrder:h}=Pe({...e,toBytes(d,w,p){const S=w.toAffine(),O=t.toBytes(S.x),T=pt;return at("isCompressed",p),p?T(Uint8Array.from([w.hasEvenY()?2:3]),O):T(Uint8Array.from([4]),O,t.toBytes(S.y))},fromBytes(d){const w=d.length,p=d[0],S=d.subarray(1);if(w===o&&(p===2||p===3)){const O=rt(S);if(!Et(O,k,t.ORDER))throw new Error("Point is not on curve");const T=y(O);let R;try{R=t.sqrt(T)}catch(F){const M=F instanceof Error?": "+F.message:"";throw new Error("Point is not on curve"+M)}const Z=(R&k)===k;return(p&1)===1!==Z&&(R=t.neg(R)),{x:O,y:R}}else if(w===s&&p===4){const O=t.fromBytes(S.subarray(0,t.BYTES)),T=t.fromBytes(S.subarray(t.BYTES,2*t.BYTES));return{x:O,y:T}}else{const O=o,T=s;throw new Error("invalid Point, expected length of "+O+", or uncompressed "+T+", got "+w)}}}),l=d=>ut(lt(d,e.nByteLength));function m(d){const w=r>>k;return d>w}function N(d){return m(d)?c(-d):d}const b=(d,w,p)=>rt(d.slice(w,p));class a{constructor(w,p,S){this.r=w,this.s=p,this.recovery=S,this.assertValidity()}static fromCompact(w){const p=e.nByteLength;return w=K("compactSignature",w,p*2),new a(b(w,0,p),b(w,p,2*p))}static fromDER(w){const{r:p,s:S}=$.toSig(K("DER",w));return new a(p,S)}assertValidity(){ot("r",this.r,k,r),ot("s",this.s,k,r)}addRecoveryBit(w){return new a(this.r,this.s,w)}recoverPublicKey(w){const{r:p,s:S,recovery:O}=this,T=I(K("msgHash",w));if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");const R=O===2||O===3?p+e.n:p;if(R>=t.ORDER)throw new Error("recovery id 2 or 3 invalid");const Z=(O&1)===0?"02":"03",G=i.fromHex(Z+l(R)),F=f(R),M=c(-T*F),st=c(S*F),X=i.BASE.multiplyAndAddUnsafe(G,M,st);if(!X)throw new Error("point at infinify");return X.assertValidity(),X}hasHighS(){return m(this.s)}normalizeS(){return this.hasHighS()?new a(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return wt(this.toDERHex())}toDERHex(){return $.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return wt(this.toCompactHex())}toCompactHex(){return l(this.r)+l(this.s)}}const g={isValidPrivateKey(d){try{return u(d),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const d=ce(e.n);return Ce(e.randomBytes(d),e.n)},precompute(d=8,w=i.BASE){return w._setWindowSize(d),w.multiply(BigInt(3)),w}};function x(d,w=!0){return i.fromPrivateKey(d).toRawBytes(w)}function E(d){const w=it(d),p=typeof d=="string",S=(w||p)&&d.length;return w?S===o||S===s:p?S===2*o||S===2*s:d instanceof i}function q(d,w,p=!0){if(E(d))throw new Error("first arg must be private key");if(!E(w))throw new Error("second arg must be public key");return i.fromHex(w).multiply(u(d)).toRawBytes(p)}const L=e.bits2int||function(d){if(d.length>8192)throw new Error("input is too large");const w=rt(d),p=d.length*8-e.nBitLength;return p>0?w>>BigInt(p):w},I=e.bits2int_modN||function(d){return c(L(d))},B=Mt(e.nBitLength);function A(d){return ot("num < 2^"+e.nBitLength,d,W,B),lt(d,e.nByteLength)}function v(d,w,p=C){if(["recovered","canonical"].some(tt=>tt in p))throw new Error("sign() legacy options not supported");const{hash:S,randomBytes:O}=e;let{lowS:T,prehash:R,extraEntropy:Z}=p;T==null&&(T=!0),d=K("msgHash",d),Gt(p),R&&(d=K("prehashed msgHash",S(d)));const G=I(d),F=u(w),M=[A(F),A(G)];if(Z!=null&&Z!==!1){const tt=Z===!0?O(t.BYTES):Z;M.push(K("extraEntropy",tt))}const st=pt(...M),X=G;function Bt(tt){const ct=L(tt);if(!h(ct))return;const vt=f(ct),dt=i.BASE.multiply(ct).toAffine(),et=c(dt.x);if(et===W)return;const ht=c(vt*c(X+et*F));if(ht===W)return;let ft=(dt.x===et?0:2)|Number(dt.y&k),Vt=ht;return T&&m(ht)&&(Vt=N(ht),ft^=1),new a(et,Vt,ft)}return{seed:st,k2sig:Bt}}const C={lowS:e.lowS,prehash:!1},U={lowS:e.lowS,prehash:!1};function H(d,w,p=C){const{seed:S,k2sig:O}=v(d,w,p),T=e;return ee(T.hash.outputLen,T.nByteLength,T.hmac)(S,O)}i.BASE._setWindowSize(8);function j(d,w,p,S=U){const O=d;w=K("msgHash",w),p=K("publicKey",p);const{lowS:T,prehash:R,format:Z}=S;if(Gt(S),"strict"in S)throw new Error("options.strict was renamed to lowS");if(Z!==void 0&&Z!=="compact"&&Z!=="der")throw new Error("format must be compact or der");const G=typeof O=="string"||it(O),F=!G&&!Z&&typeof O=="object"&&O!==null&&typeof O.r=="bigint"&&typeof O.s=="bigint";if(!G&&!F)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let M,st;try{if(F&&(M=new a(O.r,O.s)),G){try{Z!=="compact"&&(M=a.fromDER(O))}catch(ft){if(!(ft instanceof $.Err))throw ft}!M&&Z!=="der"&&(M=a.fromCompact(O))}st=i.fromHex(p)}catch{return!1}if(!M||T&&M.hasHighS())return!1;R&&(w=e.hash(w));const{r:X,s:Bt}=M,tt=I(w),ct=f(Bt),vt=c(tt*ct),dt=c(X*ct),et=i.BASE.multiplyAndAddUnsafe(st,vt,dt)?.toAffine();return et?c(et.x)===X:!1}return{CURVE:e,getPublicKey:x,getSharedSecret:q,sign:H,verify:j,ProjectivePoint:i,Signature:a,utils:g}}function $e(n){return{hash:n,hmac:(e,...t)=>re(n,e,be(...t)),randomBytes:pe}}function We(n,e){const t=r=>De({...n,...$e(r)});return{...t(e),create:t}}const le=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),$t=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Xe=BigInt(1),Tt=BigInt(2),Wt=(n,e)=>(n+e/Tt)/e;function Qe(n){const e=le,t=BigInt(3),r=BigInt(6),o=BigInt(11),s=BigInt(22),c=BigInt(23),f=BigInt(44),i=BigInt(88),u=n*n*n%e,y=u*u*n%e,h=Y(y,t,e)*y%e,l=Y(h,t,e)*y%e,m=Y(l,Tt,e)*u%e,N=Y(m,o,e)*m%e,b=Y(N,s,e)*N%e,a=Y(b,f,e)*b%e,g=Y(a,i,e)*a%e,x=Y(g,f,e)*b%e,E=Y(x,t,e)*y%e,q=Y(E,c,e)*N%e,L=Y(q,r,e)*u%e,I=Y(L,Tt,e);if(!kt.eql(kt.sqr(I),n))throw new Error("Cannot find square root");return I}const kt=ie(le,void 0,void 0,{sqrt:Qe}),Je=We({a:BigInt(0),b:BigInt(7),Fp:kt,n:$t,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:n=>{const e=$t,t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-Xe*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=t,c=BigInt("0x100000000000000000000000000000000"),f=Wt(s*n,e),i=Wt(-r*n,e);let u=V(n-f*t-i*o,e),y=V(-f*r-i*s,e);const h=u>c,l=y>c;if(h&&(u=e-u),l&&(y=e-y),u>c||y>c)throw new Error("splitScalar: Endomorphism failed, k="+n);return{k1neg:h,k1:u,k2neg:l,k2:y}}}},Se);BigInt(0);Je.ProjectivePoint;export{Je as secp256k1};
@@ -1 +1 @@
1
- import{a as t}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-CCW4Vldr.js";class n{async task(a,e){return await t.post("/seedance/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,e){return await t.post("/seedance/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,e){return await t.post("/seedance/videos",a,{headers:{authorization:`Bearer ${e.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const p=new n;export{p as s};
1
+ import{a as t}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-_yFUo4Ac.js";class n{async task(a,e){return await t.post("/seedance/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,e){return await t.post("/seedance/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,e){return await t.post("/seedance/videos",a,{headers:{authorization:`Bearer ${e.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const p=new n;export{p as s};
@@ -1 +1 @@
1
- const e={"name.taskId":{message:"Task ID",description:"The ID of the task"},"name.task":{message:"Task Type",description:"SeeDream image operation type"},"name.generate":{message:"Create Image",description:"Operation type: Create Image"},"name.edits":{message:"Edit Image",description:"Operation type: Edit Image"},"name.imageUrls":{message:"Reference Images",description:"Reference images for editing"},"name.failure":{message:"Failure",description:"Task failure"},"name.failureReason":{message:"Failure Reason",description:"Reason for task failure"},"name.status":{message:"Status",description:"Task status"},"name.traceId":{message:"Trace ID",description:"Trace ID"},"name.elapsed":{message:"Elapsed Time",description:"Time taken for the task (seconds)"},"name.prompt":{message:"Image Prompt",description:"Prompt for generating/editing"},"name.seedreamBot":{message:"SeeDream Bot",description:"Name of the SeeDream image generator"},"name.size":{message:"Size",description:"Output image size"},"name.watermark":{message:"Watermark",description:"Whether to add a watermark"},"description.prompt":{message:"Prompt for generating or editing an image",description:"Description of the prompt"},"description.model":{message:"Model used for generating or editing images.",description:"Description of the model parameter"},"description.size":{message:"Image size. Supports presets `1K`, `2K`, `4K` or custom `<width>x<height>`.",description:"Description of the size parameter"},"description.watermark":{message:"Whether to add an AI watermark to the generated image. Enabled by default.",description:"Description of the watermark parameter"},"description.imageUrls":{message:"Upload 1-14 reference images to enable image editing.",description:"Description of the image parameter"},"status.pending":{message:"Pending",description:"Task waiting status"},"placeholder.select":{message:"Select",description:"Selection placeholder"},"placeholder.prompt":{message:"Enter prompt, e.g., a white Siamese cat",description:"Prompt placeholder"},"button.generate":{message:"Generate",description:"Generate button"},"button.uploadImageUrls":{message:"Upload",description:"Upload reference images button (simplified to 'Upload')"},"message.startingTask":{message:"Starting task...",description:"Message indicating task start"},"message.startTaskSuccess":{message:"Task successfully initiated",description:"Task successfully created"},"message.startTaskFailed":{message:"Failed to initiate task, please contact the administrator:",description:"Task creation failed"},"message.usedUp":{message:"Your credits are exhausted, please purchase more to continue using",description:"Exhausted credits message"},"message.uploadImageExceed":{message:"You can upload a maximum of 14 images",description:"Image count exceeds limit"},"message.uploadImageError":{message:"Failed to upload image, please try again later",description:"Upload failure"},"name.model":{message:"Model",description:"SeeDream model selection label"},"model.seedream45":{message:"doubao-seedream-4.5",description:"SeeDream 4.5 model option"},"model.seedream40":{message:"doubao-seedream-4.0",description:"SeeDream 4.0 model option"},"model.seedream30t2i":{message:"doubao-seedream-3.0-t2i",description:"SeeDream 3.0 t2i model option"},"model.seededit30i2i":{message:"doubao-seededit-3.0-i2i",description:"SeeEdit 3.0 i2i model option"}};export{e as default};
1
+ const e={"name.taskId":{message:"Task ID",description:"The ID of the task"},"name.task":{message:"Task Type",description:"SeeDream image operation type"},"name.generate":{message:"Create Image",description:"Operation type: Create Image"},"name.edits":{message:"Edit Image",description:"Operation type: Edit Image"},"name.imageUrls":{message:"Reference Images",description:"Reference images for editing"},"name.failure":{message:"Failure",description:"Task failure"},"name.failureReason":{message:"Failure Reason",description:"Reason for task failure"},"name.status":{message:"Status",description:"Task status"},"name.traceId":{message:"Trace ID",description:"Trace ID"},"name.elapsed":{message:"Elapsed Time",description:"Time taken for the task (seconds)"},"name.prompt":{message:"Image Prompt",description:"Prompt for generating/editing"},"name.seedreamBot":{message:"SeeDream Bot",description:"Name of the SeeDream image generator"},"name.size":{message:"Size",description:"Output image size"},"name.watermark":{message:"Watermark",description:"Whether to add a watermark"},"description.prompt":{message:"Prompt for generating or editing an image",description:"Description of the prompt"},"description.model":{message:"Model used for generating or editing images.",description:"Description of the model parameter"},"description.size":{message:"Image size. Supports presets `1K`, `2K`, `4K` or custom `<width>x<height>`.",description:"Description of the size parameter"},"description.watermark":{message:"Whether to add an AI watermark to the generated image. Enabled by default.",description:"Description of the watermark parameter"},"description.imageUrls":{message:"Upload 1-14 reference images to enable image editing.",description:"Description of the image parameter"},"status.pending":{message:"Pending",description:"Task waiting status"},"placeholder.select":{message:"Select",description:"Selection placeholder"},"placeholder.prompt":{message:"Enter prompt, e.g., a white Siamese cat",description:"Prompt placeholder"},"button.generate":{message:"Generate",description:"Generate button"},"button.uploadImageUrls":{message:"Upload",description:"Upload reference images button (simplified to 'Upload')"},"message.startingTask":{message:"Starting task...",description:"Message indicating task start"},"message.startTaskSuccess":{message:"Task successfully initiated",description:"Task successfully created"},"message.startTaskFailed":{message:"Failed to initiate task, please contact the administrator:",description:"Task creation failed"},"message.usedUp":{message:"Your credits are exhausted, please purchase more to continue using",description:"Exhausted credits message"},"message.uploadImageExceed":{message:"You can upload a maximum of 14 images",description:"Image count exceeds limit"},"message.uploadImageError":{message:"Failed to upload image, please try again later",description:"Upload failure"},"name.model":{message:"Model",description:"SeeDream model selection label"},"model.seedream45":{message:"doubao-seedream-4.5",description:"SeeDream 4.5 model option"},"model.seedream40":{message:"doubao-seedream-4.0",description:"SeeDream 4.0 model option"},"model.seedream30t2i":{message:"doubao-seedream-3.0-t2i",description:"SeeDream 3.0 t2i model option"},"model.seededit30i2i":{message:"doubao-seededit-3.0-i2i",description:"SeeEdit 3.0 i2i model option"},"model.seedream50":{message:"doubao-seedream-5.0",description:"SeeDream 5.0 model option (supports group generation and streaming)"},"name.maxImages":{message:"Image count",description:"Number of images for group generation (max_images)"},"description.maxImages":{message:"How many images to generate in a single request (1-15). Set to 1 for single-image mode; values >1 automatically enable group generation (sequential_image_generation=auto) which keeps character, style and details consistent across images. Supported on doubao-seedream-5.0 / 4.5 / 4.0 only. With reference images, the constraint is (reference image count + generated count) ≤ 15. Billed per actually generated image.",description:"Description of the max_images parameter"}};export{e as default};
@@ -1 +1 @@
1
- const e={"name.taskId":{message:"任务 ID",description:"任务的 ID"},"name.task":{message:"任务类型",description:"SeeDream 图片操作类型"},"name.generate":{message:"创建图片",description:"操作类型:创建图片"},"name.edits":{message:"编辑图片",description:"操作类型:编辑图片"},"name.imageUrls":{message:"参考图片",description:"用于编辑的参考图片"},"name.failure":{message:"失败",description:"任务失败"},"name.failureReason":{message:"失败原因",description:"任务失败原因"},"name.status":{message:"状态",description:"任务状态"},"name.traceId":{message:"追踪 ID",description:"追踪 ID"},"name.elapsed":{message:"耗时",description:"任务的耗时(秒)"},"name.prompt":{message:"图像提示",description:"生成/编辑的提示词"},"name.seedreamBot":{message:"SeeDream Bot",description:"SeeDream 图片生成器名称"},"name.size":{message:"尺寸",description:"输出图片尺寸"},"name.watermark":{message:"水印",description:"是否添加水印"},"description.prompt":{message:"生成或编辑图像的提示词",description:"提示词描述"},"description.model":{message:"用于生成或编辑图片的模型。",description:"model 参数说明"},"description.size":{message:"图片尺寸。支持预设 `1K`、`2K`、`4K` 或自定义 `<宽>x<高>`。",description:"size 参数说明"},"description.watermark":{message:"是否在生成的图片中添加 AI 水印。默认开启。",description:"watermark 参数说明"},"description.imageUrls":{message:"上传 1-14 张参考图片以启用图片编辑。",description:"image 参数说明"},"status.pending":{message:"等待中",description:"任务等待状态"},"placeholder.select":{message:"选择",description:"选择占位"},"placeholder.prompt":{message:"输入提示词,例如:一只白色的暹罗猫",description:"提示占位"},"button.generate":{message:"生成",description:"生成按钮"},"button.uploadImageUrls":{message:"上传图片",description:"上传参考图片按钮(英文请简化为“Upload”,不要用“Upload Images”)"},"message.startingTask":{message:"正在启动任务...",description:"开始任务消息"},"message.startTaskSuccess":{message:"成功发起生成任务",description:"任务成功创建"},"message.startTaskFailed":{message:"发起任务失败,请联系管理员:",description:"任务创建失败"},"message.usedUp":{message:"您的积分已用完,请购买更多积分后继续使用",description:"已用完提示"},"message.uploadImageExceed":{message:"最多可上传 14 张图片",description:"图片数量超过限制"},"message.uploadImageError":{message:"上传图片失败,请稍后重试",description:"上传失败"},"name.model":{message:"模型",description:"SeeDream 模型选择标签"},"model.seedream45":{message:"doubao-seedream-4.5",description:"SeeDream 4.5 模型选项"},"model.seedream40":{message:"doubao-seedream-4.0",description:"SeeDream 4.0 模型选项"},"model.seedream30t2i":{message:"doubao-seedream-3.0-t2i",description:"SeeDream 3.0 t2i 模型选项"},"model.seededit30i2i":{message:"doubao-seededit-3.0-i2i",description:"SeeEdit 3.0 i2i 模型选项"}};export{e as default};
1
+ const e={"name.taskId":{message:"任务 ID",description:"任务的 ID"},"name.task":{message:"任务类型",description:"SeeDream 图片操作类型"},"name.generate":{message:"创建图片",description:"操作类型:创建图片"},"name.edits":{message:"编辑图片",description:"操作类型:编辑图片"},"name.imageUrls":{message:"参考图片",description:"用于编辑的参考图片"},"name.failure":{message:"失败",description:"任务失败"},"name.failureReason":{message:"失败原因",description:"任务失败原因"},"name.status":{message:"状态",description:"任务状态"},"name.traceId":{message:"追踪 ID",description:"追踪 ID"},"name.elapsed":{message:"耗时",description:"任务的耗时(秒)"},"name.prompt":{message:"图像提示",description:"生成/编辑的提示词"},"name.seedreamBot":{message:"SeeDream Bot",description:"SeeDream 图片生成器名称"},"name.size":{message:"尺寸",description:"输出图片尺寸"},"name.watermark":{message:"水印",description:"是否添加水印"},"description.prompt":{message:"生成或编辑图像的提示词",description:"提示词描述"},"description.model":{message:"用于生成或编辑图片的模型。",description:"model 参数说明"},"description.size":{message:"图片尺寸。支持预设 `1K`、`2K`、`4K` 或自定义 `<宽>x<高>`。",description:"size 参数说明"},"description.watermark":{message:"是否在生成的图片中添加 AI 水印。默认开启。",description:"watermark 参数说明"},"description.imageUrls":{message:"上传 1-14 张参考图片以启用图片编辑。",description:"image 参数说明"},"status.pending":{message:"等待中",description:"任务等待状态"},"placeholder.select":{message:"选择",description:"选择占位"},"placeholder.prompt":{message:"输入提示词,例如:一只白色的暹罗猫",description:"提示占位"},"button.generate":{message:"生成",description:"生成按钮"},"button.uploadImageUrls":{message:"上传图片",description:"上传参考图片按钮(英文请简化为“Upload”,不要用“Upload Images”)"},"message.startingTask":{message:"正在启动任务...",description:"开始任务消息"},"message.startTaskSuccess":{message:"成功发起生成任务",description:"任务成功创建"},"message.startTaskFailed":{message:"发起任务失败,请联系管理员:",description:"任务创建失败"},"message.usedUp":{message:"您的积分已用完,请购买更多积分后继续使用",description:"已用完提示"},"message.uploadImageExceed":{message:"最多可上传 14 张图片",description:"图片数量超过限制"},"message.uploadImageError":{message:"上传图片失败,请稍后重试",description:"上传失败"},"name.model":{message:"模型",description:"SeeDream 模型选择标签"},"model.seedream45":{message:"doubao-seedream-4.5",description:"SeeDream 4.5 模型选项"},"model.seedream40":{message:"doubao-seedream-4.0",description:"SeeDream 4.0 模型选项"},"model.seedream30t2i":{message:"doubao-seedream-3.0-t2i",description:"SeeDream 3.0 t2i 模型选项"},"model.seededit30i2i":{message:"doubao-seededit-3.0-i2i",description:"SeeEdit 3.0 i2i 模型选项"},"model.seedream50":{message:"doubao-seedream-5.0",description:"SeeDream 5.0 模型选项(支持组图与流式输出)"},"name.maxImages":{message:"图片张数",description:"组图生成的图片张数(max_images)"},"description.maxImages":{message:"一次请求生成的图片数量(1-15)。设为 1 时为单图模式;大于 1 时自动启用组图(sequential_image_generation=auto),跨图保持角色、风格与细节一致。仅支持 doubao-seedream-5.0 / 4.5 / 4.0;如同时上传参考图,需满足 (参考图数 + 生成数) ≤ 15。计费按实际生成的图片张数。",description:"max_images 参数说明"}};export{e as default};
@@ -1 +1 @@
1
- import{a as t}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-CCW4Vldr.js";class s{async task(a,e){return await t.post("/seedream/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,e){return await t.post("/seedream/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,e){return await t.post("/seedream/images",a,{headers:{authorization:`Bearer ${e.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const r=new s;export{r as s};
1
+ import{a as t}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-_yFUo4Ac.js";class s{async task(a,e){return await t.post("/seedream/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,e){return await t.post("/seedream/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,e){return await t.post("/seedream/images",a,{headers:{authorization:`Bearer ${e.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const r=new s;export{r as s};
@@ -1,4 +1,4 @@
1
- import{w as C}from"./index-BlbIbI0w.js";import"./index.browser.esm-CN4R74nT.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-CCW4Vldr.js";import"./vendor-vue-DU0w5ewx.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-9TBHB1ku.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const g=C`<svg fill="none" viewBox="0 0 21 20">
1
+ import{w as C}from"./index-BvCDVAWw.js";import"./index.browser.esm-6nUPDoFV.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-_yFUo4Ac.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const g=C`<svg fill="none" viewBox="0 0 21 20">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1 +1 @@
1
- import{l as t}from"./index-CCW4Vldr.js";class r{key="services";async getAll(e){return await t.get(`/${this.key}/`,{params:e})}async get(e){return await t.get(`/${this.key}/${e}`)}async create(e){return await t.post(`/${this.key}/`,e)}async update(e,a){return await t.put(`/${this.key}/${e}`,a)}async delete(e){return await t.delete(`/${this.key}/${e}`)}}const n=new r;export{n as s};
1
+ import{l as t}from"./index-_yFUo4Ac.js";class r{key="services";async getAll(e){return await t.get(`/${this.key}/`,{params:e})}async get(e){return await t.get(`/${this.key}/${e}`)}async create(e){return await t.post(`/${this.key}/`,e)}async update(e,a){return await t.put(`/${this.key}/${e}`,a)}async delete(e){return await t.delete(`/${this.key}/${e}`)}}const n=new r;export{n as s};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/solana-wallets-vue-4Nf0-Zz4.js","assets/vendor-vue-DU0w5ewx.js","assets/index.browser.esm-CN4R74nT.js","assets/vendor-dayjs-Cvgzdobq.js","assets/index-CCW4Vldr.js","assets/vendor-axios-B8_nURbH.js","assets/vendor-vue-router-9TBHB1ku.js","assets/index-BGUNFF5z.css","assets/index-CVHPJfCy.js","assets/signer-Bt6hppoz.js","assets/standard-BSrJCQ5C.js","assets/index-BHU0zbZw.js","assets/types-Cvj5H4DH.js","assets/index-BlbIbI0w.js","assets/styles-Bce9hoao.css"])))=>i.map(i=>d[i]);
2
- import{_ as a}from"./index-CCW4Vldr.js";import"./vendor-vue-DU0w5ewx.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-9TBHB1ku.js";async function w(o){const[{default:l},{WalletAdapterNetwork:e},t]=await Promise.all([a(()=>import("./solana-wallets-vue-4Nf0-Zz4.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),a(()=>import("./index-BHU0zbZw.js"),__vite__mapDeps([11,9,8,3,10,12])),a(()=>import("./index-BlbIbI0w.js").then(i=>i.aj),__vite__mapDeps([13,2,3,4,1,5,6,7,8,9,12]))]);await a(()=>Promise.resolve({}),__vite__mapDeps([14]));const n="8442ba82a50e5d4a993fc9d82ba15c59",r={wallets:[new t.PhantomWalletAdapter,new t.SolflareWalletAdapter({network:e.Mainnet}),new t.NightlyWalletAdapter,new t.WalletConnectWalletAdapter({network:e.Mainnet,options:{projectId:n,metadata:{name:"AceData",description:"AceData WalletConnect",url:window.location.origin,icons:["https://cdn.acedata.cloud/acedata.jpg"]}}})]};o.use(l,r)}export{w as installSolanaWallets};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/solana-wallets-vue-Da2h0GXE.js","assets/vendor-vue-NSDaktjZ.js","assets/index.browser.esm-6nUPDoFV.js","assets/vendor-dayjs-Cvgzdobq.js","assets/index-_yFUo4Ac.js","assets/vendor-axios-B8_nURbH.js","assets/vendor-vue-router-Kg6s1a65.js","assets/index-BGUNFF5z.css","assets/index-CVHPJfCy.js","assets/signer-Bt6hppoz.js","assets/standard-BSrJCQ5C.js","assets/index-BHU0zbZw.js","assets/types-Cvj5H4DH.js","assets/index-BvCDVAWw.js","assets/styles-Bce9hoao.css"])))=>i.map(i=>d[i]);
2
+ import{_ as a}from"./index-_yFUo4Ac.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Kg6s1a65.js";async function w(o){const[{default:l},{WalletAdapterNetwork:e},t]=await Promise.all([a(()=>import("./solana-wallets-vue-Da2h0GXE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),a(()=>import("./index-BHU0zbZw.js"),__vite__mapDeps([11,9,8,3,10,12])),a(()=>import("./index-BvCDVAWw.js").then(i=>i.aj),__vite__mapDeps([13,2,3,4,1,5,6,7,8,9,12]))]);await a(()=>Promise.resolve({}),__vite__mapDeps([14]));const n="8442ba82a50e5d4a993fc9d82ba15c59",r={wallets:[new t.PhantomWalletAdapter,new t.SolflareWalletAdapter({network:e.Mainnet}),new t.NightlyWalletAdapter,new t.WalletConnectWalletAdapter({network:e.Mainnet,options:{projectId:n,metadata:{name:"AceData",description:"AceData WalletConnect",url:window.location.origin,icons:["https://cdn.acedata.cloud/acedata.jpg"]}}})]};o.use(l,r)}export{w as installSolanaWallets};
@@ -1,4 +1,4 @@
1
- import{o as jr,n as On,Y as kn,w as Be,j as _i,Z as Si,b as re,k as Vr,_ as Ci,$ as Ii,a as fe,a0 as ie,c as j,u as Bi,t as Ti,a1 as Pe,q as ne,H as pe,J as Ie,d as ht,a2 as pt,D as Ve,z as le,E as V,x as ft,F as He,a3 as ce,a4 as de,Q as it,M as Ri,O as qn,N as Mi,C as $r,I as Hr,a5 as Ni,y as kt,R as Ui}from"./vendor-vue-DU0w5ewx.js";import{P as Gr,V as Sn,T as Cn,a as Li,S as Pi}from"./index.browser.esm-CN4R74nT.js";import{h as Mt,n as x,l as $e,c as Oi,f as Yr,g as ki,k as be,W as Ke,d as ot,o as In,w as st,e as at,m as xr,r as Bn,q as Jr,p as Kn,a as Wi}from"./signer-Bt6hppoz.js";import{i as Di}from"./standard-BSrJCQ5C.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-CCW4Vldr.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-9TBHB1ku.js";import"./index-CVHPJfCy.js";function Wn(e){return Ci()?(Ii(e),!0):!1}const Nt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zi=Object.prototype.toString,Fi=e=>zi.call(e)==="[object Object]",Te=()=>{},Tn=qi();function qi(){var e,t;return Nt&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ki(e,t){function i(...r){return new Promise((a,l)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(l)})}return i}const Qr=e=>e();function ji(e=Qr,t={}){const{initialState:i="active"}=t,r=Zr(i==="active");function a(){r.value=!1}function l(){r.value=!0}const c=(...s)=>{r.value&&e(...s)};return{isActive:kn(r),pause:a,resume:l,eventFilter:c}}function Vi(e){let t;function i(){return t||(t=e()),t}return i.reset=async()=>{const r=t;t=void 0,r&&await r},i}function $i(e){return Vr()}function Wt(e){return Array.isArray(e)?e:[e]}function Zr(...e){if(e.length!==1)return _i(...e);const t=e[0];return typeof t=="function"?kn(Si(()=>({get:t,set:Te}))):re(t)}function Hi(e,t,i={}){const{eventFilter:r=Qr,...a}=i;return Be(e,Ki(r,t),a)}function Gi(e,t,i={}){const{eventFilter:r,initialState:a="active",...l}=i,{eventFilter:c,pause:s,resume:d,isActive:h}=ji(r,{initialState:a});return{stop:Hi(e,t,{...l,eventFilter:c}),pause:s,resume:d,isActive:h}}function Yi(e,t=!0,i){$i()?jr(e,i):t?e():On(e)}function xi(e,t,i={}){const{immediate:r=!0,immediateCallback:a=!1}=i,l=fe(!1);let c=null;function s(){c&&(clearTimeout(c),c=null)}function d(){l.value=!1,s()}function h(...g){a&&e(),s(),l.value=!0,c=setTimeout(()=>{l.value=!1,c=null,e(...g)},ie(t))}return r&&(l.value=!0,Nt&&h()),Wn(d),{isPending:kn(l),start:h,stop:d}}function Ji(e,t,i){return Be(e,t,{...i,immediate:!0})}const Ge=Nt?window:void 0,Xr=Nt?window.navigator:void 0;function lt(e){var t;const i=ie(e);return(t=i?.$el)!=null?t:i}function ge(...e){const t=[],i=()=>{t.forEach(s=>s()),t.length=0},r=(s,d,h,g)=>(s.addEventListener(d,h,g),()=>s.removeEventListener(d,h,g)),a=j(()=>{const s=Wt(ie(e[0])).filter(d=>d!=null);return s.every(d=>typeof d!="string")?s:void 0}),l=Ji(()=>{var s,d;return[(d=(s=a.value)==null?void 0:s.map(h=>lt(h)))!=null?d:[Ge].filter(h=>h!=null),Wt(ie(a.value?e[1]:e[0])),Wt(Bi(a.value?e[2]:e[1])),ie(a.value?e[3]:e[2])]},([s,d,h,g])=>{if(i(),!s?.length||!d?.length||!h?.length)return;const m=Fi(g)?{...g}:g;t.push(...s.flatMap(_=>d.flatMap(y=>h.map(A=>r(_,y,A,m)))))},{flush:"post"}),c=()=>{l(),i()};return Wn(i),c}let jn=!1;function ei(e,t,i={}){const{window:r=Ge,ignore:a=[],capture:l=!0,detectIframe:c=!1,controls:s=!1}=i;if(!r)return s?{stop:Te,cancel:Te,trigger:Te}:Te;if(Tn&&!jn){jn=!0;const C={passive:!0};Array.from(r.document.body.children).forEach(E=>ge(E,"click",Te,C)),ge(r.document.documentElement,"click",Te,C)}let d=!0;const h=C=>ie(a).some(E=>{if(typeof E=="string")return Array.from(r.document.querySelectorAll(E)).some(v=>v===C.target||C.composedPath().includes(v));{const v=lt(E);return v&&(C.target===v||C.composedPath().includes(v))}});function g(C){const E=ie(C);return E&&E.$.subTree.shapeFlag===16}function m(C,E){const v=ie(C),S=v.$.subTree&&v.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(T=>T.el===E.target||E.composedPath().includes(T.el))}const _=C=>{const E=lt(e);if(C.target!=null&&!(!(E instanceof Element)&&g(e)&&m(e,C))&&!(!E||E===C.target||C.composedPath().includes(E))){if("detail"in C&&C.detail===0&&(d=!h(C)),!d){d=!0;return}t(C)}};let y=!1;const A=[ge(r,"click",C=>{y||(y=!0,setTimeout(()=>{y=!1},0),_(C))},{passive:!0,capture:l}),ge(r,"pointerdown",C=>{const E=lt(e);d=!h(C)&&!!(E&&!C.composedPath().includes(E))},{passive:!0}),c&&ge(r,"blur",C=>{setTimeout(()=>{var E;const v=lt(e);((E=r.document.activeElement)==null?void 0:E.tagName)==="IFRAME"&&!v?.contains(r.document.activeElement)&&t(C)},0)},{passive:!0})].filter(Boolean),b=()=>A.forEach(C=>C());return s?{stop:b,cancel:()=>{d=!1},trigger:C=>{d=!0,_(C),d=!1}}:b}function Qi(){const e=fe(!1),t=Vr();return t&&jr(()=>{e.value=!0},t),e}function ti(e){const t=Qi();return j(()=>(t.value,!!e()))}function Zi(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Vn(...e){let t,i,r={};e.length===3?(t=e[0],i=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,i=e[0],r=e[1]):(t=e[0],i=e[1]):(t=!0,i=e[0]);const{target:a=Ge,eventName:l="keydown",passive:c=!1,dedupe:s=!1}=r,d=Zi(t);return ge(a,l,g=>{g.repeat&&ie(s)||d(g)&&i(g)},c)}function $n(e,t={}){const{controls:i=!1,navigator:r=Xr}=t,a=ti(()=>r&&"permissions"in r),l=fe(),c=typeof e=="string"?{name:e}:e,s=fe(),d=()=>{var g,m;s.value=(m=(g=l.value)==null?void 0:g.state)!=null?m:"prompt"};ge(l,"change",d,{passive:!0});const h=Vi(async()=>{if(a.value){if(!l.value)try{l.value=await r.permissions.query(c)}catch{l.value=void 0}finally{d()}if(i)return Ti(l.value)}});return h(),i?{state:s,isSupported:a,query:h}:s}function Xi(e={}){const{navigator:t=Xr,read:i=!1,source:r,copiedDuring:a=1500,legacy:l=!1}=e,c=ti(()=>t&&"clipboard"in t),s=$n("clipboard-read"),d=$n("clipboard-write"),h=j(()=>c.value||l),g=fe(""),m=fe(!1),_=xi(()=>m.value=!1,a,{immediate:!1});async function y(){let v=!(c.value&&E(s.value));if(!v)try{g.value=await t.clipboard.readText()}catch{v=!0}v&&(g.value=C())}h.value&&i&&ge(["copy","cut"],y,{passive:!0});async function A(v=ie(r)){if(h.value&&v!=null){let S=!(c.value&&E(d.value));if(!S)try{await t.clipboard.writeText(v)}catch{S=!0}S&&b(v),g.value=v,m.value=!0,_.start()}}function b(v){const S=document.createElement("textarea");S.value=v??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function C(){var v,S,T;return(T=(S=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:S.toString())!=null?T:""}function E(v){return v==="granted"||v==="prompt"}return{isSupported:h,text:g,copied:m,copy:A}}const mt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vt="__vueuse_ssr_handlers__",eo=to();function to(){return vt in mt||(mt[vt]=mt[vt]||{}),mt[vt]}function no(e,t){return eo[e]||t}function ro(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const io={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Hn="vueuse-storage";function oo(e,t,i,r={}){var a;const{flush:l="pre",deep:c=!0,listenToStorageChanges:s=!0,writeDefaults:d=!0,mergeDefaults:h=!1,shallow:g,window:m=Ge,eventFilter:_,onError:y=L=>{console.error(L)},initOnMounted:A}=r,b=(g?fe:re)(typeof t=="function"?t():t),C=j(()=>ie(e));if(!i)try{i=no("getDefaultStorage",()=>{var L;return(L=Ge)==null?void 0:L.localStorage})()}catch(L){y(L)}if(!i)return b;const E=ie(t),v=ro(E),S=(a=r.serializer)!=null?a:io[v],{pause:T,resume:U}=Gi(b,()=>R(b.value),{flush:l,deep:c,eventFilter:_});Be(C,()=>M(),{flush:l}),m&&s&&Yi(()=>{i instanceof Storage?ge(m,"storage",M,{passive:!0}):ge(m,Hn,k),A&&M()}),A||M();function B(L,P){if(m){const O={key:C.value,oldValue:L,newValue:P,storageArea:i};m.dispatchEvent(i instanceof Storage?new StorageEvent("storage",O):new CustomEvent(Hn,{detail:O}))}}function R(L){try{const P=i.getItem(C.value);if(L==null)B(P,null),i.removeItem(C.value);else{const O=S.write(L);P!==O&&(i.setItem(C.value,O),B(P,O))}}catch(P){y(P)}}function N(L){const P=L?L.newValue:i.getItem(C.value);if(P==null)return d&&E!=null&&i.setItem(C.value,S.write(E)),E;if(!L&&h){const O=S.read(P);return typeof h=="function"?h(O,E):v==="object"&&!Array.isArray(O)?{...E,...O}:O}else return typeof P!="string"?P:S.read(P)}function M(L){if(!(L&&L.storageArea!==i)){if(L&&L.key==null){b.value=E;return}if(!(L&&L.key!==C.value)){T();try{L?.newValue!==S.write(b.value)&&(b.value=N(L))}catch(P){y(P)}finally{L?On(U):U()}}}}function k(L){M(L.detail)}return b}function Dt(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function so(e,t,i={}){const{window:r=Ge}=i;return oo(e,t,r?.localStorage,i)}function ni(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const i=e.parentNode;return!i||i.tagName==="BODY"?!1:ni(i)}}function ao(e){const t=e||window.event,i=t.target;return ni(i)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const zt=new WeakMap;function lo(e,t=!1){const i=fe(t);let r=null,a="";Be(Zr(e),s=>{const d=Dt(ie(s));if(d){const h=d;if(zt.get(h)||zt.set(h,h.style.overflow),h.style.overflow!=="hidden"&&(a=h.style.overflow),h.style.overflow==="hidden")return i.value=!0;if(i.value)return h.style.overflow="hidden"}},{immediate:!0});const l=()=>{const s=Dt(ie(e));!s||i.value||(Tn&&(r=ge(s,"touchmove",d=>{ao(d)},{passive:!1})),s.style.overflow="hidden",i.value=!0)},c=()=>{const s=Dt(ie(e));!s||!i.value||(Tn&&r?.(),s.style.overflow=a,zt.delete(s),i.value=!1)};return Wn(c),j({get(){return i.value},set(s){s?l():c()}})}var uo=Object.defineProperty,co=(e,t,i)=>t in e?uo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ri=(e,t,i)=>co(e,t+"",i);class ii extends Mt{constructor(){super(...arguments),ri(this,"name","WalletNotSelectedError")}}class fo extends Mt{constructor(){super(...arguments),ri(this,"name","WalletNotSelectedError")}}function Ft(e){switch(e){case"processed":case"confirmed":case"finalized":case void 0:return e;case"recent":return"processed";case"single":case"singleGossip":return"confirmed";case"max":case"root":return"finalized";default:return}}const Gn="solana:mainnet",ho="solana:devnet",po="solana:testnet",go="solana:localnet",wo="https://api.mainnet-beta.solana.com";function yo(e){return e.includes(wo)?Gn:/\bdevnet\b/i.test(e)?ho:/\btestnet\b/i.test(e)?po:/\blocalhost\b/i.test(e)||/\b127\.0\.0\.1\b/.test(e)?go:Gn}function mo(e){let t=`${e.domain} wants you to sign in with your Solana account:
1
+ import{o as jr,n as On,_ as kn,w as Be,j as _i,$ as Si,b as re,k as Vr,a0 as Ci,a1 as Ii,a as fe,a2 as ie,c as j,u as Bi,t as Ti,a3 as Pe,q as ne,H as pe,J as Ie,d as ht,a4 as pt,D as Ve,z as le,E as V,x as ft,F as He,a5 as ce,a6 as de,Q as it,M as Ri,O as qn,N as Mi,C as $r,I as Hr,a7 as Ni,y as kt,R as Ui}from"./vendor-vue-NSDaktjZ.js";import{P as Gr,V as Sn,T as Cn,a as Li,S as Pi}from"./index.browser.esm-6nUPDoFV.js";import{h as Mt,n as x,l as $e,c as Oi,f as Yr,g as ki,k as be,W as Ke,d as ot,o as In,w as st,e as at,m as xr,r as Bn,q as Jr,p as Kn,a as Wi}from"./signer-Bt6hppoz.js";import{i as Di}from"./standard-BSrJCQ5C.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-_yFUo4Ac.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-CVHPJfCy.js";function Wn(e){return Ci()?(Ii(e),!0):!1}const Nt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zi=Object.prototype.toString,Fi=e=>zi.call(e)==="[object Object]",Te=()=>{},Tn=qi();function qi(){var e,t;return Nt&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ki(e,t){function i(...r){return new Promise((a,l)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(l)})}return i}const Qr=e=>e();function ji(e=Qr,t={}){const{initialState:i="active"}=t,r=Zr(i==="active");function a(){r.value=!1}function l(){r.value=!0}const c=(...s)=>{r.value&&e(...s)};return{isActive:kn(r),pause:a,resume:l,eventFilter:c}}function Vi(e){let t;function i(){return t||(t=e()),t}return i.reset=async()=>{const r=t;t=void 0,r&&await r},i}function $i(e){return Vr()}function Wt(e){return Array.isArray(e)?e:[e]}function Zr(...e){if(e.length!==1)return _i(...e);const t=e[0];return typeof t=="function"?kn(Si(()=>({get:t,set:Te}))):re(t)}function Hi(e,t,i={}){const{eventFilter:r=Qr,...a}=i;return Be(e,Ki(r,t),a)}function Gi(e,t,i={}){const{eventFilter:r,initialState:a="active",...l}=i,{eventFilter:c,pause:s,resume:d,isActive:h}=ji(r,{initialState:a});return{stop:Hi(e,t,{...l,eventFilter:c}),pause:s,resume:d,isActive:h}}function Yi(e,t=!0,i){$i()?jr(e,i):t?e():On(e)}function xi(e,t,i={}){const{immediate:r=!0,immediateCallback:a=!1}=i,l=fe(!1);let c=null;function s(){c&&(clearTimeout(c),c=null)}function d(){l.value=!1,s()}function h(...g){a&&e(),s(),l.value=!0,c=setTimeout(()=>{l.value=!1,c=null,e(...g)},ie(t))}return r&&(l.value=!0,Nt&&h()),Wn(d),{isPending:kn(l),start:h,stop:d}}function Ji(e,t,i){return Be(e,t,{...i,immediate:!0})}const Ge=Nt?window:void 0,Xr=Nt?window.navigator:void 0;function lt(e){var t;const i=ie(e);return(t=i?.$el)!=null?t:i}function ge(...e){const t=[],i=()=>{t.forEach(s=>s()),t.length=0},r=(s,d,h,g)=>(s.addEventListener(d,h,g),()=>s.removeEventListener(d,h,g)),a=j(()=>{const s=Wt(ie(e[0])).filter(d=>d!=null);return s.every(d=>typeof d!="string")?s:void 0}),l=Ji(()=>{var s,d;return[(d=(s=a.value)==null?void 0:s.map(h=>lt(h)))!=null?d:[Ge].filter(h=>h!=null),Wt(ie(a.value?e[1]:e[0])),Wt(Bi(a.value?e[2]:e[1])),ie(a.value?e[3]:e[2])]},([s,d,h,g])=>{if(i(),!s?.length||!d?.length||!h?.length)return;const m=Fi(g)?{...g}:g;t.push(...s.flatMap(_=>d.flatMap(y=>h.map(A=>r(_,y,A,m)))))},{flush:"post"}),c=()=>{l(),i()};return Wn(i),c}let jn=!1;function ei(e,t,i={}){const{window:r=Ge,ignore:a=[],capture:l=!0,detectIframe:c=!1,controls:s=!1}=i;if(!r)return s?{stop:Te,cancel:Te,trigger:Te}:Te;if(Tn&&!jn){jn=!0;const C={passive:!0};Array.from(r.document.body.children).forEach(E=>ge(E,"click",Te,C)),ge(r.document.documentElement,"click",Te,C)}let d=!0;const h=C=>ie(a).some(E=>{if(typeof E=="string")return Array.from(r.document.querySelectorAll(E)).some(v=>v===C.target||C.composedPath().includes(v));{const v=lt(E);return v&&(C.target===v||C.composedPath().includes(v))}});function g(C){const E=ie(C);return E&&E.$.subTree.shapeFlag===16}function m(C,E){const v=ie(C),S=v.$.subTree&&v.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(T=>T.el===E.target||E.composedPath().includes(T.el))}const _=C=>{const E=lt(e);if(C.target!=null&&!(!(E instanceof Element)&&g(e)&&m(e,C))&&!(!E||E===C.target||C.composedPath().includes(E))){if("detail"in C&&C.detail===0&&(d=!h(C)),!d){d=!0;return}t(C)}};let y=!1;const A=[ge(r,"click",C=>{y||(y=!0,setTimeout(()=>{y=!1},0),_(C))},{passive:!0,capture:l}),ge(r,"pointerdown",C=>{const E=lt(e);d=!h(C)&&!!(E&&!C.composedPath().includes(E))},{passive:!0}),c&&ge(r,"blur",C=>{setTimeout(()=>{var E;const v=lt(e);((E=r.document.activeElement)==null?void 0:E.tagName)==="IFRAME"&&!v?.contains(r.document.activeElement)&&t(C)},0)},{passive:!0})].filter(Boolean),b=()=>A.forEach(C=>C());return s?{stop:b,cancel:()=>{d=!1},trigger:C=>{d=!0,_(C),d=!1}}:b}function Qi(){const e=fe(!1),t=Vr();return t&&jr(()=>{e.value=!0},t),e}function ti(e){const t=Qi();return j(()=>(t.value,!!e()))}function Zi(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Vn(...e){let t,i,r={};e.length===3?(t=e[0],i=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,i=e[0],r=e[1]):(t=e[0],i=e[1]):(t=!0,i=e[0]);const{target:a=Ge,eventName:l="keydown",passive:c=!1,dedupe:s=!1}=r,d=Zi(t);return ge(a,l,g=>{g.repeat&&ie(s)||d(g)&&i(g)},c)}function $n(e,t={}){const{controls:i=!1,navigator:r=Xr}=t,a=ti(()=>r&&"permissions"in r),l=fe(),c=typeof e=="string"?{name:e}:e,s=fe(),d=()=>{var g,m;s.value=(m=(g=l.value)==null?void 0:g.state)!=null?m:"prompt"};ge(l,"change",d,{passive:!0});const h=Vi(async()=>{if(a.value){if(!l.value)try{l.value=await r.permissions.query(c)}catch{l.value=void 0}finally{d()}if(i)return Ti(l.value)}});return h(),i?{state:s,isSupported:a,query:h}:s}function Xi(e={}){const{navigator:t=Xr,read:i=!1,source:r,copiedDuring:a=1500,legacy:l=!1}=e,c=ti(()=>t&&"clipboard"in t),s=$n("clipboard-read"),d=$n("clipboard-write"),h=j(()=>c.value||l),g=fe(""),m=fe(!1),_=xi(()=>m.value=!1,a,{immediate:!1});async function y(){let v=!(c.value&&E(s.value));if(!v)try{g.value=await t.clipboard.readText()}catch{v=!0}v&&(g.value=C())}h.value&&i&&ge(["copy","cut"],y,{passive:!0});async function A(v=ie(r)){if(h.value&&v!=null){let S=!(c.value&&E(d.value));if(!S)try{await t.clipboard.writeText(v)}catch{S=!0}S&&b(v),g.value=v,m.value=!0,_.start()}}function b(v){const S=document.createElement("textarea");S.value=v??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function C(){var v,S,T;return(T=(S=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:S.toString())!=null?T:""}function E(v){return v==="granted"||v==="prompt"}return{isSupported:h,text:g,copied:m,copy:A}}const mt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vt="__vueuse_ssr_handlers__",eo=to();function to(){return vt in mt||(mt[vt]=mt[vt]||{}),mt[vt]}function no(e,t){return eo[e]||t}function ro(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const io={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Hn="vueuse-storage";function oo(e,t,i,r={}){var a;const{flush:l="pre",deep:c=!0,listenToStorageChanges:s=!0,writeDefaults:d=!0,mergeDefaults:h=!1,shallow:g,window:m=Ge,eventFilter:_,onError:y=L=>{console.error(L)},initOnMounted:A}=r,b=(g?fe:re)(typeof t=="function"?t():t),C=j(()=>ie(e));if(!i)try{i=no("getDefaultStorage",()=>{var L;return(L=Ge)==null?void 0:L.localStorage})()}catch(L){y(L)}if(!i)return b;const E=ie(t),v=ro(E),S=(a=r.serializer)!=null?a:io[v],{pause:T,resume:U}=Gi(b,()=>R(b.value),{flush:l,deep:c,eventFilter:_});Be(C,()=>M(),{flush:l}),m&&s&&Yi(()=>{i instanceof Storage?ge(m,"storage",M,{passive:!0}):ge(m,Hn,k),A&&M()}),A||M();function B(L,P){if(m){const O={key:C.value,oldValue:L,newValue:P,storageArea:i};m.dispatchEvent(i instanceof Storage?new StorageEvent("storage",O):new CustomEvent(Hn,{detail:O}))}}function R(L){try{const P=i.getItem(C.value);if(L==null)B(P,null),i.removeItem(C.value);else{const O=S.write(L);P!==O&&(i.setItem(C.value,O),B(P,O))}}catch(P){y(P)}}function N(L){const P=L?L.newValue:i.getItem(C.value);if(P==null)return d&&E!=null&&i.setItem(C.value,S.write(E)),E;if(!L&&h){const O=S.read(P);return typeof h=="function"?h(O,E):v==="object"&&!Array.isArray(O)?{...E,...O}:O}else return typeof P!="string"?P:S.read(P)}function M(L){if(!(L&&L.storageArea!==i)){if(L&&L.key==null){b.value=E;return}if(!(L&&L.key!==C.value)){T();try{L?.newValue!==S.write(b.value)&&(b.value=N(L))}catch(P){y(P)}finally{L?On(U):U()}}}}function k(L){M(L.detail)}return b}function Dt(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function so(e,t,i={}){const{window:r=Ge}=i;return oo(e,t,r?.localStorage,i)}function ni(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const i=e.parentNode;return!i||i.tagName==="BODY"?!1:ni(i)}}function ao(e){const t=e||window.event,i=t.target;return ni(i)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const zt=new WeakMap;function lo(e,t=!1){const i=fe(t);let r=null,a="";Be(Zr(e),s=>{const d=Dt(ie(s));if(d){const h=d;if(zt.get(h)||zt.set(h,h.style.overflow),h.style.overflow!=="hidden"&&(a=h.style.overflow),h.style.overflow==="hidden")return i.value=!0;if(i.value)return h.style.overflow="hidden"}},{immediate:!0});const l=()=>{const s=Dt(ie(e));!s||i.value||(Tn&&(r=ge(s,"touchmove",d=>{ao(d)},{passive:!1})),s.style.overflow="hidden",i.value=!0)},c=()=>{const s=Dt(ie(e));!s||!i.value||(Tn&&r?.(),s.style.overflow=a,zt.delete(s),i.value=!1)};return Wn(c),j({get(){return i.value},set(s){s?l():c()}})}var uo=Object.defineProperty,co=(e,t,i)=>t in e?uo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ri=(e,t,i)=>co(e,t+"",i);class ii extends Mt{constructor(){super(...arguments),ri(this,"name","WalletNotSelectedError")}}class fo extends Mt{constructor(){super(...arguments),ri(this,"name","WalletNotSelectedError")}}function Ft(e){switch(e){case"processed":case"confirmed":case"finalized":case void 0:return e;case"recent":return"processed";case"single":case"singleGossip":return"confirmed";case"max":case"root":return"finalized";default:return}}const Gn="solana:mainnet",ho="solana:devnet",po="solana:testnet",go="solana:localnet",wo="https://api.mainnet-beta.solana.com";function yo(e){return e.includes(wo)?Gn:/\bdevnet\b/i.test(e)?ho:/\btestnet\b/i.test(e)?po:/\blocalhost\b/i.test(e)||/\b127\.0\.0\.1\b/.test(e)?go:Gn}function mo(e){let t=`${e.domain} wants you to sign in with your Solana account:
2
2
  `;t+=`${e.address}`,e.statement&&(t+=`
3
3
 
4
4
  ${e.statement}`);const i=[];if(e.uri&&i.push(`URI: ${e.uri}`),e.version&&i.push(`Version: ${e.version}`),e.chainId&&i.push(`Chain ID: ${e.chainId}`),e.nonce&&i.push(`Nonce: ${e.nonce}`),e.issuedAt&&i.push(`Issued At: ${e.issuedAt}`),e.expirationTime&&i.push(`Expiration Time: ${e.expirationTime}`),e.notBefore&&i.push(`Not Before: ${e.notBefore}`),e.requestId&&i.push(`Request ID: ${e.requestId}`),e.resources){i.push("Resources:");for(const r of e.resources)i.push(`- ${r}`)}return i.length&&(t+=`