@dcl/shop 1.6.3 → 1.6.4-31393274893.commit-fe5b3e4

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 (405) hide show
  1. package/_assets/Activity-BijJpTkD.js +387 -0
  2. package/_assets/{AnimatedBackground-6wiXZb3b.js → AnimatedBackground-DJZ3oWg6.js} +2 -2
  3. package/_assets/{Assets-GMVCFDmz.js → Assets-B_TvQj33.js} +37 -37
  4. package/_assets/{Assets.styles-7nziCIjQ.js → Assets.styles-DyGkSQg3.js} +2 -2
  5. package/_assets/{Authorizations-YfFEYS8f.js → Authorizations-DpEs1Zai.js} +2 -2
  6. package/_assets/{Cart-CJy5ltJ8.js → Cart-C1RD0sE7.js} +2 -2
  7. package/_assets/{CircularProgress-CTeYSVnF.js → CircularProgress-C3Yyc5Yo.js} +4 -4
  8. package/_assets/{Collection-fLqHzmi0.js → Collection-BfsXJWYr.js} +2 -2
  9. package/_assets/{CollectionCarousel-CiZl--6D.js → CollectionCarousel-QRFPfObA.js} +3 -3
  10. package/_assets/{Confetti-CFa4AFjh.js → Confetti-jrBYWQ4j.js} +4 -4
  11. package/_assets/{ConstantsUtil-C4mOmk3J.js → ConstantsUtil-D_iBbL7x.js} +2 -2
  12. package/_assets/{ContentClient-aZi75KnW.js → ContentClient-DiDjVJwL.js} +2 -2
  13. package/_assets/{Creator-BKHf2RgK.js → Creator-oLOu2_6o.js} +2 -2
  14. package/_assets/DeploymentBuilder-B5Xzrege.js +4 -0
  15. package/_assets/{ErrorNotice-Byyc-QLF.js → ErrorNotice-DQptpq6K.js} +2 -2
  16. package/_assets/{ExchangeController-CkOldDnU.js → ExchangeController-p9L9WaNh.js} +2 -2
  17. package/_assets/{Faq-Dg8LI3ym.js → Faq-DlYPNDnc.js} +2 -2
  18. package/_assets/{GetCredits-Cp2cvFEg.js → GetCredits-BZNqYH3K.js} +2 -2
  19. package/_assets/{Grow-CKOpX7ey.js → Grow-CvueDEs_.js} +2 -2
  20. package/_assets/{HelpersUtil-DPwFWf1w.js → HelpersUtil-BGtdVBL6.js} +4 -4
  21. package/_assets/{ItemDetail-BWtbx-8G.js → ItemDetail-CYWB8kES.js} +2 -2
  22. package/_assets/{JumpInIcon-Cw67mZfJ.js → JumpInIcon-CrVimOD7.js} +2 -2
  23. package/_assets/LazyEmoteControls-D1j7i1Dx.js +3 -0
  24. package/_assets/{LoadMore-CobxthT4.js → LoadMore-D3YXgx9b.js} +2 -2
  25. package/_assets/{ManaPricingBanner.styles-BTbZJpHp.js → ManaPricingBanner.styles-hNSmGhtq.js} +2 -2
  26. package/_assets/{MyAssets-CA4HnSJ3.js → MyAssets-DBFhcvr_.js} +3 -3
  27. package/_assets/{MyFavorites-CPM60pHO.js → MyFavorites-DZPKWQIG.js} +5 -5
  28. package/_assets/{NetworkUtil-Mlg-3jol.js → NetworkUtil-C6HCpbc0.js} +2 -2
  29. package/_assets/{NotFound-Dk73dneb.js → NotFound-Cj-uAW5f.js} +2 -2
  30. package/_assets/{NotificationsBell-CfTzhhGg.js → NotificationsBell-CFcKqvoI.js} +2 -2
  31. package/_assets/{OutfitDetail-Cjjt6KWm.js → OutfitDetail-BrhrFR4H.js} +2 -2
  32. package/_assets/OutfitPreview-DKF6z0YR.js +7 -0
  33. package/_assets/{OutfitStudio-CCbNcw3B.js → OutfitStudio-DMJOOr-W.js} +2 -2
  34. package/_assets/{PhArrowCircleDown-LMy4WE7D.js → PhArrowCircleDown-CxXOHVgE.js} +5 -5
  35. package/_assets/{PhArrowClockwise-B7efjCn9.js → PhArrowClockwise-DnJiMYnu.js} +4 -4
  36. package/_assets/{PhArrowDown-Bwdqa9_E.js → PhArrowDown-DgwtGa9-.js} +2 -2
  37. package/_assets/{PhArrowLeft-DuBXpz8N.js → PhArrowLeft-FYCUZwtI.js} +3 -3
  38. package/_assets/{PhArrowRight-z9Dl361F.js → PhArrowRight-DwxhqEA5.js} +4 -4
  39. package/_assets/{PhArrowSquareOut-B8fjTbIa.js → PhArrowSquareOut-Dv6DZZoQ.js} +4 -4
  40. package/_assets/{PhArrowUp-DkrWYIAz.js → PhArrowUp-DWFqIiTC.js} +2 -2
  41. package/_assets/{PhArrowUpRight-BmMKHv_H.js → PhArrowUpRight-CQEJmSv1.js} +4 -4
  42. package/_assets/{PhArrowsClockwise-CvNc1TwT.js → PhArrowsClockwise-DTxnxbQZ.js} +3 -3
  43. package/_assets/{PhArrowsDownUp-sU4tJwkL.js → PhArrowsDownUp-CCBXGhZw.js} +5 -5
  44. package/_assets/{PhArrowsLeftRight-Inahzprd.js → PhArrowsLeftRight-Bj_-312C.js} +4 -4
  45. package/_assets/{PhBank-BD-K_cfz.js → PhBank-48j7J7qv.js} +5 -5
  46. package/_assets/{PhBrowser-DVRvcu4M.js → PhBrowser-D6hf1rGc.js} +2 -2
  47. package/_assets/{PhCaretDown-G6ZOf3Jn.js → PhCaretDown-CFoksgPQ.js} +2 -2
  48. package/_assets/PhCaretLeft-Biye6fMa.js +15 -0
  49. package/_assets/{PhCaretRight-Dl0sRgp0.js → PhCaretRight-CEhVINfR.js} +2 -2
  50. package/_assets/PhCaretUp-DG-v6SHg.js +15 -0
  51. package/_assets/{PhCheck-D5l8KeSX.js → PhCheck-Bc77OWMn.js} +4 -4
  52. package/_assets/{PhCircleHalf-BvUuifqe.js → PhCircleHalf-Bnh5uFUV.js} +5 -5
  53. package/_assets/{PhClock-BgqN1MJg.js → PhClock-SbADPZJ3.js} +2 -2
  54. package/_assets/{PhCompass-Dptb6Trt.js → PhCompass-B_gDBZwD.js} +4 -4
  55. package/_assets/{PhCopy-of33PGSB.js → PhCopy-YSlpVHFy.js} +2 -2
  56. package/_assets/{PhCreditCard-cGVosjKz.js → PhCreditCard-C63_x52r.js} +3 -3
  57. package/_assets/{PhCurrencyDollar-PwdaRdae.js → PhCurrencyDollar-C8G9LLOC.js} +4 -4
  58. package/_assets/{PhDesktop-Bhi2QPLf.js → PhDesktop-C4gDVEQW.js} +2 -2
  59. package/_assets/{PhDeviceMobile-CmgmYUdD.js → PhDeviceMobile-DFhF9vWl.js} +3 -3
  60. package/_assets/{PhDotsThree-Bp1v1FK6.js → PhDotsThree-D1w7CJil.js} +4 -4
  61. package/_assets/{PhEnvelope-D6Hu8w_1.js → PhEnvelope-Bl2H5nh4.js} +4 -4
  62. package/_assets/{PhFunnelSimple-DKlL8A4i.js → PhFunnelSimple-BgMk7oAm.js} +2 -2
  63. package/_assets/{PhGlobe-7uylPeNu.js → PhGlobe-DogsrQP0.js} +3 -3
  64. package/_assets/{PhIdentificationCard-BED247mY.js → PhIdentificationCard-Q31-09T1.js} +3 -3
  65. package/_assets/{PhImage-FOrY1Sk8.js → PhImage-CSp7hEF0.js} +3 -3
  66. package/_assets/{PhInfo-CaWDFvIR.js → PhInfo-Dpk9jfsi.js} +5 -5
  67. package/_assets/{PhLightbulb-B75QV9EL.js → PhLightbulb-BeQsp-tS.js} +4 -4
  68. package/_assets/{PhMagnifyingGlass-adS5yhrC.js → PhMagnifyingGlass-BTIpv1o6.js} +2 -2
  69. package/_assets/{PhPaperPlaneRight-BbRgMArn.js → PhPaperPlaneRight-Djt1jrci.js} +4 -4
  70. package/_assets/{PhPlus-Bl3EEBwL.js → PhPlus-7X_1vaxY.js} +5 -5
  71. package/_assets/{PhPower-GunSTWQq.js → PhPower-DKdnamzj.js} +5 -5
  72. package/_assets/{PhPuzzlePiece-BWgi2L03.js → PhPuzzlePiece-Dn0glh9o.js} +4 -4
  73. package/_assets/{PhQrCode-D0-Wqehu.js → PhQrCode-BUDersHS.js} +3 -3
  74. package/_assets/{PhQuestion-DwVCTKdM.js → PhQuestion-DVQPWaWL.js} +3 -3
  75. package/_assets/{PhQuestionMark-CgTbmVtJ.js → PhQuestionMark-BrFvM_Em.js} +3 -3
  76. package/_assets/{PhSealCheck-Dk3N_Xq2.js → PhSealCheck-NWQrD4Wo.js} +3 -3
  77. package/_assets/{PhSignOut-BvXl5dyB.js → PhSignOut-BAEsXApA.js} +4 -4
  78. package/_assets/{PhSpinner-DzLQccU8.js → PhSpinner-DnTTHmGi.js} +3 -3
  79. package/_assets/{PhTrash-TPE0FvJz.js → PhTrash-CfPgy1g-.js} +2 -2
  80. package/_assets/{PhUser-D1oy0lLc.js → PhUser-BE2oflin.js} +5 -5
  81. package/_assets/{PhVault-ByF05VqU.js → PhVault-DO_gHFrt.js} +2 -2
  82. package/_assets/{PhWallet-D75iTvtf.js → PhWallet-COcpB5cL.js} +2 -2
  83. package/_assets/{PhWarning-Jaj21PeP.js → PhWarning-CZn1p4rU.js} +3 -3
  84. package/_assets/{PhWarningCircle-DBt_0tnC.js → PhWarningCircle-Q1TpUKlh.js} +4 -4
  85. package/_assets/{PhX-DZ578mpg.js → PhX-DtPiLwA0.js} +5 -5
  86. package/_assets/{StoreSettings-XU0qD3cx.js → StoreSettings-IgrX_tLG.js} +4 -4
  87. package/_assets/{Success-B-LIGB09.js → Success-BS0Z1RAV.js} +2 -2
  88. package/_assets/{SwapController-DCE2P1mf.js → SwapController-DxegJiXK.js} +2 -2
  89. package/_assets/{Tooltip-D6WdtutB.js → Tooltip-CnaT1qo6.js} +2 -2
  90. package/_assets/{TradeService-Dfzo0ubv.js → TradeService-BpKdPYLA.js} +2 -2
  91. package/_assets/{W3MFrameProviderSingleton-C9lFWf3T.js → W3MFrameProviderSingleton-6RT8kETO.js} +4 -4
  92. package/_assets/{WebCryptoP256-9q_xtXKV.js → WebCryptoP256-BPPn0xWu.js} +2 -2
  93. package/_assets/{add-tNqIWcMg.js → add-DTV9RnbB.js} +3 -3
  94. package/_assets/{all-wallets-B8nlg7MV.js → all-wallets-CoF5vdo1.js} +2 -2
  95. package/_assets/{app-store-9-kKdmJ6.js → app-store-Bk83nseb.js} +2 -2
  96. package/_assets/{apple-DvojoPdF.js → apple-C0JnL12G.js} +2 -2
  97. package/_assets/{arrow-bottom--df_76nG.js → arrow-bottom-DTtWhfqu.js} +2 -2
  98. package/_assets/{arrow-bottom-circle-B2DyGh2W.js → arrow-bottom-circle-2iA-pjWb.js} +2 -2
  99. package/_assets/{arrow-left-Fb0mZ7Y-.js → arrow-left-CSHwe13T.js} +3 -3
  100. package/_assets/{arrow-right-BixOWpB1.js → arrow-right-D0OnS_Dt.js} +2 -2
  101. package/_assets/arrow-top-B6q7bINf.js +9 -0
  102. package/_assets/async-directive-C4ERI4pC.js +10 -0
  103. package/_assets/{authorizations-j05Fw249.js → authorizations-BDMsJXSs.js} +2 -2
  104. package/_assets/{bank-CMW6OQj8.js → bank-BEXUgR-O.js} +3 -3
  105. package/_assets/{basic-CWlrA8y8.js → basic-CGUUnNV6.js} +2 -2
  106. package/_assets/{biconomy-C62lW-aQ.js → biconomy-AS28IDeM.js} +2 -2
  107. package/_assets/{browser-DFE3CTqg.js → browser-CKajL20L.js} +3 -3
  108. package/_assets/{browser-CP4FrbKU.js → browser-CpV7JK0d.js} +2 -2
  109. package/_assets/{browser-ponyfill-Dhx4dXw9.js → browser-ponyfill-iYteNcNL.js} +2 -2
  110. package/_assets/{builder-Baa5Kdf5.js → builder-C_mpoG0k.js} +2 -2
  111. package/_assets/{buy-sy9Eq8Nz.js → buy-CravDqC4.js} +2 -2
  112. package/_assets/{buy-gasless-CaziUTqr.js → buy-gasless-y9ZhCZwt.js} +2 -2
  113. package/_assets/{card-BVdWO709.js → card-BZJQ3LQE.js} +2 -2
  114. package/_assets/{categories-BqHw_X_x.js → categories-Df30N9ir.js} +2 -2
  115. package/_assets/{ccip-D1Lj06fC.js → ccip-BdNcR3B3.js} +2 -2
  116. package/_assets/{ccip-BI8CkyOT.js → ccip-jfjEbu6Q.js} +2 -2
  117. package/_assets/{chains-BX1rzWAQ.js → chains-CK0_Sefk.js} +2 -2
  118. package/_assets/{checkmark-DjsMr40Z.js → checkmark-bG2V1tQe.js} +2 -2
  119. package/_assets/{checkmark-bold-DCuG-0NX.js → checkmark-bold-C_Lw0--T.js} +3 -3
  120. package/_assets/{chevron-bottom-D8_GkQ-J.js → chevron-bottom-DWmnxlzP.js} +2 -2
  121. package/_assets/chevron-left-D4XfciEr.js +9 -0
  122. package/_assets/chevron-right-YDjwU6mj.js +9 -0
  123. package/_assets/chevron-top-CKP62nIc.js +9 -0
  124. package/_assets/{chrome-store-CWYMTzwh.js → chrome-store-DPBMc1IQ.js} +2 -2
  125. package/_assets/{class-map-HS20q_81.js → class-map-TfwPuvlt.js} +2 -2
  126. package/_assets/{clock-DNaUSRmN.js → clock-vfy-xAtz.js} +3 -3
  127. package/_assets/close-CDjRP7el.js +9 -0
  128. package/_assets/{coinPlaceholder-QyY4J5WZ.js → coinPlaceholder-DlsoU9ps.js} +2 -2
  129. package/_assets/collectionPage.styles-CJpk15Nl.js +33 -0
  130. package/_assets/common-CmMaqO41.js +2 -0
  131. package/_assets/{compass-gauDPeQF.js → compass-YIBj_s9P.js} +2 -2
  132. package/_assets/controller-BzM17fun.js +3 -0
  133. package/_assets/{copy-Cfnp8Gxd.js → copy-DCWgzfm7.js} +2 -2
  134. package/_assets/{core-BZ39SH1H.js → core-CcFOln3F.js} +5 -5
  135. package/_assets/{createSvgIcon-CjAFV7d4.js → createSvgIcon-CzAghIxs.js} +3 -3
  136. package/_assets/cursor-BmxC6Z2v.js +4 -0
  137. package/_assets/{cursor-transparent-wEHWEbGv.js → cursor-transparent-BOQm83CH.js} +3 -3
  138. package/_assets/{custom-BUdYW5JY.js → custom-DZLhV8pi.js} +2 -2
  139. package/_assets/{data-capture-BRFuUwQA.js → data-capture-Dp0gEOyC.js} +2 -2
  140. package/_assets/{dcl-schemas-D_gYB9cE.js → dcl-schemas-DCCxcBd_.js} +2 -2
  141. package/_assets/decimals-99pVte4v.js +2 -0
  142. package/_assets/decimals-BzDaRYK5.js +2 -0
  143. package/_assets/{desktop-wmxiQg3x.js → desktop-C2phimOe.js} +2 -2
  144. package/_assets/detectExtension-BDdQYFaF.js +2 -0
  145. package/_assets/{disconnect-CW0SedIh.js → disconnect-BKsaehlj.js} +3 -3
  146. package/_assets/{discord-r-2ftUs2.js → discord-Bl2BanWC.js} +3 -3
  147. package/_assets/{disposePreview-wUdxFE81.js → disposePreview-Bt1zthb-.js} +2 -2
  148. package/_assets/{email-BTJdxBMa.js → email-DKuNrUGz.js} +7 -7
  149. package/_assets/{embedded-wallet-QOQfAql4.js → embedded-wallet-DiAi5juK.js} +2 -2
  150. package/_assets/{emotion-styled.browser.esm-DEdM57s-.js → emotion-styled.browser.esm-BNYrrR-n.js} +2 -2
  151. package/_assets/{engine-BDEFEaL-.js → engine-DO9rzejh.js} +2 -2
  152. package/_assets/{errors-DVaIit1a.js → errors-BR2DYlkN.js} +2 -2
  153. package/_assets/estimate-l1-fee-BnreVrAO.js +2 -0
  154. package/_assets/eth_estimateGas-CFBHrWQo.js +2 -0
  155. package/_assets/eth_getStorageAt-CjWXP0_z.js +2 -0
  156. package/_assets/eth_getTransactionCount-DulleRzE.js +2 -0
  157. package/_assets/ethereum-DHUC2DG3.js +2 -0
  158. package/_assets/{ethers-_zS5i05m.js → ethers-DL8HYBD1.js} +2 -2
  159. package/_assets/{etherscan-DJ0SXy-j.js → etherscan-58Ubzxkw.js} +2 -2
  160. package/_assets/{events-BBzTbXov.js → events-A3DTBRoM.js} +2 -2
  161. package/_assets/{exclamation-triangle-Cx-Rg-Q1.js → exclamation-triangle-BcBquNLN.js} +2 -2
  162. package/_assets/{execute-BUzmsEqD.js → execute-Cg_f99mG.js} +3 -3
  163. package/_assets/{extension-f7z5q8eX.js → extension-6fxxVDb8.js} +3 -3
  164. package/_assets/external-link-Brktcqz2.js +9 -0
  165. package/_assets/extractIPFS-qSJovz3Y.js +2 -0
  166. package/_assets/{facebook-CGRggpq_.js → facebook-BT044Rud.js} +3 -3
  167. package/_assets/{farcaster-BDJUKKnv.js → farcaster-D7r3h2iA.js} +2 -2
  168. package/_assets/{features-CQlWdGTE.js → features-S-juYOc8.js} +2 -2
  169. package/_assets/fetchTokenMetadata-DiGdQTFR.js +3 -0
  170. package/_assets/{field.styles-CV_6WXb-.js → field.styles-DwY6mA5k.js} +2 -2
  171. package/_assets/{filters-CC5vo2yt.js → filters-DLU5iOv-.js} +2 -2
  172. package/_assets/{fortmatic-yQ_C_EHG.js → fortmatic-DZMFvRSy.js} +2 -2
  173. package/_assets/{get-bytecode-gTB1EXW2.js → get-bytecode-BdNScxcm.js} +2 -2
  174. package/_assets/get-ecosystem-wallet-info-B1hD9oCl.js +2 -0
  175. package/_assets/{getBalance-DTJS_gHt.js → getBalance-5pMK97xn.js} +3 -3
  176. package/_assets/getInstalledModules-Dy8beckb.js +2 -0
  177. package/_assets/getNFT-B-N-0TyH.js +2 -0
  178. package/_assets/getNFT-Dtz3_t30.js +3 -0
  179. package/_assets/{github-EOSVHy2c.js → github-Dyr1FwtF.js} +3 -3
  180. package/_assets/{google-B7KfKj7W.js → google-kZUZGkPo.js} +3 -3
  181. package/_assets/{grid.styles-pgf7raCh.js → grid.styles-CBj7OPqs.js} +2 -2
  182. package/_assets/{hashTypedData-C1Y9ylpl.js → hashTypedData-BViBbI7d.js} +2 -2
  183. package/_assets/{hashTypedData-21WXkfUT.js → hashTypedData-C8wYkClG.js} +2 -2
  184. package/_assets/{help-circle-BN_J5ISd.js → help-circle-kQ2IMNaP.js} +3 -3
  185. package/_assets/{id-Be22hW3B.js → id-BnCg6CDn.js} +2 -2
  186. package/_assets/{image-Cn3EeNg1.js → image-BljvVi7U.js} +3 -3
  187. package/_assets/{in-app-D74sRIPO.js → in-app-DEdRzocq.js} +2 -2
  188. package/_assets/{in-app-wallet-calls-BuFts9zK.js → in-app-wallet-calls-Dm5qX8uR.js} +2 -2
  189. package/_assets/{index-C3G2NZyV.js → index-0NORQtpG.js} +4 -4
  190. package/_assets/{index-BoItrN7U.js → index-24uRB0LZ.js} +2 -2
  191. package/_assets/index-3m-YEpVY.js +54 -0
  192. package/_assets/{index-DDVYAmyk.js → index-3px6dAqb.js} +5 -5
  193. package/_assets/{index-iB0lZmgZ.js → index-7LXzQmHE.js} +4 -4
  194. package/_assets/{index-C7glnlvH.js → index-7tUSX8Sg.js} +2 -2
  195. package/_assets/{index-ClLvuzg0.js → index-B1Gb-3R6.js} +3 -3
  196. package/_assets/{index-DmN4kDpH.js → index-B2D616zz.js} +2 -2
  197. package/_assets/{index-BI-6q1N9.js → index-B2Gc_mC-.js} +2 -2
  198. package/_assets/{index-D_5rqd0P.js → index-B7Gu3ukM.js} +2 -2
  199. package/_assets/{index-5mxS7CZV.js → index-B80yNe_h.js} +2 -2
  200. package/_assets/{index-BVnXaXLL.js → index-BAXWOcsc.js} +2 -2
  201. package/_assets/{index-CJMXmM7s.js → index-BGLfJJYt.js} +3 -3
  202. package/_assets/{index-1uX2a3CO.js → index-BGUD_ZL2.js} +2 -2
  203. package/_assets/{index-BsEhpV73.js → index-BHaToJQ0.js} +2 -2
  204. package/_assets/{index-CI-vfMTL.js → index-BJ0DfYhI.js} +4 -4
  205. package/_assets/{index-D5MhQzYk.js → index-BKmuXR89.js} +3 -3
  206. package/_assets/{index-Cb1C2UDf.js → index-BLGDIibw.js} +2 -2
  207. package/_assets/{index-DghfVxEn.js → index-BPbDwpBU.js} +2 -2
  208. package/_assets/{index-CPty4pBa.js → index-BTFjwtxS.js} +2 -2
  209. package/_assets/{index-Dtvzb1Ey.js → index-BUQCEt3k.js} +2 -2
  210. package/_assets/{index-CPUGxj2a.js → index-BWDlDT5x.js} +2 -2
  211. package/_assets/{index-BNffN3Ei.js → index-BcOfOkoI.js} +6 -6
  212. package/_assets/{index-tZgKWsqK.js → index-BceNINUN.js} +2 -2
  213. package/_assets/{index-yyxEw9PC.js → index-BghqWn9P.js} +3 -3
  214. package/_assets/{index-CcFQFgZI.js → index-BrSYC0hv.js} +5 -5
  215. package/_assets/{index-DnCZMVFC.js → index-BtUfxv0D.js} +2 -2
  216. package/_assets/{index-Boq4M3w2.js → index-C0GVN_h_.js} +3 -3
  217. package/_assets/{index-CtfpZRkP.js → index-C27SJIy7.js} +2 -2
  218. package/_assets/{index-Dv1ekxDM.js → index-C2Y-GwnE.js} +2 -2
  219. package/_assets/{index-BlSb5f20.js → index-C5Cfgzxe.js} +2 -2
  220. package/_assets/{index-Bu9dWV25.js → index-C6kT6Sfn.js} +4 -4
  221. package/_assets/{index-C_q1k4f1.js → index-C8aCwT--.js} +3 -3
  222. package/_assets/{index-Bcz-M3JX.js → index-CNrbvWPD.js} +2 -2
  223. package/_assets/{index-JnO0z-Cn.js → index-CPhvWWd4.js} +2 -2
  224. package/_assets/{index-DOjT-IR-.js → index-CPpZVAuH.js} +2 -2
  225. package/_assets/{index-CscdOUkg.js → index-CU2qo9Jz.js} +4 -4
  226. package/_assets/{index-D_Z15_zr.js → index-CcqheoI1.js} +2 -2
  227. package/_assets/{index-B1t3ekE0.js → index-CrT_4JW8.js} +3 -3
  228. package/_assets/{index-CZG2pFm7.js → index-CryD9VW4.js} +5 -5
  229. package/_assets/{index-CakOjrX4.js → index-CzSsPS4z.js} +2 -2
  230. package/_assets/{index-CER1Yrzx.js → index-D87-9MZR.js} +5 -5
  231. package/_assets/{index-8SibZDhV.js → index-D8xHDDES.js} +2 -2
  232. package/_assets/index-DOhvvJ34.js +20 -0
  233. package/_assets/{index-BSah7Lop.js → index-DPNFV3D8.js} +2 -2
  234. package/_assets/{index-DD4UFbYg.js → index-DQUXVV0m.js} +4 -4
  235. package/_assets/{index-BarKtNrJ.js → index-DRG2oQIV.js} +7 -7
  236. package/_assets/index-DSpipQd9.js +2 -0
  237. package/_assets/{index-Pqk667pF.js → index-DVIuZ9BZ.js} +2 -2
  238. package/_assets/{index-zY4zHC5G.js → index-DWKIvGEP.js} +2 -2
  239. package/_assets/{index-BzFZQh1Y.js → index-DgTbZQPd.js} +2 -2
  240. package/_assets/{index-BFhfZ3EW.js → index-DhUS7AJF.js} +2 -2
  241. package/_assets/{index-C5D5OP2z.js → index-DmWruJR2.js} +308 -308
  242. package/_assets/{index-Do-WnAgq.js → index-Dq5wfttg.js} +2 -2
  243. package/_assets/{index-B2wlsGcK.js → index-DqmXHGE-.js} +2 -2
  244. package/_assets/{index-8g-_1_MA.js → index-Dr5zktOL.js} +5 -5
  245. package/_assets/{index-Ds9zM4Gv.js → index-DsM3TTlU.js} +5 -5
  246. package/_assets/{index-Do8Ih_qS.js → index-DxnJl2WJ.js} +4 -4
  247. package/_assets/{index-Cnjy-6BC.js → index-Dz4lLVRy.js} +2 -2
  248. package/_assets/{index-DoekLdMC.js → index-F-FNlGTD.js} +4 -4
  249. package/_assets/index-FjcL2PZF.js +2 -0
  250. package/_assets/{index-EBmRTCns.js → index-HgN3VEFi.js} +13 -13
  251. package/_assets/{index-CdpymcFQ.js → index-Hws6c9HG.js} +2 -2
  252. package/_assets/{index-DN2bySU8.js → index-MczJraXL.js} +2 -2
  253. package/_assets/{index-M9Jt8ASc.js → index-WYDHmNZm.js} +2 -2
  254. package/_assets/{index-7EA6nJ13.js → index-m9VghriX.js} +4 -4
  255. package/_assets/{index-DJbdI7_-.js → index-onWOn2Lw.js} +2 -2
  256. package/_assets/{index.es-BSpIryBl.js → index.es-4edd-nyK.js} +2 -2
  257. package/_assets/{index.es-Dhqs2Ijy.js → index.es-B_XjuOVV.js} +2 -2
  258. package/_assets/{index.es-DOTvHRPc.js → index.es-CMgDBoSg.js} +5 -5
  259. package/_assets/{index.es-CD5CukIL.js → index.es-_w4ghWbW.js} +2 -2
  260. package/_assets/{info-CwfqZ_F5.js → info-NffTejk2.js} +2 -2
  261. package/_assets/{info-circle-DulYFvYW.js → info-circle-Bkfa-zTK.js} +2 -2
  262. package/_assets/{jsxRuntime.module-hV4zW-M8.js → jsxRuntime.module-CWoDbr3a.js} +2 -2
  263. package/_assets/{lightbulb-CE_dw_oh.js → lightbulb-DJyI23gZ.js} +3 -3
  264. package/_assets/{linkAccount-BptAtmTs.js → linkAccount-DLtl2O7g.js} +2 -2
  265. package/_assets/{localBatchGatewayRequest-BNZnwXST.js → localBatchGatewayRequest-C8Gkji-1.js} +2 -2
  266. package/_assets/{mail-DJ6kL25J.js → mail-ByjbM98V.js} +3 -3
  267. package/_assets/{mobile-fDCl_uHz.js → mobile-DRtsSoQQ.js} +2 -2
  268. package/_assets/{more-C7_Whde7.js → more-7mTLBDMC.js} +2 -2
  269. package/_assets/name-glyph-aUugT8vq.js +2 -0
  270. package/_assets/{native-xln9Ypfk.js → native-CnjXMM-C.js} +2 -2
  271. package/_assets/{network-placeholder-Cz4dQYwV.js → network-placeholder-BLIeJdXr.js} +2 -2
  272. package/_assets/{networks-DnqJOR0L.js → networks-BOXvdbA_.js} +2 -2
  273. package/_assets/{nftPlaceholder-BihS-dFi.js → nftPlaceholder-BkPrsl1V.js} +2 -2
  274. package/_assets/{off-txTunFjX.js → off-D5nJR6cf.js} +3 -3
  275. package/_assets/{onramp-D5zM9cPP.js → onramp-C3ZcVb03.js} +2 -2
  276. package/_assets/{openzeppelin-CQAmX0za.js → openzeppelin-0ZRk_M0i.js} +2 -2
  277. package/_assets/ownerOf-B0L_lvHO.js +2 -0
  278. package/_assets/parseNft-Dk8hPccx.js +3 -0
  279. package/_assets/{parseSignature-BZDnCdH9.js → parseSignature-BmGcXvXm.js} +4 -4
  280. package/_assets/{parseSignature-pPkUdMuL.js → parseSignature-Eowa2tdA.js} +2 -2
  281. package/_assets/passkeys-aXr9fPLE.js +2 -0
  282. package/_assets/{pay-with-exchange-mbW0pOJG.js → pay-with-exchange-lrWwqmcS.js} +2 -2
  283. package/_assets/{play-store-BoegC4yH.js → play-store-DkQb-7TK.js} +3 -3
  284. package/_assets/{plus-CGZQ4v4u.js → plus-QEqsA4LH.js} +2 -2
  285. package/_assets/{prepare-contract-call-XvLouK3k.js → prepare-contract-call-DB8CLypS.js} +2 -2
  286. package/_assets/{qr-code-D4FwFoJ2.js → qr-code-DUGI4hfn.js} +2 -2
  287. package/_assets/{qr-overlay-BXG0l3NR.js → qr-overlay-iQN1dD-Z.js} +4 -4
  288. package/_assets/{react-p_AXR2bI.js → react-DjYfJ2MV.js} +2 -2
  289. package/_assets/{receive-DVZl8QzX.js → receive-BM9-ydQE.js} +2 -2
  290. package/_assets/{recycle-horizontal-BQghFdmJ.js → recycle-horizontal-4LA4SYxV.js} +3 -3
  291. package/_assets/{ref-CRG-0jL7.js → ref-SeW674D4.js} +3 -3
  292. package/_assets/{refresh-BeYZoKSh.js → refresh-CfbVwjMK.js} +2 -2
  293. package/_assets/{reown-logo-BUmcB6sW.js → reown-logo-CXdwCM5S.js} +2 -2
  294. package/_assets/{resolveImplementation-Dowom1xi.js → resolveImplementation-BvPO9AxE.js} +2 -2
  295. package/_assets/{resume-buy-oYwKUCzZ.js → resume-buy-DMj0gsv3.js} +2 -2
  296. package/_assets/{rpc-BLGAUJDI.js → rpc-CWwF5Q0O.js} +2 -2
  297. package/_assets/{search-b1pLcQ0Q.js → search-BxoBdLKX.js} +3 -3
  298. package/_assets/{secp256k1-BcLASQLd.js → secp256k1-DaUYZoDM.js} +2 -2
  299. package/_assets/{secp256k1-DgGlVZMJ.js → secp256k1-DbiormCe.js} +2 -2
  300. package/_assets/{secp256k1-BONPpaKJ.js → secp256k1-v7SFjvoR.js} +2 -2
  301. package/_assets/{send-DJqn-0JF.js → send-BEWpjUYC.js} +2 -2
  302. package/_assets/{send-lC4ra6w3.js → send-DADQg5Xo.js} +2 -2
  303. package/_assets/send-batch-transaction-Byu6-BlM.js +2 -0
  304. package/_assets/{send-eip712-transaction-CyyzZq8a.js → send-eip712-transaction-CX0SS_Fj.js} +3 -3
  305. package/_assets/send-gasless-transaction-p0wtOOIx.js +3 -0
  306. package/_assets/send-transaction-DVDWbxYg.js +3 -0
  307. package/_assets/{sendMetaTransaction-Cst1mwG1.js → sendMetaTransaction-ogjnebbT.js} +2 -2
  308. package/_assets/{sendRawTransaction-Cq70uNHL.js → sendRawTransaction-DeqJeesd.js} +4 -4
  309. package/_assets/{sentry-ZNPCJOTe.js → sentry-D5pxZjEX.js} +3 -3
  310. package/_assets/{serializeTransaction-BcI-BZX9.js → serializeTransaction-BAb9fRza.js} +2 -2
  311. package/_assets/{session-proposal-BqcjXJMj.js → session-proposal-BE3cA9V2.js} +2 -2
  312. package/_assets/{session-request-CRbOpSH_.js → session-request-BSBr8dIr.js} +3 -3
  313. package/_assets/{sha256-koPB69GV.js → sha256-LzeRV9fa.js} +2 -2
  314. package/_assets/{signing-B_7COMB9.js → signing-SvumIwtH.js} +4 -4
  315. package/_assets/{skeleton.styles-Ck4Iczt7.js → skeleton.styles-C4DJ2NzO.js} +2 -2
  316. package/_assets/{socials-CbPmI5V7.js → socials-BAM25AoB.js} +2 -2
  317. package/_assets/{styled-B73DSMbA.js → styled-D8T13S5T.js} +2 -2
  318. package/_assets/{swapHorizontal-B917A7vy.js → swapHorizontal-DqWxuLkY.js} +3 -3
  319. package/_assets/{swapHorizontalBold-BXr9TuPL.js → swapHorizontalBold-OjAKKa_s.js} +3 -3
  320. package/_assets/{swapHorizontalMedium-BK00_YJ-.js → swapHorizontalMedium-DMCaBXhn.js} +2 -2
  321. package/_assets/{swapHorizontalRoundedBold-Bi8rzI9h.js → swapHorizontalRoundedBold-MdL2nIUy.js} +2 -2
  322. package/_assets/{swapVertical-Cw3vad0G.js → swapVertical-DqfBjHDL.js} +2 -2
  323. package/_assets/{swaps-DtHUeTzq.js → swaps-E7VYTCbf.js} +2 -2
  324. package/_assets/{telegram-BddjnyZB.js → telegram-BUfF9lU-.js} +2 -2
  325. package/_assets/{thirdweb-BE-8QLg6.js → thirdweb-BCm_1-hP.js} +4 -4
  326. package/_assets/{three-dots-C6jZ-WFx.js → three-dots-Dtx7YFPp.js} +3 -3
  327. package/_assets/{to-serializable-transaction-DcRGD3d3.js → to-serializable-transaction-fh2ZuQ0z.js} +3 -3
  328. package/_assets/totalSupply-B9x6jcRS.js +2 -0
  329. package/_assets/{transaction-CGyimcTv.js → transaction-BW1kcJaw.js} +2 -2
  330. package/_assets/transactionReceipt-DAtMflrB.js +2 -0
  331. package/_assets/transactions-DBTQsKX-.js +17 -0
  332. package/_assets/{twitch-D8WrDbmL.js → twitch-CcAxNwZd.js} +3 -3
  333. package/_assets/{twitterIcon-DlYypBM9.js → twitterIcon-DGWTzzDP.js} +3 -3
  334. package/_assets/{useCreditPacks-BRC1U4tj.js → useCreditPacks-vVF3Ex0A.js} +2 -2
  335. package/_assets/{useImportable-CLjzQAjW.js → useImportable-BX2HdxhB.js} +2 -2
  336. package/_assets/{useInfiniteGrid-7piUNmLX.js → useInfiniteGrid-Bf39OwzL.js} +2 -2
  337. package/_assets/useStore-CrhXQmD7.js +3 -0
  338. package/_assets/{useTheme--hF29a1F.js → useTheme-eJCE5OaO.js} +2 -2
  339. package/_assets/{useUrlFilters-B3nd3rMZ.js → useUrlFilters-NjZZWX7X.js} +2 -2
  340. package/_assets/{utils-Ck46L1YJ.js → utils-tA63y0WB.js} +2 -2
  341. package/_assets/{verify-DkJJJlPs.js → verify-BUPUcH1A.js} +2 -2
  342. package/_assets/{verify-filled-Cu34rKfG.js → verify-filled-B_M_NM6T.js} +3 -3
  343. package/_assets/{verifyHash-CZTCUKTw.js → verifyHash-Dueob_vw.js} +2 -2
  344. package/_assets/{w3m-modal-DrDM8irA.js → w3m-modal-COWN4Tmk.js} +2 -2
  345. package/_assets/{w3m-modal-_zPshomV.js → w3m-modal-D2yJcCzj.js} +2 -2
  346. package/_assets/wait-for-tx-receipt-CV2fOMXx.js +2 -0
  347. package/_assets/{wallet-C65hLKu5.js → wallet-DivYo3rT.js} +3 -3
  348. package/_assets/{wallet-placeholder-Bdb-3o1I.js → wallet-placeholder-CROmPhTi.js} +3 -3
  349. package/_assets/{walletconnect-DadsNaAD.js → walletconnect-CLYhTmzw.js} +5 -5
  350. package/_assets/{wallets-BjeswDjG.js → wallets-B2GGvPeb.js} +6 -6
  351. package/_assets/{warning-circle-DE3Cl0f1.js → warning-circle-BeIqoE5O.js} +3 -3
  352. package/_assets/{web-connector-CpsR9woq.js → web-connector-DUnHYoQL.js} +4 -4
  353. package/_assets/{writeContract-iCr-mOYV.js → writeContract-CROXe9Nv.js} +2 -2
  354. package/_assets/x-Cb8Nxlfd.js +13 -0
  355. package/_assets/{zora-sepolia-DXJM2BH2.js → zora-sepolia-BXeIud_y.js} +2 -2
  356. package/_assets/{zoraTestnet-Dl1hYhhM.js → zoraTestnet-CNt5diBi.js} +2 -2
  357. package/index.html +11 -11
  358. package/package.json +2 -2
  359. package/_assets/Activity-Dx5YgZfA.js +0 -379
  360. package/_assets/DeploymentBuilder-DnuSL2DS.js +0 -4
  361. package/_assets/LazyEmoteControls-UAunxEqD.js +0 -3
  362. package/_assets/OutfitPreview-DXBdwCv7.js +0 -7
  363. package/_assets/PhCaretLeft-pF_g8dOz.js +0 -15
  364. package/_assets/PhCaretUp-CuwUNUkq.js +0 -15
  365. package/_assets/arrow-top-X36TCUPc.js +0 -9
  366. package/_assets/async-directive-DVKyJ8n3.js +0 -10
  367. package/_assets/chevron-left-9Zv2sApZ.js +0 -9
  368. package/_assets/chevron-right-Bqz0HIJD.js +0 -9
  369. package/_assets/chevron-top-Ce8rthjR.js +0 -9
  370. package/_assets/close-Va7Wt97F.js +0 -9
  371. package/_assets/collectionPage.styles-BwH47nTx.js +0 -33
  372. package/_assets/common-CEevNNLq.js +0 -2
  373. package/_assets/controller-DAiKFcmn.js +0 -3
  374. package/_assets/cursor-bva6Zsy2.js +0 -4
  375. package/_assets/decimals-CjI729T0.js +0 -2
  376. package/_assets/decimals-DFKMgRuw.js +0 -2
  377. package/_assets/detectExtension-Y8fI3hiV.js +0 -2
  378. package/_assets/estimate-l1-fee-Db1QhZpA.js +0 -2
  379. package/_assets/eth_estimateGas-BCWJ608m.js +0 -2
  380. package/_assets/eth_getStorageAt-DRSRyYRQ.js +0 -2
  381. package/_assets/eth_getTransactionCount-CQNyiO_D.js +0 -2
  382. package/_assets/ethereum-BeXMJdxG.js +0 -2
  383. package/_assets/external-link-DP_pNrc3.js +0 -9
  384. package/_assets/extractIPFS-Hhblg2Va.js +0 -2
  385. package/_assets/fetchTokenMetadata-DVnNHGsa.js +0 -3
  386. package/_assets/get-ecosystem-wallet-info-Cw3dP56N.js +0 -2
  387. package/_assets/getInstalledModules-DaPpBqJm.js +0 -2
  388. package/_assets/getNFT-DObOI5qh.js +0 -2
  389. package/_assets/getNFT-aw7FWvXa.js +0 -3
  390. package/_assets/index--XhsrTwv.js +0 -20
  391. package/_assets/index-C3AYPqNb.js +0 -2
  392. package/_assets/index-CyM_9cSh.js +0 -54
  393. package/_assets/index-DixluN8r.js +0 -2
  394. package/_assets/ownerOf-BD0tdhgX.js +0 -2
  395. package/_assets/parseNft-T2qO4RMq.js +0 -3
  396. package/_assets/passkeys-BJJwCa6Q.js +0 -2
  397. package/_assets/send-batch-transaction-Bwj87cxn.js +0 -2
  398. package/_assets/send-gasless-transaction-CgZL6ILp.js +0 -3
  399. package/_assets/send-transaction-DOiU3DGa.js +0 -3
  400. package/_assets/totalSupply-FjJEgSjH.js +0 -2
  401. package/_assets/transactionReceipt-C6U9fhhm.js +0 -2
  402. package/_assets/transactions-DfzRvMYq.js +0 -17
  403. package/_assets/useStore-BQLtfPo5.js +0 -3
  404. package/_assets/wait-for-tx-receipt-DfCkkJ7e.js +0 -2
  405. package/_assets/x-C7WtQF7V.js +0 -13
