@dcl/shop 1.13.0 → 1.13.1-34993979784.commit-cc536a1

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 (427) hide show
  1. package/_assets/Activity-y94ae09I.js +389 -0
  2. package/_assets/{AnimatedBackground-BnW4jNQ_.js → AnimatedBackground-Clgq4r7f.js} +2 -2
  3. package/_assets/{Assets-CamziJEW.js → Assets-Bf_sLagy.js} +11 -11
  4. package/_assets/{Authorizations-qhSo3l9v.js → Authorizations-C6r3_VE9.js} +12 -12
  5. package/_assets/{Cart-BdU4pPj2.js → Cart-BHa6SSMn.js} +9 -9
  6. package/_assets/{Collection-EQ6zO1YD.js → Collection-BZwrpfZI.js} +11 -11
  7. package/_assets/{CollectionCarousel-Crm-0uNM.js → CollectionCarousel-ChQ0GtyX.js} +9 -9
  8. package/_assets/{Confetti-BqpIfMO9.js → Confetti-FM7bXk07.js} +4 -4
  9. package/_assets/{ConstantsUtil-BCzF6n74.js → ConstantsUtil-DyktTHZK.js} +2 -2
  10. package/_assets/{ContentClient-DJLeN-Hu.js → ContentClient-umLyw_JS.js} +2 -2
  11. package/_assets/{Creator-C1ewJ_rt.js → Creator-DixoeSeo.js} +29 -29
  12. package/_assets/{DeploymentBuilder-CtSJAkCg.js → DeploymentBuilder-CHCNqJsM.js} +3 -3
  13. package/_assets/{EmotePlaybackBar-DJ1CBzQj.js → EmotePlaybackBar-CA-zgAad.js} +19 -19
  14. package/_assets/{ErrorNotice-DFD2N4ZG.js → ErrorNotice-DotWMQbB.js} +2 -2
  15. package/_assets/{Event-CGEg1Njh.js → Event-C-ViK-OD.js} +2 -2
  16. package/_assets/{ExchangeController-LNJTGsI4.js → ExchangeController-BE1PYDfs.js} +2 -2
  17. package/_assets/{Faq-DBi3GpFN.js → Faq-Cp96xIfj.js} +3 -3
  18. package/_assets/{GetCredits-CilUrWIp.js → GetCredits-Cqu5qXEA.js} +14 -14
  19. package/_assets/{Grow-DSgnoOPE.js → Grow-CrGeTusR.js} +2 -2
  20. package/_assets/HelpersUtil-DWzN65Rl.js +63 -0
  21. package/_assets/ItemDetail-DOb19Aa9.js +3778 -0
  22. package/_assets/LoadMore-DE4T10bH.js +8 -0
  23. package/_assets/{ManaPricingBanner.styles-CiQXNidr.js → ManaPricingBanner.styles-Dmn9WZF1.js} +2 -2
  24. package/_assets/{MyAssets-D1kA_br4.js → MyAssets-CFa1VrBM.js} +7 -7
  25. package/_assets/{MyFavorites-Bg2VKyPe.js → MyFavorites-DHofBczp.js} +6 -6
  26. package/_assets/{NetworkUtil-D1Xckx5t.js → NetworkUtil-bkXm6BFd.js} +2 -2
  27. package/_assets/NotFound-F57fqKGG.js +18 -0
  28. package/_assets/{NotificationsBell-DwmpPTnq.js → NotificationsBell--0kNSyE8.js} +13 -13
  29. package/_assets/{OutfitDetail-kCQ6HeTm.js → OutfitDetail-CgbZofiV.js} +5 -5
  30. package/_assets/OutfitPreview-B_kNY-9H.js +7 -0
  31. package/_assets/{OutfitStudio-BO_xeG9Z.js → OutfitStudio-C-O1DNUx.js} +24 -24
  32. package/_assets/{PhArrowCircleDown-BQf7a7tx.js → PhArrowCircleDown-Bmy0XPqd.js} +5 -5
  33. package/_assets/{PhArrowClockwise-tl_iVvce.js → PhArrowClockwise-Bklo7MBV.js} +3 -3
  34. package/_assets/{PhArrowDown-Nx8skxB1.js → PhArrowDown-CBjJCstB.js} +3 -3
  35. package/_assets/{PhArrowLeft-B2FOU46g.js → PhArrowLeft-BCeYPtMx.js} +2 -2
  36. package/_assets/PhArrowRight-Ch61WxZn.js +15 -0
  37. package/_assets/{PhArrowSquareOut-Cwvs2k2I.js → PhArrowSquareOut-Bk5nSBoz.js} +5 -5
  38. package/_assets/{PhArrowUp-Ddpjrupw.js → PhArrowUp-CzPwFe1F.js} +5 -5
  39. package/_assets/{PhArrowUpRight-GR9jLk0j.js → PhArrowUpRight-DF87CEc7.js} +3 -3
  40. package/_assets/{PhArrowsClockwise-DiFALoYE.js → PhArrowsClockwise-D5XWB216.js} +5 -5
  41. package/_assets/{PhArrowsDownUp-C5MsaDSU.js → PhArrowsDownUp-CVtoWYS-.js} +5 -5
  42. package/_assets/{PhArrowsLeftRight-CVSlwL5f.js → PhArrowsLeftRight-Cu83Wp7y.js} +3 -3
  43. package/_assets/{PhBank-JlgXqj6a.js → PhBank-BjB_uqsX.js} +3 -3
  44. package/_assets/{PhBrowser-BAuOLdYK.js → PhBrowser-CW3ZGiB7.js} +5 -5
  45. package/_assets/PhCaretDown-PT_hkshh.js +15 -0
  46. package/_assets/{PhCaretLeft-CuCRXELD.js → PhCaretLeft-DPSFahQA.js} +3 -3
  47. package/_assets/{PhCaretRight-Dh12cPi2.js → PhCaretRight-EEBUAb9H.js} +4 -4
  48. package/_assets/{PhCaretUp-D_YSLbRZ.js → PhCaretUp-Bit2hvKo.js} +4 -4
  49. package/_assets/{PhCheck-DM-Xw6Og.js → PhCheck-BHmNQJ6P.js} +3 -3
  50. package/_assets/{PhCircleHalf-B_a7PTBj.js → PhCircleHalf-AD4oTWoj.js} +5 -5
  51. package/_assets/{PhClock-C6uHGxHX.js → PhClock-3t4anT3D.js} +5 -5
  52. package/_assets/{PhCompass-BCBQfuVk.js → PhCompass-DpvhkfDj.js} +3 -3
  53. package/_assets/{PhCopy-CuJFaD8W.js → PhCopy-We2XYWCm.js} +5 -5
  54. package/_assets/{PhCreditCard-j7mRfOWb.js → PhCreditCard-BBnTMXbe.js} +4 -4
  55. package/_assets/{PhCurrencyDollar-BHK_WZqp.js → PhCurrencyDollar-dPV4byY8.js} +4 -4
  56. package/_assets/{PhDesktop-yP_Shy1c.js → PhDesktop-DVuLe5q1.js} +3 -3
  57. package/_assets/{PhDeviceMobile-MCjovOoQ.js → PhDeviceMobile-D6knI_PD.js} +3 -3
  58. package/_assets/{PhDotsThree-B-8MklB_.js → PhDotsThree-D_uTiViU.js} +4 -4
  59. package/_assets/{PhEnvelope-BVMpBzL8.js → PhEnvelope-Bkk7fDMT.js} +3 -3
  60. package/_assets/{PhFunnelSimple-Xip53NJe.js → PhFunnelSimple-BVx2yoJC.js} +3 -3
  61. package/_assets/{PhGlobe-DTLd7vq3.js → PhGlobe-BUa1rAnN.js} +2 -2
  62. package/_assets/{PhIdentificationCard-Owvtcfl8.js → PhIdentificationCard-D7mCEldI.js} +5 -5
  63. package/_assets/{PhImage-gpASuR3P.js → PhImage-DN8upEaC.js} +2 -2
  64. package/_assets/{PhInfo-By_MexxN.js → PhInfo-BRv5JqkG.js} +3 -3
  65. package/_assets/{PhLightbulb-D9di92yf.js → PhLightbulb-LZ8Bksrw.js} +3 -3
  66. package/_assets/{PhMagnifyingGlass-DDgrWTCc.js → PhMagnifyingGlass-Nlml1ksU.js} +5 -5
  67. package/_assets/{PhPaperPlaneRight-DQP_XqUF.js → PhPaperPlaneRight-QfFyGr7O.js} +3 -3
  68. package/_assets/{PhPlus-l3KhxySr.js → PhPlus-C6YKBVJU.js} +4 -4
  69. package/_assets/{PhPower-Cr4gqDwx.js → PhPower-BtHcdIUq.js} +4 -4
  70. package/_assets/{PhPuzzlePiece-BVKd_9LG.js → PhPuzzlePiece-D5mYYrHE.js} +4 -4
  71. package/_assets/{PhQrCode-C2-pxwu5.js → PhQrCode-MfgEx90-.js} +2 -2
  72. package/_assets/{PhQuestion-hJFyp5y_.js → PhQuestion-BHeGiiUF.js} +3 -3
  73. package/_assets/{PhQuestionMark-BIf3aP5-.js → PhQuestionMark-DNtDU6-_.js} +4 -4
  74. package/_assets/{PhSealCheck-DYwmEsuV.js → PhSealCheck-CDWno5AE.js} +2 -2
  75. package/_assets/{PhSignOut-D4m3HfaH.js → PhSignOut-BWUfOWAY.js} +4 -4
  76. package/_assets/{PhSpinner-CQO82DfI.js → PhSpinner-Chbk-Rrh.js} +4 -4
  77. package/_assets/{PhTrash-BcF8SoSu.js → PhTrash-CknzCMhK.js} +2 -2
  78. package/_assets/{PhUser-TbE-uvug.js → PhUser-DBmpCM-x.js} +4 -4
  79. package/_assets/{PhVault-DN8MSFv_.js → PhVault-B_-lceT6.js} +2 -2
  80. package/_assets/{PhWallet-DZOB7Naf.js → PhWallet-DzHci4bI.js} +5 -5
  81. package/_assets/{PhWarning-BioUNSl5.js → PhWarning-DNajgYKH.js} +3 -3
  82. package/_assets/{PhWarningCircle-B1qANwXx.js → PhWarningCircle-DaWHEJd0.js} +5 -5
  83. package/_assets/{PhX-C2MAMi7o.js → PhX-o_0aqvnZ.js} +3 -3
  84. package/_assets/Spinner-D_6ZvYKj.js +50 -0
  85. package/_assets/StoreSettings-DCpXtqua.js +196 -0
  86. package/_assets/{Success-BOXdwFix.js → Success-CukAZwp-.js} +13 -13
  87. package/_assets/{SwapController-7Q3mgAr3.js → SwapController-DnGprKGk.js} +2 -2
  88. package/_assets/{TradeService-DoF1sJfB.js → TradeService-BjORZVRw.js} +2 -2
  89. package/_assets/{W3MFrameProviderSingleton-BLGKJTAV.js → W3MFrameProviderSingleton-D_YJGPi0.js} +4 -4
  90. package/_assets/{WebCryptoP256-DY58fkES.js → WebCryptoP256-DUw3kC8U.js} +2 -2
  91. package/_assets/{add-CHjzJko0.js → add-DMqlCS_5.js} +2 -2
  92. package/_assets/{all-wallets-iP9kf8IH.js → all-wallets-jltIqTjt.js} +2 -2
  93. package/_assets/{app-store-KBtXJUZW.js → app-store-8U-XnKiq.js} +2 -2
  94. package/_assets/{apple-1wsuvzH8.js → apple-DqtIUOT7.js} +3 -3
  95. package/_assets/{arrow-bottom-g-rIpj6-.js → arrow-bottom-PA3nOuzV.js} +2 -2
  96. package/_assets/{arrow-bottom-circle-CgTwGRtZ.js → arrow-bottom-circle-C-CSXtk9.js} +3 -3
  97. package/_assets/arrow-left-Cddzsk1s.js +9 -0
  98. package/_assets/arrow-right-FkB0kPcW.js +9 -0
  99. package/_assets/{arrow-top-tB4xV8bo.js → arrow-top-BAZtnW6A.js} +3 -3
  100. package/_assets/{async-directive-B7SDFDfN.js → async-directive-C0XTxdV5.js} +3 -3
  101. package/_assets/{authorizations-j1Fdv_CY.js → authorizations-CetLBrrn.js} +2 -2
  102. package/_assets/{bank-Bq57T_gs.js → bank-C-8Jh-Iw.js} +2 -2
  103. package/_assets/{basic-ikWsaw57.js → basic-CLYIK-ki.js} +2 -2
  104. package/_assets/{biconomy-D7jszzZX.js → biconomy-BXhPby5u.js} +2 -2
  105. package/_assets/{browseLayout.styles-CzgQMQ68.js → browseLayout.styles-DAoBsqew.js} +8 -8
  106. package/_assets/{browser-B8dgFdTL.js → browser-BXKNeaZx.js} +2 -2
  107. package/_assets/{browser-BYr_ioqH.js → browser-CS9ULcyp.js} +2 -2
  108. package/_assets/{browser-Dhl29U0F.js → browser-UELF8Jdm.js} +2 -2
  109. package/_assets/{browser-ponyfill-DgxLup8s.js → browser-ponyfill-B_GaUsCN.js} +2 -2
  110. package/_assets/builder-5e3kaadc.js +2 -0
  111. package/_assets/buy-gasless-B3S72xPD.js +2 -0
  112. package/_assets/buy-weQ6P2qo.js +2 -0
  113. package/_assets/{card-SS6BCQlD.js → card-Uc0KebvL.js} +2 -2
  114. package/_assets/{categories-D8j8Cra5.js → categories-CkHoyS1q.js} +3 -3
  115. package/_assets/{ccip-DUsbF98O.js → ccip-B5o6MUFH.js} +2 -2
  116. package/_assets/{ccip-BFtRvUNC.js → ccip-ojGeJg1A.js} +2 -2
  117. package/_assets/{chains-ZMlAuLDk.js → chains-xtXzCBVt.js} +2 -2
  118. package/_assets/{checkmark-Ce_V05yL.js → checkmark-7uWcPB0u.js} +2 -2
  119. package/_assets/{checkmark-bold-H9kfGvBU.js → checkmark-bold-BwTefyx7.js} +3 -3
  120. package/_assets/chevron-bottom-CJ9Wl9Xm.js +9 -0
  121. package/_assets/chevron-left-DKH1P9Pf.js +9 -0
  122. package/_assets/{chevron-right-BeBDYBiH.js → chevron-right-DeNTJHBI.js} +3 -3
  123. package/_assets/chevron-top-Dn0py8bk.js +9 -0
  124. package/_assets/{chrome-store-PMcYx52p.js → chrome-store-DUbm69Gl.js} +3 -3
  125. package/_assets/{class-map-D0tzaS-h.js → class-map-C7I-HYAi.js} +2 -2
  126. package/_assets/{clock-BiZp9Ggi.js → clock-CMav6VuQ.js} +2 -2
  127. package/_assets/{close-BFw77kzc.js → close-Byftwzmc.js} +2 -2
  128. package/_assets/{coinPlaceholder-B9YzaxY6.js → coinPlaceholder-C0F4r6oU.js} +2 -2
  129. package/_assets/collectionPage.styles-C-P5ksGT.js +41 -0
  130. package/_assets/common-05TgCNdZ.js +2 -0
  131. package/_assets/{compass-BqXmuVKk.js → compass-CPDOuTyF.js} +2 -2
  132. package/_assets/controller-DRh9C0G5.js +3 -0
  133. package/_assets/{copy-DNAdNuz_.js → copy-CjXNbdx3.js} +2 -2
  134. package/_assets/{core-CoWTi1UJ.js → core-C75bqi35.js} +5 -5
  135. package/_assets/{createSvgIcon-BiPKRVst.js → createSvgIcon-ChY04J8i.js} +4 -4
  136. package/_assets/crumbs.styles-DJZlyg5r.js +10 -0
  137. package/_assets/cursor-D-SkqFO5.js +4 -0
  138. package/_assets/{cursor-transparent-BUUXFhiw.js → cursor-transparent-RE6Zec8w.js} +3 -3
  139. package/_assets/{custom-DkR7MyWb.js → custom-vPIPlEsq.js} +2 -2
  140. package/_assets/{data-capture-C0QIYOtX.js → data-capture-UpvRekWV.js} +2 -2
  141. package/_assets/{dcl-schemas-CEEV5Gwi.js → dcl-schemas-DORfUy0V.js} +2 -2
  142. package/_assets/decimals-BZwuZ3jD.js +2 -0
  143. package/_assets/decimals-CCp576NL.js +2 -0
  144. package/_assets/{desktop-BV-CpCPh.js → desktop-tp0dY4sR.js} +3 -3
  145. package/_assets/detectExtension-Dl-3hY5D.js +2 -0
  146. package/_assets/{disconnect-C5A_Ulh-.js → disconnect-PN0ATTQe.js} +3 -3
  147. package/_assets/{discord-DFEpyKvH.js → discord-ISYEjXZK.js} +3 -3
  148. package/_assets/{disposePreview-Bfh9aU_J.js → disposePreview-k60M4rpf.js} +2 -2
  149. package/_assets/{email-C0rayVJd.js → email-B_f-l0_m.js} +2 -2
  150. package/_assets/{embedded-wallet-5MeCyUdE.js → embedded-wallet-RwxBAr72.js} +2 -2
  151. package/_assets/{emotion-styled.browser.esm-LN9zOfwH.js → emotion-styled.browser.esm-Dg4Ghxx3.js} +2 -2
  152. package/_assets/{engine-Cf1QmTJQ.js → engine-f6iBVJBB.js} +2 -2
  153. package/_assets/errors-D4kyF6JJ.js +2 -0
  154. package/_assets/estimate-l1-fee-B6WUr-zT.js +2 -0
  155. package/_assets/eth_estimateGas-CYjhBOQE.js +2 -0
  156. package/_assets/eth_getStorageAt-WsZTUrmu.js +2 -0
  157. package/_assets/eth_getTransactionCount-CNPXp6e4.js +2 -0
  158. package/_assets/ethereum-DkP3o5aa.js +2 -0
  159. package/_assets/{ethers-BfnXvuxS.js → ethers-WieUx6J3.js} +2 -2
  160. package/_assets/{etherscan-DjB6vSIQ.js → etherscan-CjB1AtvG.js} +3 -3
  161. package/_assets/{events-DOXOcxVW.js → events-DCTFXu5N.js} +2 -2
  162. package/_assets/{exclamation-triangle-BigqO5zC.js → exclamation-triangle-Vw_jmJIs.js} +2 -2
  163. package/_assets/{execute-R31vI0PP.js → execute-D4CHBva9.js} +3 -3
  164. package/_assets/{extension-DrkmxAqx.js → extension-p5vqJTq0.js} +3 -3
  165. package/_assets/{external-link-CbNALei9.js → external-link-6l8BDrnZ.js} +3 -3
  166. package/_assets/{extractIPFS-Bg2FU7gW.js → extractIPFS-ZsNFU46a.js} +2 -2
  167. package/_assets/{facebook-DaDSqQru.js → facebook-BdpnpvkK.js} +3 -3
  168. package/_assets/{farcaster-Do6RB5zR.js → farcaster-DyedtTLV.js} +3 -3
  169. package/_assets/{features-DqkSLGWe.js → features-OF9xoTDd.js} +2 -2
  170. package/_assets/fetchTokenMetadata-Dg3ltP5M.js +3 -0
  171. package/_assets/{field.styles-BeUcGp3j.js → field.styles-KbMupjr-.js} +2 -2
  172. package/_assets/{filters-ZGEyDIFh.js → filters-CMt2xly-.js} +3 -3
  173. package/_assets/{fortmatic-BeVunzky.js → fortmatic-HMELMcnY.js} +2 -2
  174. package/_assets/{get-bytecode-BpKcUepk.js → get-bytecode-DloHBZ_d.js} +2 -2
  175. package/_assets/get-ecosystem-wallet-info-BqrchKIy.js +2 -0
  176. package/_assets/{getBalance-UTTv1le_.js → getBalance-BEQ4wPYL.js} +3 -3
  177. package/_assets/getInstalledModules-BlBZA-Zl.js +2 -0
  178. package/_assets/getNFT-U0szEjvv.js +2 -0
  179. package/_assets/getNFT-n9Qxt0Xr.js +3 -0
  180. package/_assets/{github-CoYfnUKi.js → github-DpuVIU6C.js} +2 -2
  181. package/_assets/{google-BvNO-5zV.js → google-BwS7c7G5.js} +2 -2
  182. package/_assets/grid.styles-XpcxjXw_.js +15 -0
  183. package/_assets/{hashTypedData-mvCKC6OS.js → hashTypedData-BEhlVAb4.js} +2 -2
  184. package/_assets/{hashTypedData-DVQd-ytO.js → hashTypedData-GUaIJzNq.js} +2 -2
  185. package/_assets/{help-circle-CS_fIGWE.js → help-circle-D4e71YxP.js} +3 -3
  186. package/_assets/{id-BctfRKQ1.js → id-CkCU8Jqk.js} +3 -3
  187. package/_assets/{image-5sWR7BDC.js → image-BgNr9PHW.js} +2 -2
  188. package/_assets/import-CHMhz1OC.js +2 -0
  189. package/_assets/{in-app-D7v4pJbk.js → in-app-CRMqmF7u.js} +2 -2
  190. package/_assets/in-app-wallet-calls-D_VjEhpA.js +2 -0
  191. package/_assets/{index-f-rhyCiZ.js → index--SJ3onSa.js} +2 -2
  192. package/_assets/{index-D-fNU-mX.js → index-6YytbPez.js} +3 -3
  193. package/_assets/index-B1ROf6Hr.js +4252 -0
  194. package/_assets/{index-CzHeD3Wi.js → index-B3oTUjI-.js} +2 -2
  195. package/_assets/{index-DLA2XG0B.js → index-B4msfI4v.js} +2 -2
  196. package/_assets/{index-BUhRMj0k.js → index-B8gGSzeH.js} +3 -3
  197. package/_assets/{index-DTDLF1_e.js → index-BBXNxrEQ.js} +2 -2
  198. package/_assets/{index-vRZTC-Kx.js → index-BBw1GbFP.js} +5 -5
  199. package/_assets/{index-Y6LX2zPm.js → index-BJ4vmyO4.js} +2 -2
  200. package/_assets/{index-D15i9Snb.js → index-BJ6A8ukF.js} +2 -2
  201. package/_assets/{index-D3An-1P9.js → index-BOJkpUpe.js} +4 -4
  202. package/_assets/{index-BzsMKIPi.js → index-BSF4-7kX.js} +2 -2
  203. package/_assets/{index-C4BR3a3M.js → index-BUxqT_hO.js} +4 -4
  204. package/_assets/{index-nZh7HqkX.js → index-BW_WOQ-E.js} +4 -4
  205. package/_assets/{index-DC12bna3.js → index-BXEygVhz.js} +6 -6
  206. package/_assets/index-B_eS1IL9.js +2 -0
  207. package/_assets/{index-DAgkANiI.js → index-BgoKLao6.js} +4 -4
  208. package/_assets/{index-qLV9obfb.js → index-Bi2MT3Br.js} +4 -4
  209. package/_assets/{index-C6MOg2oW.js → index-BjKFCEmA.js} +2 -2
  210. package/_assets/{index-DckWaHRB.js → index-BjviemPP.js} +3 -3
  211. package/_assets/{index-BiOyGp0x.js → index-Bm0Cl7Ng.js} +2 -2
  212. package/_assets/{index-DNJCrjPc.js → index-Btk0v51P.js} +2 -2
  213. package/_assets/{index-Bn9MxyNx.js → index-BxeQ7tOU.js} +64 -144
  214. package/_assets/{index-BA3YuPkE.js → index-C-JNsBrP.js} +2 -2
  215. package/_assets/{index-CQTuHkt6.js → index-C0yPGJlc.js} +4 -4
  216. package/_assets/{index-C7Ns1jUN.js → index-C3nsM0Df.js} +2 -2
  217. package/_assets/{index-BvE5kQP5.js → index-CGXHUl7l.js} +2 -2
  218. package/_assets/{index-Dw660D76.js → index-CPk6unD2.js} +3 -3
  219. package/_assets/{index-BjhkePbM.js → index-CQyvmshI.js} +4 -4
  220. package/_assets/{index-8a4ejD-E.js → index-CXpeGR20.js} +2 -2
  221. package/_assets/{index-CQi6hJSY.js → index-CgWdVFDt.js} +2 -2
  222. package/_assets/{index-Br346hMc.js → index-CgpCCFEJ.js} +4 -4
  223. package/_assets/{index-DmkxnRhi.js → index-D4pYumNB.js} +2 -2
  224. package/_assets/{index-DJDZ2D_0.js → index-D7paI5sc.js} +2 -2
  225. package/_assets/index-DOm935q5.css +1 -0
  226. package/_assets/{index-BFGJWrau.js → index-DQWOabz8.js} +4 -4
  227. package/_assets/{index-Cg1q_1rC.js → index-DSJFHA_o.js} +2 -2
  228. package/_assets/{index-DLdrzeCo.js → index-DVuWSamg.js} +2 -2
  229. package/_assets/index-Da5vNeKV.js +28 -0
  230. package/_assets/{index-DmPseRWb.js → index-DcgBUAAU.js} +2 -2
  231. package/_assets/index-DclNom06.js +2 -0
  232. package/_assets/{index-V2l1pvfO.js → index-DhjQY0xv.js} +2 -2
  233. package/_assets/{index-N6jOuY9E.js → index-DjjvcRCL.js} +2 -2
  234. package/_assets/{index-CmHI48j2.js → index-DmCAVm8r.js} +2 -2
  235. package/_assets/{index-CRi7V83H.js → index-DqEB-LeI.js} +3 -3
  236. package/_assets/{index-aTHzb-UU.js → index-Drv2Mkim.js} +2 -2
  237. package/_assets/{index-CnTq-D0F.js → index-FTPbW7yA.js} +2 -2
  238. package/_assets/{index-CFWOoo0n.js → index-I6vz_Nx2.js} +2 -2
  239. package/_assets/{index-BXSuEdHw.js → index-LWNBoekl.js} +4 -4
  240. package/_assets/{index-C38OW2pe.js → index-LrS2SxP3.js} +9 -9
  241. package/_assets/{index-Bpnh2mhD.js → index-P9ko9qxV.js} +4 -4
  242. package/_assets/{index-R_aZBTVq.js → index-RrZwJZhi.js} +2 -2
  243. package/_assets/{index-7EA3n-EN.js → index-UZv7ED4b.js} +4 -4
  244. package/_assets/{index-CZoaQxuM.js → index-UyYK_aPr.js} +9 -9
  245. package/_assets/{index-C9F2T2G5.js → index-V_8kqc_J.js} +6 -6
  246. package/_assets/{index-C-3S-aR_.js → index-Vukma-By.js} +4 -4
  247. package/_assets/{index-D0CCESX5.js → index-WgY7-T5p.js} +2 -2
  248. package/_assets/{index-_o4B93Wv.js → index-_JXC86yX.js} +2 -2
  249. package/_assets/{index-B3kapPCX.js → index-b2U-cvTm.js} +2 -2
  250. package/_assets/{index-u07BnOHT.js → index-e3K8ffGR.js} +2 -2
  251. package/_assets/{index-CktWkqok.js → index-fYMDF-nj.js} +2 -2
  252. package/_assets/{index-DV2ikJ7P.js → index-ha1-SQ-C.js} +2 -2
  253. package/_assets/{index-C2gDgpYx.js → index-lV5-G4LP.js} +2 -2
  254. package/_assets/{index-CiZNMvJ9.js → index-mgPJzy_t.js} +2 -2
  255. package/_assets/{index-Dwm1aZW_.js → index-oGgl7EbM.js} +4 -4
  256. package/_assets/{index-B3qB_Szq.js → index-otoK8aYG.js} +2 -2
  257. package/_assets/{index-C7JAEpsR.js → index-vCQTpIGW.js} +2 -2
  258. package/_assets/{index-C9m77YrW.js → index-yNEqW0_K.js} +9 -9
  259. package/_assets/{index.es-d0bre8FY.js → index.es-Br25byW5.js} +2 -2
  260. package/_assets/{index.es-BPHop57M.js → index.es-C2dLKR_O.js} +2 -2
  261. package/_assets/{index.es-B8O7hyLV.js → index.es-CQzD76Vb.js} +2 -2
  262. package/_assets/{index.es-Cfi7R05N.js → index.es-o8vptLzN.js} +5 -5
  263. package/_assets/{info-B7xrwD1T.js → info-CULnZZaj.js} +2 -2
  264. package/_assets/{info-circle-g_FLkwEH.js → info-circle-lLJ-CNp2.js} +3 -3
  265. package/_assets/items-empty-HnabtR_T.js +2 -0
  266. package/_assets/jsxRuntime.module-gjtb1wYS.js +2 -0
  267. package/_assets/{jump-ZJB-DBny.js → jump-Bz5Vjx6K.js} +2 -2
  268. package/_assets/{lightbulb-BEdzTqhe.js → lightbulb-4T7s9a-o.js} +3 -3
  269. package/_assets/linkAccount-C0ot1Sco.js +2 -0
  270. package/_assets/{localBatchGatewayRequest-aw27Bp6C.js → localBatchGatewayRequest-BqvXlC7E.js} +2 -2
  271. package/_assets/{mail-B5y2UAYP.js → mail-DhJDk7cH.js} +2 -2
  272. package/_assets/{mobile-Px_F4xuu.js → mobile-CydJ5WdV.js} +2 -2
  273. package/_assets/modal.styles-C3XiE4Tr.js +112 -0
  274. package/_assets/{more-vjJSeJc6.js → more-Dg2B8rio.js} +3 -3
  275. package/_assets/{native-D_b-Jjxn.js → native-DiDn8665.js} +2 -2
  276. package/_assets/{network-placeholder-BT0DMZpT.js → network-placeholder-h8TrKQkX.js} +2 -2
  277. package/_assets/{networks-Cz_KXKTD.js → networks-DjPRtXEM.js} +2 -2
  278. package/_assets/{nftPlaceholder-Dv1GbIku.js → nftPlaceholder-B4g7qDN6.js} +3 -3
  279. package/_assets/{off-BIRJlzsd.js → off-UwuZMWU-.js} +3 -3
  280. package/_assets/{onramp-BgSxVi_X.js → onramp-CeKu2YPK.js} +2 -2
  281. package/_assets/openzeppelin-BB4EijFh.js +2 -0
  282. package/_assets/ownerOf-C-nVCTPr.js +2 -0
  283. package/_assets/parseNft-DVITVc6g.js +3 -0
  284. package/_assets/{parseSignature-DvERMuu5.js → parseSignature-BSKK30Fe.js} +4 -4
  285. package/_assets/{parseSignature-BgAg7p_1.js → parseSignature-G0Zd3Jar.js} +2 -2
  286. package/_assets/{passkeys-Cz2GemtB.js → passkeys-BpzvQa_g.js} +2 -2
  287. package/_assets/{pay-with-exchange-CqWdb7la.js → pay-with-exchange-7cUI58bO.js} +2 -2
  288. package/_assets/{play-store-BQbH9juS.js → play-store-B1ADa5-a.js} +2 -2
  289. package/_assets/{plus-CRN7wFaf.js → plus-CkIDGwOx.js} +2 -2
  290. package/_assets/{prepare-contract-call-DWYd_dpp.js → prepare-contract-call-Dlduechp.js} +2 -2
  291. package/_assets/{qr-code-D3CPi7o-.js → qr-code-DInpw8H9.js} +3 -3
  292. package/_assets/{qr-overlay-D0QgP5Gm.js → qr-overlay-BV4bvBFo.js} +4 -4
  293. package/_assets/{react-CfmD1IrY.js → react-CZuwb7m7.js} +2 -2
  294. package/_assets/{receive-DX9IzAKR.js → receive-CE5bAHra.js} +2 -2
  295. package/_assets/{recycle-horizontal-2b5C-1KE.js → recycle-horizontal-frlUVLoe.js} +2 -2
  296. package/_assets/{ref-aKgZQrB7.js → ref-BDtPbYkK.js} +3 -3
  297. package/_assets/{refresh-CxxKeQ5p.js → refresh-BJgYdDWe.js} +3 -3
  298. package/_assets/{reown-logo-CvtJaHLE.js → reown-logo-CptpO-OK.js} +3 -3
  299. package/_assets/{resolveImplementation-1LdC9vyT.js → resolveImplementation-BdBesTY3.js} +2 -2
  300. package/_assets/{resume-buy-DbTQ4Y00.js → resume-buy-Czg3i8t8.js} +2 -2
  301. package/_assets/{rpc-CS7-9nns.js → rpc-BqAyWRXa.js} +4 -4
  302. package/_assets/sales-empty-AU1sKrza.js +2 -0
  303. package/_assets/{search-3wKI8ynJ.js → search-CovtTjFk.js} +3 -3
  304. package/_assets/{search-empty-BWTzk53_.js → search-empty-DfwnO5cb.js} +2 -2
  305. package/_assets/{secp256k1-CkttYbi-.js → secp256k1-CgPdITh3.js} +2 -2
  306. package/_assets/{secp256k1-bprmllwr.js → secp256k1-Ch-KhYke.js} +2 -2
  307. package/_assets/{secp256k1-KrI-5aSb.js → secp256k1-lgUzN65n.js} +2 -2
  308. package/_assets/{send-afZjmQ6f.js → send-BqmhOSPb.js} +2 -2
  309. package/_assets/{send-D3QhjtsL.js → send-OheQUopz.js} +2 -2
  310. package/_assets/send-batch-transaction-vAPluT5B.js +2 -0
  311. package/_assets/{send-eip712-transaction-D4Lq-5w3.js → send-eip712-transaction-tXv-Yd3H.js} +3 -3
  312. package/_assets/send-gasless-transaction-f_B7waUE.js +3 -0
  313. package/_assets/send-transaction-DIyZP7sK.js +3 -0
  314. package/_assets/{sendMetaTransaction-C43xk9UA.js → sendMetaTransaction-rHCZ_KlH.js} +2 -2
  315. package/_assets/{sendRawTransaction-imHapPG5.js → sendRawTransaction-B_Qpc1kq.js} +4 -4
  316. package/_assets/{sentry-TFqjegNi.js → sentry-CNTYv-PS.js} +3 -3
  317. package/_assets/{serializeTransaction-CxiUwXNH.js → serializeTransaction-B6_kedg0.js} +2 -2
  318. package/_assets/{session-proposal-DJZiGtMS.js → session-proposal-DZr6wtSM.js} +2 -2
  319. package/_assets/session-request-E-vllRuA.js +3 -0
  320. package/_assets/{sha256-BMvUBSH_.js → sha256-BgLL3Y8w.js} +2 -2
  321. package/_assets/{sha3-DE1CUjCa.js → sha3-BwdQ5UBB.js} +2 -2
  322. package/_assets/{signing-3pb9u9PC.js → signing-CN_f0qZ3.js} +4 -4
  323. package/_assets/skeleton.styles-BOojxrjn.js +8 -0
  324. package/_assets/{socials-5B1SW8BM.js → socials-C807Gboq.js} +2 -2
  325. package/_assets/{styled-DKHbz6uI.js → styled-CSjfhS1W.js} +3 -3
  326. package/_assets/{swapHorizontal-B4kcglfm.js → swapHorizontal-BzkqO77h.js} +3 -3
  327. package/_assets/{swapHorizontalBold-B7MRRr2N.js → swapHorizontalBold-Ci7CW-Ps.js} +2 -2
  328. package/_assets/{swapHorizontalMedium-C5ev_7je.js → swapHorizontalMedium-BIJFHqWY.js} +3 -3
  329. package/_assets/{swapHorizontalRoundedBold-zu2vwomo.js → swapHorizontalRoundedBold-DgbOKQnq.js} +2 -2
  330. package/_assets/{swapVertical-DpeRjJbe.js → swapVertical-AbfbZRwH.js} +2 -2
  331. package/_assets/{swaps-DXoDHWlZ.js → swaps-CD8bV1J9.js} +2 -2
  332. package/_assets/{telegram-wm1axFAX.js → telegram-D7G_eJ_b.js} +3 -3
  333. package/_assets/{thirdweb-BXLB_paW.js → thirdweb-BX-9uCyi.js} +4 -4
  334. package/_assets/{three-dots-Cc2_9MPN.js → three-dots-OoMaedcW.js} +2 -2
  335. package/_assets/{to-serializable-transaction-FSmJ1Nj5.js → to-serializable-transaction-CyqVRPus.js} +3 -3
  336. package/_assets/totalSupply-B4Flwjn6.js +2 -0
  337. package/_assets/{transaction-CKWKk0bi.js → transaction-EqsZ4Lc9.js} +2 -2
  338. package/_assets/{transactionReceipt-DBgTpvGb.js → transactionReceipt-Cvo-qbKj.js} +2 -2
  339. package/_assets/transactions-T88r0T8z.js +17 -0
  340. package/_assets/{twitch-B46ssSkZ.js → twitch-XFZ_dW-0.js} +3 -3
  341. package/_assets/{twitterIcon-eHwnG6jo.js → twitterIcon-DFIrOz7L.js} +3 -3
  342. package/_assets/useCreditPacks-BsaQss54.js +2 -0
  343. package/_assets/{useInfiniteGrid-jWb4qfov.js → useInfiniteGrid-D7MfhZ0F.js} +2 -2
  344. package/_assets/{useStore-sOfyAYYH.js → useStore-Do3cKMOm.js} +3 -3
  345. package/_assets/useTheme-DVtQ3kEW.js +2 -0
  346. package/_assets/{utils-TFUg72P3.js → utils-BBBdI_ZH.js} +2 -2
  347. package/_assets/{verify-D9O8bUPp.js → verify-CtqWYnsr.js} +3 -3
  348. package/_assets/{verify-filled-BwZg15UB.js → verify-filled-db_bDI2X.js} +2 -2
  349. package/_assets/{verifyHash-FEw82g1n.js → verifyHash-DrjtdAop.js} +2 -2
  350. package/_assets/{w3m-modal-D8L08ctG.js → w3m-modal-BKXjwjsi.js} +2 -2
  351. package/_assets/{w3m-modal-KPmLwiWO.js → w3m-modal-D6yFd78_.js} +2 -2
  352. package/_assets/wait-for-tx-receipt-BYVF1dm0.js +2 -0
  353. package/_assets/{wallet-t7uhZ_wp.js → wallet-C7Nkm-1r.js} +3 -3
  354. package/_assets/wallet-DPgmEFA5.js +2 -0
  355. package/_assets/{wallet-placeholder-OuGxMvpI.js → wallet-placeholder-BAZfiJ4M.js} +3 -3
  356. package/_assets/{walletconnect-_sKMAvFE.js → walletconnect-jD4HJXgj.js} +5 -5
  357. package/_assets/{wallets-BhFxMvJm.js → wallets-Z-G6v2lw.js} +6 -6
  358. package/_assets/warning-circle-DG9C8ETA.js +13 -0
  359. package/_assets/{web-connector-CrKLYCKx.js → web-connector-CcYEFd30.js} +4 -4
  360. package/_assets/{writeContract-CvBZWpQi.js → writeContract-LQKcPGYi.js} +2 -2
  361. package/_assets/{x-BgKeiA5E.js → x-B-2M90IQ.js} +2 -2
  362. package/_assets/{zora-sepolia-H-kXK_Ns.js → zora-sepolia-Cxg0aTZA.js} +2 -2
  363. package/_assets/{zoraTestnet-C5OnuHau.js → zoraTestnet-Q4pEu7Ou.js} +2 -2
  364. package/index.html +11 -11
  365. package/package.json +2 -2
  366. package/_assets/Activity-DG1X3r7j.js +0 -389
  367. package/_assets/HelpersUtil-CN_E4fkk.js +0 -63
  368. package/_assets/ItemDetail-C-HJA8Wl.js +0 -3751
  369. package/_assets/LoadMore-C13YO4Ex.js +0 -8
  370. package/_assets/NotFound-Cciyw0_a.js +0 -18
  371. package/_assets/OutfitPreview-BHGSS1-V.js +0 -7
  372. package/_assets/PhArrowRight-YEtM5hEO.js +0 -15
  373. package/_assets/PhCaretDown-BnGAdY4m.js +0 -15
  374. package/_assets/StoreSettings-CjEaFFjf.js +0 -244
  375. package/_assets/arrow-left-DwniLz7a.js +0 -9
  376. package/_assets/arrow-right-DrFyKfK3.js +0 -9
  377. package/_assets/builder-Qpv88cHd.js +0 -2
  378. package/_assets/buy-BKz4g0wV.js +0 -2
  379. package/_assets/buy-gasless-BxHAW80t.js +0 -2
  380. package/_assets/chevron-bottom-BNXS4EZd.js +0 -9
  381. package/_assets/chevron-left-CntWv8x6.js +0 -9
  382. package/_assets/chevron-top-mB0Ljyp5.js +0 -9
  383. package/_assets/collectionPage.styles-DrR8c6dI.js +0 -41
  384. package/_assets/common-M02sneWF.js +0 -2
  385. package/_assets/controller-brAlSuK8.js +0 -3
  386. package/_assets/crumbs.styles-DZV0yuAO.js +0 -10
  387. package/_assets/cursor-C4vkS7KW.js +0 -4
  388. package/_assets/decimals-BmQMEd9E.js +0 -2
  389. package/_assets/decimals-DKsfBHpK.js +0 -2
  390. package/_assets/detectExtension-DGFEfcbz.js +0 -2
  391. package/_assets/errors-BByokafR.js +0 -2
  392. package/_assets/estimate-l1-fee-CcLIvwfc.js +0 -2
  393. package/_assets/eth_estimateGas-DdbpRto-.js +0 -2
  394. package/_assets/eth_getStorageAt-Ci_AjjHg.js +0 -2
  395. package/_assets/eth_getTransactionCount-0JPW5DGu.js +0 -2
  396. package/_assets/ethereum-DYUSvH6v.js +0 -2
  397. package/_assets/fetchTokenMetadata-COh3nbBL.js +0 -3
  398. package/_assets/get-ecosystem-wallet-info-CUi7n-IS.js +0 -2
  399. package/_assets/getInstalledModules-Ds73OBjY.js +0 -2
  400. package/_assets/getNFT-BhmiyvWi.js +0 -3
  401. package/_assets/getNFT-f75LggPF.js +0 -2
  402. package/_assets/grid.styles-C29Nyu4C.js +0 -15
  403. package/_assets/in-app-wallet-calls-CWLUbme4.js +0 -2
  404. package/_assets/index-7XMZRNJw.css +0 -1
  405. package/_assets/index-BFHMpeS5.js +0 -4245
  406. package/_assets/index-BwbCTrgE.js +0 -2
  407. package/_assets/index-D2yjRgpK.js +0 -28
  408. package/_assets/index-TSMki3gy.js +0 -2
  409. package/_assets/items-empty-Cmf8VL2A.js +0 -2
  410. package/_assets/jsxRuntime.module-BxsNWh0e.js +0 -2
  411. package/_assets/linkAccount-CagwoTkM.js +0 -2
  412. package/_assets/openzeppelin-HT89Dmzp.js +0 -2
  413. package/_assets/ownerOf-BAQuOyZw.js +0 -2
  414. package/_assets/parseNft-BLggk1FL.js +0 -3
  415. package/_assets/sales-empty-DW40FYSx.js +0 -2
  416. package/_assets/send-batch-transaction-hJ59Esjd.js +0 -2
  417. package/_assets/send-gasless-transaction-BjCUBumO.js +0 -3
  418. package/_assets/send-transaction-BNTrOtZy.js +0 -3
  419. package/_assets/session-request-DT1Fe144.js +0 -3
  420. package/_assets/skeleton.styles-6rsyfkX0.js +0 -8
  421. package/_assets/totalSupply-DlcDAex0.js +0 -2
  422. package/_assets/transactions-IudKghIO.js +0 -17
  423. package/_assets/useCreditPacks-BPkAbyaH.js +0 -2
  424. package/_assets/useTheme-Ds6wDviC.js +0 -2
  425. package/_assets/wait-for-tx-receipt-CGKLIxi9.js +0 -2
  426. package/_assets/wallet-BtqgAQr1.js +0 -2
  427. package/_assets/warning-circle-Dz6a5xi_.js +0 -13
