@dcl/shop 1.7.1-31588909629.commit-83201d7 → 1.8.0
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-BcCDm6Fl.js → Activity-DSCP3qVT.js} +4 -4
- package/_assets/{AnimatedBackground-Ln0tLHDh.js → AnimatedBackground-DI6E3R8h.js} +2 -2
- package/_assets/{Assets-S_jz0174.js → Assets-BoDVV5Un.js} +7 -7
- package/_assets/{Authorizations-DFJWblIp.js → Authorizations-DlT06os0.js} +2 -2
- package/_assets/{Cart-ZJ_Bppix.js → Cart-98H8SEDi.js} +2 -2
- package/_assets/{CircularProgress-rw12eVF6.js → CircularProgress-CVMElXyN.js} +2 -2
- package/_assets/{Collection-CJxBpLyz.js → Collection-kp118x-L.js} +2 -2
- package/_assets/{CollectionCarousel-C_Eat7_D.js → CollectionCarousel-Bi0QxTqN.js} +3 -3
- package/_assets/{Confetti-rdNWp3rt.js → Confetti-W3F-dgtT.js} +4 -4
- package/_assets/{ConstantsUtil-GSXpd5w5.js → ConstantsUtil-H5MzXw_a.js} +2 -2
- package/_assets/{ContentClient-CqyA1XLO.js → ContentClient-CouwHQze.js} +2 -2
- package/_assets/{Creator-D69p5aL5.js → Creator-DuIxXv5-.js} +2 -2
- package/_assets/{DeploymentBuilder-C39bHixo.js → DeploymentBuilder-RTPThLbC.js} +2 -2
- package/_assets/{EmotePlaybackBar-2S9aRBTs.js → EmotePlaybackBar-CwnUkIi2.js} +3 -3
- package/_assets/{ErrorNotice-DraAWK0D.js → ErrorNotice-DInl_aPc.js} +2 -2
- package/_assets/{ExchangeController-BsXYFx4V.js → ExchangeController-BHhqTqpp.js} +2 -2
- package/_assets/{Faq-DWIztJkW.js → Faq-CaLlq-Oz.js} +2 -2
- package/_assets/{GetCredits-DZa9MSNQ.js → GetCredits-DrG2HYOY.js} +8 -8
- package/_assets/{Grow-C1y0GaQS.js → Grow-BuawLV7j.js} +2 -2
- package/_assets/{HelpersUtil-wr53cQnq.js → HelpersUtil-DxE7pdoJ.js} +2 -2
- package/_assets/{ItemDetail-Bhc_w426.js → ItemDetail-D1lNYrvj.js} +2 -2
- package/_assets/{JumpInIcon-BCg4gHDe.js → JumpInIcon-gwWkyigc.js} +2 -2
- package/_assets/{LoadMore-DcyQqB7V.js → LoadMore-BLj9usRy.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-D8yW6YOJ.js → ManaPricingBanner.styles-C5QyYWv_.js} +2 -2
- package/_assets/{MyAssets-DW_sO-OM.js → MyAssets-BHHo-axx.js} +2 -2
- package/_assets/{MyFavorites-CPd575Q_.js → MyFavorites-qN6xot5-.js} +2 -2
- package/_assets/{NetworkUtil-BdmSWRHM.js → NetworkUtil-eeGGUC7p.js} +2 -2
- package/_assets/{NotFound-CSzZF6DS.js → NotFound-CjS_h0nT.js} +2 -2
- package/_assets/{NotificationsBell-Dl8CPfgj.js → NotificationsBell-BxNn8kmF.js} +2 -2
- package/_assets/{OutfitDetail-xXFSLYGU.js → OutfitDetail-DcwkX_BA.js} +2 -2
- package/_assets/{OutfitPreview-BdU0H7of.js → OutfitPreview-Dzwv8CZm.js} +2 -2
- package/_assets/{OutfitStudio-BrRYkQSY.js → OutfitStudio-Kg0wPrSp.js} +2 -2
- package/_assets/{StoreSettings-DUQx_Dt6.js → StoreSettings-BMhll_uY.js} +22 -22
- package/_assets/{Success-RaPwuXOy.js → Success--EmgMp_h.js} +2 -2
- package/_assets/{SwapController-CUK9rnop.js → SwapController-DBYu3_GC.js} +2 -2
- package/_assets/{Tooltip-7mi0RVwp.js → Tooltip-DRKOJG6M.js} +2 -2
- package/_assets/{TradeService-DRvijSJR.js → TradeService-CMmg1hhm.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-Gs8pIXDu.js → W3MFrameProviderSingleton-BZDRIDaX.js} +4 -4
- package/_assets/{WebCryptoP256-l2eaCMqr.js → WebCryptoP256-DngvQsIc.js} +2 -2
- package/_assets/{authorizations-BzJgPMIG.js → authorizations-Bp29CgB8.js} +2 -2
- package/_assets/{basic-BZ0cc9NT.js → basic-D-nCiahk.js} +2 -2
- package/_assets/{biconomy-lqGo3FqW.js → biconomy-ChcwZEzk.js} +2 -2
- package/_assets/{browseLayout.styles-BOh7KWFh.js → browseLayout.styles-EyGWvLIQ.js} +2 -2
- package/_assets/{browser-DMDgib2N.js → browser-8yCVpLQu.js} +2 -2
- package/_assets/{browser-ponyfill-oWMQ6W4U.js → browser-ponyfill-BmvHJGnt.js} +2 -2
- package/_assets/{builder-70Bbd4Yo.js → builder-DSIPU3qH.js} +2 -2
- package/_assets/{buy-CdfkuQvD.js → buy-4aaQ0a-u.js} +2 -2
- package/_assets/{buy-gasless-RbBehDyA.js → buy-gasless-BVf_EoZF.js} +2 -2
- package/_assets/{ccip-fjQFi5wf.js → ccip-C2v3VpEN.js} +2 -2
- package/_assets/{ccip-C78V-wF_.js → ccip-tsmIe2rK.js} +2 -2
- package/_assets/{chains-BaSn87TI.js → chains-ZGrkcPp8.js} +2 -2
- package/_assets/collectionPage.styles-x9Ys9-EJ.js +40 -0
- package/_assets/{common-BaMXvfZO.js → common-DbVrNU8d.js} +2 -2
- package/_assets/{controller-CBS-P4GZ.js → controller-BxLT4wSK.js} +3 -3
- package/_assets/{core-BkEhcNP-.js → core-fYHKdQB7.js} +5 -5
- package/_assets/{createSvgIcon-DXItcdI1.js → createSvgIcon-DK7LeDz8.js} +2 -2
- package/_assets/{custom-7TFCWmXz.js → custom-CNWBSH0Y.js} +2 -2
- package/_assets/{data-capture-CQ0Wp4M5.js → data-capture-BRE7a_Af.js} +2 -2
- package/_assets/{dcl-schemas-oZ9h4ko3.js → dcl-schemas--SOz4s6t.js} +2 -2
- package/_assets/{decimals-DEAythTE.js → decimals-BRIIwlS4.js} +2 -2
- package/_assets/{decimals-B7uMBpx6.js → decimals-Cwkjreuy.js} +2 -2
- package/_assets/{detectExtension-BTFFC3GC.js → detectExtension-D_bmEQsq.js} +2 -2
- package/_assets/{disposePreview-Dwj5f8OE.js → disposePreview-BM0qOKtx.js} +2 -2
- package/_assets/{email-NbT9DRCC.js → email-BmAjF25r.js} +2 -2
- package/_assets/{embedded-wallet-CoT2K81g.js → embedded-wallet-CrYsPIo3.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-TuqOdZ1W.js → emotion-styled.browser.esm-QAN7vOQx.js} +2 -2
- package/_assets/{engine-CJ8gcBVv.js → engine-Qfbe01DZ.js} +2 -2
- package/_assets/{errors-BMWyMrL-.js → errors-Pkf3SgsD.js} +2 -2
- package/_assets/{estimate-l1-fee-tyb7kf7a.js → estimate-l1-fee-BhPYKs0i.js} +2 -2
- package/_assets/{eth_estimateGas-BRUeJfWB.js → eth_estimateGas-DJtpIKCF.js} +2 -2
- package/_assets/{eth_getStorageAt-C12bKqRd.js → eth_getStorageAt-BvVTVakd.js} +2 -2
- package/_assets/{eth_getTransactionCount-BY7KXSb0.js → eth_getTransactionCount-CTg3O9yy.js} +2 -2
- package/_assets/{ethereum-XoihOwzi.js → ethereum-BHI7M48A.js} +2 -2
- package/_assets/{ethers-9NkNazYH.js → ethers-BGK6CGbc.js} +2 -2
- package/_assets/{events-yk_it_H_.js → events-dtXWOsMC.js} +2 -2
- package/_assets/{execute-CUvhRThu.js → execute-C8YYpwHp.js} +3 -3
- package/_assets/{extractIPFS-CqNCLsEB.js → extractIPFS-K2F3vQ0J.js} +2 -2
- package/_assets/{features-CMOT5j2N.js → features-CXUhxSHE.js} +2 -2
- package/_assets/{fetchTokenMetadata-OIU3__l7.js → fetchTokenMetadata-D2sHJ20d.js} +3 -3
- package/_assets/{field.styles-DnIE_hBN.js → field.styles-lQKL7wnA.js} +2 -2
- package/_assets/{fortmatic-d6kDnMo1.js → fortmatic-VbcTaYCb.js} +2 -2
- package/_assets/{get-bytecode-DRUEP_v6.js → get-bytecode-CHdK0jd1.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-55siV4Qh.js → get-ecosystem-wallet-info-BTsiiXK0.js} +2 -2
- package/_assets/{getBalance-BdxfgjNN.js → getBalance-Cc-ynq9O.js} +3 -3
- package/_assets/{getInstalledModules-CaH96vr7.js → getInstalledModules-CUmb37N4.js} +2 -2
- package/_assets/{getNFT-CD8GHVnM.js → getNFT-DrE5xjA6.js} +2 -2
- package/_assets/{getNFT-1fMfvn-Y.js → getNFT-quDZXBOG.js} +3 -3
- package/_assets/{grid.styles-CG0auZKj.js → grid.styles-ZTmDzFjp.js} +2 -2
- package/_assets/{hashTypedData-BNp_7kH4.js → hashTypedData-Cw8rSdk5.js} +2 -2
- package/_assets/{hashTypedData-FhkMxMq8.js → hashTypedData-DtLk4Oqc.js} +2 -2
- package/_assets/{in-app-IiBMBdd6.js → in-app-XuiUAS3s.js} +2 -2
- package/_assets/{in-app-wallet-calls-D3n82g7g.js → in-app-wallet-calls-dlWnJrek.js} +2 -2
- package/_assets/{index-B1WSoA_d.js → index-7EHHt4dM.js} +2 -2
- package/_assets/{index-D5bSmdJh.js → index-7gPoET6B.js} +2 -2
- package/_assets/{index-_IxhqgxG.js → index-B-AIFgeo.js} +2 -2
- package/_assets/{index-CLE71cHa.js → index-B-_i8PBE.js} +2 -2
- package/_assets/{index-Cm9Y6iF_.js → index-B0KcUDm0.js} +2 -2
- package/_assets/{index-UVYDSF7V.js → index-B2VG6Otl.js} +3 -3
- package/_assets/{index-BTygCgGD.js → index-B4WtCx0a.js} +2 -2
- package/_assets/{index-Dtrkx-bX.js → index-B6F_Rucm.js} +2 -2
- package/_assets/{index-BLiBKN_P.js → index-B6rGZKVV.js} +2 -2
- package/_assets/{index-CCnv5kKy.js → index-B8X_PuAG.js} +2 -2
- package/_assets/{index-DqaF8d8U.js → index-BFbab9CT.js} +2 -2
- package/_assets/{index-1ljXkwFR.js → index-BGx3L_1D.js} +2 -2
- package/_assets/{index-B6IVDRLa.js → index-BHP4R-KS.js} +4 -4
- package/_assets/{index-BeTqS2CB.js → index-BSiRCa0g.js} +2 -2
- package/_assets/{index-D2JdVXoK.js → index-BXHRk0yG.js} +2 -2
- package/_assets/{index-DIu_3Qpj.js → index-BeGu1OK5.js} +2 -2
- package/_assets/{index-Ced05BdA.js → index-Bfwb72mL.js} +2 -2
- package/_assets/{index-gQVTHUsa.js → index-BjbppcFc.js} +2 -2
- package/_assets/{index-t5SAPiy6.js → index-BmPDz-lq.js} +2 -2
- package/_assets/{index-DwY73LjU.js → index-Bp5YE3NX.js} +2 -2
- package/_assets/{index-BOEoxcss.js → index-BzXbsAOr.js} +2 -2
- package/_assets/{index-D_7ZE6rf.js → index-C2if4RD2.js} +2 -2
- package/_assets/{index-CwNaJ0Wt.js → index-C6eQqGHR.js} +2 -2
- package/_assets/{index-CxA38i0e.js → index-C8V_2yLm.js} +2 -2
- package/_assets/{index-C5Val98O.js → index-CA2RKWQC.js} +2 -2
- package/_assets/{index-gIgBdyus.js → index-CGKgopQY.js} +3 -3
- package/_assets/{index-C6DGRojo.js → index-CHQz8mM1.js} +3 -3
- package/_assets/{index-Bon3We9w.js → index-CPvTZ3mm.js} +2 -2
- package/_assets/{index-C1lVVyzh.js → index-CTOwNiNy.js} +2 -2
- package/_assets/{index-QLR_j1L3.js → index-CTlXshC8.js} +2 -2
- package/_assets/{index-FD7UdKvz.js → index-CWaSn_Fb.js} +2 -2
- package/_assets/{index-Uc6baGYa.js → index-CXF1GvZf.js} +2 -2
- package/_assets/{index-dyZgvxBQ.js → index-Cew2sd8o.js} +2 -2
- package/_assets/{index-UE167sCA.js → index-CmHFYeQW.js} +2 -2
- package/_assets/{index-BseDzJYF.js → index-Cp6zKIzb.js} +2 -2
- package/_assets/{index-CWY4y51L.js → index-Cs9MFQFw.js} +2 -2
- package/_assets/{index-BhWSiQov.js → index-Ct4f_kk7.js} +2 -2
- package/_assets/{index-pK0njIsP.js → index-D7Vr2oVM.js} +12 -12
- package/_assets/{index-BmkjmkaR.js → index-D7qOh2Pb.js} +2 -2
- package/_assets/{index-CzFP82gq.js → index-DFae84bA.js} +2 -2
- package/_assets/{index-GyRYqfnl.js → index-DHcc1n0K.js} +2 -2
- package/_assets/{index-i3FBxfVM.js → index-DJFSJQ6v.js} +2 -2
- package/_assets/{index-C8_b0rdv.js → index-DJY8bktM.js} +2 -2
- package/_assets/{index-BzAHkA9m.js → index-DKKtGhbW.js} +2 -2
- package/_assets/{index--DDbkKxj.js → index-DLpbip__.js} +2 -2
- package/_assets/{index-Dg_QXQSF.js → index-DNEXEMAx.js} +2 -2
- package/_assets/{index-CvgZI4iH.js → index-DS0AiyWl.js} +2 -2
- package/_assets/{index-TXQq96ni.js → index-DVG-jLyq.js} +2 -2
- package/_assets/{index-PKtaDZPX.js → index-DWCrguT4.js} +2 -2
- package/_assets/{index-Nfpcco_0.js → index-DevU24aH.js} +2 -2
- package/_assets/{index-D6L7YadS.js → index-DiNnPlO5.js} +4 -4
- package/_assets/{index-CDyz_tcW.js → index-DiwLErnV.js} +2 -2
- package/_assets/{index-D5YZcIgK.js → index-GC1Q65VQ.js} +2 -2
- package/_assets/{index-D9u5sNyD.js → index-GLWmYkx4.js} +2 -2
- package/_assets/{index-BThdhVMv.js → index-Ja9_mxz7.js} +4 -4
- package/_assets/{index-B4reu1nx.js → index-TQ31Dj9G.js} +2 -2
- package/_assets/{index-FAlRoTO7.js → index-Wa87Q05Z.js} +2 -2
- package/_assets/{index-CcKOzz8r.js → index-X6c4Uv6E.js} +2 -2
- package/_assets/{index-Bbf2RIr7.js → index-XX0RysAj.js} +2 -2
- package/_assets/{index-CqhNARLg.js → index-XmZ_5wbk.js} +2 -2
- package/_assets/{index-DGyh0Z3B.js → index-gEDrLFcO.js} +2 -2
- package/_assets/{index-VEVDZOLt.js → index-hcGr914s.js} +2 -2
- package/_assets/{index-CFbo12NP.js → index-pSNJtHsU.js} +2 -2
- package/_assets/{index-PVgr9kqe.js → index-sLrcgF-e.js} +2 -2
- package/_assets/{index-HNVXkkkS.js → index-yN1Hh4Se.js} +2 -2
- package/_assets/{index-CmKOdBLV.js → index-ydLU_5Gn.js} +3 -3
- package/_assets/{index-BGNETsSQ.js → index-zxKYmTZp.js} +2 -2
- package/_assets/{index.es-hq4c2BaY.js → index.es-C5gwSK8p.js} +5 -5
- package/_assets/{index.es-CnaaGjGK.js → index.es-DCk5s8aZ.js} +2 -2
- package/_assets/{index.es-Db1I5w29.js → index.es-DXO6gTHr.js} +2 -2
- package/_assets/{index.es-stHeeAlu.js → index.es-DgIVXTLg.js} +2 -2
- package/_assets/items-empty-Ch7uK_cC.js +2 -0
- package/_assets/{linkAccount-BxeGB-sO.js → linkAccount-tKw9D7Vs.js} +2 -2
- package/_assets/{localBatchGatewayRequest-GTeruLPs.js → localBatchGatewayRequest-BDIxXCol.js} +2 -2
- package/_assets/{native-DcBwYWY3.js → native-Bz1HptbK.js} +2 -2
- package/_assets/{networks-BBOXlvX3.js → networks-Br0BLqPR.js} +2 -2
- package/_assets/{onramp-M59zJuNY.js → onramp-CuUrfCki.js} +2 -2
- package/_assets/{openzeppelin-mNktJbao.js → openzeppelin-D-JFhdr0.js} +2 -2
- package/_assets/{ownerOf-DD9ZdWgA.js → ownerOf-BYoH6fJy.js} +2 -2
- package/_assets/{parseNft-CxCwcOrH.js → parseNft-SkdP6ZWl.js} +3 -3
- package/_assets/{parseSignature-EI8RAHZi.js → parseSignature-0MbHeBsG.js} +2 -2
- package/_assets/{parseSignature-CzoEYob3.js → parseSignature-DyGLTNfl.js} +4 -4
- package/_assets/{passkeys-BHGHjHFg.js → passkeys-DyqK36QT.js} +2 -2
- package/_assets/{pay-with-exchange-Brbk2xYM.js → pay-with-exchange-Dwi8NtSl.js} +2 -2
- package/_assets/{prepare-contract-call-Iqn7q77l.js → prepare-contract-call-DSjIXieB.js} +2 -2
- package/_assets/{qr-overlay-B_VlIeeu.js → qr-overlay-CmEL3PEn.js} +4 -4
- package/_assets/{react-kphusOoP.js → react-CPKOypa5.js} +2 -2
- package/_assets/{receive-DijB46u3.js → receive-DsBylJty.js} +2 -2
- package/_assets/{resolveImplementation-A5tnt0DE.js → resolveImplementation-DbQfhb72.js} +2 -2
- package/_assets/{resume-buy-DWhUq2ya.js → resume-buy-7yxAf7iG.js} +2 -2
- package/_assets/{rpc-DuOgI_Dk.js → rpc-CPWgZb0d.js} +2 -2
- package/_assets/{sales-empty-CZpUr8Vo.js → sales-empty-000uqg0s.js} +2 -2
- package/_assets/{search-empty-CUu4COfd.js → search-empty-h0zJ0pvu.js} +2 -2
- package/_assets/{secp256k1-Cts-N8ss.js → secp256k1-CRcsJ61A.js} +2 -2
- package/_assets/{secp256k1-C_Xm46m9.js → secp256k1-CyDqUXh0.js} +2 -2
- package/_assets/{secp256k1-C5E_18Uw.js → secp256k1-QdDJCZZ8.js} +2 -2
- package/_assets/{send-B3iu9w43.js → send-YURKn6T0.js} +2 -2
- package/_assets/{send-batch-transaction-DXf1GIEI.js → send-batch-transaction-DlrF3ECN.js} +2 -2
- package/_assets/{send-eip712-transaction-VG-2gOcd.js → send-eip712-transaction-DL0MdBtR.js} +3 -3
- package/_assets/{send-gasless-transaction-CNpkCAAs.js → send-gasless-transaction-Lit3VLzk.js} +3 -3
- package/_assets/{send-transaction-BIDisDgg.js → send-transaction-eG41zAfO.js} +3 -3
- package/_assets/{sendMetaTransaction-BOLe3OTv.js → sendMetaTransaction-LMY2d53Q.js} +2 -2
- package/_assets/{sendRawTransaction-DCVrs5Dz.js → sendRawTransaction-ZBmmYmyk.js} +4 -4
- package/_assets/{sentry-NePMG8c7.js → sentry-Dhl3FQKR.js} +3 -3
- package/_assets/{serializeTransaction-DYP2OLyd.js → serializeTransaction-BV8O5uLy.js} +2 -2
- package/_assets/{session-proposal-CXYNmdYe.js → session-proposal-xqSYsPIQ.js} +2 -2
- package/_assets/{session-request-ypQOoDpT.js → session-request-BcCCmadp.js} +3 -3
- package/_assets/{sha256-ClHNgArd.js → sha256-BOQDDqPA.js} +2 -2
- package/_assets/{signing-CDNvUpy8.js → signing-CNpKg_vp.js} +4 -4
- package/_assets/{skeleton.styles-Swaf_3Kh.js → skeleton.styles-Dtw6XMDS.js} +2 -2
- package/_assets/{socials-BTsj7T0t.js → socials-D58ZHtqS.js} +2 -2
- package/_assets/{styled-C_vILGjH.js → styled-BUVq9rPS.js} +2 -2
- package/_assets/{swaps-hUW23IS4.js → swaps-xcPgt9Tf.js} +2 -2
- package/_assets/{thirdweb-Ddww8-jK.js → thirdweb-4dN90LaI.js} +4 -4
- package/_assets/{to-serializable-transaction-CI3QTKEO.js → to-serializable-transaction-Bsbzt-I2.js} +3 -3
- package/_assets/{totalSupply-BigzDXUH.js → totalSupply-C8piMspG.js} +2 -2
- package/_assets/{transaction-BDOMEoLL.js → transaction-DKG_a6g-.js} +2 -2
- package/_assets/{transactionReceipt-mi8QqP-6.js → transactionReceipt-Co69hre1.js} +2 -2
- package/_assets/{transactions-CSo8LkF0.js → transactions-Cx163gKY.js} +2 -2
- package/_assets/{useCreditPacks-XtadeSCm.js → useCreditPacks-BFMlIcuP.js} +2 -2
- package/_assets/{useInfiniteGrid-BcNHKS4q.js → useInfiniteGrid-D4LyqgVq.js} +2 -2
- package/_assets/{useStore-Cshj1ayZ.js → useStore-CUpQXMuK.js} +3 -3
- package/_assets/{useTheme-C3qJ-yXp.js → useTheme-By5MMSvI.js} +2 -2
- package/_assets/{utils-BWWfhrJP.js → utils-C3caSBM-.js} +2 -2
- package/_assets/{verifyHash-BZMHwARe.js → verifyHash-BEhRQ8gC.js} +2 -2
- package/_assets/{w3m-modal-DkJA0UeJ.js → w3m-modal-9oohg6Nw.js} +2 -2
- package/_assets/{w3m-modal-Cuj1SP1j.js → w3m-modal-BJSRAvV3.js} +2 -2
- package/_assets/{wait-for-tx-receipt-XHMrXN-l.js → wait-for-tx-receipt-BZg4176M.js} +2 -2
- package/_assets/{wallets-CDZziKUN.js → wallets-BgFKM5Un.js} +6 -6
- package/_assets/{web-connector-CYSknakR.js → web-connector-13zKCG8W.js} +4 -4
- package/_assets/{writeContract-YtKzCxsz.js → writeContract-BCrBUtwK.js} +2 -2
- package/_assets/{zora-sepolia-dnlxOXqv.js → zora-sepolia-BKmyGkTB.js} +2 -2
- package/_assets/{zoraTestnet-DhZrzuIj.js → zoraTestnet-BYfzXpe9.js} +2 -2
- package/index.html +11 -11
- package/package.json +1 -1
- package/_assets/collectionPage.styles-DSeUlSA9.js +0 -40
- package/_assets/items-empty-DfDrX_rB.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as _,b as l,a as Te}from"./lit-element-wjYUA6aF.js";import{n as x,o as f,r as h,a as Ie}from"./class-map-C1Xjz5Lx.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-
|
|
1
|
+
import{i as _,b as l,a as Te}from"./lit-element-wjYUA6aF.js";import{n as x,o as f,r as h,a as Ie}from"./class-map-C1Xjz5Lx.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-BHP4R-KS.js";import{c as C,U as _e}from"./index-C8V_2yLm.js";import"./index-zxKYmTZp.js";import"./index-sLrcgF-e.js";import"./index-C2if4RD2.js";import"./index-BeGu1OK5.js";import"./index-CA2RKWQC.js";import"./index-7EHHt4dM.js";import"./index-Bp5YE3NX.js";import{$ as Ce,k as T,a0 as $e,a1 as y,b as O,a2 as Re,a3 as N,O as ce,N as A,a4 as me,C as m,q as v,E as M,S as R,n as Oe,M as G,e as Ue,i as Le,p as qe,o as P,R as z}from"./W3MFrameProviderSingleton-BZDRIDaX.js";import{au as I}from"./NetworkUtil-eeGGUC7p.js";import"./index-DNEXEMAx.js";import{M as ge}from"./MathUtil-BvP0JcjY.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]="b673edc5-21f3-4c1b-a3ac-72c32b17d33f",t._sentryDebugIdIdentifier="sentry-dbid-b673edc5-21f3-4c1b-a3ac-72c32b17d33f")}catch{}})();const De=U`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
@@ -1062,4 +1062,4 @@ import{i as _,b as l,a as Te}from"./lit-element-wjYUA6aF.js";import{n as x,o as
|
|
|
1062
1062
|
></wui-icon>`}
|
|
1063
1063
|
</wui-button>
|
|
1064
1064
|
`}getPaymentAssetFromTokenBalances(){return this.namespace?(this.tokenBalances[this.namespace]??[]).map(i=>{try{return tt(i)}catch{return null}}).filter(i=>!!i).filter(i=>{const{chainId:a}=y.parseCaipNetworkId(i.network),{chainId:o}=y.parseCaipNetworkId(this.paymentAsset.network);return N.isLowerCaseMatch(i.asset,this.paymentAsset.asset)?!0:this.selectedExchange?!N.isLowerCaseMatch(a.toString(),o.toString()):!0}):[]}onTokenBalancesChanged(e){this.tokenBalances=e;const[n]=this.getPaymentAssetFromTokenBalances();n&&u.setSelectedPaymentAsset(n)}async onConnectOtherWallet(){await P.connect(),await G.open({view:"PayQuote"})}onAccountStateChanged(e){const{address:n}=this.caipAddress?y.parseCaipAddress(this.caipAddress):{};if(this.caipAddress=e==null?void 0:e.caipAddress,this.profileName=(e==null?void 0:e.profileName)??null,n){const{address:s}=this.caipAddress?y.parseCaipAddress(this.caipAddress):{};s?N.isLowerCaseMatch(s,n)||(this.resetAssetsState(),this.resetQuoteState(),this.fetchTokens()):G.close()}}onSelectedPaymentAssetChanged(e){this.isFetchingQuote||u.setSelectedPaymentAsset(e)}async onTransfer(){var n,s,i;const e=ie(this.quote);if(e){if(!N.isLowerCaseMatch((n=this.selectedPaymentAsset)==null?void 0:n.asset,e.deposit.currency))throw new Error("Quote asset is not the same as the selected payment asset");const o=((s=this.selectedPaymentAsset)==null?void 0:s.amount)??"0",c=A.formatNumber(e.deposit.amount,{decimals:((i=this.selectedPaymentAsset)==null?void 0:i.metadata.decimals)??0}).toString();if(!A.bigNumber(o).gte(c)){R.showError("Insufficient funds");return}if(this.quote&&this.selectedPaymentAsset&&this.caipAddress&&this.namespace){const{address:L}=y.parseCaipAddress(this.caipAddress);await u.onTransfer({chainNamespace:this.namespace,fromAddress:L,toAddress:e.deposit.receiver,amount:c,paymentAsset:this.selectedPaymentAsset}),u.setRequestId(e.requestId),z.push("PayLoading")}}}async onSendTransactions(){var o,c,g;const e=((o=this.selectedPaymentAsset)==null?void 0:o.amount)??"0",n=A.formatNumber(((c=this.quote)==null?void 0:c.origin.amount)??0,{decimals:((g=this.selectedPaymentAsset)==null?void 0:g.metadata.decimals)??0}).toString();if(!A.bigNumber(e).gte(n)){R.showError("Insufficient funds");return}const i=te(this.quote),[a]=te(this.quote,this.completedTransactionsCount);a&&this.namespace&&(await u.onSendTransaction({namespace:this.namespace,transactionStep:a}),this.completedTransactionsCount+=1,this.completedTransactionsCount===i.length&&(u.setRequestId(a.requestId),z.push("PayLoading")))}onPayWithExchange(){if(this.exchangeUrlForQuote){const e=O.returnOpenHref("","popupWindow","scrollbar=yes,width=480,height=720");if(!e)throw new Error("Could not create popup window");e.location.href=this.exchangeUrlForQuote;const n=ie(this.quote);n&&u.setRequestId(n.requestId),u.initiatePayment(),z.push("PayLoading")}}resetAssetsState(){u.setSelectedPaymentAsset(null)}resetQuoteState(){u.resetQuoteState()}};w.styles=Nt;b([h()],w.prototype,"profileName",void 0);b([h()],w.prototype,"paymentAsset",void 0);b([h()],w.prototype,"namespace",void 0);b([h()],w.prototype,"caipAddress",void 0);b([h()],w.prototype,"amount",void 0);b([h()],w.prototype,"recipient",void 0);b([h()],w.prototype,"activeConnectorIds",void 0);b([h()],w.prototype,"selectedPaymentAsset",void 0);b([h()],w.prototype,"selectedExchange",void 0);b([h()],w.prototype,"isFetchingQuote",void 0);b([h()],w.prototype,"quoteError",void 0);b([h()],w.prototype,"quote",void 0);b([h()],w.prototype,"isFetchingTokenBalances",void 0);b([h()],w.prototype,"tokenBalances",void 0);b([h()],w.prototype,"isPaymentInProgress",void 0);b([h()],w.prototype,"exchangeUrlForQuote",void 0);b([h()],w.prototype,"completedTransactionsCount",void 0);w=b([C("w3m-pay-quote-view")],w);export{p as A,u as P,E as W,d as a,w as b,k as c};
|
|
1065
|
-
//# sourceMappingURL=index-
|
|
1065
|
+
//# sourceMappingURL=index-CTlXshC8.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as i,j as e,R as He}from"./react-kphusOoP.js";import{n as G}from"./dcl-schemas-oZ9h4ko3.js";import{c as y}from"./index-CvgZI4iH.js";import{n as o,S as Fe}from"./emotion-styled.browser.esm-TuqOdZ1W.js";import{m as ie,c2 as C,c3 as r}from"./index-pK0njIsP.js";import"./clsx-BEtG4eYu.js";import"./styled-C_vILGjH.js";import"./sentry-NePMG8c7.js";import"./ethers-9NkNazYH.js";import"./intl-AKLEHPeO.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]="fb45e2a9-0d0c-40bf-97b5-a96c353d29b4",t._sentryDebugIdIdentifier="sentry-dbid-fb45e2a9-0d0c-40bf-97b5-a96c353d29b4")}catch{}})();function k(t){return Math.floor(t).toLocaleString("en-US")}const Ce=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),Re=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),We=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),re=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),De=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),be=i.memo(function(n){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ne=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),se=i.memo(function(n){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),Ue=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ze=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Oe=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ve=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(n){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"#FCFCFC"})})});const le=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Be=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),Te=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),ze=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),_e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),$e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),Pe=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),Ge=new Set([1,5,42,4,3,11155111]),Ke=new Set([137,80002,80001]),Ye={56:_e,10:ze,42161:Te,250:Pe,43114:$e};function ae({chainId:t,...n}){const s=Ye[t];return s?e.jsx(s,{...n}):Ge.has(t)?e.jsx(le,{...n}):Ke.has(t)?e.jsx(Be,{...n}):e.jsx(le,{...n})}const me=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),we=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"#FCFCFC"})})}),Xe=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),qe={signIn:"SIGN IN",signingIn:"SIGNING IN...",whatsOn:"Explore",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Je(){const t=y.get("SHOP_URL"),n=y.get("BUILDER_URL"),s=y.get("EVENTS_URL"),h=y.get("CREATE_URL"),f=y.get("BLOG_URL"),w=y.get("MARKETPLACE_LANDS_URL");return{whatsOn:{label:"whatsOn",url:s},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:w},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:h},{label:"publishWearablesEmotes",url:`${n}/collections`},{label:"publishLand",url:`${n}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:f}}}let ee=null;function ve(){return ee||(ee=Je()),ee}let te=null;function Qe(){return te||(te=[{label:"viewProfile",url:y.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:y.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:y.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:y.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),te}const Le=["shop","create"],je="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",x="@media (min-width: 992px)",et={navbar:1100},tt="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",K="rgba(38, 38, 38, 0.8)",ke="0.5px solid #5E5B67",Y="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",ye=ie({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),X=ie({from:{opacity:0},to:{opacity:1}}),ot=ie({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),nt=o("nav")({position:"fixed",top:0,left:0,right:0,zIndex:et.navbar,fontFamily:je,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:"rgba(22, 21, 24, 0.75)",boxShadow:tt,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[x]:{height:92,padding:"16px 54px","&::before":{background:"rgba(22, 21, 24, 0.4)"}}}),it=o("div")({display:"flex",alignItems:"center",[A]:{gap:12},[x]:{gap:48},"& .mobile-only":{display:"flex",[x]:{display:"none"}},"& .desktop-only":{display:"none",[x]:{display:"flex"}}}),rt=o("div")({display:"flex",alignItems:"center",gap:16,[x]:{gap:48}}),st=o("div")({display:"flex",alignItems:"center",gap:12,[x]:{gap:24}}),lt=o("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),at=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:"rgba(255, 255, 255, 0.1)",borderRadius:8,color:r.white,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.15)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.2)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},[x]:{display:"none"}}),dt=o("button")({all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${r.softWhite}`,borderRadius:6,fontFamily:je,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:r.softWhite,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.08)",borderColor:"rgba(255, 255, 255, 0.7)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.12)"},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}),ct=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[x]:{display:"none"}})),pt=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?Y:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[x]:{display:"none"}})),oe=o("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),de=o("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,textDecoration:"none","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2}}),ht=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,cursor:"pointer","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),ut=o("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),ft=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none","&:hover":{color:r.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Ie=i.memo(function({open:n,onClose:s,i18n:h}){const f=ve(),[w,m]=i.useState(null),l=i.useCallback(u=>{m(a=>a===u?null:u)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(ct,{open:n,onClick:s}),e.jsxs(pt,{open:n,role:"navigation","aria-label":"Mobile navigation",children:[e.jsx(oe,{children:e.jsx(de,{href:f.whatsOn.url,children:h[f.whatsOn.label]})}),Le.map(u=>{var d;const a=f[u],g=w===u;return e.jsxs(oe,{children:[e.jsxs(ht,{onClick:()=>l(u),"aria-expanded":g,children:[h[a.label],g?e.jsx(De,{}):e.jsx(re,{})]}),e.jsx(ut,{open:g,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(ft,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[h[c.label],c.isExternal&&e.jsx(be,{})]},c.label))})]},u)}),e.jsx(oe,{children:e.jsx(de,{href:f.learn.url,children:h[f.learn.label]})})]})]})});Ie.displayName="MobileMenu";const xt=o("div")({display:"none",[x]:{display:"flex",alignItems:"center",gap:24}}),gt=o("button")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}}),ce=o("a")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}),Ct=o(gt)({paddingRight:16}),bt=o("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),mt=o("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:Y,padding:12,animation:`${X} 0.15s ease forwards`}),wt=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:r.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Me=i.memo(function({desktopDropdown:n,onOpenDropdown:s,onScheduleCloseDropdown:h,activePage:f,i18n:w}){const m=ve();return e.jsxs(xt,{children:[e.jsx(ce,{href:m.whatsOn.url,className:f==="whatsOn"?"active":void 0,children:w[m.whatsOn.label]}),Le.map(l=>{var u;return e.jsxs(bt,{onMouseEnter:()=>s(l),onMouseLeave:h,children:[e.jsxs(Ct,{className:f===l?"active":void 0,"aria-expanded":n===l,"aria-haspopup":"true",onClick:()=>{var g;const a=(g=m[l].items)==null?void 0:g[0];a&&window.open(a.url,"_self")},children:[w[m[l].label],e.jsx(re,{style:{transform:n===l?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),n===l&&e.jsx(mt,{children:(u=m[l].items)==null?void 0:u.map(a=>e.jsxs(wt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[w[a.label],a.isExternal&&e.jsx(be,{})]},a.label))})]},l)}),e.jsx(ce,{href:m.learn.url,className:f==="learn"?"active":void 0,children:w[m.learn.label]})]})});Me.displayName="NavLinks";const vt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[x]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Lt=o("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),jt=o("div")({position:"relative"}),kt=o("div")({position:"fixed",top:92,right:54,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:Y,display:"none",padding:12,gap:24,animation:`${X} 0.15s ease forwards`,minWidth:484,[x]:{display:"flex"}}),yt=o("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),It=o("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=o("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Mt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),St=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),At=o("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Et=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ht=o("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),ne=o("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Ft=o("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:C.primary},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Rt=o("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Wt=o("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:Y,padding:"24px 12px",animation:`${X} 0.15s ease forwards`,[x]:{display:"none"}}),Dt=o("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Nt=o("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Ut=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Zt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ot=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),Vt=o("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Bt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),Tt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:r.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),zt=o("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),_t=o("div")({display:"flex",alignItems:"center",gap:6}),he=o("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),ue=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),$t=o("div")({position:"relative"}),Pt=o("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:r.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Gt=o("div")({width:16,height:16,display:"flex",flexShrink:0}),Kt=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Yt={account:Ue,wearable:Ze,settings:Oe,shopping:Ve},Xt="https://peer.decentraland.org/content/contents/";function fe(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Xt}${t}`}}const qt={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(t){return qt[t]??`Chain ${t}`}const Se=i.memo(function({isLoadingProfile:n,address:s,avatar:h,userCardOpen:f,onToggleUserCard:w,onClickSignOut:m,selectedChain:l,chains:u,onSelectChain:a,manaBalances:g,onClickBalance:d,i18n:c}){var V,$,P,S;const L=fe(($=(V=h==null?void 0:h.avatar)==null?void 0:V.snapshots)==null?void 0:$.face256),[H,q]=i.useState(),[N,B]=i.useState(!1);i.useEffect(()=>{B(!1)},[L]);const J=L?H===L:!1,F=fe((S=(P=h==null?void 0:h.avatar)==null?void 0:P.snapshots)==null?void 0:S.body),U=(h==null?void 0:h.name)||(s?`${s.slice(0,6)}...${s.slice(-4)}`:""),T=s?`${s.slice(0,6)}...${s.slice(-4)}`:"",[j,I]=i.useState(!1),[Z,z]=i.useState(!1),M=i.useCallback(()=>{s&&navigator.clipboard.writeText(s).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[s]),Q=i.useCallback(p=>{p!==l&&(a==null||a(p)),z(!1)},[l,a]),R=l!==void 0&&u&&u.length>0||g&&Object.keys(g).length>0,O=()=>R?e.jsxs(zt,{children:[g&&e.jsxs(_t,{children:[g.ETHEREUM!==void 0&&e.jsxs(he,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.ETHEREUM),children:[e.jsx(me,{}),e.jsx(ue,{children:k(g.ETHEREUM)})]}),g.MATIC!==void 0&&e.jsxs(he,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.MATIC),children:[e.jsx(we,{}),e.jsx(ue,{children:k(g.MATIC)})]})]}),l!==void 0&&u&&u.length>0&&e.jsxs($t,{children:[e.jsxs(Pt,{onClick:()=>z(p=>!p),children:[e.jsx(Gt,{children:e.jsx(ae,{chainId:l})}),e.jsx(Kt,{children:xe(l)}),e.jsx(re,{style:{width:20,height:20,flexShrink:0,color:"white",transform:Z?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),Z&&e.jsx(Tt,{role:"listbox","aria-label":"Select chain",children:u.map(p=>{const v=p===l;return e.jsxs(Rt,{selected:v,role:"option","aria-selected":v,onClick:()=>Q(p),children:[e.jsx(ae,{chainId:p}),xe(p)]},p)})})]})]}):null,W=()=>!L||N?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(Ce,{style:{width:"100%",height:"100%"}})}):e.jsx(Lt,{src:L,alt:"",onLoad:()=>q(L),onError:()=>B(!0),style:{opacity:J?1:0}}),_=()=>e.jsxs(e.Fragment,{children:[Qe().map(p=>{const v=Yt[p.icon];return e.jsxs(Ht,{href:p.url,children:[v&&e.jsx(v,{}),c[p.label]]},p.label)}),e.jsx(ne,{}),e.jsxs(Ft,{onClick:m,children:[e.jsx(Ne,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(jt,{children:[e.jsx(vt,{onClick:w,"aria-label":"User menu","aria-expanded":f,"aria-haspopup":"true",className:n?"loading":void 0,children:!n&&W()}),f&&e.jsxs(kt,{onClick:p=>p.stopPropagation(),children:[e.jsx(yt,{children:F?e.jsx(It,{src:F,alt:""}):null}),e.jsxs(pe,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Mt,{title:U,children:U}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(St,{children:c.walletAddress}),e.jsxs(At,{children:[j?c.addressCopied:T,e.jsx(Et,{onClick:M,"aria-label":"Copy address",children:e.jsx(se,{})})]})]}),O()]}),e.jsx(ne,{}),_()]})]})]}),f&&e.jsxs(Wt,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Dt,{children:[e.jsx(Nt,{className:n?"loading":void 0,children:!n&&W()}),e.jsxs(Ut,{children:[e.jsx(Zt,{title:U,children:U}),e.jsx(Ot,{children:c.walletAddress}),e.jsxs(Vt,{children:[j?c.addressCopied:T,e.jsx(Bt,{onClick:M,"aria-label":"Copy address",children:e.jsx(se,{})})]}),O()]})]}),e.jsx(ne,{}),e.jsx(pe,{children:_()})]})]})});Se.displayName="UserCardPanel";const Jt=He.memo(t=>e.jsxs(Fe,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Ae=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:"#A0ABFF",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[x]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}}),Qt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),eo=o(Ae)({color:r.softWhite}),to=o("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[x]:{gap:12}}),ge=o("button")(({clickable:t})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:r.softWhite,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[x]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),oo=o("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[x]:{flexDirection:"row",alignItems:"center",gap:24}});function no(t){const n=t-Date.now();return Math.max(0,Math.ceil(n/(1e3*60*60*24)))}const io=i.memo(function({isSignedIn:n,isSigningIn:s,isLoadingProfile:h=!1,address:f,avatar:w,i18n:m,notificationSlot:l,selectedChain:u,chains:a,onSelectChain:g,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:H,onClickCredits:q,shopCreditsBalance:N,onClickShopCredits:B,activePage:J,onToggleUserCard:F,onClickSignIn:U,onClickSignOut:T}){const j={...qe,...m},[I,Z]=i.useState(!1),[z,M]=i.useState(null),[Q,R]=i.useState(!1),O=i.useRef(null),W=i.useRef(null),_=i.useCallback(()=>{Z(b=>(b||(M(null),R(!1)),!b))},[]),V=i.useCallback(()=>{Z(!1)},[]),$=i.useCallback(b=>{W.current&&(clearTimeout(W.current),W.current=null),M(b),R(!1)},[]),P=i.useCallback(()=>{W.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{R(b=>{const D=!b;return D&&(M(null),Z(!1)),F==null||F(D),D})},[F]),v=i.useCallback(()=>{R(!1)},[]);return i.useEffect(()=>{function b(D){const Ee=D.target;O.current&&!O.current.contains(Ee)&&(S(),v())}return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[S,v]),i.useEffect(()=>{const b=()=>{v(),S()};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[v,S]),i.useEffect(()=>{function b(D){D.key==="Escape"&&(S(),v(),V())}return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[S,v,V]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(nt,{ref:O,children:[e.jsxs(it,{children:[e.jsx(lt,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(Ce,{})}),e.jsx(Me,{desktopDropdown:z,onOpenDropdown:$,onScheduleCloseDropdown:P,activePage:J,i18n:j})]}),e.jsxs(rt,{children:[n&&e.jsxs(st,{children:[(H||N!==void 0||L&&d)&&e.jsxs(oo,{children:[H&&e.jsxs(Ae,{onClick:q,"aria-label":`${k(H.balance)} credits`,children:[e.jsx(Jt,{}),k(H.balance),e.jsxs(Qt,{className:"credits-tooltip",children:[j.creditsExpiringIn.replace("{days}",String(no(H.expiresAt))),e.jsx("br",{}),j.creditsValueNote]})]}),L&&d&&e.jsxs(to,{children:[d.ETHEREUM!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(G.Network.ETHEREUM):void 0,"aria-label":`${k(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(me,{}),k(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(G.Network.MATIC):void 0,"aria-label":`${k(d.MATIC)} MANA on Polygon`,children:[e.jsx(we,{}),k(d.MATIC)]})]}),N!==void 0&&e.jsxs(eo,{onClick:B,"aria-label":`${k(N)} shop credits`,children:[e.jsx(Xe,{}),k(N)]})]}),l&&e.jsx("div",{onClick:()=>{R(!1),M(null)},children:l}),e.jsx(Se,{isLoadingProfile:h,address:f,avatar:w,userCardOpen:Q,onToggleUserCard:p,onClickSignOut:T,selectedChain:u,chains:a,onSelectChain:g,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:j})]}),!n&&e.jsx(dt,{onClick:U,disabled:s,children:s?j.signingIn:j.signIn}),e.jsx(at,{onClick:_,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(We,{}):e.jsx(Re,{})})]})]}),e.jsx(Ie,{open:I,onClose:V,i18n:j})]})});io.displayName="Navbar";const go=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:r.white,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${ot} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:24,height:24}}),Co=o("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:C.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),bo=o("div")({position:"relative"}),mo=o("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${X} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),wo=o("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),vo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),Lo=o("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),jo=o("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),ko=o("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),yo=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),Io=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Mo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),So=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ao=o("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Eo=o("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:r.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{go as BellButton,io as Navbar,Co as NotificationBadge,Ao as NotificationDot,Eo as NotificationEmpty,wo as NotificationHeader,yo as NotificationItemContent,Mo as NotificationItemDescription,ko as NotificationItemImage,So as NotificationItemTime,Io as NotificationItemTitle,Lo as NotificationList,jo as NotificationListItem,mo as NotificationPanel,vo as NotificationTitle,bo as NotificationWrapper};
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import{r as i,j as e,R as He}from"./react-CPKOypa5.js";import{n as G}from"./dcl-schemas--SOz4s6t.js";import{c as y}from"./index-DS0AiyWl.js";import{n as o,S as Fe}from"./emotion-styled.browser.esm-QAN7vOQx.js";import{m as ie,c2 as C,c3 as r}from"./index-D7Vr2oVM.js";import"./clsx-BEtG4eYu.js";import"./styled-BUVq9rPS.js";import"./sentry-Dhl3FQKR.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.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]="fb45e2a9-0d0c-40bf-97b5-a96c353d29b4",t._sentryDebugIdIdentifier="sentry-dbid-fb45e2a9-0d0c-40bf-97b5-a96c353d29b4")}catch{}})();function k(t){return Math.floor(t).toLocaleString("en-US")}const Ce=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),Re=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),We=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),re=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),De=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),be=i.memo(function(n){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ne=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),se=i.memo(function(n){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),Ue=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ze=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Oe=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ve=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(n){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"#FCFCFC"})})});const le=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Be=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),Te=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),ze=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),_e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),$e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),Pe=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),Ge=new Set([1,5,42,4,3,11155111]),Ke=new Set([137,80002,80001]),Ye={56:_e,10:ze,42161:Te,250:Pe,43114:$e};function ae({chainId:t,...n}){const s=Ye[t];return s?e.jsx(s,{...n}):Ge.has(t)?e.jsx(le,{...n}):Ke.has(t)?e.jsx(Be,{...n}):e.jsx(le,{...n})}const me=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),we=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"#FCFCFC"})})}),Xe=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),qe={signIn:"SIGN IN",signingIn:"SIGNING IN...",whatsOn:"Explore",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Je(){const t=y.get("SHOP_URL"),n=y.get("BUILDER_URL"),s=y.get("EVENTS_URL"),h=y.get("CREATE_URL"),f=y.get("BLOG_URL"),w=y.get("MARKETPLACE_LANDS_URL");return{whatsOn:{label:"whatsOn",url:s},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:w},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:h},{label:"publishWearablesEmotes",url:`${n}/collections`},{label:"publishLand",url:`${n}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:f}}}let ee=null;function ve(){return ee||(ee=Je()),ee}let te=null;function Qe(){return te||(te=[{label:"viewProfile",url:y.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:y.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:y.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:y.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),te}const Le=["shop","create"],je="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",x="@media (min-width: 992px)",et={navbar:1100},tt="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",K="rgba(38, 38, 38, 0.8)",ke="0.5px solid #5E5B67",Y="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",ye=ie({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),X=ie({from:{opacity:0},to:{opacity:1}}),ot=ie({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),nt=o("nav")({position:"fixed",top:0,left:0,right:0,zIndex:et.navbar,fontFamily:je,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:"rgba(22, 21, 24, 0.75)",boxShadow:tt,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[x]:{height:92,padding:"16px 54px","&::before":{background:"rgba(22, 21, 24, 0.4)"}}}),it=o("div")({display:"flex",alignItems:"center",[A]:{gap:12},[x]:{gap:48},"& .mobile-only":{display:"flex",[x]:{display:"none"}},"& .desktop-only":{display:"none",[x]:{display:"flex"}}}),rt=o("div")({display:"flex",alignItems:"center",gap:16,[x]:{gap:48}}),st=o("div")({display:"flex",alignItems:"center",gap:12,[x]:{gap:24}}),lt=o("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),at=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:"rgba(255, 255, 255, 0.1)",borderRadius:8,color:r.white,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.15)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.2)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},[x]:{display:"none"}}),dt=o("button")({all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${r.softWhite}`,borderRadius:6,fontFamily:je,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:r.softWhite,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.08)",borderColor:"rgba(255, 255, 255, 0.7)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.12)"},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}),ct=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[x]:{display:"none"}})),pt=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?Y:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[x]:{display:"none"}})),oe=o("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),de=o("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,textDecoration:"none","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2}}),ht=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,cursor:"pointer","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),ut=o("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),ft=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none","&:hover":{color:r.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Ie=i.memo(function({open:n,onClose:s,i18n:h}){const f=ve(),[w,m]=i.useState(null),l=i.useCallback(u=>{m(a=>a===u?null:u)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(ct,{open:n,onClick:s}),e.jsxs(pt,{open:n,role:"navigation","aria-label":"Mobile navigation",children:[e.jsx(oe,{children:e.jsx(de,{href:f.whatsOn.url,children:h[f.whatsOn.label]})}),Le.map(u=>{var d;const a=f[u],g=w===u;return e.jsxs(oe,{children:[e.jsxs(ht,{onClick:()=>l(u),"aria-expanded":g,children:[h[a.label],g?e.jsx(De,{}):e.jsx(re,{})]}),e.jsx(ut,{open:g,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(ft,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[h[c.label],c.isExternal&&e.jsx(be,{})]},c.label))})]},u)}),e.jsx(oe,{children:e.jsx(de,{href:f.learn.url,children:h[f.learn.label]})})]})]})});Ie.displayName="MobileMenu";const xt=o("div")({display:"none",[x]:{display:"flex",alignItems:"center",gap:24}}),gt=o("button")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}}),ce=o("a")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}),Ct=o(gt)({paddingRight:16}),bt=o("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),mt=o("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:Y,padding:12,animation:`${X} 0.15s ease forwards`}),wt=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:r.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Me=i.memo(function({desktopDropdown:n,onOpenDropdown:s,onScheduleCloseDropdown:h,activePage:f,i18n:w}){const m=ve();return e.jsxs(xt,{children:[e.jsx(ce,{href:m.whatsOn.url,className:f==="whatsOn"?"active":void 0,children:w[m.whatsOn.label]}),Le.map(l=>{var u;return e.jsxs(bt,{onMouseEnter:()=>s(l),onMouseLeave:h,children:[e.jsxs(Ct,{className:f===l?"active":void 0,"aria-expanded":n===l,"aria-haspopup":"true",onClick:()=>{var g;const a=(g=m[l].items)==null?void 0:g[0];a&&window.open(a.url,"_self")},children:[w[m[l].label],e.jsx(re,{style:{transform:n===l?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),n===l&&e.jsx(mt,{children:(u=m[l].items)==null?void 0:u.map(a=>e.jsxs(wt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[w[a.label],a.isExternal&&e.jsx(be,{})]},a.label))})]},l)}),e.jsx(ce,{href:m.learn.url,className:f==="learn"?"active":void 0,children:w[m.learn.label]})]})});Me.displayName="NavLinks";const vt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[x]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Lt=o("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),jt=o("div")({position:"relative"}),kt=o("div")({position:"fixed",top:92,right:54,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:Y,display:"none",padding:12,gap:24,animation:`${X} 0.15s ease forwards`,minWidth:484,[x]:{display:"flex"}}),yt=o("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),It=o("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=o("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Mt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),St=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),At=o("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Et=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ht=o("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),ne=o("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Ft=o("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:C.primary},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Rt=o("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Wt=o("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:Y,padding:"24px 12px",animation:`${X} 0.15s ease forwards`,[x]:{display:"none"}}),Dt=o("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Nt=o("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Ut=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Zt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ot=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),Vt=o("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Bt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),Tt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:r.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),zt=o("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),_t=o("div")({display:"flex",alignItems:"center",gap:6}),he=o("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),ue=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),$t=o("div")({position:"relative"}),Pt=o("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:r.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Gt=o("div")({width:16,height:16,display:"flex",flexShrink:0}),Kt=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Yt={account:Ue,wearable:Ze,settings:Oe,shopping:Ve},Xt="https://peer.decentraland.org/content/contents/";function fe(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Xt}${t}`}}const qt={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(t){return qt[t]??`Chain ${t}`}const Se=i.memo(function({isLoadingProfile:n,address:s,avatar:h,userCardOpen:f,onToggleUserCard:w,onClickSignOut:m,selectedChain:l,chains:u,onSelectChain:a,manaBalances:g,onClickBalance:d,i18n:c}){var V,$,P,S;const L=fe(($=(V=h==null?void 0:h.avatar)==null?void 0:V.snapshots)==null?void 0:$.face256),[H,q]=i.useState(),[N,B]=i.useState(!1);i.useEffect(()=>{B(!1)},[L]);const J=L?H===L:!1,F=fe((S=(P=h==null?void 0:h.avatar)==null?void 0:P.snapshots)==null?void 0:S.body),U=(h==null?void 0:h.name)||(s?`${s.slice(0,6)}...${s.slice(-4)}`:""),T=s?`${s.slice(0,6)}...${s.slice(-4)}`:"",[j,I]=i.useState(!1),[Z,z]=i.useState(!1),M=i.useCallback(()=>{s&&navigator.clipboard.writeText(s).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[s]),Q=i.useCallback(p=>{p!==l&&(a==null||a(p)),z(!1)},[l,a]),R=l!==void 0&&u&&u.length>0||g&&Object.keys(g).length>0,O=()=>R?e.jsxs(zt,{children:[g&&e.jsxs(_t,{children:[g.ETHEREUM!==void 0&&e.jsxs(he,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.ETHEREUM),children:[e.jsx(me,{}),e.jsx(ue,{children:k(g.ETHEREUM)})]}),g.MATIC!==void 0&&e.jsxs(he,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.MATIC),children:[e.jsx(we,{}),e.jsx(ue,{children:k(g.MATIC)})]})]}),l!==void 0&&u&&u.length>0&&e.jsxs($t,{children:[e.jsxs(Pt,{onClick:()=>z(p=>!p),children:[e.jsx(Gt,{children:e.jsx(ae,{chainId:l})}),e.jsx(Kt,{children:xe(l)}),e.jsx(re,{style:{width:20,height:20,flexShrink:0,color:"white",transform:Z?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),Z&&e.jsx(Tt,{role:"listbox","aria-label":"Select chain",children:u.map(p=>{const v=p===l;return e.jsxs(Rt,{selected:v,role:"option","aria-selected":v,onClick:()=>Q(p),children:[e.jsx(ae,{chainId:p}),xe(p)]},p)})})]})]}):null,W=()=>!L||N?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(Ce,{style:{width:"100%",height:"100%"}})}):e.jsx(Lt,{src:L,alt:"",onLoad:()=>q(L),onError:()=>B(!0),style:{opacity:J?1:0}}),_=()=>e.jsxs(e.Fragment,{children:[Qe().map(p=>{const v=Yt[p.icon];return e.jsxs(Ht,{href:p.url,children:[v&&e.jsx(v,{}),c[p.label]]},p.label)}),e.jsx(ne,{}),e.jsxs(Ft,{onClick:m,children:[e.jsx(Ne,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(jt,{children:[e.jsx(vt,{onClick:w,"aria-label":"User menu","aria-expanded":f,"aria-haspopup":"true",className:n?"loading":void 0,children:!n&&W()}),f&&e.jsxs(kt,{onClick:p=>p.stopPropagation(),children:[e.jsx(yt,{children:F?e.jsx(It,{src:F,alt:""}):null}),e.jsxs(pe,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Mt,{title:U,children:U}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(St,{children:c.walletAddress}),e.jsxs(At,{children:[j?c.addressCopied:T,e.jsx(Et,{onClick:M,"aria-label":"Copy address",children:e.jsx(se,{})})]})]}),O()]}),e.jsx(ne,{}),_()]})]})]}),f&&e.jsxs(Wt,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Dt,{children:[e.jsx(Nt,{className:n?"loading":void 0,children:!n&&W()}),e.jsxs(Ut,{children:[e.jsx(Zt,{title:U,children:U}),e.jsx(Ot,{children:c.walletAddress}),e.jsxs(Vt,{children:[j?c.addressCopied:T,e.jsx(Bt,{onClick:M,"aria-label":"Copy address",children:e.jsx(se,{})})]}),O()]})]}),e.jsx(ne,{}),e.jsx(pe,{children:_()})]})]})});Se.displayName="UserCardPanel";const Jt=He.memo(t=>e.jsxs(Fe,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Ae=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:"#A0ABFF",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[x]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}}),Qt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),eo=o(Ae)({color:r.softWhite}),to=o("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[x]:{gap:12}}),ge=o("button")(({clickable:t})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:r.softWhite,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[x]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),oo=o("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[x]:{flexDirection:"row",alignItems:"center",gap:24}});function no(t){const n=t-Date.now();return Math.max(0,Math.ceil(n/(1e3*60*60*24)))}const io=i.memo(function({isSignedIn:n,isSigningIn:s,isLoadingProfile:h=!1,address:f,avatar:w,i18n:m,notificationSlot:l,selectedChain:u,chains:a,onSelectChain:g,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:H,onClickCredits:q,shopCreditsBalance:N,onClickShopCredits:B,activePage:J,onToggleUserCard:F,onClickSignIn:U,onClickSignOut:T}){const j={...qe,...m},[I,Z]=i.useState(!1),[z,M]=i.useState(null),[Q,R]=i.useState(!1),O=i.useRef(null),W=i.useRef(null),_=i.useCallback(()=>{Z(b=>(b||(M(null),R(!1)),!b))},[]),V=i.useCallback(()=>{Z(!1)},[]),$=i.useCallback(b=>{W.current&&(clearTimeout(W.current),W.current=null),M(b),R(!1)},[]),P=i.useCallback(()=>{W.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{R(b=>{const D=!b;return D&&(M(null),Z(!1)),F==null||F(D),D})},[F]),v=i.useCallback(()=>{R(!1)},[]);return i.useEffect(()=>{function b(D){const Ee=D.target;O.current&&!O.current.contains(Ee)&&(S(),v())}return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[S,v]),i.useEffect(()=>{const b=()=>{v(),S()};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[v,S]),i.useEffect(()=>{function b(D){D.key==="Escape"&&(S(),v(),V())}return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[S,v,V]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(nt,{ref:O,children:[e.jsxs(it,{children:[e.jsx(lt,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(Ce,{})}),e.jsx(Me,{desktopDropdown:z,onOpenDropdown:$,onScheduleCloseDropdown:P,activePage:J,i18n:j})]}),e.jsxs(rt,{children:[n&&e.jsxs(st,{children:[(H||N!==void 0||L&&d)&&e.jsxs(oo,{children:[H&&e.jsxs(Ae,{onClick:q,"aria-label":`${k(H.balance)} credits`,children:[e.jsx(Jt,{}),k(H.balance),e.jsxs(Qt,{className:"credits-tooltip",children:[j.creditsExpiringIn.replace("{days}",String(no(H.expiresAt))),e.jsx("br",{}),j.creditsValueNote]})]}),L&&d&&e.jsxs(to,{children:[d.ETHEREUM!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(G.Network.ETHEREUM):void 0,"aria-label":`${k(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(me,{}),k(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(G.Network.MATIC):void 0,"aria-label":`${k(d.MATIC)} MANA on Polygon`,children:[e.jsx(we,{}),k(d.MATIC)]})]}),N!==void 0&&e.jsxs(eo,{onClick:B,"aria-label":`${k(N)} shop credits`,children:[e.jsx(Xe,{}),k(N)]})]}),l&&e.jsx("div",{onClick:()=>{R(!1),M(null)},children:l}),e.jsx(Se,{isLoadingProfile:h,address:f,avatar:w,userCardOpen:Q,onToggleUserCard:p,onClickSignOut:T,selectedChain:u,chains:a,onSelectChain:g,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:j})]}),!n&&e.jsx(dt,{onClick:U,disabled:s,children:s?j.signingIn:j.signIn}),e.jsx(at,{onClick:_,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(We,{}):e.jsx(Re,{})})]})]}),e.jsx(Ie,{open:I,onClose:V,i18n:j})]})});io.displayName="Navbar";const go=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:r.white,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${ot} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:24,height:24}}),Co=o("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:C.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),bo=o("div")({position:"relative"}),mo=o("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${X} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),wo=o("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),vo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),Lo=o("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),jo=o("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),ko=o("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),yo=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),Io=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Mo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),So=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ao=o("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Eo=o("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:r.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{go as BellButton,io as Navbar,Co as NotificationBadge,Ao as NotificationDot,Eo as NotificationEmpty,wo as NotificationHeader,yo as NotificationItemContent,Mo as NotificationItemDescription,ko as NotificationItemImage,So as NotificationItemTime,Io as NotificationItemTitle,Lo as NotificationList,jo as NotificationListItem,mo as NotificationPanel,vo as NotificationTitle,bo as NotificationWrapper};
|
|
2
|
+
//# sourceMappingURL=index-CWaSn_Fb.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as s}from"./parseSignature-EI8RAHZi.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-EI8RAHZi.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-7TFCWmXz.js";import{h as n}from"./W3MFrameProviderSingleton-Gs8pIXDu.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-Gs8pIXDu.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-BdmSWRHM.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-DCVrs5Dz.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-FhkMxMq8.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-GTeruLPs.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-fjQFi5wf.js";import{d as c}from"./verifyHash-BZMHwARe.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-BZMHwARe.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-DYP2OLyd.js";import"./secp256k1-Cts-N8ss.js";import"./dcl-schemas-oZ9h4ko3.js";import"./react-kphusOoP.js";import"./index-C8_b0rdv.js";import"./sentry-NePMG8c7.js";import"./index-gIgBdyus.js";import"./events-yk_it_H_.js";import"./index-pK0njIsP.js";import"./ethers-9NkNazYH.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-oWMQ6W4U.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import{c as s}from"./parseSignature-0MbHeBsG.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-0MbHeBsG.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-CNWBSH0Y.js";import{h as n}from"./W3MFrameProviderSingleton-BZDRIDaX.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-BZDRIDaX.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-eeGGUC7p.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-ZBmmYmyk.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-DtLk4Oqc.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-BDIxXCol.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-C2v3VpEN.js";import{d as c}from"./verifyHash-BEhRQ8gC.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-BEhRQ8gC.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-BV8O5uLy.js";import"./secp256k1-CRcsJ61A.js";import"./dcl-schemas--SOz4s6t.js";import"./react-CPKOypa5.js";import"./index-DJY8bktM.js";import"./sentry-Dhl3FQKR.js";import"./index-CGKgopQY.js";import"./events-dtXWOsMC.js";import"./index-D7Vr2oVM.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-BmvHJGnt.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
|
|
2
|
+
//# sourceMappingURL=index-CXF1GvZf.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as f,b as d}from"./lit-element-wjYUA6aF.js";import{n as a}from"./class-map-C1Xjz5Lx.js";import{c as p}from"./index-
|
|
1
|
+
import{i as f,b as d}from"./lit-element-wjYUA6aF.js";import{n as a}from"./class-map-C1Xjz5Lx.js";import{c as p}from"./index-C8V_2yLm.js";import"./index-C2if4RD2.js";import{d as b,r as g,e as w}from"./index-BHP4R-KS.js";import{N as m}from"./W3MFrameProviderSingleton-BZDRIDaX.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]="67741ade-1092-4359-8053-1df497a48ee7",e._sentryDebugIdIdentifier="sentry-dbid-67741ade-1092-4359-8053-1df497a48ee7")}catch{}})();const h=b`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
@@ -76,4 +76,4 @@ import{i as f,b as d}from"./lit-element-wjYUA6aF.js";import{n as a}from"./class-
|
|
|
76
76
|
</wui-flex>
|
|
77
77
|
</button>
|
|
78
78
|
`}visualTemplate(){return this.tokenName&&this.tokenImageUrl?d`<wui-image alt=${this.tokenName} src=${this.tokenImageUrl}></wui-image>`:d`<wui-icon name="coinPlaceholder" color="default"></wui-icon>`}};o.styles=[g,w,h];r([a()],o.prototype,"tokenName",void 0);r([a()],o.prototype,"tokenImageUrl",void 0);r([a({type:Number})],o.prototype,"tokenValue",void 0);r([a()],o.prototype,"tokenAmount",void 0);r([a()],o.prototype,"tokenCurrency",void 0);r([a({type:Boolean})],o.prototype,"clickable",void 0);o=r([p("wui-list-token")],o);
|
|
79
|
-
//# sourceMappingURL=index-
|
|
79
|
+
//# sourceMappingURL=index-Cew2sd8o.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{c4 as _,u as I,c5 as g,c6 as j,J as S,K as f,c7 as k,c8 as F,c9 as R,ca as V,j as z,T as M,cb as A}from"./index-
|
|
1
|
+
import{c4 as _,u as I,c5 as g,c6 as j,J as S,K as f,c7 as k,c8 as F,c9 as R,ca as V,j as z,T as M,cb as A}from"./index-D7Vr2oVM.js";import{cc as Se,cd as Me,ce as Oe,A as Ee,cf as $e,cg as Pe,ch as Te,ci as _e,cj as Ie,m as je,ck as ke,cl as Fe,cm as Re,cn as Ve,co as ze}from"./index-D7Vr2oVM.js";import{u as Le}from"./useTheme-By5MMSvI.js";import{s as De,s as He}from"./styled-BUVq9rPS.js";import{j as L}from"./react-CPKOypa5.js";import"./dcl-schemas--SOz4s6t.js";import"./sentry-Dhl3FQKR.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.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]="0861a62b-b130-47dc-bef1-bfc96b62cb9d",e._sentryDebugIdIdentifier="sentry-dbid-0861a62b-b130-47dc-bef1-bfc96b62cb9d")}catch{}})();function C(e){const{theme:t,name:n,props:s}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?s:_(t.components[n].defaultProps,s)}function D({props:e,name:t,defaultTheme:n,themeId:s}){let r=I(n);return r=r[s]||r,C({theme:r,name:t,props:e})}function E(e,t=0,n=1){return j(e,t,n)}function H(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(s=>s+s)),n?`rgb${n.length===4?"a":""}(${n.map((s,r)=>r<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function B(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function d(e){if(e.type)return e;if(e.charAt(0)==="#")return d(H(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(g(9,e));let s=e.substring(t+1,e.length-1),r;if(n==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r)===-1)throw new Error(g(10,r))}else s=s.split(",");return s=s.map(o=>parseFloat(o)),{type:n,values:s,colorSpace:r}}function w(e){const{type:t,colorSpace:n}=e;let{values:s}=e;return t.indexOf("rgb")!==-1?s=s.map((r,o)=>o<3?parseInt(r,10):r):t.indexOf("hsl")!==-1&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),t.indexOf("color")!==-1?s=`${n} ${s.join(" ")}`:s=`${s.join(", ")}`,`${t}(${s})`}function ie(e){if(e.indexOf("#")===0)return e;const{values:t}=d(e);return`#${t.map((n,s)=>B(s===3?Math.round(255*n):n)).join("")}`}function U(e){e=d(e);const{values:t}=e,n=t[0],s=t[1]/100,r=t[2]/100,o=s*Math.min(r,1-r),u=(m,c=(m+n/30)%12)=>r-o*Math.max(Math.min(c-3,9-c,1),-1);let l="rgb";const i=[Math.round(u(0)*255),Math.round(u(8)*255),Math.round(u(4)*255)];return e.type==="hsla"&&(l+="a",i.push(t[3])),w({type:l,values:i})}function O(e){e=d(e);let t=e.type==="hsl"||e.type==="hsla"?d(U(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function oe(e,t){const n=O(e),s=O(t);return(Math.max(n,s)+.05)/(Math.min(n,s)+.05)}function ue(e,t){return e=d(e),t=E(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,w(e)}function G(e,t){if(e=d(e),t=E(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return w(e)}function W(e,t){if(e=d(e),t=E(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return w(e)}function pe(e,t=.15){return O(e)>.5?G(e,t):W(e,t)}const J=["defaultProps","mixins","overrides","palette","props","styleOverrides"],K=["type","mode"];function ce(e){const{defaultProps:t={},mixins:n={},overrides:s={},palette:r={},props:o={},styleOverrides:u={}}=e,l=S(e,J),i=f({},l,{components:{}});Object.keys(t).forEach(a=>{const p=i.components[a]||{};p.defaultProps=t[a],i.components[a]=p}),Object.keys(o).forEach(a=>{const p=i.components[a]||{};p.defaultProps=o[a],i.components[a]=p}),Object.keys(u).forEach(a=>{const p=i.components[a]||{};p.styleOverrides=u[a],i.components[a]=p}),Object.keys(s).forEach(a=>{const p=i.components[a]||{};p.styleOverrides=s[a],i.components[a]=p}),i.spacing=k(e.spacing);const m=F(e.breakpoints||{}),c=i.spacing;i.mixins=f({gutters:(a={})=>f({paddingLeft:c(2),paddingRight:c(2)},a,{[m.up("sm")]:f({paddingLeft:c(3),paddingRight:c(3)},a[m.up("sm")])})},n);const{type:y,mode:b}=r,v=S(r,K),x=b||y||"light";return i.palette=f({text:{hint:x==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:x,type:x},v),i}function le(e,...t){return R(V({unstable_strictMode:!0},e),...t)}let $=!1;function me(e){return $||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
|
|
2
2
|
`)),$=!0),e}function P(e){return String(parseFloat(e)).length===String(e).length}function N(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function h(e){return parseFloat(e)}function q(e){return(t,n)=>{const s=N(t);if(s===n)return t;let r=h(t);s!=="px"&&(s==="em"||s==="rem")&&(r=h(t)*h(e));let o=r;if(n!=="px")if(n==="em")o=r/h(e);else if(n==="rem")o=r/h(e);else return t;return parseFloat(o.toFixed(5))+n}}function Q({size:e,grid:t}){const n=e-e%t,s=n+t;return e-n<s-e?n:s}function X({lineHeight:e,pixels:t,htmlFontSize:n}){return t/(e*n)}function Y({cssProperty:e,min:t,max:n,unit:s="rem",breakpoints:r=[600,900,1200],transform:o=null}){const u={[e]:`${t}${s}`},l=(n-t)/r[r.length-1];return r.forEach(i=>{let m=t+l*i;o!==null&&(m=o(m)),u[`@media (min-width:${i}px)`]={[e]:`${Math.round(m*1e4)/1e4}${s}`}}),u}function fe(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:s=!1,factor:r=2,variants:o=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,u=f({},e);u.typography=f({},u.typography);const l=u.typography,i=q(l.htmlFontSize),m=n.map(c=>u.breakpoints.values[c]);return o.forEach(c=>{const y=l[c];if(!y)return;const b=parseFloat(i(y.fontSize,"rem"));if(b<=1)return;const v=b,x=1+(v-1)/r;let{lineHeight:a}=y;if(!P(a)&&!s)throw new Error(g(6));P(a)||(a=parseFloat(i(a,"rem"))/parseFloat(b));let p=null;s||(p=T=>Q({size:T,grid:X({pixels:4,lineHeight:a,htmlFontSize:l.htmlFontSize})})),l[c]=f({},y,Y({cssProperty:"fontSize",min:x,max:v,unit:"rem",breakpoints:m,transform:p}))}),u}function de({props:e,name:t}){return D({props:e,name:t,defaultTheme:z,themeId:M})}const Z=["theme"];function he(e){let{theme:t}=e,n=S(e,Z);const s=t[M];return L.jsx(A,f({},n,{themeId:s?M:void 0,theme:s||t}))}function ge(){throw new Error(g(14))}function ye(){throw new Error(g(15))}function be(){throw new Error(g(16))}function xe(){throw new Error(g(20))}export{Se as Experimental_CssVarsProvider,Me as StyledEngineProvider,M as THEME_ID,he as ThemeProvider,ce as adaptV4Theme,ue as alpha,Oe as createMuiTheme,me as createStyles,R as createTheme,Ee as css,G as darken,d as decomposeColor,$e as duration,Pe as easing,pe as emphasize,De as experimentalStyled,Te as experimental_extendTheme,xe as experimental_sx,oe as getContrastRatio,_e as getInitColorSchemeScript,O as getLuminance,Ie as getOverlayAlpha,H as hexToRgb,U as hslToRgb,je as keyframes,W as lighten,ge as makeStyles,ke as private_createMixins,Fe as private_createTypography,Re as private_excludeVariablesFromRoot,w as recomposeColor,fe as responsiveFontSizes,ie as rgbToHex,Ve as shouldSkipGeneratingVar,He as styled,le as unstable_createMuiStrictModeTheme,N as unstable_getUnit,h as unstable_toUnitless,ze as useColorScheme,Le as useTheme,de as useThemeProps,ye as withStyles,be as withTheme};
|
|
3
|
-
//# sourceMappingURL=index-
|
|
3
|
+
//# sourceMappingURL=index-CmHFYeQW.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as h,b as d}from"./lit-element-wjYUA6aF.js";import{n as o}from"./class-map-C1Xjz5Lx.js";import{e as f,n as m}from"./ref-LkxlwUph.js";import{d as c,r as v,e as b,v as y}from"./index-
|
|
1
|
+
import{i as h,b as d}from"./lit-element-wjYUA6aF.js";import{n as o}from"./class-map-C1Xjz5Lx.js";import{e as f,n as m}from"./ref-LkxlwUph.js";import{d as c,r as v,e as b,v as y}from"./index-BHP4R-KS.js";import{c as g,U as w}from"./index-C8V_2yLm.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]="09a82dbb-9229-481d-a9e2-5b960cd99b39",t._sentryDebugIdIdentifier="sentry-dbid-09a82dbb-9229-481d-a9e2-5b960cd99b39")}catch{}})();const x=c`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
@@ -76,4 +76,4 @@ import{i as h,b as d}from"./lit-element-wjYUA6aF.js";import{n as o}from"./class-
|
|
|
76
76
|
value=${this.value??""}
|
|
77
77
|
@input=${this.dispatchInputChangeEvent.bind(this)}
|
|
78
78
|
/>`}dispatchInputChangeEvent(){this.inputElementRef.value&&(this.inputElementRef.value.value=w.maskInput({value:this.inputElementRef.value.value,decimals:this.maxDecimals,integers:this.maxIntegers}),this.dispatchEvent(new CustomEvent("inputChange",{detail:this.inputElementRef.value.value,bubbles:!0,composed:!0})),this.resizeInput())}resizeInput(){if(this.widthVariant==="fit"){const e=this.inputElementRef.value;if(e){const n=e.previousElementSibling;n&&(n.textContent=e.value||"0",e.style.width=`${n.offsetWidth}px`)}}}};i.styles=[v,b,x];r([o({type:Boolean})],i.prototype,"disabled",void 0);r([o({type:String})],i.prototype,"value",void 0);r([o({type:String})],i.prototype,"placeholder",void 0);r([o({type:String})],i.prototype,"widthVariant",void 0);r([o({type:Number})],i.prototype,"maxDecimals",void 0);r([o({type:Number})],i.prototype,"maxIntegers",void 0);r([o({type:String})],i.prototype,"fontSize",void 0);r([o({type:Boolean})],i.prototype,"error",void 0);i=r([g("wui-input-amount")],i);
|
|
79
|
-
//# sourceMappingURL=index-
|
|
79
|
+
//# sourceMappingURL=index-Cp6zKIzb.js.map
|