@antseed/payments 0.1.21 → 0.1.23

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 (93) hide show
  1. package/dist/crypto-context.js +3 -1
  2. package/dist/crypto-context.js.map +1 -1
  3. package/dist/routes.js +3 -1
  4. package/dist/routes.js.map +1 -1
  5. package/dist/web/assets/{add-CnMN3crk.js → add-Xa6VwgBs.js} +1 -1
  6. package/dist/web/assets/{all-wallets-CY8BcvnH.js → all-wallets-_7tK_3rU.js} +1 -1
  7. package/dist/web/assets/{app-store-OpsQnL6b.js → app-store-CvPbc9xf.js} +1 -1
  8. package/dist/web/assets/{apple-ea3D3QG1.js → apple-D6rHABoQ.js} +1 -1
  9. package/dist/web/assets/{arrow-bottom-B1RJNhVt.js → arrow-bottom-Oh-SSqKm.js} +1 -1
  10. package/dist/web/assets/{arrow-bottom-circle-CrgfViQF.js → arrow-bottom-circle-oXHkE94z.js} +1 -1
  11. package/dist/web/assets/{arrow-left-DkHmoNvs.js → arrow-left-CEPqdfOP.js} +1 -1
  12. package/dist/web/assets/{arrow-right-Csa95zhd.js → arrow-right-sxQ6DvaH.js} +1 -1
  13. package/dist/web/assets/{arrow-top-FaPVX-uA.js → arrow-top-zyO4l99J.js} +1 -1
  14. package/dist/web/assets/{bank-BdQ45jz6.js → bank-BpdtDb-B.js} +1 -1
  15. package/dist/web/assets/{basic-CYj2N0nx.js → basic-BpgGClMB.js} +1 -1
  16. package/dist/web/assets/{browser-BoS_K-M3.js → browser-Bx7qad9N.js} +1 -1
  17. package/dist/web/assets/{card-BtYRyglp.js → card-by-ukJcU.js} +1 -1
  18. package/dist/web/assets/{ccip-B4aTczMO.js → ccip-C3NeGF9a.js} +1 -1
  19. package/dist/web/assets/{checkmark-C4aM1CTR.js → checkmark-JLX4iYtJ.js} +1 -1
  20. package/dist/web/assets/{checkmark-bold-CwiMjf2_.js → checkmark-bold-CRPEzZrF.js} +1 -1
  21. package/dist/web/assets/{chevron-bottom-Dg2nJ-vc.js → chevron-bottom-BLuTkPAL.js} +1 -1
  22. package/dist/web/assets/{chevron-left-BT4V5m6Y.js → chevron-left-BgGEWeyM.js} +1 -1
  23. package/dist/web/assets/{chevron-right-DhickjFC.js → chevron-right-BpFfHw_i.js} +1 -1
  24. package/dist/web/assets/{chevron-top-CVkdNR-y.js → chevron-top-fs6udA3C.js} +1 -1
  25. package/dist/web/assets/{chrome-store-CtpJcJBk.js → chrome-store-ClBo1bJu.js} +1 -1
  26. package/dist/web/assets/{clock-Ddq19c2D.js → clock-Cj6kCk6z.js} +1 -1
  27. package/dist/web/assets/{close-Ch_Zjhnl.js → close-vlMGvOxT.js} +1 -1
  28. package/dist/web/assets/{coinPlaceholder-Dk0xB-4L.js → coinPlaceholder-gewRnZ-U.js} +1 -1
  29. package/dist/web/assets/{compass-DHU-Eoc1.js → compass-BcvEPtIe.js} +1 -1
  30. package/dist/web/assets/{copy-CIH7xqvE.js → copy-CHRQ5mN8.js} +1 -1
  31. package/dist/web/assets/{core-C3Yl6Mm6.js → core-_jsZGLDb.js} +4 -4
  32. package/dist/web/assets/{cursor-D3PJzTqV.js → cursor-LDmplByV.js} +1 -1
  33. package/dist/web/assets/{cursor-transparent-BPNS5ab7.js → cursor-transparent-CbB2iHi6.js} +1 -1
  34. package/dist/web/assets/{desktop-_65_UECo.js → desktop-D4Rme82h.js} +1 -1
  35. package/dist/web/assets/{disconnect-6eyuiyri.js → disconnect-C9YFqGy3.js} +1 -1
  36. package/dist/web/assets/{discord-Cf2hwWyf.js → discord-Dk1nFRSm.js} +1 -1
  37. package/dist/web/assets/{etherscan-BapHdepb.js → etherscan-0SZfOukd.js} +1 -1
  38. package/dist/web/assets/{exclamation-triangle-DNuKoicx.js → exclamation-triangle-D2QW2ABb.js} +1 -1
  39. package/dist/web/assets/{extension-CittGz5d.js → extension-fdcizMOi.js} +1 -1
  40. package/dist/web/assets/{external-link-BPb10Q9a.js → external-link-dUMQRmy9.js} +1 -1
  41. package/dist/web/assets/{facebook-CzRVpdnP.js → facebook-CNDvqbVs.js} +1 -1
  42. package/dist/web/assets/{farcaster-B-lGNr6N.js → farcaster-DvdTsHie.js} +1 -1
  43. package/dist/web/assets/{filters--rzAOlrK.js → filters-ayvZramx.js} +1 -1
  44. package/dist/web/assets/{github-CTEelle6.js → github-CWBgevF3.js} +1 -1
  45. package/dist/web/assets/{google-CmzeLQ_U.js → google-DIZD3EO7.js} +1 -1
  46. package/dist/web/assets/{help-circle-BLW90gxf.js → help-circle-Bw2AjFNI.js} +1 -1
  47. package/dist/web/assets/{id-E4FhvAgG.js → id-D0hbTsKQ.js} +1 -1
  48. package/dist/web/assets/{image-ColOE3YA.js → image-CMwGqrf7.js} +1 -1
  49. package/dist/web/assets/{index-Cqasp_n2.js → index-BuwufhAO.js} +1 -1
  50. package/dist/web/assets/{index-Ag1x6xBG.js → index-Ci1EesAV.js} +1 -1
  51. package/dist/web/assets/{index-dHgF-FOE.js → index-Cta5Kr65.js} +3 -3
  52. package/dist/web/assets/{index-DTf1bmxt.js → index-D0h_2y-X.js} +72 -72
  53. package/dist/web/assets/{index-C9xiIbcG.js → index-z5fPs5TE.js} +1 -1
  54. package/dist/web/assets/{index.es-ALp3MGS5.js → index.es-Cs_Dpnrh.js} +4 -4
  55. package/dist/web/assets/{info-Br_-WZd9.js → info-De0REEAA.js} +1 -1
  56. package/dist/web/assets/{info-circle-D78XIBku.js → info-circle-BWa3u_Nb.js} +1 -1
  57. package/dist/web/assets/{lightbulb-C1ECZ8jL.js → lightbulb-C9PTOnOl.js} +1 -1
  58. package/dist/web/assets/{mail-Do2GnVbr.js → mail-BZmXyZDs.js} +1 -1
  59. package/dist/web/assets/{metamask-sdk-CgX-loxF.js → metamask-sdk-WAypaKEK.js} +1 -1
  60. package/dist/web/assets/{mobile-D50Myghj.js → mobile-BOAnYtjx.js} +1 -1
  61. package/dist/web/assets/{more-vq2zeyDZ.js → more-DcjrplTh.js} +1 -1
  62. package/dist/web/assets/{network-placeholder-D07MKx65.js → network-placeholder-B8rGzK_6.js} +1 -1
  63. package/dist/web/assets/{nftPlaceholder-BTd7mq2G.js → nftPlaceholder-DCvi3BW4.js} +1 -1
  64. package/dist/web/assets/{off-DnWATN7w.js → off-BQY0BdAo.js} +1 -1
  65. package/dist/web/assets/{play-store-Dw6y8hrx.js → play-store-IEl4e29q.js} +1 -1
  66. package/dist/web/assets/{plus-CJIfFTYE.js → plus-CpqZX6yx.js} +1 -1
  67. package/dist/web/assets/{qr-code-C-FBJMjl.js → qr-code-Y6_W6BHy.js} +1 -1
  68. package/dist/web/assets/{recycle-horizontal-BX_gsTVv.js → recycle-horizontal-DIwArXbG.js} +1 -1
  69. package/dist/web/assets/{refresh-Igllc8bx.js → refresh-FVkynDqF.js} +1 -1
  70. package/dist/web/assets/{reown-logo-z9Aesban.js → reown-logo-DomvDWmp.js} +1 -1
  71. package/dist/web/assets/{search-C-Rknfr6.js → search-C1qabH5F.js} +1 -1
  72. package/dist/web/assets/{secp256k1-6d2CBDnL.js → secp256k1-C2eLcppW.js} +1 -1
  73. package/dist/web/assets/{secp256k1-Uj-zatzh.js → secp256k1-DfrCeeed.js} +1 -1
  74. package/dist/web/assets/{send-k0QJymly.js → send-B3IAqBhL.js} +1 -1
  75. package/dist/web/assets/{swapHorizontal-BAueetaF.js → swapHorizontal-Bozucwzg.js} +1 -1
  76. package/dist/web/assets/{swapHorizontalBold-CoG1Ey0L.js → swapHorizontalBold-DVdPkxTS.js} +1 -1
  77. package/dist/web/assets/{swapHorizontalMedium-DBqBgzBM.js → swapHorizontalMedium-B6Vl3H-L.js} +1 -1
  78. package/dist/web/assets/{swapHorizontalRoundedBold-Cw2ZXD15.js → swapHorizontalRoundedBold-rtDGk7rv.js} +1 -1
  79. package/dist/web/assets/{swapVertical-Bh1Ycta5.js → swapVertical-ROoZrSu1.js} +1 -1
  80. package/dist/web/assets/{telegram-bdNgqRn8.js → telegram-majIgY6f.js} +1 -1
  81. package/dist/web/assets/{three-dots-DI11H0oD.js → three-dots-C5MB193j.js} +1 -1
  82. package/dist/web/assets/{twitch-Bwu0TgyB.js → twitch-I8fHxWTP.js} +1 -1
  83. package/dist/web/assets/{twitterIcon-Bu0Rh7Om.js → twitterIcon-CrlL7WQb.js} +1 -1
  84. package/dist/web/assets/{verify-filled-D58UQZWu.js → verify-filled-CBjxlGRM.js} +1 -1
  85. package/dist/web/assets/{verify-DZDJ6x_t.js → verify-qbAdXjUY.js} +1 -1
  86. package/dist/web/assets/{w3m-modal-CPJVgPFT.js → w3m-modal-8_oqco51.js} +1 -1
  87. package/dist/web/assets/{wallet-Y9MCfLD3.js → wallet-CU2-8skg.js} +1 -1
  88. package/dist/web/assets/{wallet-placeholder-DuDXqEaN.js → wallet-placeholder-D8ikvLeF.js} +1 -1
  89. package/dist/web/assets/{walletconnect-C3X4V4na.js → walletconnect-CcJQ4S2L.js} +1 -1
  90. package/dist/web/assets/{warning-circle-C4YIEenB.js → warning-circle-DEpj9rgp.js} +1 -1
  91. package/dist/web/assets/{x-Da_Yzzg_.js → x-waQdA2wx.js} +1 -1
  92. package/dist/web/index.html +1 -1
  93. package/package.json +2 -2
@@ -1,3 +1,3 @@
1
- import{w as o}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const l=o` <svg fill="none" viewBox="0 0 13 4">
1
+ import{w as o}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const l=o` <svg fill="none" viewBox="0 0 13 4">
2
2
  <path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
3
3
  </svg>`;export{l as cursorSvg};
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const a=o`<svg fill="none" viewBox="0 0 14 6">
1
+ import{w as o}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const a=o`<svg fill="none" viewBox="0 0 14 6">
2
2
  <path style="fill: var(--wui-color-bg-150);" d="M0 1h14L9.21 5.12a3.31 3.31 0 0 1-4.49 0L0 1Z" />
3
3
  <path
4
4
  style="stroke: var(--wui-color-inverse-100);"
@@ -1,4 +1,4 @@
1
- import{w as c}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const e=c`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as c}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const e=c`<svg fill="none" viewBox="0 0 20 20">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const r=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const r=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as l}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const p=l`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as l}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const p=l`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#5865F2" />
@@ -1,4 +1,4 @@
1
- import{w as c}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const a=c`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as c}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const a=c`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z"
@@ -1,4 +1,4 @@
1
- import{w as C}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const l=C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ import{w as C}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const l=C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
3
3
  </svg>
4
4
  `;export{l as exclamationTriangleSvg};
@@ -1,4 +1,4 @@
1
- import{w as a}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const i=a`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as a}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const i=a`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as l}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const t=l`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as l}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const t=l`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as l}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const t=l`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as l}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const t=l`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#1877F2" />
@@ -1,4 +1,4 @@
1
- import{w as h}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const i=h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
1
+ import{w as h}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const i=h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
2
2
  <rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
3
3
  <path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
4
4
  <path
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as i}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const p=i`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as i}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const p=i`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#1B1F23" />
@@ -1,4 +1,4 @@
1
- import{w as l}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const p=l`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as l}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const p=l`<svg fill="none" viewBox="0 0 40 40">
2
2
  <path
3
3
  fill="#4285F4"
4
4
  d="M32.74 20.3c0-.93-.08-1.81-.24-2.66H20.26v5.03h7a6 6 0 0 1-2.62 3.91v3.28h4.22c2.46-2.27 3.88-5.6 3.88-9.56Z"
@@ -1,4 +1,4 @@
1
- import{w as l}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const c=l`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as l}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const c=l`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M8.51 5.66a.83.83 0 0 0-.57-.2.83.83 0 0 0-.52.28.8.8 0 0 0-.25.52 1 1 0 0 1-2 0c0-.75.34-1.43.81-1.91a2.75 2.75 0 0 1 4.78 1.92c0 1.24-.8 1.86-1.25 2.2l-.04.03c-.47.36-.5.43-.5.65a1 1 0 1 1-2 0c0-1.25.8-1.86 1.24-2.2l.04-.04c.47-.36.5-.43.5-.65 0-.3-.1-.49-.24-.6ZM9.12 11.87a1.13 1.13 0 1 1-2.25 0 1.13 1.13 0 0 1 2.25 0Z"
@@ -1,4 +1,4 @@
1
- import{w as c}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const v=c`<svg
1
+ import{w as c}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const v=c`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  width="28"
4
4
  height="28"