@@ -1,7 +1,7 @@
1
- import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="86bff138-e128-4427-9062-9ac378b2ffea",e._sentryDebugIdIdentifier="sentry-dbid-86bff138-e128-4427-9062-9ac378b2ffea")}catch{}})();const r=n`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as a}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="09fa0c9f-1611-4833-a8cc-3b108122a3a0",e._sentryDebugIdIdentifier="sentry-dbid-09fa0c9f-1611-4833-a8cc-3b108122a3a0")}catch{}})();const r=a`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z"
5
5
  />
6
6
  </svg>`;export{r as etherscanSvg};
7
- //# sourceMappingURL=etherscan-DJ0SXy-j.js.map
7
+ //# sourceMappingURL=etherscan-58Ubzxkw.js.map
@@ -1,2 +1,2 @@
1
- import"./react-p_AXR2bI.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-BBzTbXov.js.map
1
+ import"./react-DjYfJ2MV.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-A3DTBRoM.js.map
@@ -1,5 +1,5 @@
1
- import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var C=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new C.Error().stack;e&&(C._sentryDebugIds=C._sentryDebugIds||{},C._sentryDebugIds[e]="5b2d5fb3-d85c-4f5e-874b-4924678998f9",C._sentryDebugIdIdentifier="sentry-dbid-5b2d5fb3-d85c-4f5e-874b-4924678998f9")}catch{}})();const f=n`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var C=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new C.Error().stack;e&&(C._sentryDebugIds=C._sentryDebugIds||{},C._sentryDebugIds[e]="1550ecc1-c042-4ef6-a07d-5105064f42f6",C._sentryDebugIdIdentifier="sentry-dbid-1550ecc1-c042-4ef6-a07d-5105064f42f6")}catch{}})();const f=n`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
3
3
  </svg>
4
4
  `;export{f as exclamationTriangleSvg};
