@dcl/shop 1.10.0 → 1.10.1

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 (227) hide show
  1. package/_assets/{Activity-BICiX_hy.js → Activity-sYTAvfnp.js} +6 -6
  2. package/_assets/{AnimatedBackground-C-wwvO2r.js → AnimatedBackground-CKjW4vYY.js} +3 -3
  3. package/_assets/{Assets-BsdvrTNx.js → Assets-C2OZaacH.js} +3 -3
  4. package/_assets/{Authorizations-D2flTp4x.js → Authorizations-D3I8R8l-.js} +2 -2
  5. package/_assets/{Cart-C3DizVtU.js → Cart-Dd__h3ZW.js} +2 -2
  6. package/_assets/{Collection-BKSgVKJb.js → Collection-VmwPgiKW.js} +2 -2
  7. package/_assets/{CollectionCarousel-Cd2cxTqr.js → CollectionCarousel-D-6IGcNf.js} +3 -3
  8. package/_assets/{Confetti-qRAe3sEm.js → Confetti-VUkdDyEI.js} +4 -4
  9. package/_assets/{ConstantsUtil-CSNaVzH3.js → ConstantsUtil-De72a0_7.js} +2 -2
  10. package/_assets/{ContentClient-IvOavf-H.js → ContentClient-Dw5xMMU7.js} +2 -2
  11. package/_assets/{Creator-B39voF2X.js → Creator-DgsxlzIN.js} +2 -2
  12. package/_assets/{DeploymentBuilder-RK2SVoAz.js → DeploymentBuilder-Dgljr4BY.js} +2 -2
  13. package/_assets/{EmotePlaybackBar-DBorKQ-7.js → EmotePlaybackBar-Bu8aGycE.js} +3 -3
  14. package/_assets/{ErrorNotice-5pa_F5sz.js → ErrorNotice-Dz--zyW0.js} +2 -2
  15. package/_assets/{ExchangeController-Dz_UYYR2.js → ExchangeController-C7J-B8rd.js} +2 -2
  16. package/_assets/{Faq-CNnBIEfE.js → Faq-BDIc5eQF.js} +2 -2
  17. package/_assets/{GetCredits-zQOMVKAQ.js → GetCredits-B8U79i26.js} +2 -2
  18. package/_assets/{Grow-Cp6MOXYH.js → Grow-C_1n6x3_.js} +2 -2
  19. package/_assets/{HelpersUtil-BEwPK78z.js → HelpersUtil-CnDZcTQ9.js} +2 -2
  20. package/_assets/{ItemDetail-CUt75T50.js → ItemDetail-CrDU0tZN.js} +2 -2
  21. package/_assets/{LoadMore-CTFjioUv.js → LoadMore-9WSbZ_q9.js} +2 -2
  22. package/_assets/{ManaPricingBanner.styles-BTa9K2RR.js → ManaPricingBanner.styles-DsPQG5XW.js} +2 -2
  23. package/_assets/{MyAssets-DFovNm57.js → MyAssets-DI7ScSLP.js} +2 -2
  24. package/_assets/{MyFavorites-Cqm7xauU.js → MyFavorites-BWzbSRSx.js} +2 -2
  25. package/_assets/{NetworkUtil-BclgfaOh.js → NetworkUtil-DMDTqqRR.js} +2 -2
  26. package/_assets/{NotFound-DAmVzYXY.js → NotFound-Bbp6NfBp.js} +2 -2
  27. package/_assets/{NotificationsBell-BVRv35rb.js → NotificationsBell-BT4L2P9D.js} +2 -2
  28. package/_assets/{OutfitDetail-BGiWMRR7.js → OutfitDetail-DvH4nEsl.js} +2 -2
  29. package/_assets/{OutfitPreview-CFubFMxC.js → OutfitPreview-B65gZoPB.js} +2 -2
  30. package/_assets/{OutfitStudio-dqbYm6LX.js → OutfitStudio-YlglasDx.js} +2 -2
  31. package/_assets/{StoreSettings-9grVc6lN.js → StoreSettings-CIuiu9OI.js} +2 -2
  32. package/_assets/{Success-HKNsnB1Y.js → Success-CxhEu-7S.js} +2 -2
  33. package/_assets/{SwapController-BsLXz2qh.js → SwapController-DK9lfsBD.js} +2 -2
  34. package/_assets/{TradeService-dcBKxJ12.js → TradeService-D22j0-9F.js} +2 -2
  35. package/_assets/{W3MFrameProviderSingleton-Coji1m5x.js → W3MFrameProviderSingleton-CESQTQqF.js} +4 -4
  36. package/_assets/{WebCryptoP256-BsPX1fES.js → WebCryptoP256-BLxuWQFm.js} +2 -2
  37. package/_assets/{authorizations-BnWB-XGW.js → authorizations-DFBrUXOS.js} +2 -2
  38. package/_assets/{basic-CnVxFbpY.js → basic-fYfTYC_d.js} +2 -2
  39. package/_assets/{biconomy-h5mxqFn0.js → biconomy-BIt5-5mE.js} +2 -2
  40. package/_assets/{browseLayout.styles-CfRRd5jq.js → browseLayout.styles-Bc-hk1bi.js} +2 -2
  41. package/_assets/{browser-CRuQIWFp.js → browser-D-rgIuh4.js} +2 -2
  42. package/_assets/{browser-ponyfill-DuOHNKSs.js → browser-ponyfill-BcpqOoPZ.js} +2 -2
  43. package/_assets/{builder-Dx8iDFgg.js → builder-DhbmrqGU.js} +2 -2
  44. package/_assets/{buy-Cnme_X5d.js → buy-CnHi7Iym.js} +2 -2
  45. package/_assets/{buy-gasless-DhSQJMNQ.js → buy-gasless-DHhei4fH.js} +2 -2
  46. package/_assets/{categories-Dk_NiD5O.js → categories-DVcKGwG_.js} +2 -2
  47. package/_assets/{ccip-x67JK5_7.js → ccip-D2QhBII5.js} +2 -2
  48. package/_assets/{ccip-DvzlGkST.js → ccip-DVOLH90X.js} +2 -2
  49. package/_assets/{chains-Bamqxcmr.js → chains-BOsD_otP.js} +2 -2
  50. package/_assets/collectionPage.styles-BXaO8TjT.js +40 -0
  51. package/_assets/{common-D1XANjz0.js → common-XWhiQMBZ.js} +2 -2
  52. package/_assets/{controller-DTk6Havj.js → controller-Cuj0FpQk.js} +3 -3
  53. package/_assets/{core-B19c2rnF.js → core-DkDb2Mfj.js} +5 -5
  54. package/_assets/{createSvgIcon-CT3Gwjcy.js → createSvgIcon-BQ9lxpFw.js} +2 -2
  55. package/_assets/{custom-fmgA8lkC.js → custom-C292lMjR.js} +2 -2
  56. package/_assets/{data-capture-DDe22HY7.js → data-capture-Cy4pUTqT.js} +2 -2
  57. package/_assets/{dcl-schemas-CfMjyfZx.js → dcl-schemas-B-WFxXOZ.js} +2 -2
  58. package/_assets/{decimals-DwpYjDat.js → decimals-BV1E2kFL.js} +2 -2
  59. package/_assets/{decimals-kDkfNEul.js → decimals-DCiHcGcZ.js} +2 -2
  60. package/_assets/{detectExtension-DDD8D4gU.js → detectExtension-Dc9AAVXw.js} +2 -2
  61. package/_assets/{disposePreview-xjGjtRoP.js → disposePreview-MU4_1jLO.js} +2 -2
  62. package/_assets/{email-CxWcNkcR.js → email-CgMO12XY.js} +2 -2
  63. package/_assets/{embedded-wallet-Bq17gZ2o.js → embedded-wallet-C3jLKCzb.js} +2 -2
  64. package/_assets/{emotion-styled.browser.esm-D4jxZZdu.js → emotion-styled.browser.esm-AmbZRQDT.js} +2 -2
  65. package/_assets/{engine-CstRCS0P.js → engine-DV4TQcJS.js} +2 -2
  66. package/_assets/{errors-C2O8i7S8.js → errors-C5MB6AYb.js} +2 -2
  67. package/_assets/{estimate-l1-fee-D6wU0bu9.js → estimate-l1-fee-BETuaNxP.js} +2 -2
  68. package/_assets/{eth_estimateGas-Bwq_fGM7.js → eth_estimateGas-DJeu0SCF.js} +2 -2
  69. package/_assets/{eth_getStorageAt-CSG0CFbd.js → eth_getStorageAt-Cs1VTqTk.js} +2 -2
  70. package/_assets/{eth_getTransactionCount-CRyqNDQC.js → eth_getTransactionCount-kfQJQwHZ.js} +2 -2
  71. package/_assets/{ethereum-BrsO-PtF.js → ethereum-uXvYhQ1U.js} +2 -2
  72. package/_assets/{ethers-Dv96XuWO.js → ethers-BJ46oYk8.js} +2 -2
  73. package/_assets/{events-BI-hNCIc.js → events-TC-OlUEN.js} +2 -2
  74. package/_assets/{execute-DBY_k70_.js → execute-BKnIkwKP.js} +3 -3
  75. package/_assets/{extractIPFS-BKCaGHg0.js → extractIPFS-5zCrambD.js} +2 -2
  76. package/_assets/{features-B-lWKxpl.js → features-D6_H5Eg-.js} +2 -2
  77. package/_assets/{fetchTokenMetadata-4TPAW-0J.js → fetchTokenMetadata-Dv3t7lWt.js} +3 -3
  78. package/_assets/{field.styles-DkP4EUDp.js → field.styles-CvPi7xT7.js} +2 -2
  79. package/_assets/{fortmatic-Byi5UiOW.js → fortmatic-vFLXReLi.js} +2 -2
  80. package/_assets/{get-bytecode-Cu090exg.js → get-bytecode-CNSsYU7v.js} +2 -2
  81. package/_assets/{get-ecosystem-wallet-info-BtF8AVTy.js → get-ecosystem-wallet-info-DNg7unD2.js} +2 -2
  82. package/_assets/{getBalance-CLerx9db.js → getBalance-B7xeoxhf.js} +3 -3
  83. package/_assets/{getInstalledModules-JS9WynYq.js → getInstalledModules-CCoMH5Lj.js} +2 -2
  84. package/_assets/{getNFT-DDa0Gtz6.js → getNFT-B9pHp8Uz.js} +2 -2
  85. package/_assets/{getNFT-FIIFTAk5.js → getNFT-BHGGFy7Q.js} +3 -3
  86. package/_assets/{grid.styles--7kuSBOW.js → grid.styles-C26EVK27.js} +2 -2
  87. package/_assets/{hashTypedData-CxsyK_ey.js → hashTypedData-lRLTmg0n.js} +2 -2
  88. package/_assets/{hashTypedData-BAid2zcm.js → hashTypedData-nAbGWpsl.js} +2 -2
  89. package/_assets/{in-app-Bdlyj-VE.js → in-app-B9y5kJyR.js} +2 -2
  90. package/_assets/{in-app-wallet-calls-CbJr8ixd.js → in-app-wallet-calls-C716-BWM.js} +2 -2
  91. package/_assets/{index-DEMKJ56b.js → index-6KahUnUn.js} +2 -2
  92. package/_assets/{index-C7kKm9Pu.js → index-B4b9QcWr.js} +2 -2
  93. package/_assets/{index-BA0ecyfk.js → index-BEOx-MkQ.js} +2 -2
  94. package/_assets/{index-DRCOJh6s.js → index-BH79ktLP.js} +2 -2
  95. package/_assets/{index-DIxEiVFV.js → index-BHdEDlzJ.js} +2 -2
  96. package/_assets/{index-BYc2EMXr.js → index-BQDksEkr.js} +2 -2
  97. package/_assets/{index-De_zfcOO.js → index-BQHirLzH.js} +4 -4
  98. package/_assets/{index-DTaaHeVQ.js → index-BTQvqbCD.js} +2 -2
  99. package/_assets/{index-X2m4MLDN.js → index-BUhtMj3g.js} +3 -3
  100. package/_assets/{index-B8DDvD5C.js → index-BYlPLyvC.js} +2 -2
  101. package/_assets/{index-N7hPewar.js → index-B_3VWPzU.js} +2 -2
  102. package/_assets/{index-RC5VhbLR.js → index-BbyQswd9.js} +2 -2
  103. package/_assets/{index-DGWb-703.js → index-BgKNEsQM.js} +2 -2
  104. package/_assets/{index-66a3-eV4.js → index-BkrcYvM1.js} +2 -2
  105. package/_assets/{index-BU7bOvUQ.js → index-BrSvdzgK.js} +2 -2
  106. package/_assets/{index-Bhox8ufA.js → index-Bvfny1b1.js} +2 -2
  107. package/_assets/{index-D0ZGbOcV.js → index-C0ujtDM4.js} +2 -2
  108. package/_assets/{index-DipEvVT9.js → index-C1eSVPh4.js} +2 -2
  109. package/_assets/{index-BzKehLq1.js → index-C8U-_ocQ.js} +2 -2
  110. package/_assets/{index--IK1Sft8.js → index-CBxpfVHL.js} +2 -2
  111. package/_assets/{index-D8aZQi2T.js → index-CC2q8Own.js} +2 -2
  112. package/_assets/{index-DTPYPqJU.js → index-CGFciMjS.js} +3 -3
  113. package/_assets/{index-DhQbUPpF.js → index-CHj8Jay2.js} +2 -2
  114. package/_assets/{index-BjWQloYQ.js → index-CJV1rvrt.js} +2 -2
  115. package/_assets/{index-C-_gSOF6.js → index-CMjakdHj.js} +3 -3
  116. package/_assets/{index-sPgW1Gyb.js → index-COcnomhy.js} +2 -2
  117. package/_assets/{index-C4q1d-Fd.js → index-CQxq8vBQ.js} +2 -2
  118. package/_assets/{index-C7Y7jomx.js → index-CRKkmqcY.js} +2 -2
  119. package/_assets/{index-qzzwKbJI.js → index-CTuqkErq.js} +2 -2
  120. package/_assets/{index-DUzStg09.js → index-CUcmsm9q.js} +2 -2
  121. package/_assets/{index-Dl4hrRT2.js → index-CUn1_Jx_.js} +13 -13
  122. package/_assets/{index-5T7h8H5X.js → index-CX3nsPjs.js} +2 -2
  123. package/_assets/{index-C6CdXJkm.js → index-CZ7LuSob.js} +2 -2
  124. package/_assets/{index-y8riFEF7.js → index-CcvxyAkd.js} +2 -2
  125. package/_assets/{index-Cj153qSg.js → index-CnXW5rWU.js} +4 -4
  126. package/_assets/{index-CoF-9wxy.js → index-Cntf9ZDS.js} +2 -2
  127. package/_assets/{index-CXukCjj1.js → index-Cpb9-IOd.js} +2 -2
  128. package/_assets/{index-CMnmh3jz.js → index-Cu_2CevS.js} +2 -2
  129. package/_assets/{index-CQP1mPeG.js → index-Cx9L-LFW.js} +2 -2
  130. package/_assets/{index-B1OQapSe.js → index-D4Hsr0PA.js} +2 -2
  131. package/_assets/{index-DpYNYuLQ.js → index-D5k9KHxl.js} +2 -2
  132. package/_assets/{index-CV5pItZG.js → index-D7HaNPcS.js} +2 -2
  133. package/_assets/{index-BMnKJ7um.js → index-DD4626BH.js} +2 -2
  134. package/_assets/{index-ChJw9kFE.js → index-DHDgM3HR.js} +2 -2
  135. package/_assets/{index-JahQM-0d.js → index-DQxLb4VX.js} +2 -2
  136. package/_assets/{index-Dy2SxTsa.js → index-DVW70KlG.js} +2 -2
  137. package/_assets/{index-BAFd5X5s.js → index-DXfxffdW.js} +2 -2
  138. package/_assets/{index-DpKuFVdi.js → index-DZF2Mqmj.js} +2 -2
  139. package/_assets/{index-CJxYNhjz.js → index-DcGUq2q8.js} +2 -2
  140. package/_assets/{index-DT71XGP-.js → index-DfSh-hk8.js} +2 -2
  141. package/_assets/{index-N3qNnxTo.js → index-Dgb7bK23.js} +2 -2
  142. package/_assets/{index-CHHUeGtc.js → index-DkbueSpv.js} +3 -3
  143. package/_assets/{index-WyhU4TBa.js → index-Dlcd7g3E.js} +2 -2
  144. package/_assets/{index-CtAQFnxk.js → index-Dr5PslPg.js} +2 -2
  145. package/_assets/{index-BO3CZL7c.js → index-DsiBINCC.js} +2 -2
  146. package/_assets/{index-Dn8xuNDB.js → index-Du1ffPDP.js} +2 -2
  147. package/_assets/{index-DGyZchp-.js → index-DxGC0jjd.js} +2 -2
  148. package/_assets/{index-hwQ3WWoP.js → index-DxQVs5qk.js} +2 -2
  149. package/_assets/{index-C94H9_tC.js → index-Ud-5kGUt.js} +2 -2
  150. package/_assets/{index-BSaDYTxt.js → index-WP1SnqN8.js} +2 -2
  151. package/_assets/{index-OvuTK60o.js → index-WsHUh7DI.js} +2 -2
  152. package/_assets/{index-C6o6IpUT.js → index-d5wxrhAy.js} +2 -2
  153. package/_assets/{index-DgXBPAm_.js → index-fVZPvJm4.js} +2 -2
  154. package/_assets/{index-DYooaWId.js → index-feacctl2.js} +2 -2
  155. package/_assets/{index-ClzkdB8z.js → index-jJhmkgZI.js} +2 -2
  156. package/_assets/{index-DjkvHGdg.js → index-lCvkbdl9.js} +4 -4
  157. package/_assets/{index-BIdoUXuM.js → index-mc6ExTro.js} +2 -2
  158. package/_assets/{index.es-Bas2yfUy.js → index.es-Bh3Cz7Uz.js} +2 -2
  159. package/_assets/{index.es-DAQ2POad.js → index.es-Bj7P4x_P.js} +5 -5
  160. package/_assets/{index.es-5ighfc2K.js → index.es-Cj6yjCSo.js} +2 -2
  161. package/_assets/{index.es-BN_feL1z.js → index.es-D6pEehq0.js} +2 -2
  162. package/_assets/{items-empty-D3FNNYeD.js → items-empty-CrDR1I8-.js} +2 -2
  163. package/_assets/{jump-Dr035GHt.js → jump-cMU7i7Yp.js} +2 -2
  164. package/_assets/{linkAccount-DDcAG0nl.js → linkAccount-vh55n5MO.js} +2 -2
  165. package/_assets/{localBatchGatewayRequest-C6osHWxc.js → localBatchGatewayRequest-D4hFYJZz.js} +2 -2
  166. package/_assets/{native-C52Z8TfX.js → native-CFNaphPE.js} +2 -2
  167. package/_assets/{networks-CkG0QClb.js → networks-CxV8-SX3.js} +2 -2
  168. package/_assets/{onramp-DIygeWPQ.js → onramp-4DIcOAI7.js} +2 -2
  169. package/_assets/{openzeppelin-gox-REHN.js → openzeppelin-B_XsaDrr.js} +2 -2
  170. package/_assets/{ownerOf-DGnXfk0_.js → ownerOf-f0kUifsZ.js} +2 -2
  171. package/_assets/{parseNft-BcJ4-C71.js → parseNft-A7Bfi1I_.js} +3 -3
  172. package/_assets/{parseSignature-nraJiLlg.js → parseSignature-B671IJ9t.js} +2 -2
  173. package/_assets/{parseSignature-gm5DxN9A.js → parseSignature-B8wLewQB.js} +4 -4
  174. package/_assets/{passkeys-C5HPgqf5.js → passkeys-niNiWiM7.js} +2 -2
  175. package/_assets/{pay-with-exchange-Ba7yTfPB.js → pay-with-exchange-Cg70bQZa.js} +2 -2
  176. package/_assets/{prepare-contract-call-BIfjyTYu.js → prepare-contract-call-D-8DArpz.js} +2 -2
  177. package/_assets/{qr-overlay-CxWKfrGr.js → qr-overlay-DMFlset5.js} +4 -4
  178. package/_assets/{react-D7nfuWd6.js → react-BAO_TUIJ.js} +2 -2
  179. package/_assets/{receive-CNs-u97l.js → receive-CTtpMoco.js} +2 -2
  180. package/_assets/{resolveImplementation-_7q3dOKp.js → resolveImplementation-DF5drpuE.js} +2 -2
  181. package/_assets/{resume-buy-BQxam5dL.js → resume-buy-DJYhgVd-.js} +2 -2
  182. package/_assets/{rpc-WOvA0Ped.js → rpc-B3U1udLU.js} +2 -2
  183. package/_assets/{sales-empty-CCTVsons.js → sales-empty-Bt-vq6r8.js} +2 -2
  184. package/_assets/{search-empty-B4_pLY-K.js → search-empty-CsDzgGQD.js} +2 -2
  185. package/_assets/{secp256k1-NiwVfMiW.js → secp256k1-BmdgJuRA.js} +2 -2
  186. package/_assets/{secp256k1-nmicBOFq.js → secp256k1-DCHmI0Wk.js} +2 -2
  187. package/_assets/{secp256k1-DTLAfMHI.js → secp256k1-DR9Rp0tc.js} +2 -2
  188. package/_assets/{send-DMVF8o0c.js → send-C8vls9oA.js} +2 -2
  189. package/_assets/{send-batch-transaction-DSUMPrdj.js → send-batch-transaction-LHa5_TPd.js} +2 -2
  190. package/_assets/{send-eip712-transaction-IUeUwhLU.js → send-eip712-transaction-ZlSenyFv.js} +3 -3
  191. package/_assets/{send-gasless-transaction-DPOrkR-S.js → send-gasless-transaction-B9Wd9Wbb.js} +3 -3
  192. package/_assets/{send-transaction-cYAHoDgz.js → send-transaction-B4hngXws.js} +3 -3
  193. package/_assets/{sendMetaTransaction-DmChWu2Q.js → sendMetaTransaction-BeF2aB_y.js} +2 -2
  194. package/_assets/{sendRawTransaction-Cnquj3L1.js → sendRawTransaction-DTeS6t1F.js} +4 -4
  195. package/_assets/{sentry-CoTjVJfh.js → sentry-BoIhDhui.js} +3 -3
  196. package/_assets/{serializeTransaction-Bp_Y4Oqz.js → serializeTransaction-BB-N5Krg.js} +2 -2
  197. package/_assets/{session-proposal-COdN5hib.js → session-proposal-DWbXgpDt.js} +2 -2
  198. package/_assets/{session-request-bFy7aBRa.js → session-request-y8lLoUu6.js} +3 -3
  199. package/_assets/{sha256-XcxD-HDJ.js → sha256-DXK6LXQg.js} +2 -2
  200. package/_assets/{signing-CcTSfbp4.js → signing-CuWWYUCP.js} +4 -4
  201. package/_assets/{skeleton.styles-DBZfxDFe.js → skeleton.styles-CGVEZY-7.js} +2 -2
  202. package/_assets/{socials-CSee1341.js → socials-Da7e8hFc.js} +2 -2
  203. package/_assets/{styled-EO0aCK0k.js → styled-NtEkqz45.js} +2 -2
  204. package/_assets/{swaps-y_VHcKeY.js → swaps-UA1juyFG.js} +2 -2
  205. package/_assets/{thirdweb-CL9aFDQn.js → thirdweb-BjQz496b.js} +4 -4
  206. package/_assets/{to-serializable-transaction-68n-Uy9K.js → to-serializable-transaction-BlrbTyPZ.js} +3 -3
  207. package/_assets/{totalSupply-BWWtuqmY.js → totalSupply-BqYWR5LO.js} +2 -2
  208. package/_assets/{transaction-xKWAbiZz.js → transaction-rcvNLU7z.js} +2 -2
  209. package/_assets/{transactionReceipt-VPc5kVRc.js → transactionReceipt-lqPbaLrZ.js} +2 -2
  210. package/_assets/{transactions-CQO9InHD.js → transactions-DuOhcbb6.js} +2 -2
  211. package/_assets/{useCreditPacks-CAXhYC8D.js → useCreditPacks-CcW707qX.js} +2 -2
  212. package/_assets/{useInfiniteGrid-B88HDzOV.js → useInfiniteGrid-O5Wvm7pV.js} +2 -2
  213. package/_assets/{useStore-EuJEkDB4.js → useStore-B3fQdYA0.js} +3 -3
  214. package/_assets/{useTheme-Df-Vsg8U.js → useTheme-eJgWxV4j.js} +2 -2
  215. package/_assets/{utils-esa8OSIj.js → utils-TQPakHe1.js} +2 -2
  216. package/_assets/{verifyHash-PbJswfF6.js → verifyHash-D95QvQtB.js} +2 -2
  217. package/_assets/{w3m-modal-Ctr3krI_.js → w3m-modal-BRMAeRQM.js} +2 -2
  218. package/_assets/{w3m-modal-X3ZNcEkC.js → w3m-modal-Se3-B1HF.js} +2 -2
  219. package/_assets/{wait-for-tx-receipt-CrqjqK2x.js → wait-for-tx-receipt-11ct1VLo.js} +2 -2
  220. package/_assets/{wallets-ChmX60CP.js → wallets-B0tPgzoA.js} +6 -6
  221. package/_assets/{web-connector-Bk-wpPaT.js → web-connector-Btytr_xK.js} +4 -4
  222. package/_assets/{writeContract-DP5yj6TY.js → writeContract-cdPhiEo2.js} +2 -2
  223. package/_assets/{zora-sepolia-CZVN75mJ.js → zora-sepolia-BoGr_anx.js} +2 -2
  224. package/_assets/{zoraTestnet-C0i-JsRg.js → zoraTestnet-Cuxc7Xr4.js} +2 -2
  225. package/index.html +11 -11
  226. package/package.json +2 -2
  227. package/_assets/collectionPage.styles-C8SZeNNm.js +0 -40
