@dcl/shop 1.10.1 → 1.10.2-32947525166.commit-3fff6df
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-sYTAvfnp.js → Activity-BtEVQjQA.js} +6 -6
- package/_assets/{AnimatedBackground-CKjW4vYY.js → AnimatedBackground-IkrIRL1K.js} +3 -3
- package/_assets/{Assets-C2OZaacH.js → Assets-DvkscE7I.js} +9 -9
- package/_assets/{Authorizations-D3I8R8l-.js → Authorizations-BtzgbNu4.js} +2 -2
- package/_assets/{Cart-Dd__h3ZW.js → Cart-Dykg2Yej.js} +2 -2
- package/_assets/{Collection-VmwPgiKW.js → Collection-D09TrPa7.js} +2 -2
- package/_assets/{CollectionCarousel-D-6IGcNf.js → CollectionCarousel-Dz6JQa7s.js} +3 -3
- package/_assets/{Confetti-VUkdDyEI.js → Confetti-D9nguoEQ.js} +4 -4
- package/_assets/{ConstantsUtil-De72a0_7.js → ConstantsUtil-Bu2OGff0.js} +2 -2
- package/_assets/{ContentClient-Dw5xMMU7.js → ContentClient-f4spWPdK.js} +2 -2
- package/_assets/{Creator-DgsxlzIN.js → Creator-Dm0O6yeM.js} +2 -2
- package/_assets/{DeploymentBuilder-Dgljr4BY.js → DeploymentBuilder-C-2B6p5d.js} +2 -2
- package/_assets/{EmotePlaybackBar-Bu8aGycE.js → EmotePlaybackBar-BBMWt3Nd.js} +3 -3
- package/_assets/{ErrorNotice-Dz--zyW0.js → ErrorNotice-DdujPcIo.js} +2 -2
- package/_assets/{ExchangeController-C7J-B8rd.js → ExchangeController-DYTNZzp6.js} +2 -2
- package/_assets/{Faq-BDIc5eQF.js → Faq-C3L446f-.js} +2 -2
- package/_assets/{GetCredits-B8U79i26.js → GetCredits-BHWulS_s.js} +2 -2
- package/_assets/{Grow-C_1n6x3_.js → Grow-Ds18j49m.js} +2 -2
- package/_assets/{HelpersUtil-CnDZcTQ9.js → HelpersUtil-D_NL_P-0.js} +2 -2
- package/_assets/{ItemDetail-CrDU0tZN.js → ItemDetail-7kOHAz0J.js} +393 -380
- package/_assets/{LoadMore-9WSbZ_q9.js → LoadMore-D8qDeRXU.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-DsPQG5XW.js → ManaPricingBanner.styles-Dt6CIbk5.js} +2 -2
- package/_assets/{MyAssets-DI7ScSLP.js → MyAssets-C3InNeq1.js} +2 -2
- package/_assets/{MyFavorites-BWzbSRSx.js → MyFavorites-Npqe8V7G.js} +2 -2
- package/_assets/{NetworkUtil-DMDTqqRR.js → NetworkUtil-DZ3oAWCy.js} +2 -2
- package/_assets/{NotFound-Bbp6NfBp.js → NotFound-BdlAZ0_k.js} +2 -2
- package/_assets/{NotificationsBell-BT4L2P9D.js → NotificationsBell-Dj9JMzV2.js} +2 -2
- package/_assets/{OutfitDetail-DvH4nEsl.js → OutfitDetail-Kz1IbWuZ.js} +2 -2
- package/_assets/{OutfitPreview-B65gZoPB.js → OutfitPreview-8dcvA95w.js} +2 -2
- package/_assets/{OutfitStudio-YlglasDx.js → OutfitStudio-Bua05_wP.js} +2 -2
- package/_assets/{StoreSettings-CIuiu9OI.js → StoreSettings-DdjrIzwL.js} +3 -3
- package/_assets/{Success-CxhEu-7S.js → Success-ml7Z6uvY.js} +2 -2
- package/_assets/{SwapController-DK9lfsBD.js → SwapController-D0ZGb8jE.js} +2 -2
- package/_assets/{TradeService-D22j0-9F.js → TradeService-B7MAJN_i.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-CESQTQqF.js → W3MFrameProviderSingleton-Cm_URG_Z.js} +4 -4
- package/_assets/{WebCryptoP256-BLxuWQFm.js → WebCryptoP256-juwBaL-I.js} +2 -2
- package/_assets/{authorizations-DFBrUXOS.js → authorizations-iCNozW6w.js} +2 -2
- package/_assets/{basic-fYfTYC_d.js → basic-B2qyT6DX.js} +2 -2
- package/_assets/{biconomy-BIt5-5mE.js → biconomy-CjkHT4Sp.js} +2 -2
- package/_assets/{browseLayout.styles-Bc-hk1bi.js → browseLayout.styles-DwS3IXc0.js} +2 -2
- package/_assets/{browser-D-rgIuh4.js → browser-Bhqn8eEy.js} +2 -2
- package/_assets/{browser-ponyfill-BcpqOoPZ.js → browser-ponyfill-C3QJTrvF.js} +2 -2
- package/_assets/{builder-DhbmrqGU.js → builder-B6XCY6l2.js} +2 -2
- package/_assets/{buy-CnHi7Iym.js → buy-BuEQSKKw.js} +2 -2
- package/_assets/{buy-gasless-DHhei4fH.js → buy-gasless-a5LMIsjC.js} +2 -2
- package/_assets/{categories-DVcKGwG_.js → categories-6vheNz_S.js} +2 -2
- package/_assets/{ccip-D2QhBII5.js → ccip-BSvD3xKG.js} +2 -2
- package/_assets/{ccip-DVOLH90X.js → ccip-yZWGiwtk.js} +2 -2
- package/_assets/{chains-BOsD_otP.js → chains-WnQPMe2B.js} +2 -2
- package/_assets/collectionPage.styles-6NhFxJwg.js +40 -0
- package/_assets/{common-XWhiQMBZ.js → common-DvLByPe6.js} +2 -2
- package/_assets/{controller-Cuj0FpQk.js → controller-BHUJxVTn.js} +3 -3
- package/_assets/{core-DkDb2Mfj.js → core-DmhrtURy.js} +5 -5
- package/_assets/{createSvgIcon-BQ9lxpFw.js → createSvgIcon-6YmTulQL.js} +2 -2
- package/_assets/{custom-C292lMjR.js → custom-N6ka0CP3.js} +2 -2
- package/_assets/{data-capture-Cy4pUTqT.js → data-capture-BuHtqEhX.js} +2 -2
- package/_assets/{dcl-schemas-B-WFxXOZ.js → dcl-schemas-CLUmlxzq.js} +2 -2
- package/_assets/{decimals-DCiHcGcZ.js → decimals-CPONYvIL.js} +2 -2
- package/_assets/{decimals-BV1E2kFL.js → decimals-CzAhZKsk.js} +2 -2
- package/_assets/{detectExtension-Dc9AAVXw.js → detectExtension-BqixUDGl.js} +2 -2
- package/_assets/{disposePreview-MU4_1jLO.js → disposePreview-BLUbNHQC.js} +2 -2
- package/_assets/{email-CgMO12XY.js → email-CjDWrdP0.js} +2 -2
- package/_assets/{embedded-wallet-C3jLKCzb.js → embedded-wallet-XcVcc7hx.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-AmbZRQDT.js → emotion-styled.browser.esm-KQkBvz99.js} +2 -2
- package/_assets/{engine-DV4TQcJS.js → engine-BvP73XBl.js} +2 -2
- package/_assets/{errors-C5MB6AYb.js → errors--mHJKOdI.js} +2 -2
- package/_assets/{estimate-l1-fee-BETuaNxP.js → estimate-l1-fee-BQAkfTeN.js} +2 -2
- package/_assets/{eth_estimateGas-DJeu0SCF.js → eth_estimateGas-CCp4EILg.js} +2 -2
- package/_assets/{eth_getStorageAt-Cs1VTqTk.js → eth_getStorageAt-NvgDLAuk.js} +2 -2
- package/_assets/{eth_getTransactionCount-kfQJQwHZ.js → eth_getTransactionCount-B-qIZY5_.js} +2 -2
- package/_assets/{ethereum-uXvYhQ1U.js → ethereum-nDSm9vps.js} +2 -2
- package/_assets/{ethers-BJ46oYk8.js → ethers-C9Iy8r0X.js} +2 -2
- package/_assets/{events-TC-OlUEN.js → events-D6b4C9sL.js} +2 -2
- package/_assets/{execute-BKnIkwKP.js → execute-CfXZj3Ro.js} +3 -3
- package/_assets/{extractIPFS-5zCrambD.js → extractIPFS-BjFXihPz.js} +2 -2
- package/_assets/{features-D6_H5Eg-.js → features-CqYf_Gvf.js} +2 -2
- package/_assets/{fetchTokenMetadata-Dv3t7lWt.js → fetchTokenMetadata-ByYxB_9b.js} +3 -3
- package/_assets/{field.styles-CvPi7xT7.js → field.styles-BNlIn-oB.js} +2 -2
- package/_assets/{fortmatic-vFLXReLi.js → fortmatic-DiGOvvaO.js} +2 -2
- package/_assets/{get-bytecode-CNSsYU7v.js → get-bytecode-BePQJps4.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-DNg7unD2.js → get-ecosystem-wallet-info-BYwnK28c.js} +2 -2
- package/_assets/{getBalance-B7xeoxhf.js → getBalance-BGeqscYW.js} +3 -3
- package/_assets/{getInstalledModules-CCoMH5Lj.js → getInstalledModules-ClhZXB-X.js} +2 -2
- package/_assets/{getNFT-BHGGFy7Q.js → getNFT-CigxvNVN.js} +3 -3
- package/_assets/{getNFT-B9pHp8Uz.js → getNFT-D7zjcfkw.js} +2 -2
- package/_assets/{grid.styles-C26EVK27.js → grid.styles-BpWMimNV.js} +2 -2
- package/_assets/{hashTypedData-nAbGWpsl.js → hashTypedData-0IsE41Hs.js} +2 -2
- package/_assets/{hashTypedData-lRLTmg0n.js → hashTypedData-DRSIA9uS.js} +2 -2
- package/_assets/{in-app-B9y5kJyR.js → in-app-CPsaFODl.js} +2 -2
- package/_assets/{in-app-wallet-calls-C716-BWM.js → in-app-wallet-calls-CU6OCgfY.js} +2 -2
- package/_assets/{index-BgKNEsQM.js → index-2g2rt955.js} +2 -2
- package/_assets/{index-BHdEDlzJ.js → index-5hRGbsT6.js} +2 -2
- package/_assets/{index-CX3nsPjs.js → index-B6QN3jej.js} +2 -2
- package/_assets/{index-CHj8Jay2.js → index-B7dn7Wpp.js} +2 -2
- package/_assets/{index-d5wxrhAy.js → index-B7iUyeUt.js} +2 -2
- package/_assets/{index-6KahUnUn.js → index-B7qNoUjO.js} +2 -2
- package/_assets/{index-C8U-_ocQ.js → index-B9VasuEE.js} +2 -2
- package/_assets/{index-feacctl2.js → index-BA4OfL1w.js} +2 -2
- package/_assets/{index-CnXW5rWU.js → index-BBSGNrFt.js} +4 -4
- package/_assets/{index-CMjakdHj.js → index-BJpQZ4-U.js} +3 -3
- package/_assets/{index-D7HaNPcS.js → index-BKpRjuv3.js} +2 -2
- package/_assets/{index-BQDksEkr.js → index-BM89P0tM.js} +2 -2
- package/_assets/{index-Ud-5kGUt.js → index-BN0gbiar.js} +2 -2
- package/_assets/{index-COcnomhy.js → index-BRefIP3Y.js} +2 -2
- package/_assets/{index-fVZPvJm4.js → index-BUsrJ61f.js} +2 -2
- package/_assets/{index-Cx9L-LFW.js → index-BVoenAQb.js} +2 -2
- package/_assets/{index-D4Hsr0PA.js → index-BWlHHe4G.js} +2 -2
- package/_assets/{index-DsiBINCC.js → index-B_2Y_zc2.js} +2 -2
- package/_assets/{index-DkbueSpv.js → index-BgBta_-V.js} +3 -3
- package/_assets/{index-Dr5PslPg.js → index-BiOTdBif.js} +2 -2
- package/_assets/{index-C1eSVPh4.js → index-BriEZS3d.js} +2 -2
- package/_assets/{index-BTQvqbCD.js → index-BunDVVpi.js} +2 -2
- package/_assets/{index-DQxLb4VX.js → index-Bz2OeIHf.js} +2 -2
- package/_assets/{index-Cpb9-IOd.js → index-C61JOxOi.js} +2 -2
- package/_assets/{index-DHDgM3HR.js → index-C7CWpZ7h.js} +2 -2
- package/_assets/{index-BrSvdzgK.js → index-CGTc-luO.js} +2 -2
- package/_assets/{index-D5k9KHxl.js → index-CPT9NXY_.js} +2 -2
- package/_assets/{index-WP1SnqN8.js → index-CPVhPEus.js} +2 -2
- package/_assets/{index-CGFciMjS.js → index-CYl9EZ1l.js} +3 -3
- package/_assets/{index-BkrcYvM1.js → index-C_6cb0bY.js} +2 -2
- package/_assets/{index-BEOx-MkQ.js → index-CaYeG5nD.js} +2 -2
- package/_assets/{index-B_3VWPzU.js → index-CbPG6lqd.js} +2 -2
- package/_assets/{index-jJhmkgZI.js → index-CdzRs1b-.js} +2 -2
- package/_assets/{index-CcvxyAkd.js → index-CeDhF33l.js} +2 -2
- package/_assets/{index-CTuqkErq.js → index-CiJZSR52.js} +2 -2
- package/_assets/{index-lCvkbdl9.js → index-CnXK43z2.js} +4 -4
- package/_assets/{index-CRKkmqcY.js → index-CquGyNx3.js} +2 -2
- package/_assets/{index-CJV1rvrt.js → index-CszNNscD.js} +2 -2
- package/_assets/{index-BUhtMj3g.js → index-CuTLeipJ.js} +3 -3
- package/_assets/{index-DxGC0jjd.js → index-Cygm1etz.js} +2 -2
- package/_assets/{index-DZF2Mqmj.js → index-CzmCNEXu.js} +2 -2
- package/_assets/{index-CBxpfVHL.js → index-D1mY66Y6.js} +2 -2
- package/_assets/{index-CC2q8Own.js → index-DDZoG2cJ.js} +2 -2
- package/_assets/{index-DfSh-hk8.js → index-DHiguVqg.js} +2 -2
- package/_assets/{index-CZ7LuSob.js → index-DMZuQX5Z.js} +2 -2
- package/_assets/index-DN0B-b9w.js +4090 -0
- package/_assets/{index-B4b9QcWr.js → index-DNt7hHHr.js} +2 -2
- package/_assets/{index-mc6ExTro.js → index-DOSiX24O.js} +2 -2
- package/_assets/{index-BYlPLyvC.js → index-DPJ_Dv-6.js} +2 -2
- package/_assets/{index-Cu_2CevS.js → index-DVnQ1dYh.js} +2 -2
- package/_assets/{index-Dlcd7g3E.js → index-DW1kr9We.js} +2 -2
- package/_assets/{index-CQxq8vBQ.js → index-DcEfK_6R.js} +2 -2
- package/_assets/{index-Bvfny1b1.js → index-DcG7nuHK.js} +2 -2
- package/_assets/{index-DVW70KlG.js → index-DjYpq0m2.js} +2 -2
- package/_assets/{index-C0ujtDM4.js → index-DjZtSIJT.js} +2 -2
- package/_assets/{index-WsHUh7DI.js → index-DqmNsU3V.js} +2 -2
- package/_assets/{index-DXfxffdW.js → index-DrZ7e67r.js} +2 -2
- package/_assets/{index-CUcmsm9q.js → index-E0gShLWk.js} +2 -2
- package/_assets/{index-Du1ffPDP.js → index-IV4V-eiF.js} +2 -2
- package/_assets/{index-BQHirLzH.js → index-JMZ5GXFr.js} +4 -4
- package/_assets/{index-Cntf9ZDS.js → index-KCbHh191.js} +2 -2
- package/_assets/{index-DxQVs5qk.js → index-NF_GoMGX.js} +2 -2
- package/_assets/{index-BbyQswd9.js → index-TzVkLch4.js} +2 -2
- package/_assets/{index-DD4626BH.js → index-oom5HekT.js} +2 -2
- package/_assets/{index-DcGUq2q8.js → index-q70Ygp1T.js} +2 -2
- package/_assets/{index-Dgb7bK23.js → index-rRqQLcGi.js} +2 -2
- package/_assets/{index-BH79ktLP.js → index-xsD5uLyo.js} +2 -2
- package/_assets/{index.es-D6pEehq0.js → index.es-7TvS5Qh2.js} +2 -2
- package/_assets/{index.es-Cj6yjCSo.js → index.es-Dd_ITeS6.js} +2 -2
- package/_assets/{index.es-Bh3Cz7Uz.js → index.es-DmNzhBfU.js} +2 -2
- package/_assets/{index.es-Bj7P4x_P.js → index.es-sDdxkcpY.js} +5 -5
- package/_assets/items-empty-BYwwtSaT.js +2 -0
- package/_assets/{jump-cMU7i7Yp.js → jump-B99flTYG.js} +2 -2
- package/_assets/{linkAccount-vh55n5MO.js → linkAccount-BK4E9pGS.js} +2 -2
- package/_assets/{localBatchGatewayRequest-D4hFYJZz.js → localBatchGatewayRequest-CD9qdDZu.js} +2 -2
- package/_assets/{native-CFNaphPE.js → native-B_xZpXlS.js} +2 -2
- package/_assets/{networks-CxV8-SX3.js → networks-DdoPyzr9.js} +2 -2
- package/_assets/{onramp-4DIcOAI7.js → onramp-CSzaYxx7.js} +2 -2
- package/_assets/{openzeppelin-B_XsaDrr.js → openzeppelin-BaM2lzE6.js} +2 -2
- package/_assets/{ownerOf-f0kUifsZ.js → ownerOf-BfgU8Yir.js} +2 -2
- package/_assets/{parseNft-A7Bfi1I_.js → parseNft-PWSwCsvW.js} +3 -3
- package/_assets/{parseSignature-B8wLewQB.js → parseSignature-BO5eeDYg.js} +4 -4
- package/_assets/{parseSignature-B671IJ9t.js → parseSignature-CqMdCDcO.js} +2 -2
- package/_assets/{passkeys-niNiWiM7.js → passkeys-CACjqd-H.js} +2 -2
- package/_assets/{pay-with-exchange-Cg70bQZa.js → pay-with-exchange-C4xcSOKH.js} +2 -2
- package/_assets/{prepare-contract-call-D-8DArpz.js → prepare-contract-call-CL7yIz7F.js} +2 -2
- package/_assets/{qr-overlay-DMFlset5.js → qr-overlay-CxDuFBIO.js} +4 -4
- package/_assets/{react-BAO_TUIJ.js → react-DdXEvnSt.js} +2 -2
- package/_assets/{receive-CTtpMoco.js → receive-Bi97E5iX.js} +2 -2
- package/_assets/{resolveImplementation-DF5drpuE.js → resolveImplementation-DU78VhfE.js} +2 -2
- package/_assets/{resume-buy-DJYhgVd-.js → resume-buy-BuTzbRDw.js} +2 -2
- package/_assets/{rpc-B3U1udLU.js → rpc-B0bLYj3y.js} +2 -2
- package/_assets/{sales-empty-Bt-vq6r8.js → sales-empty-RQ131-Cj.js} +2 -2
- package/_assets/{search-empty-CsDzgGQD.js → search-empty-CMaQUOPN.js} +2 -2
- package/_assets/{secp256k1-DCHmI0Wk.js → secp256k1-C2bpUlKp.js} +2 -2
- package/_assets/{secp256k1-BmdgJuRA.js → secp256k1-C55vmJBM.js} +2 -2
- package/_assets/{secp256k1-DR9Rp0tc.js → secp256k1-DZCMwq3_.js} +2 -2
- package/_assets/{send-C8vls9oA.js → send-DC8EEssh.js} +2 -2
- package/_assets/{send-batch-transaction-LHa5_TPd.js → send-batch-transaction-Di75_q5e.js} +2 -2
- package/_assets/{send-eip712-transaction-ZlSenyFv.js → send-eip712-transaction-C6wD9VSl.js} +3 -3
- package/_assets/{send-gasless-transaction-B9Wd9Wbb.js → send-gasless-transaction-Cg4w5bcd.js} +3 -3
- package/_assets/{send-transaction-B4hngXws.js → send-transaction-Bu06yAj8.js} +3 -3
- package/_assets/{sendMetaTransaction-BeF2aB_y.js → sendMetaTransaction-CKbbr1d4.js} +2 -2
- package/_assets/{sendRawTransaction-DTeS6t1F.js → sendRawTransaction-azgWOYRw.js} +4 -4
- package/_assets/{sentry-BoIhDhui.js → sentry-CBtADnon.js} +3 -3
- package/_assets/{serializeTransaction-BB-N5Krg.js → serializeTransaction-BBcJIPff.js} +2 -2
- package/_assets/{session-proposal-DWbXgpDt.js → session-proposal-Dqdz1uoL.js} +2 -2
- package/_assets/{session-request-y8lLoUu6.js → session-request-DYe2S1ap.js} +3 -3
- package/_assets/{sha256-DXK6LXQg.js → sha256-BmebHN1B.js} +2 -2
- package/_assets/{signing-CuWWYUCP.js → signing-o11zMWds.js} +4 -4
- package/_assets/{skeleton.styles-CGVEZY-7.js → skeleton.styles-YvcInZiQ.js} +2 -2
- package/_assets/{socials-Da7e8hFc.js → socials-Bqwr35jk.js} +2 -2
- package/_assets/{styled-NtEkqz45.js → styled-Bv9C-hhk.js} +2 -2
- package/_assets/{swaps-UA1juyFG.js → swaps-BJemJ3RQ.js} +2 -2
- package/_assets/{thirdweb-BjQz496b.js → thirdweb-Dys1d89O.js} +4 -4
- package/_assets/{to-serializable-transaction-BlrbTyPZ.js → to-serializable-transaction-DAhX_zz6.js} +3 -3
- package/_assets/{totalSupply-BqYWR5LO.js → totalSupply-f0y3Xsn-.js} +2 -2
- package/_assets/{transaction-rcvNLU7z.js → transaction-DplS0dTf.js} +2 -2
- package/_assets/{transactionReceipt-lqPbaLrZ.js → transactionReceipt-B37TIvhI.js} +2 -2
- package/_assets/{transactions-DuOhcbb6.js → transactions-CoSZVkVt.js} +2 -2
- package/_assets/{useCreditPacks-CcW707qX.js → useCreditPacks-hefn0ZD5.js} +2 -2
- package/_assets/{useInfiniteGrid-O5Wvm7pV.js → useInfiniteGrid-BgpINlDx.js} +2 -2
- package/_assets/{useStore-B3fQdYA0.js → useStore-C_7NQ9wl.js} +3 -3
- package/_assets/{useTheme-eJgWxV4j.js → useTheme-Bf8p94fs.js} +2 -2
- package/_assets/{utils-TQPakHe1.js → utils-cnMKR5rx.js} +2 -2
- package/_assets/{verifyHash-D95QvQtB.js → verifyHash-DSs7CuzA.js} +2 -2
- package/_assets/{w3m-modal-BRMAeRQM.js → w3m-modal-BJXFFFi6.js} +2 -2
- package/_assets/{w3m-modal-Se3-B1HF.js → w3m-modal-DAP74p6c.js} +2 -2
- package/_assets/{wait-for-tx-receipt-11ct1VLo.js → wait-for-tx-receipt-B6DTuo_9.js} +2 -2
- package/_assets/{wallets-B0tPgzoA.js → wallets-CjFPtGr5.js} +6 -6
- package/_assets/{web-connector-Btytr_xK.js → web-connector-DSLaUAKj.js} +4 -4
- package/_assets/{writeContract-cdPhiEo2.js → writeContract-BZfaaQq4.js} +2 -2
- package/_assets/{zora-sepolia-BoGr_anx.js → zora-sepolia-CiyL4SYq.js} +2 -2
- package/_assets/{zoraTestnet-Cuxc7Xr4.js → zoraTestnet-BbAmNK9l.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/collectionPage.styles-BXaO8TjT.js +0 -40
- package/_assets/index-CUn1_Jx_.js +0 -4090
- package/_assets/items-empty-CrDR1I8-.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as f,b as d}from"./lit-element-wjYUA6aF.js";import{n as a}from"./class-map-DopF_Eyi.js";import{c as p}from"./index-
|
|
1
|
+
import{i as f,b as d}from"./lit-element-wjYUA6aF.js";import{n as a}from"./class-map-DopF_Eyi.js";import{c as p}from"./index-BRefIP3Y.js";import"./index-CquGyNx3.js";import{d as b,r as g,e as w}from"./index-CnXK43z2.js";import{N as m}from"./W3MFrameProviderSingleton-Cm_URG_Z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="18ae690b-0ba8-42f3-8088-9e6545f00229",e._sentryDebugIdIdentifier="sentry-dbid-18ae690b-0ba8-42f3-8088-9e6545f00229")}catch{}})();const h=b`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
@@ -76,4 +76,4 @@ import{i as f,b as d}from"./lit-element-wjYUA6aF.js";import{n as a}from"./class-
|
|
|
76
76
|
</wui-flex>
|
|
77
77
|
</button>
|
|
78
78
|
`}visualTemplate(){return this.tokenName&&this.tokenImageUrl?d`<wui-image alt=${this.tokenName} src=${this.tokenImageUrl}></wui-image>`:d`<wui-icon name="coinPlaceholder" color="default"></wui-icon>`}};o.styles=[g,w,h];r([a()],o.prototype,"tokenName",void 0);r([a()],o.prototype,"tokenImageUrl",void 0);r([a({type:Number})],o.prototype,"tokenValue",void 0);r([a()],o.prototype,"tokenAmount",void 0);r([a()],o.prototype,"tokenCurrency",void 0);r([a({type:Boolean})],o.prototype,"clickable",void 0);o=r([p("wui-list-token")],o);
|
|
79
|
-
//# sourceMappingURL=index-
|
|
79
|
+
//# sourceMappingURL=index-TzVkLch4.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as f,b as c}from"./lit-element-wjYUA6aF.js";import{n as u}from"./class-map-DopF_Eyi.js";import{c as p}from"./index-
|
|
1
|
+
import{i as f,b as c}from"./lit-element-wjYUA6aF.js";import{n as u}from"./class-map-DopF_Eyi.js";import{c as p}from"./index-BRefIP3Y.js";import{d as b,r as g}from"./index-CnXK43z2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dde23a4f-38db-4eee-9262-6fe249c3d5b2",e._sentryDebugIdIdentifier="sentry-dbid-dde23a4f-38db-4eee-9262-6fe249c3d5b2")}catch{}})();const m=b`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: flex;
|
|
@@ -25,4 +25,4 @@ import{i as f,b as c}from"./lit-element-wjYUA6aF.js";import{n as u}from"./class-
|
|
|
25
25
|
background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
|
|
26
26
|
}
|
|
27
27
|
`;var l=function(e,t,o,i){var a=arguments.length,r=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(d=e[s])&&(r=(a<3?d(r):a>3?d(t,o,r):d(t,o))||r);return a>3&&r&&Object.defineProperty(t,o,r),r};let n=class extends f{constructor(){super(...arguments),this.text="",this.bgColor="primary"}render(){return this.dataset.bgColor=this.bgColor,c`${this.template()}`}template(){return this.text?c`<wui-text variant="md-regular" color="secondary">${this.text}</wui-text>`:null}};n.styles=[g,m];l([u()],n.prototype,"text",void 0);l([u()],n.prototype,"bgColor",void 0);n=l([p("wui-separator")],n);
|
|
28
|
-
//# sourceMappingURL=index-
|
|
28
|
+
//# sourceMappingURL=index-oom5HekT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{p as dt}from"./sentry-BoIhDhui.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5cee38ea-1aae-4489-9b7d-bbc1e0d6c990",e._sentryDebugIdIdentifier="sentry-dbid-5cee38ea-1aae-4489-9b7d-bbc1e0d6c990")}catch{}})();var U=(e=>(e.MissingApiKey="MISSING_API_KEY",e.ModalNotReady="MODAL_NOT_READY",e.MalformedResponse="MALFORMED_RESPONSE",e.InvalidArgument="INVALID_ARGUMENT",e.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",e.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",e))(U||{}),j=(e=>(e.SyncWeb3Method="SYNC_WEB3_METHOD",e.DuplicateIframe="DUPLICATE_IFRAME",e.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",e.DeprecationNotice="DEPRECATION_NOTICE",e.ProductAnnouncement="ANNOUNCEMENT",e))(j||{}),ve=(e=>(e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",e[e.MagicLinkExpired=-10001]="MagicLinkExpired",e[e.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",e[e.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",e[e.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",e[e.UpdateEmailFailed=-10004]="UpdateEmailFailed",e[e.UserRequestEditEmail=-10005]="UserRequestEditEmail",e[e.InactiveRecipient=-10010]="InactiveRecipient",e[e.AccessDeniedToUser=-10011]="AccessDeniedToUser",e[e.RedirectLoginComplete=-10015]="RedirectLoginComplete",e))(ve||{}),M=(e=>(e.MetaMask="metamask",e.CoinbaseWallet="coinbase_wallet",e))(M||{}),ae=(e=>(e.WalletSelected="wallet_selected",e.WalletConnected="wallet_connected",e.WalletRejected="wallet_rejected",e))(ae||{}),h=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e))(h||{}),k=(e=>(e.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",e.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",e.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",e.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",e.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",e.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",e.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",e))(k||{}),ce=(e=>(e.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",e))(ce||{}),ut=(e=>(e.UpdateEmail="update-email",e.MFA="mfa",e.Recovery="recovery",e))(ut||{}),ht=(e=>(e.Retry="retry",e))(ht||{}),pt=(e=>(e.EmailSent="email-sent",e.EmailNotDeliverable="email-not-deliverable",e))(pt||{}),B=(e=>(e.VerifyEmailOtp="verify-email-otp",e.Cancel="cancel",e))(B||{}),mt=(e=>(e.EmailOTPSent="email-otp-sent",e.InvalidEmailOtp="invalid-email-otp",e.ExpiredEmailOtp="expired-email-otp",e))(mt||{}),ge=(e=>(e.Retry="device-retry",e))(ge||{}),Et=(e=>(e.DeviceApproved="device-approved",e.DeviceNeedsApproval="device-needs-approval",e.DeviceVerificationLinkExpired="device-verification-link-expired",e.DeviceVerificationEmailSent="device-verification-email-sent",e))(Et||{}),C=(e=>(e.Retry="Recency/auth-factor-retry",e.Cancel="Recency/auth-factor-verification-cancel",e.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",e))(C||{}),ft=(e=>(e.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",e.PrimaryAuthFactorVerified="Recency/auth-factor-verified",e.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",e.EmailExpired="Recency/auth-factor-verification-email-expired",e.EmailSent="Recency/auth-factor-verification-email-sent",e.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",e))(ft||{}),P=(e=>(e.RetryWithNewEmail="UpdateEmail/retry-with-new-email",e.Cancel="UpdateEmail/new-email-verification-cancel",e.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",e))(P||{}),gt=(e=>(e.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",e.EmailUpdated="UpdateEmail/email-updated",e.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",e.EmailExpired="UpdateEmail/new-email-verification-email-expired",e.EmailSent="UpdateEmail/new-email-verification-email-sent",e.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",e.InvalidEmail="UpdateEmail/new-email-invalid",e.EmailAlreadyExists="UpdateEmail/new-email-already-exists",e))(gt||{}),_t=(e=>(e.Harmony="HARMONY",e))(_t||{}),vt=(e=>(e.PhoneNumber="phone_number",e))(vt||{}),Ee={},yt=Object.create,pe=Object.defineProperty,It=Object.defineProperties,wt=Object.getOwnPropertyDescriptor,Rt=Object.getOwnPropertyDescriptors,$t=Object.getOwnPropertyNames,Te=Object.getOwnPropertySymbols,Nt=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Le=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ye=(e,t)=>{for(var r in t||(t={}))He.call(t,r)&&Le(e,r,t[r]);if(Te)for(var r of Te(t))At.call(t,r)&&Le(e,r,t[r]);return e},Ie=(e,t)=>It(e,Rt(t)),Ot=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Tt=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $t(t))!He.call(e,n)&&n!==r&&pe(e,n,{get:()=>t[n],enumerable:!(i=wt(t,n))||i.enumerable});return e},Lt=(e,t,r)=>(r=e!=null?yt(Nt(e)):{},Tt(!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),v=(e,t,r)=>new Promise((i,n)=>{var s=d=>{try{o(r.next(d))}catch(l){n(l)}},a=d=>{try{o(r.throw(d))}catch(l){n(l)}},o=d=>d.done?i(d.value):Promise.resolve(d.value).then(s,a);o((r=r.apply(e,t)).next())}),St=Ot((e,t)=>{var r=Object.prototype.hasOwnProperty,i="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(i=!1));function s(l,c,u){this.fn=l,this.context=c,this.once=u||!1}function a(l,c,u,f,_){if(typeof u!="function")throw new TypeError("The listener must be a function");var y=new s(u,f||l,_),$=i?i+c:c;return l._events[$]?l._events[$].fn?l._events[$]=[l._events[$],y]:l._events[$].push(y):(l._events[$]=y,l._eventsCount++),l}function o(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function d(){this._events=new n,this._eventsCount=0}d.prototype.eventNames=function(){var l=[],c,u;if(this._eventsCount===0)return l;for(u in c=this._events)r.call(c,u)&&l.push(i?u.slice(1):u);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(c)):l},d.prototype.listeners=function(l){var c=i?i+l:l,u=this._events[c];if(!u)return[];if(u.fn)return[u.fn];for(var f=0,_=u.length,y=new Array(_);f<_;f++)y[f]=u[f].fn;return y},d.prototype.listenerCount=function(l){var c=i?i+l:l,u=this._events[c];return u?u.fn?1:u.length:0},d.prototype.emit=function(l,c,u,f,_,y){var $=i?i+l:l;if(!this._events[$])return!1;var p=this._events[$],L=arguments.length,b,I;if(p.fn){switch(p.once&&this.removeListener(l,p.fn,void 0,!0),L){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,c),!0;case 3:return p.fn.call(p.context,c,u),!0;case 4:return p.fn.call(p.context,c,u,f),!0;case 5:return p.fn.call(p.context,c,u,f,_),!0;case 6:return p.fn.call(p.context,c,u,f,_,y),!0}for(I=1,b=new Array(L-1);I<L;I++)b[I-1]=arguments[I];p.fn.apply(p.context,b)}else{var ct=p.length,V;for(I=0;I<ct;I++)switch(p[I].once&&this.removeListener(l,p[I].fn,void 0,!0),L){case 1:p[I].fn.call(p[I].context);break;case 2:p[I].fn.call(p[I].context,c);break;case 3:p[I].fn.call(p[I].context,c,u);break;case 4:p[I].fn.call(p[I].context,c,u,f);break;default:if(!b)for(V=1,b=new Array(L-1);V<L;V++)b[V-1]=arguments[V];p[I].fn.apply(p[I].context,b)}}return!0},d.prototype.on=function(l,c,u){return a(this,l,c,u,!1)},d.prototype.once=function(l,c,u){return a(this,l,c,u,!0)},d.prototype.removeListener=function(l,c,u,f){var _=i?i+l:l;if(!this._events[_])return this;if(!c)return o(this,_),this;var y=this._events[_];if(y.fn)y.fn===c&&(!f||y.once)&&(!u||y.context===u)&&o(this,_);else{for(var $=0,p=[],L=y.length;$<L;$++)(y[$].fn!==c||f&&!y[$].once||u&&y[$].context!==u)&&p.push(y[$]);p.length?this._events[_]=p.length===1?p[0]:p:o(this,_)}return this},d.prototype.removeAllListeners=function(l){var c;return l?(c=i?i+l:l,this._events[c]&&o(this,c)):(this._events=new n,this._eventsCount=0),this},d.prototype.off=d.prototype.removeListener,d.prototype.addListener=d.prototype.on,d.prefixed=i,d.EventEmitter=d,typeof t<"u"&&(t.exports=d)});function bt(e){let t={exports:{}};return e(t,t.exports),t.exports}var Ct=Number.MAX_SAFE_INTEGER||9007199254740991,we={MAX_LENGTH:256,MAX_SAFE_INTEGER:Ct,MAX_SAFE_COMPONENT_LENGTH:16},Pt=typeof dt=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},E=Pt,ee=bt(function(e,t){let{MAX_SAFE_COMPONENT_LENGTH:r}=we,i=(t=e.exports={}).re=[],n=t.src=[],s=t.t={},a=0,o=(d,l,c)=>{let u=a++;E(u,l),s[d]=u,n[u]=l,i[u]=new RegExp(l,c?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION",`(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${n[s.NUMERICIDENTIFIER]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${n[s.NUMERICIDENTIFIERLOOSE]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASE",`(?:-(${n[s.PRERELEASEIDENTIFIER]}(?:\\.${n[s.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${n[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[s.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD",`(?:\\+(${n[s.BUILDIDENTIFIER]}(?:\\.${n[s.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${n[s.MAINVERSION]}${n[s.PRERELEASE]}?${n[s.BUILD]}?`),o("FULL",`^${n[s.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${n[s.MAINVERSIONLOOSE]}${n[s.PRERELEASELOOSE]}?${n[s.BUILD]}?`),o("LOOSE",`^${n[s.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${n[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${n[s.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:${n[s.PRERELEASE]})?${n[s.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:${n[s.PRERELEASELOOSE]})?${n[s.BUILD]}?)?)?`),o("XRANGE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAINLOOSE]}$`),o("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),o("COERCERTL",n[s.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${n[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",o("TILDE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${n[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",o("CARET",`^${n[s.LONECARET]}${n[s.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${n[s.LONECARET]}${n[s.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${n[s.GTLT]}\\s*(${n[s.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]}|${n[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${n[s.XRANGEPLAIN]})\\s+-\\s+(${n[s.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${n[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[s.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Se=/^[0-9]+$/,kt=(e,t)=>{let r=Se.test(e),i=Se.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},Ut={compareIdentifiers:kt},{MAX_LENGTH:be,MAX_SAFE_INTEGER:re}=we,{re:Ce,t:Pe}=ee,{compareIdentifiers:H}=Ut,w=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>be)throw new TypeError(`version is longer than ${be} characters`);E("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?Ce[Pe.LOOSE]:Ce[Pe.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>re||this.major<0)throw new TypeError("Invalid major version");if(this.minor>re||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>re||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<re)return n}return i}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(E("SemVer.compare",this.version,this.options,e),!(e instanceof w)){if(typeof e=="string"&&e===this.version)return 0;e=new w(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof w||(e=new w(e,this.options)),H(this.major,e.major)||H(this.minor,e.minor)||H(this.patch,e.patch)}comparePre(e){if(e instanceof w||(e=new w(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],i=e.prerelease[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}compareBuild(e){e instanceof w||(e=new w(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}},Dt=(e,t,r)=>new w(e,r).compare(new w(t,r)),q=Dt,Gt=(e,t,r)=>q(e,t,r)===0,xt=Gt,Ft=(e,t,r)=>q(e,t,r)!==0,Wt=Ft,jt=(e,t,r)=>q(e,t,r)>0,qt=jt,Vt=(e,t,r)=>q(e,t,r)>=0,Ht=Vt,Xt=(e,t,r)=>q(e,t,r)<0,Bt=Xt,Kt=(e,t,r)=>q(e,t,r)<=0,Yt=Kt,zt=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return xt(e,r,i);case"!=":return Wt(e,r,i);case">":return qt(e,r,i);case">=":return Ht(e,r,i);case"<":return Bt(e,r,i);case"<=":return Yt(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}},fe=zt,X=Symbol("SemVer ANY"),Q=class{static get ANY(){return X}constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof Q){if(e.loose===!!t.loose)return e;e=e.value}E("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===X?this.value="":this.value=this.operator+this.semver.version,E("comp",this)}parse(e){let t=this.options.loose?ke[Ue.COMPARATORLOOSE]:ke[Ue.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new w(r[2],this.options.loose):this.semver=X}toString(){return this.value}test(e){if(E("Comparator.test",e,this.options.loose),this.semver===X||e===X)return!0;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}return fe(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Q))throw new TypeError("a Comparator is required");if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""||new F(e.value,t).test(this.value);if(e.operator==="")return e.value===""||new F(this.value,t).test(e.semver);let r=!(this.operator!==">="&&this.operator!==">"||e.operator!==">="&&e.operator!==">"),i=!(this.operator!=="<="&&this.operator!=="<"||e.operator!=="<="&&e.operator!=="<"),n=this.semver.version===e.semver.version,s=!(this.operator!==">="&&this.operator!=="<="||e.operator!==">="&&e.operator!=="<="),a=fe(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),o=fe(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return r||i||n&&s||a||o}},{re:ke,t:Ue}=ee,F=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof F)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new F(e.raw,t);if(e instanceof Q)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let{loose:t}=this.options;e=e.trim();let r=t?N[R.HYPHENRANGELOOSE]:N[R.HYPHENRANGE];e=e.replace(r,cr(this.options.includePrerelease)),E("hyphen replace",e),e=e.replace(N[R.COMPARATORTRIM],Jt),E("comparator trim",e,N[R.COMPARATORTRIM]),e=(e=(e=e.replace(N[R.TILDETRIM],Qt)).replace(N[R.CARETTRIM],Zt)).split(/\s+/).join(" ");let i=t?N[R.COMPARATORLOOSE]:N[R.COMPARATOR];return e.split(" ").map(n=>er(n,this.options)).join(" ").split(/\s+/).map(n=>lr(n,this.options)).filter(this.options.loose?n=>!!n.match(i):()=>!0).map(n=>new Q(n,this.options))}intersects(e,t){if(!(e instanceof F))throw new TypeError("a Range is required");return this.set.some(r=>De(r,t)&&e.set.some(i=>De(i,t)&&r.every(n=>i.every(s=>n.intersects(s,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(dr(this.set[t],e,this.options))return!0;return!1}},{re:N,t:R,comparatorTrimReplace:Jt,tildeTrimReplace:Qt,caretTrimReplace:Zt}=ee,De=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},er=(e,t)=>(E("comp",e,t),e=ir(e,t),E("caret",e),e=tr(e,t),E("tildes",e),e=sr(e,t),E("xrange",e),e=ar(e,t),E("stars",e),e),A=e=>!e||e.toLowerCase()==="x"||e==="*",tr=(e,t)=>e.trim().split(/\s+/).map(r=>rr(r,t)).join(" "),rr=(e,t)=>{let r=t.loose?N[R.TILDELOOSE]:N[R.TILDE];return e.replace(r,(i,n,s,a,o)=>{let d;return E("tilde",e,i,n,s,a,o),A(n)?d="":A(s)?d=`>=${n}.0.0 <${+n+1}.0.0-0`:A(a)?d=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:o?(E("replaceTilde pr",o),d=`>=${n}.${s}.${a}-${o} <${n}.${+s+1}.0-0`):d=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,E("tilde return",d),d})},ir=(e,t)=>e.trim().split(/\s+/).map(r=>nr(r,t)).join(" "),nr=(e,t)=>{E("caret",e,t);let r=t.loose?N[R.CARETLOOSE]:N[R.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,o,d)=>{let l;return E("caret",e,n,s,a,o,d),A(s)?l="":A(a)?l=`>=${s}.0.0${i} <${+s+1}.0.0-0`:A(o)?l=s==="0"?`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:d?(E("replaceCaret pr",d),l=s==="0"?a==="0"?`>=${s}.${a}.${o}-${d} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}-${d} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o}-${d} <${+s+1}.0.0-0`):(E("no pr"),l=s==="0"?a==="0"?`>=${s}.${a}.${o}${i} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o} <${+s+1}.0.0-0`),E("caret return",l),l})},sr=(e,t)=>(E("replaceXRanges",e,t),e.split(/\s+/).map(r=>or(r,t)).join(" ")),or=(e,t)=>{e=e.trim();let r=t.loose?N[R.XRANGELOOSE]:N[R.XRANGE];return e.replace(r,(i,n,s,a,o,d)=>{E("xRange",e,i,n,s,a,o,d);let l=A(s),c=l||A(a),u=c||A(o),f=u;return n==="="&&f&&(n=""),d=t.includePrerelease?"-0":"",l?i=n===">"||n==="<"?"<0.0.0-0":"*":n&&f?(c&&(a=0),o=0,n===">"?(n=">=",c?(s=+s+1,a=0,o=0):(a=+a+1,o=0)):n==="<="&&(n="<",c?s=+s+1:a=+a+1),n==="<"&&(d="-0"),i=`${n+s}.${a}.${o}${d}`):c?i=`>=${s}.0.0${d} <${+s+1}.0.0-0`:u&&(i=`>=${s}.${a}.0${d} <${s}.${+a+1}.0-0`),E("xRange return",i),i})},ar=(e,t)=>(E("replaceStars",e,t),e.trim().replace(N[R.STAR],"")),lr=(e,t)=>(E("replaceGTE0",e,t),e.trim().replace(N[t.includePrerelease?R.GTE0PRE:R.GTE0],"")),cr=e=>(t,r,i,n,s,a,o,d,l,c,u,f,_)=>`${r=A(i)?"":A(n)?`>=${i}.0.0${e?"-0":""}`:A(s)?`>=${i}.${n}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${d=A(l)?"":A(c)?`<${+l+1}.0.0-0`:A(u)?`<${l}.${+c+1}.0-0`:f?`<=${l}.${c}.${u}-${f}`:e?`<${l}.${c}.${+u+1}-0`:`<=${d}`}`.trim(),dr=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(E(e[i].semver),e[i].semver!==Q.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0},ur=(e,t,r)=>{try{t=new F(t,r)}catch{return!1}return t.test(e)},{MAX_LENGTH:hr}=we,{re:Ge,t:xe}=ee,pr=(e,t)=>{if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w)return e;if(typeof e!="string"||e.length>hr||!(t.loose?Ge[xe.LOOSE]:Ge[xe.FULL]).test(e))return null;try{return new w(e,t)}catch{return null}},mr=pr,{re:ie,t:ne}=ee,Er=(e,t)=>{if(e instanceof w)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;let r=null;if((t=t||{}).rtl){let i;for(;(i=ie[ne.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),ie[ne.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;ie[ne.COERCERTL].lastIndex=-1}else r=e.match(ie[ne.COERCE]);return r===null?null:mr(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};function fr(e){return String.fromCharCode(parseInt(e.slice(1),16))}function gr(e){return`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`}function _r(e){return btoa(encodeURIComponent(e).replace(/%[0-9A-F]{2}/g,fr))}function vr(e){return decodeURIComponent(Array.from(atob(e),gr).join(""))}function Xe(e){return _r(JSON.stringify(e))}function yr(e){return JSON.parse(vr(e))}function K(e){return typeof e>"u"}function Ir(e){return e===null}function Be(e){return Ir(e)||K(e)}function wr(e){return Be(e)?!1:!K(e.jsonrpc)&&!K(e.id)&&(!K(e.result)||!K(e.error))}function Rr(e){return Be(e)?!1:typeof e=="number"&&Object.values(ve).includes(e)}function de(e){if(!e)return!0;for(let t in e)if(Object.hasOwnProperty.call(e,t))return!1;return!0}var g={};function vi(e,t){return Object.assign(g,t),e}var $r={"magic-sdk":"magic-sdk","@magic-sdk/react-native":"magic-sdk-rn","@magic-sdk/react-native-bare":"magic-sdk-rn-bare","@magic-sdk/react-native-expo":"magic-sdk-rn-expo"},D=class extends Error{constructor(e,t){super(`Magic SDK Error: [${e}] ${t}`),this.code=e,this.rawMessage=t,this.__proto__=Error,Object.setPrototypeOf(this,D.prototype)}},ue=class extends Error{constructor(e){super(),this.__proto__=Error;let t=Number(e==null?void 0:e.code);this.rawMessage=(e==null?void 0:e.message)||"Internal error",this.code=Rr(t)?t:ve.InternalError,this.message=`Magic RPC Error: [${this.code}] ${this.rawMessage}`,this.data=(e==null?void 0:e.data)||void 0,Object.setPrototypeOf(this,ue.prototype)}},te=class{constructor(e,t){this.code=e,this.rawMessage=t,this.message=`Magic SDK Warning: [${e}] ${t}`}log(){console.warn(this.message)}},Ke=class extends Error{constructor(e,t,r,i){super(`Magic Extension Error (${e.name}): [${t}] ${r}`),this.code=t,this.rawMessage=r,this.data=i,this.__proto__=Error,Object.setPrototypeOf(this,Ke.prototype)}},Fe=class{constructor(e,t,r){this.code=t,this.rawMessage=r,this.message=`Magic Extension Warning (${e.name}): [${t}] ${r}`}log(){console.warn(this.message)}};function Nr(){return new D(U.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function Ar(){return new D(U.ModalNotReady,"Modal is not ready.")}function Or(){return new D(U.MalformedResponse,"Response from the Magic iframe is malformed.")}function Mr(e){return new D(U.ExtensionNotInitialized,`Extensions must be initialized with a Magic SDK instance before \`Extension.${e}\` can be accessed. Do not invoke \`Extension.${e}\` inside an extension constructor.`)}function Tr(e){let t=`Some extensions are incompatible with \`${g.sdkName}@${g.version}\`:`;return e.filter(r=>typeof r.compat<"u"&&r.compat!==null).forEach(r=>{let i=r.compat[g.sdkName];typeof i=="string"?t+=`
|
|
1
|
+
import{p as dt}from"./sentry-CBtADnon.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5cee38ea-1aae-4489-9b7d-bbc1e0d6c990",e._sentryDebugIdIdentifier="sentry-dbid-5cee38ea-1aae-4489-9b7d-bbc1e0d6c990")}catch{}})();var U=(e=>(e.MissingApiKey="MISSING_API_KEY",e.ModalNotReady="MODAL_NOT_READY",e.MalformedResponse="MALFORMED_RESPONSE",e.InvalidArgument="INVALID_ARGUMENT",e.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",e.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",e))(U||{}),j=(e=>(e.SyncWeb3Method="SYNC_WEB3_METHOD",e.DuplicateIframe="DUPLICATE_IFRAME",e.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",e.DeprecationNotice="DEPRECATION_NOTICE",e.ProductAnnouncement="ANNOUNCEMENT",e))(j||{}),ve=(e=>(e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",e[e.MagicLinkExpired=-10001]="MagicLinkExpired",e[e.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",e[e.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",e[e.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",e[e.UpdateEmailFailed=-10004]="UpdateEmailFailed",e[e.UserRequestEditEmail=-10005]="UserRequestEditEmail",e[e.InactiveRecipient=-10010]="InactiveRecipient",e[e.AccessDeniedToUser=-10011]="AccessDeniedToUser",e[e.RedirectLoginComplete=-10015]="RedirectLoginComplete",e))(ve||{}),M=(e=>(e.MetaMask="metamask",e.CoinbaseWallet="coinbase_wallet",e))(M||{}),ae=(e=>(e.WalletSelected="wallet_selected",e.WalletConnected="wallet_connected",e.WalletRejected="wallet_rejected",e))(ae||{}),h=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e))(h||{}),k=(e=>(e.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",e.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",e.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",e.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",e.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",e.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",e.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",e))(k||{}),ce=(e=>(e.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",e))(ce||{}),ut=(e=>(e.UpdateEmail="update-email",e.MFA="mfa",e.Recovery="recovery",e))(ut||{}),ht=(e=>(e.Retry="retry",e))(ht||{}),pt=(e=>(e.EmailSent="email-sent",e.EmailNotDeliverable="email-not-deliverable",e))(pt||{}),B=(e=>(e.VerifyEmailOtp="verify-email-otp",e.Cancel="cancel",e))(B||{}),mt=(e=>(e.EmailOTPSent="email-otp-sent",e.InvalidEmailOtp="invalid-email-otp",e.ExpiredEmailOtp="expired-email-otp",e))(mt||{}),ge=(e=>(e.Retry="device-retry",e))(ge||{}),Et=(e=>(e.DeviceApproved="device-approved",e.DeviceNeedsApproval="device-needs-approval",e.DeviceVerificationLinkExpired="device-verification-link-expired",e.DeviceVerificationEmailSent="device-verification-email-sent",e))(Et||{}),C=(e=>(e.Retry="Recency/auth-factor-retry",e.Cancel="Recency/auth-factor-verification-cancel",e.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",e))(C||{}),ft=(e=>(e.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",e.PrimaryAuthFactorVerified="Recency/auth-factor-verified",e.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",e.EmailExpired="Recency/auth-factor-verification-email-expired",e.EmailSent="Recency/auth-factor-verification-email-sent",e.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",e))(ft||{}),P=(e=>(e.RetryWithNewEmail="UpdateEmail/retry-with-new-email",e.Cancel="UpdateEmail/new-email-verification-cancel",e.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",e))(P||{}),gt=(e=>(e.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",e.EmailUpdated="UpdateEmail/email-updated",e.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",e.EmailExpired="UpdateEmail/new-email-verification-email-expired",e.EmailSent="UpdateEmail/new-email-verification-email-sent",e.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",e.InvalidEmail="UpdateEmail/new-email-invalid",e.EmailAlreadyExists="UpdateEmail/new-email-already-exists",e))(gt||{}),_t=(e=>(e.Harmony="HARMONY",e))(_t||{}),vt=(e=>(e.PhoneNumber="phone_number",e))(vt||{}),Ee={},yt=Object.create,pe=Object.defineProperty,It=Object.defineProperties,wt=Object.getOwnPropertyDescriptor,Rt=Object.getOwnPropertyDescriptors,$t=Object.getOwnPropertyNames,Te=Object.getOwnPropertySymbols,Nt=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Le=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ye=(e,t)=>{for(var r in t||(t={}))He.call(t,r)&&Le(e,r,t[r]);if(Te)for(var r of Te(t))At.call(t,r)&&Le(e,r,t[r]);return e},Ie=(e,t)=>It(e,Rt(t)),Ot=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Tt=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $t(t))!He.call(e,n)&&n!==r&&pe(e,n,{get:()=>t[n],enumerable:!(i=wt(t,n))||i.enumerable});return e},Lt=(e,t,r)=>(r=e!=null?yt(Nt(e)):{},Tt(!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),v=(e,t,r)=>new Promise((i,n)=>{var s=d=>{try{o(r.next(d))}catch(l){n(l)}},a=d=>{try{o(r.throw(d))}catch(l){n(l)}},o=d=>d.done?i(d.value):Promise.resolve(d.value).then(s,a);o((r=r.apply(e,t)).next())}),St=Ot((e,t)=>{var r=Object.prototype.hasOwnProperty,i="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(i=!1));function s(l,c,u){this.fn=l,this.context=c,this.once=u||!1}function a(l,c,u,f,_){if(typeof u!="function")throw new TypeError("The listener must be a function");var y=new s(u,f||l,_),$=i?i+c:c;return l._events[$]?l._events[$].fn?l._events[$]=[l._events[$],y]:l._events[$].push(y):(l._events[$]=y,l._eventsCount++),l}function o(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function d(){this._events=new n,this._eventsCount=0}d.prototype.eventNames=function(){var l=[],c,u;if(this._eventsCount===0)return l;for(u in c=this._events)r.call(c,u)&&l.push(i?u.slice(1):u);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(c)):l},d.prototype.listeners=function(l){var c=i?i+l:l,u=this._events[c];if(!u)return[];if(u.fn)return[u.fn];for(var f=0,_=u.length,y=new Array(_);f<_;f++)y[f]=u[f].fn;return y},d.prototype.listenerCount=function(l){var c=i?i+l:l,u=this._events[c];return u?u.fn?1:u.length:0},d.prototype.emit=function(l,c,u,f,_,y){var $=i?i+l:l;if(!this._events[$])return!1;var p=this._events[$],L=arguments.length,b,I;if(p.fn){switch(p.once&&this.removeListener(l,p.fn,void 0,!0),L){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,c),!0;case 3:return p.fn.call(p.context,c,u),!0;case 4:return p.fn.call(p.context,c,u,f),!0;case 5:return p.fn.call(p.context,c,u,f,_),!0;case 6:return p.fn.call(p.context,c,u,f,_,y),!0}for(I=1,b=new Array(L-1);I<L;I++)b[I-1]=arguments[I];p.fn.apply(p.context,b)}else{var ct=p.length,V;for(I=0;I<ct;I++)switch(p[I].once&&this.removeListener(l,p[I].fn,void 0,!0),L){case 1:p[I].fn.call(p[I].context);break;case 2:p[I].fn.call(p[I].context,c);break;case 3:p[I].fn.call(p[I].context,c,u);break;case 4:p[I].fn.call(p[I].context,c,u,f);break;default:if(!b)for(V=1,b=new Array(L-1);V<L;V++)b[V-1]=arguments[V];p[I].fn.apply(p[I].context,b)}}return!0},d.prototype.on=function(l,c,u){return a(this,l,c,u,!1)},d.prototype.once=function(l,c,u){return a(this,l,c,u,!0)},d.prototype.removeListener=function(l,c,u,f){var _=i?i+l:l;if(!this._events[_])return this;if(!c)return o(this,_),this;var y=this._events[_];if(y.fn)y.fn===c&&(!f||y.once)&&(!u||y.context===u)&&o(this,_);else{for(var $=0,p=[],L=y.length;$<L;$++)(y[$].fn!==c||f&&!y[$].once||u&&y[$].context!==u)&&p.push(y[$]);p.length?this._events[_]=p.length===1?p[0]:p:o(this,_)}return this},d.prototype.removeAllListeners=function(l){var c;return l?(c=i?i+l:l,this._events[c]&&o(this,c)):(this._events=new n,this._eventsCount=0),this},d.prototype.off=d.prototype.removeListener,d.prototype.addListener=d.prototype.on,d.prefixed=i,d.EventEmitter=d,typeof t<"u"&&(t.exports=d)});function bt(e){let t={exports:{}};return e(t,t.exports),t.exports}var Ct=Number.MAX_SAFE_INTEGER||9007199254740991,we={MAX_LENGTH:256,MAX_SAFE_INTEGER:Ct,MAX_SAFE_COMPONENT_LENGTH:16},Pt=typeof dt=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},E=Pt,ee=bt(function(e,t){let{MAX_SAFE_COMPONENT_LENGTH:r}=we,i=(t=e.exports={}).re=[],n=t.src=[],s=t.t={},a=0,o=(d,l,c)=>{let u=a++;E(u,l),s[d]=u,n[u]=l,i[u]=new RegExp(l,c?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION",`(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${n[s.NUMERICIDENTIFIER]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${n[s.NUMERICIDENTIFIERLOOSE]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASE",`(?:-(${n[s.PRERELEASEIDENTIFIER]}(?:\\.${n[s.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${n[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[s.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD",`(?:\\+(${n[s.BUILDIDENTIFIER]}(?:\\.${n[s.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${n[s.MAINVERSION]}${n[s.PRERELEASE]}?${n[s.BUILD]}?`),o("FULL",`^${n[s.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${n[s.MAINVERSIONLOOSE]}${n[s.PRERELEASELOOSE]}?${n[s.BUILD]}?`),o("LOOSE",`^${n[s.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${n[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${n[s.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:${n[s.PRERELEASE]})?${n[s.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:${n[s.PRERELEASELOOSE]})?${n[s.BUILD]}?)?)?`),o("XRANGE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAINLOOSE]}$`),o("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),o("COERCERTL",n[s.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${n[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",o("TILDE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${n[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",o("CARET",`^${n[s.LONECARET]}${n[s.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${n[s.LONECARET]}${n[s.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${n[s.GTLT]}\\s*(${n[s.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]}|${n[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${n[s.XRANGEPLAIN]})\\s+-\\s+(${n[s.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${n[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[s.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Se=/^[0-9]+$/,kt=(e,t)=>{let r=Se.test(e),i=Se.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},Ut={compareIdentifiers:kt},{MAX_LENGTH:be,MAX_SAFE_INTEGER:re}=we,{re:Ce,t:Pe}=ee,{compareIdentifiers:H}=Ut,w=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>be)throw new TypeError(`version is longer than ${be} characters`);E("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?Ce[Pe.LOOSE]:Ce[Pe.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>re||this.major<0)throw new TypeError("Invalid major version");if(this.minor>re||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>re||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<re)return n}return i}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(E("SemVer.compare",this.version,this.options,e),!(e instanceof w)){if(typeof e=="string"&&e===this.version)return 0;e=new w(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof w||(e=new w(e,this.options)),H(this.major,e.major)||H(this.minor,e.minor)||H(this.patch,e.patch)}comparePre(e){if(e instanceof w||(e=new w(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],i=e.prerelease[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}compareBuild(e){e instanceof w||(e=new w(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}},Dt=(e,t,r)=>new w(e,r).compare(new w(t,r)),q=Dt,Gt=(e,t,r)=>q(e,t,r)===0,xt=Gt,Ft=(e,t,r)=>q(e,t,r)!==0,Wt=Ft,jt=(e,t,r)=>q(e,t,r)>0,qt=jt,Vt=(e,t,r)=>q(e,t,r)>=0,Ht=Vt,Xt=(e,t,r)=>q(e,t,r)<0,Bt=Xt,Kt=(e,t,r)=>q(e,t,r)<=0,Yt=Kt,zt=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return xt(e,r,i);case"!=":return Wt(e,r,i);case">":return qt(e,r,i);case">=":return Ht(e,r,i);case"<":return Bt(e,r,i);case"<=":return Yt(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}},fe=zt,X=Symbol("SemVer ANY"),Q=class{static get ANY(){return X}constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof Q){if(e.loose===!!t.loose)return e;e=e.value}E("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===X?this.value="":this.value=this.operator+this.semver.version,E("comp",this)}parse(e){let t=this.options.loose?ke[Ue.COMPARATORLOOSE]:ke[Ue.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new w(r[2],this.options.loose):this.semver=X}toString(){return this.value}test(e){if(E("Comparator.test",e,this.options.loose),this.semver===X||e===X)return!0;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}return fe(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Q))throw new TypeError("a Comparator is required");if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""||new F(e.value,t).test(this.value);if(e.operator==="")return e.value===""||new F(this.value,t).test(e.semver);let r=!(this.operator!==">="&&this.operator!==">"||e.operator!==">="&&e.operator!==">"),i=!(this.operator!=="<="&&this.operator!=="<"||e.operator!=="<="&&e.operator!=="<"),n=this.semver.version===e.semver.version,s=!(this.operator!==">="&&this.operator!=="<="||e.operator!==">="&&e.operator!=="<="),a=fe(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),o=fe(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return r||i||n&&s||a||o}},{re:ke,t:Ue}=ee,F=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof F)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new F(e.raw,t);if(e instanceof Q)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let{loose:t}=this.options;e=e.trim();let r=t?N[R.HYPHENRANGELOOSE]:N[R.HYPHENRANGE];e=e.replace(r,cr(this.options.includePrerelease)),E("hyphen replace",e),e=e.replace(N[R.COMPARATORTRIM],Jt),E("comparator trim",e,N[R.COMPARATORTRIM]),e=(e=(e=e.replace(N[R.TILDETRIM],Qt)).replace(N[R.CARETTRIM],Zt)).split(/\s+/).join(" ");let i=t?N[R.COMPARATORLOOSE]:N[R.COMPARATOR];return e.split(" ").map(n=>er(n,this.options)).join(" ").split(/\s+/).map(n=>lr(n,this.options)).filter(this.options.loose?n=>!!n.match(i):()=>!0).map(n=>new Q(n,this.options))}intersects(e,t){if(!(e instanceof F))throw new TypeError("a Range is required");return this.set.some(r=>De(r,t)&&e.set.some(i=>De(i,t)&&r.every(n=>i.every(s=>n.intersects(s,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(dr(this.set[t],e,this.options))return!0;return!1}},{re:N,t:R,comparatorTrimReplace:Jt,tildeTrimReplace:Qt,caretTrimReplace:Zt}=ee,De=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},er=(e,t)=>(E("comp",e,t),e=ir(e,t),E("caret",e),e=tr(e,t),E("tildes",e),e=sr(e,t),E("xrange",e),e=ar(e,t),E("stars",e),e),A=e=>!e||e.toLowerCase()==="x"||e==="*",tr=(e,t)=>e.trim().split(/\s+/).map(r=>rr(r,t)).join(" "),rr=(e,t)=>{let r=t.loose?N[R.TILDELOOSE]:N[R.TILDE];return e.replace(r,(i,n,s,a,o)=>{let d;return E("tilde",e,i,n,s,a,o),A(n)?d="":A(s)?d=`>=${n}.0.0 <${+n+1}.0.0-0`:A(a)?d=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:o?(E("replaceTilde pr",o),d=`>=${n}.${s}.${a}-${o} <${n}.${+s+1}.0-0`):d=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,E("tilde return",d),d})},ir=(e,t)=>e.trim().split(/\s+/).map(r=>nr(r,t)).join(" "),nr=(e,t)=>{E("caret",e,t);let r=t.loose?N[R.CARETLOOSE]:N[R.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,o,d)=>{let l;return E("caret",e,n,s,a,o,d),A(s)?l="":A(a)?l=`>=${s}.0.0${i} <${+s+1}.0.0-0`:A(o)?l=s==="0"?`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:d?(E("replaceCaret pr",d),l=s==="0"?a==="0"?`>=${s}.${a}.${o}-${d} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}-${d} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o}-${d} <${+s+1}.0.0-0`):(E("no pr"),l=s==="0"?a==="0"?`>=${s}.${a}.${o}${i} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o} <${+s+1}.0.0-0`),E("caret return",l),l})},sr=(e,t)=>(E("replaceXRanges",e,t),e.split(/\s+/).map(r=>or(r,t)).join(" ")),or=(e,t)=>{e=e.trim();let r=t.loose?N[R.XRANGELOOSE]:N[R.XRANGE];return e.replace(r,(i,n,s,a,o,d)=>{E("xRange",e,i,n,s,a,o,d);let l=A(s),c=l||A(a),u=c||A(o),f=u;return n==="="&&f&&(n=""),d=t.includePrerelease?"-0":"",l?i=n===">"||n==="<"?"<0.0.0-0":"*":n&&f?(c&&(a=0),o=0,n===">"?(n=">=",c?(s=+s+1,a=0,o=0):(a=+a+1,o=0)):n==="<="&&(n="<",c?s=+s+1:a=+a+1),n==="<"&&(d="-0"),i=`${n+s}.${a}.${o}${d}`):c?i=`>=${s}.0.0${d} <${+s+1}.0.0-0`:u&&(i=`>=${s}.${a}.0${d} <${s}.${+a+1}.0-0`),E("xRange return",i),i})},ar=(e,t)=>(E("replaceStars",e,t),e.trim().replace(N[R.STAR],"")),lr=(e,t)=>(E("replaceGTE0",e,t),e.trim().replace(N[t.includePrerelease?R.GTE0PRE:R.GTE0],"")),cr=e=>(t,r,i,n,s,a,o,d,l,c,u,f,_)=>`${r=A(i)?"":A(n)?`>=${i}.0.0${e?"-0":""}`:A(s)?`>=${i}.${n}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${d=A(l)?"":A(c)?`<${+l+1}.0.0-0`:A(u)?`<${l}.${+c+1}.0-0`:f?`<=${l}.${c}.${u}-${f}`:e?`<${l}.${c}.${+u+1}-0`:`<=${d}`}`.trim(),dr=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(E(e[i].semver),e[i].semver!==Q.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0},ur=(e,t,r)=>{try{t=new F(t,r)}catch{return!1}return t.test(e)},{MAX_LENGTH:hr}=we,{re:Ge,t:xe}=ee,pr=(e,t)=>{if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w)return e;if(typeof e!="string"||e.length>hr||!(t.loose?Ge[xe.LOOSE]:Ge[xe.FULL]).test(e))return null;try{return new w(e,t)}catch{return null}},mr=pr,{re:ie,t:ne}=ee,Er=(e,t)=>{if(e instanceof w)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;let r=null;if((t=t||{}).rtl){let i;for(;(i=ie[ne.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),ie[ne.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;ie[ne.COERCERTL].lastIndex=-1}else r=e.match(ie[ne.COERCE]);return r===null?null:mr(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};function fr(e){return String.fromCharCode(parseInt(e.slice(1),16))}function gr(e){return`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`}function _r(e){return btoa(encodeURIComponent(e).replace(/%[0-9A-F]{2}/g,fr))}function vr(e){return decodeURIComponent(Array.from(atob(e),gr).join(""))}function Xe(e){return _r(JSON.stringify(e))}function yr(e){return JSON.parse(vr(e))}function K(e){return typeof e>"u"}function Ir(e){return e===null}function Be(e){return Ir(e)||K(e)}function wr(e){return Be(e)?!1:!K(e.jsonrpc)&&!K(e.id)&&(!K(e.result)||!K(e.error))}function Rr(e){return Be(e)?!1:typeof e=="number"&&Object.values(ve).includes(e)}function de(e){if(!e)return!0;for(let t in e)if(Object.hasOwnProperty.call(e,t))return!1;return!0}var g={};function vi(e,t){return Object.assign(g,t),e}var $r={"magic-sdk":"magic-sdk","@magic-sdk/react-native":"magic-sdk-rn","@magic-sdk/react-native-bare":"magic-sdk-rn-bare","@magic-sdk/react-native-expo":"magic-sdk-rn-expo"},D=class extends Error{constructor(e,t){super(`Magic SDK Error: [${e}] ${t}`),this.code=e,this.rawMessage=t,this.__proto__=Error,Object.setPrototypeOf(this,D.prototype)}},ue=class extends Error{constructor(e){super(),this.__proto__=Error;let t=Number(e==null?void 0:e.code);this.rawMessage=(e==null?void 0:e.message)||"Internal error",this.code=Rr(t)?t:ve.InternalError,this.message=`Magic RPC Error: [${this.code}] ${this.rawMessage}`,this.data=(e==null?void 0:e.data)||void 0,Object.setPrototypeOf(this,ue.prototype)}},te=class{constructor(e,t){this.code=e,this.rawMessage=t,this.message=`Magic SDK Warning: [${e}] ${t}`}log(){console.warn(this.message)}},Ke=class extends Error{constructor(e,t,r,i){super(`Magic Extension Error (${e.name}): [${t}] ${r}`),this.code=t,this.rawMessage=r,this.data=i,this.__proto__=Error,Object.setPrototypeOf(this,Ke.prototype)}},Fe=class{constructor(e,t,r){this.code=t,this.rawMessage=r,this.message=`Magic Extension Warning (${e.name}): [${t}] ${r}`}log(){console.warn(this.message)}};function Nr(){return new D(U.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function Ar(){return new D(U.ModalNotReady,"Modal is not ready.")}function Or(){return new D(U.MalformedResponse,"Response from the Magic iframe is malformed.")}function Mr(e){return new D(U.ExtensionNotInitialized,`Extensions must be initialized with a Magic SDK instance before \`Extension.${e}\` can be accessed. Do not invoke \`Extension.${e}\` inside an extension constructor.`)}function Tr(e){let t=`Some extensions are incompatible with \`${g.sdkName}@${g.version}\`:`;return e.filter(r=>typeof r.compat<"u"&&r.compat!==null).forEach(r=>{let i=r.compat[g.sdkName];typeof i=="string"?t+=`
|
|
2
2
|
- Extension \`${r.name}\` supports version(s) \`${i}\``:i||(t+=`
|
|
3
3
|
- Extension \`${r.name}\` does not support ${g.platform} environments.`)}),new D(U.IncompatibleExtensions,t)}function Lr(e){let t=r=>{let i=r+1,n=i%10,s=i%100;return n===1&&s!==11?`${i}st`:n===2&&s!==12?`${i}nd`:n===3&&s!==13?`${i}rd`:`${i}th`};return new D(U.InvalidArgument,`Invalid ${t(e.argument)} argument given to \`${e.procedure}\`.
|
|
4
4
|
Expected: \`${e.expected}\`
|
|
5
5
|
Received: \`${e.received}\``)}function yi(){return new te(j.DuplicateIframe,"Duplicate iframes found.")}function Sr(){return new te(j.SyncWeb3Method,"Non-async web3 methods are deprecated in web3 > 1.0 and are not supported by the Magic web3 provider. Please use an async method instead.")}function br(){return new te(j.ReactNativeEndpointConfiguration,`CUSTOM DOMAINS ARE NOT SUPPORTED WHEN USING MAGIC SDK WITH REACT NATIVE! The \`endpoint\` parameter SHOULD NOT be provided. The Magic \`<iframe>\` is automatically wrapped by a WebView pointed at \`${g.defaultEndpoint}\`. Changing this default behavior will lead to unexpected results and potentially security-threatening bugs.`)}function Y(e){let{method:t,removalVersions:r,useInstead:i}=e,n=r[g.sdkName],s=i?` Use \`${i}\` instead.`:"",a=`\`${t}\` will be removed from \`${g.sdkName}\` in version \`${n}\`.${s}`;return new te(j.DeprecationNotice,a)}function*Cr(){let e=0;for(;;)e<Number.MAX_SAFE_INTEGER?yield++e:e=0}var Pr=Cr();function Ye(){return Pr.next().value}var ze=Symbol("Payload pre-processed by Magic SDK");function Je(e){return Object.defineProperty(e,ze,{value:!0,enumerable:!1}),e}function kr(e){return!!e[ze]}function he(e){var t,r,i;return kr(e)||(e.jsonrpc=(t=e.jsonrpc)!=null?t:"2.0",e.id=Ye(),e.method=(r=e.method)!=null?r:"noop",e.params=(i=e.params)!=null?i:[],Je(e)),e}function m(e,t=[]){return Je({params:t,method:e,jsonrpc:"2.0",id:Ye()})}var Re=class{constructor(e){e instanceof Re?(this._jsonrpc=e.payload.jsonrpc,this._id=e.payload.id,this._result=e.payload.result,this._error=e.payload.error):wr(e)?(this._jsonrpc=e.jsonrpc,this._id=e.id,this._result=e.result,this._error=e.error):(this._jsonrpc=e.jsonrpc,this._id=e.id,this._result=void 0,this._error=void 0)}applyError(e){return this._error=e,this}applyResult(e){return this._result=e,this}get hasError(){return typeof this._error<"u"&&this._error!==null}get hasResult(){return typeof this._result<"u"}get payload(){return{jsonrpc:this._jsonrpc,id:this._id,result:this._result,error:this._error}}},Ur=Lt(St()),Dr=class extends Ur.default{};function Qe(){let e=new Dr;return{emitter:e,createChainingEmitterMethod:(t,r)=>(...i)=>(e[t].apply(e,i),r),createBoundEmitterMethod:t=>(...r)=>e[t].apply(e,r)}}var Ze=Symbol("isPromiEvent");function Gr(e){return!!e[Ze]}function Z(e){let t=et(e),{createBoundEmitterMethod:r,createChainingEmitterMethod:i}=Qe(),n=Symbol("Promise.then"),s=Symbol("Promise.catch"),a=Symbol("Promise.finally"),o=(c,u)=>(...f)=>{let _=u[c].apply(u,f);return d(_)},d=c=>Object.assign(c,{[Ze]:!0,[n]:c[n]||c.then,[s]:c[s]||c.catch,[a]:c[a]||c.finally,then:o(n,c),catch:o(s,c),finally:o(a,c),on:i("on",c),once:i("once",c),addListener:i("addListener",c),off:i("off",c),removeListener:i("removeListener",c),removeAllListeners:i("removeAllListeners",c),emit:r("emit"),eventNames:r("eventNames"),listeners:r("listeners"),listenerCount:r("listenerCount")}),l=d(t.then(c=>(l.emit("done",c),l.emit("settled"),c),c=>{throw l.emit("error",c),l.emit("settled"),c}));return l}function et(e){return new Promise((t,r)=>{let i=e(t,r);Promise.resolve(i).catch(r)})}var G=class{constructor(e){this.sdk=e}get overlay(){return this.sdk.overlay}request(e){let t=this.overlay.post(ce.MAGIC_HANDLE_REQUEST,he(e)),r=Z((n,s)=>{t.then(a=>{if(i(),a.hasError)s(new ue(a.payload.error));else if(a.hasResult)n(a.payload.result);else throw Or()}).catch(a=>{i(),s(a)})}),i=this.overlay.on(k.MAGIC_HANDLE_EVENT,n=>{var s;let{response:a}=n.data;if(a.id===e.id&&((s=a.result)!=null&&s.event)){let{event:o,params:d=[]}=a.result;r.emit(o,...d)}});return r}createIntermediaryEvent(e,t){return r=>{let i=m(h.IntermediaryEvent,[{payloadId:t,eventType:e,args:r}]);this.request(i)}}};function xr(e,t){let[r]=e.split(".").map(Number);return r>=t}var z={"magic-sdk":"v18.0.0","@magic-sdk/react-native":"v14.0.0","@magic-sdk/react-native-bare":"v19.0.0","@magic-sdk/react-native-expo":"v19.0.0"},Fr=class extends G{loginWithMagicLink(e){let t=g.sdkName==="@magic-sdk/react-native"||g.sdkName==="@magic-sdk/react-native-bare"||g.sdkName==="@magic-sdk/react-native-expo";if(t&&xr(g.version,19))throw new Error("loginWithMagicLink() is deprecated for this package, please utlize a passcode method like loginWithSMS or loginWithEmailOTP instead.");t&&Y({method:"auth.loginWithMagicLink()",removalVersions:z,useInstead:"auth.loginWithEmailOTP()"}).log();let{email:r,showUI:i=!0,redirectURI:n,overrides:s}=e,a=m(this.sdk.testMode?h.LoginWithMagicLinkTestMode:h.LoginWithMagicLink,[{email:r,showUI:i,redirectURI:n,overrides:s}]);return this.request(a)}loginWithSMS(e){let{phoneNumber:t}=e,r=m(this.sdk.testMode?h.LoginWithSmsTestMode:h.LoginWithSms,[{phoneNumber:t,showUI:!0}]);return this.request(r)}loginWithEmailOTP(e){let{email:t,showUI:r,deviceCheckUI:i,overrides:n}=e,s=m(this.sdk.testMode?h.LoginWithEmailOTPTestMode:h.LoginWithEmailOTP,[{email:t,showUI:r,deviceCheckUI:i,overrides:n}]),a=this.request(s);return!i&&a&&a.on(ge.Retry,()=>{this.createIntermediaryEvent(ge.Retry,s.id)()}),!r&&a&&(a.on(B.VerifyEmailOtp,o=>{this.createIntermediaryEvent(B.VerifyEmailOtp,s.id)(o)}),a.on(B.Cancel,()=>{this.createIntermediaryEvent(B.Cancel,s.id)()})),a}loginWithCredential(e){let t=e??"";if(!e&&g.platform==="web"){t=window.location.search;let i=window.location.origin+window.location.pathname;window.history.replaceState(null,"",i)}let r=m(this.sdk.testMode?h.LoginWithCredentialTestMode:h.LoginWithCredential,[t]);return this.request(r)}setAuthorizationToken(e){let t=m(h.SetAuthorizationToken,[{jwt:e}]);return this.request(t)}updateEmailWithUI(e){let{email:t,showUI:r=!0}=e,i=m(this.sdk.testMode?h.UpdateEmailTestMode:h.UpdateEmail,[{email:t,showUI:r}]),n=this.request(i);return r||(n.on(C.Retry,()=>{this.createIntermediaryEvent(C.Retry,i.id)()}),n.on(C.Cancel,()=>{this.createIntermediaryEvent(C.Cancel,i.id)()}),n.on(C.VerifyEmailOtp,s=>{this.createIntermediaryEvent(C.VerifyEmailOtp,i.id)(s)}),n.on(P.RetryWithNewEmail,s=>{this.createIntermediaryEvent(P.RetryWithNewEmail,i.id)(s)}),n.on(P.Cancel,()=>{this.createIntermediaryEvent(P.Cancel,i.id)()}),n.on(P.VerifyEmailOtp,s=>{this.createIntermediaryEvent(P.VerifyEmailOtp,i.id)(s)})),n}},tt={};Mt(tt,{clear:()=>Wr,getItem:()=>O,iterate:()=>rt,key:()=>qr,keys:()=>Vr,length:()=>jr,removeItem:()=>W,setItem:()=>T});var se;function S(e){return(...t)=>v(this,null,function*(){return se||(se=yield g.configureStorage()),yield se.ready(),se[e](...t)})}var O=S("getItem"),T=S("setItem"),W=S("removeItem"),Wr=S("clear"),jr=S("length"),qr=S("key"),Vr=S("keys"),rt=S("iterate");function Hr(){let e=window.crypto.getRandomValues(new Uint8Array(16));e[6]=e[6]&15|64,e[8]=e[8]&191|128;let t="";return t+=e[0].toString(16),t+=e[1].toString(16),t+=e[2].toString(16),t+=e[3].toString(16),t+="-",t+=e[4].toString(16),t+=e[5].toString(16),t+="-",t+=e[6].toString(16),t+=e[7].toString(16),t+="-",t+=e[8].toString(16),t+=e[9].toString(16),t+="-",t+=e[10].toString(16),t+=e[11].toString(16),t+=e[12].toString(16),t+=e[13].toString(16),t+=e[14].toString(16),t+=e[15].toString(16),t}var it="STORE_KEY_PRIVATE_KEY",_e="STORE_KEY_PUBLIC_JWK",nt="ECDSA",Xr="P-256",Br={name:nt,namedCurve:Xr};function me(){let e=typeof window<"u"&&!!window.crypto,t=e&&!!window.crypto.subtle;return e&&t}function Kr(){return v(this,null,function*(){let e=yield Yr();if(!e){console.info("unable to create public key or webcrypto is unsupported");return}let{subtle:t}=window.crypto,r=yield O(it);if(!r||!t){console.info("unable to find private key or webcrypto unsupported");return}let i={iat:Math.floor(new Date().getTime()/1e3),jti:Hr()},n={typ:"dpop+jwt",alg:"ES256",jwk:e},s={protected:We(JSON.stringify(n)),claims:We(JSON.stringify(i))},a=Jr(`${s.protected}.${s.claims}`),o={name:nt,hash:{name:"SHA-256"}},d=Zr(new Uint8Array(yield t.sign(o,r,a)));return`${s.protected}.${s.claims}.${d}`})}function Yr(){return v(this,null,function*(){if(!me()){console.info("webcrypto is not supported");return}return(yield O(_e))||(yield zr()),O(_e)})}function zr(){return v(this,null,function*(){let{subtle:e}=window.crypto,t=yield e.generateKey(Br,!1,["sign"]),r=yield e.exportKey("jwk",t.publicKey);yield T(it,t.privateKey),yield T(_e,r)})}function We(e){return st(Qr(e))}function Jr(e){return new TextEncoder().encode(e)}function st(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+/g,"")}function Qr(e){return encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(t,r)=>String.fromCharCode(parseInt(r,16)))}function Zr(e){let t="";return e.forEach(r=>{t+=String.fromCharCode(r)}),st(t)}var $e="ds",Ne="ek",Ae="iv",Oe="AES-GCM",ei=256;function Me(){return v(this,null,function*(){let e=[];yield rt((t,r,i)=>{r.startsWith(`${$e}_`)&&e.push(r)});for(let t of e)yield W(t)})}function ot(e){let t="",r=new Uint8Array(e),i=r.byteLength;for(let n=0;n<i;n++)t+=String.fromCharCode(r[n]);return window.btoa(t)}function at(e){let t=window.atob(e),r=t.length,i=new Uint8Array(r);for(let n=0;n<r;n++)i[n]=t.charCodeAt(n);return i.buffer}function ti(){return v(this,null,function*(){if(!me()){console.info("webcrypto is not supported");return}let{crypto:e}=window;return(yield O(Ae))||e.getRandomValues(new Uint8Array(12))})}function ri(){return v(this,null,function*(){if(!me()){console.info("webcrypto is not supported");return}let{subtle:e}=window.crypto;return(yield O(Ne))||(yield e.generateKey({name:Oe,length:ei},!1,["encrypt","decrypt"]))})}function ii(e,t){return v(this,null,function*(){let r=yield ti(),i=yield ri();if(!r||!i||!e)return;let n=at(e),{subtle:s}=window.crypto,a=yield s.encrypt({name:Oe,iv:r},i,n),o=ot(a);yield T(`${$e}_${t}`,o),yield T(Ne,i),yield T(Ae,r)})}function ni(e){return v(this,null,function*(){let t=yield O(`${$e}_${e}`),r=yield O(Ae),i=yield O(Ne);if(!r||!t||!i||!me())return;let{subtle:n}=window.crypto,s=yield n.decrypt({name:Oe,iv:r},i,at(t));return ot(s)})}function je(e,t){return t?new URL(e,t):new URL(e)}var si=class extends G{constructor(){super(...arguments),this.localForageKey="mc_active_wallet",this.localForageIsLoggedInKey="magic_auth_is_logged_in",this.userLoggedOutCallbacks=[]}getIdToken(e){let t=m(this.sdk.testMode?h.GetIdTokenTestMode:h.GetIdToken,[e]);return this.request(t)}generateIdToken(e){let t=m(this.sdk.testMode?h.GenerateIdTokenTestMode:h.GenerateIdToken,[e]);return this.request(t)}getInfo(){return v(this,null,function*(){let e=yield O(this.localForageKey),t=m(h.GetInfo,[{walletType:e}]);return this.request(t)})}isLoggedIn(){return Z((e,t)=>v(this,null,function*(){try{let r=!1;this.sdk.useStorageCache&&(r=(yield O(this.localForageIsLoggedInKey))==="true",r&&e(!0));let i=m(this.sdk.testMode?h.IsLoggedInTestMode:h.IsLoggedIn),n=yield this.request(i);this.sdk.useStorageCache&&(n?T(this.localForageIsLoggedInKey,!0):W(this.localForageIsLoggedInKey),r&&!n&&this.emitUserLoggedOut(!0)),e(n)}catch(r){t(r)}}))}logout(){return W(this.localForageKey),W(this.localForageIsLoggedInKey),Me(),Z((e,t)=>v(this,null,function*(){try{let r=m(this.sdk.testMode?h.LogoutTestMode:h.Logout),i=yield this.request(r);this.sdk.useStorageCache&&this.emitUserLoggedOut(i),e(i)}catch(r){t(r)}}))}requestInfoWithUI(e){let t=m(h.RequestUserInfoWithUI,e?[e]:[]);return this.request(t)}showSettings(e){let t=m(this.sdk.testMode?h.UserSettingsTestMode:h.UserSettings,[e]);return this.request(t)}recoverAccount(e){let t=m(this.sdk.testMode?h.RecoverAccountTestMode:h.RecoverAccount,[e]);return this.request(t)}getMetadata(){Y({method:"user.getMetadata()",removalVersions:z,useInstead:"user.getInfo()"}).log();let e=m(this.sdk.testMode?h.GetMetadataTestMode:h.GetMetadata);return this.request(e)}onUserLoggedOut(e){this.userLoggedOutCallbacks.push(e)}emitUserLoggedOut(e){this.userLoggedOutCallbacks.forEach(t=>{t(e)})}},oi=class extends G{constructor(){super(...arguments),this.localForageKey="mc_active_wallet"}connectWithUI(){let e=Z((t,r)=>v(this,null,function*(){try{if(this.isMetaMaskBrowser()&&(yield this.isWalletEnabled(M.MetaMask))){let o=yield this.autoConnectIfWalletBrowser(M.MetaMask);t(o);return}if(this.isCoinbaseWalletBrowser()&&(yield this.isWalletEnabled(M.CoinbaseWallet))){let o=yield this.autoConnectIfWalletBrowser(M.CoinbaseWallet);t(o);return}let i=this.getUserEnv(),n=m(h.Login,[i]),s=this.request(n);s.on(ae.WalletSelected,o=>this.handleWalletSelected(Ie(ye({},o),{payloadId:n.id}))),s.on("id-token-created",o=>{e.emit("id-token-created",o)});let a=yield s;a.error&&r(a),t(a)}catch(i){r(i)}}));return e}showUI(){return this.request(m(h.ShowUI))}showAddress(){return this.request(m(h.ShowAddress))}showSendTokensUI(){return this.request(m(h.ShowSendTokensUI))}showOnRamp(){return this.request(m(h.ShowOnRamp))}showNFTs(){return this.request(m(h.ShowNFTs))}showBalances(){return this.request(m(h.ShowBalances))}sendGaslessTransaction(e,t){return this.request(m(h.SendGaslessTransaction,[e,t]))}getInfo(){return v(this,null,function*(){Y({method:"wallet.getInfo()",removalVersions:z,useInstead:"user.getInfo()"}).log();let e=yield O(this.localForageKey),t=m(h.GetInfo,[{walletType:e}]);return this.request(t)})}disconnect(){Y({method:"wallet.disconnect()",removalVersions:z,useInstead:"user.logout()"}).log(),W(this.localForageKey),Me();let e=m(h.Disconnect);return this.request(e)}requestUserInfoWithUI(e){Y({method:"wallet.requestUserInfoWithUI()",removalVersions:z,useInstead:"user.requestUserInfoWithUI()"}).log();let t=m(h.RequestUserInfoWithUI,e?[e]:[]);return this.request(t)}getProvider(){return v(this,null,function*(){switch(yield O(this.localForageKey)){case M.MetaMask:return this.getMetaMaskProvider();case M.CoinbaseWallet:return this.getCoinbaseProvider();default:return this.sdk.rpcProvider}})}isMetaMaskInstalled(){var e,t,r;return((e=window.ethereum)==null?void 0:e.isMetaMask)||!!((r=(t=window.ethereum)==null?void 0:t.providers)!=null&&r.find(i=>i==null?void 0:i.isMetaMask))}isMetaMaskBrowser(){return this.isMobile()&&this.isMetaMaskInstalled()}getMetaMaskProvider(){var e,t;return((t=(e=window.ethereum)==null?void 0:e.providers)==null?void 0:t.find(r=>r==null?void 0:r.isMetaMask))||window.ethereum}connectToMetaMask(){if(this.isMobile()&&!this.isMetaMaskInstalled()){let e=`https://metamask.app.link/dapp/${window.location.href.replace(/(^\w+:|^)\/\//,"")}`;window.location.href=e}return this.getMetaMaskProvider().request({method:"eth_requestAccounts"})}isCoinbaseWalletInstalled(){var e,t,r;return((e=window.ethereum)==null?void 0:e.isCoinbaseWallet)||!!((r=(t=window.ethereum)==null?void 0:t.providers)!=null&&r.find(i=>i==null?void 0:i.isCoinbaseWallet))}isCoinbaseWalletBrowser(){var e;return!!((e=window.ethereum)!=null&&e.isCoinbaseBrowser)}getCoinbaseProvider(){var e,t;return((t=(e=window.ethereum)==null?void 0:e.providers)==null?void 0:t.find(r=>r==null?void 0:r.isCoinbaseWallet))||window.ethereum}connectToCoinbaseWallet(){if(this.isMobile()&&!this.isCoinbaseWalletBrowser()){let e=`https://go.cb-w.com/dapp?cb_url=${encodeURIComponent(window.location.href)}`;window.location.href=e}return this.getCoinbaseProvider().request({method:"eth_requestAccounts"})}isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Silk|Opera Mini/i.test(navigator.userAgent)}getUserEnv(){return{env:{isMetaMaskInstalled:this.isMetaMaskInstalled(),isCoinbaseWalletInstalled:this.isCoinbaseWalletInstalled()}}}connectToThirdPartyWallet(e){switch(e){case M.MetaMask:return this.connectToMetaMask();case M.CoinbaseWallet:return this.connectToCoinbaseWallet();default:throw new Error(`Invalid provider: ${e}. Must be one of "metamask" or "coinbase_wallet".`)}}isWalletEnabled(e){let t=m("mc_is_wallet_enabled",[{wallet:e}]);return this.request(t)}handleWalletSelected(e){return v(this,null,function*(){try{let t=yield this.connectToThirdPartyWallet(e.wallet);yield T(this.localForageKey,e.wallet),this.createIntermediaryEvent(ae.WalletConnected,e.payloadId)(t)}catch(t){console.error(t),this.createIntermediaryEvent(ae.WalletRejected,e.payloadId)()}})}autoConnectIfWalletBrowser(e){return v(this,null,function*(){let t;e===M.MetaMask&&(t=yield this.getMetaMaskProvider().request({method:"eth_requestAccounts"})),e===M.CoinbaseWallet&&(t=yield this.getCoinbaseProvider().request({method:"eth_requestAccounts"})),yield T(this.localForageKey,e);let r=m(h.AutoConnect,[{wallet:e,address:t}]);return this.request(r)})}},{createBoundEmitterMethod:oe,createChainingEmitterMethod:x}=Qe(),ai=class extends G{constructor(){super(...arguments),this.isMagic=!0,this.on=x("on",this),this.once=x("once",this),this.addListener=x("addListener",this),this.off=x("off",this),this.removeListener=x("removeListener",this),this.removeAllListeners=x("removeAllListeners",this),this.emit=oe("emit"),this.eventNames=oe("eventNames"),this.listeners=oe("listeners"),this.listenerCount=oe("listenerCount")}sendAsync(e,t){if(!t)throw Lr({procedure:"Magic.rpcProvider.sendAsync",argument:1,expected:"function",received:t===null?"null":typeof t});if(Array.isArray(e))this.overlay.post(ce.MAGIC_HANDLE_REQUEST,e.map(r=>{let i=he(r);return this.prefixPayloadMethodForTestMode(i),i})).then(r=>{t(null,r.map(i=>Ie(ye({},i.payload),{error:i.hasError?new ue(i.payload.error):null})))});else{let r=he(e);this.prefixPayloadMethodForTestMode(r),this.overlay.post(ce.MAGIC_HANDLE_REQUEST,r).then(i=>{t(i.hasError?new ue(i.payload.error):null,i.payload)})}}send(e,t){if(typeof e=="string"){let i=m(e,Array.isArray(t)?t:[]);return this.request(i)}if(Array.isArray(e)||t){this.sendAsync(e,t);return}let r=Sr();return r.log(),new Re(e).applyError({code:-32603,message:r.rawMessage}).payload}enable(){let e=m(h.Login);return this.request(e)}request(e){return this.prefixPayloadMethodForTestMode(e),super.request(e)}prefixPayloadMethodForTestMode(e){let t="testMode/eth/";this.sdk.testMode&&(e.method=`${t}${e.method}`)}},qe=["request","overlay","sdk"];function li(e){let t=Object.getPrototypeOf(e),r=[t];for(;t!==G.prototype;)t=Object.getPrototypeOf(t),r.push(t);return r}var lt=class extends G{constructor(){super(void 0),this.__sdk_access_field_descriptors__=new Map,this.__is_initialized__=!1,this.utils={createPromiEvent:Z,isPromiEvent:Gr,encodeJSON:Xe,decodeJSON:yr,createJsonRpcRequestPayload:m,standardizeJsonRpcRequestPayload:he,storage:tt};let e=[this,...li(this)];qe.forEach(t=>{let r=e.map(a=>Object.getOwnPropertyDescriptor(a,t)),i=r.findIndex(a=>!!a),n=i>0,s=r[i];s&&(this.__sdk_access_field_descriptors__.set(t,{descriptor:s,isPrototypeField:n}),Object.defineProperty(this,t,{configurable:!0,get:()=>{throw Mr(t)}}))})}init(e){this.__is_initialized__||(qe.forEach(t=>{if(this.__sdk_access_field_descriptors__.has(t)){let{descriptor:r,isPrototypeField:i}=this.__sdk_access_field_descriptors__.get(t);i?delete this[t]:Object.defineProperty(this,t,r)}}),this.sdk=e,this.__is_initialized__=!0)}createDeprecationWarning(e){let{method:t,removalVersion:r,useInstead:i}=e,n=i?` Use \`${i}\` instead.`:"",s=`\`${t}\` will be removed from this Extension in version \`${r}\`.${n}`;return new Fe(this,"DEPRECATION_NOTICE",s)}createWarning(e,t){return new Fe(this,e,t)}createError(e,t,r){return new Ke(this,e,t,r)}},ci=class extends lt{},J=class extends lt{};J.Internal=ci,J.Anonymous="anonymous extension";var di=class extends G{purchase(e){let t=m(h.NFTPurchase,[e]);return this.request(t)}checkout(e){let t=m(h.NFTCheckout,[e]);return this.request(t)}transfer(e){let t=m(h.NFTTransfer,[e]);return this.request(t)}};function Ve(e){return e.compat&&e.compat[g.sdkName]!=null?typeof e.compat[g.sdkName]=="string"?ur(Er(g.version),e.compat[g.sdkName]):!!e.compat[g.sdkName]:!0}function ui(e,t,r){return!t&&!r?`${e}_eth_mainnet`:r?`${e}_${JSON.stringify(r)}`:t?typeof t=="string"?`${e}_eth_${t}`:`${e}_${t.rpcUrl}_${t.chainId}_${t.chainType}`:`${e}_unknown`}function hi(e){var t;let r=(t=e==null?void 0:e.extensions)!=null?t:[],i={},n=[];if(Array.isArray(r)?r.forEach(s=>{Ve(s)?(s.init(this),(s.name||s.name!==J.Anonymous)&&(this[s.name]=s),s instanceof J.Internal&&(de(s.config)||(i[s.name]=s.config))):n.push(s)}):Object.keys(r).forEach(s=>{if(Ve(r[s])){r[s].init(this);let a=r[s];this[s]=a,a instanceof J.Internal&&(de(a.config)||(i[r[s].name]=a.config))}else n.push(r[s])}),n.length)throw Tr(n);return i}var le=class{constructor(e,t){this.apiKey=e;var r;if(!e)throw Nr();g.platform==="react-native"&&(t!=null&&t.endpoint)&&br().log();let{defaultEndpoint:i,version:n}=g;this.testMode=!!(t!=null&&t.testMode),this.useStorageCache=!!(t!=null&&t.useStorageCache),this.endpoint=je((r=t==null?void 0:t.endpoint)!=null?r:i).origin,this.auth=new Fr(this),this.user=new si(this),this.wallet=new oi(this),this.nft=new di(this),this.rpcProvider=new ai(this);let s=hi.call(this,t);this.parameters=Xe(Ie(ye({API_KEY:this.apiKey,DOMAIN_ORIGIN:window.location?window.location.origin:"",ETH_NETWORK:t==null?void 0:t.network,host:je(this.endpoint).host,sdk:$r[g.sdkName],version:n,ext:de(s)?void 0:s,locale:(t==null?void 0:t.locale)||"en_US"},g.bundleId?{bundleId:g.bundleId}:{}),{meta:t==null?void 0:t.meta})),this.networkHash=ui(this.apiKey,t==null?void 0:t.network,de(s)?void 0:s),t!=null&&t.deferPreload||this.preload()}get overlay(){if(!le.__overlays__.has(this.parameters)){let e=new g.ViewController(this.endpoint,this.parameters,this.networkHash);e.init(),le.__overlays__.set(this.parameters,e)}return le.__overlays__.get(this.parameters)}preload(){return v(this,null,function*(){yield this.overlay.checkIsReadyForRequest})}},pi=le;pi.__overlays__=new Map;function mi(e,t){return t&&Array.isArray(e)?e.find(r=>r.id===t):e}function Ei(e,t){var r;let i=(r=t.data.response)==null?void 0:r.id,n=mi(e,i);if(i&&n){let s=new Re(n).applyResult(t.data.response.result).applyError(t.data.response.error);return{id:i,response:s}}return{}}function fi(e,t,r){return v(this,null,function*(){var i;let n=yield O("rt"),s;if(g.platform==="web")try{s=(i=yield O("jwt"))!=null?i:yield Kr()}catch(d){console.error("webcrypto error",d)}let a={msgType:e,payload:t};s&&(a.jwt=s),s&&n&&(a.rt=n);let o=yield ni(r);return o&&(a.deviceShare=o),a})}function gi(e){return v(this,null,function*(){!e.data.rt||(yield T("rt",e.data.rt))})}var Ii=class{constructor(e,t,r){this.endpoint=e,this.parameters=t,this.networkHash=r,this.messageHandlers=new Set,this.isConnectedToInternet=!0,this.checkIsReadyForRequest=this.waitForReady(),this.isReadyForRequest=!1,this.listen()}post(e,t){return v(this,null,function*(){return et((r,i)=>v(this,null,function*(){if(!this.isConnectedToInternet){let l=Ar();i(l)}this.isReadyForRequest||(yield this.waitForReady());let n=[],s=Array.isArray(t)?t.map(l=>l.id):[],a=yield fi(`${e}-${this.parameters}`,t,this.networkHash);yield this._post(a);let o=l=>c=>{var u;let{id:f,response:_}=Ei(t,c);if(gi(c),((u=_==null?void 0:_.payload.error)==null?void 0:u.message)==="User denied account access.")Me();else if(c.data.deviceShare){let{deviceShare:y}=c.data;ii(y,this.networkHash)}f&&_&&Array.isArray(t)&&s.includes(f)?(n.push(_),n.length===t.length&&(l(),r(n))):f&&_&&!Array.isArray(t)&&f===t.id&&(l(),r(_))},d=this.on(k.MAGIC_HANDLE_RESPONSE,o(()=>d()))}))})}on(e,t){let r=t.bind(window),i=n=>{n.data.msgType===`${e}-${this.parameters}`&&r(n)};return this.messageHandlers.add(i),()=>this.messageHandlers.delete(i)}waitForReady(){return new Promise(e=>{let t=this.on(k.MAGIC_OVERLAY_READY,()=>{this.isReadyForRequest=!0,e(),t()})})}listen(){this.on(k.MAGIC_HIDE_OVERLAY,()=>{this.hideOverlay()}),this.on(k.MAGIC_SHOW_OVERLAY,()=>{this.showOverlay()}),this.on(k.MAGIC_SEND_PRODUCT_ANNOUNCEMENT,e=>{e.data.response.result.product_announcement&&new te(j.ProductAnnouncement,e.data.response.result.product_announcement).log()})}};export{pi as $,mt as A,Ii as B,ae as E,B as I,je as J,vi as K,gt as L,pt as N,ft as O,ge as R,Et as T,P as U,Ke as V,te as W,ue as _,J as a,ve as b,D as c,ce as d,U as e,k as f,ut as g,C as h,Gr as i,Z as j,_t as k,Ar as m,j as p,yi as q,Fe as s,M as u,h as v,ht as x,vt as y};
|
|
6
|
-
//# sourceMappingURL=index-
|
|
6
|
+
//# sourceMappingURL=index-q70Ygp1T.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b2 as a,b3 as n}from"./index-CUn1_Jx_.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="11e9e3e0-4b25-4962-844e-b2dcc146985c",t._sentryDebugIdIdentifier="sentry-dbid-11e9e3e0-4b25-4962-844e-b2dcc146985c")}catch{}})();const o="https://wearable-preview.decentraland.zone",_="https://decentraland.zone/account",c="https://decentraland.zone/profile",d="https://decentraland.zone/marketplace",R="https://decentraland.zone/shop",s="https://decentraland.zone/builder",L="https://decentraland.zone/dao",r="https://decentraland.zone/governance",U="https://decentraland.zone/whats-on",E="https://decentraland.zone/discover",l="https://decentraland.org/create/",O="https://docs.decentraland.org/player/",A="https://decentraland.zone/download/creator-hub/",T="https://decentraland.zone/download/",p="https://decentraland.zone/download_success/",N="ea2ybdmmn1kv",S="master",C="18g1DzIyBxvu0steSwKyQr",h="https://cms-api.decentraland.org",I="https://decentraland.zone/marketplace/names/claim",D="https://decentraland.zone/marketplace/lands",g="https://decentraland.zone/marketplace/account",$="https://decentraland.zone/create/",i="https://studios.decentraland.zone/",P="https://decentraland.zone/builder/collections",m="https://decentraland.zone/builder/names",B="https://decentraland.zone/builder/worlds?tab=dcl",y="https://decentraland.zone/builder/land",M="https://decentraland.zone/events/me/",V="https://decentraland.zone/places/favorites/",b="https://docs.decentraland.org/player/",u="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",F="https://docs.decentraland.org/contributor/",f="https://decentraland.zone/governance/transparency/",K="https://decentraland.zone/governance/proposals/",v="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",w="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",z="https://decentraland.zone/marketplace/settings",H="https://dcl.gg/discord",W="https://reddit.com/r/decentraland",k="https://github.com/decentraland",x="https://x.com/decentraland",j="https://instagram.com/decentraland_foundation/",Q="https://youtube.com/@decentraland_foundation",J="https://tiktok.com/@decentraland_fdn",X="https://linkedin.com/company/decentralandorg",q="https://decentraland.zone/privacy",Z="https://decentraland.zone/terms",tt="https://decentraland.zone/content",nt="https://decentraland.zone/ethics",et="https://decentraland.org/help",at="mailto:hello@decentraland.org",ot="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",ct="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",dt="https://download-gateway.decentraland.zone",Rt="https://decentraland.zone/top-scenes",st="https://testflight.apple.com/join/KF4r3jlU",Lt="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",rt={WEARABLE_PREVIEW_URL:o,ACCOUNT_URL:_,PROFILE_URL:c,MARKETPLACE_URL:d,SHOP_URL:R,BUILDER_URL:s,DAO_URL:L,GOVERNANCE_URL:r,EVENTS_URL:U,PLACES_URL:E,CREATE_URL:l,LEARN_URL:O,CREATOR_HUB_URL:A,DOWNLOAD_URL:T,DOWNLOAD_SUCCESS_URL:p,CONTENTFUL_SPACE_ID:N,CONTENTFUL_ENV:S,CONTENTFUL_NAVBAR_ENTRY_ID:C,CONTENTFUL_CONTENTFUL_CDN_URL:h,MARKETPLACE_NAMES_URL:I,MARKETPLACE_LANDS_URL:D,MARKETPLACE_MY_ASSETS_URL:g,LANDING_CREATORS_URL:$,STUDIOS_URL:i,BUILDER_WEARABLE_EMOTES_URL:P,BUILDER_NAMES_URL:m,BUILDER_WORLDS_URL:B,BUILDER_LAND_URL:y,EVENTS_MY_EVENTS:M,PLACES_MY_FAVORITE_URL:V,DOCS_ABOUT_URL:b,DOCS_CREATORS_URL:u,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:F,GOVERNANCE_TRANSPARENCY_URL:f,GOVERNANCE_PROPOSALS_URL:K,DAO_GRANTS_URL:v,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:w,MARKETPLACE_SETTINGS_URL:z,DISCORD_URL:H,REDDIT_URL:W,GITHUB_URL:k,X_URL:x,INSTAGRAM_URL:j,YOUTUBE_URL:Q,TIKTOK_URL:J,LINKEDIN_URL:X,PRIVACY_POLICY_URL:q,TERMS_OF_USE_URL:Z,CONTENT_POLICY_URL:tt,CODE_OF_ETHICS_URL:nt,SUPPORT_URL:et,EMAIL_HELLO_URL:at,FAQ_URL:ot,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:ct,AUTO_SIGNING_BASE_URL:dt,TOP_SCENES_URL:Rt,IOS_STORE_URL:st,ANDROID_STORE_URL:Lt},Ut="https://wearable-preview.decentraland.org",Et="https://decentraland.org/account",lt="https://decentraland.org/profile",Ot="https://decentraland.org/marketplace",At="https://decentraland.org/shop",Tt="https://decentraland.org/builder",pt="https://decentraland.org/dao",Nt="https://decentraland.org/governance",St="https://decentraland.org/whats-on",Ct="https://decentraland.org/discover",ht="https://decentraland.org/create/",It="https://docs.decentraland.org/player/",Dt="https://decentraland.org/download/creator-hub/",gt="https://decentraland.org/download/",$t="https://decentraland.org/download_success/",it="ea2ybdmmn1kv",Pt="master",mt="18g1DzIyBxvu0steSwKyQr",Bt="https://cms-api.decentraland.org",yt="https://decentraland.org/marketplace/names/claim",Mt="https://decentraland.org/marketplace/lands",Vt="https://decentraland.org/marketplace/account",bt="https://decentraland.org/create/",ut="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",Ft="https://decentraland.org/builder/names",ft="https://decentraland.org/builder/worlds?tab=dcl",Kt="https://decentraland.org/builder/land",vt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",wt="https://docs.decentraland.org/player/",zt="https://docs.decentraland.org/creator/",Ht="https://decentraland.org/blog/",Wt="https://docs.decentraland.org/contributor/",kt="https://decentraland.org/governance/transparency/",xt="https://decentraland.org/governance/proposals/",jt="https://decentraland.org/dao/grants/",Qt="https://decentraland.org/governance/projects/",Jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xt="https://decentraland.org/marketplace/settings",qt="https://dcl.gg/discord",Zt="https://reddit.com/r/decentraland",tn="https://github.com/decentraland",nn="https://x.com/decentraland",en="https://instagram.com/decentraland_foundation/",an="https://youtube.com/@decentraland_foundation",on="https://tiktok.com/@decentraland_fdn",_n="https://linkedin.com/company/decentralandorg",cn="https://decentraland.org/privacy",dn="https://decentraland.org/terms",Rn="https://decentraland.org/content",sn="https://decentraland.org/ethics",Ln="https://decentraland.org/help",rn="mailto:hello@decentraland.org",Un="https://docs.decentraland.org/faqs/decentraland-101",En="https://docs.decentraland.org",ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",On="https://download-gateway.decentraland.org",An="https://decentraland.org/top-scenes",Tn="https://testflight.apple.com/join/KF4r3jlU",pn="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Nn={WEARABLE_PREVIEW_URL:Ut,ACCOUNT_URL:Et,PROFILE_URL:lt,MARKETPLACE_URL:Ot,SHOP_URL:At,BUILDER_URL:Tt,DAO_URL:pt,GOVERNANCE_URL:Nt,EVENTS_URL:St,PLACES_URL:Ct,CREATE_URL:ht,LEARN_URL:It,CREATOR_HUB_URL:Dt,DOWNLOAD_URL:gt,DOWNLOAD_SUCCESS_URL:$t,CONTENTFUL_SPACE_ID:it,CONTENTFUL_ENV:Pt,CONTENTFUL_NAVBAR_ENTRY_ID:mt,CONTENTFUL_CONTENTFUL_CDN_URL:Bt,MARKETPLACE_NAMES_URL:yt,MARKETPLACE_LANDS_URL:Mt,MARKETPLACE_MY_ASSETS_URL:Vt,LANDING_CREATORS_URL:bt,STUDIOS_URL:ut,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:Ft,BUILDER_WORLDS_URL:ft,BUILDER_LAND_URL:Kt,EVENTS_MY_EVENTS:vt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:wt,DOCS_CREATORS_URL:zt,BLOG_URL:Ht,DOCS_CONTRIBUTOR_URL:Wt,GOVERNANCE_TRANSPARENCY_URL:kt,GOVERNANCE_PROPOSALS_URL:xt,DAO_GRANTS_URL:jt,GOVERNANCE_PROJECTS_URL:Qt,DOCS_DAO_URL:Jt,MARKETPLACE_SETTINGS_URL:Xt,DISCORD_URL:qt,REDDIT_URL:Zt,GITHUB_URL:tn,X_URL:nn,INSTAGRAM_URL:en,YOUTUBE_URL:an,TIKTOK_URL:on,LINKEDIN_URL:_n,PRIVACY_POLICY_URL:cn,TERMS_OF_USE_URL:dn,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:sn,SUPPORT_URL:Ln,EMAIL_HELLO_URL:rn,FAQ_URL:Un,DOCS_URL:En,BEEHIV_SUBSCRIPTION_URL:ln,AUTO_SIGNING_BASE_URL:On,TOP_SCENES_URL:An,IOS_STORE_URL:Tn,ANDROID_STORE_URL:pn},Sn="https://wearable-preview.decentraland.today",Cn="https://decentraland.today/account",hn="https://decentraland.today/profile",In="https://decentraland.today/marketplace",Dn="https://decentraland.today/shop",gn="https://decentraland.today/builder",$n="https://decentraland.today/dao",Pn="https://decentraland.today/governance",mn="https://decentraland.today/whats-on",Bn="https://decentraland.today/discover",yn="https://decentraland.today/create/",Mn="https://docs.decentraland.org/player/",Vn="https://decentraland.today/download/creator-hub/",bn="https://decentraland.today/download/",un="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",Fn="master",fn="18g1DzIyBxvu0steSwKyQr",Kn="https://cms-api.decentraland.org",vn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",wn="https://decentraland.today/marketplace/account",zn="https://decentraland.today/create/",Hn="https://studios.decentraland.today/",Wn="https://decentraland.today/builder/collections",kn="https://decentraland.today/builder/names",xn="https://decentraland.today/builder/worlds?tab=dcl",jn="https://decentraland.today/builder/land",Qn="https://decentraland.today/events/me/",Jn="https://decentraland.today/places/favorites/",Xn="https://docs.decentraland.org/player/",qn="https://docs.decentraland.org/creator/",Zn="https://decentraland.today/blog/",te="https://docs.decentraland.org/contributor/",ne="https://decentraland.today/governance/transparency/",ee="https://decentraland.today/governance/proposals/",ae="https://decentraland.today/dao/grants/",oe="https://decentraland.today/governance/projects/",_e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ce="https://decentraland.today/marketplace/settings",de="https://dcl.gg/discord",Re="https://reddit.com/r/decentraland",se="https://github.com/decentraland",Le="https://x.com/decentraland",re="https://instagram.com/decentraland_foundation/",Ue="https://youtube.com/@decentraland_foundation",Ee="https://tiktok.com/@decentraland_fdn",le="https://linkedin.com/company/decentralandorg",Oe="https://decentraland.org/privacy",Ae="https://decentraland.org/terms",Te="https://decentraland.org/content",pe="https://decentraland.org/ethics",Ne="https://decentraland.org/help",Se="mailto:hello@decentraland.org",Ce="https://docs.decentraland.org/faqs/decentraland-101",he="https://docs.decentraland.org",Ie="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",De="https://download-gateway.decentraland.zone",ge="https://decentraland.zone/top-scenes",$e="https://testflight.apple.com/join/KF4r3jlU",ie="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Pe={WEARABLE_PREVIEW_URL:Sn,ACCOUNT_URL:Cn,PROFILE_URL:hn,MARKETPLACE_URL:In,SHOP_URL:Dn,BUILDER_URL:gn,DAO_URL:$n,GOVERNANCE_URL:Pn,EVENTS_URL:mn,PLACES_URL:Bn,CREATE_URL:yn,LEARN_URL:Mn,CREATOR_HUB_URL:Vn,DOWNLOAD_URL:bn,DOWNLOAD_SUCCESS_URL:un,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:Fn,CONTENTFUL_NAVBAR_ENTRY_ID:fn,CONTENTFUL_CONTENTFUL_CDN_URL:Kn,MARKETPLACE_NAMES_URL:vn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:wn,LANDING_CREATORS_URL:zn,STUDIOS_URL:Hn,BUILDER_WEARABLE_EMOTES_URL:Wn,BUILDER_NAMES_URL:kn,BUILDER_WORLDS_URL:xn,BUILDER_LAND_URL:jn,EVENTS_MY_EVENTS:Qn,PLACES_MY_FAVORITE_URL:Jn,DOCS_ABOUT_URL:Xn,DOCS_CREATORS_URL:qn,BLOG_URL:Zn,DOCS_CONTRIBUTOR_URL:te,GOVERNANCE_TRANSPARENCY_URL:ne,GOVERNANCE_PROPOSALS_URL:ee,DAO_GRANTS_URL:ae,GOVERNANCE_PROJECTS_URL:oe,DOCS_DAO_URL:_e,MARKETPLACE_SETTINGS_URL:ce,DISCORD_URL:de,REDDIT_URL:Re,GITHUB_URL:se,X_URL:Le,INSTAGRAM_URL:re,YOUTUBE_URL:Ue,TIKTOK_URL:Ee,LINKEDIN_URL:le,PRIVACY_POLICY_URL:Oe,TERMS_OF_USE_URL:Ae,CONTENT_POLICY_URL:Te,CODE_OF_ETHICS_URL:pe,SUPPORT_URL:Ne,EMAIL_HELLO_URL:Se,FAQ_URL:Ce,DOCS_URL:he,BEEHIV_SUBSCRIPTION_URL:Ie,AUTO_SIGNING_BASE_URL:De,TOP_SCENES_URL:ge,IOS_STORE_URL:$e,ANDROID_STORE_URL:ie},ye=a({[n.DEVELOPMENT]:rt,[n.STAGING]:Pe,[n.PRODUCTION]:Nn});export{ye as c};
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import{b2 as a,b3 as n}from"./index-DN0B-b9w.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="11e9e3e0-4b25-4962-844e-b2dcc146985c",t._sentryDebugIdIdentifier="sentry-dbid-11e9e3e0-4b25-4962-844e-b2dcc146985c")}catch{}})();const o="https://wearable-preview.decentraland.zone",_="https://decentraland.zone/account",c="https://decentraland.zone/profile",d="https://decentraland.zone/marketplace",R="https://decentraland.zone/shop",s="https://decentraland.zone/builder",L="https://decentraland.zone/dao",r="https://decentraland.zone/governance",U="https://decentraland.zone/whats-on",E="https://decentraland.zone/discover",l="https://decentraland.org/create/",O="https://docs.decentraland.org/player/",A="https://decentraland.zone/download/creator-hub/",T="https://decentraland.zone/download/",p="https://decentraland.zone/download_success/",N="ea2ybdmmn1kv",S="master",C="18g1DzIyBxvu0steSwKyQr",h="https://cms-api.decentraland.org",I="https://decentraland.zone/marketplace/names/claim",D="https://decentraland.zone/marketplace/lands",g="https://decentraland.zone/marketplace/account",$="https://decentraland.zone/create/",i="https://studios.decentraland.zone/",P="https://decentraland.zone/builder/collections",m="https://decentraland.zone/builder/names",B="https://decentraland.zone/builder/worlds?tab=dcl",y="https://decentraland.zone/builder/land",M="https://decentraland.zone/events/me/",V="https://decentraland.zone/places/favorites/",b="https://docs.decentraland.org/player/",u="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",F="https://docs.decentraland.org/contributor/",f="https://decentraland.zone/governance/transparency/",K="https://decentraland.zone/governance/proposals/",v="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",w="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",z="https://decentraland.zone/marketplace/settings",H="https://dcl.gg/discord",W="https://reddit.com/r/decentraland",k="https://github.com/decentraland",x="https://x.com/decentraland",j="https://instagram.com/decentraland_foundation/",Q="https://youtube.com/@decentraland_foundation",J="https://tiktok.com/@decentraland_fdn",X="https://linkedin.com/company/decentralandorg",q="https://decentraland.zone/privacy",Z="https://decentraland.zone/terms",tt="https://decentraland.zone/content",nt="https://decentraland.zone/ethics",et="https://decentraland.org/help",at="mailto:hello@decentraland.org",ot="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",ct="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",dt="https://download-gateway.decentraland.zone",Rt="https://decentraland.zone/top-scenes",st="https://testflight.apple.com/join/KF4r3jlU",Lt="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",rt={WEARABLE_PREVIEW_URL:o,ACCOUNT_URL:_,PROFILE_URL:c,MARKETPLACE_URL:d,SHOP_URL:R,BUILDER_URL:s,DAO_URL:L,GOVERNANCE_URL:r,EVENTS_URL:U,PLACES_URL:E,CREATE_URL:l,LEARN_URL:O,CREATOR_HUB_URL:A,DOWNLOAD_URL:T,DOWNLOAD_SUCCESS_URL:p,CONTENTFUL_SPACE_ID:N,CONTENTFUL_ENV:S,CONTENTFUL_NAVBAR_ENTRY_ID:C,CONTENTFUL_CONTENTFUL_CDN_URL:h,MARKETPLACE_NAMES_URL:I,MARKETPLACE_LANDS_URL:D,MARKETPLACE_MY_ASSETS_URL:g,LANDING_CREATORS_URL:$,STUDIOS_URL:i,BUILDER_WEARABLE_EMOTES_URL:P,BUILDER_NAMES_URL:m,BUILDER_WORLDS_URL:B,BUILDER_LAND_URL:y,EVENTS_MY_EVENTS:M,PLACES_MY_FAVORITE_URL:V,DOCS_ABOUT_URL:b,DOCS_CREATORS_URL:u,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:F,GOVERNANCE_TRANSPARENCY_URL:f,GOVERNANCE_PROPOSALS_URL:K,DAO_GRANTS_URL:v,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:w,MARKETPLACE_SETTINGS_URL:z,DISCORD_URL:H,REDDIT_URL:W,GITHUB_URL:k,X_URL:x,INSTAGRAM_URL:j,YOUTUBE_URL:Q,TIKTOK_URL:J,LINKEDIN_URL:X,PRIVACY_POLICY_URL:q,TERMS_OF_USE_URL:Z,CONTENT_POLICY_URL:tt,CODE_OF_ETHICS_URL:nt,SUPPORT_URL:et,EMAIL_HELLO_URL:at,FAQ_URL:ot,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:ct,AUTO_SIGNING_BASE_URL:dt,TOP_SCENES_URL:Rt,IOS_STORE_URL:st,ANDROID_STORE_URL:Lt},Ut="https://wearable-preview.decentraland.org",Et="https://decentraland.org/account",lt="https://decentraland.org/profile",Ot="https://decentraland.org/marketplace",At="https://decentraland.org/shop",Tt="https://decentraland.org/builder",pt="https://decentraland.org/dao",Nt="https://decentraland.org/governance",St="https://decentraland.org/whats-on",Ct="https://decentraland.org/discover",ht="https://decentraland.org/create/",It="https://docs.decentraland.org/player/",Dt="https://decentraland.org/download/creator-hub/",gt="https://decentraland.org/download/",$t="https://decentraland.org/download_success/",it="ea2ybdmmn1kv",Pt="master",mt="18g1DzIyBxvu0steSwKyQr",Bt="https://cms-api.decentraland.org",yt="https://decentraland.org/marketplace/names/claim",Mt="https://decentraland.org/marketplace/lands",Vt="https://decentraland.org/marketplace/account",bt="https://decentraland.org/create/",ut="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",Ft="https://decentraland.org/builder/names",ft="https://decentraland.org/builder/worlds?tab=dcl",Kt="https://decentraland.org/builder/land",vt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",wt="https://docs.decentraland.org/player/",zt="https://docs.decentraland.org/creator/",Ht="https://decentraland.org/blog/",Wt="https://docs.decentraland.org/contributor/",kt="https://decentraland.org/governance/transparency/",xt="https://decentraland.org/governance/proposals/",jt="https://decentraland.org/dao/grants/",Qt="https://decentraland.org/governance/projects/",Jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xt="https://decentraland.org/marketplace/settings",qt="https://dcl.gg/discord",Zt="https://reddit.com/r/decentraland",tn="https://github.com/decentraland",nn="https://x.com/decentraland",en="https://instagram.com/decentraland_foundation/",an="https://youtube.com/@decentraland_foundation",on="https://tiktok.com/@decentraland_fdn",_n="https://linkedin.com/company/decentralandorg",cn="https://decentraland.org/privacy",dn="https://decentraland.org/terms",Rn="https://decentraland.org/content",sn="https://decentraland.org/ethics",Ln="https://decentraland.org/help",rn="mailto:hello@decentraland.org",Un="https://docs.decentraland.org/faqs/decentraland-101",En="https://docs.decentraland.org",ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",On="https://download-gateway.decentraland.org",An="https://decentraland.org/top-scenes",Tn="https://testflight.apple.com/join/KF4r3jlU",pn="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Nn={WEARABLE_PREVIEW_URL:Ut,ACCOUNT_URL:Et,PROFILE_URL:lt,MARKETPLACE_URL:Ot,SHOP_URL:At,BUILDER_URL:Tt,DAO_URL:pt,GOVERNANCE_URL:Nt,EVENTS_URL:St,PLACES_URL:Ct,CREATE_URL:ht,LEARN_URL:It,CREATOR_HUB_URL:Dt,DOWNLOAD_URL:gt,DOWNLOAD_SUCCESS_URL:$t,CONTENTFUL_SPACE_ID:it,CONTENTFUL_ENV:Pt,CONTENTFUL_NAVBAR_ENTRY_ID:mt,CONTENTFUL_CONTENTFUL_CDN_URL:Bt,MARKETPLACE_NAMES_URL:yt,MARKETPLACE_LANDS_URL:Mt,MARKETPLACE_MY_ASSETS_URL:Vt,LANDING_CREATORS_URL:bt,STUDIOS_URL:ut,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:Ft,BUILDER_WORLDS_URL:ft,BUILDER_LAND_URL:Kt,EVENTS_MY_EVENTS:vt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:wt,DOCS_CREATORS_URL:zt,BLOG_URL:Ht,DOCS_CONTRIBUTOR_URL:Wt,GOVERNANCE_TRANSPARENCY_URL:kt,GOVERNANCE_PROPOSALS_URL:xt,DAO_GRANTS_URL:jt,GOVERNANCE_PROJECTS_URL:Qt,DOCS_DAO_URL:Jt,MARKETPLACE_SETTINGS_URL:Xt,DISCORD_URL:qt,REDDIT_URL:Zt,GITHUB_URL:tn,X_URL:nn,INSTAGRAM_URL:en,YOUTUBE_URL:an,TIKTOK_URL:on,LINKEDIN_URL:_n,PRIVACY_POLICY_URL:cn,TERMS_OF_USE_URL:dn,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:sn,SUPPORT_URL:Ln,EMAIL_HELLO_URL:rn,FAQ_URL:Un,DOCS_URL:En,BEEHIV_SUBSCRIPTION_URL:ln,AUTO_SIGNING_BASE_URL:On,TOP_SCENES_URL:An,IOS_STORE_URL:Tn,ANDROID_STORE_URL:pn},Sn="https://wearable-preview.decentraland.today",Cn="https://decentraland.today/account",hn="https://decentraland.today/profile",In="https://decentraland.today/marketplace",Dn="https://decentraland.today/shop",gn="https://decentraland.today/builder",$n="https://decentraland.today/dao",Pn="https://decentraland.today/governance",mn="https://decentraland.today/whats-on",Bn="https://decentraland.today/discover",yn="https://decentraland.today/create/",Mn="https://docs.decentraland.org/player/",Vn="https://decentraland.today/download/creator-hub/",bn="https://decentraland.today/download/",un="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",Fn="master",fn="18g1DzIyBxvu0steSwKyQr",Kn="https://cms-api.decentraland.org",vn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",wn="https://decentraland.today/marketplace/account",zn="https://decentraland.today/create/",Hn="https://studios.decentraland.today/",Wn="https://decentraland.today/builder/collections",kn="https://decentraland.today/builder/names",xn="https://decentraland.today/builder/worlds?tab=dcl",jn="https://decentraland.today/builder/land",Qn="https://decentraland.today/events/me/",Jn="https://decentraland.today/places/favorites/",Xn="https://docs.decentraland.org/player/",qn="https://docs.decentraland.org/creator/",Zn="https://decentraland.today/blog/",te="https://docs.decentraland.org/contributor/",ne="https://decentraland.today/governance/transparency/",ee="https://decentraland.today/governance/proposals/",ae="https://decentraland.today/dao/grants/",oe="https://decentraland.today/governance/projects/",_e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ce="https://decentraland.today/marketplace/settings",de="https://dcl.gg/discord",Re="https://reddit.com/r/decentraland",se="https://github.com/decentraland",Le="https://x.com/decentraland",re="https://instagram.com/decentraland_foundation/",Ue="https://youtube.com/@decentraland_foundation",Ee="https://tiktok.com/@decentraland_fdn",le="https://linkedin.com/company/decentralandorg",Oe="https://decentraland.org/privacy",Ae="https://decentraland.org/terms",Te="https://decentraland.org/content",pe="https://decentraland.org/ethics",Ne="https://decentraland.org/help",Se="mailto:hello@decentraland.org",Ce="https://docs.decentraland.org/faqs/decentraland-101",he="https://docs.decentraland.org",Ie="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",De="https://download-gateway.decentraland.zone",ge="https://decentraland.zone/top-scenes",$e="https://testflight.apple.com/join/KF4r3jlU",ie="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Pe={WEARABLE_PREVIEW_URL:Sn,ACCOUNT_URL:Cn,PROFILE_URL:hn,MARKETPLACE_URL:In,SHOP_URL:Dn,BUILDER_URL:gn,DAO_URL:$n,GOVERNANCE_URL:Pn,EVENTS_URL:mn,PLACES_URL:Bn,CREATE_URL:yn,LEARN_URL:Mn,CREATOR_HUB_URL:Vn,DOWNLOAD_URL:bn,DOWNLOAD_SUCCESS_URL:un,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:Fn,CONTENTFUL_NAVBAR_ENTRY_ID:fn,CONTENTFUL_CONTENTFUL_CDN_URL:Kn,MARKETPLACE_NAMES_URL:vn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:wn,LANDING_CREATORS_URL:zn,STUDIOS_URL:Hn,BUILDER_WEARABLE_EMOTES_URL:Wn,BUILDER_NAMES_URL:kn,BUILDER_WORLDS_URL:xn,BUILDER_LAND_URL:jn,EVENTS_MY_EVENTS:Qn,PLACES_MY_FAVORITE_URL:Jn,DOCS_ABOUT_URL:Xn,DOCS_CREATORS_URL:qn,BLOG_URL:Zn,DOCS_CONTRIBUTOR_URL:te,GOVERNANCE_TRANSPARENCY_URL:ne,GOVERNANCE_PROPOSALS_URL:ee,DAO_GRANTS_URL:ae,GOVERNANCE_PROJECTS_URL:oe,DOCS_DAO_URL:_e,MARKETPLACE_SETTINGS_URL:ce,DISCORD_URL:de,REDDIT_URL:Re,GITHUB_URL:se,X_URL:Le,INSTAGRAM_URL:re,YOUTUBE_URL:Ue,TIKTOK_URL:Ee,LINKEDIN_URL:le,PRIVACY_POLICY_URL:Oe,TERMS_OF_USE_URL:Ae,CONTENT_POLICY_URL:Te,CODE_OF_ETHICS_URL:pe,SUPPORT_URL:Ne,EMAIL_HELLO_URL:Se,FAQ_URL:Ce,DOCS_URL:he,BEEHIV_SUBSCRIPTION_URL:Ie,AUTO_SIGNING_BASE_URL:De,TOP_SCENES_URL:ge,IOS_STORE_URL:$e,ANDROID_STORE_URL:ie},ye=a({[n.DEVELOPMENT]:rt,[n.STAGING]:Pe,[n.PRODUCTION]:Nn});export{ye as c};
|
|
2
|
+
//# sourceMappingURL=index-rRqQLcGi.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as s}from"./parseSignature-B671IJ9t.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-B671IJ9t.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-C292lMjR.js";import{h as n}from"./W3MFrameProviderSingleton-CESQTQqF.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-CESQTQqF.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-DMDTqqRR.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-DTeS6t1F.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-lRLTmg0n.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-D4hFYJZz.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-D2QhBII5.js";import{d as c}from"./verifyHash-D95QvQtB.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-D95QvQtB.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-BB-N5Krg.js";import"./secp256k1-DCHmI0Wk.js";import"./dcl-schemas-B-WFxXOZ.js";import"./react-BAO_TUIJ.js";import"./index-6KahUnUn.js";import"./sentry-BoIhDhui.js";import"./index-BUhtMj3g.js";import"./events-TC-OlUEN.js";import"./index-CUn1_Jx_.js";import"./ethers-BJ46oYk8.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-BcpqOoPZ.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import{c as s}from"./parseSignature-CqMdCDcO.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-CqMdCDcO.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-N6ka0CP3.js";import{h as n}from"./W3MFrameProviderSingleton-Cm_URG_Z.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-Cm_URG_Z.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-DZ3oAWCy.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-azgWOYRw.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-DRSIA9uS.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-CD9qdDZu.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-BSvD3xKG.js";import{d as c}from"./verifyHash-DSs7CuzA.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-DSs7CuzA.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-BBcJIPff.js";import"./secp256k1-C2bpUlKp.js";import"./dcl-schemas-CLUmlxzq.js";import"./react-DdXEvnSt.js";import"./index-B7qNoUjO.js";import"./sentry-CBtADnon.js";import"./index-CuTLeipJ.js";import"./events-D6b4C9sL.js";import"./index-DN0B-b9w.js";import"./ethers-C9Iy8r0X.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-C3QJTrvF.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
|
|
2
|
+
//# sourceMappingURL=index-xsD5uLyo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e as v}from"./index-
|
|
2
|
-
//# sourceMappingURL=index.es-
|
|
1
|
+
import{e as v}from"./index-CuTLeipJ.js";import{o}from"./browser-ponyfill-C3QJTrvF.js";import{i as a,s as l,a as b,f as u,p as y}from"./index-BriEZS3d.js";import"./index-B7qNoUjO.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="55b920a6-528c-447e-8af2-0f3804567b5a",s._sentryDebugIdIdentifier="sentry-dbid-55b920a6-528c-447e-8af2-0f3804567b5a")}catch{}})();var m=Object.defineProperty,w=Object.defineProperties,P=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,c=(s,e,t)=>e in s?m(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,f=(s,e)=>{for(var t in e||(e={}))E.call(e,t)&&c(s,t,e[t]);if(h)for(var t of h(e))O.call(e,t)&&c(s,t,e[t]);return s},p=(s,e)=>w(s,P(e));const L={Accept:"application/json","Content-Type":"application/json"},j="POST",d={headers:L,method:j},g=10;class M{constructor(e,t=!1){if(this.url=e,this.disableProviderPing=t,this.events=new v.EventEmitter,this.isAvailable=!1,this.registering=!1,!a(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);this.url=e,this.disableProviderPing=t}get connected(){return this.isAvailable}get connecting(){return this.registering}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}async open(e=this.url){await this.register(e)}async close(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}async send(e){this.isAvailable||await this.register();try{const t=l(e),r=await(await o(this.url,p(f({},d),{body:t}))).json();this.onPayload({data:r})}catch(t){this.onError(e.id,t)}}async register(e=this.url){if(!a(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);if(this.registering){const t=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=t||this.events.listenerCount("open")>=t)&&this.events.setMaxListeners(t+1),new Promise((r,i)=>{this.events.once("register_error",n=>{this.resetMaxListeners(),i(n)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.isAvailable>"u")return i(new Error("HTTP connection is missing or invalid"));r()})})}this.url=e,this.registering=!0;try{if(!this.disableProviderPing){const t=l({id:1,jsonrpc:"2.0",method:"test",params:[]});await o(e,p(f({},d),{body:t}))}this.onOpen()}catch(t){const r=this.parseError(t);throw this.events.emit("register_error",r),this.onClose(),r}}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(e){if(typeof e.data>"u")return;const t=typeof e.data=="string"?b(e.data):e.data;this.events.emit("payload",t)}onError(e,t){const r=this.parseError(t),i=r.message||r.toString(),n=u(e,i);this.events.emit("payload",n)}parseError(e,t=this.url){return y(e,t,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>g&&this.events.setMaxListeners(g)}}export{M as f};
|
|
2
|
+
//# sourceMappingURL=index.es-7TvS5Qh2.js.map
|