5
- //# sourceMappingURL=exclamation-triangle-Cx-Rg-Q1.js.map
5
+ //# sourceMappingURL=exclamation-triangle-BcBquNLN.js.map
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-iB0lZmgZ.js","_assets/index-C5D5OP2z.js","_assets/react-p_AXR2bI.js","_assets/dcl-schemas-D_gYB9cE.js","_assets/sentry-ZNPCJOTe.js","_assets/ethers-_zS5i05m.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/ethereum-BeXMJdxG.js","_assets/utils-Ck46L1YJ.js","_assets/types-BeDU9GfL.js","_assets/get-bytecode-gTB1EXW2.js","_assets/prepare-contract-call-XvLouK3k.js","_assets/to-serializable-transaction-DcRGD3d3.js","_assets/transaction-CGyimcTv.js","_assets/web-connector-CpsR9woq.js","_assets/linkAccount-BptAtmTs.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/sleep-fBr8OToA.js","_assets/detectExtension-Y8fI3hiV.js"])))=>i.map(i=>d[i]);
2
- import{u as x,o as F,s as M,a5 as $}from"./prepare-contract-call-XvLouK3k.js";import{_ as E}from"./index-C5D5OP2z.js";import{w as V,c as H,h as K,a as j}from"./utils-Ck46L1YJ.js";import{d as B}from"./detectExtension-Y8fI3hiV.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]="efd5df89-62ce-432b-8ddf-1208b4415a01",e._sentryDebugIdIdentifier="sentry-dbid-efd5df89-62ce-432b-8ddf-1208b4415a01")}catch{}})();function oe(e=32){return x(z(e))}function z(e=32){return globalThis.crypto.getRandomValues(new Uint8Array(e))}async function P(e){const{client:t,ecosystem:n,walletType:a,walletAddress:c,chainId:h}=e;return F({client:t,data:{action:"connect",chainId:h,source:"connectWallet",walletAddress:c,walletType:a},ecosystem:n})}const re={async getItem(e){try{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(e)}catch{}return null},async removeItem(e){typeof window<"u"&&window.localStorage&&localStorage.removeItem(e)},async setItem(e,t){try{typeof window<"u"&&window.localStorage&&localStorage.setItem(e,t)}catch{}}};function X(){const e=new Map;return{emit(t,n){const a=e.get(t);if(a)for(const c of a)c(n)},subscribe(t,n){var a;return e.has(t)?(a=e.get(t))==null||a.add(n):e.set(t,new Set([n])),()=>{const c=e.get(t);c&&c.delete(n)}}}}function Y(){return X()}async function Z(e){return V(async()=>{var a;const n=await(await fetch(`${H("inAppWallet")}/api/2024-05-05/ecosystem-wallet`,{headers:{"x-ecosystem-id":e}})).json();if(!n||n.code==="UNAUTHORIZED")throw new Error(n.message||`Could not find ecosystem wallet with id ${e}, please check your ecosystem wallet configuration.`);return(a=n.authOptions)!=null&&a.includes("siwe")&&(n.authOptions=n.authOptions.filter(c=>c!=="siwe"),n.authOptions.push("wallet")),n},{cacheKey:`ecosystem-wallet-options-${e}`,cacheTime:1e3*60*5})}const b=new Map;async function g(e,t,n){var h;const a=M({clientId:e.clientId,ecosystem:n,partialSecretKey:(h=e.secretKey)==null?void 0:h.slice(0,5)});if(b.has(a))return b.get(a);const c=await t(e);return b.set(a,c),c}function q(e){const{createOptions:t,connectorFactory:n,ecosystem:a}=e,c=a?a.id:"inApp",h=Y();let o=t,l,p,i,w,A=null;const C=async s=>{if(a){const r=await Z(a.id),u=r==null?void 0:r.smartAccountOptions;if(u)if(r.smartAccountOptions.executionMode==="EIP7702")o={...o,executionMode:{mode:"EIP7702",sponsorGas:u.sponsorGas}};else{const{defaultChainId:y}=r.smartAccountOptions,m=(s==null?void 0:s.chain)??(y?j(y):void 0);if(!m)throw new Error("A chain must be provided either via 'chain' in connect options or 'defaultChainId' in ecosystem configuration. Please pass it via connect() or update the ecosystem configuration.");o={...o,smartAccount:{chain:m,factoryAddress:u.accountFactoryAddress,sponsorGas:u.sponsorGas}}}}};return{autoConnect:async s=>{const{autoConnectInAppWallet:r}=await E(async()=>{const{autoConnectInAppWallet:d}=await import("./index-iB0lZmgZ.js").then(_=>_.n);return{autoConnectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},connect:async s=>{const{connectInAppWallet:r}=await E(async()=>{const{connectInAppWallet:d}=await import("./index-iB0lZmgZ.js").then(_=>_.n);return{connectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},disconnect:async()=>{if(w&&!(await(await g(w,n,a)).logout()).success)throw new Error("Failed to logout");l=void 0,p=void 0,i=void 0,A=null,h.emit("disconnect",void 0)},getAccount:()=>l,getAdminAccount:()=>p,getAuthToken:()=>A,getChain(){if(i)return i=K(i.id)||i,i},getConfig:()=>o,id:c,subscribe:h.subscribe,switchChain:async s=>{var r;if((o!=null&&o.smartAccount||((r=o==null?void 0:o.executionMode)==null?void 0:r.mode)==="EIP4337")&&w&&l){const{autoConnectInAppWallet:u}=await E(async()=>{const{autoConnectInAppWallet:_}=await import("./index-iB0lZmgZ.js").then(G=>G.n);return{autoConnectInAppWallet:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),I=await g(w,n,a);await C({chain:s});const{account:y,chain:m,adminAccount:d}=await u({chain:s,client:w},o,I);p=d,l=y,i=m}else i=s;h.emit("chainChanged",s)}}}function ie(e){return q({connectorFactory:async t=>{var a;const{InAppWebConnector:n}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-CpsR9woq.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new n({client:t,passkeyDomain:(a=e==null?void 0:e.auth)==null?void 0:a.passkeyDomain,storage:e==null?void 0:e.storage})},createOptions:e})}async function f(e,t){return g(e,async n=>{const{InAppWebConnector:a}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-CpsR9woq.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new a({client:n,ecosystem:t})},t)}async function R(e){const{client:t,ecosystem:n}=e,c=await(await f(t,n)).getUser();switch(c.status){case"Logged In, Wallet Initialized":return c}}async function ue(e){const t=await R(e);if(t&&"email"in t.authDetails)return t.authDetails.email}async function le(e){const t=await R(e);if(t&&"phoneNumber"in t.authDetails)return t.authDetails.phoneNumber}async function de(e){return(await f(e.client,e.ecosystem)).preAuthenticate(e)}async function he(e){return(await f(e.client,e.ecosystem)).authenticate(e)}async function ye(e){const t=await f(e.client,e.ecosystem);if(!t.authenticateWithRedirect)throw new Error("authenticateWithRedirect is not supported on this platform");return t.authenticateWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function me(e){const t=await f(e.client,e.ecosystem);if(!t.linkProfileWithRedirect)throw new Error("linkProfileWithRedirect is not supported on this platform");return t.linkProfileWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function fe(e){return await(await f(e.client,e.ecosystem)).linkProfile(e)}async function we(e){return await(await f(e.client,e.ecosystem)).unlinkProfile(e.profileToUnlink,e.allowAccountDeletion)}async function Ae(e){return(await f(e.client,e.ecosystem)).getProfiles()}const Ie="/sdk/2022-08-12/embedded-wallet",v=e=>`thirdwebEwsWalletUserId-${e}`,J="walletToken",S=e=>`${J}-${e}`,T=e=>`passkey-credential-id-${e}`,Q="a",k=(e,t)=>`${Q}-${e}-${t}`,W=e=>`walletConnectSessions-${e}`,L=e=>`thirdweb_guest_session_id_${e}`,O=new Map;class pe{constructor({storage:t,clientId:n,ecosystem:a}){Object.defineProperty(this,"key",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"storage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ecosystem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.storage=t,this.key=ee(n,a==null?void 0:a.id),this.ecosystem=a}async getItem(t){return this.storage?this.storage.getItem(t):O.get(t)??null}async setItem(t,n){if(this.storage)return this.storage.setItem(t,n);O.set(t,n)}async removeItem(t){const n=await this.getItem(t);return this.storage&&n?(this.storage.removeItem(t),!0):!1}async getWalletConnectSessions(){return this.getItem(W(this.key))}async saveWalletConnectSessions(t){await this.setItem(W(this.key),t)}async savePasskeyCredentialId(t){await this.setItem(T(this.key),t)}async getPasskeyCredentialId(){return this.getItem(T(this.key))}async saveAuthCookie(t){await this.setItem(S(this.key),t)}async getAuthCookie(){return this.getItem(S(this.key))}async removeAuthCookie(){return this.removeItem(S(this.key))}async saveDeviceShare(t,n){await this.saveWalletUserId(n),await this.setItem(k(this.key,n),t)}async getDeviceShare(){const t=await this.getWalletUserId();return t?this.getItem(k(this.key,t)):null}async removeDeviceShare(){const t=await this.getWalletUserId();return t?this.removeItem(k(this.key,t)):!1}async getWalletUserId(){return this.getItem(v(this.key))}async saveWalletUserId(t){await this.setItem(v(this.key),t)}async removeWalletUserId(){return this.removeItem(v(this.key))}async getGuestSessionId(){return this.getItem(L(this.key))}async saveGuestSessionId(t){await this.setItem(L(this.key),t)}}const ee=(e,t)=>`${e}${t?`-${t}`:""}`;function te(e){let t;return()=>(t||(t=e()),t)}const D="0x3f707e6b",U=[{type:"tuple[]",name:"calls",components:[{type:"address",name:"target"},{type:"uint256",name:"value"},{type:"bytes",name:"data"}]}],N=[];function _e(e){return B({availableSelectors:e,method:[D,U,N]})}function ge(e){const t=te(async()=>"asyncParams"in e?await e.asyncParams():e);return $({contract:e.contract,method:[D,U,N],params:async()=>[(await t()).calls],value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.value},accessList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.accessList},gas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gas},gasPrice:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gasPrice},maxFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxFeePerGas},maxPriorityFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxPriorityFeePerGas},nonce:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.nonce},extraGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.extraGas},erc20Value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.erc20Value},authorizationList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.authorizationList}})}export{pe as C,Ie as I,ue as a,he as b,Ae as c,le as d,ge as e,_e as f,Z as g,me as h,ie as i,Y as j,q as k,fe as l,ye as m,te as o,de as p,oe as r,P as t,we as u,re as w};
3
- //# sourceMappingURL=execute-BUzmsEqD.js.map
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-7LXzQmHE.js","_assets/index-DmWruJR2.js","_assets/react-DjYfJ2MV.js","_assets/dcl-schemas-DCCxcBd_.js","_assets/sentry-D5pxZjEX.js","_assets/ethers-DL8HYBD1.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/ethereum-DHUC2DG3.js","_assets/utils-tA63y0WB.js","_assets/types-BeDU9GfL.js","_assets/get-bytecode-BdNScxcm.js","_assets/prepare-contract-call-DB8CLypS.js","_assets/to-serializable-transaction-fh2ZuQ0z.js","_assets/transaction-BW1kcJaw.js","_assets/web-connector-DUnHYoQL.js","_assets/linkAccount-DLtl2O7g.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/sleep-fBr8OToA.js","_assets/detectExtension-BDdQYFaF.js"])))=>i.map(i=>d[i]);
2
+ import{u as x,o as F,s as M,a5 as $}from"./prepare-contract-call-DB8CLypS.js";import{_ as E}from"./index-DmWruJR2.js";import{w as V,c as H,h as K,a as j}from"./utils-tA63y0WB.js";import{d as B}from"./detectExtension-BDdQYFaF.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]="f7aa3dbe-4bc7-446e-9e83-39f8a3133127",e._sentryDebugIdIdentifier="sentry-dbid-f7aa3dbe-4bc7-446e-9e83-39f8a3133127")}catch{}})();function oe(e=32){return x(z(e))}function z(e=32){return globalThis.crypto.getRandomValues(new Uint8Array(e))}async function P(e){const{client:t,ecosystem:n,walletType:a,walletAddress:c,chainId:h}=e;return F({client:t,data:{action:"connect",chainId:h,source:"connectWallet",walletAddress:c,walletType:a},ecosystem:n})}const re={async getItem(e){try{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(e)}catch{}return null},async removeItem(e){typeof window<"u"&&window.localStorage&&localStorage.removeItem(e)},async setItem(e,t){try{typeof window<"u"&&window.localStorage&&localStorage.setItem(e,t)}catch{}}};function X(){const e=new Map;return{emit(t,n){const a=e.get(t);if(a)for(const c of a)c(n)},subscribe(t,n){var a;return e.has(t)?(a=e.get(t))==null||a.add(n):e.set(t,new Set([n])),()=>{const c=e.get(t);c&&c.delete(n)}}}}function Y(){return X()}async function Z(e){return V(async()=>{var a;const n=await(await fetch(`${H("inAppWallet")}/api/2024-05-05/ecosystem-wallet`,{headers:{"x-ecosystem-id":e}})).json();if(!n||n.code==="UNAUTHORIZED")throw new Error(n.message||`Could not find ecosystem wallet with id ${e}, please check your ecosystem wallet configuration.`);return(a=n.authOptions)!=null&&a.includes("siwe")&&(n.authOptions=n.authOptions.filter(c=>c!=="siwe"),n.authOptions.push("wallet")),n},{cacheKey:`ecosystem-wallet-options-${e}`,cacheTime:1e3*60*5})}const b=new Map;async function g(e,t,n){var h;const a=M({clientId:e.clientId,ecosystem:n,partialSecretKey:(h=e.secretKey)==null?void 0:h.slice(0,5)});if(b.has(a))return b.get(a);const c=await t(e);return b.set(a,c),c}function q(e){const{createOptions:t,connectorFactory:n,ecosystem:a}=e,c=a?a.id:"inApp",h=Y();let o=t,l,p,i,w,A=null;const C=async s=>{if(a){const r=await Z(a.id),u=r==null?void 0:r.smartAccountOptions;if(u)if(r.smartAccountOptions.executionMode==="EIP7702")o={...o,executionMode:{mode:"EIP7702",sponsorGas:u.sponsorGas}};else{const{defaultChainId:y}=r.smartAccountOptions,m=(s==null?void 0:s.chain)??(y?j(y):void 0);if(!m)throw new Error("A chain must be provided either via 'chain' in connect options or 'defaultChainId' in ecosystem configuration. Please pass it via connect() or update the ecosystem configuration.");o={...o,smartAccount:{chain:m,factoryAddress:u.accountFactoryAddress,sponsorGas:u.sponsorGas}}}}};return{autoConnect:async s=>{const{autoConnectInAppWallet:r}=await E(async()=>{const{autoConnectInAppWallet:d}=await import("./index-7LXzQmHE.js").then(_=>_.n);return{autoConnectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},connect:async s=>{const{connectInAppWallet:r}=await E(async()=>{const{connectInAppWallet:d}=await import("./index-7LXzQmHE.js").then(_=>_.n);return{connectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},disconnect:async()=>{if(w&&!(await(await g(w,n,a)).logout()).success)throw new Error("Failed to logout");l=void 0,p=void 0,i=void 0,A=null,h.emit("disconnect",void 0)},getAccount:()=>l,getAdminAccount:()=>p,getAuthToken:()=>A,getChain(){if(i)return i=K(i.id)||i,i},getConfig:()=>o,id:c,subscribe:h.subscribe,switchChain:async s=>{var r;if((o!=null&&o.smartAccount||((r=o==null?void 0:o.executionMode)==null?void 0:r.mode)==="EIP4337")&&w&&l){const{autoConnectInAppWallet:u}=await E(async()=>{const{autoConnectInAppWallet:_}=await import("./index-7LXzQmHE.js").then(G=>G.n);return{autoConnectInAppWallet:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),I=await g(w,n,a);await C({chain:s});const{account:y,chain:m,adminAccount:d}=await u({chain:s,client:w},o,I);p=d,l=y,i=m}else i=s;h.emit("chainChanged",s)}}}function ie(e){return q({connectorFactory:async t=>{var a;const{InAppWebConnector:n}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-DUnHYoQL.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new n({client:t,passkeyDomain:(a=e==null?void 0:e.auth)==null?void 0:a.passkeyDomain,storage:e==null?void 0:e.storage})},createOptions:e})}async function f(e,t){return g(e,async n=>{const{InAppWebConnector:a}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-DUnHYoQL.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new a({client:n,ecosystem:t})},t)}async function R(e){const{client:t,ecosystem:n}=e,c=await(await f(t,n)).getUser();switch(c.status){case"Logged In, Wallet Initialized":return c}}async function ue(e){const t=await R(e);if(t&&"email"in t.authDetails)return t.authDetails.email}async function le(e){const t=await R(e);if(t&&"phoneNumber"in t.authDetails)return t.authDetails.phoneNumber}async function de(e){return(await f(e.client,e.ecosystem)).preAuthenticate(e)}async function he(e){return(await f(e.client,e.ecosystem)).authenticate(e)}async function ye(e){const t=await f(e.client,e.ecosystem);if(!t.authenticateWithRedirect)throw new Error("authenticateWithRedirect is not supported on this platform");return t.authenticateWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function me(e){const t=await f(e.client,e.ecosystem);if(!t.linkProfileWithRedirect)throw new Error("linkProfileWithRedirect is not supported on this platform");return t.linkProfileWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function fe(e){return await(await f(e.client,e.ecosystem)).linkProfile(e)}async function we(e){return await(await f(e.client,e.ecosystem)).unlinkProfile(e.profileToUnlink,e.allowAccountDeletion)}async function Ae(e){return(await f(e.client,e.ecosystem)).getProfiles()}const Ie="/sdk/2022-08-12/embedded-wallet",v=e=>`thirdwebEwsWalletUserId-${e}`,J="walletToken",S=e=>`${J}-${e}`,T=e=>`passkey-credential-id-${e}`,Q="a",k=(e,t)=>`${Q}-${e}-${t}`,W=e=>`walletConnectSessions-${e}`,L=e=>`thirdweb_guest_session_id_${e}`,O=new Map;class pe{constructor({storage:t,clientId:n,ecosystem:a}){Object.defineProperty(this,"key",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"storage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ecosystem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.storage=t,this.key=ee(n,a==null?void 0:a.id),this.ecosystem=a}async getItem(t){return this.storage?this.storage.getItem(t):O.get(t)??null}async setItem(t,n){if(this.storage)return this.storage.setItem(t,n);O.set(t,n)}async removeItem(t){const n=await this.getItem(t);return this.storage&&n?(this.storage.removeItem(t),!0):!1}async getWalletConnectSessions(){return this.getItem(W(this.key))}async saveWalletConnectSessions(t){await this.setItem(W(this.key),t)}async savePasskeyCredentialId(t){await this.setItem(T(this.key),t)}async getPasskeyCredentialId(){return this.getItem(T(this.key))}async saveAuthCookie(t){await this.setItem(S(this.key),t)}async getAuthCookie(){return this.getItem(S(this.key))}async removeAuthCookie(){return this.removeItem(S(this.key))}async saveDeviceShare(t,n){await this.saveWalletUserId(n),await this.setItem(k(this.key,n),t)}async getDeviceShare(){const t=await this.getWalletUserId();return t?this.getItem(k(this.key,t)):null}async removeDeviceShare(){const t=await this.getWalletUserId();return t?this.removeItem(k(this.key,t)):!1}async getWalletUserId(){return this.getItem(v(this.key))}async saveWalletUserId(t){await this.setItem(v(this.key),t)}async removeWalletUserId(){return this.removeItem(v(this.key))}async getGuestSessionId(){return this.getItem(L(this.key))}async saveGuestSessionId(t){await this.setItem(L(this.key),t)}}const ee=(e,t)=>`${e}${t?`-${t}`:""}`;function te(e){let t;return()=>(t||(t=e()),t)}const D="0x3f707e6b",U=[{type:"tuple[]",name:"calls",components:[{type:"address",name:"target"},{type:"uint256",name:"value"},{type:"bytes",name:"data"}]}],N=[];function _e(e){return B({availableSelectors:e,method:[D,U,N]})}function ge(e){const t=te(async()=>"asyncParams"in e?await e.asyncParams():e);return $({contract:e.contract,method:[D,U,N],params:async()=>[(await t()).calls],value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.value},accessList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.accessList},gas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gas},gasPrice:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gasPrice},maxFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxFeePerGas},maxPriorityFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxPriorityFeePerGas},nonce:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.nonce},extraGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.extraGas},erc20Value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.erc20Value},authorizationList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.authorizationList}})}export{pe as C,Ie as I,ue as a,he as b,Ae as c,le as d,ge as e,_e as f,Z as g,me as h,ie as i,Y as j,q as k,fe as l,ye as m,te as o,de as p,oe as r,P as t,we as u,re as w};
3
+ //# sourceMappingURL=execute-Cg_f99mG.js.map
@@ -1,9 +1,9 @@
1
- import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c50578f6-a579-44a0-90b1-01bf3687ebbf",e._sentryDebugIdIdentifier="sentry-dbid-c50578f6-a579-44a0-90b1-01bf3687ebbf")}catch{}})();const f=n`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as c}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="6fb9431b-34ba-401e-930e-4c48cb563aca",e._sentryDebugIdIdentifier="sentry-dbid-6fb9431b-34ba-401e-930e-4c48cb563aca")}catch{}})();const o=c`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
5
5
  d="M6.71 2.99a.57.57 0 0 0-.57.57 1 1 0 0 1-1 1c-.58 0-.96 0-1.24.03-.27.03-.37.07-.42.1a.97.97 0 0 0-.36.35c-.04.08-.09.21-.11.67a2.57 2.57 0 0 1 0 5.13c.02.45.07.6.11.66.09.15.21.28.36.36.07.04.21.1.67.12a2.57 2.57 0 0 1 5.12 0c.46-.03.6-.08.67-.12a.97.97 0 0 0 .36-.36c.03-.04.07-.14.1-.41.02-.29.03-.66.03-1.24a1 1 0 0 1 1-1 .57.57 0 0 0 0-1.15 1 1 0 0 1-1-1c0-.58 0-.95-.03-1.24a1.04 1.04 0 0 0-.1-.42.97.97 0 0 0-.36-.36 1.04 1.04 0 0 0-.42-.1c-.28-.02-.65-.02-1.24-.02a1 1 0 0 1-1-1 .57.57 0 0 0-.57-.57ZM5.15 13.98a1 1 0 0 0 .99-1v-.78a.57.57 0 0 1 1.14 0v.78a1 1 0 0 0 .99 1H8.36a66.26 66.26 0 0 0 .73 0 3.78 3.78 0 0 0 1.84-.38c.46-.26.85-.64 1.1-1.1.23-.4.32-.8.36-1.22.02-.2.03-.4.03-.63a2.57 2.57 0 0 0 0-4.75c0-.23-.01-.44-.03-.63a2.96 2.96 0 0 0-.35-1.22 2.97 2.97 0 0 0-1.1-1.1c-.4-.22-.8-.31-1.22-.35a8.7 8.7 0 0 0-.64-.04 2.57 2.57 0 0 0-4.74 0c-.23 0-.44.02-.63.04-.42.04-.83.13-1.22.35-.46.26-.84.64-1.1 1.1-.33.57-.37 1.2-.39 1.84a21.39 21.39 0 0 0 0 .72v.1a1 1 0 0 0 1 .99h.78a.57.57 0 0 1 0 1.15h-.77a1 1 0 0 0-1 .98v.1a63.87 63.87 0 0 0 0 .73c0 .64.05 1.27.38 1.83.26.47.64.85 1.1 1.11.56.32 1.2.37 1.84.38a20.93 20.93 0 0 0 .72 0h.1Z"
