@dcl/shop 1.13.1-35225172293.commit-25915c3 → 1.13.1-35339357506.commit-a201fb1
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-BZMB4hg5.js +400 -0
- package/_assets/{AnimatedBackground-DAkIAx6x.js → AnimatedBackground-CXVxNT-G.js} +6 -6
- package/_assets/Assets-tHTTA31T.js +980 -0
- package/_assets/{Cart-DywJ-U2P.js → Cart-BTFM7sgI.js} +37 -37
- package/_assets/{Collection-CJcLl_NS.js → Collection-D7LTf_OS.js} +6 -6
- package/_assets/CollectionCarousel-DsJ7L4rs.js +322 -0
- package/_assets/Confetti-cdj3K_E3.js +18 -0
- package/_assets/{ConstantsUtil-QDaTDgFu.js → ConstantsUtil-BRm3N2MJ.js} +2 -2
- package/_assets/{ContentClient-rykQJr4A.js → ContentClient-BuGONJzu.js} +2 -2
- package/_assets/{Creator-n86fV0HI.js → Creator-DTGBDA7q.js} +49 -49
- package/_assets/DeploymentBuilder-t6QMfSJh.js +4 -0
- package/_assets/{EmotePlaybackBar-B-F9Qz4e.js → EmotePlaybackBar-DxozN5dA.js} +19 -19
- package/_assets/{ErrorNotice-C59YzvXZ.js → ErrorNotice-Dlh8ddHO.js} +2 -2
- package/_assets/Event-B3nuIkGW.js +72 -0
- package/_assets/{ExchangeController-B34DBS-M.js → ExchangeController-CSSF68uc.js} +2 -2
- package/_assets/{Faq-DMLRIgIF.js → Faq-DQCrsGCA.js} +2 -2
- package/_assets/{Filters-ui-Axqrl.js → Filters-BsZs-9_M.js} +19 -19
- package/_assets/{GetCredits-DNUVbeIk.js → GetCredits-DLjX5S-_.js} +70 -70
- package/_assets/{Grow-CslarRIZ.js → Grow-CBOQ3rs-.js} +2 -2
- package/_assets/HelpersUtil-ItKIMa0k.js +63 -0
- package/_assets/{ItemDetail-D9elUmtB.js → ItemDetail-Bfbuu0cW.js} +35 -35
- package/_assets/LoadMore-BxuVAL5h.js +8 -0
- package/_assets/{ManaPricingBanner.styles-BG8UdFgp.js → ManaPricingBanner.styles-dfVXcaNP.js} +3 -3
- package/_assets/{MyAssets-C8h8C-X3.js → MyAssets-BbWDjYod.js} +8 -8
- package/_assets/{MyFavorites-_Lftn5f7.js → MyFavorites-DY192etV.js} +9 -9
- package/_assets/{MyStore-Bey5H8qV.js → MyStore-qM8HV1zc.js} +9 -9
- package/_assets/{NetworkUtil-RdwtrTea.js → NetworkUtil-B4oEt17N.js} +2 -2
- package/_assets/NotFound-CgcYb0ih.js +18 -0
- package/_assets/NotificationsBell-txLDBZgz.js +142 -0
- package/_assets/{OutfitDetail-DiMHEr5Q.js → OutfitDetail-EWQSU1q3.js} +5 -5
- package/_assets/{OutfitPreview-iMMDUjah.js → OutfitPreview-Cj1w-8ou.js} +3 -3
- package/_assets/{OutfitStudio-DWZ7ZmtK.js → OutfitStudio-CymFpAjx.js} +16 -16
- package/_assets/{PhArrowCircleDown-DxArxYac.js → PhArrowCircleDown-BgP2jbf5.js} +4 -4
- package/_assets/{PhArrowClockwise-C8ljy1Rj.js → PhArrowClockwise-CuNU0iSl.js} +4 -4
- package/_assets/{PhArrowDown-DsAplWwh.js → PhArrowDown-BrLks3Uz.js} +4 -4
- package/_assets/{PhArrowLeft-EPz-xHmZ.js → PhArrowLeft-BbZGSN_s.js} +3 -3
- package/_assets/{PhArrowRight-CVoNjAPb.js → PhArrowRight-DqLi6_uj.js} +4 -4
- package/_assets/{PhArrowSquareOut-DxPnhLyS.js → PhArrowSquareOut-CX0ZRgNC.js} +5 -5
- package/_assets/{PhArrowUp-CthNwEN1.js → PhArrowUp-D9ugstgK.js} +5 -5
- package/_assets/{PhArrowUpRight-yy2UirS7.js → PhArrowUpRight-Bpfn12eW.js} +3 -3
- package/_assets/{PhArrowsClockwise-B-gjYmTc.js → PhArrowsClockwise-CRZyQVpN.js} +4 -4
- package/_assets/{PhArrowsDownUp-DPexCLiH.js → PhArrowsDownUp-CV1NqVLb.js} +4 -4
- package/_assets/{PhArrowsLeftRight-D93RFlb_.js → PhArrowsLeftRight-DvGI6Nto.js} +5 -5
- package/_assets/{PhBank-BNhsgOpa.js → PhBank-BRxdKSKq.js} +5 -5
- package/_assets/{PhBrowser-OVbcxsqN.js → PhBrowser-C_wNKcTe.js} +4 -4
- package/_assets/PhCaretDown-DBNFm85V.js +15 -0
- package/_assets/PhCaretLeft-Cad__LUx.js +15 -0
- package/_assets/PhCaretRight-CuRYBcM2.js +15 -0
- package/_assets/PhCaretUp-DE2FiuTS.js +15 -0
- package/_assets/{PhCheck-bPp1bknl.js → PhCheck-y4MOxgof.js} +5 -5
- package/_assets/{PhCircleHalf-BCRFPlBh.js → PhCircleHalf-xlPKmtS7.js} +4 -4
- package/_assets/{PhClock-Ay7dG8fF.js → PhClock-BBNMhMKw.js} +5 -5
- package/_assets/{PhCompass-D6jeCOuB.js → PhCompass-DpAl_LfZ.js} +4 -4
- package/_assets/{PhCopy-Cd6cFQKK.js → PhCopy-D4HwCqa2.js} +5 -5
- package/_assets/{PhCreditCard-D0cyAH4H.js → PhCreditCard-CD12JEEL.js} +5 -5
- package/_assets/{PhCurrencyDollar-DNCs7Hoi.js → PhCurrencyDollar-DPFX6nyR.js} +2 -2
- package/_assets/{PhDesktop-C7wK3N0C.js → PhDesktop-CNhh70Hf.js} +3 -3
- package/_assets/{PhDeviceMobile-nwo6W6cN.js → PhDeviceMobile-DQgHhtB0.js} +3 -3
- package/_assets/{PhDotsThree-5DGmKrer.js → PhDotsThree-B1gOaArE.js} +3 -3
- package/_assets/{PhEnvelope-DkcDbzLk.js → PhEnvelope-CGnM9AiA.js} +4 -4
- package/_assets/{PhFunnelSimple-D1hBKn3q.js → PhFunnelSimple-D8YZwX53.js} +4 -4
- package/_assets/{PhGlobe-7ico55TC.js → PhGlobe-CXtg_GcB.js} +3 -3
- package/_assets/{PhIdentificationCard-PCjj06ca.js → PhIdentificationCard-oMtubY4C.js} +2 -2
- package/_assets/{PhImage-WMMVogNo.js → PhImage-DKp6-EHn.js} +2 -2
- package/_assets/{PhInfo-DxjcEgny.js → PhInfo-CPd-HNhu.js} +5 -5
- package/_assets/{PhLightbulb-Cv6gGmyY.js → PhLightbulb-C47afrxR.js} +5 -5
- package/_assets/{PhMagnifyingGlass-CzkcQTYD.js → PhMagnifyingGlass-DBaqb5ff.js} +2 -2
- package/_assets/{PhPaperPlaneRight-DnxOP1pJ.js → PhPaperPlaneRight-FQGhQUrW.js} +3 -3
- package/_assets/{PhPlus-D2WgBmbh.js → PhPlus-B_CxFvZS.js} +4 -4
- package/_assets/{PhPower-BKrhO8OD.js → PhPower-DRTSLLeY.js} +4 -4
- package/_assets/{PhPuzzlePiece-vk5GuUyi.js → PhPuzzlePiece-zlHiPdqx.js} +4 -4
- package/_assets/{PhQrCode-YjDtep0a.js → PhQrCode-riEgpq80.js} +2 -2
- package/_assets/{PhQuestion-De671WWd.js → PhQuestion-DHYK7o0G.js} +3 -3
- package/_assets/{PhQuestionMark-BfmQ4AZR.js → PhQuestionMark-ZgOsaVvK.js} +4 -4
- package/_assets/{PhSealCheck-DUSoEL5_.js → PhSealCheck-B5VE_9Jt.js} +4 -4
- package/_assets/{PhSignOut-BAV0bqRy.js → PhSignOut-DKQOfDHS.js} +4 -4
- package/_assets/{PhSpinner-JXZ0tKR8.js → PhSpinner-B3k7aAJt.js} +4 -4
- package/_assets/{PhTrash-B-_1u-EW.js → PhTrash-CD2fhMLB.js} +3 -3
- package/_assets/{PhUser-B7H8Kqoo.js → PhUser-BeKUoVY6.js} +2 -2
- package/_assets/{PhVault-D49Kz876.js → PhVault-DC9QjU0-.js} +5 -5
- package/_assets/{PhWallet-DFLSB_Zp.js → PhWallet-djswo-CG.js} +4 -4
- package/_assets/{PhWarning-oAag590N.js → PhWarning-B4g8NvcF.js} +2 -2
- package/_assets/{PhWarningCircle-CcZqaDS-.js → PhWarningCircle-xLZ7sbu0.js} +3 -3
- package/_assets/{PhX-ChlrdI3g.js → PhX-BVzMqBjL.js} +2 -2
- package/_assets/SaleCountdown-3pApusNf.js +99 -0
- package/_assets/{Spinner-DxPTix-z.js → Spinner-BhJFlkpV.js} +2 -2
- package/_assets/{StoreSettings-CcPWS-Ma.js → StoreSettings-CuaXmFqQ.js} +6 -6
- package/_assets/{Success-C_yiA7A5.js → Success-oMsLbOWh.js} +10 -10
- package/_assets/{SwapController-CkS0mffI.js → SwapController-DrYUKQJ9.js} +2 -2
- package/_assets/{Tooltip-D09N6_a1.js → Tooltip-BIdqgK8V.js} +2 -2
- package/_assets/{TradeService-C9N7W-7P.js → TradeService-JsADFsSl.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-gRZFp8AF.js → W3MFrameProviderSingleton-DvSh92CX.js} +4 -4
- package/_assets/{WebCryptoP256-DxQA6Icw.js → WebCryptoP256-DgMWbKGz.js} +2 -2
- package/_assets/{add-CTHe98e6.js → add-C46RTTNX.js} +3 -3
- package/_assets/{all-wallets-DhuabZhK.js → all-wallets-byTNDEq1.js} +2 -2
- package/_assets/{app-store-B6taH2bQ.js → app-store-CaKIhI-8.js} +2 -2
- package/_assets/{apple-Dg5wuMVl.js → apple-DAMB_3Lk.js} +3 -3
- package/_assets/{arrow-bottom-DGKCuT-u.js → arrow-bottom-Cx66u8_t.js} +3 -3
- package/_assets/{arrow-bottom-circle-DizCI34l.js → arrow-bottom-circle-Bv2eZVEF.js} +3 -3
- package/_assets/{arrow-left-B5Shucf2.js → arrow-left-D0I0JXz4.js} +3 -3
- package/_assets/arrow-right-BHc70exa.js +9 -0
- package/_assets/{arrow-top-9YDPz3-j.js → arrow-top-uM_hNW8Z.js} +3 -3
- package/_assets/{async-directive-BCdPKC92.js → async-directive-CeCQAQEH.js} +4 -4
- package/_assets/{bank-BsLbzuJN.js → bank-CQUOEuRq.js} +2 -2
- package/_assets/{basic-8qT1ixsR.js → basic-GpwOtGyM.js} +2 -2
- package/_assets/{biconomy-BgEih0rG.js → biconomy-NuhcX0Yi.js} +2 -2
- package/_assets/{browseLayout.styles-pvAICm0D.js → browseLayout.styles-D0MZbKfc.js} +2 -2
- package/_assets/{browser-BGA0SS8o.js → browser-Bh67F6hL.js} +3 -3
- package/_assets/{browser-JREaT17W.js → browser-CztLWw1I.js} +2 -2
- package/_assets/{browser-DYUQg7kp.js → browser-D0dzO3fx.js} +2 -2
- package/_assets/{browser-ponyfill-CtY0HAVq.js → browser-ponyfill-BdWvH_If.js} +2 -2
- package/_assets/buy-ZzigQNxZ.js +2 -0
- package/_assets/{buy-gasless-D9wW1gq1.js → buy-gasless-5QIoW0es.js} +2 -2
- package/_assets/{card-DrayzgIc.js → card-DcQ1wkCr.js} +2 -2
- package/_assets/cart-checkout-D_rUzOn4.js +2 -0
- package/_assets/{categories-rNs1-QVq.js → categories-BCcLvB19.js} +2 -2
- package/_assets/{ccip-_B6OMMwG.js → ccip-0C-WJ2f3.js} +2 -2
- package/_assets/{ccip-BJ6xjfZv.js → ccip-CcFd-pp_.js} +2 -2
- package/_assets/{chains-CzWJwcQq.js → chains-BoWQ7jDs.js} +2 -2
- package/_assets/{checkmark-CuwMFqmQ.js → checkmark-GDL9YfL4.js} +2 -2
- package/_assets/{checkmark-bold-BZ8hvIfL.js → checkmark-bold-B-Sg0XJy.js} +3 -3
- package/_assets/{chevron-bottom-BICEUkQ-.js → chevron-bottom-CLuKI9LQ.js} +2 -2
- package/_assets/{chevron-left-Dj_IHYPd.js → chevron-left-B_RU4s1F.js} +3 -3
- package/_assets/{chevron-right-DfmPfPeR.js → chevron-right-C6ckznAo.js} +2 -2
- package/_assets/{chevron-top-ChQ_XprN.js → chevron-top-CJOmtrv2.js} +3 -3
- package/_assets/{chrome-store-yR8DW2WG.js → chrome-store-s39Q_LJM.js} +3 -3
- package/_assets/{class-map-BdERzGec.js → class-map-BxMzgOIb.js} +6 -6
- package/_assets/{clock-DSdZt3kx.js → clock-DmJj-grN.js} +2 -2
- package/_assets/close-D4d1U5NV.js +9 -0
- package/_assets/{coinPlaceholder-DZE_o-zF.js → coinPlaceholder-VDdmV3rm.js} +3 -3
- package/_assets/collectionPage.styles-rZa1BWWK.js +41 -0
- package/_assets/common-aEQBU1aZ.js +2 -0
- package/_assets/{compass-D4tC5ehy.js → compass-O2jaVbub.js} +2 -2
- package/_assets/{controller-C9-v8tyX.js → controller-BHSkmDDd.js} +3 -3
- package/_assets/{copy-DYrxzMu3.js → copy-D2eE3KCY.js} +2 -2
- package/_assets/{core-Yfo9aNXH.js → core-Dnx08t4s.js} +5 -5
- package/_assets/{createSvgIcon-C3kMJVlr.js → createSvgIcon-C3DiORbY.js} +4 -4
- package/_assets/crumbs.styles-D969n73j.js +10 -0
- package/_assets/{cursor-CGNqBNs2.js → cursor-DSrN7SuI.js} +2 -2
- package/_assets/{cursor-transparent-Db9408Lh.js → cursor-transparent-DxuBEx9O.js} +3 -3
- package/_assets/{custom-CUiRIOz_.js → custom-CyjlH7Cr.js} +2 -2
- package/_assets/{data-capture-K_NAswZS.js → data-capture-BUt-tqa3.js} +5 -5
- package/_assets/{dcl-schemas-f-Kwmh24.js → dcl-schemas-CyEZVc6x.js} +2 -2
- package/_assets/decimals-BLhtmmbN.js +2 -0
- package/_assets/decimals-CiM-QvAk.js +2 -0
- package/_assets/{desktop-8ERr7FQB.js → desktop-DwZtv9fm.js} +3 -3
- package/_assets/detectExtension-CdbTZOKn.js +2 -0
- package/_assets/{disconnect-BaCM-42U.js → disconnect-BbwiqFJ2.js} +3 -3
- package/_assets/{discord-DIiirh17.js → discord-qWAUKbRO.js} +2 -2
- package/_assets/{disposePreview-B05_BnMi.js → disposePreview-D5v9GkJF.js} +2 -2
- package/_assets/{email-CAknsz-I.js → email-BGoeypvI.js} +7 -7
- package/_assets/{embedded-wallet-CMEVox74.js → embedded-wallet-Cg2BVqx1.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-D3fDCxgY.js → emotion-styled.browser.esm-Bc8640ZT.js} +2 -2
- package/_assets/{engine-E-mmdBXn.js → engine-BQ4XBK5G.js} +2 -2
- package/_assets/errors-DUBMk1_u.js +2 -0
- package/_assets/estimate-l1-fee-Cvh02XjO.js +2 -0
- package/_assets/eth_estimateGas-BH-_dHsN.js +2 -0
- package/_assets/eth_getStorageAt-CHailSu6.js +2 -0
- package/_assets/eth_getTransactionCount-Ce8ytlz4.js +2 -0
- package/_assets/ethereum-AiomgAl3.js +2 -0
- package/_assets/{ethers-QQ5HxdlK.js → ethers-CQbljc2C.js} +2 -2
- package/_assets/{etherscan-Bfm2dZO9.js → etherscan-TUQ32gbU.js} +2 -2
- package/_assets/{events-DxSgzFZk.js → events-Ey8xQ1_i.js} +2 -2
- package/_assets/{exclamation-triangle-rcl1W2-L.js → exclamation-triangle-ETkxexlo.js} +3 -3
- package/_assets/{execute-BnGJDKrt.js → execute-CcyXPSES.js} +3 -3
- package/_assets/{extension-CfQ82K2-.js → extension-DoOVmXmT.js} +3 -3
- package/_assets/{external-link-V3py9Mkm.js → external-link-BEPN-Y2j.js} +3 -3
- package/_assets/extractIPFS-CZpI5_La.js +2 -0
- package/_assets/{facebook-DrblV0Ry.js → facebook-BmPLPVaB.js} +3 -3
- package/_assets/{farcaster-BYLQu4i6.js → farcaster-BLIAglQl.js} +3 -3
- package/_assets/{features-ChJno5-R.js → features-CW3BJut9.js} +2 -2
- package/_assets/fetchTokenMetadata-zQ7k58lq.js +3 -0
- package/_assets/{field.styles-ofcJTynr.js → field.styles-CNumGj8X.js} +2 -2
- package/_assets/{filters-C4hZu2nU.js → filters-DWaFeZ95.js} +3 -3
- package/_assets/{fortmatic-D8VKfBkC.js → fortmatic-D7_cu5X7.js} +2 -2
- package/_assets/{get-bytecode-Bg8rEYVa.js → get-bytecode-ChEcvuHJ.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-BXFPDksD.js +2 -0
- package/_assets/{getBalance-hTHuthoO.js → getBalance-CdWdKWho.js} +3 -3
- package/_assets/getInstalledModules-Dy7ryxbR.js +2 -0
- package/_assets/{getNFT-uPInQjpf.js → getNFT-CVhWquj2.js} +3 -3
- package/_assets/getNFT-DEIlQj0F.js +2 -0
- package/_assets/{github-etC7Hd9s.js → github-BiA5cQMJ.js} +3 -3
- package/_assets/{google-CZBxFGk_.js → google-CsF9xgle.js} +2 -2
- package/_assets/{grid.styles-Baa4eis9.js → grid.styles-DGwAy7au.js} +2 -2
- package/_assets/{hashTypedData-DA-37fbc.js → hashTypedData-CS0nSVCm.js} +2 -2
- package/_assets/{hashTypedData-CMm-jTgx.js → hashTypedData-G7W_A13L.js} +2 -2
- package/_assets/{help-circle-BUZl81PK.js → help-circle-Bwgxn3Vn.js} +3 -3
- package/_assets/{id-C1QikfkN.js → id-O5raZ1NS.js} +2 -2
- package/_assets/{image-KyF9J1CW.js → image-CbhOQpP5.js} +2 -2
- package/_assets/import-C1FMKChQ.js +2 -0
- package/_assets/{in-app-C-nY1x0g.js → in-app-C03QvI9E.js} +2 -2
- package/_assets/{in-app-wallet-calls-BnWxOmqr.js → in-app-wallet-calls-BSt_kW07.js} +2 -2
- package/_assets/{index-C6b8QTjl.js → index-201_pXjD.js} +4 -4
- package/_assets/{index-Bgozodi0.js → index-4lxXm67R.js} +2 -2
- package/_assets/index-4y3ole-I.js +31 -0
- package/_assets/{index-Ot-sXE8W.js → index-B0G5-1U4.js} +2 -2
- package/_assets/{index-DyIrO5Lu.js → index-B4vPl9JJ.js} +4 -4
- package/_assets/{index-CWZbu3Zl.js → index-B9BLMD9v.js} +7 -7
- package/_assets/{index-CdIbZpxZ.js → index-BDhEGVn5.js} +5 -5
- package/_assets/{index-BuPpBFeR.js → index-BGlAHo1V.js} +2 -2
- package/_assets/{index-apbK0STs.js → index-BHRJojA7.js} +2 -2
- package/_assets/{index-CO-COJ2X.js → index-BWhGWxu6.js} +4 -4
- package/_assets/{index-DeAAM4-1.js → index-BYpz1U-Z.js} +2 -2
- package/_assets/{index-CkWQJkCU.js → index-B_Ukoyjo.js} +4 -4
- package/_assets/{index-BlzUq8rr.js → index-Bc5rdQrs.js} +2 -2
- package/_assets/{index-BQT03-OC.js → index-BiR1vPRL.js} +449 -449
- package/_assets/{index-CeqE4eqv.js → index-BjTaCUde.js} +6 -6
- package/_assets/index-Bvf3c8I8.js +2 -0
- package/_assets/{index-C-m7qLKA.js → index-Bx-HA0Fa.js} +4 -4
- package/_assets/{index-CZmBjRUE.js → index-C0q8Kut4.js} +15 -15
- package/_assets/{index-DuWGyd6U.css → index-C53nEuU1.css} +1 -1
- package/_assets/{index-B9pH_6Si.js → index-C8RRvl4w.js} +5 -5
- package/_assets/{index-CS_3MdD_.js → index-CAdxESjh.js} +3 -3
- package/_assets/{index-B4Xg1dZG.js → index-CITTAZNc.js} +2 -2
- package/_assets/{index-BZKatAuj.js → index-CMsQl6_s.js} +2 -2
- package/_assets/{index-CaznqQR9.js → index-CRdAPM4e.js} +3 -3
- package/_assets/{index-BFP8-jP3.js → index-CSAbgA1H.js} +2 -2
- package/_assets/{index-C7zPem7g.js → index-CVjhybQY.js} +4 -4
- package/_assets/{index-DNJ0CGQD.js → index-CZ765edO.js} +5 -5
- package/_assets/{index-DfLp_eyp.js → index-C_MZ3G2Z.js} +2 -2
- package/_assets/{index-C1UO5yah.js → index-CbJaCRxI.js} +2 -2
- package/_assets/{index-D6p4gJX2.js → index-Cbvqh2tB.js} +2 -2
- package/_assets/{index-R5bPamIo.js → index-CeBVhm3u.js} +2 -2
- package/_assets/index-Cq3PcGZS.js +2 -0
- package/_assets/{index-BUzhO8NO.js → index-CseNtOsJ.js} +3 -3
- package/_assets/{index-xBU8zVdN.js → index-Csid9_UU.js} +2 -2
- package/_assets/{index-DByEURm7.js → index-CtUq3VAh.js} +2 -2
- package/_assets/{index-00w-fqT3.js → index-Cy_pguIe.js} +2 -2
- package/_assets/{index-_CwckKK1.js → index-CzzqMKs2.js} +2 -2
- package/_assets/{index-Dj3X2ReU.js → index-D-bvLCMJ.js} +4 -4
- package/_assets/{index-CZFZoLmR.js → index-D080sfYK.js} +5 -5
- package/_assets/{index-CV3uw-Zw.js → index-D7n0Nbcc.js} +4 -4
- package/_assets/{index-BMMLE3lm.js → index-DBpSYzZ1.js} +2 -2
- package/_assets/{index-jH8Z5JnA.js → index-DCOfqwFn.js} +5 -5
- package/_assets/{index-DCju8nvn.js → index-DHAeKuI8.js} +2 -2
- package/_assets/{index-BT-I5haL.js → index-DNpS4XJW.js} +3 -3
- package/_assets/{index-D1mmmlpU.js → index-DUvDgJtL.js} +3 -3
- package/_assets/{index-axPViouQ.js → index-DW4iGfw5.js} +2 -2
- package/_assets/index-DYEzTJ00.js +28 -0
- package/_assets/{index-CG62ezm8.js → index-DbnwTj_J.js} +3 -3
- package/_assets/{index-BkMULqP4.js → index-DiRK7oEZ.js} +2 -2
- package/_assets/{index-iekFjIOC.js → index-DmEpmcAI.js} +6 -6
- package/_assets/{index-BjH5ZGRV.js → index-Dr8MILBs.js} +8 -8
- package/_assets/{index-D6tlKgne.js → index-DtQZWv2W.js} +2 -2
- package/_assets/{index-CtHpfBoV.js → index-DvGoWYRw.js} +2 -2
- package/_assets/{index-DOGeBjp6.js → index-DzXb9yfS.js} +2 -2
- package/_assets/{index-B8n9s11Y.js → index-P_yp2lGD.js} +2 -2
- package/_assets/{index-Daqrna4U.js → index-QkD5v2W0.js} +2 -2
- package/_assets/{index-TBCN8Slm.js → index-SRawa_W1.js} +2 -2
- package/_assets/{index-D0GgiR11.js → index-TuFs6Mw_.js} +3 -3
- package/_assets/{index-BdamhESB.js → index-VVP1Lz5F.js} +4 -4
- package/_assets/{index-BuVu67lQ.js → index-WhAOvWl7.js} +9 -9
- package/_assets/{index-Fsk2Hbva.js → index-ZSCJO9rV.js} +7 -7
- package/_assets/{index-C3RjhI_p.js → index-d0JdYucS.js} +2 -2
- package/_assets/{index-C1wzgEVq.js → index-gx6q3jYb.js} +2 -2
- package/_assets/{index-BevBiuLl.js → index-jG0dKzqZ.js} +2 -2
- package/_assets/{index-Bcrohrl-.js → index-mp9sO-P_.js} +5 -5
- package/_assets/{index-DQu7SA7d.js → index-ovxDr1NO.js} +2 -2
- package/_assets/{index-B5JS9Clv.js → index-rWvX-JNU.js} +2 -2
- package/_assets/{index-DjpGk0_x.js → index-sc9WaH7T.js} +2 -2
- package/_assets/{index.es-Di76vizL.js → index.es-B3Zhssg2.js} +2 -2
- package/_assets/{index.es-CTgZPWm-.js → index.es-CuJy51Rq.js} +5 -5
- package/_assets/{index.es-Dq41ZPxs.js → index.es-DF1aG5Z7.js} +2 -2
- package/_assets/{index.es-n8D3Sd0b.js → index.es-DmJ25C-K.js} +2 -2
- package/_assets/{info-DaeURCNf.js → info-B91xCNqh.js} +2 -2
- package/_assets/info-circle-DtEY-DDD.js +13 -0
- package/_assets/{items-empty-DKxZ65y_.js → items-empty-BAKFq7PT.js} +2 -2
- package/_assets/jsxRuntime.module-BUzu5v1_.js +2 -0
- package/_assets/{jump-16x52o_a.js → jump-BolxKTOM.js} +2 -2
- package/_assets/{lightbulb-SUie1snx.js → lightbulb-ByedgZqO.js} +3 -3
- package/_assets/linkAccount-D4jgrDpa.js +2 -0
- package/_assets/{localBatchGatewayRequest-BMe2q_5E.js → localBatchGatewayRequest-BMvn0i_b.js} +2 -2
- package/_assets/{mail-BMQ_Tcbe.js → mail-B2wBPliw.js} +3 -3
- package/_assets/{mobile-DWNrp5xU.js → mobile-COGIkuHo.js} +2 -2
- package/_assets/modal.styles-G1Y436F0.js +531 -0
- package/_assets/{modal.styles-n9Y4CaNq.js → modal.styles-wZfJxa-e.js} +2 -2
- package/_assets/{more-BJafKVQX.js → more-zcriamqw.js} +3 -3
- package/_assets/{native-ehoRf_75.js → native-BS9-NZgY.js} +2 -2
- package/_assets/{network-placeholder-BNTWT8_K.js → network-placeholder-Cm-6akxX.js} +2 -2
- package/_assets/{networks-DicXj4Bi.js → networks-BuXAUv57.js} +2 -2
- package/_assets/{nftPlaceholder-BvQ5YwOQ.js → nftPlaceholder-vZdYCYRL.js} +2 -2
- package/_assets/{off-DwIf2gSg.js → off-CLF8R11w.js} +3 -3
- package/_assets/{onramp-DGxIQZko.js → onramp-B2gdYmCO.js} +2 -2
- package/_assets/openzeppelin-B_FytaNI.js +2 -0
- package/_assets/{ownerOf-UnPFHclt.js → ownerOf-D6JpENJA.js} +2 -2
- package/_assets/parseNft-DiM6gxbM.js +3 -0
- package/_assets/{parseSignature-B9QDOsIp.js → parseSignature-BJVq2ShY.js} +4 -4
- package/_assets/{parseSignature-BuEMAnZl.js → parseSignature-VwEmUV8h.js} +2 -2
- package/_assets/{passkeys-D60yIHE9.js → passkeys-DEiWC5Z7.js} +2 -2
- package/_assets/{pay-with-exchange-tm5S6FFX.js → pay-with-exchange-C7Nm7Ic2.js} +2 -2
- package/_assets/{play-store-CA36CBrS.js → play-store-CAbJYmXD.js} +2 -2
- package/_assets/{plus-Cns28nqN.js → plus-DWQF9t2p.js} +3 -3
- package/_assets/{prepare-contract-call-C9bwXTUv.js → prepare-contract-call-r6GCr7Mb.js} +2 -2
- package/_assets/{qr-code-Q_tmm4VY.js → qr-code-Br4VphwV.js} +3 -3
- package/_assets/{qr-overlay-DNIPp0ap.js → qr-overlay-mbqSXRsy.js} +6 -6
- package/_assets/{react-Dombkhv6.js → react-DKpLHQl0.js} +2 -2
- package/_assets/{receive-D8koI1qS.js → receive-KMWzb1kT.js} +2 -2
- package/_assets/{recycle-horizontal-DjogUTaH.js → recycle-horizontal-DdAImjTL.js} +3 -3
- package/_assets/{ref-PrJHD-ud.js → ref-D90CCjlU.js} +3 -3
- package/_assets/{refresh-BoBh2MVk.js → refresh-S-H2nzPq.js} +3 -3
- package/_assets/{reown-logo-CT7u8xi3.js → reown-logo-D5L2QY4i.js} +3 -3
- package/_assets/{resolveImplementation-8uufRanE.js → resolveImplementation-NjDCaPa0.js} +2 -2
- package/_assets/{resume-buy-BQkiNyYh.js → resume-buy-DRxVLtZn.js} +2 -2
- package/_assets/resume-name-m2sdJCvP.js +2 -0
- package/_assets/{rpc-TAsoHmMK.js → rpc-C6ONv-35.js} +4 -4
- package/_assets/{sales-empty-D0iWvumY.js → sales-empty-BJGisiNF.js} +2 -2
- package/_assets/{search-empty-CYHPyiwy.js → search-empty-DcGDTM8L.js} +2 -2
- package/_assets/{search-971TVQY2.js → search-f6j421fJ.js} +3 -3
- package/_assets/{secp256k1-Bgo4IyeY.js → secp256k1-BhLjMGke.js} +2 -2
- package/_assets/{secp256k1-COemtrZ_.js → secp256k1-Dogd-wfD.js} +2 -2
- package/_assets/{secp256k1-CsX1CoV5.js → secp256k1-ZRJNrIuk.js} +2 -2
- package/_assets/{send-J6eNNrry.js → send-B4t6gmpc.js} +12 -12
- package/_assets/{send-BJky82OD.js → send-BAUrBF6z.js} +3 -3
- package/_assets/send-batch-transaction-BULbschT.js +2 -0
- package/_assets/{send-eip712-transaction-DJP6tJ5E.js → send-eip712-transaction-B5q6HGy1.js} +3 -3
- package/_assets/send-gasless-transaction-BW_1tZ59.js +3 -0
- package/_assets/send-transaction-D5g8ka92.js +3 -0
- package/_assets/sendMetaTransaction-BiqdXKVl.js +2 -0
- package/_assets/{sendRawTransaction-sBW21l6i.js → sendRawTransaction-DHZVBFUc.js} +4 -4
- package/_assets/{sentry-DgsMrt01.js → sentry-WFsNKO98.js} +3 -3
- package/_assets/{serializeTransaction-G0I8bf1U.js → serializeTransaction-C1OICSTJ.js} +2 -2
- package/_assets/{session-proposal-fppNtPts.js → session-proposal-C_rldw8k.js} +2 -2
- package/_assets/session-request-DRsdGyCL.js +3 -0
- package/_assets/{sha256-Cm0WQDsB.js → sha256-YJL3wOOs.js} +2 -2
- package/_assets/{sha3-DPbQQPsg.js → sha3-DxT-REZ2.js} +2 -2
- package/_assets/signin-empty-DXl1Qpby.js +2 -0
- package/_assets/{signing-BtEOk8Sb.js → signing-B9DcFwzm.js} +4 -4
- package/_assets/{skeleton.styles-CdhhJKly.js → skeleton.styles-C4BBCe2d.js} +2 -2
- package/_assets/{socials-CFMlKmWD.js → socials-Zki4qksa.js} +2 -2
- package/_assets/{styled-DIuUwEGM.js → styled-uWbR3175.js} +3 -3
- package/_assets/{swapHorizontal-BROJkMe6.js → swapHorizontal-BXjIGAcZ.js} +2 -2
- package/_assets/{swapHorizontalBold-DGj8RzHp.js → swapHorizontalBold-BzueHopN.js} +3 -3
- package/_assets/{swapHorizontalMedium-CTW2pJ0O.js → swapHorizontalMedium-DLFo4hRx.js} +2 -2
- package/_assets/{swapHorizontalRoundedBold-BAWFLi4l.js → swapHorizontalRoundedBold-BddBy7OL.js} +2 -2
- package/_assets/{swapVertical-D0KCL9o6.js → swapVertical-DYkySTmy.js} +3 -3
- package/_assets/{swaps-1v9wGZS3.js → swaps-DiPvT9W6.js} +2 -2
- package/_assets/{telegram-BrWZtQW9.js → telegram-D8ymSABf.js} +3 -3
- package/_assets/{thirdweb-IWXuiChr.js → thirdweb-wDwbIJ1W.js} +4 -4
- package/_assets/{three-dots-BqbdzVIX.js → three-dots-CiS9iH0H.js} +2 -2
- package/_assets/{to-serializable-transaction-C5libsTc.js → to-serializable-transaction-6f6pRX-q.js} +3 -3
- package/_assets/totalSupply-rJ9WcMzs.js +2 -0
- package/_assets/trade-encoding-DcX77zVS.js +2 -0
- package/_assets/{transaction-xj7V9Qtr.js → transaction-DxXkarJJ.js} +2 -2
- package/_assets/transactionReceipt-CxzioWsu.js +2 -0
- package/_assets/transactions-BGQTb4VV.js +17 -0
- package/_assets/{twitch-CjF65t51.js → twitch-BJQCmiGz.js} +2 -2
- package/_assets/{twitterIcon-BaOdDtc8.js → twitterIcon-B78o99Zv.js} +2 -2
- package/_assets/{useCreatorSales-C3CJHUNh.js → useCreatorSales-D4BzYp33.js} +19 -19
- package/_assets/{useInfiniteGrid-sopvcWVc.js → useInfiniteGrid-BUDyyZZl.js} +2 -2
- package/_assets/{useStore-D4IZ0aSp.js → useStore-tid_idJp.js} +3 -3
- package/_assets/useTheme-CRxh5DOu.js +2 -0
- package/_assets/{utils-C_H40_2X.js → utils-Cj21wfvp.js} +2 -2
- package/_assets/{verify-CzEN-nsy.js → verify-CrYE2kna.js} +3 -3
- package/_assets/{verify-filled-TDYOeDJL.js → verify-filled-CwwnY5h6.js} +2 -2
- package/_assets/{verifyHash-YINPIkpF.js → verifyHash-mzlxS6TY.js} +2 -2
- package/_assets/{w3m-modal-BXr8SOpG.js → w3m-modal-BArYWi0C.js} +2 -2
- package/_assets/{w3m-modal-DsNXjGjb.js → w3m-modal-BXpuWB5y.js} +2 -2
- package/_assets/{wait-for-tx-receipt-C8fAiv-C.js → wait-for-tx-receipt-DRwGvrwD.js} +2 -2
- package/_assets/{wallet-CUlGPHz3.js → wallet-EosqBoq7.js} +2 -2
- package/_assets/{wallet-placeholder-CkipoQX-.js → wallet-placeholder-DL8kIY2O.js} +3 -3
- package/_assets/{walletconnect-CJlDhwv0.js → walletconnect-CauX9cVK.js} +4 -4
- package/_assets/{wallets-LOprNqot.js → wallets-HjCMtUn8.js} +6 -6
- package/_assets/warning-circle-BrcBx24p.js +13 -0
- package/_assets/{web-connector-DUWewhFv.js → web-connector-15d-OnTN.js} +4 -4
- package/_assets/{writeContract-BsMB90wa.js → writeContract-BJQQGUKO.js} +2 -2
- package/_assets/x-CwtQDczS.js +13 -0
- package/_assets/{zora-sepolia-BYhoHBlo.js → zora-sepolia-BFYuSeeX.js} +2 -2
- package/_assets/{zoraTestnet-CO3bQ8ny.js → zoraTestnet-DdfVMUdb.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/sitemap.xml +1 -1
- package/_assets/Activity-BCobIEqr.js +0 -400
- package/_assets/Assets-DTDpj6EF.js +0 -939
- package/_assets/Authorizations-Dyvzc298.js +0 -192
- package/_assets/CollectionCarousel-CClg5SGV.js +0 -851
- package/_assets/Confetti-B2guP7xN.js +0 -18
- package/_assets/DeploymentBuilder-BRc8X1GH.js +0 -4
- package/_assets/Event-DTI3sNqP.js +0 -72
- package/_assets/HelpersUtil-BXZPT-5p.js +0 -63
- package/_assets/LoadMore-5VaFL5J8.js +0 -8
- package/_assets/NotFound-CFpr8Znc.js +0 -18
- package/_assets/NotificationsBell-Bfgul_iB.js +0 -142
- package/_assets/PhCaretDown-niSUmOpX.js +0 -15
- package/_assets/PhCaretLeft-5pVZjDE4.js +0 -15
- package/_assets/PhCaretRight-xH-dut9T.js +0 -15
- package/_assets/PhCaretUp-BuqimB7k.js +0 -15
- package/_assets/SaleCountdown-LU-Yu5_R.js +0 -99
- package/_assets/arrow-right-CS0VOWZq.js +0 -9
- package/_assets/authorizations-Ob__E7YP.js +0 -2
- package/_assets/builder-Bkdo9MyY.js +0 -2
- package/_assets/buy-4DFO6Bjc.js +0 -2
- package/_assets/close-Du9ogfts.js +0 -9
- package/_assets/collectionPage.styles-T8QJ2uHO.js +0 -41
- package/_assets/common-B1cK8U3y.js +0 -2
- package/_assets/crumbs.styles-CGLucAba.js +0 -10
- package/_assets/decimals-DtF4b0wO.js +0 -2
- package/_assets/decimals-hxhJgmkh.js +0 -2
- package/_assets/detectExtension-BWZRKjyw.js +0 -2
- package/_assets/errors-JIkdqYdS.js +0 -2
- package/_assets/estimate-l1-fee-CTbp2FZb.js +0 -2
- package/_assets/eth_estimateGas-D_H7Au3g.js +0 -2
- package/_assets/eth_getStorageAt-CX4sH_ZX.js +0 -2
- package/_assets/eth_getTransactionCount-ycq8a8zK.js +0 -2
- package/_assets/ethereum-BhyqMTt5.js +0 -2
- package/_assets/extractIPFS-CiIcd-zt.js +0 -2
- package/_assets/fetchTokenMetadata-Dp3XcLsm.js +0 -3
- package/_assets/get-ecosystem-wallet-info-ydSiKNvA.js +0 -2
- package/_assets/getInstalledModules-DXv7DPgP.js +0 -2
- package/_assets/getNFT-CyqvSlNG.js +0 -2
- package/_assets/import-2e9MfFqq.js +0 -2
- package/_assets/index-B3kXX9iR.js +0 -28
- package/_assets/index-BRmZB5PP.js +0 -31
- package/_assets/index-Bac7Ln9X.js +0 -2
- package/_assets/index-En01i4P6.js +0 -2
- package/_assets/info-circle-mEb0pRoV.js +0 -13
- package/_assets/jsxRuntime.module-6wpz9UoU.js +0 -2
- package/_assets/linkAccount-Bp15G5p5.js +0 -2
- package/_assets/openzeppelin-DARH7c8-.js +0 -2
- package/_assets/parseNft-ClNOIjNy.js +0 -3
- package/_assets/send-batch-transaction-DPd2oV50.js +0 -2
- package/_assets/send-gasless-transaction-1n223Tf8.js +0 -3
- package/_assets/send-transaction-UfIIZtyM.js +0 -3
- package/_assets/sendMetaTransaction-DQ-jkGgK.js +0 -2
- package/_assets/session-request-D4Ni-baa.js +0 -3
- package/_assets/signin-empty-CY9eL7IB.js +0 -2
- package/_assets/totalSupply-CGCsNiFp.js +0 -2
- package/_assets/trade-encoding-CHp-srqw.js +0 -2
- package/_assets/transactionReceipt-JGqFHl-t.js +0 -2
- package/_assets/transactions-BCD1_Ajq.js +0 -17
- package/_assets/useCreditPacks-BVuY_cvh.js +0 -2
- package/_assets/useTheme-BEQPRnmX.js +0 -2
- package/_assets/warning-circle-B2n9VXBj.js +0 -13
- package/_assets/x-BK627-zl.js +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as ce,j as e,L as
|
|
1
|
+
import{b as ce,j as e,L as Fe,e as Le,u as Me,r as L}from"./react-DKpLHQl0.js";import{u as _e,s as Ae}from"./search-empty-DcGDTM8L.js";import{u as Re,S as Q,R as ze,F as Te,a as Be}from"./Filters-BsZs-9_M.js";import{a as de,bG as De,a8 as X,a7 as Z,s,bH as We,A as Oe,bI as Ge,t as o,bJ as Ke,bK as ee,H as Ue,n as he,a2 as ue,x as He,bL as me,bM as Ve,bN as qe,I as te,c as Ye,B as Je,w as Qe,at as Xe,W as Ze,X as et,$ as M,Y as R,a0 as oe,bO as re,bP as tt}from"./index-BiR1vPRL.js";import{T as pe}from"./skeleton.styles-C4BBCe2d.js";import{d as ot,P as rt,C as it,a as st,b as at,c as nt,e as lt}from"./collectionPage.styles-rZa1BWWK.js";import{u as ct,L as dt}from"./useStore-tid_idJp.js";import{L as ie}from"./LoadMore-BxuVAL5h.js";import{u as se}from"./useInfiniteGrid-BUDyyZZl.js";import{S as ht}from"./categories-BCcLvB19.js";import{E as z}from"./ErrorNotice-Dlh8ddHO.js";import{c as ut,i as mt}from"./items-empty-BAKFq7PT.js";import{R as pt,S as xt,a as gt,D as ft,b as bt,C as wt,c as yt,d as vt,e as jt,M as Ct}from"./browseLayout.styles-D0MZbKfc.js";import{G as ae}from"./grid.styles-DGwAy7au.js";import"./Tooltip-BIdqgK8V.js";import"./dcl-schemas-CyEZVc6x.js";import"./sentry-WFsNKO98.js";import"./ethers-CQbljc2C.js";import"./intl-AKLEHPeO.js";import"./crumbs.styles-D969n73j.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new r.Error().stack;i&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[i]="6837c9d9-5b84-4f22-9aa5-831a20396440",r._sentryDebugIdIdentifier="sentry-dbid-6837c9d9-5b84-4f22-9aa5-831a20396440")}catch{}})();function kt(r){const{gridLoading:i,gridError:a,gridCount:l,baselinePending:c,baselineError:d,baselineCount:b}=r;return i?"skeletons":a?"error":l>0?"items":c?"skeletons":d?"error":b===0?"no-creations":"filters"}const{colors:w,radius:$,media:$t}=de,St=s.article`
|
|
2
2
|
height: 300px;
|
|
3
3
|
/* No fill of its own (Figma 922:183803): the mosaic covers the top and the footer paints its own
|
|
4
4
|
translucent black, so the page field is what shows through the corners. */
|
|
@@ -16,10 +16,10 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&:focus-visible {
|
|
19
|
-
${
|
|
19
|
+
${X};
|
|
20
20
|
}
|
|
21
21
|
&:focus-visible::after {
|
|
22
|
-
${
|
|
22
|
+
${Z};
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// The swap is a pointer affordance only: keyboard focus must not hide the creator row, whose profile
|
|
@@ -27,13 +27,13 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
27
27
|
// already opens the collection.
|
|
28
28
|
@media (hover: hover) {
|
|
29
29
|
&:hover {
|
|
30
|
-
${
|
|
30
|
+
${X};
|
|
31
31
|
/* No zoom, unlike AssetCard — the footer row already swaps, and scaling would nudge every label.
|
|
32
32
|
z-index still matters: the ring and glow paint outside the box, under the next card otherwise. */
|
|
33
33
|
z-index: 1;
|
|
34
34
|
}
|
|
35
35
|
&:hover::after {
|
|
36
|
-
${
|
|
36
|
+
${Z};
|
|
37
37
|
}
|
|
38
38
|
&:hover [data-view] {
|
|
39
39
|
visibility: visible;
|
|
@@ -42,38 +42,38 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
42
42
|
visibility: hidden;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
`,Nt=
|
|
45
|
+
`,Nt=s.div`
|
|
46
46
|
position: relative;
|
|
47
47
|
flex: 1;
|
|
48
48
|
min-height: 0;
|
|
49
|
-
background: ${
|
|
49
|
+
background: ${w.media};
|
|
50
50
|
overflow: hidden;
|
|
51
51
|
border-radius: ${$.card} ${$.card} 0 0;
|
|
52
|
-
`,Et=
|
|
52
|
+
`,Et=s.img`
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 100%;
|
|
55
55
|
object-fit: cover;
|
|
56
56
|
display: block;
|
|
57
|
-
`,Pt=
|
|
57
|
+
`,Pt=s(We)`
|
|
58
58
|
& [data-testid='coll-thumb-cell'] img {
|
|
59
59
|
object-fit: contain;
|
|
60
60
|
padding: 10px;
|
|
61
61
|
}
|
|
62
|
-
`,
|
|
62
|
+
`,It=s.div`
|
|
63
63
|
flex: 0 0 102px;
|
|
64
64
|
height: 102px;
|
|
65
65
|
padding: 12px 12px 16px 16px;
|
|
66
66
|
display: flex;
|
|
67
67
|
flex-direction: column;
|
|
68
68
|
gap: 8px;
|
|
69
|
-
background: ${
|
|
69
|
+
background: ${w.overlay};
|
|
70
70
|
border-radius: 0 0 ${$.card} ${$.card};
|
|
71
|
-
`,
|
|
71
|
+
`,Ft=s.h3`
|
|
72
72
|
margin: 0;
|
|
73
73
|
font-weight: 700;
|
|
74
74
|
font-size: 16px;
|
|
75
75
|
line-height: 1.6;
|
|
76
|
-
color: ${
|
|
76
|
+
color: ${w.white};
|
|
77
77
|
white-space: nowrap;
|
|
78
78
|
overflow: hidden;
|
|
79
79
|
text-overflow: ellipsis;
|
|
@@ -81,7 +81,7 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
81
81
|
${$t.maxWidth("mobile")} {
|
|
82
82
|
font-size: 16px;
|
|
83
83
|
}
|
|
84
|
-
`,Lt=
|
|
84
|
+
`,Lt=s.div`
|
|
85
85
|
flex: 1;
|
|
86
86
|
min-height: 0;
|
|
87
87
|
display: grid;
|
|
@@ -91,14 +91,14 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
91
91
|
& > * {
|
|
92
92
|
grid-area: stack;
|
|
93
93
|
}
|
|
94
|
-
`,Mt=
|
|
94
|
+
`,Mt=s.div`
|
|
95
95
|
display: flex;
|
|
96
96
|
align-items: center;
|
|
97
97
|
justify-content: space-between;
|
|
98
98
|
gap: 10px;
|
|
99
|
-
`,_t=
|
|
99
|
+
`,_t=s(Oe)`
|
|
100
100
|
min-width: 0;
|
|
101
|
-
color: ${
|
|
101
|
+
color: ${w.gray4};
|
|
102
102
|
|
|
103
103
|
& [data-avatar] {
|
|
104
104
|
width: 24px;
|
|
@@ -108,26 +108,26 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
108
108
|
font-size: 14px;
|
|
109
109
|
}
|
|
110
110
|
& [data-testid='creator-display'] {
|
|
111
|
-
color: ${
|
|
111
|
+
color: ${w.white};
|
|
112
112
|
font-weight: 600;
|
|
113
113
|
}
|
|
114
|
-
`,
|
|
114
|
+
`,At=s.span`
|
|
115
115
|
min-width: 0;
|
|
116
|
-
`,
|
|
116
|
+
`,Rt=s.span`
|
|
117
117
|
flex: none;
|
|
118
|
-
color: ${
|
|
118
|
+
color: ${w.gray4};
|
|
119
119
|
font-weight: 600;
|
|
120
120
|
font-size: 14px;
|
|
121
121
|
white-space: nowrap;
|
|
122
|
-
`,zt=
|
|
122
|
+
`,zt=s.button`
|
|
123
123
|
visibility: hidden;
|
|
124
124
|
width: 100%;
|
|
125
125
|
height: 46px;
|
|
126
126
|
display: flex;
|
|
127
127
|
align-items: center;
|
|
128
128
|
justify-content: center;
|
|
129
|
-
background: ${
|
|
130
|
-
color: ${
|
|
129
|
+
background: ${w.overlay};
|
|
130
|
+
color: ${w.softWhite};
|
|
131
131
|
border: 0;
|
|
132
132
|
border-radius: ${$.card};
|
|
133
133
|
font-weight: 600;
|
|
@@ -139,9 +139,9 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
139
139
|
|
|
140
140
|
&:hover,
|
|
141
141
|
&:active {
|
|
142
|
-
background: ${
|
|
142
|
+
background: ${w.text2};
|
|
143
143
|
}
|
|
144
|
-
`;function Tt({collection:r,cover:i,itemCount:
|
|
144
|
+
`;function Tt({collection:r,cover:i,itemCount:a}){const l=ce(),{contractAddress:c,name:d,creator:b}=r,j=i==null||a==null,{data:n}=Ge(c,j),g=i==null?(n==null?void 0:n.items)??[]:[],f=a??(n==null?void 0:n.total);function h(){l(`/collection/${c}`)}return e.jsxs(St,{"data-testid":"coll-card",role:"link",tabIndex:0,onClick:h,onKeyDown:m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),h())},children:[e.jsx(Nt,{children:i?e.jsx(Et,{"data-testid":"coll-card-img",src:i,alt:"",loading:"lazy"}):g.length>0?e.jsx(Pt,{items:g}):null}),e.jsxs(It,{children:[e.jsx(Ft,{title:d,children:d}),e.jsxs(Lt,{children:[e.jsxs(Mt,{"data-meta":!0,"data-testid":"coll-card-meta",children:[b?e.jsx(_t,{address:b,linkToProfile:!0}):e.jsx(At,{children:" "}),e.jsx(Rt,{"data-testid":"coll-card-count","aria-busy":f==null||void 0,children:f==null?e.jsx(pe,{className:"skeleton",width:54,"data-testid":"coll-card-count-skeleton","aria-hidden":!0}):o("collectionCard.itemCount",{count:f})})]}),e.jsx(zt,{"data-view":!0,"data-testid":"coll-card-view",onClick:m=>{m.stopPropagation(),h()},tabIndex:-1,children:o("collectionCard.viewCollection")})]})]})]})}function Bt({address:r,className:i=""}){const a=Ke(),l=ee(d=>d.followed.includes(r.toLowerCase())),c=ee(d=>d.toggle);return!a||!r?null:e.jsx(Ue,{type:"button",size:"sm",variant:l?"ghost":"outline",className:i||void 0,"data-testid":"follow-button","aria-pressed":l,title:l?o("creator.unfollowTitle"):o("creator.followTitle"),onClick:()=>c(r),children:l?o("creator.following"):o("creator.follow")})}const{colors:y,radius:xe,media:v}=de,ge=he`
|
|
145
145
|
display: inline-flex;
|
|
146
146
|
align-items: center;
|
|
147
147
|
justify-content: center;
|
|
@@ -149,13 +149,13 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
149
149
|
padding: 0 28px;
|
|
150
150
|
border-radius: ${xe.btn};
|
|
151
151
|
background: rgba(0, 0, 0, 0.5);
|
|
152
|
-
color: ${
|
|
152
|
+
color: ${y.white};
|
|
153
153
|
font-weight: 600;
|
|
154
154
|
font-size: 13px;
|
|
155
155
|
text-transform: uppercase;
|
|
156
156
|
letter-spacing: 0.046em;
|
|
157
157
|
text-decoration: none;
|
|
158
|
-
`,Dt=
|
|
158
|
+
`,Dt=s.section`
|
|
159
159
|
position: relative;
|
|
160
160
|
border-radius: ${xe.card};
|
|
161
161
|
overflow: hidden;
|
|
@@ -169,26 +169,26 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
169
169
|
${ge};
|
|
170
170
|
}
|
|
171
171
|
&& .creator-hero__follow:hover:not(:disabled) {
|
|
172
|
-
background: ${
|
|
172
|
+
background: ${y.blackBtn};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
${v.maxWidth("mobile")} {
|
|
176
176
|
min-height: 260px;
|
|
177
177
|
}
|
|
178
|
-
`,Wt=
|
|
178
|
+
`,Wt=s.div`
|
|
179
179
|
position: absolute;
|
|
180
180
|
inset: 0;
|
|
181
181
|
z-index: 0;
|
|
182
|
-
`,Ot=
|
|
182
|
+
`,Ot=s.img`
|
|
183
183
|
width: 100%;
|
|
184
184
|
height: 100%;
|
|
185
185
|
object-fit: cover;
|
|
186
186
|
display: block;
|
|
187
|
-
`,Gt=
|
|
187
|
+
`,Gt=s.div`
|
|
188
188
|
position: absolute;
|
|
189
189
|
inset: 0;
|
|
190
190
|
background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
|
|
191
|
-
`,Kt=
|
|
191
|
+
`,Kt=s.div`
|
|
192
192
|
position: absolute;
|
|
193
193
|
top: 16px;
|
|
194
194
|
right: 16px;
|
|
@@ -206,7 +206,7 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
206
206
|
display: flex;
|
|
207
207
|
align-items: center;
|
|
208
208
|
justify-content: center;
|
|
209
|
-
color: ${
|
|
209
|
+
color: ${y.white};
|
|
210
210
|
transition: opacity 0.15s linear;
|
|
211
211
|
|
|
212
212
|
&:hover {
|
|
@@ -222,14 +222,14 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
222
222
|
height: 30px;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
`,Ut=
|
|
225
|
+
`,Ut=s.a`
|
|
226
226
|
${fe};
|
|
227
|
-
`,Ht=
|
|
227
|
+
`,Ht=s(Fe)`
|
|
228
228
|
${fe};
|
|
229
229
|
width: 32px;
|
|
230
230
|
height: 32px;
|
|
231
231
|
border-radius: 50%;
|
|
232
|
-
border: 2px solid ${
|
|
232
|
+
border: 2px solid ${y.white};
|
|
233
233
|
transition: background-color 0.15s linear;
|
|
234
234
|
|
|
235
235
|
&:hover {
|
|
@@ -248,7 +248,7 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
248
248
|
height: 14px;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
`,Vt=
|
|
251
|
+
`,Vt=s.div`
|
|
252
252
|
position: relative;
|
|
253
253
|
z-index: 1;
|
|
254
254
|
display: flex;
|
|
@@ -261,13 +261,13 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
261
261
|
${v.maxWidth("mobile")} {
|
|
262
262
|
padding: 56px 16px 24px;
|
|
263
263
|
}
|
|
264
|
-
`,ne=
|
|
264
|
+
`,ne=s.img`
|
|
265
265
|
display: block;
|
|
266
266
|
width: 112px;
|
|
267
267
|
height: 112px;
|
|
268
268
|
border-radius: 50%;
|
|
269
269
|
object-fit: cover;
|
|
270
|
-
border: 4px solid ${
|
|
270
|
+
border: 4px solid ${y.white};
|
|
271
271
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
|
|
272
272
|
background: #ff4bed;
|
|
273
273
|
|
|
@@ -275,38 +275,38 @@ import{b as ce,j as e,L as Ie,e as Le,u as Me,r as L}from"./react-Dombkhv6.js";i
|
|
|
275
275
|
width: 88px;
|
|
276
276
|
height: 88px;
|
|
277
277
|
}
|
|
278
|
-
`,qt=
|
|
278
|
+
`,qt=s.h2`
|
|
279
279
|
margin: 0;
|
|
280
280
|
font-size: 18px;
|
|
281
281
|
font-weight: 700;
|
|
282
|
-
color: ${
|
|
282
|
+
color: ${y.white};
|
|
283
283
|
line-height: 1.6;
|
|
284
284
|
|
|
285
285
|
${v.maxWidth("mobile")} {
|
|
286
286
|
font-size: 16px;
|
|
287
287
|
}
|
|
288
|
-
`,
|
|
288
|
+
`,Yt=s.p`
|
|
289
289
|
margin: 0;
|
|
290
290
|
font-size: 15px;
|
|
291
|
-
color: ${
|
|
291
|
+
color: ${y.white};
|
|
292
292
|
line-height: 1.6;
|
|
293
293
|
max-width: 520px;
|
|
294
294
|
|
|
295
295
|
${v.maxWidth("mobile")} {
|
|
296
296
|
font-size: 14px;
|
|
297
297
|
}
|
|
298
|
-
`,
|
|
298
|
+
`,Jt=s.div`
|
|
299
299
|
display: flex;
|
|
300
300
|
align-items: center;
|
|
301
301
|
gap: 12px;
|
|
302
302
|
flex-wrap: wrap;
|
|
303
303
|
justify-content: center;
|
|
304
|
-
`,
|
|
304
|
+
`,Qt=s.a`
|
|
305
305
|
${ge};
|
|
306
306
|
transition: background 0.15s ease;
|
|
307
307
|
|
|
308
308
|
&:hover {
|
|
309
|
-
background: ${
|
|
309
|
+
background: ${y.blackBtn};
|
|
310
310
|
}
|
|
311
|
-
`,
|
|
312
|
-
//# sourceMappingURL=Creator-
|
|
311
|
+
`,Xt={website:"website",twitter:"twitter",discord:"discord",facebook:"facebook"};function Zt({address:r}){var m,C;const{data:i}=ue(r),{data:a}=ct(r),l=He(p=>{var S;return(S=p.session)==null?void 0:S.address}),c=!!l&&l.toLowerCase()===r.toLowerCase(),d=(i==null?void 0:i.name)||me(r),b=(C=(m=i==null?void 0:i.avatar)==null?void 0:m.snapshots)==null?void 0:C.face256,j=(a==null?void 0:a.cover)||ot,n=a==null?void 0:a.description,g=`${Ye.profileUrl}/${r}`,f=dt.filter(p=>a==null?void 0:a.links[p]),h=Ve(qe({name:i==null?void 0:i.name,hasClaimedName:i==null?void 0:i.hasClaimedName,ethAddress:(i==null?void 0:i.ethAddress)??r}));return e.jsxs(Dt,{"aria-label":`${d} storefront`,children:[e.jsxs(Wt,{children:[e.jsx(Ot,{src:j,alt:"",loading:"eager"}),e.jsx(Gt,{"aria-hidden":!0})]}),(f.length>0||c)&&e.jsxs(Kt,{children:[f.map(p=>e.jsx(Ut,{"data-testid":"creator-hero-link",href:(a==null?void 0:a.links[p])??"",target:"_blank",rel:"noopener noreferrer",title:o(`creator.link.${p}`),"aria-label":o(`creator.link.${p}`),children:e.jsx(te,{name:Xt[p]})},p)),c&&e.jsx(Ht,{to:"/store-settings",title:o("creator.editStore"),"aria-label":o("creator.editStore"),children:e.jsx(te,{name:"pen"})})]}),e.jsxs(Vt,{children:[b?e.jsx(ne,{src:b,alt:"",loading:"eager",style:{backgroundColor:h}}):e.jsx(ne,{as:"span","aria-hidden":!0,style:{backgroundColor:h}}),e.jsxs("div",{children:[e.jsx(qt,{children:d}),n?e.jsx(Yt,{children:n}):null]}),e.jsxs(Jt,{children:[e.jsx(Qt,{"data-testid":"creator-hero-view",href:g,target:"_blank",rel:"noopener noreferrer",children:o("creator.viewProfile")}),e.jsx(Bt,{address:r,className:"creator-hero__follow"})]})]})]})}const eo=["all","on_sale","not_for_sale"],le=48;function jo(){var Y,J;const{address:r}=Le(),i=ce(),[a]=Me(),l=a.has("collections"),{data:c}=ue(r),d=(c==null?void 0:c.name)||(r?me(r):o("creator.fallbackName"));Je({title:d,description:o("seo.creator.description",{name:d}),image:(J=(Y=c==null?void 0:c.avatar)==null?void 0:Y.snapshots)==null?void 0:J.face256});const b=L.useMemo(()=>({category:"all",status:"all",subCategory:null,rarities:[],priceMin:"",priceMax:"",smart:!1,sort:"newest"}),[]),[j,n]=_e(b),{category:g,subCategory:f,rarities:h,priceMin:m,priceMax:C,smart:p,sort:S}=j,N=eo.includes(j.status)?j.status:"all",T=t=>n({status:t});Re(`${l}:${g}:${f??""}`);const[P,E]=L.useState(!1);L.useEffect(()=>{if(!P)return;const t=Ie=>{Ie.key==="Escape"&&E(!1)};document.addEventListener("keydown",t);const x=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=x}},[P]);const B=m&&!Number.isNaN(Number(m))?Number(m):void 0,D=C&&!Number.isNaN(Number(C))?Number(C):void 0,be=f?ht[f]:void 0,we=(Q.find(t=>t.key===S)??Q[0]).server,W={creator:r,category:g,rarities:h.length?h:void 0,wearableCategories:be,minPriceCredits:B,maxPriceCredits:D,isWearableSmart:p||void 0,isOnSale:N==="all"?void 0:N==="on_sale",sortBy:we},{items:_,total:ye,isLoading:ve,isPlaceholderData:je,error:O,hasNextPage:Ce,isFetchingNextPage:G,isFetchNextPageError:ke,fetchNextPage:$e}=se(["creator-items",W],t=>re({...W,first:le,skip:t}),{enabled:!!r&&!l}),I=Qe({queryKey:["creator-item-count",r],queryFn:()=>re({creator:r,first:1}).then(t=>t.total),enabled:!!r}),u=se(["creator-collections",r],t=>tt(r,{first:le,skip:t}).then(x=>({items:x.collections,total:x.total})),{enabled:!!r&&l});function K(t){n({category:t,subCategory:null},{drop:l?["collections"]:void 0})}function Se(){const t=new URLSearchParams(a);t.delete("collections");const x=t.toString();i({search:x?`?${x}`:""},{replace:!0})}function Ne(){if(l){Se();return}const t=new URLSearchParams(a);t.delete("collections");const x=t.toString();i({search:x?`?${x}&collections`:"?collections"},{replace:!0})}function U(t){n({rarities:h.includes(t)?h.filter(x=>x!==t):[...h,t]})}function H(){n(b)}const k=[];(g==="wearable"||g==="emote")&&k.push({key:"category",label:o(g==="emote"?"categories.emotes":"categories.wearables"),onRemove:()=>K("all")}),(B!=null||D!=null)&&k.push({key:"price",label:o("filter.price"),onRemove:()=>{n({priceMin:"",priceMax:""})}});for(const t of ze)h.includes(t)&&k.push({key:`rarity-${t}`,label:Xe(t),onRemove:()=>U(t)});p&&k.push({key:"smart",label:o("filter.smart"),onRemove:()=>n({smart:!1})}),N!=="all"&&k.push({key:"status",label:N==="on_sale"?o("filter.onSale"):o("filter.notForSale"),onRemove:()=>T("all")});const F=kt({gridLoading:ve||je,gridError:!!O,gridCount:_.length,baselinePending:I.isPending,baselineError:I.isError,baselineCount:I.data}),V=F==="skeletons",{data:q}=Ze(),Ee=L.useMemo(()=>_.map(t=>({...t,priceCredits:et(t,q)})),[_,q]),Pe=t=>t.priceCredits>0||!!t.manaWei,A=F==="items"||F==="skeletons"?null:F;return e.jsxs(rt,{children:[e.jsxs(it,{"aria-label":o("creator.breadcrumbAria"),children:[e.jsx(st,{onClick:()=>i("/items"),children:o("creator.breadcrumb")}),e.jsx("span",{children:"/"}),e.jsx(at,{children:d})]}),r?e.jsx(Zt,{address:r}):null,e.jsxs(pt,{children:[P?e.jsx(xt,{onClick:()=>E(!1),"aria-hidden":!0}):null,e.jsxs(gt,{"data-open":P||void 0,"data-testid":"creator-sidebar",children:[e.jsxs(ft,{children:[e.jsx(bt,{children:o("assets.filters")}),e.jsx(wt,{onClick:()=>E(!1),"aria-label":o("assets.closeFilters"),children:"✕"})]}),e.jsx(yt,{children:e.jsx(Te,{category:g,subCategory:f,onCategory:K,onSub:t=>n({subCategory:t}),priceMin:m,priceMax:C,onPriceMin:t=>n({priceMin:t}),onPriceMax:t=>n({priceMax:t}),rarities:h,onToggleRarity:U,status:N,onStatus:T,smart:p,onSmart:t=>n({smart:t}),hideNames:!0,collections:l,onCollections:Ne})}),e.jsx(vt,{children:e.jsx(jt,{type:"button",onClick:()=>E(!1),children:o("assets.showItems")})})]}),e.jsx(Ct,{children:l?e.jsxs(e.Fragment,{children:[e.jsx(nt,{children:e.jsx(lt,{"data-testid":"creator-collections-count","aria-busy":u.isLoading||void 0,children:u.isLoading?e.jsx(pe,{className:"skeleton",width:72,"data-testid":"creator-collections-count-skeleton","aria-hidden":!0}):o("creator.collectionsCount",{count:u.total})})}),u.error?e.jsx(z,{message:o("creator.error")}):null,e.jsx(ae,{"data-variant":"collections",children:u.isLoading?e.jsx(M,{count:9}):e.jsxs(e.Fragment,{children:[u.items.map(t=>e.jsx(Tt,{collection:t,itemCount:t.itemCount},t.contractAddress)),u.isFetchingNextPage?e.jsx(M,{count:6}):null]})}),e.jsx(ie,{hasNextPage:u.hasNextPage,isFetching:u.isFetchingNextPage,isError:u.isFetchNextPageError,onLoadMore:()=>void u.fetchNextPage()}),!u.isLoading&&!u.error&&u.items.length===0?e.jsx(R,{testId:"creator-collections-empty",icon:ut,title:o("creator.collectionsEmptyTitle"),body:o("creator.collectionsEmpty"),cta:{label:o("assets.empty.cta"),to:"/items"}}):null]}):e.jsxs(e.Fragment,{children:[e.jsx(Be,{sort:S,onSort:t=>n({sort:t}),total:ye,loading:V,onOpenFilters:()=>E(!0),chips:k,onClearChips:H}),O?e.jsx(z,{message:o("creator.error"),testId:"creator-error"}):null,e.jsx(ae,{"data-testid":"creator-grid",children:V?e.jsx(M,{count:15}):e.jsxs(e.Fragment,{children:[Ee.map(t=>Pe(t)?e.jsx(oe,{item:t},t.id):e.jsx(oe,{item:t,mode:"view"},t.id)),G?e.jsx(M,{count:6}):null]})}),e.jsx(ie,{hasNextPage:Ce,isFetching:G,isError:ke,onLoadMore:()=>void $e()}),A==="error"?e.jsx(z,{message:o("creator.error"),testId:"creator-empty-error"}):A==="no-creations"?e.jsx(R,{testId:"creator-empty-none",icon:mt,title:o("creator.emptyNoCreationsTitle"),body:o("creator.emptyNoCreations"),cta:{label:o("assets.empty.cta"),to:"/items"}}):A==="filters"?e.jsx(R,{testId:"creator-empty-filters",icon:Ae,title:o("creator.emptyFilters.title"),body:o("creator.emptyFilters.body",{count:I.data??0}),cta:{label:o("filterBar.clearAll"),onClick:H}}):null]})})]})]})}export{jo as Creator,jo as default};
|
|
312
|
+
//# sourceMappingURL=Creator-DTGBDA7q.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{g as I}from"./react-DKpLHQl0.js";import{r as H}from"./index-BGlAHo1V.js";import{r as M}from"./dcl-schemas-CyEZVc6x.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new o.Error().stack;f&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[f]="95840eba-4c70-4c16-b7ed-3eed2bbebe7c",o._sentryDebugIdIdentifier="sentry-dbid-95840eba-4c70-4c16-b7ed-3eed2bbebe7c")}catch{}})();function O(o,f){for(var b=0;b<f.length;b++){const h=f[b];if(typeof h!="string"&&!Array.isArray(h)){for(const w in h)if(w!=="default"&&!(w in o)){const g=Object.getOwnPropertyDescriptor(h,w);g&&Object.defineProperty(o,w,g.get?g:{enumerable:!0,get:()=>h[w]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var y={},F;function C(){if(F)return y;F=1,Object.defineProperty(y,"__esModule",{value:!0}),y.getHashesByKey=y.buildEntityWithoutNewFiles=y.buildEntity=y.buildEntityAndFile=void 0;const o=H(),f=M();async function b({type:n,pointers:t,timestamp:e,content:a,metadata:r}){var i;if(t.length===0)throw new Error("All entities must have at least one pointer.");const d={version:"v3",type:n,pointers:t,timestamp:e,content:a,metadata:r};if(a){const s=new Set;for(const p of a){const E=p.file.toLowerCase();if(s.has(E))throw new Error(`Error creating the deployable entity: Decentraland's file system is case insensitive, the file ${JSON.stringify(p.file)} is repeated`);s.add(E)}}const c=new TextEncoder().encode(JSON.stringify(d)),l={id:await(0,o.hashV1)(c),...d};if(!f.Entity.validate(l))throw new Error(`Generated entity is not valid:
|
|
2
|
+
`+((i=f.Entity.validate.errors)===null||i===void 0?void 0:i.map(s=>s.message).join(`
|
|
3
|
+
`)));return{entity:l,entityFile:c}}y.buildEntityAndFile=b;async function h({type:n,pointers:t,files:e,metadata:a,timestamp:r}){const i=Array.from(e||[]).map(([l,s])=>({key:l,content:s})),d=await Promise.all(i.map(async({key:l,content:s})=>({key:l,content:s,hash:await(0,o.hashV1)(s)}))),c=new Map(d.map(({hash:l,key:s})=>[s,l])),u=new Map(d.map(({hash:l,content:s})=>[l,s]));return g(n,t,{hashesByKey:c,filesByHash:u,metadata:a,timestamp:r})}y.buildEntity=h;async function w(n,{contentUrl:t,type:e,pointers:a,hashesByKey:r,metadata:i,timestamp:d}){const c=r??i?m(i):void 0;if(c&&D(e,c)){const u=await _(n,t,c),l=await A(u,i);return h({type:e,pointers:a,files:u,metadata:l,timestamp:d})}return g(e,a,{hashesByKey:r,metadata:i,timestamp:d})}y.buildEntityWithoutNewFiles=w;async function g(n,t,e){if(t.length===0)throw new Error("All entities must have at least one pointer.");const a=e!=null&&e.hashesByKey?e==null?void 0:e.hashesByKey:new Map,r=Array.from(a.entries()).map(([l,s])=>({file:l,hash:s})),i=e!=null&&e.timestamp?e==null?void 0:e.timestamp:Date.now(),{entity:d,entityFile:c}=await b({type:n,pointers:t,timestamp:i,content:r,metadata:e==null?void 0:e.metadata}),u=e!=null&&e.filesByHash?e.filesByHash:new Map;return u.set(d.id,c),{files:u,entityId:d.id}}function D(n,t){return n===f.EntityType.PROFILE&&Array.from(t).some(([,e])=>e.toLowerCase().startsWith("qm"))}async function v(n,t){const a=await(await n.fetch(t)).arrayBuffer();return new Uint8Array(a)}async function _(n,t,e){const a=e.get("body.png"),r=e.get("face256.png"),i=new URL(`${t}/contents/${a}`).toString(),d=new URL(`${t}/contents/${r}`).toString(),[c,u]=await Promise.all([v(n,i),v(n,d)]);return new Map([["body.png",c],["face256.png",u]])}async function A(n,t){return t&&(t.avatars=await Promise.all(t.avatars.map(async e=>{const a={face256:"",body:""},r=n.get("face256.png");r&&(a.face256=await(0,o.hashV1)(r));const i=n.get("body.png");return i&&(a.body=await(0,o.hashV1)(i)),e.avatar.snapshots=a,e})),t)}function m(n){const t=n.avatars[0];if(t.avatar.snapshots)return new Map([["body.png",t.avatar.snapshots.body],["face256.png",t.avatar.snapshots.face256]])}return y.getHashesByKey=m,y}var B=C();const P=I(B),j=O({__proto__:null,default:P},[B]);export{j as D};
|
|
4
|
+
//# sourceMappingURL=DeploymentBuilder-t6QMfSJh.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-
|
|
2
|
-
import{j as r,r as s}from"./react-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-CZ765edO.js","_assets/react-DKpLHQl0.js","_assets/dcl-schemas-CyEZVc6x.js","_assets/index-BiR1vPRL.js","_assets/sentry-WFsNKO98.js","_assets/ethers-CQbljc2C.js","_assets/intl-AKLEHPeO.js","_assets/index-C53nEuU1.css","_assets/createSvgIcon-C3DiORbY.js","_assets/emotion-styled.browser.esm-Bc8640ZT.js","_assets/styled-uWbR3175.js","_assets/index-CRdAPM4e.js","_assets/useTheme-CRxh5DOu.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{j as r,r as s}from"./react-DKpLHQl0.js";import{_ as n,a as d,s as p}from"./index-BiR1vPRL.js";import{E as u}from"./sentry-WFsNKO98.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="48c0f84e-6330-4c8d-9b7d-c4ad1b2a6cf7",t._sentryDebugIdIdentifier="sentry-dbid-48c0f84e-6330-4c8d-9b7d-c4ad1b2a6cf7")}catch{}})();const l=s.lazy(async()=>{const[{EmoteControls:t},{Experimental_CssVarsProvider:o},{light:a}]=await Promise.all([n(()=>import("./index-CZ765edO.js").then(i=>i.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),n(()=>import("./index-CRdAPM4e.js"),__vite__mapDeps([11,3,1,2,4,5,6,7,12,10])),n(()=>import("./index-BiR1vPRL.js").then(i=>i.dY),__vite__mapDeps([3,1,2,4,5,6,7]))]);return{default:i=>r.jsx(o,{theme:a,children:r.jsx(t,{...i})})}});function c(t){return r.jsx(u,{fallback:r.jsx(r.Fragment,{}),children:r.jsx(s.Suspense,{fallback:null,children:r.jsx(l,{...t})})})}const{colors:e,radius:x}=d,b=p.div`
|
|
3
3
|
/* Doubled class: a preview panel may size its children greedily (ItemDetail's stretches every child to
|
|
4
4
|
fill the stage), and the bar's own geometry has to win that whichever order the styles land in. */
|
|
5
5
|
&& {
|
|
@@ -14,7 +14,7 @@ import{j as r,r as s}from"./react-Dombkhv6.js";import{_ as n,a as d,s as p}from"
|
|
|
14
14
|
align-items: center;
|
|
15
15
|
background: rgba(255, 255, 255, 0.94);
|
|
16
16
|
backdrop-filter: blur(6px);
|
|
17
|
-
border: 1px solid ${
|
|
17
|
+
border: 1px solid ${e.line};
|
|
18
18
|
border-radius: ${x.pill};
|
|
19
19
|
padding: 6px 12px;
|
|
20
20
|
box-shadow: 0 2px 10px rgba(22, 21, 24, 0.12);
|
|
@@ -39,7 +39,7 @@ import{j as r,r as s}from"./react-Dombkhv6.js";import{_ as n,a as d,s as p}from"
|
|
|
39
39
|
justify-content: center;
|
|
40
40
|
background: none !important;
|
|
41
41
|
box-shadow: none !important;
|
|
42
|
-
color: ${
|
|
42
|
+
color: ${e.muted};
|
|
43
43
|
flex: 0 0 auto;
|
|
44
44
|
transition:
|
|
45
45
|
background 0.12s ease,
|
|
@@ -52,20 +52,20 @@ import{j as r,r as s}from"./react-Dombkhv6.js";import{_ as n,a as d,s as p}from"
|
|
|
52
52
|
& .MuiBox-root > .MuiButtonBase-root:first-of-type {
|
|
53
53
|
width: 34px;
|
|
54
54
|
height: 34px;
|
|
55
|
-
background: ${
|
|
56
|
-
color: ${
|
|
55
|
+
background: ${e.accent} !important;
|
|
56
|
+
color: ${e.white};
|
|
57
57
|
}
|
|
58
58
|
& .MuiBox-root > .MuiButtonBase-root:first-of-type:hover {
|
|
59
|
-
background: ${
|
|
59
|
+
background: ${e.text} !important;
|
|
60
60
|
}
|
|
61
61
|
& .MuiBox-root > input + .MuiButtonBase-root {
|
|
62
62
|
width: 30px;
|
|
63
63
|
height: 30px;
|
|
64
|
-
color: ${
|
|
64
|
+
color: ${e.muted};
|
|
65
65
|
}
|
|
66
66
|
& .MuiBox-root > input + .MuiButtonBase-root:hover {
|
|
67
|
-
background: ${
|
|
68
|
-
color: ${
|
|
67
|
+
background: ${e.media} !important;
|
|
68
|
+
color: ${e.text};
|
|
69
69
|
}
|
|
70
70
|
& input[type='range'] {
|
|
71
71
|
flex: 1 1 auto;
|
|
@@ -82,12 +82,12 @@ import{j as r,r as s}from"./react-Dombkhv6.js";import{_ as n,a as d,s as p}from"
|
|
|
82
82
|
& input[type='range']::-webkit-slider-runnable-track {
|
|
83
83
|
height: 4px;
|
|
84
84
|
border-radius: 999px;
|
|
85
|
-
background: ${
|
|
85
|
+
background: ${e.lineStrong};
|
|
86
86
|
}
|
|
87
87
|
& input[type='range']::-moz-range-track {
|
|
88
88
|
height: 4px;
|
|
89
89
|
border-radius: 999px;
|
|
90
|
-
background: ${
|
|
90
|
+
background: ${e.lineStrong};
|
|
91
91
|
}
|
|
92
92
|
& input[type='range']::-webkit-slider-thumb {
|
|
93
93
|
-webkit-appearance: none;
|
|
@@ -96,8 +96,8 @@ import{j as r,r as s}from"./react-Dombkhv6.js";import{_ as n,a as d,s as p}from"
|
|
|
96
96
|
height: 13px;
|
|
97
97
|
margin-top: -4.5px;
|
|
98
98
|
border-radius: 50%;
|
|
99
|
-
background: ${
|
|
100
|
-
border: 2px solid ${
|
|
99
|
+
background: ${e.accent};
|
|
100
|
+
border: 2px solid ${e.white};
|
|
101
101
|
box-shadow: 0 1px 3px rgba(22, 21, 24, 0.3);
|
|
102
102
|
cursor: pointer;
|
|
103
103
|
}
|
|
@@ -105,8 +105,8 @@ import{j as r,r as s}from"./react-Dombkhv6.js";import{_ as n,a as d,s as p}from"
|
|
|
105
105
|
width: 13px;
|
|
106
106
|
height: 13px;
|
|
107
107
|
border-radius: 50%;
|
|
108
|
-
background: ${
|
|
109
|
-
border: 2px solid ${
|
|
108
|
+
background: ${e.accent};
|
|
109
|
+
border: 2px solid ${e.white};
|
|
110
110
|
box-shadow: 0 1px 3px rgba(22, 21, 24, 0.3);
|
|
111
111
|
cursor: pointer;
|
|
112
112
|
}
|
|
@@ -114,8 +114,8 @@ import{j as r,r as s}from"./react-Dombkhv6.js";import{_ as n,a as d,s as p}from"
|
|
|
114
114
|
outline: none;
|
|
115
115
|
}
|
|
116
116
|
& input[type='range']:focus-visible::-webkit-slider-thumb {
|
|
117
|
-
outline: 2px solid ${
|
|
117
|
+
outline: 2px solid ${e.accent};
|
|
118
118
|
outline-offset: 2px;
|
|
119
119
|
}
|
|
120
|
-
`;function f({previewId:
|
|
121
|
-
//# sourceMappingURL=EmotePlaybackBar-
|
|
120
|
+
`;function f({previewId:t,testId:o="emote-controls"}){return r.jsx(b,{"data-preview-controls":!0,"data-testid":o,children:r.jsx(c,{wearablePreviewId:t,hideFrameInput:!0})})}export{f as E};
|
|
121
|
+
//# sourceMappingURL=EmotePlaybackBar-DxozN5dA.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j as n}from"./react-
|
|
2
|
-
//# sourceMappingURL=ErrorNotice-
|
|
1
|
+
import{j as n}from"./react-DKpLHQl0.js";import{I as o}from"./index-BiR1vPRL.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]="c67eed24-9c07-42e3-aafe-ecbed75d6f90",e._sentryDebugIdIdentifier="sentry-dbid-c67eed24-9c07-42e3-aafe-ecbed75d6f90")}catch{}})();function i({message:e,className:r,testId:t}){return e?n.jsxs("p",{className:r?`error-notice ${r}`:"error-notice","data-testid":t,role:"alert",children:[n.jsx(o,{name:"alert",className:"error-notice__ico",size:18}),n.jsx("span",{className:"error-notice__msg",children:e})]}):null}export{i as E};
|
|
2
|
+
//# sourceMappingURL=ErrorNotice-Dlh8ddHO.js.map
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import{j as i,b as u,r as g}from"./react-DKpLHQl0.js";import{a as b,s as a,H as f,N as x,E as w,O as v,P as y,Q as j,R as C,S as k,U as I,t as s}from"./index-BiR1vPRL.js";import{Assets as N}from"./Assets-tHTTA31T.js";import"./dcl-schemas-CyEZVc6x.js";import"./sentry-WFsNKO98.js";import"./ethers-CQbljc2C.js";import"./intl-AKLEHPeO.js";import"./search-empty-DcGDTM8L.js";import"./Filters-BsZs-9_M.js";import"./browseLayout.styles-D0MZbKfc.js";import"./Tooltip-BIdqgK8V.js";import"./skeleton.styles-C4BBCe2d.js";import"./LoadMore-BxuVAL5h.js";import"./useInfiniteGrid-BUDyyZZl.js";import"./categories-BCcLvB19.js";import"./ErrorNotice-Dlh8ddHO.js";import"./buy-gasless-5QIoW0es.js";import"./trade-encoding-DcX77zVS.js";import"./sendMetaTransaction-BiqdXKVl.js";import"./buy-ZzigQNxZ.js";import"./errors-DUBMk1_u.js";import"./modal.styles-G1Y436F0.js";import"./cart-checkout-D_rUzOn4.js";import"./resume-name-m2sdJCvP.js";import"./resume-buy-DRxVLtZn.js";import"./name-glyph-aUugT8vq.js";import"./crumbs.styles-D969n73j.js";import"./grid.styles-DGwAy7au.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="2bca044b-8dcc-4893-a557-b1d726327f23",n._sentryDebugIdIdentifier="sentry-dbid-2bca044b-8dcc-4893-a557-b1d726327f23")}catch{}})();const{colors:B,gradients:_,media:c,radius:d}=b,E=a.section`
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
aspect-ratio: 1920 / 220;
|
|
6
|
+
max-height: 220px;
|
|
7
|
+
margin-bottom: 28px;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
border-radius: ${d.banner};
|
|
10
|
+
background: #14161b;
|
|
11
|
+
|
|
12
|
+
${c.maxWidth("mobile")} {
|
|
13
|
+
aspect-ratio: 390 / 200;
|
|
14
|
+
max-height: none;
|
|
15
|
+
border-radius: 0;
|
|
16
|
+
/* Out to the window edges, the way the home hero runs: a rounded inset strip at this width reads as a
|
|
17
|
+
widget rather than as the page's header. */
|
|
18
|
+
width: 100vw;
|
|
19
|
+
margin-inline: calc(50% - 50vw);
|
|
20
|
+
padding-inline: calc(50vw - 50%);
|
|
21
|
+
justify-content: center;
|
|
22
|
+
}
|
|
23
|
+
`,P=a.img`
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset: 0;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
object-fit: cover;
|
|
29
|
+
object-position: center right;
|
|
30
|
+
`,$=a.div`
|
|
31
|
+
position: relative;
|
|
32
|
+
z-index: 2;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
gap: 16px;
|
|
37
|
+
padding-inline: 40px;
|
|
38
|
+
|
|
39
|
+
${c.maxWidth("mobile")} {
|
|
40
|
+
align-items: center;
|
|
41
|
+
text-align: center;
|
|
42
|
+
padding-inline: 16px;
|
|
43
|
+
}
|
|
44
|
+
`,D=a.h2`
|
|
45
|
+
margin: 0;
|
|
46
|
+
color: ${B.white};
|
|
47
|
+
font-size: clamp(22px, 2.6vw, 34px);
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
line-height: 1.235;
|
|
50
|
+
`,S=a(f)`
|
|
51
|
+
display: inline-flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
height: 44px;
|
|
55
|
+
padding: 0 28px;
|
|
56
|
+
border-radius: ${d.btn};
|
|
57
|
+
|
|
58
|
+
/* The home hero's treatment, so a campaign's button looks the same wherever it appears: the orange BUY
|
|
59
|
+
gradient rather than the flat purple variant, which sits too close to the artwork behind it to read as
|
|
60
|
+
a button at all. Doubled ampersands because the variant's own rules are an attribute selector and
|
|
61
|
+
outweigh this class on their own. */
|
|
62
|
+
&& {
|
|
63
|
+
background: ${_.buyBtn};
|
|
64
|
+
font-size: 15px;
|
|
65
|
+
letter-spacing: 0.46px;
|
|
66
|
+
}
|
|
67
|
+
/* The variant fades a solid accent overlay in on hover; this button has no flat state to fade from. */
|
|
68
|
+
&&::before {
|
|
69
|
+
content: none;
|
|
70
|
+
}
|
|
71
|
+
`;function T({slot:n}){const t=x(n);return t?i.jsxs(E,{"data-testid":"campaign-banner",children:[i.jsxs("picture",{children:[i.jsx("source",{media:"(max-width: 768px)",srcSet:t.mobileImage}),i.jsx(P,{src:t.desktopImage,alt:"","aria-hidden":!0})]}),i.jsxs($,{children:[i.jsx(D,{"data-testid":"campaign-banner-title",children:t.title}),!w()&&t.cta?i.jsx(S,{as:"a",href:t.cta.href,variant:"purple","data-testid":"campaign-banner-cta",onClick:()=>v("Shop Clicked Banner",{slot:n,banner_id:t.bannerId,campaign:t.campaignName}),children:t.cta.label}):null]})]}):null}const z="marketplaceCampaignCollectiblesBanner";function le(){const n=u(),t=y(h=>h.locale),{campaign:e,isPending:o}=j(),{contracts:l,isPending:p}=C((e==null?void 0:e.tags)??[],e==null?void 0:e.collections),r=!o&&!(e!=null&&e.mainTag);if(g.useEffect(()=>{r&&n("/items",{replace:!0})},[r,n]),o||p||r)return i.jsx("div",{className:"page-loading","aria-busy":"true",children:i.jsx("span",{className:"spinner","aria-hidden":!0})});const m=k(e==null?void 0:e.tabName,I(t))??(e==null?void 0:e.name)??"";return i.jsxs(i.Fragment,{children:[i.jsx(T,{slot:z}),i.jsx(N,{contracts:l,hideNames:!0,lockStatus:"on_sale",seo:{title:m||s("seo.collectibles.title"),description:s("seo.collectibles.description"),noindex:!0}})]})}export{le as Event};
|
|
72
|
+
//# sourceMappingURL=Event-B3nuIkGW.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{C as p,E as
|
|
2
|
-
//# sourceMappingURL=ExchangeController-
|
|
1
|
+
import{C as p,E as h,b as f,S as E,d as k,O as U,N as A,g as b,B as x,e as N,i as I,p as _}from"./W3MFrameProviderSingleton-DvSh92CX.js";import{g as L,a as D,f as P,b as v,c as T}from"./index-CVjhybQY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="31af8d60-e68b-4b1b-8061-0ddfb121e8b0",t._sentryDebugIdIdentifier="sentry-dbid-31af8d60-e68b-4b1b-8061-0ddfb121e8b0")}catch{}})();const W=0,C={paymentAsset:null,amount:null,tokenAmount:0,priceLoading:!1,error:null,exchanges:[],isLoading:!1,currentPayment:void 0,isPaymentInProgress:!1,paymentId:"",assets:[]},e=_(C),d={state:e,subscribe(t){return I(e,()=>t(e))},subscribeKey(t,n){return N(e,t,n)},resetState(){Object.assign(e,{...C})},async getAssetsForNetwork(t){const n=T(t),s=await d.getAssetsImageAndPrice(n),r=n.map(a=>{var c,o,m,l;const u=a.asset==="native"?b():`${a.network}:${a.asset}`,i=s.find(S=>{var y,g,w;return((w=(g=(y=S.fungibles)==null?void 0:y[0])==null?void 0:g.address)==null?void 0:w.toLowerCase())===u.toLowerCase()});return{...a,price:((o=(c=i==null?void 0:i.fungibles)==null?void 0:c[0])==null?void 0:o.price)||1,metadata:{...a.metadata,iconUrl:(l=(m=i==null?void 0:i.fungibles)==null?void 0:m[0])==null?void 0:l.iconUrl}}});return e.assets=r,r},async getAssetsImageAndPrice(t){const n=t.map(r=>r.asset==="native"?b():`${r.network}:${r.asset}`);return await Promise.all(n.map(r=>x.fetchTokenPrice({addresses:[r]})))},getTokenAmount(){var s;if(!((s=e==null?void 0:e.paymentAsset)!=null&&s.price))throw new Error("Cannot get token price");const t=A.bigNumber(e.amount??0).round(8),n=A.bigNumber(e.paymentAsset.price).round(8);return t.div(n).round(8).toNumber()},setAmount(t){var n;e.amount=t,(n=e.paymentAsset)!=null&&n.price&&(e.tokenAmount=d.getTokenAmount())},setPaymentAsset(t){e.paymentAsset=t},isPayWithExchangeEnabled(){var t;return(t=U.state.remoteFeatures)==null?void 0:t.payWithExchange},isPayWithExchangeSupported(){return d.isPayWithExchangeEnabled()&&p.state.activeCaipNetwork&&k.PAY_WITH_EXCHANGE_SUPPORTED_CHAIN_NAMESPACES.includes(p.state.activeCaipNetwork.chainNamespace)},async fetchExchanges(){var t;try{const n=d.isPayWithExchangeSupported();if(!e.paymentAsset||!n){e.exchanges=[],e.isLoading=!1;return}e.isLoading=!0;const s=await v({page:W,asset:P(e.paymentAsset.network,e.paymentAsset.asset),amount:((t=e.amount)==null?void 0:t.toString())??"0"});e.exchanges=s.exchanges.slice(0,2)}catch{throw E.showError("Unable to get exchanges"),new Error("Unable to get exchanges")}finally{e.isLoading=!1}},async getPayUrl(t,n){try{const s=Number(n.amount),r=await D({exchangeId:t,asset:P(n.network,n.asset),amount:s.toString(),recipient:`${n.network}:${n.recipient}`});return h.sendEvent({type:"track",event:"PAY_EXCHANGE_SELECTED",properties:{exchange:{id:t},configuration:{network:n.network,asset:n.asset,recipient:n.recipient,amount:s},currentPayment:{type:"exchange",exchangeId:t},source:"fund-from-exchange",headless:!1}}),r}catch(s){throw s instanceof Error&&s.message.includes("is not supported")?new Error("Asset not supported"):new Error(s.message)}},async handlePayWithExchange(t){var n;try{const s=(n=p.getAccountData())==null?void 0:n.address;if(!s)throw new Error("No account connected");if(!e.paymentAsset)throw new Error("No payment asset selected");const r=f.returnOpenHref("","popupWindow","scrollbar=yes,width=480,height=720");if(!r)throw new Error("Could not create popup window");e.isPaymentInProgress=!0,e.paymentId=crypto.randomUUID(),e.currentPayment={type:"exchange",exchangeId:t};const{network:a,asset:u}=e.paymentAsset,i={network:a,asset:u,amount:e.tokenAmount,recipient:s},c=await d.getPayUrl(t,i);if(!c){try{r.close()}catch(o){console.error("Unable to close popup window",o)}throw new Error("Unable to initiate payment")}e.currentPayment.sessionId=c.sessionId,e.currentPayment.status="IN_PROGRESS",e.currentPayment.exchangeId=t,r.location.href=c.url}catch{e.error="Unable to initiate payment",E.showError(e.error)}},async waitUntilComplete({exchangeId:t,sessionId:n,paymentId:s,retries:r=20}){const a=await d.getBuyStatus(t,n,s);if(a.status==="SUCCESS"||a.status==="FAILED")return a;if(r===0)throw new Error("Unable to get deposit status");return await new Promise(u=>{setTimeout(u,5e3)}),d.waitUntilComplete({exchangeId:t,sessionId:n,paymentId:s,retries:r-1})},async getBuyStatus(t,n,s){var r,a,u,i,c;try{if(!e.currentPayment)throw new Error("No current payment");const o=await L({sessionId:n,exchangeId:t});if(e.currentPayment.status=o.status,o.status==="SUCCESS"||o.status==="FAILED"){const m=(r=p.getAccountData())==null?void 0:r.address;e.currentPayment.result=o.txHash,e.isPaymentInProgress=!1,h.sendEvent({type:"track",event:o.status==="SUCCESS"?"PAY_SUCCESS":"PAY_ERROR",properties:{message:o.status==="FAILED"?f.parseError(e.error):void 0,source:"fund-from-exchange",paymentId:s,configuration:{network:((a=e.paymentAsset)==null?void 0:a.network)||"",asset:((u=e.paymentAsset)==null?void 0:u.asset)||"",recipient:m||"",amount:e.amount??0},currentPayment:{type:"exchange",exchangeId:(i=e.currentPayment)==null?void 0:i.exchangeId,sessionId:(c=e.currentPayment)==null?void 0:c.sessionId,result:o.txHash}}})}return o}catch{return{status:"UNKNOWN",txHash:""}}},reset(){e.currentPayment=void 0,e.isPaymentInProgress=!1,e.paymentId="",e.paymentAsset=null,e.amount=0,e.tokenAmount=0,e.priceLoading=!1,e.error=null,e.exchanges=[],e.isLoading=!1}};export{d as E};
|
|
2
|
+
//# sourceMappingURL=ExchangeController-CSSF68uc.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as x,j as o}from"./react-
|
|
1
|
+
import{r as x,j as o}from"./react-DKpLHQl0.js";import{a as e,s as a,t as h,I as w}from"./index-BiR1vPRL.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new i.Error().stack;s&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[s]="c9e544c7-4eb0-4e9d-a320-4a04ca7182ca",i._sentryDebugIdIdentifier="sentry-dbid-c9e544c7-4eb0-4e9d-a320-4a04ca7182ca")}catch{}})();const m=a.section`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 36px;
|
|
@@ -172,4 +172,4 @@ import{r as x,j as o}from"./react-Dombkhv6.js";import{a as e,s as a,t as h,I as
|
|
|
172
172
|
}
|
|
173
173
|
`;function S({title:i,entries:s,tone:l="light",className:u}){const[f,g]=x.useState(()=>new Set),p=x.useId();function b(t){g(n=>{const r=new Set(n);return r.delete(t)||r.add(t),r})}return o.jsxs(m,{className:u,"data-tone":l,"data-testid":"faq",children:[o.jsx(k,{"data-testid":"faq-title",children:h(i)}),o.jsx(v,{children:s.map(t=>{const n=f.has(t.question),r=`${p}-panel-${t.question}`,c=`${p}-header-${t.question}`;return o.jsxs($,{"data-open":n,"data-testid":"faq-item",children:[o.jsxs(y,{type:"button",onClick:()=>b(t.question),id:c,"aria-expanded":n,"aria-controls":n?r:void 0,"data-open":n,"data-testid":"faq-question",children:[o.jsx(q,{children:h(t.question)}),o.jsx(I,{"data-open":n,"aria-hidden":!0,children:o.jsx(w,{name:"chevron-up-line",size:36})})]}),n&&o.jsx(j,{id:r,role:"region","aria-labelledby":c,"data-testid":"faq-answer",children:h(t.answer).split(`
|
|
174
174
|
`).map(d=>d.trim()).filter(Boolean).map(d=>o.jsx("p",{children:d},d))})]},t.question)})})]})}export{S as F};
|
|
175
|
-
//# sourceMappingURL=Faq-
|
|
175
|
+
//# sourceMappingURL=Faq-DQCrsGCA.js.map
|