@@ -1,7 +1,7 @@
1
- import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="42471714-edb0-43b7-a6e9-94957da5d62e",e._sentryDebugIdIdentifier="sentry-dbid-42471714-edb0-43b7-a6e9-94957da5d62e")}catch{}})();const a=n`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as c}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f44106d7-529f-4e42-aaf4-489191dc5c56",e._sentryDebugIdIdentifier="sentry-dbid-f44106d7-529f-4e42-aaf4-489191dc5c56")}catch{}})();const t=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"
5
5
  />
6
- </svg>`;export{a as etherscanSvg};
7
- //# sourceMappingURL=etherscan-DjB6vSIQ.js.map
6
+ </svg>`;export{t as etherscanSvg};
7
+ //# sourceMappingURL=etherscan-CjB1AtvG.js.map
@@ -1,2 +1,2 @@
1
- import"./react-CfmD1IrY.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new u.Error().stack;c&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[c]="952f5bce-77dc-4b53-b8aa-c7d5fc6c1ab7",u._sentryDebugIdIdentifier="sentry-dbid-952f5bce-77dc-4b53-b8aa-c7d5fc6c1ab7")}catch{}})();var p={exports:{}},x;function T(){if(x)return p.exports;x=1;var u=typeof Reflect=="object"?Reflect:null,c=u&&typeof u.apply=="function"?u.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},l;u&&typeof u.ownKeys=="function"?l=u.ownKeys:Object.getOwnPropertySymbols?l=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:l=function(e){return Object.getOwnPropertyNames(e)};function C(t){console&&console.warn&&console.warn(t)}var h=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}p.exports=o,p.exports.once=M,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var y=10;function v(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return y},set:function(t){if(typeof t!="number"||t<0||h(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");y=t}}),o.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||h(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function L(t){return t._maxListeners===void 0?o.defaultMaxListeners:t._maxListeners}o.prototype.getMaxListeners=function(){return L(this)},o.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",f=this._events;if(f!==void 0)i=i&&f.error===void 0;else if(!i)return!1;if(i){var s;if(n.length>0&&(s=n[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var d=f[e];if(d===void 0)return!1;if(typeof d=="function")c(d,this,n);else for(var O=d.length,I=w(d,O),r=0;r<O;++r)c(I[r],this,n);return!0};function m(t,e,n,r){var i,f,s;if(v(n),f=t._events,f===void 0?(f=t._events=Object.create(null),t._eventsCount=0):(f.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),f=t._events),s=f[e]),s===void 0)s=f[e]=n,++t._eventsCount;else if(typeof s=="function"?s=f[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=L(t),i>0&&s.length>i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=s.length,C(a)}return t}o.prototype.addListener=function(e,n){return m(this,e,n,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,n){return m(this,e,n,!0)};function R(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function g(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=R.bind(r);return i.listener=n,r.wrapFn=i,i}o.prototype.once=function(e,n){return v(n),this.on(e,g(this,e,n)),this},o.prototype.prependOnceListener=function(e,n){return v(n),this.prependListener(e,g(this,e,n)),this},o.prototype.removeListener=function(e,n){var r,i,f,s,a;if(v(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(f=-1,s=r.length-1;s>=0;s--)if(r[s]===n||r[s].listener===n){a=r[s].listener,f=s;break}if(f<0)return this;f===0?r.shift():j(r,f),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||n)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var f=Object.keys(r),s;for(i=0;i<f.length;++i)s=f[i],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function b(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?N(i):w(i,i.length)}o.prototype.listeners=function(e){return b(this,e,!0)},o.prototype.rawListeners=function(e){return b(this,e,!1)},o.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):_.call(t,e)},o.prototype.listenerCount=_;function _(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}o.prototype.eventNames=function(){return this._eventsCount>0?l(this._events):[]};function w(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function j(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function N(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function M(t,e){return new Promise(function(n,r){function i(s){t.removeListener(e,f),r(s)}function f(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}E(t,e,f,{once:!0}),e!=="error"&&A(t,i,{once:!0})})}function A(t,e,n){typeof t.on=="function"&&E(t,"error",e,n)}function E(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(f){r.once&&t.removeEventListener(e,i),n(f)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}return p.exports}export{T as r};
2
- //# sourceMappingURL=events-DOXOcxVW.js.map
1
+ import"./react-CZuwb7m7.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new u.Error().stack;c&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[c]="952f5bce-77dc-4b53-b8aa-c7d5fc6c1ab7",u._sentryDebugIdIdentifier="sentry-dbid-952f5bce-77dc-4b53-b8aa-c7d5fc6c1ab7")}catch{}})();var p={exports:{}},x;function T(){if(x)return p.exports;x=1;var u=typeof Reflect=="object"?Reflect:null,c=u&&typeof u.apply=="function"?u.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},l;u&&typeof u.ownKeys=="function"?l=u.ownKeys:Object.getOwnPropertySymbols?l=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:l=function(e){return Object.getOwnPropertyNames(e)};function C(t){console&&console.warn&&console.warn(t)}var h=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}p.exports=o,p.exports.once=M,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var y=10;function v(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return y},set:function(t){if(typeof t!="number"||t<0||h(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");y=t}}),o.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||h(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function L(t){return t._maxListeners===void 0?o.defaultMaxListeners:t._maxListeners}o.prototype.getMaxListeners=function(){return L(this)},o.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",f=this._events;if(f!==void 0)i=i&&f.error===void 0;else if(!i)return!1;if(i){var s;if(n.length>0&&(s=n[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var d=f[e];if(d===void 0)return!1;if(typeof d=="function")c(d,this,n);else for(var O=d.length,I=w(d,O),r=0;r<O;++r)c(I[r],this,n);return!0};function m(t,e,n,r){var i,f,s;if(v(n),f=t._events,f===void 0?(f=t._events=Object.create(null),t._eventsCount=0):(f.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),f=t._events),s=f[e]),s===void 0)s=f[e]=n,++t._eventsCount;else if(typeof s=="function"?s=f[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=L(t),i>0&&s.length>i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=s.length,C(a)}return t}o.prototype.addListener=function(e,n){return m(this,e,n,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,n){return m(this,e,n,!0)};function R(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function g(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=R.bind(r);return i.listener=n,r.wrapFn=i,i}o.prototype.once=function(e,n){return v(n),this.on(e,g(this,e,n)),this},o.prototype.prependOnceListener=function(e,n){return v(n),this.prependListener(e,g(this,e,n)),this},o.prototype.removeListener=function(e,n){var r,i,f,s,a;if(v(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(f=-1,s=r.length-1;s>=0;s--)if(r[s]===n||r[s].listener===n){a=r[s].listener,f=s;break}if(f<0)return this;f===0?r.shift():j(r,f),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||n)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var f=Object.keys(r),s;for(i=0;i<f.length;++i)s=f[i],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function b(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?N(i):w(i,i.length)}o.prototype.listeners=function(e){return b(this,e,!0)},o.prototype.rawListeners=function(e){return b(this,e,!1)},o.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):_.call(t,e)},o.prototype.listenerCount=_;function _(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}o.prototype.eventNames=function(){return this._eventsCount>0?l(this._events):[]};function w(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function j(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function N(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function M(t,e){return new Promise(function(n,r){function i(s){t.removeListener(e,f),r(s)}function f(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}E(t,e,f,{once:!0}),e!=="error"&&A(t,i,{once:!0})})}function A(t,e,n){typeof t.on=="function"&&E(t,"error",e,n)}function E(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(f){r.once&&t.removeEventListener(e,i),n(f)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}return p.exports}export{T as r};
2
+ //# sourceMappingURL=events-DCTFXu5N.js.map
@@ -1,5 +1,5 @@
1
- import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var C=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new C.Error().stack;e&&(C._sentryDebugIds=C._sentryDebugIds||{},C._sentryDebugIds[e]="20b34057-506f-4d2b-abb2-ea0de0dbe9f4",C._sentryDebugIdIdentifier="sentry-dbid-20b34057-506f-4d2b-abb2-ea0de0dbe9f4")}catch{}})();const o=d`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var C=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new C.Error().stack;e&&(C._sentryDebugIds=C._sentryDebugIds||{},C._sentryDebugIds[e]="cc457af9-6766-4b12-ab20-e93881f77b8d",C._sentryDebugIdIdentifier="sentry-dbid-cc457af9-6766-4b12-ab20-e93881f77b8d")}catch{}})();const o=n`<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{o as exclamationTriangleSvg};
5
- //# sourceMappingURL=exclamation-triangle-BigqO5zC.js.map
5
+ //# sourceMappingURL=exclamation-triangle-Vw_jmJIs.js.map
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-CQTuHkt6.js","_assets/index-BFHMpeS5.js","_assets/react-CfmD1IrY.js","_assets/dcl-schemas-CEEV5Gwi.js","_assets/sentry-TFqjegNi.js","_assets/ethers-BfnXvuxS.js","_assets/intl-AKLEHPeO.js","_assets/index-7XMZRNJw.css","_assets/ethereum-DYUSvH6v.js","_assets/utils-TFUg72P3.js","_assets/types-BeDU9GfL.js","_assets/get-bytecode-BpKcUepk.js","_assets/prepare-contract-call-DWYd_dpp.js","_assets/to-serializable-transaction-FSmJ1Nj5.js","_assets/transaction-CKWKk0bi.js","_assets/web-connector-CrKLYCKx.js","_assets/linkAccount-CagwoTkM.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/sleep-fBr8OToA.js","_assets/detectExtension-DGFEfcbz.js"])))=>i.map(i=>d[i]);
2
- import{u as x,o as F,s as M,a5 as $}from"./prepare-contract-call-DWYd_dpp.js";import{_ as E}from"./index-BFHMpeS5.js";import{w as V,c as H,h as K,a as j}from"./utils-TFUg72P3.js";import{d as B}from"./detectExtension-DGFEfcbz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a1a660d5-cf12-40dd-9aa8-1fc403775e6d",e._sentryDebugIdIdentifier="sentry-dbid-a1a660d5-cf12-40dd-9aa8-1fc403775e6d")}catch{}})();function oe(e=32){return x(z(e))}function z(e=32){return globalThis.crypto.getRandomValues(new Uint8Array(e))}async function P(e){const{client:t,ecosystem:n,walletType:a,walletAddress:c,chainId:h}=e;return F({client:t,data:{action:"connect",chainId:h,source:"connectWallet",walletAddress:c,walletType:a},ecosystem:n})}const re={async getItem(e){try{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(e)}catch{}return null},async removeItem(e){typeof window<"u"&&window.localStorage&&localStorage.removeItem(e)},async setItem(e,t){try{typeof window<"u"&&window.localStorage&&localStorage.setItem(e,t)}catch{}}};function X(){const e=new Map;return{emit(t,n){const a=e.get(t);if(a)for(const c of a)c(n)},subscribe(t,n){var a;return e.has(t)?(a=e.get(t))==null||a.add(n):e.set(t,new Set([n])),()=>{const c=e.get(t);c&&c.delete(n)}}}}function Y(){return X()}async function Z(e){return V(async()=>{var a;const n=await(await fetch(`${H("inAppWallet")}/api/2024-05-05/ecosystem-wallet`,{headers:{"x-ecosystem-id":e}})).json();if(!n||n.code==="UNAUTHORIZED")throw new Error(n.message||`Could not find ecosystem wallet with id ${e}, please check your ecosystem wallet configuration.`);return(a=n.authOptions)!=null&&a.includes("siwe")&&(n.authOptions=n.authOptions.filter(c=>c!=="siwe"),n.authOptions.push("wallet")),n},{cacheKey:`ecosystem-wallet-options-${e}`,cacheTime:1e3*60*5})}const v=new Map;async function g(e,t,n){var h;const a=M({clientId:e.clientId,ecosystem:n,partialSecretKey:(h=e.secretKey)==null?void 0:h.slice(0,5)});if(v.has(a))return v.get(a);const c=await t(e);return v.set(a,c),c}function q(e){const{createOptions:t,connectorFactory:n,ecosystem:a}=e,c=a?a.id:"inApp",h=Y();let o=t,l,p,i,w,A=null;const C=async s=>{if(a){const r=await Z(a.id),u=r==null?void 0:r.smartAccountOptions;if(u)if(r.smartAccountOptions.executionMode==="EIP7702")o={...o,executionMode:{mode:"EIP7702",sponsorGas:u.sponsorGas}};else{const{defaultChainId:y}=r.smartAccountOptions,m=(s==null?void 0:s.chain)??(y?j(y):void 0);if(!m)throw new Error("A chain must be provided either via 'chain' in connect options or 'defaultChainId' in ecosystem configuration. Please pass it via connect() or update the ecosystem configuration.");o={...o,smartAccount:{chain:m,factoryAddress:u.accountFactoryAddress,sponsorGas:u.sponsorGas}}}}};return{autoConnect:async s=>{const{autoConnectInAppWallet:r}=await E(async()=>{const{autoConnectInAppWallet:d}=await import("./index-CQTuHkt6.js").then(_=>_.n);return{autoConnectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},connect:async s=>{const{connectInAppWallet:r}=await E(async()=>{const{connectInAppWallet:d}=await import("./index-CQTuHkt6.js").then(_=>_.n);return{connectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},disconnect:async()=>{if(w&&!(await(await g(w,n,a)).logout()).success)throw new Error("Failed to logout");l=void 0,p=void 0,i=void 0,A=null,h.emit("disconnect",void 0)},getAccount:()=>l,getAdminAccount:()=>p,getAuthToken:()=>A,getChain(){if(i)return i=K(i.id)||i,i},getConfig:()=>o,id:c,subscribe:h.subscribe,switchChain:async s=>{var r;if((o!=null&&o.smartAccount||((r=o==null?void 0:o.executionMode)==null?void 0:r.mode)==="EIP4337")&&w&&l){const{autoConnectInAppWallet:u}=await E(async()=>{const{autoConnectInAppWallet:_}=await import("./index-CQTuHkt6.js").then(G=>G.n);return{autoConnectInAppWallet:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),I=await g(w,n,a);await C({chain:s});const{account:y,chain:m,adminAccount:d}=await u({chain:s,client:w},o,I);p=d,l=y,i=m}else i=s;h.emit("chainChanged",s)}}}function ie(e){return q({connectorFactory:async t=>{var a;const{InAppWebConnector:n}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-CrKLYCKx.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new n({client:t,passkeyDomain:(a=e==null?void 0:e.auth)==null?void 0:a.passkeyDomain,storage:e==null?void 0:e.storage})},createOptions:e})}async function f(e,t){return g(e,async n=>{const{InAppWebConnector:a}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-CrKLYCKx.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new a({client:n,ecosystem:t})},t)}async function R(e){const{client:t,ecosystem:n}=e,c=await(await f(t,n)).getUser();switch(c.status){case"Logged In, Wallet Initialized":return c}}async function ue(e){const t=await R(e);if(t&&"email"in t.authDetails)return t.authDetails.email}async function le(e){const t=await R(e);if(t&&"phoneNumber"in t.authDetails)return t.authDetails.phoneNumber}async function de(e){return(await f(e.client,e.ecosystem)).preAuthenticate(e)}async function he(e){return(await f(e.client,e.ecosystem)).authenticate(e)}async function ye(e){const t=await f(e.client,e.ecosystem);if(!t.authenticateWithRedirect)throw new Error("authenticateWithRedirect is not supported on this platform");return t.authenticateWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function me(e){const t=await f(e.client,e.ecosystem);if(!t.linkProfileWithRedirect)throw new Error("linkProfileWithRedirect is not supported on this platform");return t.linkProfileWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function fe(e){return await(await f(e.client,e.ecosystem)).linkProfile(e)}async function we(e){return await(await f(e.client,e.ecosystem)).unlinkProfile(e.profileToUnlink,e.allowAccountDeletion)}async function Ae(e){return(await f(e.client,e.ecosystem)).getProfiles()}const Ie="/sdk/2022-08-12/embedded-wallet",b=e=>`thirdwebEwsWalletUserId-${e}`,J="walletToken",S=e=>`${J}-${e}`,T=e=>`passkey-credential-id-${e}`,Q="a",k=(e,t)=>`${Q}-${e}-${t}`,W=e=>`walletConnectSessions-${e}`,L=e=>`thirdweb_guest_session_id_${e}`,O=new Map;class pe{constructor({storage:t,clientId:n,ecosystem:a}){Object.defineProperty(this,"key",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"storage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ecosystem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.storage=t,this.key=ee(n,a==null?void 0:a.id),this.ecosystem=a}async getItem(t){return this.storage?this.storage.getItem(t):O.get(t)??null}async setItem(t,n){if(this.storage)return this.storage.setItem(t,n);O.set(t,n)}async removeItem(t){const n=await this.getItem(t);return this.storage&&n?(this.storage.removeItem(t),!0):!1}async getWalletConnectSessions(){return this.getItem(W(this.key))}async saveWalletConnectSessions(t){await this.setItem(W(this.key),t)}async savePasskeyCredentialId(t){await this.setItem(T(this.key),t)}async getPasskeyCredentialId(){return this.getItem(T(this.key))}async saveAuthCookie(t){await this.setItem(S(this.key),t)}async getAuthCookie(){return this.getItem(S(this.key))}async removeAuthCookie(){return this.removeItem(S(this.key))}async saveDeviceShare(t,n){await this.saveWalletUserId(n),await this.setItem(k(this.key,n),t)}async getDeviceShare(){const t=await this.getWalletUserId();return t?this.getItem(k(this.key,t)):null}async removeDeviceShare(){const t=await this.getWalletUserId();return t?this.removeItem(k(this.key,t)):!1}async getWalletUserId(){return this.getItem(b(this.key))}async saveWalletUserId(t){await this.setItem(b(this.key),t)}async removeWalletUserId(){return this.removeItem(b(this.key))}async getGuestSessionId(){return this.getItem(L(this.key))}async saveGuestSessionId(t){await this.setItem(L(this.key),t)}}const ee=(e,t)=>`${e}${t?`-${t}`:""}`;function te(e){let t;return()=>(t||(t=e()),t)}const D="0x3f707e6b",U=[{type:"tuple[]",name:"calls",components:[{type:"address",name:"target"},{type:"uint256",name:"value"},{type:"bytes",name:"data"}]}],N=[];function _e(e){return B({availableSelectors:e,method:[D,U,N]})}function ge(e){const t=te(async()=>"asyncParams"in e?await e.asyncParams():e);return $({contract:e.contract,method:[D,U,N],params:async()=>[(await t()).calls],value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.value},accessList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.accessList},gas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gas},gasPrice:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gasPrice},maxFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxFeePerGas},maxPriorityFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxPriorityFeePerGas},nonce:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.nonce},extraGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.extraGas},erc20Value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.erc20Value},authorizationList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.authorizationList}})}export{pe as C,Ie as I,ue as a,he as b,Ae as c,le as d,ge as e,_e as f,Z as g,me as h,ie as i,Y as j,q as k,fe as l,ye as m,te as o,de as p,oe as r,P as t,we as u,re as w};
3
- //# sourceMappingURL=execute-R31vI0PP.js.map
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-C0yPGJlc.js","_assets/index-B1ROf6Hr.js","_assets/react-CZuwb7m7.js","_assets/dcl-schemas-DORfUy0V.js","_assets/sentry-CNTYv-PS.js","_assets/ethers-WieUx6J3.js","_assets/intl-AKLEHPeO.js","_assets/index-DOm935q5.css","_assets/ethereum-DkP3o5aa.js","_assets/utils-BBBdI_ZH.js","_assets/types-BeDU9GfL.js","_assets/get-bytecode-DloHBZ_d.js","_assets/prepare-contract-call-Dlduechp.js","_assets/to-serializable-transaction-CyqVRPus.js","_assets/transaction-EqsZ4Lc9.js","_assets/web-connector-CcYEFd30.js","_assets/linkAccount-C0ot1Sco.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/sleep-fBr8OToA.js","_assets/detectExtension-Dl-3hY5D.js"])))=>i.map(i=>d[i]);
2
+ import{u as x,o as F,s as M,a5 as $}from"./prepare-contract-call-Dlduechp.js";import{_ as E}from"./index-B1ROf6Hr.js";import{w as V,c as H,h as K,a as j}from"./utils-BBBdI_ZH.js";import{d as B}from"./detectExtension-Dl-3hY5D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c7cd87c1-e90f-4203-b616-2f3bdb3e2c10",e._sentryDebugIdIdentifier="sentry-dbid-c7cd87c1-e90f-4203-b616-2f3bdb3e2c10")}catch{}})();function oe(e=32){return x(z(e))}function z(e=32){return globalThis.crypto.getRandomValues(new Uint8Array(e))}async function P(e){const{client:t,ecosystem:n,walletType:a,walletAddress:c,chainId:h}=e;return F({client:t,data:{action:"connect",chainId:h,source:"connectWallet",walletAddress:c,walletType:a},ecosystem:n})}const re={async getItem(e){try{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(e)}catch{}return null},async removeItem(e){typeof window<"u"&&window.localStorage&&localStorage.removeItem(e)},async setItem(e,t){try{typeof window<"u"&&window.localStorage&&localStorage.setItem(e,t)}catch{}}};function X(){const e=new Map;return{emit(t,n){const a=e.get(t);if(a)for(const c of a)c(n)},subscribe(t,n){var a;return e.has(t)?(a=e.get(t))==null||a.add(n):e.set(t,new Set([n])),()=>{const c=e.get(t);c&&c.delete(n)}}}}function Y(){return X()}async function Z(e){return V(async()=>{var a;const n=await(await fetch(`${H("inAppWallet")}/api/2024-05-05/ecosystem-wallet`,{headers:{"x-ecosystem-id":e}})).json();if(!n||n.code==="UNAUTHORIZED")throw new Error(n.message||`Could not find ecosystem wallet with id ${e}, please check your ecosystem wallet configuration.`);return(a=n.authOptions)!=null&&a.includes("siwe")&&(n.authOptions=n.authOptions.filter(c=>c!=="siwe"),n.authOptions.push("wallet")),n},{cacheKey:`ecosystem-wallet-options-${e}`,cacheTime:1e3*60*5})}const b=new Map;async function g(e,t,n){var h;const a=M({clientId:e.clientId,ecosystem:n,partialSecretKey:(h=e.secretKey)==null?void 0:h.slice(0,5)});if(b.has(a))return b.get(a);const c=await t(e);return b.set(a,c),c}function q(e){const{createOptions:t,connectorFactory:n,ecosystem:a}=e,c=a?a.id:"inApp",h=Y();let o=t,l,p,i,w,A=null;const C=async s=>{if(a){const r=await Z(a.id),u=r==null?void 0:r.smartAccountOptions;if(u)if(r.smartAccountOptions.executionMode==="EIP7702")o={...o,executionMode:{mode:"EIP7702",sponsorGas:u.sponsorGas}};else{const{defaultChainId:y}=r.smartAccountOptions,m=(s==null?void 0:s.chain)??(y?j(y):void 0);if(!m)throw new Error("A chain must be provided either via 'chain' in connect options or 'defaultChainId' in ecosystem configuration. Please pass it via connect() or update the ecosystem configuration.");o={...o,smartAccount:{chain:m,factoryAddress:u.accountFactoryAddress,sponsorGas:u.sponsorGas}}}}};return{autoConnect:async s=>{const{autoConnectInAppWallet:r}=await E(async()=>{const{autoConnectInAppWallet:d}=await import("./index-C0yPGJlc.js").then(_=>_.n);return{autoConnectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},connect:async s=>{const{connectInAppWallet:r}=await E(async()=>{const{connectInAppWallet:d}=await import("./index-C0yPGJlc.js").then(_=>_.n);return{connectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},disconnect:async()=>{if(w&&!(await(await g(w,n,a)).logout()).success)throw new Error("Failed to logout");l=void 0,p=void 0,i=void 0,A=null,h.emit("disconnect",void 0)},getAccount:()=>l,getAdminAccount:()=>p,getAuthToken:()=>A,getChain(){if(i)return i=K(i.id)||i,i},getConfig:()=>o,id:c,subscribe:h.subscribe,switchChain:async s=>{var r;if((o!=null&&o.smartAccount||((r=o==null?void 0:o.executionMode)==null?void 0:r.mode)==="EIP4337")&&w&&l){const{autoConnectInAppWallet:u}=await E(async()=>{const{autoConnectInAppWallet:_}=await import("./index-C0yPGJlc.js").then(G=>G.n);return{autoConnectInAppWallet:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),I=await g(w,n,a);await C({chain:s});const{account:y,chain:m,adminAccount:d}=await u({chain:s,client:w},o,I);p=d,l=y,i=m}else i=s;h.emit("chainChanged",s)}}}function ie(e){return q({connectorFactory:async t=>{var a;const{InAppWebConnector:n}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-CcYEFd30.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new n({client:t,passkeyDomain:(a=e==null?void 0:e.auth)==null?void 0:a.passkeyDomain,storage:e==null?void 0:e.storage})},createOptions:e})}async function f(e,t){return g(e,async n=>{const{InAppWebConnector:a}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-CcYEFd30.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new a({client:n,ecosystem:t})},t)}async function R(e){const{client:t,ecosystem:n}=e,c=await(await f(t,n)).getUser();switch(c.status){case"Logged In, Wallet Initialized":return c}}async function ue(e){const t=await R(e);if(t&&"email"in t.authDetails)return t.authDetails.email}async function le(e){const t=await R(e);if(t&&"phoneNumber"in t.authDetails)return t.authDetails.phoneNumber}async function de(e){return(await f(e.client,e.ecosystem)).preAuthenticate(e)}async function he(e){return(await f(e.client,e.ecosystem)).authenticate(e)}async function ye(e){const t=await f(e.client,e.ecosystem);if(!t.authenticateWithRedirect)throw new Error("authenticateWithRedirect is not supported on this platform");return t.authenticateWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function me(e){const t=await f(e.client,e.ecosystem);if(!t.linkProfileWithRedirect)throw new Error("linkProfileWithRedirect is not supported on this platform");return t.linkProfileWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function fe(e){return await(await f(e.client,e.ecosystem)).linkProfile(e)}async function we(e){return await(await f(e.client,e.ecosystem)).unlinkProfile(e.profileToUnlink,e.allowAccountDeletion)}async function Ae(e){return(await f(e.client,e.ecosystem)).getProfiles()}const Ie="/sdk/2022-08-12/embedded-wallet",v=e=>`thirdwebEwsWalletUserId-${e}`,J="walletToken",S=e=>`${J}-${e}`,T=e=>`passkey-credential-id-${e}`,Q="a",k=(e,t)=>`${Q}-${e}-${t}`,W=e=>`walletConnectSessions-${e}`,L=e=>`thirdweb_guest_session_id_${e}`,O=new Map;class pe{constructor({storage:t,clientId:n,ecosystem:a}){Object.defineProperty(this,"key",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"storage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ecosystem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.storage=t,this.key=ee(n,a==null?void 0:a.id),this.ecosystem=a}async getItem(t){return this.storage?this.storage.getItem(t):O.get(t)??null}async setItem(t,n){if(this.storage)return this.storage.setItem(t,n);O.set(t,n)}async removeItem(t){const n=await this.getItem(t);return this.storage&&n?(this.storage.removeItem(t),!0):!1}async getWalletConnectSessions(){return this.getItem(W(this.key))}async saveWalletConnectSessions(t){await this.setItem(W(this.key),t)}async savePasskeyCredentialId(t){await this.setItem(T(this.key),t)}async getPasskeyCredentialId(){return this.getItem(T(this.key))}async saveAuthCookie(t){await this.setItem(S(this.key),t)}async getAuthCookie(){return this.getItem(S(this.key))}async removeAuthCookie(){return this.removeItem(S(this.key))}async saveDeviceShare(t,n){await this.saveWalletUserId(n),await this.setItem(k(this.key,n),t)}async getDeviceShare(){const t=await this.getWalletUserId();return t?this.getItem(k(this.key,t)):null}async removeDeviceShare(){const t=await this.getWalletUserId();return t?this.removeItem(k(this.key,t)):!1}async getWalletUserId(){return this.getItem(v(this.key))}async saveWalletUserId(t){await this.setItem(v(this.key),t)}async removeWalletUserId(){return this.removeItem(v(this.key))}async getGuestSessionId(){return this.getItem(L(this.key))}async saveGuestSessionId(t){await this.setItem(L(this.key),t)}}const ee=(e,t)=>`${e}${t?`-${t}`:""}`;function te(e){let t;return()=>(t||(t=e()),t)}const D="0x3f707e6b",U=[{type:"tuple[]",name:"calls",components:[{type:"address",name:"target"},{type:"uint256",name:"value"},{type:"bytes",name:"data"}]}],N=[];function _e(e){return B({availableSelectors:e,method:[D,U,N]})}function ge(e){const t=te(async()=>"asyncParams"in e?await e.asyncParams():e);return $({contract:e.contract,method:[D,U,N],params:async()=>[(await t()).calls],value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.value},accessList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.accessList},gas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gas},gasPrice:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gasPrice},maxFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxFeePerGas},maxPriorityFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxPriorityFeePerGas},nonce:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.nonce},extraGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.extraGas},erc20Value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.erc20Value},authorizationList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.authorizationList}})}export{pe as C,Ie as I,ue as a,he as b,Ae as c,le as d,ge as e,_e as f,Z as g,me as h,ie as i,Y as j,q as k,fe as l,ye as m,te as o,de as p,oe as r,P as t,we as u,re as w};
3
+ //# sourceMappingURL=execute-D4CHBva9.js.map
@@ -1,9 +1,9 @@
1
- import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2e25b43d-174a-4731-99b7-39f5f594b88e",e._sentryDebugIdIdentifier="sentry-dbid-2e25b43d-174a-4731-99b7-39f5f594b88e")}catch{}})();const c=n`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1ac6e7a1-86b3-4fea-8695-d27e52e0df2d",e._sentryDebugIdIdentifier="sentry-dbid-1ac6e7a1-86b3-4fea-8695-d27e52e0df2d")}catch{}})();const o=d`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
5
5
  d="M6.71 2.99a.57.57 0 0 0-.57.57 1 1 0 0 1-1 1c-.58 0-.96 0-1.24.03-.27.03-.37.07-.42.1a.97.97 0 0 0-.36.35c-.04.08-.09.21-.11.67a2.57 2.57 0 0 1 0 5.13c.02.45.07.6.11.66.09.15.21.28.36.36.07.04.21.1.67.12a2.57 2.57 0 0 1 5.12 0c.46-.03.6-.08.67-.12a.97.97 0 0 0 .36-.36c.03-.04.07-.14.1-.41.02-.29.03-.66.03-1.24a1 1 0 0 1 1-1 .57.57 0 0 0 0-1.15 1 1 0 0 1-1-1c0-.58 0-.95-.03-1.24a1.04 1.04 0 0 0-.1-.42.97.97 0 0 0-.36-.36 1.04 1.04 0 0 0-.42-.1c-.28-.02-.65-.02-1.24-.02a1 1 0 0 1-1-1 .57.57 0 0 0-.57-.57ZM5.15 13.98a1 1 0 0 0 .99-1v-.78a.57.57 0 0 1 1.14 0v.78a1 1 0 0 0 .99 1H8.36a66.26 66.26 0 0 0 .73 0 3.78 3.78 0 0 0 1.84-.38c.46-.26.85-.64 1.1-1.1.23-.4.32-.8.36-1.22.02-.2.03-.4.03-.63a2.57 2.57 0 0 0 0-4.75c0-.23-.01-.44-.03-.63a2.96 2.96 0 0 0-.35-1.22 2.97 2.97 0 0 0-1.1-1.1c-.4-.22-.8-.31-1.22-.35a8.7 8.7 0 0 0-.64-.04 2.57 2.57 0 0 0-4.74 0c-.23 0-.44.02-.63.04-.42.04-.83.13-1.22.35-.46.26-.84.64-1.1 1.1-.33.57-.37 1.2-.39 1.84a21.39 21.39 0 0 0 0 .72v.1a1 1 0 0 0 1 .99h.78a.57.57 0 0 1 0 1.15h-.77a1 1 0 0 0-1 .98v.1a63.87 63.87 0 0 0 0 .73c0 .64.05 1.27.38 1.83.26.47.64.85 1.1 1.11.56.32 1.2.37 1.84.38a20.93 20.93 0 0 0 .72 0h.1Z"