6
6
  clip-rule="evenodd"
7
7
  />
8
- </svg>`;export{f as extensionSvg};
9
- //# sourceMappingURL=extension-f7z5q8eX.js.map
8
+ </svg>`;export{o as extensionSvg};
9
+ //# sourceMappingURL=extension-6fxxVDb8.js.map
@@ -0,0 +1,9 @@
1
+ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="73d9d160-e54d-41d9-a65f-e5958ea63c10",e._sentryDebugIdIdentifier="sentry-dbid-73d9d160-e54d-41d9-a65f-e5958ea63c10")}catch{}})();const o=n`<svg fill="none" viewBox="0 0 14 15">
2
+ <path
3
+ fill="currentColor"
4
+ fill-rule="evenodd"
5
+ d="M3.74 3.99a1 1 0 0 1 1-1H11a1 1 0 0 1 1 1v6.26a1 1 0 0 1-2 0V6.4l-6.3 6.3a1 1 0 0 1-1.4-1.42l6.29-6.3H4.74a1 1 0 0 1-1-1Z"
6
+ clip-rule="evenodd"
7
+ />
8
+ </svg>`;export{o as externalLinkSvg};
9
+ //# sourceMappingURL=external-link-Brktcqz2.js.map
@@ -0,0 +1,2 @@
1
+ import{f as N,H as T}from"./prepare-contract-call-DB8CLypS.js";import"./utils-tA63y0WB.js";import"./sentry-D5pxZjEX.js";import"./react-DjYfJ2MV.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="86cff488-b46c-4cf6-9462-ab6991ede1a2",t._sentryDebugIdIdentifier="sentry-dbid-86cff488-b46c-4cf6-9462-ab6991ede1a2")}catch{}})();const C="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",U=C.length,L=C.charAt(0),M=Math.log(256)/Math.log(U);function v(t){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length===0)return"";let r=0,i=0,n=0;const s=t.length;for(;n!==s&&t[n]===0;)n++,r++;const f=(s-n)*M+1>>>0,a=new Uint8Array(f);for(;n!==s;){let x=t[n]||0,b=0;for(let y=f-1;(x!==0||b<i)&&y!==-1;y--,b++)x+=256*(a[y]||0)>>>0,a[y]=x%U>>>0,x=x/U>>>0;if(x!==0)throw new Error("Non-zero carry");i=b,n++}let l=f-i;for(;l!==f&&a[l]===0;)l++;let u=L.repeat(r);for(;l<f;++l)u+=C.charAt(a[l]||0);return u}let o,E,e=0,D={},w,P;const k=0;let _=0,m,j,z;const O={mapsAsObjects:!0,useRecords:!1};function F(t){let r;if(t<16&&(r=$(t)))return r;if(t>64&&decoder)return decoder.decode(o.subarray(e,e+=t));const i=e+t,n=[];for(r="";e<i;){const s=o[e++];if((s&128)===0)n.push(s);else if((s&224)===192){const f=o[e++]&63;n.push((s&31)<<6|f)}else if((s&240)===224){const f=o[e++]&63,a=o[e++]&63;n.push((s&31)<<12|f<<6|a)}else if((s&248)===240){const f=o[e++]&63,a=o[e++]&63,l=o[e++]&63;let u=(s&7)<<18|f<<12|a<<6|l;u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u)}else n.push(s);n.length>=4096&&(r+=d.apply(String,n),n.length=0)}return n.length>0&&(r+=d.apply(String,n)),r}class I{constructor(){Object.assign(this,O)}decodeKey(r){return r}decode(r,i=-1){E=i>-1?i:r.length,e=0,_=0,P=null,m=null,o=r;try{z=r.dataView||(r.dataView=new DataView(r.buffer,r.byteOffset,r.byteLength))}catch(n){throw o=null,r instanceof Uint8Array?n:new Error(`Source must be a Uint8Array or Buffer but was a ${r&&typeof r=="object"?r.constructor.name:typeof r}`)}return this instanceof I?(D=this,this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),(!w||w.length>0)&&(w=[])):(D=O,(!w||w.length>0)&&(w=[])),H()}}function H(){try{const t=S();if(m){if(e>=m.postBundlePosition){const r=new Error("Unexpected bundle position");throw r.incomplete=!0,r}e=m.postBundlePosition,m=null}if(e===E)w=null,o=null,j&&(j=null);else if(e>E){const r=new Error("Unexpected end of CBOR data");throw r.incomplete=!0,r}else throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw q(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function S(){let t=o[e++];const r=t>>5;if(t=t&31,t>23)switch(t){case 24:t=o[e++];break;default:throw new Error(`Unknown token ${t}`)}switch(r){case 0:return t;case 1:return~t;case 2:return W(t);case 3:if(_>=e)return P.slice(e-k,(e+=t)-k);if(_===0&&E<140&&t<32){const i=t<16?$(t):K(t);if(i!==null)return i}return F(t);case 4:{const i=new Array(t);for(let n=0;n<t;n++)i[n]=S();return i}case 5:{const i={};for(let n=0;n<t;n++)i[J(S())]=S();return i}default:if(Number.isNaN(t)){const i=new Error("Unexpected end of CBOR data");throw i.incomplete=!0,i}throw new Error(`Unknown CBOR token ${t}`)}}function J(t){if(typeof t=="string")return t==="__proto__"?"__proto_":t;if(typeof t!="object")return t.toString();throw new Error(`Invalid property name type ${typeof t}`)}const d=String.fromCharCode;function K(t){const r=e,i=new Array(t);for(let n=0;n<t;n++){const s=o[e++];if((s&128)>0){e=r;return}i[n]=s}return d.apply(String,i)}function $(t){if(t<4){if(t<2){if(t===0)return"";const V=o[e++];if((V&128)>1){e-=1;return}return d(V)}const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=2;return}if(t<3)return d(c,p);const h=o[e++];if((h&128)>0){e-=3;return}return d(c,p,h)}const r=o[e++],i=o[e++],n=o[e++],s=o[e++];if((r&128)>0||(i&128)>0||(n&128)>0||(s&128)>0){e-=4;return}if(t<6){if(t===4)return d(r,i,n,s);const c=o[e++];if((c&128)>0){e-=5;return}return d(r,i,n,s,c)}if(t<8){const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=6;return}if(t<7)return d(r,i,n,s,c,p);const h=o[e++];if((h&128)>0){e-=7;return}return d(r,i,n,s,c,p,h)}const f=o[e++],a=o[e++],l=o[e++],u=o[e++];if((f&128)>0||(a&128)>0||(l&128)>0||(u&128)>0){e-=8;return}if(t<10){if(t===8)return d(r,i,n,s,f,a,l,u);const c=o[e++];if((c&128)>0){e-=9;return}return d(r,i,n,s,f,a,l,u,c)}if(t<12){const c=o[e++],p=o[e++];if((c&128)>0||(p&128)>0){e-=10;return}if(t<11)return d(r,i,n,s,f,a,l,u,c,p);const h=o[e++];if((h&128)>0){e-=11;return}return d(r,i,n,s,f,a,l,u,c,p,h)}const x=o[e++],b=o[e++],y=o[e++],g=o[e++];if((x&128)>0||(b&128)>0||(y&128)>0||(g&128)>0){e-=12;return}if(t<14){if(t===12)return d(r,i,n,s,f,a,l,u,x,b,y,g);const c=o[e++];if((c&128)>0){e-=13;return}return d(r,i,n,s,f,a,l,u,x,b,y,g,c)}const A=o[e++],B=o[e++];if((A&128)>0||(B&128)>0){e-=14;return}if(t<15)return d(r,i,n,s,f,a,l,u,x,b,y,g,A,B);const R=o[e++];if((R&128)>0){e-=15;return}return d(r,i,n,s,f,a,l,u,x,b,y,g,A,B,R)}function W(t){return D.copyBuffers?Uint8Array.prototype.slice.call(o,e,e+=t):o.subarray(e,e+=t)}function q(){o=null,j=null,w=null}const G=new Array(147);for(let t=0;t<256;t++)G[t]=+`1e${Math.floor(45.15-t*.30103)}`;const Q=new I,X=Q.decode;function Y(t){return N(t,{strict:!1})?t:`0x${t}`}function nt(t){const r=T(Y(t)),i=r[r.length-2]*256+r[r.length-1],n=r.length-2-i;if(n<0||n>r.length)return;const s=r.slice(n,-2),f=X(s);if("ipfs"in f)return`ipfs://${v(f.ipfs)}`}export{nt as extractIPFSUri};
2
+ //# sourceMappingURL=extractIPFS-qSJovz3Y.js.map
@@ -1,4 +1,4 @@
1
- import{w as e}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new f.Error().stack;l&&(f._sentryDebugIds=f._sentryDebugIds||{},f._sentryDebugIds[l]="fe2880dd-48c6-4f50-a8ef-6758ca048e6b",f._sentryDebugIdIdentifier="sentry-dbid-fe2880dd-48c6-4f50-a8ef-6758ca048e6b")}catch{}})();const c=e`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as a}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new f.Error().stack;l&&(f._sentryDebugIds=f._sentryDebugIds||{},f._sentryDebugIds[l]="9f63a241-ea1f-4e05-a22a-6d7aa1694147",f._sentryDebugIdIdentifier="sentry-dbid-9f63a241-ea1f-4e05-a22a-6d7aa1694147")}catch{}})();const t=a`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#1877F2" />
@@ -23,5 +23,5 @@ import{w as e}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof windo
23
23
  <clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
