@dcl/shop 1.18.2-36596222687.commit-e723a5f → 1.18.2-36637388260.commit-7062577
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-Cf5KdXNN.js → Activity-BWPAS4UU.js} +4 -4
- package/_assets/{AnimatedBackground-EY8ht4TC.js → AnimatedBackground-G4zt6L3g.js} +6 -6
- package/_assets/{Assets-DzIogfEM.js → Assets-Cki36jJt.js} +3 -3
- package/_assets/Cart-BHCWXLFp.js +826 -0
- package/_assets/{Collection-C8Dd8FmT.js → Collection-Cgj5YU5b.js} +2 -2
- package/_assets/{CollectionCarousel-CFBhlfVv.js → CollectionCarousel-cU9fE44V.js} +5 -5
- package/_assets/{Confetti-CruhEc0J.js → Confetti-CjOanCOj.js} +4 -4
- package/_assets/{ConstantsUtil-BidlXg_A.js → ConstantsUtil-CxrIRg6c.js} +2 -2
- package/_assets/{ContentClient-DkVFbT-p.js → ContentClient-Cv8a5s82.js} +2 -2
- package/_assets/{Creator-IEFgaaOA.js → Creator-CGnnAe6V.js} +2 -2
- package/_assets/{CreditPackPicker-B6EOVAjz.js → CreditPackPicker-CYUT6H0R.js} +2 -2
- package/_assets/{CreditRate-D6i8PuU3.js → CreditRate-DG--2wgq.js} +2 -2
- package/_assets/{DeploymentBuilder-CpiE4qB4.js → DeploymentBuilder-DGHxUcBN.js} +2 -2
- package/_assets/{EmotePlaybackBar-C9azQJjZ.js → EmotePlaybackBar-DCMIz4N3.js} +3 -3
- package/_assets/{ErrorNotice-Iy-4Sj0K.js → ErrorNotice-Bd1f01au.js} +2 -2
- package/_assets/{Event-DPx7HS4D.js → Event-Bp330Mt4.js} +2 -2
- package/_assets/{ExchangeController-DZQGs7wL.js → ExchangeController-BXQzZPxc.js} +2 -2
- package/_assets/{Faq-bfuCP5Sr.js → Faq-BFIKjL7K.js} +2 -2
- package/_assets/{Filters-B1xIl1HC.js → Filters-D7X_-lAk.js} +2 -2
- package/_assets/{GetCredits-D49nWGhw.js → GetCredits-DUKi7f6r.js} +2 -2
- package/_assets/{Grow-BedUDGV9.js → Grow-BNc3OxEI.js} +2 -2
- package/_assets/{HelpersUtil-DoqSZaIg.js → HelpersUtil-OvAMA6uy.js} +2 -2
- package/_assets/{IssueModal-DXq0b45G.js → IssueModal-BDZ6BC8p.js} +2 -2
- package/_assets/{ItemDetail-Bp3Ynp7x.js → ItemDetail-BWDV8eA0.js} +2 -2
- package/_assets/{LoadMore-COLbfRMM.js → LoadMore-DV_d2UwD.js} +2 -2
- package/_assets/{ManaPricingBanner-BKO02aom.js → ManaPricingBanner-DSg-DD_t.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-CBsgZtCt.js → ManaPricingBanner.styles-BLKFmwn_.js} +2 -2
- package/_assets/{MyAssets-Bt1eaSp8.js → MyAssets-BO_A3alu.js} +2 -2
- package/_assets/{MyFavorites-DSPrsRBD.js → MyFavorites-De_aYwxH.js} +2 -2
- package/_assets/{MyStore-DHX0T0F5.js → MyStore-CxWNhONl.js} +2 -2
- package/_assets/{NetworkUtil-JX9Qt66q.js → NetworkUtil-BZSm-jkr.js} +2 -2
- package/_assets/{NotFound-BsbGRyK7.js → NotFound-Bzlb-Z6G.js} +2 -2
- package/_assets/{NotificationsBell-BKGnGtnc.js → NotificationsBell-B0MRoKUM.js} +2 -2
- package/_assets/{OutfitDetail-CSdzWKWQ.js → OutfitDetail-18pt1QUG.js} +2 -2
- package/_assets/{OutfitPreview-WWFtHB-6.js → OutfitPreview-Cv3t6kFC.js} +2 -2
- package/_assets/{OutfitStudio-BsrFNOYU.js → OutfitStudio-DycSsoI9.js} +2 -2
- package/_assets/{PaymentMethodStep-DpMhlmT5.js → PaymentMethodStep-DmPMXhlz.js} +2 -2
- package/_assets/{SaleCountdown-Ba7mqcVP.js → SaleCountdown-CbQFzYoT.js} +2 -2
- package/_assets/{Spinner-DdIAbYe3.js → Spinner-BWjwap-G.js} +2 -2
- package/_assets/{StoreSettings-DtNOEPT9.js → StoreSettings-muKQ73z3.js} +2 -2
- package/_assets/{Success-Du_mUU9a.js → Success-u2-GF7X_.js} +2 -2
- package/_assets/{SwapController-D2Tsn475.js → SwapController-BPzYwtAA.js} +2 -2
- package/_assets/{Tooltip-DC6b6Uko.js → Tooltip-BEBGqPkx.js} +2 -2
- package/_assets/{TradeService-CI5HxvnS.js → TradeService-JJ5nNXpS.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-DwBPxDY1.js → W3MFrameProviderSingleton-DXnPGHMS.js} +4 -4
- package/_assets/{WebCryptoP256-GRfawq6m.js → WebCryptoP256-uIuxt_Cj.js} +2 -2
- package/_assets/{basic-Ba6vMoqK.js → basic-TyhgZv5N.js} +2 -2
- package/_assets/{biconomy-GzxuDIVy.js → biconomy-BtFaTu70.js} +2 -2
- package/_assets/{browseLayout.styles-DnimQF1x.js → browseLayout.styles-CHHDveY2.js} +2 -2
- package/_assets/{browser-CLK_ympl.js → browser-CE67GlJt.js} +2 -2
- package/_assets/{browser-to6Yv8JB.js → browser-SzzkL88j.js} +2 -2
- package/_assets/{browser-ponyfill-Crh13GOd.js → browser-ponyfill-B7NhZBc6.js} +2 -2
- package/_assets/{buy-BkB20JeU.js → buy-CcmRcJZ4.js} +2 -2
- package/_assets/{buy-gasless-nv4rwo_z.js → buy-gasless-YzdaXjQE.js} +2 -2
- package/_assets/{ccip-2MLVT_N1.js → ccip-BVKcN7Jr.js} +2 -2
- package/_assets/{ccip-BpggFcNB.js → ccip-NOIN_H05.js} +2 -2
- package/_assets/{chains-B-xRZLU-.js → chains-BrEv4QDD.js} +2 -2
- package/_assets/collectionPage.styles-DTD4yMSv.js +41 -0
- package/_assets/{common-BynAIIbN.js → common-B2YErlYG.js} +2 -2
- package/_assets/{controller-CqDOFAHe.js → controller-C0Rma1a5.js} +3 -3
- package/_assets/{core-C_YgI0Td.js → core-fw1bUzhk.js} +5 -5
- package/_assets/{createSvgIcon-B2Vg3paD.js → createSvgIcon-CfDgfB7_.js} +2 -2
- package/_assets/{crumbs.styles-J707O2uG.js → crumbs.styles-D-A76RyM.js} +2 -2
- package/_assets/{custom-C4Ndgr3M.js → custom-D-voCK6h.js} +2 -2
- package/_assets/{data-capture-BFFGHd8b.js → data-capture-DApNW5q6.js} +2 -2
- package/_assets/{dcl-schemas-LawD6Riy.js → dcl-schemas-BdKiENaP.js} +2 -2
- package/_assets/{decimals-jMhkjkOf.js → decimals-CYB5hUEj.js} +2 -2
- package/_assets/{decimals-DLwOu0Zu.js → decimals-uN4lHh8H.js} +2 -2
- package/_assets/{detectExtension-xWXQ3kPM.js → detectExtension-B67sPubD.js} +2 -2
- package/_assets/{disposePreview-CYpHhisI.js → disposePreview-D9QW9FbO.js} +2 -2
- package/_assets/{email-CElqqZsc.js → email-CdY1D1Xt.js} +2 -2
- package/_assets/{embedded-wallet-C_RhasGd.js → embedded-wallet-Dh2L_oOq.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-CyiVsHYQ.js → emotion-styled.browser.esm-Bh__b0mj.js} +2 -2
- package/_assets/{engine-aL9aWkzh.js → engine-BpDMdzm1.js} +2 -2
- package/_assets/{errors-ByG36a5U.js → errors-C8z3HbKi.js} +2 -2
- package/_assets/{estimate-l1-fee-08qOiAeM.js → estimate-l1-fee-BSBc0Gj8.js} +2 -2
- package/_assets/{eth_estimateGas-BuEQRglB.js → eth_estimateGas-BjQF_Cs_.js} +2 -2
- package/_assets/{eth_getStorageAt-DmyekUL-.js → eth_getStorageAt-DiJKBoRf.js} +2 -2
- package/_assets/{eth_getTransactionCount-DJRzDmUM.js → eth_getTransactionCount-HqayNVHj.js} +2 -2
- package/_assets/{ethereum-CML2MbZ1.js → ethereum-TgQ46dss.js} +2 -2
- package/_assets/{ethers-CDATtpGn.js → ethers-kd3kVp8g.js} +2 -2
- package/_assets/{events-otDV8pEE.js → events-Did78EPF.js} +2 -2
- package/_assets/{execute-DiM_499L.js → execute-DzsdsEn5.js} +3 -3
- package/_assets/{extractIPFS-FPEr940W.js → extractIPFS-Er0Wev2H.js} +2 -2
- package/_assets/{features-DCfCpaRM.js → features-1UZKGlrt.js} +2 -2
- package/_assets/{fetchTokenMetadata-BV3jqOx2.js → fetchTokenMetadata-B7VQ8alh.js} +3 -3
- package/_assets/{field.styles--ZQi7zKo.js → field.styles-BkJJPv9I.js} +2 -2
- package/_assets/{fortmatic-DQbHSYSc.js → fortmatic-9A9-ZgbA.js} +2 -2
- package/_assets/{get-bytecode-j8za_w6d.js → get-bytecode-nK6XUd7k.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-FG0VhjON.js → get-ecosystem-wallet-info-C-NnCPjb.js} +2 -2
- package/_assets/{getBalance-BXCZcj7F.js → getBalance-lGrhpvSf.js} +3 -3
- package/_assets/{getInstalledModules-DEOGl_YT.js → getInstalledModules-CWM6MJvs.js} +2 -2
- package/_assets/{getNFT-DknbOTE0.js → getNFT-D0TXlqCz.js} +3 -3
- package/_assets/{getNFT-D-eiHaOl.js → getNFT-DzC5f1R1.js} +2 -2
- package/_assets/{grid.styles-CqC1trF-.js → grid.styles-ONzgF6tx.js} +2 -2
- package/_assets/{hashTypedData-CVyFCHan.js → hashTypedData-BFSLIP6T.js} +2 -2
- package/_assets/{hashTypedData-BNLh4WB4.js → hashTypedData-CS1OE-zF.js} +2 -2
- package/_assets/{import-COrWT_bb.js → import-DeeZqvj1.js} +2 -2
- package/_assets/{in-app-DzxYrr-h.js → in-app-2w1VU0mF.js} +2 -2
- package/_assets/{in-app-wallet-calls-DLW77sYV.js → in-app-wallet-calls-BtsG4KLo.js} +2 -2
- package/_assets/{index-qs3T-yNi.js → index-0jhvWSml.js} +2 -2
- package/_assets/{index-BXAXbJM-.js → index-1EO4YCaM.js} +2 -2
- package/_assets/{index-BdvwIWuW.js → index-AkCwwsxs.js} +2 -2
- package/_assets/{index-DoPxWnXP.js → index-B1Fk54Xy.js} +2 -2
- package/_assets/{index-OYB8G9r6.js → index-B394YkDk.js} +2 -2
- package/_assets/{index-CM86Ub3o.js → index-B6OjSOaU.js} +2 -2
- package/_assets/{index-Cm4D01ZT.js → index-B7aSiR4q.js} +2 -2
- package/_assets/{index-DrIG769R.js → index-B9ls1Whg.js} +2 -2
- package/_assets/{index-Cvs44vvq.js → index-BCIOF979.js} +2 -2
- package/_assets/{index-BkTB_F8x.js → index-BDxkDIWS.js} +2 -2
- package/_assets/{index-BG42uLkG.js → index-BOHq6INj.js} +2 -2
- package/_assets/{index-NG8LLSeq.js → index-BQRWW3V4.js} +2 -2
- package/_assets/{index-Bpz_UwBF.js → index-BTZV7OCM.js} +2 -2
- package/_assets/{index-C0oDP61j.js → index-BTlrmz-0.js} +2 -2
- package/_assets/{index-oU_1K2qI.js → index-BYq79bRo.js} +2 -2
- package/_assets/{index-C6nFFoT0.js → index-Bc_GCFNg.js} +2 -2
- package/_assets/{index-BF5UlKi7.js → index-Bj1Rt5tA.js} +2 -2
- package/_assets/{index-DbhDHyIK.js → index-BjwVryJx.js} +2 -2
- package/_assets/{index-n6QYulUY.js → index-BmGw3adR.js} +4 -4
- package/_assets/{index-Ca8qGOAa.js → index-BmZ7HK6t.js} +2 -2
- package/_assets/{index-Dr9YeK7Q.js → index-BseS0J2l.js} +2 -2
- package/_assets/{index-CQVnuBPI.js → index-BvRsZyIm.js} +2 -2
- package/_assets/{index-BjvhsRri.js → index-Bzys3QM4.js} +3 -3
- package/_assets/{index-C1QY3W7n.js → index-C1fnANX5.js} +2 -2
- package/_assets/{index-ByeIlFtr.js → index-C85G3c1J.js} +2 -2
- package/_assets/{index-cZJEpWIc.js → index-CFR26c1x.js} +2 -2
- package/_assets/{index-B1H9rkP5.js → index-CKADy2us.js} +2 -2
- package/_assets/{index-CypApllk.js → index-CLeFgNsE.js} +2 -2
- package/_assets/{index-CmYwsp-d.js → index-CQKMOxqA.js} +2 -2
- package/_assets/{index-D1jvenOF.js → index-CRccPpmH.js} +2 -2
- package/_assets/{index-Cty--X-i.js → index-CVT9k4QD.js} +2 -2
- package/_assets/{index-DhRK11hD.js → index-CWrVN1S8.js} +4 -4
- package/_assets/{index-CnjWDman.js → index-CY6J_TcT.js} +2 -2
- package/_assets/{index-pCerp87o.js → index-CoieDRUw.js} +2 -2
- package/_assets/{index-tAk21r6Y.js → index-Cua0sPPT.js} +2 -2
- package/_assets/{index-CdzPUuFR.js → index-D0LXjl1o.js} +3 -3
- package/_assets/{index-DIWXPWGD.js → index-D7EQyQF6.js} +421 -421
- package/_assets/{index-DH1Iw2AE.js → index-DBUKOkYg.js} +2 -2
- package/_assets/{index-5HeOpljO.js → index-DGygWgiw.js} +2 -2
- package/_assets/{index-seP4Qf5k.js → index-DKEuDdzi.js} +2 -2
- package/_assets/{index-DZ1sT9j2.js → index-DPV80msS.js} +2 -2
- package/_assets/{index-DeCa1UEM.js → index-DUe1XtDp.js} +2 -2
- package/_assets/{index-BUq1JZc1.js → index-DVVVeN4G.js} +2 -2
- package/_assets/{index-H0tUO8sX.js → index-DVgQ_ieI.js} +2 -2
- package/_assets/{index-QgcvhcnT.js → index-DW10w3so.js} +2 -2
- package/_assets/{index-Z1ghR6qc.js → index-DZYThN4u.js} +2 -2
- package/_assets/{index-BEW_JtFA.js → index-D_vXhkpQ.js} +2 -2
- package/_assets/{index-sRzDSrAK.js → index-DcHM4SH7.js} +2 -2
- package/_assets/{index-CA_Cbayy.js → index-DfrTIo6g.js} +2 -2
- package/_assets/{index-BQow-znL.js → index-DhXJfkpA.js} +2 -2
- package/_assets/index-Dj5jt24t.css +1 -0
- package/_assets/{index-B3aF3s9f.js → index-DlIFUVdJ.js} +2 -2
- package/_assets/{index-ldlFtIb6.js → index-DqAMDuCL.js} +3 -3
- package/_assets/{index-CW7Q2x4L.js → index-DrLXR1gh.js} +2 -2
- package/_assets/{index-yS-SQJco.js → index-Dru1VYRp.js} +2 -2
- package/_assets/{index-DbSiDeEn.js → index-DsmmUF9b.js} +2 -2
- package/_assets/{index-BbjmXZXI.js → index-JyiQf10a.js} +3 -3
- package/_assets/{index-6mGMF8LS.js → index-LPaePMIe.js} +2 -2
- package/_assets/{index-6_P0e194.js → index-PNM5NBdL.js} +2 -2
- package/_assets/{index-C6p9jlWD.js → index-RshDWn_k.js} +2 -2
- package/_assets/{index-BCrnlTJQ.js → index-SgWiGjuO.js} +2 -2
- package/_assets/{index-BupPelkA.js → index-d91IniVU.js} +2 -2
- package/_assets/{index-ezdhnuBZ.js → index-gKuc3EXx.js} +2 -2
- package/_assets/{index-BGfrzvVr.js → index-itiTXs8c.js} +4 -4
- package/_assets/{index-DwOQ8J2g.js → index-nwVYg_ZS.js} +2 -2
- package/_assets/{index-Bh3Z7FM8.js → index-qLXUVl3K.js} +2 -2
- package/_assets/{index-vcs-Pnov.js → index-qmnyNSm8.js} +2 -2
- package/_assets/{index-BiZfhmnn.js → index-sRgWyPhW.js} +2 -2
- package/_assets/{index.es-DrkS4Adj.js → index.es-7Nxasp-B.js} +2 -2
- package/_assets/{index.es-DTDh_G38.js → index.es-BVbz3CpZ.js} +5 -5
- package/_assets/{index.es-DULSSGhE.js → index.es-ByBCyMc3.js} +2 -2
- package/_assets/{index.es--5fJFQ-c.js → index.es-DQHYHIFr.js} +2 -2
- package/_assets/{items-empty-B0i35Lk8.js → items-empty-DYwmDVAn.js} +2 -2
- package/_assets/{jump-Bc7sAftP.js → jump-KBvVPlD9.js} +2 -2
- package/_assets/{linkAccount-F05SHCCl.js → linkAccount-DxtNq6wu.js} +2 -2
- package/_assets/{loader-logo-D8XVDPHH.js → loader-logo-Cqmi86kx.js} +2 -2
- package/_assets/{localBatchGatewayRequest-DMpeSwiY.js → localBatchGatewayRequest-Bb786WwO.js} +2 -2
- package/_assets/{modal.styles-DydOhlTY.js → modal.styles-CA2s1L9l.js} +2 -2
- package/_assets/{native-vSt5TA__.js → native-BTsyT2_I.js} +2 -2
- package/_assets/{networks-Brts_tWs.js → networks-BpDKXpw-.js} +2 -2
- package/_assets/{onramp-CnMXXIAc.js → onramp-5-CzNiMZ.js} +2 -2
- package/_assets/{openzeppelin-r3JAfUn7.js → openzeppelin-BbesWuob.js} +2 -2
- package/_assets/{ownerOf-DPIRA5Vz.js → ownerOf-5NjXlqv4.js} +2 -2
- package/_assets/{parseNft-C_Uw6K27.js → parseNft-BmBn9ttJ.js} +3 -3
- package/_assets/{parseSignature-YyAbArh3.js → parseSignature-I3qWwoHJ.js} +4 -4
- package/_assets/{parseSignature-BMsopq4g.js → parseSignature-jhufQK18.js} +2 -2
- package/_assets/{passkeys-C_DVGfca.js → passkeys--MhQHHJ6.js} +2 -2
- package/_assets/{pay-with-exchange-CxvmZzq4.js → pay-with-exchange-DQsTBU9X.js} +2 -2
- package/_assets/{prepare-contract-call-BBtEhvR_.js → prepare-contract-call-Be9Npsq6.js} +2 -2
- package/_assets/{qr-overlay-BEKuEjSU.js → qr-overlay-rYPpUzf9.js} +4 -4
- package/_assets/{react-CTFQnYcx.js → react-BekGWEkZ.js} +2 -2
- package/_assets/{receive-foclFUz-.js → receive-DC2Iu_gK.js} +2 -2
- package/_assets/{resolveImplementation-B9nWZhGK.js → resolveImplementation-BoLPpLwR.js} +2 -2
- package/_assets/{resume-buy-Dr76xkA-.js → resume-buy-CGopq0zP.js} +2 -2
- package/_assets/{resume-name--gmDMNGt.js → resume-name-Ba6MphAx.js} +2 -2
- package/_assets/{rpc-BifJAmub.js → rpc-tJTyE1wJ.js} +2 -2
- package/_assets/{sales-empty-CLbAX299.js → sales-empty-D19Zxk_n.js} +2 -2
- package/_assets/{search-empty-DrELTTiq.js → search-empty-BssCUEOX.js} +2 -2
- package/_assets/{secp256k1-Cq4gQOKU.js → secp256k1-DGiZZuEZ.js} +2 -2
- package/_assets/{secp256k1-CCsKPXBm.js → secp256k1-PRHKCWEh.js} +2 -2
- package/_assets/{secp256k1-BtUYGtzb.js → secp256k1-hbPx6NWK.js} +2 -2
- package/_assets/{send-C8VpVpxB.js → send-Byn4Dmol.js} +2 -2
- package/_assets/{send-batch-transaction-ZprBauoB.js → send-batch-transaction-8LtyKPoy.js} +2 -2
- package/_assets/{send-eip712-transaction-VsiniCRa.js → send-eip712-transaction-CGzvYUL2.js} +3 -3
- package/_assets/{send-gasless-transaction-DYgzq_No.js → send-gasless-transaction-sDLEqmdj.js} +3 -3
- package/_assets/{send-transaction-CGQC5q2a.js → send-transaction-xmRbUuPg.js} +3 -3
- package/_assets/{sendMetaTransaction-B2U8O8jD.js → sendMetaTransaction-LSOm03u7.js} +2 -2
- package/_assets/{sendRawTransaction-DpzoAN9l.js → sendRawTransaction-DB13wskp.js} +4 -4
- package/_assets/{sentry-PglMJ9Ft.js → sentry-BJsKhDHR.js} +3 -3
- package/_assets/{serializeTransaction-C_2EfKpy.js → serializeTransaction-CMbd7j0x.js} +2 -2
- package/_assets/{session-proposal-y93JmFJH.js → session-proposal-DxIuVNiz.js} +2 -2
- package/_assets/{session-request-Zeue-lw_.js → session-request-D6vkJViD.js} +3 -3
- package/_assets/{sha256-BdCuzIkL.js → sha256-k5IxCoEI.js} +2 -2
- package/_assets/{sha3-vj4MKon-.js → sha3-CV-yBtw0.js} +2 -2
- package/_assets/signin-empty-ma5vZkR6.js +2 -0
- package/_assets/{signing-IU0Dero0.js → signing-o3SBNeiE.js} +4 -4
- package/_assets/{skeleton.styles-C4LNtWm6.js → skeleton.styles-BIeK-B7A.js} +2 -2
- package/_assets/{socials-DBsbLpk4.js → socials-Ddpadsfy.js} +2 -2
- package/_assets/{styled-CDcAnixz.js → styled-2zmMmkeT.js} +2 -2
- package/_assets/{swaps-B9QRktDz.js → swaps-B0l_mSR1.js} +2 -2
- package/_assets/{thirdweb-DqAPPGHB.js → thirdweb-BfDOkQQ5.js} +4 -4
- package/_assets/{to-serializable-transaction-CTCboJfL.js → to-serializable-transaction-CTl0uSb4.js} +3 -3
- package/_assets/{totalSupply-BuwGB16i.js → totalSupply-CxPjsPCg.js} +2 -2
- package/_assets/{trade-encoding-3qd1V12A.js → trade-encoding-BraQNr9h.js} +2 -2
- package/_assets/{transaction-Dfmi860L.js → transaction-CHnIdkAY.js} +2 -2
- package/_assets/{transactionReceipt-CTh7xQfA.js → transactionReceipt-BhyuF6JD.js} +2 -2
- package/_assets/{transactions-DMVHelBa.js → transactions-BAduzPMx.js} +2 -2
- package/_assets/{useInfiniteGrid-Dp-bfuNN.js → useInfiniteGrid-BSt4XoRe.js} +2 -2
- package/_assets/{useStore-Ci4aU3n_.js → useStore-uJftgkNh.js} +3 -3
- package/_assets/{useTheme-BWFm_EuO.js → useTheme-CTdb32ky.js} +2 -2
- package/_assets/{utils-1Hzqe_MF.js → utils-BM5DRvHN.js} +2 -2
- package/_assets/{verifyHash-BW-27VxT.js → verifyHash-Cc1DNn6z.js} +2 -2
- package/_assets/{w3m-modal-Bi1bkcMH.js → w3m-modal-BD_H_zDq.js} +2 -2
- package/_assets/{w3m-modal-BAtlTQfj.js → w3m-modal-DhUviUTp.js} +2 -2
- package/_assets/{wait-for-tx-receipt-BibH3X8g.js → wait-for-tx-receipt-BNi9RAot.js} +2 -2
- package/_assets/{wallets-wKNC0EeE.js → wallets-_XClPpcK.js} +6 -6
- package/_assets/{web-connector-Bj8Y6_NP.js → web-connector-f86d5HKr.js} +4 -4
- package/_assets/{writeContract-DHC82gAe.js → writeContract-CxIdpvKT.js} +2 -2
- package/_assets/{zora-sepolia-DvJVYka5.js → zora-sepolia-BbIJIN7c.js} +2 -2
- package/_assets/{zoraTestnet-B0IQcjzO.js → zoraTestnet-DPqTmGTC.js} +2 -2
- package/index.html +12 -12
- package/package.json +2 -2
- package/_assets/Cart-B-ZbTank.js +0 -748
- package/_assets/collectionPage.styles-CkYzWdtw.js +0 -41
- package/_assets/index-BVgsaChe.css +0 -1
- package/_assets/signin-empty-CCboG9k9.js +0 -2
package/_assets/Cart-B-ZbTank.js
DELETED
|
@@ -1,748 +0,0 @@
|
|
|
1
|
-
import{j as e,L as Xt,r as T,b as Sa,a as $a}from"./react-CTFQnYcx.js";import{s as i,a as z,t as a,z as Ie,F as pe,W as Fe,C as Me,E as Le,bl as Ma,A as Ta,I as Y,n as Je,B as Ia,aj as O,$ as Tt,x as Aa,y as Ea,w as Pa,bm as za,X as Ra,bn as Ba,a0 as _a,bo as qa,bp as Wa,bq as Fa,br as La,bs as It,a2 as Ka,bt as Na,bu as Qa,bv as Ua,av as Ke,a3 as Ga,D as Ha,bw as At,O as V,bx as Et,by as Oa,bz as Da,l as ie,bA as Va,bB as Ya,bC as Xa,bD as Ne,bi as Ja,bE as we,bF as Ce,Z as Pt,bG as Za,h as zt,j as Rt,bH as es}from"./index-DIWXPWGD.js";import{C as ts,b as as,t as ss,a as ns,A as is,s as Bt,r as _t,i as qt,m as rs,c as os,p as Wt,d as cs}from"./CollectionCarousel-CFBhlfVv.js";import{M as ls,S as ds,C as us,H as hs,a as ps,T as gs,X as xs,B as ms,b as fs,c as Ft,d as bs,e as Ae,f as ys,g as vs,h as ws,i as Xe,j as he,L as Cs,P as js,k as Lt,l as Kt,W as ks,m as Ss,n as $s,o as Ms,A as Ts,p as Is,q as As,r as Es,s as Ps,t as zs,u as Rs,v as Bs,w as Qe,x as _s,y as qs}from"./CreditPackPicker-B6EOVAjz.js";import{m as Te}from"./mana-matic-light-Bl5duieC.js";import{q as Ws,s as Fs,g as Ls,t as Ks,u as Ns,A as Qs}from"./trade-encoding-3qd1V12A.js";import{p as Nt,g as Us,a as Ue}from"./buy-BkB20JeU.js";import{w as Gs,S as Ge,b as Hs,G as Os}from"./buy-gasless-nv4rwo_z.js";import{l as Ds,u as Vs,M as Ys,R as je,o as Xs,r as Js,c as Zs,g as en,a as tn,p as Qt,b as He}from"./loader-logo-D8XVDPHH.js";import{i as an,a as sn}from"./errors-ByG36a5U.js";import{E as nn}from"./ErrorNotice-Iy-4Sj0K.js";import"./dcl-schemas-LawD6Riy.js";import"./sentry-PglMJ9Ft.js";import"./ethers-CDATtpGn.js";import"./intl-AKLEHPeO.js";import"./sendMetaTransaction-B2U8O8jD.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new n.Error().stack;d&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[d]="9ceadb41-49e3-4371-86a8-b38ae9517e56",n._sentryDebugIdIdentifier="sentry-dbid-9ceadb41-49e3-4371-86a8-b38ae9517e56")}catch{}})();const rn=i.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
gap: 12px;
|
|
5
|
-
align-items: stretch;
|
|
6
|
-
width: 100%;
|
|
7
|
-
`,Jt=`
|
|
8
|
-
width: 100%;
|
|
9
|
-
min-height: 56px;
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
gap: 8px;
|
|
14
|
-
flex-wrap: wrap;
|
|
15
|
-
padding: 0 12px;
|
|
16
|
-
border: 0;
|
|
17
|
-
border-radius: 12px;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
transition:
|
|
20
|
-
background 0.15s ease,
|
|
21
|
-
filter 0.15s ease;
|
|
22
|
-
font-family: ${z.font.sans};
|
|
23
|
-
font-weight: 600;
|
|
24
|
-
font-size: 15px;
|
|
25
|
-
line-height: 24px;
|
|
26
|
-
letter-spacing: 0.46px;
|
|
27
|
-
text-transform: uppercase;
|
|
28
|
-
color: ${z.colors.softWhite};
|
|
29
|
-
|
|
30
|
-
&:focus-visible {
|
|
31
|
-
outline: 2px solid ${z.colors.accent};
|
|
32
|
-
outline-offset: 2px;
|
|
33
|
-
}
|
|
34
|
-
&:disabled {
|
|
35
|
-
opacity: 0.6;
|
|
36
|
-
cursor: default;
|
|
37
|
-
}
|
|
38
|
-
`,Ut=i.button`
|
|
39
|
-
${Jt}
|
|
40
|
-
background: ${z.gradients.buyBtn};
|
|
41
|
-
|
|
42
|
-
&:hover:not(:disabled) {
|
|
43
|
-
filter: brightness(1.08);
|
|
44
|
-
}
|
|
45
|
-
`,Oe=i.button`
|
|
46
|
-
${Jt}
|
|
47
|
-
background: ${z.colors.text2};
|
|
48
|
-
|
|
49
|
-
&:hover:not(:disabled) {
|
|
50
|
-
background: ${z.colors.gray0};
|
|
51
|
-
}
|
|
52
|
-
`,ke=i.span`
|
|
53
|
-
display: inline-flex;
|
|
54
|
-
align-items: center;
|
|
55
|
-
gap: 6px;
|
|
56
|
-
text-transform: none;
|
|
57
|
-
letter-spacing: 0;
|
|
58
|
-
|
|
59
|
-
span {
|
|
60
|
-
font-size: 20px;
|
|
61
|
-
font-weight: 600;
|
|
62
|
-
line-height: normal;
|
|
63
|
-
}
|
|
64
|
-
.ico {
|
|
65
|
-
width: 24px;
|
|
66
|
-
height: 24px;
|
|
67
|
-
background: ${z.colors.softWhite};
|
|
68
|
-
}
|
|
69
|
-
`,De=i.span`
|
|
70
|
-
position: relative;
|
|
71
|
-
display: block;
|
|
72
|
-
width: 30px;
|
|
73
|
-
height: 30px;
|
|
74
|
-
flex: none;
|
|
75
|
-
|
|
76
|
-
/* Centred in the slot, not pinned to its top: the slot is taller than the glyph and sits next to a
|
|
77
|
-
vertically centred amount, so a top-pinned mark reads as floating above the number. */
|
|
78
|
-
img {
|
|
79
|
-
position: absolute;
|
|
80
|
-
top: 50%;
|
|
81
|
-
left: 0;
|
|
82
|
-
transform: translateY(-50%);
|
|
83
|
-
width: 24px;
|
|
84
|
-
height: 24px;
|
|
85
|
-
display: block;
|
|
86
|
-
}
|
|
87
|
-
`,on=i.span`
|
|
88
|
-
font-size: 13px;
|
|
89
|
-
font-weight: 600;
|
|
90
|
-
letter-spacing: 0.02em;
|
|
91
|
-
opacity: 0.85;
|
|
92
|
-
`,cn=i.span`
|
|
93
|
-
font-size: 18px;
|
|
94
|
-
font-weight: 600;
|
|
95
|
-
opacity: 0.7;
|
|
96
|
-
`,ln=i.p`
|
|
97
|
-
margin: -4px 0 0;
|
|
98
|
-
font-family: ${z.font.sans};
|
|
99
|
-
font-weight: 400;
|
|
100
|
-
font-size: 12px;
|
|
101
|
-
line-height: 1.4;
|
|
102
|
-
color: ${z.colors.muted};
|
|
103
|
-
text-align: center;
|
|
104
|
-
`;function Zt({options:n,totalCents:d,onPay:k,busy:S=!1,creditsLabel:R,shortfall:U,showCreditsAmount:G=!0,creditsFallback:H=null}){const M=n.some(r=>r.method==="credits");return e.jsxs(rn,{children:[!M&&H?e.jsx(Ut,{type:"button","data-testid":"pay-with-credits-topup",onClick:H.onClick,disabled:S,children:e.jsx("span",{children:H.label})}):null,n.map(r=>r.method==="credits"?e.jsxs(Ut,{type:"button","data-testid":"pay-with-credits",onClick:()=>k("credits"),disabled:S,children:[e.jsx("span",{children:R??a("buyModal.buy")}),G?e.jsxs(ke,{children:[e.jsx(Ie,{}),e.jsx("span",{children:pe(r.credits)})]}):null]},"credits"):r.method==="mana"?e.jsxs(Oe,{type:"button","data-testid":"pay-with-mana",onClick:()=>k("mana"),disabled:S,children:[e.jsx("span",{children:a("buyModal.buyWithMana")}),e.jsxs(ke,{children:[e.jsx(De,{children:e.jsx("img",{src:Te,alt:"","aria-hidden":!0})}),e.jsx("span",{children:Fe(r.manaWei)})]})]},"mana"):e.jsxs(Oe,{type:"button","data-testid":"pay-with-combined",onClick:()=>k("combined"),disabled:S,children:[e.jsx("span",{children:a("buyModal.buyWith")}),e.jsxs(ke,{children:[e.jsx(Ie,{}),e.jsx("span",{children:pe(r.credits)}),e.jsx(cn,{children:"+"}),e.jsx(De,{children:e.jsx("img",{src:Te,alt:"","aria-hidden":!0})}),e.jsx("span",{children:Fe(r.manaWei)}),e.jsx(on,{children:"MANA"})]})]},"combined")),U?e.jsxs(e.Fragment,{children:[e.jsxs(Oe,{type:"button","data-testid":"pay-with-mana-disabled",disabled:!0,children:[e.jsx("span",{children:a("buyModal.buyWithMana")}),e.jsxs(ke,{children:[e.jsx(De,{children:e.jsx("img",{src:Te,alt:"","aria-hidden":!0})}),e.jsx("span",{children:Fe(U.manaWei)})]})]},"mana-short"),e.jsx(ln,{"data-testid":"mana-shortfall-note",children:a("buyModal.notEnoughMana")})]}):null,e.jsx("span",{hidden:!0,"data-testid":"pay-total-cents",children:d})]})}const{colors:re,radius:dn}=z,un=i.div`
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: center;
|
|
108
|
-
gap: 8px;
|
|
109
|
-
width: 100%;
|
|
110
|
-
`,hn=i.span`
|
|
111
|
-
font-size: 16px;
|
|
112
|
-
line-height: 22px;
|
|
113
|
-
color: ${re.text2};
|
|
114
|
-
text-transform: capitalize;
|
|
115
|
-
white-space: nowrap;
|
|
116
|
-
`,pn=i.div`
|
|
117
|
-
display: flex;
|
|
118
|
-
flex-direction: column;
|
|
119
|
-
gap: 12px;
|
|
120
|
-
/* The list is the modal's elastic region: inside a viewport-capped card it gives up height first, so
|
|
121
|
-
the pack picker, total and Cancel/Buy below it stay on screen without scrolling. The floor is an
|
|
122
|
-
explicit ~one row because a scroll container's automatic minimum size is zero — it would otherwise
|
|
123
|
-
collapse to nothing on a short screen. */
|
|
124
|
-
min-height: 120px;
|
|
125
|
-
max-height: 360px;
|
|
126
|
-
overflow-y: auto;
|
|
127
|
-
width: 100%;
|
|
128
|
-
scrollbar-width: thin;
|
|
129
|
-
scrollbar-color: #a2a2a2 ${re.media};
|
|
130
|
-
|
|
131
|
-
&::-webkit-scrollbar {
|
|
132
|
-
width: 8px;
|
|
133
|
-
}
|
|
134
|
-
&::-webkit-scrollbar-track {
|
|
135
|
-
background: ${re.media};
|
|
136
|
-
border-radius: 10px;
|
|
137
|
-
}
|
|
138
|
-
&::-webkit-scrollbar-thumb {
|
|
139
|
-
background: #a2a2a2;
|
|
140
|
-
border-radius: ${dn.btn};
|
|
141
|
-
}
|
|
142
|
-
`,gn=i.span`
|
|
143
|
-
margin-left: 8px;
|
|
144
|
-
font-size: 13px;
|
|
145
|
-
font-weight: 600;
|
|
146
|
-
color: ${re.muted};
|
|
147
|
-
`,xn=i.div`
|
|
148
|
-
display: flex;
|
|
149
|
-
align-items: center;
|
|
150
|
-
justify-content: space-between;
|
|
151
|
-
gap: 12px;
|
|
152
|
-
padding: 0 0 12px;
|
|
153
|
-
font-size: 14px;
|
|
154
|
-
color: ${re.muted};
|
|
155
|
-
|
|
156
|
-
& strong {
|
|
157
|
-
display: inline-flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
gap: 6px;
|
|
160
|
-
font-size: 20px;
|
|
161
|
-
font-weight: 700;
|
|
162
|
-
color: ${re.text};
|
|
163
|
-
}
|
|
164
|
-
`,mn=i.p`
|
|
165
|
-
margin: 12px 0 0;
|
|
166
|
-
background: rgba(255, 162, 90, 0.3);
|
|
167
|
-
border-radius: ${z.radius.btn};
|
|
168
|
-
padding: 12px 16px;
|
|
169
|
-
font-family: ${z.font.sans};
|
|
170
|
-
font-size: 14px;
|
|
171
|
-
line-height: 1.334;
|
|
172
|
-
color: ${z.colors.text2};
|
|
173
|
-
`;function fn(n){const{phase:d,balanceCredits:k,onClose:S}=n,R=d==="processing",U=d==="error"?a("cartCheckout.errorTitle"):d==="nofunds"?a("cartCheckout.titleNoFunds"):d==="choose"?a("buyModal.choosePayment"):a("cartCheckout.titleBuy"),G=d==="processing";return e.jsxs(ls,{role:"dialog","aria-modal":"true","aria-label":a("cartCheckout.dialogAria"),children:[e.jsx(ds,{onClick:R?void 0:S,"aria-hidden":!0}),e.jsxs(us,{"data-tall":G||void 0,children:[e.jsxs(hs,{children:[e.jsxs(ps,{children:[e.jsx(gs,{children:U}),!R&&e.jsx(xs,{onClick:S,"aria-label":a("buyModal.close"),children:e.jsx(ts,{})})]}),e.jsxs(ms,{children:[e.jsx(fs,{children:d==="nofunds"?a("buyModal.dclBalance"):a("buyModal.myCreditsBalance")}),e.jsx(Ft,{}),e.jsx(bs,{children:pe(k)})]}),n.heldCreditsCount&&(d==="choose"||d==="nofunds")?e.jsx(mn,{"data-testid":"cart-held-notice",children:a("buyModal.heldExplainer",{credits:n.heldCreditsCount,currency:Me.name})}):null]}),d==="choose"&&e.jsxs(Ae,{children:[e.jsxs(xn,{children:[e.jsx("span",{children:a("cart.purchaseSummary")}),e.jsxs("strong",{children:[e.jsx(Ft,{}),pe(n.totalCredits??0)]})]}),e.jsx(Zt,{options:n.options??[],totalCents:n.totalCents??0,shortfall:n.shortfall,onPay:n.onPay??(()=>{})})]}),d==="processing"&&e.jsx(bn,{stage:n.stage??"reserving",step:n.step??1,total:n.total??1,isSelfCustody:!!n.isSelfCustody,signatures:n.signatures}),d==="nofunds"&&e.jsx(yn,{lines:n.lines??[],shortfallCredits:n.shortfallCredits??0,packs:n.packs??[],selectedPack:n.selectedPack??"",onSelectPack:n.onSelectPack??(()=>{}),onBuyPacks:n.onBuyPacks??(()=>{}),onCancel:S}),d==="error"&&e.jsxs(Ae,{children:[e.jsxs(ys,{"data-testid":"buy-error",children:[e.jsx(vs,{src:as,alt:"",width:64,height:80}),e.jsxs(ws,{children:[e.jsx("b",{children:a("cartCheckout.errorHeadline")})," ",n.heldCredits?e.jsxs(e.Fragment,{children:[n.message?e.jsxs(e.Fragment,{children:[n.message," "]}):null,a("cartCheckout.heldLead",{currency:Me.name}),e.jsx("b",{children:a("cartCheckout.heldBold")}),a("cartCheckout.heldTail",{currency:Me.name})]}):n.message??a("cartCheckout.errorBody")]})]}),n.heldCredits?e.jsx(Xe,{children:e.jsx(he,{"data-variant":"purple","data-full":!0,onClick:S,children:a("cartCheckout.gotIt")})}):e.jsxs(Xe,{children:[e.jsx(he,{"data-variant":"outline",onClick:S,children:a("buyModal.cancel")}),e.jsx(he,{"data-variant":"purple",onClick:n.onRetry??S,children:a("cartCheckout.tryAgain")})]})]})]})]})}function bn({stage:n,step:d,total:k,isSelfCustody:S,signatures:R}){const U=n==="reserving",G=k>0?Math.min(100,Math.round(d/k*100)):0,H=S&&R&&R.total>1,M=n==="awaiting-signature"?S?H?a("cartCheckout.confirmMultiple",{current:R.current,total:R.total}):a("buyModal.confirmToContinue"):a("buyModal.completingTransaction"):n==="settling"?a("buyModal.completingTransaction"):a("cartCheckout.preparing");return e.jsxs(Ae,{"data-processing":!0,children:[e.jsx(Cs,{src:Ds,alt:"",width:61,height:61}),e.jsx(js,{children:M}),U?e.jsxs(un,{children:[e.jsx(Lt,{"aria-hidden":!0,children:e.jsx(Kt,{"data-step":!0,style:{width:`${G}%`}})}),k>1?e.jsxs(hn,{children:[d,"/",k]}):null]}):e.jsx(Lt,{"aria-hidden":!0,children:e.jsx(Kt,{})})]})}function yn({lines:n,shortfallCredits:d,packs:k,selectedPack:S,onSelectPack:R,onBuyPacks:U,onCancel:G}){const H=n.reduce((M,r)=>M+(r.quantity??1),0);return e.jsxs(Ae,{children:[e.jsxs(ks,{"data-testid":"nofunds-warning",children:[e.jsx(Ss,{}),e.jsxs($s,{children:[e.jsx("b",{children:a("buyModal.insufficientFunds")})," ",a("buyModal.warningNeedToBuy")," ",e.jsx("b",{children:a("buyModal.warningCreditsAmount",{count:Math.max(0,d)})})," ",a("buyModal.warningToPurchase",{count:H}),Le()?null:e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(Ms,{href:Ma("/credits"),target:"_blank",rel:"noopener noreferrer",children:a("buyModal.warningLearnMore")})]})]})]}),e.jsx(pn,{children:n.map(M=>{const r=M.quantity??1;return e.jsxs(Ts,{children:[e.jsx(Is,{children:M.item.thumbnail?e.jsx("img",{src:M.item.thumbnail,alt:""}):null}),e.jsxs(As,{children:[e.jsxs("div",{children:[e.jsxs(Es,{title:M.item.name,children:[M.item.name||a("buyModal.itemFallback"),r>1?e.jsx(gn,{children:a("cartCheckout.qty",{count:r})}):null]}),M.item.creator?e.jsx(Ps,{address:M.item.creator}):null]}),e.jsxs(zs,{children:[e.jsx(Rs,{}),e.jsx("span",{children:pe(M.priceCredits*r)})]})]})]},M.item.id)})}),Le()?null:e.jsx(e.Fragment,{children:e.jsx(Bs,{packs:k,selectedId:S||void 0,onSelect:R})}),e.jsxs(Xe,{children:[e.jsx(he,{"data-variant":"outline",onClick:G,children:a("buyModal.cancel")}),Le()?null:e.jsx(he,{"data-variant":"gradient",onClick:U,children:a("buyModal.buy")})]})]})}const{colors:l,gradients:vn,radius:oe}=z,ea="@media (max-width: 1080px)",E="@media (max-width: 880px)",Gt=i.div`
|
|
174
|
-
max-width: 1510px;
|
|
175
|
-
margin: 0 auto;
|
|
176
|
-
/* Grows into the page's leftover height and passes it down to Upsell, so the white cross-sell band ends at
|
|
177
|
-
the footer rather than leaving a gray strip. Needs .page[data-route="/cart"] to be a flex column. */
|
|
178
|
-
width: 100%;
|
|
179
|
-
flex: 1 0 auto;
|
|
180
|
-
display: flex;
|
|
181
|
-
flex-direction: column;
|
|
182
|
-
|
|
183
|
-
${E} {
|
|
184
|
-
padding-bottom: 188px; /* room for the fixed summary bar */
|
|
185
|
-
}
|
|
186
|
-
`,Ht=i.button`
|
|
187
|
-
display: inline-flex;
|
|
188
|
-
align-items: center;
|
|
189
|
-
gap: 6px;
|
|
190
|
-
margin: 0 0 16px;
|
|
191
|
-
padding: 0;
|
|
192
|
-
border: 0;
|
|
193
|
-
background: none;
|
|
194
|
-
color: ${l.text2};
|
|
195
|
-
font-size: 14px;
|
|
196
|
-
font-weight: 600;
|
|
197
|
-
letter-spacing: 0.02em;
|
|
198
|
-
text-transform: uppercase;
|
|
199
|
-
cursor: pointer;
|
|
200
|
-
transition: color 0.15s ease;
|
|
201
|
-
|
|
202
|
-
&:hover {
|
|
203
|
-
color: ${l.accent};
|
|
204
|
-
}
|
|
205
|
-
& .ico {
|
|
206
|
-
width: 18px;
|
|
207
|
-
height: 18px;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
${E} {
|
|
211
|
-
display: none;
|
|
212
|
-
}
|
|
213
|
-
`,wn=i.div`
|
|
214
|
-
display: grid;
|
|
215
|
-
grid-template-columns: minmax(0, 1fr) 615px;
|
|
216
|
-
gap: 24px;
|
|
217
|
-
align-items: start;
|
|
218
|
-
|
|
219
|
-
${ea} {
|
|
220
|
-
grid-template-columns: 1fr;
|
|
221
|
-
}
|
|
222
|
-
`,Ot=i.div`
|
|
223
|
-
position: relative;
|
|
224
|
-
/* The gray band is 733px in Figma (1553-317103) — taller than the panels inside it, deliberately. Without
|
|
225
|
-
this it collapsed to the panels' height, and the page shell's own viewport-filling min-height then padded
|
|
226
|
-
the page out BELOW the cross-sell, so a strip of gray showed under "You might also like" instead of the
|
|
227
|
-
footer. Giving the band its designed height puts the leftover space where the design wants it. */
|
|
228
|
-
min-height: 733px;
|
|
229
|
-
/* Gray below the panels so the band never hugs the last card: Figma's band runs y152–950 with the
|
|
230
|
-
content ending at 854. The min-height above only covers a SHORT cart — once the list outgrows it
|
|
231
|
-
the band tracks the content, and without this padding it would butt straight into the purple. */
|
|
232
|
-
padding-bottom: 96px;
|
|
233
|
-
|
|
234
|
-
&::before {
|
|
235
|
-
content: '';
|
|
236
|
-
position: absolute;
|
|
237
|
-
top: -28px;
|
|
238
|
-
bottom: 0;
|
|
239
|
-
left: 50%;
|
|
240
|
-
width: 100vw;
|
|
241
|
-
transform: translateX(-50%);
|
|
242
|
-
background: ${l.media};
|
|
243
|
-
z-index: 0;
|
|
244
|
-
}
|
|
245
|
-
& > * {
|
|
246
|
-
position: relative;
|
|
247
|
-
z-index: 1;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
${E} {
|
|
251
|
-
/* The single-column layout is already taller than the desktop band, and the fixed summary bar sits over
|
|
252
|
-
the bottom of it — a floor here would only add empty gray. */
|
|
253
|
-
min-height: 0;
|
|
254
|
-
|
|
255
|
-
/* The fixed summary bar already reserves room at the bottom on mobile (see Checkout). */
|
|
256
|
-
padding-bottom: 32px;
|
|
257
|
-
|
|
258
|
-
&::before {
|
|
259
|
-
top: -16px; /* .page's mobile padding */
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
`,Cn=i.div`
|
|
263
|
-
min-width: 0;
|
|
264
|
-
display: flex;
|
|
265
|
-
flex-direction: column;
|
|
266
|
-
gap: 12px;
|
|
267
|
-
`,jn=i.div`
|
|
268
|
-
display: flex;
|
|
269
|
-
align-items: center;
|
|
270
|
-
justify-content: space-between;
|
|
271
|
-
gap: 12px;
|
|
272
|
-
background: ${l.white};
|
|
273
|
-
border-radius: 16px;
|
|
274
|
-
padding: 12px 12px 12px 24px;
|
|
275
|
-
|
|
276
|
-
${E} {
|
|
277
|
-
gap: 8px;
|
|
278
|
-
padding: 8px 16px;
|
|
279
|
-
}
|
|
280
|
-
`,kn=i.section`
|
|
281
|
-
min-width: 0;
|
|
282
|
-
background: ${l.white};
|
|
283
|
-
border-radius: 16px;
|
|
284
|
-
padding: 24px;
|
|
285
|
-
|
|
286
|
-
${E} {
|
|
287
|
-
padding: 16px;
|
|
288
|
-
}
|
|
289
|
-
`,Sn=i.div`
|
|
290
|
-
display: flex;
|
|
291
|
-
flex-direction: column;
|
|
292
|
-
align-items: center;
|
|
293
|
-
`,$n=i.button`
|
|
294
|
-
display: none;
|
|
295
|
-
|
|
296
|
-
${E} {
|
|
297
|
-
display: inline-flex;
|
|
298
|
-
align-items: center;
|
|
299
|
-
flex-shrink: 0;
|
|
300
|
-
border: 0;
|
|
301
|
-
background: none;
|
|
302
|
-
padding: 0;
|
|
303
|
-
color: ${l.text};
|
|
304
|
-
cursor: pointer;
|
|
305
|
-
|
|
306
|
-
& .ico {
|
|
307
|
-
width: 20px;
|
|
308
|
-
height: 20px;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
`,Mn=i.h1`
|
|
312
|
-
margin: 0;
|
|
313
|
-
font-size: 14px;
|
|
314
|
-
font-weight: 600;
|
|
315
|
-
line-height: 1.57;
|
|
316
|
-
color: ${l.text};
|
|
317
|
-
|
|
318
|
-
${E} {
|
|
319
|
-
flex: 1;
|
|
320
|
-
min-width: 0;
|
|
321
|
-
font-size: 16px;
|
|
322
|
-
}
|
|
323
|
-
`,Tn=i.button`
|
|
324
|
-
display: inline-flex;
|
|
325
|
-
align-items: center;
|
|
326
|
-
justify-content: center;
|
|
327
|
-
gap: 8px;
|
|
328
|
-
height: 40px;
|
|
329
|
-
padding: 0 12px;
|
|
330
|
-
border: 2px solid ${l.text2};
|
|
331
|
-
border-radius: ${oe.btn};
|
|
332
|
-
background: none;
|
|
333
|
-
color: ${l.text2};
|
|
334
|
-
font-size: 13px;
|
|
335
|
-
font-weight: 600;
|
|
336
|
-
line-height: 24px;
|
|
337
|
-
letter-spacing: 0.46px;
|
|
338
|
-
text-transform: uppercase;
|
|
339
|
-
white-space: nowrap;
|
|
340
|
-
cursor: pointer;
|
|
341
|
-
transition:
|
|
342
|
-
background 0.15s ease,
|
|
343
|
-
filter 0.15s ease;
|
|
344
|
-
|
|
345
|
-
/* Mixed from currentColor so the wash cannot drift from the border colour. */
|
|
346
|
-
&:hover:not(:disabled) {
|
|
347
|
-
background: color-mix(in srgb, currentColor 6%, transparent);
|
|
348
|
-
}
|
|
349
|
-
&:active:not(:disabled) {
|
|
350
|
-
filter: brightness(0.97);
|
|
351
|
-
}
|
|
352
|
-
&:disabled {
|
|
353
|
-
opacity: 0.55;
|
|
354
|
-
cursor: default;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
/* Mobile keeps the full 40px button and thins the outline to 1px (1182:236892) rather than shrinking
|
|
358
|
-
the type, which had it reading smaller than the row title beside it. */
|
|
359
|
-
${E} {
|
|
360
|
-
border-width: 1px;
|
|
361
|
-
border-color: ${l.text};
|
|
362
|
-
color: ${l.text};
|
|
363
|
-
}
|
|
364
|
-
`,In=i.div`
|
|
365
|
-
display: flex;
|
|
366
|
-
flex-direction: column;
|
|
367
|
-
gap: 24px;
|
|
368
|
-
`,An=i.div`
|
|
369
|
-
position: relative;
|
|
370
|
-
display: flex;
|
|
371
|
-
align-items: stretch;
|
|
372
|
-
gap: 12px;
|
|
373
|
-
background: ${l.white};
|
|
374
|
-
border: 1px solid ${l.gray4};
|
|
375
|
-
border-radius: ${oe.card};
|
|
376
|
-
overflow: hidden;
|
|
377
|
-
|
|
378
|
-
&[data-unavailable] [data-thumb] {
|
|
379
|
-
opacity: 0.5;
|
|
380
|
-
}
|
|
381
|
-
&[data-unavailable] [data-check] {
|
|
382
|
-
display: none;
|
|
383
|
-
}
|
|
384
|
-
&[data-unavailable] [data-desc] {
|
|
385
|
-
opacity: 0.7;
|
|
386
|
-
}
|
|
387
|
-
`,En=i.div`
|
|
388
|
-
position: relative;
|
|
389
|
-
flex-shrink: 0;
|
|
390
|
-
width: 137.5px;
|
|
391
|
-
height: 137px;
|
|
392
|
-
background: ${l.media};
|
|
393
|
-
border-radius: ${oe.card};
|
|
394
|
-
display: grid;
|
|
395
|
-
place-items: center;
|
|
396
|
-
overflow: hidden;
|
|
397
|
-
|
|
398
|
-
& img {
|
|
399
|
-
width: 83%;
|
|
400
|
-
height: 83%;
|
|
401
|
-
object-fit: contain;
|
|
402
|
-
filter: drop-shadow(0.56px 2.25px 2.8px rgba(0, 0, 0, 0.1));
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
${E} {
|
|
406
|
-
width: 120px;
|
|
407
|
-
height: 120px;
|
|
408
|
-
}
|
|
409
|
-
`,Pn=i(Xt)`
|
|
410
|
-
position: absolute;
|
|
411
|
-
inset: 0;
|
|
412
|
-
display: grid;
|
|
413
|
-
place-items: center;
|
|
414
|
-
`,zn=i.span`
|
|
415
|
-
position: absolute;
|
|
416
|
-
top: 7.5px;
|
|
417
|
-
left: 7.5px;
|
|
418
|
-
width: 20px;
|
|
419
|
-
height: 20px;
|
|
420
|
-
border-radius: 50%;
|
|
421
|
-
background: #34ce77;
|
|
422
|
-
display: grid;
|
|
423
|
-
place-items: center;
|
|
424
|
-
`,Rn=i.div`
|
|
425
|
-
flex: 1;
|
|
426
|
-
min-width: 0;
|
|
427
|
-
display: flex;
|
|
428
|
-
flex-direction: column;
|
|
429
|
-
justify-content: space-between;
|
|
430
|
-
gap: 8px;
|
|
431
|
-
padding: 16px 8px;
|
|
432
|
-
|
|
433
|
-
${E} {
|
|
434
|
-
padding: 12px 4px 12px 0;
|
|
435
|
-
}
|
|
436
|
-
`,Bn=i.div`
|
|
437
|
-
display: flex;
|
|
438
|
-
flex-direction: column;
|
|
439
|
-
gap: 4px;
|
|
440
|
-
min-width: 0;
|
|
441
|
-
padding-right: 64px; /* clear the top-right favourite + remove group */
|
|
442
|
-
`,ta=Je`
|
|
443
|
-
display: block;
|
|
444
|
-
font-size: 16px;
|
|
445
|
-
font-weight: 600;
|
|
446
|
-
line-height: 1.2;
|
|
447
|
-
color: ${l.text};
|
|
448
|
-
text-decoration: none;
|
|
449
|
-
overflow: hidden;
|
|
450
|
-
text-overflow: ellipsis;
|
|
451
|
-
white-space: nowrap;
|
|
452
|
-
|
|
453
|
-
a&:hover {
|
|
454
|
-
color: ${l.accent};
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
${E} {
|
|
458
|
-
white-space: normal;
|
|
459
|
-
display: -webkit-box;
|
|
460
|
-
-webkit-line-clamp: 2;
|
|
461
|
-
line-clamp: 2;
|
|
462
|
-
-webkit-box-orient: vertical;
|
|
463
|
-
}
|
|
464
|
-
`,_n=i.div`
|
|
465
|
-
${ta};
|
|
466
|
-
`,qn=i(Xt)`
|
|
467
|
-
${ta};
|
|
468
|
-
`,Wn=i(Ta)`
|
|
469
|
-
font-size: 10px;
|
|
470
|
-
line-height: 1.43;
|
|
471
|
-
color: ${l.muted};
|
|
472
|
-
|
|
473
|
-
& [data-avatar] {
|
|
474
|
-
display: none;
|
|
475
|
-
}
|
|
476
|
-
& [data-testid='creator-name'] {
|
|
477
|
-
font-size: 10px;
|
|
478
|
-
line-height: 1.43;
|
|
479
|
-
}
|
|
480
|
-
`,Fn=i.div`
|
|
481
|
-
display: flex;
|
|
482
|
-
align-items: center;
|
|
483
|
-
justify-content: space-between;
|
|
484
|
-
gap: 12px;
|
|
485
|
-
padding-right: 8px;
|
|
486
|
-
`,Ln=i.div`
|
|
487
|
-
display: inline-flex;
|
|
488
|
-
align-items: center;
|
|
489
|
-
gap: 8px;
|
|
490
|
-
padding: 6px;
|
|
491
|
-
border: 0.5px solid ${l.muted2};
|
|
492
|
-
border-radius: ${oe.pill};
|
|
493
|
-
`,Dt=i.button`
|
|
494
|
-
display: grid;
|
|
495
|
-
place-items: center;
|
|
496
|
-
width: 16px;
|
|
497
|
-
height: 16px;
|
|
498
|
-
padding: 0;
|
|
499
|
-
border: 0;
|
|
500
|
-
background: none;
|
|
501
|
-
color: ${l.text};
|
|
502
|
-
cursor: pointer;
|
|
503
|
-
|
|
504
|
-
&:disabled {
|
|
505
|
-
color: ${l.muted2};
|
|
506
|
-
cursor: default;
|
|
507
|
-
}
|
|
508
|
-
`,Kn=i.span`
|
|
509
|
-
min-width: 12px;
|
|
510
|
-
font-size: 14px;
|
|
511
|
-
font-weight: 500;
|
|
512
|
-
line-height: 1.2;
|
|
513
|
-
color: ${l.text};
|
|
514
|
-
text-align: center;
|
|
515
|
-
`,Nn=i.div`
|
|
516
|
-
display: inline-flex;
|
|
517
|
-
align-items: center;
|
|
518
|
-
gap: 4px;
|
|
519
|
-
/* Always right-aligned: with a stepper present space-between handles it; for secondary/unique lines
|
|
520
|
-
(no stepper) the auto margin keeps the lone price on the right instead of falling to the left. */
|
|
521
|
-
margin-left: auto;
|
|
522
|
-
font-size: 24px;
|
|
523
|
-
font-weight: 600;
|
|
524
|
-
color: ${l.text2};
|
|
525
|
-
|
|
526
|
-
${E} {
|
|
527
|
-
font-size: 20px;
|
|
528
|
-
}
|
|
529
|
-
`,Qn=i(Ie)`
|
|
530
|
-
width: 24px;
|
|
531
|
-
height: 24px;
|
|
532
|
-
background: ${l.text};
|
|
533
|
-
|
|
534
|
-
${E} {
|
|
535
|
-
width: 20px;
|
|
536
|
-
height: 20px;
|
|
537
|
-
}
|
|
538
|
-
`,Un=i.span`
|
|
539
|
-
margin-left: 6px;
|
|
540
|
-
font-size: 14px;
|
|
541
|
-
font-weight: 500;
|
|
542
|
-
color: ${l.muted};
|
|
543
|
-
text-decoration: line-through;
|
|
544
|
-
`,Gn=i.div`
|
|
545
|
-
position: absolute;
|
|
546
|
-
top: 9px;
|
|
547
|
-
right: 7px;
|
|
548
|
-
display: flex;
|
|
549
|
-
align-items: flex-start;
|
|
550
|
-
gap: 12px;
|
|
551
|
-
`,Hn=i.span`
|
|
552
|
-
display: inline-flex;
|
|
553
|
-
align-items: center;
|
|
554
|
-
gap: 4px;
|
|
555
|
-
font-size: 12px;
|
|
556
|
-
font-weight: 600;
|
|
557
|
-
line-height: 1;
|
|
558
|
-
text-transform: uppercase;
|
|
559
|
-
color: ${l.text2};
|
|
560
|
-
`,On=i(Y)`
|
|
561
|
-
color: #f48221;
|
|
562
|
-
`,Dn=i.span`
|
|
563
|
-
align-self: flex-start;
|
|
564
|
-
display: inline-flex;
|
|
565
|
-
align-items: center;
|
|
566
|
-
gap: 4px;
|
|
567
|
-
padding: 2px 4px;
|
|
568
|
-
border-radius: ${oe.chip};
|
|
569
|
-
background: #f4e9ff;
|
|
570
|
-
font-size: 10px;
|
|
571
|
-
font-weight: 400;
|
|
572
|
-
line-height: 14px;
|
|
573
|
-
color: ${l.text};
|
|
574
|
-
`,Vn=i(Y)`
|
|
575
|
-
width: 11.31px;
|
|
576
|
-
height: 10.94px;
|
|
577
|
-
background: ${l.text};
|
|
578
|
-
`,aa=Je`
|
|
579
|
-
display: grid;
|
|
580
|
-
place-items: center;
|
|
581
|
-
width: 24px;
|
|
582
|
-
height: 24px;
|
|
583
|
-
padding: 0;
|
|
584
|
-
border: 0;
|
|
585
|
-
background: none;
|
|
586
|
-
color: ${l.muted};
|
|
587
|
-
cursor: pointer;
|
|
588
|
-
transition: color 0.12s ease;
|
|
589
|
-
|
|
590
|
-
&:disabled {
|
|
591
|
-
opacity: 0.5;
|
|
592
|
-
cursor: default;
|
|
593
|
-
}
|
|
594
|
-
`,Yn=i.button`
|
|
595
|
-
${aa};
|
|
596
|
-
|
|
597
|
-
&:hover:not(:disabled) {
|
|
598
|
-
color: ${l.text};
|
|
599
|
-
}
|
|
600
|
-
&[data-on] {
|
|
601
|
-
color: ${l.dclRed};
|
|
602
|
-
}
|
|
603
|
-
`,Xn=i.button`
|
|
604
|
-
${aa};
|
|
605
|
-
|
|
606
|
-
&:hover:not(:disabled) {
|
|
607
|
-
color: ${l.dclRed};
|
|
608
|
-
}
|
|
609
|
-
`,Jn=i.div`
|
|
610
|
-
display: flex;
|
|
611
|
-
gap: 20px;
|
|
612
|
-
margin-top: 16px;
|
|
613
|
-
|
|
614
|
-
& .link {
|
|
615
|
-
font-size: 13px;
|
|
616
|
-
color: ${l.muted};
|
|
617
|
-
font-weight: 600;
|
|
618
|
-
}
|
|
619
|
-
& .link:hover:not(:disabled) {
|
|
620
|
-
color: ${l.text};
|
|
621
|
-
}
|
|
622
|
-
`,Zn=i.aside`
|
|
623
|
-
position: sticky;
|
|
624
|
-
top: 172px;
|
|
625
|
-
display: flex;
|
|
626
|
-
flex-direction: column;
|
|
627
|
-
background: ${l.white};
|
|
628
|
-
box-shadow: 0 1px 3px rgba(22, 21, 24, 0.06);
|
|
629
|
-
border-radius: 16px;
|
|
630
|
-
padding: 16px;
|
|
631
|
-
|
|
632
|
-
${ea} {
|
|
633
|
-
position: static;
|
|
634
|
-
}
|
|
635
|
-
${E} {
|
|
636
|
-
position: fixed;
|
|
637
|
-
left: 0;
|
|
638
|
-
right: 0;
|
|
639
|
-
top: auto;
|
|
640
|
-
bottom: 0;
|
|
641
|
-
z-index: 30;
|
|
642
|
-
border: 0;
|
|
643
|
-
/* Square and hard-edged against the page (1182:236910): it is a bar docked to the bottom, not a sheet
|
|
644
|
-
lifted off it. */
|
|
645
|
-
border-radius: 0;
|
|
646
|
-
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
|
|
647
|
-
}
|
|
648
|
-
`,ei=i.h2`
|
|
649
|
-
margin: 0 0 24px;
|
|
650
|
-
padding-bottom: 16px;
|
|
651
|
-
border-bottom: 1px solid ${l.gray4};
|
|
652
|
-
font-size: 24px;
|
|
653
|
-
font-weight: 600;
|
|
654
|
-
color: ${l.text};
|
|
655
|
-
|
|
656
|
-
${E} {
|
|
657
|
-
margin-bottom: 12px;
|
|
658
|
-
padding-bottom: 8px;
|
|
659
|
-
font-size: 16px;
|
|
660
|
-
line-height: 1.6;
|
|
661
|
-
}
|
|
662
|
-
`,ti=i.div`
|
|
663
|
-
display: flex;
|
|
664
|
-
flex-direction: column;
|
|
665
|
-
gap: 12px;
|
|
666
|
-
`,ai=i.div`
|
|
667
|
-
display: flex;
|
|
668
|
-
align-items: flex-start;
|
|
669
|
-
justify-content: space-between;
|
|
670
|
-
gap: 12px;
|
|
671
|
-
`,si=i.span`
|
|
672
|
-
font-size: 14px;
|
|
673
|
-
font-weight: 600;
|
|
674
|
-
line-height: 1.57;
|
|
675
|
-
color: ${l.muted1};
|
|
676
|
-
`,ni=i.span`
|
|
677
|
-
display: inline-flex;
|
|
678
|
-
align-items: center;
|
|
679
|
-
gap: 8px;
|
|
680
|
-
font-size: 24px;
|
|
681
|
-
font-weight: 700;
|
|
682
|
-
color: ${l.text};
|
|
683
|
-
`,ii=i.span`
|
|
684
|
-
display: flex;
|
|
685
|
-
flex-direction: column;
|
|
686
|
-
align-items: flex-end;
|
|
687
|
-
justify-content: center;
|
|
688
|
-
gap: 4px;
|
|
689
|
-
`;i.span`
|
|
690
|
-
font-size: 12px;
|
|
691
|
-
font-weight: 400;
|
|
692
|
-
line-height: 1;
|
|
693
|
-
color: ${l.muted};
|
|
694
|
-
`;const ri=i(Ie)`
|
|
695
|
-
width: 30px;
|
|
696
|
-
height: 30px;
|
|
697
|
-
background: ${l.text};
|
|
698
|
-
-webkit-mask-size: 24px 24px;
|
|
699
|
-
mask-size: 24px 24px;
|
|
700
|
-
-webkit-mask-position: left center;
|
|
701
|
-
mask-position: left center;
|
|
702
|
-
`;i.button`
|
|
703
|
-
width: 100%;
|
|
704
|
-
height: 56px;
|
|
705
|
-
border: 0;
|
|
706
|
-
border-radius: ${oe.btn};
|
|
707
|
-
background: ${vn.buyBtn};
|
|
708
|
-
color: ${l.softWhite};
|
|
709
|
-
font-size: 15px;
|
|
710
|
-
font-weight: 600;
|
|
711
|
-
letter-spacing: 0.046em;
|
|
712
|
-
text-transform: uppercase;
|
|
713
|
-
cursor: pointer;
|
|
714
|
-
transition: background-image 0.15s ease;
|
|
715
|
-
|
|
716
|
-
/* Primary hover/pressed is the solid Primary red (Figma 738:53252 / 738:53262) — the gradient is
|
|
717
|
-
the RESTING fill only. Painted as a flat GRADIENT, not a background-color: the shorthand can't
|
|
718
|
-
interpolate background-image, so gradient -> colour dropped the image midway while the colour was
|
|
719
|
-
still half transparent and the button visibly blinked. Same property both ends = a clean swap. */
|
|
720
|
-
&:hover:not(:disabled),
|
|
721
|
-
&:active:not(:disabled) {
|
|
722
|
-
background-image: linear-gradient(${l.dclRed}, ${l.dclRed});
|
|
723
|
-
}
|
|
724
|
-
&:disabled {
|
|
725
|
-
opacity: 0.6;
|
|
726
|
-
cursor: default;
|
|
727
|
-
}
|
|
728
|
-
`;const sa=Je`
|
|
729
|
-
margin: 0;
|
|
730
|
-
font-size: 13px;
|
|
731
|
-
`,Se=i.p`
|
|
732
|
-
${sa};
|
|
733
|
-
`,oi=i(nn)`
|
|
734
|
-
${sa};
|
|
735
|
-
`,Vt=i.div`
|
|
736
|
-
position: relative;
|
|
737
|
-
flex: 1 0 auto;
|
|
738
|
-
margin-top: 48px;
|
|
739
|
-
/* Below the gray band the cross-sell sits straight on the purple field (Figma) — hence no band of its
|
|
740
|
-
own. The padding is the whole gap from the top of the section to the heading; the shared carousel's
|
|
741
|
-
own top margin is zeroed below so the two don't stack. */
|
|
742
|
-
padding: 47px 0 24px;
|
|
743
|
-
|
|
744
|
-
& section {
|
|
745
|
-
margin-top: 0;
|
|
746
|
-
}
|
|
747
|
-
`;function Ve(n){if(an(n))return a("errors.rejected");const d=(n.message??"").toLowerCase();return d.includes("insufficient")?a("cart.error.insufficient",{currency:Me.name}):d.includes("no active listing")||d.includes("your own listing")?a("cart.error.listingChanged"):a("marketCheckout.error.generic")}const ci=12e4;function li(n){const d=[];return n.unavailable.length&&d.push(a("cart.drop.unavailable",{count:n.unavailable.length})),n.own.length&&d.push(a("cart.drop.own",{count:n.own.length})),a("cart.drop.removed",{items:d.join(` ${a("cart.drop.and")} `)})}const Ye=n=>n.reduce((d,k)=>d+k.priceCredits*k.quantity,0),$e=n=>n.flatMap(d=>Array.from({length:d.quantity},()=>({...d,quantity:1}))),Yt=8;function $i(){var St,$t,Mt;Ia({title:a("nav.cart"),noindex:!0});const n=O(t=>t.items),d=O(t=>t.remove),k=O(t=>t.increment),S=O(t=>t.decrement),R=O(t=>t.clear),U=O(t=>t.restore),G=O(t=>t.setFittingOpen),H=Tt(t=>t.items),M=Tt(t=>t.toggle),{session:r,signIn:Ze}=Aa(),na=Ea(),ge=Vs().packs.slice(0,Ys);T.useEffect(()=>(document.body.classList.add("shop-cart-bg"),()=>document.body.classList.remove("shop-cart-bg")),[]);const ia=n.some(t=>t.category!=="emote"),{data:Ee}=Pa({queryKey:["upsell-listings"],queryFn:()=>es({first:40}),staleTime:6e4}),{data:j}=za(r),y=Ra(),X=Sa(),{state:B}=$a(),[ra,ce]=T.useState(null),[et,xe]=T.useState(null),[oa,q]=T.useState(!1),[W,D]=T.useState(null),tt=T.useRef(0),[u,$]=T.useState(null),{data:me}=Ba(r),{data:le}=_a(!0),[Pe,at]=T.useState(""),de=T.useRef(null),st=qa(n),nt=t=>At(st[t.id]),ze=n.filter(nt),it=n.length>0&&ze.length===0,ca=ze.reduce((t,s)=>t+s.priceCredits*s.quantity,0),la=n.reduce((t,s)=>t+s.quantity,0),da=ze.reduce((t,s)=>t+s.quantity,0),rt=W?W.liveTotalCredits:ca,ua=new Set(n.map(t=>t.id)),ot=((Ee==null?void 0:Ee.items)??[]).filter(t=>!ua.has(t.id)).slice(0,12),ct=T.useMemo(()=>n.map(t=>t.contractAddress&&t.itemId?`${t.contractAddress.toLowerCase()}-${t.itemId}`:null).filter(t=>t!==null),[n]),te=Wa(Yt,{exclude:ct}),lt=Fa({enabled:te.enabled,hasSignal:te.hasSignal,isLoading:te.isLoading,isError:te.isError,personalized:(St=te.result)==null?void 0:St.personalized,rowCount:La((($t=te.result)==null?void 0:$t.data)??[]).length}),ha=new Map(W==null?void 0:W.buyable.map(t=>[t.item.id,t])),fe=(j==null?void 0:j.credits)??0,Re=rt*10,pa=le?It(Re,le):0n,Be=Qe({priceCents:Re,priceManaWei:pa,balanceCents:(j==null?void 0:j.balanceCents)??0,manaBalanceWei:me??0n}),ga=t=>t.flatMap(s=>{const o=He(s);return o.kind==="store"?[o.mint]:[]}),xa=t=>t.flatMap(s=>s.acquisition==="trade"?[s.trade]:[]),ma=t=>Object.fromEntries(t.flatMap(s=>s.acquisition==="trade"&&s.coupon?[[s.trade.id,s.coupon]]:[])),fa=Oa,ba=t=>Ya(t.contractAddress,String(t.itemId));function be(t){t(),D(null),xe(null),ce(null)}function ya(){$(null),q(!1)}function dt(t){const s=Ye(t),o=Math.max(0,s-fe),c=ge.find(h=>h.credits>=o)??ge[ge.length-1];at(c.id),V("Shop Buy Credits Prompted",{from:"cart_checkout",credits_needed:s,credits_balance:fe,shortfall:o}),$({phase:"nofunds",lines:t.map(h=>({item:h.item,priceCredits:h.priceCredits,quantity:h.quantity})),shortfall:o}),q(!1)}async function _e(t){if(!r||t.length===0)return;const s=$e(t),o=s.map(f=>({...f.item,priceCredits:f.priceCredits})),c=t.map(f=>({...f.item,priceCredits:f.priceCredits,quantity:f.quantity})),h=[];let v="authorize";const x=new Set,I=new Set,L=new Set,F=[];let w=!1;$({phase:"processing",stage:"reserving",step:1,total:s.length});try{const f=[],P=en(s,Nt);let K=0;for(const p of P){$({phase:"processing",stage:"reserving",step:K+1,total:s.length});try{const{credit:m,maxCreditedValue:b}=await Xa(r.identity,p.units.map(tn));p.units.forEach((Q,ne)=>{h.push({salt:m.id,itemId:Q.item.id}),f.push({...p.drafts[ne],credits:[m],maxCreditedValue:b})}),K+=p.units.length}catch(m){if(sn(m)){if(h.length){try{await Ne(r.identity,[...new Set(h.map(b=>b.salt))])}catch(b){ie(b,{flow:"cart_checkout",step:"release"})}y.invalidateQueries({queryKey:["usd-balance"]})}dt(t);return}throw m}}h.length&&y.invalidateQueries({queryKey:["usd-balance"]}),v="submit";const N=Us(f).length,ee=p=>N>1?{current:p,total:N}:void 0,_=(p,m)=>$({phase:"processing",stage:p,step:s.length,total:s.length,signatures:ee(m)}),C=p=>p<N?_("awaiting-signature",p+1):_("settling",N);_("awaiting-signature",1);let g=[];const A=new Map,ae=async p=>{const m=await Promise.allSettled(p.map(b=>Gs(b)));return m.forEach((b,Q)=>{const ne=A.get(p[Q])??[];b.status==="fulfilled"?(ne.forEach(We=>I.add(We)),F.push(p[Q])):b.reason instanceof Ge||ne.forEach(We=>L.add(We))}),m.flatMap(b=>b.status==="rejected"?[b.reason]:[])};if(Ws())try{let p=0;g=await Hs({purchases:f,buyer:r.address,signer:r.signer,identity:r.identity,onSigned:()=>_("settling",Math.min(p+1,N)),onBroadcast:({txHash:b,salts:Q})=>{p+=1,A.set(b,Q),Q.forEach(ne=>x.add(ne))},onGroupSettling:({settled:b})=>_("settling",b)});const m=await ae(g);if(m.length&&!m.some(b=>b instanceof Ge))throw m[0];w=!0}catch(p){if(p instanceof Ge)throw await ae([...A.keys()]),p;if(!(p instanceof Os)||!Ja(r.providerType))throw p;g=await Ue({purchases:f,buyer:r.address,signer:r.signer,onSigned:C,onBroadcast:({salts:m})=>m.forEach(b=>x.add(b)),onSettled:({txHash:m,salts:b})=>{b.forEach(Q=>I.add(Q)),F.push(m)},onReverted:({salts:m})=>m.forEach(b=>L.add(b))})}else g=await Ue({purchases:f,buyer:r.address,signer:r.signer,onSigned:C,onBroadcast:({salts:p})=>p.forEach(m=>x.add(m)),onSettled:({txHash:p,salts:m})=>{m.forEach(b=>I.add(b)),F.push(p)},onReverted:({salts:p})=>p.forEach(m=>L.add(m))});t.forEach(p=>d(p.item.id)),D(null),V("Shop Completed Purchase",{...we(o),payment_type:"credits",no_crypto_step:w,transaction_hash:g[0]??null}),_t(o.map(p=>p.coupon)),qt(y);const ve=de.current;de.current=null,$(null),q(!1);const se={items:c,txHash:g[0]??void 0,txHashes:g,settled:!0,...ve?{creditsAdded:ve}:{}};X("/success",{state:se,replace:!0})}catch(f){Ce(f)||ie(f,{flow:"cart_checkout",step:v,cart_size:t.length});const P=new Set([...x].filter(g=>!L.has(g))),{toRelease:K,boughtItemIds:N}=Qt({reservations:h,spent:P,settled:I}),ee=[...P].some(g=>!I.has(g)),_=o.filter(g=>N.includes(g.id)),C=o.filter(g=>!N.includes(g.id));if(V(Ce(f)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:v,error_code:Pt(f),value_usd:Et(C.reduce((g,A)=>g+A.priceCredits,0)),cart_size:s.length,partial:_.length>0}),K.length)try{await Ne(r.identity,K)}catch(g){ie(g,{flow:"cart_checkout",step:"release"})}if(y.invalidateQueries({queryKey:["usd-balance"]}),_.length>0){N.forEach(g=>d(g)),D(null),_t(_.map(g=>g.coupon)),qt(y),V("Shop Completed Purchase",{...we(_),payment_type:"credits",no_crypto_step:w,transaction_hash:F[0]??null,partial:!0}),$({phase:"error",message:a("cart.error.partiallyBought"),heldCredits:ee}),q(!1);return}$({phase:"error",message:ee?void 0:Ve(f),heldCredits:ee})}}function ut(t,s){y.invalidateQueries({queryKey:["usd-balance"]}),y.invalidateQueries({queryKey:["detail-trade"]}),y.invalidateQueries({queryKey:["shop-item"]}),y.invalidateQueries({queryKey:["owned-token"]}),y.invalidateQueries({queryKey:["public-token"]}),y.invalidateQueries({queryKey:["item-resales"]}),y.invalidateQueries({queryKey:["shop-items"]}),y.invalidateQueries({queryKey:["catalog-items"]}),y.invalidateQueries({queryKey:["my-assets"]}),y.invalidateQueries({queryKey:["purchases"]}),y.invalidateQueries({queryKey:["owned-item-count"]}),y.invalidateQueries({queryKey:["overview-listings"]}),y.invalidateQueries({queryKey:["upsell-listings"]});const o=de.current;de.current=null,$(null),q(!1);const c={items:t,txHash:s[0]??void 0,txHashes:s,settled:!0,...o?{creditsAdded:o}:{}};X("/success",{state:c,replace:!0})}function ht(t,s){Ce(t)||ie(t,{flow:s,step:"submit"}),V(Ce(t)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"submit",error_code:Pt(t)}),$({phase:"error",message:Ve(t)}),q(!1)}async function va(t,s,o){const c=zt(Rt.MANAToken,s),h=zt(Rt.CreditsManager,s);await Ns({auth:{kind:Qs.Allowance,contractAddress:c.address,spenderAddress:h.address,chainId:s},signer:t,requiredWei:o})}async function pt(){if(le)return le;try{return await y.fetchQuery(Va())}catch{return}}async function wa(t){const s=$e(t).reduce((v,x)=>v+x.usdCents,0),c=(me??0n)>0n?await pt():le,h=c?It(s,c):0n;return{totalCents:s,manaWei:h}}async function gt(t,s){const o=Ye(t),{totalCents:c,manaWei:h}=await wa(t),v=Qe({priceCents:c,priceManaWei:h,balanceCents:(j==null?void 0:j.balanceCents)??0,manaBalanceWei:me??0n});if(s&&v.options.some(x=>x.method===s)){if(s==="credits"){_e(t);return}const x=bt(v,s);await mt(xt(s,t),x,()=>s==="mana"?void yt(t,x):void vt(t,c,h));return}if(v.options.some(x=>x.method==="mana"||x.method==="combined")){$({phase:"choose",lines:t,totalCents:c,manaWei:h}),q(!1);return}if(j!=null&&j.credits<o){dt(t);return}_e(t)}function qe(t){return Qe({priceCents:t.totalCents,priceManaWei:t.manaWei,balanceCents:(j==null?void 0:j.balanceCents)??0,manaBalanceWei:me??0n})}const[ue,ye]=T.useState(null);function xt(t,s){const o=new Map;for(const c of s){const h=rs(t,He(c));o.set(`${h.chainId}:${h.spender.toLowerCase()}`,h)}return[...o.values()]}async function mt(t,s,o){const c=[];for(const{spender:h,chainId:v}of t){const x=Fs(v,h),I=r?await Ls(x,r.address,s).catch(()=>!0):!0;Ks(r==null?void 0:r.providerType,I)&&c.push(x)}if(c.length===0){o();return}q(!1),ft(c,0,o)}function ft(t,s,o){ye({auth:t[s],index:s+1,total:t.length,run:()=>s+1<t.length?ft(t,s+1,o):o()})}function bt(t,s){var o;return((o=t.options.find(c=>c.method===s))==null?void 0:o.manaWei)??0n}function Ca(t){if((u==null?void 0:u.phase)!=="choose")return;const{lines:s,totalCents:o,manaWei:c}=u;if(t==="credits"){_e(s);return}const h=bt(qe(u),t);mt(xt(t,s),h,()=>t==="mana"?void yt(s,h):void vt(s,o,c))}async function yt(t,s){if(!r||t.length===0)return;const o=$e(t),c=o.map(x=>({...x.item,priceCredits:x.priceCredits})),h=t.map(x=>({...x.item,priceCredits:x.priceCredits,quantity:x.quantity})),v=()=>$({phase:"processing",stage:"settling",step:o.length,total:o.length});$({phase:"processing",stage:"awaiting-signature",step:o.length,total:o.length});try{const x=await os({trades:xa(o),coupons:ma(o),mints:ga(o),buyer:r.address,signer:r.signer,onSigned:v,manaWei:s});t.forEach(I=>d(I.item.id)),D(null),V("Shop Completed Purchase",{...we(c),payment_type:"mana",transaction_hash:x[0]??null}),y.invalidateQueries({queryKey:["mana-balance"]}),ut(h,x)}catch(x){ht(x,"buy_cart_mana")}}async function vt(t,s,o){if(!r||t.length===0)return;const c=$e(t),h=c.map(w=>({...w.item,priceCredits:w.priceCredits})),v=t.map(w=>({...w.item,priceCredits:w.priceCredits,quantity:w.quantity})),x=_s(c.map(w=>w.usdCents),(j==null?void 0:j.balanceCents)??0),I=[],L=new Set,F=new Set;$({phase:"processing",stage:"reserving",step:1,total:c.length});try{const w=c.map(He),f=[],P=new Map,K=new Map;for(let C=0;C<c.length;C++){const g=c[C],A=w[C],ae=x[C],ve=qs(Math.max(0,g.usdCents-ae),s,o);let se;if(ae<=0)se=Wt(A,[],"0");else{$({phase:"processing",stage:"reserving",step:C+1,total:c.length});const m=g.item,{credit:b,maxCreditedValue:Q}=await Za(r.identity,ae,A.kind==="trade"?A.trade.id:void 0,m.contractAddress&&m.itemId!=null?{contractAddress:m.contractAddress,itemId:String(m.itemId)}:void 0);I.push({salt:b.id,itemId:m.id}),se=Wt(A,[b],Q)}const p=Nt(se);P.set(p,(P.get(p)??0n)+ve),K.has(p)||K.set(p,f.length),f.push(se)}I.length&&y.invalidateQueries({queryKey:["usd-balance"]});for(const[C,g]of P){const A=K.get(C);A==null||g<=0n||(f[A]={...f[A],maxCreditedValue:(BigInt(f[A].maxCreditedValue)+g).toString()})}const N=[...P.values()].reduce((C,g)=>C+g,0n);await va(r.signer,cs(w[0]),N);const ee=()=>$({phase:"processing",stage:"settling",step:c.length,total:c.length});$({phase:"processing",stage:"awaiting-signature",step:c.length,total:c.length});const _=await Ue({purchases:f,buyer:r.address,signer:r.signer,onSigned:ee,onBroadcast:({salts:C})=>C.forEach(g=>L.add(g)),onReverted:({salts:C})=>C.forEach(g=>F.add(g))});t.forEach(C=>d(C.item.id)),D(null),V("Shop Completed Purchase",{...we(h),payment_type:"credits_and_mana",transaction_hash:_[0]??null}),y.invalidateQueries({queryKey:["mana-balance"]}),ut(v,_)}catch(w){const{toRelease:f}=Qt({reservations:I,spent:new Set([...L].filter(P=>!F.has(P))),settled:new Set});f.length&&Ne(r.identity,f).catch(()=>{}),I.length&&y.invalidateQueries({queryKey:["usd-balance"]}),ht(w,"buy_cart_combined")}}async function J(t){if(!r){Bt({type:"cart-checkout"}),Ze();return}const s=O.getState().items.filter(nt);if(s.length===0)return;ce(null),xe(null),q(!0);const o=s.reduce((c,h)=>c+h.priceCredits*h.quantity,0);V("Shop Started Checkout",{checkout_source:"cart",cart_size:s.length,cart_value_credits:o,cart_value_usd:Et(o),has_sufficient_credits:fe>=o});try{const c=await Js(s,r.address,fa,await pt(),ba,Da),h=[...c.unavailable,...c.own];if(h.length&&(h.forEach(v=>d(v.id)),xe(li(c))),c.buyable.length===0){ce(a("cart.error.noneAvailable")),D(null);return}if(c.orderChanged){D(c),tt.current=Date.now();return}await gt(c.buyable,t)}catch(c){ie(c,{flow:"cart_checkout",step:"review",cart_size:s.length}),ce(Ve(c))}finally{q(!1)}}async function wt(){if(W){if(!r){Bt({type:"cart-checkout"}),Ze();return}if(Date.now()-tt.current>ci){D(null),xe(null),await J();return}ce(null),gt(W.buyable)}}async function ja(){if(Pe){try{sessionStorage.setItem(je,JSON.stringify(O.getState().items))}catch{}q(!0);try{const t=await Zs(Pe,r?{address:r.address,identity:r.identity}:void 0);if(t.url){window.location.href=t.url;return}if(!t.orderId)throw new Error("Checkout returned neither a redirect url nor an order id");X(`/credits?order=${encodeURIComponent(t.orderId)}`)}catch(t){try{sessionStorage.removeItem(je)}catch{}ie(t,{flow:"cart_buy_credits"}),$({phase:"error",message:a("buyModal.error.creditsCheckout")})}finally{q(!1)}}}const Ct=T.useRef(!1);T.useEffect(()=>{if(!r||Ct.current||!ss("cart-checkout"))return;Ct.current=!0;const t=setTimeout(()=>void J(),0);return()=>clearTimeout(t)},[r]);const jt=T.useRef(!1);T.useEffect(()=>{if(!(B!=null&&B.resumeCheckout)||jt.current)return;jt.current=!0,de.current=B.creditsAdded??null;try{const s=sessionStorage.getItem(je);if(s){sessionStorage.removeItem(je);const o=JSON.parse(s);Array.isArray(o)&&o.length&&U(o)}}catch{}y.invalidateQueries({queryKey:["usd-balance"]});const t=setTimeout(()=>void J(),0);return()=>clearTimeout(t)},[B==null?void 0:B.resumeCheckout]);const kt=T.useRef(!1);T.useEffect(()=>{if(!(B!=null&&B.startCheckout)||kt.current)return;kt.current=!0,X(".",{replace:!0,state:null});const t=setTimeout(()=>void J(),0);return()=>clearTimeout(t)},[B==null?void 0:B.startCheckout]);const Z=oa||(u==null?void 0:u.phase)==="processing";if(n.length===0&&!u)return e.jsx(Gt,{children:e.jsxs(Ot,{children:[e.jsxs(Ht,{onClick:()=>X(-1),type:"button",children:[e.jsx(Y,{name:"arrow-left"}),a("nav.cart")]}),e.jsx(Sn,{children:e.jsx(Ka,{variant:"light",testId:"cart-empty",icon:Na,title:a("cart.empty.title"),body:a("cart.empty.body"),cta:{label:a("cart.empty.cta"),to:"/items"}})})]})});const ka=Xs(ge,(u==null?void 0:u.phase)==="nofunds"?u.shortfall:0).packs;return e.jsxs(Gt,{children:[e.jsxs(Ot,{children:[e.jsxs(Ht,{onClick:()=>X(-1),type:"button",children:[e.jsx(Y,{name:"arrow-left"}),a("nav.cart")]}),e.jsxs(wn,{children:[e.jsxs(Cn,{children:[e.jsxs(jn,{children:[e.jsx($n,{onClick:()=>X(-1),type:"button","aria-label":a("cart.goBack"),children:e.jsx(Y,{name:"arrow-left"})}),e.jsx(Mn,{children:a("cart.panelTitle",{count:la})}),ia?e.jsxs(Tn,{onClick:()=>G(!0),disabled:Z,children:[e.jsx(Y,{name:"fitting-room"}),a("cart.fittingRoom")]}):null]}),e.jsxs(kn,{children:[e.jsx(In,{children:n.map(t=>{const s=ha.get(t.id),o=s?s.priceCredits:t.priceCredits,c=!!s&&s.priceCredits!==t.priceCredits,h=!t.tokenId,v=t.quantity,x=typeof t.available=="number"&&v>=t.available,I=o*v,L=Qa(t),F=!!L&&!!H[L],w=Ua(t),f=st[t.id],P=!At(f),K=f==="sold-out"?a("cart.availability.soldOut"):a("cart.availability.unavailable");return e.jsxs(An,{"data-unavailable":P||void 0,children:[e.jsxs(En,{"data-thumb":!0,children:[w?e.jsx(Pn,{to:w,state:{item:t,tradeId:t.tradeId},"aria-label":t.name,children:t.thumbnail?e.jsx("img",{src:t.thumbnail,alt:t.name}):null}):t.thumbnail?e.jsx("img",{src:t.thumbnail,alt:t.name}):null,e.jsx(zn,{"data-check":!0,"aria-hidden":!0,children:e.jsx("svg",{viewBox:"0 0 20 20",width:"12",height:"12",children:e.jsx("path",{d:"M5 10.5l3 3 7-7.5",fill:"none",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.jsxs(Rn,{children:[e.jsxs(Bn,{"data-desc":!0,children:[w?e.jsx(qn,{to:w,state:{item:t,tradeId:t.tradeId},title:t.name,children:t.name}):e.jsx(_n,{title:t.name,children:t.name}),t.creator?e.jsx(Wn,{address:t.creator,linkToProfile:!0}):null,na&&h?e.jsxs(Dn,{"data-testid":"cart-creator-tag",children:[e.jsx(Vn,{name:"buy-from-creator"}),a("cart.creatorTag")]}):null]}),e.jsx(Fn,{children:P?e.jsxs(Hn,{children:[e.jsx(On,{name:"warning-fill",size:24}),K]}):e.jsxs(e.Fragment,{children:[h?e.jsxs(Ln,{children:[e.jsx(Dt,{onClick:()=>be(()=>S(t.id)),disabled:Z||v<=1,"aria-label":a("cart.decreaseQuantity",{name:t.name}),children:e.jsx("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,focusable:"false",children:e.jsx("path",{d:"M3.5 8h9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),e.jsx(Kn,{children:v}),e.jsx(Dt,{onClick:()=>be(()=>k(t.id)),disabled:Z||x,"aria-label":a("cart.increaseQuantity"),children:e.jsx("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,focusable:"false",children:e.jsx("path",{d:"M8 3.5v9M3.5 8h9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]}):null,e.jsxs(Nn,{children:[e.jsx(Qn,{})," ",e.jsx(Ke,{credits:I}),c?e.jsx(Un,{children:e.jsx(Ke,{credits:t.priceCredits*v})}):null]})]})})]}),e.jsxs(Gn,{children:[L?e.jsx(Yn,{"data-on":F||void 0,onClick:()=>M(t),"aria-label":F?a("cart.removeFromFavorites",{name:t.name}):a("cart.addToFavorites",{name:t.name}),title:F?a("assetCard.removeFromFavorites"):a("assetCard.addToFavorites"),children:e.jsx(Y,{name:F?"heart-solid":"heart"})}):null,e.jsx(Xn,{onClick:()=>be(()=>d(t.id)),disabled:Z,"aria-label":a("cart.remove",{name:t.name}),title:a("cart.removeTitle"),children:e.jsx(Y,{name:"trash",size:24})})]})]},t.id)})}),e.jsx(Jn,{children:e.jsx("button",{className:"link",onClick:()=>be(R),disabled:Z,children:a("cart.clearCart")})})]})]}),e.jsxs(Zn,{children:[e.jsx(ei,{children:a("cart.purchaseSummary")}),e.jsxs(ti,{children:[e.jsxs(ai,{children:[e.jsx(si,{children:a("cart.totalItems",{count:da})}),e.jsx(ii,{children:e.jsxs(ni,{children:[e.jsx(ri,{})," ",e.jsx(Ke,{credits:rt})]})})]}),e.jsx(Zt,{options:Be.options,totalCents:Re,shortfall:Be.manaShortfall,showCreditsAmount:!1,creditsLabel:W?a("marketCheckout.confirmPurchase"):Be.options.length>1?a("cart.buyWithCredits"):a("cart.checkout"),busy:Z||it,onPay:t=>void(W?wt():J(t)),creditsFallback:{label:Z?a("cart.working"):W?a("marketCheckout.confirmPurchase"):a("cart.checkout"),onClick:()=>void(W?wt():J())}}),it?e.jsx(Se,{className:"muted",children:a("cart.allUnavailable")}):null,r?null:e.jsx(Se,{className:"muted",children:a("cart.signInHint")}),W?e.jsx(Se,{className:"muted",children:a("cart.priceChanged")}):null,et?e.jsx(Se,{className:"muted",children:et}):null,e.jsx(oi,{message:ra})]})]})]})]}),lt===null&&e.jsx(Vt,{"data-testid":"cart-personal-upsell",children:e.jsx(Ga,{exclude:ct,title:a("cart.suggestedTitle"),surface:"cart",first:Yt})}),lt!==null&&ot.length>0?e.jsx(Vt,{children:e.jsx(ns,{title:a("cart.youMightAlsoLike"),items:ot})}):null,ue&&r?e.jsx(is,{auth:ue.auth,signer:r.signer,step:{index:ue.index,total:ue.total},title:a("authorizeStep.manaTitle"),name:a("authorizeStep.manaName"),reason:a("authorizeStep.manaReason"),icon:e.jsx("img",{src:Te,width:24,height:24,alt:"","aria-hidden":!0}),onAuthorized:()=>{const{run:t}=ue;ye(null),t()},onCancel:()=>ye(null),onClose:()=>ye(null)}):null,u?e.jsx(fn,{phase:u.phase,balanceCredits:fe,heldCreditsCount:((Mt=j==null?void 0:j.held)==null?void 0:Mt.credits)??null,onClose:ya,stage:u.phase==="processing"?u.stage:void 0,step:u.phase==="processing"?u.step:void 0,total:u.phase==="processing"?u.total:void 0,isSelfCustody:Ha(r==null?void 0:r.providerType),signatures:u.phase==="processing"?u.signatures:void 0,options:u.phase==="choose"?qe(u).options:void 0,shortfall:u.phase==="choose"?qe(u).manaShortfall:void 0,onPay:Ca,totalCents:u.phase==="choose"?u.totalCents:void 0,totalManaWei:u.phase==="choose"?u.manaWei:void 0,totalCredits:u.phase==="choose"?Ye(u.lines):void 0,lines:u.phase==="nofunds"?u.lines:void 0,shortfallCredits:u.phase==="nofunds"?u.shortfall:void 0,packs:ka,selectedPack:Pe,onSelectPack:at,onBuyPacks:()=>void ja(),message:u.phase==="error"?u.message:void 0,heldCredits:u.phase==="error"&&!!u.heldCredits,onRetry:()=>void J()}):null]})}export{$i as Cart};
|
|
748
|
-
//# sourceMappingURL=Cart-B-ZbTank.js.map
|