@wormhole-foundation/wormhole-connect 4.0.0-beta.0-development → 4.0.0-beta.1-development

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 (205) hide show
  1. package/dist/assets/{aptos-CIKjhZ5R.js → aptos-CaGPw7HM.js} +2 -2
  2. package/dist/assets/create-54a95t1x.js +1 -0
  3. package/dist/assets/{evm-Ky_mCHhS.js → evm-Bv0RsFka.js} +2 -2
  4. package/dist/assets/{index-DW7sWcdW.js → index-B5JfIVKE.js} +1 -1
  5. package/dist/assets/{index-DHLr3HmO.js → index-BCD-VOiF.js} +1 -1
  6. package/dist/assets/index-BwhO0jGm.js +1 -0
  7. package/dist/assets/{index-DpM61P6H.js → index-CMULoTsT.js} +1 -1
  8. package/dist/assets/{index-DZpeOp3V.js → index-CO4HXUmy.js} +1 -1
  9. package/dist/assets/{index-Bg3NWSHL.js → index-COw2RtBx.js} +1 -1
  10. package/dist/assets/{index-DRk-Cj0P.js → index-ClrVAZUa.js} +1 -1
  11. package/dist/assets/{index-D7RgFG0F.js → index-CzQeh-hT.js} +1 -1
  12. package/dist/assets/{index-Csghphw2.js → index-DC4mZtDw.js} +1 -1
  13. package/dist/assets/{index-Cqs_fFht.js → index-DI-xN_q3.js} +1 -1
  14. package/dist/assets/{index-DVbfoP0w.js → index-DRsHBjoG.js} +1 -1
  15. package/dist/assets/{index-CdAFGcxx.js → index-DXcQbQ8r.js} +1 -1
  16. package/dist/assets/{index-DJ52h-dV.js → index-DxHhcWFS.js} +1 -1
  17. package/dist/assets/{index-g9iLhWvp.js → index-GKTf0CV7.js} +1 -1
  18. package/dist/assets/{index-DuR9wYhp.js → index-aoYIFErC.js} +1 -1
  19. package/dist/assets/{index-DfNgilHG.js → index-jixjwN_L.js} +1 -1
  20. package/dist/assets/{solana-jYIeIu4B.js → solana-DpD0VkQS.js} +2 -2
  21. package/dist/assets/{sui-B96bqBVv.js → sui-7K04yY2U.js} +2 -2
  22. package/dist/main.js +75 -75
  23. package/dist/src/components/TokenBalance.d.ts.map +1 -1
  24. package/dist/src/config/mainnet/tokens.d.ts.map +1 -1
  25. package/dist/src/config/testnet/tokens.d.ts.map +1 -1
  26. package/dist/src/contexts/wallet/WalletProvider.d.ts.map +1 -1
  27. package/dist/src/hooks/useFetchSupportedRoutes.d.ts.map +1 -1
  28. package/dist/src/hooks/useTokenListWithSearch.d.ts +1 -4
  29. package/dist/src/hooks/useTokenListWithSearch.d.ts.map +1 -1
  30. package/dist/src/routes/operator.d.ts.map +1 -1
  31. package/dist/src/routes/sdkv2/route.d.ts +2 -2
  32. package/dist/src/routes/sdkv2/route.d.ts.map +1 -1
  33. package/dist/src/telemetry/types.d.ts +1 -0
  34. package/dist/src/telemetry/types.d.ts.map +1 -1
  35. package/dist/src/utils/sdkv2.d.ts.map +1 -1
  36. package/dist/src/utils/wrappedNativeTokens.d.ts +12 -0
  37. package/dist/src/utils/wrappedNativeTokens.d.ts.map +1 -0
  38. package/dist/src/views/Terms.d.ts.map +1 -1
  39. package/dist/src/views/v2/Bridge/AssetPicker/TokenList.d.ts.map +1 -1
  40. package/dist/src/views/v3/Bridge/AssetPicker/SearchableList/index.d.ts.map +1 -1
  41. package/dist/src/views/v3/Bridge/AssetPicker/TokenList.d.ts.map +1 -1
  42. package/dist/src/views/v3/Bridge/AssetPicker/TokenSectionHeader.d.ts +2 -4
  43. package/dist/src/views/v3/Bridge/AssetPicker/TokenSectionHeader.d.ts.map +1 -1
  44. package/lib/{account-D0Q4K1CI.js → account-24z6tDMM.js} +1 -1
  45. package/lib/{account-BdDruAAr.mjs → account-BcnWVXmg.mjs} +1 -1
  46. package/lib/{address-fSXS9iww.mjs → address-BX2fIOro.mjs} +1 -1
  47. package/lib/{address-BO6rj6uK.js → address-Bc-5yO4D.js} +1 -1
  48. package/lib/{aptos-B1VSCmD9.mjs → aptos-5b4F4UXd.mjs} +4 -4
  49. package/lib/{aptos-DG7QN21P.js → aptos-B_Yz-0gh.js} +1 -1
  50. package/lib/{aptos-BnKScTtI.mjs → aptos-DO_Sexq-.mjs} +7 -7
  51. package/lib/{aptos-B3C7cnvM.js → aptos-DffuIzI0.js} +2 -2
  52. package/lib/{basic-BRYkcAmD.mjs → basic-BclwqsOq.mjs} +4 -4
  53. package/lib/{basic-CN2jAqvS.js → basic-BdiYk8Hf.js} +1 -1
  54. package/lib/{basic-DufHOLGA.js → basic-CuO6iz8a.js} +1 -1
  55. package/lib/{basic-Cw13RoYq.mjs → basic-HasHL_DG.mjs} +4 -4
  56. package/lib/{blake2b-CT6EW399.mjs → blake2b-CVpPk5O9.mjs} +1 -1
  57. package/lib/{blake2b-B_Q_lTGN.js → blake2b-DXExLbRg.js} +1 -1
  58. package/lib/{browser-ponyfill-CnfcLhK-.mjs → browser-ponyfill-DeOApqpH.mjs} +1 -1
  59. package/lib/{browser-ponyfill-DbGoEOBo.js → browser-ponyfill-VhIu9z_I.js} +1 -1
  60. package/lib/{chain-BCKkYvDb.js → chain-BxNUWKZE.js} +1 -1
  61. package/lib/{chain-_dXKRkCE.mjs → chain-CvZsIsLh.mjs} +1 -1
  62. package/lib/{chunk-KJH4KKG6-RA0hChr8.mjs → chunk-KJH4KKG6-BgebMATq.mjs} +2 -2
  63. package/lib/{chunk-KJH4KKG6-BXBLZwfY.js → chunk-KJH4KKG6-DNlN4p21.js} +1 -1
  64. package/lib/{constants-QsbOfMbk.mjs → constants-DnbaS3cF.mjs} +3 -3
  65. package/lib/constants-abC7FLXq.js +1 -0
  66. package/lib/{contract-MkLF5rqi.js → contract-CTycrpaK.js} +1 -1
  67. package/lib/{contract-C_4H8x77.mjs → contract-KYuIk_vR.mjs} +1 -1
  68. package/lib/{core-Cpb3gtg_.js → core-COM78LTW.js} +3 -3
  69. package/lib/{core-ntLR7o2S.mjs → core-DT_3gIqi.mjs} +6 -6
  70. package/lib/{create-naslyPfU.mjs → create-BvzkkBPW.mjs} +1 -1
  71. package/lib/{create-CfgTxAS-.js → create-CGZYy2vu.js} +1 -1
  72. package/lib/{evm-C6xp3v8Z.mjs → evm-CUR4-a7F.mjs} +9 -9
  73. package/lib/{evm-B3G2Vkzg.js → evm-CoLwXequ.js} +2 -2
  74. package/lib/{evm-B20n3mf_.mjs → evm-DoVrPE_X.mjs} +7 -7
  75. package/lib/{evm-aSG_vFbw.js → evm-Dv-WYu07.js} +2 -2
  76. package/lib/executor.js +1 -1
  77. package/lib/executor.mjs +815 -572
  78. package/lib/hosted.js +1 -1
  79. package/lib/hosted.mjs +1 -1
  80. package/lib/{index-DSmKiYkD.mjs → index-B1KwS33G.mjs} +5 -5
  81. package/lib/{index-vhQ5Q8ov.mjs → index-B2sVzSwb.mjs} +52 -97
  82. package/lib/{index-Bz7ogqhR.mjs → index-B3idKQJG.mjs} +1 -1
  83. package/lib/index-B7Afz_5P.js +1 -0
  84. package/lib/{index-Dq7WWqFe.js → index-B7HBnPLP.js} +1 -1
  85. package/lib/{index-DQX74QAE.js → index-BFBwRlid.js} +1 -1
  86. package/lib/{index-C6XNAQ4w.js → index-BZZZ8OeS.js} +1 -1
  87. package/lib/{index-C3LC73WN.js → index-BaYN-RHF.js} +1 -1
  88. package/lib/{index-BTUx12aa.js → index-Bhwzpq1T.js} +1 -1
  89. package/lib/{index-MsaML_Ju.mjs → index-Bicx897u.mjs} +2 -2
  90. package/lib/{index-Dajw3Alx.mjs → index-BlWksu-f.mjs} +1 -1
  91. package/lib/{index-DS8bl8fA.mjs → index-Bn0hkKKz.mjs} +4 -4
  92. package/lib/{index-BojkMsXD.js → index-BoKTcLq-.js} +1 -1
  93. package/lib/{index-BRYq_Nt2.mjs → index-Bp4ojxz6.mjs} +4 -4
  94. package/lib/{index-Cnznwcdb.js → index-BqabgGIh.js} +1 -1
  95. package/lib/{index-DxYgNWMY.mjs → index-BtEjOWoP.mjs} +3 -3
  96. package/lib/{index-BJcbyvof.js → index-C8HxYDNY.js} +1 -1
  97. package/lib/{index-Bhd_YhUf.js → index-C9Bk-rKp.js} +1 -1
  98. package/lib/{index-YAL4zolc.js → index-C9uGqcwH.js} +1 -1
  99. package/lib/{index-BQvEIlB2.mjs → index-CBGUPQXa.mjs} +3 -3
  100. package/lib/{index-IHxtA-NL.js → index-CGpn3INM.js} +1 -1
  101. package/lib/{index-BRyW-hBN.mjs → index-CTpINVAG.mjs} +2 -2
  102. package/lib/{index-bNUantLb.js → index-CjjP3Qp5.js} +1 -1
  103. package/lib/{index-CU73EUQW.js → index-CkGYgQTz.js} +1 -1
  104. package/lib/{index-DqzqJgVc.mjs → index-CkvxfaqA.mjs} +3 -3
  105. package/lib/{index-DfDB5FLw.js → index-ClMpLrxa.js} +1 -1
  106. package/lib/{index-B7VNYedX.mjs → index-CtU_hkYp.mjs} +4 -4
  107. package/lib/{index-DMOY218i.js → index-CzRVzbTC.js} +1 -1
  108. package/lib/{index-B4S4sz6p.mjs → index-Czxl_5Tr.mjs} +5 -5
  109. package/lib/{index-D0XQIiQn.js → index-D6qJDbzm.js} +1 -1
  110. package/lib/{index-D-H8WyKb.mjs → index-DGzoIr_I.mjs} +1 -1
  111. package/lib/{index-BD0gcmCp.mjs → index-DPpi4Don.mjs} +5 -5
  112. package/lib/{index-7_BfcP8x.mjs → index-DZaOh3F9.mjs} +2105 -2021
  113. package/lib/{index-QlIJYJce.js → index-DaY7_eQ6.js} +66 -66
  114. package/lib/{index-C3L-xKvN.mjs → index-DlmQ0_RF.mjs} +4839 -4850
  115. package/lib/{index-D5ENAOm3.js → index-DmsirrTI.js} +1 -1
  116. package/lib/{index-DnO0ZdKy.mjs → index-DpN0dULN.mjs} +1 -1
  117. package/lib/{index-BNuKzxGJ.js → index-DydXCN0v.js} +1 -1
  118. package/lib/{index-CSMunRpZ.mjs → index-NKV6j8zE.mjs} +3 -3
  119. package/lib/{index-BIYx5IBr.mjs → index-OlMuNft9.mjs} +3 -3
  120. package/lib/{index-tztRp3yJ.js → index-P9DbJOzh.js} +1 -1
  121. package/lib/{index-D1y-l93C.js → index-UbeUI3Ir.js} +1 -1
  122. package/lib/{index-BZYEbYGY.mjs → index-ZGgSxaDf.mjs} +3 -3
  123. package/lib/{index-DFpSbD7R.mjs → index-_e8uUnEK.mjs} +5 -5
  124. package/lib/{index-Cb9lswnP.js → index-cCBQV2Yv.js} +8 -8
  125. package/lib/{index-B9ybSY9R.mjs → index-cggXdVJu.mjs} +5 -5
  126. package/lib/{index.es-C476iHvN.mjs → index.es-5ecqX8B9.mjs} +4 -4
  127. package/lib/{index.es-CU6nhwJO.js → index.es-LBG64XJ6.js} +1 -1
  128. package/lib/{index.es-CkGpObng.js → index.es-owVcNlof.js} +3 -3
  129. package/lib/{index.es-CtiAoQ78.mjs → index.es-zNH_KzcH.mjs} +3 -3
  130. package/lib/index.js +1 -1
  131. package/lib/index.mjs +5 -5
  132. package/lib/mayan.js +1 -1
  133. package/lib/mayan.mjs +11 -11
  134. package/lib/{mint-zy6P38iu.js → mint-B4t2SvV6.js} +1 -1
  135. package/lib/{mint-DyoU9X22.mjs → mint-BGuU5y5m.mjs} +1 -1
  136. package/lib/ntt.js +1 -1
  137. package/lib/ntt.mjs +14 -12
  138. package/lib/{platform-x3ZBJ0YM.js → platform-Bkbg7A9d.js} +1 -1
  139. package/lib/{platform-BqpAMtgx.mjs → platform-C5gJAqtZ.mjs} +3 -3
  140. package/lib/{platform-BhspUaMJ.js → platform-C6QB7aIN.js} +1 -1
  141. package/lib/{platform-DQfpyXSV.mjs → platform-DBNvSsue.mjs} +4 -4
  142. package/lib/{platform-BHAZvZ_O.mjs → platform-DtB8gGMl.mjs} +4 -4
  143. package/lib/{platform-4nANkJAM.js → platform-qdbxkhTI.js} +1 -1
  144. package/lib/{provider-jsonrpc-DIXcAw4Q.mjs → provider-jsonrpc-BIIDy-Aw.mjs} +2 -2
  145. package/lib/{provider-jsonrpc-BCKoIijx.js → provider-jsonrpc-DHzam3ud.js} +1 -1
  146. package/lib/{secp256k1-CaaRyr2C.mjs → secp256k1-BF6Vm50D.mjs} +1 -1
  147. package/lib/{secp256k1-C60XBS-e.js → secp256k1-Bb6lbAjK.js} +1 -1
  148. package/lib/{secp256k1-UnRv5Suy.mjs → secp256k1-BfK5OWRP.mjs} +1 -1
  149. package/lib/{secp256k1-BWFGSbjt.mjs → secp256k1-CqT-a-I8.mjs} +1 -1
  150. package/lib/{secp256k1-CFt7TfEF.js → secp256k1-DRTQ6WrU.js} +1 -1
  151. package/lib/{secp256k1-BIiWvuxu.js → secp256k1-D_GNj8sK.js} +1 -1
  152. package/lib/{signer-DhO2iGae.mjs → signer-BH3gAHuj.mjs} +2 -2
  153. package/lib/{signer-BFY1Ytf6.js → signer-MBixef_P.js} +1 -1
  154. package/lib/{solana-CQk4ocg8.mjs → solana-C1puc64V.mjs} +11 -11
  155. package/lib/solana-C8xK8qJY.mjs +18 -0
  156. package/lib/solana-CRSliekb.js +1 -0
  157. package/lib/{solana-Cp49k9--.js → solana-CtBdJ6Wt.js} +4 -4
  158. package/lib/{solanaEmbed.esm-Cwa6cl_R.js → solanaEmbed.esm-BpIKVhXq.js} +1 -1
  159. package/lib/{solanaEmbed.esm-DBOqO9Ii.mjs → solanaEmbed.esm-NdE_DQuw.mjs} +3 -3
  160. package/lib/src/components/TokenBalance.d.ts.map +1 -1
  161. package/lib/src/config/mainnet/tokens.d.ts.map +1 -1
  162. package/lib/src/config/testnet/tokens.d.ts.map +1 -1
  163. package/lib/src/contexts/wallet/WalletProvider.d.ts.map +1 -1
  164. package/lib/src/hooks/useFetchSupportedRoutes.d.ts.map +1 -1
  165. package/lib/src/hooks/useTokenListWithSearch.d.ts +1 -4
  166. package/lib/src/hooks/useTokenListWithSearch.d.ts.map +1 -1
  167. package/lib/src/routes/operator.d.ts.map +1 -1
  168. package/lib/src/routes/sdkv2/route.d.ts +2 -2
  169. package/lib/src/routes/sdkv2/route.d.ts.map +1 -1
  170. package/lib/src/telemetry/types.d.ts +1 -0
  171. package/lib/src/telemetry/types.d.ts.map +1 -1
  172. package/lib/src/utils/sdkv2.d.ts.map +1 -1
  173. package/lib/src/utils/wrappedNativeTokens.d.ts +12 -0
  174. package/lib/src/utils/wrappedNativeTokens.d.ts.map +1 -0
  175. package/lib/src/views/Terms.d.ts.map +1 -1
  176. package/lib/src/views/v2/Bridge/AssetPicker/TokenList.d.ts.map +1 -1
  177. package/lib/src/views/v3/Bridge/AssetPicker/SearchableList/index.d.ts.map +1 -1
  178. package/lib/src/views/v3/Bridge/AssetPicker/TokenList.d.ts.map +1 -1
  179. package/lib/src/views/v3/Bridge/AssetPicker/TokenSectionHeader.d.ts +2 -4
  180. package/lib/src/views/v3/Bridge/AssetPicker/TokenSectionHeader.d.ts.map +1 -1
  181. package/lib/{sui-C2a1eehP.mjs → sui-BW7tMLZs.mjs} +4 -4
  182. package/lib/{sui-9gsoM56W.js → sui-DdujB9Bc.js} +1 -1
  183. package/lib/{sui-Cr98JBgS.js → sui-QcDjGW68.js} +1 -1
  184. package/lib/{sui-B4RvzEXx.mjs → sui-euceXgYf.mjs} +7 -7
  185. package/lib/{tokens-BbFKf6Hv.mjs → tokens-DI-tPIbd.mjs} +3 -3
  186. package/lib/{tokens-LVHsSbYG.js → tokens-DJos2DwM.js} +1 -1
  187. package/lib/{transfer-DZ-wNocj.js → transfer-BinEH6ml.js} +1 -1
  188. package/lib/{transfer-BV1ou1GP.mjs → transfer-DTvv5m_5.mjs} +2 -2
  189. package/lib/{units-BqUlbZ46.mjs → units-CVEv4txp.mjs} +2 -2
  190. package/lib/{units-D-oRQjOa.js → units-DtldPRXy.js} +1 -1
  191. package/lib/{unsignedTransaction-BmxD6VsY.mjs → unsignedTransaction-CVE7GUdC.mjs} +3 -3
  192. package/lib/{unsignedTransaction-CiPKh85X.js → unsignedTransaction-DL3WyIkF.js} +1 -1
  193. package/lib/{w3m-modal-3qLkbPfi.mjs → w3m-modal-B2VF8j7W.mjs} +2 -2
  194. package/lib/{w3m-modal-D4-nrnEK.mjs → w3m-modal-C32eQxEe.mjs} +2 -2
  195. package/lib/{w3m-modal-CoTG8Zu4.js → w3m-modal-DSY2qJYP.js} +1 -1
  196. package/lib/{w3m-modal-xqVExHU-.js → w3m-modal-DgqSQLqZ.js} +1 -1
  197. package/lib/{web3-C1wK6wIV.js → web3-BKaP497Y.js} +1 -1
  198. package/lib/{web3-BkEb7AgB.mjs → web3-BifDBsFp.mjs} +8 -4
  199. package/package.json +49 -44
  200. package/dist/assets/create-q7V6muDT.js +0 -1
  201. package/dist/assets/index-B59bCuJJ.js +0 -1
  202. package/lib/constants-BR_zyzqY.js +0 -1
  203. package/lib/index-CXsUtRJQ.js +0 -1
  204. package/lib/solana-Dv_mUYcl.mjs +0 -18
  205. package/lib/solana-g3YsP966.js +0 -1