24
24
  <clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
25
25
  </defs>
26
- </svg>`;export{c as facebookSvg};
27
- //# sourceMappingURL=facebook-CGRggpq_.js.map
26
+ </svg>`;export{t as facebookSvg};
27
+ //# sourceMappingURL=facebook-BT044Rud.js.map
@@ -1,4 +1,4 @@
1
- import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="657879f7-149b-4462-aa0d-0743ef6677e6",e._sentryDebugIdIdentifier="sentry-dbid-657879f7-149b-4462-aa0d-0743ef6677e6")}catch{}})();const r=d`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
1
+ import{w as f}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="05738af0-574d-43a8-9948-7516e717a7ae",e._sentryDebugIdIdentifier="sentry-dbid-05738af0-574d-43a8-9948-7516e717a7ae")}catch{}})();const r=f`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
2
2
  <rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
3
3
  <path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
4
4
  <path
@@ -10,4 +10,4 @@ import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof windo
10
10
  d="m225 320 21.16 71.46h17.9v289.09a16.29 16.29 0 0 0-16.28 16.24v19.49h-3.25a16.3 16.3 0 0 0-16.28 16.24V752h182.26v-19.48a16.22 16.22 0 0 0-16.28-16.24h-3.25v-19.5a16.22 16.22 0 0 0-16.28-16.23h-19.52V320H225Zm400.3 360.55a16.3 16.3 0 0 0-15.04 10.02 16.2 16.2 0 0 0-1.24 6.22v19.49h-3.25a16.29 16.29 0 0 0-16.27 16.24V752h182.24v-19.48a16.23 16.23 0 0 0-16.27-16.24h-3.25v-19.5a16.2 16.2 0 0 0-10.04-15 16.3 16.3 0 0 0-6.23-1.23v-289.1h17.9L775 320H644.82v360.55H625.3Z"
