@dcl/shop 1.0.2-31061952187.commit-8d8b09e → 1.0.2-31093320960.commit-a66fdac
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-D_fQdZon.js → Activity-BZYV865P.js} +29 -29
- package/_assets/{AnimatedBackground-C9W4RBcZ.js → AnimatedBackground-C_gdl0Ga.js} +1 -1
- package/_assets/Assets-D6xTxE6H.js +892 -0
- package/_assets/{Assets.styles-BBWJCcMx.js → Assets.styles-C2Y2OMju.js} +80 -72
- package/_assets/{Authorizations-DVwQ95Ww.js → Authorizations-Dyl-2_Wx.js} +1 -1
- package/_assets/Cart-q1C0b7B0.js +706 -0
- package/_assets/{CircularProgress-D09608yv.js → CircularProgress-DfC_DW6J.js} +1 -1
- package/_assets/{Collection-DllncUVv.js → Collection-CikwxEA2.js} +11 -11
- package/_assets/{CollectionCarousel-B9HmGuVb.js → CollectionCarousel-CW99ees-.js} +182 -126
- package/_assets/{Confetti-Dl6FT7nL.js → Confetti-D-f5Qezh.js} +1 -1
- package/_assets/Creator-sxuxQmmv.js +307 -0
- package/_assets/{ErrorNotice-OUNK486K.js → ErrorNotice-D_MmJHjd.js} +1 -1
- package/_assets/{ExchangeController-Cp3qbfAM.js → ExchangeController-5e1qfrC7.js} +1 -1
- package/_assets/{Faq-DXtTtsuA.js → Faq-CZWOMrti.js} +1 -1
- package/_assets/{GetCredits-BhRNCaTG.js → GetCredits-EPpLyZrC.js} +19 -12
- package/_assets/{Grow-DXdR0gI9.js → Grow-CJcrEIIk.js} +1 -1
- package/_assets/{HelpersUtil-rQp5uDAx.js → HelpersUtil-D4FO24BM.js} +1 -1
- package/_assets/ItemDetail-Daqpqudw.js +3552 -0
- package/_assets/JumpInIcon-CfzbSVBF.js +1 -0
- package/_assets/LazyEmoteControls-CynuOxLa.js +2 -0
- package/_assets/{LoadMore-jSNRJiwZ.js → LoadMore-BcR7LuW8.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-vDUAKLLe.js → ManaPricingBanner.styles-b_tWuH2r.js} +2 -2
- package/_assets/MyAssets-CY3P4YpT.js +396 -0
- package/_assets/{MyFavorites-BLrz2vwY.js → MyFavorites-2J4ivx_A.js} +20 -17
- package/_assets/{NotFound-DP4nosOd.js → NotFound-B9SvSXoT.js} +1 -1
- package/_assets/{NotificationsBell-ARziPv8W.js → NotificationsBell-DDd4PHL_.js} +1 -1
- package/_assets/{OutfitDetail-CLmuEgB3.js → OutfitDetail-DfQD1uwS.js} +12 -9
- package/_assets/{OutfitPreview-PWdXvCaE.js → OutfitPreview-B8wqKe4G.js} +1 -1
- package/_assets/{OutfitStudio-Cx3Xm6ff.js → OutfitStudio-C8kgT_Q1.js} +46 -46
- package/_assets/{StoreSettings-BQtEgWRm.js → StoreSettings-BszakGpI.js} +21 -21
- package/_assets/Success-BlrhZwie.js +353 -0
- package/_assets/{SwapController-Bf58lQ6b.js → SwapController-CtdE4CSE.js} +1 -1
- package/_assets/{Tooltip-BDmKiALz.js → Tooltip-D92iGFCG.js} +1 -1
- package/_assets/{TradeService-Yecm1OxI.js → TradeService-CDrDGVbQ.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-BQyeyr-U.js → W3MFrameProviderSingleton-ChXXI6YZ.js} +3 -3
- package/_assets/{WebCryptoP256-Ou_F2OJp.js → WebCryptoP256-D8s1Qscb.js} +1 -1
- package/_assets/{authorizations-B3AvOvOm.js → authorizations-qnGN3xsk.js} +1 -1
- package/_assets/{basic-DTDRwam-.js → basic-DhSHVZRT.js} +1 -1
- package/_assets/{biconomy-DaLi1O64.js → biconomy-ClBW5VwG.js} +1 -1
- package/_assets/{builder-DxumJmKw.js → builder-CL5pdg21.js} +1 -1
- package/_assets/{buy-BHkfYJLe.js → buy-B-DDln2Y.js} +1 -1
- package/_assets/{buy-gasless-BfTEWjT9.js → buy-gasless-C_BmhnE7.js} +1 -1
- package/_assets/{categories-D23W_J-A.js → categories-B8yCTSzR.js} +73 -58
- package/_assets/{ccip-qhHiv1gU.js → ccip-CJEnBLGM.js} +1 -1
- package/_assets/{ccip-DGVhZCZ4.js → ccip-DQfkaCht.js} +1 -1
- package/_assets/collectionPage.styles-CcRhgEaw.js +32 -0
- package/_assets/{controller-DGtmLk4f.js → controller-JXbdlxZp.js} +2 -2
- package/_assets/{core-BAqS3vu7.js → core-BSxLBlxi.js} +4 -4
- package/_assets/{createSvgIcon-Bm9nxGqG.js → createSvgIcon-yVJuzYrn.js} +2 -2
- package/_assets/{custom-MaGTnz7S.js → custom-B3uMWhu7.js} +1 -1
- package/_assets/{data-capture-5Vi1cyBa.js → data-capture-B-nbrWqF.js} +1 -1
- package/_assets/{email-BG6hRXMo.js → email-CVdda8uU.js} +1 -1
- package/_assets/{embedded-wallet-CfnknCH8.js → embedded-wallet-Y6M29Es7.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-CoxAZUrJ.js → emotion-styled.browser.esm-BF1qb2R0.js} +1 -1
- package/_assets/{engine-nQGCV50K.js → engine-fjR5dIp4.js} +1 -1
- package/_assets/{errors-DZ_QWsza.js → errors-B_JuFrfU.js} +1 -1
- package/_assets/{estimate-l1-fee-CVpJ9ym5.js → estimate-l1-fee-B1LOd6k3.js} +1 -1
- package/_assets/{execute-DFvUDrLY.js → execute-BXynqqjh.js} +2 -2
- package/_assets/{features-BXUedULM.js → features-Czbv6jQA.js} +1 -1
- package/_assets/{fetchTokenMetadata-CkQcnzmO.js → fetchTokenMetadata-BuR7htwA.js} +2 -2
- package/_assets/{field.styles-PE4ZasC2.js → field.styles-DFDRX2tk.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-CRLH8I6C.js → get-ecosystem-wallet-info-C8Jcr_V9.js} +1 -1
- package/_assets/{getBalance-CiV48JsZ.js → getBalance-sCJcvWYJ.js} +1 -1
- package/_assets/{getNFT-CV3N9TTA.js → getNFT-Vt2rJ26d.js} +1 -1
- package/_assets/{getNFT-C3ucNb89.js → getNFT-mOXdmQiA.js} +1 -1
- package/_assets/{grid.styles-hOZTJ80g.js → grid.styles-CX_shgZ5.js} +1 -1
- package/_assets/{hashTypedData-BtF2J233.js → hashTypedData-CN02HuAO.js} +1 -1
- package/_assets/{hashTypedData-gTABcRB5.js → hashTypedData-LiZBeYpJ.js} +1 -1
- package/_assets/identity-icon-C8yAW_Gq.svg +8 -0
- package/_assets/{in-app-CSDr4Blb.js → in-app-Di-YguDK.js} +1 -1
- package/_assets/{in-app-wallet-calls-Crivl9zc.js → in-app-wallet-calls-DeaYPRmI.js} +1 -1
- package/_assets/{index-CvwosU6Y.js → index-8YFhojLT.js} +1 -1
- package/_assets/{index-BTDIKmoC.js → index-94LcKPqN.js} +1 -1
- package/_assets/{index-CHf7lsmp.js → index-B5pEWwvB.js} +1 -1
- package/_assets/{index-D5eMvKb_.js → index-BJXNRLkE.js} +1 -1
- package/_assets/{index-ItjVcw1b.js → index-BKaw3xHY.js} +1 -1
- package/_assets/{index-Bs4LvV4K.js → index-BKtPMRlC.js} +2 -2
- package/_assets/{index-S0X-BG2b.js → index-BKwIRP5b.js} +1 -1
- package/_assets/{index-C0pcaEQl.js → index-BPg5Mvmb.js} +1 -1
- package/_assets/{index-CwRTjZPC.js → index-BRQ9Wcma.js} +3 -3
- package/_assets/{index-DKHMu0o3.js → index-BVxFsPRO.js} +1 -1
- package/_assets/{index-CyRHowbs.js → index-BanfPpYD.js} +1 -1
- package/_assets/{index-KWEbYeSY.js → index-Bf_azgOs.js} +1 -1
- package/_assets/{index-HAEoS9R6.js → index-BgNzVgyj.js} +1 -1
- package/_assets/{index-BniGBCAO.js → index-Bk3rNDtD.js} +1 -1
- package/_assets/{index-Dp2641E3.js → index-BkZn7ynX.js} +1 -1
- package/_assets/{index-C5Evg5sh.js → index-Bl852CQj.js} +1 -1
- package/_assets/{index-DkV5TYom.js → index-Bm_zAXvq.js} +1 -1
- package/_assets/{index-CHolIX6U.js → index-BsJj67OU.js} +1 -1
- package/_assets/{index-hKv-BpxY.js → index-BuWzyRcz.js} +1 -1
- package/_assets/{index-CKUuopSw.js → index-BwmnMTdg.js} +526 -451
- package/_assets/{index-BBbwMaBz.js → index-Bz4Oae-5.js} +1 -1
- package/_assets/{index-DSuiX4WG.js → index-BzBhg1fo.js} +1 -1
- package/_assets/{index-DnJJn52L.js → index-C0C9VUse.js} +1 -1
- package/_assets/{index-CmY0V0eX.js → index-C3CEKm2j.js} +1 -1
- package/_assets/{index-DdmULNRk.js → index-C6AA1Xf7.js} +2 -2
- package/_assets/{index-CkGO7qOd.js → index-CBhJLill.js} +1 -1
- package/_assets/{index-DLFQdlEW.js → index-CF-t9R4v.js} +1 -1
- package/_assets/{index-BNBzDf6z.js → index-CahHjkxT.js} +1 -1
- package/_assets/{index-Cf-gi-Qq.js → index-CcCpGfgd.js} +1 -1
- package/_assets/{index-UyXkCiLs.js → index-CdZzuE8e.js} +1 -1
- package/_assets/{index-DjTNPtj2.js → index-CfP1fkI_.js} +1 -1
- package/_assets/{index-Dh85kccn.js → index-Cleyy_0q.js} +1 -1
- package/_assets/{index-DwX-9Zo4.js → index-CnCeem_J.js} +1 -1
- package/_assets/{index-ClUPCoEW.js → index-D6OOP-51.js} +1 -1
- package/_assets/{index-BYP7oMPZ.css → index-DB6GvbxL.css} +1 -1
- package/_assets/{index-DXRL-4ld.js → index-DDJ7sdXv.js} +1 -1
- package/_assets/{index-CS27am7J.js → index-DJpl6Nbn.js} +1 -1
- package/_assets/{index-DKdQUEzy.js → index-DNNPYfed.js} +1 -1
- package/_assets/{index-9x1mGBeU.js → index-DQzE_-yq.js} +1 -1
- package/_assets/{index-DgOiZShm.js → index-DULGD4d2.js} +1 -1
- package/_assets/{index-C7hpB9s1.js → index-DaSPxwNy.js} +3 -3
- package/_assets/{index-DoGz07sk.js → index-DjW0J8pD.js} +1 -1
- package/_assets/{index-9_4ZEs3N.js → index-DjYBUAnI.js} +1 -1
- package/_assets/{index-CGBg3yUz.js → index-DlFosNf0.js} +5 -5
- package/_assets/{index-D7LYoLo4.js → index-Dm6Y9ZbQ.js} +1 -1
- package/_assets/{index-EKmmXx1j.js → index-Dr4f9K-t.js} +1 -1
- package/_assets/{index-qGMuaBIs.js → index-FT6agMXk.js} +1 -1
- package/_assets/{index-1oceTWwb.js → index-IvNZzfoI.js} +3 -3
- package/_assets/{index-C23D_vyT.js → index-N1bohwEM.js} +1 -1
- package/_assets/{index-D769FdFr.js → index-OQab0-JQ.js} +1 -1
- package/_assets/{index-wRmEiTlP.js → index-rEZ_4IFC.js} +2 -2
- package/_assets/{index-Bg_gOSx_.js → index-sFhq_-vF.js} +1 -1
- package/_assets/{index-DY1xBku2.js → index-tLIN_GkS.js} +1 -1
- package/_assets/{index.es-g_bB-nFv.js → index.es-CAHIM3qD.js} +1 -1
- package/_assets/{index.es-DnMGDxtr.js → index.es-DAZuzUm7.js} +1 -1
- package/_assets/{index.es-wpL2Ycto.js → index.es-Dwz0IUN6.js} +4 -4
- package/_assets/invite-icon-Bz6lCTuB.svg +11 -0
- package/_assets/{localBatchGatewayRequest-DtELSHiE.js → localBatchGatewayRequest-CmvuTHFj.js} +1 -1
- package/_assets/{networks-ZmRqsvV6.js → networks-DxoGDzHE.js} +1 -1
- package/_assets/{onramp-Bffl3qa3.js → onramp-DUHkYtuW.js} +1 -1
- package/_assets/{openzeppelin-BmH-LNci.js → openzeppelin-sla19LMh.js} +1 -1
- package/_assets/{parseNft-PSjb4qKi.js → parseNft-UEsMFiqe.js} +2 -2
- package/_assets/{parseSignature-IigTmAp7.js → parseSignature-BhyKODlU.js} +1 -1
- package/_assets/{parseSignature-D947kFfv.js → parseSignature-CPQ4376G.js} +3 -3
- package/_assets/{passkeys-BsJVcpuM.js → passkeys-wDVu6yuN.js} +1 -1
- package/_assets/{pay-with-exchange-CU_HZd9F.js → pay-with-exchange-CWK-Ssp3.js} +1 -1
- package/_assets/{qr-overlay-EMShc5uE.js → qr-overlay-BNEHuGJ4.js} +1 -1
- package/_assets/{receive-CO6WElZa.js → receive-BWFbKioL.js} +1 -1
- package/_assets/{resolveImplementation-CUngPhAv.js → resolveImplementation-DgfhwMlM.js} +1 -1
- package/_assets/{rpc-BqH_VMy9.js → rpc-BqdwSpX8.js} +1 -1
- package/_assets/{secp256k1-D7kpLshE.js → secp256k1-BBK7GqHS.js} +1 -1
- package/_assets/{secp256k1-CTsmRKJj.js → secp256k1-C-W8I-Zy.js} +1 -1
- package/_assets/{secp256k1-DneM3aYG.js → secp256k1-DREcXm38.js} +1 -1
- package/_assets/{send-DnwW2LgN.js → send-CHzkLWPr.js} +1 -1
- package/_assets/{send-batch-transaction-BgJnfEM8.js → send-batch-transaction-5BgfAaSR.js} +1 -1
- package/_assets/{send-eip712-transaction-Cw3ykz5y.js → send-eip712-transaction-D_wCG6QA.js} +2 -2
- package/_assets/{send-gasless-transaction-BjGhnCwR.js → send-gasless-transaction-tLadnb9y.js} +2 -2
- package/_assets/{send-transaction-COKVeGfk.js → send-transaction-D3DYgONV.js} +2 -2
- package/_assets/{sendMetaTransaction-Bp3kwdLJ.js → sendMetaTransaction-Uawte2uP.js} +1 -1
- package/_assets/{sendRawTransaction-eVli2oE3.js → sendRawTransaction-yrJJjJuj.js} +3 -3
- package/_assets/{serializeTransaction-CIM9i_-w.js → serializeTransaction-DbAjRO35.js} +1 -1
- package/_assets/{session-proposal-KGl_Ah2b.js → session-proposal-tovuipdf.js} +1 -1
- package/_assets/{session-request-VAEXTksW.js → session-request-CJx8_Nqv.js} +2 -2
- package/_assets/{signing-Cgx49_1X.js → signing-DIdv4EGK.js} +3 -3
- package/_assets/{skeleton.styles-BXNXDWEi.js → skeleton.styles-JTH6hNy6.js} +1 -1
- package/_assets/{socials-oKAOeF-k.js → socials-BMAR0gR_.js} +1 -1
- package/_assets/{styled-pD_2hanx.js → styled-Dfg0i8eX.js} +1 -1
- package/_assets/{swaps-BcAY_D99.js → swaps-BGa4ySw5.js} +1 -1
- package/_assets/{thirdweb-ChAqWFCO.js → thirdweb-Bf4Axk_U.js} +3 -3
- package/_assets/{to-serializable-transaction-D9qGbcrS.js → to-serializable-transaction-DRJLaygN.js} +2 -2
- package/_assets/{transactionReceipt-BMw52z-f.js → transactionReceipt-Bhig9TGy.js} +1 -1
- package/_assets/{transactions-CeENvGIt.js → transactions-CCUXYIeH.js} +1 -1
- package/_assets/{useCreditPacks-BcavayJ3.js → useCreditPacks-D8rMiOb_.js} +1 -1
- package/_assets/{useImportable-CqnIvzif.js → useImportable-CNQfbBw8.js} +1 -1
- package/_assets/{useInfiniteGrid-BjEQAabI.js → useInfiniteGrid-BADHIu6F.js} +1 -1
- package/_assets/{useTheme-BnnteKI4.js → useTheme-DBV2Tqy3.js} +1 -1
- package/_assets/{verifyHash-CuRmy06R.js → verifyHash-Cdp-LdrE.js} +1 -1
- package/_assets/{w3m-modal-BvOCJx7k.js → w3m-modal-BxSlR5wP.js} +1 -1
- package/_assets/{w3m-modal-CkBFH4cA.js → w3m-modal-CIDOCqB8.js} +1 -1
- package/_assets/{wait-for-tx-receipt-B2KaPYJT.js → wait-for-tx-receipt-C9B0C6I6.js} +1 -1
- package/_assets/{wallets-CpXU08d2.js → wallets-wYcTf8sk.js} +5 -5
- package/_assets/{web-connector-BHRkWbB9.js → web-connector-DC2N7iZ9.js} +3 -3
- package/_assets/world-icon-6xQ-PmmW.svg +7 -0
- package/_assets/{writeContract-DNDGvg0r.js → writeContract-EKs-5iav.js} +1 -1
- package/_assets/{zoraTestnet-CCn01jlp.js → zoraTestnet-DPmpNXvV.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Assets-CvZql_4R.js +0 -866
- package/_assets/Cart-CBLHJRVj.js +0 -706
- package/_assets/Creator-BreBnKPX.js +0 -305
- package/_assets/ItemDetail-clRbfaLQ.js +0 -3551
- package/_assets/LazyEmoteControls-B7UYn8xk.js +0 -2
- package/_assets/MyAssets-CsWhc-qa.js +0 -381
- package/_assets/Success-BWfI3_Mu.js +0 -280
- package/_assets/collectionPage.styles-CoEdrsfq.js +0 -49
- package/_assets/governance-DnazlIjy.webp +0 -0
- package/_assets/identity-B4DXDuJP.webp +0 -0
- package/_assets/invite-BfwIhP2C.webp +0 -0
- package/_assets/world-B-9aPlxu.webp +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/fortmatic-HaPICQeD.js","_assets/react-BYHuwl8r.js","_assets/index-DU4h63RV.js","_assets/dcl-schemas-CmtP3U6y.js","_assets/ethers-BDpbhgX6.js","_assets/sentry-Dx-KuLV3.js","_assets/index-COjgItKg.js","_assets/index-BuUQ4paE.js","_assets/index-BX3lLNL7.js","_assets/hooks.module-C4R15-Vr.js","_assets/events-DQ172AOg.js","_assets/intl-CBcMB1D2.js","_assets/index-
|
|
2
|
-
var ce=Object.defineProperty;var de=(o,n,e)=>n in o?ce(o,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[n]=e;var d=(o,n,e)=>de(o,typeof n!="symbol"?n+"":n,e);import{e as h,f as l,g}from"./dcl-schemas-CmtP3U6y.js";import{g as ue}from"./react-BYHuwl8r.js";import{r as he}from"./events-DQ172AOg.js";import{_ as m}from"./index-CKUuopSw.js";var C;(function(o){o.Update="Web3ReactUpdate",o.Error="Web3ReactError",o.Deactivate="Web3ReactDeactivate"})(C||(C={}));const le={clientId:"e1adce863fe287bb6cf0e3fd90bdb77f",chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY]},pe={storageKey:"decentraland-connect-storage-key",[l.ProviderType.INJECTED]:{},[l.ProviderType.FORTMATIC]:{apiKeys:{[h.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[h.ChainId.ETHEREUM_SEPOLIA]:"pk_test_5B728BEFE5C10911"},urls:A(l.ProviderType.FORTMATIC)},[l.ProviderType.NETWORK]:{urls:A(l.ProviderType.NETWORK)},[l.ProviderType.WALLET_LINK]:{appName:"Decentraland",urls:A(l.ProviderType.WALLET_LINK)},[l.ProviderType.WALLET_CONNECT_V2]:{projectId:"61570c542c2d66c659492e5b24a41522",urls:A(l.ProviderType.WALLET_CONNECT_V2),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.ARBITRUM_MAINNET,h.ChainId.OPTIMISM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},thirdweb:le};function I(){return pe}function A(o){const n={[h.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[h.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[h.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[h.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[h.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[h.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[h.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[h.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[h.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let e="";switch(o){case l.ProviderType.WALLET_LINK:e="walletlink";break;case l.ProviderType.FORTMATIC:e="fortmatic";break;case l.ProviderType.MAGIC:e="magic";break;case l.ProviderType.MAGIC_TEST:e="magic";break;case l.ProviderType.WALLET_CONNECT_V2:e="walletconnect-v2";break;case l.ProviderType.THIRDWEB:e="thirdweb";break}if(e){const t=Object.keys(n);for(const r of t)n[r]+=`?project=${e}`}return n}var $=he();const je=ue($);function fe(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}var E=(function(o){fe(n,o);function n(t){var r,i=t===void 0?{}:t,s=i.supportedChainIds;return r=o.call(this)||this,r.supportedChainIds=s,r}var e=n.prototype;return e.emitUpdate=function(r){this.emit(C.Update,r)},e.emitError=function(r){this.emit(C.Error,r)},e.emitDeactivate=function(){this.emit(C.Deactivate)},n})($.EventEmitter);class z extends E{constructor(e){const t=I()[g.ProviderType.FORTMATIC],r=Object.keys(t.apiKeys).map(i=>Number(i));if(!r.includes(e))throw new Error(`Invariant error: Unsupported chainId ${e}`);super({supportedChainIds:r});d(this,"apiKey");d(this,"chainId");d(this,"rpcUrl");d(this,"fortmatic");this.apiKey=t.apiKeys[e],this.chainId=e,this.rpcUrl=t.urls[e]}async activate(){if(!this.fortmatic){const{default:t}=await m(async()=>{const{default:r}=await import("./fortmatic-HaPICQeD.js").then(i=>i.f);return{default:r}},__vite__mapDeps([0,1]));this.fortmatic=new t(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const e=await this.fortmatic.getProvider().enable().then(t=>t[0]);return{provider:this.fortmatic.getProvider(),chainId:this.chainId,account:e}}getApiKey(){return this.apiKey}async getProvider(){return this.fortmatic.getProvider()}async getChainId(){return this.chainId}async getAccount(){return this.fortmatic.getProvider().send("eth_accounts").then(e=>e[0])}deactivate(){}close(){return this.fortmatic.user.logout()}}function j(){return j=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t])}return o},j.apply(this,arguments)}function q(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}function K(o){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(o)}function L(o,n){return L=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},L(o,n)}function ve(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(o,n,e){return ve()?O=Reflect.construct:O=function(r,i,s){var a=[null];a.push.apply(a,i);var c=Function.bind.apply(r,a),u=new c;return s&&L(u,s.prototype),u},O.apply(null,arguments)}function we(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function S(o){var n=typeof Map=="function"?new Map:void 0;return S=function(t){if(t===null||!we(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return O(t,arguments,K(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),L(r,t)},S(o)}function b(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function P(o,n){try{var e=o()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}function y(o){return o.hasOwnProperty("result")?o.result:o}var k=(function(o){q(n,o);function n(){var e;return e=o.call(this)||this,e.name=e.constructor.name,e.message="No Ethereum provider was found on window.ethereum.",e}return n})(S(Error)),ge=(function(o){q(n,o);function n(){var e;return e=o.call(this)||this,e.name=e.constructor.name,e.message="The user rejected the request.",e}return n})(S(Error)),me=(function(o){q(n,o);function n(t){var r;return r=o.call(this,t)||this,r.handleNetworkChanged=r.handleNetworkChanged.bind(b(r)),r.handleChainChanged=r.handleChainChanged.bind(b(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(b(r)),r.handleClose=r.handleClose.bind(b(r)),r}var e=n.prototype;return e.handleChainChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.handleAccountsChanged=function(r){r.length===0?this.emitDeactivate():this.emitUpdate({account:r[0]})},e.handleClose=function(r,i){this.emitDeactivate()},e.handleNetworkChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.activate=function(){try{var r=function(f){if(i)return f;function p(){return j({provider:window.ethereum},a?{account:a}:{})}var v=(function(){if(!a)return Promise.resolve(window.ethereum.enable().then(function(T){return T&&y(T)[0]})).then(function(T){a=T})})();return v&&v.then?v.then(p):p(v)},i=!1,s=this;if(!window.ethereum)throw new k;window.ethereum.on&&(window.ethereum.on("chainChanged",s.handleChainChanged),window.ethereum.on("accountsChanged",s.handleAccountsChanged),window.ethereum.on("close",s.handleClose),window.ethereum.on("networkChanged",s.handleNetworkChanged)),window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1);var a,c=P(function(){return Promise.resolve(window.ethereum.send("eth_requestAccounts").then(function(u){return y(u)[0]})).then(function(u){a=u})},function(u){if(u.code===4001)throw new ge});return Promise.resolve(c&&c.then?c.then(r):r(c))}catch(u){return Promise.reject(u)}},e.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(r){return Promise.reject(r)}},e.getChainId=function(){try{var r=function(){function c(){if(!i)try{i=y(window.ethereum.send({method:"net_version"}))}catch{}return i||(window.ethereum.isDapper?i=y(window.ethereum.cachedResults.net_version):i=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),i}var u=(function(){if(!i){var f=P(function(){return Promise.resolve(window.ethereum.send("net_version").then(y)).then(function(p){i=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var i,s=P(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(y)).then(function(a){i=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.getAccount=function(){try{var r=function(){function c(){return i||(i=y(window.ethereum.send({method:"eth_accounts"}))[0]),i}var u=(function(){if(!i){var f=P(function(){return Promise.resolve(window.ethereum.enable().then(function(p){return y(p)[0]})).then(function(p){i=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var i,s=P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(a){return y(a)[0]})).then(function(a){i=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.deactivate=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},e.isAuthorized=function(){try{return window.ethereum?Promise.resolve(P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(r){return y(r).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(r){return Promise.reject(r)}},n})(E);class G extends Error{constructor(){super("There was an error unlocking your wallet. Please be sure your wallet is unlocked and try again."),this.name="ErrorUnlockingWallet"}}const Ie=60*1e3;class J extends me{constructor(n){super({supportedChainIds:[n]})}async activate(){const n=new Promise((t,r)=>{setTimeout(()=>{r(new G)},Ie)}),e=super.activate();return Promise.race([e,n])}}var ye="Invariant failed";function V(o,n){throw new Error(ye)}function Y(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,N(o,n)}function D(o){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(o)}function N(o,n){return N=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},N(o,n)}function Ce(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function R(o,n,e){return Ce()?R=Reflect.construct:R=function(r,i,s){var a=[null];a.push.apply(a,i);var c=Function.bind.apply(r,a),u=new c;return s&&N(u,s.prototype),u},R.apply(null,arguments)}function Ee(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function W(o){var n=typeof Map=="function"?new Map:void 0;return W=function(t){if(t===null||!Ee(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return R(t,arguments,D(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),N(r,t)},W(o)}var U=(function(o){Y(n,o);function n(e,t,r){var i;return i=o.call(this)||this,i.code=t,i.data=r,i.name=i.constructor.name,i.message=e,i}return n})(W(Error)),Ae=function(n,e){var t=this,r=this;this.isMetaMask=!1,this.sendAsync=function(s,a){console.log("sendAsync",s.method,s.params),r.request(s.method,s.params).then(function(c){return a(null,{jsonrpc:"2.0",id:s.id,result:c})}).catch(function(c){return a(c,null)})},this.request=function(s,a){try{return typeof s!="string"&&(a=s.params,s=s.method),Promise.resolve(fetch(t.url,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:s,params:a}),headers:{"Content-Type":"application/json"}})).then(function(c){if(!c.ok)throw new U(c.status+": "+c.statusText,-32e3);return Promise.resolve(c.json()).then(function(u){if("error"in u){var f,p,v;throw new U(u==null||(f=u.error)==null?void 0:f.message,u==null||(p=u.error)==null?void 0:p.code,u==null||(v=u.error)==null?void 0:v.data)}else{if("result"in u)return u.result;throw new U("Received unexpected JSON-RPC response to "+s+" request.",-32e3,u)}})})}catch(c){return Promise.reject(c)}},this.chainId=n,this.url=e;var i=new URL(e);this.host=i.host,this.path=i.pathname},Te=(function(o){Y(n,o);function n(t){var r,i=t.urls,s=t.defaultChainId;return s||Object.keys(i).length===1||V(),r=o.call(this,{supportedChainIds:Object.keys(i).map(function(a){return Number(a)})})||this,r.currentChainId=s||Number(Object.keys(i)[0]),r.providers=Object.keys(i).reduce(function(a,c){return a[Number(c)]=new Ae(Number(c),i[Number(c)]),a},{}),r}var e=n.prototype;return e.activate=function(){try{var r=this;return Promise.resolve({provider:r.providers[r.currentChainId],chainId:r.currentChainId,account:null})}catch(i){return Promise.reject(i)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.providers[r.currentChainId])}catch(i){return Promise.reject(i)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.currentChainId)}catch(i){return Promise.reject(i)}},e.getAccount=function(){return Promise.resolve(null)},e.deactivate=function(){},e.changeChainId=function(r){Object.keys(this.providers).includes(r.toString())||V(),this.currentChainId=r,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:r})},n})(E);class Q extends Te{constructor(n){super({urls:I()[l.ProviderType.NETWORK].urls,defaultChainId:n})}}function x(){return x=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t])}return o},x.apply(this,arguments)}function Pe(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,F(o,n)}function F(o,n){return F=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},F(o,n)}function B(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}var _e=1,Ne=(function(o){Pe(n,o);function n(t){var r,i=t.url,s=t.appName,a=t.appLogoUrl,c=t.darkMode,u=t.supportedChainIds;return r=o.call(this,{supportedChainIds:u})||this,r.url=i,r.appName=s,r.appLogoUrl=a,r.darkMode=c||!1,r.handleChainChanged=r.handleChainChanged.bind(B(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(B(r)),r}var e=n.prototype;return e.activate=function(){try{var r=this,i=function(){return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(c){var u=c[0];return r.provider.on("chainChanged",r.handleChainChanged),r.provider.on("accountsChanged",r.handleAccountsChanged),{provider:r.provider,account:u}})},s=(function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)r.provider=window.ethereum;else{var a=(function(){if(!r.walletLink)return Promise.resolve(m(()=>import("./index-DU4h63RV.js").then(c=>c.i),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11])).then(function(c){var u;return(u=c==null?void 0:c.default)!=null?u:c})).then(function(c){r.walletLink=new c(x({appName:r.appName,darkMode:r.darkMode},r.appLogoUrl?{appLogoUrl:r.appLogoUrl}:{})),r.provider=r.walletLink.makeWeb3Provider(r.url,_e)})})();if(a&&a.then)return a.then(function(){})}})();return Promise.resolve(s&&s.then?s.then(i):i(s))}catch(a){return Promise.reject(a)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.provider)}catch(i){return Promise.reject(i)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.provider.chainId)}catch(i){return Promise.reject(i)}},e.getAccount=function(){try{var r=this;return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(i){return i[0]})}catch(i){return Promise.reject(i)}},e.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},e.close=function(){try{var r=this;return r.provider.close(),r.emitDeactivate(),Promise.resolve()}catch(i){return Promise.reject(i)}},e.handleChainChanged=function(r){this.emitUpdate({chainId:r})},e.handleAccountsChanged=function(r){this.emitUpdate({account:r[0]})},n})(E);class X extends Ne{constructor(n){const e=I()[g.ProviderType.WALLET_LINK],t=e.urls[n];if(!t)throw new Error(`Unsupported chainId for WalletLink: ${n}. Supported chains: ${Object.keys(e.urls).join(", ")}`);super({url:t,appName:e.appName,supportedChainIds:[n]})}}class Me{}class Z extends Me{get(n){const e=window.localStorage.getItem(n);return e===null?void 0:e}set(n,e){window.localStorage.setItem(n,e)}remove(n){window.localStorage.removeItem(n)}removeRegExp(n){for(let e=localStorage.length-1;e>=0;e--){const t=localStorage.key(e);t&&n.test(t)&&localStorage.removeItem(t)}}}const be={[g.ChainId.ETHEREUM_MAINNET]:"mainnet",[g.ChainId.ETHEREUM_SEPOLIA]:"sepolia",[g.ChainId.MATIC_MAINNET]:"polygon",[g.ChainId.MATIC_AMOY]:"polygonAmoy",[g.ChainId.ARBITRUM_MAINNET]:"arbitrum",[g.ChainId.OPTIMISM_MAINNET]:"optimism",[g.ChainId.AVALANCHE_MAINNET]:"avalanche",[g.ChainId.BSC_MAINNET]:"bsc",[g.ChainId.FANTOM_MAINNET]:"fantom"},w=class w extends E{constructor(e){super({supportedChainIds:w.configuration.chains});d(this,"desiredChainId");d(this,"appKit");d(this,"provider");d(this,"accountUnsubscribe");d(this,"networkUnsubscribe");d(this,"initAppKit",async()=>{if(w.sharedAppKit)return this.appKit=w.sharedAppKit,this.appKit;const{createAppKit:e}=await m(async()=>{const{createAppKit:s}=await import("./index-C7hpB9s1.js").then(a=>a.h);return{createAppKit:s}},__vite__mapDeps([12,13,1,3,5,4,11,14,15,16,17,18,19,20,21,22,23])),{WagmiAdapter:t}=await m(async()=>{const{WagmiAdapter:s}=await import("./index-CwRTjZPC.js").then(a=>a.b);return{WagmiAdapter:s}},__vite__mapDeps([24,15,3,16,1,5,17,18,13,4,11,14,25,26,6,27,28,29])),r=await this.getNetworks(),i=new t({networks:r,projectId:w.configuration.projectId});return this.appKit=e({adapters:[i],projectId:w.configuration.projectId,networks:r,defaultNetwork:r[0],metadata:{name:"Decentraland",description:"Decentraland - Virtual World",url:typeof window<"u"?window.location.origin:"https://decentraland.org",icons:["https://decentraland.org/favicon.ico"]},themeMode:"dark",themeVariables:{"--w3m-z-index":3e3},features:{analytics:!1,email:!1,socials:!1,onramp:!1,swaps:!1},enableInjected:!0,enableEIP6963:!0}),w.sharedAppKit=this.appKit,await this.waitForSessionRestore(),this.appKit});d(this,"waitForSessionRestore",async()=>{const e=this.appKit;if(!e)return;const t=e.getAccount();if((t==null?void 0:t.status)==="connected"||(t==null?void 0:t.status)==="disconnected")return;const r=t!=null&&t.status?5e3:500;return new Promise(i=>{const s=setTimeout(()=>{a==null||a(),i()},r),a=e.subscribeAccount(c=>{((c==null?void 0:c.status)==="connected"||(c==null?void 0:c.status)==="disconnected")&&(clearTimeout(s),a==null||a(),i())},"eip155")})});d(this,"validateRestoredSession",async e=>{try{const t=e.getWalletProvider();return t?(await t.request({method:"eth_chainId"}),!0):!1}catch(t){return w.isStaleSessionError(t)?!1:(console.warn("Error validating WalletConnect session:",t),!0)}});d(this,"openModalAndWaitForConnection",async()=>{const e=this.requireAppKit(),t=()=>new Promise((r,i)=>{let s=!1;const a=(p,v)=>{s||(s=!0,clearTimeout(c),p==null||p(),v==null||v())},c=setTimeout(()=>{a(),i(new Error("Connection timeout"))},3e5),u=e.subscribeAccount(p=>{p!=null&&p.isConnected&&(p!=null&&p.address)&&(a(u,f),r(p.address))},"eip155"),f=e.subscribeState(p=>{!p.open&&!e.getAddress("eip155")&&(a(u,f),i(new Error("User closed the modal without connecting")))})});try{await e.open({view:"Connect"}),await t()}catch(r){if(w.isStaleSessionError(r)){if(console.warn("Stale session detected, retrying connection..."),w.clearStorage(),await this.initAppKit(),!this.appKit)throw new Error("AppKit reinitialization failed");await this.appKit.open({view:"Connect"}),await t()}else throw r}});d(this,"activate",async()=>{try{await this.initAppKit()}catch(c){if(console.error("Error initializing AppKit",c),w.isStaleSessionError(c))console.warn("WalletConnect session is stale, clearing storage and retrying..."),w.clearStorage(),await this.initAppKit();else throw c}const e=this.requireAppKit(),t=e.getAccount();(t==null?void 0:t.status)==="connected"&&(t==null?void 0:t.address)?await this.validateRestoredSession(e)||(console.warn("Restored WalletConnect session is stale, clearing and prompting reconnection..."),w.clearStorage(),await this.initAppKit(),await this.openModalAndWaitForConnection()):await this.openModalAndWaitForConnection();const i=e.getWalletProvider();if(!i)throw new Error("Failed to get wallet provider after connection");this.provider=i,this.accountUnsubscribe=e.subscribeAccount(c=>{c!=null&&c.address&&this.handleAccountsChanged([c.address])},"eip155"),this.networkUnsubscribe=e.subscribeCaipNetworkChange(c=>{c!=null&&c.id&&this.handleChainChanged(c.id)});const s=e.getAddress("eip155");return{chainId:e.getChainId()||this.desiredChainId,account:s||null,provider:this.provider}});d(this,"getProvider",async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider});d(this,"getChainId",async()=>this.requireAppKit().getChainId()??this.desiredChainId);d(this,"getAccount",async()=>this.requireAppKit().getAddress("eip155")??null);d(this,"getWalletName",()=>{var e,t,r;return(r=(t=(e=this.appKit)==null?void 0:e.getWalletInfo)==null?void 0:t.call(e,"eip155"))==null?void 0:r.name});d(this,"deactivate",()=>{});d(this,"clearInstance",()=>{var t,r;const e=this.provider;if(e){this.provider=void 0;try{(t=this.accountUnsubscribe)==null||t.call(this),(r=this.networkUnsubscribe)==null||r.call(this)}catch(i){console.warn("Error unsubscribing from AppKit events:",i)}return this.accountUnsubscribe=void 0,this.networkUnsubscribe=void 0,e}});d(this,"close",async()=>{var t;if(this.clearInstance()){try{await((t=this.appKit)==null?void 0:t.disconnect())}catch(r){console.warn("Error during WalletConnect disconnect:",r)}this.appKit=void 0}});d(this,"handleAccountsChanged",e=>{this.emitUpdate({account:e[0]})});d(this,"handleChainChanged",e=>{this.emitUpdate({chainId:e})});d(this,"handleDisconnect",()=>{this.clearInstance(),this.emitDeactivate()});this.desiredChainId=e}requireAppKit(){if(!this.appKit)throw new Error("AppKit is not initialized");return this.appKit}static isStaleSessionError(e){if(e instanceof Error){const t=e.message.toLowerCase();return t.includes("no matching key")||t.includes("session topic doesn't exist")||t.includes("missing or invalid")||t.includes("expired")||t.includes("user rejected methods")||t.includes("is not configured")||t.includes("cannot read properties")||t.includes("undefined is not an object")}return!1}async getNetworks(){const e=w.configuration.chains,t=await m(()=>import("./networks-ZmRqsvV6.js"),__vite__mapDeps([30,18,5,1,31,32,25,13,3,4,11,14,33,34,29])),r=e.map(s=>{const a=be[s];if(a)return t[a]}).filter(s=>s!==void 0);if(r.length===0)throw new Error("No supported networks found for WalletConnect");const i=r.find(s=>s.id===this.desiredChainId);if(i){const s=r.filter(a=>a.id!==this.desiredChainId);return[i,...s]}return[r[0],...r.slice(1)]}};d(w,"configuration",I()[g.ProviderType.WALLET_CONNECT_V2]),d(w,"clearStorage",(e=new Z)=>{e.removeRegExp(new RegExp("^wc@2:")),e.removeRegExp(new RegExp("^@appkit")),w.sharedAppKit=null}),d(w,"sharedAppKit",null);let _=w;class H extends E{constructor(e,t=!1){super({supportedChainIds:I()[g.ProviderType.MAGIC].chains});d(this,"isTest");d(this,"chainId");d(this,"account");d(this,"magic");d(this,"activate",async()=>{if(this.magic=await this.buildMagicInstance(this.chainId),!await this.magic.user.isLoggedIn())throw new Error("Magic: user isn't logged in");const t=await this.getProvider(),r=await t.request({method:"eth_accounts"});return this.account=r[0]??null,{provider:t,chainId:this.chainId,account:this.account}});d(this,"getProvider",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");const e=await this.magic.wallet.getProvider();return{...e,isMagic:!0,request:new Proxy(e.request,{apply:async(t,r,i)=>{var s,a,c;if(((s=i[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const u=parseInt((c=(a=i[0])==null?void 0:a.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(u)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(u),this.emitUpdate({chainId:u}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return t.bind(e)(...i)}}),sendAsync:new Proxy(e.send,{apply:async(t,r,i)=>t.bind(e)(...i)})}});d(this,"getChainId",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId});d(this,"getAccount",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account});d(this,"getEmail",async()=>{try{if(!this.magic||!await this.magic.user.isLoggedIn())return;const t=await this.magic.user.getInfo();return(t==null?void 0:t.email)??void 0}catch{return}});d(this,"deactivate",()=>{});d(this,"buildMagicInstance",async e=>{const{Magic:t}=await m(async()=>{const{Magic:a}=await import("./index-CwklEm59.js");return{Magic:a}},__vite__mapDeps([35,5,1,36])),{OAuthExtension:r}=await m(async()=>{const{OAuthExtension:a}=await import("./index-CN4l5w2c.js");return{OAuthExtension:a}},__vite__mapDeps([37,36,5,1,38,7,8,4,10,3])),i=I()[this.isTest?g.ProviderType.MAGIC_TEST:g.ProviderType.MAGIC],s=i.urls[e];if(!s)throw new Error(`Unsupported chainId for Magic: ${e}. Supported chains: ${Object.keys(i.urls).join(", ")}`);return new t(i.apiKey,{extensions:[new r],network:{rpcUrl:s,chainId:e}})});this.isTest=t,this.chainId=e,this.account=null}close(){if(!this.magic)throw new Error("Magic: instance was not initialized");return this.magic.user.logout()}}class ee extends H{constructor(n){super(n,!0)}}class te extends E{constructor(e){var t;super({supportedChainIds:((t=I().thirdweb)==null?void 0:t.chains)??[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA]});d(this,"chainId");d(this,"client");d(this,"wallet");d(this,"chain");d(this,"eip1193Provider");d(this,"activate",async()=>{const e=await this.getClient(),t=await this.getWallet();let r;try{r=await t.autoConnect({client:e})}catch{throw new Error("Thirdweb: No active session. User must authenticate first.")}if(!r)throw new Error("Thirdweb: No active session. User must authenticate first.");const i=await this.getChain(),{EIP1193:s}=await m(async()=>{const{EIP1193:u}=await import("./wallets-CpXU08d2.js").then(f=>f.Q);return{EIP1193:u}},__vite__mapDeps([39,40,41,42,5,1,13,3,4,11,14,43,44,45,46,47,48,49,50,51,27,52,53,54,19,16,20,55,21]));return this.eip1193Provider=s.toProvider({wallet:t,chain:i,client:e}),{provider:await this.getProvider(),chainId:this.chainId,account:r.address}});d(this,"getProvider",async()=>{if(!this.eip1193Provider)throw new Error("Thirdweb: wallet is not connected. Call activate() first.");const e=this.eip1193Provider;return{...e,isDapper:!1,isFortmatic:!1,isMetamask:!1,isMagic:!1,isThirdweb:!0,request:new Proxy(e.request,{apply:async(t,r,i)=>{var a,c,u,f;if(((a=i[0])==null?void 0:a.method)==="wallet_switchEthereumChain"){const p=(f=(u=(c=i[0])==null?void 0:c.params)==null?void 0:u[0])==null?void 0:f.chainId,v=parseInt(p,16);if(this.supportedChainIds&&!this.supportedChainIds.includes(v))throw new Error("Thirdweb: unsupported chain");this.chainId=v,this.chain=null,this.eip1193Provider=null;const T=await this.getClient(),ne=await this.getWallet(),ie=await this.getChain(),{EIP1193:oe}=await m(async()=>{const{EIP1193:ae}=await import("./wallets-CpXU08d2.js").then(se=>se.Q);return{EIP1193:ae}},__vite__mapDeps([39,40,41,42,5,1,13,3,4,11,14,43,44,45,46,47,48,49,50,51,27,52,53,54,19,16,20,55,21]));return this.eip1193Provider=oe.toProvider({wallet:ne,chain:ie,client:T}),this.emitUpdate({chainId:v}),null}return Reflect.apply(t,e,i)}}),sendAsync:new Proxy(e.request,{apply:async(t,r,i)=>Reflect.apply(t,e,i)})}});d(this,"getChainId",async()=>this.chainId);d(this,"getAccount",async()=>{if(!this.wallet)return null;try{const e=this.wallet.getAccount();return(e==null?void 0:e.address)??null}catch{return null}});d(this,"getEmail",async()=>{try{const e=await this.getClient(),{getUserEmail:t}=await m(async()=>{const{getUserEmail:i}=await import("./in-app-CSDr4Blb.js");return{getUserEmail:i}},__vite__mapDeps([56,41,42,5,1,47,46,13,3,4,11,14,57,58]));return await t({client:e})??void 0}catch{return}});d(this,"deactivate",()=>{});this.chainId=e,this.client=null,this.wallet=null,this.chain=null,this.eip1193Provider=null}async getClient(){if(this.client)return this.client;let e;try{e=await m(()=>import("./thirdweb-ChAqWFCO.js").then(r=>r.t),__vite__mapDeps([59,42,5,1,41,40,13,3,4,11,14,43,44,45,60,61,62,63,64,65,54,66,67,68,69,53]))}catch{throw new Error("Thirdweb: thirdweb package is not installed.")}const t=I().thirdweb;return this.client=e.createThirdwebClient({clientId:t.clientId}),this.client}async getWallet(){if(this.wallet)return this.wallet;let e;try{e=await m(()=>import("./wallets-CpXU08d2.js").then(t=>t.Q),__vite__mapDeps([39,40,41,42,5,1,13,3,4,11,14,43,44,45,46,47,48,49,50,51,27,52,53,54,19,16,20,55,21]))}catch{throw new Error("Thirdweb: thirdweb package is not installed. Run: npm install thirdweb")}return this.wallet=e.inAppWallet(),this.wallet}async getChain(){if(this.chain)return this.chain;const e=await m(()=>import("./chains-Dlj4CXzw.js"),__vite__mapDeps([70,42,5,1,68,50]));return this.chain=e.defineChain(this.chainId),this.chain}async close(){this.wallet&&await this.wallet.disconnect(),this.wallet=null,this.chain=null,this.eip1193Provider=null}}class M{constructor(n){d(this,"provider");d(this,"id",0);d(this,"on",(n,e)=>this.provider.on(n,e));d(this,"emit",(n,...e)=>this.provider.emit(n,e));d(this,"removeListener",(n,e)=>this.provider.removeListener(n,e));d(this,"request",async({method:n,params:e})=>this.isModernProvider()?this.provider.request({method:n,params:e}):this.send(n,e));d(this,"sendAsync",async(n,e)=>this.hasSendAsync()?this.provider.sendAsync(n,(t,r)=>{r&&!Object.prototype.hasOwnProperty.call(r,"result")?e(t,{id:0,jsonrpc:"2.0",result:r}):e(t,r)}):this.send(n,e));this.provider=n}static adapt(n){const e=new M(n);return{...n,on:e.on,emit:e.emit,removeListener:e.removeListener,request:e.request,sendAsync:e.sendAsync,send:e.send.bind(e)}}async send(n,e){let t,r,i;const s=typeof e=="function";if(s){const a=n;r=a.params||[],t=a.method,i=e}else t=n,r=e||[],i=(a,c)=>{if(a)throw a;return c};if(this.isModernProvider()){const[a,c]=await this.provider.request({method:t,params:r}).then(f=>[null,f]).catch(f=>[f,void 0]);return i(a,s?{id:"",jsonrpc:"2.0",result:c}:c)}else{this.patchOldMobile();const[a,c]=s?await new Promise(u=>this.provider.send(n,(f,p)=>{u([f,p])})):await new Promise(u=>this.provider.send({jsonrpc:"2.0",id:++this.id,method:t,params:r},(f,p)=>{const v=p;u([(v==null?void 0:v.error)??f,(v==null?void 0:v.result)??p])}));return i(a,c)}}isModernProvider(){return"request"in this.provider&&typeof this.provider.request=="function"}hasSendAsync(){return typeof this.provider.sendAsync=="function"}patchOldMobile(){this.provider&&!this.provider.isDapper&&!this.provider.isFortmatic&&!this.provider.isMetamask&&this.hasSendAsync()&&this.provider.send!==this.provider.sendAsync&&(this.provider.send=this.provider.sendAsync.bind(this.provider))}}class re{constructor(n){d(this,"storage");d(this,"connector");d(this,"promiseOfConnection");d(this,"getWalletName",()=>{if(this.connector instanceof _)return this.connector.getWalletName()});d(this,"clearConnectionData",()=>{const{storageKey:n}=I();this.storage.remove(n),_.clearStorage(this.storage)});d(this,"handleWeb3ReactDeactivate",async()=>{try{await this.disconnect()}catch(n){console.error(n)}});this.storage=n}async connect(n,e=h.ChainId.ETHEREUM_MAINNET){if(this.connector)try{await this.disconnect()}catch(a){console.error("Error disconnecting previous connection",a)}const t=this.buildConnector(n,e);t.on(C.Deactivate,this.handleWeb3ReactDeactivate);let{provider:r,account:i}={};try{const a=await t.activate();r=a.provider,i=a.account}catch(a){throw console.error("Error activating the connector",a),a}(n===l.ProviderType.MAGIC||n===l.ProviderType.MAGIC_TEST||n===l.ProviderType.THIRDWEB)&&t.on(C.Update,({chainId:a})=>{a&&this.setConnectionData(n,a)});let s=e;if(n===l.ProviderType.INJECTED){const a=await r.request({method:"eth_chainId"});s=a?parseInt(a,16):s}return this.connector=t,this.setConnectionData(n,s),{provider:M.adapt(r),providerType:n,account:i||"",chainId:s}}isConnected(){return!!this.connector&&!!this.getConnectionData()}async tryPreviousConnection(){const n=this.getConnectionData();if(!n)throw new Error("Could not find a valid provider. Make sure to call the `connect` method first");if(this.connector){const[t,r]=await Promise.all([this.connector.getProvider(),this.connector.getAccount()]);return{provider:t,providerType:n.providerType,chainId:n.chainId,account:r||""}}let e;try{e=this.promiseOfConnection?await this.promiseOfConnection:await(this.promiseOfConnection=this.connect(n.providerType,n.chainId))}finally{this.promiseOfConnection=void 0}return{...e,chainId:this.getConnectionData().chainId}}getAvailableProviders(){const n=[l.ProviderType.FORTMATIC,l.ProviderType.WALLET_CONNECT,l.ProviderType.WALLET_LINK];return typeof window<"u"&&window.ethereum!==void 0?n.unshift(l.ProviderType.INJECTED):n.unshift(l.ProviderType.METAMASK_MOBILE),n}async disconnect(){this.connector&&(this.connector.removeAllListeners(C.Deactivate),this.connector.removeAllListeners(C.Update),this.connector.deactivate(),this.isClosableConnector()&&await this.connector.close()),this.clearConnectionData(),this.connector=void 0}async getProvider(){if(!this.connector)throw new Error("No valid connector found. Please .connect() first");return this.connector.getProvider()}async getEmail(){const n=this.connector;if(n!=null&&n.getEmail)try{return await n.getEmail()}catch{return}}async createProvider(n,e=h.ChainId.ETHEREUM_MAINNET){const r=await this.buildConnector(n,e).getProvider();return M.adapt(r)}buildConnector(n,e){switch(n){case l.ProviderType.INJECTED:return new J(e);case l.ProviderType.FORTMATIC:return new z(e);case l.ProviderType.MAGIC:return new H(e);case l.ProviderType.MAGIC_TEST:return new ee(e);case l.ProviderType.WALLET_LINK:return new X(e);case l.ProviderType.NETWORK:return new Q(e);case l.ProviderType.WALLET_CONNECT_V2:return new _(e);case l.ProviderType.THIRDWEB:return new te(e);default:throw new Error(`Invalid provider ${n}`)}}getConnectionData(){const{storageKey:n}=I(),e=this.storage.get(n);try{return e?JSON.parse(e):void 0}catch(t){console.error("Error parsing connection data",t);return}}storeConnectionData(n,e){this.setConnectionData(n,e)}setConnectionData(n,e){const{storageKey:t}=I(),r=JSON.stringify({providerType:n,chainId:e});this.storage.set(t,r)}isClosableConnector(){return this.connector&&"close"in this.connector}}const Oe=new re(new Z),Ke=Object.freeze(Object.defineProperty({__proto__:null,AbstractConnector:E,ConnectionManager:re,ErrorUnlockingWallet:G,FortmaticConnector:z,InjectedConnector:J,MagicConnector:H,MagicTestConnector:ee,NetworkConnector:Q,ProviderAdapter:M,ThirdwebConnector:te,WalletConnectV2Connector:_,WalletLinkConnector:X,connection:Oe,getConfiguration:I,getRpcUrls:A},Symbol.toStringTag,{value:"Module"}));export{je as N,Oe as c,$ as e,Ke as i};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/fortmatic-HaPICQeD.js","_assets/react-BYHuwl8r.js","_assets/index-DU4h63RV.js","_assets/dcl-schemas-CmtP3U6y.js","_assets/ethers-BDpbhgX6.js","_assets/sentry-Dx-KuLV3.js","_assets/index-COjgItKg.js","_assets/index-BuUQ4paE.js","_assets/index-BX3lLNL7.js","_assets/hooks.module-C4R15-Vr.js","_assets/events-DQ172AOg.js","_assets/intl-CBcMB1D2.js","_assets/index-DaSPxwNy.js","_assets/index-BwmnMTdg.js","_assets/index-DB6GvbxL.css","_assets/W3MFrameProviderSingleton-ChXXI6YZ.js","_assets/index-w01WQ1OT.js","_assets/browser-ponyfill-Dj0kiq3a.js","_assets/NetworkUtil-DXqql1Wz.js","_assets/index-tLIN_GkS.js","_assets/index-nibyPLVP.js","_assets/index-Bz4Oae-5.js","_assets/index.es-DAZuzUm7.js","_assets/lit-element-B3y9oplH.js","_assets/index-BRQ9Wcma.js","_assets/sendRawTransaction-yrJJjJuj.js","_assets/index-DbLpdy-5.js","_assets/store-CraP4F4Y.js","_assets/custom-B3uMWhu7.js","_assets/writeContract-EKs-5iav.js","_assets/networks-DxoGDzHE.js","_assets/zoraTestnet-DPmpNXvV.js","_assets/verifyHash-Cdp-LdrE.js","_assets/secp256k1-DREcXm38.js","_assets/serializeTransaction-DbAjRO35.js","_assets/index-CwklEm59.js","_assets/index-_c5LJlQE.js","_assets/index-CN4l5w2c.js","_assets/index-CxQtr_qc.js","_assets/wallets-wYcTf8sk.js","_assets/signing-DIdv4EGK.js","_assets/prepare-contract-call-DDzIRXLv.js","_assets/utils-BQF5MiO5.js","_assets/to-serializable-transaction-DRJLaygN.js","_assets/transaction-Col-q-Ce.js","_assets/get-bytecode-BRKTQsHC.js","_assets/execute-BXynqqjh.js","_assets/detectExtension-DX7grDLh.js","_assets/linkAccount-BtAQZlYa.js","_assets/index-IvNZzfoI.js","_assets/ethereum-CBeS7QFR.js","_assets/types-DC0Zmj1B.js","_assets/hashTypedData-LiZBeYpJ.js","_assets/send-transaction-D3DYgONV.js","_assets/eth_sendRawTransaction-DPdnXbFR.js","_assets/index-CJdot1dH.js","_assets/in-app-Di-YguDK.js","_assets/passkeys-wDVu6yuN.js","_assets/uint8-array-CjVHUazS.js","_assets/thirdweb-Bf4Axk_U.js","_assets/wait-for-tx-receipt-C9B0C6I6.js","_assets/transactionReceipt-Bhig9TGy.js","_assets/sleep-mAKpSMLY.js","_assets/eth_estimateGas-BZtzeL48.js","_assets/eth_getStorageAt-E4OzrSEc.js","_assets/eth_getTransactionCount-Ck8bEyl_.js","_assets/decimals-CMCAWgOh.js","_assets/decimals-CqRsKj6U.js","_assets/zora-sepolia-5SAdD430.js","_assets/send-batch-transaction-5BgfAaSR.js","_assets/chains-Dlj4CXzw.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var ce=Object.defineProperty;var de=(o,n,e)=>n in o?ce(o,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[n]=e;var d=(o,n,e)=>de(o,typeof n!="symbol"?n+"":n,e);import{e as h,f as l,g}from"./dcl-schemas-CmtP3U6y.js";import{g as ue}from"./react-BYHuwl8r.js";import{r as he}from"./events-DQ172AOg.js";import{_ as m}from"./index-BwmnMTdg.js";var C;(function(o){o.Update="Web3ReactUpdate",o.Error="Web3ReactError",o.Deactivate="Web3ReactDeactivate"})(C||(C={}));const le={clientId:"e1adce863fe287bb6cf0e3fd90bdb77f",chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY]},pe={storageKey:"decentraland-connect-storage-key",[l.ProviderType.INJECTED]:{},[l.ProviderType.FORTMATIC]:{apiKeys:{[h.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[h.ChainId.ETHEREUM_SEPOLIA]:"pk_test_5B728BEFE5C10911"},urls:A(l.ProviderType.FORTMATIC)},[l.ProviderType.NETWORK]:{urls:A(l.ProviderType.NETWORK)},[l.ProviderType.WALLET_LINK]:{appName:"Decentraland",urls:A(l.ProviderType.WALLET_LINK)},[l.ProviderType.WALLET_CONNECT_V2]:{projectId:"61570c542c2d66c659492e5b24a41522",urls:A(l.ProviderType.WALLET_CONNECT_V2),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.ARBITRUM_MAINNET,h.ChainId.OPTIMISM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},thirdweb:le};function I(){return pe}function A(o){const n={[h.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[h.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[h.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[h.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[h.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[h.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[h.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[h.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[h.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let e="";switch(o){case l.ProviderType.WALLET_LINK:e="walletlink";break;case l.ProviderType.FORTMATIC:e="fortmatic";break;case l.ProviderType.MAGIC:e="magic";break;case l.ProviderType.MAGIC_TEST:e="magic";break;case l.ProviderType.WALLET_CONNECT_V2:e="walletconnect-v2";break;case l.ProviderType.THIRDWEB:e="thirdweb";break}if(e){const t=Object.keys(n);for(const r of t)n[r]+=`?project=${e}`}return n}var $=he();const je=ue($);function fe(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}var E=(function(o){fe(n,o);function n(t){var r,i=t===void 0?{}:t,s=i.supportedChainIds;return r=o.call(this)||this,r.supportedChainIds=s,r}var e=n.prototype;return e.emitUpdate=function(r){this.emit(C.Update,r)},e.emitError=function(r){this.emit(C.Error,r)},e.emitDeactivate=function(){this.emit(C.Deactivate)},n})($.EventEmitter);class z extends E{constructor(e){const t=I()[g.ProviderType.FORTMATIC],r=Object.keys(t.apiKeys).map(i=>Number(i));if(!r.includes(e))throw new Error(`Invariant error: Unsupported chainId ${e}`);super({supportedChainIds:r});d(this,"apiKey");d(this,"chainId");d(this,"rpcUrl");d(this,"fortmatic");this.apiKey=t.apiKeys[e],this.chainId=e,this.rpcUrl=t.urls[e]}async activate(){if(!this.fortmatic){const{default:t}=await m(async()=>{const{default:r}=await import("./fortmatic-HaPICQeD.js").then(i=>i.f);return{default:r}},__vite__mapDeps([0,1]));this.fortmatic=new t(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const e=await this.fortmatic.getProvider().enable().then(t=>t[0]);return{provider:this.fortmatic.getProvider(),chainId:this.chainId,account:e}}getApiKey(){return this.apiKey}async getProvider(){return this.fortmatic.getProvider()}async getChainId(){return this.chainId}async getAccount(){return this.fortmatic.getProvider().send("eth_accounts").then(e=>e[0])}deactivate(){}close(){return this.fortmatic.user.logout()}}function j(){return j=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t])}return o},j.apply(this,arguments)}function q(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}function K(o){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(o)}function L(o,n){return L=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},L(o,n)}function ve(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(o,n,e){return ve()?O=Reflect.construct:O=function(r,i,s){var a=[null];a.push.apply(a,i);var c=Function.bind.apply(r,a),u=new c;return s&&L(u,s.prototype),u},O.apply(null,arguments)}function we(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function S(o){var n=typeof Map=="function"?new Map:void 0;return S=function(t){if(t===null||!we(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return O(t,arguments,K(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),L(r,t)},S(o)}function b(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function P(o,n){try{var e=o()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}function y(o){return o.hasOwnProperty("result")?o.result:o}var k=(function(o){q(n,o);function n(){var e;return e=o.call(this)||this,e.name=e.constructor.name,e.message="No Ethereum provider was found on window.ethereum.",e}return n})(S(Error)),ge=(function(o){q(n,o);function n(){var e;return e=o.call(this)||this,e.name=e.constructor.name,e.message="The user rejected the request.",e}return n})(S(Error)),me=(function(o){q(n,o);function n(t){var r;return r=o.call(this,t)||this,r.handleNetworkChanged=r.handleNetworkChanged.bind(b(r)),r.handleChainChanged=r.handleChainChanged.bind(b(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(b(r)),r.handleClose=r.handleClose.bind(b(r)),r}var e=n.prototype;return e.handleChainChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.handleAccountsChanged=function(r){r.length===0?this.emitDeactivate():this.emitUpdate({account:r[0]})},e.handleClose=function(r,i){this.emitDeactivate()},e.handleNetworkChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.activate=function(){try{var r=function(f){if(i)return f;function p(){return j({provider:window.ethereum},a?{account:a}:{})}var v=(function(){if(!a)return Promise.resolve(window.ethereum.enable().then(function(T){return T&&y(T)[0]})).then(function(T){a=T})})();return v&&v.then?v.then(p):p(v)},i=!1,s=this;if(!window.ethereum)throw new k;window.ethereum.on&&(window.ethereum.on("chainChanged",s.handleChainChanged),window.ethereum.on("accountsChanged",s.handleAccountsChanged),window.ethereum.on("close",s.handleClose),window.ethereum.on("networkChanged",s.handleNetworkChanged)),window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1);var a,c=P(function(){return Promise.resolve(window.ethereum.send("eth_requestAccounts").then(function(u){return y(u)[0]})).then(function(u){a=u})},function(u){if(u.code===4001)throw new ge});return Promise.resolve(c&&c.then?c.then(r):r(c))}catch(u){return Promise.reject(u)}},e.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(r){return Promise.reject(r)}},e.getChainId=function(){try{var r=function(){function c(){if(!i)try{i=y(window.ethereum.send({method:"net_version"}))}catch{}return i||(window.ethereum.isDapper?i=y(window.ethereum.cachedResults.net_version):i=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),i}var u=(function(){if(!i){var f=P(function(){return Promise.resolve(window.ethereum.send("net_version").then(y)).then(function(p){i=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var i,s=P(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(y)).then(function(a){i=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.getAccount=function(){try{var r=function(){function c(){return i||(i=y(window.ethereum.send({method:"eth_accounts"}))[0]),i}var u=(function(){if(!i){var f=P(function(){return Promise.resolve(window.ethereum.enable().then(function(p){return y(p)[0]})).then(function(p){i=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var i,s=P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(a){return y(a)[0]})).then(function(a){i=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.deactivate=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},e.isAuthorized=function(){try{return window.ethereum?Promise.resolve(P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(r){return y(r).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(r){return Promise.reject(r)}},n})(E);class G extends Error{constructor(){super("There was an error unlocking your wallet. Please be sure your wallet is unlocked and try again."),this.name="ErrorUnlockingWallet"}}const Ie=60*1e3;class J extends me{constructor(n){super({supportedChainIds:[n]})}async activate(){const n=new Promise((t,r)=>{setTimeout(()=>{r(new G)},Ie)}),e=super.activate();return Promise.race([e,n])}}var ye="Invariant failed";function V(o,n){throw new Error(ye)}function Y(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,N(o,n)}function D(o){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(o)}function N(o,n){return N=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},N(o,n)}function Ce(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function R(o,n,e){return Ce()?R=Reflect.construct:R=function(r,i,s){var a=[null];a.push.apply(a,i);var c=Function.bind.apply(r,a),u=new c;return s&&N(u,s.prototype),u},R.apply(null,arguments)}function Ee(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function W(o){var n=typeof Map=="function"?new Map:void 0;return W=function(t){if(t===null||!Ee(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return R(t,arguments,D(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),N(r,t)},W(o)}var U=(function(o){Y(n,o);function n(e,t,r){var i;return i=o.call(this)||this,i.code=t,i.data=r,i.name=i.constructor.name,i.message=e,i}return n})(W(Error)),Ae=function(n,e){var t=this,r=this;this.isMetaMask=!1,this.sendAsync=function(s,a){console.log("sendAsync",s.method,s.params),r.request(s.method,s.params).then(function(c){return a(null,{jsonrpc:"2.0",id:s.id,result:c})}).catch(function(c){return a(c,null)})},this.request=function(s,a){try{return typeof s!="string"&&(a=s.params,s=s.method),Promise.resolve(fetch(t.url,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:s,params:a}),headers:{"Content-Type":"application/json"}})).then(function(c){if(!c.ok)throw new U(c.status+": "+c.statusText,-32e3);return Promise.resolve(c.json()).then(function(u){if("error"in u){var f,p,v;throw new U(u==null||(f=u.error)==null?void 0:f.message,u==null||(p=u.error)==null?void 0:p.code,u==null||(v=u.error)==null?void 0:v.data)}else{if("result"in u)return u.result;throw new U("Received unexpected JSON-RPC response to "+s+" request.",-32e3,u)}})})}catch(c){return Promise.reject(c)}},this.chainId=n,this.url=e;var i=new URL(e);this.host=i.host,this.path=i.pathname},Te=(function(o){Y(n,o);function n(t){var r,i=t.urls,s=t.defaultChainId;return s||Object.keys(i).length===1||V(),r=o.call(this,{supportedChainIds:Object.keys(i).map(function(a){return Number(a)})})||this,r.currentChainId=s||Number(Object.keys(i)[0]),r.providers=Object.keys(i).reduce(function(a,c){return a[Number(c)]=new Ae(Number(c),i[Number(c)]),a},{}),r}var e=n.prototype;return e.activate=function(){try{var r=this;return Promise.resolve({provider:r.providers[r.currentChainId],chainId:r.currentChainId,account:null})}catch(i){return Promise.reject(i)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.providers[r.currentChainId])}catch(i){return Promise.reject(i)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.currentChainId)}catch(i){return Promise.reject(i)}},e.getAccount=function(){return Promise.resolve(null)},e.deactivate=function(){},e.changeChainId=function(r){Object.keys(this.providers).includes(r.toString())||V(),this.currentChainId=r,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:r})},n})(E);class Q extends Te{constructor(n){super({urls:I()[l.ProviderType.NETWORK].urls,defaultChainId:n})}}function x(){return x=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t])}return o},x.apply(this,arguments)}function Pe(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,F(o,n)}function F(o,n){return F=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},F(o,n)}function B(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}var _e=1,Ne=(function(o){Pe(n,o);function n(t){var r,i=t.url,s=t.appName,a=t.appLogoUrl,c=t.darkMode,u=t.supportedChainIds;return r=o.call(this,{supportedChainIds:u})||this,r.url=i,r.appName=s,r.appLogoUrl=a,r.darkMode=c||!1,r.handleChainChanged=r.handleChainChanged.bind(B(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(B(r)),r}var e=n.prototype;return e.activate=function(){try{var r=this,i=function(){return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(c){var u=c[0];return r.provider.on("chainChanged",r.handleChainChanged),r.provider.on("accountsChanged",r.handleAccountsChanged),{provider:r.provider,account:u}})},s=(function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)r.provider=window.ethereum;else{var a=(function(){if(!r.walletLink)return Promise.resolve(m(()=>import("./index-DU4h63RV.js").then(c=>c.i),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11])).then(function(c){var u;return(u=c==null?void 0:c.default)!=null?u:c})).then(function(c){r.walletLink=new c(x({appName:r.appName,darkMode:r.darkMode},r.appLogoUrl?{appLogoUrl:r.appLogoUrl}:{})),r.provider=r.walletLink.makeWeb3Provider(r.url,_e)})})();if(a&&a.then)return a.then(function(){})}})();return Promise.resolve(s&&s.then?s.then(i):i(s))}catch(a){return Promise.reject(a)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.provider)}catch(i){return Promise.reject(i)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.provider.chainId)}catch(i){return Promise.reject(i)}},e.getAccount=function(){try{var r=this;return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(i){return i[0]})}catch(i){return Promise.reject(i)}},e.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},e.close=function(){try{var r=this;return r.provider.close(),r.emitDeactivate(),Promise.resolve()}catch(i){return Promise.reject(i)}},e.handleChainChanged=function(r){this.emitUpdate({chainId:r})},e.handleAccountsChanged=function(r){this.emitUpdate({account:r[0]})},n})(E);class X extends Ne{constructor(n){const e=I()[g.ProviderType.WALLET_LINK],t=e.urls[n];if(!t)throw new Error(`Unsupported chainId for WalletLink: ${n}. Supported chains: ${Object.keys(e.urls).join(", ")}`);super({url:t,appName:e.appName,supportedChainIds:[n]})}}class Me{}class Z extends Me{get(n){const e=window.localStorage.getItem(n);return e===null?void 0:e}set(n,e){window.localStorage.setItem(n,e)}remove(n){window.localStorage.removeItem(n)}removeRegExp(n){for(let e=localStorage.length-1;e>=0;e--){const t=localStorage.key(e);t&&n.test(t)&&localStorage.removeItem(t)}}}const be={[g.ChainId.ETHEREUM_MAINNET]:"mainnet",[g.ChainId.ETHEREUM_SEPOLIA]:"sepolia",[g.ChainId.MATIC_MAINNET]:"polygon",[g.ChainId.MATIC_AMOY]:"polygonAmoy",[g.ChainId.ARBITRUM_MAINNET]:"arbitrum",[g.ChainId.OPTIMISM_MAINNET]:"optimism",[g.ChainId.AVALANCHE_MAINNET]:"avalanche",[g.ChainId.BSC_MAINNET]:"bsc",[g.ChainId.FANTOM_MAINNET]:"fantom"},w=class w extends E{constructor(e){super({supportedChainIds:w.configuration.chains});d(this,"desiredChainId");d(this,"appKit");d(this,"provider");d(this,"accountUnsubscribe");d(this,"networkUnsubscribe");d(this,"initAppKit",async()=>{if(w.sharedAppKit)return this.appKit=w.sharedAppKit,this.appKit;const{createAppKit:e}=await m(async()=>{const{createAppKit:s}=await import("./index-DaSPxwNy.js").then(a=>a.h);return{createAppKit:s}},__vite__mapDeps([12,13,1,3,5,4,11,14,15,16,17,18,19,20,21,22,23])),{WagmiAdapter:t}=await m(async()=>{const{WagmiAdapter:s}=await import("./index-BRQ9Wcma.js").then(a=>a.b);return{WagmiAdapter:s}},__vite__mapDeps([24,15,3,16,1,5,17,18,13,4,11,14,25,26,6,27,28,29])),r=await this.getNetworks(),i=new t({networks:r,projectId:w.configuration.projectId});return this.appKit=e({adapters:[i],projectId:w.configuration.projectId,networks:r,defaultNetwork:r[0],metadata:{name:"Decentraland",description:"Decentraland - Virtual World",url:typeof window<"u"?window.location.origin:"https://decentraland.org",icons:["https://decentraland.org/favicon.ico"]},themeMode:"dark",themeVariables:{"--w3m-z-index":3e3},features:{analytics:!1,email:!1,socials:!1,onramp:!1,swaps:!1},enableInjected:!0,enableEIP6963:!0}),w.sharedAppKit=this.appKit,await this.waitForSessionRestore(),this.appKit});d(this,"waitForSessionRestore",async()=>{const e=this.appKit;if(!e)return;const t=e.getAccount();if((t==null?void 0:t.status)==="connected"||(t==null?void 0:t.status)==="disconnected")return;const r=t!=null&&t.status?5e3:500;return new Promise(i=>{const s=setTimeout(()=>{a==null||a(),i()},r),a=e.subscribeAccount(c=>{((c==null?void 0:c.status)==="connected"||(c==null?void 0:c.status)==="disconnected")&&(clearTimeout(s),a==null||a(),i())},"eip155")})});d(this,"validateRestoredSession",async e=>{try{const t=e.getWalletProvider();return t?(await t.request({method:"eth_chainId"}),!0):!1}catch(t){return w.isStaleSessionError(t)?!1:(console.warn("Error validating WalletConnect session:",t),!0)}});d(this,"openModalAndWaitForConnection",async()=>{const e=this.requireAppKit(),t=()=>new Promise((r,i)=>{let s=!1;const a=(p,v)=>{s||(s=!0,clearTimeout(c),p==null||p(),v==null||v())},c=setTimeout(()=>{a(),i(new Error("Connection timeout"))},3e5),u=e.subscribeAccount(p=>{p!=null&&p.isConnected&&(p!=null&&p.address)&&(a(u,f),r(p.address))},"eip155"),f=e.subscribeState(p=>{!p.open&&!e.getAddress("eip155")&&(a(u,f),i(new Error("User closed the modal without connecting")))})});try{await e.open({view:"Connect"}),await t()}catch(r){if(w.isStaleSessionError(r)){if(console.warn("Stale session detected, retrying connection..."),w.clearStorage(),await this.initAppKit(),!this.appKit)throw new Error("AppKit reinitialization failed");await this.appKit.open({view:"Connect"}),await t()}else throw r}});d(this,"activate",async()=>{try{await this.initAppKit()}catch(c){if(console.error("Error initializing AppKit",c),w.isStaleSessionError(c))console.warn("WalletConnect session is stale, clearing storage and retrying..."),w.clearStorage(),await this.initAppKit();else throw c}const e=this.requireAppKit(),t=e.getAccount();(t==null?void 0:t.status)==="connected"&&(t==null?void 0:t.address)?await this.validateRestoredSession(e)||(console.warn("Restored WalletConnect session is stale, clearing and prompting reconnection..."),w.clearStorage(),await this.initAppKit(),await this.openModalAndWaitForConnection()):await this.openModalAndWaitForConnection();const i=e.getWalletProvider();if(!i)throw new Error("Failed to get wallet provider after connection");this.provider=i,this.accountUnsubscribe=e.subscribeAccount(c=>{c!=null&&c.address&&this.handleAccountsChanged([c.address])},"eip155"),this.networkUnsubscribe=e.subscribeCaipNetworkChange(c=>{c!=null&&c.id&&this.handleChainChanged(c.id)});const s=e.getAddress("eip155");return{chainId:e.getChainId()||this.desiredChainId,account:s||null,provider:this.provider}});d(this,"getProvider",async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider});d(this,"getChainId",async()=>this.requireAppKit().getChainId()??this.desiredChainId);d(this,"getAccount",async()=>this.requireAppKit().getAddress("eip155")??null);d(this,"getWalletName",()=>{var e,t,r;return(r=(t=(e=this.appKit)==null?void 0:e.getWalletInfo)==null?void 0:t.call(e,"eip155"))==null?void 0:r.name});d(this,"deactivate",()=>{});d(this,"clearInstance",()=>{var t,r;const e=this.provider;if(e){this.provider=void 0;try{(t=this.accountUnsubscribe)==null||t.call(this),(r=this.networkUnsubscribe)==null||r.call(this)}catch(i){console.warn("Error unsubscribing from AppKit events:",i)}return this.accountUnsubscribe=void 0,this.networkUnsubscribe=void 0,e}});d(this,"close",async()=>{var t;if(this.clearInstance()){try{await((t=this.appKit)==null?void 0:t.disconnect())}catch(r){console.warn("Error during WalletConnect disconnect:",r)}this.appKit=void 0}});d(this,"handleAccountsChanged",e=>{this.emitUpdate({account:e[0]})});d(this,"handleChainChanged",e=>{this.emitUpdate({chainId:e})});d(this,"handleDisconnect",()=>{this.clearInstance(),this.emitDeactivate()});this.desiredChainId=e}requireAppKit(){if(!this.appKit)throw new Error("AppKit is not initialized");return this.appKit}static isStaleSessionError(e){if(e instanceof Error){const t=e.message.toLowerCase();return t.includes("no matching key")||t.includes("session topic doesn't exist")||t.includes("missing or invalid")||t.includes("expired")||t.includes("user rejected methods")||t.includes("is not configured")||t.includes("cannot read properties")||t.includes("undefined is not an object")}return!1}async getNetworks(){const e=w.configuration.chains,t=await m(()=>import("./networks-DxoGDzHE.js"),__vite__mapDeps([30,18,5,1,31,32,25,13,3,4,11,14,33,34,29])),r=e.map(s=>{const a=be[s];if(a)return t[a]}).filter(s=>s!==void 0);if(r.length===0)throw new Error("No supported networks found for WalletConnect");const i=r.find(s=>s.id===this.desiredChainId);if(i){const s=r.filter(a=>a.id!==this.desiredChainId);return[i,...s]}return[r[0],...r.slice(1)]}};d(w,"configuration",I()[g.ProviderType.WALLET_CONNECT_V2]),d(w,"clearStorage",(e=new Z)=>{e.removeRegExp(new RegExp("^wc@2:")),e.removeRegExp(new RegExp("^@appkit")),w.sharedAppKit=null}),d(w,"sharedAppKit",null);let _=w;class H extends E{constructor(e,t=!1){super({supportedChainIds:I()[g.ProviderType.MAGIC].chains});d(this,"isTest");d(this,"chainId");d(this,"account");d(this,"magic");d(this,"activate",async()=>{if(this.magic=await this.buildMagicInstance(this.chainId),!await this.magic.user.isLoggedIn())throw new Error("Magic: user isn't logged in");const t=await this.getProvider(),r=await t.request({method:"eth_accounts"});return this.account=r[0]??null,{provider:t,chainId:this.chainId,account:this.account}});d(this,"getProvider",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");const e=await this.magic.wallet.getProvider();return{...e,isMagic:!0,request:new Proxy(e.request,{apply:async(t,r,i)=>{var s,a,c;if(((s=i[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const u=parseInt((c=(a=i[0])==null?void 0:a.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(u)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(u),this.emitUpdate({chainId:u}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return t.bind(e)(...i)}}),sendAsync:new Proxy(e.send,{apply:async(t,r,i)=>t.bind(e)(...i)})}});d(this,"getChainId",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId});d(this,"getAccount",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account});d(this,"getEmail",async()=>{try{if(!this.magic||!await this.magic.user.isLoggedIn())return;const t=await this.magic.user.getInfo();return(t==null?void 0:t.email)??void 0}catch{return}});d(this,"deactivate",()=>{});d(this,"buildMagicInstance",async e=>{const{Magic:t}=await m(async()=>{const{Magic:a}=await import("./index-CwklEm59.js");return{Magic:a}},__vite__mapDeps([35,5,1,36])),{OAuthExtension:r}=await m(async()=>{const{OAuthExtension:a}=await import("./index-CN4l5w2c.js");return{OAuthExtension:a}},__vite__mapDeps([37,36,5,1,38,7,8,4,10,3])),i=I()[this.isTest?g.ProviderType.MAGIC_TEST:g.ProviderType.MAGIC],s=i.urls[e];if(!s)throw new Error(`Unsupported chainId for Magic: ${e}. Supported chains: ${Object.keys(i.urls).join(", ")}`);return new t(i.apiKey,{extensions:[new r],network:{rpcUrl:s,chainId:e}})});this.isTest=t,this.chainId=e,this.account=null}close(){if(!this.magic)throw new Error("Magic: instance was not initialized");return this.magic.user.logout()}}class ee extends H{constructor(n){super(n,!0)}}class te extends E{constructor(e){var t;super({supportedChainIds:((t=I().thirdweb)==null?void 0:t.chains)??[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA]});d(this,"chainId");d(this,"client");d(this,"wallet");d(this,"chain");d(this,"eip1193Provider");d(this,"activate",async()=>{const e=await this.getClient(),t=await this.getWallet();let r;try{r=await t.autoConnect({client:e})}catch{throw new Error("Thirdweb: No active session. User must authenticate first.")}if(!r)throw new Error("Thirdweb: No active session. User must authenticate first.");const i=await this.getChain(),{EIP1193:s}=await m(async()=>{const{EIP1193:u}=await import("./wallets-wYcTf8sk.js").then(f=>f.Q);return{EIP1193:u}},__vite__mapDeps([39,40,41,42,5,1,13,3,4,11,14,43,44,45,46,47,48,49,50,51,27,52,53,54,19,16,20,55,21]));return this.eip1193Provider=s.toProvider({wallet:t,chain:i,client:e}),{provider:await this.getProvider(),chainId:this.chainId,account:r.address}});d(this,"getProvider",async()=>{if(!this.eip1193Provider)throw new Error("Thirdweb: wallet is not connected. Call activate() first.");const e=this.eip1193Provider;return{...e,isDapper:!1,isFortmatic:!1,isMetamask:!1,isMagic:!1,isThirdweb:!0,request:new Proxy(e.request,{apply:async(t,r,i)=>{var a,c,u,f;if(((a=i[0])==null?void 0:a.method)==="wallet_switchEthereumChain"){const p=(f=(u=(c=i[0])==null?void 0:c.params)==null?void 0:u[0])==null?void 0:f.chainId,v=parseInt(p,16);if(this.supportedChainIds&&!this.supportedChainIds.includes(v))throw new Error("Thirdweb: unsupported chain");this.chainId=v,this.chain=null,this.eip1193Provider=null;const T=await this.getClient(),ne=await this.getWallet(),ie=await this.getChain(),{EIP1193:oe}=await m(async()=>{const{EIP1193:ae}=await import("./wallets-wYcTf8sk.js").then(se=>se.Q);return{EIP1193:ae}},__vite__mapDeps([39,40,41,42,5,1,13,3,4,11,14,43,44,45,46,47,48,49,50,51,27,52,53,54,19,16,20,55,21]));return this.eip1193Provider=oe.toProvider({wallet:ne,chain:ie,client:T}),this.emitUpdate({chainId:v}),null}return Reflect.apply(t,e,i)}}),sendAsync:new Proxy(e.request,{apply:async(t,r,i)=>Reflect.apply(t,e,i)})}});d(this,"getChainId",async()=>this.chainId);d(this,"getAccount",async()=>{if(!this.wallet)return null;try{const e=this.wallet.getAccount();return(e==null?void 0:e.address)??null}catch{return null}});d(this,"getEmail",async()=>{try{const e=await this.getClient(),{getUserEmail:t}=await m(async()=>{const{getUserEmail:i}=await import("./in-app-Di-YguDK.js");return{getUserEmail:i}},__vite__mapDeps([56,41,42,5,1,47,46,13,3,4,11,14,57,58]));return await t({client:e})??void 0}catch{return}});d(this,"deactivate",()=>{});this.chainId=e,this.client=null,this.wallet=null,this.chain=null,this.eip1193Provider=null}async getClient(){if(this.client)return this.client;let e;try{e=await m(()=>import("./thirdweb-Bf4Axk_U.js").then(r=>r.t),__vite__mapDeps([59,42,5,1,41,40,13,3,4,11,14,43,44,45,60,61,62,63,64,65,54,66,67,68,69,53]))}catch{throw new Error("Thirdweb: thirdweb package is not installed.")}const t=I().thirdweb;return this.client=e.createThirdwebClient({clientId:t.clientId}),this.client}async getWallet(){if(this.wallet)return this.wallet;let e;try{e=await m(()=>import("./wallets-wYcTf8sk.js").then(t=>t.Q),__vite__mapDeps([39,40,41,42,5,1,13,3,4,11,14,43,44,45,46,47,48,49,50,51,27,52,53,54,19,16,20,55,21]))}catch{throw new Error("Thirdweb: thirdweb package is not installed. Run: npm install thirdweb")}return this.wallet=e.inAppWallet(),this.wallet}async getChain(){if(this.chain)return this.chain;const e=await m(()=>import("./chains-Dlj4CXzw.js"),__vite__mapDeps([70,42,5,1,68,50]));return this.chain=e.defineChain(this.chainId),this.chain}async close(){this.wallet&&await this.wallet.disconnect(),this.wallet=null,this.chain=null,this.eip1193Provider=null}}class M{constructor(n){d(this,"provider");d(this,"id",0);d(this,"on",(n,e)=>this.provider.on(n,e));d(this,"emit",(n,...e)=>this.provider.emit(n,e));d(this,"removeListener",(n,e)=>this.provider.removeListener(n,e));d(this,"request",async({method:n,params:e})=>this.isModernProvider()?this.provider.request({method:n,params:e}):this.send(n,e));d(this,"sendAsync",async(n,e)=>this.hasSendAsync()?this.provider.sendAsync(n,(t,r)=>{r&&!Object.prototype.hasOwnProperty.call(r,"result")?e(t,{id:0,jsonrpc:"2.0",result:r}):e(t,r)}):this.send(n,e));this.provider=n}static adapt(n){const e=new M(n);return{...n,on:e.on,emit:e.emit,removeListener:e.removeListener,request:e.request,sendAsync:e.sendAsync,send:e.send.bind(e)}}async send(n,e){let t,r,i;const s=typeof e=="function";if(s){const a=n;r=a.params||[],t=a.method,i=e}else t=n,r=e||[],i=(a,c)=>{if(a)throw a;return c};if(this.isModernProvider()){const[a,c]=await this.provider.request({method:t,params:r}).then(f=>[null,f]).catch(f=>[f,void 0]);return i(a,s?{id:"",jsonrpc:"2.0",result:c}:c)}else{this.patchOldMobile();const[a,c]=s?await new Promise(u=>this.provider.send(n,(f,p)=>{u([f,p])})):await new Promise(u=>this.provider.send({jsonrpc:"2.0",id:++this.id,method:t,params:r},(f,p)=>{const v=p;u([(v==null?void 0:v.error)??f,(v==null?void 0:v.result)??p])}));return i(a,c)}}isModernProvider(){return"request"in this.provider&&typeof this.provider.request=="function"}hasSendAsync(){return typeof this.provider.sendAsync=="function"}patchOldMobile(){this.provider&&!this.provider.isDapper&&!this.provider.isFortmatic&&!this.provider.isMetamask&&this.hasSendAsync()&&this.provider.send!==this.provider.sendAsync&&(this.provider.send=this.provider.sendAsync.bind(this.provider))}}class re{constructor(n){d(this,"storage");d(this,"connector");d(this,"promiseOfConnection");d(this,"getWalletName",()=>{if(this.connector instanceof _)return this.connector.getWalletName()});d(this,"clearConnectionData",()=>{const{storageKey:n}=I();this.storage.remove(n),_.clearStorage(this.storage)});d(this,"handleWeb3ReactDeactivate",async()=>{try{await this.disconnect()}catch(n){console.error(n)}});this.storage=n}async connect(n,e=h.ChainId.ETHEREUM_MAINNET){if(this.connector)try{await this.disconnect()}catch(a){console.error("Error disconnecting previous connection",a)}const t=this.buildConnector(n,e);t.on(C.Deactivate,this.handleWeb3ReactDeactivate);let{provider:r,account:i}={};try{const a=await t.activate();r=a.provider,i=a.account}catch(a){throw console.error("Error activating the connector",a),a}(n===l.ProviderType.MAGIC||n===l.ProviderType.MAGIC_TEST||n===l.ProviderType.THIRDWEB)&&t.on(C.Update,({chainId:a})=>{a&&this.setConnectionData(n,a)});let s=e;if(n===l.ProviderType.INJECTED){const a=await r.request({method:"eth_chainId"});s=a?parseInt(a,16):s}return this.connector=t,this.setConnectionData(n,s),{provider:M.adapt(r),providerType:n,account:i||"",chainId:s}}isConnected(){return!!this.connector&&!!this.getConnectionData()}async tryPreviousConnection(){const n=this.getConnectionData();if(!n)throw new Error("Could not find a valid provider. Make sure to call the `connect` method first");if(this.connector){const[t,r]=await Promise.all([this.connector.getProvider(),this.connector.getAccount()]);return{provider:t,providerType:n.providerType,chainId:n.chainId,account:r||""}}let e;try{e=this.promiseOfConnection?await this.promiseOfConnection:await(this.promiseOfConnection=this.connect(n.providerType,n.chainId))}finally{this.promiseOfConnection=void 0}return{...e,chainId:this.getConnectionData().chainId}}getAvailableProviders(){const n=[l.ProviderType.FORTMATIC,l.ProviderType.WALLET_CONNECT,l.ProviderType.WALLET_LINK];return typeof window<"u"&&window.ethereum!==void 0?n.unshift(l.ProviderType.INJECTED):n.unshift(l.ProviderType.METAMASK_MOBILE),n}async disconnect(){this.connector&&(this.connector.removeAllListeners(C.Deactivate),this.connector.removeAllListeners(C.Update),this.connector.deactivate(),this.isClosableConnector()&&await this.connector.close()),this.clearConnectionData(),this.connector=void 0}async getProvider(){if(!this.connector)throw new Error("No valid connector found. Please .connect() first");return this.connector.getProvider()}async getEmail(){const n=this.connector;if(n!=null&&n.getEmail)try{return await n.getEmail()}catch{return}}async createProvider(n,e=h.ChainId.ETHEREUM_MAINNET){const r=await this.buildConnector(n,e).getProvider();return M.adapt(r)}buildConnector(n,e){switch(n){case l.ProviderType.INJECTED:return new J(e);case l.ProviderType.FORTMATIC:return new z(e);case l.ProviderType.MAGIC:return new H(e);case l.ProviderType.MAGIC_TEST:return new ee(e);case l.ProviderType.WALLET_LINK:return new X(e);case l.ProviderType.NETWORK:return new Q(e);case l.ProviderType.WALLET_CONNECT_V2:return new _(e);case l.ProviderType.THIRDWEB:return new te(e);default:throw new Error(`Invalid provider ${n}`)}}getConnectionData(){const{storageKey:n}=I(),e=this.storage.get(n);try{return e?JSON.parse(e):void 0}catch(t){console.error("Error parsing connection data",t);return}}storeConnectionData(n,e){this.setConnectionData(n,e)}setConnectionData(n,e){const{storageKey:t}=I(),r=JSON.stringify({providerType:n,chainId:e});this.storage.set(t,r)}isClosableConnector(){return this.connector&&"close"in this.connector}}const Oe=new re(new Z),Ke=Object.freeze(Object.defineProperty({__proto__:null,AbstractConnector:E,ConnectionManager:re,ErrorUnlockingWallet:G,FortmaticConnector:z,InjectedConnector:J,MagicConnector:H,MagicTestConnector:ee,NetworkConnector:Q,ProviderAdapter:M,ThirdwebConnector:te,WalletConnectV2Connector:_,WalletLinkConnector:X,connection:Oe,getConfiguration:I,getRpcUrls:A},Symbol.toStringTag,{value:"Module"}));export{je as N,Oe as c,$ as e,Ke as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as d,b as u}from"./lit-element-B3y9oplH.js";import{n as p}from"./class-map-CxwNmq0D.js";import{c as m}from"./index-
|
|
1
|
+
import{i as d,b as u}from"./lit-element-B3y9oplH.js";import{n as p}from"./class-map-CxwNmq0D.js";import{c as m}from"./index-CfP1fkI_.js";import{d as f,r as h}from"./index-DaSPxwNy.js";const g=f`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as m,b as h}from"./lit-element-B3y9oplH.js";import{n as b,o as v,r as C}from"./class-map-CxwNmq0D.js";import{d as k,r as g}from"./index-
|
|
1
|
+
import{i as m,b as h}from"./lit-element-B3y9oplH.js";import{n as b,o as v,r as C}from"./class-map-CxwNmq0D.js";import{d as k,r as g}from"./index-DaSPxwNy.js";import{c as y}from"./index-CfP1fkI_.js";import{e as O,n as _}from"./ref-BsAZ42-h.js";import{e as L,i as R,p as j,O as l}from"./W3MFrameProviderSingleton-ChXXI6YZ.js";const d=j({isLegalCheckboxChecked:!1}),f={state:d,subscribe(e){return R(d,()=>e(d))},subscribeKey(e,t){return L(d,e,t)},setIsLegalCheckboxChecked(e){d.isLegalCheckboxChecked=e}},z=k`
|
|
2
2
|
label {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as b,b as l,a as O}from"./lit-element-B3y9oplH.js";import{n as h,r as d}from"./class-map-CxwNmq0D.js";import{d as C,r as E,e as P}from"./index-
|
|
1
|
+
import{i as b,b as l,a as O}from"./lit-element-B3y9oplH.js";import{n as h,r as d}from"./class-map-CxwNmq0D.js";import{d as C,r as E,e as P}from"./index-DaSPxwNy.js";import{c as v,U as x}from"./index-CfP1fkI_.js";import"./index-DjYBUAnI.js";import"./index-CdZzuE8e.js";import{u as g,R as S,o as $,b as R,S as T}from"./W3MFrameProviderSingleton-ChXXI6YZ.js";const L=C`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as l,E as g,R as h,o as m,S as w,b as c,r as E,t as _}from"./W3MFrameProviderSingleton-
|
|
1
|
+
import{C as l,E as g,R as h,o as m,S as w,b as c,r as E,t as _}from"./W3MFrameProviderSingleton-ChXXI6YZ.js";import{au as R}from"./NetworkUtil-DXqql1Wz.js";import{i as b,b as y}from"./lit-element-B3y9oplH.js";import{n as d,o as O}from"./class-map-CxwNmq0D.js";import{c as v}from"./index-CfP1fkI_.js";import{d as C,r as S,e as $}from"./index-DaSPxwNy.js";function I(){try{return c.returnOpenHref(`${R.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function L(){h.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=l.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();l.setAccountProp("farcasterUrl",t,l.state.activeChain)}catch(t){h.goBack(),w.showError(t)}}}async function T(e){h.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(c.isTelegram()||(t=I()),t)l.setAccountProp("socialWindow",E(t),l.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:e});if(!n)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=n),c.isTelegram()){_.setTelegramSocialProvider(e);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){t==null||t.close();const n=c.parseError(i);w.showError(n),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:n}})}}async function G(e){l.setAccountProp("socialProvider",e,l.state.activeChain),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await L():await T(e)}const U=C`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d,i as p,b as m}from"./lit-element-B3y9oplH.js";import{n as h}from"./class-map-CxwNmq0D.js";import{r as f,v as r}from"./index-
|
|
1
|
+
import{a as d,i as p,b as m}from"./lit-element-B3y9oplH.js";import{n as h}from"./class-map-CxwNmq0D.js";import{r as f,v as r}from"./index-DaSPxwNy.js";import{c as x}from"./index-CfP1fkI_.js";const g=d`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/PhArrowCircleDown-B305t-Sh.js","_assets/property-C9JG5tag.js","_assets/PhArrowClockwise-CJPxQhr_.js","_assets/PhArrowDown-C4hT9BVu.js","_assets/PhArrowLeft-Way4Cu-r.js","_assets/PhArrowRight-Cp5ZME0F.js","_assets/PhArrowSquareOut-NnrK69c5.js","_assets/PhArrowsDownUp-BjBI4ckC.js","_assets/PhArrowsLeftRight-CuLpbKRk.js","_assets/PhArrowUp-Dph6j8rm.js","_assets/PhArrowUpRight-BpJjRRRh.js","_assets/PhArrowsClockwise-CFUT8X7R.js","_assets/PhBank-Dchr4XQJ.js","_assets/PhBrowser-dUu2TrC1.js","_assets/PhCaretDown-78IuKU3V.js","_assets/PhCaretLeft-_aiyH7n1.js","_assets/PhCaretRight-8zJQEuDX.js","_assets/PhCaretUp-CiCxKWwN.js","_assets/PhCheck-CcADx8br.js","_assets/PhCircleHalf-BYzSzd2h.js","_assets/PhClock-UItiXeJq.js","_assets/PhCompass-CUy3uA7t.js","_assets/PhCopy-C-PDgSlZ.js","_assets/PhCreditCard-CWRaUT6F.js","_assets/PhCurrencyDollar-Cqla3AXT.js","_assets/PhDesktop-BBIPrYLl.js","_assets/PhDeviceMobile-BdsPaATg.js","_assets/PhDotsThree-BMXCQl-0.js","_assets/PhVault-l2PHF38a.js","_assets/PhEnvelope-yUsis6yU.js","_assets/PhFunnelSimple-Ba7BbWTp.js","_assets/PhGlobe-DgLxBk5U.js","_assets/PhIdentificationCard-Czjmq9Z3.js","_assets/PhImage-BAJ_erz6.js","_assets/PhInfo-Cr4DhVUE.js","_assets/PhLightbulb-BX_7duTr.js","_assets/PhMagnifyingGlass-Mygfryvz.js","_assets/PhPaperPlaneRight-BeuCA660.js","_assets/PhPlus-BMjcHjsT.js","_assets/PhPower-CGffGmdb.js","_assets/PhPuzzlePiece-wm_GpVSi.js","_assets/PhQrCode-DRwRzXCH.js","_assets/PhQuestion-M09j2U0T.js","_assets/PhQuestionMark-BP9EMB6h.js","_assets/PhSealCheck-BfG80yKn.js","_assets/PhSignOut-C5YOWlPT.js","_assets/PhSpinner-BXooDYzU.js","_assets/PhTrash-Biq6rmmL.js","_assets/PhUser-CAgZSpGe.js","_assets/PhWallet-w25D16It.js","_assets/PhWarning-DPEydIPw.js","_assets/PhWarningCircle-BqjT745H.js","_assets/PhX-s-SmVExa.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{a as M,i as y,b as x,w as h}from"./lit-element-B3y9oplH.js";import{n as s,o as Z,a as A}from"./class-map-CxwNmq0D.js";import{r as E,v as c,d as I}from"./index-
|
|
2
|
+
import{a as M,i as y,b as x,w as h}from"./lit-element-B3y9oplH.js";import{n as s,o as Z,a as A}from"./class-map-CxwNmq0D.js";import{r as E,v as c,d as I}from"./index-DaSPxwNy.js";import{_ as r}from"./index-BwmnMTdg.js";const L=".",C={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--apkt-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--apkt-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},formatCurrency(t=0,e={}){const i=Number(t);return isNaN(i)?"$0.00":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(i)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:o}){return t.length<=e+i?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n==null?void 0:n.replace("px","")),p=`${a}% ${a}% at 65% 40%`,d=[];for(let u=0;u<5;u+=1){const m=this.tintColor(o,.15*u);d.push(`rgb(${m[0]}, ${m[1]}, ${m[2]})`)}return`
|
|
3
3
|
--local-color-1: ${d[0]};
|
|
4
4
|
--local-color-2: ${d[1]};
|
|
5
5
|
--local-color-3: ${d[2]};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{P as t,A as i,a as u}from"./index-
|
|
1
|
+
import{P as t,A as i,a as u}from"./index-BsJj67OU.js";import{W as Ue,b as Ee,c as Te}from"./index-BsJj67OU.js";import"./lit-element-B3y9oplH.js";import"./class-map-CxwNmq0D.js";import"./index-DaSPxwNy.js";import"./index-BwmnMTdg.js";import"./react-BYHuwl8r.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./W3MFrameProviderSingleton-ChXXI6YZ.js";import"./index-w01WQ1OT.js";import"./index-C6AA1Xf7.js";import"./events-DQ172AOg.js";import"./browser-ponyfill-Dj0kiq3a.js";import"./NetworkUtil-DXqql1Wz.js";import"./index-tLIN_GkS.js";import"./index-nibyPLVP.js";import"./index-Bz4Oae-5.js";import"./index.es-DAZuzUm7.js";import"./index-CfP1fkI_.js";import"./index-FT6agMXk.js";import"./index-CdZzuE8e.js";import"./index-BJXNRLkE.js";import"./index-N1bohwEM.js";import"./index-sFhq_-vF.js";import"./index-DQzE_-yq.js";import"./index-Bm_zAXvq.js";import"./index-CBhJLill.js";import"./index-B5pEWwvB.js";import"./MathUtil-BGCe3rZ3.js";const C=3e5;async function U(e){return t.handleOpenPay(e)}async function X(e,r=C){if(r<=0)throw new i(u.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await U(e)}catch(s){throw s instanceof i?s:new i(u.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,l)=>{let o=!1;const c=setTimeout(()=>{o||(o=!0,m(),l(new i(u.GENERIC_PAYMENT_ERROR,"Payment timeout")))},r);function n(){if(o)return;const a=t.state.currentPayment,p=t.state.error,D=t.state.isPaymentInProgress;if((a==null?void 0:a.status)==="SUCCESS"){o=!0,m(),clearTimeout(c),s({success:!0,result:a.result});return}if((a==null?void 0:a.status)==="FAILED"){o=!0,m(),clearTimeout(c),s({success:!1,error:p||"Payment failed"});return}p&&!D&&!a&&(o=!0,m(),clearTimeout(c),s({success:!1,error:p}))}const b=d("currentPayment",n),y=d("error",n),S=d("isPaymentInProgress",n),m=E([b,y,S]);n()})}function $(){return t.getExchanges()}function ee(){var e;return(e=t.state.currentPayment)==null?void 0:e.result}function te(){return t.state.error}function ae(){return t.state.isPaymentInProgress}function d(e,r){return t.subscribeKey(e,r)}function E(e){return()=>{e.forEach(r=>{try{r()}catch{}})}}const se={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},re={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},oe={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},ne={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},me={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ie={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ce={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},pe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ue={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},de={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},le={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},be={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ye={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},Se={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{t as PayController,Ue as W3mPayLoadingView,Ee as W3mPayQuoteView,Te as W3mPayView,ie as arbitrumUSDC,le as arbitrumUSDT,se as baseETH,oe as baseSepoliaETH,re as baseUSDC,ne as ethereumUSDC,ue as ethereumUSDT,$ as getExchanges,ae as getIsPaymentInProgress,te as getPayError,ee as getPayResult,U as openPay,me as optimismUSDC,de as optimismUSDT,X as pay,ce as polygonUSDC,be as polygonUSDT,Se as solanaSOL,pe as solanaUSDC,ye as solanaUSDT};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as d,b as h}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{e as m,n as f}from"./ref-BsAZ42-h.js";import{d as c,r as v,e as y,v as b}from"./index-
|
|
1
|
+
import{i as d,b as h}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{e as m,n as f}from"./ref-BsAZ42-h.js";import{d as c,r as v,e as y,v as b}from"./index-DaSPxwNy.js";import{c as g,U as w}from"./index-CfP1fkI_.js";const x=c`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as g,b as e}from"./lit-element-B3y9oplH.js";import{r as f,n as w,o as v}from"./class-map-CxwNmq0D.js";import{d as y,r as k,e as P}from"./index-
|
|
1
|
+
import{i as g,b as e}from"./lit-element-B3y9oplH.js";import{r as f,n as w,o as v}from"./class-map-CxwNmq0D.js";import{d as y,r as k,e as P}from"./index-DaSPxwNy.js";import{c as b}from"./index-CfP1fkI_.js";import"./index-Bf_azgOs.js";import{H as x}from"./HelpersUtil-D4FO24BM.js";import{R as u,E as A}from"./W3MFrameProviderSingleton-ChXXI6YZ.js";import"./index-Bm_zAXvq.js";import"./index-DQzE_-yq.js";const I=y`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ico{display:inline-block;width:20px;height:20px;flex:none;background-color:currentColor;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.ccy-mark{width:1em;height:1em;vertical-align:-.125em}.ccy-mark,.ccy{color:var(--text)}:root{--bg: #ffffff;--text: #161518;--text-2: #242129;--muted: #716b7c;--muted-1: #5e5b67;--muted-2: #a09ba8;--line: #e6e4ea;--line-strong: #a09ba8;--media: #ecebed;--panel: #f5f5f5;--chip: #ecebed;--gray-0: #43404a;--accent: #691fa9;--brand-violet: #a524b3;--rarity: #a14bf3;--rarity-bg: rgba(161, 75, 243, .3);--black-btn: #242129;--soft-white: #fcfcfc;--dcl-red: #ff2d55;--ok: #1ea672;--err: #d33;--amethyst: linear-gradient(180deg, #c640cd 0%, #691fa9 100%);--cerise: linear-gradient(135deg, #ff2d55 0%, #c640cd 100%);--buy-btn: linear-gradient(180.93deg, #ff7439 2.82%, #ff2d55 97.47%);--radius-card: 12px;--radius-chip: 4px;--radius-btn: 8px;--radius-pill: 50px;--radius-banner: 24px;--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--z-overlay: 10000;--z-tooltip: 10010}*{box-sizing:border-box}html{overflow-x:clip}body{margin:0;padding-top:92px;background:radial-gradient(61.64% 109.58% at 50% 54.49%,#952dc6,#7c27a8,#642089,#4b1a6b,#32134c) fixed;color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}@media(max-width:768px){body{padding-top:64px}}#root{display:flex;flex-direction:column;min-height:calc(100vh - 92px)}@media(max-width:768px){#root{min-height:calc(100vh - 64px)}}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}h1,h2{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.error{color:var(--err)}.error-notice{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border:1px solid rgba(221,51,51,.25);border-radius:var(--radius-btn);background:#dd333314;color:var(--err);font-size:14px;line-height:1.4;text-align:left}.error-notice__ico{flex:none;width:18px;height:18px}.error-notice__msg{color:var(--text-2)}.link{background:none;border:0;color:var(--accent);cursor:pointer;padding:0;font:inherit;font-weight:600}.page{padding:28px 54px 80px;max-width:1760px;margin:0 auto;width:100%;flex:1 0 auto;min-height:calc(100vh - 92px)}.page[data-route="/credits"]{min-height:0}.page[data-route="/overview"]{padding-top:0}.page[data-route="/cart"]{display:flex;flex-direction:column}@media(max-width:768px){.page{padding:16px 16px 56px;min-height:calc(100vh - 64px)}.page[data-route="/credits"]{min-height:0}}.placeholder{color:var(--muted);font-size:18px;padding:40px 0}.page-loading{display:grid;place-items:center;min-height:60vh}@keyframes shimmer{to{background-position:-200% 0}}.spinner{width:30px;height:30px;margin-top:14px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}.skeleton{border-radius:6px;background:linear-gradient(100deg,#efeef2 30%,#e2e0e7,#efeef2 70%);background-size:200% 100%;animation:shimmer 1.4s infinite linear}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}@keyframes cart-pop-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
|
|
1
|
+
.ico{display:inline-block;width:20px;height:20px;flex:none;background-color:currentColor;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.ccy-mark{width:1em;height:1em;vertical-align:-.125em}.ccy-mark,.ccy{color:var(--text)}:root{--bg: #ffffff;--text: #161518;--text-2: #242129;--muted: #716b7c;--muted-1: #5e5b67;--muted-2: #a09ba8;--line: #e6e4ea;--line-strong: #a09ba8;--media: #ecebed;--panel: #f5f5f5;--chip: #ecebed;--gray-0: #43404a;--accent: #691fa9;--brand-violet: #a524b3;--rarity: #a14bf3;--rarity-bg: rgba(161, 75, 243, .3);--black-btn: #242129;--soft-white: #fcfcfc;--dcl-red: #ff2d55;--ok: #1ea672;--err: #d33;--amethyst: linear-gradient(180deg, #c640cd 0%, #691fa9 100%);--cerise: linear-gradient(135deg, #ff2d55 0%, #c640cd 100%);--buy-btn: linear-gradient(180.93deg, #ff7439 2.82%, #ff2d55 97.47%);--radius-card: 12px;--radius-chip: 4px;--radius-btn: 8px;--radius-pill: 50px;--radius-banner: 24px;--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--z-overlay: 10000;--z-tooltip: 10010}*{box-sizing:border-box}html{overflow-x:clip}body{margin:0;padding-top:92px;background:radial-gradient(61.64% 109.58% at 50% 54.49%,#952dc6,#7c27a8,#642089,#4b1a6b,#32134c) fixed;color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}@media(max-width:768px){body{padding-top:64px}}#root{display:flex;flex-direction:column;min-height:calc(100vh - 92px)}@media(max-width:768px){#root{min-height:calc(100vh - 64px)}}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}h1,h2{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.error{color:var(--err)}.error-notice{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border:1px solid rgba(221,51,51,.25);border-radius:var(--radius-btn);background:#dd333314;color:var(--err);font-size:14px;line-height:1.4;text-align:left}.error-notice__ico{flex:none;width:18px;height:18px}.error-notice__msg{color:var(--text-2)}.link{background:none;border:0;color:var(--accent);cursor:pointer;padding:0;font:inherit;font-weight:600}.page{padding:28px 54px 80px;max-width:1760px;margin:0 auto;width:100%;flex:1 0 auto;min-height:calc(100vh - 92px)}.page[data-route="/credits"]{min-height:0}.page[data-route="/overview"]{padding-top:0}.page[data-route="/cart"],.page[data-route="/success"]{display:flex;flex-direction:column}@media(max-width:768px){.page{padding:16px 16px 56px;min-height:calc(100vh - 64px)}.page[data-route="/credits"]{min-height:0}}.placeholder{color:var(--muted);font-size:18px;padding:40px 0}.page-loading{display:grid;place-items:center;min-height:60vh}@keyframes shimmer{to{background-position:-200% 0}}.spinner{width:30px;height:30px;margin-top:14px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}.skeleton{border-radius:6px;background:linear-gradient(100deg,#efeef2 30%,#e2e0e7,#efeef2 70%);background-size:200% 100%;animation:shimmer 1.4s infinite linear}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}@keyframes cart-pop-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r}from"./parseSignature-IigTmAp7.js";import{B as y,E as f,a as v,b as A,F as S,W as I,d as F,e as R,f as x,g as C,p as B,l as N,n as P,p as D,h as U,s as w,z as L}from"./parseSignature-IigTmAp7.js";import{I as H,c as k,a as z,p as q,w as V}from"./custom-MaGTnz7S.js";import{h as s}from"./W3MFrameProviderSingleton-BQyeyr-U.js";import{U as G,c as j,f as W,s as K,w as Z,a as J}from"./W3MFrameProviderSingleton-BQyeyr-U.js";import{A as X,a as Y,B as _,b as $,C as aa,D as ra,E as oa,F as sa,c as ea,H as ta,I as ia,d as na,e as ca,f as da,g as Ea,h as pa,i as ua,j as la,k as ma,l as Ta,J as ga,L as ba,M as ha,m as ya,N as fa,n as va,o as Aa,P as Sa,p as Ia,q as Fa,R as Ra,r as xa,s as Ca,t as Ba,u as Na,S as Pa,v as Da,w as Ua,x as wa,T as La,y as Ma,z as Ha,G as ka,U as za,K as qa,O as Va,Q as Oa,V as Ga,W as ja,X as Wa,Y as Ka,Z as Za,_ as Ja,$ as Qa,a0 as Xa,a1 as Ya,a2 as _a,a3 as $a,a4 as ar,a5 as rr,a6 as or,a7 as sr,a8 as er,a9 as tr,aa as ir,ab as nr,ac as cr,ad as dr,ae as Er,af as pr,ag as ur,ah as lr,ai as mr,aj as Tr,ak as gr,al as br,am as hr,an as yr,ao as fr,ap as vr,a1 as Ar}from"./NetworkUtil-DXqql1Wz.js";import{A as Ir,a as Fr,b as Rr,c as xr,d as Cr,e as Br,f as Nr,g as Pr,h as Dr,i as Ur,j as wr,k as Lr,l as Mr,m as Hr,n as kr,o as zr,p as qr,B as Vr,q as Or,r as Gr,C as jr,s as Wr,t as Kr,u as Zr,v as Jr,w as Qr,x as Xr,y as Yr,z as _r,D as $r,E as ao,F as ro,G as oo,H as so,I as eo,J as to,K as io,L as no,M as co,N as Eo,O as po,P as uo,Q as lo,R as mo,S as To,T as go,U as bo,V as ho,W as yo,X as fo,Y as vo,Z as Ao,_ as So,$ as Io,a0 as Fo,a1 as Ro,a2 as xo,a3 as Co,a4 as Bo,a5 as No,a6 as Po,a7 as Do,a8 as Uo,a9 as wo,aa as Lo,ab as Mo,ac as Ho,ad as ko,ae as zo,af as qo,ag as Vo,ah as Oo,ai as Go,aj as jo,ak as Wo,al as Ko,am as Zo,an as Jo,ao as Qo,ap as Xo,aq as Yo,ar as _o,as as $o,at as as,au as rs,av as os,aw as ss,ax as es,ay as ts,az as is,aA as ns,aB as cs,aC as ds,aD as Es,aE as ps,aF as us,aG as ls,aH as ms,aI as Ts,aJ as gs,aK as bs,aL as hs,aM as ys,aN as fs,aM as vs,aO as As,aP as Ss,aQ as Is,aR as Fs,aS as Rs,aT as xs,aU as Cs,aV as Bs,aW as Ns,aX as Ps,aY as Ds,aZ as Us,a_ as ws,a$ as Ls,b0 as Ms,b1 as Hs,b2 as ks,b3 as zs,b4 as qs,aL as Vs,aM as Os,b4 as Gs,aN as js,aM as Ws,b5 as Ks,b6 as Zs,aA as Js}from"./sendRawTransaction-eVli2oE3.js";import{I as Xs,a as Ys,b as _s,g as $s,h as ae,c as re,d as oe,e as se,p as ee,t as te,v as ie}from"./hashTypedData-BtF2J233.js";import{d as ce,e as de,a as Ee}from"./localBatchGatewayRequest-DtELSHiE.js";import{ccipRequest as ue,ccipRequest as le,offchainLookup as me,offchainLookupAbiItem as Te,offchainLookupSignature as ge}from"./ccip-DGVhZCZ4.js";import{d as t}from"./verifyHash-CuRmy06R.js";import{e as he,p as ye,a as fe,s as ve,s as Ae}from"./verifyHash-CuRmy06R.js";import{a as Ie,b as Fe,c as Re,s as xe,d as Ce}from"./serializeTransaction-CIM9i_-w.js";import"./secp256k1-DneM3aYG.js";import"./dcl-schemas-CmtP3U6y.js";import"./index-w01WQ1OT.js";import"./react-BYHuwl8r.js";import"./sentry-Dx-KuLV3.js";import"./index-DdmULNRk.js";import"./events-DQ172AOg.js";import"./index-CKUuopSw.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./browser-ponyfill-Dj0kiq3a.js";export{Ir as AbiConstructorNotFoundError,Fr as AbiConstructorParamsNotFoundError,Rr as AbiDecodingDataSizeTooSmallError,xr as AbiDecodingZeroDataError,Cr as AbiEncodingArrayLengthMismatchError,Br as AbiEncodingBytesSizeMismatchError,Nr as AbiEncodingLengthMismatchError,Pr as AbiErrorInputsNotFoundError,Dr as AbiErrorNotFoundError,Ur as AbiErrorSignatureNotFoundError,wr as AbiEventNotFoundError,Lr as AbiEventSignatureEmptyTopicsError,Mr as AbiEventSignatureNotFoundError,Hr as AbiFunctionNotFoundError,kr as AbiFunctionOutputsNotFoundError,zr as AbiFunctionSignatureNotFoundError,qr as AccountStateConflictError,X as AtomicReadyWalletRejectedUpgradeError,Y as AtomicityNotSupportedError,_ as BaseError,Vr as BaseFeeScalarError,Or as BlockNotFoundError,y as BundleFailedError,$ as BundleTooLargeError,Gr as BytesSizeMismatchError,jr as CallExecutionError,aa as ChainDisconnectedError,Wr as ChainDoesNotSupportContract,Kr as ChainMismatchError,Zr as ChainNotFoundError,Jr as CircularReferenceError,Qr as ClientChainNotConfiguredError,Xr as ContractFunctionExecutionError,Yr as ContractFunctionRevertedError,_r as ContractFunctionZeroDataError,$r as CounterfactualDeploymentFailedError,ao as DecodeLogDataMismatch,ro as DecodeLogTopicsMismatch,ra as DuplicateIdError,oo as Eip1559FeesNotSupportedError,f as EnsAvatarInvalidNftUriError,v as EnsAvatarUnsupportedNamespaceError,A as EnsAvatarUriResolutionError,so as EstimateGasExecutionError,oa as ExecutionRevertedError,sa as FeeCapTooHighError,ea as FeeCapTooLowError,S as FilterTypeNotSupportedError,ta as HttpRequestError,ia as InsufficientFundsError,na as IntegerOutOfRangeError,ca as InternalRpcError,da as IntrinsicGasTooHighError,Ea as IntrinsicGasTooLowError,eo as InvalidAbiDecodingTypeError,to as InvalidAbiEncodingTypeError,io as InvalidAbiItemError,no as InvalidAbiParametersError,co as InvalidAbiTypeParameterError,Eo as InvalidAddressError,po as InvalidArrayError,pa as InvalidBytesBooleanError,uo as InvalidChainIdError,H as InvalidDecimalNumberError,lo as InvalidDefinitionTypeError,Xs as InvalidDomainError,mo as InvalidFunctionModifierError,ua as InvalidHexBooleanError,la as InvalidInputRpcError,To as InvalidLegacyVError,go as InvalidModifierError,bo as InvalidParameterError,ma as InvalidParamsRpcError,ho as InvalidParenthesisError,Ys as InvalidPrimaryTypeError,Ta as InvalidRequestRpcError,yo as InvalidSerializableTransactionError,fo as InvalidSignatureError,vo as InvalidStorageKeySizeError,Ao as InvalidStructSignatureError,_s as InvalidStructTypeError,ga as JsonRpcVersionUnsupportedError,ba as LimitExceededRpcError,So as MaxFeePerGasTooLowError,ha as MethodNotFoundRpcError,ya as MethodNotSupportedRpcError,fa as NonceMaxValueError,va as NonceTooHighError,Aa as NonceTooLowError,Sa as ParseRpcError,Ia as ProviderDisconnectedError,Fa as ProviderRpcError,Io as RawContractError,Ra as ResourceNotFoundRpcError,xa as ResourceUnavailableRpcError,Ca as ResponseBodyTooLargeError,Ba as RpcError,Na as RpcRequestError,Pa as SizeExceedsPaddingSizeError,Da as SizeOverflowError,Ua as SliceOffsetOutOfBoundsError,Fo as SolidityProtectedKeywordError,Ro as StateAssignmentConflictError,wa as SwitchChainError,La as TimeoutError,Ma as TipAboveFeeCapError,xo as TransactionExecutionError,Co as TransactionNotFoundError,Bo as TransactionReceiptNotFoundError,Ha as TransactionRejectedRpcError,ka as TransactionTypeNotSupportedError,za as UnauthorizedProviderError,qa as UnknownBundleIdError,Va as UnknownNodeError,Oa as UnknownRpcError,No as UnknownSignatureError,Po as UnknownTypeError,Ga as UnsupportedChainIdError,ja as UnsupportedNonOptionalCapabilityError,Do as UnsupportedPackedAbiType,Wa as UnsupportedProviderMethodError,G as UrlRequiredError,Ka as UserRejectedRequestError,I as WaitForCallsStatusTimeoutError,Uo as WaitForTransactionReceiptTimeoutError,wo as assertCurrentChain,Lo as assertRequest,Ie as assertTransactionEIP1559,Fe as assertTransactionEIP2930,Re as assertTransactionLegacy,Mo as blobsToCommitments,Ho as blobsToProofs,Za as boolToBytes,Ja as boolToHex,ko as bytesToBigInt,zo as bytesToBool,Qa as bytesToHex,qo as bytesToNumber,Vo as bytesToString,ue as ccipFetch,le as ccipRequest,Oo as checksumAddress,Go as commitmentToVersionedHash,jo as commitmentsToVersionedHashes,Wo as concat,Ko as concatBytes,Zo as concatHex,k as createClient,F as createNonceManager,r as createPublicClient,j as createTransport,z as custom,Jo as decodeAbiParameters,Qo as decodeErrorResult,Xo as decodeEventLog,ce as decodeFunctionData,Yo as decodeFunctionResult,_o as defineBlock,t as defineChain,$o as defineTransaction,as as defineTransactionReceipt,rs as defineTransactionRequest,os as deploylessCallViaBytecodeBytecode,ss as deploylessCallViaFactoryBytecode,es as encodeAbiParameters,ts as encodeDeployData,de as encodeErrorResult,R as encodeEventTopics,is as encodeFunctionData,Ee as encodeFunctionResult,x as encodePacked,Xa as erc20Abi,Ya as erc6492SignatureValidatorAbi,ns as erc6492SignatureValidatorByteCode,C as ethAddress,_a as etherUnits,he as extendSchema,W as fallback,cs as formatBlock,ds as formatEther,$a as formatGwei,Es as formatLog,ps as formatTransaction,us as formatTransactionReceipt,ls as formatTransactionRequest,ar as formatUnits,rr as fromHex,ms as getAbiItem,Ts as getAddress,gs as getChainContractAddress,bs as getContractError,hs as getEventSelector,ys as getEventSignature,fs as getFunctionSelector,vs as getFunctionSignature,As as getTransactionType,$s as getTypesForEIP712Domain,or as gweiUnits,ae as hashDomain,re as hashMessage,oe as hashStruct,se as hashTypedData,sr as hexToBigInt,er as hexToBool,tr as hexToBytes,ir as hexToNumber,B as hexToSignature,nr as hexToString,s as http,Ss as isAddress,Is as isAddressEqual,cr as isHex,Fs as keccak256,N as labelhash,Rs as maxUint16,xs as maxUint256,dr as multicall3Abi,P as namehash,Er as numberToBytes,pr as numberToHex,me as offchainLookup,Te as offchainLookupAbiItem,ge as offchainLookupSignature,ur as pad,lr as padBytes,mr as padHex,Cs as parseAbi,ye as parseAbiItem,fe as parseAbiParameters,Bs as parseEventLogs,D as parseSignature,q as parseUnits,Ns as prepareEncodeFunctionData,ee as presignMessagePrefix,U as publicActions,Ps as recoverAddress,Ds as recoverPublicKey,Us as rpcTransactionType,xe as serializeAccessList,w as serializeErc6492Signature,ve as serializeSignature,Ce as serializeTransaction,ws as sha256,K as shouldThrow,Ae as signatureToHex,Tr as size,Ls as slice,Ms as sliceBytes,Hs as sliceHex,gr as stringToBytes,br as stringToHex,hr as stringify,ks as toBlobSidecars,zs as toBlobs,yr as toBytes,qs as toEventHash,Vs as toEventSelector,Os as toEventSignature,Gs as toFunctionHash,js as toFunctionSelector,Ws as toFunctionSignature,fr as toHex,te as toPrefixedMessage,Ks as toRlp,Zs as transactionType,vr as trim,Ar as universalSignatureValidatorAbi,Js as universalSignatureValidatorByteCode,ie as validateTypedData,V as withCache,Z as withRetry,J as withTimeout,L as zeroAddress};
|
|
1
|
+
import{c as r}from"./parseSignature-BhyKODlU.js";import{B as y,E as f,a as v,b as A,F as S,W as I,d as F,e as R,f as x,g as C,p as B,l as N,n as P,p as D,h as U,s as w,z as L}from"./parseSignature-BhyKODlU.js";import{I as H,c as k,a as z,p as q,w as V}from"./custom-B3uMWhu7.js";import{h as s}from"./W3MFrameProviderSingleton-ChXXI6YZ.js";import{U as G,c as j,f as W,s as K,w as Z,a as J}from"./W3MFrameProviderSingleton-ChXXI6YZ.js";import{A as X,a as Y,B as _,b as $,C as aa,D as ra,E as oa,F as sa,c as ea,H as ta,I as ia,d as na,e as ca,f as da,g as Ea,h as pa,i as ua,j as la,k as ma,l as Ta,J as ga,L as ba,M as ha,m as ya,N as fa,n as va,o as Aa,P as Sa,p as Ia,q as Fa,R as Ra,r as xa,s as Ca,t as Ba,u as Na,S as Pa,v as Da,w as Ua,x as wa,T as La,y as Ma,z as Ha,G as ka,U as za,K as qa,O as Va,Q as Oa,V as Ga,W as ja,X as Wa,Y as Ka,Z as Za,_ as Ja,$ as Qa,a0 as Xa,a1 as Ya,a2 as _a,a3 as $a,a4 as ar,a5 as rr,a6 as or,a7 as sr,a8 as er,a9 as tr,aa as ir,ab as nr,ac as cr,ad as dr,ae as Er,af as pr,ag as ur,ah as lr,ai as mr,aj as Tr,ak as gr,al as br,am as hr,an as yr,ao as fr,ap as vr,a1 as Ar}from"./NetworkUtil-DXqql1Wz.js";import{A as Ir,a as Fr,b as Rr,c as xr,d as Cr,e as Br,f as Nr,g as Pr,h as Dr,i as Ur,j as wr,k as Lr,l as Mr,m as Hr,n as kr,o as zr,p as qr,B as Vr,q as Or,r as Gr,C as jr,s as Wr,t as Kr,u as Zr,v as Jr,w as Qr,x as Xr,y as Yr,z as _r,D as $r,E as ao,F as ro,G as oo,H as so,I as eo,J as to,K as io,L as no,M as co,N as Eo,O as po,P as uo,Q as lo,R as mo,S as To,T as go,U as bo,V as ho,W as yo,X as fo,Y as vo,Z as Ao,_ as So,$ as Io,a0 as Fo,a1 as Ro,a2 as xo,a3 as Co,a4 as Bo,a5 as No,a6 as Po,a7 as Do,a8 as Uo,a9 as wo,aa as Lo,ab as Mo,ac as Ho,ad as ko,ae as zo,af as qo,ag as Vo,ah as Oo,ai as Go,aj as jo,ak as Wo,al as Ko,am as Zo,an as Jo,ao as Qo,ap as Xo,aq as Yo,ar as _o,as as $o,at as as,au as rs,av as os,aw as ss,ax as es,ay as ts,az as is,aA as ns,aB as cs,aC as ds,aD as Es,aE as ps,aF as us,aG as ls,aH as ms,aI as Ts,aJ as gs,aK as bs,aL as hs,aM as ys,aN as fs,aM as vs,aO as As,aP as Ss,aQ as Is,aR as Fs,aS as Rs,aT as xs,aU as Cs,aV as Bs,aW as Ns,aX as Ps,aY as Ds,aZ as Us,a_ as ws,a$ as Ls,b0 as Ms,b1 as Hs,b2 as ks,b3 as zs,b4 as qs,aL as Vs,aM as Os,b4 as Gs,aN as js,aM as Ws,b5 as Ks,b6 as Zs,aA as Js}from"./sendRawTransaction-yrJJjJuj.js";import{I as Xs,a as Ys,b as _s,g as $s,h as ae,c as re,d as oe,e as se,p as ee,t as te,v as ie}from"./hashTypedData-CN02HuAO.js";import{d as ce,e as de,a as Ee}from"./localBatchGatewayRequest-CmvuTHFj.js";import{ccipRequest as ue,ccipRequest as le,offchainLookup as me,offchainLookupAbiItem as Te,offchainLookupSignature as ge}from"./ccip-DQfkaCht.js";import{d as t}from"./verifyHash-Cdp-LdrE.js";import{e as he,p as ye,a as fe,s as ve,s as Ae}from"./verifyHash-Cdp-LdrE.js";import{a as Ie,b as Fe,c as Re,s as xe,d as Ce}from"./serializeTransaction-DbAjRO35.js";import"./secp256k1-DREcXm38.js";import"./dcl-schemas-CmtP3U6y.js";import"./index-w01WQ1OT.js";import"./react-BYHuwl8r.js";import"./sentry-Dx-KuLV3.js";import"./index-C6AA1Xf7.js";import"./events-DQ172AOg.js";import"./index-BwmnMTdg.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./browser-ponyfill-Dj0kiq3a.js";export{Ir as AbiConstructorNotFoundError,Fr as AbiConstructorParamsNotFoundError,Rr as AbiDecodingDataSizeTooSmallError,xr as AbiDecodingZeroDataError,Cr as AbiEncodingArrayLengthMismatchError,Br as AbiEncodingBytesSizeMismatchError,Nr as AbiEncodingLengthMismatchError,Pr as AbiErrorInputsNotFoundError,Dr as AbiErrorNotFoundError,Ur as AbiErrorSignatureNotFoundError,wr as AbiEventNotFoundError,Lr as AbiEventSignatureEmptyTopicsError,Mr as AbiEventSignatureNotFoundError,Hr as AbiFunctionNotFoundError,kr as AbiFunctionOutputsNotFoundError,zr as AbiFunctionSignatureNotFoundError,qr as AccountStateConflictError,X as AtomicReadyWalletRejectedUpgradeError,Y as AtomicityNotSupportedError,_ as BaseError,Vr as BaseFeeScalarError,Or as BlockNotFoundError,y as BundleFailedError,$ as BundleTooLargeError,Gr as BytesSizeMismatchError,jr as CallExecutionError,aa as ChainDisconnectedError,Wr as ChainDoesNotSupportContract,Kr as ChainMismatchError,Zr as ChainNotFoundError,Jr as CircularReferenceError,Qr as ClientChainNotConfiguredError,Xr as ContractFunctionExecutionError,Yr as ContractFunctionRevertedError,_r as ContractFunctionZeroDataError,$r as CounterfactualDeploymentFailedError,ao as DecodeLogDataMismatch,ro as DecodeLogTopicsMismatch,ra as DuplicateIdError,oo as Eip1559FeesNotSupportedError,f as EnsAvatarInvalidNftUriError,v as EnsAvatarUnsupportedNamespaceError,A as EnsAvatarUriResolutionError,so as EstimateGasExecutionError,oa as ExecutionRevertedError,sa as FeeCapTooHighError,ea as FeeCapTooLowError,S as FilterTypeNotSupportedError,ta as HttpRequestError,ia as InsufficientFundsError,na as IntegerOutOfRangeError,ca as InternalRpcError,da as IntrinsicGasTooHighError,Ea as IntrinsicGasTooLowError,eo as InvalidAbiDecodingTypeError,to as InvalidAbiEncodingTypeError,io as InvalidAbiItemError,no as InvalidAbiParametersError,co as InvalidAbiTypeParameterError,Eo as InvalidAddressError,po as InvalidArrayError,pa as InvalidBytesBooleanError,uo as InvalidChainIdError,H as InvalidDecimalNumberError,lo as InvalidDefinitionTypeError,Xs as InvalidDomainError,mo as InvalidFunctionModifierError,ua as InvalidHexBooleanError,la as InvalidInputRpcError,To as InvalidLegacyVError,go as InvalidModifierError,bo as InvalidParameterError,ma as InvalidParamsRpcError,ho as InvalidParenthesisError,Ys as InvalidPrimaryTypeError,Ta as InvalidRequestRpcError,yo as InvalidSerializableTransactionError,fo as InvalidSignatureError,vo as InvalidStorageKeySizeError,Ao as InvalidStructSignatureError,_s as InvalidStructTypeError,ga as JsonRpcVersionUnsupportedError,ba as LimitExceededRpcError,So as MaxFeePerGasTooLowError,ha as MethodNotFoundRpcError,ya as MethodNotSupportedRpcError,fa as NonceMaxValueError,va as NonceTooHighError,Aa as NonceTooLowError,Sa as ParseRpcError,Ia as ProviderDisconnectedError,Fa as ProviderRpcError,Io as RawContractError,Ra as ResourceNotFoundRpcError,xa as ResourceUnavailableRpcError,Ca as ResponseBodyTooLargeError,Ba as RpcError,Na as RpcRequestError,Pa as SizeExceedsPaddingSizeError,Da as SizeOverflowError,Ua as SliceOffsetOutOfBoundsError,Fo as SolidityProtectedKeywordError,Ro as StateAssignmentConflictError,wa as SwitchChainError,La as TimeoutError,Ma as TipAboveFeeCapError,xo as TransactionExecutionError,Co as TransactionNotFoundError,Bo as TransactionReceiptNotFoundError,Ha as TransactionRejectedRpcError,ka as TransactionTypeNotSupportedError,za as UnauthorizedProviderError,qa as UnknownBundleIdError,Va as UnknownNodeError,Oa as UnknownRpcError,No as UnknownSignatureError,Po as UnknownTypeError,Ga as UnsupportedChainIdError,ja as UnsupportedNonOptionalCapabilityError,Do as UnsupportedPackedAbiType,Wa as UnsupportedProviderMethodError,G as UrlRequiredError,Ka as UserRejectedRequestError,I as WaitForCallsStatusTimeoutError,Uo as WaitForTransactionReceiptTimeoutError,wo as assertCurrentChain,Lo as assertRequest,Ie as assertTransactionEIP1559,Fe as assertTransactionEIP2930,Re as assertTransactionLegacy,Mo as blobsToCommitments,Ho as blobsToProofs,Za as boolToBytes,Ja as boolToHex,ko as bytesToBigInt,zo as bytesToBool,Qa as bytesToHex,qo as bytesToNumber,Vo as bytesToString,ue as ccipFetch,le as ccipRequest,Oo as checksumAddress,Go as commitmentToVersionedHash,jo as commitmentsToVersionedHashes,Wo as concat,Ko as concatBytes,Zo as concatHex,k as createClient,F as createNonceManager,r as createPublicClient,j as createTransport,z as custom,Jo as decodeAbiParameters,Qo as decodeErrorResult,Xo as decodeEventLog,ce as decodeFunctionData,Yo as decodeFunctionResult,_o as defineBlock,t as defineChain,$o as defineTransaction,as as defineTransactionReceipt,rs as defineTransactionRequest,os as deploylessCallViaBytecodeBytecode,ss as deploylessCallViaFactoryBytecode,es as encodeAbiParameters,ts as encodeDeployData,de as encodeErrorResult,R as encodeEventTopics,is as encodeFunctionData,Ee as encodeFunctionResult,x as encodePacked,Xa as erc20Abi,Ya as erc6492SignatureValidatorAbi,ns as erc6492SignatureValidatorByteCode,C as ethAddress,_a as etherUnits,he as extendSchema,W as fallback,cs as formatBlock,ds as formatEther,$a as formatGwei,Es as formatLog,ps as formatTransaction,us as formatTransactionReceipt,ls as formatTransactionRequest,ar as formatUnits,rr as fromHex,ms as getAbiItem,Ts as getAddress,gs as getChainContractAddress,bs as getContractError,hs as getEventSelector,ys as getEventSignature,fs as getFunctionSelector,vs as getFunctionSignature,As as getTransactionType,$s as getTypesForEIP712Domain,or as gweiUnits,ae as hashDomain,re as hashMessage,oe as hashStruct,se as hashTypedData,sr as hexToBigInt,er as hexToBool,tr as hexToBytes,ir as hexToNumber,B as hexToSignature,nr as hexToString,s as http,Ss as isAddress,Is as isAddressEqual,cr as isHex,Fs as keccak256,N as labelhash,Rs as maxUint16,xs as maxUint256,dr as multicall3Abi,P as namehash,Er as numberToBytes,pr as numberToHex,me as offchainLookup,Te as offchainLookupAbiItem,ge as offchainLookupSignature,ur as pad,lr as padBytes,mr as padHex,Cs as parseAbi,ye as parseAbiItem,fe as parseAbiParameters,Bs as parseEventLogs,D as parseSignature,q as parseUnits,Ns as prepareEncodeFunctionData,ee as presignMessagePrefix,U as publicActions,Ps as recoverAddress,Ds as recoverPublicKey,Us as rpcTransactionType,xe as serializeAccessList,w as serializeErc6492Signature,ve as serializeSignature,Ce as serializeTransaction,ws as sha256,K as shouldThrow,Ae as signatureToHex,Tr as size,Ls as slice,Ms as sliceBytes,Hs as sliceHex,gr as stringToBytes,br as stringToHex,hr as stringify,ks as toBlobSidecars,zs as toBlobs,yr as toBytes,qs as toEventHash,Vs as toEventSelector,Os as toEventSignature,Gs as toFunctionHash,js as toFunctionSelector,Ws as toFunctionSignature,fr as toHex,te as toPrefixedMessage,Ks as toRlp,Zs as transactionType,vr as trim,Ar as universalSignatureValidatorAbi,Js as universalSignatureValidatorByteCode,ie as validateTypedData,V as withCache,Z as withRetry,J as withTimeout,L as zeroAddress};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/add-gtH78Af8.js","_assets/lit-element-B3y9oplH.js","_assets/all-wallets-Bu4MasoZ.js","_assets/arrow-bottom-circle-Bm7U8Xm5.js","_assets/app-store-geBbzx8r.js","_assets/apple-DbX-KO3Q.js","_assets/arrow-bottom-NgyJiryy.js","_assets/arrow-left-Bx8XJo4p.js","_assets/arrow-right-CpmwAcz3.js","_assets/arrow-top-CXuApiRq.js","_assets/bank-B-AtGavB.js","_assets/browser-GaKxoKgI.js","_assets/card-DY_lirot.js","_assets/checkmark-B_Gn6_T7.js","_assets/checkmark-bold-B4Vhr71f.js","_assets/chevron-bottom-DkjlNWaH.js","_assets/chevron-left-t2d7IYla.js","_assets/chevron-right-BpvBfQlF.js","_assets/chevron-top-DaNUAgN3.js","_assets/chrome-store-BrYSyOan.js","_assets/clock-CM52yIf5.js","_assets/close-CcVztAR5.js","_assets/compass-Dnpz_bMX.js","_assets/coinPlaceholder-A0d_T23w.js","_assets/copy-OgObxpD0.js","_assets/cursor-TGA47xsa.js","_assets/cursor-transparent-ChuRXHZT.js","_assets/desktop-DSYLUYtr.js","_assets/disconnect-DOu0l9hw.js","_assets/discord-DSagmLDU.js","_assets/etherscan-BQWJnhdU.js","_assets/extension-BCceciJ0.js","_assets/external-link-nniZ8T-z.js","_assets/facebook-C8cFHJmd.js","_assets/farcaster-VVYMNsPV.js","_assets/filters-IQcwAHNQ.js","_assets/github-CUGKA0gF.js","_assets/google-ICSz-zKJ.js","_assets/help-circle-DUmb3lur.js","_assets/image-CcAGLSqv.js","_assets/id-CcMBGK0y.js","_assets/info-circle-BRf2hsXl.js","_assets/lightbulb-DxzqU2aA.js","_assets/mail-GTcep6d_.js","_assets/mobile-CxfewOOf.js","_assets/more-B1GNyGbD.js","_assets/network-placeholder-CaAIn0go.js","_assets/nftPlaceholder-CcKWs410.js","_assets/off-AGLeyIW1.js","_assets/play-store-DauY6Xkj.js","_assets/plus-C1iVend5.js","_assets/qr-code-D9x4W1o0.js","_assets/recycle-horizontal-BZndf3A8.js","_assets/refresh-BVUyDU7W.js","_assets/search-CmKy7FIM.js","_assets/send-1nI1S_8r.js","_assets/swapHorizontal-DtPyG-1F.js","_assets/swapHorizontalMedium-BF57TL40.js","_assets/swapHorizontalBold-iZFfQZST.js","_assets/swapHorizontalRoundedBold-KJaF8iLR.js","_assets/swapVertical-BPHOH9K5.js","_assets/telegram-DZ8t7D__.js","_assets/three-dots-RSAQzvrm.js","_assets/twitch-ClCm-_yi.js","_assets/x-CJLl3cK1.js","_assets/twitterIcon-CFdE9cDK.js","_assets/verify-DBW23CTN.js","_assets/verify-filled-hMsYvnXR.js","_assets/wallet-B1K8se3b.js","_assets/walletconnect-BTykUwcd.js","_assets/wallet-placeholder-rTto8m3y.js","_assets/warning-circle-CR5Zi2hc.js","_assets/info-DxBb29bi.js","_assets/exclamation-triangle-DlfV2WT2.js","_assets/reown-logo-oGjjPiPA.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-
|
|
2
|
+
import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-BSxLBlxi.js";import{_ as i}from"./index-BwmnMTdg.js";import{f as G,n as M}from"./async-directive-BRxn_Py3.js";const h={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:a}){return t.length<=e+r?t:a==="end"?`${t.substring(0,e)}...`:a==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),a=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let p=0;p<5;p+=1){const v=this.tintColor(a,.15*p);u.push(`rgb(${v[0]}, ${v[1]}, ${v[2]})`)}return`
|
|
3
3
|
--local-color-1: ${u[0]};
|
|
4
4
|
--local-color-2: ${u[1]};
|
|
5
5
|
--local-color-3: ${u[2]};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as c,b as a}from"./lit-element-B3y9oplH.js";import{n as o,o as h}from"./class-map-CxwNmq0D.js";import{e as m,n as b}from"./ref-BsAZ42-h.js";import{c as x}from"./index-
|
|
1
|
+
import{i as c,b as a}from"./lit-element-B3y9oplH.js";import{n as o,o as h}from"./class-map-CxwNmq0D.js";import{e as m,n as b}from"./ref-BsAZ42-h.js";import{c as x}from"./index-CfP1fkI_.js";import{d as f,r as $,e as g}from"./index-DaSPxwNy.js";const w=f`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-
|
|
1
|
+
import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-CfP1fkI_.js";import"./index-N1bohwEM.js";import{d as b,r as x,e as z}from"./index-DaSPxwNy.js";import"./index-Bm_zAXvq.js";const S=f`<svg width="86" height="96" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
d="M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z"
|
|
4
4
|
/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as f,b as l,a as ee}from"./lit-element-B3y9oplH.js";import{n as c,o as w,r as u,a as Ii}from"./class-map-CxwNmq0D.js";import{d as v,r as _,e as W}from"./index-
|
|
1
|
+
import{i as f,b as l,a as ee}from"./lit-element-B3y9oplH.js";import{n as c,o as w,r as u,a as Ii}from"./class-map-CxwNmq0D.js";import{d as v,r as _,e as W}from"./index-DaSPxwNy.js";import{c as p,U as F}from"./index-CfP1fkI_.js";import"./index-N1bohwEM.js";import"./index-CdZzuE8e.js";import"./index-Dr4f9K-t.js";import{O as m,C as d,L as Ee,q as E,b as y,M as P,E as C,t as me,o as b,R as h,d as D,S as A,k as x,l as ze,W as Fe,ak as Xt,aj as he,a3 as J,a1 as qi,z as I,am as tt,A as _i,F as Ki,D as Gi,y as Xi,T as ft,V as Yt,X as Qt,a9 as Yi,ao as Qi,Z as Bt,ap as Ji}from"./W3MFrameProviderSingleton-ChXXI6YZ.js";import"./index-Bm_zAXvq.js";import{W as zs,a as Fs}from"./index-D6OOP-51.js";import"./index-BJXNRLkE.js";import"./index-sFhq_-vF.js";import"./index-FT6agMXk.js";import{au as S}from"./NetworkUtil-DXqql1Wz.js";import{H as Jt}from"./HelpersUtil-D4FO24BM.js";import{n as Zi}from"./index-DQzE_-yq.js";import{E as Q}from"./ExchangeController-5e1qfrC7.js";import"./index-Bk3rNDtD.js";import"./index-BPg5Mvmb.js";import"./index-94LcKPqN.js";import{M as mt}from"./MathUtil-BGCe3rZ3.js";import"./index-CBhJLill.js";import{e as Zt,n as ei}from"./ref-BsAZ42-h.js";import"./index-DNNPYfed.js";import"./index-B5pEWwvB.js";import"./index-Bf_azgOs.js";import"./index-DjW0J8pD.js";import{O as bt}from"./index-CF-t9R4v.js";import{e as en}from"./index-CcCpGfgd.js";import"./index-DjYBUAnI.js";import"./index-BuWzyRcz.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-8YFhojLT.js";import"./index-BwmnMTdg.js";import"./react-BYHuwl8r.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./index-C6AA1Xf7.js";import"./events-DQ172AOg.js";import"./index-tLIN_GkS.js";import"./index-w01WQ1OT.js";import"./index-nibyPLVP.js";import"./index-Bz4Oae-5.js";import"./index.es-DAZuzUm7.js";import"./browser-ponyfill-Dj0kiq3a.js";import"./ConstantsUtil-CtukCvy7.js";import"./async-directive-BRxn_Py3.js";import"./browser-DxF-qILS.js";const nn=v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|