@@ -1,4 +1,4 @@
1
- import{w as C}from"./core-C3Yl6Mm6.js";import"./index-DTf1bmxt.js";import"./index.es-ALp3MGS5.js";import"./events-DQ172AOg.js";const l=C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
1
+ import{w as C}from"./core-_jsZGLDb.js";import"./index-D0h_2y-X.js";import"./index.es-Cs_Dpnrh.js";import"./events-DQ172AOg.js";const l=C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
2
2
  <path d="M4.98926 3.73932C4.2989 3.73932 3.73926 4.29896 3.73926 4.98932C3.73926 5.67968 4.2989 6.23932 4.98926 6.23932C5.67962 6.23932 6.23926 5.67968 6.23926 4.98932C6.23926 4.29896 5.67962 3.73932 4.98926 3.73932Z" fill="currentColor"/>
3
3
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7.60497 0.500001H6.39504C5.41068 0.499977 4.59185 0.499958 3.93178 0.571471C3.24075 0.64634 2.60613 0.809093 2.04581 1.21619C1.72745 1.44749 1.44749 1.72745 1.21619 2.04581C0.809093 2.60613 0.64634 3.24075 0.571471 3.93178C0.499958 4.59185 0.499977 5.41065 0.500001 6.39501V7.57815C0.499998 8.37476 0.499995 9.05726 0.534869 9.62725C0.570123 10.2034 0.644114 10.7419 0.828442 11.2302C0.925651 11.4877 1.05235 11.7287 1.21619 11.9542C1.44749 12.2726 1.72745 12.5525 2.04581 12.7838C2.60613 13.1909 3.24075 13.3537 3.93178 13.4285C4.59185 13.5001 5.41066 13.5 6.39503 13.5H7.60496C8.58933 13.5 9.40815 13.5001 10.0682 13.4285C10.7593 13.3537 11.3939 13.1909 11.9542 12.7838C12.2726 12.5525 12.5525 12.2726 12.7838 11.9542C13.1909 11.3939 13.3537 10.7593 13.4285 10.0682C13.5 9.40816 13.5 8.58935 13.5 7.60497V6.39505C13.5 5.41068 13.5 4.59185 13.4285 3.93178C13.3537 3.24075 13.1909 2.60613 12.7838 2.04581C12.5525 1.72745 12.2726 1.44749 11.9542 1.21619C11.3939 0.809093 10.7593 0.64634 10.0682 0.571471C9.40816 0.499958 8.58933 0.499977 7.60497 0.500001ZM3.22138 2.83422C3.38394 2.71612 3.62634 2.61627 4.14721 2.55984C4.68679 2.50138 5.39655 2.5 6.45 2.5H7.55C8.60345 2.5 9.31322 2.50138 9.8528 2.55984C10.3737 2.61627 10.6161 2.71612 10.7786 2.83422C10.9272 2.94216 11.0578 3.07281 11.1658 3.22138C11.2839 3.38394 11.3837 3.62634 11.4402 4.14721C11.4986 4.68679 11.5 5.39655 11.5 6.45V6.49703C10.9674 6.11617 10.386 5.84936 9.74213 5.81948C8.40536 5.75745 7.3556 6.73051 6.40509 7.84229C6.33236 7.92737 6.27406 7.98735 6.22971 8.02911L6.1919 8.00514L6.17483 7.99427C6.09523 7.94353 5.98115 7.87083 5.85596 7.80302C5.56887 7.64752 5.18012 7.4921 4.68105 7.4921C4.66697 7.4921 4.6529 7.49239 4.63884 7.49299C3.79163 7.52878 3.09922 8.1106 2.62901 8.55472C2.58751 8.59392 2.54594 8.6339 2.50435 8.6745C2.50011 8.34653 2.5 7.97569 2.5 7.55V6.45C2.5 5.39655 2.50138 4.68679 2.55984 4.14721C2.61627 3.62634 2.71612 3.38394 2.83422 3.22138C2.94216 3.07281 3.07281 2.94216 3.22138 2.83422ZM10.3703 8.14825C10.6798 8.37526 11.043 8.71839 11.4832 9.20889C11.4744 9.44992 11.4608 9.662 11.4402 9.8528C11.3837 10.3737 11.2839 10.6161 11.1658 10.7786C11.0578 10.9272 10.9272 11.0578 10.7786 11.1658C10.6161 11.2839 10.3737 11.3837 9.8528 11.4402C9.31322 11.4986 8.60345 11.5 7.55 11.5H6.45C5.39655 11.5 4.68679 11.4986 4.14721 11.4402C3.62634 11.3837 3.38394 11.2839 3.22138 11.1658C3.15484 11.1174 3.0919 11.0645 3.03298 11.0075C3.10126 10.9356 3.16806 10.8649 3.23317 10.7959L3.29772 10.7276C3.55763 10.4525 3.78639 10.2126 4.00232 10.0087C4.22016 9.80294 4.39412 9.66364 4.53524 9.57742C4.63352 9.51738 4.69022 9.49897 4.71275 9.49345C4.76387 9.49804 4.81803 9.51537 4.90343 9.56162C4.96409 9.59447 5.02355 9.63225 5.11802 9.69238L5.12363 9.69595C5.20522 9.74789 5.32771 9.82587 5.46078 9.89278C5.76529 10.0459 6.21427 10.186 6.74977 10.0158C7.21485 9.86796 7.59367 9.52979 7.92525 9.14195C8.91377 7.98571 9.38267 7.80495 9.64941 7.81733C9.7858 7.82366 10.0101 7.884 10.3703 8.14825Z" fill="currentColor"/>
4
4
  </svg>`;export{l as imageSvg};
@@ -1,4 +1,4 @@
1
- import{r as lv,n as bv}from"./index-DTf1bmxt.js";import{r as mv}from"./index-kzlEvkEN.js";import{r as hv}from"./events-DQ172AOg.js";function yv(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function pv(){if(typeof WebSocket<"u")return WebSocket;if(typeof global.WebSocket<"u")return global.WebSocket;if(typeof window.WebSocket<"u")return window.WebSocket;if(typeof self.WebSocket<"u")return self.WebSocket;throw new Error("`WebSocket` is not supported in this environment")}const gv=pv(),_v=Object.freeze(Object.defineProperty({__proto__:null,WebSocket:gv},Symbol.toStringTag,{value:"Module"}));var pd={},On={},xt={},Zr={},jr={},xn={},Cn={},al;function G1(){if(al)return Cn;al=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.getSDKVersion=void 0;const e=()=>"9.1.0";return Cn.getSDKVersion=e,Cn}var qn={},sl;function vv(){if(sl)return qn;sl=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.generateRequestId=void 0;const e=r=>r.toString(16).padStart(2,"0"),t=r=>{const o=new Uint8Array(r/2);return window.crypto.getRandomValues(o),Array.from(o,e).join("")},n=()=>typeof window<"u"?t(10):new Date().getTime().toString(36);return qn.generateRequestId=n,qn}var cl;function V1(){if(cl)return xn;cl=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.MessageFormatter=void 0;const e=G1(),t=vv();class n{}return xn.MessageFormatter=n,n.makeRequest=(r,o)=>({id:(0,t.generateRequestId)(),method:r,params:o,env:{sdkVersion:(0,e.getSDKVersion)()}}),n.makeResponse=(r,o,s)=>({id:r,success:!0,version:s,data:o}),n.makeErrorResponse=(r,o,s)=>({id:r,success:!1,error:o,version:s}),xn}var wr={},ul;function Fr(){if(ul)return wr;ul=1,Object.defineProperty(wr,"__esModule",{value:!0}),wr.RestrictedMethods=wr.Methods=void 0;var e;(function(n){n.sendTransactions="sendTransactions",n.rpcCall="rpcCall",n.getChainInfo="getChainInfo",n.getSafeInfo="getSafeInfo",n.getTxBySafeTxHash="getTxBySafeTxHash",n.getSafeBalances="getSafeBalances",n.signMessage="signMessage",n.signTypedMessage="signTypedMessage",n.getEnvironmentInfo="getEnvironmentInfo",n.getOffChainSignature="getOffChainSignature",n.requestAddressBook="requestAddressBook",n.wallet_getPermissions="wallet_getPermissions",n.wallet_requestPermissions="wallet_requestPermissions"})(e||(wr.Methods=e={}));var t;return(function(n){n.requestAddressBook="requestAddressBook"})(t||(wr.RestrictedMethods=t={})),wr}var dl;function Ev(){return dl||(dl=1,(function(e){var t=jr&&jr.__createBinding||(Object.create?(function(s,i,a,c){c===void 0&&(c=a);var d=Object.getOwnPropertyDescriptor(i,a);(!d||("get"in d?!i.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(s,c,d)}):(function(s,i,a,c){c===void 0&&(c=a),s[c]=i[a]})),n=jr&&jr.__exportStar||function(s,i){for(var a in s)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&t(i,s,a)};Object.defineProperty(e,"__esModule",{value:!0});const r=V1();class o{constructor(i=null,a=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:c,data:d,source:l})=>{const f=!d,m=!this.isServer&&l===window.parent,g=typeof d.version<"u"&&parseInt(d.version.split(".")[0]),h=typeof g=="number"&&g>=1;let b=!0;return Array.isArray(this.allowedOrigins)&&(b=this.allowedOrigins.find(v=>v.test(c))!==void 0),!f&&m&&h&&b},this.logIncomingMessage=c=>{console.info(`Safe Apps SDK v1: A message was received from origin ${c.origin}. `,c.data)},this.onParentMessage=c=>{this.isValidMessage(c)&&(this.debugMode&&this.logIncomingMessage(c),this.handleIncomingMessage(c.data))},this.handleIncomingMessage=c=>{const{id:d}=c,l=this.callbacks.get(d);l&&(l(c),this.callbacks.delete(d))},this.send=(c,d)=>{const l=r.MessageFormatter.makeRequest(c,d);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(l,"*"),new Promise((f,m)=>{this.callbacks.set(l.id,g=>{if(!g.success){m(new Error(g.error));return}f(g)})})},this.allowedOrigins=i,this.debugMode=a,this.isServer||window.addEventListener("message",this.onParentMessage)}}e.default=o,n(Fr(),e)})(jr)),jr}var Mn={},Pr={},Hn={},fl;function jv(){if(fl)return Hn;fl=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.isObjectEIP712TypedData=void 0;const e=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;return Hn.isObjectEIP712TypedData=e,Hn}var gd={},ll;function wv(){return ll||(ll=1,Object.defineProperty(gd,"__esModule",{value:!0})),gd}var _d={},bl;function Pv(){return bl||(bl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TransferDirection=e.TransactionStatus=e.TokenType=e.Operation=void 0;var t=mv();Object.defineProperty(e,"Operation",{enumerable:!0,get:function(){return t.Operation}}),Object.defineProperty(e,"TokenType",{enumerable:!0,get:function(){return t.TokenType}}),Object.defineProperty(e,"TransactionStatus",{enumerable:!0,get:function(){return t.TransactionStatus}}),Object.defineProperty(e,"TransferDirection",{enumerable:!0,get:function(){return t.TransferDirection}})})(_d)),_d}var vd={},ml;function Av(){return ml||(ml=1,Object.defineProperty(vd,"__esModule",{value:!0}),Fr()),vd}var hl;function Zd(){return hl||(hl=1,(function(e){var t=Pr&&Pr.__createBinding||(Object.create?(function(r,o,s,i){i===void 0&&(i=s);var a=Object.getOwnPropertyDescriptor(o,s);(!a||("get"in a?!o.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return o[s]}}),Object.defineProperty(r,i,a)}):(function(r,o,s,i){i===void 0&&(i=s),r[i]=o[s]})),n=Pr&&Pr.__exportStar||function(r,o){for(var s in r)s!=="default"&&!Object.prototype.hasOwnProperty.call(o,s)&&t(o,r,s)};Object.defineProperty(e,"__esModule",{value:!0}),n(jv(),e),n(wv(),e),n(Pv(),e),n(Av(),e)})(Pr)),Pr}var yl;function Tv(){if(yl)return Mn;yl=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.TXs=void 0;const e=Fr(),t=Zd();class n{constructor(o){this.communicator=o}async getBySafeTxHash(o){if(!o)throw new Error("Invalid safeTxHash");return(await this.communicator.send(e.Methods.getTxBySafeTxHash,{safeTxHash:o})).data}async signMessage(o){const s={message:o};return(await this.communicator.send(e.Methods.signMessage,s)).data}async signTypedMessage(o){if(!(0,t.isObjectEIP712TypedData)(o))throw new Error("Invalid typed data");return(await this.communicator.send(e.Methods.signTypedMessage,{typedData:o})).data}async send({txs:o,params:s}){if(!o||!o.length)throw new Error("No transactions were passed");const i={txs:o,params:s};return(await this.communicator.send(e.Methods.sendTransactions,i)).data}}return Mn.TXs=n,Mn}var kn={},Fn={},pl;function Jd(){return pl||(pl=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.RPC_CALLS=void 0,Fn.RPC_CALLS={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"}),Fn}var gl;function Sv(){if(gl)return kn;gl=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.Eth=void 0;const e=Jd(),t=Fr(),n={defaultBlockParam:(o="latest")=>o,returnFullTxObjectParam:(o=!1)=>o,blockNumberToHex:o=>Number.isInteger(o)?`0x${o.toString(16)}`:o};class r{constructor(s){this.communicator=s,this.call=this.buildRequest({call:e.RPC_CALLS.eth_call,formatters:[null,n.defaultBlockParam]}),this.getBalance=this.buildRequest({call:e.RPC_CALLS.eth_getBalance,formatters:[null,n.defaultBlockParam]}),this.getCode=this.buildRequest({call:e.RPC_CALLS.eth_getCode,formatters:[null,n.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:e.RPC_CALLS.eth_getStorageAt,formatters:[null,n.blockNumberToHex,n.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:e.RPC_CALLS.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:e.RPC_CALLS.eth_getBlockByHash,formatters:[null,n.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:e.RPC_CALLS.eth_getBlockByNumber,formatters:[n.blockNumberToHex,n.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:e.RPC_CALLS.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:e.RPC_CALLS.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:e.RPC_CALLS.eth_getTransactionCount,formatters:[null,n.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:e.RPC_CALLS.eth_gasPrice}),this.getEstimateGas=i=>this.buildRequest({call:e.RPC_CALLS.eth_estimateGas})([i]),this.setSafeSettings=this.buildRequest({call:e.RPC_CALLS.safe_setSettings})}buildRequest(s){const{call:i,formatters:a}=s;return async c=>{a&&Array.isArray(c)&&a.forEach((f,m)=>{f&&(c[m]=f(c[m]))});const d={call:i,params:c||[]};return(await this.communicator.send(t.Methods.rpcCall,d)).data}}}return kn.Eth=r,kn}var Ct={},Ed={},jd={},Nn={},zn={},_l;function Iv(){return _l||(_l=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.version=void 0,zn.version="1.2.3"),zn}var vl;function pn(){if(vl)return Nn;vl=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.BaseError=void 0;const e=Iv();class t extends Error{constructor(r,o={}){var c;const s=o.cause instanceof t?o.cause.details:(c=o.cause)!=null&&c.message?o.cause.message:o.details,i=o.cause instanceof t&&o.cause.docsPath||o.docsPath,a=[r||"An error occurred.","",...o.metaMessages?[...o.metaMessages,""]:[],...i?[`Docs: https://abitype.dev${i}`]:[],...s?[`Details: ${s}`]:[],`Version: abitype@${e.version}`].join(`
1
+ import{r as lv,n as bv}from"./index-D0h_2y-X.js";import{r as mv}from"./index-kzlEvkEN.js";import{r as hv}from"./events-DQ172AOg.js";function yv(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function pv(){if(typeof WebSocket<"u")return WebSocket;if(typeof global.WebSocket<"u")return global.WebSocket;if(typeof window.WebSocket<"u")return window.WebSocket;if(typeof self.WebSocket<"u")return self.WebSocket;throw new Error("`WebSocket` is not supported in this environment")}const gv=pv(),_v=Object.freeze(Object.defineProperty({__proto__:null,WebSocket:gv},Symbol.toStringTag,{value:"Module"}));var pd={},On={},xt={},Zr={},jr={},xn={},Cn={},al;function G1(){if(al)return Cn;al=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.getSDKVersion=void 0;const e=()=>"9.1.0";return Cn.getSDKVersion=e,Cn}var qn={},sl;function vv(){if(sl)return qn;sl=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.generateRequestId=void 0;const e=r=>r.toString(16).padStart(2,"0"),t=r=>{const o=new Uint8Array(r/2);return window.crypto.getRandomValues(o),Array.from(o,e).join("")},n=()=>typeof window<"u"?t(10):new Date().getTime().toString(36);return qn.generateRequestId=n,qn}var cl;function V1(){if(cl)return xn;cl=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.MessageFormatter=void 0;const e=G1(),t=vv();class n{}return xn.MessageFormatter=n,n.makeRequest=(r,o)=>({id:(0,t.generateRequestId)(),method:r,params:o,env:{sdkVersion:(0,e.getSDKVersion)()}}),n.makeResponse=(r,o,s)=>({id:r,success:!0,version:s,data:o}),n.makeErrorResponse=(r,o,s)=>({id:r,success:!1,error:o,version:s}),xn}var wr={},ul;function Fr(){if(ul)return wr;ul=1,Object.defineProperty(wr,"__esModule",{value:!0}),wr.RestrictedMethods=wr.Methods=void 0;var e;(function(n){n.sendTransactions="sendTransactions",n.rpcCall="rpcCall",n.getChainInfo="getChainInfo",n.getSafeInfo="getSafeInfo",n.getTxBySafeTxHash="getTxBySafeTxHash",n.getSafeBalances="getSafeBalances",n.signMessage="signMessage",n.signTypedMessage="signTypedMessage",n.getEnvironmentInfo="getEnvironmentInfo",n.getOffChainSignature="getOffChainSignature",n.requestAddressBook="requestAddressBook",n.wallet_getPermissions="wallet_getPermissions",n.wallet_requestPermissions="wallet_requestPermissions"})(e||(wr.Methods=e={}));var t;return(function(n){n.requestAddressBook="requestAddressBook"})(t||(wr.RestrictedMethods=t={})),wr}var dl;function Ev(){return dl||(dl=1,(function(e){var t=jr&&jr.__createBinding||(Object.create?(function(s,i,a,c){c===void 0&&(c=a);var d=Object.getOwnPropertyDescriptor(i,a);(!d||("get"in d?!i.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(s,c,d)}):(function(s,i,a,c){c===void 0&&(c=a),s[c]=i[a]})),n=jr&&jr.__exportStar||function(s,i){for(var a in s)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&t(i,s,a)};Object.defineProperty(e,"__esModule",{value:!0});const r=V1();class o{constructor(i=null,a=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:c,data:d,source:l})=>{const f=!d,m=!this.isServer&&l===window.parent,g=typeof d.version<"u"&&parseInt(d.version.split(".")[0]),h=typeof g=="number"&&g>=1;let b=!0;return Array.isArray(this.allowedOrigins)&&(b=this.allowedOrigins.find(v=>v.test(c))!==void 0),!f&&m&&h&&b},this.logIncomingMessage=c=>{console.info(`Safe Apps SDK v1: A message was received from origin ${c.origin}. `,c.data)},this.onParentMessage=c=>{this.isValidMessage(c)&&(this.debugMode&&this.logIncomingMessage(c),this.handleIncomingMessage(c.data))},this.handleIncomingMessage=c=>{const{id:d}=c,l=this.callbacks.get(d);l&&(l(c),this.callbacks.delete(d))},this.send=(c,d)=>{const l=r.MessageFormatter.makeRequest(c,d);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(l,"*"),new Promise((f,m)=>{this.callbacks.set(l.id,g=>{if(!g.success){m(new Error(g.error));return}f(g)})})},this.allowedOrigins=i,this.debugMode=a,this.isServer||window.addEventListener("message",this.onParentMessage)}}e.default=o,n(Fr(),e)})(jr)),jr}var Mn={},Pr={},Hn={},fl;function jv(){if(fl)return Hn;fl=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.isObjectEIP712TypedData=void 0;const e=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;return Hn.isObjectEIP712TypedData=e,Hn}var gd={},ll;function wv(){return ll||(ll=1,Object.defineProperty(gd,"__esModule",{value:!0})),gd}var _d={},bl;function Pv(){return bl||(bl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TransferDirection=e.TransactionStatus=e.TokenType=e.Operation=void 0;var t=mv();Object.defineProperty(e,"Operation",{enumerable:!0,get:function(){return t.Operation}}),Object.defineProperty(e,"TokenType",{enumerable:!0,get:function(){return t.TokenType}}),Object.defineProperty(e,"TransactionStatus",{enumerable:!0,get:function(){return t.TransactionStatus}}),Object.defineProperty(e,"TransferDirection",{enumerable:!0,get:function(){return t.TransferDirection}})})(_d)),_d}var vd={},ml;function Av(){return ml||(ml=1,Object.defineProperty(vd,"__esModule",{value:!0}),Fr()),vd}var hl;function Zd(){return hl||(hl=1,(function(e){var t=Pr&&Pr.__createBinding||(Object.create?(function(r,o,s,i){i===void 0&&(i=s);var a=Object.getOwnPropertyDescriptor(o,s);(!a||("get"in a?!o.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return o[s]}}),Object.defineProperty(r,i,a)}):(function(r,o,s,i){i===void 0&&(i=s),r[i]=o[s]})),n=Pr&&Pr.__exportStar||function(r,o){for(var s in r)s!=="default"&&!Object.prototype.hasOwnProperty.call(o,s)&&t(o,r,s)};Object.defineProperty(e,"__esModule",{value:!0}),n(jv(),e),n(wv(),e),n(Pv(),e),n(Av(),e)})(Pr)),Pr}var yl;function Tv(){if(yl)return Mn;yl=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.TXs=void 0;const e=Fr(),t=Zd();class n{constructor(o){this.communicator=o}async getBySafeTxHash(o){if(!o)throw new Error("Invalid safeTxHash");return(await this.communicator.send(e.Methods.getTxBySafeTxHash,{safeTxHash:o})).data}async signMessage(o){const s={message:o};return(await this.communicator.send(e.Methods.signMessage,s)).data}async signTypedMessage(o){if(!(0,t.isObjectEIP712TypedData)(o))throw new Error("Invalid typed data");return(await this.communicator.send(e.Methods.signTypedMessage,{typedData:o})).data}async send({txs:o,params:s}){if(!o||!o.length)throw new Error("No transactions were passed");const i={txs:o,params:s};return(await this.communicator.send(e.Methods.sendTransactions,i)).data}}return Mn.TXs=n,Mn}var kn={},Fn={},pl;function Jd(){return pl||(pl=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.RPC_CALLS=void 0,Fn.RPC_CALLS={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"}),Fn}var gl;function Sv(){if(gl)return kn;gl=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.Eth=void 0;const e=Jd(),t=Fr(),n={defaultBlockParam:(o="latest")=>o,returnFullTxObjectParam:(o=!1)=>o,blockNumberToHex:o=>Number.isInteger(o)?`0x${o.toString(16)}`:o};class r{constructor(s){this.communicator=s,this.call=this.buildRequest({call:e.RPC_CALLS.eth_call,formatters:[null,n.defaultBlockParam]}),this.getBalance=this.buildRequest({call:e.RPC_CALLS.eth_getBalance,formatters:[null,n.defaultBlockParam]}),this.getCode=this.buildRequest({call:e.RPC_CALLS.eth_getCode,formatters:[null,n.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:e.RPC_CALLS.eth_getStorageAt,formatters:[null,n.blockNumberToHex,n.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:e.RPC_CALLS.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:e.RPC_CALLS.eth_getBlockByHash,formatters:[null,n.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:e.RPC_CALLS.eth_getBlockByNumber,formatters:[n.blockNumberToHex,n.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:e.RPC_CALLS.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:e.RPC_CALLS.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:e.RPC_CALLS.eth_getTransactionCount,formatters:[null,n.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:e.RPC_CALLS.eth_gasPrice}),this.getEstimateGas=i=>this.buildRequest({call:e.RPC_CALLS.eth_estimateGas})([i]),this.setSafeSettings=this.buildRequest({call:e.RPC_CALLS.safe_setSettings})}buildRequest(s){const{call:i,formatters:a}=s;return async c=>{a&&Array.isArray(c)&&a.forEach((f,m)=>{f&&(c[m]=f(c[m]))});const d={call:i,params:c||[]};return(await this.communicator.send(t.Methods.rpcCall,d)).data}}}return kn.Eth=r,kn}var Ct={},Ed={},jd={},Nn={},zn={},_l;function Iv(){return _l||(_l=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.version=void 0,zn.version="1.2.3"),zn}var vl;function pn(){if(vl)return Nn;vl=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.BaseError=void 0;const e=Iv();class t extends Error{constructor(r,o={}){var c;const s=o.cause instanceof t?o.cause.details:(c=o.cause)!=null&&c.message?o.cause.message:o.details,i=o.cause instanceof t&&o.cause.docsPath||o.docsPath,a=[r||"An error occurred.","",...o.metaMessages?[...o.metaMessages,""]:[],...i?[`Docs: https://abitype.dev${i}`]:[],...s?[`Details: ${s}`]:[],`Version: abitype@${e.version}`].join(`
2
2
  `);super(a),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),o.cause&&(this.cause=o.cause),this.details=s,this.docsPath=i,this.metaMessages=o.metaMessages,this.shortMessage=r}}return Nn.BaseError=t,Nn}var di={},El;function Rv(){if(El)return di;El=1,Object.defineProperty(di,"__esModule",{value:!0}),di.narrow=e;function e(t){return t}return di}var fi={},li={},bi={},mi={},Tt={},jl;function Pu(){if(jl)return Tt;jl=1,Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.isTupleRegex=Tt.integerRegex=Tt.bytesRegex=void 0,Tt.execTyped=e;function e(t,n){const r=t.exec(n);return r==null?void 0:r.groups}return Tt.bytesRegex=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Tt.integerRegex=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,Tt.isTupleRegex=/^\(.+?\).*?$/,Tt}var wl;function W1(){if(wl)return mi;wl=1,Object.defineProperty(mi,"__esModule",{value:!0}),mi.formatAbiParameter=n;const e=Pu(),t=/^tuple(?<array>(\[(\d*)\])*)$/;function n(r){let o=r.type;if(t.test(r.type)&&"components"in r){o="(";const s=r.components.length;for(let a=0;a<s;a++){const c=r.components[a];o+=n(c),a<s-1&&(o+=", ")}const i=(0,e.execTyped)(t,r.type);return o+=`)${(i==null?void 0:i.array)||""}`,n({...r,type:o})}return"indexed"in r&&r.indexed&&(o=`${o} indexed`),r.name?`${o} ${r.name}`:o}return mi}var Pl;function K1(){if(Pl)return bi;Pl=1,Object.defineProperty(bi,"__esModule",{value:!0}),bi.formatAbiParameters=t;const e=W1();function t(n){let r="";const o=n.length;for(let s=0;s<o;s++){const i=n[s];r+=(0,e.formatAbiParameter)(i),s!==o-1&&(r+=", ")}return r}return bi}var Al;function Z1(){if(Al)return li;Al=1,Object.defineProperty(li,"__esModule",{value:!0}),li.formatAbiItem=t;const e=K1();function t(n){var r;return n.type==="function"?`function ${n.name}(${(0,e.formatAbiParameters)(n.inputs)})${n.stateMutability&&n.stateMutability!=="nonpayable"?` ${n.stateMutability}`:""}${(r=n.outputs)!=null&&r.length?` returns (${(0,e.formatAbiParameters)(n.outputs)})`:""}`:n.type==="event"?`event ${n.name}(${(0,e.formatAbiParameters)(n.inputs)})`:n.type==="error"?`error ${n.name}(${(0,e.formatAbiParameters)(n.inputs)})`:n.type==="constructor"?`constructor(${(0,e.formatAbiParameters)(n.inputs)})${n.stateMutability==="payable"?" payable":""}`:n.type==="fallback"?`fallback() external${n.stateMutability==="payable"?" payable":""}`:"receive() external payable"}return li}var Tl;function Bv(){if(Tl)return fi;Tl=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.formatAbi=t;const e=Z1();function t(n){const r=[],o=n.length;for(let s=0;s<o;s++){const i=n[s],a=(0,e.formatAbiItem)(i);r.push(a)}return r}return fi}var hi={},Re={},Sl;function gn(){if(Sl)return Re;Sl=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.functionModifiers=Re.eventModifiers=Re.modifiers=void 0,Re.isErrorSignature=n,Re.execErrorSignature=r,Re.isEventSignature=s,Re.execEventSignature=i,Re.isFunctionSignature=c,Re.execFunctionSignature=d,Re.isStructSignature=f,Re.execStructSignature=m,Re.isConstructorSignature=h,Re.execConstructorSignature=b,Re.isFallbackSignature=_,Re.execFallbackSignature=E,Re.isReceiveSignature=u;const e=Pu(),t=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function n(j){return t.test(j)}function r(j){return(0,e.execTyped)(t,j)}const o=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function s(j){return o.test(j)}function i(j){return(0,e.execTyped)(o,j)}const a=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/;function c(j){return a.test(j)}function d(j){return(0,e.execTyped)(a,j)}const l=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;function f(j){return l.test(j)}function m(j){return(0,e.execTyped)(l,j)}const g=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/;function h(j){return g.test(j)}function b(j){return(0,e.execTyped)(g,j)}const v=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/;function _(j){return v.test(j)}function E(j){return(0,e.execTyped)(v,j)}const P=/^receive\(\) external payable$/;function u(j){return P.test(j)}return Re.modifiers=new Set(["memory","indexed","storage","calldata"]),Re.eventModifiers=new Set(["indexed"]),Re.functionModifiers=new Set(["calldata","memory","storage"]),Re}var yi={},qt={},Il;function Au(){if(Il)return qt;Il=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.UnknownSolidityTypeError=qt.UnknownTypeError=qt.InvalidAbiItemError=void 0;const e=pn();class t extends e.BaseError{constructor({signature:s}){super("Failed to parse ABI item.",{details:`parseAbiItem(${JSON.stringify(s,null,2)})`,docsPath:"/api/human#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}}qt.InvalidAbiItemError=t;class n extends e.BaseError{constructor({type:s}){super("Unknown type.",{metaMessages:[`Type "${s}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}qt.UnknownTypeError=n;class r extends e.BaseError{constructor({type:s}){super("Unknown type.",{metaMessages:[`Type "${s}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}return qt.UnknownSolidityTypeError=r,qt}var ke={},Rl;function Co(){if(Rl)return ke;Rl=1,Object.defineProperty(ke,"__esModule",{value:!0}),ke.InvalidAbiTypeParameterError=ke.InvalidFunctionModifierError=ke.InvalidModifierError=ke.SolidityProtectedKeywordError=ke.InvalidParameterError=ke.InvalidAbiParametersError=ke.InvalidAbiParameterError=void 0;const e=pn();class t extends e.BaseError{constructor({param:d}){super("Failed to parse ABI parameter.",{details:`parseAbiParameter(${JSON.stringify(d,null,2)})`,docsPath:"/api/human#parseabiparameter-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParameterError"})}}ke.InvalidAbiParameterError=t;class n extends e.BaseError{constructor({params:d}){super("Failed to parse ABI parameters.",{details:`parseAbiParameters(${JSON.stringify(d,null,2)})`,docsPath:"/api/human#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}}ke.InvalidAbiParametersError=n;class r extends e.BaseError{constructor({param:d}){super("Invalid ABI parameter.",{details:d}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}ke.InvalidParameterError=r;class o extends e.BaseError{constructor({param:d,name:l}){super("Invalid ABI parameter.",{details:d,metaMessages:[`"${l}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}ke.SolidityProtectedKeywordError=o;class s extends e.BaseError{constructor({param:d,type:l,modifier:f}){super("Invalid ABI parameter.",{details:d,metaMessages:[`Modifier "${f}" not allowed${l?` in "${l}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}ke.InvalidModifierError=s;class i extends e.BaseError{constructor({param:d,type:l,modifier:f}){super("Invalid ABI parameter.",{details:d,metaMessages:[`Modifier "${f}" not allowed${l?` in "${l}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${f}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}ke.InvalidFunctionModifierError=i;class a extends e.BaseError{constructor({abiParameter:d}){super("Invalid ABI parameter.",{details:JSON.stringify(d,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}return ke.InvalidAbiTypeParameterError=a,ke}var Mt={},Bl;function Yd(){if(Bl)return Mt;Bl=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.InvalidStructSignatureError=Mt.UnknownSignatureError=Mt.InvalidSignatureError=void 0;const e=pn();class t extends e.BaseError{constructor({signature:s,type:i}){super(`Invalid ${i} signature.`,{details:s}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}Mt.InvalidSignatureError=t;class n extends e.BaseError{constructor({signature:s}){super("Unknown signature.",{details:s}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}Mt.UnknownSignatureError=n;class r extends e.BaseError{constructor({signature:s}){super("Invalid struct signature.",{details:s,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}return Mt.InvalidStructSignatureError=r,Mt}var Un={},Ol;function J1(){if(Ol)return Un;Ol=1,Object.defineProperty(Un,"__esModule",{value:!0}),Un.CircularReferenceError=void 0;const e=pn();class t extends e.BaseError{constructor({type:r}){super("Circular reference detected.",{metaMessages:[`Struct "${r}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}return Un.CircularReferenceError=t,Un}var Ye={},Ln={},xl;function Y1(){if(xl)return Ln;xl=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.InvalidParenthesisError=void 0;const e=pn();class t extends e.BaseError{constructor({current:r,depth:o}){super("Unbalanced parentheses.",{metaMessages:[`"${r.trim()}" has too many ${o>0?"opening":"closing"} parentheses.`],details:`Depth "${o}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}return Ln.InvalidParenthesisError=t,Ln}var Jr={},Cl;function Ov(){if(Cl)return Jr;Cl=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.parameterCache=void 0,Jr.getParameterCacheKey=e;function e(t,n,r){let o="";if(r)for(const s of Object.entries(r)){if(!s)continue;let i="";for(const a of s[1])i+=`[${a.type}${a.name?`:${a.name}`:""}]`;o+=`(${s[0]}{${i}})`}return n?`${n}:${t}${o}`:`${t}${o}`}return Jr.parameterCache=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]),Jr}var ql;function yn(){if(ql)return Ye;ql=1,Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.parseSignature=a,Ye.parseFunctionSignature=c,Ye.parseEventSignature=d,Ye.parseErrorSignature=l,Ye.parseConstructorSignature=f,Ye.parseFallbackSignature=m,Ye.parseAbiParameter=v,Ye.splitParameters=_,Ye.isSolidityType=E,Ye.isSolidityKeyword=u,Ye.isValidDataLocation=j;const e=Pu(),t=Au(),n=Co(),r=Yd(),o=Y1(),s=Ov(),i=gn();function a(p,y={}){if((0,i.isFunctionSignature)(p))return c(p,y);if((0,i.isEventSignature)(p))return d(p,y);if((0,i.isErrorSignature)(p))return l(p,y);if((0,i.isConstructorSignature)(p))return f(p,y);if((0,i.isFallbackSignature)(p))return m(p);if((0,i.isReceiveSignature)(p))return{type:"receive",stateMutability:"payable"};throw new r.UnknownSignatureError({signature:p})}function c(p,y={}){const I=(0,i.execFunctionSignature)(p);if(!I)throw new r.InvalidSignatureError({signature:p,type:"function"});const w=_(I.parameters),A=[],B=w.length;for(let S=0;S<B;S++)A.push(v(w[S],{modifiers:i.functionModifiers,structs:y,type:"function"}));const R=[];if(I.returns){const S=_(I.returns),x=S.length;for(let F=0;F<x;F++)R.push(v(S[F],{modifiers:i.functionModifiers,structs:y,type:"function"}))}return{name:I.name,type:"function",stateMutability:I.stateMutability??"nonpayable",inputs:A,outputs:R}}function d(p,y={}){const I=(0,i.execEventSignature)(p);if(!I)throw new r.InvalidSignatureError({signature:p,type:"event"});const w=_(I.parameters),A=[],B=w.length;for(let R=0;R<B;R++)A.push(v(w[R],{modifiers:i.eventModifiers,structs:y,type:"event"}));return{name:I.name,type:"event",inputs:A}}function l(p,y={}){const I=(0,i.execErrorSignature)(p);if(!I)throw new r.InvalidSignatureError({signature:p,type:"error"});const w=_(I.parameters),A=[],B=w.length;for(let R=0;R<B;R++)A.push(v(w[R],{structs:y,type:"error"}));return{name:I.name,type:"error",inputs:A}}function f(p,y={}){const I=(0,i.execConstructorSignature)(p);if(!I)throw new r.InvalidSignatureError({signature:p,type:"constructor"});const w=_(I.parameters),A=[],B=w.length;for(let R=0;R<B;R++)A.push(v(w[R],{structs:y,type:"constructor"}));return{type:"constructor",stateMutability:I.stateMutability??"nonpayable",inputs:A}}function m(p){const y=(0,i.execFallbackSignature)(p);if(!y)throw new r.InvalidSignatureError({signature:p,type:"fallback"});return{type:"fallback",stateMutability:y.stateMutability??"nonpayable"}}const g=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\spayable)?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,h=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,b=/^u?int$/;function v(p,y){var T,k;const I=(0,s.getParameterCacheKey)(p,y==null?void 0:y.type,y==null?void 0:y.structs);if(s.parameterCache.has(I))return s.parameterCache.get(I);const w=e.isTupleRegex.test(p),A=(0,e.execTyped)(w?h:g,p);if(!A)throw new n.InvalidParameterError({param:p});if(A.name&&u(A.name))throw new n.SolidityProtectedKeywordError({param:p,name:A.name});const B=A.name?{name:A.name}:{},R=A.modifier==="indexed"?{indexed:!0}:{},S=(y==null?void 0:y.structs)??{};let x,F={};if(w){x="tuple";const O=_(A.type),C=[],q=O.length;for(let M=0;M<q;M++)C.push(v(O[M],{structs:S}));F={components:C}}else if(A.type in S)x="tuple",F={components:S[A.type]};else if(b.test(A.type))x=`${A.type}256`;else if(A.type==="address payable")x="address";else if(x=A.type,(y==null?void 0:y.type)!=="struct"&&!E(x))throw new t.UnknownSolidityTypeError({type:x});if(A.modifier){if(!((k=(T=y==null?void 0:y.modifiers)==null?void 0:T.has)!=null&&k.call(T,A.modifier)))throw new n.InvalidModifierError({param:p,type:y==null?void 0:y.type,modifier:A.modifier});if(i.functionModifiers.has(A.modifier)&&!j(x,!!A.array))throw new n.InvalidFunctionModifierError({param:p,type:y==null?void 0:y.type,modifier:A.modifier})}const H={type:`${x}${A.array??""}`,...B,...R,...F};return s.parameterCache.set(I,H),H}function _(p,y=[],I="",w=0){const A=p.trim().length;for(let B=0;B<A;B++){const R=p[B],S=p.slice(B+1);switch(R){case",":return w===0?_(S,[...y,I.trim()]):_(S,y,`${I}${R}`,w);case"(":return _(S,y,`${I}${R}`,w+1);case")":return _(S,y,`${I}${R}`,w-1);default:return _(S,y,`${I}${R}`,w)}}if(I==="")return y;if(w!==0)throw new o.InvalidParenthesisError({current:I,depth:w});return y.push(I.trim()),y}function E(p){return p==="address"||p==="bool"||p==="function"||p==="string"||e.bytesRegex.test(p)||e.integerRegex.test(p)}const P=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function u(p){return p==="address"||p==="bool"||p==="function"||p==="string"||p==="tuple"||e.bytesRegex.test(p)||e.integerRegex.test(p)||P.test(p)}function j(p,y){return y||p==="bytes"||p==="string"||p==="tuple"}return Ye}var Ml;function Tu(){if(Ml)return yi;Ml=1,Object.defineProperty(yi,"__esModule",{value:!0}),yi.parseStructs=a;const e=Pu(),t=Au(),n=Co(),r=Yd(),o=J1(),s=gn(),i=yn();function a(l){const f={},m=l.length;for(let v=0;v<m;v++){const _=l[v];if(!(0,s.isStructSignature)(_))continue;const E=(0,s.execStructSignature)(_);if(!E)throw new r.InvalidSignatureError({signature:_,type:"struct"});const P=E.properties.split(";"),u=[],j=P.length;for(let p=0;p<j;p++){const I=P[p].trim();if(!I)continue;const w=(0,i.parseAbiParameter)(I,{type:"struct"});u.push(w)}if(!u.length)throw new r.InvalidStructSignatureError({signature:_});f[E.name]=u}const g={},h=Object.entries(f),b=h.length;for(let v=0;v<b;v++){const[_,E]=h[v];g[_]=d(E,f)}return g}const c=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;function d(l=[],f={},m=new Set){const g=[],h=l.length;for(let b=0;b<h;b++){const v=l[b];if(e.isTupleRegex.test(v.type))g.push(v);else{const E=(0,e.execTyped)(c,v.type);if(!(E!=null&&E.type))throw new n.InvalidAbiTypeParameterError({abiParameter:v});const{array:P,type:u}=E;if(u in f){if(m.has(u))throw new o.CircularReferenceError({type:u});g.push({...v,type:`tuple${P??""}`,components:d(f[u],f,new Set([...m,u]))})}else if((0,i.isSolidityType)(u))g.push(v);else throw new t.UnknownTypeError({type:u})}}return g}return yi}var Hl;function xv(){if(Hl)return hi;Hl=1,Object.defineProperty(hi,"__esModule",{value:!0}),hi.parseAbi=r;const e=gn(),t=Tu(),n=yn();function r(o){const s=(0,t.parseStructs)(o),i=[],a=o.length;for(let c=0;c<a;c++){const d=o[c];(0,e.isStructSignature)(d)||i.push((0,n.parseSignature)(d,s))}return i}return hi}var pi={},kl;function Cv(){if(kl)return pi;kl=1,Object.defineProperty(pi,"__esModule",{value:!0}),pi.parseAbiItem=o;const e=Au(),t=gn(),n=Tu(),r=yn();function o(s){let i;if(typeof s=="string")i=(0,r.parseSignature)(s);else{const a=(0,n.parseStructs)(s),c=s.length;for(let d=0;d<c;d++){const l=s[d];if(!(0,t.isStructSignature)(l)){i=(0,r.parseSignature)(l,a);break}}}if(!i)throw new e.InvalidAbiItemError({signature:s});return i}return pi}var gi={},Fl;function qv(){if(Fl)return gi;Fl=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.parseAbiParameter=o;const e=Co(),t=gn(),n=Tu(),r=yn();function o(s){let i;if(typeof s=="string")i=(0,r.parseAbiParameter)(s,{modifiers:t.modifiers});else{const a=(0,n.parseStructs)(s),c=s.length;for(let d=0;d<c;d++){const l=s[d];if(!(0,t.isStructSignature)(l)){i=(0,r.parseAbiParameter)(l,{modifiers:t.modifiers,structs:a});break}}}if(!i)throw new e.InvalidAbiParameterError({param:s});return i}return gi}var _i={},Nl;function Mv(){if(Nl)return _i;Nl=1,Object.defineProperty(_i,"__esModule",{value:!0}),_i.parseAbiParameters=s;const e=Co(),t=gn(),n=Tu(),r=yn(),o=yn();function s(i){const a=[];if(typeof i=="string"){const c=(0,r.splitParameters)(i),d=c.length;for(let l=0;l<d;l++)a.push((0,o.parseAbiParameter)(c[l],{modifiers:t.modifiers}))}else{const c=(0,n.parseStructs)(i),d=i.length;for(let l=0;l<d;l++){const f=i[l];if((0,t.isStructSignature)(f))continue;const m=(0,r.splitParameters)(f),g=m.length;for(let h=0;h<g;h++)a.push((0,o.parseAbiParameter)(m[h],{modifiers:t.modifiers,structs:c}))}}if(a.length===0)throw new e.InvalidAbiParametersError({params:i});return a}return _i}var zl;function ir(){return zl||(zl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CircularReferenceError=e.InvalidParenthesisError=e.UnknownSignatureError=e.InvalidSignatureError=e.InvalidStructSignatureError=e.InvalidAbiParameterError=e.InvalidAbiParametersError=e.InvalidParameterError=e.SolidityProtectedKeywordError=e.InvalidModifierError=e.InvalidFunctionModifierError=e.InvalidAbiTypeParameterError=e.UnknownSolidityTypeError=e.InvalidAbiItemError=e.UnknownTypeError=e.parseAbiParameters=e.parseAbiParameter=e.parseAbiItem=e.parseAbi=e.formatAbiParameters=e.formatAbiParameter=e.formatAbiItem=e.formatAbi=e.narrow=e.BaseError=void 0;var t=pn();Object.defineProperty(e,"BaseError",{enumerable:!0,get:function(){return t.BaseError}});var n=Rv();Object.defineProperty(e,"narrow",{enumerable:!0,get:function(){return n.narrow}});var r=Bv();Object.defineProperty(e,"formatAbi",{enumerable:!0,get:function(){return r.formatAbi}});var o=Z1();Object.defineProperty(e,"formatAbiItem",{enumerable:!0,get:function(){return o.formatAbiItem}});var s=W1();Object.defineProperty(e,"formatAbiParameter",{enumerable:!0,get:function(){return s.formatAbiParameter}});var i=K1();Object.defineProperty(e,"formatAbiParameters",{enumerable:!0,get:function(){return i.formatAbiParameters}});var a=xv();Object.defineProperty(e,"parseAbi",{enumerable:!0,get:function(){return a.parseAbi}});var c=Cv();Object.defineProperty(e,"parseAbiItem",{enumerable:!0,get:function(){return c.parseAbiItem}});var d=qv();Object.defineProperty(e,"parseAbiParameter",{enumerable:!0,get:function(){return d.parseAbiParameter}});var l=Mv();Object.defineProperty(e,"parseAbiParameters",{enumerable:!0,get:function(){return l.parseAbiParameters}});var f=Au();Object.defineProperty(e,"UnknownTypeError",{enumerable:!0,get:function(){return f.UnknownTypeError}}),Object.defineProperty(e,"InvalidAbiItemError",{enumerable:!0,get:function(){return f.InvalidAbiItemError}}),Object.defineProperty(e,"UnknownSolidityTypeError",{enumerable:!0,get:function(){return f.UnknownSolidityTypeError}});var m=Co();Object.defineProperty(e,"InvalidAbiTypeParameterError",{enumerable:!0,get:function(){return m.InvalidAbiTypeParameterError}}),Object.defineProperty(e,"InvalidFunctionModifierError",{enumerable:!0,get:function(){return m.InvalidFunctionModifierError}}),Object.defineProperty(e,"InvalidModifierError",{enumerable:!0,get:function(){return m.InvalidModifierError}}),Object.defineProperty(e,"SolidityProtectedKeywordError",{enumerable:!0,get:function(){return m.SolidityProtectedKeywordError}}),Object.defineProperty(e,"InvalidParameterError",{enumerable:!0,get:function(){return m.InvalidParameterError}}),Object.defineProperty(e,"InvalidAbiParametersError",{enumerable:!0,get:function(){return m.InvalidAbiParametersError}}),Object.defineProperty(e,"InvalidAbiParameterError",{enumerable:!0,get:function(){return m.InvalidAbiParameterError}});var g=Yd();Object.defineProperty(e,"InvalidStructSignatureError",{enumerable:!0,get:function(){return g.InvalidStructSignatureError}}),Object.defineProperty(e,"InvalidSignatureError",{enumerable:!0,get:function(){return g.InvalidSignatureError}}),Object.defineProperty(e,"UnknownSignatureError",{enumerable:!0,get:function(){return g.UnknownSignatureError}});var h=Y1();Object.defineProperty(e,"InvalidParenthesisError",{enumerable:!0,get:function(){return h.InvalidParenthesisError}});var b=J1();Object.defineProperty(e,"CircularReferenceError",{enumerable:!0,get:function(){return b.CircularReferenceError}})})(jd)),jd}var Yr={},vi={},Ul;function me(){if(Ul)return vi;Ul=1,Object.defineProperty(vi,"__esModule",{value:!0}),vi.getAction=e;function e(t,n,r){const o=t[n.name];if(typeof o=="function")return o;const s=t[r];return typeof s=="function"?s:i=>n(t,i)}return vi}var Ei={},ji={},ae={},Dn={},Ll;function Wt(){if(Ll)return Dn;Ll=1,Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.formatAbiItem=t,Dn.formatAbiParams=n;const e=Se();function t(o,{includeName:s=!1}={}){if(o.type!=="function"&&o.type!=="event"&&o.type!=="error")throw new e.InvalidDefinitionTypeError(o.type);return`${o.name}(${n(o.inputs,{includeName:s})})`}function n(o,{includeName:s=!1}={}){return o?o.map(i=>r(i,{includeName:s})).join(s?", ":","):""}function r(o,{includeName:s}){return o.type.startsWith("tuple")?`(${n(o.components,{includeName:s})})${o.type.slice(5)}`:o.type+(s&&o.name?` ${o.name}`:"")}return Dn}var wi={},Pi={},Dl;function Ve(){if(Dl)return Pi;Dl=1,Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.isHex=e;function e(t,{strict:n=!0}={}){return!t||typeof t!="string"?!1:n?/^0x[0-9a-fA-F]*$/.test(t):t.startsWith("0x")}return Pi}var Gl;function We(){if(Gl)return wi;Gl=1,Object.defineProperty(wi,"__esModule",{value:!0}),wi.size=t;const e=Ve();function t(n){return(0,e.isHex)(n,{strict:!1})?Math.ceil((n.length-2)/2):n.length}return wi}var Xr={},Gn={},Vl;function Hv(){return Vl||(Vl=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.version=void 0,Gn.version="2.47.12"),Gn}var Wl;function ue(){if(Wl)return Xr;Wl=1,Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.BaseError=void 0,Xr.setErrorConfig=n;const e=Hv();let t={getDocsUrl:({docsBaseUrl:s,docsPath:i="",docsSlug:a})=>i?`${s??"https://viem.sh"}${i}${a?`#${a}`:""}`:void 0,version:`viem@${e.version}`};function n(s){t=s}class r extends Error{constructor(i,a={}){var m;const c=(()=>{var g;return a.cause instanceof r?a.cause.details:(g=a.cause)!=null&&g.message?a.cause.message:a.details})(),d=a.cause instanceof r&&a.cause.docsPath||a.docsPath,l=(m=t.getDocsUrl)==null?void 0:m.call(t,{...a,docsPath:d}),f=[i||"An error occurred.","",...a.metaMessages?[...a.metaMessages,""]:[],...l?[`Docs: ${l}`]:[],...c?[`Details: ${c}`]:[],...t.version?[`Version: ${t.version}`]:[]].join(`
3
3
  `);super(f,a.cause?{cause:a.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=c,this.docsPath=d,this.metaMessages=a.metaMessages,this.name=a.name??this.name,this.shortMessage=i,this.version=e.version}walk(i){return o(this,i)}}Xr.BaseError=r;function o(s,i){return i!=null&&i(s)?s:s&&typeof s=="object"&&"cause"in s&&s.cause!==void 0?o(s.cause,i):i?null:s}return Xr}var Kl;function Se(){if(Kl)return ae;Kl=1,Object.defineProperty(ae,"__esModule",{value:!0}),ae.UnsupportedPackedAbiType=ae.InvalidDefinitionTypeError=ae.InvalidArrayError=ae.InvalidAbiDecodingTypeError=ae.InvalidAbiEncodingTypeError=ae.DecodeLogTopicsMismatch=ae.DecodeLogDataMismatch=ae.BytesSizeMismatchError=ae.AbiItemAmbiguityError=ae.AbiFunctionSignatureNotFoundError=ae.AbiFunctionOutputsNotFoundError=ae.AbiFunctionNotFoundError=ae.AbiEventNotFoundError=ae.AbiEventSignatureNotFoundError=ae.AbiEventSignatureEmptyTopicsError=ae.AbiErrorSignatureNotFoundError=ae.AbiErrorNotFoundError=ae.AbiErrorInputsNotFoundError=ae.AbiEncodingLengthMismatchError=ae.AbiEncodingBytesSizeMismatchError=ae.AbiEncodingArrayLengthMismatchError=ae.AbiDecodingZeroDataError=ae.AbiDecodingDataSizeTooSmallError=ae.AbiDecodingDataSizeInvalidError=ae.AbiConstructorParamsNotFoundError=ae.AbiConstructorNotFoundError=void 0;const e=Wt(),t=We(),n=ue();class r extends n.BaseError{constructor({docsPath:x}){super(["A constructor was not found on the ABI.","Make sure you are using the correct ABI and that the constructor exists on it."].join(`
4
4
  `),{docsPath:x,name:"AbiConstructorNotFoundError"})}}ae.AbiConstructorNotFoundError=r;class o extends n.BaseError{constructor({docsPath:x}){super(["Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.","Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."].join(`
@@ -1 +1 @@
1
- import{r as T}from"./index-kzlEvkEN.js";import{h as y,j as k,k as I}from"./index-DTf1bmxt.js";const q=()=>"9.1.0",v=t=>t.toString(16).padStart(2,"0"),C=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,v).join("")},R=()=>typeof window<"u"?C(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:R(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var m;(function(t){t.requestAddressBook="requestAddressBook"})(m||(m={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let p=!0;return Array.isArray(this.allowedOrigins)&&(p=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&p},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const b=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;T();class E{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!b(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class A{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",O="0x20c13b0b",f=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",f);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",f)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(m).includes(a)):!1)}}const w=(t,e)=>e.some(s=>s.parentCapability===t),V=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(w(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!w(e,i))throw new d("Permissions rejected",f);return a.apply(this)},s};var M=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class _{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=y({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=y({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===O}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return I({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),b(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}M([V()],_.prototype,"requestAddressBook",null);class D{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new A(this.communicator),this.txs=new E(this.communicator),this.safe=new _(this.communicator),this.wallet=new S(this.communicator)}}export{g as MessageFormatter,r as Methods,c as RPC_CALLS,m as RestrictedMethods,D as default,q as getSDKVersion,b as isObjectEIP712TypedData};
1
+ import{r as T}from"./index-kzlEvkEN.js";import{h as y,j as k,k as I}from"./index-D0h_2y-X.js";const q=()=>"9.1.0",v=t=>t.toString(16).padStart(2,"0"),C=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,v).join("")},R=()=>typeof window<"u"?C(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:R(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var m;(function(t){t.requestAddressBook="requestAddressBook"})(m||(m={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let p=!0;return Array.isArray(this.allowedOrigins)&&(p=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&p},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const b=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;T();class E{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!b(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class A{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",O="0x20c13b0b",f=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",f);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",f)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(m).includes(a)):!1)}}const w=(t,e)=>e.some(s=>s.parentCapability===t),V=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(w(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!w(e,i))throw new d("Permissions rejected",f);return a.apply(this)},s};var M=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class _{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=y({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=y({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===O}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return I({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),b(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}M([V()],_.prototype,"requestAddressBook",null);class D{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new A(this.communicator),this.txs=new E(this.communicator),this.safe=new _(this.communicator),this.wallet=new S(this.communicator)}}export{g as MessageFormatter,r as Methods,c as RPC_CALLS,m as RestrictedMethods,D as default,q as getSDKVersion,b as isObjectEIP712TypedData};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/add-CnMN3crk.js","assets/core-C3Yl6Mm6.js","assets/index-DTf1bmxt.js","assets/index-BdUIfw6p.css","assets/index.es-ALp3MGS5.js","assets/events-DQ172AOg.js","assets/all-wallets-CY8BcvnH.js","assets/arrow-bottom-circle-CrgfViQF.js","assets/app-store-OpsQnL6b.js","assets/apple-ea3D3QG1.js","assets/arrow-bottom-B1RJNhVt.js","assets/arrow-left-DkHmoNvs.js","assets/arrow-right-Csa95zhd.js","assets/arrow-top-FaPVX-uA.js","assets/bank-BdQ45jz6.js","assets/browser-BoS_K-M3.js","assets/card-BtYRyglp.js","assets/checkmark-C4aM1CTR.js","assets/checkmark-bold-CwiMjf2_.js","assets/chevron-bottom-Dg2nJ-vc.js","assets/chevron-left-BT4V5m6Y.js","assets/chevron-right-DhickjFC.js","assets/chevron-top-CVkdNR-y.js","assets/chrome-store-CtpJcJBk.js","assets/clock-Ddq19c2D.js","assets/close-Ch_Zjhnl.js","assets/compass-DHU-Eoc1.js","assets/coinPlaceholder-Dk0xB-4L.js","assets/copy-CIH7xqvE.js","assets/cursor-D3PJzTqV.js","assets/cursor-transparent-BPNS5ab7.js","assets/desktop-_65_UECo.js","assets/disconnect-6eyuiyri.js","assets/discord-Cf2hwWyf.js","assets/etherscan-BapHdepb.js","assets/extension-CittGz5d.js","assets/external-link-BPb10Q9a.js","assets/facebook-CzRVpdnP.js","assets/farcaster-B-lGNr6N.js","assets/filters--rzAOlrK.js","assets/github-CTEelle6.js","assets/google-CmzeLQ_U.js","assets/help-circle-BLW90gxf.js","assets/image-ColOE3YA.js","assets/id-E4FhvAgG.js","assets/info-circle-D78XIBku.js","assets/lightbulb-C1ECZ8jL.js","assets/mail-Do2GnVbr.js","assets/mobile-D50Myghj.js","assets/more-vq2zeyDZ.js","assets/network-placeholder-D07MKx65.js","assets/nftPlaceholder-BTd7mq2G.js","assets/off-DnWATN7w.js","assets/play-store-Dw6y8hrx.js","assets/plus-CJIfFTYE.js","assets/qr-code-C-FBJMjl.js","assets/recycle-horizontal-BX_gsTVv.js","assets/refresh-Igllc8bx.js","assets/search-C-Rknfr6.js","assets/send-k0QJymly.js","assets/swapHorizontal-BAueetaF.js","assets/swapHorizontalMedium-DBqBgzBM.js","assets/swapHorizontalBold-CoG1Ey0L.js","assets/swapHorizontalRoundedBold-Cw2ZXD15.js","assets/swapVertical-Bh1Ycta5.js","assets/telegram-bdNgqRn8.js","assets/three-dots-DI11H0oD.js","assets/twitch-Bwu0TgyB.js","assets/x-Da_Yzzg_.js","assets/twitterIcon-Bu0Rh7Om.js","assets/verify-DZDJ6x_t.js","assets/verify-filled-D58UQZWu.js","assets/wallet-Y9MCfLD3.js","assets/walletconnect-C3X4V4na.js","assets/wallet-placeholder-DuDXqEaN.js","assets/warning-circle-C4YIEenB.js","assets/info-Br_-WZd9.js","assets/exclamation-triangle-DNuKoicx.js","assets/reown-logo-z9Aesban.js"])))=>i.map(i=>d[i]);
2
- import{J as N,K as q,k as S,l as b,m as E,n as f,L as Y,N as V,q as H,o as K}from"./core-C3Yl6Mm6.js";import{_ as a}from"./index-DTf1bmxt.js";const w={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:o}){return t.length<=e+r?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let h=0;h<5;h+=1){const p=this.tintColor(o,.15*h);u.push(`rgb(${p[0]}, ${p[1]}, ${p[2]})`)}return`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/add-Xa6VwgBs.js","assets/core-_jsZGLDb.js","assets/index-D0h_2y-X.js","assets/index-BdUIfw6p.css","assets/index.es-Cs_Dpnrh.js","assets/events-DQ172AOg.js","assets/all-wallets-_7tK_3rU.js","assets/arrow-bottom-circle-oXHkE94z.js","assets/app-store-CvPbc9xf.js","assets/apple-D6rHABoQ.js","assets/arrow-bottom-Oh-SSqKm.js","assets/arrow-left-CEPqdfOP.js","assets/arrow-right-sxQ6DvaH.js","assets/arrow-top-zyO4l99J.js","assets/bank-BpdtDb-B.js","assets/browser-Bx7qad9N.js","assets/card-by-ukJcU.js","assets/checkmark-JLX4iYtJ.js","assets/checkmark-bold-CRPEzZrF.js","assets/chevron-bottom-BLuTkPAL.js","assets/chevron-left-BgGEWeyM.js","assets/chevron-right-BpFfHw_i.js","assets/chevron-top-fs6udA3C.js","assets/chrome-store-ClBo1bJu.js","assets/clock-Cj6kCk6z.js","assets/close-vlMGvOxT.js","assets/compass-BcvEPtIe.js","assets/coinPlaceholder-gewRnZ-U.js","assets/copy-CHRQ5mN8.js","assets/cursor-LDmplByV.js","assets/cursor-transparent-CbB2iHi6.js","assets/desktop-D4Rme82h.js","assets/disconnect-C9YFqGy3.js","assets/discord-Dk1nFRSm.js","assets/etherscan-0SZfOukd.js","assets/extension-fdcizMOi.js","assets/external-link-dUMQRmy9.js","assets/facebook-CNDvqbVs.js","assets/farcaster-DvdTsHie.js","assets/filters-ayvZramx.js","assets/github-CWBgevF3.js","assets/google-DIZD3EO7.js","assets/help-circle-Bw2AjFNI.js","assets/image-CMwGqrf7.js","assets/id-D0hbTsKQ.js","assets/info-circle-BWa3u_Nb.js","assets/lightbulb-C9PTOnOl.js","assets/mail-BZmXyZDs.js","assets/mobile-BOAnYtjx.js","assets/more-DcjrplTh.js","assets/network-placeholder-B8rGzK_6.js","assets/nftPlaceholder-DCvi3BW4.js","assets/off-BQY0BdAo.js","assets/play-store-IEl4e29q.js","assets/plus-CpqZX6yx.js","assets/qr-code-Y6_W6BHy.js","assets/recycle-horizontal-DIwArXbG.js","assets/refresh-FVkynDqF.js","assets/search-C1qabH5F.js","assets/send-B3IAqBhL.js","assets/swapHorizontal-Bozucwzg.js","assets/swapHorizontalMedium-B6Vl3H-L.js","assets/swapHorizontalBold-DVdPkxTS.js","assets/swapHorizontalRoundedBold-rtDGk7rv.js","assets/swapVertical-ROoZrSu1.js","assets/telegram-majIgY6f.js","assets/three-dots-C5MB193j.js","assets/twitch-I8fHxWTP.js","assets/x-waQdA2wx.js","assets/twitterIcon-CrlL7WQb.js","assets/verify-qbAdXjUY.js","assets/verify-filled-CBjxlGRM.js","assets/wallet-CU2-8skg.js","assets/walletconnect-CcJQ4S2L.js","assets/wallet-placeholder-D8ikvLeF.js","assets/warning-circle-DEpj9rgp.js","assets/info-De0REEAA.js","assets/exclamation-triangle-D2QW2ABb.js","assets/reown-logo-DomvDWmp.js"])))=>i.map(i=>d[i]);
2
+ import{J as N,K as q,k as S,l as b,m as E,n as f,L as Y,N as V,q as H,o as K}from"./core-_jsZGLDb.js";import{_ as a}from"./index-D0h_2y-X.js";const w={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:o}){return t.length<=e+r?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let h=0;h<5;h+=1){const p=this.tintColor(o,.15*h);u.push(`rgb(${p[0]}, ${p[1]}, ${p[2]})`)}return`
3
3
  --local-color-1: ${u[0]};
4
4
  --local-color-2: ${u[1]};
5
5
  --local-color-3: ${u[2]};
@@ -82,7 +82,7 @@ import{J as N,K as q,k as S,l as b,m as E,n as f,L as Y,N as V,q as H,o as K}fro
82
82
  width: var(--local-width);
83
83
  height: var(--local-height);
84
84
  }
85
- `;var A=function(t,e,r,o){var n=arguments.length,i=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(n<3?s(i):n>3?s(e,r,i):s(e,r))||i);return n>3&&i&&Object.defineProperty(e,r,i),i};const M={add:async()=>(await a(async()=>{const{addSvg:t}=await import("./add-CnMN3crk.js");return{addSvg:t}},__vite__mapDeps([0,1,2,3,4,5]))).addSvg,allWallets:async()=>(await a(async()=>{const{allWalletsSvg:t}=await import("./all-wallets-CY8BcvnH.js");return{allWalletsSvg:t}},__vite__mapDeps([6,1,2,3,4,5]))).allWalletsSvg,arrowBottomCircle:async()=>(await a(async()=>{const{arrowBottomCircleSvg:t}=await import("./arrow-bottom-circle-CrgfViQF.js");return{arrowBottomCircleSvg:t}},__vite__mapDeps([7,1,2,3,4,5]))).arrowBottomCircleSvg,appStore:async()=>(await a(async()=>{const{appStoreSvg:t}=await import("./app-store-OpsQnL6b.js");return{appStoreSvg:t}},__vite__mapDeps([8,1,2,3,4,5]))).appStoreSvg,apple:async()=>(await a(async()=>{const{appleSvg:t}=await import("./apple-ea3D3QG1.js");return{appleSvg:t}},__vite__mapDeps([9,1,2,3,4,5]))).appleSvg,arrowBottom:async()=>(await a(async()=>{const{arrowBottomSvg:t}=await import("./arrow-bottom-B1RJNhVt.js");return{arrowBottomSvg:t}},__vite__mapDeps([10,1,2,3,4,5]))).arrowBottomSvg,arrowLeft:async()=>(await a(async()=>{const{arrowLeftSvg:t}=await import("./arrow-left-DkHmoNvs.js");return{arrowLeftSvg:t}},__vite__mapDeps([11,1,2,3,4,5]))).arrowLeftSvg,arrowRight:async()=>(await a(async()=>{const{arrowRightSvg:t}=await import("./arrow-right-Csa95zhd.js");return{arrowRightSvg:t}},__vite__mapDeps([12,1,2,3,4,5]))).arrowRightSvg,arrowTop:async()=>(await a(async()=>{const{arrowTopSvg:t}=await import("./arrow-top-FaPVX-uA.js");return{arrowTopSvg:t}},__vite__mapDeps([13,1,2,3,4,5]))).arrowTopSvg,bank:async()=>(await a(async()=>{const{bankSvg:t}=await import("./bank-BdQ45jz6.js");return{bankSvg:t}},__vite__mapDeps([14,1,2,3,4,5]))).bankSvg,browser:async()=>(await a(async()=>{const{browserSvg:t}=await import("./browser-BoS_K-M3.js");return{browserSvg:t}},__vite__mapDeps([15,1,2,3,4,5]))).browserSvg,card:async()=>(await a(async()=>{const{cardSvg:t}=await import("./card-BtYRyglp.js");return{cardSvg:t}},__vite__mapDeps([16,1,2,3,4,5]))).cardSvg,checkmark:async()=>(await a(async()=>{const{checkmarkSvg:t}=await import("./checkmark-C4aM1CTR.js");return{checkmarkSvg:t}},__vite__mapDeps([17,1,2,3,4,5]))).checkmarkSvg,checkmarkBold:async()=>(await a(async()=>{const{checkmarkBoldSvg:t}=await import("./checkmark-bold-CwiMjf2_.js");return{checkmarkBoldSvg:t}},__vite__mapDeps([18,1,2,3,4,5]))).checkmarkBoldSvg,chevronBottom:async()=>(await a(async()=>{const{chevronBottomSvg:t}=await import("./chevron-bottom-Dg2nJ-vc.js");return{chevronBottomSvg:t}},__vite__mapDeps([19,1,2,3,4,5]))).chevronBottomSvg,chevronLeft:async()=>(await a(async()=>{const{chevronLeftSvg:t}=await import("./chevron-left-BT4V5m6Y.js");return{chevronLeftSvg:t}},__vite__mapDeps([20,1,2,3,4,5]))).chevronLeftSvg,chevronRight:async()=>(await a(async()=>{const{chevronRightSvg:t}=await import("./chevron-right-DhickjFC.js");return{chevronRightSvg:t}},__vite__mapDeps([21,1,2,3,4,5]))).chevronRightSvg,chevronTop:async()=>(await a(async()=>{const{chevronTopSvg:t}=await import("./chevron-top-CVkdNR-y.js");return{chevronTopSvg:t}},__vite__mapDeps([22,1,2,3,4,5]))).chevronTopSvg,chromeStore:async()=>(await a(async()=>{const{chromeStoreSvg:t}=await import("./chrome-store-CtpJcJBk.js");return{chromeStoreSvg:t}},__vite__mapDeps([23,1,2,3,4,5]))).chromeStoreSvg,clock:async()=>(await a(async()=>{const{clockSvg:t}=await import("./clock-Ddq19c2D.js");return{clockSvg:t}},__vite__mapDeps([24,1,2,3,4,5]))).clockSvg,close:async()=>(await a(async()=>{const{closeSvg:t}=await import("./close-Ch_Zjhnl.js");return{closeSvg:t}},__vite__mapDeps([25,1,2,3,4,5]))).closeSvg,compass:async()=>(await a(async()=>{const{compassSvg:t}=await import("./compass-DHU-Eoc1.js");return{compassSvg:t}},__vite__mapDeps([26,1,2,3,4,5]))).compassSvg,coinPlaceholder:async()=>(await a(async()=>{const{coinPlaceholderSvg:t}=await import("./coinPlaceholder-Dk0xB-4L.js");return{coinPlaceholderSvg:t}},__vite__mapDeps([27,1,2,3,4,5]))).coinPlaceholderSvg,copy:async()=>(await a(async()=>{const{copySvg:t}=await import("./copy-CIH7xqvE.js");return{copySvg:t}},__vite__mapDeps([28,1,2,3,4,5]))).copySvg,cursor:async()=>(await a(async()=>{const{cursorSvg:t}=await import("./cursor-D3PJzTqV.js");return{cursorSvg:t}},__vite__mapDeps([29,1,2,3,4,5]))).cursorSvg,cursorTransparent:async()=>(await a(async()=>{const{cursorTransparentSvg:t}=await import("./cursor-transparent-BPNS5ab7.js");return{cursorTransparentSvg:t}},__vite__mapDeps([30,1,2,3,4,5]))).cursorTransparentSvg,desktop:async()=>(await a(async()=>{const{desktopSvg:t}=await import("./desktop-_65_UECo.js");return{desktopSvg:t}},__vite__mapDeps([31,1,2,3,4,5]))).desktopSvg,disconnect:async()=>(await a(async()=>{const{disconnectSvg:t}=await import("./disconnect-6eyuiyri.js");return{disconnectSvg:t}},__vite__mapDeps([32,1,2,3,4,5]))).disconnectSvg,discord:async()=>(await a(async()=>{const{discordSvg:t}=await import("./discord-Cf2hwWyf.js");return{discordSvg:t}},__vite__mapDeps([33,1,2,3,4,5]))).discordSvg,etherscan:async()=>(await a(async()=>{const{etherscanSvg:t}=await import("./etherscan-BapHdepb.js");return{etherscanSvg:t}},__vite__mapDeps([34,1,2,3,4,5]))).etherscanSvg,extension:async()=>(await a(async()=>{const{extensionSvg:t}=await import("./extension-CittGz5d.js");return{extensionSvg:t}},__vite__mapDeps([35,1,2,3,4,5]))).extensionSvg,externalLink:async()=>(await a(async()=>{const{externalLinkSvg:t}=await import("./external-link-BPb10Q9a.js");return{externalLinkSvg:t}},__vite__mapDeps([36,1,2,3,4,5]))).externalLinkSvg,facebook:async()=>(await a(async()=>{const{facebookSvg:t}=await import("./facebook-CzRVpdnP.js");return{facebookSvg:t}},__vite__mapDeps([37,1,2,3,4,5]))).facebookSvg,farcaster:async()=>(await a(async()=>{const{farcasterSvg:t}=await import("./farcaster-B-lGNr6N.js");return{farcasterSvg:t}},__vite__mapDeps([38,1,2,3,4,5]))).farcasterSvg,filters:async()=>(await a(async()=>{const{filtersSvg:t}=await import("./filters--rzAOlrK.js");return{filtersSvg:t}},__vite__mapDeps([39,1,2,3,4,5]))).filtersSvg,github:async()=>(await a(async()=>{const{githubSvg:t}=await import("./github-CTEelle6.js");return{githubSvg:t}},__vite__mapDeps([40,1,2,3,4,5]))).githubSvg,google:async()=>(await a(async()=>{const{googleSvg:t}=await import("./google-CmzeLQ_U.js");return{googleSvg:t}},__vite__mapDeps([41,1,2,3,4,5]))).googleSvg,helpCircle:async()=>(await a(async()=>{const{helpCircleSvg:t}=await import("./help-circle-BLW90gxf.js");return{helpCircleSvg:t}},__vite__mapDeps([42,1,2,3,4,5]))).helpCircleSvg,image:async()=>(await a(async()=>{const{imageSvg:t}=await import("./image-ColOE3YA.js");return{imageSvg:t}},__vite__mapDeps([43,1,2,3,4,5]))).imageSvg,id:async()=>(await a(async()=>{const{idSvg:t}=await import("./id-E4FhvAgG.js");return{idSvg:t}},__vite__mapDeps([44,1,2,3,4,5]))).idSvg,infoCircle:async()=>(await a(async()=>{const{infoCircleSvg:t}=await import("./info-circle-D78XIBku.js");return{infoCircleSvg:t}},__vite__mapDeps([45,1,2,3,4,5]))).infoCircleSvg,lightbulb:async()=>(await a(async()=>{const{lightbulbSvg:t}=await import("./lightbulb-C1ECZ8jL.js");return{lightbulbSvg:t}},__vite__mapDeps([46,1,2,3,4,5]))).lightbulbSvg,mail:async()=>(await a(async()=>{const{mailSvg:t}=await import("./mail-Do2GnVbr.js");return{mailSvg:t}},__vite__mapDeps([47,1,2,3,4,5]))).mailSvg,mobile:async()=>(await a(async()=>{const{mobileSvg:t}=await import("./mobile-D50Myghj.js");return{mobileSvg:t}},__vite__mapDeps([48,1,2,3,4,5]))).mobileSvg,more:async()=>(await a(async()=>{const{moreSvg:t}=await import("./more-vq2zeyDZ.js");return{moreSvg:t}},__vite__mapDeps([49,1,2,3,4,5]))).moreSvg,networkPlaceholder:async()=>(await a(async()=>{const{networkPlaceholderSvg:t}=await import("./network-placeholder-D07MKx65.js");return{networkPlaceholderSvg:t}},__vite__mapDeps([50,1,2,3,4,5]))).networkPlaceholderSvg,nftPlaceholder:async()=>(await a(async()=>{const{nftPlaceholderSvg:t}=await import("./nftPlaceholder-BTd7mq2G.js");return{nftPlaceholderSvg:t}},__vite__mapDeps([51,1,2,3,4,5]))).nftPlaceholderSvg,off:async()=>(await a(async()=>{const{offSvg:t}=await import("./off-DnWATN7w.js");return{offSvg:t}},__vite__mapDeps([52,1,2,3,4,5]))).offSvg,playStore:async()=>(await a(async()=>{const{playStoreSvg:t}=await import("./play-store-Dw6y8hrx.js");return{playStoreSvg:t}},__vite__mapDeps([53,1,2,3,4,5]))).playStoreSvg,plus:async()=>(await a(async()=>{const{plusSvg:t}=await import("./plus-CJIfFTYE.js");return{plusSvg:t}},__vite__mapDeps([54,1,2,3,4,5]))).plusSvg,qrCode:async()=>(await a(async()=>{const{qrCodeIcon:t}=await import("./qr-code-C-FBJMjl.js");return{qrCodeIcon:t}},__vite__mapDeps([55,1,2,3,4,5]))).qrCodeIcon,recycleHorizontal:async()=>(await a(async()=>{const{recycleHorizontalSvg:t}=await import("./recycle-horizontal-BX_gsTVv.js");return{recycleHorizontalSvg:t}},__vite__mapDeps([56,1,2,3,4,5]))).recycleHorizontalSvg,refresh:async()=>(await a(async()=>{const{refreshSvg:t}=await import("./refresh-Igllc8bx.js");return{refreshSvg:t}},__vite__mapDeps([57,1,2,3,4,5]))).refreshSvg,search:async()=>(await a(async()=>{const{searchSvg:t}=await import("./search-C-Rknfr6.js");return{searchSvg:t}},__vite__mapDeps([58,1,2,3,4,5]))).searchSvg,send:async()=>(await a(async()=>{const{sendSvg:t}=await import("./send-k0QJymly.js");return{sendSvg:t}},__vite__mapDeps([59,1,2,3,4,5]))).sendSvg,swapHorizontal:async()=>(await a(async()=>{const{swapHorizontalSvg:t}=await import("./swapHorizontal-BAueetaF.js");return{swapHorizontalSvg:t}},__vite__mapDeps([60,1,2,3,4,5]))).swapHorizontalSvg,swapHorizontalMedium:async()=>(await a(async()=>{const{swapHorizontalMediumSvg:t}=await import("./swapHorizontalMedium-DBqBgzBM.js");return{swapHorizontalMediumSvg:t}},__vite__mapDeps([61,1,2,3,4,5]))).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await a(async()=>{const{swapHorizontalBoldSvg:t}=await import("./swapHorizontalBold-CoG1Ey0L.js");return{swapHorizontalBoldSvg:t}},__vite__mapDeps([62,1,2,3,4,5]))).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await a(async()=>{const{swapHorizontalRoundedBoldSvg:t}=await import("./swapHorizontalRoundedBold-Cw2ZXD15.js");return{swapHorizontalRoundedBoldSvg:t}},__vite__mapDeps([63,1,2,3,4,5]))).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await a(async()=>{const{swapVerticalSvg:t}=await import("./swapVertical-Bh1Ycta5.js");return{swapVerticalSvg:t}},__vite__mapDeps([64,1,2,3,4,5]))).swapVerticalSvg,telegram:async()=>(await a(async()=>{const{telegramSvg:t}=await import("./telegram-bdNgqRn8.js");return{telegramSvg:t}},__vite__mapDeps([65,1,2,3,4,5]))).telegramSvg,threeDots:async()=>(await a(async()=>{const{threeDotsSvg:t}=await import("./three-dots-DI11H0oD.js");return{threeDotsSvg:t}},__vite__mapDeps([66,1,2,3,4,5]))).threeDotsSvg,twitch:async()=>(await a(async()=>{const{twitchSvg:t}=await import("./twitch-Bwu0TgyB.js");return{twitchSvg:t}},__vite__mapDeps([67,1,2,3,4,5]))).twitchSvg,twitter:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-Da_Yzzg_.js");return{xSvg:t}},__vite__mapDeps([68,1,2,3,4,5]))).xSvg,twitterIcon:async()=>(await a(async()=>{const{twitterIconSvg:t}=await import("./twitterIcon-Bu0Rh7Om.js");return{twitterIconSvg:t}},__vite__mapDeps([69,1,2,3,4,5]))).twitterIconSvg,verify:async()=>(await a(async()=>{const{verifySvg:t}=await import("./verify-DZDJ6x_t.js");return{verifySvg:t}},__vite__mapDeps([70,1,2,3,4,5]))).verifySvg,verifyFilled:async()=>(await a(async()=>{const{verifyFilledSvg:t}=await import("./verify-filled-D58UQZWu.js");return{verifyFilledSvg:t}},__vite__mapDeps([71,1,2,3,4,5]))).verifyFilledSvg,wallet:async()=>(await a(async()=>{const{walletSvg:t}=await import("./wallet-Y9MCfLD3.js");return{walletSvg:t}},__vite__mapDeps([72,1,2,3,4,5]))).walletSvg,walletConnect:async()=>(await a(async()=>{const{walletConnectSvg:t}=await import("./walletconnect-C3X4V4na.js");return{walletConnectSvg:t}},__vite__mapDeps([73,1,2,3,4,5]))).walletConnectSvg,walletConnectLightBrown:async()=>(await a(async()=>{const{walletConnectLightBrownSvg:t}=await import("./walletconnect-C3X4V4na.js");return{walletConnectLightBrownSvg:t}},__vite__mapDeps([73,1,2,3,4,5]))).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await a(async()=>{const{walletConnectBrownSvg:t}=await import("./walletconnect-C3X4V4na.js");return{walletConnectBrownSvg:t}},__vite__mapDeps([73,1,2,3,4,5]))).walletConnectBrownSvg,walletPlaceholder:async()=>(await a(async()=>{const{walletPlaceholderSvg:t}=await import("./wallet-placeholder-DuDXqEaN.js");return{walletPlaceholderSvg:t}},__vite__mapDeps([74,1,2,3,4,5]))).walletPlaceholderSvg,warningCircle:async()=>(await a(async()=>{const{warningCircleSvg:t}=await import("./warning-circle-C4YIEenB.js");return{warningCircleSvg:t}},__vite__mapDeps([75,1,2,3,4,5]))).warningCircleSvg,x:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-Da_Yzzg_.js");return{xSvg:t}},__vite__mapDeps([68,1,2,3,4,5]))).xSvg,info:async()=>(await a(async()=>{const{infoSvg:t}=await import("./info-Br_-WZd9.js");return{infoSvg:t}},__vite__mapDeps([76,1,2,3,4,5]))).infoSvg,exclamationTriangle:async()=>(await a(async()=>{const{exclamationTriangleSvg:t}=await import("./exclamation-triangle-DNuKoicx.js");return{exclamationTriangleSvg:t}},__vite__mapDeps([77,1,2,3,4,5]))).exclamationTriangleSvg,reown:async()=>(await a(async()=>{const{reownSvg:t}=await import("./reown-logo-z9Aesban.js");return{reownSvg:t}},__vite__mapDeps([78,1,2,3,4,5]))).reownSvg};async function gt(t){if(D.has(t))return D.get(t);const r=(M[t]??M.copy)();return D.set(t,r),r}let m=class extends E{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`
85
+ `;var A=function(t,e,r,o){var n=arguments.length,i=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(n<3?s(i):n>3?s(e,r,i):s(e,r))||i);return n>3&&i&&Object.defineProperty(e,r,i),i};const M={add:async()=>(await a(async()=>{const{addSvg:t}=await import("./add-Xa6VwgBs.js");return{addSvg:t}},__vite__mapDeps([0,1,2,3,4,5]))).addSvg,allWallets:async()=>(await a(async()=>{const{allWalletsSvg:t}=await import("./all-wallets-_7tK_3rU.js");return{allWalletsSvg:t}},__vite__mapDeps([6,1,2,3,4,5]))).allWalletsSvg,arrowBottomCircle:async()=>(await a(async()=>{const{arrowBottomCircleSvg:t}=await import("./arrow-bottom-circle-oXHkE94z.js");return{arrowBottomCircleSvg:t}},__vite__mapDeps([7,1,2,3,4,5]))).arrowBottomCircleSvg,appStore:async()=>(await a(async()=>{const{appStoreSvg:t}=await import("./app-store-CvPbc9xf.js");return{appStoreSvg:t}},__vite__mapDeps([8,1,2,3,4,5]))).appStoreSvg,apple:async()=>(await a(async()=>{const{appleSvg:t}=await import("./apple-D6rHABoQ.js");return{appleSvg:t}},__vite__mapDeps([9,1,2,3,4,5]))).appleSvg,arrowBottom:async()=>(await a(async()=>{const{arrowBottomSvg:t}=await import("./arrow-bottom-Oh-SSqKm.js");return{arrowBottomSvg:t}},__vite__mapDeps([10,1,2,3,4,5]))).arrowBottomSvg,arrowLeft:async()=>(await a(async()=>{const{arrowLeftSvg:t}=await import("./arrow-left-CEPqdfOP.js");return{arrowLeftSvg:t}},__vite__mapDeps([11,1,2,3,4,5]))).arrowLeftSvg,arrowRight:async()=>(await a(async()=>{const{arrowRightSvg:t}=await import("./arrow-right-sxQ6DvaH.js");return{arrowRightSvg:t}},__vite__mapDeps([12,1,2,3,4,5]))).arrowRightSvg,arrowTop:async()=>(await a(async()=>{const{arrowTopSvg:t}=await import("./arrow-top-zyO4l99J.js");return{arrowTopSvg:t}},__vite__mapDeps([13,1,2,3,4,5]))).arrowTopSvg,bank:async()=>(await a(async()=>{const{bankSvg:t}=await import("./bank-BpdtDb-B.js");return{bankSvg:t}},__vite__mapDeps([14,1,2,3,4,5]))).bankSvg,browser:async()=>(await a(async()=>{const{browserSvg:t}=await import("./browser-Bx7qad9N.js");return{browserSvg:t}},__vite__mapDeps([15,1,2,3,4,5]))).browserSvg,card:async()=>(await a(async()=>{const{cardSvg:t}=await import("./card-by-ukJcU.js");return{cardSvg:t}},__vite__mapDeps([16,1,2,3,4,5]))).cardSvg,checkmark:async()=>(await a(async()=>{const{checkmarkSvg:t}=await import("./checkmark-JLX4iYtJ.js");return{checkmarkSvg:t}},__vite__mapDeps([17,1,2,3,4,5]))).checkmarkSvg,checkmarkBold:async()=>(await a(async()=>{const{checkmarkBoldSvg:t}=await import("./checkmark-bold-CRPEzZrF.js");return{checkmarkBoldSvg:t}},__vite__mapDeps([18,1,2,3,4,5]))).checkmarkBoldSvg,chevronBottom:async()=>(await a(async()=>{const{chevronBottomSvg:t}=await import("./chevron-bottom-BLuTkPAL.js");return{chevronBottomSvg:t}},__vite__mapDeps([19,1,2,3,4,5]))).chevronBottomSvg,chevronLeft:async()=>(await a(async()=>{const{chevronLeftSvg:t}=await import("./chevron-left-BgGEWeyM.js");return{chevronLeftSvg:t}},__vite__mapDeps([20,1,2,3,4,5]))).chevronLeftSvg,chevronRight:async()=>(await a(async()=>{const{chevronRightSvg:t}=await import("./chevron-right-BpFfHw_i.js");return{chevronRightSvg:t}},__vite__mapDeps([21,1,2,3,4,5]))).chevronRightSvg,chevronTop:async()=>(await a(async()=>{const{chevronTopSvg:t}=await import("./chevron-top-fs6udA3C.js");return{chevronTopSvg:t}},__vite__mapDeps([22,1,2,3,4,5]))).chevronTopSvg,chromeStore:async()=>(await a(async()=>{const{chromeStoreSvg:t}=await import("./chrome-store-ClBo1bJu.js");return{chromeStoreSvg:t}},__vite__mapDeps([23,1,2,3,4,5]))).chromeStoreSvg,clock:async()=>(await a(async()=>{const{clockSvg:t}=await import("./clock-Cj6kCk6z.js");return{clockSvg:t}},__vite__mapDeps([24,1,2,3,4,5]))).clockSvg,close:async()=>(await a(async()=>{const{closeSvg:t}=await import("./close-vlMGvOxT.js");return{closeSvg:t}},__vite__mapDeps([25,1,2,3,4,5]))).closeSvg,compass:async()=>(await a(async()=>{const{compassSvg:t}=await import("./compass-BcvEPtIe.js");return{compassSvg:t}},__vite__mapDeps([26,1,2,3,4,5]))).compassSvg,coinPlaceholder:async()=>(await a(async()=>{const{coinPlaceholderSvg:t}=await import("./coinPlaceholder-gewRnZ-U.js");return{coinPlaceholderSvg:t}},__vite__mapDeps([27,1,2,3,4,5]))).coinPlaceholderSvg,copy:async()=>(await a(async()=>{const{copySvg:t}=await import("./copy-CHRQ5mN8.js");return{copySvg:t}},__vite__mapDeps([28,1,2,3,4,5]))).copySvg,cursor:async()=>(await a(async()=>{const{cursorSvg:t}=await import("./cursor-LDmplByV.js");return{cursorSvg:t}},__vite__mapDeps([29,1,2,3,4,5]))).cursorSvg,cursorTransparent:async()=>(await a(async()=>{const{cursorTransparentSvg:t}=await import("./cursor-transparent-CbB2iHi6.js");return{cursorTransparentSvg:t}},__vite__mapDeps([30,1,2,3,4,5]))).cursorTransparentSvg,desktop:async()=>(await a(async()=>{const{desktopSvg:t}=await import("./desktop-D4Rme82h.js");return{desktopSvg:t}},__vite__mapDeps([31,1,2,3,4,5]))).desktopSvg,disconnect:async()=>(await a(async()=>{const{disconnectSvg:t}=await import("./disconnect-C9YFqGy3.js");return{disconnectSvg:t}},__vite__mapDeps([32,1,2,3,4,5]))).disconnectSvg,discord:async()=>(await a(async()=>{const{discordSvg:t}=await import("./discord-Dk1nFRSm.js");return{discordSvg:t}},__vite__mapDeps([33,1,2,3,4,5]))).discordSvg,etherscan:async()=>(await a(async()=>{const{etherscanSvg:t}=await import("./etherscan-0SZfOukd.js");return{etherscanSvg:t}},__vite__mapDeps([34,1,2,3,4,5]))).etherscanSvg,extension:async()=>(await a(async()=>{const{extensionSvg:t}=await import("./extension-fdcizMOi.js");return{extensionSvg:t}},__vite__mapDeps([35,1,2,3,4,5]))).extensionSvg,externalLink:async()=>(await a(async()=>{const{externalLinkSvg:t}=await import("./external-link-dUMQRmy9.js");return{externalLinkSvg:t}},__vite__mapDeps([36,1,2,3,4,5]))).externalLinkSvg,facebook:async()=>(await a(async()=>{const{facebookSvg:t}=await import("./facebook-CNDvqbVs.js");return{facebookSvg:t}},__vite__mapDeps([37,1,2,3,4,5]))).facebookSvg,farcaster:async()=>(await a(async()=>{const{farcasterSvg:t}=await import("./farcaster-DvdTsHie.js");return{farcasterSvg:t}},__vite__mapDeps([38,1,2,3,4,5]))).farcasterSvg,filters:async()=>(await a(async()=>{const{filtersSvg:t}=await import("./filters-ayvZramx.js");return{filtersSvg:t}},__vite__mapDeps([39,1,2,3,4,5]))).filtersSvg,github:async()=>(await a(async()=>{const{githubSvg:t}=await import("./github-CWBgevF3.js");return{githubSvg:t}},__vite__mapDeps([40,1,2,3,4,5]))).githubSvg,google:async()=>(await a(async()=>{const{googleSvg:t}=await import("./google-DIZD3EO7.js");return{googleSvg:t}},__vite__mapDeps([41,1,2,3,4,5]))).googleSvg,helpCircle:async()=>(await a(async()=>{const{helpCircleSvg:t}=await import("./help-circle-Bw2AjFNI.js");return{helpCircleSvg:t}},__vite__mapDeps([42,1,2,3,4,5]))).helpCircleSvg,image:async()=>(await a(async()=>{const{imageSvg:t}=await import("./image-CMwGqrf7.js");return{imageSvg:t}},__vite__mapDeps([43,1,2,3,4,5]))).imageSvg,id:async()=>(await a(async()=>{const{idSvg:t}=await import("./id-D0hbTsKQ.js");return{idSvg:t}},__vite__mapDeps([44,1,2,3,4,5]))).idSvg,infoCircle:async()=>(await a(async()=>{const{infoCircleSvg:t}=await import("./info-circle-BWa3u_Nb.js");return{infoCircleSvg:t}},__vite__mapDeps([45,1,2,3,4,5]))).infoCircleSvg,lightbulb:async()=>(await a(async()=>{const{lightbulbSvg:t}=await import("./lightbulb-C9PTOnOl.js");return{lightbulbSvg:t}},__vite__mapDeps([46,1,2,3,4,5]))).lightbulbSvg,mail:async()=>(await a(async()=>{const{mailSvg:t}=await import("./mail-BZmXyZDs.js");return{mailSvg:t}},__vite__mapDeps([47,1,2,3,4,5]))).mailSvg,mobile:async()=>(await a(async()=>{const{mobileSvg:t}=await import("./mobile-BOAnYtjx.js");return{mobileSvg:t}},__vite__mapDeps([48,1,2,3,4,5]))).mobileSvg,more:async()=>(await a(async()=>{const{moreSvg:t}=await import("./more-DcjrplTh.js");return{moreSvg:t}},__vite__mapDeps([49,1,2,3,4,5]))).moreSvg,networkPlaceholder:async()=>(await a(async()=>{const{networkPlaceholderSvg:t}=await import("./network-placeholder-B8rGzK_6.js");return{networkPlaceholderSvg:t}},__vite__mapDeps([50,1,2,3,4,5]))).networkPlaceholderSvg,nftPlaceholder:async()=>(await a(async()=>{const{nftPlaceholderSvg:t}=await import("./nftPlaceholder-DCvi3BW4.js");return{nftPlaceholderSvg:t}},__vite__mapDeps([51,1,2,3,4,5]))).nftPlaceholderSvg,off:async()=>(await a(async()=>{const{offSvg:t}=await import("./off-BQY0BdAo.js");return{offSvg:t}},__vite__mapDeps([52,1,2,3,4,5]))).offSvg,playStore:async()=>(await a(async()=>{const{playStoreSvg:t}=await import("./play-store-IEl4e29q.js");return{playStoreSvg:t}},__vite__mapDeps([53,1,2,3,4,5]))).playStoreSvg,plus:async()=>(await a(async()=>{const{plusSvg:t}=await import("./plus-CpqZX6yx.js");return{plusSvg:t}},__vite__mapDeps([54,1,2,3,4,5]))).plusSvg,qrCode:async()=>(await a(async()=>{const{qrCodeIcon:t}=await import("./qr-code-Y6_W6BHy.js");return{qrCodeIcon:t}},__vite__mapDeps([55,1,2,3,4,5]))).qrCodeIcon,recycleHorizontal:async()=>(await a(async()=>{const{recycleHorizontalSvg:t}=await import("./recycle-horizontal-DIwArXbG.js");return{recycleHorizontalSvg:t}},__vite__mapDeps([56,1,2,3,4,5]))).recycleHorizontalSvg,refresh:async()=>(await a(async()=>{const{refreshSvg:t}=await import("./refresh-FVkynDqF.js");return{refreshSvg:t}},__vite__mapDeps([57,1,2,3,4,5]))).refreshSvg,search:async()=>(await a(async()=>{const{searchSvg:t}=await import("./search-C1qabH5F.js");return{searchSvg:t}},__vite__mapDeps([58,1,2,3,4,5]))).searchSvg,send:async()=>(await a(async()=>{const{sendSvg:t}=await import("./send-B3IAqBhL.js");return{sendSvg:t}},__vite__mapDeps([59,1,2,3,4,5]))).sendSvg,swapHorizontal:async()=>(await a(async()=>{const{swapHorizontalSvg:t}=await import("./swapHorizontal-Bozucwzg.js");return{swapHorizontalSvg:t}},__vite__mapDeps([60,1,2,3,4,5]))).swapHorizontalSvg,swapHorizontalMedium:async()=>(await a(async()=>{const{swapHorizontalMediumSvg:t}=await import("./swapHorizontalMedium-B6Vl3H-L.js");return{swapHorizontalMediumSvg:t}},__vite__mapDeps([61,1,2,3,4,5]))).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await a(async()=>{const{swapHorizontalBoldSvg:t}=await import("./swapHorizontalBold-DVdPkxTS.js");return{swapHorizontalBoldSvg:t}},__vite__mapDeps([62,1,2,3,4,5]))).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await a(async()=>{const{swapHorizontalRoundedBoldSvg:t}=await import("./swapHorizontalRoundedBold-rtDGk7rv.js");return{swapHorizontalRoundedBoldSvg:t}},__vite__mapDeps([63,1,2,3,4,5]))).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await a(async()=>{const{swapVerticalSvg:t}=await import("./swapVertical-ROoZrSu1.js");return{swapVerticalSvg:t}},__vite__mapDeps([64,1,2,3,4,5]))).swapVerticalSvg,telegram:async()=>(await a(async()=>{const{telegramSvg:t}=await import("./telegram-majIgY6f.js");return{telegramSvg:t}},__vite__mapDeps([65,1,2,3,4,5]))).telegramSvg,threeDots:async()=>(await a(async()=>{const{threeDotsSvg:t}=await import("./three-dots-C5MB193j.js");return{threeDotsSvg:t}},__vite__mapDeps([66,1,2,3,4,5]))).threeDotsSvg,twitch:async()=>(await a(async()=>{const{twitchSvg:t}=await import("./twitch-I8fHxWTP.js");return{twitchSvg:t}},__vite__mapDeps([67,1,2,3,4,5]))).twitchSvg,twitter:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-waQdA2wx.js");return{xSvg:t}},__vite__mapDeps([68,1,2,3,4,5]))).xSvg,twitterIcon:async()=>(await a(async()=>{const{twitterIconSvg:t}=await import("./twitterIcon-CrlL7WQb.js");return{twitterIconSvg:t}},__vite__mapDeps([69,1,2,3,4,5]))).twitterIconSvg,verify:async()=>(await a(async()=>{const{verifySvg:t}=await import("./verify-qbAdXjUY.js");return{verifySvg:t}},__vite__mapDeps([70,1,2,3,4,5]))).verifySvg,verifyFilled:async()=>(await a(async()=>{const{verifyFilledSvg:t}=await import("./verify-filled-CBjxlGRM.js");return{verifyFilledSvg:t}},__vite__mapDeps([71,1,2,3,4,5]))).verifyFilledSvg,wallet:async()=>(await a(async()=>{const{walletSvg:t}=await import("./wallet-CU2-8skg.js");return{walletSvg:t}},__vite__mapDeps([72,1,2,3,4,5]))).walletSvg,walletConnect:async()=>(await a(async()=>{const{walletConnectSvg:t}=await import("./walletconnect-CcJQ4S2L.js");return{walletConnectSvg:t}},__vite__mapDeps([73,1,2,3,4,5]))).walletConnectSvg,walletConnectLightBrown:async()=>(await a(async()=>{const{walletConnectLightBrownSvg:t}=await import("./walletconnect-CcJQ4S2L.js");return{walletConnectLightBrownSvg:t}},__vite__mapDeps([73,1,2,3,4,5]))).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await a(async()=>{const{walletConnectBrownSvg:t}=await import("./walletconnect-CcJQ4S2L.js");return{walletConnectBrownSvg:t}},__vite__mapDeps([73,1,2,3,4,5]))).walletConnectBrownSvg,walletPlaceholder:async()=>(await a(async()=>{const{walletPlaceholderSvg:t}=await import("./wallet-placeholder-D8ikvLeF.js");return{walletPlaceholderSvg:t}},__vite__mapDeps([74,1,2,3,4,5]))).walletPlaceholderSvg,warningCircle:async()=>(await a(async()=>{const{warningCircleSvg:t}=await import("./warning-circle-DEpj9rgp.js");return{warningCircleSvg:t}},__vite__mapDeps([75,1,2,3,4,5]))).warningCircleSvg,x:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-waQdA2wx.js");return{xSvg:t}},__vite__mapDeps([68,1,2,3,4,5]))).xSvg,info:async()=>(await a(async()=>{const{infoSvg:t}=await import("./info-De0REEAA.js");return{infoSvg:t}},__vite__mapDeps([76,1,2,3,4,5]))).infoSvg,exclamationTriangle:async()=>(await a(async()=>{const{exclamationTriangleSvg:t}=await import("./exclamation-triangle-D2QW2ABb.js");return{exclamationTriangleSvg:t}},__vite__mapDeps([77,1,2,3,4,5]))).exclamationTriangleSvg,reown:async()=>(await a(async()=>{const{reownSvg:t}=await import("./reown-logo-DomvDWmp.js");return{reownSvg:t}},__vite__mapDeps([78,1,2,3,4,5]))).reownSvg};async function gt(t){if(D.has(t))return D.get(t);const r=(M[t]??M.copy)();return D.set(t,r),r}let m=class extends E{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`
86
86
  --local-color: ${`var(--wui-color-${this.color});`}
87
87
  --local-width: ${`var(--wui-icon-size-${this.size});`}
88
88
  --local-aspect-ratio: ${this.aspectRatio}