11
11
  />
12
12
  </svg>`;export{r as farcasterSvg};
13
- //# sourceMappingURL=farcaster-BDJUKKnv.js.map
13
+ //# sourceMappingURL=farcaster-D7r3h2iA.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-C9lFWf3T.js";import{az as A,au as p}from"./NetworkUtil-Mlg-3jol.js";import"./dcl-schemas-D_gYB9cE.js";import"./react-p_AXR2bI.js";import"./index-M9Jt8ASc.js";import"./sentry-ZNPCJOTe.js";import"./index-ClLvuzg0.js";import"./events-BBzTbXov.js";import"./index-C5D5OP2z.js";import"./ethers-_zS5i05m.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-Dhx4dXw9.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-6RT8kETO.js";import{az as A,au as p}from"./NetworkUtil-C6HCpbc0.js";import"./dcl-schemas-DCCxcBd_.js";import"./react-DjYfJ2MV.js";import"./index-WYDHmNZm.js";import"./sentry-D5pxZjEX.js";import"./index-B1Gb-3R6.js";import"./events-A3DTBRoM.js";import"./index-DmWruJR2.js";import"./ethers-DL8HYBD1.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-iYteNcNL.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-CQlWdGTE.js.map
6
+ //# sourceMappingURL=features-S-juYOc8.js.map
@@ -0,0 +1,3 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/to-serializable-transaction-fh2ZuQ0z.js","_assets/index-DmWruJR2.js","_assets/react-DjYfJ2MV.js","_assets/dcl-schemas-DCCxcBd_.js","_assets/sentry-D5pxZjEX.js","_assets/ethers-DL8HYBD1.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/prepare-contract-call-DB8CLypS.js","_assets/utils-tA63y0WB.js","_assets/transaction-BW1kcJaw.js"])))=>i.map(i=>d[i]);
2
+ import{_ as c}from"./index-DmWruJR2.js";import{b as s}from"./uint8-array-BMe04WIx.js";import{n as d}from"./prepare-contract-call-DB8CLypS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c6bc9da5-2daa-4bc9-936c-774d5aa3e23f",e._sentryDebugIdIdentifier="sentry-dbid-c6bc9da5-2daa-4bc9-936c-774d5aa3e23f")}catch{}})();const f="data:application/json;base64";function u(e){return!!e.toLowerCase().startsWith(f)}function l(e){const a=e.indexOf(","),r=e.slice(a+1);return s(r)}const w="data:application/json;utf-8";function h(e){return!!e.toLowerCase().startsWith(w)}function y(e){const a=e.indexOf(","),r=e.slice(a+1);try{return decodeURIComponent(r)}catch{return r}}async function _(e){const{client:a,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:o}=await c(async()=>{const{download:t}=await import("./to-serializable-transaction-fh2ZuQ0z.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 o({client:a,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 o({client:a,uri:n.replace("{id}",d(r,{size:32}).slice(2))})).json()}catch{return await(await o({client:a,uri:n.replace("{id}",r.toString())})).json()}}catch(t){throw console.error("Failed to fetch dynamic NFT",{tokenId:r,tokenUri:n},t),t}}export{_ as f};
3
+ //# sourceMappingURL=fetchTokenMetadata-DiGdQTFR.js.map
@@ -1,4 +1,4 @@
1
- import{t as a,s as r}from"./index-C5D5OP2z.js";import"./react-p_AXR2bI.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-DmWruJR2.js";import"./react-DjYfJ2MV.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-C5D5OP2z.js";import"./react-p_AXR2bI.js";(func
68
68
  font: inherit;
69
69
  }
70
70
  `;export{s as C,d as F};