@@ -1,2 +1,2 @@
1
- import"./react-D7nfuWd6.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-BI-hNCIc.js.map
1
+ import"./react-BAO_TUIJ.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-TC-OlUEN.js.map
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-De_zfcOO.js","_assets/index-Dl4hrRT2.js","_assets/react-D7nfuWd6.js","_assets/dcl-schemas-CfMjyfZx.js","_assets/sentry-CoTjVJfh.js","_assets/ethers-Dv96XuWO.js","_assets/intl-AKLEHPeO.js","_assets/index-CKGO8NWe.css","_assets/ethereum-BrsO-PtF.js","_assets/utils-esa8OSIj.js","_assets/types-BeDU9GfL.js","_assets/get-bytecode-Cu090exg.js","_assets/prepare-contract-call-BIfjyTYu.js","_assets/to-serializable-transaction-68n-Uy9K.js","_assets/transaction-xKWAbiZz.js","_assets/web-connector-Bk-wpPaT.js","_assets/linkAccount-DDcAG0nl.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/sleep-fBr8OToA.js","_assets/detectExtension-DDD8D4gU.js"])))=>i.map(i=>d[i]);
2
- import{u as x,o as F,s as M,a5 as $}from"./prepare-contract-call-BIfjyTYu.js";import{_ as E}from"./index-Dl4hrRT2.js";import{w as V,c as H,h as K,a as j}from"./utils-esa8OSIj.js";import{d as B}from"./detectExtension-DDD8D4gU.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]="6b180b6e-ec41-4e83-8619-9fe9dffcd0f1",e._sentryDebugIdIdentifier="sentry-dbid-6b180b6e-ec41-4e83-8619-9fe9dffcd0f1")}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,f=(s==null?void 0:s.chain)??(y?j(y):void 0);if(!f)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:f,factoryAddress:u.accountFactoryAddress,sponsorGas:u.sponsorGas}}}}};return{autoConnect:async s=>{const{autoConnectInAppWallet:r}=await E(async()=>{const{autoConnectInAppWallet:d}=await import("./index-De_zfcOO.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:f}=await r(s,o,u);w=s.client,l=I,p=f,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-De_zfcOO.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:f}=await r(s,o,u);w=s.client,l=I,p=f,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-De_zfcOO.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:f,adminAccount:d}=await u({chain:s,client:w},o,I);p=d,l=y,i=f}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-Bk-wpPaT.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 m(e,t){return g(e,async n=>{const{InAppWebConnector:a}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-Bk-wpPaT.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 m(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 m(e.client,e.ecosystem)).preAuthenticate(e)}async function he(e){return(await m(e.client,e.ecosystem)).authenticate(e)}async function ye(e){const t=await m(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 fe(e){const t=await m(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 me(e){return await(await m(e.client,e.ecosystem)).linkProfile(e)}async function we(e){return await(await m(e.client,e.ecosystem)).unlinkProfile(e.profileToUnlink,e.allowAccountDeletion)}async function Ae(e){return(await m(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,fe as h,ie as i,Y as j,q as k,me 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-DBY_k70_.js.map
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-BQHirLzH.js","_assets/index-CUn1_Jx_.js","_assets/react-BAO_TUIJ.js","_assets/dcl-schemas-B-WFxXOZ.js","_assets/sentry-BoIhDhui.js","_assets/ethers-BJ46oYk8.js","_assets/intl-AKLEHPeO.js","_assets/index-CKGO8NWe.css","_assets/ethereum-uXvYhQ1U.js","_assets/utils-TQPakHe1.js","_assets/types-BeDU9GfL.js","_assets/get-bytecode-CNSsYU7v.js","_assets/prepare-contract-call-D-8DArpz.js","_assets/to-serializable-transaction-BlrbTyPZ.js","_assets/transaction-rcvNLU7z.js","_assets/web-connector-Btytr_xK.js","_assets/linkAccount-vh55n5MO.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/sleep-fBr8OToA.js","_assets/detectExtension-Dc9AAVXw.js"])))=>i.map(i=>d[i]);
2
+ import{u as x,o as F,s as M,a5 as $}from"./prepare-contract-call-D-8DArpz.js";import{_ as E}from"./index-CUn1_Jx_.js";import{w as V,c as H,h as K,a as j}from"./utils-TQPakHe1.js";import{d as B}from"./detectExtension-Dc9AAVXw.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]="6b180b6e-ec41-4e83-8619-9fe9dffcd0f1",e._sentryDebugIdIdentifier="sentry-dbid-6b180b6e-ec41-4e83-8619-9fe9dffcd0f1")}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,f=(s==null?void 0:s.chain)??(y?j(y):void 0);if(!f)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:f,factoryAddress:u.accountFactoryAddress,sponsorGas:u.sponsorGas}}}}};return{autoConnect:async s=>{const{autoConnectInAppWallet:r}=await E(async()=>{const{autoConnectInAppWallet:d}=await import("./index-BQHirLzH.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:f}=await r(s,o,u);w=s.client,l=I,p=f,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-BQHirLzH.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:f}=await r(s,o,u);w=s.client,l=I,p=f,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-BQHirLzH.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:f,adminAccount:d}=await u({chain:s,client:w},o,I);p=d,l=y,i=f}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-Btytr_xK.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 m(e,t){return g(e,async n=>{const{InAppWebConnector:a}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-Btytr_xK.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 m(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 m(e.client,e.ecosystem)).preAuthenticate(e)}async function he(e){return(await m(e.client,e.ecosystem)).authenticate(e)}async function ye(e){const t=await m(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 fe(e){const t=await m(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 me(e){return await(await m(e.client,e.ecosystem)).linkProfile(e)}async function we(e){return await(await m(e.client,e.ecosystem)).unlinkProfile(e.profileToUnlink,e.allowAccountDeletion)}async function Ae(e){return(await m(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,fe as h,ie as i,Y as j,q as k,me 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-BKnIkwKP.js.map
@@ -1,2 +1,2 @@
1
- import{f as N,H as T}from"./prepare-contract-call-BIfjyTYu.js";import"./utils-esa8OSIj.js";import"./sentry-CoTjVJfh.js";import"./react-D7nfuWd6.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="b41a6574-02c2-40c7-a170-32d4b709f881",t._sentryDebugIdIdentifier="sentry-dbid-b41a6574-02c2-40c7-a170-32d4b709f881")}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 e=0,i=0,n=0;const s=t.length;for(;n!==s&&t[n]===0;)n++,e++;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(e);for(;l<f;++l)u+=C.charAt(a[l]||0);return u}let o,E,r=0,D={},w,P;const k=0;let _=0,m,j,z;const O={mapsAsObjects:!0,useRecords:!1};function F(t){let e;if(t<16&&(e=$(t)))return e;if(t>64&&decoder)return decoder.decode(o.subarray(r,r+=t));const i=r+t,n=[];for(e="";r<i;){const s=o[r++];if((s&128)===0)n.push(s);else if((s&224)===192){const f=o[r++]&63;n.push((s&31)<<6|f)}else if((s&240)===224){const f=o[r++]&63,a=o[r++]&63;n.push((s&31)<<12|f<<6|a)}else if((s&248)===240){const f=o[r++]&63,a=o[r++]&63,l=o[r++]&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&&(e+=d.apply(String,n),n.length=0)}return n.length>0&&(e+=d.apply(String,n)),e}class I{constructor(){Object.assign(this,O)}decodeKey(e){return e}decode(e,i=-1){E=i>-1?i:e.length,r=0,_=0,P=null,m=null,o=e;try{z=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(n){throw o=null,e instanceof Uint8Array?n:new Error(`Source must be a Uint8Array or Buffer but was a ${e&&typeof e=="object"?e.constructor.name:typeof e}`)}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(r>=m.postBundlePosition){const e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}r=m.postBundlePosition,m=null}if(r===E)w=null,o=null,j&&(j=null);else if(r>E){const e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}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[r++];const e=t>>5;if(t=t&31,t>23)switch(t){case 24:t=o[r++];break;default:throw new Error(`Unknown token ${t}`)}switch(e){case 0:return t;case 1:return~t;case 2:return W(t);case 3:if(_>=r)return P.slice(r-k,(r+=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 e=r,i=new Array(t);for(let n=0;n<t;n++){const s=o[r++];if((s&128)>0){r=e;return}i[n]=s}return d.apply(String,i)}function $(t){if(t<4){if(t<2){if(t===0)return"";const V=o[r++];if((V&128)>1){r-=1;return}return d(V)}const c=o[r++],p=o[r++];if((c&128)>0||(p&128)>0){r-=2;return}if(t<3)return d(c,p);const h=o[r++];if((h&128)>0){r-=3;return}return d(c,p,h)}const e=o[r++],i=o[r++],n=o[r++],s=o[r++];if((e&128)>0||(i&128)>0||(n&128)>0||(s&128)>0){r-=4;return}if(t<6){if(t===4)return d(e,i,n,s);const c=o[r++];if((c&128)>0){r-=5;return}return d(e,i,n,s,c)}if(t<8){const c=o[r++],p=o[r++];if((c&128)>0||(p&128)>0){r-=6;return}if(t<7)return d(e,i,n,s,c,p);const h=o[r++];if((h&128)>0){r-=7;return}return d(e,i,n,s,c,p,h)}const f=o[r++],a=o[r++],l=o[r++],u=o[r++];if((f&128)>0||(a&128)>0||(l&128)>0||(u&128)>0){r-=8;return}if(t<10){if(t===8)return d(e,i,n,s,f,a,l,u);const c=o[r++];if((c&128)>0){r-=9;return}return d(e,i,n,s,f,a,l,u,c)}if(t<12){const c=o[r++],p=o[r++];if((c&128)>0||(p&128)>0){r-=10;return}if(t<11)return d(e,i,n,s,f,a,l,u,c,p);const h=o[r++];if((h&128)>0){r-=11;return}return d(e,i,n,s,f,a,l,u,c,p,h)}const x=o[r++],b=o[r++],y=o[r++],g=o[r++];if((x&128)>0||(b&128)>0||(y&128)>0||(g&128)>0){r-=12;return}if(t<14){if(t===12)return d(e,i,n,s,f,a,l,u,x,b,y,g);const c=o[r++];if((c&128)>0){r-=13;return}return d(e,i,n,s,f,a,l,u,x,b,y,g,c)}const A=o[r++],B=o[r++];if((A&128)>0||(B&128)>0){r-=14;return}if(t<15)return d(e,i,n,s,f,a,l,u,x,b,y,g,A,B);const R=o[r++];if((R&128)>0){r-=15;return}return d(e,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,r,r+=t):o.subarray(r,r+=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 e=T(Y(t)),i=e[e.length-2]*256+e[e.length-1],n=e.length-2-i;if(n<0||n>e.length)return;const s=e.slice(n,-2),f=X(s);if("ipfs"in f)return`ipfs://${v(f.ipfs)}`}export{nt as extractIPFSUri};
2
- //# sourceMappingURL=extractIPFS-BKCaGHg0.js.map
1
+ import{f as N,H as T}from"./prepare-contract-call-D-8DArpz.js";import"./utils-TQPakHe1.js";import"./sentry-BoIhDhui.js";import"./react-BAO_TUIJ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="b41a6574-02c2-40c7-a170-32d4b709f881",t._sentryDebugIdIdentifier="sentry-dbid-b41a6574-02c2-40c7-a170-32d4b709f881")}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 e=0,i=0,n=0;const s=t.length;for(;n!==s&&t[n]===0;)n++,e++;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(e);for(;l<f;++l)u+=C.charAt(a[l]||0);return u}let o,E,r=0,D={},w,P;const k=0;let _=0,m,j,z;const O={mapsAsObjects:!0,useRecords:!1};function F(t){let e;if(t<16&&(e=$(t)))return e;if(t>64&&decoder)return decoder.decode(o.subarray(r,r+=t));const i=r+t,n=[];for(e="";r<i;){const s=o[r++];if((s&128)===0)n.push(s);else if((s&224)===192){const f=o[r++]&63;n.push((s&31)<<6|f)}else if((s&240)===224){const f=o[r++]&63,a=o[r++]&63;n.push((s&31)<<12|f<<6|a)}else if((s&248)===240){const f=o[r++]&63,a=o[r++]&63,l=o[r++]&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&&(e+=d.apply(String,n),n.length=0)}return n.length>0&&(e+=d.apply(String,n)),e}class I{constructor(){Object.assign(this,O)}decodeKey(e){return e}decode(e,i=-1){E=i>-1?i:e.length,r=0,_=0,P=null,m=null,o=e;try{z=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(n){throw o=null,e instanceof Uint8Array?n:new Error(`Source must be a Uint8Array or Buffer but was a ${e&&typeof e=="object"?e.constructor.name:typeof e}`)}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(r>=m.postBundlePosition){const e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}r=m.postBundlePosition,m=null}if(r===E)w=null,o=null,j&&(j=null);else if(r>E){const e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}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[r++];const e=t>>5;if(t=t&31,t>23)switch(t){case 24:t=o[r++];break;default:throw new Error(`Unknown token ${t}`)}switch(e){case 0:return t;case 1:return~t;case 2:return W(t);case 3:if(_>=r)return P.slice(r-k,(r+=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 e=r,i=new Array(t);for(let n=0;n<t;n++){const s=o[r++];if((s&128)>0){r=e;return}i[n]=s}return d.apply(String,i)}function $(t){if(t<4){if(t<2){if(t===0)return"";const V=o[r++];if((V&128)>1){r-=1;return}return d(V)}const c=o[r++],p=o[r++];if((c&128)>0||(p&128)>0){r-=2;return}if(t<3)return d(c,p);const h=o[r++];if((h&128)>0){r-=3;return}return d(c,p,h)}const e=o[r++],i=o[r++],n=o[r++],s=o[r++];if((e&128)>0||(i&128)>0||(n&128)>0||(s&128)>0){r-=4;return}if(t<6){if(t===4)return d(e,i,n,s);const c=o[r++];if((c&128)>0){r-=5;return}return d(e,i,n,s,c)}if(t<8){const c=o[r++],p=o[r++];if((c&128)>0||(p&128)>0){r-=6;return}if(t<7)return d(e,i,n,s,c,p);const h=o[r++];if((h&128)>0){r-=7;return}return d(e,i,n,s,c,p,h)}const f=o[r++],a=o[r++],l=o[r++],u=o[r++];if((f&128)>0||(a&128)>0||(l&128)>0||(u&128)>0){r-=8;return}if(t<10){if(t===8)return d(e,i,n,s,f,a,l,u);const c=o[r++];if((c&128)>0){r-=9;return}return d(e,i,n,s,f,a,l,u,c)}if(t<12){const c=o[r++],p=o[r++];if((c&128)>0||(p&128)>0){r-=10;return}if(t<11)return d(e,i,n,s,f,a,l,u,c,p);const h=o[r++];if((h&128)>0){r-=11;return}return d(e,i,n,s,f,a,l,u,c,p,h)}const x=o[r++],b=o[r++],y=o[r++],g=o[r++];if((x&128)>0||(b&128)>0||(y&128)>0||(g&128)>0){r-=12;return}if(t<14){if(t===12)return d(e,i,n,s,f,a,l,u,x,b,y,g);const c=o[r++];if((c&128)>0){r-=13;return}return d(e,i,n,s,f,a,l,u,x,b,y,g,c)}const A=o[r++],B=o[r++];if((A&128)>0||(B&128)>0){r-=14;return}if(t<15)return d(e,i,n,s,f,a,l,u,x,b,y,g,A,B);const R=o[r++];if((R&128)>0){r-=15;return}return d(e,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,r,r+=t):o.subarray(r,r+=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 e=T(Y(t)),i=e[e.length-2]*256+e[e.length-1],n=e.length-2-i;if(n<0||n>e.length)return;const s=e.slice(n,-2),f=X(s);if("ipfs"in f)return`ipfs://${v(f.ipfs)}`}export{nt as extractIPFSUri};
2
+ //# sourceMappingURL=extractIPFS-5zCrambD.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-Coji1m5x.js";import{az as A,au as p}from"./NetworkUtil-BclgfaOh.js";import"./dcl-schemas-CfMjyfZx.js";import"./react-D7nfuWd6.js";import"./index-DEMKJ56b.js";import"./sentry-CoTjVJfh.js";import"./index-X2m4MLDN.js";import"./events-BI-hNCIc.js";import"./index-Dl4hrRT2.js";import"./ethers-Dv96XuWO.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-DuOHNKSs.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-CESQTQqF.js";import{az as A,au as p}from"./NetworkUtil-DMDTqqRR.js";import"./dcl-schemas-B-WFxXOZ.js";import"./react-BAO_TUIJ.js";import"./index-6KahUnUn.js";import"./sentry-BoIhDhui.js";import"./index-BUhtMj3g.js";import"./events-TC-OlUEN.js";import"./index-CUn1_Jx_.js";import"./ethers-BJ46oYk8.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-BcpqOoPZ.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-B-lWKxpl.js.map
6
+ //# sourceMappingURL=features-D6_H5Eg-.js.map
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/to-serializable-transaction-68n-Uy9K.js","_assets/index-Dl4hrRT2.js","_assets/react-D7nfuWd6.js","_assets/dcl-schemas-CfMjyfZx.js","_assets/sentry-CoTjVJfh.js","_assets/ethers-Dv96XuWO.js","_assets/intl-AKLEHPeO.js","_assets/index-CKGO8NWe.css","_assets/prepare-contract-call-BIfjyTYu.js","_assets/utils-esa8OSIj.js","_assets/transaction-xKWAbiZz.js"])))=>i.map(i=>d[i]);
2
- import{_ as c}from"./index-Dl4hrRT2.js";import{b as s}from"./uint8-array-BMe04WIx.js";import{n as d}from"./prepare-contract-call-BIfjyTYu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="3c01f649-28eb-4cae-812f-e0177694aa2d",e._sentryDebugIdIdentifier="sentry-dbid-3c01f649-28eb-4cae-812f-e0177694aa2d")}catch{}})();const f="data:application/json;base64";function u(e){return!!e.toLowerCase().startsWith(f)}function l(e){const o=e.indexOf(","),r=e.slice(o+1);return s(r)}const w="data:application/json;utf-8";function h(e){return!!e.toLowerCase().startsWith(w)}function y(e){const o=e.indexOf(","),r=e.slice(o+1);try{return decodeURIComponent(r)}catch{return r}}async function _(e){const{client:o,tokenId:r,tokenUri:n}=e;if(u(n))try{return JSON.parse(l(n))}catch(t){throw console.error("Failed to fetch base64 encoded NFT",{tokenId:r,tokenUri:n},t),t}if(h(n))try{return JSON.parse(y(n))}catch(t){throw console.error("Failed to fetch utf8 encoded NFT",{tokenId:r,tokenUri:n},t),t}const{download:a}=await c(async()=>{const{download:t}=await import("./to-serializable-transaction-68n-Uy9K.js").then(i=>i.L);return{download:t}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]));try{if(!n.includes("{id}"))return await(await a({client:o,uri:n})).json()}catch(t){throw console.error("Failed to fetch non-dynamic NFT",{tokenId:r,tokenUri:n},t),t}try{try{return await(await a({client:o,uri:n.replace("{id}",d(r,{size:32}).slice(2))})).json()}catch{return await(await a({client:o,uri:n.replace("{id}",r.toString())})).json()}}catch(t){throw console.error("Failed to fetch dynamic NFT",{tokenId:r,tokenUri:n},t),t}}export{_ as f};
3
- //# sourceMappingURL=fetchTokenMetadata-4TPAW-0J.js.map
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/to-serializable-transaction-BlrbTyPZ.js","_assets/index-CUn1_Jx_.js","_assets/react-BAO_TUIJ.js","_assets/dcl-schemas-B-WFxXOZ.js","_assets/sentry-BoIhDhui.js","_assets/ethers-BJ46oYk8.js","_assets/intl-AKLEHPeO.js","_assets/index-CKGO8NWe.css","_assets/prepare-contract-call-D-8DArpz.js","_assets/utils-TQPakHe1.js","_assets/transaction-rcvNLU7z.js"])))=>i.map(i=>d[i]);
2
+ import{_ as c}from"./index-CUn1_Jx_.js";import{b as s}from"./uint8-array-BMe04WIx.js";import{n as d}from"./prepare-contract-call-D-8DArpz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="3c01f649-28eb-4cae-812f-e0177694aa2d",e._sentryDebugIdIdentifier="sentry-dbid-3c01f649-28eb-4cae-812f-e0177694aa2d")}catch{}})();const f="data:application/json;base64";function u(e){return!!e.toLowerCase().startsWith(f)}function l(e){const o=e.indexOf(","),r=e.slice(o+1);return s(r)}const w="data:application/json;utf-8";function h(e){return!!e.toLowerCase().startsWith(w)}function y(e){const o=e.indexOf(","),r=e.slice(o+1);try{return decodeURIComponent(r)}catch{return r}}async function _(e){const{client:o,tokenId:r,tokenUri:n}=e;if(u(n))try{return JSON.parse(l(n))}catch(t){throw console.error("Failed to fetch base64 encoded NFT",{tokenId:r,tokenUri:n},t),t}if(h(n))try{return JSON.parse(y(n))}catch(t){throw console.error("Failed to fetch utf8 encoded NFT",{tokenId:r,tokenUri:n},t),t}const{download:a}=await c(async()=>{const{download:t}=await import("./to-serializable-transaction-BlrbTyPZ.js").then(i=>i.L);return{download:t}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]));try{if(!n.includes("{id}"))return await(await a({client:o,uri:n})).json()}catch(t){throw console.error("Failed to fetch non-dynamic NFT",{tokenId:r,tokenUri:n},t),t}try{try{return await(await a({client:o,uri:n.replace("{id}",d(r,{size:32}).slice(2))})).json()}catch{return await(await a({client:o,uri:n.replace("{id}",r.toString())})).json()}}catch(t){throw console.error("Failed to fetch dynamic NFT",{tokenId:r,tokenUri:n},t),t}}export{_ as f};
3
+ //# sourceMappingURL=fetchTokenMetadata-Dv3t7lWt.js.map
@@ -1,4 +1,4 @@
1
- import{t as a,s as r}from"./index-Dl4hrRT2.js";import"./react-D7nfuWd6.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]="1f1c03d9-c365-4827-be7b-02376e4c5757",t._sentryDebugIdIdentifier="sentry-dbid-1f1c03d9-c365-4827-be7b-02376e4c5757")}catch{}})();const{colors:e}=a,s=r.input`
1
+ import{t as a,s as r}from"./index-CUn1_Jx_.js";import"./react-BAO_TUIJ.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]="1f1c03d9-c365-4827-be7b-02376e4c5757",t._sentryDebugIdIdentifier="sentry-dbid-1f1c03d9-c365-4827-be7b-02376e4c5757")}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{t as a,s as r}from"./index-Dl4hrRT2.js";import"./react-D7nfuWd6.js";(func
68
68
  font: inherit;
69
69
  }
70
70
  `;export{s as C,d as F};
71
- //# sourceMappingURL=field.styles-DkP4EUDp.js.map
71
+ //# sourceMappingURL=field.styles-CvPi7xT7.js.map
@@ -1,4 +1,4 @@
1
- import{g as X}from"./react-D7nfuWd6.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-BAO_TUIJ.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-D7nfuWd6.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-Byi5UiOW.js.map
14
+ //# sourceMappingURL=fortmatic-vFLXReLi.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-BIfjyTYu.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]="285fb899-038e-4dac-b294-6c893ad10f4b",e._sentryDebugIdIdentifier="sentry-dbid-285fb899-038e-4dac-b294-6c893ad10f4b")}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-Cu090exg.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-D-8DArpz.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]="285fb899-038e-4dac-b294-6c893ad10f4b",e._sentryDebugIdIdentifier="sentry-dbid-285fb899-038e-4dac-b294-6c893ad10f4b")}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-CNSsYU7v.js.map
@@ -1,2 +1,2 @@
1
- import{g as l}from"./execute-DBY_k70_.js";import"./prepare-contract-call-BIfjyTYu.js";import"./utils-esa8OSIj.js";import"./sentry-CoTjVJfh.js";import"./react-D7nfuWd6.js";import"./index-Dl4hrRT2.js";import"./dcl-schemas-CfMjyfZx.js";import"./ethers-Dv96XuWO.js";import"./intl-AKLEHPeO.js";import"./detectExtension-DDD8D4gU.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]="a419ab3c-760f-4be4-99ed-ef79f444a91d",e._sentryDebugIdIdentifier="sentry-dbid-a419ab3c-760f-4be4-99ed-ef79f444a91d")}catch{}})();async function g(e){const n=await l(e);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:n.homepage||"",id:e,image_id:n.imageUrl||"",mobile:{native:null,universal:null},name:n.name,rdns:null}}export{g as getEcosystemWalletInfo};
2
- //# sourceMappingURL=get-ecosystem-wallet-info-BtF8AVTy.js.map
1
+ import{g as l}from"./execute-BKnIkwKP.js";import"./prepare-contract-call-D-8DArpz.js";import"./utils-TQPakHe1.js";import"./sentry-BoIhDhui.js";import"./react-BAO_TUIJ.js";import"./index-CUn1_Jx_.js";import"./dcl-schemas-B-WFxXOZ.js";import"./ethers-BJ46oYk8.js";import"./intl-AKLEHPeO.js";import"./detectExtension-Dc9AAVXw.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]="a419ab3c-760f-4be4-99ed-ef79f444a91d",e._sentryDebugIdIdentifier="sentry-dbid-a419ab3c-760f-4be4-99ed-ef79f444a91d")}catch{}})();async function g(e){const n=await l(e);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:n.homepage||"",id:e,image_id:n.imageUrl||"",mobile:{native:null,universal:null},name:n.name,rdns:null}}export{g as getEcosystemWalletInfo};
2
+ //# sourceMappingURL=get-ecosystem-wallet-info-DNg7unD2.js.map