@@ -1 +1 @@
1
- "use strict";const r=require("./web3-C1wK6wIV.js"),h=require("./contract-MkLF5rqi.js"),S=BigInt(-1),a=BigInt(0),c=BigInt(1),A=BigInt(5),g={};let d="0000";for(;d.length<80;)d+=d;function m(s){let t=d;for(;t.length<s;)t+=t;return BigInt("1"+t.substring(0,s))}function b(s,t,i){const e=BigInt(t.width);if(t.signed){const n=c<<e-c;r.assert(i==null||s>=-n&&s<n,"overflow","NUMERIC_FAULT",{operation:i,fault:"overflow",value:s}),s>a?s=h.fromTwos(h.mask(s,e),e):s=-h.fromTwos(h.mask(-s,e),e)}else{const n=c<<e;r.assert(i==null||s>=0&&s<n,"overflow","NUMERIC_FAULT",{operation:i,fault:"overflow",value:s}),s=(s%n+n)%n&n-c}return s}function v(s){typeof s=="number"&&(s=`fixed128x${s}`);let t=!0,i=128,e=18;if(typeof s=="string"){if(s!=="fixed")if(s==="ufixed")t=!1;else{const o=s.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);r.assertArgument(o,"invalid fixed format","format",s),t=o[1]!=="u",i=parseInt(o[2]),e=parseInt(o[3])}}else if(s){const o=s,u=(l,w,I)=>o[l]==null?I:(r.assertArgument(typeof o[l]===w,"invalid fixed format ("+l+" not "+w+")","format."+l,o[l]),o[l]);t=u("signed","boolean",t),i=u("width","number",i),e=u("decimals","number",e)}r.assertArgument(i%8===0,"invalid FixedNumber width (not byte aligned)","format.width",i),r.assertArgument(e<=80,"invalid FixedNumber decimals (too large)","format.decimals",e);const n=(t?"":"u")+"fixed"+String(i)+"x"+String(e);return{signed:t,width:i,decimals:e,name:n}}function N(s,t){let i="";s<a&&(i="-",s*=S);let e=s.toString();if(t===0)return i+e;for(;e.length<=t;)e=d+e;const n=e.length-t;for(e=e.substring(0,n)+"."+e.substring(n);e[0]==="0"&&e[1]!==".";)e=e.substring(1);for(;e[e.length-1]==="0"&&e[e.length-2]!==".";)e=e.substring(0,e.length-1);return i+e}class f{format;#i;#t;#e;_value;constructor(t,i,e){r.assertPrivate(t,g,"FixedNumber"),this.#t=i,this.#i=e;const n=N(i,e.decimals);r.defineProperties(this,{format:e.name,_value:n}),this.#e=m(e.decimals)}get signed(){return this.#i.signed}get width(){return this.#i.width}get decimals(){return this.#i.decimals}get value(){return this.#t}#n(t){r.assertArgument(this.format===t.format,"incompatible format; use fixedNumber.toFormat","other",t)}#s(t,i){return t=b(t,this.#i,i),new f(g,t,this.#i)}#r(t,i){return this.#n(t),this.#s(this.#t+t.#t,i)}addUnsafe(t){return this.#r(t)}add(t){return this.#r(t,"add")}#o(t,i){return this.#n(t),this.#s(this.#t-t.#t,i)}subUnsafe(t){return this.#o(t)}sub(t){return this.#o(t,"sub")}#u(t,i){return this.#n(t),this.#s(this.#t*t.#t/this.#e,i)}mulUnsafe(t){return this.#u(t)}mul(t){return this.#u(t,"mul")}mulSignal(t){this.#n(t);const i=this.#t*t.#t;return r.assert(i%this.#e===a,"precision lost during signalling mul","NUMERIC_FAULT",{operation:"mulSignal",fault:"underflow",value:this}),this.#s(i/this.#e,"mulSignal")}#l(t,i){return r.assert(t.#t!==a,"division by zero","NUMERIC_FAULT",{operation:"div",fault:"divide-by-zero",value:this}),this.#n(t),this.#s(this.#t*this.#e/t.#t,i)}divUnsafe(t){return this.#l(t)}div(t){return this.#l(t,"div")}divSignal(t){r.assert(t.#t!==a,"division by zero","NUMERIC_FAULT",{operation:"div",fault:"divide-by-zero",value:this}),this.#n(t);const i=this.#t*this.#e;return r.assert(i%t.#t===a,"precision lost during signalling div","NUMERIC_FAULT",{operation:"divSignal",fault:"underflow",value:this}),this.#s(i/t.#t,"divSignal")}cmp(t){let i=this.value,e=t.value;const n=this.decimals-t.decimals;return n>0?e*=m(n):n<0&&(i*=m(-n)),i<e?-1:i>e?1:0}eq(t){return this.cmp(t)===0}lt(t){return this.cmp(t)<0}lte(t){return this.cmp(t)<=0}gt(t){return this.cmp(t)>0}gte(t){return this.cmp(t)>=0}floor(){let t=this.#t;return this.#t<a&&(t-=this.#e-c),t=this.#t/this.#e*this.#e,this.#s(t,"floor")}ceiling(){let t=this.#t;return this.#t>a&&(t+=this.#e-c),t=this.#t/this.#e*this.#e,this.#s(t,"ceiling")}round(t){if(t==null&&(t=0),t>=this.decimals)return this;const i=this.decimals-t,e=A*m(i-1);let n=this.value+e;const o=m(i);return n=n/o*o,b(n,this.#i,"round"),new f(g,n,this.#i)}isZero(){return this.#t===a}isNegative(){return this.#t<a}toString(){return this._value}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(t){return f.fromString(this.toString(),t)}static fromValue(t,i,e){const n=i==null?0:h.getNumber(i),o=v(e);let u=h.getBigInt(t,"value");const l=n-o.decimals;if(l>0){const w=m(l);r.assert(u%w===a,"value loses precision for format","NUMERIC_FAULT",{operation:"fromValue",fault:"underflow",value:t}),u/=w}else l<0&&(u*=m(-l));return b(u,o,"fromValue"),new f(g,u,o)}static fromString(t,i){const e=t.match(/^(-?)([0-9]*)\.?([0-9]*)$/);r.assertArgument(e&&e[2].length+e[3].length>0,"invalid FixedNumber string value","value",t);const n=v(i);let o=e[2]||"0",u=e[3]||"";for(;u.length<n.decimals;)u+=d;r.assert(u.substring(n.decimals).match(/^0*$/),"too many decimals for format","NUMERIC_FAULT",{operation:"fromString",fault:"underflow",value:t}),u=u.substring(0,n.decimals);const l=BigInt(e[1]+o+u);return b(l,n,"fromString"),new f(g,l,n)}static fromBytes(t,i){let e=h.toBigInt(r.getBytes(t,"value"));const n=v(i);return n.signed&&(e=h.fromTwos(e,n.width)),b(e,n,"fromBytes"),new f(g,e,n)}}const p=["wei","kwei","mwei","gwei","szabo","finney","ether"];function U(s,t){let i=18;if(typeof t=="string"){const e=p.indexOf(t);r.assertArgument(e>=0,"invalid unit","unit",t),i=3*e}else t!=null&&(i=h.getNumber(t,"unit"));return f.fromValue(s,i,{decimals:i,width:512}).toString()}function B(s,t){r.assertArgument(typeof s=="string","value must be a string","value",s);let i=18;if(typeof t=="string"){const e=p.indexOf(t);r.assertArgument(e>=0,"invalid unit","unit",t),i=3*e}else t!=null&&(i=h.getNumber(t,"unit"));return f.fromString(s,{decimals:i,width:512}).value}function x(s){return U(s,18)}exports.formatEther=x;exports.formatUnits=U;exports.parseUnits=B;
1
+ "use strict";const r=require("./web3-BKaP497Y.js"),h=require("./contract-CTycrpaK.js"),S=BigInt(-1),a=BigInt(0),c=BigInt(1),A=BigInt(5),g={};let d="0000";for(;d.length<80;)d+=d;function m(s){let t=d;for(;t.length<s;)t+=t;return BigInt("1"+t.substring(0,s))}function b(s,t,i){const e=BigInt(t.width);if(t.signed){const n=c<<e-c;r.assert(i==null||s>=-n&&s<n,"overflow","NUMERIC_FAULT",{operation:i,fault:"overflow",value:s}),s>a?s=h.fromTwos(h.mask(s,e),e):s=-h.fromTwos(h.mask(-s,e),e)}else{const n=c<<e;r.assert(i==null||s>=0&&s<n,"overflow","NUMERIC_FAULT",{operation:i,fault:"overflow",value:s}),s=(s%n+n)%n&n-c}return s}function v(s){typeof s=="number"&&(s=`fixed128x${s}`);let t=!0,i=128,e=18;if(typeof s=="string"){if(s!=="fixed")if(s==="ufixed")t=!1;else{const o=s.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);r.assertArgument(o,"invalid fixed format","format",s),t=o[1]!=="u",i=parseInt(o[2]),e=parseInt(o[3])}}else if(s){const o=s,u=(l,w,I)=>o[l]==null?I:(r.assertArgument(typeof o[l]===w,"invalid fixed format ("+l+" not "+w+")","format."+l,o[l]),o[l]);t=u("signed","boolean",t),i=u("width","number",i),e=u("decimals","number",e)}r.assertArgument(i%8===0,"invalid FixedNumber width (not byte aligned)","format.width",i),r.assertArgument(e<=80,"invalid FixedNumber decimals (too large)","format.decimals",e);const n=(t?"":"u")+"fixed"+String(i)+"x"+String(e);return{signed:t,width:i,decimals:e,name:n}}function N(s,t){let i="";s<a&&(i="-",s*=S);let e=s.toString();if(t===0)return i+e;for(;e.length<=t;)e=d+e;const n=e.length-t;for(e=e.substring(0,n)+"."+e.substring(n);e[0]==="0"&&e[1]!==".";)e=e.substring(1);for(;e[e.length-1]==="0"&&e[e.length-2]!==".";)e=e.substring(0,e.length-1);return i+e}class f{format;#i;#t;#e;_value;constructor(t,i,e){r.assertPrivate(t,g,"FixedNumber"),this.#t=i,this.#i=e;const n=N(i,e.decimals);r.defineProperties(this,{format:e.name,_value:n}),this.#e=m(e.decimals)}get signed(){return this.#i.signed}get width(){return this.#i.width}get decimals(){return this.#i.decimals}get value(){return this.#t}#n(t){r.assertArgument(this.format===t.format,"incompatible format; use fixedNumber.toFormat","other",t)}#s(t,i){return t=b(t,this.#i,i),new f(g,t,this.#i)}#r(t,i){return this.#n(t),this.#s(this.#t+t.#t,i)}addUnsafe(t){return this.#r(t)}add(t){return this.#r(t,"add")}#o(t,i){return this.#n(t),this.#s(this.#t-t.#t,i)}subUnsafe(t){return this.#o(t)}sub(t){return this.#o(t,"sub")}#u(t,i){return this.#n(t),this.#s(this.#t*t.#t/this.#e,i)}mulUnsafe(t){return this.#u(t)}mul(t){return this.#u(t,"mul")}mulSignal(t){this.#n(t);const i=this.#t*t.#t;return r.assert(i%this.#e===a,"precision lost during signalling mul","NUMERIC_FAULT",{operation:"mulSignal",fault:"underflow",value:this}),this.#s(i/this.#e,"mulSignal")}#l(t,i){return r.assert(t.#t!==a,"division by zero","NUMERIC_FAULT",{operation:"div",fault:"divide-by-zero",value:this}),this.#n(t),this.#s(this.#t*this.#e/t.#t,i)}divUnsafe(t){return this.#l(t)}div(t){return this.#l(t,"div")}divSignal(t){r.assert(t.#t!==a,"division by zero","NUMERIC_FAULT",{operation:"div",fault:"divide-by-zero",value:this}),this.#n(t);const i=this.#t*this.#e;return r.assert(i%t.#t===a,"precision lost during signalling div","NUMERIC_FAULT",{operation:"divSignal",fault:"underflow",value:this}),this.#s(i/t.#t,"divSignal")}cmp(t){let i=this.value,e=t.value;const n=this.decimals-t.decimals;return n>0?e*=m(n):n<0&&(i*=m(-n)),i<e?-1:i>e?1:0}eq(t){return this.cmp(t)===0}lt(t){return this.cmp(t)<0}lte(t){return this.cmp(t)<=0}gt(t){return this.cmp(t)>0}gte(t){return this.cmp(t)>=0}floor(){let t=this.#t;return this.#t<a&&(t-=this.#e-c),t=this.#t/this.#e*this.#e,this.#s(t,"floor")}ceiling(){let t=this.#t;return this.#t>a&&(t+=this.#e-c),t=this.#t/this.#e*this.#e,this.#s(t,"ceiling")}round(t){if(t==null&&(t=0),t>=this.decimals)return this;const i=this.decimals-t,e=A*m(i-1);let n=this.value+e;const o=m(i);return n=n/o*o,b(n,this.#i,"round"),new f(g,n,this.#i)}isZero(){return this.#t===a}isNegative(){return this.#t<a}toString(){return this._value}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(t){return f.fromString(this.toString(),t)}static fromValue(t,i,e){const n=i==null?0:h.getNumber(i),o=v(e);let u=h.getBigInt(t,"value");const l=n-o.decimals;if(l>0){const w=m(l);r.assert(u%w===a,"value loses precision for format","NUMERIC_FAULT",{operation:"fromValue",fault:"underflow",value:t}),u/=w}else l<0&&(u*=m(-l));return b(u,o,"fromValue"),new f(g,u,o)}static fromString(t,i){const e=t.match(/^(-?)([0-9]*)\.?([0-9]*)$/);r.assertArgument(e&&e[2].length+e[3].length>0,"invalid FixedNumber string value","value",t);const n=v(i);let o=e[2]||"0",u=e[3]||"";for(;u.length<n.decimals;)u+=d;r.assert(u.substring(n.decimals).match(/^0*$/),"too many decimals for format","NUMERIC_FAULT",{operation:"fromString",fault:"underflow",value:t}),u=u.substring(0,n.decimals);const l=BigInt(e[1]+o+u);return b(l,n,"fromString"),new f(g,l,n)}static fromBytes(t,i){let e=h.toBigInt(r.getBytes(t,"value"));const n=v(i);return n.signed&&(e=h.fromTwos(e,n.width)),b(e,n,"fromBytes"),new f(g,e,n)}}const p=["wei","kwei","mwei","gwei","szabo","finney","ether"];function U(s,t){let i=18;if(typeof t=="string"){const e=p.indexOf(t);r.assertArgument(e>=0,"invalid unit","unit",t),i=3*e}else t!=null&&(i=h.getNumber(t,"unit"));return f.fromValue(s,i,{decimals:i,width:512}).toString()}function B(s,t){r.assertArgument(typeof s=="string","value must be a string","value",s);let i=18;if(typeof t=="string"){const e=p.indexOf(t);r.assertArgument(e>=0,"invalid unit","unit",t),i=3*e}else t!=null&&(i=h.getNumber(t,"unit"));return f.fromString(s,{decimals:i,width:512}).value}function x(s){return U(s,18)}exports.formatEther=x;exports.formatUnits=U;exports.parseUnits=B;
@@ -1,8 +1,8 @@
1
- import { aO as m, P as c, bZ as k, aQ as T, b_ as B, C as v, W as A, cp as C, c as b, i as d, c0 as E, c1 as P } from "./web3-BkEb7AgB.mjs";
2
- import { C as y } from "./chain-_dXKRkCE.mjs";
1
+ import { aO as m, P as c, bZ as k, aQ as T, b_ as B, C as v, W as A, cp as C, c as b, i as d, c0 as E, c1 as P } from "./web3-BifDBsFp.mjs";
2
+ import { C as y } from "./chain-CvZsIsLh.mjs";
3
3
  class I extends y {
4
4
  async getTokenAccount(t, n) {
5
- const { getAssociatedTokenAddress: a } = await import("./index-DxYgNWMY.mjs"), e = new m(n).unwrap(), i = new m(t).unwrap(), o = await a(e, i);
5
+ const { getAssociatedTokenAddress: a } = await import("./index-BtEjOWoP.mjs"), e = new m(n).unwrap(), i = new m(t).unwrap(), o = await a(e, i);
6
6
  return {
7
7
  chain: this.chain,
8
8
  address: new m(o.toString())
@@ -1 +1 @@
1
- "use strict";const a=require("./web3-C1wK6wIV.js"),p=require("./chain-BCKkYvDb.js");class f extends p.ChainContext{async getTokenAccount(t,n){const{getAssociatedTokenAddress:e}=await Promise.resolve().then(()=>require("./index-D5ENAOm3.js")),i=new a.SolanaAddress(n).unwrap(),s=new a.SolanaAddress(t).unwrap(),r=await e(i,s);return{chain:this.chain,address:new a.SolanaAddress(r.toString())}}}const w=new a.PublicKey("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"),m=new a.PublicKey("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"),k=new a.PublicKey("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL");new a.PublicKey("So11111111111111111111111111111111111111112");new a.PublicKey("9pan9bMn5HatX4EJdBwg9VgCa7Uz5HL8N1m5D3NdXejP");class u extends a.PlatformContext{static _platform=a._platform$1;constructor(t,n){super(t,n??a.networkPlatformConfigs(t,u._platform))}getRpc(t,n={commitment:"confirmed",disableRetryOnRateLimit:!0}){if(t in this.config)return new a.Connection(this.config[t].rpc,n);throw new Error("No configuration available for chain: "+t)}getChain(t,n){if(t in this.config)return new f(t,this,n);throw new Error("No configuration available for chain: "+t)}static nativeTokenId(t,n){if(!u.isSupportedChain(n))throw new Error(`invalid chain: ${n}`);return a.Wormhole.chainAddress(n,a.SolanaZeroAddress)}static isNativeTokenId(t,n,e){return!this.isSupportedChain(n)||e.chain!==n?!1:this.nativeTokenId(t,n)==e}static isSupportedChain(t){return a.chainToPlatform(t)===u._platform}static async getDecimals(t,n,e,i){if(a.isNative(i))return a.nativeDecimals(u._platform);let s=await e.getParsedAccountInfo(new a.SolanaAddress(i).unwrap());if(!s||!s.value)throw new Error("could not fetch token details");const{decimals:r}=s.value.data.parsed.info;return r}static async getBalance(t,n,e,i,s){const r=new a.PublicKey(i);if(a.isNative(s))return BigInt(await e.getBalance(r));const c=await e.getTokenAccountsByOwner(r,{mint:new a.SolanaAddress(s).unwrap()}),o=c.value.length>0?c.value[0].pubkey:r,l=await e.getTokenAccountBalance(o);return BigInt(l.value.amount)}static async getBalances(t,n,e,i){const s=BigInt(await e.getBalance(new a.PublicKey(i))),r=(await Promise.all([w,m].map(o=>new a.PublicKey(o)).map(o=>e.getParsedTokenAccountsByOwner(new a.PublicKey(i),{programId:o})))).reduce((o,l)=>o.concat(l.value),[]),c={native:s};return r.forEach(o=>{const l=o.account.data.parsed?.info?.mint,h=o.account.data.parsed?.info?.tokenAmount?.amount;l&&h&&(c[l]=BigInt(h))}),c}static async sendWait(t,n,e,i){const s=await Promise.all(e.map(o=>this.sendTxWithRetry(n,o,i))),r=s.map(o=>o.signature),c=s.filter(o=>o.response.value.err).map(o=>o.response.value.err);if(c.length>0)throw new Error(`Failed to confirm transaction: ${c}`);return r}static async sendTxWithRetry(t,n,e={},i=5e3){const s=e.preflightCommitment??t.commitment,r=await t.sendRawTransaction(n,{...e,skipPreflight:!1,maxRetries:0,preflightCommitment:s}),{blockhash:c,lastValidBlockHeight:o}=await t.getLatestBlockhash(),l=t.confirmTransaction({signature:r,blockhash:c,lastValidBlockHeight:o},s);let h=null;for(;!h&&(h=await Promise.race([l,new Promise(g=>setTimeout(()=>{g(null)},i))]),!h);)await t.sendRawTransaction(n,{...e,skipPreflight:!0,maxRetries:0,preflightCommitment:s});return{signature:r,response:h}}static async latestBlock(t,n){return t.getLatestBlockhash(n??t.commitment)}static async getLatestBlock(t){return await t.getSlot()}static async getLatestFinalizedBlock(t){const{lastValidBlockHeight:n}=await this.latestBlock(t,"finalized");return n}static chainFromChainId(t){const n=a.platformNativeChainIdToNetworkChain(u._platform,t);if(!n)throw new Error(`No matching genesis hash to determine network and chain: ${t}`);const[e,i]=n;return[e,i]}static async chainFromRpc(t){try{const n=await t.getGenesisHash();return u.chainFromChainId(n)}catch(n){if(t.rpcEndpoint.includes("http://127")||t.rpcEndpoint.includes("http://localhost")||t.rpcEndpoint==="http://solana-devnet:8899")return["Devnet","Solana"];throw n}}static async getTokenProgramId(t,n){const e=await t.getAccountInfo(n);if(!e)throw new Error(`Mint account not found: ${n.toBase58()}`);const i=e.owner;if(!i)throw new Error(`Mint account has no owner: ${n.toBase58()}`);if(i.equals(w)||i.equals(m))return i;throw new Error(`Mint account has unsupported token program: ${n.toBase58()} (${i.toBase58()})`)}}class T{transaction;network;chain;description;parallelizable;constructor(t,n,e,i,s=!1){this.transaction=t,this.network=n,this.chain=e,this.description=i,this.parallelizable=s}}function P(d){return d.signatures!==void 0&&d.message!==void 0}exports.ASSOCIATED_TOKEN_PROGRAM_ID=k;exports.SolanaChain=f;exports.SolanaPlatform=u;exports.SolanaUnsignedTransaction=T;exports.TOKEN_2022_PROGRAM_ID=m;exports.TOKEN_PROGRAM_ID=w;exports.isVersionedTransaction=P;
1
+ "use strict";const a=require("./web3-BKaP497Y.js"),p=require("./chain-BxNUWKZE.js");class f extends p.ChainContext{async getTokenAccount(t,n){const{getAssociatedTokenAddress:e}=await Promise.resolve().then(()=>require("./index-DmsirrTI.js")),i=new a.SolanaAddress(n).unwrap(),s=new a.SolanaAddress(t).unwrap(),r=await e(i,s);return{chain:this.chain,address:new a.SolanaAddress(r.toString())}}}const w=new a.PublicKey("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"),m=new a.PublicKey("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"),k=new a.PublicKey("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL");new a.PublicKey("So11111111111111111111111111111111111111112");new a.PublicKey("9pan9bMn5HatX4EJdBwg9VgCa7Uz5HL8N1m5D3NdXejP");class u extends a.PlatformContext{static _platform=a._platform$1;constructor(t,n){super(t,n??a.networkPlatformConfigs(t,u._platform))}getRpc(t,n={commitment:"confirmed",disableRetryOnRateLimit:!0}){if(t in this.config)return new a.Connection(this.config[t].rpc,n);throw new Error("No configuration available for chain: "+t)}getChain(t,n){if(t in this.config)return new f(t,this,n);throw new Error("No configuration available for chain: "+t)}static nativeTokenId(t,n){if(!u.isSupportedChain(n))throw new Error(`invalid chain: ${n}`);return a.Wormhole.chainAddress(n,a.SolanaZeroAddress)}static isNativeTokenId(t,n,e){return!this.isSupportedChain(n)||e.chain!==n?!1:this.nativeTokenId(t,n)==e}static isSupportedChain(t){return a.chainToPlatform(t)===u._platform}static async getDecimals(t,n,e,i){if(a.isNative(i))return a.nativeDecimals(u._platform);let s=await e.getParsedAccountInfo(new a.SolanaAddress(i).unwrap());if(!s||!s.value)throw new Error("could not fetch token details");const{decimals:r}=s.value.data.parsed.info;return r}static async getBalance(t,n,e,i,s){const r=new a.PublicKey(i);if(a.isNative(s))return BigInt(await e.getBalance(r));const c=await e.getTokenAccountsByOwner(r,{mint:new a.SolanaAddress(s).unwrap()}),o=c.value.length>0?c.value[0].pubkey:r,l=await e.getTokenAccountBalance(o);return BigInt(l.value.amount)}static async getBalances(t,n,e,i){const s=BigInt(await e.getBalance(new a.PublicKey(i))),r=(await Promise.all([w,m].map(o=>new a.PublicKey(o)).map(o=>e.getParsedTokenAccountsByOwner(new a.PublicKey(i),{programId:o})))).reduce((o,l)=>o.concat(l.value),[]),c={native:s};return r.forEach(o=>{const l=o.account.data.parsed?.info?.mint,h=o.account.data.parsed?.info?.tokenAmount?.amount;l&&h&&(c[l]=BigInt(h))}),c}static async sendWait(t,n,e,i){const s=await Promise.all(e.map(o=>this.sendTxWithRetry(n,o,i))),r=s.map(o=>o.signature),c=s.filter(o=>o.response.value.err).map(o=>o.response.value.err);if(c.length>0)throw new Error(`Failed to confirm transaction: ${c}`);return r}static async sendTxWithRetry(t,n,e={},i=5e3){const s=e.preflightCommitment??t.commitment,r=await t.sendRawTransaction(n,{...e,skipPreflight:!1,maxRetries:0,preflightCommitment:s}),{blockhash:c,lastValidBlockHeight:o}=await t.getLatestBlockhash(),l=t.confirmTransaction({signature:r,blockhash:c,lastValidBlockHeight:o},s);let h=null;for(;!h&&(h=await Promise.race([l,new Promise(g=>setTimeout(()=>{g(null)},i))]),!h);)await t.sendRawTransaction(n,{...e,skipPreflight:!0,maxRetries:0,preflightCommitment:s});return{signature:r,response:h}}static async latestBlock(t,n){return t.getLatestBlockhash(n??t.commitment)}static async getLatestBlock(t){return await t.getSlot()}static async getLatestFinalizedBlock(t){const{lastValidBlockHeight:n}=await this.latestBlock(t,"finalized");return n}static chainFromChainId(t){const n=a.platformNativeChainIdToNetworkChain(u._platform,t);if(!n)throw new Error(`No matching genesis hash to determine network and chain: ${t}`);const[e,i]=n;return[e,i]}static async chainFromRpc(t){try{const n=await t.getGenesisHash();return u.chainFromChainId(n)}catch(n){if(t.rpcEndpoint.includes("http://127")||t.rpcEndpoint.includes("http://localhost")||t.rpcEndpoint==="http://solana-devnet:8899")return["Devnet","Solana"];throw n}}static async getTokenProgramId(t,n){const e=await t.getAccountInfo(n);if(!e)throw new Error(`Mint account not found: ${n.toBase58()}`);const i=e.owner;if(!i)throw new Error(`Mint account has no owner: ${n.toBase58()}`);if(i.equals(w)||i.equals(m))return i;throw new Error(`Mint account has unsupported token program: ${n.toBase58()} (${i.toBase58()})`)}}class T{transaction;network;chain;description;parallelizable;constructor(t,n,e,i,s=!1){this.transaction=t,this.network=n,this.chain=e,this.description=i,this.parallelizable=s}}function P(d){return d.signatures!==void 0&&d.message!==void 0}exports.ASSOCIATED_TOKEN_PROGRAM_ID=k;exports.SolanaChain=f;exports.SolanaPlatform=u;exports.SolanaUnsignedTransaction=T;exports.TOKEN_2022_PROGRAM_ID=m;exports.TOKEN_PROGRAM_ID=w;exports.isVersionedTransaction=P;
@@ -1,7 +1,7 @@
1
1
  import { p as pe, a as me, s as he, i as v, e as f, x as a } from "./lit-element-DrneaN_7.mjs";
2
2
  import { n as d, r as w, o as M } from "./class-map-BbR7GrmK.mjs";
3
- import { w as ve, M as g, l as ee, R as l, r as E, m as j, e as te, k as ie, g as m, c as H, h as fe, n as k, E as q, O as T, C as V, o as F, i as $, A as D, T as ge, p as be, a as ye, f as xe } from "./core-ntLR7o2S.mjs";
4
- import { c as u, U as Ce } from "./index-Bz7ogqhR.mjs";
3
+ import { w as ve, M as g, l as ee, R as l, r as E, m as j, e as te, k as ie, g as m, c as H, h as fe, n as k, E as q, O as T, C as V, o as F, i as $, A as D, T as ge, p as be, a as ye, f as xe } from "./core-DT_3gIqi.mjs";
4
+ import { c as u, U as Ce } from "./index-B3idKQJG.mjs";
5
5
  const p = pe({
6
6
  message: "",
7
7
  open: !1,
@@ -1,7 +1,7 @@
1
1
  import { p as ae, a as ne, s as se, i as v, e as g, x as r } from "./lit-element-DrneaN_7.mjs";
2
2
  import { n as w, r as d, o as M } from "./class-map-BbR7GrmK.mjs";
3
- import { r as E, l as D, e as Q, k as Z, R as l, j as f, c as H, g as ce, m as C, d as le, E as q, n as V, M as h, O as A, C as X, o as F, h as $, A as B, T as de, p as we, a as ue, f as pe } from "./solana-CQk4ocg8.mjs";
4
- import { c as u, U as me } from "./index-D-H8WyKb.mjs";
3
+ import { r as E, l as D, e as Q, k as Z, R as l, j as f, c as H, g as ce, m as C, d as le, E as q, n as V, M as h, O as A, C as X, o as F, h as $, A as B, T as de, p as we, a as ue, f as pe } from "./solana-C1puc64V.mjs";
4
+ import { c as u, U as me } from "./index-DGzoIr_I.mjs";
5
5
  const m = ae({
6
6
  message: "",
7
7
  open: !1,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./lit-element-CwBgQkCS.js"),d=require("./class-map-XAAEsuml.js"),r=require("./solana-Cp49k9--.js"),w=require("./index-CU73EUQW.js"),p=o.proxy({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),C={state:p,subscribe(s){return o.subscribe(p,()=>s(p))},subscribeKey(s,e){return o.subscribeKey(p,s,e)},showTooltip({message:s,triggerRect:e,variant:t}){p.open=!0,p.message=s,p.triggerRect=e,p.variant=t},hide(){p.open=!1,p.message="",p.triggerRect={width:0,height:0,top:0,left:0}}},j=o.i`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./lit-element-CwBgQkCS.js"),d=require("./class-map-XAAEsuml.js"),r=require("./solana-CtBdJ6Wt.js"),w=require("./index-CkGYgQTz.js"),p=o.proxy({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),C={state:p,subscribe(s){return o.subscribe(p,()=>s(p))},subscribeKey(s,e){return o.subscribeKey(p,s,e)},showTooltip({message:s,triggerRect:e,variant:t}){p.open=!0,p.message=s,p.triggerRect=e,p.variant=t},hide(){p.open=!1,p.message="",p.triggerRect={width:0,height:0,top:0,left:0}}},j=o.i`
2
2
  :host {
3
3
  display: block;
4
4
  border-radius: clamp(0px, var(--wui-border-radius-l), 44px);
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./lit-element-CwBgQkCS.js"),d=require("./class-map-XAAEsuml.js"),r=require("./core-Cpb3gtg_.js"),w=require("./index-BJcbyvof.js"),u=i.proxy({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),X={state:u,subscribe(s){return i.subscribe(u,()=>s(u))},subscribeKey(s,e){return i.subscribeKey(u,s,e)},showTooltip({message:s,triggerRect:e,variant:t}){u.open=!0,u.message=s,u.triggerRect=e,u.variant=t},hide(){u.open=!1,u.message="",u.triggerRect={width:0,height:0,top:0,left:0}}},C=r.withErrorBoundary(X),B={isUnsupportedChainView(){return r.RouterController.state.view==="UnsupportedChain"||r.RouterController.state.view==="SwitchNetwork"&&r.RouterController.state.history.includes("UnsupportedChain")},async safeClose(){if(this.isUnsupportedChainView()){r.ModalController.shake();return}if(await r.SIWXUtil.isSIWXCloseDisabled()){r.ModalController.shake();return}r.ModalController.close()}},Y=i.i`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./lit-element-CwBgQkCS.js"),d=require("./class-map-XAAEsuml.js"),r=require("./core-COM78LTW.js"),w=require("./index-C8HxYDNY.js"),u=i.proxy({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),X={state:u,subscribe(s){return i.subscribe(u,()=>s(u))},subscribeKey(s,e){return i.subscribeKey(u,s,e)},showTooltip({message:s,triggerRect:e,variant:t}){u.open=!0,u.message=s,u.triggerRect=e,u.variant=t},hide(){u.open=!1,u.message="",u.triggerRect={width:0,height:0,top:0,left:0}}},C=r.withErrorBoundary(X),B={isUnsupportedChainView(){return r.RouterController.state.view==="UnsupportedChain"||r.RouterController.state.view==="SwitchNetwork"&&r.RouterController.state.history.includes("UnsupportedChain")},async safeClose(){if(this.isUnsupportedChainView()){r.ModalController.shake();return}if(await r.SIWXUtil.isSIWXCloseDisabled()){r.ModalController.shake();return}r.ModalController.close()}},Y=i.i`
2
2
  :host {
3
3
  display: block;
4
4
  border-radius: clamp(0px, var(--wui-border-radius-l), 44px);