71
- //# sourceMappingURL=field.styles-CV_6WXb-.js.map
71
+ //# sourceMappingURL=field.styles-DwY6mA5k.js.map
@@ -1,4 +1,4 @@
1
- import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2037c3e1-d750-4658-8c2d-3693d31835ff",e._sentryDebugIdIdentifier="sentry-dbid-2037c3e1-d750-4658-8c2d-3693d31835ff")}catch{}})();const o=n`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ab50c943-d7b9-4425-961f-14a1a66e0399",e._sentryDebugIdIdentifier="sentry-dbid-ab50c943-d7b9-4425-961f-14a1a66e0399")}catch{}})();const o=n`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -6,4 +6,4 @@ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof windo
6
6
  clip-rule="evenodd"
7
7
  />
8
8
  </svg>`;export{o as filtersSvg};
9
- //# sourceMappingURL=filters-CC5vo2yt.js.map
9
+ //# sourceMappingURL=filters-DLU5iOv-.js.map
@@ -1,4 +1,4 @@
1
- import{g as X}from"./react-p_AXR2bI.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-DjYfJ2MV.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-p_AXR2bI.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-yQ_C_EHG.js.map
14
+ //# sourceMappingURL=fortmatic-DZMFvRSy.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-XvLouK3k.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]="5a7c7534-6f4e-4d21-b817-0f7914d182b8",e._sentryDebugIdIdentifier="sentry-dbid-5a7c7534-6f4e-4d21-b817-0f7914d182b8")}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-gTB1EXW2.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-DB8CLypS.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]="3eba9a20-1510-4876-89b0-2ca6b576a29a",e._sentryDebugIdIdentifier="sentry-dbid-3eba9a20-1510-4876-89b0-2ca6b576a29a")}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-BdNScxcm.js.map
@@ -0,0 +1,2 @@
1
+ import{g as l}from"./execute-Cg_f99mG.js";import"./prepare-contract-call-DB8CLypS.js";import"./utils-tA63y0WB.js";import"./sentry-D5pxZjEX.js";import"./react-DjYfJ2MV.js";import"./index-DmWruJR2.js";import"./dcl-schemas-DCCxcBd_.js";import"./ethers-DL8HYBD1.js";import"./intl-AKLEHPeO.js";import"./detectExtension-BDdQYFaF.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="47964f9f-1e51-4769-90d3-f8b310959822",n._sentryDebugIdIdentifier="sentry-dbid-47964f9f-1e51-4769-90d3-f8b310959822")}catch{}})();async function g(n){const e=await l(n);return{app:{android:null,browser:null,chrome:null,edge:null,firefox:null,ios:null,linux:null,mac:null,opera:null,safari:null,windows:null},desktop:{native:null,universal:null},homepage:e.homepage||"",id:n,image_id:e.imageUrl||"",mobile:{native:null,universal:null},name:e.name,rdns:null}}export{g as getEcosystemWalletInfo};
2
+ //# sourceMappingURL=get-ecosystem-wallet-info-B1hD9oCl.js.map