@dcl/shop 1.12.2-34604717475.commit-39862bc → 1.12.2-34818778994.commit-b4640d0
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-DRiFSnhm.js → Activity-BVBmjc8l.js} +6 -6
- package/_assets/{AnimatedBackground-CD1G-a36.js → AnimatedBackground-BNduzr26.js} +3 -3
- package/_assets/{Assets-NkBjxjHX.js → Assets-D7ats-bz.js} +9 -9
- package/_assets/{Authorizations-CeLC7YON.js → Authorizations-C2MLXIEE.js} +2 -2
- package/_assets/{Cart-Dg7Z7XsL.js → Cart-CkiQhh0O.js} +2 -2
- package/_assets/Collection-DHFMLovX.js +134 -0
- package/_assets/{CollectionCarousel-DOHHM4Vj.js → CollectionCarousel-DyoDUK2C.js} +3 -3
- package/_assets/{Confetti-BB-ZWQOc.js → Confetti-C5u7OYps.js} +4 -4
- package/_assets/{ConstantsUtil-zOVB74LX.js → ConstantsUtil-iHTHgWEv.js} +2 -2
- package/_assets/{ContentClient-Bsj-XNm5.js → ContentClient-DbDGQxLQ.js} +2 -2
- package/_assets/{Creator-BiHomI4L.js → Creator-BJ01OCBl.js} +2 -2
- package/_assets/{DeploymentBuilder-B8-nWyxw.js → DeploymentBuilder-ZkusBL6j.js} +2 -2
- package/_assets/{EmotePlaybackBar-BrRxtVjH.js → EmotePlaybackBar-D2SJud_N.js} +3 -3
- package/_assets/{ErrorNotice-DhtD_b_c.js → ErrorNotice-CHgNxcyQ.js} +2 -2
- package/_assets/{ExchangeController-De8TakEB.js → ExchangeController-Tsk6_96f.js} +2 -2
- package/_assets/{Faq-JyBpjPqk.js → Faq-Dg9a5kp0.js} +2 -2
- package/_assets/{GetCredits-DHZt1teF.js → GetCredits-CfNX-3ZU.js} +2 -2
- package/_assets/{Grow-BY5PeUSV.js → Grow-Dbnh9Gu7.js} +2 -2
- package/_assets/{HelpersUtil-CV1bxHgn.js → HelpersUtil-DG_BcIGf.js} +2 -2
- package/_assets/{ItemDetail-Btlel_Cq.js → ItemDetail-CMK1yntB.js} +427 -411
- package/_assets/{LoadMore-BhwLaH92.js → LoadMore--6nlZKAg.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-CMIx21IT.js → ManaPricingBanner.styles-oXQP1xCb.js} +2 -2
- package/_assets/MyAssets-BeoYV8mP.js +331 -0
- package/_assets/{MyFavorites-GQ1VlGnD.js → MyFavorites--2AmmQa8.js} +2 -2
- package/_assets/{NetworkUtil-DIXRFkbI.js → NetworkUtil-Bi-msfi1.js} +2 -2
- package/_assets/{NotFound-D0uJEOmS.js → NotFound-JiIUYy2F.js} +2 -2
- package/_assets/{NotificationsBell-D6AgYyyO.js → NotificationsBell-DKloM1Vj.js} +2 -2
- package/_assets/{OutfitDetail-5SSGf2Lh.js → OutfitDetail-B5Gd2vOb.js} +2 -2
- package/_assets/{OutfitPreview-Bzvy8fnG.js → OutfitPreview-CE5g0z5E.js} +2 -2
- package/_assets/{OutfitStudio-bmDvfNlP.js → OutfitStudio-HAqsu3Nl.js} +2 -2
- package/_assets/{StoreSettings-BV6wCD4z.js → StoreSettings-_NsLSEXW.js} +2 -2
- package/_assets/{Success-DinE_46T.js → Success-z7LRn2Nn.js} +2 -2
- package/_assets/{SwapController-B3YXKZDl.js → SwapController-BHpMPECW.js} +2 -2
- package/_assets/{TradeService-B-SUH9G9.js → TradeService-DbtQqVd7.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-DChFpkPG.js → W3MFrameProviderSingleton-Bb4Nd_Ds.js} +4 -4
- package/_assets/{WebCryptoP256-Rahz5U-e.js → WebCryptoP256-CRvg-Nyh.js} +2 -2
- package/_assets/{authorizations-WfRyprsO.js → authorizations-Ct87bLpZ.js} +2 -2
- package/_assets/{basic-CHPuhuug.js → basic-CHY4qy6i.js} +2 -2
- package/_assets/{biconomy-Ixis_IsE.js → biconomy-CmCXVveR.js} +2 -2
- package/_assets/{browseLayout.styles-B1vxkgfd.js → browseLayout.styles-CD0IScll.js} +2 -2
- package/_assets/{browser-Chc2ccnl.js → browser-D9k3q93s.js} +2 -2
- package/_assets/{browser-ponyfill-DntD-8c4.js → browser-ponyfill-r_Cb0UvN.js} +2 -2
- package/_assets/{builder-DMHWgmc9.js → builder-BNPELa8K.js} +2 -2
- package/_assets/{buy-DsPOzcXi.js → buy-Dw9Bj7hD.js} +2 -2
- package/_assets/{buy-gasless-wDvOGYdt.js → buy-gasless-CBKPcEwF.js} +2 -2
- package/_assets/{categories-Cmf5iT8B.js → categories-7G2C3PfM.js} +2 -2
- package/_assets/{ccip-D8BU6ajh.js → ccip-CYbUewzf.js} +2 -2
- package/_assets/{ccip-CAMYlljH.js → ccip-Cy6LU3ip.js} +2 -2
- package/_assets/{chains-D6ymUaag.js → chains-QkSExWRv.js} +2 -2
- package/_assets/collectionPage.styles-BktmnSZw.js +41 -0
- package/_assets/{common-DM0z2FGx.js → common-CP63-oot.js} +2 -2
- package/_assets/{controller-BLcrjCzc.js → controller-Bdm28Y7D.js} +3 -3
- package/_assets/{core-D0WvNt0w.js → core-t5aP5rLI.js} +5 -5
- package/_assets/{createSvgIcon-D82q3Ym7.js → createSvgIcon-B6i2Y7Of.js} +6 -6
- package/_assets/{crumbs.styles-BYQZMhEM.js → crumbs.styles-DvLkEQ1F.js} +2 -2
- package/_assets/{custom-DiXEa_Jt.js → custom-CPk8cUDr.js} +2 -2
- package/_assets/{data-capture-BZ8aHSNA.js → data-capture-Dqlgd_XT.js} +2 -2
- package/_assets/{dcl-schemas-oTvPwdnN.js → dcl-schemas-DClyK8sW.js} +2 -2
- package/_assets/{decimals-Cvz4CzyV.js → decimals-Bx6EEocO.js} +2 -2
- package/_assets/{decimals-DNAzo95W.js → decimals-CFvFa9J4.js} +2 -2
- package/_assets/{detectExtension-Cu0Bf0fw.js → detectExtension-CIkXvanD.js} +2 -2
- package/_assets/{disposePreview-BWC7SSD2.js → disposePreview-BEfrrnIt.js} +2 -2
- package/_assets/{email-CK1VsyqM.js → email-CXAydXKB.js} +2 -2
- package/_assets/{embedded-wallet-DVFNK_hX.js → embedded-wallet-BOjOjulj.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-DjJyB33J.js → emotion-styled.browser.esm-XcENv_Sv.js} +2 -2
- package/_assets/{engine-D5ywDn8w.js → engine-DQ15u5PO.js} +2 -2
- package/_assets/{errors-FvfVxME0.js → errors-C36yLQlw.js} +2 -2
- package/_assets/{estimate-l1-fee-BAt2j-tq.js → estimate-l1-fee-Dk4SHuBk.js} +2 -2
- package/_assets/{eth_estimateGas-bBNzUmXN.js → eth_estimateGas-cQxq2QWV.js} +2 -2
- package/_assets/{eth_getStorageAt-BNskuqeK.js → eth_getStorageAt-BcinxYl2.js} +2 -2
- package/_assets/{eth_getTransactionCount-0PjCsk_S.js → eth_getTransactionCount-MJl1pNMO.js} +2 -2
- package/_assets/{ethereum-u789-sJL.js → ethereum-V0sW1J3f.js} +2 -2
- package/_assets/{ethers-C300LaOz.js → ethers-DOyNn0vs.js} +2 -2
- package/_assets/{events-CXqwaDYb.js → events-CCn9J_2a.js} +2 -2
- package/_assets/{execute-BLrurK_g.js → execute-BKniLgCg.js} +3 -3
- package/_assets/{extractIPFS-BRKuHkxB.js → extractIPFS-CuvU06kq.js} +2 -2
- package/_assets/{features-B2P28oFX.js → features-DPitOC3t.js} +2 -2
- package/_assets/{fetchTokenMetadata-CfbV0Z0V.js → fetchTokenMetadata-DpEgpfxC.js} +3 -3
- package/_assets/{field.styles-DSFgApoj.js → field.styles-BoqKqw8U.js} +2 -2
- package/_assets/{fortmatic-XUuBP7b9.js → fortmatic-BFwqHblp.js} +2 -2
- package/_assets/{get-bytecode-Cxr5Syw-.js → get-bytecode-BuCFwSkX.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-CCDDFOew.js → get-ecosystem-wallet-info-B0B09aUD.js} +2 -2
- package/_assets/{getBalance-sS34jYl_.js → getBalance-A1aUHw4a.js} +3 -3
- package/_assets/{getInstalledModules-DzxknUMt.js → getInstalledModules-CMqYNZIs.js} +2 -2
- package/_assets/{getNFT-CYOfFH2d.js → getNFT-CMkDPKM3.js} +3 -3
- package/_assets/{getNFT-D37CRR0c.js → getNFT-CyBLkytL.js} +2 -2
- package/_assets/{grid.styles-BxHhOjLn.js → grid.styles-BWp5hRCl.js} +2 -2
- package/_assets/{hashTypedData-Ij8nBksi.js → hashTypedData-CgGD-2f9.js} +2 -2
- package/_assets/{hashTypedData-De-k11QJ.js → hashTypedData-IvmNmmCB.js} +2 -2
- package/_assets/{in-app-BGiK6h_H.js → in-app-BWphzEXN.js} +2 -2
- package/_assets/{in-app-wallet-calls-DohzHylM.js → in-app-wallet-calls-BQohYStA.js} +2 -2
- package/_assets/{index-grp-JxqD.js → index-3f3O9poo.js} +2 -2
- package/_assets/{index-BqaeRlr4.js → index-7kxE-iA6.js} +2 -2
- package/_assets/{index-DCeiaKuE.js → index-8Xi5w0jl.js} +4 -4
- package/_assets/{index-Cfr4ob1J.js → index-8vQS_6b-.js} +2 -2
- package/_assets/{index-mj3C0Sfh.js → index-98bhCYY8.js} +3 -3
- package/_assets/{index-DHNyXL2x.js → index-BCBt6Hwx.js} +2 -2
- package/_assets/{index-DmgurAAF.js → index-BDQq5KCl.js} +2 -2
- package/_assets/{index-DZgzZGdk.js → index-BH-icA8C.js} +2 -2
- package/_assets/{index-Sil5Kxy9.js → index-BHMkdOZv.js} +2 -2
- package/_assets/{index-4aQHSOw2.js → index-BICfW5w1.js} +2 -2
- package/_assets/{index-BKEgAyk6.js → index-BNATKs5w.js} +2 -2
- package/_assets/{index-AsKxaHAS.js → index-BOPHP3Ox.js} +2 -2
- package/_assets/{index-CZ5DAoeY.js → index-BPaUpWBb.js} +2 -2
- package/_assets/{index-3bUPcVcw.js → index-BSyZKyGh.js} +3 -3
- package/_assets/{index-D-7oeqLF.js → index-BXnq7PrD.js} +2 -2
- package/_assets/{index-AuY2TI9u.js → index-BaE0_hXe.js} +2 -2
- package/_assets/{index-C9ihwmFc.js → index-Bi_ScqKk.js} +2 -2
- package/_assets/{index-C9CoViSu.js → index-BjtJbOzT.js} +2 -2
- package/_assets/{index-lU5H51ik.js → index-BlKRNziK.js} +2 -2
- package/_assets/{index-DT5ogL7L.js → index-ByPQnlbk.js} +2 -2
- package/_assets/{index-DyTpN5nR.js → index-C1yRnz_E.js} +3 -3
- package/_assets/{index-CLQVmiJ-.js → index-C5VozPg4.js} +2 -2
- package/_assets/{index--LiBYFBc.js → index-C9VWwOrN.js} +2 -2
- package/_assets/{index-FulUISq-.js → index-CAk812YM.js} +3 -3
- package/_assets/{index-BjwBAnSC.js → index-CCwEfRv1.js} +2 -2
- package/_assets/{index-ZeYD1UV9.js → index-CFdMUMIf.js} +2 -2
- package/_assets/{index-CuMcexY5.js → index-CMJzrmHJ.js} +2 -2
- package/_assets/index-CN-sj3Aq.js +3 -0
- package/_assets/{index-BGrANbPw.js → index-CSne_m1Z.js} +2 -2
- package/_assets/{index-DEpB_O8U.js → index-CTTkGX74.js} +2 -2
- package/_assets/{index-nnXQxGtT.js → index-CWFuIRQn.js} +2 -2
- package/_assets/{index-Co6QtZP4.js → index-CXOLiVIM.js} +2 -2
- package/_assets/{index--xO4rPAQ.js → index-CYRG3OQ_.js} +2 -2
- package/_assets/{index--zdetcR1.js → index-Ca9b4PGk.js} +2 -2
- package/_assets/{index-C1RN-fyT.js → index-CenMjqSZ.js} +2 -2
- package/_assets/{index-BXLoHT-y.js → index-Chj2Yu9b.js} +2 -2
- package/_assets/{index-D2MA8y8I.js → index-Cj82A80V.js} +2 -2
- package/_assets/{index-BFmlI-YH.js → index-Cjtj0Ta_.js} +2 -2
- package/_assets/{index-B3EyJw9C.js → index-ClFXaP1w.js} +2 -2
- package/_assets/{index-D5KcV8NK.js → index-CoblKGWq.js} +2 -2
- package/_assets/{index-DoMFaPQe.js → index-Cu2xjJu3.js} +2 -2
- package/_assets/{index-DnjCwM6S.js → index-CwMaummt.js} +2 -2
- package/_assets/{index-DqSm3oXE.js → index-CxN9xUcA.js} +2 -2
- package/_assets/{index-Oeb6yAS7.js → index-D-wgq5XE.js} +2 -2
- package/_assets/{index-CtUctOvq.js → index-D2CdrSfi.js} +2 -2
- package/_assets/{index-BR3j833e.js → index-D5f11azz.js} +2 -2
- package/_assets/{index-CrQWXA9i.js → index-D9nco8aW.js} +408 -408
- package/_assets/{index-Dr-IW0IT.js → index-DBMknjke.js} +2 -2
- package/_assets/{index-DFt6-etY.js → index-DH4TysgU.js} +2 -2
- package/_assets/{index-mN-NqSl-.js → index-DHYVO_C1.js} +6 -6
- package/_assets/{index-CR5irhWO.js → index-DJL5YAMY.js} +2 -2
- package/_assets/{index-CJBUbxOZ.js → index-DL4Ng5gW.js} +2 -2
- package/_assets/{index-DDuKrM0P.js → index-DOeWT5L1.js} +2 -2
- package/_assets/{index-Duh_2DI0.js → index-DYaYTEGI.js} +4 -4
- package/_assets/{index-BOZG29Ig.js → index-D_j9kw_t.js} +2 -2
- package/_assets/{index-CTga63tT.js → index-DcV6mz4U.js} +2 -2
- package/_assets/{index-D370cVbh.js → index-DnmukSDI.js} +2 -2
- package/_assets/{index-vDQo5dXf.js → index-Dp7pXqB2.js} +2 -2
- package/_assets/{index-DJqllRjz.js → index-DsTPKUHx.js} +2 -2
- package/_assets/{index-C2UmZAVb.js → index-DtGOkzX7.js} +2 -2
- package/_assets/{index-BlwLxlZw.css → index-GMnLDRte.css} +1 -1
- package/_assets/{index-CMnOVvLw.js → index-SPhsLC2Q.js} +3 -3
- package/_assets/{index-DsCdVjSu.js → index-XQxI2EWC.js} +2 -2
- package/_assets/{index-C1-qRzK4.js → index-ceMkXxtM.js} +2 -2
- package/_assets/{index-3HDY0Qln.js → index-kZnmPfT5.js} +2 -2
- package/_assets/{index-ctDOslvp.js → index-lHZ_hIvP.js} +2 -2
- package/_assets/{index-KPktIS7Q.js → index-sYTXYMnS.js} +2 -2
- package/_assets/{index-4dV96Dhe.js → index-zMLyTrtb.js} +4 -4
- package/_assets/{index.es-D_ODEvK2.js → index.es-BKn9UIXr.js} +2 -2
- package/_assets/{index.es-CQS7BUQR.js → index.es-C5D7tEFD.js} +5 -5
- package/_assets/{index.es-DoXhwUu9.js → index.es-MMNE5pZE.js} +2 -2
- package/_assets/{index.es-DAGfX6qQ.js → index.es-_7n0cbOB.js} +2 -2
- package/_assets/{items-empty-DggiavYi.js → items-empty-CBUQV73X.js} +2 -2
- package/_assets/{jump-f9CT-Az7.js → jump-DcqLxJfZ.js} +2 -2
- package/_assets/{linkAccount-DjjL_H9f.js → linkAccount-CG2m2ivw.js} +2 -2
- package/_assets/{localBatchGatewayRequest-CmUGzZz6.js → localBatchGatewayRequest-fDdUWjpv.js} +2 -2
- package/_assets/{native-BYy5pCWm.js → native-DhTmA_87.js} +2 -2
- package/_assets/{networks-BL_KOwHK.js → networks-BP6--4FE.js} +2 -2
- package/_assets/{onramp-B7c2LnaA.js → onramp-Bd7Tp0Gr.js} +2 -2
- package/_assets/{openzeppelin-npkk2Ooj.js → openzeppelin-CMYKvQnB.js} +2 -2
- package/_assets/{ownerOf-_Sgorb6N.js → ownerOf-DXi3Nf-w.js} +2 -2
- package/_assets/{parseNft-CO3jY6XH.js → parseNft-DvZ-VqeS.js} +3 -3
- package/_assets/{parseSignature-E2CygNn6.js → parseSignature-Cl9hAC1S.js} +4 -4
- package/_assets/{parseSignature-DHd-jWB5.js → parseSignature-ClNFuHRD.js} +2 -2
- package/_assets/{passkeys-DYLX7m92.js → passkeys-B5ti2y79.js} +2 -2
- package/_assets/{pay-with-exchange-DMrE7Ydd.js → pay-with-exchange-6YuPECVQ.js} +2 -2
- package/_assets/{prepare-contract-call-DMZ-o-So.js → prepare-contract-call-DeTSyI4G.js} +2 -2
- package/_assets/{qr-overlay-Bumtl7Z-.js → qr-overlay-C6-AAmDW.js} +4 -4
- package/_assets/{react-BwJcPB8_.js → react-C9neZ7Uo.js} +2 -2
- package/_assets/{receive-_0EcatzI.js → receive-Q48SYcCQ.js} +2 -2
- package/_assets/{resolveImplementation-Dde3lVC5.js → resolveImplementation-CRZtvyEi.js} +2 -2
- package/_assets/{resume-buy-C-qh0ufe.js → resume-buy-Do1iVtIQ.js} +2 -2
- package/_assets/{rpc-CXjezPea.js → rpc-DxyE7c-Z.js} +2 -2
- package/_assets/{sales-empty-tmCZjpvS.js → sales-empty-Dy3xBmna.js} +2 -2
- package/_assets/{search-empty-BXI4EbNQ.js → search-empty-ChvQhAxZ.js} +2 -2
- package/_assets/{secp256k1-BUY7Jm2r.js → secp256k1-BOQVYpb2.js} +2 -2
- package/_assets/{secp256k1-DBDeuWIw.js → secp256k1-D1OPQNuQ.js} +2 -2
- package/_assets/{secp256k1-CeTCyHr9.js → secp256k1-PQG5l4bt.js} +2 -2
- package/_assets/{send-DOxbWf4W.js → send-agjirfqK.js} +2 -2
- package/_assets/{send-batch-transaction-Vmk7oBzE.js → send-batch-transaction-Bc90Fax3.js} +2 -2
- package/_assets/{send-eip712-transaction-DqYbgSUO.js → send-eip712-transaction-CCFcW2Ft.js} +3 -3
- package/_assets/{send-gasless-transaction-C5PrRNXo.js → send-gasless-transaction-nGOHz_b7.js} +3 -3
- package/_assets/{send-transaction-D1S_zN8v.js → send-transaction-BwgZFsLw.js} +3 -3
- package/_assets/{sendMetaTransaction-DzVeLPCT.js → sendMetaTransaction-l440Kzt0.js} +2 -2
- package/_assets/{sendRawTransaction-BjebF0sp.js → sendRawTransaction-DwabYVD5.js} +4 -4
- package/_assets/{sentry-CfBx2T7h.js → sentry-BuY6eQh6.js} +3 -3
- package/_assets/{serializeTransaction-CkwgX7BR.js → serializeTransaction-C2y8_jXC.js} +2 -2
- package/_assets/{session-proposal-DM36_Uz8.js → session-proposal-a7HeV7Ss.js} +2 -2
- package/_assets/{session-request-cxA3G4Qq.js → session-request-De1VyCVk.js} +3 -3
- package/_assets/{sha256-ppoQU2on.js → sha256-C3hKp14x.js} +2 -2
- package/_assets/{signing-BRKw8ILT.js → signing-D5xGCJn-.js} +4 -4
- package/_assets/{skeleton.styles-DoKuYEPM.js → skeleton.styles-BFR1JQBu.js} +2 -2
- package/_assets/{socials-CA9ntv--.js → socials-DcUoLnFD.js} +2 -2
- package/_assets/{styled-8uH5Xw1j.js → styled-BrPcF75A.js} +3 -3
- package/_assets/{swaps-BKU1CxA7.js → swaps-x5kK5Noa.js} +2 -2
- package/_assets/{thirdweb-DWQefwv5.js → thirdweb-0Sksx90X.js} +4 -4
- package/_assets/{to-serializable-transaction-DfoAbqhZ.js → to-serializable-transaction-BZTbgB31.js} +3 -3
- package/_assets/{totalSupply-C7sVzyCL.js → totalSupply-CgxOFHzl.js} +2 -2
- package/_assets/{transaction-lKNhXBka.js → transaction-Bk2KdZgf.js} +2 -2
- package/_assets/{transactionReceipt-DupPeEjB.js → transactionReceipt-BbhpoOZG.js} +2 -2
- package/_assets/{transactions-C7QTwQql.js → transactions-D-13bz92.js} +2 -2
- package/_assets/{useCreditPacks-Bi03ksoh.js → useCreditPacks-CksfdQ6Q.js} +2 -2
- package/_assets/{useInfiniteGrid-C10CWtUk.js → useInfiniteGrid-Bn9FRhmQ.js} +2 -2
- package/_assets/{useStore-C_lJui01.js → useStore-C6S7ZSK4.js} +3 -3
- package/_assets/{useTheme-CDRA6SUS.js → useTheme-D4hAdBst.js} +2 -2
- package/_assets/{utils-DuNYa03r.js → utils-oSsk5zcr.js} +2 -2
- package/_assets/{verifyHash-DnCkQ6Gp.js → verifyHash-CjecN0X7.js} +2 -2
- package/_assets/{w3m-modal-D66Av3q0.js → w3m-modal-BO8cz5T2.js} +2 -2
- package/_assets/{w3m-modal-DfPtoDlK.js → w3m-modal-DOfxhEVC.js} +2 -2
- package/_assets/{wait-for-tx-receipt-Bi01ZMhY.js → wait-for-tx-receipt--wtpLWF7.js} +2 -2
- package/_assets/{wallets-45-WGwZW.js → wallets-CytxfgQl.js} +6 -6
- package/_assets/{web-connector-CgZgkYMn.js → web-connector-BfWWxhba.js} +4 -4
- package/_assets/{writeContract-D1RaML-C.js → writeContract-C2ED-e33.js} +2 -2
- package/_assets/{zora-sepolia-DZOuruql.js → zora-sepolia-Dl-iX-Ui.js} +2 -2
- package/_assets/{zoraTestnet-DBN4pnCu.js → zoraTestnet-BwxMZdDl.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Collection-CWiXNp-8.js +0 -134
- package/_assets/MyAssets-D6NgR7O6.js +0 -331
- package/_assets/collectionPage.styles-PbnBQ8r2.js +0 -41
- package/_assets/index-IuwBScza.js +0 -3
package/index.html
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
<link rel="canonical" href="https://decentraland.org/shop/" />
|
|
17
17
|
|
|
18
18
|
<!-- Favicon: the Decentraland mark (same as the marketplace). -->
|
|
19
|
-
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
20
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/dcl-mark.png" />
|
|
21
21
|
<meta name="apple-mobile-web-app-title" content="DCL Shop" />
|
|
22
|
-
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
22
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/site.webmanifest" />
|
|
23
23
|
|
|
24
24
|
<!-- Open Graph.
|
|
25
25
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<meta name="twitter:image:alt" content="Decentraland Shop — wearables and emotes for your avatar" />
|
|
59
59
|
|
|
60
60
|
<!-- Sitemap -->
|
|
61
|
-
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
61
|
+
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/sitemap.xml" />
|
|
62
62
|
|
|
63
63
|
<!-- Warm the 3D preview / fonts -->
|
|
64
64
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
<link rel="preconnect" href="https://wearable-preview.decentraland.org" />
|
|
71
71
|
<link rel="preconnect" href="https://peer.decentraland.zone" crossorigin />
|
|
72
72
|
<link rel="preconnect" href="https://peer.decentraland.org" crossorigin />
|
|
73
|
-
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
74
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
75
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
76
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
77
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
78
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
79
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-
|
|
73
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/_assets/index-D9nco8aW.js"></script>
|
|
74
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/_assets/react-C9neZ7Uo.js">
|
|
75
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/_assets/dcl-schemas-DClyK8sW.js">
|
|
76
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/_assets/sentry-BuY6eQh6.js">
|
|
77
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/_assets/ethers-DOyNn0vs.js">
|
|
78
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/_assets/intl-AKLEHPeO.js">
|
|
79
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.12.2-34818778994.commit-b4640d0/_assets/index-GMnLDRte.css">
|
|
80
80
|
</head>
|
|
81
81
|
<body>
|
|
82
82
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/shop",
|
|
3
|
-
"version": "1.12.2-
|
|
3
|
+
"version": "1.12.2-34818778994.commit-b4640d0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/shop.git"
|
|
10
10
|
},
|
|
11
|
-
"commit": "
|
|
11
|
+
"commit": "b4640d0ae0a1bd01d7a3a8a4d96857b6a5d7d508"
|
|
12
12
|
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import{j as e,r as h,d as te,b as oe}from"./react-BwJcPB8_.js";import{t as b,s as u,h as se,I as re,n as ae,b as r,a0 as q,w as M,bF as ie,bG as ne,c as le,m as ce,o as de,at as ue,L as me,S as G,M as pe,bH as fe,bU as he}from"./index-CrQWXA9i.js";import{E as xe}from"./ErrorNotice-DhtD_b_c.js";import{d as be,P as ge,C as ye,a as E,b as ve,S as je}from"./collectionPage.styles-PbnBQ8r2.js";import{u as we}from"./useStore-C_lJui01.js";import{u as Ce,t as U,R as ke,j as Se,k as $e,l as Ne,m as Ee,n as Fe,o as Me,p as Ie,v as Re,q as Te,r as _e,M as Ae,s as Pe}from"./browseLayout.styles-B1vxkgfd.js";import{L as De}from"./LoadMore-BhwLaH92.js";import{u as Le}from"./useInfiniteGrid-C10CWtUk.js";import{u as Be,s as ze}from"./search-empty-BXI4EbNQ.js";import{S as Oe}from"./categories-Cmf5iT8B.js";import{G as Ge}from"./grid.styles-BxHhOjLn.js";import"./dcl-schemas-oTvPwdnN.js";import"./sentry-CfBx2T7h.js";import"./ethers-C300LaOz.js";import"./intl-AKLEHPeO.js";import"./crumbs.styles-BYQZMhEM.js";import"./skeleton.styles-DoKuYEPM.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new s.Error().stack;o&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[o]="a2fedead-3490-4940-88e2-788f3dd3ab87",s._sentryDebugIdIdentifier="sentry-dbid-a2fedead-3490-4940-88e2-788f3dd3ab87")}catch{}})();const Ue=u.section`
|
|
2
|
-
position: relative;
|
|
3
|
-
border-radius: ${b.radius.card};
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
margin-bottom: 24px;
|
|
6
|
-
min-height: 200px;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
|
|
11
|
-
${b.media.maxWidth("mobile")} {
|
|
12
|
-
min-height: 140px;
|
|
13
|
-
}
|
|
14
|
-
`,We=u.div`
|
|
15
|
-
position: absolute;
|
|
16
|
-
inset: 0;
|
|
17
|
-
z-index: 0;
|
|
18
|
-
`,qe=u.img`
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
object-fit: cover;
|
|
22
|
-
display: block;
|
|
23
|
-
`,He=u.div`
|
|
24
|
-
position: absolute;
|
|
25
|
-
inset: 0;
|
|
26
|
-
background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
|
|
27
|
-
`,Ke=u.h1`
|
|
28
|
-
position: relative;
|
|
29
|
-
z-index: 1;
|
|
30
|
-
margin: 0;
|
|
31
|
-
padding: 32px 24px;
|
|
32
|
-
text-align: center;
|
|
33
|
-
color: ${b.colors.white};
|
|
34
|
-
font-size: 40px;
|
|
35
|
-
font-weight: 800;
|
|
36
|
-
line-height: 1.2;
|
|
37
|
-
letter-spacing: 0.02em;
|
|
38
|
-
text-transform: uppercase;
|
|
39
|
-
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
|
|
40
|
-
|
|
41
|
-
${b.media.maxWidth("mobile")} {
|
|
42
|
-
padding: 24px 16px;
|
|
43
|
-
font-size: 26px;
|
|
44
|
-
}
|
|
45
|
-
`;function Qe({name:s,creator:o}){const{data:i}=we(o),l=(i==null?void 0:i.cover)||be;return e.jsxs(Ue,{"data-testid":"collection-hero","aria-label":s,children:[e.jsxs(We,{children:[e.jsx(qe,{src:l,alt:"",loading:"eager"}),e.jsx(He,{"aria-hidden":!0})]}),e.jsx(Ke,{"data-testid":"collection-hero-title",children:s})]})}const Ve=1500;function Ze(s){const[o,i]=h.useState(!1),l=h.useRef();h.useEffect(()=>()=>window.clearTimeout(l.current),[]);const a=h.useCallback(async m=>{try{await navigator.clipboard.writeText(m),i(!0),window.clearTimeout(l.current),l.current=window.setTimeout(()=>i(!1),Ve)}catch(d){se(d,{flow:s})}},[s]);return{copied:o,copy:a}}const{colors:F,radius:Je}=b,Xe=ae`
|
|
46
|
-
0% { transform: scale(0.6); opacity: 0; }
|
|
47
|
-
60% { transform: scale(1.15); }
|
|
48
|
-
100% { transform: scale(1); opacity: 1; }
|
|
49
|
-
`,Ye=u.button`
|
|
50
|
-
display: inline-flex;
|
|
51
|
-
align-items: center;
|
|
52
|
-
gap: 8px;
|
|
53
|
-
padding: 4px 8px;
|
|
54
|
-
border: 0;
|
|
55
|
-
border-radius: ${Je.btn};
|
|
56
|
-
background: none;
|
|
57
|
-
color: ${F.gray4};
|
|
58
|
-
font: inherit;
|
|
59
|
-
font-size: 14px;
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
transition:
|
|
62
|
-
color 0.15s ease,
|
|
63
|
-
background 0.15s ease;
|
|
64
|
-
|
|
65
|
-
&:hover {
|
|
66
|
-
color: ${F.white};
|
|
67
|
-
background: rgba(255, 255, 255, 0.12);
|
|
68
|
-
}
|
|
69
|
-
&:focus-visible {
|
|
70
|
-
outline: 2px solid ${F.softWhite};
|
|
71
|
-
outline-offset: 2px;
|
|
72
|
-
}
|
|
73
|
-
`,et=u(re)`
|
|
74
|
-
flex: none;
|
|
75
|
-
animation: ${Xe} 0.22s ease-out;
|
|
76
|
-
|
|
77
|
-
@media (prefers-reduced-motion: reduce) {
|
|
78
|
-
animation: none;
|
|
79
|
-
}
|
|
80
|
-
`;function tt({value:s,children:o,label:i,flow:l="copy_to_clipboard",size:a=16,className:m,testId:d}){const{copied:n,copy:x}=Ze(l),f=n?r("common.copied"):i??r("common.copy");return e.jsxs(Ye,{type:"button",onClick:()=>void x(s),title:f,"aria-label":f,"data-copied":n||void 0,className:m,"data-testid":d,children:[o,e.jsx(et,{name:n?"check":"copy",size:a},n?"ok":"idle")]})}const{colors:j,radius:ot}=b,st=u.div`
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
align-items: center;
|
|
84
|
-
text-align: center;
|
|
85
|
-
gap: 12px;
|
|
86
|
-
padding-bottom: 24px;
|
|
87
|
-
/* Lift so the avatar half-overlaps the 24px-below cover hero (24px + half the 110px avatar). */
|
|
88
|
-
margin-top: -79px;
|
|
89
|
-
margin-bottom: 8px;
|
|
90
|
-
/* Matches the dividers between the filter sections below it (Filters.styles Divider). */
|
|
91
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
|
92
|
-
`,W=u.img`
|
|
93
|
-
display: block;
|
|
94
|
-
width: 110px;
|
|
95
|
-
height: 110px;
|
|
96
|
-
border-radius: 50%;
|
|
97
|
-
object-fit: cover;
|
|
98
|
-
border: 5px solid ${j.white};
|
|
99
|
-
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
|
|
100
|
-
background: #ff4bed;
|
|
101
|
-
`,rt=u.h2`
|
|
102
|
-
margin: 0;
|
|
103
|
-
font-size: 20px;
|
|
104
|
-
font-weight: 700;
|
|
105
|
-
line-height: 1.3;
|
|
106
|
-
color: ${j.softWhite};
|
|
107
|
-
max-width: 100%;
|
|
108
|
-
overflow: hidden;
|
|
109
|
-
text-overflow: ellipsis;
|
|
110
|
-
white-space: nowrap;
|
|
111
|
-
`,at=u.a`
|
|
112
|
-
display: inline-flex;
|
|
113
|
-
align-items: center;
|
|
114
|
-
justify-content: center;
|
|
115
|
-
width: 100%;
|
|
116
|
-
height: 44px;
|
|
117
|
-
padding: 0 20px;
|
|
118
|
-
border-radius: ${ot.btn};
|
|
119
|
-
background: ${j.overlay};
|
|
120
|
-
color: ${j.softWhite};
|
|
121
|
-
font-weight: 600;
|
|
122
|
-
font-size: 13px;
|
|
123
|
-
text-transform: uppercase;
|
|
124
|
-
letter-spacing: 0.046em;
|
|
125
|
-
text-decoration: none;
|
|
126
|
-
transition:
|
|
127
|
-
background 0.15s ease,
|
|
128
|
-
color 0.15s ease;
|
|
129
|
-
|
|
130
|
-
&:hover {
|
|
131
|
-
background: ${j.blackBtn};
|
|
132
|
-
}
|
|
133
|
-
`;function it({address:s}){var d,n;const{data:o}=q(s);if(!s)return null;const i=(o==null?void 0:o.name)||M(s),l=(n=(d=o==null?void 0:o.avatar)==null?void 0:d.snapshots)==null?void 0:n.face256,a=`${le.profileUrl}/${s}`,m=ie(ne({name:o==null?void 0:o.name,hasClaimedName:o==null?void 0:o.hasClaimedName,ethAddress:(o==null?void 0:o.ethAddress)??s}));return e.jsxs(st,{"data-testid":"creator-card",children:[l?e.jsx(W,{src:l,alt:"",loading:"eager",style:{backgroundColor:m}}):e.jsx(W,{as:"span","aria-hidden":!0,style:{backgroundColor:m}}),e.jsx(rt,{title:i,children:i}),e.jsx(tt,{value:s,label:r("collection.copyAddress"),flow:"copy_creator_address",testId:"creator-card-copy",children:e.jsx("span",{children:M(s)})}),e.jsx(at,{"data-testid":"creator-card-view",href:a,target:"_blank",rel:"noopener noreferrer",children:r("collection.viewProfile")})]})}const nt=48,lt=["all","on_sale","not_for_sale"];function $t(){var O;const{contractAddress:s}=te(),o=oe(),i=h.useMemo(()=>({category:"all",status:"all",subCategory:null,rarities:[],priceMin:"",priceMax:"",smart:!1,sort:"newest"}),[]),[l,a]=Be(i),{category:m,subCategory:d,rarities:n,priceMin:x,priceMax:f,smart:C,sort:I}=l,g=lt.includes(l.status)?l.status:"all",R=t=>a({status:t});Ce(`${m}:${d??""}`);const[w,y]=h.useState(!1);h.useEffect(()=>{if(!w)return;const t=ee=>{ee.key==="Escape"&&y(!1)};document.addEventListener("keydown",t);const N=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=N}},[w]);const T=x&&!Number.isNaN(Number(x))?Number(x):void 0,_=f&&!Number.isNaN(Number(f))?Number(f):void 0,H=d?Oe[d]:void 0,K=(U.find(t=>t.key===I)??U[0]).server,A={contractAddress:s,category:m,rarities:n.length?n:void 0,wearableCategories:H,minPriceCredits:T,maxPriceCredits:_,isWearableSmart:C||void 0,isOnSale:g==="all"?void 0:g==="on_sale",sortBy:K},{items:k,total:Q,isLoading:S,error:P,hasNextPage:V,isFetchingNextPage:D,isFetchNextPageError:Z,fetchNextPage:J}=Le(["collection-page",A],t=>fe({...A,first:nt,skip:t}),{enabled:!!s}),{data:c}=ce({queryKey:["collection-meta",s],queryFn:()=>he(s),enabled:!!s,staleTime:5*6e4}),L=(c==null?void 0:c.name)||r("collection.fallbackTitle");de({title:c==null?void 0:c.name,description:c!=null&&c.name?r("seo.collection.description",{name:c.name}):void 0});const p=(c==null?void 0:c.creator)||((O=k[0])==null?void 0:O.creator),{data:$}=q(p),X=($==null?void 0:$.name)||(p?M(p):"");function Y(t){a({category:t,subCategory:null})}function B(t){a({rarities:n.includes(t)?n.filter(N=>N!==t):[...n,t]})}function z(){a(i)}const v=[];(T!=null||_!=null)&&v.push({key:"price",label:r("filter.price"),onRemove:()=>{a({priceMin:"",priceMax:""})}});for(const t of ke)n.includes(t)&&v.push({key:`rarity-${t}`,label:ue(t),onRemove:()=>B(t)});return C&&v.push({key:"smart",label:r("filter.smart"),onRemove:()=>a({smart:!1})}),g!=="all"&&v.push({key:"status",label:g==="on_sale"?r("filter.onSale"):r("filter.notForSale"),onRemove:()=>R("all")}),e.jsxs(ge,{"data-testid":"collection-page",children:[e.jsxs(ye,{"aria-label":r("collection.breadcrumbAria"),children:[e.jsx(E,{onClick:()=>o("/items"),children:r("collection.breadcrumb")}),p?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"/"}),e.jsx(E,{onClick:()=>o(`/items/creator/${p}`),children:X}),e.jsx("span",{children:"/"}),e.jsx(E,{onClick:()=>o(`/items/creator/${p}?collections`),children:r("categories.collections")})]}):null,e.jsx("span",{children:"/"}),e.jsx(ve,{children:L})]}),e.jsx(Qe,{name:L,creator:p}),e.jsxs(Se,{"data-testid":"browse",children:[w?e.jsx($e,{onClick:()=>y(!1),"aria-hidden":!0}):null,e.jsxs(je,{children:[e.jsx(it,{address:p}),e.jsxs(Ne,{"data-open":w||void 0,"data-static":!0,"data-testid":"browse-sidebar",children:[e.jsxs(Ee,{children:[e.jsx(Fe,{children:r("assets.filters")}),e.jsx(Me,{onClick:()=>y(!1),"aria-label":r("assets.closeFilters"),children:"✕"})]}),e.jsx(Ie,{children:e.jsx(Re,{category:m,subCategory:d,onCategory:Y,onSub:t=>a({subCategory:t}),priceMin:x,priceMax:f,onPriceMin:t=>a({priceMin:t}),onPriceMax:t=>a({priceMax:t}),rarities:n,onToggleRarity:B,status:g,onStatus:R,smart:C,onSmart:t=>a({smart:t}),hideNames:!0})}),e.jsx(Te,{children:e.jsx(_e,{type:"button",onClick:()=>y(!1),children:r("assets.showItems")})})]})]}),e.jsxs(Ae,{children:[e.jsx(Pe,{sort:I,onSort:t=>a({sort:t}),total:Q,loading:S,onOpenFilters:()=>y(!0),chips:v,onClearChips:z}),P?e.jsx(xe,{message:r("collection.error")}):null,!S&&!P&&k.length===0?e.jsx(me,{testId:"collection-empty",icon:ze,title:r("assets.empty.title"),body:r("collection.empty"),cta:{label:r("filterBar.clearAll"),onClick:z}}):e.jsxs(e.Fragment,{children:[e.jsx(Ge,{"data-testid":"grid",children:S?e.jsx(G,{count:15}):e.jsxs(e.Fragment,{children:[k.map(t=>e.jsx(pe,{item:t},t.id)),D?e.jsx(G,{count:6}):null]})}),e.jsx(De,{hasNextPage:V,isFetching:D,isError:Z,onLoadMore:()=>void J()})]})]})]})]})}export{$t as Collection,$t as default};
|
|
134
|
-
//# sourceMappingURL=Collection-CWiXNp-8.js.map
|
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
import{r as m,j as t,b as Xe,u as et}from"./react-BwJcPB8_.js";import{t as r,s as a,b as n,I as P,bb as tt,o as st,p as nt,b9 as pe,m as Q,B as ot,S as Z,M as V,L as ue,z as rt,c as ke,bc as at,bd as it}from"./index-CrQWXA9i.js";import{a as ct}from"./builder-DMHWgmc9.js";import{L as lt}from"./LoadMore-BhwLaH92.js";import{u as dt,R as X,C as mt,a as pt,b as ut,D as fe,F as he,c as ft,d as ht,e as xt,f as gt,g as yt,S as bt,h as wt,i as jt,j as St,k as $t,l as kt,m as It,n as vt,o as Ct,p as At,q as Pt,r as Et,M as Rt,s as Ot}from"./browseLayout.styles-B1vxkgfd.js";import{u as Tt}from"./useInfiniteGrid-C10CWtUk.js";import{n as Ie,S as xe}from"./categories-Cmf5iT8B.js";import{u as Ft,s as _t}from"./sales-empty-tmCZjpvS.js";import{E as ge}from"./ErrorNotice-DhtD_b_c.js";import{C as Nt,R as Bt,B as Mt,T as Lt,A as zt,a as Kt,M as Dt}from"./ManaPricingBanner.styles-CMIx21IT.js";import{C as Gt}from"./field.styles-DSFgApoj.js";import{c as Wt,i as qt}from"./items-empty-DggiavYi.js";import{m as Ht}from"./mana-matic-CEqvSwrJ.js";import"./dcl-schemas-oTvPwdnN.js";import"./sentry-CfBx2T7h.js";import"./ethers-C300LaOz.js";import"./intl-AKLEHPeO.js";import"./skeleton.styles-DoKuYEPM.js";import"./buy-DsPOzcXi.js";import"./authorizations-WfRyprsO.js";import"./sendMetaTransaction-DzVeLPCT.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new s.Error().stack;i&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[i]="00f405ee-80d9-4fa8-86b7-a5a449f03ef9",s._sentryDebugIdIdentifier="sentry-dbid-00f405ee-80d9-4fa8-86b7-a5a449f03ef9")}catch{}})();const{colors:p,font:ve,radius:te,z:Ut}=r,Yt=a.div`
|
|
2
|
-
position: fixed;
|
|
3
|
-
inset: 0;
|
|
4
|
-
z-index: ${Ut.overlay};
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
overflow-y: auto;
|
|
9
|
-
padding: 16px;
|
|
10
|
-
background: rgba(22, 21, 24, 0.55);
|
|
11
|
-
`,Jt=a.div`
|
|
12
|
-
width: 560px;
|
|
13
|
-
max-width: 100%;
|
|
14
|
-
max-height: 100%;
|
|
15
|
-
overflow-y: auto;
|
|
16
|
-
padding: 12px 16px 16px;
|
|
17
|
-
border-radius: ${te.modal};
|
|
18
|
-
background: ${p.white};
|
|
19
|
-
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
gap: 24px;
|
|
23
|
-
font-family: ${ve.sans};
|
|
24
|
-
|
|
25
|
-
/* Focused on mount for screen readers; it is not tab-reachable, so it never needs a visible ring. */
|
|
26
|
-
&:focus {
|
|
27
|
-
outline: none;
|
|
28
|
-
}
|
|
29
|
-
`,Qt=a.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: space-between;
|
|
33
|
-
gap: 8px;
|
|
34
|
-
padding-bottom: 16px;
|
|
35
|
-
border-bottom: 1px solid ${p.gray4};
|
|
36
|
-
`,Zt=a.h2`
|
|
37
|
-
margin: 0;
|
|
38
|
-
font-weight: 600;
|
|
39
|
-
font-size: 20px;
|
|
40
|
-
line-height: 1.6;
|
|
41
|
-
color: ${p.text};
|
|
42
|
-
`,Vt=a.button`
|
|
43
|
-
position: relative;
|
|
44
|
-
flex: none;
|
|
45
|
-
display: grid;
|
|
46
|
-
place-items: center;
|
|
47
|
-
width: 18.535px;
|
|
48
|
-
height: 18.535px;
|
|
49
|
-
padding: 0;
|
|
50
|
-
border: 0;
|
|
51
|
-
background: none;
|
|
52
|
-
cursor: pointer;
|
|
53
|
-
color: ${p.text};
|
|
54
|
-
|
|
55
|
-
.ico {
|
|
56
|
-
width: 100%;
|
|
57
|
-
height: 100%;
|
|
58
|
-
}
|
|
59
|
-
/* Keeps the glyph exactly where the design puts it while giving it a tappable hit area. */
|
|
60
|
-
&::after {
|
|
61
|
-
content: '';
|
|
62
|
-
position: absolute;
|
|
63
|
-
inset: -11px;
|
|
64
|
-
}
|
|
65
|
-
&:focus-visible {
|
|
66
|
-
outline: 2px solid ${p.accent};
|
|
67
|
-
outline-offset: 2px;
|
|
68
|
-
}
|
|
69
|
-
`,Xt=a.div`
|
|
70
|
-
padding: 16px;
|
|
71
|
-
border-radius: ${te.modal};
|
|
72
|
-
background: ${p.infoGreen};
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
gap: 12px;
|
|
76
|
-
`,es=a.h3`
|
|
77
|
-
margin: 0;
|
|
78
|
-
font-weight: 600;
|
|
79
|
-
font-size: 20px;
|
|
80
|
-
line-height: 1.57;
|
|
81
|
-
color: ${p.text};
|
|
82
|
-
`,ts=a.p`
|
|
83
|
-
margin: 0;
|
|
84
|
-
font-weight: 500;
|
|
85
|
-
font-size: 14px;
|
|
86
|
-
line-height: 1.334;
|
|
87
|
-
color: ${p.text2};
|
|
88
|
-
`,ss=a.div`
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-direction: column;
|
|
91
|
-
gap: 8px;
|
|
92
|
-
`,ns=a.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: center;
|
|
95
|
-
gap: 12px;
|
|
96
|
-
`,Ce=`
|
|
97
|
-
flex: 1 1 0;
|
|
98
|
-
min-width: 0;
|
|
99
|
-
display: inline-flex;
|
|
100
|
-
align-items: center;
|
|
101
|
-
justify-content: center;
|
|
102
|
-
gap: 8px;
|
|
103
|
-
height: 46px;
|
|
104
|
-
padding: 0 12px;
|
|
105
|
-
border-radius: ${te.card};
|
|
106
|
-
font-family: ${ve.sans};
|
|
107
|
-
font-weight: 600;
|
|
108
|
-
font-size: 13px;
|
|
109
|
-
line-height: 24px;
|
|
110
|
-
letter-spacing: 0.46px;
|
|
111
|
-
text-transform: uppercase;
|
|
112
|
-
cursor: pointer;
|
|
113
|
-
transition:
|
|
114
|
-
background 0.15s ease,
|
|
115
|
-
color 0.15s ease;
|
|
116
|
-
|
|
117
|
-
&:focus-visible {
|
|
118
|
-
outline: 2px solid ${p.accent};
|
|
119
|
-
outline-offset: 2px;
|
|
120
|
-
}
|
|
121
|
-
`,os=a.button`
|
|
122
|
-
${Ce};
|
|
123
|
-
border: 0.5px solid ${p.text};
|
|
124
|
-
background: ${p.white};
|
|
125
|
-
color: ${p.text2};
|
|
126
|
-
|
|
127
|
-
&:hover {
|
|
128
|
-
background: ${p.panel};
|
|
129
|
-
}
|
|
130
|
-
`,rs=a.button`
|
|
131
|
-
${Ce};
|
|
132
|
-
border: 0;
|
|
133
|
-
background: ${p.accent};
|
|
134
|
-
color: ${p.softWhite};
|
|
135
|
-
|
|
136
|
-
&:hover {
|
|
137
|
-
background: ${p.accentHover};
|
|
138
|
-
}
|
|
139
|
-
&:active {
|
|
140
|
-
background: ${p.accentActive};
|
|
141
|
-
}
|
|
142
|
-
`,as=a.label`
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
justify-content: center;
|
|
146
|
-
font-size: 14.049px;
|
|
147
|
-
line-height: normal;
|
|
148
|
-
color: ${p.text};
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
`,is=a.span`
|
|
151
|
-
flex: none;
|
|
152
|
-
display: grid;
|
|
153
|
-
place-items: center;
|
|
154
|
-
width: 32px;
|
|
155
|
-
height: 32px;
|
|
156
|
-
|
|
157
|
-
& input {
|
|
158
|
-
--box: 13.714px;
|
|
159
|
-
}
|
|
160
|
-
`;function cs({onClose:s,onConfirm:i}){const[d,h]=m.useState(!1),b=m.useRef(null),E=m.useRef(d);return E.current=d,m.useEffect(()=>{var I;(I=b.current)==null||I.focus();function y(l){l.key==="Escape"&&s(E.current)}return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[s]),t.jsx(Yt,{role:"presentation",onClick:()=>s(d),children:t.jsxs(Jt,{ref:b,tabIndex:-1,role:"dialog","aria-modal":"true","aria-label":n("newPricing.title"),"data-testid":"new-pricing-modal",onClick:y=>y.stopPropagation(),children:[t.jsxs(Qt,{children:[t.jsx(Zt,{children:n("newPricing.title")}),t.jsx(Vt,{onClick:()=>s(d),"aria-label":n("newPricing.close"),children:t.jsx(P,{name:"close",className:"ico"})})]}),t.jsxs(Xt,{children:[t.jsx(es,{children:n("newPricing.infoTitle")}),t.jsx(ts,{children:n("newPricing.infoBody")})]}),t.jsx(Nt,{align:"center"}),t.jsxs(ss,{children:[t.jsxs(ns,{children:[t.jsx(os,{onClick:()=>s(d),"data-testid":"new-pricing-later",children:n("newPricing.later")}),t.jsx(rs,{onClick:()=>i(d),"data-testid":"new-pricing-confirm",children:n("newPricing.confirm")})]}),t.jsxs(as,{children:[t.jsx(is,{children:t.jsx(Gt,{type:"checkbox",checked:d,onChange:y=>h(y.target.checked),"data-testid":"new-pricing-opt-out"})}),n("newPricing.optOut")]})]})]})})}const Ae="shop:dismissed-prompts",ye="mana-pricing";function Pe(){try{const s=localStorage.getItem(Ae);if(!s)return{};const i=JSON.parse(s);return!i||typeof i!="object"||Array.isArray(i)?{}:i}catch{return{}}}function ls(s){try{localStorage.setItem(Ae,JSON.stringify(s))}catch{}}function Ee(s){return s?s.toLowerCase():null}function ds(s,i){const d=Ee(i);if(!d)return!1;const h=Pe()[d];return Array.isArray(h)&&h.includes(s)}function ms(s,i){const d=Ee(i);if(!d)return;const h=Pe(),b=Array.isArray(h[d])?h[d]:[];b.includes(s)||ls({...h,[d]:[...b,s]})}function ps({count:s,to:i="/import",className:d}){return t.jsxs(Bt,{className:d,"data-testid":"mana-pricing-banner",children:[t.jsxs(Mt,{children:[t.jsx(P,{name:"refresh",size:24}),t.jsxs(Lt,{children:[tt("manaPricingBanner.lead",{count:s,mana:h=>t.jsxs(t.Fragment,{children:[t.jsx(Dt,{src:Ht,alt:"","aria-hidden":!0})," ",h]})})," ",t.jsx(zt,{children:n("manaPricingBanner.accent")})," ",n("manaPricingBanner.trail")]})]}),t.jsx(Kt,{to:i,"data-testid":"mana-pricing-banner-cta",children:n("manaPricingBanner.cta")})]})}a.div`
|
|
161
|
-
display: flex;
|
|
162
|
-
flex-direction: column;
|
|
163
|
-
gap: 4px;
|
|
164
|
-
width: 100%;
|
|
165
|
-
`;a.h2`
|
|
166
|
-
margin: 0;
|
|
167
|
-
padding: 4px 4px 2px;
|
|
168
|
-
font-family: ${r.font.sans};
|
|
169
|
-
font-weight: 700;
|
|
170
|
-
font-size: 12px;
|
|
171
|
-
letter-spacing: 0.46px;
|
|
172
|
-
text-transform: uppercase;
|
|
173
|
-
color: ${r.colors.muted};
|
|
174
|
-
`;a("button",Ie("selected"))`
|
|
175
|
-
display: flex;
|
|
176
|
-
align-items: center;
|
|
177
|
-
gap: 10px;
|
|
178
|
-
width: 100%;
|
|
179
|
-
height: 40px;
|
|
180
|
-
padding: 4px 12px;
|
|
181
|
-
border: 0;
|
|
182
|
-
border-radius: 8px;
|
|
183
|
-
background: ${({selected:s})=>s?r.colors.media:"transparent"};
|
|
184
|
-
color: ${r.colors.text};
|
|
185
|
-
font-family: ${r.font.sans};
|
|
186
|
-
font-weight: ${({selected:s})=>s?600:400};
|
|
187
|
-
font-size: 14px;
|
|
188
|
-
text-align: left;
|
|
189
|
-
cursor: pointer;
|
|
190
|
-
|
|
191
|
-
@media (hover: hover) {
|
|
192
|
-
&:hover {
|
|
193
|
-
background: ${r.colors.media};
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
&:focus-visible {
|
|
197
|
-
outline: 2px solid ${r.colors.accent};
|
|
198
|
-
outline-offset: 2px;
|
|
199
|
-
}
|
|
200
|
-
`;a(P)`
|
|
201
|
-
width: 18px;
|
|
202
|
-
height: 18px;
|
|
203
|
-
flex: none;
|
|
204
|
-
color: ${r.colors.muted};
|
|
205
|
-
`;a.div`
|
|
206
|
-
display: flex;
|
|
207
|
-
flex-direction: column;
|
|
208
|
-
gap: 8px;
|
|
209
|
-
width: 100%;
|
|
210
|
-
`;a.span`
|
|
211
|
-
font-family: ${r.font.sans};
|
|
212
|
-
font-weight: 600;
|
|
213
|
-
font-size: 14px;
|
|
214
|
-
line-height: 1.43;
|
|
215
|
-
color: ${r.colors.text};
|
|
216
|
-
padding: 0 4px;
|
|
217
|
-
`;a.div`
|
|
218
|
-
display: flex;
|
|
219
|
-
flex-wrap: wrap;
|
|
220
|
-
gap: 8px;
|
|
221
|
-
padding: 4px;
|
|
222
|
-
`;a("button",Ie("selected"))`
|
|
223
|
-
display: inline-flex;
|
|
224
|
-
align-items: center;
|
|
225
|
-
gap: 4px;
|
|
226
|
-
padding: 4px 10px;
|
|
227
|
-
border-radius: 6px;
|
|
228
|
-
background: ${({selected:s})=>s?r.colors.text:r.colors.softWhite};
|
|
229
|
-
border: ${({selected:s})=>s?`1px solid ${r.colors.text}`:`0.5px solid ${r.colors.gray4}`};
|
|
230
|
-
color: ${({selected:s})=>s?r.colors.white:r.colors.gray0};
|
|
231
|
-
font-family: ${r.font.sans};
|
|
232
|
-
font-weight: ${({selected:s})=>s?600:400};
|
|
233
|
-
font-size: 12px;
|
|
234
|
-
cursor: pointer;
|
|
235
|
-
|
|
236
|
-
&:hover {
|
|
237
|
-
border-color: ${r.colors.text};
|
|
238
|
-
}
|
|
239
|
-
&:focus-visible {
|
|
240
|
-
outline: 2px solid ${r.colors.accent};
|
|
241
|
-
outline-offset: 2px;
|
|
242
|
-
}
|
|
243
|
-
`;const us=a.div`
|
|
244
|
-
display: flex;
|
|
245
|
-
align-items: center;
|
|
246
|
-
gap: 8px;
|
|
247
|
-
width: 100%;
|
|
248
|
-
height: 40px;
|
|
249
|
-
padding: 0 12px;
|
|
250
|
-
border: 1px solid rgba(252, 252, 252, 0.6);
|
|
251
|
-
border-radius: ${r.radius.card};
|
|
252
|
-
background: ${r.colors.glassFaint};
|
|
253
|
-
|
|
254
|
-
&:focus-within {
|
|
255
|
-
border-color: ${r.colors.softWhite};
|
|
256
|
-
}
|
|
257
|
-
`,fs=a(P)`
|
|
258
|
-
width: 18px;
|
|
259
|
-
height: 18px;
|
|
260
|
-
flex: none;
|
|
261
|
-
color: ${r.colors.softWhite};
|
|
262
|
-
`,hs=a.input`
|
|
263
|
-
flex: 1;
|
|
264
|
-
min-width: 0;
|
|
265
|
-
border: 0;
|
|
266
|
-
background: none;
|
|
267
|
-
padding: 0;
|
|
268
|
-
font-family: ${r.font.sans};
|
|
269
|
-
font-size: 14px;
|
|
270
|
-
color: ${r.colors.softWhite};
|
|
271
|
-
|
|
272
|
-
&::placeholder {
|
|
273
|
-
color: rgba(252, 252, 252, 0.7);
|
|
274
|
-
}
|
|
275
|
-
&:focus {
|
|
276
|
-
outline: 0;
|
|
277
|
-
}
|
|
278
|
-
`,xs=a.button`
|
|
279
|
-
display: grid;
|
|
280
|
-
place-items: center;
|
|
281
|
-
width: 24px;
|
|
282
|
-
height: 24px;
|
|
283
|
-
border: 0;
|
|
284
|
-
border-radius: 50%;
|
|
285
|
-
background: ${r.colors.glass};
|
|
286
|
-
color: ${r.colors.softWhite};
|
|
287
|
-
cursor: pointer;
|
|
288
|
-
flex: none;
|
|
289
|
-
|
|
290
|
-
&:hover {
|
|
291
|
-
background: ${r.colors.glassHover};
|
|
292
|
-
}
|
|
293
|
-
&:focus-visible {
|
|
294
|
-
outline: 2px solid ${r.colors.softWhite};
|
|
295
|
-
outline-offset: 2px;
|
|
296
|
-
}
|
|
297
|
-
`,gs=a(P)`
|
|
298
|
-
width: 12px;
|
|
299
|
-
height: 12px;
|
|
300
|
-
`,be=a.div`
|
|
301
|
-
display: grid;
|
|
302
|
-
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
|
|
303
|
-
gap: 20px;
|
|
304
|
-
|
|
305
|
-
${r.media.maxWidth("sm")} {
|
|
306
|
-
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
307
|
-
gap: 12px;
|
|
308
|
-
}
|
|
309
|
-
`,ys=a.section`
|
|
310
|
-
max-width: 520px;
|
|
311
|
-
margin: 48px auto;
|
|
312
|
-
text-align: center;
|
|
313
|
-
display: flex;
|
|
314
|
-
flex-direction: column;
|
|
315
|
-
gap: 16px;
|
|
316
|
-
align-items: center;
|
|
317
|
-
`,bs=a.h1`
|
|
318
|
-
margin: 0;
|
|
319
|
-
font-family: ${r.font.sans};
|
|
320
|
-
font-weight: 700;
|
|
321
|
-
font-size: 24px;
|
|
322
|
-
color: ${r.colors.softWhite};
|
|
323
|
-
`,ws=a.p`
|
|
324
|
-
margin: 0;
|
|
325
|
-
font-family: ${r.font.sans};
|
|
326
|
-
font-size: 15px;
|
|
327
|
-
color: ${r.colors.gray4};
|
|
328
|
-
`,js=a(ps)`
|
|
329
|
-
margin-bottom: 16px;
|
|
330
|
-
`,Ss=48,we=[{key:"wearables",labelKey:"myAssets.sectionWearables",category:"wearable"},{key:"emotes",labelKey:"myAssets.sectionEmotes",category:"emote"},{key:"names",labelKey:"myAssets.sectionNames",category:"ens"},{key:"creations",labelKey:"myAssets.sectionCreations"}],ee=[{key:"newest",label:"filterBar.sortNewest",server:"newest"},{key:"name",label:"filterBar.sortName",server:"name"},{key:"cheapest",label:"filterBar.sortCheapest",server:"cheapest"}];function je(s){return s==="wearables"||s==="emotes"}const Se={wearables:"wearable",emotes:"emote",names:"names",creations:""},$s={wearable:"wearables",emote:"emotes",names:"names"};function ks(s){return`${ke.builderUrl}/names/${encodeURIComponent(s)}`}function $e(s,i){return{id:s.id,name:s.name,creator:"",contractAddress:s.contractAddress,itemId:s.itemId,category:s.category,rarity:s.rarity??"common",network:s.network,chainId:s.chainId,thumbnail:s.image,priceCredits:(i==null?void 0:i.priceCredits)??s.listingPrice??0,gender:null,isSmart:!1,tokenId:s.tokenId,issuedId:s.issuedId,tradeId:(i==null?void 0:i.tradeId)??s.tradeId}}function Is(s,i,d){return{id:`${s.contractAddress}-${s.blockchainItemId}`,name:s.name,creator:d,contractAddress:s.contractAddress,itemId:s.blockchainItemId,category:s.category,rarity:s.rarity,network:"MATIC",chainId:ke.chainId,thumbnail:s.thumbnail,priceCredits:i,gender:null,isSmart:!1}}function Us(){var de,me;st({title:n("nav.myAssets"),noindex:!0});const{session:s,error:i,signIn:d,restore:h}=nt(),b=Xe(),[E,y]=et(),I=E.get("section"),l=we.some(e=>e.key===I)?I:"wearables",[u,z]=m.useState("all"),[w,K]=m.useState([]),[x,R]=m.useState(null);dt(`${l}:${x??""}`);const[v,Re]=m.useState("newest"),[O,se]=m.useState(""),[j,Oe]=m.useState(""),[T,S]=m.useState(!1),[Te,Fe]=m.useState(!0),[_e,Ne]=m.useState(!1),[D,ne]=m.useState("idle");m.useEffect(()=>{h()},[h]),m.useEffect(()=>{const e=setTimeout(()=>Oe(O.trim()),300);return()=>clearTimeout(e)},[O]),m.useEffect(()=>{if(!T)return;const e=c=>{c.key==="Escape"&&S(!1)};document.addEventListener("keydown",e);const o=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=o}},[T]);const g=s==null?void 0:s.address,Be=we.find(e=>e.key===l),F=je(l),oe=(ee.find(e=>e.key===v)??ee[0]).server,Me=u==="on_sale"?n("filter.onSale"):u==="not_for_sale"?n("filter.notForSale"):"",Le=X.filter(e=>w.includes(e)).map(pe).join(", ");function re(e){y(o=>{const c=new URLSearchParams(o);return c.set("section",e),c},{replace:!0}),R(null),je(e)||K([]),S(!1)}function ae(e){K(o=>o.includes(e)?o.filter(c=>c!==e):[...o,e])}function ze(e){const o=$s[e];o&&re(o)}const{items:C,total:Ke,isLoading:G,isPlaceholderData:W,error:De,hasNextPage:Ge,isFetchingNextPage:ie,isFetchNextPageError:We,fetchNextPage:qe}=Tt(["my-assets",g,l,u,w,x,j,oe],e=>rt(g,{category:Be.category,first:Ss,skip:e,search:j||void 0,rarities:F&&w.length?w:void 0,wearableCategories:l==="wearables"&&x?xe[x]:void 0,emoteCategories:l==="emotes"&&x?xe[x]:void 0,onlyOnSale:u==="on_sale"||void 0,sortBy:oe}).then(o=>({items:o.assets,total:o.total})),{enabled:!!g&&l!=="creations"}),q=m.useMemo(()=>l==="wearables"||l==="emotes"?[...new Set(C.map(e=>e.contractAddress))]:[],[C,l]),{data:_}=Q({queryKey:["secondary-sale-state",q],enabled:q.length>0,queryFn:async()=>{const e=await Promise.all(q.map(async c=>[c,await at(c)])),o={};for(const[c,f]of e)for(const[$,k]of Object.entries(f))o[`${c}-${$}`]=k;return o}}),ce=e=>_==null?void 0:_[`${e.contractAddress}-${e.tokenId}`],He=e=>!!ce(e)||e.isOnSale,H=m.useMemo(()=>u==="not_for_sale"?C.filter(e=>!He(e)):C,[C,u,_]),{data:N,isLoading:U,isError:Ue}=Q({queryKey:["publishable-items",g],queryFn:()=>ct(g,s.identity),enabled:!!s&&l==="creations",retry:!1}),Y=m.useMemo(()=>[...new Set((N??[]).map(e=>e.contractAddress))],[N]),{data:B}=Q({queryKey:["collection-sale-state",g,Y],enabled:Y.length>0,queryFn:async()=>{const e=await Promise.all(Y.map(async c=>[c,await it(c)])),o={};for(const[c,f]of e)for(const[$,k]of Object.entries(f))o[`${c}-${$}`]=k;return o}}),A=e=>B==null?void 0:B[`${e.contractAddress}-${e.blockchainItemId}`],J=m.useMemo(()=>{let e=N??[];if(u==="on_sale"?e=e.filter(c=>{var f;return(f=A(c))==null?void 0:f.isOnSale}):u==="not_for_sale"&&(e=e.filter(c=>{var f;return!((f=A(c))!=null&&f.isOnSale)})),j){const c=j.toLowerCase();e=e.filter(f=>f.name.toLowerCase().includes(c))}const o=[...e];return v==="name"?o.sort((c,f)=>c.name.localeCompare(f.name)):v==="cheapest"&&o.sort((c,f)=>{var $,k;return((($=A(c))==null?void 0:$.priceCredits)??0)-(((k=A(f))==null?void 0:k.priceCredits)??0)}),o},[N,B,u,j,v]),{count:Ye}=Ft(),M=Ye??0;m.useEffect(()=>{D!=="idle"||M===0||ds(ye,g)||ne("open")},[D,M,g]);function le(e){e&&ms(ye,g),ne("closed")}if(!s)return t.jsxs(ys,{children:[t.jsx(bs,{children:n("nav.myAssets")}),t.jsx(ws,{children:n("myAssets.signInPrompt")}),t.jsx(ot,{variant:"white",onClick:()=>d(),children:n("storeSettings.signIn")}),t.jsx(ge,{message:i})]});const Je=l==="creations"?U:G||W,Qe=l==="creations"?J.length:u==="not_for_sale"?H.length:Ke,L=[];if(u!=="all"&&L.push({key:"status",label:u==="on_sale"?n("filter.onSale"):n("filter.notForSale"),onRemove:()=>z("all")}),F)for(const e of X)w.includes(e)&&L.push({key:`rarity-${e}`,label:pe(e),onRemove:()=>ae(e)});if(F&&x){const e=(me=(de=mt.find(o=>o.key===Se[l]))==null?void 0:de.subs)==null?void 0:me.find(o=>o.key===x);L.push({key:"sub",label:e?n(e.labelKey):x,onRemove:()=>R(null)})}function Ze(){z("all"),K([]),R(null)}const Ve=t.jsxs(pt,{children:[t.jsx(ut,{title:n("myAssets.assetsHeading"),category:Se[l],subCategory:x,onCategory:ze,onSub:R,onCollections:()=>re("creations"),collections:l==="creations",extraLabelKey:"myAssets.sectionCreations",hideAll:!0}),F?t.jsxs(t.Fragment,{children:[t.jsx(fe,{}),t.jsx(he,{title:n("assets.rarity"),open:_e,onToggle:()=>Ne(e=>!e),summary:Le,headerTestId:"sidebar-section-toggle",children:t.jsx(ft,{"data-testid":"rarity-filter",children:X.map(e=>{const o=w.includes(e);return t.jsxs(ht,{type:"button",selected:o,"aria-pressed":o,onClick:()=>ae(e),"data-testid":"rarity-filter-check",children:[t.jsx(xt,{color:r.rarities[e],children:o?t.jsx(gt,{name:"check","aria-hidden":!0}):null}),t.jsx(yt,{selected:o,children:e})]},e)})})})]}):null,t.jsx(fe,{}),t.jsx(he,{title:n("filter.status"),open:Te,onToggle:()=>Fe(e=>!e),summary:Me,children:[["all",n("filter.statusAll")],["on_sale",n("filter.onSale")],["not_for_sale",n("filter.notForSale")]].map(([e,o])=>t.jsxs(bt,{children:[t.jsx(wt,{type:"radio",name:"myassets-status",checked:u===e,onChange:()=>z(e)}),t.jsx(jt,{children:o})]},e))})]});return t.jsxs(St,{"data-testid":"my-assets",children:[T?t.jsx($t,{onClick:()=>S(!1),"aria-hidden":!0}):null,t.jsxs(kt,{"data-open":T||void 0,"data-testid":"my-assets-sidebar",children:[t.jsxs(It,{children:[t.jsx(vt,{children:n("assets.filters")}),t.jsx(Ct,{onClick:()=>S(!1),"aria-label":n("assets.closeFilters"),children:"✕"})]}),t.jsx(At,{children:Ve}),t.jsx(Pt,{children:t.jsx(Et,{type:"button",onClick:()=>S(!1),children:n("assets.showItems")})})]}),t.jsxs(Rt,{children:[M>0?t.jsx(js,{count:M}):null,t.jsx(Ot,{sort:v,onSort:Re,sortOptions:ee,total:Qe,loading:Je,query:j,onOpenFilters:()=>S(!0),chips:L,onClearChips:Ze,search:t.jsxs(us,{children:[t.jsx(fs,{name:"search","aria-hidden":!0}),t.jsx(hs,{type:"search",value:O,placeholder:n("myAssets.searchPlaceholder"),"aria-label":n("myAssets.searchPlaceholder"),onChange:e=>se(e.target.value)}),O?t.jsx(xs,{type:"button","aria-label":n("myAssets.clearSearch"),onClick:()=>se(""),children:t.jsx(gs,{name:"close","aria-hidden":!0})}):null]})}),(l==="creations"?Ue:De)?t.jsx(ge,{message:n("myAssets.ownedError"),testId:"my-assets-error"}):null,l==="creations"?t.jsxs(t.Fragment,{children:[t.jsx(be,{"data-testid":"grid",children:U?t.jsx(Z,{count:12}):J.map(e=>{const o=A(e);return t.jsx(V,{item:Is(e,(o==null?void 0:o.priceCredits)??0,g??""),mode:"manage-link"},`${e.contractAddress}-${e.blockchainItemId}`)})}),!U&&J.length===0?t.jsx(ue,{testId:"creations-empty",icon:Wt,title:n("myAssets.emptyCreationsTitle"),body:n("myAssets.nothingToPublish")}):null]}):t.jsxs(t.Fragment,{children:[t.jsxs(be,{"data-testid":"grid",children:[G||W?t.jsx(Z,{count:12}):H.map(e=>l==="names"?t.jsx(V,{item:{...$e(e),category:"ens"},mode:"manage-link",manageHref:ks(e.name)},e.id):t.jsx(V,{item:$e(e,ce(e)),mode:"manage-link"},e.id)),ie?t.jsx(Z,{count:6}):null]}),u!=="not_for_sale"?t.jsx(lt,{hasNextPage:Ge,isFetching:ie,isError:We,onLoadMore:()=>void qe()}):null,!G&&!W&&H.length===0?t.jsx(ue,{testId:"owned-empty",icon:u==="on_sale"?_t:qt,title:l==="names"?n("myAssets.emptyNamesTitle"):n("myAssets.emptyOwnedTitle"),body:l==="names"?n("myAssets.namesEmpty"):n("myAssets.ownedEmpty"),cta:l!=="names"?{label:n("myAssets.emptyBrowse"),to:"/items"}:void 0}):null]})]}),D==="open"?t.jsx(cs,{onClose:le,onConfirm:e=>{le(e),b("/import")}}):null]})}export{Us as MyAssets};
|
|
331
|
-
//# sourceMappingURL=MyAssets-D6NgR7O6.js.map
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import{s as t,t as s}from"./index-CrQWXA9i.js";import{c as r}from"./crumbs.styles-BYQZMhEM.js";import"./react-BwJcPB8_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2c300664-e525-49c5-8c55-eb9cf9477c71",e._sentryDebugIdIdentifier="sentry-dbid-2c300664-e525-49c5-8c55-eb9cf9477c71")}catch{}})();const l="https://cdn.decentraland.org/@dcl/shop/1.12.2-34604717475.commit-39862bc/_assets/default-cover-7vUE644d.jpeg",{colors:o}=s,f=t.div`
|
|
2
|
-
max-width: 1721px;
|
|
3
|
-
margin: 0 auto;
|
|
4
|
-
`,p=t.nav`
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: 8px;
|
|
8
|
-
font-size: 13px;
|
|
9
|
-
color: ${o.gray4};
|
|
10
|
-
margin-bottom: 18px;
|
|
11
|
-
${r};
|
|
12
|
-
`,g=t.button`
|
|
13
|
-
background: none;
|
|
14
|
-
border: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
color: ${o.gray4};
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
|
|
19
|
-
&:hover {
|
|
20
|
-
color: ${o.white};
|
|
21
|
-
}
|
|
22
|
-
`,m=t.span`
|
|
23
|
-
color: ${o.softWhite};
|
|
24
|
-
font-weight: 600;
|
|
25
|
-
`,b=t.div`
|
|
26
|
-
flex: none;
|
|
27
|
-
width: 265px;
|
|
28
|
-
|
|
29
|
-
${s.media.maxWidth("lg")} {
|
|
30
|
-
width: 100%;
|
|
31
|
-
}
|
|
32
|
-
`,u=t.div`
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
min-height: 44px;
|
|
36
|
-
margin-bottom: 16px;
|
|
37
|
-
`,h=t.span`
|
|
38
|
-
color: ${o.softWhite};
|
|
39
|
-
font-weight: 600;
|
|
40
|
-
`;export{p as C,f as P,b as S,g as a,m as b,u as c,l as d,h as e};
|
|
41
|
-
//# sourceMappingURL=collectionPage.styles-PbnBQ8r2.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{ce as _,u as k,cf as g,cg as I,bZ as S,b_ as c,ch as j,ci as F,cj as R,ck as V,k as z,T as M,cl as L}from"./index-CrQWXA9i.js";import{cm as Se,cn as Me,co as Oe,j as Ee,cp as $e,cq as Pe,cr as Te,cs as _e,ct as ke,n as Ie,cu as je,cv as Fe,cw as Re,cx as Ve,cy as ze}from"./index-CrQWXA9i.js";import{u as Ae}from"./useTheme-CDRA6SUS.js";import{s as De,s as He}from"./styled-8uH5Xw1j.js";import{j as A}from"./react-BwJcPB8_.js";import"./dcl-schemas-oTvPwdnN.js";import"./sentry-CfBx2T7h.js";import"./ethers-C300LaOz.js";import"./intl-AKLEHPeO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4a8564e8-2fb1-4867-8ff2-4261a4aaa623",e._sentryDebugIdIdentifier="sentry-dbid-4a8564e8-2fb1-4867-8ff2-4261a4aaa623")}catch{}})();function C(e){const{theme:t,name:n,props:s}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?s:_(t.components[n].defaultProps,s)}function D({props:e,name:t,defaultTheme:n,themeId:s}){let r=k(n);return r=r[s]||r,C({theme:r,name:t,props:e})}function E(e,t=0,n=1){return I(e,t,n)}function H(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(s=>s+s)),n?`rgb${n.length===4?"a":""}(${n.map((s,r)=>r<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function B(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function h(e){if(e.type)return e;if(e.charAt(0)==="#")return h(H(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(g(9,e));let s=e.substring(t+1,e.length-1),r;if(n==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r)===-1)throw new Error(g(10,r))}else s=s.split(",");return s=s.map(o=>parseFloat(o)),{type:n,values:s,colorSpace:r}}function w(e){const{type:t,colorSpace:n}=e;let{values:s}=e;return t.indexOf("rgb")!==-1?s=s.map((r,o)=>o<3?parseInt(r,10):r):t.indexOf("hsl")!==-1&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),t.indexOf("color")!==-1?s=`${n} ${s.join(" ")}`:s=`${s.join(", ")}`,`${t}(${s})`}function ie(e){if(e.indexOf("#")===0)return e;const{values:t}=h(e);return`#${t.map((n,s)=>B(s===3?Math.round(255*n):n)).join("")}`}function U(e){e=h(e);const{values:t}=e,n=t[0],s=t[1]/100,r=t[2]/100,o=s*Math.min(r,1-r),u=(m,l=(m+n/30)%12)=>r-o*Math.max(Math.min(l-3,9-l,1),-1);let f="rgb";const i=[Math.round(u(0)*255),Math.round(u(8)*255),Math.round(u(4)*255)];return e.type==="hsla"&&(f+="a",i.push(t[3])),w({type:f,values:i})}function O(e){e=h(e);let t=e.type==="hsl"||e.type==="hsla"?h(U(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function oe(e,t){const n=O(e),s=O(t);return(Math.max(n,s)+.05)/(Math.min(n,s)+.05)}function ue(e,t){return e=h(e),t=E(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,w(e)}function G(e,t){if(e=h(e),t=E(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return w(e)}function W(e,t){if(e=h(e),t=E(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return w(e)}function pe(e,t=.15){return O(e)>.5?G(e,t):W(e,t)}const q=["defaultProps","mixins","overrides","palette","props","styleOverrides"],N=["type","mode"];function le(e){const{defaultProps:t={},mixins:n={},overrides:s={},palette:r={},props:o={},styleOverrides:u={}}=e,f=S(e,q),i=c({},f,{components:{}});Object.keys(t).forEach(a=>{const p=i.components[a]||{};p.defaultProps=t[a],i.components[a]=p}),Object.keys(o).forEach(a=>{const p=i.components[a]||{};p.defaultProps=o[a],i.components[a]=p}),Object.keys(u).forEach(a=>{const p=i.components[a]||{};p.styleOverrides=u[a],i.components[a]=p}),Object.keys(s).forEach(a=>{const p=i.components[a]||{};p.styleOverrides=s[a],i.components[a]=p}),i.spacing=j(e.spacing);const m=F(e.breakpoints||{}),l=i.spacing;i.mixins=c({gutters:(a={})=>c({paddingLeft:l(2),paddingRight:l(2)},a,{[m.up("sm")]:c({paddingLeft:l(3),paddingRight:l(3)},a[m.up("sm")])})},n);const{type:y,mode:x}=r,v=S(r,N),b=x||y||"light";return i.palette=c({text:{hint:b==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:b,type:b},v),i}function fe(e,...t){return R(V({unstable_strictMode:!0},e),...t)}let $=!1;function me(e){return $||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
|
|
2
|
-
`)),$=!0),e}function P(e){return String(parseFloat(e)).length===String(e).length}function Z(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function d(e){return parseFloat(e)}function J(e){return(t,n)=>{const s=Z(t);if(s===n)return t;let r=d(t);s!=="px"&&(s==="em"||s==="rem")&&(r=d(t)*d(e));let o=r;if(n!=="px")if(n==="em")o=r/d(e);else if(n==="rem")o=r/d(e);else return t;return parseFloat(o.toFixed(5))+n}}function K({size:e,grid:t}){const n=e-e%t,s=n+t;return e-n<s-e?n:s}function Q({lineHeight:e,pixels:t,htmlFontSize:n}){return t/(e*n)}function X({cssProperty:e,min:t,max:n,unit:s="rem",breakpoints:r=[600,900,1200],transform:o=null}){const u={[e]:`${t}${s}`},f=(n-t)/r[r.length-1];return r.forEach(i=>{let m=t+f*i;o!==null&&(m=o(m)),u[`@media (min-width:${i}px)`]={[e]:`${Math.round(m*1e4)/1e4}${s}`}}),u}function ce(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:s=!1,factor:r=2,variants:o=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,u=c({},e);u.typography=c({},u.typography);const f=u.typography,i=J(f.htmlFontSize),m=n.map(l=>u.breakpoints.values[l]);return o.forEach(l=>{const y=f[l];if(!y)return;const x=parseFloat(i(y.fontSize,"rem"));if(x<=1)return;const v=x,b=1+(v-1)/r;let{lineHeight:a}=y;if(!P(a)&&!s)throw new Error(g(6));P(a)||(a=parseFloat(i(a,"rem"))/parseFloat(x));let p=null;s||(p=T=>K({size:T,grid:Q({pixels:4,lineHeight:a,htmlFontSize:f.htmlFontSize})})),f[l]=c({},y,X({cssProperty:"fontSize",min:b,max:v,unit:"rem",breakpoints:m,transform:p}))}),u}function he({props:e,name:t}){return D({props:e,name:t,defaultTheme:z,themeId:M})}const Y=["theme"];function de(e){let{theme:t}=e,n=S(e,Y);const s=t[M];return A.jsx(L,c({},n,{themeId:s?M:void 0,theme:s||t}))}function ge(){throw new Error(g(14))}function ye(){throw new Error(g(15))}function xe(){throw new Error(g(16))}function be(){throw new Error(g(20))}export{Se as Experimental_CssVarsProvider,Me as StyledEngineProvider,M as THEME_ID,de as ThemeProvider,le as adaptV4Theme,ue as alpha,Oe as createMuiTheme,me as createStyles,R as createTheme,Ee as css,G as darken,h as decomposeColor,$e as duration,Pe as easing,pe as emphasize,De as experimentalStyled,Te as experimental_extendTheme,be as experimental_sx,oe as getContrastRatio,_e as getInitColorSchemeScript,O as getLuminance,ke as getOverlayAlpha,H as hexToRgb,U as hslToRgb,Ie as keyframes,W as lighten,ge as makeStyles,je as private_createMixins,Fe as private_createTypography,Re as private_excludeVariablesFromRoot,w as recomposeColor,ce as responsiveFontSizes,ie as rgbToHex,Ve as shouldSkipGeneratingVar,He as styled,fe as unstable_createMuiStrictModeTheme,Z as unstable_getUnit,d as unstable_toUnitless,ze as useColorScheme,Ae as useTheme,he as useThemeProps,ye as withStyles,xe as withTheme};
|
|
3
|
-
//# sourceMappingURL=index-IuwBScza.js.map
|