@dcl/shop 1.12.2-34943028392.commit-9a41f7d → 1.12.2-34948836375.commit-6cf32c8
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.
- package/_assets/{Activity-BzrkDG8v.js → Activity-J2iy4jC2.js} +16 -16
- package/_assets/{AnimatedBackground-C2L1hqCI.js → AnimatedBackground-CZSQraQ0.js} +2 -2
- package/_assets/Assets-rO2myygc.js +939 -0
- package/_assets/{Authorizations-DmFpLf4s.js → Authorizations-RQz4v6iB.js} +7 -7
- package/_assets/Cart-DdbsSYxC.js +748 -0
- package/_assets/{Collection-CGLLXm0e.js → Collection-9Z2j-rTm.js} +16 -16
- package/_assets/{CollectionCarousel-DGdcg_9O.js → CollectionCarousel-p9BPJONR.js} +121 -121
- package/_assets/{Confetti-CxMOsCWv.js → Confetti-BGVbEJbR.js} +4 -4
- package/_assets/{ConstantsUtil-DHkDWk8J.js → ConstantsUtil-Bp-pnAsz.js} +2 -2
- package/_assets/{ContentClient-_ezZZzIw.js → ContentClient-DTRb9-5C.js} +2 -2
- package/_assets/{Creator-CM3ZV_Bg.js → Creator-BJL4gekm.js} +46 -46
- package/_assets/DeploymentBuilder-Cjkaft-R.js +4 -0
- package/_assets/{EmotePlaybackBar-DkG8TD79.js → EmotePlaybackBar-BPKSzBrx.js} +5 -5
- package/_assets/{ErrorNotice-blsFbR3-.js → ErrorNotice-nSEXNWXK.js} +2 -2
- package/_assets/Event-mTDtnPdT.js +2 -0
- package/_assets/{ExchangeController-BLBMrkUL.js → ExchangeController-D8uwDzSY.js} +2 -2
- package/_assets/{Faq-Bj8Nhewk.js → Faq-CVMMGesq.js} +3 -3
- package/_assets/{GetCredits-SwIp3hRH.js → GetCredits-B-d63Asa.js} +5 -5
- package/_assets/{Grow-BIPZJVs3.js → Grow-DpxGM69E.js} +2 -2
- package/_assets/{HelpersUtil-CZEbckkL.js → HelpersUtil-CA8woQfF.js} +3 -3
- package/_assets/{ItemDetail-Bf_S4Uni.js → ItemDetail-Bxxs1KIm.js} +225 -225
- package/_assets/LoadMore-Cr-mnVTu.js +8 -0
- package/_assets/{ManaPricingBanner.styles-CMRvNq20.js → ManaPricingBanner.styles-CuFOcVnZ.js} +6 -6
- package/_assets/{MyAssets-BKjWGYWp.js → MyAssets-CIl-ZNFw.js} +2 -2
- package/_assets/{MyFavorites-CLVWTn_L.js → MyFavorites-CONQ86Ux.js} +7 -7
- package/_assets/{NetworkUtil-qkKRl2Bt.js → NetworkUtil-ida2KYao.js} +2 -2
- package/_assets/NotFound-Cjy5dUWa.js +18 -0
- package/_assets/NotificationsBell-CyOkbx1n.js +142 -0
- package/_assets/{OutfitDetail-B6o4BSfC.js → OutfitDetail-BsiAngXf.js} +6 -6
- package/_assets/{OutfitPreview-BAzyTNUV.js → OutfitPreview-CS5cySDc.js} +3 -3
- package/_assets/{OutfitStudio-DqBO-mPF.js → OutfitStudio-D-FGJRNJ.js} +19 -19
- package/_assets/{PhArrowCircleDown-F6XaRM9L.js → PhArrowCircleDown-ak13FLPU.js} +5 -5
- package/_assets/{PhArrowClockwise-q_-mQx9S.js → PhArrowClockwise-B1_sSsDG.js} +3 -3
- package/_assets/{PhArrowDown-DbUWaovp.js → PhArrowDown-3SgA8Sjh.js} +3 -3
- package/_assets/{PhArrowLeft-BHIRtLA9.js → PhArrowLeft-D0xJapef.js} +3 -3
- package/_assets/{PhArrowRight-Chd6UGyN.js → PhArrowRight-BEzeYnOS.js} +4 -4
- package/_assets/{PhArrowSquareOut-6HUnIa-j.js → PhArrowSquareOut-ncs5AP9J.js} +3 -3
- package/_assets/{PhArrowUp-CMwjZS9_.js → PhArrowUp-DAiP5DLU.js} +4 -4
- package/_assets/{PhArrowUpRight-BKMZVVGq.js → PhArrowUpRight-CpVGKPzB.js} +5 -5
- package/_assets/{PhArrowsClockwise-F_7-Dc35.js → PhArrowsClockwise-BW3eqMIv.js} +2 -2
- package/_assets/{PhArrowsDownUp-Dn_FyHzt.js → PhArrowsDownUp-CL__e9hj.js} +4 -4
- package/_assets/{PhArrowsLeftRight-CaFe7nV6.js → PhArrowsLeftRight-CKf-pynd.js} +4 -4
- package/_assets/{PhBank-BI7khlVk.js → PhBank-CYFoeatO.js} +5 -5
- package/_assets/{PhBrowser-CECFOU5M.js → PhBrowser-B8QcDy-X.js} +4 -4
- package/_assets/PhCaretDown-BJucyF_I.js +15 -0
- package/_assets/PhCaretLeft-DXM-1eI2.js +15 -0
- package/_assets/{PhCaretRight-CFC60GD1.js → PhCaretRight-CUbjYMvE.js} +2 -2
- package/_assets/{PhCaretUp-DIACD1RA.js → PhCaretUp-XANHSPHz.js} +5 -5
- package/_assets/{PhCheck-BvBD9Aid.js → PhCheck-DtDQz9uq.js} +3 -3
- package/_assets/{PhCircleHalf-Bun-1FCv.js → PhCircleHalf-N8EEYP9W.js} +4 -4
- package/_assets/{PhClock-D_ASVz8S.js → PhClock-D4HOB74r.js} +4 -4
- package/_assets/{PhCompass-DocyDWCu.js → PhCompass-DaDix-lb.js} +5 -5
- package/_assets/{PhCopy-D6EBlOAj.js → PhCopy-DfG9L19w.js} +4 -4
- package/_assets/{PhCreditCard-B0qL8bHI.js → PhCreditCard-54JvBHpJ.js} +3 -3
- package/_assets/{PhCurrencyDollar-DMjw0pw9.js → PhCurrencyDollar--4El0jyD.js} +4 -4
- package/_assets/{PhDesktop-BCskflgs.js → PhDesktop-C59sef21.js} +3 -3
- package/_assets/{PhDeviceMobile-C4XbDOvg.js → PhDeviceMobile-CqU5hwgB.js} +4 -4
- package/_assets/{PhDotsThree-C1eKbboP.js → PhDotsThree-DKKOuXPs.js} +4 -4
- package/_assets/{PhEnvelope-BiE8gj38.js → PhEnvelope-BV_YRi_L.js} +2 -2
- package/_assets/{PhFunnelSimple-Cp9cUJMS.js → PhFunnelSimple-DCJ64Yx1.js} +5 -5
- package/_assets/{PhGlobe-DKh2xV8G.js → PhGlobe-CfDkOX-M.js} +2 -2
- package/_assets/{PhIdentificationCard-Bmin-yhM.js → PhIdentificationCard-CZevIBOX.js} +2 -2
- package/_assets/{PhImage-chlN_hIc.js → PhImage-BvwFiqL_.js} +2 -2
- package/_assets/{PhInfo-C7QGtQg6.js → PhInfo-ByE07_XD.js} +5 -5
- package/_assets/{PhLightbulb-CkOJ2DJ3.js → PhLightbulb-COGGqe5o.js} +2 -2
- package/_assets/{PhMagnifyingGlass-BTmWgGWE.js → PhMagnifyingGlass-CoJqZmSp.js} +4 -4
- package/_assets/{PhPaperPlaneRight-BdlILCZ-.js → PhPaperPlaneRight-BOtHGdWm.js} +4 -4
- package/_assets/{PhPlus-BcjO7oMF.js → PhPlus-BtM9eWY5.js} +4 -4
- package/_assets/{PhPower-DOEZz8fY.js → PhPower-XoT0HBKo.js} +5 -5
- package/_assets/{PhPuzzlePiece-BTpL210F.js → PhPuzzlePiece-DPN_Gt0E.js} +4 -4
- package/_assets/{PhQrCode-BZYdQpUJ.js → PhQrCode-Ba2Av-ws.js} +2 -2
- package/_assets/{PhQuestion-C0lp-4DF.js → PhQuestion-BsODZylj.js} +3 -3
- package/_assets/{PhQuestionMark-VF_NxIwy.js → PhQuestionMark-CQGfqgyU.js} +5 -5
- package/_assets/{PhSealCheck-1OIprpHs.js → PhSealCheck-ORxCOA65.js} +3 -3
- package/_assets/{PhSignOut-CQoJ2HjV.js → PhSignOut-CIIz9cbC.js} +4 -4
- package/_assets/{PhSpinner-I7LCPPQZ.js → PhSpinner-v_BVhkr6.js} +3 -3
- package/_assets/{PhTrash-BLYxR73H.js → PhTrash-DaneU5r-.js} +2 -2
- package/_assets/{PhUser-B6uTfnUV.js → PhUser-CKCQsYp2.js} +2 -2
- package/_assets/{PhVault-huUMPy8_.js → PhVault-q-BY5Hn5.js} +2 -2
- package/_assets/{PhWallet-CqCYhzA6.js → PhWallet-Df5kuqF4.js} +5 -5
- package/_assets/{PhWarning-B-8AQOtI.js → PhWarning-DmzK9PIH.js} +5 -5
- package/_assets/{PhWarningCircle-DMKHSe_T.js → PhWarningCircle-B6Azmmj3.js} +3 -3
- package/_assets/{PhX-CdA2pR0v.js → PhX-Bv7tUluK.js} +2 -2
- package/_assets/{StoreSettings-CRrjV6iO.js → StoreSettings-DtLddUAS.js} +10 -10
- package/_assets/{Success-BwnpaEyU.js → Success--Ei6iKXI.js} +6 -6
- package/_assets/{SwapController-quTHZ8od.js → SwapController-BA5TjqZA.js} +2 -2
- package/_assets/{TradeService-DBV1qd6u.js → TradeService-DywJ4wNp.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-CXJijBFn.js → W3MFrameProviderSingleton-CmmiYZ9j.js} +4 -4
- package/_assets/{WebCryptoP256-9g20gwOq.js → WebCryptoP256-BPfgDNR9.js} +2 -2
- package/_assets/{add-CNAGUF7G.js → add-WC3KG-NP.js} +2 -2
- package/_assets/{all-wallets-Do04Q1GD.js → all-wallets-BV2RKDKX.js} +2 -2
- package/_assets/{app-store-ZwD4kBP5.js → app-store-DzdJFJvJ.js} +2 -2
- package/_assets/{apple-DA1GHxT3.js → apple-C_YCXF5K.js} +3 -3
- package/_assets/{arrow-bottom-circle-Dzl92t2I.js → arrow-bottom-circle-CWERGNL8.js} +3 -3
- package/_assets/arrow-bottom-lj5jq4hP.js +9 -0
- package/_assets/{arrow-left-Ckx45zyh.js → arrow-left-BHfhO25z.js} +3 -3
- package/_assets/{arrow-right-BcWHW3tW.js → arrow-right-DrvdIWK8.js} +2 -2
- package/_assets/{arrow-top-BhrmNTjO.js → arrow-top-C5YdnARR.js} +3 -3
- package/_assets/{async-directive-CZ-ebsJC.js → async-directive-Ul6OERsh.js} +3 -3
- package/_assets/authorizations-D-BlJBCy.js +2 -0
- package/_assets/{bank-BfuZXPF5.js → bank-CcJhMycN.js} +2 -2
- package/_assets/{basic-F2Aaa6rH.js → basic-D9ZT1BuA.js} +2 -2
- package/_assets/{biconomy-PJhknwtx.js → biconomy-CZoSyrbX.js} +2 -2
- package/_assets/{browseLayout.styles-CqS3Mi2Y.js → browseLayout.styles-DXvUud3S.js} +8 -8
- package/_assets/{browser-DymfWuKv.js → browser-CePgleG4.js} +3 -3
- package/_assets/{browser-D_Ek7DWr.js → browser-DSALTQXN.js} +2 -2
- package/_assets/{browser-DnyELsVd.js → browser-ShmbZCwm.js} +2 -2
- package/_assets/{browser-ponyfill-CcTu7hLV.js → browser-ponyfill-BNu_nbrj.js} +2 -2
- package/_assets/builder-g8RNS_Vg.js +2 -0
- package/_assets/buy-DTXSyPtH.js +2 -0
- package/_assets/{buy-gasless-BZfxsLgU.js → buy-gasless-DiikOGgv.js} +2 -2
- package/_assets/{card-DThPVMJR.js → card-vJcgWj0J.js} +2 -2
- package/_assets/{categories-D8FktL3U.js → categories-v7iHQh9a.js} +3 -3
- package/_assets/{ccip-BIrWHUzQ.js → ccip-CWbNdN46.js} +2 -2
- package/_assets/{ccip-DYhBuxYc.js → ccip-DelhpKhz.js} +2 -2
- package/_assets/{chains-CUQUsBUh.js → chains-tR4n3Rjk.js} +2 -2
- package/_assets/{checkmark-BWfow5Hm.js → checkmark-BdVL_wyR.js} +2 -2
- package/_assets/{checkmark-bold-DpY-xklc.js → checkmark-bold-D2_kDMAk.js} +3 -3
- package/_assets/{chevron-bottom-CvrvhzO8.js → chevron-bottom-D0Fjkofu.js} +3 -3
- package/_assets/chevron-left-C9tCZw7F.js +9 -0
- package/_assets/chevron-right-CFriZlYk.js +9 -0
- package/_assets/chevron-top-CI7Nc1Hh.js +9 -0
- package/_assets/{chrome-store-KoCRE_P4.js → chrome-store-BPxSE7E7.js} +3 -3
- package/_assets/{class-map-C0Rma2l2.js → class-map-uVWd2sCT.js} +2 -2
- package/_assets/{clock-GD6fuViS.js → clock-CCT_gA8y.js} +3 -3
- package/_assets/{close-CN58s0HI.js → close-CVrMDBuL.js} +3 -3
- package/_assets/{coinPlaceholder-7RZ9OmZY.js → coinPlaceholder-vau3Ommw.js} +2 -2
- package/_assets/collectionPage.styles-B9DFBjev.js +41 -0
- package/_assets/common-yKZODGdF.js +2 -0
- package/_assets/{compass-D-rZZnyG.js → compass-BVX94cA4.js} +3 -3
- package/_assets/{controller-BhUAzwJn.js → controller-Bld7fSw_.js} +3 -3
- package/_assets/{copy-2dTl5JIk.js → copy-DbIo246v.js} +2 -2
- package/_assets/{core-inDOASrl.js → core-D92-eur5.js} +5 -5
- package/_assets/{createSvgIcon-vHje6rN0.js → createSvgIcon-DxzmVGNY.js} +6 -6
- package/_assets/crumbs.styles-B0j-GlvV.js +10 -0
- package/_assets/cursor-CRt00jB7.js +4 -0
- package/_assets/{cursor-transparent-CxCv7i5W.js → cursor-transparent-D_Cn2Qj1.js} +2 -2
- package/_assets/{custom-DY40wvG2.js → custom-CZWdKBPL.js} +2 -2
- package/_assets/{data-capture-CJc4yzny.js → data-capture-CX4kn4Xl.js} +5 -5
- package/_assets/{dcl-schemas-D4UJavpl.js → dcl-schemas-BEn5-KfC.js} +2 -2
- package/_assets/decimals-E28v80-_.js +2 -0
- package/_assets/decimals-epBomYJA.js +2 -0
- package/_assets/{desktop-hQx0DPre.js → desktop-DiOFIHxS.js} +3 -3
- package/_assets/detectExtension-CwKpcDtv.js +2 -0
- package/_assets/{disconnect-DK02_cdg.js → disconnect-DJcY0BVy.js} +3 -3
- package/_assets/{discord-DI917ReU.js → discord-CFlQgGeS.js} +3 -3
- package/_assets/{disposePreview-CYfbetLY.js → disposePreview-DGzpJsbb.js} +2 -2
- package/_assets/{email-CH02hcOX.js → email-BHBQRb65.js} +7 -7
- package/_assets/{embedded-wallet-D-q4VZI9.js → embedded-wallet-C6Gy4WTK.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-Cksk7-TV.js → emotion-styled.browser.esm-BJIlADB7.js} +2 -2
- package/_assets/{engine-fPplgmpB.js → engine-Yiha65AY.js} +2 -2
- package/_assets/errors-wEpZJGJP.js +2 -0
- package/_assets/estimate-l1-fee-CLftLGg-.js +2 -0
- package/_assets/eth_estimateGas-BectDuYc.js +2 -0
- package/_assets/eth_getStorageAt-1yhQzTuj.js +2 -0
- package/_assets/eth_getTransactionCount-D4KYioQk.js +2 -0
- package/_assets/ethereum-BaJC9L6n.js +2 -0
- package/_assets/{ethers-DujCu8ER.js → ethers-DsAoqs4p.js} +2 -2
- package/_assets/{etherscan-1ZO8YOdM.js → etherscan-B_DEmwcU.js} +3 -3
- package/_assets/{events-Co3sdv9k.js → events-Z3dAOhvY.js} +2 -2
- package/_assets/{exclamation-triangle-B-lUKP3N.js → exclamation-triangle-CwRHSRAS.js} +3 -3
- package/_assets/{execute-CquTb3TI.js → execute-Dp67kIVB.js} +3 -3
- package/_assets/{extension-BJk7Ap5S.js → extension-C5CHNEBM.js} +3 -3
- package/_assets/{external-link-CUZQGcmk.js → external-link-DhWG0oh3.js} +2 -2
- package/_assets/{extractIPFS-DdLMni2E.js → extractIPFS-Cg7kPTyT.js} +2 -2
- package/_assets/{facebook-CKL1kZxO.js → facebook-ZbOHRELg.js} +3 -3
- package/_assets/{farcaster-aMNZ-p6M.js → farcaster-MlS0fAkK.js} +3 -3
- package/_assets/{features-BXj0ukDd.js → features-NLP5a5Tz.js} +2 -2
- package/_assets/fetchTokenMetadata-DxlcVtmx.js +3 -0
- package/_assets/{field.styles-CSXpGbTT.js → field.styles-CZBu3L1V.js} +4 -4
- package/_assets/{filters-C6jnCJ-u.js → filters-ByxHqr_b.js} +2 -2
- package/_assets/{fortmatic-BW_IxidD.js → fortmatic-giGwlnqU.js} +2 -2
- package/_assets/{get-bytecode-Cn7UTcHZ.js → get-bytecode-g7wo4tN3.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-DtESs8m7.js +2 -0
- package/_assets/{getBalance-TFKNnv_8.js → getBalance-D6g2ByQs.js} +3 -3
- package/_assets/{getInstalledModules-DUmQU99m.js → getInstalledModules-OCneY0pB.js} +2 -2
- package/_assets/{getNFT-BUrn6FSo.js → getNFT-C2rmwr1y.js} +3 -3
- package/_assets/getNFT-DXnohOJa.js +2 -0
- package/_assets/{github-zd84z5Ek.js → github-DcWwSd2A.js} +3 -3
- package/_assets/{google-d3DYsc60.js → google-BWF_TAVo.js} +2 -2
- package/_assets/grid.styles-D8y3Md9p.js +15 -0
- package/_assets/{hashTypedData-CHzLxMfd.js → hashTypedData-CqJya2E6.js} +2 -2
- package/_assets/{hashTypedData-CrRAwPzP.js → hashTypedData-DbZ540ih.js} +2 -2
- package/_assets/{help-circle-hL-zFkun.js → help-circle-Chc_vCdy.js} +3 -3
- package/_assets/{id-C8eFRL7j.js → id-7VZ83soE.js} +3 -3
- package/_assets/{image-D-6g9w_t.js → image-Bgj_xLD4.js} +3 -3
- package/_assets/{in-app-CuV_Z2D5.js → in-app-7RIyYwr4.js} +2 -2
- package/_assets/in-app-wallet-calls-B_Nob2Dp.js +2 -0
- package/_assets/{index-Bz_A8esJ.js → index-7CCjLw0u.js} +4 -4
- package/_assets/{index-F7Dx4dlO.js → index-7lpgP4PJ.js} +4 -4
- package/_assets/{index-VDsZU95P.js → index-B0b3tE0c.js} +4 -4
- package/_assets/{index-wIdCHhoY.js → index-B2LbNj_R.js} +2 -2
- package/_assets/{index-D_XQVbK8.js → index-B6-4doHB.js} +2 -2
- package/_assets/index-BHH-ygDH.js +3 -0
- package/_assets/{index-BHPF4sRd.js → index-BMTJPKai.js} +2 -2
- package/_assets/{index-949vKUn3.js → index-BRDkcfDz.js} +2 -2
- package/_assets/{index-CF5ob_0m.js → index-BScED-bZ.js} +2 -2
- package/_assets/{index-mowwUo8b.js → index-BSvARysd.js} +4 -4
- package/_assets/{index-X47fbIFm.js → index-BWxd86Vj.js} +7 -7
- package/_assets/{index-Dy805UKF.js → index-BeUJsqeQ.js} +2 -2
- package/_assets/{index-BsbX4DC2.js → index-BgkGjzDI.js} +2 -2
- package/_assets/{index-Y6uaMjy5.js → index-BjFsM0oT.js} +2 -2
- package/_assets/{index-CijtQRgj.js → index-BkMOX_Op.js} +2 -2
- package/_assets/{index-cos5bl3t.js → index-Bobcegi1.js} +2 -2
- package/_assets/{index-CPrTl8tw.js → index-BsMA9366.js} +5 -5
- package/_assets/{index-BL0KK1zj.js → index-C73O17Kl.js} +4 -4
- package/_assets/{index-B87nkJq0.js → index-CDtFhkB_.js} +4 -4
- package/_assets/{index-_0lHBbSd.js → index-CGS4qhMY.js} +2 -2
- package/_assets/{index-Dg3SO4eX.js → index-COM0SPl1.js} +2 -2
- package/_assets/{index-BK7VmRLL.js → index-CP1u55g3.js} +2 -2
- package/_assets/{index-Btmp9LJ0.js → index-CQ25VkJI.js} +3 -3
- package/_assets/{index-nPJmHpI2.js → index-CXMa-J76.js} +4 -4
- package/_assets/{index-DmsoihJh.js → index-CYHgmrtK.js} +2 -2
- package/_assets/{index-DW8HTtwT.js → index-CaszeEvt.js} +2 -2
- package/_assets/{index-DTXSH816.js → index-CcqYtwt3.js} +2 -2
- package/_assets/{index-BIFoqh85.js → index-Cd4qg3y2.js} +4 -4
- package/_assets/{index-CLDZDevB.js → index-CuuExxM6.js} +2 -2
- package/_assets/index-CwvrGPbx.js +4213 -0
- package/_assets/{index-CiS3fCco.js → index-D0mKR1Uq.js} +2 -2
- package/_assets/{index-Cd4NOyyx.js → index-D391fIN0.js} +2 -2
- package/_assets/{index-BFyX6Uii.js → index-D5norgxm.js} +2 -2
- package/_assets/{index-BbEyFW28.js → index-DIDCs6WQ.js} +2 -2
- package/_assets/{index-CWQONcxa.js → index-DKQvgIG5.js} +5 -5
- package/_assets/{index-BA__KCKf.js → index-DRJSt6_X.js} +2 -2
- package/_assets/{index-DiORvAC6.js → index-DS7j0g6y.js} +5 -5
- package/_assets/{index-BEzGkEHj.js → index-DVuPr51_.js} +20 -20
- package/_assets/{index-CVn38tzc.css → index-DWaYKcdc.css} +1 -1
- package/_assets/{index-DjMT6Byy.js → index-DZScr1GS.js} +3 -3
- package/_assets/{index-D7B1UY76.js → index-DdnyYkRs.js} +2 -2
- package/_assets/{index-BDSSiPXq.js → index-DjLd5rYK.js} +2 -2
- package/_assets/{index-B-2zvuoP.js → index-DjtvFnLh.js} +2 -2
- package/_assets/index-Dn4KZdaA.js +2 -0
- package/_assets/{index-GisWkdZX.js → index-DomMPXQj.js} +4 -4
- package/_assets/{index-Bf2GWdI8.js → index-DonluLU3.js} +2 -2
- package/_assets/{index-DKGDHfPP.js → index-DqAm4Wjx.js} +2 -2
- package/_assets/index-Ds8cBLDT.js +28 -0
- package/_assets/{index-BrtVhFAJ.js → index-DskNH7_F.js} +2 -2
- package/_assets/index-DwipOeoQ.js +2 -0
- package/_assets/{index-BSCDPNbi.js → index-DxK-KEEO.js} +2 -2
- package/_assets/{index-C8P2V5Hx.js → index-DxeSXDhW.js} +7 -7
- package/_assets/{index-B3-7eIuI.js → index-DzdzPcAF.js} +3 -3
- package/_assets/{index-U8ihLOoc.js → index-QGdB1wb7.js} +2 -2
- package/_assets/{index-9LOzazBB.js → index-RJudh9Ct.js} +4 -4
- package/_assets/{index-BRPUnkAK.js → index-RX4XaJG4.js} +6 -6
- package/_assets/{index-BNgZDuxz.js → index-S7STKBrt.js} +4 -4
- package/_assets/{index-C7BzrW1m.js → index-UrlARuY0.js} +3 -3
- package/_assets/{index-DtX-noNj.js → index-_HKxCNov.js} +2 -2
- package/_assets/{index-DN0CmocU.js → index-atuR1r1C.js} +4 -4
- package/_assets/{index-RAKMXcMQ.js → index-fUy6m31Q.js} +3 -3
- package/_assets/{index-CJslWeB5.js → index-m-k1ONxw.js} +2 -2
- package/_assets/{index-CVYS747r.js → index-noVH-Q6R.js} +3 -3
- package/_assets/{index-yiZB9zm3.js → index-s3fqrm7k.js} +2 -2
- package/_assets/{index-DUZjNoEW.js → index-t08CzlbS.js} +2 -2
- package/_assets/{index-Bx47jLVY.js → index-tuk1tZ_u.js} +4 -4
- package/_assets/{index-DsfO6FEB.js → index-u2xgc_Gz.js} +2 -2
- package/_assets/{index-U3bGcYCp.js → index-yi3HWnj_.js} +3 -3
- package/_assets/{index.es-DOZvEBqr.js → index.es-BOLgFwZv.js} +2 -2
- package/_assets/{index.es-C4Ajm3Om.js → index.es-DFtzDt27.js} +5 -5
- package/_assets/{index.es-Bp4hyPxO.js → index.es-DN-4f9er.js} +2 -2
- package/_assets/{index.es-BX0WJZb3.js → index.es-Y_OTMJEv.js} +2 -2
- package/_assets/{info-TiK2m5-Y.js → info-D7ObqMR7.js} +3 -3
- package/_assets/{info-circle-Cjm1aaI5.js → info-circle-Cn1eJfl8.js} +3 -3
- package/_assets/{items-empty-BpIzHPJt.js → items-empty-CDQLWT4f.js} +2 -2
- package/_assets/jsxRuntime.module-KGmzlnK1.js +2 -0
- package/_assets/{jump-DsZxiANl.js → jump-lzA8KqWK.js} +2 -2
- package/_assets/{lightbulb-M3egNz3u.js → lightbulb-BKWlXPb6.js} +3 -3
- package/_assets/{linkAccount-BRcjAOJg.js → linkAccount-D7Lo5Fky.js} +2 -2
- package/_assets/{localBatchGatewayRequest-MRyP6ruT.js → localBatchGatewayRequest-CQTaa_Xl.js} +2 -2
- package/_assets/{mail-Bjuf52Eu.js → mail-uZxvzFx_.js} +2 -2
- package/_assets/{mobile-ChlkZUx7.js → mobile-NGKGetAS.js} +2 -2
- package/_assets/{more-odGFVZ6c.js → more-D3jNhOpW.js} +3 -3
- package/_assets/{native-B_aTen7C.js → native-cH_0VsVR.js} +2 -2
- package/_assets/{network-placeholder-Bx-MbMDF.js → network-placeholder-D5qcFSJX.js} +2 -2
- package/_assets/{networks-hTpee3Ao.js → networks-9q7XE_b5.js} +2 -2
- package/_assets/{nftPlaceholder-BsX6zBqg.js → nftPlaceholder-Cdllyb5L.js} +3 -3
- package/_assets/{off-CUpQ3Yl-.js → off-Cy19A7zA.js} +3 -3
- package/_assets/{onramp-D0PWlrC-.js → onramp-WYoC_2JJ.js} +2 -2
- package/_assets/{openzeppelin-Cw9sai0o.js → openzeppelin-B26CxjRn.js} +2 -2
- package/_assets/ownerOf-CR-pYgie.js +2 -0
- package/_assets/parseNft-DoCeRtaz.js +3 -0
- package/_assets/{parseSignature-Br2BNRrk.js → parseSignature-CFwV_3Sj.js} +4 -4
- package/_assets/{parseSignature-C_v-mn6Y.js → parseSignature-QwU35EfM.js} +2 -2
- package/_assets/passkeys-BDSLI6JH.js +2 -0
- package/_assets/{pay-with-exchange-DIpmlSrF.js → pay-with-exchange-Dn2ZiQRJ.js} +2 -2
- package/_assets/{play-store-C298g5Zr.js → play-store-BqyyIuw-.js} +2 -2
- package/_assets/{plus-c1-ca8Km.js → plus-TKHoVUto.js} +3 -3
- package/_assets/{prepare-contract-call-jaur3RsL.js → prepare-contract-call-C5MBXliq.js} +2 -2
- package/_assets/{qr-code-VlhVVdH4.js → qr-code-DNktFNYV.js} +2 -2
- package/_assets/{qr-overlay-DmOsCP4D.js → qr-overlay-2y6p10sk.js} +4 -4
- package/_assets/{react-B3VM-Euj.js → react-BG8VKwrs.js} +3 -3
- package/_assets/{receive-CwiywfD8.js → receive-CGyG04lY.js} +2 -2
- package/_assets/{recycle-horizontal-Dkaylhpp.js → recycle-horizontal-D7wSarZ0.js} +2 -2
- package/_assets/{ref-DHpb_JDM.js → ref-ClbGTQC1.js} +3 -3
- package/_assets/{refresh-Ck2C1pkV.js → refresh-Ne9sq_3A.js} +2 -2
- package/_assets/{reown-logo-BLgzyruS.js → reown-logo-CTKEUi_d.js} +3 -3
- package/_assets/{resolveImplementation-B29uUWXx.js → resolveImplementation-DLF7p0HK.js} +2 -2
- package/_assets/{resume-buy-B8LQM9gG.js → resume-buy-D6gjpV5I.js} +2 -2
- package/_assets/{rpc-FzbXjgsC.js → rpc-DjqI0NmR.js} +4 -4
- package/_assets/sales-empty-BCFlZ1Kk.js +2 -0
- package/_assets/{search-empty-DCF9ryoP.js → search-empty-BpMm9tI6.js} +2 -2
- package/_assets/{search-B7IwOtLS.js → search-oltotRQx.js} +2 -2
- package/_assets/{secp256k1-qe_45vGh.js → secp256k1-BqIlgE5L.js} +2 -2
- package/_assets/{secp256k1-D9hSYM0G.js → secp256k1-DRppp9VB.js} +2 -2
- package/_assets/{secp256k1-BqTpcPZk.js → secp256k1-UNqqlOQ7.js} +2 -2
- package/_assets/{send-Cpg_0X6f.js → send-CAaL-103.js} +2 -2
- package/_assets/{send-DmFe0ckc.js → send-avIcUC3Q.js} +2 -2
- package/_assets/send-batch-transaction-rKyhIytb.js +2 -0
- package/_assets/{send-eip712-transaction-hK2ImXv3.js → send-eip712-transaction-BoRspE2R.js} +3 -3
- package/_assets/send-gasless-transaction-xdY1TN2_.js +3 -0
- package/_assets/send-transaction-B3QVkcGi.js +3 -0
- package/_assets/{sendMetaTransaction-BSYJiftl.js → sendMetaTransaction-Dhuf5w6N.js} +2 -2
- package/_assets/{sendRawTransaction-e9Y5k_r2.js → sendRawTransaction-BbLkhJa0.js} +4 -4
- package/_assets/{sentry-CHz0jIQP.js → sentry-eiNE_T77.js} +3 -3
- package/_assets/{serializeTransaction-BkTRnorj.js → serializeTransaction-E2BUrxll.js} +2 -2
- package/_assets/{session-proposal-Db33AqAm.js → session-proposal-Bs7GYJdO.js} +2 -2
- package/_assets/session-request-BUwswPeh.js +3 -0
- package/_assets/{sha256-BHPU-yAR.js → sha256-QTFcttLy.js} +2 -2
- package/_assets/{sha3-B-waMVSt.js → sha3-BnLSGe3q.js} +2 -2
- package/_assets/{signing-BUSO0LRR.js → signing-B7DPAVqs.js} +4 -4
- package/_assets/skeleton.styles-bancAmCI.js +8 -0
- package/_assets/{socials-DnieC1jR.js → socials-Dw7-Rmzi.js} +2 -2
- package/_assets/{styled-CXThh17X.js → styled-BAp_hlJt.js} +3 -3
- package/_assets/{swapHorizontal-BN5KnB0R.js → swapHorizontal-AUQR3QWw.js} +2 -2
- package/_assets/{swapHorizontalBold-ui2X_0Pn.js → swapHorizontalBold-CJ-O8FMu.js} +3 -3
- package/_assets/{swapHorizontalMedium-CLLhrVwA.js → swapHorizontalMedium-C9_JLGaD.js} +2 -2
- package/_assets/{swapHorizontalRoundedBold-DSvQ6GmQ.js → swapHorizontalRoundedBold-CprcKnGZ.js} +3 -3
- package/_assets/{swapVertical-C77_weR3.js → swapVertical-C0UtEvQr.js} +3 -3
- package/_assets/{swaps-C9QGOtWS.js → swaps-D6QIvCFU.js} +2 -2
- package/_assets/{telegram-NiE4nQTP.js → telegram-BPHwvSxV.js} +2 -2
- package/_assets/{thirdweb-DogFxs1d.js → thirdweb-CRRacliS.js} +4 -4
- package/_assets/{three-dots-DCiCRV1J.js → three-dots-CuMLURps.js} +3 -3
- package/_assets/{to-serializable-transaction-CTo7dsx8.js → to-serializable-transaction-COhsgTk_.js} +3 -3
- package/_assets/totalSupply-DVGh8BDW.js +2 -0
- package/_assets/{transaction-ePDkVOA3.js → transaction-BBI2xlTk.js} +2 -2
- package/_assets/{transactionReceipt-BIPiW6iD.js → transactionReceipt-DHzlWkC9.js} +2 -2
- package/_assets/transactions-_PP0VZjh.js +17 -0
- package/_assets/{twitch-CljYs_zu.js → twitch-BEksYNQy.js} +2 -2
- package/_assets/{twitterIcon-BV_SOaTk.js → twitterIcon-C-RbKp2J.js} +3 -3
- package/_assets/useCreditPacks-ZEO0PAYJ.js +2 -0
- package/_assets/useInfiniteGrid-D25SubwU.js +2 -0
- package/_assets/useStore-DTTkvsJu.js +3 -0
- package/_assets/useTheme-L-wqQk2z.js +2 -0
- package/_assets/{utils-DvexXHkz.js → utils-BeknD1Pa.js} +2 -2
- package/_assets/{verify-Dp8FCc7I.js → verify-DX3fSqPA.js} +2 -2
- package/_assets/{verify-filled-oSUaVrok.js → verify-filled-rDNnAKA1.js} +3 -3
- package/_assets/{verifyHash-CqCcMMhr.js → verifyHash-BlkIyJF8.js} +2 -2
- package/_assets/{w3m-modal-CIbxmciZ.js → w3m-modal-CDsMCGJp.js} +2 -2
- package/_assets/{w3m-modal-p5Cog3Qg.js → w3m-modal-DRHjwfPR.js} +2 -2
- package/_assets/wait-for-tx-receipt-T0TE-tdi.js +2 -0
- package/_assets/{wallet-CJoKG7Dz.js → wallet-BDmvD81m.js} +3 -3
- package/_assets/{wallet-B3-jzGXG.js → wallet-Dgo2zwQv.js} +2 -2
- package/_assets/{wallet-placeholder-BSyNQtN-.js → wallet-placeholder-DD3BllZl.js} +3 -3
- package/_assets/{walletconnect-B5U8RBku.js → walletconnect-CeHvp7GG.js} +5 -5
- package/_assets/{wallets-CHxIfw2N.js → wallets-BkI_aTsn.js} +6 -6
- package/_assets/{warning-circle-CJPSee3J.js → warning-circle-0P7CyfRX.js} +3 -3
- package/_assets/{web-connector-BtV_awUR.js → web-connector-BOVGNKko.js} +4 -4
- package/_assets/{writeContract-CpjCnu21.js → writeContract-DwmLxQPI.js} +2 -2
- package/_assets/{x-B5IgbBUZ.js → x-Dp_viDtj.js} +2 -2
- package/_assets/{zora-sepolia-vv4fqay3.js → zora-sepolia-BNz_fefw.js} +2 -2
- package/_assets/{zoraTestnet-DTte8zft.js → zoraTestnet-k5nrTRiy.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Assets-D5FXIj8J.js +0 -939
- package/_assets/Cart-DlmaIZKc.js +0 -748
- package/_assets/DeploymentBuilder-Dok3fzUQ.js +0 -4
- package/_assets/LoadMore-C10HOksE.js +0 -8
- package/_assets/NotFound-vZRKOc0g.js +0 -18
- package/_assets/NotificationsBell-BoBMVi11.js +0 -142
- package/_assets/PhCaretDown-D8Xqsou-.js +0 -15
- package/_assets/PhCaretLeft-QDAnkLG7.js +0 -15
- package/_assets/arrow-bottom-BVQmW3wa.js +0 -9
- package/_assets/authorizations-DTpZ0TyT.js +0 -2
- package/_assets/builder-rs_Lwn-T.js +0 -2
- package/_assets/buy-cJ9O8eBB.js +0 -2
- package/_assets/chevron-left-5PMBZUkw.js +0 -9
- package/_assets/chevron-right-C56uPsti.js +0 -9
- package/_assets/chevron-top-k_S8fIel.js +0 -9
- package/_assets/collectionPage.styles-CcS9Jsdo.js +0 -41
- package/_assets/common-qZtjaINm.js +0 -2
- package/_assets/crumbs.styles-DaR36ESY.js +0 -10
- package/_assets/cursor-L-UT_Ljd.js +0 -4
- package/_assets/decimals-B6LTIrCi.js +0 -2
- package/_assets/decimals-CfiLsa9D.js +0 -2
- package/_assets/detectExtension-DVDsZnEO.js +0 -2
- package/_assets/errors-DPhIolcl.js +0 -2
- package/_assets/estimate-l1-fee-CrP0wpZI.js +0 -2
- package/_assets/eth_estimateGas-KldyvUIP.js +0 -2
- package/_assets/eth_getStorageAt-s_dGFL2L.js +0 -2
- package/_assets/eth_getTransactionCount-CNA7mZ1L.js +0 -2
- package/_assets/ethereum-jQLc-lmM.js +0 -2
- package/_assets/fetchTokenMetadata-Ducea3S0.js +0 -3
- package/_assets/get-ecosystem-wallet-info-CgB1vWwB.js +0 -2
- package/_assets/getNFT-C-OS-q6L.js +0 -2
- package/_assets/grid.styles-B3jUBgU_.js +0 -15
- package/_assets/in-app-wallet-calls-3yDlgTIx.js +0 -2
- package/_assets/index-CdCOuMju.js +0 -3
- package/_assets/index-CeM-P3No.js +0 -4213
- package/_assets/index-DaNWyzp1.js +0 -2
- package/_assets/index-Dx2EJyfL.js +0 -28
- package/_assets/index-_GOWI8LR.js +0 -2
- package/_assets/jsxRuntime.module-DOXvkhfj.js +0 -2
- package/_assets/ownerOf-DFm4GfKF.js +0 -2
- package/_assets/parseNft-Cyf0x7fr.js +0 -3
- package/_assets/passkeys-BmMXgrim.js +0 -2
- package/_assets/sales-empty-DiZA2HrL.js +0 -2
- package/_assets/send-batch-transaction-c61eKFtF.js +0 -2
- package/_assets/send-gasless-transaction-Dyjrrx3R.js +0 -3
- package/_assets/send-transaction-zu05RQQe.js +0 -3
- package/_assets/session-request-CRjyiqyl.js +0 -3
- package/_assets/skeleton.styles-TP3MzVpg.js +0 -8
- package/_assets/totalSupply-CxKD_Ej5.js +0 -2
- package/_assets/transactions-C-eBXrKM.js +0 -17
- package/_assets/useCreditPacks-4yPwv6ei.js +0 -2
- package/_assets/useInfiniteGrid-_cqZ0Aml.js +0 -2
- package/_assets/useStore-BjDvSkA0.js +0 -3
- package/_assets/useTheme-DV9ND1To.js +0 -2
- package/_assets/wait-for-tx-receipt-C-bfM-ME.js +0 -2
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{n as h,Y as g,t as o,p as c,O as n,s as u}from"./property-CbgY9QKj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="cb44c290-97ae-4565-9688-72de9e13ebab",e._sentryDebugIdIdentifier="sentry-dbid-cb44c290-97ae-4565-9688-72de9e13ebab")}catch{}})();var y=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a=(e,r,i,s)=>{for(var l=s>1?void 0:s?f(r,i):r,d=e.length-1,p;d>=0;d--)(p=e[d])&&(l=(s?p(r,i,l):p(l))||l);return s&&l&&y(r,i,l),l};let t=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return g`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",o`<path d="M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"/>`],["light",o`<path d="M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"/>`],["regular",o`<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"/>`],["bold",o`<path d="M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"/>`],["fill",o`<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"/>`],["duotone",o`<path d="M208,96l-80,80L48,96Z" opacity="0.2"/><path d="M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"/>`]]);t.styles=c`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;a([n({type:String,reflect:!0})],t.prototype,"size",2);a([n({type:String,reflect:!0})],t.prototype,"weight",2);a([n({type:String,reflect:!0})],t.prototype,"color",2);a([n({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=a([u("ph-caret-down")],t);export{t as PhCaretDown};
|
|
15
|
-
//# sourceMappingURL=PhCaretDown-D8Xqsou-.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{n as c,Y as h,t as a,p as f,O as n,s as g}from"./property-CbgY9QKj.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]="77cfe0ea-dee1-448c-943b-cf7c5b463cf5",t._sentryDebugIdIdentifier="sentry-dbid-77cfe0ea-dee1-448c-943b-cf7c5b463cf5")}catch{}})();var u=Object.defineProperty,y=Object.getOwnPropertyDescriptor,o=(t,r,i,l)=>{for(var s=l>1?void 0:l?y(r,i):r,d=t.length-1,p;d>=0;d--)(p=t[d])&&(s=(l?p(r,i,s):p(s))||s);return l&&s&&u(r,i,s),s};let e=class extends c{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return h`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${e.weightsMap.get((t=this.weight)!=null?t:"regular")}
|
|
10
|
-
</svg>`}};e.weightsMap=new Map([["thin",a`<path d="M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"/>`],["light",a`<path d="M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"/>`],["regular",a`<path d="M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"/>`],["bold",a`<path d="M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"/>`],["fill",a`<path d="M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"/>`],["duotone",a`<path d="M160,48V208L80,128Z" opacity="0.2"/><path d="M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"/>`]]);e.styles=f`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;o([n({type:String,reflect:!0})],e.prototype,"size",2);o([n({type:String,reflect:!0})],e.prototype,"weight",2);o([n({type:String,reflect:!0})],e.prototype,"color",2);o([n({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=o([g("ph-caret-left")],e);export{e as PhCaretLeft};
|
|
15
|
-
//# sourceMappingURL=PhCaretLeft-QDAnkLG7.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
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]="947e73f0-c159-4725-a4b0-99203094a4cd",e._sentryDebugIdIdentifier="sentry-dbid-947e73f0-c159-4725-a4b0-99203094a4cd")}catch{}})();const t=n`<svg fill="none" viewBox="0 0 14 15">
|
|
2
|
-
<path
|
|
3
|
-
fill="currentColor"
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
d="M7 1.99a1 1 0 0 1 1 1v7.58l2.46-2.46a1 1 0 0 1 1.41 1.42L7.7 13.69a1 1 0 0 1-1.41 0L2.12 9.53A1 1 0 0 1 3.54 8.1L6 10.57V3a1 1 0 0 1 1-1Z"
|
|
6
|
-
clip-rule="evenodd"
|
|
7
|
-
/>
|
|
8
|
-
</svg>`;export{t as arrowBottomSvg};
|
|
9
|
-
//# sourceMappingURL=arrow-bottom-BVQmW3wa.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{c as k,g as c,h as d,U as A,X as E,s as _,Y as D,j as y,Z as x,q as L,$ as I}from"./index-CeM-P3No.js";import"./react-B3VM-Euj.js";import{M as z,E as R,s as S}from"./sendMetaTransaction-BSYJiftl.js";import{C as i,M as P,Z as T,J as F,I as N}from"./ethers-DujCu8ER.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="02c1424d-0358-4801-9e80-d4d34760a84e",e._sentryDebugIdIdentifier="sentry-dbid-02c1424d-0358-4801-9e80-d4d34760a84e")}catch{}})();const C="".trim().toLowerCase(),g={enabled:C!=="0"&&C!=="false",relayerUrl:k.relayerUrl};function K(){return g.enabled}class p extends Error{constructor(r,t){super(`${r} reverted on-chain`),this.what=r,this.txHash=t,this.name="MetaTxRevertedError"}}class f extends Error{constructor(r,t,n){super(`${r} was submitted but not confirmed in time`),this.what=r,this.txHash=t,this.name="MetaTxPendingError",n&&"cause"in n&&(this.cause=n.cause)}}async function U(e,r,t){const n=u();let a;try{a=await n.waitForTransaction(e,1,(t==null?void 0:t.timeoutMs)??12e4)}catch(s){throw new f(r,e,{cause:s})}if(!a)throw new f(r,e);if(a.status===0)throw new p(r,e);return e}async function ee(e){const{txHash:r,what:t,isDone:n,timeoutMs:a=10*6e4,onWaiting:s}=e,l=Math.max(e.pollMs??5e3,50),w=u(),M=Date.now();for(;Date.now()-M<a;){try{if(await n())return r}catch{}try{const o=await w.getTransactionReceipt(r);if(o){if(o.status===0)throw new p(t,r);return r}}catch(o){if(o instanceof p)throw o}s==null||s(Date.now()-M),await new Promise(o=>setTimeout(o,l))}try{if(await n())return r}catch{}throw new f(t,r)}var O=(e=>(e.Allowance="allowance",e.Approval="approval",e.Minter="minter",e))(O||{});const h=["function allowance(address owner, address spender) view returns (uint256)","function approve(address spender, uint256 amount) returns (bool)"],m=["function isApprovedForAll(address owner, address operator) view returns (bool)","function setApprovalForAll(address operator, bool approved)"],v=["function globalMinters(address minter) view returns (bool)","function setMinters(address[] minters, bool[] values)"],b=P;function u(){return new F(k.rpcUrl)}async function $(e,r,t){const n=u();switch(e.kind){case"allowance":{const s=await new i(e.contractAddress,h,n).allowance(r,e.spenderAddress);return t==null||t<=0n?s.gt(0):s.gte(t.toString())}case"approval":return new i(e.contractAddress,m,n).isApprovedForAll(r,e.spenderAddress);case"minter":{const a=new i(e.contractAddress,v,n);try{return await a.globalMinters(e.spenderAddress)}catch{return!1}}}}function B(e){return e.kind==="allowance"?c(d.MANAToken,e.chainId):{...c(d.ERC721CollectionV2,e.chainId),address:e.contractAddress}}function Z(e,r){const t=new N(e.kind==="allowance"?h:e.kind==="approval"?m:v);switch(e.kind){case"allowance":return t.encodeFunctionData("approve",[e.spenderAddress,r?b:T]);case"approval":return t.encodeFunctionData("setApprovalForAll",[e.spenderAddress,r]);case"minter":return t.encodeFunctionData("setMinters",[[e.spenderAddress],[r]])}}const j=new Set(["eth_signTypedData_v4","eth_signTypedData","eth_sign","personal_sign","eth_requestAccounts","eth_accounts","eth_chainId"]);function q(e,r){return{send:(t,n=[])=>j.has(t)?e.send(t,n):r.send(t,n)}}async function G(e,r,t){const n=Z(e,t),a=B(e),s=u(),l=q(r.provider,s),w=await S(l,s,n,a,{serverURL:g.relayerUrl});await U(w,"the authorization")}function J(){var e;try{return((e=L.getState().session)==null?void 0:e.providerType)??null}catch{return null}}async function V(e,r){try{return await I(e.provider)===r}catch{return!1}}async function W(e){const{auth:r,signer:t,active:n}=e;if(g.enabled)try{await G(r,t,n);return}catch(a){if(a instanceof z&&a.code===R.USER_DENIED)throw a;const s=D(J()),l=s&&await V(t,r.chainId);if(!s||!l)throw y(a,{flow:"authorizations",step:"gasless_no_fallback",reason:s?"wrong-chain":"managed-wallet"}),a;y(a,{flow:"authorizations",step:"gasless_fallback"})}switch(await x(t.provider,r.chainId),r.kind){case"allowance":{await(await new i(r.contractAddress,h,t).approve(r.spenderAddress,n?b:T)).wait();return}case"approval":{await(await new i(r.contractAddress,m,t).setApprovalForAll(r.spenderAddress,n)).wait();return}case"minter":{await(await new i(r.contractAddress,v,t).setMinters([r.spenderAddress],[n])).wait();return}}}async function re(e){const r=await e.signer.getAddress();await $(e.auth,r,e.requiredWei)||await W({auth:e.auth,signer:e.signer,active:!0})}function te(e,r){return _(e)&&!r}function ne(e,r){return{kind:"allowance",contractAddress:c(d.MANAToken,e).address,spenderAddress:r,chainId:e}}function ae(e){const r=c(d.MANAToken,e),t=c(d.CreditsManager,e);return{id:"credits",group:"buying",kind:"allowance",contractAddress:r.address,spenderAddress:t.address,chainId:e}}function se(e){const r=c(d.MANAToken,e),t=A(e);return{id:"mana-marketplace",group:"buying",kind:"allowance",contractAddress:r.address,spenderAddress:t.address,chainId:e}}function oe(e){const r=e.spenderAddress.toLowerCase();return E(e.chainId).filter(t=>t.address.toLowerCase()!==r).map(t=>({...e,id:`${e.id}@${t.address.toLowerCase()}`,spenderAddress:t.address}))}function ie(e,r){const t=A(r);return{id:`selling:${e.toLowerCase()}`,group:"selling",kind:"approval",contractAddress:e,spenderAddress:t.address,chainId:r}}function ce(e,r){const t=A(r);return{id:`minting:${e.toLowerCase()}`,group:"minting",kind:"minter",contractAddress:e,spenderAddress:t.address,chainId:r}}export{O as A,p as M,ae as a,se as b,oe as c,ie as d,ce as e,$ as f,g,re as h,ee as i,U as j,f as k,K as l,q as m,ne as n,te as o,u as r,W as s};
|
|
2
|
-
//# sourceMappingURL=authorizations-DTpZ0TyT.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{c as h,b as g}from"./index-CeM-P3No.js";import{d as _}from"./dcl-schemas-D4UJavpl.js";import"./react-B3VM-Euj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="142ef80c-93df-4bf3-bdf8-bc0bf835a5a8",t._sentryDebugIdIdentifier="sentry-dbid-142ef80c-93df-4bf3-bdf8-bc0bf835a5a8")}catch{}})();const c=()=>`${h.builderServerUrl}/v1`;function b(t){return Array.isArray(t)?t:"results"in t&&Array.isArray(t.results)?t.results:"data"in t&&Array.isArray(t.data)?t.data:[]}async function m(t,n){const e=await g(t,{method:"GET",identity:n,metadata:{}});if(!e.ok)throw new Error(`builder-server ${e.status}: ${await e.text()}`);const s=await e.json();return s.data??s}function I(t,n){const e=n-t;return e>0?e:0}function w(t){var n,e,s,r,i;return((e=(n=t.data)==null?void 0:n.wearable)==null?void 0:e.category)??((r=(s=t.data)==null?void 0:s.emote)==null?void 0:r.category)??((i=t.data)==null?void 0:i.category)??t.type??"wearable"}function u(t){return`${c()}/storage/contents/${t}`}function a(t,n){if(!t)return"";if(/^https?:\/\//.test(t))return t;const e=n==null?void 0:n[t];return e?u(e):/^(ba|Qm)/.test(t)?u(t):""}async function y(t,n){try{const e=await fetch(`${c()}/items/${t}/${n}/contents`);if(!e.ok)return{};const s=await e.json();return s.data??s}catch{return{}}}const v="video.mp4";async function L(t,n){const e=await y(t,n),s=Object.keys(e).find(r=>r.endsWith(v));return s?u(e[s]):null}async function A(t,n,e){const s=a(t.thumbnail,t.contents)||a("thumbnail.png",t.contents);if(s)return s;if(n&&e){const r=await y(n,e);return a(t.thumbnail,r)||a("thumbnail.png",r)||a("image.png",r)}return""}async function $(t,n){const e=`${c()}/${t.toLowerCase()}/collections?is_published=true`,s=await m(e,n);return b(s).filter(r=>r.is_published&&!!r.contract_address).map(r=>({id:r.id,name:r.name,contractAddress:r.contract_address.toLowerCase(),isPublished:r.is_published,isApproved:r.is_approved,minters:(r.minters??[]).map(i=>i.toLowerCase())}))}async function C(t,n){const e=`${c()}/collections/${t.id}/items`,s=await m(e,n);return(await Promise.all(b(s).map(async i=>{const d=i.rarity??"common",l=Number(i.total_supply??0)||0;let o;try{o=_.Rarity.getMaxSupply(d)}catch{o=0}const f=(i.contract_address??t.contractAddress).toLowerCase(),p=i.blockchain_item_id??"";return{id:i.id,collectionId:t.id,collectionName:t.name,contractAddress:f,blockchainItemId:p,name:i.name,category:w(i),rarity:d,thumbnail:await A(i,f,p),type:i.type??"wearable",isPublished:i.is_published??t.isPublished,isApproved:i.is_approved??t.isApproved,totalSupply:l,maxSupply:o,remainingSupply:I(l,o),minters:t.minters}}))).filter(k)}function k(t){return t.isPublished&&t.isApproved&&t.blockchainItemId!==""&&t.blockchainItemId!=null&&t.remainingSupply>0}async function S(t,n){const e=await $(t,n);return(await Promise.all(e.map(async r=>{try{return await C(r,n)}catch{return[]}}))).flat()}export{L as a,S as b,$ as f};
|
|
2
|
-
//# sourceMappingURL=builder-rs_Lwn-T.js.map
|
package/_assets/buy-cJ9O8eBB.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as f,B as oe}from"./dcl-schemas-D4UJavpl.js";import{q as de,j as E,aH as ue,U as M,g,h as w,N as le,c as B,aI as fe,Z as R,aJ as T}from"./index-CeM-P3No.js";import{f as he,d as pe,h as G,r as k,A as ge,g as C,M as me,m as F,i as ye,j as H,k as xe}from"./authorizations-DTpZ0TyT.js";import"./react-B3VM-Euj.js";import{C as x,p as O,h as I,r as W,a as A,b as U,u as we,B as m,I as V,J as Ie}from"./ethers-DujCu8ER.js";import{M as q,E as $,s as z}from"./sendMetaTransaction-BSYJiftl.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]="e3b8fb0e-1177-4ef0-beed-2362ea7fd269",e._sentryDebugIdIdentifier="sentry-dbid-e3b8fb0e-1177-4ef0-beed-2362ea7fd269")}catch{}})();function v(e,t={}){E(new Error(`report-submitted-tx gave up: ${e}`),{flow:"report-submitted-tx",reason:e,...t})}function Ae(e){var n;if(e.salts.length===0||!e.txHash){v("nothing to report",{salts:e.salts.length,hasTxHash:!!e.txHash});return}let t=e.identity;if(!t)try{t=(n=de.getState().session)==null?void 0:n.identity}catch(a){E(a,{flow:"report-submitted-tx",reason:"wallet store threw"});return}if(!t){v("no identity in the wallet store",{salts:e.salts.length});return}ue(t,e.salts,e.txHash).then(a=>{a===0&&v("server recorded 0 rows",{salts:e.salts.length})}).catch(a=>{E(a,{flow:"report-submitted-tx",reason:"request failed"})})}const N=e=>Math.floor(e/1e3);async function be(e){return await le()&&await fe()?B.treasuryAddress:e}function b(e){switch(e.assetType){case f.TradeAssetType.ERC721:return e.tokenId;case f.TradeAssetType.COLLECTION_ITEM:return e.itemId;case f.TradeAssetType.ERC20:case f.TradeAssetType.USD_PEGGED_MANA:return e.amount;default:throw new Error(`Unsupported assetType ${String(e.assetType)}`)}}function j(e){return{checks:{uses:e.checks.uses,expiration:N(e.checks.expiration),effective:N(e.checks.effective),salt:A(e.checks.salt,32),contractSignatureIndex:e.checks.contractSignatureIndex,signerSignatureIndex:e.checks.signerSignatureIndex,allowedRoot:A(e.checks.allowedRoot||"0x",32),externalChecks:(e.checks.externalChecks??[]).map(t=>({contractAddress:t.contractAddress,selector:t.selector,value:t.value?t.value:"0x",required:t.required}))},sent:e.sent.map(t=>({assetType:t.assetType,contractAddress:t.contractAddress,value:b(t),extra:t.extra?t.extra:"0x"})),received:e.received.map(t=>({assetType:t.assetType,contractAddress:t.contractAddress,value:b(t),extra:t.extra?t.extra:"0x",beneficiary:t.beneficiary}))}}const Y={Trade:[{name:"checks",type:"Checks"},{name:"sent",type:"AssetWithoutBeneficiary[]"},{name:"received",type:"Asset[]"}],Asset:[{name:"assetType",type:"uint256"},{name:"contractAddress",type:"address"},{name:"value",type:"uint256"},{name:"extra",type:"bytes"},{name:"beneficiary",type:"address"}],AssetWithoutBeneficiary:[{name:"assetType",type:"uint256"},{name:"contractAddress",type:"address"},{name:"value",type:"uint256"},{name:"extra",type:"bytes"}],Checks:[{name:"uses",type:"uint256"},{name:"expiration",type:"uint256"},{name:"effective",type:"uint256"},{name:"salt",type:"bytes32"},{name:"contractSignatureIndex",type:"uint256"},{name:"signerSignatureIndex",type:"uint256"},{name:"allowedRoot",type:"bytes32"},{name:"externalChecks",type:"ExternalCheck[]"}],ExternalCheck:[{name:"contractAddress",type:"address"},{name:"selector",type:"bytes4"},{name:"value",type:"bytes"},{name:"required",type:"bool"}]},Z=["function contractSignatureIndex() view returns (uint256)","function signerSignatureIndex(address) view returns (uint256)"];function J(e,t){const n=M(t);return{kind:ge.Minter,contractAddress:e,spenderAddress:n.address,chainId:t}}async function je(e){const t=pe(e.contractAddress,e.chainId);await G({auth:t,signer:e.signer})}async function Ye(e){const{signer:t,nft:n,usdPrice:a,expiresAtMs:s,fingerprint:r=""}=e,i=(await t.getAddress()).toLowerCase(),c=M(n.chainId),o=g(w.MANAToken,n.chainId),d=new x(c.address,Z,k()),u=await d.contractSignatureIndex(),l=await d.signerSignatureIndex(i),h={signer:i,network:n.network,chainId:n.chainId,type:f.TradeType.PUBLIC_NFT_ORDER,checks:{uses:1,expiration:s,effective:Date.now(),salt:I(W(32)),contractSignatureIndex:u.toNumber(),signerSignatureIndex:l.toNumber(),allowedRoot:"0x",externalChecks:[]},sent:[{assetType:f.TradeAssetType.ERC721,contractAddress:n.contractAddress,tokenId:n.tokenId,extra:r}],received:[{assetType:f.TradeAssetType.USD_PEGGED_MANA,contractAddress:o.address,amount:O(String(a)).toString(),extra:"",beneficiary:await be(i)}]},y={name:c.name,version:c.version,salt:A(I(n.chainId),32),verifyingContract:c.address},p=await t._signTypedData(y,Y,j(h));return{...h,signature:p}}async function Ze(e){return he(J(e.contractAddress,e.chainId),"")}async function Je(e){await G({auth:J(e.contractAddress,e.chainId),signer:e.signer})}async function Ke(e){const{signer:t,item:n,usdPrice:a,expiresAtMs:s}=e,r=(await t.getAddress()).toLowerCase(),i=M(n.chainId),c=g(w.MANAToken,n.chainId),o=new x(i.address,Z,k()),d=await o.contractSignatureIndex(),u=await o.signerSignatureIndex(r),l=Math.max(1,Math.floor(e.uses??1)),h={signer:r,network:n.network,chainId:n.chainId,type:f.TradeType.PUBLIC_ITEM_ORDER,checks:{uses:l,expiration:s,effective:Date.now(),salt:I(W(32)),contractSignatureIndex:d.toNumber(),signerSignatureIndex:u.toNumber(),allowedRoot:"0x",externalChecks:[]},sent:[{assetType:f.TradeAssetType.COLLECTION_ITEM,contractAddress:n.contractAddress,itemId:n.itemId,extra:""}],received:[{assetType:f.TradeAssetType.USD_PEGGED_MANA,contractAddress:c.address,amount:O(String(a)).toString(),extra:"",beneficiary:r}]},y={name:i.name,version:i.version,salt:A(I(n.chainId),32),verifyingContract:i.address},p=await t._signTypedData(y,Y,j(h));return{...h,signature:p}}const{defaultAbiCoder:K,Interface:D,hexZeroPad:S,hexlify:Te,randomBytes:ke}=we,Ce="tuple(address collection,uint256[] ids,uint256[] prices,address[] beneficiaries)[]",ve="tuple(address signer,bytes signature,tuple(uint256 uses,uint256 expiration,uint256 effective,bytes32 salt,uint256 contractSignatureIndex,uint256 signerSignatureIndex,bytes32 allowedRoot,bytes32[] allowedProof,tuple(address contractAddress,bytes4 selector,bytes value,bool required)[] externalChecks) checks,tuple(uint256 assetType,address contractAddress,uint256 value,address beneficiary,bytes extra)[] sent,tuple(uint256 assetType,address contractAddress,uint256 value,address beneficiary,bytes extra)[] received)[]",X="0x"+"0".repeat(64),L=e=>{const t=Number(e);return t>1e12?Math.floor(t/1e3):t};function _(e,t){return{signer:e.signer,signature:e.signature,checks:{uses:e.checks.uses,expiration:L(e.checks.expiration),effective:L(e.checks.effective),salt:S(e.checks.salt,32),contractSignatureIndex:e.checks.contractSignatureIndex,signerSignatureIndex:e.checks.signerSignatureIndex,allowedRoot:e.checks.allowedRoot&&e.checks.allowedRoot!=="0x"?e.checks.allowedRoot:X,allowedProof:[],externalChecks:(e.checks.externalChecks??[]).map(n=>({contractAddress:n.contractAddress,selector:n.selector,value:n.value,required:n.required}))},sent:e.sent.map(n=>({assetType:n.assetType,contractAddress:n.contractAddress,value:b(n),beneficiary:t,extra:n.extra||"0x"})),received:e.received.map(n=>({assetType:n.assetType,contractAddress:n.contractAddress,value:b(n),beneficiary:"beneficiary"in n&&n.beneficiary?n.beneficiary:t,extra:n.extra||"0x"}))}}function Ee(e,t,n){const a=new D(n).getSighash("accept"),s=K.encode([ve],[e.map(r=>_(r,t))]);return{selector:a,data:s}}function P(e){if(e!==80002)return{};const t=U("30","gwei");return{maxPriorityFeePerGas:t,maxFeePerGas:t.add(U("50","gwei"))}}function Se(e){return e?e.startsWith("0x")?S(e,32):S("0x"+oe.from(e).toString("hex"),32):X}function Me(e,t,n,a,s,r){const{selector:i,data:c}=Ee(n,a,t);return ee({target:e,selector:i,data:c,credits:s,maxCreditedValue:r})}function Q(e,t){return e.map(n=>({collection:n.collection,ids:[n.itemId],prices:[n.priceWei],beneficiaries:[t]}))}function Re(e,t,n){const a=new D(n).getSighash("buy"),s=K.encode([Ce],[Q(e,t)]);return{selector:a,data:s}}function Xe(e,t,n){return new D(n).encodeFunctionData("buy",[Q(e,t)])}function De(e,t,n,a,s,r){const{selector:i,data:c}=Re(n,a,t);return ee({target:e,selector:i,data:c,credits:s,maxCreditedValue:r})}function ee(e){const{target:t,selector:n,data:a,credits:s,maxCreditedValue:r}=e,i=s.reduce((o,d)=>o.add(m.from(d.availableAmount)),m.from(0)),c=m.from(r).sub(i);return{credits:s.map(o=>({value:o.amount,expiresAt:Number(o.expiresAt),salt:Se(o.id)})),creditsSignatures:s.map(o=>o.signature),externalCall:{target:t,selector:n,data:a,expiresAt:Math.floor(Date.now()/1e3)+3600*24,salt:Te(ke(32))},customExternalCallSignature:"0x",maxUncreditedValue:c.isNegative()?"0":c.toString(),maxCreditedValue:r}}function te(e){const t=new Map;for(const n of ne(e)){const a=_e(n),s=t.get(a);if(n.kind==="store"){s&&s.kind==="store"?s.purchases.push(n):t.set(a,{kind:"store",chainId:n.chainId,purchases:[n]});continue}s&&s.kind==="trade"?s.purchases.push(n):t.set(a,{kind:"trade",chainId:n.trade.chainId,marketplace:n.trade.contract.toLowerCase(),purchases:[n]})}return[...t.values()]}function _e(e){return e.kind==="store"?`store:${e.chainId}`:`trade:${e.trade.chainId}:${e.trade.contract.toLowerCase()}`}function ne(e){return e.map(t=>"kind"in t?t:{kind:"trade",...t})}function Pe(e){const t=new Set;let n=m.from(0);for(const a of e){const s=a.credits.map(r=>r.id).join(",");t.has(s)||(t.add(s),n=n.add(m.from(a.maxCreditedValue)))}return n.toString()}function Ue(e){const t=new Map;for(const n of e)t.has(n.id)||t.set(n.id,n);return[...t.values()]}function ae(e,t){const n=Ue(e.purchases.flatMap(i=>i.credits)),a=Pe(e.purchases),s=n.map(i=>i.id);if(e.kind==="store"){const i=g(w.CollectionStore,e.chainId);return{args:De(i.address,i.abi,e.purchases.map(c=>c.item),t,n,a),salts:s,chainId:e.chainId}}const r=g(T(e.marketplace),e.chainId);return{args:Me(r.address,r.abi,e.purchases.map(i=>i.trade),t,n,a),salts:s,chainId:e.chainId}}async function Ne(e){const t=e.received[0],n=t.amount??"0";if(t.assetType!==Number(f.TradeAssetType.USD_PEGGED_MANA))return n;const a=g(T(e.contract),e.chainId),s=new Ie(B.rpcUrl),i=await new x(a.address,["function manaUsdAggregator() view returns (address)"],s).manaUsdAggregator(),c=new x(i,["function decimals() view returns (uint8)","function latestRoundData() view returns (uint80,int256,uint256,uint256,uint80)"],s),o=await c.decimals(),d=await c.latestRoundData(),u=m.from(d[1]);return m.from(n).mul(m.from(10).pow(o)).div(u).mul(102).div(100).toString()}async function se(e,t,n,a){const s=n.provider;await R(s,e);const r=g(w.CreditsManager,e),c=await new x(r.address,r.abi,n).useCredits(t,P(e));return a==null||a(c.hash),(await c.wait()).transactionHash}async function Le(e,t,n,a){const s=g(T(e.contract),e.chainId),r=_(e,n),i=new V(s.abi).encodeFunctionData("cancelSignature",[[r]]),c=k(),o=F(t.provider,c),d=await z(o,c,i,s,{serverURL:C.relayerUrl});return a!=null&&a.isCancelled?await ye({txHash:d,what:"the listing cancellation",isDone:a.isCancelled,onWaiting:a.onWaiting}):await H(d,"the listing cancellation"),d}const re=["function transferFrom(address from, address to, uint256 tokenId)"];async function Be(e){const{contractAddress:t,chainId:n,from:a,to:s,tokenId:r,signer:i}=e,c={...g(w.ERC721CollectionV2,n),address:t},o=new V(re).encodeFunctionData("transferFrom",[a,s,r]),d=k(),u=F(i.provider,d),l=await z(u,d,o,c,{serverURL:C.relayerUrl});return await H(l,"the transfer"),l}async function Qe(e){const{contractAddress:t,chainId:n,tokenId:a,to:s,signer:r}=e,i=(await r.getAddress()).toLowerCase();if(C.enabled)try{return await Be({contractAddress:t,chainId:n,from:i,to:s,tokenId:a,signer:r})}catch(u){if(u instanceof q&&u.code===$.USER_DENIED||u instanceof xe)throw u;console.warn("[transferItem] gasless meta-tx failed, falling back to a direct tx:",u)}return await R(r.provider,n),(await(await new x(t,re,r).transferFrom(i,s,a,P(n))).wait()).transactionHash}class Ge extends Error{constructor(t){super("The gasless cancellation was not confirmed"),this.cause=t,this.name="GaslessCancelFailedError"}get definitive(){var t;return this.cause instanceof me||((t=this.cause)==null?void 0:t.name)==="MetaTxRevertedError"}}async function et(e){const{trade:t,signer:n,mode:a="auto",watch:s}=e,r=(await n.getAddress()).toLowerCase();if(C.enabled&&a!=="direct")try{return await Le(t,n,r,s)}catch(l){if(l instanceof q&&l.code===$.USER_DENIED)throw l;if(console.warn("[cancelListing] gasless meta-tx failed:",l),a==="gasless-only")throw new Ge(l)}await R(n.provider,t.chainId);const i=g(T(t.contract),t.chainId),c=_(t,r);return(await(await new x(i.address,i.abi,n).cancelSignature([c],P(t.chainId))).wait()).transactionHash}async function Fe(e){const{purchase:t,buyer:n,signer:a,onBroadcast:s,onReverted:r}=e;if(t.credits.length===0)throw new Error("No credits to spend");const{args:i,chainId:c}=ae(te([t])[0],n);try{return await se(c,i,a,o=>s==null?void 0:s({txHash:o}))}catch(o){throw ie(o)&&(r==null||r({txHash:He(o)})),o}}async function tt(e){const{trade:t,buyer:n,signer:a,credits:s,onBroadcast:r,onReverted:i}=e;if(s.length===0)throw new Error("No credits to spend");const c=e.maxCreditedValue??await Ne(t);return Fe({purchase:{kind:"trade",trade:t,credits:s,maxCreditedValue:c},buyer:n,signer:a,onBroadcast:r,onReverted:i})}function ie(e){var t;return((t=ce(e))==null?void 0:t.status)===0}function He(e){var t;return((t=ce(e))==null?void 0:t.transactionHash)??null}function ce(e){return e==null?void 0:e.receipt}async function nt(e){const{buyer:t,signer:n,onSigned:a,onBroadcast:s,onSettled:r,onReverted:i}=e,c=ne(e.purchases);if(c.length===0)throw new Error("No items to buy");const o=te(c),d=[];for(const u of o){const{args:l,salts:h}=ae(u,t);let y;try{y=await se(u.chainId,l,n,p=>{a==null||a(d.length+1,o.length),s==null||s({txHash:p,salts:h}),Ae({txHash:p,salts:h})})}catch(p){throw ie(p)&&(i==null||i({salts:h})),p}d.push(y),r==null||r({txHash:y,salts:h})}return d}export{Ge as G,Y as O,Ke as a,ae as b,et as c,je as d,Je as e,Ye as f,te as g,nt as h,Ze as i,Fe as j,_ as k,P as l,Xe as m,Q as n,Se as o,_e as p,tt as q,Ae as r,se as s,Qe as t};
|
|
2
|
-
//# sourceMappingURL=buy-cJ9O8eBB.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
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:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4ce074e1-d9f9-4b29-a9f5-bfc95aca5377",e._sentryDebugIdIdentifier="sentry-dbid-4ce074e1-d9f9-4b29-a9f5-bfc95aca5377")}catch{}})();const r=d`<svg fill="none" viewBox="0 0 16 16">
|
|
2
|
-
<path
|
|
3
|
-
fill="currentColor"
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
d="M11.04 1.46a1 1 0 0 1 0 1.41L5.91 8l5.13 5.13a1 1 0 1 1-1.41 1.41L3.79 8.71a1 1 0 0 1 0-1.42l5.84-5.83a1 1 0 0 1 1.41 0Z"
|
|
6
|
-
clip-rule="evenodd"
|
|
7
|
-
/>
|
|
8
|
-
</svg>`;export{r as chevronLeftSvg};
|
|
9
|
-
//# sourceMappingURL=chevron-left-5PMBZUkw.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
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:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8e9aa522-cae4-482d-8a6a-7415e0318ce1",e._sentryDebugIdIdentifier="sentry-dbid-8e9aa522-cae4-482d-8a6a-7415e0318ce1")}catch{}})();const r=d`<svg fill="none" viewBox="0 0 16 16">
|
|
2
|
-
<path
|
|
3
|
-
fill="currentColor"
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
d="M4.96 14.54a1 1 0 0 1 0-1.41L10.09 8 4.96 2.87a1 1 0 0 1 1.41-1.41l5.84 5.83a1 1 0 0 1 0 1.42l-5.84 5.83a1 1 0 0 1-1.41 0Z"
|
|
6
|
-
clip-rule="evenodd"
|
|
7
|
-
/>
|
|
8
|
-
</svg>`;export{r as chevronRightSvg};
|
|
9
|
-
//# sourceMappingURL=chevron-right-C56uPsti.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
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:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="726569a8-2ea4-40b0-aaa4-c556b20afc4d",e._sentryDebugIdIdentifier="sentry-dbid-726569a8-2ea4-40b0-aaa4-c556b20afc4d")}catch{}})();const r=a`<svg fill="none" viewBox="0 0 16 16">
|
|
2
|
-
<path
|
|
3
|
-
fill="currentColor"
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
d="M14.54 11.04a1 1 0 0 1-1.41 0L8 5.92l-5.13 5.12a1 1 0 1 1-1.41-1.41l5.83-5.84a1 1 0 0 1 1.42 0l5.83 5.84a1 1 0 0 1 0 1.41Z"
|
|
6
|
-
clip-rule="evenodd"
|
|
7
|
-
/>
|
|
8
|
-
</svg>`;export{r as chevronTopSvg};
|
|
9
|
-
//# sourceMappingURL=chevron-top-k_S8fIel.js.map
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import{a as t,t as r}from"./index-CeM-P3No.js";import{c as s}from"./crumbs.styles-DaR36ESY.js";import"./react-B3VM-Euj.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new o.Error().stack;n&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[n]="2d80182f-de41-4abb-9629-125d8404b2d2",o._sentryDebugIdIdentifier="sentry-dbid-2d80182f-de41-4abb-9629-125d8404b2d2")}catch{}})();const l="https://cdn.decentraland.org/@dcl/shop/1.12.2-34943028392.commit-9a41f7d/_assets/default-cover-7vUE644d.jpeg",{colors:e}=r,f=t.div`
|
|
2
|
-
max-width: 1721px;
|
|
3
|
-
margin: 0 auto;
|
|
4
|
-
`,b=t.nav`
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: 8px;
|
|
8
|
-
font-size: 13px;
|
|
9
|
-
color: ${e.gray4};
|
|
10
|
-
margin-bottom: 18px;
|
|
11
|
-
${s};
|
|
12
|
-
`,p=t.button`
|
|
13
|
-
background: none;
|
|
14
|
-
border: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
color: ${e.gray4};
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
|
|
19
|
-
&:hover {
|
|
20
|
-
color: ${e.white};
|
|
21
|
-
}
|
|
22
|
-
`,g=t.span`
|
|
23
|
-
color: ${e.softWhite};
|
|
24
|
-
font-weight: 600;
|
|
25
|
-
`,m=t.div`
|
|
26
|
-
flex: none;
|
|
27
|
-
width: 265px;
|
|
28
|
-
|
|
29
|
-
${r.media.maxWidth("lg")} {
|
|
30
|
-
width: 100%;
|
|
31
|
-
}
|
|
32
|
-
`,u=t.div`
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
min-height: 44px;
|
|
36
|
-
margin-bottom: 16px;
|
|
37
|
-
`,h=t.span`
|
|
38
|
-
color: ${e.softWhite};
|
|
39
|
-
font-weight: 600;
|
|
40
|
-
`;export{b as C,f as P,m as S,p as a,g as b,u as c,l as d,h as e};
|
|
41
|
-
//# sourceMappingURL=collectionPage.styles-CcS9Jsdo.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as a}from"./utils-DvexXHkz.js";import"./sentry-CHz0jIQP.js";import"./react-B3VM-Euj.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]="02c2b84c-cc26-4ac0-961b-749facaa7de2",n._sentryDebugIdIdentifier="sentry-dbid-02c2b84c-cc26-4ac0-961b-749facaa7de2")}catch{}})();async function c(n){const e=await a();if(!n.every(i=>e.includes(i.id)))throw new Error(`Insight is not available for chains ${n.filter(i=>!e.includes(i.id)).map(i=>i.id).join(", ")}`)}export{c as assertInsightEnabled};
|
|
2
|
-
//# sourceMappingURL=common-qZtjaINm.js.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{t as a,k as t}from"./index-CeM-P3No.js";import"./react-B3VM-Euj.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]="df7f91eb-938a-4c3f-9b9d-9a9aa37b0afe",e._sentryDebugIdIdentifier="sentry-dbid-df7f91eb-938a-4c3f-9b9d-9a9aa37b0afe")}catch{}})();const r=t`
|
|
2
|
-
width: 100vw;
|
|
3
|
-
margin-left: calc(-50vw + 50%);
|
|
4
|
-
padding: 0 54px;
|
|
5
|
-
|
|
6
|
-
${a.media.maxWidth("mobile")} {
|
|
7
|
-
padding: 0 16px;
|
|
8
|
-
}
|
|
9
|
-
`;export{r as c};
|
|
10
|
-
//# sourceMappingURL=crumbs.styles-DaR36ESY.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
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]="16bd2926-a918-4eb1-9fdc-5cb0f5e05470",e._sentryDebugIdIdentifier="sentry-dbid-16bd2926-a918-4eb1-9fdc-5cb0f5e05470")}catch{}})();const t=n` <svg fill="none" viewBox="0 0 13 4">
|
|
2
|
-
<path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
|
|
3
|
-
</svg>`;export{t as cursorSvg};
|
|
4
|
-
//# sourceMappingURL=cursor-L-UT_Ljd.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{w as r}from"./utils-DvexXHkz.js";import{d as t}from"./decimals-CfiLsa9D.js";import"./sentry-CHz0jIQP.js";import"./react-B3VM-Euj.js";import"./prepare-contract-call-jaur3RsL.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]="b5fc8689-c165-4b0c-8366-2ea7a6c423f6",e._sentryDebugIdIdentifier="sentry-dbid-b5fc8689-c165-4b0c-8366-2ea7a6c423f6")}catch{}})();async function o(e){return r(()=>t(e),{cacheKey:`${e.contract.chain.id}:${e.contract.address}:decimals`,cacheTime:Number.POSITIVE_INFINITY})}export{o as decimals};
|
|
2
|
-
//# sourceMappingURL=decimals-B6LTIrCi.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as n}from"./prepare-contract-call-jaur3RsL.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]="17922e89-03ad-43f5-a268-2ab2e947617a",e._sentryDebugIdIdentifier="sentry-dbid-17922e89-03ad-43f5-a268-2ab2e947617a")}catch{}})();const a="0x313ce567",r=[],d=[{type:"uint8"}];async function c(e){return n({contract:e.contract,method:[a,r,d],params:[]})}export{c as d};
|
|
2
|
-
//# sourceMappingURL=decimals-CfiLsa9D.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t}from"./prepare-contract-call-jaur3RsL.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]="fd98733a-9d2b-4093-9829-6ee2454fdd84",e._sentryDebugIdIdentifier="sentry-dbid-fd98733a-9d2b-4093-9829-6ee2454fdd84")}catch{}})();function f(e){const d=Array.isArray(e.method)?e.method[0]:t(e.method);return e.availableSelectors.includes(d)}export{f as d};
|
|
2
|
-
//# sourceMappingURL=detectExtension-DVDsZnEO.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as n,i as o,e as i,f as a,C as u}from"./index-CeM-P3No.js";import"./react-B3VM-Euj.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]="3e590aa9-a33e-48ad-8a01-51700b943024",r._sentryDebugIdIdentifier="sentry-dbid-3e590aa9-a33e-48ad-8a01-51700b943024")}catch{}})();function d(r){const e=r;return e.code===4001||e.name==="AbortError"||/reject|denied|cancel/i.test(e.message??"")}function l(r){const e=r;return e.code===402||e.status===402||(e.message??"").toLowerCase().includes("insufficient")}function g(r,e,s={}){if(d(r))return n("errors.rejected");if(o(r))return n("errors.wrongNetwork",{current:i(r.current),required:i(r.required)});if(a(r))return n("errors.walletUnauthorized");if(s.sale){const t=(r.message??"").toLowerCase();if(t.includes("insufficient"))return n("errors.insufficient",{currency:u.name});if(/not for sale|not found|no active listing|404/.test(t))return n("errors.soldOrRemoved");if(t.includes("your own listing"))return n("errors.cantBuyOwn")}return e}export{l as a,g as f,d as i};
|
|
2
|
-
//# sourceMappingURL=errors-DPhIolcl.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as o,t as s}from"./to-serializable-transaction-CTo7dsx8.js";import{r as c}from"./prepare-contract-call-jaur3RsL.js";import{s as d}from"./signing-BUSO0LRR.js";import"./index-CeM-P3No.js";import"./react-B3VM-Euj.js";import"./dcl-schemas-D4UJavpl.js";import"./sentry-CHz0jIQP.js";import"./ethers-DujCu8ER.js";import"./intl-AKLEHPeO.js";import"./transaction-ePDkVOA3.js";import"./utils-DvexXHkz.js";import"./get-bytecode-Cn7UTcHZ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="eaa87de1-cbd8-4d43-8084-aada85805156",t._sentryDebugIdIdentifier="sentry-dbid-eaa87de1-cbd8-4d43-8084-aada85805156")}catch{}})();const m="0x420000000000000000000000000000000000000F";async function P(t){const{transaction:e,gasPriceOracleAddress:a}=t,r=o({address:a||m,chain:e.chain,client:e.client}),{gasPrice:l,...i}=await s({transaction:e}),n=d({transaction:i});return c({contract:r,method:"function getL1Fee(bytes memory _data) view returns (uint256)",params:[n]})}export{P as estimateL1Fee};
|
|
2
|
-
//# sourceMappingURL=estimate-l1-fee-CrP0wpZI.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{h as s}from"./prepare-contract-call-jaur3RsL.js";import"./utils-DvexXHkz.js";import"./sentry-CHz0jIQP.js";import"./react-B3VM-Euj.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]="f0093f6b-5960-4dbe-b4ab-f265762ad1b7",e._sentryDebugIdIdentifier="sentry-dbid-f0093f6b-5960-4dbe-b4ab-f265762ad1b7")}catch{}})();async function o(e,t){const n=await e({method:"eth_estimateGas",params:[t]});return s(n)}export{o as eth_estimateGas};
|
|
2
|
-
//# sourceMappingURL=eth_estimateGas-KldyvUIP.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as d}from"./prepare-contract-call-jaur3RsL.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]="71b4eda8-69e1-4232-a132-210bd31506fd",e._sentryDebugIdIdentifier="sentry-dbid-71b4eda8-69e1-4232-a132-210bd31506fd")}catch{}})();async function r(e,t){return await e({method:"eth_getStorageAt",params:[d(t.address),t.position,t.blockTag??"latest"]})}export{r as e};
|
|
2
|
-
//# sourceMappingURL=eth_getStorageAt-s_dGFL2L.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{n as o,a as r}from"./prepare-contract-call-jaur3RsL.js";import"./utils-DvexXHkz.js";import"./sentry-CHz0jIQP.js";import"./react-B3VM-Euj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1f7cbaee-fb9e-44d8-87e5-230c5cf30589",e._sentryDebugIdIdentifier="sentry-dbid-1f7cbaee-fb9e-44d8-87e5-230c5cf30589")}catch{}})();async function i(e,n){const t=await e({method:"eth_getTransactionCount",params:[n.address,n.blockNumber?o(n.blockNumber):n.blockTag||"pending"]});return r(t)}export{i as eth_getTransactionCount};
|
|
2
|
-
//# sourceMappingURL=eth_getTransactionCount-CNA7mZ1L.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d}from"./utils-DvexXHkz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1eb6bd23-243e-4448-b85d-b80897bd838d",e._sentryDebugIdIdentifier="sentry-dbid-1eb6bd23-243e-4448-b85d-b80897bd838d")}catch{}})();const t=d({blockExplorers:[{name:"Etherscan",url:"https://etherscan.io"}],id:1,name:"Ethereum",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"}}),b=t;export{t as e,b as m};
|
|
2
|
-
//# sourceMappingURL=ethereum-jQLc-lmM.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/to-serializable-transaction-CTo7dsx8.js","_assets/index-CeM-P3No.js","_assets/react-B3VM-Euj.js","_assets/dcl-schemas-D4UJavpl.js","_assets/sentry-CHz0jIQP.js","_assets/ethers-DujCu8ER.js","_assets/intl-AKLEHPeO.js","_assets/index-CVn38tzc.css","_assets/prepare-contract-call-jaur3RsL.js","_assets/utils-DvexXHkz.js","_assets/transaction-ePDkVOA3.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as s}from"./index-CeM-P3No.js";import{b as c}from"./uint8-array-BMe04WIx.js";import{n as d}from"./prepare-contract-call-jaur3RsL.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]="406b0f92-5002-4b0d-8dc0-03a019d13166",t._sentryDebugIdIdentifier="sentry-dbid-406b0f92-5002-4b0d-8dc0-03a019d13166")}catch{}})();const f="data:application/json;base64";function u(t){return!!t.toLowerCase().startsWith(f)}function l(t){const o=t.indexOf(","),r=t.slice(o+1);return c(r)}const w="data:application/json;utf-8";function h(t){return!!t.toLowerCase().startsWith(w)}function y(t){const o=t.indexOf(","),r=t.slice(o+1);try{return decodeURIComponent(r)}catch{return r}}async function _(t){const{client:o,tokenId:r,tokenUri:n}=t;if(u(n))try{return JSON.parse(l(n))}catch(e){throw console.error("Failed to fetch base64 encoded NFT",{tokenId:r,tokenUri:n},e),e}if(h(n))try{return JSON.parse(y(n))}catch(e){throw console.error("Failed to fetch utf8 encoded NFT",{tokenId:r,tokenUri:n},e),e}const{download:a}=await s(async()=>{const{download:e}=await import("./to-serializable-transaction-CTo7dsx8.js").then(i=>i.L);return{download:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]));try{if(!n.includes("{id}"))return await(await a({client:o,uri:n})).json()}catch(e){throw console.error("Failed to fetch non-dynamic NFT",{tokenId:r,tokenUri:n},e),e}try{try{return await(await a({client:o,uri:n.replace("{id}",d(r,{size:32}).slice(2))})).json()}catch{return await(await a({client:o,uri:n.replace("{id}",r.toString())})).json()}}catch(e){throw console.error("Failed to fetch dynamic NFT",{tokenId:r,tokenUri:n},e),e}}export{_ as f};
|
|
3
|
-
//# sourceMappingURL=fetchTokenMetadata-Ducea3S0.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as l}from"./execute-CquTb3TI.js";import"./prepare-contract-call-jaur3RsL.js";import"./utils-DvexXHkz.js";import"./sentry-CHz0jIQP.js";import"./react-B3VM-Euj.js";import"./index-CeM-P3No.js";import"./dcl-schemas-D4UJavpl.js";import"./ethers-DujCu8ER.js";import"./intl-AKLEHPeO.js";import"./detectExtension-DVDsZnEO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="92703b34-82df-45e1-bcfd-1bd8f96e9be2",e._sentryDebugIdIdentifier="sentry-dbid-92703b34-82df-45e1-bcfd-1bd8f96e9be2")}catch{}})();async function b(e){const n=await l(e);return{app:{android:null,browser:null,chrome:null,edge:null,firefox:null,ios:null,linux:null,mac:null,opera:null,safari:null,windows:null},desktop:{native:null,universal:null},homepage:n.homepage||"",id:e,image_id:n.imageUrl||"",mobile:{native:null,universal:null},name:n.name,rdns:null}}export{b as getEcosystemWalletInfo};
|
|
2
|
-
//# sourceMappingURL=get-ecosystem-wallet-info-CgB1vWwB.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as a}from"./thirdweb-DogFxs1d.js";import{f as o}from"./fetchTokenMetadata-Ducea3S0.js";import{parseNFT as i}from"./parseNft-Cyf0x7fr.js";import{totalSupply as d}from"./totalSupply-CxKD_Ej5.js";import{r as m}from"./prepare-contract-call-jaur3RsL.js";import"./utils-DvexXHkz.js";import"./sentry-CHz0jIQP.js";import"./react-B3VM-Euj.js";import"./signing-BUSO0LRR.js";import"./index-CeM-P3No.js";import"./dcl-schemas-D4UJavpl.js";import"./ethers-DujCu8ER.js";import"./intl-AKLEHPeO.js";import"./to-serializable-transaction-CTo7dsx8.js";import"./transaction-ePDkVOA3.js";import"./get-bytecode-Cn7UTcHZ.js";import"./wait-for-tx-receipt-C-bfM-ME.js";import"./transactionReceipt-BIPiW6iD.js";import"./sleep-fBr8OToA.js";import"./eth_estimateGas-KldyvUIP.js";import"./eth_getStorageAt-s_dGFL2L.js";import"./eth_getTransactionCount-CNA7mZ1L.js";import"./eth_sendRawTransaction-DYAsy3sS.js";import"./decimals-B6LTIrCi.js";import"./decimals-CfiLsa9D.js";import"./zora-sepolia-vv4fqay3.js";import"./send-batch-transaction-c61eKFtF.js";import"./send-transaction-zu05RQQe.js";import"./uint8-array-BMe04WIx.js";import"./detectExtension-DVDsZnEO.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]="efef5dfe-5971-4e96-8bc1-eab838e70075",t._sentryDebugIdIdentifier="sentry-dbid-efef5dfe-5971-4e96-8bc1-eab838e70075")}catch{}})();const f="0x0e89341c",u=[{name:"tokenId",type:"uint256"}],p=[{type:"string"}];async function I(t){return m({contract:t.contract,method:[f,u,p],params:[t.tokenId]})}async function H(t){const{useIndexer:r=!0}=t;if(r)try{return await s(t)}catch{return await e(t)}return await e(t)}async function s(t){const r=await a({chain:t.contract.chain,client:t.contract.client,contractAddress:t.contract.address,tokenId:t.tokenId});return r||e(t)}async function e(t){const[r,n]=await Promise.all([I({contract:t.contract,tokenId:t.tokenId}),d({contract:t.contract,id:t.tokenId}).catch(()=>0n)]);return i(await o({client:t.contract.client,tokenId:t.tokenId,tokenUri:r}).then(c=>c||{id:t.tokenId,type:"ERC1155",uri:r}).catch(()=>({id:t.tokenId,type:"ERC1155",uri:r})),{chainId:t.contract.chain.id,owner:null,supply:n,tokenAddress:t.contract.address,tokenId:t.tokenId,tokenUri:r,type:"ERC1155"})}export{H as getNFT};
|
|
2
|
-
//# sourceMappingURL=getNFT-C-OS-q6L.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{t,a}from"./index-CeM-P3No.js";import"./react-B3VM-Euj.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]="9e36c842-9da3-44fd-add1-0445d88a145b",e._sentryDebugIdIdentifier="sentry-dbid-9e36c842-9da3-44fd-add1-0445d88a145b")}catch{}})();const{media:r}=t,o=a.div`
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
4
|
-
gap: 16px;
|
|
5
|
-
|
|
6
|
-
&[data-variant='collections'] {
|
|
7
|
-
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
${r.maxWidth("sm")} {
|
|
11
|
-
grid-template-columns: 1fr 1fr;
|
|
12
|
-
gap: 16px;
|
|
13
|
-
}
|
|
14
|
-
`;export{o as G};
|
|
15
|
-
//# sourceMappingURL=grid.styles-B3jUBgU_.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{e as p}from"./wait-for-tx-receipt-C-bfM-ME.js";import{c as m}from"./prepare-contract-call-jaur3RsL.js";import{s as h,a as f}from"./send-batch-transaction-c61eKFtF.js";import{L as b}from"./utils-DvexXHkz.js";import{r as g}from"./execute-CquTb3TI.js";import"./transactionReceipt-BIPiW6iD.js";import"./to-serializable-transaction-CTo7dsx8.js";import"./index-CeM-P3No.js";import"./react-B3VM-Euj.js";import"./dcl-schemas-D4UJavpl.js";import"./sentry-CHz0jIQP.js";import"./ethers-DujCu8ER.js";import"./intl-AKLEHPeO.js";import"./transaction-ePDkVOA3.js";import"./sleep-fBr8OToA.js";import"./send-transaction-zu05RQQe.js";import"./detectExtension-DVDsZnEO.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="d3398532-3119-484a-a868-ed15559c02fe",s._sentryDebugIdIdentifier="sentry-dbid-d3398532-3119-484a-a868-ed15559c02fe")}catch{}})();const u=new b(1e3);async function R(s){const{account:a,calls:c}=s,e=c.map(o=>({...o,chain:s.chain})),n=[],i=g(65);if(u.set(i,n),a.sendBatchTransaction){const o=await h({account:a,transactions:e});n.push(o.transactionHash),u.set(i,n)}else for(const o of e){const d=await f({account:a,transaction:o});n.push(d.transactionHash),u.set(i,n)}return i}async function W(s){const{chain:a,client:c,id:e}=s,n=u.get(e);if(!n)throw new Error("Failed to get calls status, unknown bundle id");const i=m({chain:a,client:c});let o="success";const d=await Promise.all(n.map(l=>p(i,{hash:l}).then(t=>({blockHash:t.blockHash,blockNumber:t.blockNumber,gasUsed:t.gasUsed,logs:t.logs.map(r=>({address:r.address,data:r.data,topics:r.topics})),status:t.status,transactionHash:t.transactionHash})).catch(()=>(o="pending",null))));return{atomic:!1,chainId:a.id,id:e,receipts:d.filter(l=>l!==null),status:o,statusCode:200,version:"2.0.0"}}async function $(s){const{chain:a,client:c,id:e}=s,n=u.get(e);if(!n)throw new Error("Failed to get calls status, unknown bundle id");const i=m({chain:a,client:c});let o=200;const d=[];for(const l of n)try{const t=await p(i,{hash:l});d.push({blockHash:t.blockHash,blockNumber:`0x${t.blockNumber.toString(16)}`,gasUsed:`0x${t.gasUsed.toString(16)}`,logs:t.logs.map(r=>({address:r.address,data:r.data,topics:r.topics})),status:t.status==="success"?"0x1":"0x0",transactionHash:t.transactionHash})}catch{o=100}return{atomic:!1,chainId:`0x${a.id.toString(16)}`,id:e,receipts:d,status:o,version:"2.0.0"}}export{W as inAppWalletGetCallsStatus,$ as inAppWalletGetCallsStatusRaw,R as inAppWalletSendCalls};
|
|
2
|
-
//# sourceMappingURL=in-app-wallet-calls-3yDlgTIx.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/decimals-B6LTIrCi.js","_assets/utils-DvexXHkz.js","_assets/sentry-CHz0jIQP.js","_assets/react-B3VM-Euj.js","_assets/decimals-CfiLsa9D.js","_assets/prepare-contract-call-jaur3RsL.js","_assets/signing-BUSO0LRR.js","_assets/index-CeM-P3No.js","_assets/dcl-schemas-D4UJavpl.js","_assets/ethers-DujCu8ER.js","_assets/intl-AKLEHPeO.js","_assets/index-CVn38tzc.css","_assets/to-serializable-transaction-CTo7dsx8.js","_assets/transaction-ePDkVOA3.js","_assets/get-bytecode-Cn7UTcHZ.js","_assets/in-app-wallet-calls-3yDlgTIx.js","_assets/wait-for-tx-receipt-C-bfM-ME.js","_assets/transactionReceipt-BIPiW6iD.js","_assets/sleep-fBr8OToA.js","_assets/send-batch-transaction-c61eKFtF.js","_assets/send-transaction-zu05RQQe.js","_assets/execute-CquTb3TI.js","_assets/detectExtension-DVDsZnEO.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as T}from"./index-CeM-P3No.js";import{t as V,i as ct,a as ot}from"./transaction-ePDkVOA3.js";import{e as dt,i as pt,a as F}from"./utils-DvexXHkz.js";import{f as mt,h as q,e as $,i as ut,g as L,j as yt,t as lt}from"./to-serializable-transaction-CTo7dsx8.js";import{r as C,a5 as B,w as E,S as O,G as x,s as z,h as _,l as D,H as ft,k as wt,e as At,T as gt,g as K}from"./prepare-contract-call-jaur3RsL.js";import{o as j,r as Gt}from"./execute-CquTb3TI.js";import{Z,a as Y,p as Q,m as ht,b as Tt,d as J,e as Pt}from"./signing-BUSO0LRR.js";import{t as vt,p as Lt,s as Dt}from"./send-eip712-transaction-hK2ImXv3.js";import{s as Ot}from"./send-transaction-zu05RQQe.js";import{p as xt}from"./linkAccount-BRcjAOJg.js";import{g as X,E as S,h as St,a as k,b as Ct,c as _t,d as Et,e as I,D as tt,f as et,i as Ft,j as Vt,k as It,l as bt}from"./index-F7Dx4dlO.js";import{M as Aa}from"./wallets-CHxIfw2N.js";import"./react-B3VM-Euj.js";import"./dcl-schemas-D4UJavpl.js";import"./sentry-CHz0jIQP.js";import"./ethers-DujCu8ER.js";import"./intl-AKLEHPeO.js";import"./detectExtension-DVDsZnEO.js";import"./get-bytecode-Cn7UTcHZ.js";import"./eth_sendRawTransaction-DYAsy3sS.js";import"./sha256-BHPU-yAR.js";import"./ethereum-jQLc-lmM.js";import"./types-BeDU9GfL.js";import"./store-80QKZ2rN.js";import"./hashTypedData-CHzLxMfd.js";import"./index-RAKMXcMQ.js";import"./events-Co3sdv9k.js";import"./index-BDSSiPXq.js";import"./index-Dg3SO4eX.js";import"./index-OpYIGLSa.js";import"./index-CiS3fCco.js";import"./index-U8ihLOoc.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="7133cda6-776e-4d65-aeec-364c3fe11811",t._sentryDebugIdIdentifier="sentry-dbid-7133cda6-776e-4d65-aeec-364c3fe11811")}catch{}})();const Ut="0xdd62ed3e",Rt=[{name:"owner",type:"address"},{name:"spender",type:"address"}],Nt=[{type:"uint256"}];async function $t(t){return C({contract:t.contract,method:[Ut,Rt,Nt],params:[t.owner,t.spender]})}const kt="0x095ea7b3",Ht=[{name:"spender",type:"address"},{name:"value",type:"uint256"}],Mt=[{type:"bool"}];function Wt(t){const a=j(async()=>"asyncParams"in t?await t.asyncParams():t);return B({accessList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.accessList},authorizationList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.authorizationList},contract:t.contract,erc20Value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.erc20Value},extraGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.extraGas},gas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gas},gasPrice:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gasPrice},maxFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxFeePerGas},maxPriorityFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxPriorityFeePerGas},method:[kt,Ht,Mt],nonce:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.nonce},params:async()=>{const e=await a();return[e.spender,e.value]},value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.value}})}function qt(t){return Wt({asyncParams:async()=>{let a;if("amount"in t){const{decimals:e}=await T(async()=>{const{decimals:r}=await import("./decimals-B6LTIrCi.js");return{decimals:r}},__vite__mapDeps([0,1,2,3,4,5])),i=await e(t).catch(()=>18);a=mt(t.amount.toString(),i)}else a=t.amountWei;return{overrides:{erc20Value:{amountWei:a,tokenAddress:t.contract.address},...t.overrides},spender:t.spender,value:a}},contract:t.contract})}const Bt="0xf15d424e",zt=[{name:"signer",type:"address"}],Kt=[{components:[{name:"signer",type:"address"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"startTimestamp",type:"uint128"},{name:"endTimestamp",type:"uint128"}],name:"permissions",type:"tuple"}];async function jt(t){return C({contract:t.contract,method:[Bt,zt,Kt],params:[t.signer]})}const Zt="0x5892e236",Yt=[{components:[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],name:"req",type:"tuple"},{name:"signature",type:"bytes"}],Qt=[];function Jt(t){const a=j(async()=>"asyncParams"in t?await t.asyncParams():t);return B({accessList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.accessList},authorizationList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.authorizationList},contract:t.contract,erc20Value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.erc20Value},extraGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.extraGas},gas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gas},gasPrice:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gasPrice},maxFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxFeePerGas},maxPriorityFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxPriorityFeePerGas},method:[Zt,Yt,Qt],nonce:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.nonce},params:async()=>{const e=await a();return[e.req,e.signature]},value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.value}})}function W(){return new Date(Date.now()+1e3*60*60*24*365*10)}function U(t){return vt(Math.floor(t.getTime()/1e3))}const Xt=[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}];async function te(t){const{account:a,contract:e,req:i}=t,r=await a.signTypedData({domain:{chainId:e.chain.id,name:"Account",verifyingContract:e.address,version:"1"},message:i,primaryType:"SignerPermissionRequest",types:{SignerPermissionRequest:Xt}});return{req:i,signature:r}}async function ee(t){var i;const{target:a,permissions:e}=t;return{approvedTargets:e.approvedTargets==="*"?[Z]:e.approvedTargets,isAdmin:0,nativeTokenLimitPerTransaction:q(((i=e.nativeTokenLimitPerTransaction)==null?void 0:i.toString())||"0"),permissionEndTimestamp:U(e.permissionEndTimestamp||W()),permissionStartTimestamp:U(e.permissionStartTimestamp||new Date(0)),reqValidityEndTimestamp:U(W()),reqValidityStartTimestamp:0n,signer:a,uid:await Gt()}}function ae(t){const{contract:a,sessionKeyAddress:e,account:i,permissions:r}=t;return Jt({async asyncParams(){const{req:n,signature:c}=await te({account:i,contract:a,req:await ee({permissions:r,target:e})});return{req:n,signature:c}},contract:a})}async function se(t){var c;const{accountContract:a,sessionKeyAddress:e,newPermissions:i}=t;if(!await Y(a))return!0;const n=await jt({contract:a,signer:e});return!!(n.endTimestamp&&n.endTimestamp<Math.floor(Date.now()/1e3)||!ne(n.approvedTargets,i.approvedTargets)||q(((c=i.nativeTokenLimitPerTransaction)==null?void 0:c.toString())??"0")>n.nativeTokenLimitPerTransaction)}function ne(t,a){return a==="*"&&t.length===1&&t[0]===Z?!0:a!=="*"?a.map(e=>e.toLowerCase()).every(e=>t.map(i=>i.toLowerCase()).includes(e)):!1}const re=2n**96n-1n,ie="0x35567e1a",ce=[{name:"sender",type:"address"},{name:"key",type:"uint192"}],oe=[{name:"nonce",type:"uint256"}];async function de(t){return C({contract:t.contract,method:[ie,ce,oe],params:[t.sender,t.key]})}const pe="0xa6193531",me=[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],ue=[{type:"bytes32"}];async function ye(t){return C({contract:t.contract,method:[pe,me,ue],params:[t.userOp]})}const le="0x22cdde4c",fe=[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"accountGasLimits",type:"bytes32"},{name:"preVerificationGas",type:"uint256"},{name:"gasFees",type:"bytes32"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],we=[{type:"bytes32"}];async function Ae(t){return C({contract:t.contract,method:[le,fe,we],params:[t.userOp]})}function ge(t){return t.factory?E([t.factory,t.factoryData||"0x"]):"0x"}function Ge(t){return E([O(x(BigInt(t.verificationGasLimit)),{size:16}),O(x(BigInt(t.callGasLimit)),{size:16})])}function he(t){return E([O(x(BigInt(t.maxPriorityFeePerGas)),{size:16}),O(x(BigInt(t.maxFeePerGas)),{size:16})])}function Te(t){return t.paymaster?E([t.paymaster,O(x(BigInt(t.paymasterVerificationGasLimit||0)),{size:16}),O(x(BigInt(t.paymasterPostOpGasLimit||0)),{size:16}),t.paymasterData||"0x"]):"0x"}const Pe=t=>({accountGasLimits:Ge(t),callData:t.callData,gasFees:he(t),initCode:ge(t),nonce:BigInt(t.nonce),paymasterAndData:Te(t),preVerificationGas:BigInt(t.preVerificationGas),sender:t.sender,signature:t.signature});async function b(t){var A;const{userOp:a,paymasterOverride:e,client:i,chain:r,entrypointAddress:n}=t;if(e)return e(a);const c={"Content-Type":"application/json"},s=n??S,o=X(r),d={id:1,jsonrpc:"2.0",method:"pm_sponsorUserOperation",params:[St(a),s]},l=await dt(i)(o,{body:z(d),headers:c,method:"POST"});if(!l.ok){const g=await l.text()||l.statusText;throw new Error(`Paymaster error: ${l.status} - ${g}`)}const m=await l.json();if(m.result)return typeof m.result=="string"?{paymasterAndData:m.result}:(m.result.reason&&console.warn(`Paymaster policy rejected this transaction with reason: ${m.result.reason} ${m.result.policyId?`(policyId: ${m.result.policyId})`:""}`),{callGasLimit:m.result.callGasLimit?_(m.result.callGasLimit):void 0,paymaster:m.result.paymaster,paymasterAndData:m.result.paymasterAndData,paymasterData:m.result.paymasterData,paymasterPostOpGasLimit:m.result.paymasterPostOpGasLimit?_(m.result.paymasterPostOpGasLimit):void 0,paymasterVerificationGasLimit:m.result.paymasterVerificationGasLimit?_(m.result.paymasterVerificationGasLimit):void 0,preVerificationGas:m.result.preVerificationGas?_(m.result.preVerificationGas):void 0,verificationGasLimit:m.result.verificationGasLimit?_(m.result.verificationGasLimit):void 0});const w=((A=m.error)==null?void 0:A.message)||m.error||l.statusText||"unknown error";throw new Error(`Paymaster error from ${o}: ${w}`)}const H=new Set,M=t=>`${t.chain.id}:${t.address}`,at=t=>{H.add(M(t))},st=t=>{H.delete(M(t))},nt=t=>H.has(M(t));async function ve(t){const a=t.timeoutMs||12e4,e=t.intervalMs||1e3,i=Date.now()+a;for(;Date.now()<i;){const r=await Ct(t);if(r)return r;await new Promise(n=>setTimeout(n,e))}throw new Error(`Timeout waiting for userOp to be mined on chain ${t.chain.id} with UserOp hash: ${t.userOpHash}`)}async function Le(t){var P;const{transaction:a,accountContract:e,factoryContract:i,adminAddress:r,overrides:n,sponsorGas:c,waitForDeployment:s=!0,isDeployedOverride:o}=t,d=a.chain,y=a.client,l={bundlerUrl:n==null?void 0:n.bundlerUrl,chain:d,client:y,entrypointAddress:n==null?void 0:n.entrypointAddress},m=k(((P=t.overrides)==null?void 0:P.entrypointAddress)||S),[w,A,g,G,f]=await Promise.all([typeof o=="boolean"?o:Y(e).then(h=>h||nt(e)),$(a),D(a.gas),De({bundlerOptions:l,chain:d,client:y,executeTx:a}),Ee({accountContract:e,chain:d,client:y,entrypointAddress:n==null?void 0:n.entrypointAddress,getNonceOverride:n==null?void 0:n.getAccountNonce})]),{maxFeePerGas:p,maxPriorityFeePerGas:u}=G;return m==="v0.7"?Oe({accountContract:e,adminAddress:r,bundlerOptions:l,callData:A,callGasLimit:g,factoryContract:i,isDeployed:w,maxFeePerGas:p,maxPriorityFeePerGas:u,nonce:f,overrides:n,sponsorGas:c,waitForDeployment:s}):xe({accountContract:e,adminAddress:r,bundlerOptions:l,callData:A,callGasLimit:g,factoryContract:i,isDeployed:w,maxFeePerGas:p,maxPriorityFeePerGas:u,nonce:f,overrides:n,sponsorGas:c,waitForDeployment:s})}async function De(t){const{executeTx:a,bundlerOptions:e,chain:i,client:r}=t;let{maxFeePerGas:n,maxPriorityFeePerGas:c}=a;const s=(e==null?void 0:e.bundlerUrl)??X(i);if(pt(s)){const o=await _t({options:e});n=o.maxFeePerGas,c=o.maxPriorityFeePerGas}else{const[o,d]=await Promise.all([D(n),D(c)]);if(o&&d)n=o,c=d;else{const y=await ut(r,i);c=d??y.maxPriorityFeePerGas??0n,n=o??y.maxFeePerGas??0n}}return{maxFeePerGas:n,maxPriorityFeePerGas:c}}async function Oe(t){const{bundlerOptions:a,isDeployed:e,factoryContract:i,accountContract:r,adminAddress:n,sponsorGas:c,overrides:s,nonce:o,callData:d,callGasLimit:y,maxFeePerGas:l,maxPriorityFeePerGas:m,waitForDeployment:w}=t,{chain:A,client:g}=a;let G,f;e?(f="0x",w&&await rt(r)):(G=i.address,f=await $(Q({accountSalt:s==null?void 0:s.accountSalt,adminAddress:n,createAccountOverride:s==null?void 0:s.createAccount,factoryContract:i})),w&&at(r));const p={callData:d,callGasLimit:y??0n,factory:G,factoryData:f,maxFeePerGas:l,maxPriorityFeePerGas:m,nonce:o,paymaster:void 0,paymasterData:"0x",paymasterPostOpGasLimit:0n,paymasterVerificationGasLimit:0n,preVerificationGas:0n,sender:r.address,signature:tt,verificationGasLimit:0n};if(c){const u=await b({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:p});if(u.paymaster&&u.paymasterData&&(p.paymaster=u.paymaster,p.paymasterData=u.paymasterData),u.callGasLimit&&u.verificationGasLimit&&u.preVerificationGas&&u.paymasterPostOpGasLimit&&u.paymasterVerificationGasLimit)p.callGasLimit=u.callGasLimit,p.verificationGasLimit=u.verificationGasLimit,p.preVerificationGas=u.preVerificationGas,p.paymasterPostOpGasLimit=u.paymasterPostOpGasLimit,p.paymasterVerificationGasLimit=u.paymasterVerificationGasLimit;else{const P=s!=null&&s.tokenPaymaster?{[s.tokenPaymaster.tokenAddress]:{stateDiff:{[wt(At([{type:"address"},{type:"uint256"}],[r.address,s.tokenPaymaster.balanceStorageSlot]))]:gt(ht,{size:32})}}}:void 0,h=await I({options:a,userOp:p},P);p.callGasLimit=h.callGasLimit,p.verificationGasLimit=h.verificationGasLimit,p.preVerificationGas=h.preVerificationGas,p.paymasterPostOpGasLimit=s!=null&&s.tokenPaymaster?500000n:h.paymasterPostOpGasLimit||0n,p.paymasterVerificationGasLimit=h.paymasterVerificationGasLimit||0n;const v=await b({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:p});v.paymaster&&v.paymasterData&&(p.paymaster=v.paymaster,p.paymasterData=v.paymasterData)}}else{const u=await I({options:a,userOp:p});p.callGasLimit=u.callGasLimit,p.verificationGasLimit=u.verificationGasLimit,p.preVerificationGas=u.preVerificationGas,p.paymasterPostOpGasLimit=u.paymasterPostOpGasLimit||0n,p.paymasterVerificationGasLimit=u.paymasterVerificationGasLimit||0n}return{...p,signature:"0x"}}async function xe(t){const{bundlerOptions:a,isDeployed:e,factoryContract:i,accountContract:r,adminAddress:n,sponsorGas:c,overrides:s,nonce:o,callData:d,callGasLimit:y,maxFeePerGas:l,maxPriorityFeePerGas:m,waitForDeployment:w}=t,{chain:A,client:g}=a;let G;e?(G="0x",w&&await rt(r)):(G=await _e({accountSalt:s==null?void 0:s.accountSalt,adminAddress:n,createAccountOverride:s==null?void 0:s.createAccount,factoryContract:i}),w&&at(r));const f={callData:d,callGasLimit:y??0n,initCode:G,maxFeePerGas:l,maxPriorityFeePerGas:m,nonce:o,paymasterAndData:"0x",preVerificationGas:0n,sender:r.address,signature:tt,verificationGasLimit:0n};if(c){const p=await b({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:f}),u="paymasterAndData"in p?p.paymasterAndData:"0x";if(u&&u!=="0x"&&(f.paymasterAndData=u),p.callGasLimit&&p.verificationGasLimit&&p.preVerificationGas)f.callGasLimit=p.callGasLimit,f.verificationGasLimit=p.verificationGasLimit,f.preVerificationGas=p.preVerificationGas;else{const P=await I({options:a,userOp:f});if(f.callGasLimit=P.callGasLimit,f.verificationGasLimit=P.verificationGasLimit,f.preVerificationGas=P.preVerificationGas,u&&u!=="0x"){const h=await b({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:f}),v="paymasterAndData"in h?h.paymasterAndData:"0x";v&&v!=="0x"&&(f.paymasterAndData=v)}}}else{const p=await I({options:a,userOp:f});f.callGasLimit=p.callGasLimit,f.verificationGasLimit=p.verificationGasLimit,f.preVerificationGas=p.preVerificationGas}return{...f,signature:"0x"}}async function Se(t){const{userOp:a,chain:e,entrypointAddress:i,adminAccount:r}=t,n=await Ce({chain:e,client:t.client,entrypointAddress:i,userOp:a});if(r.signMessage){const c=await r.signMessage({chainId:e.id,message:{raw:ft(n)},originalMessage:z(a)});return{...a,signature:c}}throw new Error("signMessage not implemented in signingAccount")}async function Ce(t){const{userOp:a,chain:e,entrypointAddress:i}=t,r=k(i||S);let n;if(r==="v0.7"){const c=Pe(a);n=await Ae({contract:L({address:i||et,chain:e,client:t.client}),userOp:c})}else n=await ye({contract:L({address:i||S,chain:e,client:t.client}),userOp:a});return n}async function _e(t){const{factoryContract:a,adminAddress:e,accountSalt:i,createAccountOverride:r}=t,n=Q({accountSalt:i,adminAddress:e,createAccountOverride:r,factoryContract:a});return E([a.address,await $(n)])}async function Ee(t){const{accountContract:a,chain:e,client:i,entrypointAddress:r,getNonceOverride:n}=t;return n?n(a):await de({contract:L({address:r||S,chain:e,client:i}),key:Et(),sender:a.address})}async function rt(t){const a=Date.now();for(;nt(t);){if(Date.now()-a>6e4)throw st(t),new Error("Account deployment is taking too long (over 1 minute). Please try again.");await new Promise(e=>setTimeout(e,500))}}const it=new WeakMap,R=new WeakMap;async function ya(t,a){var m,w,A,g,G,f,p;const{personalAccount:e,client:i}=t;if(!e)throw new Error("No personal account provided for smart account connection");const r=a,n=a.chain,c="gasless"in r?r.gasless:r.sponsorGas;if(await yt(n))return[Ie({chain:n,connectionOptions:t,creationOptions:a,sponsorGas:c}),n];if(r.factoryAddress&&!((m=r.overrides)!=null&&m.entrypointAddress)){const u=await be(r.factoryAddress,i,n);u&&(r.overrides={...r.overrides,entrypointAddress:u})}(w=r.overrides)!=null&&w.tokenPaymaster&&!((A=r.overrides)!=null&&A.entrypointAddress)&&(r.overrides={...r.overrides,entrypointAddress:et});const s=r.factoryAddress??Ft((g=r.overrides)==null?void 0:g.entrypointAddress),o=L({address:s,chain:n,client:i}),d=await Tt({accountAddress:(G=r.overrides)==null?void 0:G.accountAddress,accountSalt:(f=r.overrides)==null?void 0:f.accountSalt,adminAddress:e.address,factoryContract:o,predictAddressOverride:(p=r.overrides)==null?void 0:p.predictAddress}).then(u=>u).catch(u=>{throw new Error(`Failed to get account address with factory contract ${o.address} on chain ID ${n.id}: ${(u==null?void 0:u.message)||"unknown error"}`,{cause:u})}),y=L({address:d,chain:n,client:i}),l=await Fe({...r,accountContract:y,chain:n,client:i,factoryContract:o,personalAccount:e,sponsorGas:c});if(it.set(e,l),R.set(l,e),r.sessionKey&&await se({accountContract:y,newPermissions:r.sessionKey.permissions,sessionKeyAddress:r.sessionKey.address})){const u=ae({account:e,contract:y,permissions:r.sessionKey.permissions,sessionKeyAddress:r.sessionKey.address});await Ot({account:l,transaction:u})}return[l,n]}async function la(t){const a=R.get(t);a&&(it.delete(a),R.delete(t))}async function Fe(t){var n,c;const a=(n=t.overrides)==null?void 0:n.tokenPaymaster;if(a&&k(((c=t.overrides)==null?void 0:c.entrypointAddress)||S)!=="v0.7")throw new Error("Token paymaster is only supported for entrypoint version v0.7");const e=t.sponsorGas;let i=t.accountContract;const r={address:K(i.address),async onTransactionRequested(s){var o,d;return(d=(o=t.personalAccount).onTransactionRequested)==null?void 0:d.call(o,s)},async sendBatchTransaction(s){var m,w;const o=Pt({accountContract:i,executeBatchOverride:(m=t.overrides)==null?void 0:m.executeBatch,transactions:s});if(s.length===0)throw new Error("No transactions to send");const d=s[0];if(!d)throw new Error("No transactions to send");const y=F(d.chainId),l=await N({executeTx:o,options:{...t,accountContract:i,chain:y}});return V({chainId:y.id,client:t.client,contractAddress:((w=s[0])==null?void 0:w.to)??void 0,transactionHash:l.transactionHash,walletAddress:t.accountContract.address,walletType:"smart"}),l},async sendTransaction(s){var m,w,A;let o;if(a){await Ve({accountContract:i,erc20Paymaster:a,options:t});const g=async()=>({paymaster:a.paymasterAddress,paymasterData:"0x"});o=((m=t.overrides)==null?void 0:m.paymaster)||g}else o=(w=t.overrides)==null?void 0:w.paymaster;s.chainId!==i.chain.id&&(i=L({address:r.address,chain:F(s.chainId),client:t.client}));const d=J({accountContract:i,executeOverride:(A=t.overrides)==null?void 0:A.execute,transaction:s}),y=F(s.chainId),l=await N({executeTx:d,options:{...t,accountContract:i,chain:y,overrides:{...t.overrides,paymaster:o}}});return V({chainId:y.id,client:t.client,contractAddress:s.to??void 0,transactionHash:l.transactionHash,walletAddress:t.accountContract.address,walletType:"smart"}),l},async signMessage({message:s}){var d;if((d=t.overrides)!=null&&d.signMessage)return t.overrides.signMessage({accountContract:i,adminAccount:t.personalAccount,factoryContract:t.factoryContract,message:s});const{smartAccountSignMessage:o}=await T(async()=>{const{smartAccountSignMessage:y}=await import("./signing-BUSO0LRR.js").then(l=>l.Q);return{smartAccountSignMessage:y}},__vite__mapDeps([6,5,1,2,3,7,8,9,10,11,12,13,14]));return o({accountContract:i,factoryContract:t.factoryContract,message:s,options:t})},async signTypedData(s){var d;if((d=t.overrides)!=null&&d.signTypedData)return t.overrides.signTypedData({accountContract:i,adminAccount:t.personalAccount,factoryContract:t.factoryContract,typedData:s});const{smartAccountSignTypedData:o}=await T(async()=>{const{smartAccountSignTypedData:y}=await import("./signing-BUSO0LRR.js").then(l=>l.Q);return{smartAccountSignTypedData:y}},__vite__mapDeps([6,5,1,2,3,7,8,9,10,11,12,13,14]));return o({accountContract:i,factoryContract:t.factoryContract,options:t,typedData:s})},sendCalls:async s=>{const{inAppWalletSendCalls:o}=await T(async()=>{const{inAppWalletSendCalls:w}=await import("./in-app-wallet-calls-3yDlgTIx.js");return{inAppWalletSendCalls:w}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22])),d=s.calls[0];if(!d)throw new Error("No calls to send");const y=d.client,l=d.chain||s.chain,m=await o({account:r,calls:s.calls,chain:l});return{chain:l,client:y,id:m}},getCallsStatus:async s=>{const{inAppWalletGetCallsStatus:o}=await T(async()=>{const{inAppWalletGetCallsStatus:d}=await import("./in-app-wallet-calls-3yDlgTIx.js");return{inAppWalletGetCallsStatus:d}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return o(s)},getCallsStatusRaw:async s=>{const{inAppWalletGetCallsStatusRaw:o}=await T(async()=>{const{inAppWalletGetCallsStatusRaw:d}=await import("./in-app-wallet-calls-3yDlgTIx.js");return{inAppWalletGetCallsStatusRaw:d}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return o(s)},getCapabilities:async s=>({[s.chainId??1]:{atomic:{status:"supported"},paymasterService:{supported:e??!1}}})};return r}async function Ve(t){var y;const{accountContract:a,erc20Paymaster:e,options:i}=t,r=e.tokenAddress,n=L({address:r,chain:a.chain,client:a.client});if(await $t({contract:n,owner:a.address,spender:e.paymasterAddress})>0n)return;const s=qt({amountWei:re-1n,contract:n,spender:e.paymasterAddress}),o=await lt({from:a.address,transaction:s}),d=J({accountContract:a,executeOverride:(y=i.overrides)==null?void 0:y.execute,transaction:o});await N({executeTx:d,options:{...i,overrides:{...i.overrides,tokenPaymaster:void 0}}})}function Ie(t){const{creationOptions:a,connectionOptions:e,chain:i}=t,r={address:K(e.personalAccount.address),async onTransactionRequested(n){var c,s;return(s=(c=e.personalAccount).onTransactionRequested)==null?void 0:s.call(c,n)},async sendTransaction(n){var y,l,m,w;const c={chain:F(n.chainId),client:e.client,data:n.data,eip712:n.eip712,to:n.to??void 0,value:n.value??0n};let s=await Lt({account:r,transaction:c});if(t.sponsorGas&&!s.paymaster){const A=await Vt({options:{bundlerUrl:(y=a.overrides)==null?void 0:y.bundlerUrl,chain:i,client:e.client,entrypointAddress:(l=a.overrides)==null?void 0:l.entrypointAddress},transaction:s});s={...s,...A}}const o=await Dt({account:r,chainId:i.id,eip712Transaction:s}),d=await It({options:{bundlerUrl:(m=a.overrides)==null?void 0:m.bundlerUrl,chain:i,client:e.client,entrypointAddress:(w=a.overrides)==null?void 0:w.entrypointAddress},signedTransaction:o,transaction:s});return V({chainId:i.id,client:e.client,contractAddress:n.to??void 0,transactionHash:d.transactionHash,walletAddress:r.address,walletType:"smart"}),{chain:i,client:e.client,transactionHash:d.transactionHash}},async signMessage({message:n}){return e.personalAccount.signMessage({message:n})},async signTypedData(n){const c=xt(n);return e.personalAccount.signTypedData(c)},sendCalls:async n=>{const{inAppWalletSendCalls:c}=await T(async()=>{const{inAppWalletSendCalls:l}=await import("./in-app-wallet-calls-3yDlgTIx.js");return{inAppWalletSendCalls:l}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22])),s=n.calls[0];if(!s)throw new Error("No calls to send");const o=s.client,d=s.chain||n.chain,y=await c({account:r,calls:n.calls,chain:d});return{chain:d,client:o,id:y}},getCallsStatus:async n=>{const{inAppWalletGetCallsStatus:c}=await T(async()=>{const{inAppWalletGetCallsStatus:s}=await import("./in-app-wallet-calls-3yDlgTIx.js");return{inAppWalletGetCallsStatus:s}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return c(n)},getCallsStatusRaw:async n=>{const{inAppWalletGetCallsStatusRaw:c}=await T(async()=>{const{inAppWalletGetCallsStatusRaw:s}=await import("./in-app-wallet-calls-3yDlgTIx.js");return{inAppWalletGetCallsStatusRaw:s}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return c(n)},getCapabilities:async n=>({[n.chainId??1]:{atomic:{status:"unsupported"},paymasterService:{supported:t.sponsorGas??!1}}})};return r}async function N(t){var i,r,n;const{executeTx:a,options:e}=t;try{const c=await Le({accountContract:e.accountContract,adminAddress:e.personalAccount.address,factoryContract:e.factoryContract,overrides:e.overrides,sponsorGas:e.sponsorGas,transaction:a}),s=await Se({adminAccount:e.personalAccount,chain:e.chain,client:e.client,entrypointAddress:(i=e.overrides)==null?void 0:i.entrypointAddress,userOp:c}),o={bundlerUrl:(r=e.overrides)==null?void 0:r.bundlerUrl,chain:e.chain,client:e.client,entrypointAddress:(n=e.overrides)==null?void 0:n.entrypointAddress},d=await bt({options:o,userOp:s}),y=await ve({...o,userOpHash:d});return V({chainId:e.chain.id,client:e.client,contractAddress:await D(a.to??void 0),transactionHash:y.transactionHash,walletAddress:e.accountContract.address,walletType:"smart"}),{chain:e.chain,client:e.client,transactionHash:y.transactionHash}}catch(c){throw ct(c)&&ot({chainId:e.chain.id,client:e.client,contractAddress:await D(a.to??void 0),error:c,transactionValue:await D(a.value),walletAddress:e.accountContract.address}),c}finally{st(e.accountContract)}}async function be(t,a,e){const i=L({address:t,chain:e,client:a});try{return await C({contract:i,method:"function entrypoint() public view returns (address)"})}catch{return}}export{ya as connectSmartAccount,la as disconnectSmartAccount,be as getEntrypointFromFactory,Aa as isSmartWallet};
|
|
3
|
-
//# sourceMappingURL=index-CdCOuMju.js.map
|