6
6
  clip-rule="evenodd"
7
7
  />
8
- </svg>`;export{c as extensionSvg};
9
- //# sourceMappingURL=extension-DrkmxAqx.js.map
8
+ </svg>`;export{o as extensionSvg};
9
+ //# sourceMappingURL=extension-p5vqJTq0.js.map
@@ -1,9 +1,9 @@
1
- import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="5dcd101f-7222-4839-842f-7897933824a5",e._sentryDebugIdIdentifier="sentry-dbid-5dcd101f-7222-4839-842f-7897933824a5")}catch{}})();const o=n`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="663fcaa3-7fc7-47dd-b222-e8e05cfcce54",e._sentryDebugIdIdentifier="sentry-dbid-663fcaa3-7fc7-47dd-b222-e8e05cfcce54")}catch{}})();const l=n`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
5
5
  d="M3.74 3.99a1 1 0 0 1 1-1H11a1 1 0 0 1 1 1v6.26a1 1 0 0 1-2 0V6.4l-6.3 6.3a1 1 0 0 1-1.4-1.42l6.29-6.3H4.74a1 1 0 0 1-1-1Z"
6
6
  clip-rule="evenodd"
7
7
  />
8
- </svg>`;export{o as externalLinkSvg};
9
- //# sourceMappingURL=external-link-CbNALei9.js.map
8
+ </svg>`;export{l as externalLinkSvg};
9
+ //# sourceMappingURL=external-link-6l8BDrnZ.js.map
@@ -1,2 +1,2 @@
1
- import{f as N,H as T}from"./prepare-contract-call-DWYd_dpp.js";import"./utils-TFUg72P3.js";import"./sentry-TFqjegNi.js";import"./react-CfmD1IrY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="dfee1b65-7158-4577-81db-61fad03d1c8e",t._sentryDebugIdIdentifier="sentry-dbid-dfee1b65-7158-4577-81db-61fad03d1c8e")}catch{}})();const C="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",U=C.length,L=C.charAt(0),M=Math.log(256)/Math.log(U);function v(t){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length===0)return"";let r=0,i=0,n=0;const s=t.length;for(;n!==s&&t[n]===0;)n++,r++;const f=(s-n)*M+1>>>0,a=new Uint8Array(f);for(;n!==s;){let x=t[n]||0,b=0;for(let y=f-1;(x!==0||b<i)&&y!==-1;y--,b++)x+=256*(a[y]||0)>>>0,a[y]=x%U>>>0,x=x/U>>>0;if(x!==0)throw new Error("Non-zero carry");i=b,n++}let l=f-i;for(;l!==f&&a[l]===0;)l++;let u=L.repeat(r);for(;l<f;++l)u+=C.charAt(a[l]||0);return u}let o,E,e=0,D={},w,P;const k=0;let _=0,m,j,z;const O={mapsAsObjects:!0,useRecords:!1};function F(t){let r;if(t<16&&(r=$(t)))return r;if(t>64&&decoder)return decoder.decode(o.subarray(e,e+=t));const i=e+t,n=[];for(r="";e<i;){const s=o[e++];if((s&128)===0)n.push(s);else if((s&224)===192){const f=o[e++]&63;n.push((s&31)<<6|f)}else if((s&240)===224){const f=o[e++]&63,a=o[e++]&63;n.push((s&31)<<12|f<<6|a)}else if((s&248)===240){const f=o[e++]&63,a=o[e++]&63,l=o[e++]&63;let u=(s&7)<<18|f<<12|a<<6|l;u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u)}else n.push(s);n.length>=4096&&(r+=d.apply(String,n),n.length=0)}return n.length>0&&(r+=d.apply(String,n)),r}class I{constructor(){Object.assign(this,O)}decodeKey(r){return r}decode(r,i=-1){E=i>-1?i:r.length,e=0,_=0,P=null,m=null,o=r;try{z=r.dataView||(r.dataView=new DataView(r.buffer,r.byteOffset,r.byteLength))}catch(n){throw o=null,r instanceof Uint8Array?n:new Error(`Source must be a Uint8Array or Buffer but was a ${r&&typeof r=="object"?r.constructor.name:typeof r}`)}return this instanceof I?(D=this,this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),(!w||w.length>0)&&(w=[])):(D=O,(!w||w.length>0)&&(w=[])),H()}}function H(){try{const t=S();if(m){if(e>=m.postBundlePosition){const r=new Error("Unexpected bundle position");throw r.incomplete=!0,r}e=m.postBundlePosition,m=null}if(e===E)w=null,o=null,j&&(j=null);else if(e>E){const r=new Error("Unexpected end of CBOR data");throw r.incomplete=!0,r}else throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw q(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function S(){let t=o[e++];const r=t>>5;if(t=t&31,t>23)switch(t){case 24:t=o[e++];break;default:throw new Error(`Unknown token ${t}`)}switch(r){case 0:return t;case 1:return~t;case 2:return W(t);case 3:if(_>=e)return P.slice(e-k,(e+=t)-k);if(_===0&&E<140&&t<32){const i=t<16?$(t):K(t);if(i!==null)return i}return F(t);case 4:{const i=new Array(t);for(let n=0;n<t;n++)i[n]=S();return i}case 5:{const i={};for(let n=0;n<t;n++)i[J(S())]=S();return i}default:if(Number.isNaN(t)){const i=new Error("Unexpected end of CBOR data");throw i.incomplete=!0,i}throw new Error(`Unknown CBOR token ${t}`)}}function J(t){if(typeof t=="string")return t==="__proto__"?"__proto_":t;if(typeof t!="object")return t.toString();throw new Error(`Invalid property name type ${typeof t}`)}const d=String.fromCharCode;function K(t){const r=e,i=new Array(t);for(let n=0;n<t;n++){const s=o[e++];if((s&128)>0){e=r;return}i[n]=s}return d.apply(String,i)}function $(t){if(t<4){if(t<2){if(t===0)return"";const V=o[e++];if((V&128)>1){e-=1;return}return d(V)}const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=2;return}if(t<3)return d(c,p);const h=o[e++];if((h&128)>0){e-=3;return}return d(c,p,h)}const r=o[e++],i=o[e++],n=o[e++],s=o[e++];if((r&128)>0||(i&128)>0||(n&128)>0||(s&128)>0){e-=4;return}if(t<6){if(t===4)return d(r,i,n,s);const c=o[e++];if((c&128)>0){e-=5;return}return d(r,i,n,s,c)}if(t<8){const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=6;return}if(t<7)return d(r,i,n,s,c,p);const h=o[e++];if((h&128)>0){e-=7;return}return d(r,i,n,s,c,p,h)}const f=o[e++],a=o[e++],l=o[e++],u=o[e++];if((f&128)>0||(a&128)>0||(l&128)>0||(u&128)>0){e-=8;return}if(t<10){if(t===8)return d(r,i,n,s,f,a,l,u);const c=o[e++];if((c&128)>0){e-=9;return}return d(r,i,n,s,f,a,l,u,c)}if(t<12){const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=10;return}if(t<11)return d(r,i,n,s,f,a,l,u,c,p);const h=o[e++];if((h&128)>0){e-=11;return}return d(r,i,n,s,f,a,l,u,c,p,h)}const x=o[e++],b=o[e++],y=o[e++],g=o[e++];if((x&128)>0||(b&128)>0||(y&128)>0||(g&128)>0){e-=12;return}if(t<14){if(t===12)return d(r,i,n,s,f,a,l,u,x,b,y,g);const c=o[e++];if((c&128)>0){e-=13;return}return d(r,i,n,s,f,a,l,u,x,b,y,g,c)}const A=o[e++],B=o[e++];if((A&128)>0||(B&128)>0){e-=14;return}if(t<15)return d(r,i,n,s,f,a,l,u,x,b,y,g,A,B);const R=o[e++];if((R&128)>0){e-=15;return}return d(r,i,n,s,f,a,l,u,x,b,y,g,A,B,R)}function W(t){return D.copyBuffers?Uint8Array.prototype.slice.call(o,e,e+=t):o.subarray(e,e+=t)}function q(){o=null,j=null,w=null}const G=new Array(147);for(let t=0;t<256;t++)G[t]=+`1e${Math.floor(45.15-t*.30103)}`;const Q=new I,X=Q.decode;function Y(t){return N(t,{strict:!1})?t:`0x${t}`}function nt(t){const r=T(Y(t)),i=r[r.length-2]*256+r[r.length-1],n=r.length-2-i;if(n<0||n>r.length)return;const s=r.slice(n,-2),f=X(s);if("ipfs"in f)return`ipfs://${v(f.ipfs)}`}export{nt as extractIPFSUri};
2
- //# sourceMappingURL=extractIPFS-Bg2FU7gW.js.map
1
+ import{f as N,H as T}from"./prepare-contract-call-Dlduechp.js";import"./utils-BBBdI_ZH.js";import"./sentry-CNTYv-PS.js";import"./react-CZuwb7m7.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="57efd541-6fa9-46f3-886f-ccada6dd535d",t._sentryDebugIdIdentifier="sentry-dbid-57efd541-6fa9-46f3-886f-ccada6dd535d")}catch{}})();const C="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",U=C.length,L=C.charAt(0),M=Math.log(256)/Math.log(U);function v(t){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length===0)return"";let r=0,i=0,n=0;const f=t.length;for(;n!==f&&t[n]===0;)n++,r++;const s=(f-n)*M+1>>>0,a=new Uint8Array(s);for(;n!==f;){let x=t[n]||0,h=0;for(let y=s-1;(x!==0||h<i)&&y!==-1;y--,h++)x+=256*(a[y]||0)>>>0,a[y]=x%U>>>0,x=x/U>>>0;if(x!==0)throw new Error("Non-zero carry");i=h,n++}let l=s-i;for(;l!==s&&a[l]===0;)l++;let u=L.repeat(r);for(;l<s;++l)u+=C.charAt(a[l]||0);return u}let o,E,e=0,D={},b,P;const k=0;let _=0,m,j,z;const O={mapsAsObjects:!0,useRecords:!1};function F(t){let r;if(t<16&&(r=$(t)))return r;if(t>64&&decoder)return decoder.decode(o.subarray(e,e+=t));const i=e+t,n=[];for(r="";e<i;){const f=o[e++];if((f&128)===0)n.push(f);else if((f&224)===192){const s=o[e++]&63;n.push((f&31)<<6|s)}else if((f&240)===224){const s=o[e++]&63,a=o[e++]&63;n.push((f&31)<<12|s<<6|a)}else if((f&248)===240){const s=o[e++]&63,a=o[e++]&63,l=o[e++]&63;let u=(f&7)<<18|s<<12|a<<6|l;u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u)}else n.push(f);n.length>=4096&&(r+=d.apply(String,n),n.length=0)}return n.length>0&&(r+=d.apply(String,n)),r}class I{constructor(){Object.assign(this,O)}decodeKey(r){return r}decode(r,i=-1){E=i>-1?i:r.length,e=0,_=0,P=null,m=null,o=r;try{z=r.dataView||(r.dataView=new DataView(r.buffer,r.byteOffset,r.byteLength))}catch(n){throw o=null,r instanceof Uint8Array?n:new Error(`Source must be a Uint8Array or Buffer but was a ${r&&typeof r=="object"?r.constructor.name:typeof r}`)}return this instanceof I?(D=this,this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),(!b||b.length>0)&&(b=[])):(D=O,(!b||b.length>0)&&(b=[])),H()}}function H(){try{const t=S();if(m){if(e>=m.postBundlePosition){const r=new Error("Unexpected bundle position");throw r.incomplete=!0,r}e=m.postBundlePosition,m=null}if(e===E)b=null,o=null,j&&(j=null);else if(e>E){const r=new Error("Unexpected end of CBOR data");throw r.incomplete=!0,r}else throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw q(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function S(){let t=o[e++];const r=t>>5;if(t=t&31,t>23)switch(t){case 24:t=o[e++];break;default:throw new Error(`Unknown token ${t}`)}switch(r){case 0:return t;case 1:return~t;case 2:return W(t);case 3:if(_>=e)return P.slice(e-k,(e+=t)-k);if(_===0&&E<140&&t<32){const i=t<16?$(t):K(t);if(i!==null)return i}return F(t);case 4:{const i=new Array(t);for(let n=0;n<t;n++)i[n]=S();return i}case 5:{const i={};for(let n=0;n<t;n++)i[J(S())]=S();return i}default:if(Number.isNaN(t)){const i=new Error("Unexpected end of CBOR data");throw i.incomplete=!0,i}throw new Error(`Unknown CBOR token ${t}`)}}function J(t){if(typeof t=="string")return t==="__proto__"?"__proto_":t;if(typeof t!="object")return t.toString();throw new Error(`Invalid property name type ${typeof t}`)}const d=String.fromCharCode;function K(t){const r=e,i=new Array(t);for(let n=0;n<t;n++){const f=o[e++];if((f&128)>0){e=r;return}i[n]=f}return d.apply(String,i)}function $(t){if(t<4){if(t<2){if(t===0)return"";const V=o[e++];if((V&128)>1){e-=1;return}return d(V)}const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=2;return}if(t<3)return d(c,p);const w=o[e++];if((w&128)>0){e-=3;return}return d(c,p,w)}const r=o[e++],i=o[e++],n=o[e++],f=o[e++];if((r&128)>0||(i&128)>0||(n&128)>0||(f&128)>0){e-=4;return}if(t<6){if(t===4)return d(r,i,n,f);const c=o[e++];if((c&128)>0){e-=5;return}return d(r,i,n,f,c)}if(t<8){const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=6;return}if(t<7)return d(r,i,n,f,c,p);const w=o[e++];if((w&128)>0){e-=7;return}return d(r,i,n,f,c,p,w)}const s=o[e++],a=o[e++],l=o[e++],u=o[e++];if((s&128)>0||(a&128)>0||(l&128)>0||(u&128)>0){e-=8;return}if(t<10){if(t===8)return d(r,i,n,f,s,a,l,u);const c=o[e++];if((c&128)>0){e-=9;return}return d(r,i,n,f,s,a,l,u,c)}if(t<12){const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=10;return}if(t<11)return d(r,i,n,f,s,a,l,u,c,p);const w=o[e++];if((w&128)>0){e-=11;return}return d(r,i,n,f,s,a,l,u,c,p,w)}const x=o[e++],h=o[e++],y=o[e++],g=o[e++];if((x&128)>0||(h&128)>0||(y&128)>0||(g&128)>0){e-=12;return}if(t<14){if(t===12)return d(r,i,n,f,s,a,l,u,x,h,y,g);const c=o[e++];if((c&128)>0){e-=13;return}return d(r,i,n,f,s,a,l,u,x,h,y,g,c)}const A=o[e++],B=o[e++];if((A&128)>0||(B&128)>0){e-=14;return}if(t<15)return d(r,i,n,f,s,a,l,u,x,h,y,g,A,B);const R=o[e++];if((R&128)>0){e-=15;return}return d(r,i,n,f,s,a,l,u,x,h,y,g,A,B,R)}function W(t){return D.copyBuffers?Uint8Array.prototype.slice.call(o,e,e+=t):o.subarray(e,e+=t)}function q(){o=null,j=null,b=null}const G=new Array(147);for(let t=0;t<256;t++)G[t]=+`1e${Math.floor(45.15-t*.30103)}`;const Q=new I,X=Q.decode;function Y(t){return N(t,{strict:!1})?t:`0x${t}`}function nt(t){const r=T(Y(t)),i=r[r.length-2]*256+r[r.length-1],n=r.length-2-i;if(n<0||n>r.length)return;const f=r.slice(n,-2),s=X(f);if("ipfs"in s)return`ipfs://${v(s.ipfs)}`}export{nt as extractIPFSUri};
2
+ //# sourceMappingURL=extractIPFS-ZsNFU46a.js.map
@@ -1,4 +1,4 @@
1
- import{w as l}from"./lit-element-wjYUA6aF.js";(function(){try{var c=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new c.Error().stack;f&&(c._sentryDebugIds=c._sentryDebugIds||{},c._sentryDebugIds[f]="fe72dcc7-cdb6-4d79-870c-98342c73394c",c._sentryDebugIdIdentifier="sentry-dbid-fe72dcc7-cdb6-4d79-870c-98342c73394c")}catch{}})();const d=l`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as c}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new f.Error().stack;l&&(f._sentryDebugIds=f._sentryDebugIds||{},f._sentryDebugIds[l]="4679cc0f-6837-4454-8980-7c5995eb4a5c",f._sentryDebugIdIdentifier="sentry-dbid-4679cc0f-6837-4454-8980-7c5995eb4a5c")}catch{}})();const e=c`<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" />
@@ -23,5 +23,5 @@ import{w as l}from"./lit-element-wjYUA6aF.js";(function(){try{var c=typeof windo
23
23
  <clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
24
24
  <clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
25
25
  </defs>
26
- </svg>`;export{d as facebookSvg};
27
- //# sourceMappingURL=facebook-DaDSqQru.js.map
26
+ </svg>`;export{e as facebookSvg};
27
+ //# sourceMappingURL=facebook-BdpnpvkK.js.map
@@ -1,4 +1,4 @@
1
- import{w as f}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2d4961ee-5a30-40f3-9dbb-89d2b6dec060",e._sentryDebugIdIdentifier="sentry-dbid-2d4961ee-5a30-40f3-9dbb-89d2b6dec060")}catch{}})();const h=f`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
1
+ import{w as f}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="c7612a62-6a1c-456b-b175-d91db46b250b",e._sentryDebugIdIdentifier="sentry-dbid-c7612a62-6a1c-456b-b175-d91db46b250b")}catch{}})();const r=f`<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
@@ -9,5 +9,5 @@ import{w as f}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof windo
9
9
  fill="#fff"
10
10
  d="m225 320 21.16 71.46h17.9v289.09a16.29 16.29 0 0 0-16.28 16.24v19.49h-3.25a16.3 16.3 0 0 0-16.28 16.24V752h182.26v-19.48a16.22 16.22 0 0 0-16.28-16.24h-3.25v-19.5a16.22 16.22 0 0 0-16.28-16.23h-19.52V320H225Zm400.3 360.55a16.3 16.3 0 0 0-15.04 10.02 16.2 16.2 0 0 0-1.24 6.22v19.49h-3.25a16.29 16.29 0 0 0-16.27 16.24V752h182.24v-19.48a16.23 16.23 0 0 0-16.27-16.24h-3.25v-19.5a16.2 16.2 0 0 0-10.04-15 16.3 16.3 0 0 0-6.23-1.23v-289.1h17.9L775 320H644.82v360.55H625.3Z"
11
11
  />
12
- </svg>`;export{h as farcasterSvg};
13
- //# sourceMappingURL=farcaster-Do6RB5zR.js.map
12
+ </svg>`;export{r as farcasterSvg};
13
+ //# sourceMappingURL=farcaster-DyedtTLV.js.map
@@ -1,6 +1,6 @@
1
- import{C as g,x as y,a6 as m,v as u,B as k,z as S}from"./W3MFrameProviderSingleton-BLGKJTAV.js";import{az as A,au as p}from"./NetworkUtil-D1Xckx5t.js";import"./dcl-schemas-CEEV5Gwi.js";import"./react-CfmD1IrY.js";import"./index-Cg1q_1rC.js";import"./sentry-TFqjegNi.js";import"./index-Dw660D76.js";import"./events-DOXOcxVW.js";import"./index-BFHMpeS5.js";import"./ethers-BfnXvuxS.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-DgxLup8s.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="01dceda4-f169-4ad1-b031-2e9357c30202",r._sentryDebugIdIdentifier="sentry-dbid-01dceda4-f169-4ad1-b031-2e9357c30202")}catch{}})();class N{constructor(e){this.getNonce=e.getNonce}async createMessage(e){const t={accountAddress:e.accountAddress,chainId:e.chainId,version:"1",domain:typeof document>"u"?"Unknown Domain":document.location.host,uri:typeof document>"u"?"Unknown URI":document.location.href,resources:this.resources,nonce:await this.getNonce(e),issuedAt:this.stringifyDate(new Date),statement:void 0,expirationTime:void 0,notBefore:void 0};return Object.assign(t,{toString:()=>this.stringify(t)})}stringify(e){var n;const t=this.getNetworkName(e.chainId);return[`${e.domain} wants you to sign in with your ${t} account:`,e.accountAddress,e.statement?`
1
+ import{C as g,x as y,a6 as m,v as u,B as k,z as S}from"./W3MFrameProviderSingleton-D_YJGPi0.js";import{az as A,au as p}from"./NetworkUtil-bkXm6BFd.js";import"./dcl-schemas-DORfUy0V.js";import"./react-CZuwb7m7.js";import"./index-DSJFHA_o.js";import"./sentry-CNTYv-PS.js";import"./index-CPk6unD2.js";import"./events-DCTFXu5N.js";import"./index-B1ROf6Hr.js";import"./ethers-WieUx6J3.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-B_GaUsCN.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="01dceda4-f169-4ad1-b031-2e9357c30202",r._sentryDebugIdIdentifier="sentry-dbid-01dceda4-f169-4ad1-b031-2e9357c30202")}catch{}})();class N{constructor(e){this.getNonce=e.getNonce}async createMessage(e){const t={accountAddress:e.accountAddress,chainId:e.chainId,version:"1",domain:typeof document>"u"?"Unknown Domain":document.location.host,uri:typeof document>"u"?"Unknown URI":document.location.href,resources:this.resources,nonce:await this.getNonce(e),issuedAt:this.stringifyDate(new Date),statement:void 0,expirationTime:void 0,notBefore:void 0};return Object.assign(t,{toString:()=>this.stringify(t)})}stringify(e){var n;const t=this.getNetworkName(e.chainId);return[`${e.domain} wants you to sign in with your ${t} account:`,e.accountAddress,e.statement?`
2
2
  ${e.statement}
