@dcl/shop 1.13.1-35339357506.commit-a201fb1 → 1.13.1-35585926635.commit-02c8d2e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_assets/{Activity-BZMB4hg5.js → Activity-DoatD7MW.js} +4 -4
- package/_assets/{AnimatedBackground-CXVxNT-G.js → AnimatedBackground-dVEk0PGp.js} +6 -6
- package/_assets/Assets-CN1LU5Xt.js +980 -0
- package/_assets/Cart-Bwf6I0xV.js +748 -0
- package/_assets/{Collection-D7LTf_OS.js → Collection-CPZhq7CU.js} +9 -9
- package/_assets/{CollectionCarousel-DsJ7L4rs.js → CollectionCarousel-CrMGuIJ3.js} +4 -4
- package/_assets/{Confetti-cdj3K_E3.js → Confetti-Bd901H1c.js} +4 -4
- package/_assets/{ConstantsUtil-BRm3N2MJ.js → ConstantsUtil-Bk0e9ERj.js} +2 -2
- package/_assets/{ContentClient-BuGONJzu.js → ContentClient-CWtagBtE.js} +2 -2
- package/_assets/{Creator-DTGBDA7q.js → Creator-pBuqm0Cj.js} +2 -2
- package/_assets/{modal.styles-G1Y436F0.js → CreditPackPicker-COb2KClL.js} +83 -50
- package/_assets/{DeploymentBuilder-t6QMfSJh.js → DeploymentBuilder-Dg-EXfAY.js} +2 -2
- package/_assets/{EmotePlaybackBar-DxozN5dA.js → EmotePlaybackBar-DyYs6qdM.js} +3 -3
- package/_assets/{ErrorNotice-Dlh8ddHO.js → ErrorNotice-Cm0KaFyV.js} +2 -2
- package/_assets/Event-C9d1J0Kb.js +72 -0
- package/_assets/{ExchangeController-CSSF68uc.js → ExchangeController-BzBrR3ZT.js} +2 -2
- package/_assets/{Faq-DQCrsGCA.js → Faq-D2noxWN_.js} +2 -2
- package/_assets/{Filters-BsZs-9_M.js → Filters-Dw8HD8Ma.js} +2 -2
- package/_assets/{GetCredits-DLjX5S-_.js → GetCredits-BmFWdIGx.js} +2 -2
- package/_assets/{Grow-CBOQ3rs-.js → Grow-BiGjBqEo.js} +2 -2
- package/_assets/{HelpersUtil-ItKIMa0k.js → HelpersUtil-DQga4Ywl.js} +2 -2
- package/_assets/ItemDetail-BSwm3WSx.js +3779 -0
- package/_assets/{LoadMore-BxuVAL5h.js → LoadMore-i7_riiE5.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-dfVXcaNP.js → ManaPricingBanner.styles-Dyx_YmBW.js} +2 -2
- package/_assets/{MyAssets-BbWDjYod.js → MyAssets-Bs1a3OD9.js} +2 -2
- package/_assets/{MyFavorites-DY192etV.js → MyFavorites-C03JcdtN.js} +2 -2
- package/_assets/{MyStore-qM8HV1zc.js → MyStore-ryCuwvDl.js} +2 -2
- package/_assets/{NetworkUtil-B4oEt17N.js → NetworkUtil-BbMBxyRo.js} +2 -2
- package/_assets/{NotFound-CgcYb0ih.js → NotFound-DOO8Ql2w.js} +2 -2
- package/_assets/{NotificationsBell-txLDBZgz.js → NotificationsBell-VR9lnc9P.js} +2 -2
- package/_assets/{OutfitDetail-EWQSU1q3.js → OutfitDetail-Co1A4WCO.js} +2 -2
- package/_assets/OutfitPreview-Ceha9IWa.js +7 -0
- package/_assets/{OutfitStudio-CymFpAjx.js → OutfitStudio-DGibRraW.js} +2 -2
- package/_assets/{SaleCountdown-3pApusNf.js → SaleCountdown-NdYuBnTu.js} +2 -2
- package/_assets/{Spinner-BhJFlkpV.js → Spinner-B5rI43ql.js} +2 -2
- package/_assets/{StoreSettings-CuaXmFqQ.js → StoreSettings-C2dwtV13.js} +2 -2
- package/_assets/{Success-oMsLbOWh.js → Success-B6gpri2D.js} +2 -2
- package/_assets/{SwapController-DrYUKQJ9.js → SwapController-Di8HGSG3.js} +2 -2
- package/_assets/{Tooltip-BIdqgK8V.js → Tooltip-Bj-rfWuS.js} +2 -2
- package/_assets/{TradeService-JsADFsSl.js → TradeService-D2dJeuos.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-DvSh92CX.js → W3MFrameProviderSingleton-DwbyBYX9.js} +4 -4
- package/_assets/{WebCryptoP256-DgMWbKGz.js → WebCryptoP256-CZzgSMZW.js} +2 -2
- package/_assets/{basic-GpwOtGyM.js → basic-C0ccxPdk.js} +2 -2
- package/_assets/{biconomy-NuhcX0Yi.js → biconomy-DGsEEV8A.js} +2 -2
- package/_assets/{browseLayout.styles-D0MZbKfc.js → browseLayout.styles-Dg021Y7v.js} +2 -2
- package/_assets/{browser-CztLWw1I.js → browser-D3mkrR6N.js} +2 -2
- package/_assets/{browser-D0dzO3fx.js → browser-DfAY1k2K.js} +2 -2
- package/_assets/{browser-ponyfill-BdWvH_If.js → browser-ponyfill-C5RB02M7.js} +2 -2
- package/_assets/{buy-ZzigQNxZ.js → buy-Da1E8jgj.js} +2 -2
- package/_assets/{buy-gasless-5QIoW0es.js → buy-gasless-CaUM9sxG.js} +2 -2
- package/_assets/cart-checkout-uu8usx3x.js +2 -0
- package/_assets/{categories-BCcLvB19.js → categories-DeCaTWZU.js} +2 -2
- package/_assets/{ccip-CcFd-pp_.js → ccip-CIKPg0_h.js} +2 -2
- package/_assets/{ccip-0C-WJ2f3.js → ccip-CIPTk6YK.js} +2 -2
- package/_assets/{chains-BoWQ7jDs.js → chains-CWGwszpJ.js} +2 -2
- package/_assets/collectionPage.styles-DOzyhn9M.js +41 -0
- package/_assets/{common-aEQBU1aZ.js → common-DamPx7zD.js} +2 -2
- package/_assets/{controller-BHSkmDDd.js → controller-J7h5zgkf.js} +3 -3
- package/_assets/{core-Dnx08t4s.js → core-BILweyMC.js} +5 -5
- package/_assets/{createSvgIcon-C3DiORbY.js → createSvgIcon-BOJMqAuj.js} +2 -2
- package/_assets/{crumbs.styles-D969n73j.js → crumbs.styles-6TXvIB5e.js} +2 -2
- package/_assets/{custom-CyjlH7Cr.js → custom-CtbaVsvz.js} +2 -2
- package/_assets/{data-capture-BUt-tqa3.js → data-capture-D_Yc-lFk.js} +2 -2
- package/_assets/{dcl-schemas-CyEZVc6x.js → dcl-schemas-Do6ePE9M.js} +2 -2
- package/_assets/{decimals-BLhtmmbN.js → decimals-CPcEXrkP.js} +2 -2
- package/_assets/{decimals-CiM-QvAk.js → decimals-fY1-YeOV.js} +2 -2
- package/_assets/{detectExtension-CdbTZOKn.js → detectExtension-BzGhSQVN.js} +2 -2
- package/_assets/{disposePreview-D5v9GkJF.js → disposePreview-BhRqNFqz.js} +2 -2
- package/_assets/{email-BGoeypvI.js → email-CDJff6Le.js} +2 -2
- package/_assets/{embedded-wallet-Cg2BVqx1.js → embedded-wallet-OlJuY5Lb.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-Bc8640ZT.js → emotion-styled.browser.esm-dqXx08M6.js} +2 -2
- package/_assets/{engine-BQ4XBK5G.js → engine-Cqgf8_-e.js} +2 -2
- package/_assets/{errors-DUBMk1_u.js → errors-COVZQXFS.js} +2 -2
- package/_assets/{estimate-l1-fee-Cvh02XjO.js → estimate-l1-fee-cwAe5Vqz.js} +2 -2
- package/_assets/{eth_estimateGas-BH-_dHsN.js → eth_estimateGas-Bi2jA3d6.js} +2 -2
- package/_assets/{eth_getStorageAt-CHailSu6.js → eth_getStorageAt-Drv0-oaq.js} +2 -2
- package/_assets/{eth_getTransactionCount-Ce8ytlz4.js → eth_getTransactionCount-u8vibbIm.js} +2 -2
- package/_assets/{ethereum-AiomgAl3.js → ethereum-Mtg8xwT8.js} +2 -2
- package/_assets/{ethers-CQbljc2C.js → ethers-DVrorjJ1.js} +2 -2
- package/_assets/{events-Ey8xQ1_i.js → events-CcYNTdVN.js} +2 -2
- package/_assets/{execute-CcyXPSES.js → execute-CoAxXj0W.js} +3 -3
- package/_assets/{extractIPFS-CZpI5_La.js → extractIPFS-DlbP2Osb.js} +2 -2
- package/_assets/{features-CW3BJut9.js → features-DNE6dOZ4.js} +2 -2
- package/_assets/{fetchTokenMetadata-zQ7k58lq.js → fetchTokenMetadata-CiNffAhl.js} +3 -3
- package/_assets/{field.styles-CNumGj8X.js → field.styles-Dsz8I5YB.js} +2 -2
- package/_assets/{fortmatic-D7_cu5X7.js → fortmatic-B2QacKOL.js} +2 -2
- package/_assets/{get-bytecode-ChEcvuHJ.js → get-bytecode-DCxZ_TJS.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-BXFPDksD.js → get-ecosystem-wallet-info-Dpf1xtjk.js} +2 -2
- package/_assets/{getBalance-CdWdKWho.js → getBalance-DacQHsEf.js} +3 -3
- package/_assets/{getInstalledModules-Dy7ryxbR.js → getInstalledModules-_KOhu2kj.js} +2 -2
- package/_assets/{getNFT-DEIlQj0F.js → getNFT-DLLMJ-N8.js} +2 -2
- package/_assets/{getNFT-CVhWquj2.js → getNFT-TgQU4sPn.js} +3 -3
- package/_assets/{grid.styles-DGwAy7au.js → grid.styles-zbj0YrVx.js} +2 -2
- package/_assets/{hashTypedData-CS0nSVCm.js → hashTypedData-C4V4k80v.js} +2 -2
- package/_assets/{hashTypedData-G7W_A13L.js → hashTypedData-CxzAx589.js} +2 -2
- package/_assets/{import-C1FMKChQ.js → import-p1kr6qLz.js} +2 -2
- package/_assets/{in-app-C03QvI9E.js → in-app-niBzraeI.js} +2 -2
- package/_assets/{in-app-wallet-calls-BSt_kW07.js → in-app-wallet-calls-Dyorin4y.js} +2 -2
- package/_assets/{index-QkD5v2W0.js → index-B1-eV0Yy.js} +2 -2
- package/_assets/{index-CbJaCRxI.js → index-B1DNuJsS.js} +2 -2
- package/_assets/{index-B4vPl9JJ.js → index-B39be1Q8.js} +2 -2
- package/_assets/{index-P_yp2lGD.js → index-B6iPDUS8.js} +2 -2
- package/_assets/{index-CAdxESjh.js → index-BC9VPSaU.js} +2 -2
- package/_assets/{index-B9BLMD9v.js → index-BEbVm5wA.js} +2 -2
- package/_assets/{index-CRdAPM4e.js → index-BW2_mJUZ.js} +2 -2
- package/_assets/{index-DNpS4XJW.js → index-BaeSw32D.js} +3 -3
- package/_assets/{index-B_Ukoyjo.js → index-BdTU9iVQ.js} +4 -4
- package/_assets/{index-Bx-HA0Fa.js → index-BdhRH7ae.js} +2 -2
- package/_assets/{index-TuFs6Mw_.js → index-BgrkbkKX.js} +3 -3
- package/_assets/{index-C0q8Kut4.js → index-BhPBG2XL.js} +2 -2
- package/_assets/{index-C53nEuU1.css → index-BhSgZf6d.css} +1 -1
- package/_assets/{index-SRawa_W1.js → index-Bpbs2w1c.js} +2 -2
- package/_assets/{index-WhAOvWl7.js → index-BrTe5eTC.js} +2 -2
- package/_assets/{index-CITTAZNc.js → index-BzKWq7pb.js} +2 -2
- package/_assets/{index-CZ765edO.js → index-C-cdcYSu.js} +2 -2
- package/_assets/{index-DBpSYzZ1.js → index-C9RSadCu.js} +2 -2
- package/_assets/{index-CMsQl6_s.js → index-CD44EXbq.js} +2 -2
- package/_assets/{index-BGlAHo1V.js → index-CEVRFChv.js} +2 -2
- package/_assets/{index-sc9WaH7T.js → index-CEbyUU5H.js} +2 -2
- package/_assets/{index-Cq3PcGZS.js → index-CKb-Chs7.js} +2 -2
- package/_assets/{index-ovxDr1NO.js → index-CRlpbq5e.js} +2 -2
- package/_assets/{index-ZSCJO9rV.js → index-CWE_Bdvd.js} +2 -2
- package/_assets/{index-CzzqMKs2.js → index-CWJFyp1v.js} +2 -2
- package/_assets/{index-mp9sO-P_.js → index-CWc56QrX.js} +2 -2
- package/_assets/{index-DUvDgJtL.js → index-CZEd2SGy.js} +3 -3
- package/_assets/{index-DCOfqwFn.js → index-CZmSHbVE.js} +2 -2
- package/_assets/{index-DiRK7oEZ.js → index-CcTOkZrG.js} +2 -2
- package/_assets/{index-201_pXjD.js → index-Ccey0v_W.js} +2 -2
- package/_assets/{index-BWhGWxu6.js → index-CfGsvFRR.js} +2 -2
- package/_assets/{index-DvGoWYRw.js → index-ChhJ84F9.js} +2 -2
- package/_assets/{index-Bc5rdQrs.js → index-Cn-ULh1k.js} +2 -2
- package/_assets/{index-B0G5-1U4.js → index-CpfmSBK0.js} +2 -2
- package/_assets/{index-C_MZ3G2Z.js → index-Cq-Etsdf.js} +2 -2
- package/_assets/{index-BjTaCUde.js → index-Csp5LciJ.js} +2 -2
- package/_assets/{index-DW4iGfw5.js → index-CwA52DzI.js} +2 -2
- package/_assets/{index-DbnwTj_J.js → index-CwoMLrsB.js} +2 -2
- package/_assets/{index-CseNtOsJ.js → index-CxNh07aM.js} +3 -3
- package/_assets/{index-Cbvqh2tB.js → index-CxOzFLm7.js} +2 -2
- package/_assets/{index-jG0dKzqZ.js → index-D05bb_h6.js} +2 -2
- package/_assets/{index-d0JdYucS.js → index-D8M-5R_3.js} +2 -2
- package/_assets/{index-CeBVhm3u.js → index-D8olnnil.js} +2 -2
- package/_assets/{index-Bvf3c8I8.js → index-DDb_ETfE.js} +2 -2
- package/_assets/{index-D-bvLCMJ.js → index-DLcPHJzx.js} +2 -2
- package/_assets/{index-BHRJojA7.js → index-DUaZ1t6t.js} +2 -2
- package/_assets/{index-DHAeKuI8.js → index-DXmPq_Kc.js} +2 -2
- package/_assets/{index-gx6q3jYb.js → index-D_SCQhiC.js} +2 -2
- package/_assets/{index-DzXb9yfS.js → index-Ddqdlsoi.js} +2 -2
- package/_assets/{index-DYEzTJ00.js → index-DeaVX3Ga.js} +2 -2
- package/_assets/{index-Dr8MILBs.js → index-DjQWTjO5.js} +2 -2
- package/_assets/{index-BDhEGVn5.js → index-DpJ4zJ7r.js} +2 -2
- package/_assets/{index-CSAbgA1H.js → index-Dpu-M2gs.js} +2 -2
- package/_assets/{index-BYpz1U-Z.js → index-DrGWXFkr.js} +2 -2
- package/_assets/{index-C8RRvl4w.js → index-Dyy6WQp0.js} +2 -2
- package/_assets/{index-Csid9_UU.js → index-DzWgqsYH.js} +2 -2
- package/_assets/{index-VVP1Lz5F.js → index-I_W87dfE.js} +2 -2
- package/_assets/{index-D7n0Nbcc.js → index-MqPRfHS_.js} +4 -4
- package/_assets/{index-DtQZWv2W.js → index-PmcUrVFZ.js} +2 -2
- package/_assets/{index-D080sfYK.js → index-U6lik-J8.js} +2 -2
- package/_assets/{index-4lxXm67R.js → index-WiX7N7NB.js} +2 -2
- package/_assets/{index-CtUq3VAh.js → index-_AZXosO6.js} +2 -2
- package/_assets/{index-CVjhybQY.js → index-gg05iP5j.js} +4 -4
- package/_assets/{index-rWvX-JNU.js → index-iRDDuzQN.js} +2 -2
- package/_assets/{index-Cy_pguIe.js → index-pibLOLKX.js} +2 -2
- package/_assets/{index-DmEpmcAI.js → index-rsyTCpy-.js} +2 -2
- package/_assets/{index-4y3ole-I.js → index-sTnDYGsF.js} +2 -2
- package/_assets/{index-BiR1vPRL.js → index-y9tZLe7Z.js} +13 -13
- package/_assets/{index.es-DmJ25C-K.js → index.es-BZZFX7UO.js} +2 -2
- package/_assets/{index.es-DF1aG5Z7.js → index.es-CPftFMVM.js} +2 -2
- package/_assets/{index.es-B3Zhssg2.js → index.es-CWkiohwA.js} +2 -2
- package/_assets/{index.es-CuJy51Rq.js → index.es-p9GOzpcM.js} +5 -5
- package/_assets/{items-empty-BAKFq7PT.js → items-empty-D3SdcrUb.js} +2 -2
- package/_assets/{jump-BolxKTOM.js → jump-BLEV_WoY.js} +2 -2
- package/_assets/{linkAccount-D4jgrDpa.js → linkAccount-DAFP48le.js} +2 -2
- package/_assets/{localBatchGatewayRequest-BMvn0i_b.js → localBatchGatewayRequest-dB8Wq4kD.js} +2 -2
- package/_assets/{modal.styles-wZfJxa-e.js → modal.styles-C5SxmNLg.js} +2 -2
- package/_assets/{native-BS9-NZgY.js → native-CBQhq49N.js} +2 -2
- package/_assets/{networks-BuXAUv57.js → networks-8H1PRpMW.js} +2 -2
- package/_assets/{onramp-B2gdYmCO.js → onramp-J5H4ebWV.js} +2 -2
- package/_assets/{openzeppelin-B_FytaNI.js → openzeppelin-D4p4dWkw.js} +2 -2
- package/_assets/{ownerOf-D6JpENJA.js → ownerOf-6NPphff8.js} +2 -2
- package/_assets/{parseNft-DiM6gxbM.js → parseNft-CNeONFsP.js} +3 -3
- package/_assets/{parseSignature-VwEmUV8h.js → parseSignature-CRChMV-U.js} +2 -2
- package/_assets/{parseSignature-BJVq2ShY.js → parseSignature-RdZmR6vg.js} +4 -4
- package/_assets/{passkeys-DEiWC5Z7.js → passkeys-asZ3JuTk.js} +2 -2
- package/_assets/{pay-with-exchange-C7Nm7Ic2.js → pay-with-exchange-Cv_5xsJB.js} +2 -2
- package/_assets/{prepare-contract-call-r6GCr7Mb.js → prepare-contract-call-Bgba2npe.js} +2 -2
- package/_assets/{qr-overlay-mbqSXRsy.js → qr-overlay-DkizM6BP.js} +4 -4
- package/_assets/{react-DKpLHQl0.js → react-ZT2P9-hV.js} +2 -2
- package/_assets/{receive-KMWzb1kT.js → receive-CawQ-n3T.js} +2 -2
- package/_assets/{resolveImplementation-NjDCaPa0.js → resolveImplementation-BVnQ0KdI.js} +2 -2
- package/_assets/{resume-buy-DRxVLtZn.js → resume-buy-VqFhR9e8.js} +2 -2
- package/_assets/{resume-name-m2sdJCvP.js → resume-name-CTz059A2.js} +2 -2
- package/_assets/{rpc-C6ONv-35.js → rpc-BJ7rd6au.js} +2 -2
- package/_assets/{sales-empty-BJGisiNF.js → sales-empty-l9JLZ5D0.js} +2 -2
- package/_assets/{search-empty-DcGDTM8L.js → search-empty-CkXuQVln.js} +2 -2
- package/_assets/{secp256k1-ZRJNrIuk.js → secp256k1-BGQ_Uqpo.js} +2 -2
- package/_assets/{secp256k1-BhLjMGke.js → secp256k1-BaU6Nn5x.js} +2 -2
- package/_assets/{secp256k1-Dogd-wfD.js → secp256k1-Bu5sn1ZV.js} +2 -2
- package/_assets/{send-B4t6gmpc.js → send-DONjIfwF.js} +2 -2
- package/_assets/{send-batch-transaction-BULbschT.js → send-batch-transaction-C_JYVBkw.js} +2 -2
- package/_assets/{send-eip712-transaction-B5q6HGy1.js → send-eip712-transaction-Clelg5Q-.js} +3 -3
- package/_assets/{send-gasless-transaction-BW_1tZ59.js → send-gasless-transaction-DNc4O0S0.js} +3 -3
- package/_assets/{send-transaction-D5g8ka92.js → send-transaction-pFbo31gg.js} +3 -3
- package/_assets/{sendMetaTransaction-BiqdXKVl.js → sendMetaTransaction-BcKatlZr.js} +2 -2
- package/_assets/{sendRawTransaction-DHZVBFUc.js → sendRawTransaction-BM57FQWh.js} +4 -4
- package/_assets/{sentry-WFsNKO98.js → sentry-qVQnooqM.js} +3 -3
- package/_assets/{serializeTransaction-C1OICSTJ.js → serializeTransaction-FdLqYQ-w.js} +2 -2
- package/_assets/{session-proposal-C_rldw8k.js → session-proposal-CAm5TVJB.js} +2 -2
- package/_assets/{session-request-DRsdGyCL.js → session-request-C8xtyN3L.js} +3 -3
- package/_assets/{sha256-YJL3wOOs.js → sha256-CcM85_-b.js} +2 -2
- package/_assets/{sha3-DxT-REZ2.js → sha3-FAYNGyBi.js} +2 -2
- package/_assets/signin-empty-UN_rVDWL.js +2 -0
- package/_assets/{signing-B9DcFwzm.js → signing-FPVJ2eSa.js} +4 -4
- package/_assets/{skeleton.styles-C4BBCe2d.js → skeleton.styles-DTLcQB9A.js} +2 -2
- package/_assets/{socials-Zki4qksa.js → socials-BHL-s99I.js} +2 -2
- package/_assets/{styled-uWbR3175.js → styled-BOKv7XKm.js} +2 -2
- package/_assets/{swaps-DiPvT9W6.js → swaps-DDuyuFV1.js} +2 -2
- package/_assets/{thirdweb-wDwbIJ1W.js → thirdweb-N4oYmhTQ.js} +4 -4
- package/_assets/{to-serializable-transaction-6f6pRX-q.js → to-serializable-transaction-DZXV0RS9.js} +3 -3
- package/_assets/{totalSupply-rJ9WcMzs.js → totalSupply-DnoXRYZk.js} +2 -2
- package/_assets/{trade-encoding-DcX77zVS.js → trade-encoding-JnGsRcov.js} +2 -2
- package/_assets/{transaction-DxXkarJJ.js → transaction-D82LqpKn.js} +2 -2
- package/_assets/{transactionReceipt-CxzioWsu.js → transactionReceipt-DEqK-l-5.js} +2 -2
- package/_assets/{transactions-BGQTb4VV.js → transactions-1TYNoevC.js} +2 -2
- package/_assets/{useCreatorSales-D4BzYp33.js → useCreatorSales-oruupPPN.js} +2 -2
- package/_assets/{useInfiniteGrid-BUDyyZZl.js → useInfiniteGrid-56c_34kP.js} +2 -2
- package/_assets/{useStore-tid_idJp.js → useStore-CGFjD1j7.js} +3 -3
- package/_assets/{useTheme-CRxh5DOu.js → useTheme-J18Pg7gw.js} +2 -2
- package/_assets/{utils-Cj21wfvp.js → utils-BE7z1_FY.js} +2 -2
- package/_assets/{verifyHash-mzlxS6TY.js → verifyHash-Buuby46g.js} +2 -2
- package/_assets/{w3m-modal-BArYWi0C.js → w3m-modal-BU-cBw0Z.js} +2 -2
- package/_assets/{w3m-modal-BXpuWB5y.js → w3m-modal-DhWirtG8.js} +2 -2
- package/_assets/{wait-for-tx-receipt-DRwGvrwD.js → wait-for-tx-receipt-CG08f_bj.js} +2 -2
- package/_assets/{wallets-HjCMtUn8.js → wallets-CMB2i32E.js} +6 -6
- package/_assets/{web-connector-15d-OnTN.js → web-connector-BPh_N46m.js} +4 -4
- package/_assets/{writeContract-BJQQGUKO.js → writeContract-BcpztdZJ.js} +2 -2
- package/_assets/{zora-sepolia-BFYuSeeX.js → zora-sepolia-arxykf8i.js} +2 -2
- package/_assets/{zoraTestnet-DdfVMUdb.js → zoraTestnet-DL2ClkoW.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Assets-tHTTA31T.js +0 -980
- package/_assets/Cart-BTFM7sgI.js +0 -748
- package/_assets/Event-B3nuIkGW.js +0 -72
- package/_assets/ItemDetail-Bfbuu0cW.js +0 -3779
- package/_assets/OutfitPreview-Cj1w-8ou.js +0 -7
- package/_assets/cart-checkout-D_rUzOn4.js +0 -2
- package/_assets/collectionPage.styles-rZa1BWWK.js +0 -41
- package/_assets/signin-empty-DXl1Qpby.js +0 -2
package/_assets/Cart-BTFM7sgI.js
DELETED
|
@@ -1,748 +0,0 @@
|
|
|
1
|
-
import{j as e,L as Yt,r as M,b as ja,a as ka}from"./react-DKpLHQl0.js";import{s as r,a as z,t as a,z as Ie,F as ae,bh as Le,C as Te,bi as $a,E as Ke,bj as Sa,A as Ma,I as Y,n as Ze,B as Ta,af as H,V as Tt,x as Aa,y as Ia,w as Ea,bk as Pa,aK as za,bl as Ra,W as Ba,bm as qa,bn as _a,bo as Fa,bp as At,Y as Wa,bq as La,br as Ka,bs as Na,aq as Ne,Z as Qa,D as Ua,bt as It,O as V,bu as Et,bv as Ga,bw as Oa,l as oe,bx as Ha,by as Da,bz as Va,bA as Qe,be as Ya,bB as Ce,bC as je,bD as Pt,bE as Xa,h as zt,j as Rt,bF as Ja}from"./index-BiR1vPRL.js";import{C as Za,b as es,c as Ue,t as ts,a as as,A as ss,s as Bt,i as qt,m as ns,d as is,e as rs,f as os,p as _t,g as cs}from"./CollectionCarousel-DsJ7L4rs.js";import{m as Ae}from"./mana-matic-light-Bl5duieC.js";import{q as ls,s as ds,g as us,t as hs,u as ps,A as gs}from"./trade-encoding-DcX77zVS.js";import{p as Ft,g as xs,a as Ge}from"./buy-ZzigQNxZ.js";import{w as ms,S as Oe,b as fs,G as bs}from"./buy-gasless-5QIoW0es.js";import{u as ys,M as vs,R as ke,r as ws,c as Cs,g as js,a as ks,p as Wt,b as He}from"./cart-checkout-D_rUzOn4.js";import{M as $s,S as Ss,C as Ms,H as Ts,a as As,T as Is,X as Es,B as Ps,b as zs,c as Lt,d as Rs,e as Ee,f as Bs,g as qs,h as _s,i as Je,j as ge,L as Fs,P as Ws,k as Kt,l as Nt,W as Ls,m as Ks,n as Ns,o as Qs,A as Us,p as Gs,q as Os,r as Hs,s as Ds,t as Vs,u as Ys,v as Xs,w as Js,x as Zs,y as en,z as tn,D as an,E as sn,F as nn,G as rn,I as on}from"./modal.styles-G1Y436F0.js";import{i as cn,a as ln}from"./errors-DUBMk1_u.js";import{E as dn}from"./ErrorNotice-Dlh8ddHO.js";import"./dcl-schemas-CyEZVc6x.js";import"./sentry-WFsNKO98.js";import"./ethers-CQbljc2C.js";import"./intl-AKLEHPeO.js";import"./sendMetaTransaction-BiqdXKVl.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new i.Error().stack;d&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[d]="75b19fa4-6b8c-4847-8009-29d46d5c6a1d",i._sentryDebugIdIdentifier="sentry-dbid-75b19fa4-6b8c-4847-8009-29d46d5c6a1d")}catch{}})();const un=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
gap: 12px;
|
|
5
|
-
align-items: stretch;
|
|
6
|
-
width: 100%;
|
|
7
|
-
`,Xt=`
|
|
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
|
-
`,Qt=r.button`
|
|
39
|
-
${Xt}
|
|
40
|
-
background: ${z.gradients.buyBtn};
|
|
41
|
-
|
|
42
|
-
&:hover:not(:disabled) {
|
|
43
|
-
filter: brightness(1.08);
|
|
44
|
-
}
|
|
45
|
-
`,De=r.button`
|
|
46
|
-
${Xt}
|
|
47
|
-
background: ${z.colors.text2};
|
|
48
|
-
|
|
49
|
-
&:hover:not(:disabled) {
|
|
50
|
-
background: ${z.colors.gray0};
|
|
51
|
-
}
|
|
52
|
-
`,$e=r.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
|
-
`,Ve=r.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
|
-
`,hn=r.span`
|
|
88
|
-
font-size: 13px;
|
|
89
|
-
font-weight: 600;
|
|
90
|
-
letter-spacing: 0.02em;
|
|
91
|
-
opacity: 0.85;
|
|
92
|
-
`,pn=r.span`
|
|
93
|
-
font-size: 18px;
|
|
94
|
-
font-weight: 600;
|
|
95
|
-
opacity: 0.7;
|
|
96
|
-
`,gn=r.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 Jt({options:i,totalCents:d,onPay:k,busy:$=!1,creditsLabel:R,shortfall:U,showCreditsAmount:O=!0,creditsFallback:E=null}){const X=i.some(n=>n.method==="credits");return e.jsxs(un,{children:[!X&&E?e.jsx(Qt,{type:"button","data-testid":"pay-with-credits-topup",onClick:E.onClick,disabled:$,children:e.jsx("span",{children:E.label})}):null,i.map(n=>n.method==="credits"?e.jsxs(Qt,{type:"button","data-testid":"pay-with-credits",onClick:()=>k("credits"),disabled:$,children:[e.jsx("span",{children:R??a("buyModal.buy")}),O?e.jsxs($e,{children:[e.jsx(Ie,{}),e.jsx("span",{children:ae(n.credits)})]}):null]},"credits"):n.method==="mana"?e.jsxs(De,{type:"button","data-testid":"pay-with-mana",onClick:()=>k("mana"),disabled:$,children:[e.jsx("span",{children:a("buyModal.buyWithMana")}),e.jsxs($e,{children:[e.jsx(Ve,{children:e.jsx("img",{src:Ae,alt:"","aria-hidden":!0})}),e.jsx("span",{children:Le(n.manaWei)})]})]},"mana"):e.jsxs(De,{type:"button","data-testid":"pay-with-combined",onClick:()=>k("combined"),disabled:$,children:[e.jsx("span",{children:a("buyModal.buyWith")}),e.jsxs($e,{children:[e.jsx(Ie,{}),e.jsx("span",{children:ae(n.credits)}),e.jsx(pn,{children:"+"}),e.jsx(Ve,{children:e.jsx("img",{src:Ae,alt:"","aria-hidden":!0})}),e.jsx("span",{children:Le(n.manaWei)}),e.jsx(hn,{children:"MANA"})]})]},"combined")),U?e.jsxs(e.Fragment,{children:[e.jsxs(De,{type:"button","data-testid":"pay-with-mana-disabled",disabled:!0,children:[e.jsx("span",{children:a("buyModal.buyWithMana")}),e.jsxs($e,{children:[e.jsx(Ve,{children:e.jsx("img",{src:Ae,alt:"","aria-hidden":!0})}),e.jsx("span",{children:Le(U.manaWei)})]})]},"mana-short"),e.jsx(gn,{"data-testid":"mana-shortfall-note",children:a("buyModal.notEnoughMana")})]}):null,e.jsx("span",{hidden:!0,"data-testid":"pay-total-cents",children:d})]})}const{colors:ce,radius:xn}=z,mn=r.div`
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: center;
|
|
108
|
-
gap: 8px;
|
|
109
|
-
width: 100%;
|
|
110
|
-
`,fn=r.span`
|
|
111
|
-
font-size: 16px;
|
|
112
|
-
line-height: 22px;
|
|
113
|
-
color: ${ce.text2};
|
|
114
|
-
text-transform: capitalize;
|
|
115
|
-
white-space: nowrap;
|
|
116
|
-
`,bn=r.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 ${ce.media};
|
|
130
|
-
|
|
131
|
-
&::-webkit-scrollbar {
|
|
132
|
-
width: 8px;
|
|
133
|
-
}
|
|
134
|
-
&::-webkit-scrollbar-track {
|
|
135
|
-
background: ${ce.media};
|
|
136
|
-
border-radius: 10px;
|
|
137
|
-
}
|
|
138
|
-
&::-webkit-scrollbar-thumb {
|
|
139
|
-
background: #a2a2a2;
|
|
140
|
-
border-radius: ${xn.btn};
|
|
141
|
-
}
|
|
142
|
-
`,yn=r.span`
|
|
143
|
-
margin-left: 8px;
|
|
144
|
-
font-size: 13px;
|
|
145
|
-
font-weight: 600;
|
|
146
|
-
color: ${ce.muted};
|
|
147
|
-
`,vn=r.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: ${ce.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: ${ce.text};
|
|
163
|
-
}
|
|
164
|
-
`,wn=r.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 Cn(i){const{phase:d,balanceCredits:k,onClose:$}=i,R=d==="processing",U=d==="error"?a("cartCheckout.errorTitle"):d==="nofunds"?a("cartCheckout.titleNoFunds"):d==="choose"?a("buyModal.choosePayment"):a("cartCheckout.titleBuy"),O=d==="processing";return e.jsxs($s,{role:"dialog","aria-modal":"true","aria-label":a("cartCheckout.dialogAria"),children:[e.jsx(Ss,{onClick:R?void 0:$,"aria-hidden":!0}),e.jsxs(Ms,{"data-tall":O||void 0,children:[e.jsxs(Ts,{children:[e.jsxs(As,{children:[e.jsx(Is,{children:U}),!R&&e.jsx(Es,{onClick:$,"aria-label":a("buyModal.close"),children:e.jsx(Za,{})})]}),e.jsxs(Ps,{children:[e.jsx(zs,{children:d==="nofunds"?a("buyModal.dclBalance"):a("buyModal.myCreditsBalance")}),e.jsx(Lt,{}),e.jsx(Rs,{children:ae(k)})]}),i.heldCreditsCount&&(d==="choose"||d==="nofunds")?e.jsx(wn,{"data-testid":"cart-held-notice",children:a("buyModal.heldExplainer",{credits:i.heldCreditsCount,currency:Te.name})}):null]}),d==="choose"&&e.jsxs(Ee,{children:[e.jsxs(vn,{children:[e.jsx("span",{children:a("cart.purchaseSummary")}),e.jsxs("strong",{children:[e.jsx(Lt,{}),ae(i.totalCredits??0)]})]}),e.jsx(Jt,{options:i.options??[],totalCents:i.totalCents??0,shortfall:i.shortfall,onPay:i.onPay??(()=>{})})]}),d==="processing"&&e.jsx(jn,{stage:i.stage??"reserving",step:i.step??1,total:i.total??1,isSelfCustody:!!i.isSelfCustody,signatures:i.signatures}),d==="nofunds"&&e.jsx(kn,{lines:i.lines??[],shortfallCredits:i.shortfallCredits??0,packs:i.packs??[],selectedPack:i.selectedPack??"",onSelectPack:i.onSelectPack??(()=>{}),onBuyPacks:i.onBuyPacks??(()=>{}),onCancel:$}),d==="error"&&e.jsxs(Ee,{children:[e.jsxs(Bs,{"data-testid":"buy-error",children:[e.jsx(qs,{src:es,alt:"",width:64,height:80}),e.jsxs(_s,{children:[e.jsx("b",{children:a("cartCheckout.errorHeadline")})," ",i.heldCredits?e.jsxs(e.Fragment,{children:[i.message?e.jsxs(e.Fragment,{children:[i.message," "]}):null,a("cartCheckout.heldLead",{currency:Te.name}),e.jsx("b",{children:a("cartCheckout.heldBold")}),a("cartCheckout.heldTail",{currency:Te.name})]}):i.message??a("cartCheckout.errorBody")]})]}),i.heldCredits?e.jsx(Je,{children:e.jsx(ge,{"data-variant":"purple","data-full":!0,onClick:$,children:a("cartCheckout.gotIt")})}):e.jsxs(Je,{children:[e.jsx(ge,{"data-variant":"outline",onClick:$,children:a("buyModal.cancel")}),e.jsx(ge,{"data-variant":"purple",onClick:i.onRetry??$,children:a("cartCheckout.tryAgain")})]})]})]})]})}function jn({stage:i,step:d,total:k,isSelfCustody:$,signatures:R}){const U=i==="reserving",O=k>0?Math.min(100,Math.round(d/k*100)):0,E=$&&R&&R.total>1,X=i==="awaiting-signature"?$?E?a("cartCheckout.confirmMultiple",{current:R.current,total:R.total}):a("buyModal.confirmToContinue"):a("buyModal.completingTransaction"):i==="settling"?a("buyModal.completingTransaction"):a("cartCheckout.preparing");return e.jsxs(Ee,{"data-processing":!0,children:[e.jsx(Fs,{src:$a,alt:"",width:61,height:61}),e.jsx(Ws,{children:X}),U?e.jsxs(mn,{children:[e.jsx(Kt,{"aria-hidden":!0,children:e.jsx(Nt,{"data-step":!0,style:{width:`${O}%`}})}),k>1?e.jsxs(fn,{children:[d,"/",k]}):null]}):e.jsx(Kt,{"aria-hidden":!0,children:e.jsx(Nt,{})})]})}function kn({lines:i,shortfallCredits:d,packs:k,selectedPack:$,onSelectPack:R,onBuyPacks:U,onCancel:O}){const E=k.find(n=>n.id===$),X=i.reduce((n,G)=>n+(G.quantity??1),0);return e.jsxs(Ee,{children:[e.jsxs(Ls,{"data-testid":"nofunds-warning",children:[e.jsx(Ks,{}),e.jsxs(Ns,{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:X}),Ke()?null:e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(Qs,{href:Sa("/credits"),target:"_blank",rel:"noopener noreferrer",children:a("buyModal.warningLearnMore")})]})]})]}),e.jsx(bn,{children:i.map(n=>{const G=n.quantity??1;return e.jsxs(Us,{children:[e.jsx(Gs,{children:n.item.thumbnail?e.jsx("img",{src:n.item.thumbnail,alt:""}):null}),e.jsxs(Os,{children:[e.jsxs("div",{children:[e.jsxs(Hs,{title:n.item.name,children:[n.item.name||a("buyModal.itemFallback"),G>1?e.jsx(yn,{children:a("cartCheckout.qty",{count:G})}):null]}),n.item.creator?e.jsx(Ds,{address:n.item.creator}):null]}),e.jsxs(Vs,{children:[e.jsx(Ys,{}),e.jsx("span",{children:ae(n.priceCredits*G)})]})]})]},n.item.id)})}),Ke()?null:e.jsxs(e.Fragment,{children:[e.jsx(Xs,{children:k.map(n=>{const G=n.id===$;return e.jsxs(Js,{"data-testid":"credit-pack","data-on":G||void 0,onClick:()=>R(n.id),children:[e.jsx(Zs,{src:en,alt:""}),e.jsx(tn,{children:ae(n.credits)}),e.jsxs(an,{children:["($",n.usd.toFixed(2),")"]})]},n.id)})}),e.jsxs(sn,{children:[e.jsxs(nn,{children:[e.jsx(rn,{}),e.jsx("span",{children:ae((E==null?void 0:E.credits)??0)})]}),e.jsxs(on,{children:["$",((E==null?void 0:E.usd)??0).toFixed(2)]})]})]}),e.jsxs(Je,{children:[e.jsx(ge,{"data-variant":"outline",onClick:O,children:a("buyModal.cancel")}),Ke()?null:e.jsx(ge,{"data-variant":"gradient",onClick:U,children:a("buyModal.buy")})]})]})}const{colors:l,gradients:$n,radius:le}=z,Zt="@media (max-width: 1080px)",I="@media (max-width: 880px)",Ut=r.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
|
-
${I} {
|
|
184
|
-
padding-bottom: 188px; /* room for the fixed summary bar */
|
|
185
|
-
}
|
|
186
|
-
`,Gt=r.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
|
-
${I} {
|
|
211
|
-
display: none;
|
|
212
|
-
}
|
|
213
|
-
`,Sn=r.div`
|
|
214
|
-
display: grid;
|
|
215
|
-
grid-template-columns: minmax(0, 1fr) 615px;
|
|
216
|
-
gap: 24px;
|
|
217
|
-
align-items: start;
|
|
218
|
-
|
|
219
|
-
${Zt} {
|
|
220
|
-
grid-template-columns: 1fr;
|
|
221
|
-
}
|
|
222
|
-
`,Ot=r.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
|
-
${I} {
|
|
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
|
-
`,Mn=r.div`
|
|
263
|
-
min-width: 0;
|
|
264
|
-
display: flex;
|
|
265
|
-
flex-direction: column;
|
|
266
|
-
gap: 12px;
|
|
267
|
-
`,Tn=r.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
|
-
${I} {
|
|
277
|
-
gap: 8px;
|
|
278
|
-
padding: 8px 16px;
|
|
279
|
-
}
|
|
280
|
-
`,An=r.section`
|
|
281
|
-
min-width: 0;
|
|
282
|
-
background: ${l.white};
|
|
283
|
-
border-radius: 16px;
|
|
284
|
-
padding: 24px;
|
|
285
|
-
|
|
286
|
-
${I} {
|
|
287
|
-
padding: 16px;
|
|
288
|
-
}
|
|
289
|
-
`,In=r.div`
|
|
290
|
-
display: flex;
|
|
291
|
-
flex-direction: column;
|
|
292
|
-
align-items: center;
|
|
293
|
-
`,En=r.button`
|
|
294
|
-
display: none;
|
|
295
|
-
|
|
296
|
-
${I} {
|
|
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
|
-
`,Pn=r.h1`
|
|
312
|
-
margin: 0;
|
|
313
|
-
font-size: 14px;
|
|
314
|
-
font-weight: 600;
|
|
315
|
-
line-height: 1.57;
|
|
316
|
-
color: ${l.text};
|
|
317
|
-
|
|
318
|
-
${I} {
|
|
319
|
-
flex: 1;
|
|
320
|
-
min-width: 0;
|
|
321
|
-
font-size: 16px;
|
|
322
|
-
}
|
|
323
|
-
`,zn=r.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: ${le.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
|
-
${I} {
|
|
360
|
-
border-width: 1px;
|
|
361
|
-
border-color: ${l.text};
|
|
362
|
-
color: ${l.text};
|
|
363
|
-
}
|
|
364
|
-
`,Rn=r.div`
|
|
365
|
-
display: flex;
|
|
366
|
-
flex-direction: column;
|
|
367
|
-
gap: 24px;
|
|
368
|
-
`,Bn=r.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: ${le.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
|
-
`,qn=r.div`
|
|
388
|
-
position: relative;
|
|
389
|
-
flex-shrink: 0;
|
|
390
|
-
width: 137.5px;
|
|
391
|
-
height: 137px;
|
|
392
|
-
background: ${l.media};
|
|
393
|
-
border-radius: ${le.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
|
-
${I} {
|
|
406
|
-
width: 120px;
|
|
407
|
-
height: 120px;
|
|
408
|
-
}
|
|
409
|
-
`,_n=r(Yt)`
|
|
410
|
-
position: absolute;
|
|
411
|
-
inset: 0;
|
|
412
|
-
display: grid;
|
|
413
|
-
place-items: center;
|
|
414
|
-
`,Fn=r.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
|
-
`,Wn=r.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
|
-
${I} {
|
|
434
|
-
padding: 12px 4px 12px 0;
|
|
435
|
-
}
|
|
436
|
-
`,Ln=r.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
|
-
`,ea=Ze`
|
|
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
|
-
${I} {
|
|
458
|
-
white-space: normal;
|
|
459
|
-
display: -webkit-box;
|
|
460
|
-
-webkit-line-clamp: 2;
|
|
461
|
-
line-clamp: 2;
|
|
462
|
-
-webkit-box-orient: vertical;
|
|
463
|
-
}
|
|
464
|
-
`,Kn=r.div`
|
|
465
|
-
${ea};
|
|
466
|
-
`,Nn=r(Yt)`
|
|
467
|
-
${ea};
|
|
468
|
-
`,Qn=r(Ma)`
|
|
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
|
-
`,Un=r.div`
|
|
481
|
-
display: flex;
|
|
482
|
-
align-items: center;
|
|
483
|
-
justify-content: space-between;
|
|
484
|
-
gap: 12px;
|
|
485
|
-
padding-right: 8px;
|
|
486
|
-
`,Gn=r.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: ${le.pill};
|
|
493
|
-
`,Ht=r.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
|
-
`,On=r.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
|
-
`,Hn=r.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
|
-
${I} {
|
|
527
|
-
font-size: 20px;
|
|
528
|
-
}
|
|
529
|
-
`,Dn=r(Ie)`
|
|
530
|
-
width: 24px;
|
|
531
|
-
height: 24px;
|
|
532
|
-
background: ${l.text};
|
|
533
|
-
|
|
534
|
-
${I} {
|
|
535
|
-
width: 20px;
|
|
536
|
-
height: 20px;
|
|
537
|
-
}
|
|
538
|
-
`,Vn=r.span`
|
|
539
|
-
margin-left: 6px;
|
|
540
|
-
font-size: 14px;
|
|
541
|
-
font-weight: 500;
|
|
542
|
-
color: ${l.muted};
|
|
543
|
-
text-decoration: line-through;
|
|
544
|
-
`,Yn=r.div`
|
|
545
|
-
position: absolute;
|
|
546
|
-
top: 9px;
|
|
547
|
-
right: 7px;
|
|
548
|
-
display: flex;
|
|
549
|
-
align-items: flex-start;
|
|
550
|
-
gap: 12px;
|
|
551
|
-
`,Xn=r.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
|
-
`,Jn=r(Y)`
|
|
561
|
-
color: #f48221;
|
|
562
|
-
`,Zn=r.span`
|
|
563
|
-
align-self: flex-start;
|
|
564
|
-
display: inline-flex;
|
|
565
|
-
align-items: center;
|
|
566
|
-
gap: 4px;
|
|
567
|
-
padding: 2px 4px;
|
|
568
|
-
border-radius: ${le.chip};
|
|
569
|
-
background: #f4e9ff;
|
|
570
|
-
font-size: 10px;
|
|
571
|
-
font-weight: 400;
|
|
572
|
-
line-height: 14px;
|
|
573
|
-
color: ${l.text};
|
|
574
|
-
`,ei=r(Y)`
|
|
575
|
-
width: 11.31px;
|
|
576
|
-
height: 10.94px;
|
|
577
|
-
background: ${l.text};
|
|
578
|
-
`,ta=Ze`
|
|
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
|
-
`,ti=r.button`
|
|
595
|
-
${ta};
|
|
596
|
-
|
|
597
|
-
&:hover:not(:disabled) {
|
|
598
|
-
color: ${l.text};
|
|
599
|
-
}
|
|
600
|
-
&[data-on] {
|
|
601
|
-
color: ${l.dclRed};
|
|
602
|
-
}
|
|
603
|
-
`,ai=r.button`
|
|
604
|
-
${ta};
|
|
605
|
-
|
|
606
|
-
&:hover:not(:disabled) {
|
|
607
|
-
color: ${l.dclRed};
|
|
608
|
-
}
|
|
609
|
-
`,si=r.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
|
-
`,ni=r.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
|
-
${Zt} {
|
|
633
|
-
position: static;
|
|
634
|
-
}
|
|
635
|
-
${I} {
|
|
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
|
-
`,ii=r.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
|
-
${I} {
|
|
657
|
-
margin-bottom: 12px;
|
|
658
|
-
padding-bottom: 8px;
|
|
659
|
-
font-size: 16px;
|
|
660
|
-
line-height: 1.6;
|
|
661
|
-
}
|
|
662
|
-
`,ri=r.div`
|
|
663
|
-
display: flex;
|
|
664
|
-
flex-direction: column;
|
|
665
|
-
gap: 12px;
|
|
666
|
-
`,oi=r.div`
|
|
667
|
-
display: flex;
|
|
668
|
-
align-items: flex-start;
|
|
669
|
-
justify-content: space-between;
|
|
670
|
-
gap: 12px;
|
|
671
|
-
`,ci=r.span`
|
|
672
|
-
font-size: 14px;
|
|
673
|
-
font-weight: 600;
|
|
674
|
-
line-height: 1.57;
|
|
675
|
-
color: ${l.muted1};
|
|
676
|
-
`,li=r.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
|
-
`,di=r.span`
|
|
684
|
-
display: flex;
|
|
685
|
-
flex-direction: column;
|
|
686
|
-
align-items: flex-end;
|
|
687
|
-
justify-content: center;
|
|
688
|
-
gap: 4px;
|
|
689
|
-
`;r.span`
|
|
690
|
-
font-size: 12px;
|
|
691
|
-
font-weight: 400;
|
|
692
|
-
line-height: 1;
|
|
693
|
-
color: ${l.muted};
|
|
694
|
-
`;const ui=r(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
|
-
`;r.button`
|
|
703
|
-
width: 100%;
|
|
704
|
-
height: 56px;
|
|
705
|
-
border: 0;
|
|
706
|
-
border-radius: ${le.btn};
|
|
707
|
-
background: ${$n.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 aa=Ze`
|
|
729
|
-
margin: 0;
|
|
730
|
-
font-size: 13px;
|
|
731
|
-
`,Se=r.p`
|
|
732
|
-
${aa};
|
|
733
|
-
`,hi=r(dn)`
|
|
734
|
-
${aa};
|
|
735
|
-
`,Dt=r.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 Ye(i){if(cn(i))return a("errors.rejected");const d=(i.message??"").toLowerCase();return d.includes("insufficient")?a("cart.error.insufficient",{currency:Te.name}):d.includes("no active listing")||d.includes("your own listing")?a("cart.error.listingChanged"):a("marketCheckout.error.generic")}const pi=12e4;function gi(i){const d=[];return i.unavailable.length&&d.push(a("cart.drop.unavailable",{count:i.unavailable.length})),i.own.length&&d.push(a("cart.drop.own",{count:i.own.length})),a("cart.drop.removed",{items:d.join(` ${a("cart.drop.and")} `)})}const Xe=i=>i.reduce((d,k)=>d+k.priceCredits*k.quantity,0),Me=i=>i.flatMap(d=>Array.from({length:d.quantity},()=>({...d,quantity:1}))),Vt=8;function Ei(){var $t,St,Mt;Ta({title:a("nav.cart"),noindex:!0});const i=H(t=>t.items),d=H(t=>t.remove),k=H(t=>t.increment),$=H(t=>t.decrement),R=H(t=>t.clear),U=H(t=>t.restore),O=H(t=>t.setFittingOpen),E=Tt(t=>t.items),X=Tt(t=>t.toggle),{session:n,signIn:G}=Aa(),sa=Ia(),xe=ys().packs.slice(0,vs);M.useEffect(()=>(document.body.classList.add("shop-cart-bg"),()=>document.body.classList.remove("shop-cart-bg")),[]);const na=i.some(t=>t.category!=="emote"),{data:Pe}=Ea({queryKey:["upsell-listings"],queryFn:()=>Ja({first:40}),staleTime:6e4}),{data:j}=Pa(n),y=za(),J=ja(),{state:B}=ka(),[ia,de]=M.useState(null),[et,me]=M.useState(null),[ra,q]=M.useState(!1),[_,D]=M.useState(null),tt=M.useRef(0),[h,S]=M.useState(null),{data:fe}=Ra(n),{data:ue}=Ba(!0),[ze,at]=M.useState(""),he=M.useRef(null),st=qa(i),nt=t=>It(st[t.id]),Re=i.filter(nt),it=i.length>0&&Re.length===0,oa=Re.reduce((t,s)=>t+s.priceCredits*s.quantity,0),ca=i.reduce((t,s)=>t+s.quantity,0),la=Re.reduce((t,s)=>t+s.quantity,0),rt=_?_.liveTotalCredits:oa,da=new Set(i.map(t=>t.id)),ot=((Pe==null?void 0:Pe.items)??[]).filter(t=>!da.has(t.id)).slice(0,12),ct=M.useMemo(()=>i.map(t=>t.contractAddress&&t.itemId?`${t.contractAddress.toLowerCase()}-${t.itemId}`:null).filter(t=>t!==null),[i]),se=_a(Vt,{exclude:ct}),lt=Fa({enabled:se.enabled,hasSignal:se.hasSignal,isLoading:se.isLoading,isError:se.isError,personalized:($t=se.result)==null?void 0:$t.personalized,rowCount:((St=se.result)==null?void 0:St.data.length)??0}),ua=new Map(_==null?void 0:_.buyable.map(t=>[t.item.id,t])),be=(j==null?void 0:j.credits)??0,Be=rt*10,ha=ue?At(Be,ue):0n,qe=Ue({priceCents:Be,priceManaWei:ha,balanceCents:(j==null?void 0:j.balanceCents)??0,manaBalanceWei:fe??0n}),pa=t=>t.flatMap(s=>{const o=He(s);return o.kind==="store"?[o.mint]:[]}),ga=t=>t.flatMap(s=>s.acquisition==="trade"?[s.trade]:[]),xa=t=>Object.fromEntries(t.flatMap(s=>s.acquisition==="trade"&&s.coupon?[[s.trade.id,s.coupon]]:[])),ma=Ga,fa=t=>Da(t.contractAddress,String(t.itemId));function ye(t){t(),D(null),me(null),de(null)}function ba(){S(null),q(!1)}function dt(t){const s=Xe(t),o=Math.max(0,s-be),c=xe.find(u=>u.credits>=o)??xe[xe.length-1];at(c.id),V("Shop Buy Credits Prompted",{from:"cart_checkout",credits_needed:s,credits_balance:be,shortfall:o}),S({phase:"nofunds",lines:t.map(u=>({item:u.item,priceCredits:u.priceCredits,quantity:u.quantity})),shortfall:o}),q(!1)}async function _e(t){if(!n||t.length===0)return;const s=Me(t),o=s.map(f=>({...f.item,priceCredits:f.priceCredits})),c=t.map(f=>({...f.item,priceCredits:f.priceCredits,quantity:f.quantity})),u=[];let v="authorize";const g=new Set,T=new Set,L=new Set,F=[];let w=!1;S({phase:"processing",stage:"reserving",step:1,total:s.length});try{const f=[],P=js(s,Ft);let K=0;for(const p of P){S({phase:"processing",stage:"reserving",step:K+1,total:s.length});try{const{credit:m,maxCreditedValue:b}=await Va(n.identity,p.units.map(ks));p.units.forEach((Q,re)=>{u.push({salt:m.id,itemId:Q.item.id}),f.push({...p.drafts[re],credits:[m],maxCreditedValue:b})}),K+=p.units.length}catch(m){if(ln(m)){if(u.length){try{await Qe(n.identity,[...new Set(u.map(b=>b.salt))])}catch(b){oe(b,{flow:"cart_checkout",step:"release"})}y.invalidateQueries({queryKey:["usd-balance"]})}dt(t);return}throw m}}u.length&&y.invalidateQueries({queryKey:["usd-balance"]}),v="submit";const N=xs(f).length,te=p=>N>1?{current:p,total:N}:void 0,W=(p,m)=>S({phase:"processing",stage:p,step:s.length,total:s.length,signatures:te(m)}),C=p=>p<N?W("awaiting-signature",p+1):W("settling",N);W("awaiting-signature",1);let x=[];const A=new Map,ne=async p=>{const m=await Promise.allSettled(p.map(b=>ms(b)));return m.forEach((b,Q)=>{const re=A.get(p[Q])??[];b.status==="fulfilled"?(re.forEach(We=>T.add(We)),F.push(p[Q])):b.reason instanceof Oe||re.forEach(We=>L.add(We))}),m.flatMap(b=>b.status==="rejected"?[b.reason]:[])};if(ls())try{let p=0;x=await fs({purchases:f,buyer:n.address,signer:n.signer,identity:n.identity,onSigned:()=>W("settling",Math.min(p+1,N)),onBroadcast:({txHash:b,salts:Q})=>{p+=1,A.set(b,Q),Q.forEach(re=>g.add(re))},onGroupSettling:({settled:b})=>W("settling",b)});const m=await ne(x);if(m.length&&!m.some(b=>b instanceof Oe))throw m[0];w=!0}catch(p){if(p instanceof Oe)throw await ne([...A.keys()]),p;if(!(p instanceof bs)||!Ya(n.providerType))throw p;x=await Ge({purchases:f,buyer:n.address,signer:n.signer,onSigned:C,onBroadcast:({salts:m})=>m.forEach(b=>g.add(b)),onSettled:({txHash:m,salts:b})=>{b.forEach(Q=>T.add(Q)),F.push(m)},onReverted:({salts:m})=>m.forEach(b=>L.add(b))})}else x=await Ge({purchases:f,buyer:n.address,signer:n.signer,onSigned:C,onBroadcast:({salts:p})=>p.forEach(m=>g.add(m)),onSettled:({txHash:p,salts:m})=>{m.forEach(b=>T.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",{...Ce(o),payment_type:"credits",no_crypto_step:w,transaction_hash:x[0]??null}),qt(y);const we=he.current;he.current=null,S(null),q(!1);const ie={items:c,txHash:x[0]??void 0,txHashes:x,settled:!0,...we?{creditsAdded:we}:{}};J("/success",{state:ie,replace:!0})}catch(f){je(f)||oe(f,{flow:"cart_checkout",step:v,cart_size:t.length});const P=new Set([...g].filter(x=>!L.has(x))),{toRelease:K,boughtItemIds:N}=Wt({reservations:u,spent:P,settled:T}),te=[...P].some(x=>!T.has(x)),W=o.filter(x=>N.includes(x.id)),C=o.filter(x=>!N.includes(x.id));if(V(je(f)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:v,error_code:Pt(f),value_usd:Et(C.reduce((x,A)=>x+A.priceCredits,0)),cart_size:s.length,partial:W.length>0}),K.length)try{await Qe(n.identity,K)}catch(x){oe(x,{flow:"cart_checkout",step:"release"})}if(y.invalidateQueries({queryKey:["usd-balance"]}),W.length>0){N.forEach(x=>d(x)),D(null),qt(y),V("Shop Completed Purchase",{...Ce(W),payment_type:"credits",no_crypto_step:w,transaction_hash:F[0]??null,partial:!0}),S({phase:"error",message:a("cart.error.partiallyBought"),heldCredits:te}),q(!1);return}S({phase:"error",message:te?void 0:Ye(f),heldCredits:te})}}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=he.current;he.current=null,S(null),q(!1);const c={items:t,txHash:s[0]??void 0,txHashes:s,settled:!0,...o?{creditsAdded:o}:{}};J("/success",{state:c,replace:!0})}function ht(t,s){je(t)||oe(t,{flow:s,step:"submit"}),V(je(t)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"submit",error_code:Pt(t)}),S({phase:"error",message:Ye(t)}),q(!1)}async function ya(t,s,o){const c=zt(Rt.MANAToken,s),u=zt(Rt.CreditsManager,s);await ps({auth:{kind:gs.Allowance,contractAddress:c.address,spenderAddress:u.address,chainId:s},signer:t,requiredWei:o})}async function pt(){if(ue)return ue;try{return await y.fetchQuery(Ha())}catch{return}}async function va(t){const s=Me(t).reduce((v,g)=>v+g.usdCents,0),c=(fe??0n)>0n?await pt():ue,u=c?At(s,c):0n;return{totalCents:s,manaWei:u}}async function gt(t,s){const o=Xe(t),{totalCents:c,manaWei:u}=await va(t),v=Ue({priceCents:c,priceManaWei:u,balanceCents:(j==null?void 0:j.balanceCents)??0,manaBalanceWei:fe??0n});if(s&&v.options.some(g=>g.method===s)){if(s==="credits"){_e(t);return}const g=bt(v,s);await mt(xt(s,t),g,()=>s==="mana"?void yt(t,g):void vt(t,c,u));return}if(v.options.some(g=>g.method==="mana"||g.method==="combined")){S({phase:"choose",lines:t,totalCents:c,manaWei:u}),q(!1);return}if(j!=null&&j.credits<o){dt(t);return}_e(t)}function Fe(t){return Ue({priceCents:t.totalCents,priceManaWei:t.manaWei,balanceCents:(j==null?void 0:j.balanceCents)??0,manaBalanceWei:fe??0n})}const[pe,ve]=M.useState(null);function xt(t,s){const o=new Map;for(const c of s){const u=ns(t,He(c));o.set(`${u.chainId}:${u.spender.toLowerCase()}`,u)}return[...o.values()]}async function mt(t,s,o){const c=[];for(const{spender:u,chainId:v}of t){const g=ds(v,u),T=n?await us(g,n.address,s).catch(()=>!0):!0;hs(n==null?void 0:n.providerType,T)&&c.push(g)}if(c.length===0){o();return}q(!1),ft(c,0,o)}function ft(t,s,o){ve({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 wa(t){if((h==null?void 0:h.phase)!=="choose")return;const{lines:s,totalCents:o,manaWei:c}=h;if(t==="credits"){_e(s);return}const u=bt(Fe(h),t);mt(xt(t,s),u,()=>t==="mana"?void yt(s,u):void vt(s,o,c))}async function yt(t,s){if(!n||t.length===0)return;const o=Me(t),c=o.map(g=>({...g.item,priceCredits:g.priceCredits})),u=t.map(g=>({...g.item,priceCredits:g.priceCredits,quantity:g.quantity})),v=()=>S({phase:"processing",stage:"settling",step:o.length,total:o.length});S({phase:"processing",stage:"awaiting-signature",step:o.length,total:o.length});try{const g=await is({trades:ga(o),coupons:xa(o),mints:pa(o),buyer:n.address,signer:n.signer,onSigned:v,manaWei:s});t.forEach(T=>d(T.item.id)),D(null),V("Shop Completed Purchase",{...Ce(c),payment_type:"mana",transaction_hash:g[0]??null}),y.invalidateQueries({queryKey:["mana-balance"]}),ut(u,g)}catch(g){ht(g,"buy_cart_mana")}}async function vt(t,s,o){if(!n||t.length===0)return;const c=Me(t),u=c.map(w=>({...w.item,priceCredits:w.priceCredits})),v=t.map(w=>({...w.item,priceCredits:w.priceCredits,quantity:w.quantity})),g=rs(c.map(w=>w.usdCents),(j==null?void 0:j.balanceCents)??0),T=[],L=new Set,F=new Set;S({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 x=c[C],A=w[C],ne=g[C],we=os(Math.max(0,x.usdCents-ne),s,o);let ie;if(ne<=0)ie=_t(A,[],"0");else{S({phase:"processing",stage:"reserving",step:C+1,total:c.length});const m=x.item,{credit:b,maxCreditedValue:Q}=await Xa(n.identity,ne,A.kind==="trade"?A.trade.id:void 0,m.contractAddress&&m.itemId!=null?{contractAddress:m.contractAddress,itemId:String(m.itemId)}:void 0);T.push({salt:b.id,itemId:m.id}),ie=_t(A,[b],Q)}const p=Ft(ie);P.set(p,(P.get(p)??0n)+we),K.has(p)||K.set(p,f.length),f.push(ie)}T.length&&y.invalidateQueries({queryKey:["usd-balance"]});for(const[C,x]of P){const A=K.get(C);A==null||x<=0n||(f[A]={...f[A],maxCreditedValue:(BigInt(f[A].maxCreditedValue)+x).toString()})}const N=[...P.values()].reduce((C,x)=>C+x,0n);await ya(n.signer,cs(w[0]),N);const te=()=>S({phase:"processing",stage:"settling",step:c.length,total:c.length});S({phase:"processing",stage:"awaiting-signature",step:c.length,total:c.length});const W=await Ge({purchases:f,buyer:n.address,signer:n.signer,onSigned:te,onBroadcast:({salts:C})=>C.forEach(x=>L.add(x)),onReverted:({salts:C})=>C.forEach(x=>F.add(x))});t.forEach(C=>d(C.item.id)),D(null),V("Shop Completed Purchase",{...Ce(u),payment_type:"credits_and_mana",transaction_hash:W[0]??null}),y.invalidateQueries({queryKey:["mana-balance"]}),ut(v,W)}catch(w){const{toRelease:f}=Wt({reservations:T,spent:new Set([...L].filter(P=>!F.has(P))),settled:new Set});f.length&&Qe(n.identity,f).catch(()=>{}),T.length&&y.invalidateQueries({queryKey:["usd-balance"]}),ht(w,"buy_cart_combined")}}async function Z(t){if(!n){Bt({type:"cart-checkout"}),G();return}const s=H.getState().items.filter(nt);if(s.length===0)return;de(null),me(null),q(!0);const o=s.reduce((c,u)=>c+u.priceCredits*u.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:be>=o});try{const c=await ws(s,n.address,ma,await pt(),fa,Oa),u=[...c.unavailable,...c.own];if(u.length&&(u.forEach(v=>d(v.id)),me(gi(c))),c.buyable.length===0){de(a("cart.error.noneAvailable")),D(null);return}if(c.orderChanged){D(c),tt.current=Date.now();return}await gt(c.buyable,t)}catch(c){oe(c,{flow:"cart_checkout",step:"review",cart_size:s.length}),de(Ye(c))}finally{q(!1)}}async function wt(){if(_){if(!n){Bt({type:"cart-checkout"}),G();return}if(Date.now()-tt.current>pi){D(null),me(null),await Z();return}de(null),gt(_.buyable)}}async function Ca(){if(ze){try{sessionStorage.setItem(ke,JSON.stringify(H.getState().items))}catch{}q(!0);try{const t=await Cs(ze,n?{address:n.address,identity:n.identity}:void 0);if(t.url){window.location.href=t.url;return}J("/credits")}catch(t){try{sessionStorage.removeItem(ke)}catch{}oe(t,{flow:"cart_buy_credits"}),S({phase:"error",message:a("buyModal.error.creditsCheckout")})}finally{q(!1)}}}const Ct=M.useRef(!1);M.useEffect(()=>{if(!n||Ct.current||!ts("cart-checkout"))return;Ct.current=!0;const t=setTimeout(()=>void Z(),0);return()=>clearTimeout(t)},[n]);const jt=M.useRef(!1);M.useEffect(()=>{if(!(B!=null&&B.resumeCheckout)||jt.current)return;jt.current=!0,he.current=B.creditsAdded??null;try{const s=sessionStorage.getItem(ke);if(s){sessionStorage.removeItem(ke);const o=JSON.parse(s);Array.isArray(o)&&o.length&&U(o)}}catch{}y.invalidateQueries({queryKey:["usd-balance"]});const t=setTimeout(()=>void Z(),0);return()=>clearTimeout(t)},[B==null?void 0:B.resumeCheckout]);const kt=M.useRef(!1);M.useEffect(()=>{if(!(B!=null&&B.startCheckout)||kt.current)return;kt.current=!0,J(".",{replace:!0,state:null});const t=setTimeout(()=>void Z(),0);return()=>clearTimeout(t)},[B==null?void 0:B.startCheckout]);const ee=ra||(h==null?void 0:h.phase)==="processing";return i.length===0&&!h?e.jsx(Ut,{children:e.jsxs(Ot,{children:[e.jsxs(Gt,{onClick:()=>J(-1),type:"button",children:[e.jsx(Y,{name:"arrow-left"}),a("nav.cart")]}),e.jsx(In,{children:e.jsx(Wa,{variant:"light",testId:"cart-empty",icon:La,title:a("cart.empty.title"),body:a("cart.empty.body"),cta:{label:a("cart.empty.cta"),to:"/items"}})})]})}):e.jsxs(Ut,{children:[e.jsxs(Ot,{children:[e.jsxs(Gt,{onClick:()=>J(-1),type:"button",children:[e.jsx(Y,{name:"arrow-left"}),a("nav.cart")]}),e.jsxs(Sn,{children:[e.jsxs(Mn,{children:[e.jsxs(Tn,{children:[e.jsx(En,{onClick:()=>J(-1),type:"button","aria-label":a("cart.goBack"),children:e.jsx(Y,{name:"arrow-left"})}),e.jsx(Pn,{children:a("cart.panelTitle",{count:ca})}),na?e.jsxs(zn,{onClick:()=>O(!0),disabled:ee,children:[e.jsx(Y,{name:"fitting-room"}),a("cart.fittingRoom")]}):null]}),e.jsxs(An,{children:[e.jsx(Rn,{children:i.map(t=>{const s=ua.get(t.id),o=s?s.priceCredits:t.priceCredits,c=!!s&&s.priceCredits!==t.priceCredits,u=!t.tokenId,v=t.quantity,g=typeof t.available=="number"&&v>=t.available,T=o*v,L=Ka(t),F=!!L&&!!E[L],w=Na(t),f=st[t.id],P=!It(f),K=f==="sold-out"?a("cart.availability.soldOut"):a("cart.availability.unavailable");return e.jsxs(Bn,{"data-unavailable":P||void 0,children:[e.jsxs(qn,{"data-thumb":!0,children:[w?e.jsx(_n,{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(Fn,{"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(Wn,{children:[e.jsxs(Ln,{"data-desc":!0,children:[w?e.jsx(Nn,{to:w,state:{item:t,tradeId:t.tradeId},title:t.name,children:t.name}):e.jsx(Kn,{title:t.name,children:t.name}),t.creator?e.jsx(Qn,{address:t.creator,linkToProfile:!0}):null,sa&&u?e.jsxs(Zn,{"data-testid":"cart-creator-tag",children:[e.jsx(ei,{name:"buy-from-creator"}),a("cart.creatorTag")]}):null]}),e.jsx(Un,{children:P?e.jsxs(Xn,{children:[e.jsx(Jn,{name:"warning-fill",size:24}),K]}):e.jsxs(e.Fragment,{children:[u?e.jsxs(Gn,{children:[e.jsx(Ht,{onClick:()=>ye(()=>$(t.id)),disabled:ee||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(On,{children:v}),e.jsx(Ht,{onClick:()=>ye(()=>k(t.id)),disabled:ee||g,"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(Hn,{children:[e.jsx(Dn,{})," ",e.jsx(Ne,{credits:T}),c?e.jsx(Vn,{children:e.jsx(Ne,{credits:t.priceCredits*v})}):null]})]})})]}),e.jsxs(Yn,{children:[L?e.jsx(ti,{"data-on":F||void 0,onClick:()=>X(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(ai,{onClick:()=>ye(()=>d(t.id)),disabled:ee,"aria-label":a("cart.remove",{name:t.name}),title:a("cart.removeTitle"),children:e.jsx(Y,{name:"trash",size:24})})]})]},t.id)})}),e.jsx(si,{children:e.jsx("button",{className:"link",onClick:()=>ye(R),disabled:ee,children:a("cart.clearCart")})})]})]}),e.jsxs(ni,{children:[e.jsx(ii,{children:a("cart.purchaseSummary")}),e.jsxs(ri,{children:[e.jsxs(oi,{children:[e.jsx(ci,{children:a("cart.totalItems",{count:la})}),e.jsx(di,{children:e.jsxs(li,{children:[e.jsx(ui,{})," ",e.jsx(Ne,{credits:rt})]})})]}),e.jsx(Jt,{options:qe.options,totalCents:Be,shortfall:qe.manaShortfall,showCreditsAmount:!1,creditsLabel:_?a("marketCheckout.confirmPurchase"):qe.options.length>1?a("cart.buyWithCredits"):a("cart.checkout"),busy:ee||it,onPay:t=>void(_?wt():Z(t)),creditsFallback:{label:ee?a("cart.working"):_?a("marketCheckout.confirmPurchase"):a("cart.checkout"),onClick:()=>void(_?wt():Z())}}),it?e.jsx(Se,{className:"muted",children:a("cart.allUnavailable")}):null,n?null:e.jsx(Se,{className:"muted",children:a("cart.signInHint")}),_?e.jsx(Se,{className:"muted",children:a("cart.priceChanged")}):null,et?e.jsx(Se,{className:"muted",children:et}):null,e.jsx(hi,{message:ia})]})]})]})]}),lt===null&&e.jsx(Dt,{"data-testid":"cart-personal-upsell",children:e.jsx(Qa,{exclude:ct,title:a("cart.suggestedTitle"),surface:"cart",first:Vt})}),lt!==null&&ot.length>0?e.jsx(Dt,{children:e.jsx(as,{title:a("cart.youMightAlsoLike"),items:ot})}):null,pe&&n?e.jsx(ss,{auth:pe.auth,signer:n.signer,step:{index:pe.index,total:pe.total},title:a("authorizeStep.manaTitle"),name:a("authorizeStep.manaName"),reason:a("authorizeStep.manaReason"),icon:e.jsx("img",{src:Ae,width:24,height:24,alt:"","aria-hidden":!0}),onAuthorized:()=>{const{run:t}=pe;ve(null),t()},onCancel:()=>ve(null),onClose:()=>ve(null)}):null,h?e.jsx(Cn,{phase:h.phase,balanceCredits:be,heldCreditsCount:((Mt=j==null?void 0:j.held)==null?void 0:Mt.credits)??null,onClose:ba,stage:h.phase==="processing"?h.stage:void 0,step:h.phase==="processing"?h.step:void 0,total:h.phase==="processing"?h.total:void 0,isSelfCustody:Ua(n==null?void 0:n.providerType),signatures:h.phase==="processing"?h.signatures:void 0,options:h.phase==="choose"?Fe(h).options:void 0,shortfall:h.phase==="choose"?Fe(h).manaShortfall:void 0,onPay:wa,totalCents:h.phase==="choose"?h.totalCents:void 0,totalManaWei:h.phase==="choose"?h.manaWei:void 0,totalCredits:h.phase==="choose"?Xe(h.lines):void 0,lines:h.phase==="nofunds"?h.lines:void 0,shortfallCredits:h.phase==="nofunds"?h.shortfall:void 0,packs:xe,selectedPack:ze,onSelectPack:at,onBuyPacks:()=>void Ca(),message:h.phase==="error"?h.message:void 0,heldCredits:h.phase==="error"&&!!h.heldCredits,onRetry:()=>void Z()}):null]})}export{Ei as Cart};
|
|
748
|
-
//# sourceMappingURL=Cart-BTFM7sgI.js.map
|