@dcl/shop 1.15.1-35758984456.commit-e35d44f → 1.16.1-36006716283.commit-23b90f8
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-bKECsdYw.js → Activity-gJhjE0zO.js} +11 -11
- package/_assets/{AnimatedBackground-DxV5mqF_.js → AnimatedBackground-Dw6CP921.js} +6 -6
- package/_assets/{Assets-DbsPVOVg.js → Assets-0MCPFN5A.js} +3 -3
- package/_assets/{Cart-DO4LIC11.js → Cart-CnnwL0O9.js} +2 -2
- package/_assets/{Collection-DYqdwnMp.js → Collection-DhpUgB49.js} +7 -7
- package/_assets/{CollectionCarousel-ySH8e59r.js → CollectionCarousel-Bfd_a-Hy.js} +3 -3
- package/_assets/{Confetti-HEIQLhzP.js → Confetti-LoSaZCWT.js} +4 -4
- package/_assets/{ConstantsUtil-BgXRXYGw.js → ConstantsUtil-BOe5LeF9.js} +2 -2
- package/_assets/{ContentClient-9KfSWsTj.js → ContentClient-Dnrpri5d.js} +2 -2
- package/_assets/Creator-B462Sw63.js +312 -0
- package/_assets/{CreditPackPicker-COxZsW_g.js → CreditPackPicker-DY3bnQZL.js} +2 -2
- package/_assets/CreditRate-Cstmz7Zh.js +35 -0
- package/_assets/{DeploymentBuilder--7EWiL5t.js → DeploymentBuilder-CdaXbs6s.js} +3 -3
- package/_assets/{EmotePlaybackBar-CvNNr5Oh.js → EmotePlaybackBar-DjSBRztl.js} +3 -3
- package/_assets/{ErrorNotice-QFoLzcXZ.js → ErrorNotice-PsNuXhOs.js} +2 -2
- package/_assets/{Event-C21gULzn.js → Event-DRhkBqKd.js} +5 -5
- package/_assets/{ExchangeController-dZXZndcr.js → ExchangeController-4u1gt1F9.js} +2 -2
- package/_assets/{Faq-C8NlTkMm.js → Faq-JFfC32xg.js} +2 -2
- package/_assets/{Filters-BfKlKsFH.js → Filters-JaGrm3Ws.js} +2 -2
- package/_assets/{GetCredits-C9eifvig.js → GetCredits-BiGRj6jG.js} +5 -5
- package/_assets/{Grow-BtwC3ton.js → Grow-CaK7k8kO.js} +2 -2
- package/_assets/{HelpersUtil-h8eAZyJ2.js → HelpersUtil-CMELIUY8.js} +4 -4
- package/_assets/{ItemDetail-C2elfZqB.js → ItemDetail-Bgs5mBbE.js} +32 -32
- package/_assets/{LoadMore-wrn8CZ0P.js → LoadMore-DpKk2QwA.js} +2 -2
- package/_assets/ManaPricingBanner-Obs541p-.js +684 -0
- package/_assets/ManaPricingBanner.styles-CR9FJ8gF.js +96 -0
- package/_assets/MyAssets-DfdL71hu.js +497 -0
- package/_assets/{MyFavorites-BvCzcgXV.js → MyFavorites-CV-3ChJC.js} +4 -4
- package/_assets/MyStore-Cpl5KPnh.js +1639 -0
- package/_assets/{NetworkUtil-B82sps2w.js → NetworkUtil-1WZAF-DF.js} +2 -2
- package/_assets/{NotFound-B38vd0-2.js → NotFound-DfGIV8Mb.js} +2 -2
- package/_assets/{NotificationsBell-BAFhPYD4.js → NotificationsBell-D3Lxuj1k.js} +2 -2
- package/_assets/{OutfitDetail-CmC7Fz7V.js → OutfitDetail-BQbEbVAk.js} +2 -2
- package/_assets/OutfitPreview-C8bqees3.js +7 -0
- package/_assets/{OutfitStudio-BQC32jpc.js → OutfitStudio-4zHnOaPl.js} +11 -11
- package/_assets/{PaymentMethodStep-D2ZZeBhr.js → PaymentMethodStep-BM1boTqM.js} +2 -2
- package/_assets/{PhArrowCircleDown-oZRgIV6I.js → PhArrowCircleDown-BgP2jbf5.js} +3 -3
- package/_assets/{PhArrowClockwise-D6H6uB8s.js → PhArrowClockwise-CuNU0iSl.js} +2 -2
- package/_assets/{PhArrowDown-CRBvhObC.js → PhArrowDown-BrLks3Uz.js} +4 -4
- package/_assets/{PhArrowLeft-iC7ALVz_.js → PhArrowLeft-BbZGSN_s.js} +5 -5
- package/_assets/{PhArrowRight-BMhSphsR.js → PhArrowRight-DqLi6_uj.js} +4 -4
- package/_assets/{PhArrowSquareOut-BGOFtcYV.js → PhArrowSquareOut-CX0ZRgNC.js} +4 -4
- package/_assets/{PhArrowUp-DaOakyLF.js → PhArrowUp-D9ugstgK.js} +3 -3
- package/_assets/{PhArrowUpRight-Dv-X4w2R.js → PhArrowUpRight-Bpfn12eW.js} +4 -4
- package/_assets/{PhArrowsClockwise-DnI7mFlV.js → PhArrowsClockwise-CRZyQVpN.js} +4 -4
- package/_assets/{PhArrowsDownUp-BT1rp80C.js → PhArrowsDownUp-CV1NqVLb.js} +4 -4
- package/_assets/{PhArrowsLeftRight-3JEyJt0N.js → PhArrowsLeftRight-DvGI6Nto.js} +5 -5
- package/_assets/{PhBank-DlTySila.js → PhBank-BRxdKSKq.js} +5 -5
- package/_assets/{PhBrowser-CxUZLRbi.js → PhBrowser-C_wNKcTe.js} +5 -5
- package/_assets/PhCaretDown-DBNFm85V.js +15 -0
- package/_assets/{PhCaretLeft-ScH02zvv.js → PhCaretLeft-Cad__LUx.js} +3 -3
- package/_assets/{PhCaretRight-CG-ZCjvT.js → PhCaretRight-CuRYBcM2.js} +3 -3
- package/_assets/PhCaretUp-DE2FiuTS.js +15 -0
- package/_assets/{PhCheck-DETGkRRi.js → PhCheck-y4MOxgof.js} +5 -5
- package/_assets/{PhCircleHalf-BN36Nweh.js → PhCircleHalf-xlPKmtS7.js} +4 -4
- package/_assets/{PhClock-DPd3K2DL.js → PhClock-BBNMhMKw.js} +4 -4
- package/_assets/{PhCompass-F0g-SfuH.js → PhCompass-DpAl_LfZ.js} +5 -5
- package/_assets/{PhCopy-CzpD7rrG.js → PhCopy-D4HwCqa2.js} +5 -5
- package/_assets/{PhCreditCard-NnI7YcNP.js → PhCreditCard-CD12JEEL.js} +3 -3
- package/_assets/{PhCurrencyDollar-Bst29vzW.js → PhCurrencyDollar-DPFX6nyR.js} +2 -2
- package/_assets/{PhDesktop-CFSSNEkS.js → PhDesktop-CNhh70Hf.js} +3 -3
- package/_assets/{PhDeviceMobile-Dd2ijltg.js → PhDeviceMobile-DQgHhtB0.js} +5 -5
- package/_assets/{PhDotsThree-CI5y9TIg.js → PhDotsThree-B1gOaArE.js} +4 -4
- package/_assets/{PhEnvelope-DrQ5vbHf.js → PhEnvelope-CGnM9AiA.js} +4 -4
- package/_assets/{PhFunnelSimple-CI4FOzkp.js → PhFunnelSimple-D8YZwX53.js} +4 -4
- package/_assets/{PhGlobe-DR2SpSWA.js → PhGlobe-CXtg_GcB.js} +4 -4
- package/_assets/{PhIdentificationCard-5YfSRHO7.js → PhIdentificationCard-oMtubY4C.js} +3 -3
- package/_assets/{PhImage-D7dVXxCI.js → PhImage-DKp6-EHn.js} +2 -2
- package/_assets/{PhInfo-DNTh1xhU.js → PhInfo-CPd-HNhu.js} +5 -5
- package/_assets/{PhLightbulb-BfCndXXI.js → PhLightbulb-C47afrxR.js} +5 -5
- package/_assets/{PhMagnifyingGlass-DB41rFTM.js → PhMagnifyingGlass-DBaqb5ff.js} +2 -2
- package/_assets/{PhPaperPlaneRight-D6oxeO8G.js → PhPaperPlaneRight-FQGhQUrW.js} +4 -4
- package/_assets/{PhPlus-B90Q_jSC.js → PhPlus-B_CxFvZS.js} +4 -4
- package/_assets/{PhPower-B3OeVFPP.js → PhPower-DRTSLLeY.js} +4 -4
- package/_assets/{PhPuzzlePiece-DMvneE8o.js → PhPuzzlePiece-zlHiPdqx.js} +4 -4
- package/_assets/{PhQrCode-B1ogONq9.js → PhQrCode-riEgpq80.js} +4 -4
- package/_assets/{PhQuestion-BGPtjzO3.js → PhQuestion-DHYK7o0G.js} +3 -3
- package/_assets/{PhQuestionMark-Bx5KlE6e.js → PhQuestionMark-ZgOsaVvK.js} +4 -4
- package/_assets/{PhSealCheck-kDiKrn8v.js → PhSealCheck-B5VE_9Jt.js} +3 -3
- package/_assets/{PhSignOut-C40w8abk.js → PhSignOut-DKQOfDHS.js} +4 -4
- package/_assets/{PhSpinner-BnCR7oBU.js → PhSpinner-B3k7aAJt.js} +4 -4
- package/_assets/{PhTrash-Dx6EnoNj.js → PhTrash-CD2fhMLB.js} +3 -3
- package/_assets/{PhUser-BMrVwUFx.js → PhUser-BeKUoVY6.js} +2 -2
- package/_assets/{PhVault-CJhJgRMl.js → PhVault-DC9QjU0-.js} +5 -5
- package/_assets/{PhWallet-DUAwnObx.js → PhWallet-djswo-CG.js} +3 -3
- package/_assets/{PhWarning-DQNslokT.js → PhWarning-B4g8NvcF.js} +4 -4
- package/_assets/{PhWarningCircle-p1EFi5p4.js → PhWarningCircle-xLZ7sbu0.js} +5 -5
- package/_assets/{PhX-cY2Ff_Gl.js → PhX-BVzMqBjL.js} +5 -5
- package/_assets/{SaleCountdown-75C7xcxV.js → SaleCountdown-JYFZpbfY.js} +3 -3
- package/_assets/{Spinner-6yZpkHLg.js → Spinner-CKxIyt0J.js} +2 -2
- package/_assets/StoreSettings-qdP6lST-.js +197 -0
- package/_assets/{Success-DAcLzy2D.js → Success-BrT5BrXK.js} +5 -5
- package/_assets/{SwapController-DsDt8xqV.js → SwapController-CZm2YDNW.js} +2 -2
- package/_assets/{Tooltip-CXZh9bO7.js → Tooltip-BlpuIXVh.js} +2 -2
- package/_assets/{TradeService-D3CWOt2G.js → TradeService-BFimKbMa.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-B_WgnQJA.js → W3MFrameProviderSingleton-B9jhafK8.js} +4 -4
- package/_assets/{WebCryptoP256-CO4P30_Q.js → WebCryptoP256-DyBOhws5.js} +2 -2
- package/_assets/{add-WhTS4Lmx.js → add-C46RTTNX.js} +3 -3
- package/_assets/{all-wallets-BjG4VftA.js → all-wallets-byTNDEq1.js} +2 -2
- package/_assets/{app-store-BU7T42Cx.js → app-store-CaKIhI-8.js} +2 -2
- package/_assets/{apple-CawmhmSa.js → apple-DAMB_3Lk.js} +3 -3
- package/_assets/{arrow-bottom-CnNmrvB7.js → arrow-bottom-Cx66u8_t.js} +2 -2
- package/_assets/{arrow-bottom-circle-4Fk8ZSin.js → arrow-bottom-circle-Bv2eZVEF.js} +2 -2
- package/_assets/{arrow-left-CfMYQlcz.js → arrow-left-D0I0JXz4.js} +3 -3
- package/_assets/arrow-right-BHc70exa.js +9 -0
- package/_assets/{arrow-top-B19eH9mc.js → arrow-top-uM_hNW8Z.js} +3 -3
- package/_assets/{async-directive-BTrBVINo.js → async-directive-CeCQAQEH.js} +4 -4
- package/_assets/{bank-CvCwnNxT.js → bank-CQUOEuRq.js} +2 -2
- package/_assets/{basic-DqTETUY2.js → basic-DqGjVuaR.js} +2 -2
- package/_assets/{biconomy-BRd-F-Rd.js → biconomy-DHLXlfRj.js} +2 -2
- package/_assets/{browseLayout.styles-DH4Un0Jq.js → browseLayout.styles-DIGiWV7F.js} +2 -2
- package/_assets/{browser-D_6XKzYg.js → browser-Bh67F6hL.js} +3 -3
- package/_assets/{browser-D85mhr-s.js → browser-DdsJcRjd.js} +2 -2
- package/_assets/{browser-D_g_kata.js → browser-K77EfAPY.js} +2 -2
- package/_assets/{browser-ponyfill-BcP6O00l.js → browser-ponyfill-ChKOon3m.js} +2 -2
- package/_assets/{buy-C9hvyAAq.js → buy-LCbXghKJ.js} +2 -2
- package/_assets/{buy-gasless-BnU0dUSp.js → buy-gasless-C3eOK86l.js} +2 -2
- package/_assets/{card-Bs7vF3ws.js → card-DcQ1wkCr.js} +2 -2
- package/_assets/{ccip-wDBYP7tI.js → ccip-Cv-mp4tU.js} +2 -2
- package/_assets/{ccip-pFur8j_T.js → ccip-DUsCK3Kc.js} +2 -2
- package/_assets/{chains-BCg_IRC_.js → chains-D8y4gXiX.js} +2 -2
- package/_assets/{checkmark-e3BzxNSm.js → checkmark-GDL9YfL4.js} +2 -2
- package/_assets/{checkmark-bold-CwL3zpGi.js → checkmark-bold-B-Sg0XJy.js} +3 -3
- package/_assets/chevron-bottom-CLuKI9LQ.js +9 -0
- package/_assets/chevron-left-B_RU4s1F.js +9 -0
- package/_assets/chevron-right-C6ckznAo.js +9 -0
- package/_assets/chevron-top-CJOmtrv2.js +9 -0
- package/_assets/{chrome-store-B9E5S_r1.js → chrome-store-s39Q_LJM.js} +3 -3
- package/_assets/{class-map-BaReYv7k.js → class-map-BxMzgOIb.js} +5 -5
- package/_assets/{clock-98t-BkG5.js → clock-DmJj-grN.js} +2 -2
- package/_assets/close-D4d1U5NV.js +9 -0
- package/_assets/{coinPlaceholder-rH-MsidA.js → coinPlaceholder-VDdmV3rm.js} +2 -2
- package/_assets/collectionPage.styles-sIfLLscr.js +41 -0
- package/_assets/common-DTk7mBqU.js +2 -0
- package/_assets/{compass-C4iPyfoB.js → compass-O2jaVbub.js} +3 -3
- package/_assets/{controller-CWOh6-hc.js → controller-CurwucbY.js} +3 -3
- package/_assets/{copy-Db_EXK-k.js → copy-D2eE3KCY.js} +3 -3
- package/_assets/{core-tb2wOJCE.js → core-BAvyLd8-.js} +5 -5
- package/_assets/{createSvgIcon-CTNepu6k.js → createSvgIcon-zpeijtJA.js} +3 -3
- package/_assets/{crumbs.styles-DK1l5Q6W.js → crumbs.styles-CBNTPsg2.js} +2 -2
- package/_assets/{cursor-BLyA32Y6.js → cursor-DSrN7SuI.js} +3 -3
- package/_assets/{cursor-transparent-is8_6H5o.js → cursor-transparent-DxuBEx9O.js} +2 -2
- package/_assets/{custom-CM-BIPga.js → custom-NfxJuEnZ.js} +2 -2
- package/_assets/{data-capture-C9lve2O6.js → data-capture-launpdlC.js} +2 -2
- package/_assets/{dcl-schemas-Bm7CwtMo.js → dcl-schemas-f1eXO1GU.js} +2 -2
- package/_assets/decimals-B4tUOh8A.js +2 -0
- package/_assets/decimals-BDbysjfe.js +2 -0
- package/_assets/{desktop-w7YXG_JM.js → desktop-DwZtv9fm.js} +2 -2
- package/_assets/detectExtension-BClWOU8O.js +2 -0
- package/_assets/{disconnect-BoVeWInH.js → disconnect-BbwiqFJ2.js} +3 -3
- package/_assets/{discord-CmXuPXeB.js → discord-qWAUKbRO.js} +3 -3
- package/_assets/{disposePreview-CeFK0Gbv.js → disposePreview-CSVbt13x.js} +2 -2
- package/_assets/{email-WP5ANIYF.js → email-C4yrzmAs.js} +4 -4
- package/_assets/{embedded-wallet-CxxDH2Y_.js → embedded-wallet-BdcCIIBd.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-CwFt_fv-.js → emotion-styled.browser.esm-D6jkoYJg.js} +2 -2
- package/_assets/{engine-BSVHzcxQ.js → engine-COW4L8iR.js} +2 -2
- package/_assets/{errors-DgTO8Pwf.js → errors-Dm4EoC4Y.js} +2 -2
- package/_assets/estimate-l1-fee-EboVWWyS.js +2 -0
- package/_assets/eth_estimateGas-CJyMOOot.js +2 -0
- package/_assets/eth_getStorageAt-ui_PKixC.js +2 -0
- package/_assets/eth_getTransactionCount-Dj28_iy3.js +2 -0
- package/_assets/ethereum-BGb1a7hp.js +2 -0
- package/_assets/{ethers-CCCzUGvE.js → ethers-CcJCydAy.js} +2 -2
- package/_assets/{etherscan-C6oDVSRT.js → etherscan-TUQ32gbU.js} +2 -2
- package/_assets/{events-CI6p1q09.js → events-DHuHLZ4S.js} +2 -2
- package/_assets/{exclamation-triangle-DeoEkpAd.js → exclamation-triangle-ETkxexlo.js} +2 -2
- package/_assets/{execute-YTrfihja.js → execute-DnYJEp-F.js} +3 -3
- package/_assets/{extension-BC4u9PFt.js → extension-DoOVmXmT.js} +3 -3
- package/_assets/external-link-BEPN-Y2j.js +9 -0
- package/_assets/{extractIPFS-Beribx_y.js → extractIPFS-BI3ZnKbo.js} +2 -2
- package/_assets/{facebook-BfvFcXpk.js → facebook-BmPLPVaB.js} +3 -3
- package/_assets/{farcaster-DBSK9Oxt.js → farcaster-BLIAglQl.js} +2 -2
- package/_assets/{features-2QVGTJN6.js → features-ra_V-78r.js} +2 -2
- package/_assets/{fetchTokenMetadata-Bph0BjJ-.js → fetchTokenMetadata-CYzxKK8i.js} +3 -3
- package/_assets/{field.styles-DjrPseLy.js → field.styles-DACIGn9d.js} +2 -2
- package/_assets/{filters-Bx7yqePJ.js → filters-DWaFeZ95.js} +3 -3
- package/_assets/{fortmatic-f94MqiA_.js → fortmatic-BiBc9r0q.js} +2 -2
- package/_assets/{get-bytecode-C2VYXUvG.js → get-bytecode-CgbygWsT.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-DCLtxtNW.js +2 -0
- package/_assets/{getBalance-BdiZ9TAk.js → getBalance-ePdVq27u.js} +3 -3
- package/_assets/{getInstalledModules-BxXhvx70.js → getInstalledModules-B18lSHfW.js} +2 -2
- package/_assets/getNFT-CSbyoA6G.js +2 -0
- package/_assets/{getNFT-CsityKp4.js → getNFT-DgCH8NJE.js} +3 -3
- package/_assets/{github-Bir9JlcK.js → github-BiA5cQMJ.js} +3 -3
- package/_assets/{google-BlkSyDA4.js → google-CsF9xgle.js} +3 -3
- package/_assets/{grid.styles-DY7OtvuI.js → grid.styles-BpLhTNUn.js} +2 -2
- package/_assets/{hashTypedData-CSbxHx5S.js → hashTypedData-CBZsjfgh.js} +2 -2
- package/_assets/{hashTypedData-DUcKfkeM.js → hashTypedData-yVFcoY3P.js} +2 -2
- package/_assets/{help-circle-DA-n1pkO.js → help-circle-Bwgxn3Vn.js} +3 -3
- package/_assets/{id-UrGKP3rm.js → id-O5raZ1NS.js} +2 -2
- package/_assets/{image-D3PTNca-.js → image-CbhOQpP5.js} +2 -2
- package/_assets/{import-eY4HDWmz.js → import-DmFgZBRj.js} +2 -2
- package/_assets/{in-app-BtkzLNRf.js → in-app-Zhq5hc62.js} +2 -2
- package/_assets/{in-app-wallet-calls-CRNOIw3M.js → in-app-wallet-calls-bLCqxMis.js} +2 -2
- package/_assets/{index-sOzSRz9a.js → index--vojXdap.js} +3 -3
- package/_assets/{index-CY5zoHO0.js → index-0y_JNyq9.js} +4 -4
- package/_assets/{index-C20Xo0Qk.js → index-BF2zb2ia.js} +5 -5
- package/_assets/{index-DBjnYsMO.js → index-BG6ChhFb.js} +3 -3
- package/_assets/{index-DDc2PRAu.js → index-BLnkzKxg.js} +2 -2
- package/_assets/{index-CsfoMOIL.js → index-BMXO7W3r.js} +2 -2
- package/_assets/{index-BrnkmZmr.js → index-BPR8NsDD.js} +2 -2
- package/_assets/{index-ChROYmEk.js → index-BTM3r4gK.js} +2 -2
- package/_assets/{index-DMclcFGD.js → index-BTTGRKzv.js} +2 -2
- package/_assets/{index-B9A39IHu.js → index-BUsiRqXW.js} +2 -2
- package/_assets/{index-iHQu-gMp.js → index-BZ40RxzB.js} +2 -2
- package/_assets/{index-DxfG2pYK.js → index-BfWLNN5E.js} +4 -4
- package/_assets/index-BgsoIBBF.js +2 -0
- package/_assets/{index-BsxJZNP6.js → index-Blxb8cZj.js} +4 -4
- package/_assets/{index-BDN7ohqQ.js → index-Bo9raNqf.js} +3 -3
- package/_assets/{index-Ceo5R3J-.js → index-BqZAU7Ma.js} +7 -7
- package/_assets/{index-CZ6WEeXs.js → index-Bu2Oq1U8.js} +6 -6
- package/_assets/{index-ESgisqJB.js → index-C04lSlrD.js} +2 -2
- package/_assets/{index-B4O2ZDef.js → index-C2hoiOnF.js} +2 -2
- package/_assets/{index-B4hbKg8s.js → index-C5gf0rgL.js} +4 -4
- package/_assets/{index-C0I2xWST.js → index-C8bcBFjT.js} +2 -2
- package/_assets/{index-Dmln48uu.js → index-CBURCD9J.js} +2 -2
- package/_assets/{index-Dix506II.js → index-CCLoAj7O.js} +2 -2
- package/_assets/{index-CoUk50Lc.js → index-CD4YREg2.js} +2 -2
- package/_assets/{index-CJi7LEDC.css → index-CE1snlj6.css} +1 -1
- package/_assets/{index-Dz4zx8G5.js → index-CFxxckIM.js} +4 -4
- package/_assets/{index-ucQUr7A4.js → index-CHtlwNi-.js} +2 -2
- package/_assets/{index-DijPoity.js → index-CMoE-zu6.js} +4 -4
- package/_assets/{index-Cy5gnEAh.js → index-CSSwug2Y.js} +4 -4
- package/_assets/{index-CywqcYsx.js → index-Cb17RYKj.js} +4 -4
- package/_assets/{index-B06t_xi0.js → index-CdSIZj-z.js} +4 -4
- package/_assets/{index-tDGGT4se.js → index-ChRees3-.js} +2 -2
- package/_assets/{index-u5579SSN.js → index-ChgzCx7J.js} +3 -3
- package/_assets/{index-C1SUyZUZ.js → index-CnuPQ9hC.js} +2 -2
- package/_assets/{index-D5tuSU4_.js → index-Co4bnQw6.js} +2 -2
- package/_assets/{index-BTZOJ-cb.js → index-CoCFM2rZ.js} +3 -3
- package/_assets/{index-jIjsvCCP.js → index-Cq-WW6GQ.js} +2 -2
- package/_assets/{index-Ch_bMVeI.js → index-Cw8VWMZY.js} +2 -2
- package/_assets/{index-Cb0lWl7u.js → index-D0BnosOy.js} +2 -2
- package/_assets/{index-Di1f_gg-.js → index-D1lGKSqj.js} +2 -2
- package/_assets/{index-DHm0H4jh.js → index-D6JdbdsA.js} +7 -7
- package/_assets/{index-s3zzx4qf.js → index-D6pMz2cd.js} +4 -4
- package/_assets/{index-DMO-4UAS.js → index-DCpUwoOZ.js} +3 -3
- package/_assets/{index-DxSFFM9n.js → index-DJ_ePno4.js} +4 -4
- package/_assets/{index-Ie1K2NKm.js → index-DRMbHpFi.js} +4 -4
- package/_assets/{index-Rj6xitw3.js → index-DW4PoyNN.js} +392 -371
- package/_assets/{index-B6kVIcHh.js → index-DZ2ijypA.js} +3 -3
- package/_assets/{index-CoVvIOee.js → index-D_8Btgsh.js} +2 -2
- package/_assets/{index-2uhvgeUf.js → index-DeX0VO8c.js} +2 -2
- package/_assets/{index-Dos83S_O.js → index-Df03K8QZ.js} +4 -4
- package/_assets/{index-BfPqBm6q.js → index-Dkyel7t7.js} +2 -2
- package/_assets/{index-CTh9rk5N.js → index-Dl28whiB.js} +6 -6
- package/_assets/{index-DjcH_GIm.js → index-DlAQrjgf.js} +3 -3
- package/_assets/{index-CnhnjJ5R.js → index-DoGNrn0I.js} +4 -4
- package/_assets/{index--Ir8Tnq2.js → index-DpPPUeRR.js} +3 -3
- package/_assets/{index-BNt2xj6D.js → index-FCFE1MyV.js} +2 -2
- package/_assets/{index-CR6q93wr.js → index-GWhbhd--.js} +2 -2
- package/_assets/{index-DIdrDGIp.js → index-Yl2N2ol3.js} +2 -2
- package/_assets/{index-C3ykhW34.js → index-a_Ml1du_.js} +2 -2
- package/_assets/index-cx2JGpr-.js +2 -0
- package/_assets/{index-hA_dK_jp.js → index-jBsq1W4A.js} +2 -2
- package/_assets/{index-BhLMHrfP.js → index-kkEG3ohk.js} +3 -3
- package/_assets/{index-D1dmapyR.js → index-lOKR5VId.js} +3 -3
- package/_assets/{index-BbS-Emo7.js → index-oYSDeZHR.js} +2 -2
- package/_assets/{index-FWLwLI_L.js → index-tYHoqTKH.js} +3 -3
- package/_assets/{index-_6zzOXqE.js → index-uIbP2cI_.js} +2 -2
- package/_assets/{index-DZri9_d8.js → index-xSO91-1u.js} +2 -2
- package/_assets/{index-BO_D8zz8.js → index-xTgTGzPW.js} +2 -2
- package/_assets/{index.es-BNPjhrfs.js → index.es-C2iY2dL8.js} +2 -2
- package/_assets/{index.es-CmIxggjj.js → index.es-CHNZ2Uk-.js} +2 -2
- package/_assets/{index.es-dvTFi3WB.js → index.es-D87GfgFQ.js} +2 -2
- package/_assets/{index.es-OZ_jrVxQ.js → index.es-rJ81TjHc.js} +5 -5
- package/_assets/{info-Dsmi8VWW.js → info-B91xCNqh.js} +3 -3
- package/_assets/info-circle-DtEY-DDD.js +13 -0
- package/_assets/{items-empty-CAzEAuwb.js → items-empty-DI9kUavz.js} +2 -2
- package/_assets/jsxRuntime.module-BUzu5v1_.js +2 -0
- package/_assets/{jump-Cx61htXz.js → jump-Df8mOfq9.js} +2 -2
- package/_assets/{lightbulb-B2s8QgKQ.js → lightbulb-ByedgZqO.js} +3 -3
- package/_assets/{linkAccount-CWB2Woh-.js → linkAccount-B0jvq68U.js} +2 -2
- package/_assets/{loader-logo-BiK3-TWh.js → loader-logo-BkLUrS9z.js} +2 -2
- package/_assets/{localBatchGatewayRequest-DQFeMjbz.js → localBatchGatewayRequest-DpHPWrEV.js} +2 -2
- package/_assets/{mail-CZ9ghbH-.js → mail-B2wBPliw.js} +2 -2
- package/_assets/{mobile-D7KL87qI.js → mobile-COGIkuHo.js} +2 -2
- package/_assets/{modal.styles-DgTxff7r.js → modal.styles--rb9_6NI.js} +2 -2
- package/_assets/{more-C1vsI2Vu.js → more-zcriamqw.js} +2 -2
- package/_assets/{native-C4y7GMWV.js → native-DW1KbBdt.js} +2 -2
- package/_assets/{network-placeholder-C6sglFRh.js → network-placeholder-Cm-6akxX.js} +2 -2
- package/_assets/{networks-ckUxzfdf.js → networks-C1JkQjCS.js} +2 -2
- package/_assets/{nftPlaceholder-ByX0V9oA.js → nftPlaceholder-vZdYCYRL.js} +2 -2
- package/_assets/off-CLF8R11w.js +9 -0
- package/_assets/{onramp-Dt3jsYUN.js → onramp-sReTmYeH.js} +2 -2
- package/_assets/openzeppelin-Lauv3VPr.js +2 -0
- package/_assets/ownerOf-BOdzosAI.js +2 -0
- package/_assets/parseNft-D8tStDvF.js +3 -0
- package/_assets/{parseSignature-CBgqGFix.js → parseSignature-BDLIfdN1.js} +4 -4
- package/_assets/{parseSignature-2VcJfsir.js → parseSignature-CAyxHhT-.js} +2 -2
- package/_assets/{passkeys-C8p4-ZyD.js → passkeys-C7NVp8o6.js} +2 -2
- package/_assets/{pay-with-exchange-DJcHLYup.js → pay-with-exchange-BPWFq0Sh.js} +2 -2
- package/_assets/{play-store-BBusJ15a.js → play-store-CAbJYmXD.js} +2 -2
- package/_assets/{plus-QdPNUgRE.js → plus-DWQF9t2p.js} +3 -3
- package/_assets/{prepare-contract-call-o4uVYz2Y.js → prepare-contract-call-9Yd8RfRt.js} +2 -2
- package/_assets/{qr-code-SdYLFk2z.js → qr-code-Br4VphwV.js} +2 -2
- package/_assets/{qr-overlay-dYbTNa51.js → qr-overlay-BiVNJXsu.js} +6 -6
- package/_assets/{react-BJuMEjl2.js → react-BMUOnEEj.js} +3 -3
- package/_assets/{receive-DYycxA_C.js → receive-CFw1Fe-g.js} +2 -2
- package/_assets/{recycle-horizontal-SCXYOpJq.js → recycle-horizontal-DdAImjTL.js} +3 -3
- package/_assets/{ref-DRxYb1N1.js → ref-D90CCjlU.js} +2 -2
- package/_assets/{refresh-eticwJ3S.js → refresh-S-H2nzPq.js} +2 -2
- package/_assets/{reown-logo-C2dHPSrm.js → reown-logo-D5L2QY4i.js} +3 -3
- package/_assets/{resolveImplementation-mVYsIlgT.js → resolveImplementation-BqK0GitS.js} +2 -2
- package/_assets/{resume-buy-Bkdykvli.js → resume-buy-CUAA5GbJ.js} +2 -2
- package/_assets/{resume-name-CTNS9sIV.js → resume-name-D9FG7R10.js} +2 -2
- package/_assets/{rpc-CoZaI6EH.js → rpc-Vm-NVumT.js} +2 -2
- package/_assets/{sales-empty-raINyj4_.js → sales-empty-CNrEVuOC.js} +2 -2
- package/_assets/{search-empty-DjCdKfBZ.js → search-empty-CV_abtks.js} +2 -2
- package/_assets/{search-CeQ1H1CU.js → search-f6j421fJ.js} +3 -3
- package/_assets/{secp256k1-Cbo2_8kp.js → secp256k1-BTkw91Eh.js} +2 -2
- package/_assets/{secp256k1-Dyn2w5P5.js → secp256k1-D6bZi4F3.js} +2 -2
- package/_assets/{secp256k1-CI4f5kiN.js → secp256k1-Uteq3mDc.js} +2 -2
- package/_assets/{send-Bo03Ql2I.js → send-BAUrBF6z.js} +3 -3
- package/_assets/send-batch-transaction-dnsa5i-G.js +2 -0
- package/_assets/{send-yYwvRRB7.js → send-eEkXQpS4.js} +2 -2
- package/_assets/{send-eip712-transaction-Dxs7wPRW.js → send-eip712-transaction-Ctlxx78C.js} +3 -3
- package/_assets/send-gasless-transaction-BYBkL2W1.js +3 -0
- package/_assets/send-transaction-wnTH9Ois.js +3 -0
- package/_assets/{sendMetaTransaction-C5b7rSXh.js → sendMetaTransaction-DP7QBVwJ.js} +2 -2
- package/_assets/{sendRawTransaction-DDyy707c.js → sendRawTransaction-BCf9IAb9.js} +4 -4
- package/_assets/{sentry-Cv7iYFas.js → sentry-AHDJ5rD6.js} +3 -3
- package/_assets/{serializeTransaction-eHQIao0M.js → serializeTransaction-1MrnOdzj.js} +2 -2
- package/_assets/{session-proposal-nhUt9PDC.js → session-proposal-Ckx77e7p.js} +2 -2
- package/_assets/{session-request-C-_ZZWXU.js → session-request-C9dPLCrY.js} +3 -3
- package/_assets/{sha256-BBrHzqm3.js → sha256-BFmSglv0.js} +2 -2
- package/_assets/{sha3-DF3IgY7u.js → sha3-D5evgfBi.js} +2 -2
- package/_assets/signin-empty-BMddZLGG.js +2 -0
- package/_assets/{signing-CUVnfBov.js → signing-ChKf3G93.js} +4 -4
- package/_assets/{skeleton.styles-Dkdpu9S4.js → skeleton.styles-CxYIxZvg.js} +2 -2
- package/_assets/{socials-CzT9Ope8.js → socials-D8FJ_2bh.js} +2 -2
- package/_assets/{styled-BPuJZtLw.js → styled-DebsgTan.js} +3 -3
- package/_assets/{swapHorizontal-C6GakaRf.js → swapHorizontal-BXjIGAcZ.js} +2 -2
- package/_assets/{swapHorizontalBold-oeP-_O-R.js → swapHorizontalBold-BzueHopN.js} +2 -2
- package/_assets/{swapHorizontalMedium-C64EXSWD.js → swapHorizontalMedium-DLFo4hRx.js} +2 -2
- package/_assets/{swapHorizontalRoundedBold-CHgP6XK-.js → swapHorizontalRoundedBold-BddBy7OL.js} +2 -2
- package/_assets/{swapVertical-8SLU7RpO.js → swapVertical-DYkySTmy.js} +3 -3
- package/_assets/{swaps-D_nn608d.js → swaps-DYZxayBC.js} +8 -8
- package/_assets/{telegram-CF91ES6s.js → telegram-D8ymSABf.js} +2 -2
- package/_assets/{thirdweb-aXR7VZgh.js → thirdweb-Dcspmb9e.js} +4 -4
- package/_assets/{three-dots-BsCoLPC9.js → three-dots-CiS9iH0H.js} +2 -2
- package/_assets/{to-serializable-transaction-BmsY8QrV.js → to-serializable-transaction-DGXTxFot.js} +3 -3
- package/_assets/totalSupply-k5KATu1G.js +2 -0
- package/_assets/{trade-encoding-DWpimiL1.js → trade-encoding-BdOKZFe9.js} +2 -2
- package/_assets/{transaction-BO0a3JDp.js → transaction-CAMhXwuR.js} +2 -2
- package/_assets/transactionReceipt-BUFhNuka.js +2 -0
- package/_assets/transactions-CL0A7v2J.js +17 -0
- package/_assets/{twitch-BranWKeM.js → twitch-BJQCmiGz.js} +2 -2
- package/_assets/{twitterIcon-BfIWT5DS.js → twitterIcon-B78o99Zv.js} +2 -2
- package/_assets/{useInfiniteGrid-Dd07CrOc.js → useInfiniteGrid-BJOH6EoQ.js} +2 -2
- package/_assets/useStore-Z4dQ8Aj_.js +3 -0
- package/_assets/{useTheme-7-3gcs4V.js → useTheme-DIa4vWp6.js} +2 -2
- package/_assets/{utils-t7866p84.js → utils-tYaQBEGO.js} +2 -2
- package/_assets/{verify-DcO5QuX7.js → verify-CrYE2kna.js} +3 -3
- package/_assets/{verify-filled-CKp8XQqI.js → verify-filled-CwwnY5h6.js} +3 -3
- package/_assets/{verifyHash-Auu6O9eS.js → verifyHash-D48j4cac.js} +2 -2
- package/_assets/{w3m-modal-BY88qkF-.js → w3m-modal-C7KR5IbE.js} +2 -2
- package/_assets/{w3m-modal-CBUfdWNk.js → w3m-modal-uZKS1tsX.js} +2 -2
- package/_assets/wait-for-tx-receipt-DbASf0Bn.js +2 -0
- package/_assets/{wallet-BHCiGpYx.js → wallet-EosqBoq7.js} +3 -3
- package/_assets/{wallet-placeholder-BVguMNEt.js → wallet-placeholder-DL8kIY2O.js} +3 -3
- package/_assets/{walletconnect-9t1WJh4k.js → walletconnect-CauX9cVK.js} +4 -4
- package/_assets/{wallets-CHxO-Ctc.js → wallets-JtnX6fh3.js} +6 -6
- package/_assets/{warning-circle-II7Vcaxs.js → warning-circle-BrcBx24p.js} +3 -3
- package/_assets/{web-connector-DmFj8e1e.js → web-connector-LDUbHucK.js} +4 -4
- package/_assets/{writeContract-7U0ZKDRI.js → writeContract-DYdhjqOO.js} +2 -2
- package/_assets/x-CwtQDczS.js +13 -0
- package/_assets/{zora-sepolia-BataDEu7.js → zora-sepolia-Ba20BvAw.js} +2 -2
- package/_assets/{zoraTestnet-DWFNTwEp.js → zoraTestnet-DOF6cgjY.js} +2 -2
- package/index.html +12 -12
- package/package.json +2 -2
- package/_assets/Creator-CORE-kBH.js +0 -312
- package/_assets/ManaPricingBanner.styles-DiO-oavz.js +0 -129
- package/_assets/MyAssets-BJlrmf_H.js +0 -410
- package/_assets/MyStore-CE01tniW.js +0 -1062
- package/_assets/OutfitPreview-doqFX8RK.js +0 -7
- package/_assets/PhCaretDown-Co8viBJv.js +0 -15
- package/_assets/PhCaretUp-SXVNZaJo.js +0 -15
- package/_assets/StoreSettings-CmumjCaY.js +0 -181
- package/_assets/arrow-right-QKHuTr9a.js +0 -9
- package/_assets/chevron-bottom-DVpGPQvJ.js +0 -9
- package/_assets/chevron-left-CSISn9Tl.js +0 -9
- package/_assets/chevron-right-D0n7Onzs.js +0 -9
- package/_assets/chevron-top-BSRcfV5m.js +0 -9
- package/_assets/close-BnCucYZG.js +0 -9
- package/_assets/collectionPage.styles-BfpCypx0.js +0 -41
- package/_assets/common-CBJZ92yk.js +0 -2
- package/_assets/decimals-CDDpcnDv.js +0 -2
- package/_assets/decimals-CDs72b7s.js +0 -2
- package/_assets/detectExtension-CVIbYye2.js +0 -2
- package/_assets/estimate-l1-fee-wbi1CwgU.js +0 -2
- package/_assets/eth_estimateGas-X0nU1zIX.js +0 -2
- package/_assets/eth_getStorageAt-smMUPSW5.js +0 -2
- package/_assets/eth_getTransactionCount-DJFj4Z-a.js +0 -2
- package/_assets/ethereum-Bd9kTKCd.js +0 -2
- package/_assets/external-link-D1_8iC7n.js +0 -9
- package/_assets/get-ecosystem-wallet-info-DY9KXpsf.js +0 -2
- package/_assets/getNFT-w9X9S-KF.js +0 -2
- package/_assets/index-97h9870i.js +0 -2
- package/_assets/index-Bjmt4M2e.js +0 -2
- package/_assets/info-circle-CppZa7vK.js +0 -13
- package/_assets/jsxRuntime.module-Q9HBaTr-.js +0 -2
- package/_assets/off-B5vm0egN.js +0 -9
- package/_assets/openzeppelin-DIpsN3nf.js +0 -2
- package/_assets/ownerOf-C54s5389.js +0 -2
- package/_assets/parseNft-BbR1W56D.js +0 -3
- package/_assets/send-batch-transaction-CpVRyS6x.js +0 -2
- package/_assets/send-gasless-transaction-S_6BUU5w.js +0 -3
- package/_assets/send-transaction-C20Ra9-I.js +0 -3
- package/_assets/signin-empty-VJ2i5nlY.js +0 -2
- package/_assets/totalSupply-BMwx0h3k.js +0 -2
- package/_assets/transactionReceipt-DTRPLDyn.js +0 -2
- package/_assets/transactions-DcXz63jV.js +0 -17
- package/_assets/useCreatorSales-Dne7wG4l.js +0 -784
- package/_assets/useStore-5H_8nJCb.js +0 -3
- package/_assets/wait-for-tx-receipt-CgJna2Ie.js +0 -2
- package/_assets/x-D0s8LW19.js +0 -13
|
@@ -0,0 +1,1639 @@
|
|
|
1
|
+
import{r as C,j as e,L as re,u as Zt,f as Xt,N as es}from"./react-BMUOnEEj.js";import{c as q,bU as ts,w as B,cu as ss,cv as ns,s as r,t as i,z as os,a as s,I as z,ca as as,H as It,B as is,x as rs,cc as ls,cw as ds,a3 as cs,aE as Mt,aH as hs,$ as ps,cx as Ne,cy as Wt,O as ms,c9 as us,av as xs,aw as fs,ax as gs,as as ys,bO as bs,cz as ws}from"./index-DW4PoyNN.js";import{f as js,S as Ss}from"./SaleCountdown-JYFZpbfY.js";import{d as ks}from"./dcl-schemas-f1eXO1GU.js";import{t as $s,u as vs,C as Cs,M as As,i as Is}from"./ManaPricingBanner-Obs541p-.js";import{T as xe}from"./Tooltip-BlpuIXVh.js";import{m as Ms}from"./mana-matic-CEqvSwrJ.js";import{E as ot}from"./ErrorNotice-PsNuXhOs.js";import{u as Ws,L as Ls}from"./useStore-Z4dQ8Aj_.js";import{s as Ts}from"./signin-empty-BMddZLGG.js";import{g as Ps,R as zs,M as _s}from"./browseLayout.styles-DIGiWV7F.js";import"./sentry-AHDJ5rD6.js";import"./ethers-CcJCydAy.js";import"./intl-AKLEHPeO.js";import"./errors-Dm4EoC4Y.js";import"./sha3-D5evgfBi.js";import"./browser-K77EfAPY.js";import"./trade-encoding-BdOKZFe9.js";import"./sendMetaTransaction-DP7QBVwJ.js";import"./ManaPricingBanner.styles-CR9FJ8gF.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]="8c1246a1-f22a-4828-8460-50754c811497",t._sentryDebugIdIdentifier="sentry-dbid-8c1246a1-f22a-4828-8460-50754c811497")}catch{}})();function _(t){try{return BigInt(t||"0")}catch{return 0n}}async function at(t){var o;const n=new URLSearchParams({seller:t.seller});t.from!=null&&n.set("from",String(t.from)),t.to!=null&&n.set("to",String(t.to));const a=await fetch(`${q.marketplaceServerUrl}/v1/sales/summary?${n.toString()}`);if(!a.ok)throw await((o=a.body)==null?void 0:o.cancel()),new Error(`fetchSalesSummary ${a.status}`);const{data:l}=await a.json();return l}function Fs(t){const n=new URLSearchParams;return t.seller&&n.set("seller",t.seller),t.contractAddress&&n.set("contractAddress",t.contractAddress),t.itemId!=null&&n.set("itemId",t.itemId),t.type&&n.set("type",t.type),t.from!=null&&n.set("from",String(t.from)),t.to!=null&&n.set("to",String(t.to)),n.set("first",String(t.first??100)),t.skip&&n.set("skip",String(t.skip)),n.set("sortBy","recently_sold"),n}async function Oe(t){var l;const n=await fetch(`${q.marketplaceServerUrl}/v1/sales?${Fs(t).toString()}`);if(!n.ok)throw await((l=n.body)==null?void 0:l.cancel()),new Error(`fetchSales ${n.status}`);const a=await n.json();return{data:a.data??[],total:a.total??0}}async function Ns(t){const{total:n}=await Oe({...t,first:1});return n}async function Es(t,{first:n,skip:a}){const{data:l,total:o}=await Oe({...t,first:n,skip:a});return{rows:l,total:o}}async function Os(t,{cap:n=5e3}={}){const l=[];let o=0;for(let h=0;h<n;h+=1e3){const f=Math.min(1e3,n-h),p=await Oe({...t,first:f,skip:h});if(o=p.total,l.push(...p.data),p.data.length<f||l.length>=o)break}return{rows:l,total:o,truncated:o>l.length}}const Ds=864e5;function it(t,n){return{current:t,previous:n,pct:n===0?null:(t-n)/n*100}}function Bs(t,n){const a=n===0n?null:Number((t-n)*10000n/n)/100;return{current:Number(t),previous:Number(n),pct:a}}function Rs(t,n=3){var f;const a=t.filter(Lt),l=new Map;for(const p of a){const y=p.buyer.toLowerCase();l.set(y,(l.get(y)??0)+1)}const o=[...l.entries()].sort((p,y)=>y[1]-p[1]||p[0].localeCompare(y[0])),h=o.filter(([,p])=>p>1).length;return{total:o.length,repeat:h,repeatPct:o.length===0?0:h/o.length*100,topSharePct:a.length===0?0:(((f=o[0])==null?void 0:f[1])??0)/a.length*100,top:o.slice(0,n).map(([p,y])=>({address:p,bought:y}))}}function Lt(t){return t.type==="mint"&&t.itemId!=null}function Hs(t,n){const a=t.filter(Lt),l=new Map;for(const o of a){const h=o.buyer.toLowerCase(),f=o.contractAddress.toLowerCase(),p=l.get(h)??{bought:0,items:new Set,collections:new Set,spentWei:0n,lastAt:0};p.bought+=1,p.items.add(`${f}-${o.itemId}`),p.collections.add(f),p.spentWei+=_(o.price),o.timestamp>p.lastAt&&(p.lastAt=o.timestamp),l.set(h,p)}return[...l.entries()].map(([o,h])=>({address:o,bought:h.bought,items:h.items.size,collections:h.collections.size,spentWei:h.spentWei,lastAt:h.lastAt})).sort((o,h)=>h.spentWei>o.spentWei?1:h.spentWei<o.spentWei?-1:h.bought-o.bought).slice(0,n)}function qs(t,n){if(t.length===0)return null;const a=t.reduce((l,o)=>o.timestamp>l?o.timestamp:l,0);return Math.max(0,Math.floor((n-a)/Ds))}function Us(t,n=5){return t.flatMap(a=>a.items.filter(l=>l.sold>0).map(l=>({key:l.key,contractAddress:a.contractAddress,itemId:l.itemId,name:l.name,thumbnail:l.thumbnail,rarity:l.rarity,collectionName:a.name,sold:l.sold,earnedWei:l.earnedWei}))).sort((a,l)=>l.sold-a.sold||(l.earnedWei>a.earnedWei?1:l.earnedWei<a.earnedWei?-1:0)||a.name.localeCompare(l.name)).slice(0,n)}const Me=100;async function Vs(t){const[{collections:n},a]=await Promise.all([ts(t,{first:100}),Gs(t)]),l=new Map(n.map(o=>[o.contractAddress.toLowerCase(),o.name]));return a.map(o=>{const h=(o.rarity??"common").toLowerCase(),f=Ks(h),p=Number(o.available??0);return{id:o.id,collectionId:o.contractAddress,collectionName:l.get(o.contractAddress.toLowerCase())??o.contractAddress,contractAddress:o.contractAddress,blockchainItemId:String(o.itemId??""),name:o.name,category:o.category,rarity:h,thumbnail:o.thumbnail??"",type:o.category==="emote"?"emote":"wearable",isPublished:!0,isApproved:!0,totalSupply:Math.max(0,f-p),maxSupply:f,remainingSupply:p,createdAt:o.createdAt?o.createdAt*1e3:void 0,minters:[]}})}function Ks(t){try{return ks.Rarity.getMaxSupply(t)}catch{return 0}}async function Gs(t){var a;const n=[];for(let l=0;;l+=Me){const o=new URLSearchParams({creator:t,first:String(Me),skip:String(l),includeSocialEmotes:"false"}),h=await fetch(`${q.marketplaceServerUrl}/v3/catalog/items?${o.toString()}`);if(!h.ok)throw await((a=h.body)==null?void 0:a.cancel()),new Error(`fetchPublicCatalogue ${h.status}`);const{data:f}=await h.json(),p=f??[];if(n.push(...p),p.length<Me)return n}}const Ee=864e5,fe=14;function Ys(t,n,a){const l=new Array(fe).fill(0),o=a-n*Ee,h=n*Ee/fe;for(const f of t)f.timestamp<o||f.timestamp>a||(l[Math.min(fe-1,Math.floor((f.timestamp-o)/h))]+=1);return l}function Qs({rows:t,total:n,truncated:a,mints:l,summary:o,catalogue:h,saleState:f,unreadable:p,days:y,now:L}){const m=new Map,T=new Map,F=new Map;for(const c of t){if(c.type!=="mint"||c.itemId==null)continue;const x=c.contractAddress.toLowerCase(),S=`${x}-${c.itemId}`;m.set(S,(m.get(S)??0)+1),T.set(S,(T.get(S)??0n)+_(c.price));const g=F.get(x)??[];g.push(c),F.set(x,g)}const I=t.reduce((c,x)=>x.timestamp<c?x.timestamp:c,L),N=Math.max(1,Math.ceil((L-I)/Ee)),E=y!=null&&!a?y:Math.max(y==null?fe:1,N),ne=new Map(((o==null?void 0:o.byItem)??[]).map(c=>[`${c.contractAddress.toLowerCase()}-${c.itemId}`,c.soldLifetime])),oe=new Map(((o==null?void 0:o.byCollection)??[]).map(c=>[c.contractAddress.toLowerCase(),c])),O=new Map;let G=0,U=0,A=0,v=0,j=0;for(const c of h){const x=c.contractAddress.toLowerCase(),S=f[`${c.contractAddress}-${c.blockchainItemId}`],g=c.remainingSupply<=0?"soldout":p!=null&&p.has(x)?"unknown":S!=null&&S.isOnSale?S.manaWei?"classic":"discounted":"unlisted";g==="soldout"?v+=1:g==="unlisted"?j+=1:g==="classic"?A+=1:g==="discounted"&&(U+=1);const k=O.get(x)??{contractAddress:x,collectionId:c.collectionId,name:c.collectionName,items:[],listed:0,classic:0,soldOut:0,sold:0,earningsWei:0n,createdAt:null,trend:[],claimed:0,runTotal:0,exhausted:!1},P=m.get(`${x}-${c.blockchainItemId}`)??0;k.items.push({key:`${x}-${c.blockchainItemId}`,itemId:c.blockchainItemId,name:c.name,thumbnail:c.thumbnail,rarity:c.rarity,left:c.remainingSupply,minted:c.totalSupply,sold:P,earnedWei:T.get(`${x}-${c.blockchainItemId}`)??0n,lifetimeSold:ne.get(`${x}-${c.blockchainItemId}`)??null,priceCredits:(S==null?void 0:S.priceCredits)??null,manaWei:(S==null?void 0:S.manaWei)??null,createdAt:c.createdAt??null,state:g}),k.sold+=P,k.claimed+=c.totalSupply,k.runTotal+=c.totalSupply+c.remainingSupply,G+=P,c.createdAt&&(k.createdAt==null||c.createdAt>k.createdAt)&&(k.createdAt=c.createdAt),g==="soldout"?k.soldOut+=1:g==="classic"?k.classic+=1:g==="discounted"&&(k.listed+=1),O.set(x,k)}for(const[c,x]of O){const S=F.get(c)??[],g=oe.get(c);x.earningsWei=g?_(g.earnedWei):S.reduce((k,P)=>k+_(P.price),0n),g&&(x.sold=g.sold),x.trend=Ys(S,E,L),x.exhausted=x.items.length>0&&x.soldOut===x.items.length,x.items.sort((k,P)=>P.sold-k.sold||k.name.localeCompare(P.name))}const w=[...O.values()].reduce((c,x)=>c+x.sold,0);return{collections:[...O.values()].sort((c,x)=>x.sold-c.sold||c.name.localeCompare(x.name)),sold:(o==null?void 0:o.total)??n,mints:(o==null?void 0:o.mints)??l,resales:o?o.resales:n-l,earningsWei:o?_(o.earnedWei):t.reduce((c,x)=>c+_(x.price),0n),partial:o?!1:a,breakdownPartial:a,fetched:t.length,unattributed:o?o.total-w:t.length-G,trendDays:E,unknownCollections:[...O.keys()].filter(c=>p==null?void 0:p.has(c)).length,royalties:o?{resales:o.royalties.resales,volumeWei:_(o.royalties.volumeWei)}:null,listed:U,neverListed:j,classic:A,soldOut:v}}const Js=new Map,J=864e5,Zs={"7d":7,"30d":30,all:null};function Xs(t,n,a){const l=a??(t==null?void 0:t.address),o=Zs[n],h=C.useMemo(()=>Math.floor(Date.now()/J)*J+J-1,[]),f=o?h-o*J:void 0,p=B({queryKey:["store-sales",l,n],enabled:!!l,queryFn:()=>Os({seller:l,from:f})}),y=B({queryKey:["store-summary",l,n],enabled:!!l,queryFn:()=>at({seller:l,from:f})}),L=o!=null?h-2*o*J:void 0,m=o!=null?h-o*J:void 0,T=B({queryKey:["store-summary-previous",l,n],enabled:!!l&&L!==void 0,queryFn:()=>at({seller:l,from:L,to:m})}),F=B({queryKey:["store-mints",l,n],enabled:!!l,queryFn:()=>Ns({seller:l,from:f,type:"mint"})}),I=B({queryKey:["store-catalogue",l,!!a],enabled:!!l&&(!!a||!!t),queryFn:()=>a?Vs(a):js(l,t.identity,{includeSoldOut:!0})}),N=C.useMemo(()=>[...new Set((I.data??[]).map(A=>A.contractAddress))],[I.data]),E=B({queryKey:["store-sale-state",l,N],enabled:N.length>0,queryFn:async()=>{const A=await Promise.allSettled(N.map(w=>ss(w))),v={},j=new Set;return A.forEach((w,c)=>{const x=N[c];if(w.status==="rejected"){j.add(x.toLowerCase());return}for(const[S,g]of Object.entries(w.value))v[`${x}-${S}`]=g}),{states:v,unreadable:j}}}),ne=B({queryKey:["store-saves",N,(I.data??[]).length],enabled:(I.data??[]).length>0,queryFn:async()=>{const A=(I.data??[]).map(w=>`${w.contractAddress.toLowerCase()}-${w.blockchainItemId}`),v=await Promise.allSettled(A.map(async w=>[w,(await ns(w)).count])),j=new Map;for(const w of v)w.status==="fulfilled"&&j.set(w.value[0],w.value[1]);return j}}),oe=C.useMemo(()=>{var A,v,j,w,c;return I.data?Qs({rows:((A=p.data)==null?void 0:A.rows)??[],total:((v=p.data)==null?void 0:v.total)??0,truncated:!!((j=p.data)!=null&&j.truncated),mints:F.data??0,summary:y.data??null,catalogue:I.data,saleState:((w=E.data)==null?void 0:w.states)??{},unreadable:(c=E.data)==null?void 0:c.unreadable,days:o,now:h}):null},[I.data,p.data,F.data,y.data,E.data,o,h]),O=C.useMemo(()=>{var A;return $s(I.data??[],(A=E.data)==null?void 0:A.states)},[I.data,E.data]),G=C.useMemo(()=>{var c,x,S;const A=Rs(((c=p.data)==null?void 0:c.rows)??[]),v=Hs(((x=p.data)==null?void 0:x.rows)??[]),j=qs(((S=p.data)==null?void 0:S.rows)??[],h),w=T.data;return{collectors:A,buyers:v,quietDays:j,sold:w&&y.data?it(y.data.total,w.total):null,earnings:w&&y.data?Bs(_(y.data.earnedWei),_(w.earnedWei)):null,royalties:w&&y.data?it(y.data.royalties.resales,w.royalties.resales):null}},[p.data,y.data,T.data,h]),U=ne.data??Js;return{stats:oe,trend:G,savesByKey:U,saleable:O,isLoading:I.isLoading||p.isLoading||y.isLoading,error:I.error??p.error??null}}const en=r.span`
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
cursor: help;
|
|
5
|
+
/* The glyph sits tight against its own box, so the figure beside it needs the gap from here. */
|
|
6
|
+
margin-right: 3px;
|
|
7
|
+
|
|
8
|
+
img {
|
|
9
|
+
width: 1em;
|
|
10
|
+
height: 1em;
|
|
11
|
+
vertical-align: -0.125em;
|
|
12
|
+
}
|
|
13
|
+
`;function D({kind:t,className:n}){const a=t==="mana"?i("currency.polygonMana"):i("currency.credits");return e.jsx(xe,{content:a,children:e.jsx(en,{className:n,"aria-label":a,role:"img","data-kind":t,children:t==="mana"?e.jsx("img",{src:Ms,alt:"","aria-hidden":!0}):e.jsx(os,{className:"ccy-mark"})})})}const ie=864e5,H=Date.now(),tn=(t,n,a,l,o)=>({key:`0xmock${t}-${t}`,itemId:String(t),name:n,thumbnail:"",rarity:["epic","legendary","rare","mythic","unique"][t%5],left:l-a,minted:a,sold:Math.round(a/6),earnedWei:BigInt(Math.round(a/6)*(3+t%5))*10n**18n,lifetimeSold:a,priceCredits:o==="classic"?null:20+t*5,manaWei:o==="classic"?"5000000000000000000":null,createdAt:H-t*11*ie,state:o}),sn=[[0,1,1,2,3,3,5,6,8,9,11,13,16,21],[2,9,1,0,7,2,11,1,0,6,14,2,8,3],[18,16,14,11,9,8,6,5,3,2,2,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0]],nn=[{name:"Neon Runners",items:[["Neon Runner Boots",340,1e3,"discounted"],["Neon Runner Jacket",210,1e3,"discounted"],["Neon Runner Visor",95,1e3,"discounted"]],trend:0,earnings:1840,sold:128},{name:"Founders Edition",items:[["Founders Cloak",1,1,"soldout"],["Founders Crown",1,1,"soldout"]],trend:3,earnings:0,sold:0},{name:"Midnight Capsule",items:[["Midnight Scarf",0,500,"unlisted"],["Midnight Mittens",0,500,"unlisted"],["Midnight Parka",0,500,"unlisted"]],trend:3,earnings:0,sold:0},{name:"Classic Collection",items:[["Classic Tee",60,200,"classic"],["Classic Cap",44,200,"classic"]],trend:2,earnings:310,sold:12},{name:"Summer Drop",items:[["Summer Shades",480,1e3,"discounted"],["Summer Sandals",300,1e3,"discounted"]],trend:1,earnings:920,sold:71},{name:"Studio Basics",items:[["Studio Hoodie",12,100,"unknown"]],trend:3,earnings:0,sold:0}];function on(t,n){const a=t.items.map(([o,h,f,p],y)=>tn(n*10+y,o,h,f,p)),l=a.reduce((o,h)=>o+h.minted,0);return{contractAddress:`0xmock${n.toString().padStart(36,"0")}`,collectionId:`mock-${n}`,name:t.name,items:a,listed:a.filter(o=>o.state==="discounted").length,classic:a.filter(o=>o.state==="classic").length,soldOut:a.filter(o=>o.state==="soldout").length,sold:t.sold,earningsWei:BigInt(t.earnings)*10n**18n,createdAt:H-n*30*ie,trend:sn[t.trend],claimed:l,runTotal:a.reduce((o,h)=>o+h.minted+h.left,0),exhausted:a.length>0&&a.every(o=>o.state==="soldout")}}const De=(()=>{const t=nn.map(on);return{collections:t,sold:211,mints:198,resales:13,earningsWei:3070n*10n**18n,partial:!1,breakdownPartial:!1,fetched:211,unattributed:6,trendDays:30,unknownCollections:1,royalties:{resales:41,volumeWei:2140n*10n**18n},listed:t.reduce((n,a)=>n+a.listed,0),neverListed:t.reduce((n,a)=>n+a.items.filter(l=>l.state==="unlisted").length,0),classic:t.reduce((n,a)=>n+a.classic,0),soldOut:t.reduce((n,a)=>n+a.soldOut,0)}})(),an={total:74,repeat:29,repeatPct:39.19,topSharePct:21.3},rn=Array.from({length:12},(t,n)=>({address:`0x${(n+1).toString(16).repeat(40).slice(0,40)}`,bought:12-n,items:Math.max(1,8-n),collections:Math.max(1,5-Math.floor(n/2)),spentWei:BigInt(900-n*62)*10n**18n,lastAt:H-(n+1)*9*36e5})),rt=(t,n,a,l,o,h)=>({id:`mock-coupon-${t}`,signer:"0xmockcreator0000000000000000000000000001",chainId:137,network:"MATIC",checks:{uses:50,expiration:H+o,effective:H-l,salt:`0x${t.toString().repeat(64).slice(0,64)}`,contractSignatureIndex:0,signerSignatureIndex:0,allowedRoot:"0x",externalChecks:[],allowedProof:[]},couponManager:"0x6c956587d9fe70032781edcdc626310648575382",couponAddress:"0x4ee8f6b87f4917a3bbc7c8bb3a06db8555f83db9",discountType:1,discount:a*1e4,root:`0x${"44".repeat(32)}`,collections:[n],signature:`0x${"cd".repeat(65)}`,proof:[],createdAt:H-l,state:{uses:h,cancelled:!1,revoked:!1,checkedAt:H},status:"active"}),ln=[rt(1,`0xmock${"0".repeat(36)}`,25,3*ie,3*ie,18),rt(2,`0xmock${"1".padStart(36,"0")}`,15,12*36e5,9*ie,0)],dn=new Map(De.collections.flatMap(t=>t.items.map((n,a)=>[n.key,[41,3,128,0,17,6,92,1][a%8]]))),cn=De.collections.flatMap(t=>t.items.map(n=>[t.contractAddress,n])),hn=cn.slice(0,5).map(([t,n],a)=>({id:`mock-sale-${a}`,itemId:a===3?null:n.itemId,contractAddress:t,buyer:`0x${(a+3).toString(16).repeat(40).slice(0,40)}`,seller:"0xmockcreator0000000000000000000000000001",price:String(BigInt(40+a*17)*10n**18n),timestamp:H-(a===0?8*6e4:a*19*36e5),type:a===3?"order":"mint",network:"MATIC",tokenId:a===3?"1042":null})),pn=r.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
gap: 22px;
|
|
17
|
+
|
|
18
|
+
/* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. Every
|
|
19
|
+
surface on this page is dark, so the whole page opts out once rather than each panel in turn. */
|
|
20
|
+
.ccy-mark,
|
|
21
|
+
.ccy {
|
|
22
|
+
color: ${s.colors.softWhite};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* MANA's mark is an image, not a masked glyph, so no colour reaches it: the token's own artwork is dark
|
|
26
|
+
and vanished into every panel on this page. Driven to white instead. */
|
|
27
|
+
[data-kind='mana'] img {
|
|
28
|
+
filter: brightness(0) invert(1);
|
|
29
|
+
}
|
|
30
|
+
`,mn=r.header`
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: flex-start;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
gap: 20px;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
/* The rule that closes the identity block off from the figures under it. */
|
|
37
|
+
padding-bottom: 24px;
|
|
38
|
+
border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
|
|
39
|
+
`,un=r.div`
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: 12px;
|
|
43
|
+
min-width: 0;
|
|
44
|
+
`,xn=r.div`
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
align-items: flex-start;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
gap: 4px;
|
|
50
|
+
padding-bottom: 8px;
|
|
51
|
+
min-width: 0;
|
|
52
|
+
`,fn=r.span`
|
|
53
|
+
flex: none;
|
|
54
|
+
display: block;
|
|
55
|
+
width: 84px;
|
|
56
|
+
height: 84px;
|
|
57
|
+
border-radius: 50%;
|
|
58
|
+
background-color: rgba(0, 0, 0, 0.22);
|
|
59
|
+
background-size: cover;
|
|
60
|
+
background-position: center top;
|
|
61
|
+
border: 2px solid rgba(252, 252, 252, 0.22);
|
|
62
|
+
|
|
63
|
+
${s.media.maxWidth("mobile")} {
|
|
64
|
+
width: 56px;
|
|
65
|
+
height: 56px;
|
|
66
|
+
}
|
|
67
|
+
`,gn=r.p`
|
|
68
|
+
margin: 0;
|
|
69
|
+
font-family: ${s.font.sans};
|
|
70
|
+
font-size: 14px;
|
|
71
|
+
font-weight: 600;
|
|
72
|
+
line-height: 1.6;
|
|
73
|
+
color: ${s.colors.softWhite};
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
text-overflow: ellipsis;
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
max-width: 100%;
|
|
78
|
+
`,yn=r.h1`
|
|
79
|
+
margin: 0;
|
|
80
|
+
font-family: ${s.font.sans};
|
|
81
|
+
font-size: 32px;
|
|
82
|
+
font-weight: 700;
|
|
83
|
+
line-height: 1.2;
|
|
84
|
+
letter-spacing: 0.46px;
|
|
85
|
+
color: ${s.colors.white};
|
|
86
|
+
|
|
87
|
+
${s.media.maxWidth("mobile")} {
|
|
88
|
+
font-size: 26px;
|
|
89
|
+
}
|
|
90
|
+
`,bn=r.div`
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
align-items: flex-start;
|
|
94
|
+
gap: 8px;
|
|
95
|
+
min-width: 0;
|
|
96
|
+
`,lt=r.p`
|
|
97
|
+
margin: 0;
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
gap: 12px;
|
|
101
|
+
font-family: ${s.font.sans};
|
|
102
|
+
font-size: 12px;
|
|
103
|
+
line-height: 1;
|
|
104
|
+
color: ${s.colors.softWhite};
|
|
105
|
+
`,wn=r.div`
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: flex-end;
|
|
109
|
+
flex-wrap: wrap;
|
|
110
|
+
gap: 12px;
|
|
111
|
+
|
|
112
|
+
/* Two uppercase buttons that cannot shrink below their labels. On a phone they fit side by side in
|
|
113
|
+
Inter with a few pixels to spare, and in any wider fallback font they did not: the second one ran
|
|
114
|
+
15px off a 390px screen. Wrapping puts it on its own line instead. */
|
|
115
|
+
${s.media.maxWidth("mobile")} {
|
|
116
|
+
justify-content: flex-start;
|
|
117
|
+
width: 100%;
|
|
118
|
+
}
|
|
119
|
+
`,jn=r.a`
|
|
120
|
+
display: inline-flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
gap: 8px;
|
|
124
|
+
height: 46px;
|
|
125
|
+
padding: 0 12px;
|
|
126
|
+
border-radius: ${s.radius.card};
|
|
127
|
+
color: ${s.colors.white};
|
|
128
|
+
font-family: ${s.font.sans};
|
|
129
|
+
font-size: 13px;
|
|
130
|
+
font-weight: 600;
|
|
131
|
+
line-height: 24px;
|
|
132
|
+
letter-spacing: 0.46px;
|
|
133
|
+
text-transform: uppercase;
|
|
134
|
+
text-decoration: underline;
|
|
135
|
+
white-space: nowrap;
|
|
136
|
+
|
|
137
|
+
&:hover {
|
|
138
|
+
color: ${s.colors.navViolet};
|
|
139
|
+
}
|
|
140
|
+
.ico {
|
|
141
|
+
width: 22px;
|
|
142
|
+
height: 22px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
${s.media.maxWidth("mobile")} {
|
|
146
|
+
padding: 0 8px;
|
|
147
|
+
}
|
|
148
|
+
`,Sn=r(re)`
|
|
149
|
+
display: inline-flex;
|
|
150
|
+
align-items: center;
|
|
151
|
+
justify-content: center;
|
|
152
|
+
gap: 8px;
|
|
153
|
+
height: 46px;
|
|
154
|
+
padding: 0 24px;
|
|
155
|
+
border-radius: ${s.radius.card};
|
|
156
|
+
background: ${s.colors.overlay};
|
|
157
|
+
color: ${s.colors.white};
|
|
158
|
+
font-family: ${s.font.sans};
|
|
159
|
+
font-size: 13px;
|
|
160
|
+
font-weight: 600;
|
|
161
|
+
line-height: 24px;
|
|
162
|
+
letter-spacing: 0.46px;
|
|
163
|
+
text-transform: uppercase;
|
|
164
|
+
text-decoration: none;
|
|
165
|
+
white-space: nowrap;
|
|
166
|
+
transition: background 0.15s ease;
|
|
167
|
+
|
|
168
|
+
&:hover {
|
|
169
|
+
background: ${s.colors.overlayHover};
|
|
170
|
+
}
|
|
171
|
+
&:focus-visible {
|
|
172
|
+
outline: 2px solid ${s.colors.softWhite};
|
|
173
|
+
outline-offset: 2px;
|
|
174
|
+
}
|
|
175
|
+
.ico {
|
|
176
|
+
width: 20px;
|
|
177
|
+
height: 20px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
${s.media.maxWidth("mobile")} {
|
|
181
|
+
padding: 0 16px;
|
|
182
|
+
}
|
|
183
|
+
`,kn=r.span`
|
|
184
|
+
display: inline-flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
gap: 8px;
|
|
187
|
+
margin-left: 12px;
|
|
188
|
+
padding-left: 12px;
|
|
189
|
+
border-left: 1px solid rgba(255, 255, 255, 0.3);
|
|
190
|
+
`,$n=r.a`
|
|
191
|
+
display: inline-flex;
|
|
192
|
+
align-items: center;
|
|
193
|
+
justify-content: center;
|
|
194
|
+
color: ${s.colors.softWhite};
|
|
195
|
+
transition: color 0.15s ease;
|
|
196
|
+
|
|
197
|
+
&:hover {
|
|
198
|
+
color: ${s.colors.navViolet};
|
|
199
|
+
}
|
|
200
|
+
.ico {
|
|
201
|
+
width: 15px;
|
|
202
|
+
height: 15px;
|
|
203
|
+
}
|
|
204
|
+
`,vn=r.div`
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: space-between;
|
|
208
|
+
gap: 16px;
|
|
209
|
+
flex-wrap: wrap;
|
|
210
|
+
`,Cn=r.h2`
|
|
211
|
+
margin: 0;
|
|
212
|
+
font-family: ${s.font.sans};
|
|
213
|
+
font-size: 24px;
|
|
214
|
+
font-weight: 700;
|
|
215
|
+
line-height: 1.2;
|
|
216
|
+
color: ${s.colors.white};
|
|
217
|
+
`,An=r.div`
|
|
218
|
+
display: flex;
|
|
219
|
+
gap: 4px;
|
|
220
|
+
padding: 4px;
|
|
221
|
+
border-radius: ${s.radius.pill};
|
|
222
|
+
background: rgba(0, 0, 0, 0.22);
|
|
223
|
+
`,In=r.button`
|
|
224
|
+
border: 0;
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
font-family: ${s.font.sans};
|
|
227
|
+
padding: 7px 15px;
|
|
228
|
+
border-radius: ${s.radius.pill};
|
|
229
|
+
font-size: 13px;
|
|
230
|
+
font-weight: 600;
|
|
231
|
+
color: rgba(252, 252, 252, 0.62);
|
|
232
|
+
background: transparent;
|
|
233
|
+
transition:
|
|
234
|
+
color 0.15s ease,
|
|
235
|
+
background 0.15s ease;
|
|
236
|
+
|
|
237
|
+
&:hover {
|
|
238
|
+
color: ${s.colors.softWhite};
|
|
239
|
+
}
|
|
240
|
+
&[aria-pressed='true'] {
|
|
241
|
+
background: ${s.colors.softWhite};
|
|
242
|
+
color: ${s.colors.text};
|
|
243
|
+
}
|
|
244
|
+
&:focus-visible {
|
|
245
|
+
outline: 2px solid ${s.colors.softWhite};
|
|
246
|
+
outline-offset: 2px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@media (prefers-reduced-motion: reduce) {
|
|
250
|
+
transition: none;
|
|
251
|
+
}
|
|
252
|
+
`,Tt=r.section`
|
|
253
|
+
display: grid;
|
|
254
|
+
/* Five tiles when the store has resales to report, four when it does not — auto-fit rather than a fixed
|
|
255
|
+
count so neither case leaves a hole. */
|
|
256
|
+
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
|
|
257
|
+
gap: 14px;
|
|
258
|
+
|
|
259
|
+
${s.media.maxWidth("lg")} {
|
|
260
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
261
|
+
}
|
|
262
|
+
${s.media.maxWidth("mobile")} {
|
|
263
|
+
grid-template-columns: minmax(0, 1fr);
|
|
264
|
+
}
|
|
265
|
+
`,V=r.div`
|
|
266
|
+
background: ${s.colors.overlay};
|
|
267
|
+
color: ${s.colors.softWhite};
|
|
268
|
+
border-radius: ${s.radius.modal};
|
|
269
|
+
padding: 12px 24px;
|
|
270
|
+
display: flex;
|
|
271
|
+
flex-direction: column;
|
|
272
|
+
gap: 12px;
|
|
273
|
+
min-width: 0;
|
|
274
|
+
/* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
|
|
275
|
+
was chosen for a white card and disappears into this one. */
|
|
276
|
+
.ccy-mark,
|
|
277
|
+
.ccy {
|
|
278
|
+
color: ${s.colors.softWhite};
|
|
279
|
+
}
|
|
280
|
+
`,Z=r.span`
|
|
281
|
+
display: flex;
|
|
282
|
+
align-items: center;
|
|
283
|
+
justify-content: flex-start;
|
|
284
|
+
gap: 8px;
|
|
285
|
+
/* The tiles carrying a tooltip button stand 3px taller than the rest, and in a grid that is 3px of dead
|
|
286
|
+
space under every other card. Held to the taller of the two. */
|
|
287
|
+
min-height: 18px;
|
|
288
|
+
font-family: ${s.font.sans};
|
|
289
|
+
font-size: 12px;
|
|
290
|
+
font-weight: 400;
|
|
291
|
+
line-height: 1;
|
|
292
|
+
letter-spacing: 1px;
|
|
293
|
+
text-transform: uppercase;
|
|
294
|
+
color: ${s.colors.gray4};
|
|
295
|
+
`,X=r.span`
|
|
296
|
+
/* Ahead of the label, as the design has it. Ordered rather than moved in the markup, because the mark is
|
|
297
|
+
the last child in every tile and reordering five sets of markup would buy nothing. */
|
|
298
|
+
order: -1;
|
|
299
|
+
font-size: 16px;
|
|
300
|
+
line-height: 1;
|
|
301
|
+
filter: saturate(0.9);
|
|
302
|
+
`,ee=r.span`
|
|
303
|
+
display: flex;
|
|
304
|
+
align-items: baseline;
|
|
305
|
+
gap: 8px;
|
|
306
|
+
|
|
307
|
+
/* The currency mark is a box, not a glyph with a baseline: sized to the digits' cap height and centred
|
|
308
|
+
against them, rather than left to sit on the line's bottom edge. */
|
|
309
|
+
[data-kind] {
|
|
310
|
+
align-self: center;
|
|
311
|
+
margin-right: 6px;
|
|
312
|
+
}
|
|
313
|
+
[data-kind] img,
|
|
314
|
+
[data-kind] .ico {
|
|
315
|
+
width: 0.74em;
|
|
316
|
+
height: 0.74em;
|
|
317
|
+
vertical-align: baseline;
|
|
318
|
+
}
|
|
319
|
+
font-family: ${s.font.sans};
|
|
320
|
+
font-size: 32px;
|
|
321
|
+
font-weight: 600;
|
|
322
|
+
line-height: 1.235;
|
|
323
|
+
letter-spacing: -0.02em;
|
|
324
|
+
font-variant-numeric: tabular-nums;
|
|
325
|
+
`,Mn=r.span`
|
|
326
|
+
font-size: 20px;
|
|
327
|
+
font-weight: 600;
|
|
328
|
+
color: ${s.colors.gray4};
|
|
329
|
+
margin-right: -2px;
|
|
330
|
+
`,dt=r.span`
|
|
331
|
+
font-size: 15px;
|
|
332
|
+
font-weight: 600;
|
|
333
|
+
letter-spacing: 0;
|
|
334
|
+
color: ${s.colors.gray4};
|
|
335
|
+
`,te=r.span`
|
|
336
|
+
display: flex;
|
|
337
|
+
align-items: center;
|
|
338
|
+
flex-wrap: wrap;
|
|
339
|
+
gap: 4px 6px;
|
|
340
|
+
min-width: 0;
|
|
341
|
+
min-height: 16px;
|
|
342
|
+
font-family: ${s.font.sans};
|
|
343
|
+
font-size: 12px;
|
|
344
|
+
line-height: 1.35;
|
|
345
|
+
color: ${s.colors.gray4};
|
|
346
|
+
`,ct=r.span`
|
|
347
|
+
display: inline-flex;
|
|
348
|
+
align-items: center;
|
|
349
|
+
gap: 4px;
|
|
350
|
+
font-size: 11px;
|
|
351
|
+
font-weight: 600;
|
|
352
|
+
text-transform: uppercase;
|
|
353
|
+
letter-spacing: 0.04em;
|
|
354
|
+
color: ${s.colors.gray4};
|
|
355
|
+
border: 1px dashed ${s.colors.cardLine};
|
|
356
|
+
border-radius: ${s.radius.chip};
|
|
357
|
+
padding: 1px 5px;
|
|
358
|
+
`,K=r.section`
|
|
359
|
+
display: flex;
|
|
360
|
+
flex-direction: column;
|
|
361
|
+
gap: 12px;
|
|
362
|
+
padding: 16px;
|
|
363
|
+
background: ${s.colors.overlayLight};
|
|
364
|
+
color: ${s.colors.softWhite};
|
|
365
|
+
border-radius: ${s.radius.banner};
|
|
366
|
+
min-width: 0;
|
|
367
|
+
/* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
|
|
368
|
+
was chosen for a white card and disappears into this one. */
|
|
369
|
+
.ccy-mark,
|
|
370
|
+
.ccy {
|
|
371
|
+
color: ${s.colors.softWhite};
|
|
372
|
+
}
|
|
373
|
+
`,ge=r.div`
|
|
374
|
+
display: flex;
|
|
375
|
+
align-items: baseline;
|
|
376
|
+
justify-content: space-between;
|
|
377
|
+
gap: 12px;
|
|
378
|
+
`,me=r.h2`
|
|
379
|
+
margin: 0;
|
|
380
|
+
font-family: ${s.font.sans};
|
|
381
|
+
font-size: 15px;
|
|
382
|
+
font-weight: 700;
|
|
383
|
+
letter-spacing: -0.01em;
|
|
384
|
+
`;r.div`
|
|
385
|
+
display: flex;
|
|
386
|
+
align-items: center;
|
|
387
|
+
gap: 12px;
|
|
388
|
+
`;const Wn=r(Ps)`
|
|
389
|
+
/* Direct child only: the menu's options are buttons as well, and a descendant rule turned them white
|
|
390
|
+
on the white menu, which is a menu you cannot read. */
|
|
391
|
+
> button {
|
|
392
|
+
gap: 24px;
|
|
393
|
+
height: 40px;
|
|
394
|
+
padding: 4px 4px 4px 12px;
|
|
395
|
+
background: transparent;
|
|
396
|
+
border: 0.5px solid ${s.colors.white};
|
|
397
|
+
border-radius: ${s.radius.btn};
|
|
398
|
+
color: ${s.colors.white};
|
|
399
|
+
font-size: 12px;
|
|
400
|
+
font-weight: 500;
|
|
401
|
+
text-transform: uppercase;
|
|
402
|
+
letter-spacing: 0;
|
|
403
|
+
}
|
|
404
|
+
> button:hover {
|
|
405
|
+
border-color: ${s.colors.softWhite};
|
|
406
|
+
background: ${s.colors.glassFaint};
|
|
407
|
+
color: ${s.colors.softWhite};
|
|
408
|
+
}
|
|
409
|
+
/* The chevron's colour is an inline style on the shared component, so a class cannot reach it — this
|
|
410
|
+
is the one place that has to shout. */
|
|
411
|
+
> button .ico {
|
|
412
|
+
color: ${s.colors.softWhite} !important;
|
|
413
|
+
}
|
|
414
|
+
`,Ln=r.span`
|
|
415
|
+
font-family: ${s.font.sans};
|
|
416
|
+
font-size: 12px;
|
|
417
|
+
color: ${s.colors.gray4};
|
|
418
|
+
`,Pt="24px 56px minmax(170px, 1fr) minmax(236px, 1.34fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(150px, 1fr) 158px",zt=r.div`
|
|
419
|
+
display: grid;
|
|
420
|
+
grid-template-columns: ${Pt};
|
|
421
|
+
align-items: center;
|
|
422
|
+
gap: 12px;
|
|
423
|
+
padding: 12px 24px 12px 12px;
|
|
424
|
+
min-width: min-content;
|
|
425
|
+
background: ${s.colors.overlayStrong};
|
|
426
|
+
border-radius: ${s.radius.card} ${s.radius.card} 0 0;
|
|
427
|
+
font-family: ${s.font.sans};
|
|
428
|
+
font-size: 14px;
|
|
429
|
+
color: ${s.colors.softWhite};
|
|
430
|
+
|
|
431
|
+
/* Each label sits the way its column's content sits, so a header never points at the wrong figure. */
|
|
432
|
+
> *:nth-child(4),
|
|
433
|
+
> *:nth-child(5),
|
|
434
|
+
> *:nth-child(6),
|
|
435
|
+
> *:nth-child(7) {
|
|
436
|
+
text-align: center;
|
|
437
|
+
}
|
|
438
|
+
/* The label sits over the middle of the action, not over its right edge: in the design both occupy the
|
|
439
|
+
same box, so the header stretches across the track and centres inside it. */
|
|
440
|
+
> *:last-child {
|
|
441
|
+
justify-self: stretch;
|
|
442
|
+
text-align: center;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
${s.media.maxWidth("mobile")} {
|
|
446
|
+
display: none;
|
|
447
|
+
}
|
|
448
|
+
`,_t=r.div`
|
|
449
|
+
display: flex;
|
|
450
|
+
flex-direction: column;
|
|
451
|
+
gap: 2px;
|
|
452
|
+
min-width: 0;
|
|
453
|
+
/*
|
|
454
|
+
* The run scrolls sideways rather than crushing its own columns.
|
|
455
|
+
*
|
|
456
|
+
* The tracks need 1158px before the grid starts taking room from them, and the panel used to clip what
|
|
457
|
+
* did not fit. It does not any more, and a clipped row is worse than a scrolling one: the action is the
|
|
458
|
+
* last column, so on a 1024px tablet "Manage" simply left the screen with no way to reach it.
|
|
459
|
+
*/
|
|
460
|
+
overflow-x: auto;
|
|
461
|
+
|
|
462
|
+
> *:last-child {
|
|
463
|
+
border-radius: 0 0 ${s.radius.card} ${s.radius.card};
|
|
464
|
+
}
|
|
465
|
+
`,Ft=r.div`
|
|
466
|
+
display: grid;
|
|
467
|
+
grid-template-columns: ${Pt};
|
|
468
|
+
align-items: center;
|
|
469
|
+
gap: 12px;
|
|
470
|
+
padding: 12px 24px 12px 12px;
|
|
471
|
+
min-width: min-content;
|
|
472
|
+
background: ${s.colors.overlay};
|
|
473
|
+
|
|
474
|
+
/* A fixed track keeps every row's action in the same place, centred under its column's label. */
|
|
475
|
+
> *:last-child {
|
|
476
|
+
justify-self: center;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* A collection with no copies left, set back from the ones that still have something to sell.
|
|
481
|
+
*
|
|
482
|
+
* Muted rather than faded: opacity would take the row's one action down with it, and a creator who wants
|
|
483
|
+
* to look at a finished run should not have to fight the styling to click into it. The thumbnail loses
|
|
484
|
+
* its colour, the figures lose their weight, and the row still reads.
|
|
485
|
+
*/
|
|
486
|
+
&[data-exhausted] {
|
|
487
|
+
background: rgba(0, 0, 0, 0.55);
|
|
488
|
+
color: ${s.colors.gray4};
|
|
489
|
+
|
|
490
|
+
[data-testid='store-collection-thumb'] img {
|
|
491
|
+
filter: grayscale(0.75);
|
|
492
|
+
opacity: 0.72;
|
|
493
|
+
}
|
|
494
|
+
/* The collection's own name follows the row; the action at the end keeps its colour, because a
|
|
495
|
+
finished run is still one a creator opens, and a button that reads disabled invites nobody. */
|
|
496
|
+
[data-testid='store-collection-name'] {
|
|
497
|
+
color: inherit;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* On a phone the seven columns become two rows: identity and figure on the first, the discount and the
|
|
503
|
+
* action on the second. Placed explicitly rather than left to auto-flow, which dropped both of them
|
|
504
|
+
* into the first two narrow tracks on top of each other.
|
|
505
|
+
*/
|
|
506
|
+
/*
|
|
507
|
+
* Three lines on a phone: who it is and what to do about it, then the two figures, then the discount.
|
|
508
|
+
*
|
|
509
|
+
* Every cell is placed explicitly rather than left to auto-flow, because the columns changed order once
|
|
510
|
+
* already and an auto-placed grid answers that by putting a sparkline where a button used to be.
|
|
511
|
+
*/
|
|
512
|
+
${s.media.maxWidth("mobile")} {
|
|
513
|
+
grid-template-columns: 24px 56px minmax(0, 1fr) auto;
|
|
514
|
+
row-gap: 12px;
|
|
515
|
+
|
|
516
|
+
> *:nth-child(1) {
|
|
517
|
+
grid-area: 1 / 1;
|
|
518
|
+
}
|
|
519
|
+
> *:nth-child(2) {
|
|
520
|
+
grid-area: 1 / 2;
|
|
521
|
+
}
|
|
522
|
+
/* The name takes the whole of its line. Sharing it with the action left "Founders Edition" as an
|
|
523
|
+
ellipsis and a chip, which is the one cell on the row that has to be readable. */
|
|
524
|
+
> *:nth-child(3) {
|
|
525
|
+
grid-area: 1 / 3 / 1 / 5;
|
|
526
|
+
}
|
|
527
|
+
> *:nth-child(5) {
|
|
528
|
+
grid-area: 2 / 1 / 2 / 3;
|
|
529
|
+
justify-self: start;
|
|
530
|
+
}
|
|
531
|
+
> *:nth-child(6) {
|
|
532
|
+
grid-area: 2 / 3;
|
|
533
|
+
justify-self: start;
|
|
534
|
+
}
|
|
535
|
+
> *:nth-child(8) {
|
|
536
|
+
grid-area: 2 / 4;
|
|
537
|
+
justify-self: end;
|
|
538
|
+
}
|
|
539
|
+
> *:nth-child(4) {
|
|
540
|
+
grid-area: 3 / 1 / 3 / 5;
|
|
541
|
+
justify-self: start;
|
|
542
|
+
align-items: flex-start;
|
|
543
|
+
text-align: left;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
`,Tn=r.button`
|
|
547
|
+
position: relative;
|
|
548
|
+
display: grid;
|
|
549
|
+
place-items: center;
|
|
550
|
+
width: 24px;
|
|
551
|
+
height: 24px;
|
|
552
|
+
padding: 0;
|
|
553
|
+
border: 0;
|
|
554
|
+
border-radius: ${s.radius.btn};
|
|
555
|
+
background: none;
|
|
556
|
+
cursor: pointer;
|
|
557
|
+
color: ${s.colors.gray4};
|
|
558
|
+
|
|
559
|
+
&:hover {
|
|
560
|
+
background: ${s.colors.glassFaint};
|
|
561
|
+
color: ${s.colors.softWhite};
|
|
562
|
+
}
|
|
563
|
+
&:focus-visible {
|
|
564
|
+
outline: 2px solid ${s.colors.navViolet};
|
|
565
|
+
outline-offset: 2px;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
/* A finger needs more than the 24px the glyph occupies, and the row has that much clear space around it. */
|
|
569
|
+
&::after {
|
|
570
|
+
content: '';
|
|
571
|
+
position: absolute;
|
|
572
|
+
inset: -10px;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.ico {
|
|
576
|
+
width: 16px;
|
|
577
|
+
height: 16px;
|
|
578
|
+
transition: transform 0.18s ease;
|
|
579
|
+
}
|
|
580
|
+
&[aria-expanded='true'] .ico {
|
|
581
|
+
transform: rotate(180deg);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
@media (prefers-reduced-motion: reduce) {
|
|
585
|
+
.ico {
|
|
586
|
+
transition: none;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
`,Pn=r.span`
|
|
590
|
+
width: 56px;
|
|
591
|
+
height: 56px;
|
|
592
|
+
border-radius: ${s.radius.btn};
|
|
593
|
+
overflow: hidden;
|
|
594
|
+
background: ${s.colors.overlayLight};
|
|
595
|
+
`,zn=r.span`
|
|
596
|
+
flex: none;
|
|
597
|
+
display: inline-flex;
|
|
598
|
+
align-items: center;
|
|
599
|
+
font-family: ${s.font.sans};
|
|
600
|
+
font-size: 10px;
|
|
601
|
+
font-weight: 700;
|
|
602
|
+
letter-spacing: 0.06em;
|
|
603
|
+
text-transform: uppercase;
|
|
604
|
+
padding: 3px 7px;
|
|
605
|
+
border-radius: ${s.radius.pill};
|
|
606
|
+
color: ${s.colors.gray4};
|
|
607
|
+
background: ${s.colors.glassFaint};
|
|
608
|
+
`,_n=r.span`
|
|
609
|
+
display: flex;
|
|
610
|
+
align-items: center;
|
|
611
|
+
flex-wrap: wrap;
|
|
612
|
+
gap: 4px 8px;
|
|
613
|
+
min-width: 0;
|
|
614
|
+
|
|
615
|
+
/*
|
|
616
|
+
* The chip yields before the name does, which is the opposite of what it used to do.
|
|
617
|
+
*
|
|
618
|
+
* With a wide name column the name could ellipsise and keep "sold out" beside it. The columns are even
|
|
619
|
+
* now, so that column is 176px, and yielding the name first left "Founders Ed…" next to a chip: the row
|
|
620
|
+
* lost the one thing it has to say to save the one thing that repeats on every sold-out row.
|
|
621
|
+
*/
|
|
622
|
+
a {
|
|
623
|
+
min-width: 0;
|
|
624
|
+
flex: 0 1 auto;
|
|
625
|
+
}
|
|
626
|
+
`,Fn=r.span`
|
|
627
|
+
min-width: 0;
|
|
628
|
+
|
|
629
|
+
a {
|
|
630
|
+
display: block;
|
|
631
|
+
color: inherit;
|
|
632
|
+
text-decoration: none;
|
|
633
|
+
font-family: ${s.font.sans};
|
|
634
|
+
font-size: 14px;
|
|
635
|
+
font-weight: 600;
|
|
636
|
+
overflow: hidden;
|
|
637
|
+
text-overflow: ellipsis;
|
|
638
|
+
white-space: nowrap;
|
|
639
|
+
}
|
|
640
|
+
a:hover,
|
|
641
|
+
a:focus-visible {
|
|
642
|
+
text-decoration: underline;
|
|
643
|
+
}
|
|
644
|
+
`,Nn=r.span`
|
|
645
|
+
display: block;
|
|
646
|
+
font-family: ${s.font.sans};
|
|
647
|
+
font-size: 12px;
|
|
648
|
+
color: ${s.colors.gray4};
|
|
649
|
+
overflow: hidden;
|
|
650
|
+
text-overflow: ellipsis;
|
|
651
|
+
white-space: nowrap;
|
|
652
|
+
`;r.span`
|
|
653
|
+
font-family: ${s.font.sans};
|
|
654
|
+
font-size: 15px;
|
|
655
|
+
font-weight: 700;
|
|
656
|
+
font-variant-numeric: tabular-nums;
|
|
657
|
+
text-align: right;
|
|
658
|
+
|
|
659
|
+
small {
|
|
660
|
+
display: block;
|
|
661
|
+
font-size: 11px;
|
|
662
|
+
font-weight: 500;
|
|
663
|
+
color: ${s.colors.gray4};
|
|
664
|
+
text-transform: uppercase;
|
|
665
|
+
letter-spacing: 0.04em;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
${s.media.maxWidth("mobile")} {
|
|
669
|
+
display: none;
|
|
670
|
+
}
|
|
671
|
+
`;const En=r.span`
|
|
672
|
+
min-width: 0;
|
|
673
|
+
|
|
674
|
+
${s.media.maxWidth("mobile")} {
|
|
675
|
+
display: none;
|
|
676
|
+
}
|
|
677
|
+
`,ht=r.svg`
|
|
678
|
+
display: block;
|
|
679
|
+
width: 100%;
|
|
680
|
+
height: 34px;
|
|
681
|
+
`,On=r.div`
|
|
682
|
+
/* A shade deeper than the row it belongs to, not lighter. The rows carry their own dark fill now, and a
|
|
683
|
+
translucent white panel between them read as a different surface breaking the run in half. */
|
|
684
|
+
background: ${s.colors.overlayStrong};
|
|
685
|
+
padding: 4px 24px 10px 48px;
|
|
686
|
+
|
|
687
|
+
${s.media.maxWidth("mobile")} {
|
|
688
|
+
padding-left: 32px;
|
|
689
|
+
}
|
|
690
|
+
`,Dn=r.div`
|
|
691
|
+
display: flex;
|
|
692
|
+
flex-wrap: wrap;
|
|
693
|
+
gap: 8px 26px;
|
|
694
|
+
padding: 12px 0 13px;
|
|
695
|
+
border-bottom: 1px solid ${s.colors.cardLine};
|
|
696
|
+
|
|
697
|
+
span {
|
|
698
|
+
display: flex;
|
|
699
|
+
align-items: baseline;
|
|
700
|
+
gap: 6px;
|
|
701
|
+
font-family: ${s.font.sans};
|
|
702
|
+
font-size: 11px;
|
|
703
|
+
font-weight: 600;
|
|
704
|
+
letter-spacing: 0.04em;
|
|
705
|
+
text-transform: uppercase;
|
|
706
|
+
color: ${s.colors.gray4};
|
|
707
|
+
}
|
|
708
|
+
b {
|
|
709
|
+
/* The currency mark is its own inline-flex element, so the figure needs a row of its own or the two
|
|
710
|
+
break onto separate lines. */
|
|
711
|
+
display: inline-flex;
|
|
712
|
+
align-items: center;
|
|
713
|
+
gap: 3px;
|
|
714
|
+
white-space: nowrap;
|
|
715
|
+
font-size: 15px;
|
|
716
|
+
font-weight: 700;
|
|
717
|
+
letter-spacing: 0;
|
|
718
|
+
text-transform: none;
|
|
719
|
+
color: ${s.colors.softWhite};
|
|
720
|
+
font-variant-numeric: tabular-nums;
|
|
721
|
+
}
|
|
722
|
+
`,Bn=r.div`
|
|
723
|
+
display: grid;
|
|
724
|
+
/* The stock track is fixed rather than max-content: each row is its own grid, so a content-sized last
|
|
725
|
+
track let every row measure itself and none of them lined up. 124px clears the widest figure the page
|
|
726
|
+
renders (105px) with room to spare, without leaving a hand's width between the bar and the number. */
|
|
727
|
+
grid-template-columns: 40px minmax(0, 1fr) 72px 64px 152px 124px;
|
|
728
|
+
align-items: center;
|
|
729
|
+
gap: 22px;
|
|
730
|
+
padding: 13px 0;
|
|
731
|
+
|
|
732
|
+
> *:last-child {
|
|
733
|
+
justify-self: end;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
& + & {
|
|
737
|
+
border-top: 1px solid ${s.colors.cardLine};
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
/*
|
|
741
|
+
* Two lines on a phone: the item, then its figures under the name.
|
|
742
|
+
*
|
|
743
|
+
* Placed explicitly. With three tracks and six cells the browser auto-flowed the stock figure into the
|
|
744
|
+
* 40px thumbnail track on the second row, where justify-self: end right-aligned 105px of text inside
|
|
745
|
+
* 40px of column and pushed its left edge a pixel off the card.
|
|
746
|
+
*/
|
|
747
|
+
${s.media.maxWidth("mobile")} {
|
|
748
|
+
grid-template-columns: 40px minmax(0, 1fr) auto;
|
|
749
|
+
column-gap: 12px;
|
|
750
|
+
row-gap: 8px;
|
|
751
|
+
|
|
752
|
+
> *:nth-child(3) {
|
|
753
|
+
grid-area: 2 / 2;
|
|
754
|
+
justify-self: start;
|
|
755
|
+
}
|
|
756
|
+
> *:last-child {
|
|
757
|
+
grid-area: 2 / 3;
|
|
758
|
+
justify-self: end;
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
`,Rn=r.span`
|
|
762
|
+
display: block;
|
|
763
|
+
width: 40px;
|
|
764
|
+
height: 40px;
|
|
765
|
+
border-radius: ${s.radius.btn};
|
|
766
|
+
overflow: hidden;
|
|
767
|
+
/* The rarity wash is a gradient of ALPHAS, drawn for a white card. Composited over a dark panel instead
|
|
768
|
+
it turns muddy, so the base it was measured against is put back under it. */
|
|
769
|
+
background-color: ${s.colors.white};
|
|
770
|
+
|
|
771
|
+
img {
|
|
772
|
+
width: 100%;
|
|
773
|
+
height: 100%;
|
|
774
|
+
object-fit: contain;
|
|
775
|
+
}
|
|
776
|
+
`,Hn=r.span`
|
|
777
|
+
min-width: 0;
|
|
778
|
+
display: flex;
|
|
779
|
+
flex-direction: column;
|
|
780
|
+
gap: 2px;
|
|
781
|
+
`,qn=r.span`
|
|
782
|
+
display: flex;
|
|
783
|
+
align-items: center;
|
|
784
|
+
gap: 6px;
|
|
785
|
+
min-width: 0;
|
|
786
|
+
`,Un=r.span`
|
|
787
|
+
flex: none;
|
|
788
|
+
display: inline-flex;
|
|
789
|
+
align-items: center;
|
|
790
|
+
height: 15px;
|
|
791
|
+
padding: 0 6px;
|
|
792
|
+
border-radius: 5px;
|
|
793
|
+
font-family: ${s.font.sans};
|
|
794
|
+
font-size: 9px;
|
|
795
|
+
font-weight: 700;
|
|
796
|
+
letter-spacing: 0.02em;
|
|
797
|
+
text-transform: uppercase;
|
|
798
|
+
color: ${s.colors.softWhite};
|
|
799
|
+
`,Vn=r(re)`
|
|
800
|
+
font-family: ${s.font.sans};
|
|
801
|
+
font-size: 13px;
|
|
802
|
+
color: inherit;
|
|
803
|
+
text-decoration: none;
|
|
804
|
+
overflow: hidden;
|
|
805
|
+
text-overflow: ellipsis;
|
|
806
|
+
white-space: nowrap;
|
|
807
|
+
|
|
808
|
+
&:hover,
|
|
809
|
+
&:focus-visible {
|
|
810
|
+
text-decoration: underline;
|
|
811
|
+
}
|
|
812
|
+
`,Kn=r.span`
|
|
813
|
+
font-family: ${s.font.sans};
|
|
814
|
+
font-size: 13px;
|
|
815
|
+
white-space: nowrap;
|
|
816
|
+
font-weight: 600;
|
|
817
|
+
font-variant-numeric: tabular-nums;
|
|
818
|
+
text-align: right;
|
|
819
|
+
color: ${s.colors.softWhite};
|
|
820
|
+
|
|
821
|
+
small {
|
|
822
|
+
color: ${s.colors.gray4};
|
|
823
|
+
font-weight: 500;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
${s.media.maxWidth("mobile")} {
|
|
827
|
+
text-align: left;
|
|
828
|
+
}
|
|
829
|
+
`,Gn=r.span`
|
|
830
|
+
display: block;
|
|
831
|
+
width: 96px;
|
|
832
|
+
height: 6px;
|
|
833
|
+
border-radius: 100px;
|
|
834
|
+
/* White, not the near-black this started as: the track was a 10% dark fill chosen for a white card, and
|
|
835
|
+
on the row's own dark surface it was the same colour as the row. */
|
|
836
|
+
background: rgba(255, 255, 255, 0.1);
|
|
837
|
+
overflow: hidden;
|
|
838
|
+
/* Pushed to the end of its track, so it sits with the stock figure it measures rather than crowding the
|
|
839
|
+
saves count next to it. */
|
|
840
|
+
margin-left: auto;
|
|
841
|
+
|
|
842
|
+
i {
|
|
843
|
+
display: block;
|
|
844
|
+
height: 6px;
|
|
845
|
+
border-radius: 100px;
|
|
846
|
+
background: ${s.colors.navViolet};
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
${s.media.maxWidth("mobile")} {
|
|
850
|
+
display: none;
|
|
851
|
+
}
|
|
852
|
+
`,Yn=r.span`
|
|
853
|
+
font-family: ${s.font.sans};
|
|
854
|
+
font-size: 11px;
|
|
855
|
+
font-weight: 600;
|
|
856
|
+
letter-spacing: 0.04em;
|
|
857
|
+
text-transform: uppercase;
|
|
858
|
+
white-space: nowrap;
|
|
859
|
+
color: ${s.colors.gray4};
|
|
860
|
+
|
|
861
|
+
&[data-state='soldout'] {
|
|
862
|
+
color: ${s.colors.navViolet};
|
|
863
|
+
}
|
|
864
|
+
/* A listed item shows its price rather than a label, so it takes the ink prices take. */
|
|
865
|
+
&[data-state='classic'],
|
|
866
|
+
&[data-state='discounted'] {
|
|
867
|
+
display: inline-flex;
|
|
868
|
+
align-items: center;
|
|
869
|
+
gap: 2px;
|
|
870
|
+
font-size: 12px;
|
|
871
|
+
letter-spacing: 0;
|
|
872
|
+
text-transform: none;
|
|
873
|
+
color: ${s.colors.softWhite};
|
|
874
|
+
}
|
|
875
|
+
`,Qn=r.span`
|
|
876
|
+
display: flex;
|
|
877
|
+
flex-direction: column;
|
|
878
|
+
align-items: flex-end;
|
|
879
|
+
gap: 4px;
|
|
880
|
+
line-height: 1.25;
|
|
881
|
+
`,Jn=r.span`
|
|
882
|
+
font-size: 10px;
|
|
883
|
+
font-weight: 600;
|
|
884
|
+
letter-spacing: 0.04em;
|
|
885
|
+
text-transform: uppercase;
|
|
886
|
+
color: ${s.colors.gray4};
|
|
887
|
+
margin-right: 4px;
|
|
888
|
+
`,Zn=r.span`
|
|
889
|
+
font-family: ${s.font.sans};
|
|
890
|
+
font-size: 10px;
|
|
891
|
+
opacity: 0.85;
|
|
892
|
+
font-weight: 600;
|
|
893
|
+
letter-spacing: 0.03em;
|
|
894
|
+
text-transform: uppercase;
|
|
895
|
+
white-space: nowrap;
|
|
896
|
+
color: ${s.colors.gray4};
|
|
897
|
+
`,Xn=r.span`
|
|
898
|
+
font-family: ${s.font.sans};
|
|
899
|
+
font-size: 11px;
|
|
900
|
+
font-weight: 600;
|
|
901
|
+
letter-spacing: 0.04em;
|
|
902
|
+
text-transform: uppercase;
|
|
903
|
+
white-space: nowrap;
|
|
904
|
+
text-align: right;
|
|
905
|
+
color: ${s.colors.gray4};
|
|
906
|
+
font-variant-numeric: tabular-nums;
|
|
907
|
+
|
|
908
|
+
b {
|
|
909
|
+
color: ${s.colors.softWhite};
|
|
910
|
+
font-weight: 700;
|
|
911
|
+
}
|
|
912
|
+
&[data-out='true'] {
|
|
913
|
+
color: ${s.colors.navViolet};
|
|
914
|
+
}
|
|
915
|
+
`;r.div`
|
|
916
|
+
display: grid;
|
|
917
|
+
grid-template-columns: 3px minmax(0, 1fr) auto;
|
|
918
|
+
gap: 12px;
|
|
919
|
+
align-items: center;
|
|
920
|
+
padding: 13px 18px;
|
|
921
|
+
border-top: 1px solid ${s.colors.cardLine};
|
|
922
|
+
`;r.span`
|
|
923
|
+
align-self: stretch;
|
|
924
|
+
border-radius: 2px;
|
|
925
|
+
background: ${s.colors.cardLine};
|
|
926
|
+
|
|
927
|
+
&[data-sev='act'] {
|
|
928
|
+
background: ${s.colors.dclRed};
|
|
929
|
+
}
|
|
930
|
+
&[data-sev='soon'] {
|
|
931
|
+
background: ${s.colors.flareAmber};
|
|
932
|
+
}
|
|
933
|
+
`;const pt=r.button`
|
|
934
|
+
display: inline-grid;
|
|
935
|
+
place-items: center;
|
|
936
|
+
width: 16px;
|
|
937
|
+
height: 16px;
|
|
938
|
+
margin-left: 5px;
|
|
939
|
+
padding: 0;
|
|
940
|
+
border: 0;
|
|
941
|
+
background: none;
|
|
942
|
+
cursor: help;
|
|
943
|
+
color: ${s.colors.gray4};
|
|
944
|
+
|
|
945
|
+
&:hover,
|
|
946
|
+
&:focus-visible {
|
|
947
|
+
color: ${s.colors.softWhite};
|
|
948
|
+
}
|
|
949
|
+
.ico {
|
|
950
|
+
width: 14px;
|
|
951
|
+
height: 14px;
|
|
952
|
+
}
|
|
953
|
+
`;r.span`
|
|
954
|
+
b {
|
|
955
|
+
display: flex;
|
|
956
|
+
align-items: center;
|
|
957
|
+
font-family: ${s.font.sans};
|
|
958
|
+
font-size: 13px;
|
|
959
|
+
font-weight: 600;
|
|
960
|
+
}
|
|
961
|
+
span {
|
|
962
|
+
display: block;
|
|
963
|
+
margin-top: 2px;
|
|
964
|
+
font-family: ${s.font.sans};
|
|
965
|
+
font-size: 12px;
|
|
966
|
+
color: ${s.colors.gray4};
|
|
967
|
+
}
|
|
968
|
+
`;r(re)`
|
|
969
|
+
display: inline-block;
|
|
970
|
+
margin-top: 4px;
|
|
971
|
+
font-family: ${s.font.sans};
|
|
972
|
+
font-size: 12px;
|
|
973
|
+
font-weight: 600;
|
|
974
|
+
color: ${s.colors.navViolet};
|
|
975
|
+
text-decoration: none;
|
|
976
|
+
|
|
977
|
+
&:hover,
|
|
978
|
+
&:focus-visible {
|
|
979
|
+
text-decoration: underline;
|
|
980
|
+
}
|
|
981
|
+
`;r.span`
|
|
982
|
+
font-family: ${s.font.sans};
|
|
983
|
+
font-size: 18px;
|
|
984
|
+
font-weight: 700;
|
|
985
|
+
font-variant-numeric: tabular-nums;
|
|
986
|
+
`;const We=r.div`
|
|
987
|
+
overflow-x: auto;
|
|
988
|
+
`,Be=r.table`
|
|
989
|
+
width: 100%;
|
|
990
|
+
/* Fixed, so a page of short names and one of long ones lay their columns out identically — the widths
|
|
991
|
+
come from the header row rather than from whatever this page happens to hold. */
|
|
992
|
+
table-layout: fixed;
|
|
993
|
+
|
|
994
|
+
thead th:nth-of-type(1) {
|
|
995
|
+
width: 36%;
|
|
996
|
+
}
|
|
997
|
+
thead th:nth-of-type(2) {
|
|
998
|
+
width: 24%;
|
|
999
|
+
}
|
|
1000
|
+
thead th:nth-of-type(3) {
|
|
1001
|
+
width: 120px;
|
|
1002
|
+
}
|
|
1003
|
+
thead th:nth-of-type(4) {
|
|
1004
|
+
width: 14%;
|
|
1005
|
+
}
|
|
1006
|
+
thead th:nth-of-type(5) {
|
|
1007
|
+
width: 110px;
|
|
1008
|
+
}
|
|
1009
|
+
tbody td {
|
|
1010
|
+
overflow: hidden;
|
|
1011
|
+
text-overflow: ellipsis;
|
|
1012
|
+
}
|
|
1013
|
+
font-family: ${s.font.sans};
|
|
1014
|
+
font-size: 13px;
|
|
1015
|
+
min-width: 520px;
|
|
1016
|
+
|
|
1017
|
+
/* The same band and the same separated rows the collections table wears, so the three tables on this
|
|
1018
|
+
page read as siblings rather than as one design and two others. The 2px gap is a transparent border
|
|
1019
|
+
over a clipped background, which is how a table draws the design's gaps without losing its columns. */
|
|
1020
|
+
border-collapse: separate;
|
|
1021
|
+
border-spacing: 0;
|
|
1022
|
+
|
|
1023
|
+
thead th {
|
|
1024
|
+
text-align: left;
|
|
1025
|
+
padding: 12px 18px;
|
|
1026
|
+
background: ${s.colors.overlayStrong};
|
|
1027
|
+
font-size: 14px;
|
|
1028
|
+
font-weight: 400;
|
|
1029
|
+
color: ${s.colors.softWhite};
|
|
1030
|
+
white-space: nowrap;
|
|
1031
|
+
}
|
|
1032
|
+
thead th:first-of-type {
|
|
1033
|
+
border-radius: ${s.radius.card} 0 0 0;
|
|
1034
|
+
}
|
|
1035
|
+
thead th:last-of-type {
|
|
1036
|
+
border-radius: 0 ${s.radius.card} 0 0;
|
|
1037
|
+
}
|
|
1038
|
+
tbody td {
|
|
1039
|
+
padding: 12px 18px;
|
|
1040
|
+
background: ${s.colors.overlay};
|
|
1041
|
+
border-top: 2px solid transparent;
|
|
1042
|
+
background-clip: padding-box;
|
|
1043
|
+
vertical-align: middle;
|
|
1044
|
+
}
|
|
1045
|
+
tbody tr:last-of-type td:first-of-type {
|
|
1046
|
+
border-radius: 0 0 0 ${s.radius.card};
|
|
1047
|
+
}
|
|
1048
|
+
tbody tr:last-of-type td:last-of-type {
|
|
1049
|
+
border-radius: 0 0 ${s.radius.card} 0;
|
|
1050
|
+
}
|
|
1051
|
+
tbody tr:hover td {
|
|
1052
|
+
background: ${s.colors.overlayHover};
|
|
1053
|
+
}
|
|
1054
|
+
td[data-money] {
|
|
1055
|
+
text-align: right;
|
|
1056
|
+
font-weight: 700;
|
|
1057
|
+
font-variant-numeric: tabular-nums;
|
|
1058
|
+
white-space: nowrap;
|
|
1059
|
+
}
|
|
1060
|
+
td[data-dim] {
|
|
1061
|
+
color: ${s.colors.gray4};
|
|
1062
|
+
font-variant-numeric: tabular-nums;
|
|
1063
|
+
white-space: nowrap;
|
|
1064
|
+
}
|
|
1065
|
+
`,mt=r.span`
|
|
1066
|
+
display: flex;
|
|
1067
|
+
align-items: center;
|
|
1068
|
+
gap: 10px;
|
|
1069
|
+
min-width: 0;
|
|
1070
|
+
color: inherit;
|
|
1071
|
+
text-decoration: none;
|
|
1072
|
+
|
|
1073
|
+
span {
|
|
1074
|
+
overflow: hidden;
|
|
1075
|
+
text-overflow: ellipsis;
|
|
1076
|
+
white-space: nowrap;
|
|
1077
|
+
}
|
|
1078
|
+
&:hover span,
|
|
1079
|
+
&:focus-visible span {
|
|
1080
|
+
text-decoration: underline;
|
|
1081
|
+
}
|
|
1082
|
+
`,ut=r.span`
|
|
1083
|
+
flex: none;
|
|
1084
|
+
display: block;
|
|
1085
|
+
width: 32px;
|
|
1086
|
+
height: 32px;
|
|
1087
|
+
border-radius: ${s.radius.chip};
|
|
1088
|
+
overflow: hidden;
|
|
1089
|
+
/* Same rarity wash, same reason it needs a white base under it — see ItemThumb. */
|
|
1090
|
+
background-color: ${s.colors.white};
|
|
1091
|
+
|
|
1092
|
+
img {
|
|
1093
|
+
width: 100%;
|
|
1094
|
+
height: 100%;
|
|
1095
|
+
object-fit: contain;
|
|
1096
|
+
}
|
|
1097
|
+
`,xt=r.a`
|
|
1098
|
+
max-width: 100%;
|
|
1099
|
+
white-space: nowrap;
|
|
1100
|
+
display: inline-flex;
|
|
1101
|
+
align-items: center;
|
|
1102
|
+
gap: 8px;
|
|
1103
|
+
color: inherit;
|
|
1104
|
+
text-decoration: none;
|
|
1105
|
+
|
|
1106
|
+
&:hover,
|
|
1107
|
+
&:focus-visible {
|
|
1108
|
+
text-decoration: underline;
|
|
1109
|
+
}
|
|
1110
|
+
`,eo=r.span`
|
|
1111
|
+
display: inline-flex;
|
|
1112
|
+
align-items: center;
|
|
1113
|
+
gap: 8px;
|
|
1114
|
+
|
|
1115
|
+
i {
|
|
1116
|
+
display: block;
|
|
1117
|
+
width: 24px;
|
|
1118
|
+
height: 24px;
|
|
1119
|
+
border-radius: 50%;
|
|
1120
|
+
background: #ededed;
|
|
1121
|
+
}
|
|
1122
|
+
b {
|
|
1123
|
+
display: block;
|
|
1124
|
+
width: 84px;
|
|
1125
|
+
height: 10px;
|
|
1126
|
+
border-radius: 100px;
|
|
1127
|
+
background: #ededed;
|
|
1128
|
+
}
|
|
1129
|
+
`,ft=r.span`
|
|
1130
|
+
flex: none;
|
|
1131
|
+
display: block;
|
|
1132
|
+
width: 24px;
|
|
1133
|
+
height: 24px;
|
|
1134
|
+
border-radius: 50%;
|
|
1135
|
+
background-color: ${s.colors.overlayLight};
|
|
1136
|
+
background-size: cover;
|
|
1137
|
+
background-position: center top;
|
|
1138
|
+
`,to=r.nav`
|
|
1139
|
+
display: flex;
|
|
1140
|
+
flex-wrap: wrap;
|
|
1141
|
+
align-items: center;
|
|
1142
|
+
justify-content: flex-end;
|
|
1143
|
+
gap: 12px;
|
|
1144
|
+
font-variant-numeric: tabular-nums;
|
|
1145
|
+
`,Nt=`
|
|
1146
|
+
display: inline-flex;
|
|
1147
|
+
align-items: center;
|
|
1148
|
+
justify-content: center;
|
|
1149
|
+
width: 32px;
|
|
1150
|
+
height: 32px;
|
|
1151
|
+
padding: 0;
|
|
1152
|
+
border: 0.5px solid rgba(255, 255, 255, 0.5);
|
|
1153
|
+
border-radius: ${s.radius.btn};
|
|
1154
|
+
background: transparent;
|
|
1155
|
+
font-family: ${s.font.sans};
|
|
1156
|
+
font-size: 13px;
|
|
1157
|
+
font-weight: 600;
|
|
1158
|
+
letter-spacing: 0.46px;
|
|
1159
|
+
color: ${s.colors.softWhite};
|
|
1160
|
+
cursor: pointer;
|
|
1161
|
+
|
|
1162
|
+
&:hover:not(:disabled) {
|
|
1163
|
+
border-color: ${s.colors.softWhite};
|
|
1164
|
+
background: ${s.colors.glassFaint};
|
|
1165
|
+
}
|
|
1166
|
+
&:focus-visible {
|
|
1167
|
+
outline: 2px solid ${s.colors.softWhite};
|
|
1168
|
+
outline-offset: 2px;
|
|
1169
|
+
}
|
|
1170
|
+
&:disabled {
|
|
1171
|
+
opacity: 0.35;
|
|
1172
|
+
cursor: default;
|
|
1173
|
+
}
|
|
1174
|
+
`,gt=r.button`
|
|
1175
|
+
${Nt}
|
|
1176
|
+
`,so=r.button`
|
|
1177
|
+
${Nt}
|
|
1178
|
+
|
|
1179
|
+
/* The page you are on is the one solid control in the row, which is how the design marks it. */
|
|
1180
|
+
&[aria-current='page'] {
|
|
1181
|
+
background: ${s.colors.softWhite};
|
|
1182
|
+
border-color: ${s.colors.softWhite};
|
|
1183
|
+
color: ${s.colors.text};
|
|
1184
|
+
cursor: default;
|
|
1185
|
+
}
|
|
1186
|
+
&[aria-current='page']:hover {
|
|
1187
|
+
background: ${s.colors.softWhite};
|
|
1188
|
+
color: ${s.colors.text};
|
|
1189
|
+
}
|
|
1190
|
+
`,no=r.span`
|
|
1191
|
+
padding: 0 2px;
|
|
1192
|
+
font-family: ${s.font.sans};
|
|
1193
|
+
font-size: 12px;
|
|
1194
|
+
color: ${s.colors.gray4};
|
|
1195
|
+
`;r.span`
|
|
1196
|
+
display: inline-flex;
|
|
1197
|
+
align-items: center;
|
|
1198
|
+
gap: 2px;
|
|
1199
|
+
`;const oo=r.span`
|
|
1200
|
+
font-size: 11px;
|
|
1201
|
+
font-weight: 700;
|
|
1202
|
+
letter-spacing: 0.04em;
|
|
1203
|
+
text-transform: uppercase;
|
|
1204
|
+
border-radius: ${s.radius.chip};
|
|
1205
|
+
padding: 2px 7px;
|
|
1206
|
+
white-space: nowrap;
|
|
1207
|
+
color: ${s.colors.gray4};
|
|
1208
|
+
background: ${s.colors.overlayLight};
|
|
1209
|
+
|
|
1210
|
+
&[data-kind='mint'] {
|
|
1211
|
+
color: ${s.colors.navViolet};
|
|
1212
|
+
background: rgba(105, 31, 169, 0.1);
|
|
1213
|
+
}
|
|
1214
|
+
`;r.img`
|
|
1215
|
+
width: 1em;
|
|
1216
|
+
height: 1em;
|
|
1217
|
+
vertical-align: -0.125em;
|
|
1218
|
+
margin-right: 3px;
|
|
1219
|
+
`;const ao=r.p`
|
|
1220
|
+
margin: 0;
|
|
1221
|
+
padding: 10px 14px;
|
|
1222
|
+
border: 1px dashed rgba(252, 252, 252, 0.32);
|
|
1223
|
+
border-radius: ${s.radius.btn};
|
|
1224
|
+
font-family: ${s.font.sans};
|
|
1225
|
+
font-size: 12px;
|
|
1226
|
+
color: rgba(252, 252, 252, 0.72);
|
|
1227
|
+
word-break: break-all;
|
|
1228
|
+
`,io=r.button`
|
|
1229
|
+
display: block;
|
|
1230
|
+
width: 100%;
|
|
1231
|
+
padding: 13px 18px;
|
|
1232
|
+
border: 0;
|
|
1233
|
+
border-top: 1px solid ${s.colors.cardLine};
|
|
1234
|
+
background: none;
|
|
1235
|
+
cursor: pointer;
|
|
1236
|
+
font-family: ${s.font.sans};
|
|
1237
|
+
font-size: 13px;
|
|
1238
|
+
font-weight: 600;
|
|
1239
|
+
color: ${s.colors.navViolet};
|
|
1240
|
+
|
|
1241
|
+
&:hover {
|
|
1242
|
+
background: ${s.colors.glassFaint};
|
|
1243
|
+
}
|
|
1244
|
+
&:focus-visible {
|
|
1245
|
+
outline: 2px solid ${s.colors.navViolet};
|
|
1246
|
+
outline-offset: -2px;
|
|
1247
|
+
}
|
|
1248
|
+
`;r.div`
|
|
1249
|
+
display: flex;
|
|
1250
|
+
flex-direction: column;
|
|
1251
|
+
gap: 4px;
|
|
1252
|
+
padding: 10px 18px 14px;
|
|
1253
|
+
border-top: 1px solid ${s.colors.cardLine};
|
|
1254
|
+
`;r.p`
|
|
1255
|
+
margin: 0;
|
|
1256
|
+
font-family: ${s.font.sans};
|
|
1257
|
+
font-size: 11px;
|
|
1258
|
+
line-height: 1.45;
|
|
1259
|
+
color: ${s.colors.muted2};
|
|
1260
|
+
`;const Et=`
|
|
1261
|
+
background: linear-gradient(100deg, var(--skeleton-lo) 30%, var(--skeleton-hi) 50%, var(--skeleton-lo) 70%);
|
|
1262
|
+
background-size: 200% 100%;
|
|
1263
|
+
animation: shimmer 1.3s infinite linear;
|
|
1264
|
+
|
|
1265
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1266
|
+
animation: none;
|
|
1267
|
+
}
|
|
1268
|
+
`,b=r.span`
|
|
1269
|
+
display: block;
|
|
1270
|
+
height: 12px;
|
|
1271
|
+
border-radius: 100px;
|
|
1272
|
+
${Et}
|
|
1273
|
+
`,ro=r.span`
|
|
1274
|
+
display: block;
|
|
1275
|
+
width: 40px;
|
|
1276
|
+
height: 40px;
|
|
1277
|
+
border-radius: ${s.radius.btn};
|
|
1278
|
+
${Et}
|
|
1279
|
+
`,yt=r.div`
|
|
1280
|
+
display: grid;
|
|
1281
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
|
|
1282
|
+
align-items: center;
|
|
1283
|
+
gap: 12px;
|
|
1284
|
+
padding: 0 18px 10px;
|
|
1285
|
+
|
|
1286
|
+
> *:last-child {
|
|
1287
|
+
justify-self: end;
|
|
1288
|
+
}
|
|
1289
|
+
background: ${s.colors.overlayStrong};
|
|
1290
|
+
border-radius: ${s.radius.card} ${s.radius.card} 0 0;
|
|
1291
|
+
`,bt=r.div`
|
|
1292
|
+
display: grid;
|
|
1293
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
|
|
1294
|
+
align-items: center;
|
|
1295
|
+
gap: 12px;
|
|
1296
|
+
height: 57px;
|
|
1297
|
+
padding: 0 18px;
|
|
1298
|
+
background: ${s.colors.overlay};
|
|
1299
|
+
border-top: 2px solid transparent;
|
|
1300
|
+
background-clip: padding-box;
|
|
1301
|
+
|
|
1302
|
+
> *:last-child {
|
|
1303
|
+
justify-self: end;
|
|
1304
|
+
}
|
|
1305
|
+
`,ue=r.p`
|
|
1306
|
+
margin: 0;
|
|
1307
|
+
font-family: ${s.font.sans};
|
|
1308
|
+
font-size: 13px;
|
|
1309
|
+
color: ${s.colors.gray4};
|
|
1310
|
+
`,lo=r(z)`
|
|
1311
|
+
width: 16px;
|
|
1312
|
+
height: 16px;
|
|
1313
|
+
`,Le=r.span`
|
|
1314
|
+
display: inline-flex;
|
|
1315
|
+
align-items: center;
|
|
1316
|
+
gap: 4px;
|
|
1317
|
+
font-family: ${s.font.sans};
|
|
1318
|
+
font-size: 12px;
|
|
1319
|
+
font-weight: 600;
|
|
1320
|
+
line-height: 1.3;
|
|
1321
|
+
flex-wrap: wrap;
|
|
1322
|
+
color: ${s.colors.gray4};
|
|
1323
|
+
|
|
1324
|
+
&[data-dir='up'] {
|
|
1325
|
+
color: ${s.colors.successBorder};
|
|
1326
|
+
}
|
|
1327
|
+
&[data-dir='down'] {
|
|
1328
|
+
color: #ff6b6b;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
/* Grey whichever way the figure went: it is the label, not the reading. */
|
|
1332
|
+
.delta__against {
|
|
1333
|
+
font-size: 10px;
|
|
1334
|
+
font-weight: 400;
|
|
1335
|
+
color: ${s.colors.gray4};
|
|
1336
|
+
}
|
|
1337
|
+
.delta__arrow {
|
|
1338
|
+
font-size: 10px;
|
|
1339
|
+
line-height: 1;
|
|
1340
|
+
}
|
|
1341
|
+
`,co=r.div`
|
|
1342
|
+
margin: 10px 0 -4px;
|
|
1343
|
+
`,ho=r.h2`
|
|
1344
|
+
margin: 0;
|
|
1345
|
+
font-family: ${s.font.sans};
|
|
1346
|
+
font-size: 19px;
|
|
1347
|
+
font-weight: 700;
|
|
1348
|
+
letter-spacing: -0.01em;
|
|
1349
|
+
color: ${s.colors.softWhite};
|
|
1350
|
+
`,po=r.p`
|
|
1351
|
+
margin: 4px 0 0;
|
|
1352
|
+
font-family: ${s.font.sans};
|
|
1353
|
+
font-size: 13px;
|
|
1354
|
+
color: rgba(252, 252, 252, 0.62);
|
|
1355
|
+
`,mo=r.div`
|
|
1356
|
+
display: grid;
|
|
1357
|
+
grid-template-columns: repeat(auto-fit, minmax(210px, 300px));
|
|
1358
|
+
gap: 14px;
|
|
1359
|
+
align-items: start;
|
|
1360
|
+
|
|
1361
|
+
${s.media.maxWidth("mobile")} {
|
|
1362
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1363
|
+
}
|
|
1364
|
+
`,uo=r(Be)`
|
|
1365
|
+
thead th:nth-of-type(1) {
|
|
1366
|
+
width: 40%;
|
|
1367
|
+
}
|
|
1368
|
+
thead th:nth-of-type(2) {
|
|
1369
|
+
width: 16%;
|
|
1370
|
+
}
|
|
1371
|
+
thead th:nth-of-type(3) {
|
|
1372
|
+
width: 20%;
|
|
1373
|
+
}
|
|
1374
|
+
thead th:nth-of-type(4) {
|
|
1375
|
+
width: 12%;
|
|
1376
|
+
}
|
|
1377
|
+
thead th:nth-of-type(5) {
|
|
1378
|
+
width: 12%;
|
|
1379
|
+
}
|
|
1380
|
+
`;r.div`
|
|
1381
|
+
display: grid;
|
|
1382
|
+
grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
|
|
1383
|
+
gap: 14px;
|
|
1384
|
+
align-items: start;
|
|
1385
|
+
|
|
1386
|
+
${s.media.maxWidth("lg")} {
|
|
1387
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1388
|
+
}
|
|
1389
|
+
`;r.div`
|
|
1390
|
+
display: flex;
|
|
1391
|
+
flex-direction: column;
|
|
1392
|
+
gap: 14px;
|
|
1393
|
+
`;const Te=r.span`
|
|
1394
|
+
display: inline-flex;
|
|
1395
|
+
align-items: center;
|
|
1396
|
+
justify-content: flex-end;
|
|
1397
|
+
|
|
1398
|
+
[data-kind] img,
|
|
1399
|
+
[data-kind] .ico {
|
|
1400
|
+
vertical-align: baseline;
|
|
1401
|
+
}
|
|
1402
|
+
`,xo=r.span`
|
|
1403
|
+
font-family: ${s.font.sans};
|
|
1404
|
+
font-size: 14px;
|
|
1405
|
+
font-weight: 600;
|
|
1406
|
+
font-variant-numeric: tabular-nums;
|
|
1407
|
+
white-space: nowrap;
|
|
1408
|
+
text-align: center;
|
|
1409
|
+
|
|
1410
|
+
/* One weight and one colour, as the design draws it: the pair is a single reading ("80 of 250"), and
|
|
1411
|
+
dimming the denominator made the two halves look like different figures. */
|
|
1412
|
+
small {
|
|
1413
|
+
font-size: inherit;
|
|
1414
|
+
font-weight: inherit;
|
|
1415
|
+
}
|
|
1416
|
+
`,fo=r.span`
|
|
1417
|
+
display: flex;
|
|
1418
|
+
flex-direction: column;
|
|
1419
|
+
align-items: center;
|
|
1420
|
+
justify-content: center;
|
|
1421
|
+
gap: 4px;
|
|
1422
|
+
min-width: 0;
|
|
1423
|
+
font-family: ${s.font.sans};
|
|
1424
|
+
font-size: 12px;
|
|
1425
|
+
color: ${s.colors.gray4};
|
|
1426
|
+
text-align: center;
|
|
1427
|
+
`,go=r.span`
|
|
1428
|
+
display: inline-flex;
|
|
1429
|
+
flex-wrap: wrap;
|
|
1430
|
+
justify-content: center;
|
|
1431
|
+
gap: 8px;
|
|
1432
|
+
`,yo=r(as)`
|
|
1433
|
+
align-self: center;
|
|
1434
|
+
gap: 4px;
|
|
1435
|
+
padding: 2px 4px;
|
|
1436
|
+
border: 0;
|
|
1437
|
+
border-radius: 6px;
|
|
1438
|
+
background: ${s.colors.saleTag};
|
|
1439
|
+
line-height: 20px;
|
|
1440
|
+
|
|
1441
|
+
b,
|
|
1442
|
+
span {
|
|
1443
|
+
font-size: 14px;
|
|
1444
|
+
line-height: 20px;
|
|
1445
|
+
}
|
|
1446
|
+
`,bo=r(Ss)`
|
|
1447
|
+
align-self: center;
|
|
1448
|
+
gap: 4px;
|
|
1449
|
+
padding: 4px 8px;
|
|
1450
|
+
border-radius: 6px;
|
|
1451
|
+
background: ${s.colors.glass};
|
|
1452
|
+
color: ${s.colors.white};
|
|
1453
|
+
|
|
1454
|
+
b {
|
|
1455
|
+
color: ${s.colors.white};
|
|
1456
|
+
font-size: 12px;
|
|
1457
|
+
line-height: 16px;
|
|
1458
|
+
}
|
|
1459
|
+
`,wo=r.span`
|
|
1460
|
+
color: ${s.colors.muted2};
|
|
1461
|
+
|
|
1462
|
+
b {
|
|
1463
|
+
font-weight: 600;
|
|
1464
|
+
}
|
|
1465
|
+
/* Whether it is selling faster carries the only colour in the cell, since it is the only judgement. */
|
|
1466
|
+
&[data-dir='up'] b {
|
|
1467
|
+
color: #2ecc71;
|
|
1468
|
+
}
|
|
1469
|
+
&[data-dir='down'] b {
|
|
1470
|
+
color: #ff6b6b;
|
|
1471
|
+
}
|
|
1472
|
+
`,Pe=r.div`
|
|
1473
|
+
display: flex;
|
|
1474
|
+
align-items: center;
|
|
1475
|
+
justify-content: space-between;
|
|
1476
|
+
gap: 12px;
|
|
1477
|
+
font-family: ${s.font.sans};
|
|
1478
|
+
font-size: 13px;
|
|
1479
|
+
color: ${s.colors.gray4};
|
|
1480
|
+
|
|
1481
|
+
${s.media.maxWidth("mobile")} {
|
|
1482
|
+
flex-direction: column;
|
|
1483
|
+
align-items: stretch;
|
|
1484
|
+
}
|
|
1485
|
+
`,jo=r.div`
|
|
1486
|
+
display: flex;
|
|
1487
|
+
align-items: center;
|
|
1488
|
+
justify-content: space-between;
|
|
1489
|
+
gap: 12px;
|
|
1490
|
+
|
|
1491
|
+
${s.media.maxWidth("mobile")} {
|
|
1492
|
+
flex-wrap: wrap;
|
|
1493
|
+
}
|
|
1494
|
+
`,So=r.div`
|
|
1495
|
+
display: flex;
|
|
1496
|
+
align-items: center;
|
|
1497
|
+
gap: 10px;
|
|
1498
|
+
min-width: 0;
|
|
1499
|
+
`,ko=r(It)`
|
|
1500
|
+
display: inline-flex;
|
|
1501
|
+
align-items: center;
|
|
1502
|
+
justify-content: center;
|
|
1503
|
+
gap: 8px;
|
|
1504
|
+
height: 36px;
|
|
1505
|
+
padding: 0 12px;
|
|
1506
|
+
border: 0.5px solid ${s.colors.white};
|
|
1507
|
+
border-radius: 12px;
|
|
1508
|
+
background: transparent;
|
|
1509
|
+
color: ${s.colors.softWhite};
|
|
1510
|
+
font-size: 13px;
|
|
1511
|
+
font-weight: 600;
|
|
1512
|
+
letter-spacing: 0.46px;
|
|
1513
|
+
text-transform: uppercase;
|
|
1514
|
+
|
|
1515
|
+
&:hover:not(:disabled) {
|
|
1516
|
+
background: ${s.colors.glassFaint};
|
|
1517
|
+
color: ${s.colors.softWhite};
|
|
1518
|
+
}
|
|
1519
|
+
`,$o=r.span`
|
|
1520
|
+
display: inline-flex;
|
|
1521
|
+
align-items: center;
|
|
1522
|
+
justify-content: center;
|
|
1523
|
+
gap: 6px;
|
|
1524
|
+
font-family: ${s.font.sans};
|
|
1525
|
+
font-size: 14px;
|
|
1526
|
+
font-weight: 600;
|
|
1527
|
+
font-variant-numeric: tabular-nums;
|
|
1528
|
+
white-space: nowrap;
|
|
1529
|
+
`,vo=r.span`
|
|
1530
|
+
display: inline-flex;
|
|
1531
|
+
align-items: center;
|
|
1532
|
+
justify-content: flex-end;
|
|
1533
|
+
gap: 5px;
|
|
1534
|
+
font-family: ${s.font.sans};
|
|
1535
|
+
font-size: 13px;
|
|
1536
|
+
font-variant-numeric: tabular-nums;
|
|
1537
|
+
color: ${s.colors.gray4};
|
|
1538
|
+
white-space: nowrap;
|
|
1539
|
+
|
|
1540
|
+
.ico {
|
|
1541
|
+
width: 14px;
|
|
1542
|
+
height: 14px;
|
|
1543
|
+
}
|
|
1544
|
+
`,Ot=r.div`
|
|
1545
|
+
display: grid;
|
|
1546
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1547
|
+
gap: 14px;
|
|
1548
|
+
/* Stretched rather than start-aligned: the sales rows carry a second line and the best sellers do not,
|
|
1549
|
+
so the two will never end together on their own, and two cards of different heights side by side read
|
|
1550
|
+
as one of them having failed to load. */
|
|
1551
|
+
|
|
1552
|
+
${s.media.maxWidth("lg")} {
|
|
1553
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1554
|
+
}
|
|
1555
|
+
`,wt=r.p`
|
|
1556
|
+
margin: 2px 0 0;
|
|
1557
|
+
font-family: ${s.font.sans};
|
|
1558
|
+
font-size: 13px;
|
|
1559
|
+
color: ${s.colors.gray4};
|
|
1560
|
+
`,jt=r.div`
|
|
1561
|
+
display: flex;
|
|
1562
|
+
align-items: flex-start;
|
|
1563
|
+
justify-content: space-between;
|
|
1564
|
+
gap: 12px;
|
|
1565
|
+
`,Co=r(re)`
|
|
1566
|
+
display: inline-flex;
|
|
1567
|
+
align-items: center;
|
|
1568
|
+
gap: 6px;
|
|
1569
|
+
flex: none;
|
|
1570
|
+
color: ${s.colors.white};
|
|
1571
|
+
font-family: ${s.font.sans};
|
|
1572
|
+
font-size: 12px;
|
|
1573
|
+
font-weight: 600;
|
|
1574
|
+
letter-spacing: 0.04em;
|
|
1575
|
+
text-transform: uppercase;
|
|
1576
|
+
text-decoration: underline;
|
|
1577
|
+
|
|
1578
|
+
&:hover {
|
|
1579
|
+
color: ${s.colors.navViolet};
|
|
1580
|
+
}
|
|
1581
|
+
`,St=r.span`
|
|
1582
|
+
display: inline-block;
|
|
1583
|
+
min-width: 12px;
|
|
1584
|
+
font-weight: 700;
|
|
1585
|
+
font-variant-numeric: tabular-nums;
|
|
1586
|
+
color: ${s.colors.gray4};
|
|
1587
|
+
`,kt=r.span`
|
|
1588
|
+
display: flex;
|
|
1589
|
+
align-items: center;
|
|
1590
|
+
gap: 12px;
|
|
1591
|
+
min-width: 0;
|
|
1592
|
+
`,Dt=`
|
|
1593
|
+
thead th,
|
|
1594
|
+
tbody td {
|
|
1595
|
+
padding-left: 12px;
|
|
1596
|
+
padding-right: 12px;
|
|
1597
|
+
}
|
|
1598
|
+
`,Ao=r(Be)`
|
|
1599
|
+
min-width: 500px;
|
|
1600
|
+
${Dt}
|
|
1601
|
+
|
|
1602
|
+
thead th:nth-of-type(1) {
|
|
1603
|
+
width: 46%;
|
|
1604
|
+
}
|
|
1605
|
+
thead th:nth-of-type(2) {
|
|
1606
|
+
width: 26%;
|
|
1607
|
+
}
|
|
1608
|
+
thead th:nth-of-type(3) {
|
|
1609
|
+
width: 72px;
|
|
1610
|
+
}
|
|
1611
|
+
thead th:nth-of-type(4) {
|
|
1612
|
+
width: 96px;
|
|
1613
|
+
}
|
|
1614
|
+
`,Io=r(Be)`
|
|
1615
|
+
min-width: 580px;
|
|
1616
|
+
${Dt}
|
|
1617
|
+
|
|
1618
|
+
thead th:nth-of-type(1) {
|
|
1619
|
+
width: 34%;
|
|
1620
|
+
}
|
|
1621
|
+
thead th:nth-of-type(2) {
|
|
1622
|
+
width: 22%;
|
|
1623
|
+
}
|
|
1624
|
+
thead th:nth-of-type(3) {
|
|
1625
|
+
width: 70px;
|
|
1626
|
+
}
|
|
1627
|
+
thead th:nth-of-type(4) {
|
|
1628
|
+
width: 140px;
|
|
1629
|
+
}
|
|
1630
|
+
thead th:nth-of-type(5) {
|
|
1631
|
+
width: 76px;
|
|
1632
|
+
}
|
|
1633
|
+
`,Mo=r.span`
|
|
1634
|
+
display: flex;
|
|
1635
|
+
flex-direction: column;
|
|
1636
|
+
gap: 3px;
|
|
1637
|
+
min-width: 0;
|
|
1638
|
+
`,Wo=["7d","30d","all"],ye=8,be=5,Bt="shop.my-store.sort",Lo=["sold","selling","newest","name"];function To(){try{const t=localStorage.getItem(Bt);return Lo.includes(t)?t:"sold"}catch{return"sold"}}function Po(t){try{localStorage.setItem(Bt,t)}catch{}}function zo(t,n){const a=[...t];return n==="name"?a.sort((l,o)=>l.name.localeCompare(o.name)):n==="newest"?a.sort((l,o)=>(o.createdAt??0)-(l.createdAt??0)):n==="selling"?a.sort((l,o)=>Number(l.exhausted)-Number(o.exhausted)||o.sold-l.sold||l.name.localeCompare(o.name)):a.sort((l,o)=>o.sold-l.sold||l.name.localeCompare(o.name))}function $t(t,n,a){return se(`/item/${t}/${n}`,a)}function se(t,n){return n?`${t}${t.includes("?")?"&":"?"}env=${n}`:t}function _o(t,n){if(n==null)return null;const a=t.minted-n;return a>0?a:null}const Fo={website:"website",twitter:"x-twitter",discord:"discord",facebook:"facebook"},we=5;function No(t,n){if(n<=5)return Array.from({length:n},(o,h)=>h);const a=[t-1,t,t+1].filter(o=>o>0&&o<n-1),l=[0];return a[0]>1&&l.push("gap"),l.push(...a),a[a.length-1]<n-2&&l.push("gap"),l.push(n-1),l}function ze({page:t,pages:n,onChange:a,name:l}){return n<=1?null:e.jsxs(to,{"aria-label":i("myStore.pagination"),children:[e.jsx(gt,{type:"button",onClick:()=>a(Math.max(0,t-1)),disabled:t===0,"aria-label":i("myStore.prev"),"data-testid":`store-${l}-prev`,children:e.jsx(z,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(90deg)"}})}),No(t,n).map((o,h)=>o==="gap"?e.jsx(no,{children:"…"},`gap-${h}`):e.jsx(so,{type:"button","aria-current":o===t?"page":void 0,onClick:()=>a(o),"data-testid":`store-${l}-page-${o+1}`,children:(o+1).toLocaleString()},o)),e.jsx(gt,{type:"button",onClick:()=>a(Math.min(n-1,t+1)),disabled:t>=n-1,"aria-label":i("myStore.next"),"data-testid":`store-${l}-next`,children:e.jsx(z,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(-90deg)"}})})]})}function Eo(t,n,a){var y,L;const l={"7d":7,"30d":30,all:null}[n],o=C.useMemo(()=>Math.floor(Date.now()/864e5)*864e5+864e5-1,[]),h=l?o-l*864e5:void 0,f=B({queryKey:["store-sales-page",t,n,a],enabled:!!t,placeholderData:m=>m,queryFn:()=>Es({seller:t,from:h},{first:we,skip:a*we})}),p=((y=f.data)==null?void 0:y.total)??0;return{rows:((L=f.data)==null?void 0:L.rows)??[],total:p,pages:Math.ceil(p/we)}}function vt(t){return B({queryKey:["store-buyers",t],enabled:t.length>0,staleTime:5*6e4,queryFn:()=>ws(t)})}function Ct(t,n){var l;const a=(l=n==null?void 0:n.get(t.toLowerCase()))==null?void 0:l.name;return a?Mt(a):bs(t)}function Oo(t){return q.previewHost&&t==="1"}function Do(t){if(!q.previewHost||!t)return null;const n=t.trim().toLowerCase();return/^0x[0-9a-f]{40}$/.test(n)?n:null}const Bo=25000n;function Ro(t){return t*Bo/1000000n}function R(t){const n=Number(t/10n**14n)/1e4;return n>=10?Math.round(n).toLocaleString():n.toFixed(2)}function At(t){const n=Math.max(1,Math.round((Date.now()-t)/6e4));if(n<60)return i("myStore.agoMinutes",{n});const a=Math.round(n/60);return a<24?i("myStore.agoHours",{n:a}):i("myStore.agoDays",{n:Math.round(a/24)})}function Ho({series:t}){const n=C.useId(),a=Math.max(...t,0),l=t.length>1?92/(t.length-1):0,o=p=>a===0?27:27-p/a*22,f=t.map((p,y)=>`${(2+y*l).toFixed(1)} ${o(p).toFixed(1)}`).join(" L ");return a===0?e.jsx(ht,{viewBox:"0 0 96 30",role:"img","aria-label":i("myStore.trendNone"),children:e.jsx("path",{d:"M2 27 L94 27",fill:"none",stroke:s.colors.cardLine,strokeWidth:"2",strokeLinecap:"round"})}):e.jsxs(ht,{viewBox:"0 0 96 30",role:"img","aria-label":i("myStore.trendAria",{n:a}),children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:n,gradientUnits:"userSpaceOnUse",x1:"78.9",y1:"-19.5",x2:"35.3",y2:"40.4",children:[e.jsx("stop",{stopColor:s.colors.dclRed}),e.jsx("stop",{offset:"1",stopColor:s.colors.flareAmber})]}),e.jsxs("linearGradient",{id:`${n}-fill`,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:s.colors.dclRed,stopOpacity:"0.26"}),e.jsx("stop",{offset:"1",stopColor:s.colors.dclRed,stopOpacity:"0"})]})]}),e.jsx("path",{d:`M ${f} L 94 29 L 2 29 Z`,fill:`url(#${n}-fill)`}),e.jsx("path",{d:`M ${f}`,fill:"none",stroke:`url(#${n})`,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function qo({collection:t,discount:n,savesByKey:a,open:l,onToggle:o,onManage:h,env:f}){var y,L;const p=`store-items-${t.contractAddress}`;return e.jsxs(e.Fragment,{children:[e.jsxs(Ft,{"data-testid":"store-collection","data-exhausted":t.exhausted||void 0,children:[e.jsx(Tn,{type:"button","aria-expanded":l,"aria-controls":p,"aria-label":i(l?"myStore.collapse":"myStore.expand",{name:t.name}),onClick:o,"data-testid":"store-collection-toggle",children:e.jsx(lo,{name:"chevron-down",className:"ico","aria-hidden":!0})}),e.jsx(Pn,{"data-testid":"store-collection-thumb",children:e.jsx(us,{contractAddress:t.contractAddress})}),e.jsxs(Fn,{children:[e.jsxs(_n,{children:[e.jsx(re,{to:se(`/collection/${t.contractAddress}`,f),"data-testid":"store-collection-name",children:t.name}),t.exhausted?e.jsx(zn,{"data-testid":"store-collection-soldout",children:i("myStore.collExhausted")}):null]}),e.jsxs(Nn,{children:[i("myStore.itemsCount",{count:t.items.length}),t.listed>0?` · ${i("myStore.listedCount",{count:t.listed})}`:"",!t.exhausted&&t.soldOut>0?` · ${i("myStore.soldOutCount",{count:t.soldOut})}`:""]})]}),e.jsx(fo,{"data-testid":"store-collection-discount",children:n?e.jsxs(e.Fragment,{children:[e.jsxs(go,{children:[e.jsx(yo,{pct:n.discount/1e4}),e.jsx(bo,{until:n.checks.expiration})]}),e.jsx(wo,{children:Is(n)?i("myStore.discountUsed",{used:((y=n.state)==null?void 0:y.uses)??0,total:n.checks.uses}):i("myStore.discountUsedUncapped",{used:((L=n.state)==null?void 0:L.uses)??0})})]}):i("myStore.noDiscountShort")}),e.jsxs(xo,{"data-testid":"store-collection-claimed",children:[t.claimed.toLocaleString(),e.jsxs("small",{children:["/",t.runTotal.toLocaleString()]})]}),e.jsxs($o,{"data-testid":"store-collection-earned",children:[e.jsx(D,{kind:"mana"}),R(t.earningsWei)]}),e.jsx(En,{children:e.jsx(Ho,{series:t.trend})}),e.jsxs(ko,{as:"a",href:`${q.builderUrl}/collections/${t.collectionId}`,target:"_blank",rel:"noopener noreferrer",onClick:h,"data-testid":"store-manage",children:[i("myStore.manage"),e.jsx(z,{name:"external-link",size:14,"aria-hidden":!0})]})]}),l?e.jsxs(On,{id:p,"data-testid":"store-items",children:[e.jsxs(Dn,{"data-testid":"store-collection-stats",children:[e.jsxs("span",{children:[e.jsxs("b",{children:[e.jsx(D,{kind:"mana"}),R(t.earningsWei)]}),i("myStore.collEarned")]}),e.jsxs("span",{children:[e.jsx("b",{children:t.sold.toLocaleString()}),i("myStore.collSold")]}),e.jsxs("span",{children:[e.jsx("b",{children:t.items.length}),i("myStore.collItems",{count:t.items.length})]}),e.jsxs("span",{children:[e.jsx("b",{children:t.listed+t.classic}),i("myStore.collListed")]})]}),t.items.map(m=>{const T=_o(m,m.lifetimeSold);return e.jsxs(Bn,{"data-testid":"store-item",children:[e.jsx(Rn,{style:{backgroundImage:Ne(m.rarity)},children:m.thumbnail?e.jsx("img",{src:m.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(Hn,{children:[e.jsx(Vn,{to:se(`/item/${t.contractAddress}/${m.itemId}`,f),title:m.name,children:m.name}),e.jsxs(qn,{children:[e.jsx(Un,{style:{background:gs(m.rarity)},title:fs(m.rarity),children:xs(m.rarity)}),e.jsx(Yn,{"data-state":m.state,children:m.state==="soldout"?null:m.state==="unlisted"?i("myStore.stateUnlisted"):m.state==="unknown"?i("myStore.stateUnknown"):e.jsxs(e.Fragment,{children:[e.jsx(Jn,{children:i("myStore.onSaleFor")}),m.manaWei?e.jsxs(e.Fragment,{children:[e.jsx(D,{kind:"mana"}),R(_(m.manaWei))]}):e.jsxs(e.Fragment,{children:[e.jsx(D,{kind:"credits"}),e.jsx(ys,{credits:m.priceCredits??0})]})]})})]})]}),e.jsxs(Kn,{children:[m.sold.toLocaleString(),e.jsxs("small",{children:[" ",i("myStore.sold")]})]}),e.jsxs(vo,{"data-testid":"store-item-saves",title:i("myStore.savesHint",{count:a.get(m.key)??0}),children:[e.jsx(z,{name:"heart",className:"ico","aria-hidden":!0}),(a.get(m.key)??0).toLocaleString()]}),e.jsx(Gn,{role:"progressbar","aria-valuemin":0,"aria-valuemax":m.minted+m.left,"aria-valuenow":m.minted,"aria-label":i("myStore.runAria",{minted:m.minted,total:m.minted+m.left}),children:e.jsx("i",{style:{width:`${Math.round(m.minted/Math.max(1,m.minted+m.left)*100)}%`}})}),e.jsxs(Qn,{title:m.lifetimeSold==null?void 0:i("myStore.runBreakdown",{total:m.minted+m.left,sold:m.lifetimeSold,sent:m.minted-m.lifetimeSold,left:m.left}),children:[e.jsx(Xn,{"data-out":m.left===0,"data-testid":"store-item-stock",children:Wt(m.left===0?"myStore.stockNone":"myStore.stockLeft",{b:F=>e.jsx("b",{children:F}),left:m.left.toLocaleString(),total:(m.minted+m.left).toLocaleString()})}),T?e.jsx(Zn,{"data-testid":"store-item-issued",children:i("myStore.sentDirectly",{count:T.toLocaleString()})}):null]})]},m.key)})]}):null]})}function _e(t){return!!t&&!(t.current===0&&t.previous===0)}function Fe({delta:t,period:n}){if(!t||t.current===0&&t.previous===0)return null;const a=n==="all"?"":i(`myStore.vs${n}`);if(t.pct===null)return e.jsxs(Le,{"data-dir":"new","data-testid":"store-delta",children:[i("myStore.deltaNew"),a?e.jsx("span",{className:"delta__against",children:a}):null]});const l=Math.round(t.pct);if(l===0)return e.jsxs(Le,{"data-dir":"flat","data-testid":"store-delta",children:[i("myStore.deltaFlat"),a?e.jsx("span",{className:"delta__against",children:a}):null]});const o=l>0,f=l>=1e3?i("myStore.deltaTimes",{times:Math.round(l/100+1).toLocaleString()}):`${Math.abs(l)}%`;return e.jsxs(Le,{"data-dir":o?"up":"down","data-testid":"store-delta","aria-label":i(o?"myStore.deltaUpAria":"myStore.deltaDownAria",{pct:f,against:a}),children:[e.jsx("span",{className:"delta__arrow","aria-hidden":!0,children:o?"▲":"▼"}),f,a?e.jsx("span",{className:"delta__against",children:a}):null]})}function Uo(){return e.jsxs("div",{"data-testid":"store-skeleton","aria-hidden":!0,children:[e.jsx(Tt,{children:[0,1,2,3].map(t=>e.jsxs(V,{children:[e.jsx(b,{style:{width:"46%"}}),e.jsx(b,{style:{width:"32%",height:38}}),e.jsx(b,{style:{width:"64%",height:15}})]},t))}),e.jsxs(K,{style:{marginTop:22},children:[e.jsxs(ge,{children:[e.jsx(b,{style:{width:96,height:14}}),e.jsx(b,{style:{width:120}})]}),e.jsxs(_t,{children:[e.jsxs(zt,{"aria-hidden":!0,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx(b,{style:{width:84,height:12}}),e.jsx(b,{style:{width:74,height:12}}),e.jsx(b,{style:{width:62,height:12}}),e.jsx(b,{style:{width:68,height:12}}),e.jsx(b,{style:{width:82,height:12}}),e.jsx(b,{style:{width:60,height:12}})]}),Array.from({length:ye},(t,n)=>e.jsxs(Ft,{children:[e.jsx("span",{}),e.jsx(ro,{}),e.jsx(b,{style:{width:"82%",height:14}}),e.jsx(b,{style:{width:"70%",height:20}}),e.jsx(b,{style:{width:72}}),e.jsx(b,{style:{width:76}}),e.jsx(b,{style:{height:20}}),e.jsx(b,{style:{width:96,height:32,borderRadius:8}})]},n))]}),e.jsx(io,{as:"div",children:e.jsx(b,{style:{width:150,height:13,margin:"0 auto"}})})]}),e.jsx(Ot,{style:{marginTop:22},children:[0,1].map(t=>e.jsxs(K,{children:[e.jsxs(ge,{children:[e.jsx(b,{style:{width:110,height:14}}),e.jsx(b,{style:{width:80}})]}),e.jsx(yt,{children:[0,1,2,3].map(n=>e.jsx(b,{style:{width:46,height:9}},n))}),Array.from({length:we},(n,a)=>e.jsxs(bt,{children:[e.jsx(b,{style:{width:"38%"}}),e.jsx(b,{style:{width:"24%"}}),e.jsx(b,{style:{width:56}}),e.jsx(b,{style:{width:64}})]},a))]},t))}),e.jsxs(K,{style:{marginTop:22},children:[e.jsxs(ge,{children:[e.jsx(b,{style:{width:104,height:14}}),e.jsx(b,{style:{width:90}})]}),e.jsx(yt,{children:[0,1,2,3,4].map(t=>e.jsx(b,{style:{width:46,height:9}},t))}),Array.from({length:be},(t,n)=>e.jsxs(bt,{children:[e.jsx(b,{style:{width:"30%"}}),e.jsx(b,{style:{width:"18%"}}),e.jsx(b,{style:{width:72,height:18}}),e.jsx(b,{style:{width:"14%"}}),e.jsx(b,{style:{width:54}})]},n))]})]})}function pa(){var et,tt;is({title:i("myStore.title"),noindex:!0});const{session:t,error:n,signIn:a}=rs(),[l]=Zt(),[o,h]=C.useState("30d"),[f,p]=C.useState(()=>new Set),[y,L]=C.useState(0),[m,T]=C.useState(0),[F,I]=C.useState(!1),[N,E]=C.useState(To),[ne,oe]=C.useState(0),[O,G]=C.useState(!1),U=ls(),A=ds(),v=Oo(l.get("mock")),j=Do(l.get("viewAs")),w=l.get("env"),c=Xt("/").replace(/\/$/,""),x=d=>`${c}${d}`,S=v||!!j;function g(d,$={}){S||ms(d,$)}const{data:k}=cs(j??(t==null?void 0:t.address)),P=j??(t==null?void 0:t.address),{data:Y}=Ws(P),Re=Ls.filter(d=>Y==null?void 0:Y.links[d]),He=(tt=(et=k==null?void 0:k.avatar)==null?void 0:et.snapshots)==null?void 0:tt.face256,qe=k!=null&&k.name?Mt(k.name):null,{stats:Rt,trend:Ue,savesByKey:Ht,saleable:Ve,isLoading:qt,error:Ut}=Xs(t,o,j),u=v?De:Rt,W=v?{...Ue,collectors:an,buyers:rn}:Ue,Vt=v?!1:qt,Kt=v?dn:Ht,je=Eo(j??(t==null?void 0:t.address),o,m),le=v?hn:je.rows,Gt=C.useMemo(()=>[...new Set(le.map(d=>d.buyer.toLowerCase()))].sort(),[le]),{data:de,isLoading:Yt}=vt(Gt),Se=Math.max(1,Math.ceil(W.buyers.length/be)),ce=Math.min(ne,Se-1),ke=C.useMemo(()=>W.buyers.slice(ce*be,(ce+1)*be),[W.buyers,ce]),Qt=C.useMemo(()=>ke.map(d=>d.address).sort(),[ke]),{data:he}=vt(Qt),{data:Jt}=vs(j??(t==null?void 0:t.address),U&&(!!t||!!j)),Ke=((u==null?void 0:u.collections)??[]).some(d=>d.exhausted),$e=N==="selling"&&!Ke?"sold":N,Ge=Math.max(1,Math.ceil(((u==null?void 0:u.collections.length)??0)/ye)),Ye=C.useMemo(()=>zo((u==null?void 0:u.collections)??[],$e),[u,$e]),ve=C.useMemo(()=>Us((u==null?void 0:u.collections)??[]),[u]),pe=Math.min(y,Ge-1),Qe=C.useMemo(()=>Ye.slice(pe*ye,(pe+1)*ye),[Ye,pe]);if(A==="off")return e.jsx(es,{to:"/",replace:!0});if(!t&&!j&&!v)return e.jsxs(hs,{children:[e.jsx(ps,{testId:"my-store-signin",icon:Ts,title:i("myStore.signInTitle"),body:i("myStore.signInBody"),cta:{label:i("storeSettings.signIn"),onClick:()=>a()},ctaVariant:"solid",fill:!0}),e.jsx(ot,{message:n})]});const Je=v?ln:Jt,Ce=new Map;for(const d of Je??[])if(!(d.status!=="active"&&d.status!=="scheduled"))for(const $ of d.collections)Ce.set($.toLowerCase(),d);const Ze=(Je??[]).filter(d=>d.status==="active"||d.status==="scheduled"),Xe=o==="7d"?7:o==="30d"?30:null,Ae=((u==null?void 0:u.collections)??[]).reduce((d,$)=>d+$.items.length,0);return e.jsx(zs,{children:e.jsx(_s,{children:e.jsxs(pn,{"data-testid":"my-store",children:[F&&t?e.jsx(Cs,{session:t,collections:Ve,onClose:()=>I(!1),source:"my_store",silent:S}):null,e.jsxs(mn,{children:[e.jsxs(un,{children:[e.jsx(fn,{style:He?{backgroundImage:`url(${He})`}:void 0,"data-testid":"store-avatar","aria-hidden":!0}),e.jsxs(xn,{children:[qe?e.jsx(gn,{children:qe}):null,e.jsxs(bn,{children:[e.jsx(yn,{children:i("myStore.title")}),u?e.jsxs(lt,{children:[i("myStore.summary",{collections:u.collections.length,items:Ae}),Re.length>0?e.jsx(kn,{"data-testid":"store-socials",children:Re.map(d=>e.jsx($n,{href:(Y==null?void 0:Y.links[d])??"",target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"social_link",link_type:d}),title:i(`creator.link.${d}`),"aria-label":i(`creator.link.${d}`),children:e.jsx(z,{name:Fo[d],className:"ico","aria-hidden":!0})},d))}):null]}):e.jsx(lt,{children:e.jsx(b,{style:{width:170,background:"rgba(252, 252, 252, 0.18)",animation:"none"}})})]})]})]}),e.jsxs(wn,{children:[P?e.jsxs(jn,{href:x(se(`/items/creator/${P}`,w)),target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"view_public_store"}),"data-testid":"store-view-public",children:[i("myStore.viewPublicStore"),e.jsx(z,{name:"external-link",className:"ico","aria-hidden":!0})]}):null,j?null:e.jsxs(Sn,{to:se("/store-settings",w),state:{from:"/my-store"},onClick:()=>g("Shop Clicked Store Action",{action:"edit_store"}),"data-testid":"store-edit",children:[e.jsx(z,{name:"pen",className:"ico","aria-hidden":!0}),i("myStore.editStore")]})]})]}),e.jsxs(vn,{children:[e.jsx(Cn,{children:i("myStore.performance")}),e.jsx(An,{role:"group","aria-label":i("myStore.period"),children:Wo.map(d=>e.jsx(In,{type:"button","aria-pressed":o===d,onClick:()=>{d!==o&&g("Shop Changed Store Period",{period:d,previous_period:o}),h(d),T(0)},"data-testid":`store-period-${d}`,children:i(`myStore.period${d}`)},d))})]}),j?e.jsx(ao,{"data-testid":"store-view-as",children:i("myStore.viewingAs",{address:j})}):null,e.jsx(ot,{message:Ut?i("myStore.error"):null,testId:"my-store-error"}),Vt||!u?e.jsx(Uo,{}):e.jsxs(e.Fragment,{children:[e.jsxs(Tt,{"aria-label":i("myStore.summaryAria"),children:[e.jsxs(V,{children:[e.jsxs(Z,{children:[i("myStore.tileSold"),e.jsx(X,{"aria-hidden":!0,children:"🛍️"})]}),e.jsx(ee,{children:e.jsx("span",{"data-testid":"store-sold",children:u.sold.toLocaleString()})}),e.jsxs(te,{children:[e.jsx(Fe,{delta:W.sold,period:o}),!_e(W.sold)&&(u.sold===0?i("myStore.tileSoldNone"):u.resales===0?i("myStore.tileSoldFootMintsOnly",{mints:u.mints}):i("myStore.tileSoldFoot",{mints:u.mints,resales:u.resales}))]})]}),e.jsxs(V,{children:[e.jsxs(Z,{children:[i("myStore.tileEarnings"),e.jsx(X,{"aria-hidden":!0,children:"💰"})]}),e.jsxs(ee,{children:[e.jsx(D,{kind:"mana"}),R(u.earningsWei),e.jsx(dt,{children:i("myStore.manaUnit")})]}),e.jsxs(te,{children:[e.jsx(Fe,{delta:W.earnings,period:o}),u.partial?e.jsxs(e.Fragment,{children:[e.jsx(ct,{children:i("myStore.estimate")})," ",i("myStore.tileEarningsPartial")]}):_e(W.earnings)?null:i("myStore.tileEarningsFoot")]})]}),e.jsxs(V,{children:[e.jsxs(Z,{children:[i("myStore.tileListed"),e.jsx(X,{"aria-hidden":!0,children:"🏷️"})]}),e.jsxs(ee,{children:[u.listed+u.classic,e.jsx(dt,{children:i("myStore.ofTotal",{n:Ae})})]}),e.jsx(te,{children:Ae===0?i("myStore.tileListedNone"):i("myStore.tileListedFoot",{count:u.neverListed})})]}),e.jsxs(V,{children:[e.jsxs(Z,{children:[i("myStore.tileDiscounts"),e.jsx(X,{"aria-hidden":!0,children:"🔥"})]}),e.jsx(ee,{"data-testid":"store-discounts",children:Ze.length}),e.jsx(te,{children:Ze.length>0?i("myStore.tileDiscountsFoot"):i("myStore.tileDiscountsNone")})]})]}),u.classic>0&&!O?e.jsx(As,{count:u.classic,reason:"discounts",to:se("/activity?section=listings",w),onDismiss:()=>{g("Shop Clicked Store Action",{action:"dismiss_pricing_banner",classic_items:u.classic}),G(!0)},onCta:()=>g("Shop Clicked Store Action",{action:"update_prices",classic_items:u.classic})}):null,e.jsxs(K,{"aria-labelledby":"store-coll-h",children:[e.jsxs(jo,{children:[e.jsx(me,{id:"store-coll-h",children:i("myStore.collectionsCount",{count:u.collections.length})}),e.jsxs(So,{children:[u.collections.length>1?e.jsx(Wn,{options:[{value:"sold",label:i("myStore.sortSold")},...Ke?[{value:"selling",label:i("myStore.sortSelling")}]:[],...u.collections.some(d=>d.createdAt)?[{value:"newest",label:i("myStore.sortNewest")}]:[],{value:"name",label:i("myStore.sortName")}],value:$e,onChange:d=>{g("Shop Sorted Store Collections",{sort:d}),E(d),Po(d)},align:"right",ariaLabel:i("myStore.sortBy"),className:"store-sort"}):null,v||U&&!j&&t&&Ve.length>0?e.jsxs(It,{variant:"red",size:"sm",onClick:()=>I(!0),"data-testid":"store-new-discount",children:[e.jsx("span",{"aria-hidden":!0,children:"🔥"}),i("myStore.newDiscount")]}):null]})]}),u.collections.length===0?e.jsx(ue,{children:i("myStore.noCollections")}):e.jsx(e.Fragment,{children:e.jsxs(_t,{children:[e.jsxs(zt,{"aria-hidden":!0,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{children:i("myStore.colCollection")}),e.jsx("span",{children:i("myStore.colDiscounts")}),e.jsx("span",{children:i("myStore.colClaimed")}),e.jsx("span",{children:i("myStore.colEarnings")}),e.jsx("span",{children:Xe?i("myStore.colTrend",{days:Xe}):i("myStore.colTrendAll")}),e.jsx("span",{children:i("myStore.colActions")})]}),Qe.map(d=>e.jsx(qo,{collection:d,discount:Ce.get(d.contractAddress)??null,savesByKey:Kt,env:w,open:f.has(d.contractAddress),onToggle:()=>{f.has(d.contractAddress)||g("Shop Expanded Store Collection",{contract_address:d.contractAddress,items:d.items.length,exhausted:d.exhausted,has_discount:Ce.has(d.contractAddress)}),p($=>{const M=new Set($);return M.delete(d.contractAddress)||M.add(d.contractAddress),M})},onManage:()=>g("Shop Clicked Store Action",{action:"manage_collection",contract_address:d.contractAddress})},d.contractAddress))]})}),u.collections.length>0?e.jsxs(Pe,{children:[e.jsxs("span",{"data-testid":"store-showing",children:[i("myStore.showingOf",{shown:Qe.length.toLocaleString(),total:u.collections.length.toLocaleString()}),u.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",i("myStore.soldPartial",{n:u.fetched.toLocaleString()})]}):null]}),e.jsx(ze,{page:pe,pages:Ge,onChange:d=>{g("Shop Paged Store Table",{table:"collections",page:d+1}),L(d)},name:"collections"})]}):null]}),e.jsxs(Ot,{children:[e.jsxs(K,{"aria-labelledby":"store-best-h",children:[e.jsx(jt,{children:e.jsxs("div",{children:[e.jsx(me,{id:"store-best-h",children:i("myStore.bestSellers")}),e.jsxs(wt,{children:[i("myStore.bestSellersSub",{n:ve.length}),u.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",i("myStore.soldPartial",{n:u.fetched.toLocaleString()})]}):null]})]})}),ve.length===0?e.jsx(ue,{children:i("myStore.noBestSellers")}):e.jsx(We,{children:e.jsxs(Ao,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:e.jsxs(kt,{children:[e.jsx(St,{"aria-hidden":!0,children:"#"}),i("myStore.colItem")]})}),e.jsx("th",{scope:"col",children:i("myStore.colCollection")}),e.jsx("th",{scope:"col",style:{textAlign:"center"},children:i("myStore.colSold")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:i("myStore.colEarnings")})]})}),e.jsx("tbody",{children:ve.map((d,$)=>e.jsxs("tr",{"data-testid":"store-best",children:[e.jsx("td",{children:e.jsxs(kt,{children:[e.jsx(St,{children:$+1}),e.jsxs(mt,{as:"a",href:x($t(d.contractAddress,d.itemId,w)),target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_item",table:"best_sellers",rank:$+1}),"data-testid":"store-best-item",children:[e.jsx(ut,{style:{backgroundImage:Ne(d.rarity)},children:d.thumbnail?e.jsx("img",{src:d.thumbnail,alt:"",loading:"lazy"}):null}),e.jsx("span",{children:d.name})]})]})}),e.jsx("td",{"data-dim":!0,children:d.collectionName}),e.jsx("td",{style:{textAlign:"center",fontWeight:600},"data-testid":"store-best-sold",children:d.sold.toLocaleString()}),e.jsx("td",{"data-money":!0,children:e.jsxs(Te,{children:[e.jsx(D,{kind:"mana"}),R(d.earnedWei)]})})]},d.key))})]})})]}),e.jsxs(K,{"aria-labelledby":"store-feed-h",children:[e.jsxs(jt,{children:[e.jsxs("div",{children:[e.jsx(me,{id:"store-feed-h",children:i("myStore.recentSales")}),e.jsx(wt,{children:i("myStore.recentSalesSub")})]}),e.jsxs(Co,{to:"/activity",onClick:()=>g("Shop Clicked Store Action",{action:"view_all_sales"}),children:[i("myStore.viewAll"),e.jsx(z,{name:"arrow-up-right",size:14,"aria-hidden":!0})]})]}),le.length===0?e.jsx(ue,{children:i("myStore.noSales")}):e.jsx(We,{children:e.jsxs(Io,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:i("myStore.colItem")}),e.jsx("th",{scope:"col",children:i("myStore.colCollection")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:i("myStore.colPrice")}),e.jsx("th",{scope:"col",children:i("myStore.colBuyer")}),e.jsx("th",{scope:"col",children:i("myStore.colDate")})]})}),e.jsx("tbody",{children:le.map(d=>{var st,nt;const $=u.collections.find(Ie=>Ie.contractAddress===d.contractAddress.toLowerCase()),M=$==null?void 0:$.items.find(Ie=>Ie.itemId===d.itemId),Q=de==null?void 0:de.get(d.buyer.toLowerCase()),ae=(nt=(st=Q==null?void 0:Q.avatar)==null?void 0:st.snapshots)==null?void 0:nt.face256;return e.jsxs("tr",{"data-testid":"store-sale",children:[e.jsx("td",{children:e.jsxs(mt,{as:d.itemId?"a":"span",...d.itemId?{href:x($t(d.contractAddress,d.itemId,w)),target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_item",table:"recent_sales"}),"data-testid":"store-sale-item"}:{},children:[e.jsx(ut,{style:{backgroundImage:Ne(M==null?void 0:M.rarity)},children:M!=null&&M.thumbnail?e.jsx("img",{src:M.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(Mo,{children:[e.jsx("span",{children:(M==null?void 0:M.name)??($==null?void 0:$.name)??d.itemId??i("myStore.unknownItem")}),e.jsx(xe,{content:i("myStore.kindHint"),children:e.jsx(oo,{"data-kind":d.type,"data-testid":"store-kind-hint",children:d.type==="mint"?i("myStore.kindMint"):i("myStore.kindResale")})})]})]})}),e.jsx("td",{"data-dim":!0,children:($==null?void 0:$.name)??"—"}),e.jsx("td",{"data-money":!0,children:e.jsxs(Te,{children:[e.jsx(D,{kind:"mana"}),R(_(d.price))]})}),e.jsx("td",{children:Yt?e.jsxs(eo,{"aria-hidden":!0,children:[e.jsx("i",{}),e.jsx("b",{})]}):e.jsxs(xt,{href:`${q.profileUrl}/${d.buyer}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_buyer",table:"recent_sales"}),"data-testid":"store-sale-buyer",children:[e.jsx(ft,{style:ae?{backgroundImage:`url(${ae})`}:void 0,"aria-hidden":!0}),Ct(d.buyer,de)]})}),e.jsx("td",{"data-dim":!0,children:At(d.timestamp)})]},d.id)})})]})}),je.pages>1?e.jsxs(Pe,{children:[e.jsx("span",{}),e.jsx(ze,{page:m,pages:je.pages,onChange:d=>{g("Shop Paged Store Table",{table:"recent_sales",page:d+1}),T(d)},name:"sales"})]}):null]})]}),e.jsxs(co,{children:[e.jsx(ho,{id:"store-audience-h",children:i("myStore.audience")}),e.jsx(po,{children:i("myStore.audienceSub")})]}),e.jsxs(mo,{children:[e.jsxs(V,{children:[e.jsxs(Z,{children:[e.jsxs("span",{children:[i("myStore.tileCollectors"),e.jsx(xe,{content:i("myStore.collectorsHint"),children:e.jsx(pt,{type:"button","aria-label":i("myStore.tileCollectors"),"data-testid":"store-collectors-hint",children:e.jsx(z,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(X,{"aria-hidden":!0,children:"👥"})]}),e.jsx(ee,{"data-testid":"store-collectors",children:W.collectors.total.toLocaleString()}),e.jsx(te,{children:W.collectors.total===0?i("myStore.tileCollectorsNone"):e.jsxs(e.Fragment,{children:[u.breakdownPartial?e.jsxs(e.Fragment,{children:[e.jsx(ct,{children:i("myStore.estimate")})," "]}):null,W.collectors.topSharePct>=50?i("myStore.tileCollectorsConcentrated",{pct:Math.floor(W.collectors.topSharePct)}):i("myStore.tileCollectorsFoot",{repeat:W.collectors.repeat,pct:Math.round(W.collectors.repeatPct)})]})})]}),u.royalties?e.jsxs(V,{children:[e.jsxs(Z,{children:[e.jsxs("span",{children:[i("myStore.tileRoyalties"),e.jsx(xe,{content:i("myStore.royaltiesHint"),children:e.jsx(pt,{type:"button","aria-label":i("myStore.tileRoyalties"),"data-testid":"store-royalties-hint",children:e.jsx(z,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(X,{"aria-hidden":!0,children:"🔁"})]}),e.jsxs(ee,{"data-testid":"store-royalties",children:[e.jsx(Mn,{children:"≈"}),e.jsx(D,{kind:"mana"}),R(Ro(u.royalties.volumeWei))]}),e.jsxs(te,{children:[e.jsx(Fe,{delta:W.royalties,period:o}),_e(W.royalties)?null:e.jsx("span",{children:Wt("myStore.tileRoyaltiesFoot",{m:d=>e.jsxs(e.Fragment,{children:[e.jsx(D,{kind:"mana"}),d]}),count:u.royalties.resales,volume:R(u.royalties.volumeWei)})})]})]}):null]}),e.jsxs(K,{"aria-labelledby":"store-buyers-h",children:[e.jsxs(ge,{children:[e.jsx(me,{id:"store-buyers-h",children:i("myStore.buyers")}),e.jsx(Ln,{children:i("myStore.buyersHint")})]}),W.buyers.length===0?e.jsx(ue,{"data-testid":"store-buyers-none",children:i("myStore.noBuyers")}):e.jsx(We,{children:e.jsxs(uo,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:i("myStore.colBuyer")}),e.jsx("th",{scope:"col",children:i("myStore.colItems")}),e.jsx("th",{scope:"col",children:i("myStore.colCollections")}),e.jsx("th",{scope:"col",children:i("myStore.colLast")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:i("myStore.colSpent")})]})}),e.jsx("tbody",{children:ke.map(d=>{var M,Q,ae;const $=(ae=(Q=(M=he==null?void 0:he.get(d.address))==null?void 0:M.avatar)==null?void 0:Q.snapshots)==null?void 0:ae.face256;return e.jsxs("tr",{"data-testid":"store-buyer",children:[e.jsx("td",{children:e.jsxs(xt,{href:`${q.profileUrl}/${d.address}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_buyer",table:"buyers"}),"data-testid":"store-buyer-name",children:[e.jsx(ft,{style:$?{backgroundImage:`url(${$})`}:void 0,"aria-hidden":!0}),Ct(d.address,he)]})}),e.jsx("td",{"data-dim":!0,children:i("myStore.buyerItems",{count:d.items})}),e.jsx("td",{"data-dim":!0,children:i("myStore.buyerCollections",{count:d.collections})}),e.jsx("td",{"data-dim":!0,children:At(d.lastAt)}),e.jsx("td",{"data-money":!0,children:e.jsxs(Te,{children:[e.jsx(D,{kind:"mana"}),R(d.spentWei)]})})]},d.address)})})]})}),Se>1?e.jsxs(Pe,{children:[e.jsx("span",{}),e.jsx(ze,{page:ce,pages:Se,onChange:d=>{g("Shop Paged Store Table",{table:"buyers",page:d+1}),oe(d)},name:"buyers"})]}):null]})]})]})})})}export{pa as MyStore,pa as default};
|
|
1639
|
+
//# sourceMappingURL=MyStore-Cpl5KPnh.js.map
|