3
3
  `:"",`URI: ${e.uri}`,`Version: ${e.version}`,`Chain ID: ${e.chainId}`,`Nonce: ${e.nonce}`,e.issuedAt&&`Issued At: ${e.issuedAt}`,e.expirationTime&&`Expiration Time: ${e.expirationTime}`,e.notBefore&&`Not Before: ${e.notBefore}`,e.requestId&&`Request ID: ${e.requestId}`,((n=e.resources)==null?void 0:n.length)&&e.resources.reduce((s,o)=>`${s}
4
4
  - ${o}`,"Resources:")].filter(s=>typeof s=="string").join(`
5
5
  `).trim()}getNetworkName(e){const t=g.getAllRequestedCaipNetworks();return A.getNetworkNameByCaipNetworkId(t,e)}stringifyDate(e){return e.toISOString()}}class P{constructor(e={}){this.otpUuid=null,this.listeners={sessionChanged:[]},this.localAuthStorageKey=e.localAuthStorageKey||y.SIWX_AUTH_TOKEN,this.localNonceStorageKey=e.localNonceStorageKey||y.SIWX_NONCE_TOKEN,this.required=e.required??!0,this.messenger=new N({getNonce:this.getNonce.bind(this)})}async createMessage(e){return this.messenger.createMessage(e)}async addSession(e){const t=await this.request({method:"POST",key:"authenticate",body:{data:e.data,message:e.message,signature:e.signature,clientId:this.getClientId(),walletInfo:this.getWalletInfo()},headers:["nonce","otp"]});this.setStorageToken(t.token,this.localAuthStorageKey),this.emit("sessionChanged",e),this.setAppKitAccountUser(I(t.token)),this.otpUuid=null}async getSessions(e,t){try{if(!this.getStorageToken(this.localAuthStorageKey))return[];const n=await this.request({method:"GET",key:"me",query:{},headers:["auth"]});if(!n)return[];const s=n.address.toLowerCase()===t.toLowerCase(),o=n.caip2Network===e;if(!s||!o)return[];const i={data:{accountAddress:n.address,chainId:n.caip2Network},message:"",signature:""};return this.emit("sessionChanged",i),this.setAppKitAccountUser(n),[i]}catch{return[]}}async revokeSession(e,t){return Promise.resolve(this.clearStorageTokens())}async setSessions(e){if(e.length===0)this.clearStorageTokens();else{const t=e.find(n=>{var s;return n.data.chainId===((s=m())==null?void 0:s.caipNetworkId)})||e[0];await this.addSession(t)}}getRequired(){return this.required}async getSessionAccount(){if(!this.getStorageToken(this.localAuthStorageKey))throw new Error("Not authenticated");return this.request({method:"GET",key:"me",body:void 0,query:{includeAppKitAccount:!0},headers:["auth"]})}async setSessionAccountMetadata(e=null){if(!this.getStorageToken(this.localAuthStorageKey))throw new Error("Not authenticated");return this.request({method:"PUT",key:"account-metadata",body:{metadata:e},headers:["auth"]})}on(e,t){return this.listeners[e].push(t),()=>{this.listeners[e]=this.listeners[e].filter(n=>n!==t)}}removeAllListeners(){Object.keys(this.listeners).forEach(t=>{this.listeners[t]=[]})}async requestEmailOtp({email:e,account:t}){const n=await this.request({method:"POST",key:"otp",body:{email:e,account:t}});return this.otpUuid=n.uuid,this.messenger.resources=[`email:${e}`],n}confirmEmailOtp({code:e}){return this.request({method:"PUT",key:"otp",body:{code:e},headers:["otp"]})}async request({method:e,key:t,query:n,body:s,headers:o}){var f;const{projectId:i,st:h,sv:w}=this.getSDKProperties(),c=new URL(`${p.W3M_API_URL}/auth/v1/${String(t)}`);c.searchParams.set("projectId",i),c.searchParams.set("st",h),c.searchParams.set("sv",w),n&&Object.entries(n).forEach(([a,l])=>c.searchParams.set(a,String(l)));const d=await fetch(c,{method:e,body:s?JSON.stringify(s):void 0,headers:Array.isArray(o)?o.reduce((a,l)=>{switch(l){case"nonce":a["x-nonce-jwt"]=`Bearer ${this.getStorageToken(this.localNonceStorageKey)}`;break;case"auth":a.Authorization=`Bearer ${this.getStorageToken(this.localAuthStorageKey)}`;break;case"otp":this.otpUuid&&(a["x-otp"]=this.otpUuid);break}return a},{}):void 0});if(!d.ok)throw new Error(await d.text());return(f=d.headers.get("content-type"))!=null&&f.includes("application/json")?d.json():null}getStorageToken(e){return u.getItem(e)}setStorageToken(e,t){u.setItem(t,e)}clearStorageTokens(){this.otpUuid=null,u.removeItem(this.localAuthStorageKey),u.removeItem(this.localNonceStorageKey),this.emit("sessionChanged",void 0)}async getNonce(){const{nonce:e,token:t}=await this.request({method:"GET",key:"nonce"});return this.setStorageToken(t,this.localNonceStorageKey),e}getClientId(){return k.state.clientId}getWalletInfo(){var o;const e=(o=g.getAccountData())==null?void 0:o.connectedWalletInfo;if(!e)return;if("social"in e&&"identifier"in e){const i=e.social,h=e.identifier;return{type:"social",social:i,identifier:h}}const{name:t,icon:n}=e;let s="unknown";switch(e.type){case"EXTERNAL":case"INJECTED":case"ANNOUNCED":s="extension";break;case"WALLET_CONNECT":s="walletconnect";break;default:s="unknown"}return{type:s,name:t,icon:n}}getSDKProperties(){return S._getSdkProperties()}emit(e,t){this.listeners[e].forEach(n=>n(t))}setAppKitAccountUser(e){const{email:t}=e;t&&Object.values(p.CHAIN).forEach(n=>{g.setAccountProp("user",{email:t},n)})}}function I(r){const e=r.split(".");if(e.length!==3)throw new Error("Invalid token");const t=e[1];if(typeof t!="string")throw new Error("Invalid token");const n=t.replace(/-/gu,"+").replace(/_/gu,"/"),s=n.padEnd(n.length+(4-n.length%4)%4,"=");return JSON.parse(atob(s))}export{P as ReownAuthentication,N as ReownAuthenticationMessenger};
6
- //# sourceMappingURL=features-DqkSLGWe.js.map
6
+ //# sourceMappingURL=features-OF9xoTDd.js.map
@@ -0,0 +1,3 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/to-serializable-transaction-CyqVRPus.js","_assets/index-B1ROf6Hr.js","_assets/react-CZuwb7m7.js","_assets/dcl-schemas-DORfUy0V.js","_assets/sentry-CNTYv-PS.js","_assets/ethers-WieUx6J3.js","_assets/intl-AKLEHPeO.js","_assets/index-DOm935q5.css","_assets/prepare-contract-call-Dlduechp.js","_assets/utils-BBBdI_ZH.js","_assets/transaction-EqsZ4Lc9.js"])))=>i.map(i=>d[i]);
2
+ import{_ as s}from"./index-B1ROf6Hr.js";import{b as c}from"./uint8-array-BMe04WIx.js";import{n as d}from"./prepare-contract-call-Dlduechp.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="816ba624-4bb5-4aa3-b267-f85bd97374a8",t._sentryDebugIdIdentifier="sentry-dbid-816ba624-4bb5-4aa3-b267-f85bd97374a8")}catch{}})();const f="data:application/json;base64";function u(t){return!!t.toLowerCase().startsWith(f)}function l(t){const a=t.indexOf(","),r=t.slice(a+1);return c(r)}const b="data:application/json;utf-8";function w(t){return!!t.toLowerCase().startsWith(b)}function h(t){const a=t.indexOf(","),r=t.slice(a+1);try{return decodeURIComponent(r)}catch{return r}}async function _(t){const{client:a,tokenId:r,tokenUri:n}=t;if(u(n))try{return JSON.parse(l(n))}catch(e){throw console.error("Failed to fetch base64 encoded NFT",{tokenId:r,tokenUri:n},e),e}if(w(n))try{return JSON.parse(h(n))}catch(e){throw console.error("Failed to fetch utf8 encoded NFT",{tokenId:r,tokenUri:n},e),e}const{download:o}=await s(async()=>{const{download:e}=await import("./to-serializable-transaction-CyqVRPus.js").then(i=>i.L);return{download:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]));try{if(!n.includes("{id}"))return await(await o({client:a,uri:n})).json()}catch(e){throw console.error("Failed to fetch non-dynamic NFT",{tokenId:r,tokenUri:n},e),e}try{try{return await(await o({client:a,uri:n.replace("{id}",d(r,{size:32}).slice(2))})).json()}catch{return await(await o({client:a,uri:n.replace("{id}",r.toString())})).json()}}catch(e){throw console.error("Failed to fetch dynamic NFT",{tokenId:r,tokenUri:n},e),e}}export{_ as f};
3
+ //# sourceMappingURL=fetchTokenMetadata-Dg3ltP5M.js.map
@@ -1,4 +1,4 @@
1
- import{d as a,e as r}from"./index-BFHMpeS5.js";import"./react-CfmD1IrY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="4ebaf73f-4047-4e28-9457-9be514757d3c",t._sentryDebugIdIdentifier="sentry-dbid-4ebaf73f-4047-4e28-9457-9be514757d3c")}catch{}})();const{colors:e}=a,s=r.input`
1
+ import{d as a,s as r}from"./index-B1ROf6Hr.js";import"./react-CZuwb7m7.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="81c85b17-5656-4020-aeff-12d349a8b4d9",t._sentryDebugIdIdentifier="sentry-dbid-81c85b17-5656-4020-aeff-12d349a8b4d9")}catch{}})();const{colors:e}=a,s=r.input`
2
2
  --box: 17.143px;
