@dcl/shop 1.13.1-35088015492.commit-25d8a11 → 1.13.1-35095058100.commit-8d694c8
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-Br7TotTg.js → Activity-CjNbjbB8.js} +8 -8
- package/_assets/{AnimatedBackground-mKUTCrsZ.js → AnimatedBackground-DsRNSmF9.js} +2 -2
- package/_assets/{Assets-Bh3kAxON.js → Assets--xiu2hf1.js} +12 -12
- package/_assets/{Authorizations-DPVFuAHg.js → Authorizations-CAq4bDIU.js} +3 -3
- package/_assets/Cart-Dn-yuO7W.js +748 -0
- package/_assets/{Collection-BIm7ajYT.js → Collection-DmkDiPC5.js} +10 -10
- package/_assets/{CollectionCarousel-Dgmy1mBv.js → CollectionCarousel-C2aZMUS6.js} +10 -10
- package/_assets/Confetti-CQ1miyT0.js +18 -0
- package/_assets/{ConstantsUtil-BIW9CVUv.js → ConstantsUtil-DxsGGeAI.js} +2 -2
- package/_assets/{ContentClient-CWLYPXGZ.js → ContentClient-DADL-eWJ.js} +2 -2
- package/_assets/{Creator-Bm286S4l.js → Creator-DZvSnP1W.js} +33 -33
- package/_assets/{DeploymentBuilder-lkKjiabA.js → DeploymentBuilder-DM4wrDOA.js} +3 -3
- package/_assets/{EmotePlaybackBar-CmOnYKyU.js → EmotePlaybackBar-DKUTpuQ1.js} +5 -5
- package/_assets/{ErrorNotice-Dqt3U2vl.js → ErrorNotice-Dhs1BLZ6.js} +2 -2
- package/_assets/{Event-CzoOohtw.js → Event-e3lOCI2G.js} +2 -2
- package/_assets/{ExchangeController-DLt1pr9X.js → ExchangeController-D1BhRLY_.js} +2 -2
- package/_assets/{Faq-C75vztz0.js → Faq-qe1pCR9P.js} +2 -2
- package/_assets/{GetCredits-C4r6Z9Ll.js → GetCredits-B96wMekN.js} +9 -9
- package/_assets/{Grow-C89nQ9vj.js → Grow-pyVWvnNE.js} +2 -2
- package/_assets/{HelpersUtil-BZx2xXkr.js → HelpersUtil-B-VhnmAV.js} +2 -2
- package/_assets/ItemDetail-EQYc-D1i.js +3779 -0
- package/_assets/LoadMore-3LNbX1EU.js +8 -0
- package/_assets/{ManaPricingBanner.styles-DIaSN-0J.js → ManaPricingBanner.styles-Xpaqvszn.js} +2 -2
- package/_assets/MyAssets-Cw8rL4Qm.js +1142 -0
- package/_assets/{MyFavorites-DyG3bnHZ.js → MyFavorites-C-H9WoDf.js} +10 -10
- package/_assets/{NetworkUtil-C2mA-_Ya.js → NetworkUtil-Cp-gtHa0.js} +2 -2
- package/_assets/NotFound-C_hegLMz.js +18 -0
- package/_assets/{NotificationsBell-Bg_tRjZT.js → NotificationsBell-DEOx8fEC.js} +13 -13
- package/_assets/{OutfitDetail-BILkjOT0.js → OutfitDetail-DccboofD.js} +7 -7
- package/_assets/OutfitPreview-BT1g84TM.js +7 -0
- package/_assets/{OutfitStudio-BVxXtmNl.js → OutfitStudio-DVNHreV-.js} +30 -30
- package/_assets/{PhArrowCircleDown-6iRUjaQT.js → PhArrowCircleDown-Bmy0XPqd.js} +5 -5
- package/_assets/{PhArrowClockwise-CIVwCL-l.js → PhArrowClockwise-Bklo7MBV.js} +3 -3
- package/_assets/{PhArrowDown-D3Qpf9aN.js → PhArrowDown-CBjJCstB.js} +3 -3
- package/_assets/{PhArrowLeft--wJbrUzB.js → PhArrowLeft-BCeYPtMx.js} +4 -4
- package/_assets/{PhArrowRight-BTIKUgk-.js → PhArrowRight-Ch61WxZn.js} +4 -4
- package/_assets/{PhArrowSquareOut-DPwbQcP5.js → PhArrowSquareOut-Bk5nSBoz.js} +5 -5
- package/_assets/{PhArrowUp-tbd9Vo3U.js → PhArrowUp-CzPwFe1F.js} +5 -5
- package/_assets/PhArrowUpRight-DF87CEc7.js +15 -0
- package/_assets/{PhArrowsClockwise-BSfkaVhX.js → PhArrowsClockwise-D5XWB216.js} +2 -2
- package/_assets/{PhArrowsDownUp-BizHrerJ.js → PhArrowsDownUp-CVtoWYS-.js} +5 -5
- package/_assets/{PhArrowsLeftRight-wuaUs2S1.js → PhArrowsLeftRight-Cu83Wp7y.js} +3 -3
- package/_assets/{PhBank-BzJNe1lT.js → PhBank-BjB_uqsX.js} +3 -3
- package/_assets/{PhBrowser-DtA3UvKM.js → PhBrowser-CW3ZGiB7.js} +5 -5
- package/_assets/PhCaretDown-PT_hkshh.js +15 -0
- package/_assets/{PhCaretLeft-4kPjHdmT.js → PhCaretLeft-DPSFahQA.js} +3 -3
- package/_assets/PhCaretRight-EEBUAb9H.js +15 -0
- package/_assets/{PhCaretUp-D9YioiHV.js → PhCaretUp-Bit2hvKo.js} +3 -3
- package/_assets/{PhCheck-CHpcW9AR.js → PhCheck-BHmNQJ6P.js} +4 -4
- package/_assets/{PhCircleHalf-YS1UFN0E.js → PhCircleHalf-AD4oTWoj.js} +3 -3
- package/_assets/{PhClock-CSboNJh9.js → PhClock-3t4anT3D.js} +5 -5
- package/_assets/{PhCompass-D_0mucCp.js → PhCompass-DpvhkfDj.js} +5 -5
- package/_assets/{PhCopy-CDCUCR3f.js → PhCopy-We2XYWCm.js} +5 -5
- package/_assets/{PhCreditCard-DRX4uPYj.js → PhCreditCard-BBnTMXbe.js} +4 -4
- package/_assets/{PhCurrencyDollar-DLUjVe8H.js → PhCurrencyDollar-dPV4byY8.js} +2 -2
- package/_assets/{PhDesktop-_u-_n84T.js → PhDesktop-DVuLe5q1.js} +3 -3
- package/_assets/{PhDeviceMobile-BS_c6Vl8.js → PhDeviceMobile-D6knI_PD.js} +5 -5
- package/_assets/{PhDotsThree-CzsXASup.js → PhDotsThree-D_uTiViU.js} +3 -3
- package/_assets/{PhEnvelope-Cw4-Hk4L.js → PhEnvelope-Bkk7fDMT.js} +5 -5
- package/_assets/{PhFunnelSimple-DpBt0vi9.js → PhFunnelSimple-BVx2yoJC.js} +4 -4
- package/_assets/{PhGlobe-rs-o4lxw.js → PhGlobe-BUa1rAnN.js} +2 -2
- package/_assets/{PhIdentificationCard-DuF1gYTt.js → PhIdentificationCard-D7mCEldI.js} +5 -5
- package/_assets/{PhImage-DIhy5LKN.js → PhImage-DN8upEaC.js} +2 -2
- package/_assets/{PhInfo-D_98hoRZ.js → PhInfo-BRv5JqkG.js} +5 -5
- package/_assets/{PhLightbulb-jwjURN0E.js → PhLightbulb-LZ8Bksrw.js} +4 -4
- package/_assets/{PhMagnifyingGlass-Cl9SVL64.js → PhMagnifyingGlass-Nlml1ksU.js} +5 -5
- package/_assets/{PhPaperPlaneRight-CDqjDiqA.js → PhPaperPlaneRight-QfFyGr7O.js} +3 -3
- package/_assets/{PhPlus-Bqy0oPbi.js → PhPlus-C6YKBVJU.js} +4 -4
- package/_assets/{PhPower-BQaWuBX1.js → PhPower-BtHcdIUq.js} +4 -4
- package/_assets/{PhPuzzlePiece-D499-d4h.js → PhPuzzlePiece-D5mYYrHE.js} +3 -3
- package/_assets/{PhQrCode-BQ5rQwnD.js → PhQrCode-MfgEx90-.js} +4 -4
- package/_assets/{PhQuestion-bCmP-feI.js → PhQuestion-BHeGiiUF.js} +3 -3
- package/_assets/{PhQuestionMark-DyfGY3RD.js → PhQuestionMark-DNtDU6-_.js} +4 -4
- package/_assets/{PhSealCheck-H9-Y7aNH.js → PhSealCheck-CDWno5AE.js} +2 -2
- package/_assets/{PhSignOut-BZcBXokG.js → PhSignOut-BWUfOWAY.js} +3 -3
- package/_assets/{PhSpinner-Do01OpHj.js → PhSpinner-Chbk-Rrh.js} +3 -3
- package/_assets/{PhTrash-CuF_XmzC.js → PhTrash-CknzCMhK.js} +2 -2
- package/_assets/{PhUser-DjwKjO5y.js → PhUser-DBmpCM-x.js} +5 -5
- package/_assets/{PhVault-Sk9K_rlP.js → PhVault-B_-lceT6.js} +2 -2
- package/_assets/{PhWallet-Cx-DY6Ai.js → PhWallet-DzHci4bI.js} +3 -3
- package/_assets/{PhWarning-RJrWRAZK.js → PhWarning-DNajgYKH.js} +5 -5
- package/_assets/{PhWarningCircle-BM_6Vsrk.js → PhWarningCircle-DaWHEJd0.js} +4 -4
- package/_assets/{PhX-zfSxrDJY.js → PhX-o_0aqvnZ.js} +2 -2
- package/_assets/SaleCountdown-BCjbqWcU.js +99 -0
- package/_assets/{Spinner-CjR4Zw45.js → Spinner-hLMP163F.js} +2 -2
- package/_assets/{StoreSettings-BI2PxdDc.js → StoreSettings-C4lpIKgV.js} +7 -7
- package/_assets/{Success-BMSTCual.js → Success-DZwN3t4z.js} +5 -5
- package/_assets/{SwapController-MUVg1jDR.js → SwapController-BPiF_Q9x.js} +2 -2
- package/_assets/{TradeService-DSbQ-N2T.js → TradeService-D8Zf_eTM.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-bGfA1Ldc.js → W3MFrameProviderSingleton-ByxVGL9W.js} +4 -4
- package/_assets/{WebCryptoP256-RyjS14F-.js → WebCryptoP256-BowGpuyg.js} +2 -2
- package/_assets/{add-yuh2coGX.js → add-DMqlCS_5.js} +2 -2
- package/_assets/all-wallets-jltIqTjt.js +7 -0
- package/_assets/{app-store-CjVSQSMw.js → app-store-8U-XnKiq.js} +3 -3
- package/_assets/{apple--Q1_9qVz.js → apple-DqtIUOT7.js} +2 -2
- package/_assets/{arrow-bottom-BDd5zC7G.js → arrow-bottom-PA3nOuzV.js} +2 -2
- package/_assets/{arrow-bottom-circle-DeoWT_5e.js → arrow-bottom-circle-C-CSXtk9.js} +3 -3
- package/_assets/arrow-left-Cddzsk1s.js +9 -0
- package/_assets/{arrow-right-D5rgj1x7.js → arrow-right-FkB0kPcW.js} +3 -3
- package/_assets/{arrow-top-CZJvfHy5.js → arrow-top-BAZtnW6A.js} +3 -3
- package/_assets/async-directive-C0XTxdV5.js +10 -0
- package/_assets/{authorizations-o-LlYXNc.js → authorizations-D_SudRT-.js} +2 -2
- package/_assets/{bank-QdF2JRAj.js → bank-C-8Jh-Iw.js} +2 -2
- package/_assets/{basic-nXP69bkA.js → basic-sN1HnC_u.js} +2 -2
- package/_assets/{biconomy-D6gisxlY.js → biconomy-BijOlHn5.js} +2 -2
- package/_assets/{browseLayout.styles-Bza8FY3N.js → browseLayout.styles-6-W9YjOC.js} +12 -12
- package/_assets/{browser-BTxM9pEM.js → browser-BXKNeaZx.js} +2 -2
- package/_assets/{browser-D53imPjf.js → browser-D9YPKxfl.js} +2 -2
- package/_assets/{browser-DIXts996.js → browser-DynTtmBx.js} +2 -2
- package/_assets/{browser-ponyfill-BaElO0Yy.js → browser-ponyfill-BVvT8_Fp.js} +2 -2
- package/_assets/builder-BCPamKJP.js +2 -0
- package/_assets/{buy-8-Zq_4Fb.js → buy-BkbR80Gf.js} +2 -2
- package/_assets/buy-gasless-CQdgMa0F.js +2 -0
- package/_assets/{card-Eo0szEyd.js → card-Uc0KebvL.js} +2 -2
- package/_assets/{categories-J0dMuNkM.js → categories-Dquh1vbV.js} +2 -2
- package/_assets/{ccip-CNvm_wRE.js → ccip-BQaVTqUi.js} +2 -2
- package/_assets/{ccip-CgSAa6qI.js → ccip-CV07CEfz.js} +2 -2
- package/_assets/{chains-BbZKALwH.js → chains-Bp3h2aaE.js} +2 -2
- package/_assets/{checkmark-B1VwDgk_.js → checkmark-7uWcPB0u.js} +3 -3
- package/_assets/{checkmark-bold-BXR2Uavz.js → checkmark-bold-BwTefyx7.js} +3 -3
- package/_assets/{chevron-bottom-CjUlcMur.js → chevron-bottom-CJ9Wl9Xm.js} +3 -3
- package/_assets/{chevron-left-DypZfS5Y.js → chevron-left-DKH1P9Pf.js} +3 -3
- package/_assets/{chevron-right-CBfGDvpC.js → chevron-right-DeNTJHBI.js} +2 -2
- package/_assets/{chevron-top-ccW9fiNv.js → chevron-top-Dn0py8bk.js} +3 -3
- package/_assets/{chrome-store-CXaVZVMO.js → chrome-store-DUbm69Gl.js} +3 -3
- package/_assets/{class-map-B8fTg_8Q.js → class-map-C7I-HYAi.js} +6 -6
- package/_assets/{clock-CbjAmrVY.js → clock-CMav6VuQ.js} +2 -2
- package/_assets/{close-C44p4Qpf.js → close-Byftwzmc.js} +2 -2
- package/_assets/{coinPlaceholder-9sNtxYvg.js → coinPlaceholder-C0F4r6oU.js} +2 -2
- package/_assets/{collectionPage.styles-C--ki2P9.js → collectionPage.styles-St6jJHia.js} +7 -7
- package/_assets/common-vsCsmUBn.js +2 -0
- package/_assets/{compass-8jFoOhNF.js → compass-CPDOuTyF.js} +3 -3
- package/_assets/{controller-B5adsfCx.js → controller-DIQ9DcOx.js} +3 -3
- package/_assets/{copy-Die0K-07.js → copy-CjXNbdx3.js} +2 -2
- package/_assets/{core-Dz9rfTnP.js → core-Cs979BA0.js} +5 -5
- package/_assets/{createSvgIcon-DSycgKQz.js → createSvgIcon-P53Pfdxl.js} +4 -4
- package/_assets/crumbs.styles-N13K8LJF.js +10 -0
- package/_assets/{cursor-B5zKTXqZ.js → cursor-D-SkqFO5.js} +3 -3
- package/_assets/{cursor-transparent-Dp8bO7rL.js → cursor-transparent-RE6Zec8w.js} +3 -3
- package/_assets/{custom-SA3P34sS.js → custom-DP7Ww2Mp.js} +2 -2
- package/_assets/{data-capture-QCuBCgVo.js → data-capture-r6LhzaPe.js} +2 -2
- package/_assets/{dcl-schemas-BKQ0vYZF.js → dcl-schemas-n1W5glLl.js} +2 -2
- package/_assets/decimals-1-P-OpKN.js +2 -0
- package/_assets/decimals-BW5hR24C.js +2 -0
- package/_assets/{desktop-1vPdJJzq.js → desktop-tp0dY4sR.js} +3 -3
- package/_assets/detectExtension-DQg6wKZQ.js +2 -0
- package/_assets/{disconnect-10T9vPyj.js → disconnect-PN0ATTQe.js} +3 -3
- package/_assets/{discord-BC_Ueh7y.js → discord-ISYEjXZK.js} +3 -3
- package/_assets/{disposePreview-BDCsvWuP.js → disposePreview-D5gU11Se.js} +2 -2
- package/_assets/{email--UGVY4VA.js → email-C4mis8Vg.js} +2 -2
- package/_assets/{embedded-wallet-C0h1UGCI.js → embedded-wallet-CaKg_r8U.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-8Fn_bSaK.js → emotion-styled.browser.esm-BUJmozsy.js} +2 -2
- package/_assets/{engine-CVmNCEKG.js → engine-D07w-XRT.js} +2 -2
- package/_assets/{errors-5abtsF-d.js → errors-DhRbQUQ8.js} +2 -2
- package/_assets/estimate-l1-fee-CVLkkmbZ.js +2 -0
- package/_assets/eth_estimateGas-DcrnZAhD.js +2 -0
- package/_assets/eth_getStorageAt-D55EQvGL.js +2 -0
- package/_assets/eth_getTransactionCount-996c8uw3.js +2 -0
- package/_assets/ethereum-BB2NY3Ze.js +2 -0
- package/_assets/{ethers-CqnE9_Iy.js → ethers-OrSZ5jmz.js} +2 -2
- package/_assets/{etherscan-C2G3o1uJ.js → etherscan-CjB1AtvG.js} +2 -2
- package/_assets/{events-DxeiWjZO.js → events-C-1hKiSc.js} +2 -2
- package/_assets/{exclamation-triangle-DwAzeOp6.js → exclamation-triangle-Vw_jmJIs.js} +2 -2
- package/_assets/{execute-bRHFO9T8.js → execute-DkcTGxdS.js} +3 -3
- package/_assets/{extension-DzOqtmMr.js → extension-p5vqJTq0.js} +3 -3
- package/_assets/{external-link-CJFUahWS.js → external-link-6l8BDrnZ.js} +2 -2
- package/_assets/{extractIPFS-DTbEwfwl.js → extractIPFS-DGBDqkFQ.js} +2 -2
- package/_assets/{facebook-x3bYUdwS.js → facebook-BdpnpvkK.js} +3 -3
- package/_assets/{farcaster-TSNolEe6.js → farcaster-DyedtTLV.js} +3 -3
- package/_assets/{features-DOlQFJIn.js → features-Dgji4xPv.js} +2 -2
- package/_assets/fetchTokenMetadata-CLY3eWo4.js +3 -0
- package/_assets/{field.styles-CGT52_F0.js → field.styles-B66-mhwP.js} +2 -2
- package/_assets/{filters-UiyRH_AA.js → filters-CMt2xly-.js} +3 -3
- package/_assets/{fortmatic-B4F48NpJ.js → fortmatic-CIXGktdE.js} +2 -2
- package/_assets/{get-bytecode-B61L8bJf.js → get-bytecode-B4ah9_Ee.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-BUVR1h_d.js +2 -0
- package/_assets/{getBalance-CgOiBcM_.js → getBalance-DcjxPvBd.js} +3 -3
- package/_assets/getInstalledModules-CVmsNb5W.js +2 -0
- package/_assets/getNFT-CNkldXgA.js +2 -0
- package/_assets/{getNFT-BOhaT1yq.js → getNFT-D6Q2R2w8.js} +3 -3
- package/_assets/{github-DKEnSSaC.js → github-DpuVIU6C.js} +2 -2
- package/_assets/{google-Ct_bf34c.js → google-BwS7c7G5.js} +2 -2
- package/_assets/{grid.styles-iTSFhsyn.js → grid.styles-CbKnaEaH.js} +2 -2
- package/_assets/{hashTypedData-CTf6X_0x.js → hashTypedData-BMQaC5AO.js} +2 -2
- package/_assets/{hashTypedData-BjxqyJnO.js → hashTypedData-BXTiCI6R.js} +2 -2
- package/_assets/{help-circle-CtxTuyd5.js → help-circle-D4e71YxP.js} +3 -3
- package/_assets/{id-CBP3kShs.js → id-CkCU8Jqk.js} +3 -3
- package/_assets/{image-CU2z53Sh.js → image-BgNr9PHW.js} +2 -2
- package/_assets/{import-BFM9mYtD.js → import-nI9C4MLI.js} +2 -2
- package/_assets/{in-app-D-IPfiDb.js → in-app-qH_5BfXH.js} +2 -2
- package/_assets/in-app-wallet-calls-D5QY4WMZ.js +2 -0
- package/_assets/{index-UORXqou9.js → index-2lALaSI0.js} +2 -2
- package/_assets/{index-BgSm7poL.js → index-3xvycxSp.js} +2 -2
- package/_assets/{index-CVfarqKE.js → index-5TanjW1p.js} +4 -4
- package/_assets/{index-9ER2YXLE.js → index-7LiE_2Hn.js} +2 -2
- package/_assets/{index-CWpLrxaY.js → index-7jxYsA5x.js} +2 -2
- package/_assets/{index-D-g6tUrr.js → index-B0eaBbwk.js} +4 -4
- package/_assets/{index-Cj8n6jhR.js → index-B6gpbqHk.js} +3 -3
- package/_assets/{index-_eXXkY79.js → index-B767Ef3o.js} +2 -2
- package/_assets/{index-C1ILo9mK.js → index-B8pq8JLn.js} +2 -2
- package/_assets/{index-CcMloegU.js → index-B9LTXTJ_.js} +3 -3
- package/_assets/{index-CcJ1bQOV.js → index-BBmOO_5v.js} +2 -2
- package/_assets/{index-B0AMIOfY.js → index-BHeP5cAB.js} +2 -2
- package/_assets/{index-BbYwNUDQ.js → index-BIDLTLRs.js} +4 -4
- package/_assets/{index-BMWj60Rz.js → index-BJOeyXU6.js} +2 -2
- package/_assets/{index-D2iQXB_K.js → index-BT2VuKr_.js} +2 -2
- package/_assets/{index-QryiMDf6.js → index-BUJII-te.js} +2 -2
- package/_assets/{index-Bo1Z5mEG.js → index-BYf--6IB.js} +2 -2
- package/_assets/{index-D6OhFIgK.js → index-BbOkb2Lk.js} +2 -2
- package/_assets/{index-Dh747mI9.js → index-BbvUH58s.js} +5 -5
- package/_assets/{index-BgewSO5d.js → index-BlyJ0EeU.js} +2 -2
- package/_assets/{index-TwJnCsCt.js → index-Bt53hnH3.js} +2 -2
- package/_assets/{index-D_b2TfPS.js → index-BymYE2Hq.js} +2 -2
- package/_assets/{index-Ch8ZdFvj.js → index-C11xAGLj.js} +3 -3
- package/_assets/{index-CkhRwzDn.js → index-C3N8gNG5.js} +2 -2
- package/_assets/{index-DHrx45E-.js → index-C9g_L_xU.js} +8 -8
- package/_assets/{index-Bece1vl_.js → index-CBqzQu4b.js} +3 -3
- package/_assets/{index-BIU1Xflg.js → index-CFkA928w.js} +2 -2
- package/_assets/{index-8c2AE2rL.js → index-CKir0NTC.js} +6 -6
- package/_assets/{index-BjvOCOXo.js → index-CLkKFzPp.js} +5 -5
- package/_assets/{index-DSYn1rPz.js → index-CMGA6Ehu.js} +7 -7
- package/_assets/{index-Cg4gI1gY.js → index-CO3xBlL2.js} +4 -4
- package/_assets/{index-EO54jEJz.js → index-CTpgpMEc.js} +9 -9
- package/_assets/index-CZBL8oDN.css +1 -0
- package/_assets/{index-DBjGF5O5.js → index-C_vB1IQd.js} +4 -4
- package/_assets/{index-D3vbPDep.js → index-Cfg8NIxf.js} +4 -4
- package/_assets/{index-BLF43zxA.js → index-Cfiy7F58.js} +2 -2
- package/_assets/{index-DntLKm7o.js → index-ChkZ_3N-.js} +2 -2
- package/_assets/{index-DKNSn9FC.js → index-Ci7OJEKI.js} +4 -4
- package/_assets/{index-BqXgj2c4.js → index-CiVDvcz9.js} +17 -17
- package/_assets/{index-C3ELTXuu.js → index-CqA25hIa.js} +3 -3
- package/_assets/{index-D7KJ3B17.js → index-CspzAmAd.js} +4 -4
- package/_assets/{index-C6WGvNBW.js → index-CulTnm_-.js} +3 -3
- package/_assets/{index-DHmdplW7.js → index-CzONDXJm.js} +3 -3
- package/_assets/{index-Je254H6v.js → index-D2_5jCAk.js} +5 -5
- package/_assets/{index-DhZR3d6F.js → index-DEL0w41-.js} +2 -2
- package/_assets/{index-DB5YO8eU.js → index-DGoH3dH-.js} +9 -9
- package/_assets/{index-C8USgWUh.js → index-DHIc5ihj.js} +6 -6
- package/_assets/{index-jo5IZGw6.js → index-DILi1pU7.js} +2 -2
- package/_assets/{index-DDwh5CzB.js → index-DOE5PvRf.js} +4 -4
- package/_assets/{index-B3cule6M.js → index-DSZlP7vv.js} +2 -2
- package/_assets/{index-kSQR1Rng.js → index-DWpJbdNp.js} +2 -2
- package/_assets/{index-CQyQWevE.js → index-Dbzum1xk.js} +2 -2
- package/_assets/{index-CORj9AA6.js → index-DhxbjStl.js} +3 -3
- package/_assets/{index-BE-bCzXU.js → index-DrYTVtgg.js} +2 -2
- package/_assets/{index-DBkGVGV_.js → index-DsKy4xQX.js} +2 -2
- package/_assets/index-DuuWxLJb.js +2 -0
- package/_assets/{index-BbT8qu_L.js → index-DxPCOmel.js} +3 -3
- package/_assets/{index-BpgGRt4i.js → index-DyXRsRBM.js} +3 -3
- package/_assets/{index-C7RUGLgx.js → index-DzQkIbqv.js} +499 -500
- package/_assets/{index-ApdCRpGh.js → index-FgD-q8nY.js} +2 -2
- package/_assets/index-Q91sfGFW.js +2 -0
- package/_assets/{index-BuUjwDYx.js → index-QEKAtx1e.js} +4 -4
- package/_assets/{index-AH8vZ3-a.js → index-VrmvnTaa.js} +4 -4
- package/_assets/{index-CToeVfXv.js → index-aYru672w.js} +2 -2
- package/_assets/{index-DNZQtb01.js → index-gl06JVkD.js} +3 -3
- package/_assets/{index-D6MOFBZd.js → index-jsed_aC3.js} +2 -2
- package/_assets/{index-BLu7rJtN.js → index-t1CDJb0U.js} +9 -9
- package/_assets/{index-Cw2X26uO.js → index-u3wacysv.js} +2 -2
- package/_assets/{index.es-B-n7bK95.js → index.es-89IU7kpU.js} +2 -2
- package/_assets/{index.es-yT5643Oy.js → index.es-BxUByfMu.js} +2 -2
- package/_assets/{index.es-Dn-oiXGY.js → index.es-CeXL7thu.js} +2 -2
- package/_assets/{index.es-C50Venyf.js → index.es-O2YZpGjD.js} +5 -5
- package/_assets/{info-D8HlAvAX.js → info-CULnZZaj.js} +2 -2
- package/_assets/{info-circle-BhZLPW19.js → info-circle-lLJ-CNp2.js} +3 -3
- package/_assets/{items-empty-CSlmEyZz.js → items-empty-Bo2ok7jY.js} +2 -2
- package/_assets/jsxRuntime.module-gjtb1wYS.js +2 -0
- package/_assets/{jump-BOiqSS4M.js → jump-CfxL77MI.js} +2 -2
- package/_assets/{lightbulb-DzXtr_43.js → lightbulb-4T7s9a-o.js} +2 -2
- package/_assets/linkAccount-CH9thals.js +2 -0
- package/_assets/{localBatchGatewayRequest-MsW7s5by.js → localBatchGatewayRequest-CSeZ4gRB.js} +2 -2
- package/_assets/{mail-OX9dKj1y.js → mail-DhJDk7cH.js} +3 -3
- package/_assets/{mobile-yC6FSqHV.js → mobile-CydJ5WdV.js} +3 -3
- package/_assets/{modal.styles-B7xjPjYV.js → modal.styles-2uQXkegU.js} +2 -2
- package/_assets/{more-DOT52_aN.js → more-Dg2B8rio.js} +3 -3
- package/_assets/{native-UMs_9ER2.js → native-CTjG-6uw.js} +2 -2
- package/_assets/{network-placeholder-CCjuxrNi.js → network-placeholder-h8TrKQkX.js} +2 -2
- package/_assets/{networks-BxL8Ab1j.js → networks-DcWUPxCR.js} +2 -2
- package/_assets/{nftPlaceholder-DKgXm473.js → nftPlaceholder-B4g7qDN6.js} +3 -3
- package/_assets/off-UwuZMWU-.js +9 -0
- package/_assets/{onramp-DxZRTgp3.js → onramp-i_2R0Aty.js} +2 -2
- package/_assets/openzeppelin-CRJGheas.js +2 -0
- package/_assets/ownerOf-Cg4HNQ0Q.js +2 -0
- package/_assets/parseNft-C5TjCi9l.js +3 -0
- package/_assets/{parseSignature-BI_WyMN8.js → parseSignature-BkGllSKb.js} +2 -2
- package/_assets/{parseSignature-B_rheFpA.js → parseSignature-DlxX_eFH.js} +4 -4
- package/_assets/{passkeys-D1ovHh1n.js → passkeys-DHzFFqFt.js} +2 -2
- package/_assets/{pay-with-exchange-CAo2mIu7.js → pay-with-exchange-Da-95QjC.js} +2 -2
- package/_assets/{play-store-bj7y3y5Y.js → play-store-B1ADa5-a.js} +2 -2
- package/_assets/{plus-CfzKaqvY.js → plus-CkIDGwOx.js} +2 -2
- package/_assets/{prepare-contract-call-CC-FfypC.js → prepare-contract-call-DRyZHwAJ.js} +2 -2
- package/_assets/{qr-code-Bn6kdgY5.js → qr-code-DInpw8H9.js} +3 -3
- package/_assets/{qr-overlay-Dqlh9s-P.js → qr-overlay-B5-Cv-4F.js} +4 -4
- package/_assets/{react-D7J-E0MH.js → react-DaBuTM6Q.js} +2 -2
- package/_assets/{receive-Cqln7Zzs.js → receive-BxwWtavl.js} +2 -2
- package/_assets/{recycle-horizontal-Com6QZtq.js → recycle-horizontal-frlUVLoe.js} +2 -2
- package/_assets/{ref-CZIG3V0U.js → ref-BDtPbYkK.js} +3 -3
- package/_assets/{refresh-KnsbHvKc.js → refresh-BJgYdDWe.js} +3 -3
- package/_assets/{reown-logo-BuYZi0Rx.js → reown-logo-CptpO-OK.js} +2 -2
- package/_assets/{resolveImplementation-CbOxSd1Z.js → resolveImplementation-UAeMoslS.js} +2 -2
- package/_assets/{resume-buy-qr8Z1bgQ.js → resume-buy-DshgN9vm.js} +2 -2
- package/_assets/{rpc-6QQor2XU.js → rpc-xoh1bqpg.js} +2 -2
- package/_assets/{sales-empty-B3qcIyi6.js → sales-empty-B0QNGz8U.js} +2 -2
- package/_assets/{search-Ce8CzTDv.js → search-CovtTjFk.js} +3 -3
- package/_assets/{search-empty-B2ikWLFM.js → search-empty-CiaPLxpu.js} +2 -2
- package/_assets/{secp256k1-N7Qrv3ox.js → secp256k1-B6GZ7kat.js} +2 -2
- package/_assets/{secp256k1-DibZRl6e.js → secp256k1-CI4_BdKy.js} +2 -2
- package/_assets/{secp256k1-CQeO8_L9.js → secp256k1-IgPcu2TC.js} +2 -2
- package/_assets/{send-B-AElJGe.js → send-BqmhOSPb.js} +2 -2
- package/_assets/{send-fc370TIG.js → send-CMxH0R30.js} +2 -2
- package/_assets/{send-batch-transaction-UJjMLB2L.js → send-batch-transaction-_47YxVXu.js} +2 -2
- package/_assets/{send-eip712-transaction-DSyJkl_1.js → send-eip712-transaction-dUQPsneg.js} +3 -3
- package/_assets/send-gasless-transaction-C9qimzDD.js +3 -0
- package/_assets/send-transaction-C00epVak.js +3 -0
- package/_assets/{sendMetaTransaction-C6Fbql0T.js → sendMetaTransaction-D_Udygrx.js} +2 -2
- package/_assets/{sendRawTransaction-BapPv41W.js → sendRawTransaction-3Tc8O82f.js} +4 -4
- package/_assets/{sentry-BK5YQzUx.js → sentry-ilLelGl_.js} +3 -3
- package/_assets/{serializeTransaction-vu5gUsgc.js → serializeTransaction-BN5Z150K.js} +2 -2
- package/_assets/session-proposal-DFNQHP37.js +2 -0
- package/_assets/{session-request-BSVWGsvU.js → session-request-D-kuAKOc.js} +3 -3
- package/_assets/{sha256-CEHbBAco.js → sha256-C6I6NkPD.js} +2 -2
- package/_assets/sha3-CcKshJ6_.js +2 -0
- package/_assets/signin-empty-C52WOkGa.js +2 -0
- package/_assets/{signing-BmfCro8S.js → signing-D_eQ6aEY.js} +4 -4
- package/_assets/{skeleton.styles-BN71VInw.js → skeleton.styles-B7ceCvK9.js} +2 -2
- package/_assets/{socials-BHFgLpAJ.js → socials-DCNPHMgt.js} +2 -2
- package/_assets/{styled-Doc5cwwv.js → styled-TsFrVdC0.js} +3 -3
- package/_assets/{swapHorizontal-CVwm3cGO.js → swapHorizontal-BzkqO77h.js} +3 -3
- package/_assets/{swapHorizontalBold-BJtM3bfy.js → swapHorizontalBold-Ci7CW-Ps.js} +2 -2
- package/_assets/{swapHorizontalMedium-Dy-L1gY3.js → swapHorizontalMedium-BIJFHqWY.js} +3 -3
- package/_assets/{swapHorizontalRoundedBold-CISDmUGp.js → swapHorizontalRoundedBold-DgbOKQnq.js} +2 -2
- package/_assets/{swapVertical-DOqonLJ7.js → swapVertical-AbfbZRwH.js} +2 -2
- package/_assets/{swaps-K7u4TcXn.js → swaps-CicFV6pq.js} +2 -2
- package/_assets/{telegram-BgdgHDgu.js → telegram-D7G_eJ_b.js} +2 -2
- package/_assets/{thirdweb-BcMQ69Q0.js → thirdweb-Vp1uscmH.js} +4 -4
- package/_assets/{three-dots-QLVpeBJu.js → three-dots-OoMaedcW.js} +2 -2
- package/_assets/{to-serializable-transaction-BrhQQJr8.js → to-serializable-transaction-BT5px6SS.js} +3 -3
- package/_assets/totalSupply-CkL8_XXt.js +2 -0
- package/_assets/{transaction-HCF_3XYc.js → transaction-sOBP-DPj.js} +2 -2
- package/_assets/transactionReceipt--9bOdV8l.js +2 -0
- package/_assets/transactions-CWkneGU6.js +17 -0
- package/_assets/{twitch-DQ-6J5eN.js → twitch-XFZ_dW-0.js} +2 -2
- package/_assets/{twitterIcon-DqfN9e83.js → twitterIcon-DFIrOz7L.js} +2 -2
- package/_assets/{useCreditPacks-C4goi1v6.js → useCreditPacks-DGUqMJ6U.js} +2 -2
- package/_assets/{useInfiniteGrid-x8-KLPvB.js → useInfiniteGrid-DpNO4hZU.js} +2 -2
- package/_assets/useStore-HIvj56kg.js +3 -0
- package/_assets/useTheme-5m8LACXM.js +2 -0
- package/_assets/{utils-BIDnbzds.js → utils-Ci73E7nx.js} +2 -2
- package/_assets/{verify-B6D4ZoTL.js → verify-CtqWYnsr.js} +3 -3
- package/_assets/{verify-filled-IL97d6Q4.js → verify-filled-db_bDI2X.js} +3 -3
- package/_assets/{verifyHash-zWGUEzxO.js → verifyHash-Bk-B5GPz.js} +2 -2
- package/_assets/{w3m-modal-DieNoy5B.js → w3m-modal-BTUtrhm6.js} +2 -2
- package/_assets/{w3m-modal-npxivmAE.js → w3m-modal-BtyAd8rE.js} +2 -2
- package/_assets/wait-for-tx-receipt-Cbmd9TUG.js +2 -0
- package/_assets/{wallet-CeCbopsa.js → wallet-C7Nkm-1r.js} +3 -3
- package/_assets/{wallet-placeholder-Crzo6d1g.js → wallet-placeholder-BAZfiJ4M.js} +2 -2
- package/_assets/{walletconnect-CeZHyiFa.js → walletconnect-jD4HJXgj.js} +2 -2
- package/_assets/{wallets-BX3reIDg.js → wallets-CUIygOS2.js} +6 -6
- package/_assets/{warning-circle-CYZb1kuW.js → warning-circle-DG9C8ETA.js} +3 -3
- package/_assets/{web-connector-B-Qttl4q.js → web-connector-BIkHBHih.js} +4 -4
- package/_assets/{writeContract-DBB3GCUP.js → writeContract-CEDCT-Ld.js} +2 -2
- package/_assets/{x-EU6Vt-ZK.js → x-B-2M90IQ.js} +2 -2
- package/_assets/{zora-sepolia-4aZYsx8C.js → zora-sepolia-C43Ueozz.js} +2 -2
- package/_assets/{zoraTestnet-k4gEq1qt.js → zoraTestnet-CnMCD5vw.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Cart-Cz1_8pDF.js +0 -748
- package/_assets/Confetti-TvBa-8L0.js +0 -18
- package/_assets/ItemDetail-O0E45P4x.js +0 -3778
- package/_assets/LoadMore-DgGHun07.js +0 -8
- package/_assets/MyAssets-B_B3e16w.js +0 -1077
- package/_assets/NotFound-C19ay2J0.js +0 -18
- package/_assets/OutfitPreview-DnePnq6P.js +0 -7
- package/_assets/PhArrowUpRight-8pk20n2b.js +0 -15
- package/_assets/PhCaretDown-CAvzPGfo.js +0 -15
- package/_assets/PhCaretRight-fBgGDQoN.js +0 -15
- package/_assets/all-wallets-BC47z7en.js +0 -7
- package/_assets/arrow-left-ClBN6Qh3.js +0 -9
- package/_assets/async-directive-DRvTtDkq.js +0 -10
- package/_assets/builder-CEDpBFkW.js +0 -2
- package/_assets/buy-gasless-mSBHbIka.js +0 -2
- package/_assets/common-TqxBDIuh.js +0 -2
- package/_assets/crumbs.styles-BqMPTZMi.js +0 -10
- package/_assets/decimals-BlmrI4QX.js +0 -2
- package/_assets/decimals-CZlYYHvF.js +0 -2
- package/_assets/detectExtension-BES_31hM.js +0 -2
- package/_assets/estimate-l1-fee-Dh31wn7V.js +0 -2
- package/_assets/eth_estimateGas-UbaxlGnG.js +0 -2
- package/_assets/eth_getStorageAt-BUvTw4uP.js +0 -2
- package/_assets/eth_getTransactionCount-CGFdAd5L.js +0 -2
- package/_assets/ethereum-TadlwfdZ.js +0 -2
- package/_assets/fetchTokenMetadata-C1uUHgz6.js +0 -3
- package/_assets/get-ecosystem-wallet-info-W6y9v6fC.js +0 -2
- package/_assets/getInstalledModules-DWdNC3R0.js +0 -2
- package/_assets/getNFT-Op6nNTCr.js +0 -2
- package/_assets/in-app-wallet-calls-BivXJ6s-.js +0 -2
- package/_assets/index-Bi7YdA0p.js +0 -2
- package/_assets/index-ByiMU36z.css +0 -1
- package/_assets/index-OxIuflSf.js +0 -2
- package/_assets/jsxRuntime.module-DnBCkw57.js +0 -2
- package/_assets/linkAccount-B6zz4AhU.js +0 -2
- package/_assets/off-B-mPtvC1.js +0 -9
- package/_assets/openzeppelin-Cr4Y9xjf.js +0 -2
- package/_assets/ownerOf-DY8a2-2C.js +0 -2
- package/_assets/parseNft-DPdft2uD.js +0 -3
- package/_assets/send-gasless-transaction-ByJ2YdbP.js +0 -3
- package/_assets/send-transaction-8aUtEDXf.js +0 -3
- package/_assets/session-proposal-DigsDD4x.js +0 -2
- package/_assets/sha3-BShx66Ks.js +0 -2
- package/_assets/signin-empty-K31kGWGu.js +0 -2
- package/_assets/totalSupply-CuA1naxr.js +0 -2
- package/_assets/transactionReceipt-07DpCAC0.js +0 -2
- package/_assets/transactions-a9mQj56V.js +0 -17
- package/_assets/useStore-fPz8-87J.js +0 -3
- package/_assets/useTheme-DQw02uin.js +0 -2
- package/_assets/wait-for-tx-receipt-CLSVYeXT.js +0 -2
- package/_assets/wallet-Bhi-khZu.js +0 -2
- /package/_assets/{ItemDetail-B4Ll03xN.css → SaleCountdown-B4Ll03xN.css} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as s}from"./parseSignature-BI_WyMN8.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-BI_WyMN8.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-SA3P34sS.js";import{h as n}from"./W3MFrameProviderSingleton-bGfA1Ldc.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-bGfA1Ldc.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-C2mA-_Ya.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-BapPv41W.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-BjxqyJnO.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-MsW7s5by.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-CNvm_wRE.js";import{d as c}from"./verifyHash-zWGUEzxO.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-zWGUEzxO.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-vu5gUsgc.js";import"./secp256k1-N7Qrv3ox.js";import"./dcl-schemas-BKQ0vYZF.js";import"./react-D7J-E0MH.js";import"./index-Cw2X26uO.js";import"./sentry-BK5YQzUx.js";import"./index-C3ELTXuu.js";import"./events-DxeiWjZO.js";import"./index-C7RUGLgx.js";import"./ethers-CqnE9_Iy.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-BaElO0Yy.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-BkGllSKb.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-BkGllSKb.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-DP7Ww2Mp.js";import{h as n}from"./W3MFrameProviderSingleton-ByxVGL9W.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-ByxVGL9W.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-Cp-gtHa0.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-3Tc8O82f.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-BXTiCI6R.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-CSeZ4gRB.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-BQaVTqUi.js";import{d as c}from"./verifyHash-Bk-B5GPz.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-Bk-B5GPz.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-BN5Z150K.js";import"./secp256k1-B6GZ7kat.js";import"./dcl-schemas-n1W5glLl.js";import"./react-DaBuTM6Q.js";import"./index-u3wacysv.js";import"./sentry-ilLelGl_.js";import"./index-CqA25hIa.js";import"./events-C-1hKiSc.js";import"./index-DzQkIbqv.js";import"./ethers-OrSZ5jmz.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-BVvT8_Fp.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-DsKy4xQX.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./react-DaBuTM6Q.js";import{r as f}from"./index-DEL0w41-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="83d98e84-18dc-4e41-a974-dbe55ff44bf0",e._sentryDebugIdIdentifier="sentry-dbid-83d98e84-18dc-4e41-a974-dbe55ff44bf0")}catch{}})();function i(e,r){for(var o=0;o<r.length;o++){const t=r[o];if(typeof t!="string"&&!Array.isArray(t)){for(const n in t)if(n!=="default"&&!(n in e)){const d=Object.getOwnPropertyDescriptor(t,n);d&&Object.defineProperty(e,n,d.get?d:{enumerable:!0,get:()=>t[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var s=f();const c=i({__proto__:null},[s]);export{c as i};
|
|
2
|
+
//# sourceMappingURL=index-DuuWxLJb.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-
|
|
2
|
-
import{_ as b}from"./index-C7RUGLgx.js";import{c as T,C as O,a as G,P as k}from"./index-DDwh5CzB.js";import{i as bt}from"./index-DDwh5CzB.js";import{aI as D,aR as B,bh as F}from"./sendRawTransaction-BapPv41W.js";import{x as L,af as z,a5 as _,Y as f,u as x,al as H,r as Y}from"./NetworkUtil-C2mA-_Ya.js";import{G as J,w as U,a as E}from"./W3MFrameProviderSingleton-bGfA1Ldc.js";import{a as P}from"./custom-SA3P34sS.js";import"./react-D7J-E0MH.js";import"./dcl-schemas-BKQ0vYZF.js";import"./sentry-BK5YQzUx.js";import"./ethers-CqnE9_Iy.js";import"./intl-AKLEHPeO.js";import"./index-Cw2X26uO.js";import"./index-C3ELTXuu.js";import"./events-DxeiWjZO.js";import"./browser-ponyfill-BaElO0Yy.js";import"./index-Bi7YdA0p.js";import"./index-CQyQWevE.js";import"./store-80QKZ2rN.js";import"./writeContract-DBB3GCUP.js";(function(){try{var M=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},p=new M.Error().stack;p&&(M._sentryDebugIds=M._sentryDebugIds||{},M._sentryDebugIds[p]="daf865f8-0989-4c3a-971c-b8a4d25cea29",M._sentryDebugIdIdentifier="sentry-dbid-daf865f8-0989-4c3a-971c-b8a4d25cea29")}catch{}})();function K(M,{body:p,onError:u,onResponse:l}){return M.request({body:p,onError:u,onResponse:l}),M}async function X(M,{body:p,timeout:u=1e4}){return M.requestAsync({body:p,timeout:u})}const m={http(M,p){return J(M).request(p)},webSocket:K,webSocketAsync:X};Q.type="mock";function Q(M){const p=new Map,u=M.features??{defaultConnected:!1};let l=u.defaultConnected,r;return T(o=>({id:"mock",name:"Mock Connector",type:Q.type,async setup(){r=o.chains[0].id},async connect({chainId:t,withCapabilities:e}={}){if(u.connectError)throw typeof u.connectError=="boolean"?new f(new Error("Failed to connect.")):u.connectError;const a=await(await this.getProvider()).request({method:"eth_requestAccounts"});let n=await this.getChainId();return t&&n!==t&&(n=(await this.switchChain({chainId:t})).id),l=!0,{accounts:e?a.map(i=>({address:D(i),capabilities:{foo:{bar:i}}})):a.map(i=>D(i)),chainId:n}},async disconnect(){l=!1},async getAccounts(){if(!l)throw new G;return(await(await this.getProvider()).request({method:"eth_accounts"})).map(c=>D(c))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return _(e,"number")},async isAuthorized(){return!u.reconnect||!l?!1:!!(await this.getAccounts()).length},async switchChain({chainId:t}){const e=await this.getProvider(),c=o.chains.find(a=>a.id===t);if(!c)throw new L(new O);return await e.request({method:"wallet_switchEthereumChain",params:[{chainId:z(t)}]}),c},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect"),l=!1},async getProvider({chainId:t}={}){const c=(o.chains.find(n=>n.id===t)??o.chains[0]).rpcUrls.default.http[0];return P({request:async({method:n,params:i})=>{if(n==="eth_chainId")return z(r);if(n==="eth_accounts"||n==="eth_requestAccounts")return M.accounts;if(n==="eth_signTypedData_v4"&&u.signTypedDataError)throw typeof u.signTypedDataError=="boolean"?new f(new Error("Failed to sign typed data.")):u.signTypedDataError;if(n==="wallet_switchEthereumChain"){if(u.switchChainError)throw typeof u.switchChainError=="boolean"?new f(new Error("Failed to switch chain.")):u.switchChainError;r=_(i[0].chainId,"number"),this.onChainChanged(r.toString());return}if(n==="wallet_watchAsset"){if(u.watchAssetError)throw typeof u.watchAssetError=="boolean"?new f(new Error("Failed to switch chain.")):u.watchAssetError;return l}if(n==="wallet_getCapabilities")return{"0x2105":{paymasterService:{supported:i[0]==="0x95132632579b073D12a6673e18Ab05777a6B86f8"},sessionKeys:{supported:!0}},"0x14A34":{paymasterService:{supported:i[0]==="0x95132632579b073D12a6673e18Ab05777a6B86f8"}}};if(n==="wallet_sendCalls"){const w=[],y=i[0].calls,h=i[0].from;for(const j of y){const{result:A,error:C}=await m.http(c,{body:{method:"eth_sendTransaction",params:[{...j,...typeof h<"u"?{from:h}:{}}]}});if(C)throw new x({body:{method:n,params:i},error:C,url:c});w.push(A)}const I=B(H(JSON.stringify(y)));return p.set(I,w),{id:I}}if(n==="wallet_getCallsStatus"){const w=p.get(i[0]);if(!w)return{atomic:!1,chainId:"0x1",id:i[0],status:100,receipts:[],version:"2.0.0"};const h=(await Promise.all(w.map(async I=>{const{result:j,error:A}=await m.http(c,{body:{method:"eth_getTransactionReceipt",params:[I],id:0}});if(A)throw new x({body:{method:n,params:i},error:A,url:c});return j?{blockHash:j.blockHash,blockNumber:j.blockNumber,gasUsed:j.gasUsed,logs:j.logs,status:j.status,transactionHash:j.transactionHash}:null}))).filter(I=>I!==null);return h.length===0?{atomic:!1,chainId:"0x1",id:i[0],status:100,receipts:[],version:"2.0.0"}:{atomic:!1,chainId:"0x1",id:i[0],status:200,receipts:h,version:"2.0.0"}}if(n==="wallet_showCallsStatus")return;if(n==="personal_sign"){if(u.signMessageError)throw typeof u.signMessageError=="boolean"?new f(new Error("Failed to sign message.")):u.signMessageError;n="eth_sign",i=[i[1],i[0]]}const s={method:n,params:i},{error:d,result:g}=await m.http(c,{body:s});if(d)throw new x({body:s,error:d,url:c});return g}})({retryCount:0})}}))}function $(M){var o,t,e;const{chain:p}=M,u=p.rpcUrls.default.http[0];if(!M.transports)return[u];const l=(t=(o=M.transports)==null?void 0:o[p.id])==null?void 0:t.call(o,{chain:p});return(((e=l==null?void 0:l.value)==null?void 0:e.transports)||[l]).map(({value:c})=>(c==null?void 0:c.url)||u)}const tt='data:image/svg+xml,<svg width="269" height="269" viewBox="0 0 269 269" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="269" height="269" fill="black"/><path d="M123.273 190.794H93.445L121.09 105.318H85.7334L93.445 80.2642H191.95L184.238 105.318H150.773L123.273 190.794Z" fill="white"/></svg>';function Nt(M={}){const{dialog:p,host:u,icon:l=tt,name:r,rdns:o,theme:t,...e}=M;return nt({createAdapter(c){return c.dialog({dialog:p,host:u,icon:l,name:r,rdns:o,theme:t})},icon:l,id:o??"xyz.tempo",name:r??"Tempo Wallet",providerParameters:e,rdns:o??"xyz.tempo",type:"injected"})}function nt(M){return T(p=>{const u=p.chains;let l,r,o,t,e;async function c(){return await b(()=>import("./core-MGlJp9r1.js"),[]).catch(()=>{throw new Error('dependency "accounts" not found')})}async function a(){return l??(l=(async()=>{const n=await c();return n.Provider.create({...M.providerParameters,adapter:M.createAdapter(n),chains:p.chains,transports:p.transports})})()),await l}return{icon:M.icon,id:M.id,name:M.name,rdns:M.rdns,type:M.type,async connect(n={}){const{chainId:i,isReconnecting:s,withCapabilities:d}=n,g="capabilities"in n?n.capabilities:void 0;let w=[],y;s&&(w=await this.getAccounts().then(h=>h.map(I=>({address:I,capabilities:{}}))).catch(()=>[]));try{if(!w.length&&!s&&(w=(await(await a()).request({method:"wallet_connect",params:[{...i?{chainId:i}:{},...g?{capabilities:g}:{}}]})).accounts),y??(y=await this.getChainId()),!y)throw new O;const h=await a();return t&&(h.removeListener("connect",t),t=void 0),r||(r=this.onAccountsChanged.bind(this),h.on("accountsChanged",r)),o||(o=this.onChainChanged.bind(this),h.on("chainChanged",o)),e||(e=this.onDisconnect.bind(this),h.on("disconnect",e)),{accounts:d?w:w.map(I=>I.address),chainId:y}}catch(h){const I=h;throw I.code===f.code?new f(I):I}},async disconnect(){var i;const n=await a();o&&(n.removeListener("chainChanged",o),o=void 0),e&&(n.removeListener("disconnect",e),e=void 0),t||(t=(i=this.onConnect)==null?void 0:i.bind(this),t&&n.on("connect",t)),await n.request({method:"wallet_disconnect"})},async getAccounts(){return await(await a()).request({method:"eth_accounts"})},async getChainId(){const n=await a();return Number(await n.request({method:"eth_chainId"}))},async getClient({chainId:n}={}){const i=await a(),{address:s}=i.getAccount({accessKey:!1});return Object.assign(i.getClient({chainId:n}),{account:F(s)})},async getProvider(){return await a()},async isAuthorized(){try{return!!(await U(()=>this.getAccounts())).length}catch{return!1}},onAccountsChanged(n){p.emitter.emit("change",{accounts:n})},onChainChanged(n){p.emitter.emit("change",{chainId:Number(n)})},async onConnect(n){const i=await this.getAccounts();if(i.length===0)return;const s=Number(n.chainId);p.emitter.emit("connect",{accounts:i,chainId:s});const d=await a();t&&(d.removeListener("connect",t),t=void 0),r||(r=this.onAccountsChanged.bind(this),d.on("accountsChanged",r)),o||(o=this.onChainChanged.bind(this),d.on("chainChanged",o)),e||(e=this.onDisconnect.bind(this),d.on("disconnect",e))},async onDisconnect(n){var s;const i=await a();p.emitter.emit("disconnect"),o&&(i.removeListener("chainChanged",o),o=void 0),e&&(i.removeListener("disconnect",e),e=void 0),t||(t=(s=this.onConnect)==null?void 0:s.bind(this),t&&i.on("connect",t))},async setup(){var n;if(!t){const i=await a();t=(n=this.onConnect)==null?void 0:n.bind(this),t&&i.on("connect",t)}},async switchChain({chainId:n}){const i=u.find(d=>d.id===n);if(!i)throw new L(new O);return await(await a()).request({method:"wallet_switchEthereumChain",params:[{chainId:z(n)}]}),i}}})}function jt(M={}){let p,u,l,r;return T(o=>({id:"baseAccount",name:"Base Account",rdns:"app.base.account",type:"baseAccount",async connect({chainId:t,withCapabilities:e,...c}={}){var a;try{const n=await this.getProvider(),i=t??((a=o.chains[0])==null?void 0:a.id);if(!i)throw new O;let{accounts:s,currentChainId:d}=await(async()=>{if(c.isReconnecting)return{accounts:(await n.request({method:"eth_accounts",params:[]})).map(h=>({address:D(h)})),currentChainId:await this.getChainId()};const g=await n.request({method:"wallet_connect",params:[{capabilities:"capabilities"in c&&c.capabilities?c.capabilities:{},chainIds:[z(i),...o.chains.filter(h=>h.id!==i).map(h=>z(h.id))]}]});return{accounts:(await n.request({method:"eth_accounts"})).map(h=>g.accounts.find(I=>I.address===h)??{address:h}).map(h=>({address:D(h.address),capabilities:h.capabilities??{}})),currentChainId:Number(g.chainIds[0])}})();if(u||(u=this.onAccountsChanged.bind(this),n.on("accountsChanged",u)),l||(l=this.onChainChanged.bind(this),n.on("chainChanged",l)),r||(r=this.onDisconnect.bind(this),n.on("disconnect",r)),t&&d!==t){const g=await this.switchChain({chainId:t}).catch(w=>{if(w.code===f.code)throw w;return{id:d}});d=(g==null?void 0:g.id)??d}return{accounts:e?s:s.map(g=>g.address),chainId:d}}catch(n){throw/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(n.message)?new f(n):n}},async disconnect(){const t=await this.getProvider();u&&(t.removeListener("accountsChanged",u),u=void 0),l&&(t.removeListener("chainChanged",l),l=void 0),r&&(t.removeListener("disconnect",r),r=void 0),t.disconnect()},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(e=>D(e))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return Number(e)},async getProvider(){if(!p){const t=(()=>{var a;return typeof M.preference=="string"?{options:M.preference}:{...M.preference,options:((a=M.preference)==null?void 0:a.options)??"all"}})(),{createBaseAccountSDK:e}=await(()=>{try{return b(()=>import("./index-CWpLrxaY.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]))}catch{throw new Error('dependency "@base-org/account" not found')}})();p=e({...M,appChainIds:o.chains.map(a=>a.id),preference:t}).getProvider()}return p},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){var n,i,s,d;const c=o.chains.find(g=>g.id===e);if(!c)throw new L(new O);const a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:z(c.id)}]}),c}catch(g){if(g.code===4902)try{let w;t!=null&&t.blockExplorerUrls?w=t.blockExplorerUrls:w=(n=c.blockExplorers)!=null&&n.default.url?[(i=c.blockExplorers)==null?void 0:i.default.url]:[];let y;(s=t==null?void 0:t.rpcUrls)!=null&&s.length?y=t.rpcUrls:y=[((d=c.rpcUrls.default)==null?void 0:d.http[0])??""];const h={blockExplorerUrls:w,chainId:z(e),chainName:(t==null?void 0:t.chainName)??c.name,iconUrls:t==null?void 0:t.iconUrls,nativeCurrency:(t==null?void 0:t.nativeCurrency)??c.nativeCurrency,rpcUrls:y};return await a.request({method:"wallet_addEthereumChain",params:[h]}),c}catch(w){throw new f(w)}throw new L(g)}},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect");const e=await this.getProvider();u&&(e.removeListener("accountsChanged",u),u=void 0),l&&(e.removeListener("chainChanged",l),l=void 0),r&&(e.removeListener("disconnect",r),r=void 0)}}))}q.type="coinbaseWallet";function q(M={}){let p,u,l,r;return T(o=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:q.type,async connect({chainId:t,withCapabilities:e,...c}={}){try{const a=await this.getProvider(),n=(await a.request({method:"eth_requestAccounts",params:"instantOnboarding"in c&&c.instantOnboarding?[{onboarding:"instant"}]:[]})).map(s=>D(s));u||(u=this.onAccountsChanged.bind(this),a.on("accountsChanged",u)),l||(l=this.onChainChanged.bind(this),a.on("chainChanged",l)),r||(r=this.onDisconnect.bind(this),a.on("disconnect",r));let i=await this.getChainId();if(t&&i!==t){const s=await this.switchChain({chainId:t}).catch(d=>{if(d.code===f.code)throw d;return{id:i}});i=(s==null?void 0:s.id)??i}return{accounts:e?n.map(s=>({address:s,capabilities:{}})):n,chainId:i}}catch(a){throw/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(a.message)?new f(a):a}},async disconnect(){var e;const t=await this.getProvider();u&&(t.removeListener("accountsChanged",u),u=void 0),l&&(t.removeListener("chainChanged",l),l=void 0),r&&(t.removeListener("disconnect",r),r=void 0),t.disconnect(),(e=t.close)==null||e.call(t)},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(e=>D(e))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return Number(e)},async getProvider(){if(!p){const{createCoinbaseWalletSDK:t}=await(()=>{try{return b(()=>import("./index-Ch8ZdFvj.js"),__vite__mapDeps([30,6,4,1,3,5,22,8,9,10,11,12,13,14,23,7,15,16,17,18,19,20,21,24,25,29,31]))}catch{throw new Error('dependency "@coinbase/wallet-sdk" not found')}})();p=t({...M,appChainIds:o.chains.map(c=>c.id),preference:{options:"all",...M.preference??{}}}).getProvider()}return p},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){var n,i,s,d;const c=o.chains.find(g=>g.id===e);if(!c)throw new L(new O);const a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:z(c.id)}]}),c}catch(g){if(g.code===4902)try{let w;t!=null&&t.blockExplorerUrls?w=t.blockExplorerUrls:w=(n=c.blockExplorers)!=null&&n.default.url?[(i=c.blockExplorers)==null?void 0:i.default.url]:[];let y;(s=t==null?void 0:t.rpcUrls)!=null&&s.length?y=t.rpcUrls:y=[((d=c.rpcUrls.default)==null?void 0:d.http[0])??""];const h={blockExplorerUrls:w,chainId:z(e),chainName:(t==null?void 0:t.chainName)??c.name,iconUrls:t==null?void 0:t.iconUrls,nativeCurrency:(t==null?void 0:t.nativeCurrency)??c.nativeCurrency,rpcUrls:y};return await a.request({method:"wallet_addEthereumChain",params:[h]}),c}catch(w){throw new f(w)}throw new L(g)}},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect");const e=await this.getProvider();u&&(e.removeListener("accountsChanged",u),u=void 0),l&&(e.removeListener("chainChanged",l),l=void 0),r&&(e.removeListener("disconnect",r),r=void 0)}}))}R.type="metaMask";function R(M={}){let p,u;return T(l=>({id:"metaMaskSDK",name:"MetaMask",rdns:["io.metamask","io.metamask.mobile"],type:R.type,async connect({chainId:r,isReconnecting:o,withCapabilities:t}={}){const e=await this.getInstance(),c=e.getProvider();let a=[];o&&(a=await this.getAccounts().catch(()=>[]));try{let n,i;if(!(a!=null&&a.length)){const d=l.chains.map(g=>z(g.id));M.connectAndSign||M.connectWith?(M.connectAndSign?n=(await e.connectAndSign({chainIds:d,message:M.connectAndSign})).signature:M.connectWith&&(i=(await e.connectWith({chainIds:d,method:M.connectWith.method,params:M.connectWith.params})).result),a=await this.getAccounts()):a=(await e.connect({chainIds:d})).accounts.map(w=>D(w))}let s=await this.getChainId();if(r&&s!==r){const d=await this.switchChain({chainId:r}).catch(g=>{if(g.code===f.code)throw g;return{id:s}});s=(d==null?void 0:d.id)??s}return n?c.emit("connectAndSign",{accounts:a,chainId:z(s),signResponse:n}):i&&c.emit("connectWith",{accounts:a,chainId:z(s),connectWithResponse:i}),{accounts:t?a.map(d=>({address:d,capabilities:{}})):a,chainId:s}}catch(n){const i=n;throw i.code===f.code?new f(i):i.code===Y.code?new Y(i):i}},async disconnect(){return(await this.getInstance()).disconnect()},async getAccounts(){var e;if(!p&&!u){const c=(e=l.providers[0])==null?void 0:e.provider;if(c)return(await c.request({method:"eth_accounts"})).map(n=>D(n))}const r=await this.getInstance();return r.accounts.length?r.accounts.map(c=>D(c)):(await r.getProvider().request({method:"eth_accounts"})).map(c=>D(c))},async getChainId(){var e;if(!p&&!u){const c=(e=l.providers[0])==null?void 0:e.provider;if(c){const a=await c.request({method:"eth_chainId"});return Number(a)}}const r=await this.getInstance();if(r.getChainId())return Number(r.getChainId());const t=await r.getProvider().request({method:"eth_chainId"});return Number(t)},async getProvider(){var o;if(!p&&!u){const t=(o=l.providers[0])==null?void 0:o.provider;if(t)return t}return(await this.getInstance()).getProvider()},async isAuthorized(){var r;try{if(!p&&!u){const e=(r=l.providers[0])==null?void 0:r.provider;if(e)return(await e.request({method:"eth_accounts"})).length>0}const o=10;return!!(await U(async()=>E(async()=>{const e=await this.getAccounts();if(!e.length)throw new Error("try again");return e},{timeout:o}),{delay:o+1,retryCount:3})).length}catch{return!1}},async switchChain({addEthereumChainParameter:r,chainId:o}){var c,a;const t=l.chains.find(({id:n})=>n===Number(o));if(!t)throw new L(new O);const e=z(o);try{return await(await this.getInstance()).switchChain({chainId:e,chainConfiguration:{blockExplorerUrls:r!=null&&r.blockExplorerUrls?[...r.blockExplorerUrls]:(c=t.blockExplorers)!=null&&c.default.url?[t.blockExplorers.default.url]:void 0,chainId:e,chainName:(r==null?void 0:r.chainName)??t.name,iconUrls:r==null?void 0:r.iconUrls,nativeCurrency:(r==null?void 0:r.nativeCurrency)??t.nativeCurrency,rpcUrls:r!=null&&r.rpcUrls?[...r.rpcUrls]:(a=t.rpcUrls.default)!=null&&a.http?[...t.rpcUrls.default.http]:void 0}}),t}catch(n){const i=n;throw i.code===f.code?new f(i):new L(i)}},async onAccountsChanged(r){l.emitter.emit("change",{accounts:r.map(o=>D(o))})},onChainChanged(r){const o=Number(r);l.emitter.emit("change",{chainId:o})},async onConnect(r){const o=await this.getAccounts();if(o.length===0)return;const t=Number(r.chainId);l.emitter.emit("connect",{accounts:o,chainId:t})},async onDisconnect(r){r&&r.code===1013&&await this.getProvider()&&(await this.getAccounts()).length||l.emitter.emit("disconnect")},onDisplayUri(r){l.emitter.emit("message",{type:"display_uri",data:r})},async getInstance(){var r;if(!p){if(!u){const{createEVMClient:o}=await(async()=>{try{return b(()=>import("./connectors-BT2XrNvd.js"),[])}catch{throw new Error('dependency "@metamask/connect-evm" not found')}})(),t=typeof window>"u"?{name:"wagmi"}:{name:window.location.hostname,url:window.location.href};u=o({...M,skipAutoAnnounce:!0,api:{supportedNetworks:Object.fromEntries(l.chains.map(e=>{var c;return[z(e.id),((c=e.rpcUrls.default)==null?void 0:c.http[0])??""]}))},dapp:M.dapp??{...t,...M.dappMetadata},debug:M.debug??((r=M.logging)==null?void 0:r.sdk),eventHandlers:{accountsChanged:this.onAccountsChanged.bind(this),chainChanged:this.onChainChanged.bind(this),connect:this.onConnect.bind(this),disconnect:this.onDisconnect.bind(this),displayUri:this.onDisplayUri.bind(this)},analytics:{integrationType:"wagmi"},ui:{...M.ui,...M.headless!=null&&{headless:M.headless}},...M.mobile&&{mobile:M.mobile}})}p=await u}return p}}))}function zt(M={}){const p=u=>typeof u.on=="function"&&typeof u.removeListener=="function";return T(u=>{const l=u.chains??M.chains??[],r=u.transports?u.transports:M.transports;let o,t,e,c,a;return{async connect({chainId:n=l[0].id,...i}={}){const s="isReconnecting"in i&&i.isReconnecting||!1,d="withCapabilities"in i&&i.withCapabilities||!1;let g=[],w;if(s&&([g,w]=await Promise.all([this.getAccounts().catch(()=>[]),this.getChainId().catch(()=>{})]),n&&w!==n)){const h=await this.switchChain({chainId:n}).catch(I=>{if(I.code===f.code)throw I;return{id:w}});w=(h==null?void 0:h.id)??w}const y=await this.getProvider();try{if(!(g!=null&&g.length)&&!s){const{RpcSchema:h}=await(()=>{try{return b(()=>import("./connectors-CRUo0P66.js"),[])}catch{throw new Error('dependency "porto" not found')}})(),{z:I}=await(()=>{try{return b(()=>import("./connectors-CChlcxBj.js"),[])}catch{throw new Error('dependency "porto/internal" not found')}})(),j=await y.request({method:"wallet_connect",params:[{..."capabilities"in i?{capabilities:I.encode(h.wallet_connect.Capabilities,i.capabilities??{})}:{},chainIds:[z(n),...l.filter(A=>A.id!==n).map(A=>z(A.id))]}]});g=j.accounts,w=Number(j.chainIds[0])}if(!w)throw new O;return p(y)&&(c&&(y.removeListener("connect",c),c=void 0),t||(t=this.onAccountsChanged.bind(this),y.on("accountsChanged",t)),e||(e=this.onChainChanged.bind(this),y.on("chainChanged",e)),a||(a=this.onDisconnect.bind(this),y.on("disconnect",a))),{accounts:g.map(h=>typeof h=="object"?d?h:h.address:d?{address:h,capabilities:{}}:h),chainId:w}}catch(h){const I=h;throw I.code===f.code?new f(I):I}},async disconnect(){const n=await this.getProvider();p(n)&&(e&&(n.removeListener("chainChanged",e),e=void 0),a&&(n.removeListener("disconnect",a),a=void 0),c||(c=this.onConnect.bind(this),n.on("connect",c))),await n.request({method:"wallet_disconnect"})},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(s=>D(s))},async getChainId(){const i=await(await this.getProvider()).request({method:"eth_chainId"});return Number(i)},async getPortoInstance(){return o??(o=(async()=>{const{Porto:n}=await(()=>{try{return b(()=>import("./connectors-CRUo0P66.js"),[])}catch{throw new Error('dependency "porto" not found')}})();return n.create({...M,announceProvider:!1,chains:l,transports:r})})()),await o},async getProvider(){return(await this.getPortoInstance()).provider},icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIyIiBoZWlnaHQ9IjQyMiIgdmlld0JveD0iMCAwIDQyMiA0MjIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSI0MjIiIGhlaWdodD0iNDIyIiBmaWxsPSJibGFjayIvPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMV8xNSkiPgo8cGF0aCBkPSJNODEgMjg2LjM2NkM4MSAyODAuODkzIDg1LjQ1MDUgMjc2LjQ1NSA5MC45NDA0IDI3Ni40NTVIMzI5LjUxMUMzMzUuMDAxIDI3Ni40NTUgMzM5LjQ1MiAyODAuODkzIDMzOS40NTIgMjg2LjM2NlYzMDYuMTg4QzMzOS40NTIgMzExLjY2MiAzMzUuMDAxIDMxNi4wOTkgMzI5LjUxMSAzMTYuMDk5SDkwLjk0MDRDODUuNDUwNSAzMTYuMDk5IDgxIDMxMS42NjIgODEgMzA2LjE4OFYyODYuMzY2WiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC41Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOTAuOTQwNCAyMzQuODI4Qzg1LjQ1MDUgMjM0LjgyOCA4MSAyMzkuMjY2IDgxIDI0NC43MzlWMjcxL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l0ZSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzFfMTUiPgo8cmVjdCB3aWR0aD0iMjU5IiBoZWlnaHQ9IjIxMyIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgxIDEwNCkiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K",id:"xyz.ithaca.porto",async isAuthorized(){try{return!!(await U(()=>this.getAccounts())).length}catch{return!1}},name:"Porto",async onAccountsChanged(n){u.emitter.emit("change",{accounts:n.map(i=>D(i))})},onChainChanged(n){const i=Number(n);u.emitter.emit("change",{chainId:i})},async onConnect(n){const i=await this.getAccounts();if(i.length===0)return;const s=Number(n.chainId);u.emitter.emit("connect",{accounts:i,chainId:s});const d=await this.getProvider();p(d)&&(c&&(d.removeListener("connect",c),c=void 0),t||(t=this.onAccountsChanged.bind(this),d.on("accountsChanged",t)),e||(e=this.onChainChanged.bind(this),d.on("chainChanged",e)),a||(a=this.onDisconnect.bind(this),d.on("disconnect",a)))},async onDisconnect(n){const i=await this.getProvider();u.emitter.emit("disconnect"),p(i)&&(e&&(i.removeListener("chainChanged",e),e=void 0),a&&(i.removeListener("disconnect",a),a=void 0),c||(c=this.onConnect.bind(this),i.on("connect",c)))},async setup(){if(!c){const n=await this.getProvider();if(!p(n))return;c=this.onConnect.bind(this),n.on("connect",c)}},async switchChain({chainId:n}){const i=l.find(d=>d.id===n);if(!i)throw new L(new O);return await(await this.getProvider()).request({method:"wallet_switchEthereumChain",params:[{chainId:z(n)}]}),i},type:"injected"}})}W.type="safe";function W(M={}){const{shimDisconnect:p=!1}=M;let u,l;return T(r=>({id:"safe",name:"Safe",type:W.type,async connect({withCapabilities:o}={}){var a;const t=await this.getProvider();if(!t)throw new k;const e=await this.getAccounts(),c=await this.getChainId();return l||(l=this.onDisconnect.bind(this),t.on("disconnect",l)),p&&await((a=r.storage)==null?void 0:a.removeItem("safe.disconnected")),{accounts:o?e.map(n=>({address:n,capabilities:{}})):e,chainId:c}},async disconnect(){var t;const o=await this.getProvider();if(!o)throw new k;l&&(o.removeListener("disconnect",l),l=void 0),p&&await((t=r.storage)==null?void 0:t.setItem("safe.disconnected",!0))},async getAccounts(){const o=await this.getProvider();if(!o)throw new k;return(await o.request({method:"eth_accounts"})).map(D)},async getProvider(){if(typeof window<"u"&&(window==null?void 0:window.parent)!==window){if(!u){const{default:t}=await(()=>{try{return b(()=>import("./index-BgSm7poL.js"),__vite__mapDeps([32,4,33,8,9,10,11,6,12,13,14,24]))}catch{throw new Error('dependency "@safe-global/safe-apps-sdk" not found')}})(),e=new t(M),c=await E(()=>e.safe.getInfo(),{timeout:M.unstable_getInfoTimeout??10});if(!c)throw new Error("Could not load Safe information");const a=await(async()=>{const n=await(()=>{try{return b(()=>import("./index-_eXXkY79.js").then(i=>i.i),__vite__mapDeps([34,4,33,35,10,19]))}catch{throw new Error('dependency "@safe-global/safe-apps-provider" not found')}})();return typeof n.SafeAppProvider!="function"&&typeof n.default.SafeAppProvider=="function"?n.default.SafeAppProvider:n.SafeAppProvider})();u=new a(c,e)}return u}},async getChainId(){const o=await this.getProvider();if(!o)throw new k;return Number(o.chainId)},async isAuthorized(){var o;try{return p&&await((o=r.storage)==null?void 0:o.getItem("safe.disconnected"))?!1:!!(await this.getAccounts()).length}catch{return!1}},onAccountsChanged(){},onChainChanged(){},onDisconnect(){r.emitter.emit("disconnect")}}))}const At="8.0.20";Z.type="walletConnect";function Z(M){const p=M.isNewChainsStale??!0;let u,l;const r="eip155";let o,t,e,c,a,n;return T(i=>({id:"walletConnect",name:"WalletConnect",type:Z.type,async setup(){const s=await this.getProvider().catch(()=>null);s&&(e||(e=this.onConnect.bind(this),s.on("connect",e)),a||(a=this.onSessionDelete.bind(this),s.on("session_delete",a)))},async connect({chainId:s,withCapabilities:d,...g}={}){var w,y;try{const h=await this.getProvider();if(!h)throw new k;c||(c=this.onDisplayUri,h.on("display_uri",c));let I=s;if(!I){const N=await((w=i.storage)==null?void 0:w.getItem("state"))??{};i.chains.some(S=>S.id===N.chainId)?I=N.chainId:I=(y=i.chains[0])==null?void 0:y.id}if(!I)throw new Error("No chains found on connector.");const j=await this.isChainsStale();if(h.session&&j&&await h.disconnect(),!h.session||j){const N=i.chains.filter(v=>v.id!==I).map(v=>v.id);await h.connect({optionalChains:[I,...N],..."pairingTopic"in g?{pairingTopic:g.pairingTopic}:{}}),this.setRequestedChainsIds(i.chains.map(v=>v.id))}const A=(await h.enable()).map(N=>D(N));let C=await this.getChainId();if(s&&C!==s){const N=await this.switchChain({chainId:s}).catch(v=>{var S;if(v.code===f.code&&((S=v.cause)==null?void 0:S.message)!=="Missing or invalid. request() method: wallet_addEthereumChain")throw v;return{id:C}});C=(N==null?void 0:N.id)??C}return c&&(h.removeListener("display_uri",c),c=void 0),e&&(h.removeListener("connect",e),e=void 0),o||(o=this.onAccountsChanged.bind(this),h.on("accountsChanged",o)),t||(t=this.onChainChanged.bind(this),h.on("chainChanged",t)),n||(n=this.onDisconnect.bind(this),h.on("disconnect",n)),a||(a=this.onSessionDelete.bind(this),h.on("session_delete",a)),{accounts:d?A.map(N=>({address:N,capabilities:{}})):A,chainId:C}}catch(h){throw/(user rejected|connection request reset)/i.test(h==null?void 0:h.message)?new f(h):h}},async disconnect(){const s=await this.getProvider();try{await(s==null?void 0:s.disconnect())}catch(d){if(!/No matching key/i.test(d.message))throw d}finally{t&&(s==null||s.removeListener("chainChanged",t),t=void 0),n&&(s==null||s.removeListener("disconnect",n),n=void 0),e||(e=this.onConnect.bind(this),s==null||s.on("connect",e)),o&&(s==null||s.removeListener("accountsChanged",o),o=void 0),a&&(s==null||s.removeListener("session_delete",a),a=void 0),this.setRequestedChainsIds([])}},async getAccounts(){return(await this.getProvider()).accounts.map(d=>D(d))},async getProvider({chainId:s}={}){var g;async function d(){const w=i.chains.map(h=>h.id);if(!w.length)return;const{EthereumProvider:y}=await(()=>{try{return b(()=>import("./index.es-C50Venyf.js").then(h=>h.n),__vite__mapDeps([36,11,4,6,10,12,13,14,18,19,37,17,29,38,39,20]))}catch{throw new Error('dependency "@walletconnect/ethereum-provider" not found')}})();return await y.init({...M,disableProviderPing:!0,optionalChains:w,projectId:M.projectId,rpcMap:Object.fromEntries(i.chains.map(h=>{const[I]=$({chain:h,transports:i.transports});return[h.id,I]})),showQrModal:M.showQrModal??!0})}return u||(l||(l=d()),u=await l,u==null||u.events.setMaxListeners(Number.POSITIVE_INFINITY)),s&&await((g=this.switchChain)==null?void 0:g.call(this,{chainId:s})),u},async getChainId(){return(await this.getProvider()).chainId},async isAuthorized(){try{const[s,d]=await Promise.all([this.getAccounts(),this.getProvider()]);return s.length?await this.isChainsStale()&&d.session?(await d.disconnect().catch(()=>{}),!1):!0:!1}catch{return!1}},async switchChain({addEthereumChainParameter:s,chainId:d}){var h,I,j;const g=await this.getProvider();if(!g)throw new k;const w=i.chains.find(A=>A.id===d);if(!w)throw new L(new O);let y=()=>{};try{await Promise.all([new Promise(C=>{y=N=>{N.chainId===d&&(i.emitter.off("change",y),C())},i.emitter.on("change",y)}),g.request({method:"wallet_switchEthereumChain",params:[{chainId:z(d)}]})]);const A=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...A,d]),w}catch(A){i.emitter.off("change",y);const C=A;if(/(user rejected)/i.test(C.message))throw new f(C);try{let N;s!=null&&s.blockExplorerUrls?N=s.blockExplorerUrls:N=(h=w.blockExplorers)!=null&&h.default.url?[(I=w.blockExplorers)==null?void 0:I.default.url]:[];let v;(j=s==null?void 0:s.rpcUrls)!=null&&j.length?v=s.rpcUrls:v=[...w.rpcUrls.default.http];const S={blockExplorerUrls:N,chainId:z(d),chainName:(s==null?void 0:s.chainName)??w.name,iconUrls:s==null?void 0:s.iconUrls,nativeCurrency:(s==null?void 0:s.nativeCurrency)??w.nativeCurrency,rpcUrls:v};await g.request({method:"wallet_addEthereumChain",params:[S]});const V=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...V,d]),w}catch(N){throw new f(N)}}},onAccountsChanged(s){s.length===0?this.onDisconnect():i.emitter.emit("change",{accounts:s.map(d=>D(d))})},onChainChanged(s){const d=Number(s);i.emitter.emit("change",{chainId:d})},async onConnect(s){const d=Number(s.chainId),g=await this.getAccounts();i.emitter.emit("connect",{accounts:g,chainId:d})},async onDisconnect(s){this.setRequestedChainsIds([]),i.emitter.emit("disconnect");const d=await this.getProvider();o&&(d.removeListener("accountsChanged",o),o=void 0),t&&(d.removeListener("chainChanged",t),t=void 0),n&&(d.removeListener("disconnect",n),n=void 0),a&&(d.removeListener("session_delete",a),a=void 0),e||(e=this.onConnect.bind(this),d.on("connect",e))},onDisplayUri(s){i.emitter.emit("message",{type:"display_uri",data:s})},onSessionDelete(){this.onDisconnect()},getNamespaceChainsIds(){var d,g,w;return u?((w=(g=(d=u.session)==null?void 0:d.namespaces[r])==null?void 0:g.accounts)==null?void 0:w.map(y=>Number.parseInt(y.split(":")[1]||"",10)))??[]:[]},async getRequestedChainsIds(){var s;return await((s=i.storage)==null?void 0:s.getItem(this.requestedChainsStorageKey))??[]},async isChainsStale(){if(!p)return!1;const s=i.chains.map(w=>w.id),d=this.getNamespaceChainsIds();if(d.length&&!d.some(w=>s.includes(w)))return!1;const g=await this.getRequestedChainsIds();return!s.every(w=>g.includes(w))},async setRequestedChainsIds(s){var d;await((d=i.storage)==null?void 0:d.setItem(this.requestedChainsStorageKey,s))},get requestedChainsStorageKey(){return`${this.id}.requestedChains`}}))}export{jt as baseAccount,q as coinbaseWallet,bt as injected,R as metaMask,Q as mock,zt as porto,W as safe,Nt as tempoWallet,At as version,Z as walletConnect};
|
|
3
|
-
//# sourceMappingURL=index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-7jxYsA5x.js","_assets/hooks.module-54Oj1-WJ.js","_assets/jsxRuntime.module-gjtb1wYS.js","_assets/index-Q91sfGFW.js","_assets/react-DaBuTM6Q.js","_assets/index-Dbzum1xk.js","_assets/dcl-schemas-n1W5glLl.js","_assets/parseSignature-BkGllSKb.js","_assets/sendRawTransaction-3Tc8O82f.js","_assets/NetworkUtil-Cp-gtHa0.js","_assets/sentry-ilLelGl_.js","_assets/index-DzQkIbqv.js","_assets/ethers-OrSZ5jmz.js","_assets/intl-AKLEHPeO.js","_assets/index-CZBL8oDN.css","_assets/custom-DP7Ww2Mp.js","_assets/W3MFrameProviderSingleton-ByxVGL9W.js","_assets/index-u3wacysv.js","_assets/index-CqA25hIa.js","_assets/events-C-1hKiSc.js","_assets/browser-ponyfill-BVvT8_Fp.js","_assets/localBatchGatewayRequest-CSeZ4gRB.js","_assets/verifyHash-Bk-B5GPz.js","_assets/secp256k1-B6GZ7kat.js","_assets/hashTypedData-BXTiCI6R.js","_assets/WebCryptoP256-BowGpuyg.js","_assets/zoraTestnet-CnMCD5vw.js","_assets/serializeTransaction-BN5Z150K.js","_assets/writeContract-CEDCT-Ld.js","_assets/index-OpYIGLSa.js","_assets/index-C11xAGLj.js","_assets/sha3-CcKshJ6_.js","_assets/index-3xvycxSp.js","_assets/index-DWpJbdNp.js","_assets/index-B767Ef3o.js","_assets/native-CTjG-6uw.js","_assets/index.es-O2YZpGjD.js","_assets/index-BT2VuKr_.js","_assets/index-FgD-q8nY.js","_assets/index.es-BxUByfMu.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as b}from"./index-DzQkIbqv.js";import{c as T,C as O,a as G,P as k}from"./index-DOE5PvRf.js";import{i as bt}from"./index-DOE5PvRf.js";import{aI as D,aR as B,bh as F}from"./sendRawTransaction-3Tc8O82f.js";import{x as L,af as z,a5 as _,Y as f,u as x,al as H,r as Y}from"./NetworkUtil-Cp-gtHa0.js";import{G as J,w as U,a as E}from"./W3MFrameProviderSingleton-ByxVGL9W.js";import{a as P}from"./custom-DP7Ww2Mp.js";import"./react-DaBuTM6Q.js";import"./dcl-schemas-n1W5glLl.js";import"./sentry-ilLelGl_.js";import"./ethers-OrSZ5jmz.js";import"./intl-AKLEHPeO.js";import"./index-u3wacysv.js";import"./index-CqA25hIa.js";import"./events-C-1hKiSc.js";import"./browser-ponyfill-BVvT8_Fp.js";import"./index-Q91sfGFW.js";import"./index-Dbzum1xk.js";import"./store-80QKZ2rN.js";import"./writeContract-CEDCT-Ld.js";(function(){try{var M=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},p=new M.Error().stack;p&&(M._sentryDebugIds=M._sentryDebugIds||{},M._sentryDebugIds[p]="0de8d080-2141-42a3-8471-a6a1e2e97374",M._sentryDebugIdIdentifier="sentry-dbid-0de8d080-2141-42a3-8471-a6a1e2e97374")}catch{}})();function K(M,{body:p,onError:u,onResponse:l}){return M.request({body:p,onError:u,onResponse:l}),M}async function X(M,{body:p,timeout:u=1e4}){return M.requestAsync({body:p,timeout:u})}const m={http(M,p){return J(M).request(p)},webSocket:K,webSocketAsync:X};Q.type="mock";function Q(M){const p=new Map,u=M.features??{defaultConnected:!1};let l=u.defaultConnected,r;return T(o=>({id:"mock",name:"Mock Connector",type:Q.type,async setup(){r=o.chains[0].id},async connect({chainId:t,withCapabilities:e}={}){if(u.connectError)throw typeof u.connectError=="boolean"?new f(new Error("Failed to connect.")):u.connectError;const a=await(await this.getProvider()).request({method:"eth_requestAccounts"});let n=await this.getChainId();return t&&n!==t&&(n=(await this.switchChain({chainId:t})).id),l=!0,{accounts:e?a.map(i=>({address:D(i),capabilities:{foo:{bar:i}}})):a.map(i=>D(i)),chainId:n}},async disconnect(){l=!1},async getAccounts(){if(!l)throw new G;return(await(await this.getProvider()).request({method:"eth_accounts"})).map(c=>D(c))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return _(e,"number")},async isAuthorized(){return!u.reconnect||!l?!1:!!(await this.getAccounts()).length},async switchChain({chainId:t}){const e=await this.getProvider(),c=o.chains.find(a=>a.id===t);if(!c)throw new L(new O);return await e.request({method:"wallet_switchEthereumChain",params:[{chainId:z(t)}]}),c},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect"),l=!1},async getProvider({chainId:t}={}){const c=(o.chains.find(n=>n.id===t)??o.chains[0]).rpcUrls.default.http[0];return P({request:async({method:n,params:i})=>{if(n==="eth_chainId")return z(r);if(n==="eth_accounts"||n==="eth_requestAccounts")return M.accounts;if(n==="eth_signTypedData_v4"&&u.signTypedDataError)throw typeof u.signTypedDataError=="boolean"?new f(new Error("Failed to sign typed data.")):u.signTypedDataError;if(n==="wallet_switchEthereumChain"){if(u.switchChainError)throw typeof u.switchChainError=="boolean"?new f(new Error("Failed to switch chain.")):u.switchChainError;r=_(i[0].chainId,"number"),this.onChainChanged(r.toString());return}if(n==="wallet_watchAsset"){if(u.watchAssetError)throw typeof u.watchAssetError=="boolean"?new f(new Error("Failed to switch chain.")):u.watchAssetError;return l}if(n==="wallet_getCapabilities")return{"0x2105":{paymasterService:{supported:i[0]==="0x95132632579b073D12a6673e18Ab05777a6B86f8"},sessionKeys:{supported:!0}},"0x14A34":{paymasterService:{supported:i[0]==="0x95132632579b073D12a6673e18Ab05777a6B86f8"}}};if(n==="wallet_sendCalls"){const w=[],y=i[0].calls,h=i[0].from;for(const j of y){const{result:A,error:C}=await m.http(c,{body:{method:"eth_sendTransaction",params:[{...j,...typeof h<"u"?{from:h}:{}}]}});if(C)throw new x({body:{method:n,params:i},error:C,url:c});w.push(A)}const I=B(H(JSON.stringify(y)));return p.set(I,w),{id:I}}if(n==="wallet_getCallsStatus"){const w=p.get(i[0]);if(!w)return{atomic:!1,chainId:"0x1",id:i[0],status:100,receipts:[],version:"2.0.0"};const h=(await Promise.all(w.map(async I=>{const{result:j,error:A}=await m.http(c,{body:{method:"eth_getTransactionReceipt",params:[I],id:0}});if(A)throw new x({body:{method:n,params:i},error:A,url:c});return j?{blockHash:j.blockHash,blockNumber:j.blockNumber,gasUsed:j.gasUsed,logs:j.logs,status:j.status,transactionHash:j.transactionHash}:null}))).filter(I=>I!==null);return h.length===0?{atomic:!1,chainId:"0x1",id:i[0],status:100,receipts:[],version:"2.0.0"}:{atomic:!1,chainId:"0x1",id:i[0],status:200,receipts:h,version:"2.0.0"}}if(n==="wallet_showCallsStatus")return;if(n==="personal_sign"){if(u.signMessageError)throw typeof u.signMessageError=="boolean"?new f(new Error("Failed to sign message.")):u.signMessageError;n="eth_sign",i=[i[1],i[0]]}const s={method:n,params:i},{error:d,result:g}=await m.http(c,{body:s});if(d)throw new x({body:s,error:d,url:c});return g}})({retryCount:0})}}))}function $(M){var o,t,e;const{chain:p}=M,u=p.rpcUrls.default.http[0];if(!M.transports)return[u];const l=(t=(o=M.transports)==null?void 0:o[p.id])==null?void 0:t.call(o,{chain:p});return(((e=l==null?void 0:l.value)==null?void 0:e.transports)||[l]).map(({value:c})=>(c==null?void 0:c.url)||u)}const tt='data:image/svg+xml,<svg width="269" height="269" viewBox="0 0 269 269" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="269" height="269" fill="black"/><path d="M123.273 190.794H93.445L121.09 105.318H85.7334L93.445 80.2642H191.95L184.238 105.318H150.773L123.273 190.794Z" fill="white"/></svg>';function Nt(M={}){const{dialog:p,host:u,icon:l=tt,name:r,rdns:o,theme:t,...e}=M;return nt({createAdapter(c){return c.dialog({dialog:p,host:u,icon:l,name:r,rdns:o,theme:t})},icon:l,id:o??"xyz.tempo",name:r??"Tempo Wallet",providerParameters:e,rdns:o??"xyz.tempo",type:"injected"})}function nt(M){return T(p=>{const u=p.chains;let l,r,o,t,e;async function c(){return await b(()=>import("./core-MGlJp9r1.js"),[]).catch(()=>{throw new Error('dependency "accounts" not found')})}async function a(){return l??(l=(async()=>{const n=await c();return n.Provider.create({...M.providerParameters,adapter:M.createAdapter(n),chains:p.chains,transports:p.transports})})()),await l}return{icon:M.icon,id:M.id,name:M.name,rdns:M.rdns,type:M.type,async connect(n={}){const{chainId:i,isReconnecting:s,withCapabilities:d}=n,g="capabilities"in n?n.capabilities:void 0;let w=[],y;s&&(w=await this.getAccounts().then(h=>h.map(I=>({address:I,capabilities:{}}))).catch(()=>[]));try{if(!w.length&&!s&&(w=(await(await a()).request({method:"wallet_connect",params:[{...i?{chainId:i}:{},...g?{capabilities:g}:{}}]})).accounts),y??(y=await this.getChainId()),!y)throw new O;const h=await a();return t&&(h.removeListener("connect",t),t=void 0),r||(r=this.onAccountsChanged.bind(this),h.on("accountsChanged",r)),o||(o=this.onChainChanged.bind(this),h.on("chainChanged",o)),e||(e=this.onDisconnect.bind(this),h.on("disconnect",e)),{accounts:d?w:w.map(I=>I.address),chainId:y}}catch(h){const I=h;throw I.code===f.code?new f(I):I}},async disconnect(){var i;const n=await a();o&&(n.removeListener("chainChanged",o),o=void 0),e&&(n.removeListener("disconnect",e),e=void 0),t||(t=(i=this.onConnect)==null?void 0:i.bind(this),t&&n.on("connect",t)),await n.request({method:"wallet_disconnect"})},async getAccounts(){return await(await a()).request({method:"eth_accounts"})},async getChainId(){const n=await a();return Number(await n.request({method:"eth_chainId"}))},async getClient({chainId:n}={}){const i=await a(),{address:s}=i.getAccount({accessKey:!1});return Object.assign(i.getClient({chainId:n}),{account:F(s)})},async getProvider(){return await a()},async isAuthorized(){try{return!!(await U(()=>this.getAccounts())).length}catch{return!1}},onAccountsChanged(n){p.emitter.emit("change",{accounts:n})},onChainChanged(n){p.emitter.emit("change",{chainId:Number(n)})},async onConnect(n){const i=await this.getAccounts();if(i.length===0)return;const s=Number(n.chainId);p.emitter.emit("connect",{accounts:i,chainId:s});const d=await a();t&&(d.removeListener("connect",t),t=void 0),r||(r=this.onAccountsChanged.bind(this),d.on("accountsChanged",r)),o||(o=this.onChainChanged.bind(this),d.on("chainChanged",o)),e||(e=this.onDisconnect.bind(this),d.on("disconnect",e))},async onDisconnect(n){var s;const i=await a();p.emitter.emit("disconnect"),o&&(i.removeListener("chainChanged",o),o=void 0),e&&(i.removeListener("disconnect",e),e=void 0),t||(t=(s=this.onConnect)==null?void 0:s.bind(this),t&&i.on("connect",t))},async setup(){var n;if(!t){const i=await a();t=(n=this.onConnect)==null?void 0:n.bind(this),t&&i.on("connect",t)}},async switchChain({chainId:n}){const i=u.find(d=>d.id===n);if(!i)throw new L(new O);return await(await a()).request({method:"wallet_switchEthereumChain",params:[{chainId:z(n)}]}),i}}})}function jt(M={}){let p,u,l,r;return T(o=>({id:"baseAccount",name:"Base Account",rdns:"app.base.account",type:"baseAccount",async connect({chainId:t,withCapabilities:e,...c}={}){var a;try{const n=await this.getProvider(),i=t??((a=o.chains[0])==null?void 0:a.id);if(!i)throw new O;let{accounts:s,currentChainId:d}=await(async()=>{if(c.isReconnecting)return{accounts:(await n.request({method:"eth_accounts",params:[]})).map(h=>({address:D(h)})),currentChainId:await this.getChainId()};const g=await n.request({method:"wallet_connect",params:[{capabilities:"capabilities"in c&&c.capabilities?c.capabilities:{},chainIds:[z(i),...o.chains.filter(h=>h.id!==i).map(h=>z(h.id))]}]});return{accounts:(await n.request({method:"eth_accounts"})).map(h=>g.accounts.find(I=>I.address===h)??{address:h}).map(h=>({address:D(h.address),capabilities:h.capabilities??{}})),currentChainId:Number(g.chainIds[0])}})();if(u||(u=this.onAccountsChanged.bind(this),n.on("accountsChanged",u)),l||(l=this.onChainChanged.bind(this),n.on("chainChanged",l)),r||(r=this.onDisconnect.bind(this),n.on("disconnect",r)),t&&d!==t){const g=await this.switchChain({chainId:t}).catch(w=>{if(w.code===f.code)throw w;return{id:d}});d=(g==null?void 0:g.id)??d}return{accounts:e?s:s.map(g=>g.address),chainId:d}}catch(n){throw/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(n.message)?new f(n):n}},async disconnect(){const t=await this.getProvider();u&&(t.removeListener("accountsChanged",u),u=void 0),l&&(t.removeListener("chainChanged",l),l=void 0),r&&(t.removeListener("disconnect",r),r=void 0),t.disconnect()},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(e=>D(e))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return Number(e)},async getProvider(){if(!p){const t=(()=>{var a;return typeof M.preference=="string"?{options:M.preference}:{...M.preference,options:((a=M.preference)==null?void 0:a.options)??"all"}})(),{createBaseAccountSDK:e}=await(()=>{try{return b(()=>import("./index-7jxYsA5x.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]))}catch{throw new Error('dependency "@base-org/account" not found')}})();p=e({...M,appChainIds:o.chains.map(a=>a.id),preference:t}).getProvider()}return p},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){var n,i,s,d;const c=o.chains.find(g=>g.id===e);if(!c)throw new L(new O);const a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:z(c.id)}]}),c}catch(g){if(g.code===4902)try{let w;t!=null&&t.blockExplorerUrls?w=t.blockExplorerUrls:w=(n=c.blockExplorers)!=null&&n.default.url?[(i=c.blockExplorers)==null?void 0:i.default.url]:[];let y;(s=t==null?void 0:t.rpcUrls)!=null&&s.length?y=t.rpcUrls:y=[((d=c.rpcUrls.default)==null?void 0:d.http[0])??""];const h={blockExplorerUrls:w,chainId:z(e),chainName:(t==null?void 0:t.chainName)??c.name,iconUrls:t==null?void 0:t.iconUrls,nativeCurrency:(t==null?void 0:t.nativeCurrency)??c.nativeCurrency,rpcUrls:y};return await a.request({method:"wallet_addEthereumChain",params:[h]}),c}catch(w){throw new f(w)}throw new L(g)}},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect");const e=await this.getProvider();u&&(e.removeListener("accountsChanged",u),u=void 0),l&&(e.removeListener("chainChanged",l),l=void 0),r&&(e.removeListener("disconnect",r),r=void 0)}}))}q.type="coinbaseWallet";function q(M={}){let p,u,l,r;return T(o=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:q.type,async connect({chainId:t,withCapabilities:e,...c}={}){try{const a=await this.getProvider(),n=(await a.request({method:"eth_requestAccounts",params:"instantOnboarding"in c&&c.instantOnboarding?[{onboarding:"instant"}]:[]})).map(s=>D(s));u||(u=this.onAccountsChanged.bind(this),a.on("accountsChanged",u)),l||(l=this.onChainChanged.bind(this),a.on("chainChanged",l)),r||(r=this.onDisconnect.bind(this),a.on("disconnect",r));let i=await this.getChainId();if(t&&i!==t){const s=await this.switchChain({chainId:t}).catch(d=>{if(d.code===f.code)throw d;return{id:i}});i=(s==null?void 0:s.id)??i}return{accounts:e?n.map(s=>({address:s,capabilities:{}})):n,chainId:i}}catch(a){throw/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(a.message)?new f(a):a}},async disconnect(){var e;const t=await this.getProvider();u&&(t.removeListener("accountsChanged",u),u=void 0),l&&(t.removeListener("chainChanged",l),l=void 0),r&&(t.removeListener("disconnect",r),r=void 0),t.disconnect(),(e=t.close)==null||e.call(t)},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(e=>D(e))},async getChainId(){const e=await(await this.getProvider()).request({method:"eth_chainId"});return Number(e)},async getProvider(){if(!p){const{createCoinbaseWalletSDK:t}=await(()=>{try{return b(()=>import("./index-C11xAGLj.js"),__vite__mapDeps([30,6,4,1,3,5,22,8,9,10,11,12,13,14,23,7,15,16,17,18,19,20,21,24,25,29,31]))}catch{throw new Error('dependency "@coinbase/wallet-sdk" not found')}})();p=t({...M,appChainIds:o.chains.map(c=>c.id),preference:{options:"all",...M.preference??{}}}).getProvider()}return p},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){var n,i,s,d;const c=o.chains.find(g=>g.id===e);if(!c)throw new L(new O);const a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:z(c.id)}]}),c}catch(g){if(g.code===4902)try{let w;t!=null&&t.blockExplorerUrls?w=t.blockExplorerUrls:w=(n=c.blockExplorers)!=null&&n.default.url?[(i=c.blockExplorers)==null?void 0:i.default.url]:[];let y;(s=t==null?void 0:t.rpcUrls)!=null&&s.length?y=t.rpcUrls:y=[((d=c.rpcUrls.default)==null?void 0:d.http[0])??""];const h={blockExplorerUrls:w,chainId:z(e),chainName:(t==null?void 0:t.chainName)??c.name,iconUrls:t==null?void 0:t.iconUrls,nativeCurrency:(t==null?void 0:t.nativeCurrency)??c.nativeCurrency,rpcUrls:y};return await a.request({method:"wallet_addEthereumChain",params:[h]}),c}catch(w){throw new f(w)}throw new L(g)}},onAccountsChanged(t){t.length===0?this.onDisconnect():o.emitter.emit("change",{accounts:t.map(e=>D(e))})},onChainChanged(t){const e=Number(t);o.emitter.emit("change",{chainId:e})},async onDisconnect(t){o.emitter.emit("disconnect");const e=await this.getProvider();u&&(e.removeListener("accountsChanged",u),u=void 0),l&&(e.removeListener("chainChanged",l),l=void 0),r&&(e.removeListener("disconnect",r),r=void 0)}}))}R.type="metaMask";function R(M={}){let p,u;return T(l=>({id:"metaMaskSDK",name:"MetaMask",rdns:["io.metamask","io.metamask.mobile"],type:R.type,async connect({chainId:r,isReconnecting:o,withCapabilities:t}={}){const e=await this.getInstance(),c=e.getProvider();let a=[];o&&(a=await this.getAccounts().catch(()=>[]));try{let n,i;if(!(a!=null&&a.length)){const d=l.chains.map(g=>z(g.id));M.connectAndSign||M.connectWith?(M.connectAndSign?n=(await e.connectAndSign({chainIds:d,message:M.connectAndSign})).signature:M.connectWith&&(i=(await e.connectWith({chainIds:d,method:M.connectWith.method,params:M.connectWith.params})).result),a=await this.getAccounts()):a=(await e.connect({chainIds:d})).accounts.map(w=>D(w))}let s=await this.getChainId();if(r&&s!==r){const d=await this.switchChain({chainId:r}).catch(g=>{if(g.code===f.code)throw g;return{id:s}});s=(d==null?void 0:d.id)??s}return n?c.emit("connectAndSign",{accounts:a,chainId:z(s),signResponse:n}):i&&c.emit("connectWith",{accounts:a,chainId:z(s),connectWithResponse:i}),{accounts:t?a.map(d=>({address:d,capabilities:{}})):a,chainId:s}}catch(n){const i=n;throw i.code===f.code?new f(i):i.code===Y.code?new Y(i):i}},async disconnect(){return(await this.getInstance()).disconnect()},async getAccounts(){var e;if(!p&&!u){const c=(e=l.providers[0])==null?void 0:e.provider;if(c)return(await c.request({method:"eth_accounts"})).map(n=>D(n))}const r=await this.getInstance();return r.accounts.length?r.accounts.map(c=>D(c)):(await r.getProvider().request({method:"eth_accounts"})).map(c=>D(c))},async getChainId(){var e;if(!p&&!u){const c=(e=l.providers[0])==null?void 0:e.provider;if(c){const a=await c.request({method:"eth_chainId"});return Number(a)}}const r=await this.getInstance();if(r.getChainId())return Number(r.getChainId());const t=await r.getProvider().request({method:"eth_chainId"});return Number(t)},async getProvider(){var o;if(!p&&!u){const t=(o=l.providers[0])==null?void 0:o.provider;if(t)return t}return(await this.getInstance()).getProvider()},async isAuthorized(){var r;try{if(!p&&!u){const e=(r=l.providers[0])==null?void 0:r.provider;if(e)return(await e.request({method:"eth_accounts"})).length>0}const o=10;return!!(await U(async()=>E(async()=>{const e=await this.getAccounts();if(!e.length)throw new Error("try again");return e},{timeout:o}),{delay:o+1,retryCount:3})).length}catch{return!1}},async switchChain({addEthereumChainParameter:r,chainId:o}){var c,a;const t=l.chains.find(({id:n})=>n===Number(o));if(!t)throw new L(new O);const e=z(o);try{return await(await this.getInstance()).switchChain({chainId:e,chainConfiguration:{blockExplorerUrls:r!=null&&r.blockExplorerUrls?[...r.blockExplorerUrls]:(c=t.blockExplorers)!=null&&c.default.url?[t.blockExplorers.default.url]:void 0,chainId:e,chainName:(r==null?void 0:r.chainName)??t.name,iconUrls:r==null?void 0:r.iconUrls,nativeCurrency:(r==null?void 0:r.nativeCurrency)??t.nativeCurrency,rpcUrls:r!=null&&r.rpcUrls?[...r.rpcUrls]:(a=t.rpcUrls.default)!=null&&a.http?[...t.rpcUrls.default.http]:void 0}}),t}catch(n){const i=n;throw i.code===f.code?new f(i):new L(i)}},async onAccountsChanged(r){l.emitter.emit("change",{accounts:r.map(o=>D(o))})},onChainChanged(r){const o=Number(r);l.emitter.emit("change",{chainId:o})},async onConnect(r){const o=await this.getAccounts();if(o.length===0)return;const t=Number(r.chainId);l.emitter.emit("connect",{accounts:o,chainId:t})},async onDisconnect(r){r&&r.code===1013&&await this.getProvider()&&(await this.getAccounts()).length||l.emitter.emit("disconnect")},onDisplayUri(r){l.emitter.emit("message",{type:"display_uri",data:r})},async getInstance(){var r;if(!p){if(!u){const{createEVMClient:o}=await(async()=>{try{return b(()=>import("./connectors-BT2XrNvd.js"),[])}catch{throw new Error('dependency "@metamask/connect-evm" not found')}})(),t=typeof window>"u"?{name:"wagmi"}:{name:window.location.hostname,url:window.location.href};u=o({...M,skipAutoAnnounce:!0,api:{supportedNetworks:Object.fromEntries(l.chains.map(e=>{var c;return[z(e.id),((c=e.rpcUrls.default)==null?void 0:c.http[0])??""]}))},dapp:M.dapp??{...t,...M.dappMetadata},debug:M.debug??((r=M.logging)==null?void 0:r.sdk),eventHandlers:{accountsChanged:this.onAccountsChanged.bind(this),chainChanged:this.onChainChanged.bind(this),connect:this.onConnect.bind(this),disconnect:this.onDisconnect.bind(this),displayUri:this.onDisplayUri.bind(this)},analytics:{integrationType:"wagmi"},ui:{...M.ui,...M.headless!=null&&{headless:M.headless}},...M.mobile&&{mobile:M.mobile}})}p=await u}return p}}))}function zt(M={}){const p=u=>typeof u.on=="function"&&typeof u.removeListener=="function";return T(u=>{const l=u.chains??M.chains??[],r=u.transports?u.transports:M.transports;let o,t,e,c,a;return{async connect({chainId:n=l[0].id,...i}={}){const s="isReconnecting"in i&&i.isReconnecting||!1,d="withCapabilities"in i&&i.withCapabilities||!1;let g=[],w;if(s&&([g,w]=await Promise.all([this.getAccounts().catch(()=>[]),this.getChainId().catch(()=>{})]),n&&w!==n)){const h=await this.switchChain({chainId:n}).catch(I=>{if(I.code===f.code)throw I;return{id:w}});w=(h==null?void 0:h.id)??w}const y=await this.getProvider();try{if(!(g!=null&&g.length)&&!s){const{RpcSchema:h}=await(()=>{try{return b(()=>import("./connectors-CRUo0P66.js"),[])}catch{throw new Error('dependency "porto" not found')}})(),{z:I}=await(()=>{try{return b(()=>import("./connectors-CChlcxBj.js"),[])}catch{throw new Error('dependency "porto/internal" not found')}})(),j=await y.request({method:"wallet_connect",params:[{..."capabilities"in i?{capabilities:I.encode(h.wallet_connect.Capabilities,i.capabilities??{})}:{},chainIds:[z(n),...l.filter(A=>A.id!==n).map(A=>z(A.id))]}]});g=j.accounts,w=Number(j.chainIds[0])}if(!w)throw new O;return p(y)&&(c&&(y.removeListener("connect",c),c=void 0),t||(t=this.onAccountsChanged.bind(this),y.on("accountsChanged",t)),e||(e=this.onChainChanged.bind(this),y.on("chainChanged",e)),a||(a=this.onDisconnect.bind(this),y.on("disconnect",a))),{accounts:g.map(h=>typeof h=="object"?d?h:h.address:d?{address:h,capabilities:{}}:h),chainId:w}}catch(h){const I=h;throw I.code===f.code?new f(I):I}},async disconnect(){const n=await this.getProvider();p(n)&&(e&&(n.removeListener("chainChanged",e),e=void 0),a&&(n.removeListener("disconnect",a),a=void 0),c||(c=this.onConnect.bind(this),n.on("connect",c))),await n.request({method:"wallet_disconnect"})},async getAccounts(){return(await(await this.getProvider()).request({method:"eth_accounts"})).map(s=>D(s))},async getChainId(){const i=await(await this.getProvider()).request({method:"eth_chainId"});return Number(i)},async getPortoInstance(){return o??(o=(async()=>{const{Porto:n}=await(()=>{try{return b(()=>import("./connectors-CRUo0P66.js"),[])}catch{throw new Error('dependency "porto" not found')}})();return n.create({...M,announceProvider:!1,chains:l,transports:r})})()),await o},async getProvider(){return(await this.getPortoInstance()).provider},icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIyIiBoZWlnaHQ9IjQyMiIgdmlld0JveD0iMCAwIDQyMiA0MjIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDA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I3Ni40NTUgMzI5LjUxMSAyNzYuNDU1SDkwLjk0MDRDODUuNDUwNSAyNzYuNDU1IDgxIDI4MC44OTMgODEgMjg2LjM2NlYzMDYuMTg4QzgxIDMxMS42NjIgODUuNDUwNSAzMTYuMTAxIDkwLjk0MDQgMzE2LjEwMUgzMjkuNTExQzMzNS4wMDEgMzE2LjEwMSAzMzkuNDUyIDMxMS42NjIgMzM5LjQ1MiAzMDYuMTg4VjI4Ni4zNjZaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMjY5Ljg2OCAxMzEuNzUyQzI2OS44NjggMTI2LjI3OCAyNzQuMzE4IDEyMS44NCAyNzkuODA4IDEyMS44NEgzMTEuNjE4QzMxNy4xMDggMTIxLjg0IDMyMS41NTggMTI2LjI3OCAzMjEuNTU4IDEzMS43NTJWMTYxLjQ4NUMzMjEuNTU4IDE2Ni45NTkgMzE3LjEwOCAxNzEuMzk2IDMxMS42MTggMTcxLjM5NkgyNzkuODA4QzI3NC4zMTggMTcxLjM5NiAyNjkuODY4IDE2Ni45NTkgMjY5Ljg2OCAxNjEuNDg1VjEzMS43NTJaIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzFfMTUiPgo8cmVjdCB3aWR0aD0iMjU5IiBoZWlnaHQ9IjIxMyIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgxIDEwNCkiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K",id:"xyz.ithaca.porto",async isAuthorized(){try{return!!(await U(()=>this.getAccounts())).length}catch{return!1}},name:"Porto",async onAccountsChanged(n){u.emitter.emit("change",{accounts:n.map(i=>D(i))})},onChainChanged(n){const i=Number(n);u.emitter.emit("change",{chainId:i})},async onConnect(n){const i=await this.getAccounts();if(i.length===0)return;const s=Number(n.chainId);u.emitter.emit("connect",{accounts:i,chainId:s});const d=await this.getProvider();p(d)&&(c&&(d.removeListener("connect",c),c=void 0),t||(t=this.onAccountsChanged.bind(this),d.on("accountsChanged",t)),e||(e=this.onChainChanged.bind(this),d.on("chainChanged",e)),a||(a=this.onDisconnect.bind(this),d.on("disconnect",a)))},async onDisconnect(n){const i=await this.getProvider();u.emitter.emit("disconnect"),p(i)&&(e&&(i.removeListener("chainChanged",e),e=void 0),a&&(i.removeListener("disconnect",a),a=void 0),c||(c=this.onConnect.bind(this),i.on("connect",c)))},async setup(){if(!c){const n=await this.getProvider();if(!p(n))return;c=this.onConnect.bind(this),n.on("connect",c)}},async switchChain({chainId:n}){const i=l.find(d=>d.id===n);if(!i)throw new L(new O);return await(await this.getProvider()).request({method:"wallet_switchEthereumChain",params:[{chainId:z(n)}]}),i},type:"injected"}})}W.type="safe";function W(M={}){const{shimDisconnect:p=!1}=M;let u,l;return T(r=>({id:"safe",name:"Safe",type:W.type,async connect({withCapabilities:o}={}){var a;const t=await this.getProvider();if(!t)throw new k;const e=await this.getAccounts(),c=await this.getChainId();return l||(l=this.onDisconnect.bind(this),t.on("disconnect",l)),p&&await((a=r.storage)==null?void 0:a.removeItem("safe.disconnected")),{accounts:o?e.map(n=>({address:n,capabilities:{}})):e,chainId:c}},async disconnect(){var t;const o=await this.getProvider();if(!o)throw new k;l&&(o.removeListener("disconnect",l),l=void 0),p&&await((t=r.storage)==null?void 0:t.setItem("safe.disconnected",!0))},async getAccounts(){const o=await this.getProvider();if(!o)throw new k;return(await o.request({method:"eth_accounts"})).map(D)},async getProvider(){if(typeof window<"u"&&(window==null?void 0:window.parent)!==window){if(!u){const{default:t}=await(()=>{try{return b(()=>import("./index-3xvycxSp.js"),__vite__mapDeps([32,4,33,8,9,10,11,6,12,13,14,24]))}catch{throw new Error('dependency "@safe-global/safe-apps-sdk" not found')}})(),e=new t(M),c=await E(()=>e.safe.getInfo(),{timeout:M.unstable_getInfoTimeout??10});if(!c)throw new Error("Could not load Safe information");const a=await(async()=>{const n=await(()=>{try{return b(()=>import("./index-B767Ef3o.js").then(i=>i.i),__vite__mapDeps([34,4,33,35,10,19]))}catch{throw new Error('dependency "@safe-global/safe-apps-provider" not found')}})();return typeof n.SafeAppProvider!="function"&&typeof n.default.SafeAppProvider=="function"?n.default.SafeAppProvider:n.SafeAppProvider})();u=new a(c,e)}return u}},async getChainId(){const o=await this.getProvider();if(!o)throw new k;return Number(o.chainId)},async isAuthorized(){var o;try{return p&&await((o=r.storage)==null?void 0:o.getItem("safe.disconnected"))?!1:!!(await this.getAccounts()).length}catch{return!1}},onAccountsChanged(){},onChainChanged(){},onDisconnect(){r.emitter.emit("disconnect")}}))}const At="8.0.20";Z.type="walletConnect";function Z(M){const p=M.isNewChainsStale??!0;let u,l;const r="eip155";let o,t,e,c,a,n;return T(i=>({id:"walletConnect",name:"WalletConnect",type:Z.type,async setup(){const s=await this.getProvider().catch(()=>null);s&&(e||(e=this.onConnect.bind(this),s.on("connect",e)),a||(a=this.onSessionDelete.bind(this),s.on("session_delete",a)))},async connect({chainId:s,withCapabilities:d,...g}={}){var w,y;try{const h=await this.getProvider();if(!h)throw new k;c||(c=this.onDisplayUri,h.on("display_uri",c));let I=s;if(!I){const N=await((w=i.storage)==null?void 0:w.getItem("state"))??{};i.chains.some(S=>S.id===N.chainId)?I=N.chainId:I=(y=i.chains[0])==null?void 0:y.id}if(!I)throw new Error("No chains found on connector.");const j=await this.isChainsStale();if(h.session&&j&&await h.disconnect(),!h.session||j){const N=i.chains.filter(v=>v.id!==I).map(v=>v.id);await h.connect({optionalChains:[I,...N],..."pairingTopic"in g?{pairingTopic:g.pairingTopic}:{}}),this.setRequestedChainsIds(i.chains.map(v=>v.id))}const A=(await h.enable()).map(N=>D(N));let C=await this.getChainId();if(s&&C!==s){const N=await this.switchChain({chainId:s}).catch(v=>{var S;if(v.code===f.code&&((S=v.cause)==null?void 0:S.message)!=="Missing or invalid. request() method: wallet_addEthereumChain")throw v;return{id:C}});C=(N==null?void 0:N.id)??C}return c&&(h.removeListener("display_uri",c),c=void 0),e&&(h.removeListener("connect",e),e=void 0),o||(o=this.onAccountsChanged.bind(this),h.on("accountsChanged",o)),t||(t=this.onChainChanged.bind(this),h.on("chainChanged",t)),n||(n=this.onDisconnect.bind(this),h.on("disconnect",n)),a||(a=this.onSessionDelete.bind(this),h.on("session_delete",a)),{accounts:d?A.map(N=>({address:N,capabilities:{}})):A,chainId:C}}catch(h){throw/(user rejected|connection request reset)/i.test(h==null?void 0:h.message)?new f(h):h}},async disconnect(){const s=await this.getProvider();try{await(s==null?void 0:s.disconnect())}catch(d){if(!/No matching key/i.test(d.message))throw d}finally{t&&(s==null||s.removeListener("chainChanged",t),t=void 0),n&&(s==null||s.removeListener("disconnect",n),n=void 0),e||(e=this.onConnect.bind(this),s==null||s.on("connect",e)),o&&(s==null||s.removeListener("accountsChanged",o),o=void 0),a&&(s==null||s.removeListener("session_delete",a),a=void 0),this.setRequestedChainsIds([])}},async getAccounts(){return(await this.getProvider()).accounts.map(d=>D(d))},async getProvider({chainId:s}={}){var g;async function d(){const w=i.chains.map(h=>h.id);if(!w.length)return;const{EthereumProvider:y}=await(()=>{try{return b(()=>import("./index.es-O2YZpGjD.js").then(h=>h.n),__vite__mapDeps([36,11,4,6,10,12,13,14,18,19,37,17,29,38,39,20]))}catch{throw new Error('dependency "@walletconnect/ethereum-provider" not found')}})();return await y.init({...M,disableProviderPing:!0,optionalChains:w,projectId:M.projectId,rpcMap:Object.fromEntries(i.chains.map(h=>{const[I]=$({chain:h,transports:i.transports});return[h.id,I]})),showQrModal:M.showQrModal??!0})}return u||(l||(l=d()),u=await l,u==null||u.events.setMaxListeners(Number.POSITIVE_INFINITY)),s&&await((g=this.switchChain)==null?void 0:g.call(this,{chainId:s})),u},async getChainId(){return(await this.getProvider()).chainId},async isAuthorized(){try{const[s,d]=await Promise.all([this.getAccounts(),this.getProvider()]);return s.length?await this.isChainsStale()&&d.session?(await d.disconnect().catch(()=>{}),!1):!0:!1}catch{return!1}},async switchChain({addEthereumChainParameter:s,chainId:d}){var h,I,j;const g=await this.getProvider();if(!g)throw new k;const w=i.chains.find(A=>A.id===d);if(!w)throw new L(new O);let y=()=>{};try{await Promise.all([new Promise(C=>{y=N=>{N.chainId===d&&(i.emitter.off("change",y),C())},i.emitter.on("change",y)}),g.request({method:"wallet_switchEthereumChain",params:[{chainId:z(d)}]})]);const A=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...A,d]),w}catch(A){i.emitter.off("change",y);const C=A;if(/(user rejected)/i.test(C.message))throw new f(C);try{let N;s!=null&&s.blockExplorerUrls?N=s.blockExplorerUrls:N=(h=w.blockExplorers)!=null&&h.default.url?[(I=w.blockExplorers)==null?void 0:I.default.url]:[];let v;(j=s==null?void 0:s.rpcUrls)!=null&&j.length?v=s.rpcUrls:v=[...w.rpcUrls.default.http];const S={blockExplorerUrls:N,chainId:z(d),chainName:(s==null?void 0:s.chainName)??w.name,iconUrls:s==null?void 0:s.iconUrls,nativeCurrency:(s==null?void 0:s.nativeCurrency)??w.nativeCurrency,rpcUrls:v};await g.request({method:"wallet_addEthereumChain",params:[S]});const V=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...V,d]),w}catch(N){throw new f(N)}}},onAccountsChanged(s){s.length===0?this.onDisconnect():i.emitter.emit("change",{accounts:s.map(d=>D(d))})},onChainChanged(s){const d=Number(s);i.emitter.emit("change",{chainId:d})},async onConnect(s){const d=Number(s.chainId),g=await this.getAccounts();i.emitter.emit("connect",{accounts:g,chainId:d})},async onDisconnect(s){this.setRequestedChainsIds([]),i.emitter.emit("disconnect");const d=await this.getProvider();o&&(d.removeListener("accountsChanged",o),o=void 0),t&&(d.removeListener("chainChanged",t),t=void 0),n&&(d.removeListener("disconnect",n),n=void 0),a&&(d.removeListener("session_delete",a),a=void 0),e||(e=this.onConnect.bind(this),d.on("connect",e))},onDisplayUri(s){i.emitter.emit("message",{type:"display_uri",data:s})},onSessionDelete(){this.onDisconnect()},getNamespaceChainsIds(){var d,g,w;return u?((w=(g=(d=u.session)==null?void 0:d.namespaces[r])==null?void 0:g.accounts)==null?void 0:w.map(y=>Number.parseInt(y.split(":")[1]||"",10)))??[]:[]},async getRequestedChainsIds(){var s;return await((s=i.storage)==null?void 0:s.getItem(this.requestedChainsStorageKey))??[]},async isChainsStale(){if(!p)return!1;const s=i.chains.map(w=>w.id),d=this.getNamespaceChainsIds();if(d.length&&!d.some(w=>s.includes(w)))return!1;const g=await this.getRequestedChainsIds();return!s.every(w=>g.includes(w))},async setRequestedChainsIds(s){var d;await((d=i.storage)==null?void 0:d.setItem(this.requestedChainsStorageKey,s))},get requestedChainsStorageKey(){return`${this.id}.requestedChains`}}))}export{jt as baseAccount,q as coinbaseWallet,bt as injected,R as metaMask,Q as mock,zt as porto,W as safe,Nt as tempoWallet,At as version,Z as walletConnect};
|
|
3
|
+
//# sourceMappingURL=index-DxPCOmel.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as u,b as f}from"./lit-element-wjYUA6aF.js";import{n as c}from"./class-map-
|
|
1
|
+
import{i as u,b as f}from"./lit-element-wjYUA6aF.js";import{n as c}from"./class-map-C7I-HYAi.js";import"./index-BbvUH58s.js";import{d as v,r as h}from"./index-B0eaBbwk.js";import{c as m,U as p}from"./index-CMGA6Ehu.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="c63b1e2a-2480-4988-a7d8-c1e460d9a470",a._sentryDebugIdIdentifier="sentry-dbid-c63b1e2a-2480-4988-a7d8-c1e460d9a470")}catch{}})();const g=v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
width: var(--local-width);
|
|
@@ -39,9 +39,9 @@ import{i as u,b as f}from"./lit-element-wjYUA6aF.js";import{n as c}from"./class-
|
|
|
39
39
|
#6ebdea 100%
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
|
-
`;var o=function(a,e,l,i){var
|
|
42
|
+
`;var o=function(a,e,l,i){var s=arguments.length,t=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,l):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(a,e,l,i);else for(var n=a.length-1;n>=0;n--)(d=a[n])&&(t=(s<3?d(t):s>3?d(e,l,t):d(e,l))||t);return s>3&&t&&Object.defineProperty(e,l,t),t};let r=class extends u{constructor(){super(...arguments),this.imageSrc=void 0,this.alt=void 0,this.address=void 0,this.size="xl"}render(){const e={inherit:"inherit",xxs:"3",xs:"5",sm:"6",md:"8",mdl:"8",lg:"10",xl:"16",xxl:"20"};return this.style.cssText=`
|
|
43
43
|
--local-width: var(--apkt-spacing-${e[this.size??"xl"]});
|
|
44
44
|
--local-height: var(--apkt-spacing-${e[this.size??"xl"]});
|
|
45
45
|
`,f`${this.visualTemplate()}`}visualTemplate(){if(this.imageSrc)return this.dataset.variant="image",f`<wui-image src=${this.imageSrc} alt=${this.alt??"avatar"}></wui-image>`;if(this.address){this.dataset.variant="generated";const e=p.generateAvatarColors(this.address);return this.style.cssText+=`
|
|
46
46
|
${e}`,null}return this.dataset.variant="default",null}};r.styles=[h,g];o([c()],r.prototype,"imageSrc",void 0);o([c()],r.prototype,"alt",void 0);o([c()],r.prototype,"address",void 0);o([c()],r.prototype,"size",void 0);r=o([m("wui-avatar")],r);
|
|
47
|
-
//# sourceMappingURL=index-
|
|
47
|
+
//# sourceMappingURL=index-DyXRsRBM.js.map
|