3
3
  position: relative;
4
4
  appearance: none;
@@ -68,4 +68,4 @@ import{d as a,e as r}from"./index-BFHMpeS5.js";import"./react-CfmD1IrY.js";(func
68
68
  font: inherit;
69
69
  }
70
70
  `;export{s as C,c as F};
71
- //# sourceMappingURL=field.styles-BeUcGp3j.js.map
71
+ //# sourceMappingURL=field.styles-KbMupjr-.js.map
@@ -1,9 +1,9 @@
1
- import{w as a}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ed1f20e4-4be9-403e-91da-0ca50f7a6acc",e._sentryDebugIdIdentifier="sentry-dbid-ed1f20e4-4be9-403e-91da-0ca50f7a6acc")}catch{}})();const f=a`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="8637d2be-3b39-4515-97ce-a61b8378ecea",e._sentryDebugIdIdentifier="sentry-dbid-8637d2be-3b39-4515-97ce-a61b8378ecea")}catch{}})();const o=n`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
5
5
  d="M0 3a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm2.63 5.25a1 1 0 0 1 1-1h8.75a1 1 0 1 1 0 2H3.63a1 1 0 0 1-1-1Zm2.62 5.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 0 2h-3.5a1 1 0 0 1-1-1Z"
6
6
  clip-rule="evenodd"
7
7
  />
8
- </svg>`;export{f as filtersSvg};
9
- //# sourceMappingURL=filters-ZGEyDIFh.js.map
8
+ </svg>`;export{o as filtersSvg};
9
+ //# sourceMappingURL=filters-CMt2xly-.js.map
@@ -1,4 +1,4 @@
1
- import{g as X}from"./react-CfmD1IrY.js";(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},y=new p.Error().stack;y&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[y]="81dea6e3-5b52-43e1-87f9-c6b03a3ad522",p._sentryDebugIdIdentifier="sentry-dbid-81dea6e3-5b52-43e1-87f9-c6b03a3ad522")}catch{}})();function ee(p,y){for(var a=0;a<y.length;a++){const r=y[a];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in p)){const u=Object.getOwnPropertyDescriptor(r,o);u&&Object.defineProperty(p,o,u.get?u:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var V,J;function te(){return J||(J=1,V=(function(p){var y={};function a(r){if(y[r])return y[r].exports;var o=y[r]={i:r,l:!1,exports:{}};return p[r].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=p,a.c=y,a.d=function(r,o,u){a.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:u})},a.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},a.t=function(r,o){if(1&o&&(r=a(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var u=Object.create(null);if(a.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var l in r)a.d(u,l,(function(R){return r[R]}).bind(null,l));return u},a.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return a.d(o,"a",o),o},a.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},a.p="",a(a.s=3)})([function(p,y){p.exports=function(a){return a&&a.__esModule?a:{default:a}}},function(p,y){p.exports=function(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}},function(p,y,a){function r(){return Math.floor(9e4*Math.random())+1e4}Object.defineProperty(y,"__esModule",{value:!0}),y.sendAsyncWrapper=function(o,u){var l=this;return new Promise(function(R,I){l.sendAsync({jsonrpc:"2.0",id:r(),method:o,params:u||[]},function(O,T){O?I(O):R(T.result)})})},y.sendFortmaticAsyncWrapper=function(o){var u=this;return new Promise(function(l,R){u.getProvider().sendFortmaticAsync(o,function(I,O){I?R(I):l(O?O.result:{})})})},y.randomId=r,y.findExistingResponse=function(o,u){for(var l=0;l<o.length;l++)if(o[l].id===u)return o[l];return null}},function(p,y,a){p.exports=a(4)},function(p,y,a){var r=a(0),o=r(a(1)),u=r(a(5)),l=a(2),R="fm_composeSend",I="fm_logout",O="fm_get_balances",T="fm_get_transactions",w="fm_is_logged_in",P="fm_accountSettings",n="fm_deposit",s="fm_get_user",c="fm_configure",f={};p.exports=function b(_,A,x){var v=this;if((0,o.default)(this,b),this.fortmaticClient="https://x2.fortmatic.com",!_)throw new Error("Please provide a Fortmatic API key that you acquired from the developer dashboard.");this.apiKey=_,this.options=x,this.ethNetwork=A,this.queryParams=btoa(JSON.stringify({API_KEY:_,ETH_NETWORK:A})),this.transactions={send:function(m,M){var C=new g(R,{to:m.to,value:m.amount});v.getProvider().sendFortmaticAsync(C,M)}},this.getProvider=function(){return f["fortmatic-".concat(v.queryParams)]||(f["fortmatic-".concat(v.queryParams)]=new u.default(v.fortmaticClient,{API_KEY:_,ETH_NETWORK:A})),f["fortmatic-".concat(v.queryParams)]},this.user={login:function(){return v.getProvider().enable()},logout:function(){v.getProvider().account=null,v.getProvider().network=null;var m=new g(I);return l.sendFortmaticAsyncWrapper.call(v,m)},getUser:function(){var m=new g(s);return l.sendFortmaticAsyncWrapper.call(v,m)},getBalances:function(){var m=new g(O);return l.sendFortmaticAsyncWrapper.call(v,m)},getTransactions:function(){var m=new g(T);return l.sendFortmaticAsyncWrapper.call(v,m)},isLoggedIn:function(){var m=new g(w);return l.sendFortmaticAsyncWrapper.call(v,m)},settings:function(){var m=new g(P);return l.sendFortmaticAsyncWrapper.call(v,m)},deposit:function(m){var M=new g(n,m);return l.sendFortmaticAsyncWrapper.call(v,M)}},this.configure=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=new g(c);return M.params=[m],l.sendFortmaticAsyncWrapper.call(v,M)}};var g=function b(_,A){(0,o.default)(this,b),this.id=(0,l.randomId)(),this.method=_,this.params=A?[A]:[{}]}},function(p,y,a){var r=a(0);Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var o=r(a(6)),u=r(a(9)),l=r(a(1)),R=r(a(10)),I=a(11),O=r(a(12)),T=a(2),w=(function(){function P(n,s){if((0,l.default)(this,P),this.fortmaticClient=n,this.requests={},this.queue=[],this.account=null,this.network=null,this.isFortmatic=!0,this.overlayReady=!1,this.isLoggedIn=!1,this.postMessages={FORTMATIC_HANDLE_BATCH_REQUEST:"FORTMATIC_HANDLE_BATCH_REQUEST",FORTMATIC_HANDLE_REQUEST:"FORTMATIC_HANDLE_REQUEST",FORTMATIC_HANDLE_FORTMATIC_REQUEST:"FORTMATIC_HANDLE_FORTMATIC_REQUEST",FORTMATIC_HANDLE_RESPONSE:"FORTMATIC_HANDLE_RESPONSE",FORTMATIC_OVERLAY_READY:"FORTMATIC_OVERLAY_READY",FORTMATIC_SHOW_OVERLAY:"FORTMATIC_SHOW_OVERLAY",FORTMATIC_HIDE_OVERLAY:"FORTMATIC_HIDE_OVERLAY",FORTMATIC_USER_DENIED:"FORTMATIC_USER_DENIED",FORTMATIC_USER_LOGOUT:"FORTMATIC_USER_LOGOUT",FORTMATIC_UNAUTHORIZED_API_KEY:"FORTMATIC_UNAUTHORIZED_API_KEY"},!s.API_KEY)throw new Error("Please provide a Fortmatic API key that you acquired from the developer dashboard.");this.options={API_KEY:s.API_KEY,ETH_NETWORK:s.ETH_NETWORK,DOMAIN_ORIGIN:window.location?window.location.origin:"",version:I.version},this.queryParams=btoa(JSON.stringify(this.options)),this.constructPostMessage(),this.overlay=this.createOverlay(),this.listenMessage()}return(0,R.default)(P,[{key:"constructPostMessage",value:function(){var n=this;Object.keys(this.postMessages).map(function(s){n.postMessages[s]+="-".concat(n.queryParams)})}},{key:"createOverlay",value:function(){var n=this;return new Promise(function(s,c){var f=function(){if((function(){var A=!0,x=!1,v=void 0;try{for(var m,M=document.getElementsByClassName("fortmatic-iframe")[Symbol.iterator]();!(A=(m=M.next()).done);A=!0)if(m.value.src.includes(n.queryParams))return!1}catch(C){x=!0,v=C}finally{try{A||M.return==null||M.return()}finally{if(x)throw v}}return!0})()){var g=document.createElement("style");g.innerHTML=O.default.css,g.type="text/css",document.head.appendChild(g);var b=document.createElement("iframe");b.className="fortmatic-iframe",b.src="".concat(n.fortmaticClient,"/send?params=").concat(n.queryParams),document.body.appendChild(b);var _=document.createElement("img");_.src="https://static.fortmatic.com/assets/trans.gif",document.body.appendChild(_),s({iframe:b})}else console.error("Fortmatic: Duplicate instances found.")};["loaded","interactive","complete"].indexOf(document.readyState)>-1?f():window.addEventListener("load",f.bind(n),!1)})}},{key:"showOverlay",value:(function(){var n=(0,u.default)(o.default.mark(function s(){return o.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.overlay;case 2:c.sent.iframe.style.display="block";case 4:case"end":return c.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"hideOverlay",value:(function(){var n=(0,u.default)(o.default.mark(function s(){return o.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.overlay;case 2:c.sent.iframe.style.display="none";case 4:case"end":return c.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"sendAsync",value:function(n,s){n.length>0?this.enqueue({payload:{id:(0,T.randomId)(),batch:n.map(function(c){return c.id=(0,T.randomId)(),c}),method:"eth_batchRequest"},cb:s}):this.enqueue({payload:n,cb:s})}},{key:"sendFortmaticAsync",value:function(n,s){this.enqueue({payload:n,cb:s,isNative:!0})}},{key:"send",value:function(n,s){if(typeof n=="string")return T.sendAsyncWrapper.call(this,n,s);if(!s){console.warn("Non-async web3 methods will be deprecated in web3 > 1.0, and are not supported by the Fortmatic provider. An async method to be used instead."),this.sendAsync(n,function(){});var c={};switch(n.method){case"eth_accounts":c=this.account?[this.account]:[];break;case"eth_coinbase":c=this.account;break;case"net_version":c=this.network||(this.options.API_KEY.startsWith("pk_live")?1:4);break;case"eth_uninstallFilter":c=!0;break;default:c={}}return{id:n.id,jsonrpc:n.jsonrpc,result:c}}this.sendAsync(n,s)}},{key:"enqueue",value:function(n){this.queue.push(n),this.overlayReady&&this.dequeue()}},{key:"dequeue",value:(function(){var n=(0,u.default)(o.default.mark(function s(){var c,f,g,b=this;return o.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(this.queue.length!==0){_.next=2;break}return _.abrupt("return");case 2:if(!(c=this.queue.shift())){_.next=11;break}return f=c.payload,g=c.cb,f.id=(0,T.randomId)(),_.next=9,this.postMessage(c.isNative?this.postMessages.FORTMATIC_HANDLE_FORTMATIC_REQUEST:this.postMessages.FORTMATIC_HANDLE_REQUEST,c.payload);case 9:f.batch&&f.batch.length>0?(f.batch.forEach(function(A){b.requests[A.id]={parentId:f.id,payload:A,cb:function(x,v){var m=b.requests[f.id].batchResponse;if(x&&x.response&&!(0,T.findExistingResponse)(m,x.response.id))throw m.push({jsonrpc:"2.0",id:x.response.id,error:{code:x.response.code,message:x.response.message}}),b.requests[f.id].cb(null,m),x.response;if(v&&v.result&&!(0,T.findExistingResponse)(m,v.id))return m.push(v);throw new Error("Fortmatic: unexpected callback behavior")}}}),this.requests[f.id]={payload:f,cb:g,batchResponse:[]}):this.requests[f.id]={payload:f,cb:g},this.dequeue();case 11:case"end":return _.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"postMessage",value:(function(){var n=(0,u.default)(o.default.mark(function s(c,f){var g;return o.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,this.overlay;case 2:if(!(g=b.sent).iframe.contentWindow){b.next=7;break}g.iframe.contentWindow.postMessage({msgType:c,payload:f},"*"),b.next=8;break;case 7:throw new Error("Fortmatic: Modal is not ready.");case 8:case"end":return b.stop()}},s,this)}));return function(s,c){return n.apply(this,arguments)}})()},{key:"enable",value:function(){return T.sendAsyncWrapper.call(this,"eth_accounts")}},{key:"listenMessage",value:function(){var n=this;window.addEventListener("message",function(s){if(s.origin===n.fortmaticClient){var c=s.data.response?s.data.response.id:null;switch(s.data.msgType){case n.postMessages.FORTMATIC_OVERLAY_READY:n.overlayReady=!0,n.dequeue();break;case n.postMessages.FORTMATIC_HANDLE_RESPONSE:try{n.requests[c].cb(null,s.data.response);var f=n.requests[c].parentId;f&&n.requests[f].payload.batch.length===n.requests[f].batchResponse.length&&n.requests[f].cb(null,n.requests[f].batchResponse),n.requests[c].payload.method==="eth_accounts"?n.account=s.data.response.result[0]:n.requests[c].payload.method==="eth_coinbase"?n.account=s.data.response.result:n.requests[c].payload.method==="net_version"&&(n.network=s.data.response.result)}catch{}n.isLoggedIn=!0,n.dequeue();break;case n.postMessages.FORTMATIC_HIDE_OVERLAY:n.hideOverlay();break;case n.postMessages.FORTMATIC_SHOW_OVERLAY:n.showOverlay();break;case n.postMessages.FORTMATIC_USER_LOGOUT:n.account=null,n.network=null,n.isLoggedIn=!1;break;case n.postMessages.FORTMATIC_UNAUTHORIZED_API_KEY:throw n.overlayReady=!1,new Error("Given API key is not authorized to access the resource.");case n.postMessages.FORTMATIC_USER_DENIED:if(c){var g=s.data.response&&s.data.response.message?s.data.response.message:"Fortmatic: Modal was closed without executing action!",b=s.data.response&&s.data.response.code?s.data.response.code:1;n.requests[c].cb({message:g,code:b,response:s.data.response})}else n.queue.forEach(function(_){return _.cb({message:"Fortmatic: Modal was closed without executing action!",code:1})});n.dequeue()}}})}}]),P})();y.default=w},function(p,y,a){p.exports=a(7)},function(p,y,a){var r=(function(){return this||typeof self=="object"&&self})()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,u=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,p.exports=a(8),o)r.regeneratorRuntime=u;else try{delete r.regeneratorRuntime}catch{r.regeneratorRuntime=void 0}},function(p,y){(function(a){var r,o=Object.prototype,u=o.hasOwnProperty,l=typeof Symbol=="function"?Symbol:{},R=l.iterator||"@@iterator",I=l.asyncIterator||"@@asyncIterator",O=l.toStringTag||"@@toStringTag",T=typeof p=="object",w=a.regeneratorRuntime;if(w)T&&(p.exports=w);else{(w=a.regeneratorRuntime=T?p.exports:{}).wrap=x;var P="suspendedStart",n="suspendedYield",s="executing",c="completed",f={},g={};g[R]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(G([])));_&&_!==o&&u.call(_,R)&&(g=_);var A=C.prototype=m.prototype=Object.create(g);M.prototype=A.constructor=C,C.constructor=M,C[O]=M.displayName="GeneratorFunction",w.isGeneratorFunction=function(t){var e=typeof t=="function"&&t.constructor;return!!e&&(e===M||(e.displayName||e.name)==="GeneratorFunction")},w.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,O in t||(t[O]="GeneratorFunction")),t.prototype=Object.create(A),t},w.awrap=function(t){return{__await:t}},B(U.prototype),U.prototype[I]=function(){return this},w.AsyncIterator=U,w.async=function(t,e,d,h){var i=new U(x(t,e,d,h));return w.isGeneratorFunction(e)?i:i.next().then(function(F){return F.done?F.value:i.next()})},B(A),A[O]="Generator",A[R]=function(){return this},A.toString=function(){return"[object Generator]"},w.keys=function(t){var e=[];for(var d in t)e.push(d);return e.reverse(),function h(){for(;e.length;){var i=e.pop();if(i in t)return h.value=i,h.done=!1,h}return h.done=!0,h}},w.values=G,K.prototype={constructor:K,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(Y),!t)for(var e in this)e.charAt(0)==="t"&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if(t.type==="throw")throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function d(W,E){return F.type="throw",F.arg=t,e.next=W,E&&(e.method="next",e.arg=r),!!E}for(var h=this.tryEntries.length-1;h>=0;--h){var i=this.tryEntries[h],F=i.completion;if(i.tryLoc==="root")return d("end");if(i.tryLoc<=this.prev){var j=u.call(i,"catchLoc"),q=u.call(i,"finallyLoc");if(j&&q){if(this.prev<i.catchLoc)return d(i.catchLoc,!0);if(this.prev<i.finallyLoc)return d(i.finallyLoc)}else if(j){if(this.prev<i.catchLoc)return d(i.catchLoc,!0)}else{if(!q)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return d(i.finallyLoc)}}}},abrupt:function(t,e){for(var d=this.tryEntries.length-1;d>=0;--d){var h=this.tryEntries[d];if(h.tryLoc<=this.prev&&u.call(h,"finallyLoc")&&this.prev<h.finallyLoc){var i=h;break}}i&&(t==="break"||t==="continue")&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var F=i?i.completion:{};return F.type=t,F.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(F)},complete:function(t,e){if(t.type==="throw")throw t.arg;return t.type==="break"||t.type==="continue"?this.next=t.arg:t.type==="return"?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):t.type==="normal"&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var d=this.tryEntries[e];if(d.finallyLoc===t)return this.complete(d.completion,d.afterLoc),Y(d),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var d=this.tryEntries[e];if(d.tryLoc===t){var h=d.completion;if(h.type==="throw"){var i=h.arg;Y(d)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,d){return this.delegate={iterator:G(t),resultName:e,nextLoc:d},this.method==="next"&&(this.arg=r),f}}}function x(t,e,d,h){var i=e&&e.prototype instanceof m?e:m,F=Object.create(i.prototype),j=new K(h||[]);return F._invoke=(function(q,W,E){var L=P;return function(S,D){if(L===s)throw new Error("Generator is already running");if(L===c){if(S==="throw")throw D;return z()}for(E.method=S,E.arg=D;;){var H=E.delegate;if(H){var N=Q(H,E);if(N){if(N===f)continue;return N}}if(E.method==="next")E.sent=E._sent=E.arg;else if(E.method==="throw"){if(L===P)throw L=c,E.arg;E.dispatchException(E.arg)}else E.method==="return"&&E.abrupt("return",E.arg);L=s;var k=v(q,W,E);if(k.type==="normal"){if(L=E.done?c:n,k.arg===f)continue;return{value:k.arg,done:E.done}}k.type==="throw"&&(L=c,E.method="throw",E.arg=k.arg)}}})(t,d,j),F}function v(t,e,d){try{return{type:"normal",arg:t.call(e,d)}}catch(h){return{type:"throw",arg:h}}}function m(){}function M(){}function C(){}function B(t){["next","throw","return"].forEach(function(e){t[e]=function(d){return this._invoke(e,d)}})}function U(t){var e;this._invoke=function(d,h){function i(){return new Promise(function(F,j){(function q(W,E,L,S){var D=v(t[W],t,E);if(D.type!=="throw"){var H=D.arg,N=H.value;return N&&typeof N=="object"&&u.call(N,"__await")?Promise.resolve(N.__await).then(function(k){q("next",k,L,S)},function(k){q("throw",k,L,S)}):Promise.resolve(N).then(function(k){H.value=k,L(H)},function(k){return q("throw",k,L,S)})}S(D.arg)})(d,h,F,j)})}return e=e?e.then(i,i):i()}}function Q(t,e){var d=t.iterator[e.method];if(d===r){if(e.delegate=null,e.method==="throw"){if(t.iterator.return&&(e.method="return",e.arg=r,Q(t,e),e.method==="throw"))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var h=v(d,t.iterator,e.arg);if(h.type==="throw")return e.method="throw",e.arg=h.arg,e.delegate=null,f;var i=h.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,e.method!=="return"&&(e.method="next",e.arg=r),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function $(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function Y(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function K(t){this.tryEntries=[{tryLoc:"root"}],t.forEach($,this),this.reset(!0)}function G(t){if(t){var e=t[R];if(e)return e.call(t);if(typeof t.next=="function")return t;if(!isNaN(t.length)){var d=-1,h=function i(){for(;++d<t.length;)if(u.call(t,d))return i.value=t[d],i.done=!1,i;return i.value=r,i.done=!0,i};return h.next=h}}return{next:z}}function z(){return{value:r,done:!0}}})((function(){return this||typeof self=="object"&&self})()||Function("return this")())},function(p,y){function a(r,o,u,l,R,I,O){try{var T=r[I](O),w=T.value}catch(P){return void u(P)}T.done?o(w):Promise.resolve(w).then(l,R)}p.exports=function(r){return function(){var o=this,u=arguments;return new Promise(function(l,R){var I=r.apply(o,u);function O(w){a(I,l,R,O,T,"next",w)}function T(w){a(I,l,R,O,T,"throw",w)}O(void 0)})}}},function(p,y){function a(r,o){for(var u=0;u<o.length;u++){var l=o[u];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}p.exports=function(r,o,u){return o&&a(r.prototype,o),u&&a(r,u),r}},function(p){p.exports={name:"fortmatic",version:"1.1.3",description:"Fortmatic Javascript SDK",main:"lib/fortmatic.js",scripts:{build:"WEBPACK_ENV=production webpack","build:dev":"WEBPACK_ENV=development BABEL_ENV=development webpack --progress --colors --watch",test:"nyc --reporter=lcov --reporter=text-summary ava"},author:"Fortmatic <team@fortmatic.com> (https://fortmatic.com/)",license:"MIT",repository:{type:"git",url:"https://github.com/fortmatic/fortmatic-js"},keywords:["Auth","Login","Web3","Crypto","Ethereum","MetaMask","Wallet","Blockchain","Dapp"],homepage:"https://www.fortmatic.com",ava:{require:["@babel/register"],files:["test/**/*.spec.js"],babel:{testOptions:{presets:["@babel/env"],plugins:["@babel/plugin-proposal-function-bind","@babel/plugin-transform-runtime"]}},verbose:!0},nyc:{all:!1,"check-coverage":!0,"per-file":!0,lines:80,statements:80,functions:80,branches:80,include:["src/**/*.js"],exclude:["*/style.js"],require:[],reporter:["html","lcov"]},dependencies:{"@babel/runtime":"7.3.4"},devDependencies:{"@babel/core":"7.3.4","@babel/plugin-proposal-function-bind":"7.2.0","@babel/plugin-transform-modules-commonjs":"7.2.0","@babel/plugin-transform-runtime":"7.3.4","@babel/preset-env":"7.3.4","@babel/register":"7.0.0",ava:"2.2.0","babel-eslint":"10.0.1","babel-loader":"8.0.5",eslint:"5.9.0",lodash:"4.17.11",nyc:"13.1.0",sinon:"7.1.1",webpack:"4.26.1","webpack-cli":"3.1.2"}}},function(p,y,a){y.css=`
1
+ import{g as X}from"./react-CZuwb7m7.js";(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},y=new p.Error().stack;y&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[y]="81dea6e3-5b52-43e1-87f9-c6b03a3ad522",p._sentryDebugIdIdentifier="sentry-dbid-81dea6e3-5b52-43e1-87f9-c6b03a3ad522")}catch{}})();function ee(p,y){for(var a=0;a<y.length;a++){const r=y[a];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in p)){const u=Object.getOwnPropertyDescriptor(r,o);u&&Object.defineProperty(p,o,u.get?u:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var V,J;function te(){return J||(J=1,V=(function(p){var y={};function a(r){if(y[r])return y[r].exports;var o=y[r]={i:r,l:!1,exports:{}};return p[r].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=p,a.c=y,a.d=function(r,o,u){a.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:u})},a.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},a.t=function(r,o){if(1&o&&(r=a(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var u=Object.create(null);if(a.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var l in r)a.d(u,l,(function(R){return r[R]}).bind(null,l));return u},a.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return a.d(o,"a",o),o},a.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},a.p="",a(a.s=3)})([function(p,y){p.exports=function(a){return a&&a.__esModule?a:{default:a}}},function(p,y){p.exports=function(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}},function(p,y,a){function r(){return Math.floor(9e4*Math.random())+1e4}Object.defineProperty(y,"__esModule",{value:!0}),y.sendAsyncWrapper=function(o,u){var l=this;return new Promise(function(R,I){l.sendAsync({jsonrpc:"2.0",id:r(),method:o,params:u||[]},function(O,T){O?I(O):R(T.result)})})},y.sendFortmaticAsyncWrapper=function(o){var u=this;return new Promise(function(l,R){u.getProvider().sendFortmaticAsync(o,function(I,O){I?R(I):l(O?O.result:{})})})},y.randomId=r,y.findExistingResponse=function(o,u){for(var l=0;l<o.length;l++)if(o[l].id===u)return o[l];return null}},function(p,y,a){p.exports=a(4)},function(p,y,a){var r=a(0),o=r(a(1)),u=r(a(5)),l=a(2),R="fm_composeSend",I="fm_logout",O="fm_get_balances",T="fm_get_transactions",w="fm_is_logged_in",P="fm_accountSettings",n="fm_deposit",s="fm_get_user",c="fm_configure",f={};p.exports=function b(_,A,x){var v=this;if((0,o.default)(this,b),this.fortmaticClient="https://x2.fortmatic.com",!_)throw new Error("Please provide a Fortmatic API key that you acquired from the developer dashboard.");this.apiKey=_,this.options=x,this.ethNetwork=A,this.queryParams=btoa(JSON.stringify({API_KEY:_,ETH_NETWORK:A})),this.transactions={send:function(m,M){var C=new g(R,{to:m.to,value:m.amount});v.getProvider().sendFortmaticAsync(C,M)}},this.getProvider=function(){return f["fortmatic-".concat(v.queryParams)]||(f["fortmatic-".concat(v.queryParams)]=new u.default(v.fortmaticClient,{API_KEY:_,ETH_NETWORK:A})),f["fortmatic-".concat(v.queryParams)]},this.user={login:function(){return v.getProvider().enable()},logout:function(){v.getProvider().account=null,v.getProvider().network=null;var m=new g(I);return l.sendFortmaticAsyncWrapper.call(v,m)},getUser:function(){var m=new g(s);return l.sendFortmaticAsyncWrapper.call(v,m)},getBalances:function(){var m=new g(O);return l.sendFortmaticAsyncWrapper.call(v,m)},getTransactions:function(){var m=new g(T);return l.sendFortmaticAsyncWrapper.call(v,m)},isLoggedIn:function(){var m=new g(w);return l.sendFortmaticAsyncWrapper.call(v,m)},settings:function(){var m=new g(P);return l.sendFortmaticAsyncWrapper.call(v,m)},deposit:function(m){var M=new g(n,m);return l.sendFortmaticAsyncWrapper.call(v,M)}},this.configure=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=new g(c);return M.params=[m],l.sendFortmaticAsyncWrapper.call(v,M)}};var g=function b(_,A){(0,o.default)(this,b),this.id=(0,l.randomId)(),this.method=_,this.params=A?[A]:[{}]}},function(p,y,a){var r=a(0);Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var o=r(a(6)),u=r(a(9)),l=r(a(1)),R=r(a(10)),I=a(11),O=r(a(12)),T=a(2),w=(function(){function P(n,s){if((0,l.default)(this,P),this.fortmaticClient=n,this.requests={},this.queue=[],this.account=null,this.network=null,this.isFortmatic=!0,this.overlayReady=!1,this.isLoggedIn=!1,this.postMessages={FORTMATIC_HANDLE_BATCH_REQUEST:"FORTMATIC_HANDLE_BATCH_REQUEST",FORTMATIC_HANDLE_REQUEST:"FORTMATIC_HANDLE_REQUEST",FORTMATIC_HANDLE_FORTMATIC_REQUEST:"FORTMATIC_HANDLE_FORTMATIC_REQUEST",FORTMATIC_HANDLE_RESPONSE:"FORTMATIC_HANDLE_RESPONSE",FORTMATIC_OVERLAY_READY:"FORTMATIC_OVERLAY_READY",FORTMATIC_SHOW_OVERLAY:"FORTMATIC_SHOW_OVERLAY",FORTMATIC_HIDE_OVERLAY:"FORTMATIC_HIDE_OVERLAY",FORTMATIC_USER_DENIED:"FORTMATIC_USER_DENIED",FORTMATIC_USER_LOGOUT:"FORTMATIC_USER_LOGOUT",FORTMATIC_UNAUTHORIZED_API_KEY:"FORTMATIC_UNAUTHORIZED_API_KEY"},!s.API_KEY)throw new Error("Please provide a Fortmatic API key that you acquired from the developer dashboard.");this.options={API_KEY:s.API_KEY,ETH_NETWORK:s.ETH_NETWORK,DOMAIN_ORIGIN:window.location?window.location.origin:"",version:I.version},this.queryParams=btoa(JSON.stringify(this.options)),this.constructPostMessage(),this.overlay=this.createOverlay(),this.listenMessage()}return(0,R.default)(P,[{key:"constructPostMessage",value:function(){var n=this;Object.keys(this.postMessages).map(function(s){n.postMessages[s]+="-".concat(n.queryParams)})}},{key:"createOverlay",value:function(){var n=this;return new Promise(function(s,c){var f=function(){if((function(){var A=!0,x=!1,v=void 0;try{for(var m,M=document.getElementsByClassName("fortmatic-iframe")[Symbol.iterator]();!(A=(m=M.next()).done);A=!0)if(m.value.src.includes(n.queryParams))return!1}catch(C){x=!0,v=C}finally{try{A||M.return==null||M.return()}finally{if(x)throw v}}return!0})()){var g=document.createElement("style");g.innerHTML=O.default.css,g.type="text/css",document.head.appendChild(g);var b=document.createElement("iframe");b.className="fortmatic-iframe",b.src="".concat(n.fortmaticClient,"/send?params=").concat(n.queryParams),document.body.appendChild(b);var _=document.createElement("img");_.src="https://static.fortmatic.com/assets/trans.gif",document.body.appendChild(_),s({iframe:b})}else console.error("Fortmatic: Duplicate instances found.")};["loaded","interactive","complete"].indexOf(document.readyState)>-1?f():window.addEventListener("load",f.bind(n),!1)})}},{key:"showOverlay",value:(function(){var n=(0,u.default)(o.default.mark(function s(){return o.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.overlay;case 2:c.sent.iframe.style.display="block";case 4:case"end":return c.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"hideOverlay",value:(function(){var n=(0,u.default)(o.default.mark(function s(){return o.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.overlay;case 2:c.sent.iframe.style.display="none";case 4:case"end":return c.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"sendAsync",value:function(n,s){n.length>0?this.enqueue({payload:{id:(0,T.randomId)(),batch:n.map(function(c){return c.id=(0,T.randomId)(),c}),method:"eth_batchRequest"},cb:s}):this.enqueue({payload:n,cb:s})}},{key:"sendFortmaticAsync",value:function(n,s){this.enqueue({payload:n,cb:s,isNative:!0})}},{key:"send",value:function(n,s){if(typeof n=="string")return T.sendAsyncWrapper.call(this,n,s);if(!s){console.warn("Non-async web3 methods will be deprecated in web3 > 1.0, and are not supported by the Fortmatic provider. An async method to be used instead."),this.sendAsync(n,function(){});var c={};switch(n.method){case"eth_accounts":c=this.account?[this.account]:[];break;case"eth_coinbase":c=this.account;break;case"net_version":c=this.network||(this.options.API_KEY.startsWith("pk_live")?1:4);break;case"eth_uninstallFilter":c=!0;break;default:c={}}return{id:n.id,jsonrpc:n.jsonrpc,result:c}}this.sendAsync(n,s)}},{key:"enqueue",value:function(n){this.queue.push(n),this.overlayReady&&this.dequeue()}},{key:"dequeue",value:(function(){var n=(0,u.default)(o.default.mark(function s(){var c,f,g,b=this;return o.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(this.queue.length!==0){_.next=2;break}return _.abrupt("return");case 2:if(!(c=this.queue.shift())){_.next=11;break}return f=c.payload,g=c.cb,f.id=(0,T.randomId)(),_.next=9,this.postMessage(c.isNative?this.postMessages.FORTMATIC_HANDLE_FORTMATIC_REQUEST:this.postMessages.FORTMATIC_HANDLE_REQUEST,c.payload);case 9:f.batch&&f.batch.length>0?(f.batch.forEach(function(A){b.requests[A.id]={parentId:f.id,payload:A,cb:function(x,v){var m=b.requests[f.id].batchResponse;if(x&&x.response&&!(0,T.findExistingResponse)(m,x.response.id))throw m.push({jsonrpc:"2.0",id:x.response.id,error:{code:x.response.code,message:x.response.message}}),b.requests[f.id].cb(null,m),x.response;if(v&&v.result&&!(0,T.findExistingResponse)(m,v.id))return m.push(v);throw new Error("Fortmatic: unexpected callback behavior")}}}),this.requests[f.id]={payload:f,cb:g,batchResponse:[]}):this.requests[f.id]={payload:f,cb:g},this.dequeue();case 11:case"end":return _.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"postMessage",value:(function(){var n=(0,u.default)(o.default.mark(function s(c,f){var g;return o.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,this.overlay;case 2:if(!(g=b.sent).iframe.contentWindow){b.next=7;break}g.iframe.contentWindow.postMessage({msgType:c,payload:f},"*"),b.next=8;break;case 7:throw new Error("Fortmatic: Modal is not ready.");case 8:case"end":return b.stop()}},s,this)}));return function(s,c){return n.apply(this,arguments)}})()},{key:"enable",value:function(){return T.sendAsyncWrapper.call(this,"eth_accounts")}},{key:"listenMessage",value:function(){var n=this;window.addEventListener("message",function(s){if(s.origin===n.fortmaticClient){var c=s.data.response?s.data.response.id:null;switch(s.data.msgType){case n.postMessages.FORTMATIC_OVERLAY_READY:n.overlayReady=!0,n.dequeue();break;case n.postMessages.FORTMATIC_HANDLE_RESPONSE:try{n.requests[c].cb(null,s.data.response);var f=n.requests[c].parentId;f&&n.requests[f].payload.batch.length===n.requests[f].batchResponse.length&&n.requests[f].cb(null,n.requests[f].batchResponse),n.requests[c].payload.method==="eth_accounts"?n.account=s.data.response.result[0]:n.requests[c].payload.method==="eth_coinbase"?n.account=s.data.response.result:n.requests[c].payload.method==="net_version"&&(n.network=s.data.response.result)}catch{}n.isLoggedIn=!0,n.dequeue();break;case n.postMessages.FORTMATIC_HIDE_OVERLAY:n.hideOverlay();break;case n.postMessages.FORTMATIC_SHOW_OVERLAY:n.showOverlay();break;case n.postMessages.FORTMATIC_USER_LOGOUT:n.account=null,n.network=null,n.isLoggedIn=!1;break;case n.postMessages.FORTMATIC_UNAUTHORIZED_API_KEY:throw n.overlayReady=!1,new Error("Given API key is not authorized to access the resource.");case n.postMessages.FORTMATIC_USER_DENIED:if(c){var g=s.data.response&&s.data.response.message?s.data.response.message:"Fortmatic: Modal was closed without executing action!",b=s.data.response&&s.data.response.code?s.data.response.code:1;n.requests[c].cb({message:g,code:b,response:s.data.response})}else n.queue.forEach(function(_){return _.cb({message:"Fortmatic: Modal was closed without executing action!",code:1})});n.dequeue()}}})}}]),P})();y.default=w},function(p,y,a){p.exports=a(7)},function(p,y,a){var r=(function(){return this||typeof self=="object"&&self})()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,u=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,p.exports=a(8),o)r.regeneratorRuntime=u;else try{delete r.regeneratorRuntime}catch{r.regeneratorRuntime=void 0}},function(p,y){(function(a){var r,o=Object.prototype,u=o.hasOwnProperty,l=typeof Symbol=="function"?Symbol:{},R=l.iterator||"@@iterator",I=l.asyncIterator||"@@asyncIterator",O=l.toStringTag||"@@toStringTag",T=typeof p=="object",w=a.regeneratorRuntime;if(w)T&&(p.exports=w);else{(w=a.regeneratorRuntime=T?p.exports:{}).wrap=x;var P="suspendedStart",n="suspendedYield",s="executing",c="completed",f={},g={};g[R]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(G([])));_&&_!==o&&u.call(_,R)&&(g=_);var A=C.prototype=m.prototype=Object.create(g);M.prototype=A.constructor=C,C.constructor=M,C[O]=M.displayName="GeneratorFunction",w.isGeneratorFunction=function(t){var e=typeof t=="function"&&t.constructor;return!!e&&(e===M||(e.displayName||e.name)==="GeneratorFunction")},w.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,O in t||(t[O]="GeneratorFunction")),t.prototype=Object.create(A),t},w.awrap=function(t){return{__await:t}},B(U.prototype),U.prototype[I]=function(){return this},w.AsyncIterator=U,w.async=function(t,e,d,h){var i=new U(x(t,e,d,h));return w.isGeneratorFunction(e)?i:i.next().then(function(F){return F.done?F.value:i.next()})},B(A),A[O]="Generator",A[R]=function(){return this},A.toString=function(){return"[object Generator]"},w.keys=function(t){var e=[];for(var d in t)e.push(d);return e.reverse(),function h(){for(;e.length;){var i=e.pop();if(i in t)return h.value=i,h.done=!1,h}return h.done=!0,h}},w.values=G,K.prototype={constructor:K,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(Y),!t)for(var e in this)e.charAt(0)==="t"&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if(t.type==="throw")throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function d(W,E){return F.type="throw",F.arg=t,e.next=W,E&&(e.method="next",e.arg=r),!!E}for(var h=this.tryEntries.length-1;h>=0;--h){var i=this.tryEntries[h],F=i.completion;if(i.tryLoc==="root")return d("end");if(i.tryLoc<=this.prev){var j=u.call(i,"catchLoc"),q=u.call(i,"finallyLoc");if(j&&q){if(this.prev<i.catchLoc)return d(i.catchLoc,!0);if(this.prev<i.finallyLoc)return d(i.finallyLoc)}else if(j){if(this.prev<i.catchLoc)return d(i.catchLoc,!0)}else{if(!q)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return d(i.finallyLoc)}}}},abrupt:function(t,e){for(var d=this.tryEntries.length-1;d>=0;--d){var h=this.tryEntries[d];if(h.tryLoc<=this.prev&&u.call(h,"finallyLoc")&&this.prev<h.finallyLoc){var i=h;break}}i&&(t==="break"||t==="continue")&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var F=i?i.completion:{};return F.type=t,F.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(F)},complete:function(t,e){if(t.type==="throw")throw t.arg;return t.type==="break"||t.type==="continue"?this.next=t.arg:t.type==="return"?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):t.type==="normal"&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var d=this.tryEntries[e];if(d.finallyLoc===t)return this.complete(d.completion,d.afterLoc),Y(d),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var d=this.tryEntries[e];if(d.tryLoc===t){var h=d.completion;if(h.type==="throw"){var i=h.arg;Y(d)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,d){return this.delegate={iterator:G(t),resultName:e,nextLoc:d},this.method==="next"&&(this.arg=r),f}}}function x(t,e,d,h){var i=e&&e.prototype instanceof m?e:m,F=Object.create(i.prototype),j=new K(h||[]);return F._invoke=(function(q,W,E){var L=P;return function(S,D){if(L===s)throw new Error("Generator is already running");if(L===c){if(S==="throw")throw D;return z()}for(E.method=S,E.arg=D;;){var H=E.delegate;if(H){var N=Q(H,E);if(N){if(N===f)continue;return N}}if(E.method==="next")E.sent=E._sent=E.arg;else if(E.method==="throw"){if(L===P)throw L=c,E.arg;E.dispatchException(E.arg)}else E.method==="return"&&E.abrupt("return",E.arg);L=s;var k=v(q,W,E);if(k.type==="normal"){if(L=E.done?c:n,k.arg===f)continue;return{value:k.arg,done:E.done}}k.type==="throw"&&(L=c,E.method="throw",E.arg=k.arg)}}})(t,d,j),F}function v(t,e,d){try{return{type:"normal",arg:t.call(e,d)}}catch(h){return{type:"throw",arg:h}}}function m(){}function M(){}function C(){}function B(t){["next","throw","return"].forEach(function(e){t[e]=function(d){return this._invoke(e,d)}})}function U(t){var e;this._invoke=function(d,h){function i(){return new Promise(function(F,j){(function q(W,E,L,S){var D=v(t[W],t,E);if(D.type!=="throw"){var H=D.arg,N=H.value;return N&&typeof N=="object"&&u.call(N,"__await")?Promise.resolve(N.__await).then(function(k){q("next",k,L,S)},function(k){q("throw",k,L,S)}):Promise.resolve(N).then(function(k){H.value=k,L(H)},function(k){return q("throw",k,L,S)})}S(D.arg)})(d,h,F,j)})}return e=e?e.then(i,i):i()}}function Q(t,e){var d=t.iterator[e.method];if(d===r){if(e.delegate=null,e.method==="throw"){if(t.iterator.return&&(e.method="return",e.arg=r,Q(t,e),e.method==="throw"))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var h=v(d,t.iterator,e.arg);if(h.type==="throw")return e.method="throw",e.arg=h.arg,e.delegate=null,f;var i=h.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,e.method!=="return"&&(e.method="next",e.arg=r),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function $(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function Y(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function K(t){this.tryEntries=[{tryLoc:"root"}],t.forEach($,this),this.reset(!0)}function G(t){if(t){var e=t[R];if(e)return e.call(t);if(typeof t.next=="function")return t;if(!isNaN(t.length)){var d=-1,h=function i(){for(;++d<t.length;)if(u.call(t,d))return i.value=t[d],i.done=!1,i;return i.value=r,i.done=!0,i};return h.next=h}}return{next:z}}function z(){return{value:r,done:!0}}})((function(){return this||typeof self=="object"&&self})()||Function("return this")())},function(p,y){function a(r,o,u,l,R,I,O){try{var T=r[I](O),w=T.value}catch(P){return void u(P)}T.done?o(w):Promise.resolve(w).then(l,R)}p.exports=function(r){return function(){var o=this,u=arguments;return new Promise(function(l,R){var I=r.apply(o,u);function O(w){a(I,l,R,O,T,"next",w)}function T(w){a(I,l,R,O,T,"throw",w)}O(void 0)})}}},function(p,y){function a(r,o){for(var u=0;u<o.length;u++){var l=o[u];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}p.exports=function(r,o,u){return o&&a(r.prototype,o),u&&a(r,u),r}},function(p){p.exports={name:"fortmatic",version:"1.1.3",description:"Fortmatic Javascript SDK",main:"lib/fortmatic.js",scripts:{build:"WEBPACK_ENV=production webpack","build:dev":"WEBPACK_ENV=development BABEL_ENV=development webpack --progress --colors --watch",test:"nyc --reporter=lcov --reporter=text-summary ava"},author:"Fortmatic <team@fortmatic.com> (https://fortmatic.com/)",license:"MIT",repository:{type:"git",url:"https://github.com/fortmatic/fortmatic-js"},keywords:["Auth","Login","Web3","Crypto","Ethereum","MetaMask","Wallet","Blockchain","Dapp"],homepage:"https://www.fortmatic.com",ava:{require:["@babel/register"],files:["test/**/*.spec.js"],babel:{testOptions:{presets:["@babel/env"],plugins:["@babel/plugin-proposal-function-bind","@babel/plugin-transform-runtime"]}},verbose:!0},nyc:{all:!1,"check-coverage":!0,"per-file":!0,lines:80,statements:80,functions:80,branches:80,include:["src/**/*.js"],exclude:["*/style.js"],require:[],reporter:["html","lcov"]},dependencies:{"@babel/runtime":"7.3.4"},devDependencies:{"@babel/core":"7.3.4","@babel/plugin-proposal-function-bind":"7.2.0","@babel/plugin-transform-modules-commonjs":"7.2.0","@babel/plugin-transform-runtime":"7.3.4","@babel/preset-env":"7.3.4","@babel/register":"7.0.0",ava:"2.2.0","babel-eslint":"10.0.1","babel-loader":"8.0.5",eslint:"5.9.0",lodash:"4.17.11",nyc:"13.1.0",sinon:"7.1.1",webpack:"4.26.1","webpack-cli":"3.1.2"}}},function(p,y,a){y.css=`
2
2
  .fortmatic-iframe {
3
3
  display: none;
4
4
  position: fixed;
@@ -11,4 +11,4 @@ import{g as X}from"./react-CfmD1IrY.js";(function(){try{var p=typeof window<"u"?
11
11
  z-index: 2147483647;
12
12
  }
13
13
  `}])),V}var Z=te();const re=X(Z),oe=ee({__proto__:null,default:re},[Z]);export{oe as f};
14
- //# sourceMappingURL=fortmatic-BeVunzky.js.map
14
+ //# sourceMappingURL=fortmatic-HMELMcnY.js.map
@@ -1,2 +1,2 @@
1
- import{C as E,I as v,J as L,K as _,L as T,M as D,N,d as C,O as x,P as O,Q as b,E as k,x as B,R as S,c as j}from"./prepare-contract-call-DWYd_dpp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ef1fe373-109e-4d27-b657-773165bbc0c3",e._sentryDebugIdIdentifier="sentry-dbid-ef1fe373-109e-4d27-b657-773165bbc0c3")}catch{}})();function z(e,t){if(!E(e,{strict:!1}))throw new v({address:e});if(!E(t,{strict:!1}))throw new v({address:t});return e.toLowerCase()===t.toLowerCase()}const I="/docs/contract/decodeEventLog";function M(e){const{abi:t,data:a,strict:o,topics:l}=e,i=o??!0,[r,...c]=l;if(!r)throw new L({docsPath:I});const s=t.find(n=>n.type==="event"&&r===_(T(n)));if(!(s&&"name"in s)||s.type!=="event")throw new D(r,{docsPath:I});const{name:f,inputs:u}=s,y=u==null?void 0:u.some(n=>!("name"in n&&n.name)),g=y?[]:{},h=u.map((n,d)=>[n,d]).filter(([n])=>"indexed"in n&&n.indexed);for(let n=0;n<h.length;n++){const[d,A]=h[n],w=c[n];if(!w)throw new N({abiItem:s,param:d});g[y?A:d.name||A]=P({param:d,value:w})}const m=u.filter(n=>!("indexed"in n&&n.indexed));if(m.length>0){if(a&&a!=="0x")try{const n=C(m,a);if(n)if(y)for(let d=0;d<u.length;d++)g[d]=g[d]??n.shift();else for(let d=0;d<m.length;d++)g[m[d].name]=n[d]}catch(n){if(i)throw n instanceof x||n instanceof O?new b({abiItem:s,data:a,params:m,size:k(a)}):n}else if(i)throw new b({abiItem:s,data:"0x",params:m,size:0})}return{eventName:f,args:Object.values(g).length>0?g:void 0}}function P({param:e,value:t}){return e.type==="string"||e.type==="bytes"||e.type==="tuple"||e.type.match(/^(.*)\[(\d+)?\]$/)?t:(C([e],t)||[])[0]}function q(e){const{abi:t,args:a,logs:o,strict:l=!0}=e,i=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return o.map(r=>{var c;try{const s=t.find(u=>u.type==="event"&&r.topics[0]===_(u));if(!s)return null;const f=M({...r,abi:[s],strict:l});return i&&!i.includes(f.eventName)||!R({args:f.args,inputs:s.inputs,matchArgs:a})?null:{...f,...r}}catch(s){let f,u;if(s instanceof D)return null;if(s instanceof b||s instanceof N){if(l)return null;f=s.abiItem.name,u=(c=s.abiItem.inputs)==null?void 0:c.some(y=>!("name"in y&&y.name))}return{...r,args:u?[]:{},eventName:f}}}).filter(Boolean)}function R(e){const{args:t,inputs:a,matchArgs:o}=e;if(!o)return!0;if(!t)return!1;function l(i,r,c){try{return i.type==="address"?z(r,c):i.type==="string"||i.type==="bytes"?B(S(r))===c:r===c}catch{return!1}}return Array.isArray(t)&&Array.isArray(o)?o.every((i,r)=>{if(i==null)return!0;const c=a[r];return c?(Array.isArray(i)?i:[i]).some(f=>l(c,f,t[r])):!1}):typeof t=="object"&&!Array.isArray(t)&&typeof o=="object"&&!Array.isArray(o)?Object.entries(o).every(([i,r])=>{if(r==null)return!0;const c=a.find(f=>f.name===i);return c?(Array.isArray(r)?r:[r]).some(f=>l(c,f,t[i])):!1}):!1}async function U(e,t){return e({method:"eth_getCode",params:[t.address,t.blockTag||"latest"]})}function F(e){const{logs:t,events:a,strict:o}=e;return q({abi:a.map(l=>l.abiEvent),logs:t,strict:o})}const p=new WeakMap;function H(e){if(p.has(e))return p.get(e);const t=(async()=>{const a=j(e),o=await U(a,{address:e.address,blockTag:"latest"});return o==="0x"&&p.delete(e),o})();return p.set(e,t),t}export{q as a,M as d,U as e,H as g,z as i,F as p};
2
- //# sourceMappingURL=get-bytecode-BpKcUepk.js.map
1
+ import{C as E,I as v,J as L,K as _,L as T,M as D,N,d as C,O as x,P as O,Q as b,E as k,x as B,R as S,c as j}from"./prepare-contract-call-Dlduechp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3896b7d3-beff-474a-bba8-5fe1a07ce0fb",e._sentryDebugIdIdentifier="sentry-dbid-3896b7d3-beff-474a-bba8-5fe1a07ce0fb")}catch{}})();function z(e,t){if(!E(e,{strict:!1}))throw new v({address:e});if(!E(t,{strict:!1}))throw new v({address:t});return e.toLowerCase()===t.toLowerCase()}const I="/docs/contract/decodeEventLog";function M(e){const{abi:t,data:a,strict:o,topics:l}=e,i=o??!0,[r,...c]=l;if(!r)throw new L({docsPath:I});const s=t.find(n=>n.type==="event"&&r===_(T(n)));if(!(s&&"name"in s)||s.type!=="event")throw new D(r,{docsPath:I});const{name:f,inputs:u}=s,y=u==null?void 0:u.some(n=>!("name"in n&&n.name)),g=y?[]:{},h=u.map((n,d)=>[n,d]).filter(([n])=>"indexed"in n&&n.indexed);for(let n=0;n<h.length;n++){const[d,A]=h[n],w=c[n];if(!w)throw new N({abiItem:s,param:d});g[y?A:d.name||A]=P({param:d,value:w})}const m=u.filter(n=>!("indexed"in n&&n.indexed));if(m.length>0){if(a&&a!=="0x")try{const n=C(m,a);if(n)if(y)for(let d=0;d<u.length;d++)g[d]=g[d]??n.shift();else for(let d=0;d<m.length;d++)g[m[d].name]=n[d]}catch(n){if(i)throw n instanceof x||n instanceof O?new b({abiItem:s,data:a,params:m,size:k(a)}):n}else if(i)throw new b({abiItem:s,data:"0x",params:m,size:0})}return{eventName:f,args:Object.values(g).length>0?g:void 0}}function P({param:e,value:t}){return e.type==="string"||e.type==="bytes"||e.type==="tuple"||e.type.match(/^(.*)\[(\d+)?\]$/)?t:(C([e],t)||[])[0]}function q(e){const{abi:t,args:a,logs:o,strict:l=!0}=e,i=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return o.map(r=>{var c;try{const s=t.find(u=>u.type==="event"&&r.topics[0]===_(u));if(!s)return null;const f=M({...r,abi:[s],strict:l});return i&&!i.includes(f.eventName)||!R({args:f.args,inputs:s.inputs,matchArgs:a})?null:{...f,...r}}catch(s){let f,u;if(s instanceof D)return null;if(s instanceof b||s instanceof N){if(l)return null;f=s.abiItem.name,u=(c=s.abiItem.inputs)==null?void 0:c.some(y=>!("name"in y&&y.name))}return{...r,args:u?[]:{},eventName:f}}}).filter(Boolean)}function R(e){const{args:t,inputs:a,matchArgs:o}=e;if(!o)return!0;if(!t)return!1;function l(i,r,c){try{return i.type==="address"?z(r,c):i.type==="string"||i.type==="bytes"?B(S(r))===c:r===c}catch{return!1}}return Array.isArray(t)&&Array.isArray(o)?o.every((i,r)=>{if(i==null)return!0;const c=a[r];return c?(Array.isArray(i)?i:[i]).some(f=>l(c,f,t[r])):!1}):typeof t=="object"&&!Array.isArray(t)&&typeof o=="object"&&!Array.isArray(o)?Object.entries(o).every(([i,r])=>{if(r==null)return!0;const c=a.find(f=>f.name===i);return c?(Array.isArray(r)?r:[r]).some(f=>l(c,f,t[i])):!1}):!1}async function U(e,t){return e({method:"eth_getCode",params:[t.address,t.blockTag||"latest"]})}function F(e){const{logs:t,events:a,strict:o}=e;return q({abi:a.map(l=>l.abiEvent),logs:t,strict:o})}const p=new WeakMap;function H(e){if(p.has(e))return p.get(e);const t=(async()=>{const a=j(e),o=await U(a,{address:e.address,blockTag:"latest"});return o==="0x"&&p.delete(e),o})();return p.set(e,t),t}export{q as a,M as d,U as e,H as g,z as i,F as p};
2
+ //# sourceMappingURL=get-bytecode-DloHBZ_d.js.map
@@ -0,0 +1,2 @@
1
+ import{g as l}from"./execute-D4CHBva9.js";import"./prepare-contract-call-Dlduechp.js";import"./utils-BBBdI_ZH.js";import"./sentry-CNTYv-PS.js";import"./react-CZuwb7m7.js";import"./index-B1ROf6Hr.js";import"./dcl-schemas-DORfUy0V.js";import"./ethers-WieUx6J3.js";import"./intl-AKLEHPeO.js";import"./detectExtension-Dl-3hY5D.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="575715aa-d449-4208-a744-02bad436eb12",n._sentryDebugIdIdentifier="sentry-dbid-575715aa-d449-4208-a744-02bad436eb12")}catch{}})();async function g(n){const e=await l(n);return{app:{android:null,browser:null,chrome:null,edge:null,firefox:null,ios:null,linux:null,mac:null,opera:null,safari:null,windows:null},desktop:{native:null,universal:null},homepage:e.homepage||"",id:n,image_id:e.imageUrl||"",mobile:{native:null,universal:null},name:e.name,rdns:null}}export{g as getEcosystemWalletInfo};
2
+ //# sourceMappingURL=get-ecosystem-wallet-info-BqrchKIy.js.map