@dcl/shop 1.9.3-32728272723.commit-675c39d → 1.9.3-32743160136.commit-b84a6df
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-wiQBOvJZ.js → Activity-QAKKW4Vj.js} +9 -9
- package/_assets/{AnimatedBackground-RthAgKMY.js → AnimatedBackground-RzTR5pnn.js} +6 -6
- package/_assets/{Assets-Cn69OQsu.js → Assets-DL6YgWYt.js} +21 -21
- package/_assets/{Authorizations-DQkwMniZ.js → Authorizations-fcwMQvEN.js} +2 -2
- package/_assets/Cart-D2KxXi3r.js +748 -0
- package/_assets/{Collection-DQS4BBsd.js → Collection-BbupMgKn.js} +9 -9
- package/_assets/CollectionCarousel-KtrjUFTp.js +834 -0
- package/_assets/{Confetti-CnwifU5L.js → Confetti-B_SGZDIW.js} +4 -4
- package/_assets/{ConstantsUtil-Cnnb7DY5.js → ConstantsUtil-BUQvDf5H.js} +2 -2
- package/_assets/{ContentClient-Z56PWhtK.js → ContentClient-BAcYQSIO.js} +2 -2
- package/_assets/{Creator-Z-kdGyX0.js → Creator-B02TUwGa.js} +11 -11
- package/_assets/{DeploymentBuilder-C1TR_QtL.js → DeploymentBuilder-B77L0L_H.js} +2 -2
- package/_assets/{EmotePlaybackBar-B4bFL84Q.js → EmotePlaybackBar-6-X8QjVO.js} +4 -4
- package/_assets/{ErrorNotice-DB0NutQX.js → ErrorNotice-BVVq2BBw.js} +2 -2
- package/_assets/{ExchangeController-DQsWu6kG.js → ExchangeController-BKu6gC8H.js} +2 -2
- package/_assets/{Faq-B-KjBhpt.js → Faq-D9k3ABvT.js} +2 -2
- package/_assets/{GetCredits-B7o-ahFl.js → GetCredits-Dpn8gB9T.js} +79 -34
- package/_assets/Grow-tHCcyL-r.js +2 -0
- package/_assets/{HelpersUtil-CDlApuwl.js → HelpersUtil-zX6_tyAi.js} +2 -2
- package/_assets/ItemDetail-D4i816QV.js +3671 -0
- package/_assets/{LoadMore-yHCzMVX9.js → LoadMore-BrnolAMt.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-Bkk6IoAa.js → ManaPricingBanner.styles-CLIn26ZQ.js} +9 -9
- package/_assets/{MyAssets-DPBr4EqO.js → MyAssets-0hzzKkK-.js} +4 -4
- package/_assets/{MyFavorites-DIh3AJ72.js → MyFavorites-DI52kW4T.js} +6 -6
- package/_assets/{NetworkUtil-YfaeL3XJ.js → NetworkUtil-B_9c-U8Q.js} +2 -2
- package/_assets/{NotFound-EGQC517r.js → NotFound-OU0x4dCG.js} +2 -2
- package/_assets/NotificationsBell-B31uvOC8.js +142 -0
- package/_assets/{OutfitDetail-D2gRsLmD.js → OutfitDetail-U5OMt9MB.js} +10 -10
- package/_assets/{OutfitPreview-CFbrD7aI.js → OutfitPreview-fsnJyCY_.js} +3 -3
- package/_assets/{OutfitStudio-BkXEDStE.js → OutfitStudio-1fjhOirp.js} +10 -10
- package/_assets/{StoreSettings-BTzgYL0y.js → StoreSettings-Dtc2cFNu.js} +2 -2
- package/_assets/{Success-x2GWyHwZ.js → Success-DmniYPt7.js} +2 -2
- package/_assets/{SwapController-CmNQixyT.js → SwapController-DAEACGPq.js} +2 -2
- package/_assets/{TradeService-DNGia0OJ.js → TradeService-BcpRovgR.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-BT9sgsfW.js → W3MFrameProviderSingleton-BClgaXM6.js} +4 -4
- package/_assets/{WebCryptoP256-V66v1WyH.js → WebCryptoP256-Bzqct4AR.js} +2 -2
- package/_assets/authorizations-Bq00FRrP.js +2 -0
- package/_assets/{basic-S2U2MIXo.js → basic-v2yN93R9.js} +2 -2
- package/_assets/{biconomy-B3GclgM5.js → biconomy-BbyLh2rY.js} +2 -2
- package/_assets/{browseLayout.styles-DdoX94ao.js → browseLayout.styles-DsbssS1X.js} +8 -8
- package/_assets/{browser-Yr5YHIXb.js → browser-B3a9BIYV.js} +2 -2
- package/_assets/{browser-ponyfill-7e35X2wE.js → browser-ponyfill-Dukw0TjS.js} +2 -2
- package/_assets/{builder-ZuQFtHN7.js → builder-DysINipi.js} +2 -2
- package/_assets/buy-DZz-IuoV.js +2 -0
- package/_assets/{buy-gasless-C-8JY4JE.js → buy-gasless-B29llLau.js} +2 -2
- package/_assets/{categories-orB_QPDP.js → categories-ByT980ve.js} +2 -2
- package/_assets/{ccip-GIdsv8rm.js → ccip-BRPx_ZlG.js} +2 -2
- package/_assets/{ccip-BmDS_bTy.js → ccip-DYkZfgm6.js} +2 -2
- package/_assets/{chains-Ca51A7Ks.js → chains-DZroLyZV.js} +2 -2
- package/_assets/{collectionPage.styles-Dh90G62H.js → collectionPage.styles-Djchm0Nm.js} +6 -6
- package/_assets/{common-DQUwV3Gu.js → common-DYJHHIB9.js} +2 -2
- package/_assets/{controller-BJsJcDQe.js → controller-BOWAb87t.js} +3 -3
- package/_assets/{core-Ctn9qkOR.js → core-Bw4v_vQY.js} +5 -5
- package/_assets/createSvgIcon-CaKhLrQG.js +75 -0
- package/_assets/{custom-Do5QPS7e.js → custom-BzZXMtsn.js} +2 -2
- package/_assets/{data-capture-CgHHR5Aj.js → data-capture-BRuFpOfW.js} +2 -2
- package/_assets/{dcl-schemas-BrhDU8Ob.js → dcl-schemas-CN-1-wGb.js} +2 -2
- package/_assets/{decimals-CnKheYha.js → decimals-BPF9JuRG.js} +2 -2
- package/_assets/{decimals-BW_s4s-s.js → decimals-BlaBlIXg.js} +2 -2
- package/_assets/{detectExtension-Bfwwsutx.js → detectExtension-Cpjv7w9d.js} +2 -2
- package/_assets/{disposePreview-DqlQXFBW.js → disposePreview-DvbibLHk.js} +2 -2
- package/_assets/{email-DUmzs_tF.js → email-DRfEf-Gg.js} +2 -2
- package/_assets/{embedded-wallet-Bv1KSoBX.js → embedded-wallet-k-rK_Tzp.js} +2 -2
- package/_assets/emotion-styled.browser.esm-7mw60jip.js +2 -0
- package/_assets/{engine-DEYwEW_p.js → engine-Ds8WBhQq.js} +2 -2
- package/_assets/{errors-CHeQ52EG.js → errors-DUsd8eGX.js} +2 -2
- package/_assets/{estimate-l1-fee-DtiVNA82.js → estimate-l1-fee-BqWlqB6P.js} +2 -2
- package/_assets/{eth_estimateGas-C0J4pFj3.js → eth_estimateGas-Dj0RarmM.js} +2 -2
- package/_assets/{eth_getStorageAt-D_VuzNfo.js → eth_getStorageAt-C2kSbou7.js} +2 -2
- package/_assets/{eth_getTransactionCount-C9QdrrgN.js → eth_getTransactionCount-DxqQ7LF-.js} +2 -2
- package/_assets/{ethereum-D98YbqZW.js → ethereum-CMQLQ53m.js} +2 -2
- package/_assets/{ethers-13WTbgZT.js → ethers-3hUTVH_L.js} +2 -2
- package/_assets/{events-Bfmg7Rrt.js → events-BAvGtdFA.js} +2 -2
- package/_assets/{execute-BKduu7xa.js → execute-B-kQuKck.js} +3 -3
- package/_assets/{extractIPFS-BoSTMqtl.js → extractIPFS-C9V9S9Vx.js} +2 -2
- package/_assets/{features-CiOwD_FL.js → features-D9eM9k8d.js} +2 -2
- package/_assets/{fetchTokenMetadata-CYea_Ae0.js → fetchTokenMetadata-1AbceoZv.js} +3 -3
- package/_assets/{field.styles-1ph2By3r.js → field.styles-DwpKCezV.js} +2 -2
- package/_assets/{fortmatic-FXRUPZdn.js → fortmatic-CeTGzQ72.js} +2 -2
- package/_assets/{get-bytecode-DsFs5fZG.js → get-bytecode-B4ZUFLU7.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-CrXYfBwJ.js → get-ecosystem-wallet-info-Da9XiCOd.js} +2 -2
- package/_assets/{getBalance-CkyNP7Sk.js → getBalance-CJap-JGo.js} +3 -3
- package/_assets/{getInstalledModules-BJjlqPjw.js → getInstalledModules-Do6d5mXY.js} +2 -2
- package/_assets/getNFT-CAMw_8Xw.js +3 -0
- package/_assets/getNFT-CLshkBBY.js +2 -0
- package/_assets/{grid.styles-xN-7VEdz.js → grid.styles-C5Gu9fMU.js} +2 -2
- package/_assets/{hashTypedData-DKoi13N6.js → hashTypedData-BUtmFCdm.js} +2 -2
- package/_assets/{hashTypedData-Csm33HiU.js → hashTypedData-Vr7bI_tu.js} +2 -2
- package/_assets/{in-app-DiZ1z2bU.js → in-app-nwWqF9c8.js} +2 -2
- package/_assets/{in-app-wallet-calls-D_BXC_ak.js → in-app-wallet-calls-N7orXys6.js} +2 -2
- package/_assets/{index-_QehBQtS.js → index-7V82xXhB.js} +2 -2
- package/_assets/{index-BMZPGByj.js → index-8nD-GtHU.js} +2 -2
- package/_assets/{index-CONlhNBW.js → index-9Kw5Rztb.js} +2 -2
- package/_assets/{index-CjDgPW_g.js → index-Ardj6yky.js} +2 -2
- package/_assets/{index-D_MyRErw.js → index-B-dIqjhn.js} +13 -13
- package/_assets/{index-Lagqhz0D.js → index-B5BlLi8g.js} +2 -2
- package/_assets/{index-C66Uqb3h.js → index-BASnFl3W.js} +4 -4
- package/_assets/{index-BbfrgiQ2.js → index-BMDWzXEE.js} +3 -3
- package/_assets/{index-z50ayPbm.js → index-BQ9y6ZaA.js} +2 -2
- package/_assets/{index-FVl1HwRo.js → index-BQb3Wk5r.js} +2 -2
- package/_assets/index-BRQaaXvE.js +29 -0
- package/_assets/{index-DnFe-nlA.js → index-BRZfndrv.js} +5 -5
- package/_assets/{index-BvWdVY3S.js → index-BV9RyOEp.js} +2 -2
- package/_assets/{index-C1mRjPET.js → index-BYVFrjrb.js} +3 -3
- package/_assets/{index-CE_9QqpM.js → index-BaO4bMuZ.js} +2 -2
- package/_assets/{index-CoGsK86G.js → index-BdeCgajO.js} +2 -2
- package/_assets/{index-Ceh2dU74.js → index-Bk-sREBo.js} +3 -3
- package/_assets/{index-D3G8Fdkz.js → index-Bl1ek_ne.js} +8 -8
- package/_assets/{index-YXtOvMCg.js → index-BmpxmYmS.js} +6 -6
- package/_assets/{index-D12w4DAh.js → index-C24_ekJb.js} +3 -3
- package/_assets/{index-pU44WsoO.js → index-C5IAd4qq.js} +2 -2
- package/_assets/{index-FoEkr-Gx.js → index-C5ykZ17C.js} +4 -4
- package/_assets/{index-B-VnvrXk.js → index-C6yqnRel.js} +2 -2
- package/_assets/{index-BLCZsXPx.js → index-C7ZiEK10.js} +5 -5
- package/_assets/index-C7dG5MlC.js +2 -0
- package/_assets/{index-CaUZtRY4.js → index-C8CrTE0H.js} +4 -4
- package/_assets/{index-DK3Qx85d.js → index-CIonCZaH.js} +2 -2
- package/_assets/{index-DoiWiVM0.js → index-CKPrX-hd.js} +2 -2
- package/_assets/{index-1fc9icEt.js → index-CLkhQUQ6.js} +2 -2
- package/_assets/{index-jlD47_Vi.js → index-CPFt5W7a.js} +2 -2
- package/_assets/index-CTkFcWFW.js +31 -0
- package/_assets/{index-BiOg6MaL.js → index-CU8_wCvl.js} +2 -2
- package/_assets/{index-DHZrYG6U.js → index-CW_28RYg.js} +2 -2
- package/_assets/{index-ClWm5BzQ.js → index-Casvq6JB.js} +5 -5
- package/_assets/{index-C0UpQJ3R.js → index-CeMUz1Vt.js} +2 -2
- package/_assets/index-CoOoDCex.js +3 -0
- package/_assets/{index-Dnn6D-aI.js → index-CqtWNRv-.js} +4 -4
- package/_assets/{index-Cw7Ynnas.js → index-CyD5pQGT.js} +6 -6
- package/_assets/{index-CwJ5xwPT.js → index-CyMO1hqV.js} +2 -2
- package/_assets/{index-B9dxuRhp.js → index-CzJG485v.js} +4 -4
- package/_assets/index-D165_lhw.js +2 -0
- package/_assets/{index-Ch6rsL_B.js → index-D7jo6ksh.js} +3 -3
- package/_assets/{index-BIH4pLmB.js → index-DL9BGlLg.js} +9 -9
- package/_assets/{index-sUOR8hyr.js → index-DN4pkOIt.js} +2 -2
- package/_assets/{index-UB89SKfu.js → index-DUZQbok2.js} +2 -2
- package/_assets/{index-BIuwf8hd.js → index-DUiscdsk.js} +2 -2
- package/_assets/{index-C_ZwEBoo.js → index-DaYk4f8v.js} +4 -4
- package/_assets/{index-3lrmnEWw.js → index-DcHviZ_A.js} +2 -2
- package/_assets/{index-CWGgaCTU.js → index-DrBZNwIH.js} +9 -9
- package/_assets/{index-B_ujx6Xm.js → index-DxNecTCT.js} +3 -3
- package/_assets/{index-DOlrtt3M.js → index-DxcjAnEQ.js} +6 -6
- package/_assets/{index-BW-svIkd.js → index-DyxdGNpO.js} +2 -2
- package/_assets/{index-CHQCW37d.js → index-FcM585jS.js} +2 -2
- package/_assets/{index-Clnwiuqm.js → index-GpII3RQe.js} +7 -7
- package/_assets/{index-D3e9i18Z.js → index-N6bLRe9n.js} +2 -2
- package/_assets/{index-nbIX4Ytl.js → index-NxvojHai.js} +3 -3
- package/_assets/{index-Iy_1muGf.js → index-PD4xoiKM.js} +2 -2
- package/_assets/{index-DbYBtUCy.js → index-ZsDPPnJO.js} +2 -2
- package/_assets/{index-8ghXpAgH.js → index-_r_ufyIV.js} +5 -5
- package/_assets/{index-BurKCVaZ.js → index-arksk5Cj.js} +3 -3
- package/_assets/{index-VFfx8OgX.js → index-eBmw3fXZ.js} +3 -3
- package/_assets/{index-D7I_eFC7.js → index-eN8iGXCt.js} +2 -2
- package/_assets/{index-BBW9JwC1.js → index-hVKWyt40.js} +2 -2
- package/_assets/{index-DHDyWXF3.js → index-j4G49haZ.js} +2 -2
- package/_assets/{index-C4ca7Vt-.js → index-mJBnQ2Dj.js} +2 -2
- package/_assets/{index-crQcv9Ov.js → index-o602nshH.js} +2 -2
- package/_assets/{index-BqvS0YcJ.js → index-otS3prm0.js} +2 -2
- package/_assets/{index.es-CgnmJs4M.js → index.es-BYlgbFaR.js} +5 -5
- package/_assets/{index.es-BEhJZqhV.js → index.es-Cv5GXMGv.js} +2 -2
- package/_assets/{index.es-ro7appUX.js → index.es-D6r5jb9y.js} +2 -2
- package/_assets/{index.es-eBlnNE_8.js → index.es-N9rocrKW.js} +2 -2
- package/_assets/{items-empty-DO2UT8K2.js → items-empty-DHu8EAf0.js} +2 -2
- package/_assets/{jump-Bhj8Kohh.js → jump-CZr_KgFH.js} +2 -2
- package/_assets/{linkAccount-BRQ8Ev1P.js → linkAccount-DDn4BnMD.js} +2 -2
- package/_assets/{localBatchGatewayRequest-B4LC5KML.js → localBatchGatewayRequest-D-Y_ipMD.js} +2 -2
- package/_assets/{native-Bvt0W0jA.js → native-EhJtXu3y.js} +2 -2
- package/_assets/{networks-CaAL5XAk.js → networks-Bu5S3nZh.js} +2 -2
- package/_assets/{onramp-Cp8_0NX3.js → onramp-DafTmJEE.js} +2 -2
- package/_assets/{openzeppelin-DW0vhDwF.js → openzeppelin-DrjFStIu.js} +2 -2
- package/_assets/{ownerOf-DHZ-ngeW.js → ownerOf-C6L3B_bp.js} +2 -2
- package/_assets/{parseNft-CEwkovMr.js → parseNft-Blq_Sjtq.js} +3 -3
- package/_assets/{parseSignature-ifLHrMWV.js → parseSignature-GSnulywH.js} +4 -4
- package/_assets/{parseSignature-Duwa-2pX.js → parseSignature-Q7C9dXBW.js} +2 -2
- package/_assets/passkeys-BKUjWMsd.js +2 -0
- package/_assets/{pay-with-exchange-Yn92eb0n.js → pay-with-exchange-ChWZJZmh.js} +2 -2
- package/_assets/{prepare-contract-call-BZBDdYDD.js → prepare-contract-call-B2J2TZU4.js} +2 -2
- package/_assets/{qr-overlay-8DGBc2-N.js → qr-overlay-Dp5EKTi4.js} +4 -4
- package/_assets/{react-DjOKjwAj.js → react-DcSw8tCD.js} +2 -2
- package/_assets/{receive-CN3FejJq.js → receive-jGBB6R5D.js} +2 -2
- package/_assets/{resolveImplementation-Ckhnk_N2.js → resolveImplementation-mqgPq49O.js} +2 -2
- package/_assets/{resume-buy--hmhwjSU.js → resume-buy-CEzVJZQm.js} +2 -2
- package/_assets/{rpc-C6etA5rL.js → rpc-DYUIG9Ju.js} +2 -2
- package/_assets/{sales-empty-C0l-l75T.js → sales-empty-Vn4xVfP7.js} +2 -2
- package/_assets/{search-empty-BhlZHJF-.js → search-empty-PfWp7qfl.js} +2 -2
- package/_assets/{secp256k1-C4HGjRo8.js → secp256k1-Bh8CfHpQ.js} +2 -2
- package/_assets/{secp256k1-BvDOJrZj.js → secp256k1-Dse58ee0.js} +2 -2
- package/_assets/{secp256k1-BAAt2AsC.js → secp256k1-N8bNn80H.js} +2 -2
- package/_assets/{send-batch-transaction-0FOgO-ET.js → send-batch-transaction-BpqXJtGJ.js} +2 -2
- package/_assets/{send-eip712-transaction-BOK7YDZz.js → send-eip712-transaction-D2-3cTz5.js} +3 -3
- package/_assets/{send-gasless-transaction-Cu--gdaY.js → send-gasless-transaction-DvU-irYQ.js} +3 -3
- package/_assets/{send-BI0btOc6.js → send-h29mxUrF.js} +2 -2
- package/_assets/send-transaction-FUszabPU.js +3 -0
- package/_assets/sendMetaTransaction-CcfiyKVp.js +2 -0
- package/_assets/{sendRawTransaction-C3ZoitjG.js → sendRawTransaction-BQgltNSJ.js} +4 -4
- package/_assets/{sentry-BxdwO3pv.js → sentry-CAS3BNIy.js} +3 -3
- package/_assets/{serializeTransaction-pYtrV7RU.js → serializeTransaction-__k14-5R.js} +2 -2
- package/_assets/{session-proposal-Db_N4_Gn.js → session-proposal-C3dOHBpp.js} +2 -2
- package/_assets/{session-request-B7eT8WJX.js → session-request-La1Lz5pY.js} +3 -3
- package/_assets/{sha256-3PO3xhiT.js → sha256-CLzVl0-i.js} +2 -2
- package/_assets/{signing-wiPQ7Wvz.js → signing-ClZDdyWr.js} +4 -4
- package/_assets/{skeleton.styles-DTnZygMc.js → skeleton.styles-BideLusx.js} +2 -2
- package/_assets/{socials-bRUEtmju.js → socials-DU6TufzI.js} +2 -2
- package/_assets/{styled-DV3ca-sF.js → styled-lv29vbU7.js} +3 -3
- package/_assets/{swaps-B-elkyix.js → swaps-DsEkYfnN.js} +8 -8
- package/_assets/{thirdweb-U2M04SJR.js → thirdweb-ByxuX0DY.js} +4 -4
- package/_assets/{to-serializable-transaction-C460Jpwk.js → to-serializable-transaction-B9MSl050.js} +3 -3
- package/_assets/{totalSupply-Go9y-Ilv.js → totalSupply-DOU8z336.js} +2 -2
- package/_assets/{transaction-Dh6qJ7PN.js → transaction-CuK5IUGr.js} +2 -2
- package/_assets/{transactionReceipt-MlvCCpAz.js → transactionReceipt-jeQgFWvn.js} +2 -2
- package/_assets/transactions-C5_JA1NE.js +17 -0
- package/_assets/{useCreditPacks-CsOWjtuZ.js → useCreditPacks-CU0lRdPq.js} +2 -2
- package/_assets/{useInfiniteGrid-BRJtiYn-.js → useInfiniteGrid-BPtTRHIB.js} +2 -2
- package/_assets/{useStore-DvwWBFUP.js → useStore-rPC8Gwuv.js} +3 -3
- package/_assets/{useTheme-Clcy27dj.js → useTheme-C_44BN3j.js} +2 -2
- package/_assets/{utils-C47sFUWS.js → utils-BV4hvYlV.js} +2 -2
- package/_assets/{verifyHash-CgNpRrLI.js → verifyHash-qwpY3McX.js} +2 -2
- package/_assets/{w3m-modal-CsqnZdOv.js → w3m-modal-IH0P0x8g.js} +2 -2
- package/_assets/{w3m-modal-iB_Jyio2.js → w3m-modal-RWmLMEhq.js} +2 -2
- package/_assets/{wait-for-tx-receipt-CZmHSBIy.js → wait-for-tx-receipt-CfUmETfV.js} +2 -2
- package/_assets/{wallets-D0ayx2Ud.js → wallets-DBFKTZVz.js} +6 -6
- package/_assets/{web-connector-CoAY_9Ez.js → web-connector-5O3sqPuw.js} +4 -4
- package/_assets/{writeContract-CAHluxuL.js → writeContract-CwGPT4Iu.js} +2 -2
- package/_assets/{zora-sepolia-CwYmHh_e.js → zora-sepolia-CLbV2B8e.js} +2 -2
- package/_assets/{zoraTestnet-CYFRaB4W.js → zoraTestnet-wnoXWuLz.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Cart-BzK8CObO.js +0 -645
- package/_assets/CircularProgress-vVxuKRO3.js +0 -29
- package/_assets/CollectionCarousel-BAdWBmbr.js +0 -937
- package/_assets/Grow-CiHUKYJJ.js +0 -2
- package/_assets/ItemDetail-CnsFOTP0.js +0 -3655
- package/_assets/NotificationsBell-cEMFVXUQ.js +0 -142
- package/_assets/app-store-4P6uzW8u.svg +0 -34
- package/_assets/authorizations-DbYL1SFo.js +0 -2
- package/_assets/buy-VoaFL0gA.js +0 -2
- package/_assets/clsx-BEtG4eYu.js +0 -2
- package/_assets/createSvgIcon-DuQr81Ef.js +0 -75
- package/_assets/download-on-the-app-store-D7CmsZZO.svg +0 -25
- package/_assets/emotion-styled.browser.esm-Bmaw-B0u.js +0 -2
- package/_assets/get-in-on-google-play-Cqt13Ucn.svg +0 -23
- package/_assets/get-in-on-play-store-button-49Za7I2x.svg +0 -11
- package/_assets/getNFT-BK80hZpF.js +0 -3
- package/_assets/getNFT-CaFBE3dG.js +0 -2
- package/_assets/index-B6Acsbwr.js +0 -2
- package/_assets/index-CyPssfNz.js +0 -2
- package/_assets/index-D0CrRpvU.js +0 -3
- package/_assets/index-DM273JHq.js +0 -31
- package/_assets/index-DaMpIpZ6.js +0 -2
- package/_assets/logo-pattern-D4X-bvlg.webp +0 -0
- package/_assets/man-default1-BEO13leF.png +0 -0
- package/_assets/passkeys-FupWf6Qe.js +0 -2
- package/_assets/qr-android-MBrMPexN.svg +0 -1
- package/_assets/send-transaction-BRv4xPkp.js +0 -3
- package/_assets/sendMetaTransaction-kIltSLeV.js +0 -2
- package/_assets/transactions-Bkojvbe9.js +0 -17
|
@@ -0,0 +1,834 @@
|
|
|
1
|
+
import{r as C,j as s}from"./react-DcSw8tCD.js";import{s as ae,f as E,A as $,g as T,r as H,m as O,i as R,j as X}from"./authorizations-Bq00FRrP.js";import{i as ne}from"./errors-DUsd8eGX.js";import{t as c,s as a,m as ie,b as k,I as K,h as z,aC as re,bF as D,c4 as oe,g as A,f as M,aH as U,W as se,X as Q,q as S,an as de,c5 as ce,c6 as L,M as le}from"./index-B-dIqjhn.js";import{E as pe}from"./ErrorNotice-BVVq2BBw.js";import{j as he,k as ue,l as G,m as ge,n as fe}from"./buy-DZz-IuoV.js";import{a as xe,w as me,S as be,G as we}from"./buy-gasless-B29llLau.js";import{M as B,E as N,s as Z}from"./sendMetaTransaction-CcfiyKVp.js";import{I as ye,C as J}from"./ethers-3hUTVH_L.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7a0e2b83-7ffa-45a6-a7c7-c57152a97b26",t._sentryDebugIdIdentifier="sentry-dbid-7a0e2b83-7ffa-45a6-a7c7-c57152a97b26")}catch{}})();const W="shop:resume_after_signin",ve=900*1e3;function pt(t){try{sessionStorage.setItem(W,JSON.stringify({...t,at:Date.now()}))}catch{}}function ht(t){let e;try{e=sessionStorage.getItem(W)}catch{return null}if(!e)return null;try{sessionStorage.removeItem(W)}catch{}let n;try{n=JSON.parse(e)}catch{return null}return!n||n.type!==t||typeof n.at!="number"||Date.now()-n.at>ve?null:n.type==="cart-checkout"?{type:"cart-checkout"}:{type:"item-buy",path:n.path}}function ut(t,e){const n=(o,...l)=>void t.invalidateQueries({queryKey:e?[o,...l]:[o]});t.invalidateQueries({queryKey:["usd-balance"]}),t.invalidateQueries({queryKey:["detail-trade"]}),t.invalidateQueries({queryKey:["shop-item"]}),n("owned-token",e==null?void 0:e.contractAddress,e==null?void 0:e.tokenId),n("public-token",e==null?void 0:e.contractAddress,e==null?void 0:e.tokenId),n("item-resales",e==null?void 0:e.contractAddress,e==null?void 0:e.itemId),t.invalidateQueries({queryKey:["shop-items"]}),t.invalidateQueries({queryKey:["catalog-items"]}),t.invalidateQueries({queryKey:["overview-listings"]}),t.invalidateQueries({queryKey:["upsell-listings"]}),t.invalidateQueries({queryKey:["my-assets"]}),t.invalidateQueries({queryKey:["purchases"]}),t.invalidateQueries({queryKey:["owned-item-count"]})}const ke=ie`
|
|
2
|
+
to { transform: rotate(360deg); }
|
|
3
|
+
`,Ce=a.div`
|
|
4
|
+
position: fixed;
|
|
5
|
+
inset: 0;
|
|
6
|
+
z-index: ${c.z.prompt};
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
padding: 16px;
|
|
11
|
+
background: rgba(22, 21, 24, 0.55);
|
|
12
|
+
`,Ae=a.div`
|
|
13
|
+
width: 480px;
|
|
14
|
+
max-width: 100%;
|
|
15
|
+
max-height: 92vh;
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
background: ${c.colors.white};
|
|
18
|
+
border-radius: 16px;
|
|
19
|
+
padding: 12px 16px 16px;
|
|
20
|
+
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
gap: 20px;
|
|
24
|
+
`,Me=a.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
gap: 8px;
|
|
29
|
+
padding-bottom: 16px;
|
|
30
|
+
border-bottom: 1px solid ${c.colors.gray4};
|
|
31
|
+
`,Te=a.h2`
|
|
32
|
+
margin: 0;
|
|
33
|
+
font-family: ${c.font.sans};
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
font-size: 20px;
|
|
36
|
+
line-height: 1.6;
|
|
37
|
+
color: ${c.colors.text};
|
|
38
|
+
`,je=a.button`
|
|
39
|
+
flex: none;
|
|
40
|
+
display: grid;
|
|
41
|
+
place-items: center;
|
|
42
|
+
width: 24px;
|
|
43
|
+
height: 24px;
|
|
44
|
+
border: 0;
|
|
45
|
+
background: none;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
color: ${c.colors.text};
|
|
48
|
+
|
|
49
|
+
.ico {
|
|
50
|
+
width: 18px;
|
|
51
|
+
height: 18px;
|
|
52
|
+
}
|
|
53
|
+
&:disabled {
|
|
54
|
+
opacity: 0.4;
|
|
55
|
+
cursor: default;
|
|
56
|
+
}
|
|
57
|
+
&:focus-visible {
|
|
58
|
+
outline: 2px solid ${c.colors.accent};
|
|
59
|
+
outline-offset: 2px;
|
|
60
|
+
}
|
|
61
|
+
`,ze=a.span`
|
|
62
|
+
margin-left: auto;
|
|
63
|
+
margin-right: 12px;
|
|
64
|
+
color: ${c.colors.muted};
|
|
65
|
+
font-size: 14px;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
`,Ie=a.div`
|
|
68
|
+
display: grid;
|
|
69
|
+
grid-template-columns: 44px 1fr;
|
|
70
|
+
align-items: center;
|
|
71
|
+
gap: 14px;
|
|
72
|
+
padding: 14px 18px;
|
|
73
|
+
background: ${c.colors.white};
|
|
74
|
+
border: 1px solid ${c.colors.line};
|
|
75
|
+
border-radius: 16px;
|
|
76
|
+
`,We=a.div`
|
|
77
|
+
width: 44px;
|
|
78
|
+
height: 44px;
|
|
79
|
+
border-radius: 10px;
|
|
80
|
+
background: ${c.colors.media};
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
color: ${c.colors.muted2};
|
|
86
|
+
|
|
87
|
+
img {
|
|
88
|
+
width: 100%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
object-fit: contain;
|
|
91
|
+
}
|
|
92
|
+
.ccy-mark {
|
|
93
|
+
width: 26px;
|
|
94
|
+
height: 26px;
|
|
95
|
+
}
|
|
96
|
+
`,Ee=a.div`
|
|
97
|
+
min-width: 0;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
gap: 4px;
|
|
101
|
+
`,$e=a.span`
|
|
102
|
+
font-weight: 700;
|
|
103
|
+
color: ${c.colors.text};
|
|
104
|
+
`,Se=a.span`
|
|
105
|
+
font-size: 13px;
|
|
106
|
+
line-height: 1.45;
|
|
107
|
+
color: ${c.colors.muted};
|
|
108
|
+
`,Be=a.p`
|
|
109
|
+
margin: 0;
|
|
110
|
+
font-size: 12px;
|
|
111
|
+
line-height: 1.5;
|
|
112
|
+
color: ${c.colors.muted2};
|
|
113
|
+
`,Ne=a.div`
|
|
114
|
+
display: flex;
|
|
115
|
+
gap: 12px;
|
|
116
|
+
|
|
117
|
+
${c.media.maxWidth("mobile")} {
|
|
118
|
+
flex-direction: column-reverse;
|
|
119
|
+
}
|
|
120
|
+
`,Pe=a.button`
|
|
121
|
+
flex: 1 1 0;
|
|
122
|
+
height: 48px;
|
|
123
|
+
border: 2px solid ${c.colors.accent};
|
|
124
|
+
border-radius: 12px;
|
|
125
|
+
background: transparent;
|
|
126
|
+
color: ${c.colors.accent};
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
font-family: ${c.font.sans};
|
|
129
|
+
font-weight: 600;
|
|
130
|
+
font-size: 13px;
|
|
131
|
+
line-height: 24px;
|
|
132
|
+
letter-spacing: 0.46px;
|
|
133
|
+
text-transform: uppercase;
|
|
134
|
+
|
|
135
|
+
&:hover:not(:disabled) {
|
|
136
|
+
background: rgba(105, 31, 169, 0.06);
|
|
137
|
+
}
|
|
138
|
+
&:disabled {
|
|
139
|
+
cursor: default;
|
|
140
|
+
opacity: 0.5;
|
|
141
|
+
}
|
|
142
|
+
&:focus-visible {
|
|
143
|
+
outline: 2px solid ${c.colors.accent};
|
|
144
|
+
outline-offset: 2px;
|
|
145
|
+
}
|
|
146
|
+
`,Fe=a.button`
|
|
147
|
+
flex: 1 1 0;
|
|
148
|
+
display: inline-flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
gap: 8px;
|
|
152
|
+
height: 48px;
|
|
153
|
+
border: 0;
|
|
154
|
+
border-radius: 12px;
|
|
155
|
+
background: ${c.colors.accent};
|
|
156
|
+
color: ${c.colors.softWhite};
|
|
157
|
+
cursor: pointer;
|
|
158
|
+
font-family: ${c.font.sans};
|
|
159
|
+
font-weight: 600;
|
|
160
|
+
font-size: 13px;
|
|
161
|
+
line-height: 24px;
|
|
162
|
+
letter-spacing: 0.46px;
|
|
163
|
+
text-transform: uppercase;
|
|
164
|
+
|
|
165
|
+
&:hover:not(:disabled) {
|
|
166
|
+
background: ${c.colors.accentHover};
|
|
167
|
+
}
|
|
168
|
+
&:disabled {
|
|
169
|
+
cursor: default;
|
|
170
|
+
background: rgba(105, 31, 169, 0.4);
|
|
171
|
+
}
|
|
172
|
+
&:focus-visible {
|
|
173
|
+
outline: 2px solid ${c.colors.accent};
|
|
174
|
+
outline-offset: 2px;
|
|
175
|
+
}
|
|
176
|
+
`,Ve=a.span`
|
|
177
|
+
width: 16px;
|
|
178
|
+
height: 16px;
|
|
179
|
+
border-radius: 50%;
|
|
180
|
+
border: 2px solid rgba(255, 255, 255, 0.5);
|
|
181
|
+
border-top-color: ${c.colors.white};
|
|
182
|
+
animation: ${ke} 0.7s linear infinite;
|
|
183
|
+
|
|
184
|
+
@media (prefers-reduced-motion: reduce) {
|
|
185
|
+
animation: none;
|
|
186
|
+
}
|
|
187
|
+
`;function gt({auth:t,signer:e,step:n,title:o,reason:l,name:p,image:g,icon:u,onAuthorized:y,onCancel:b,onClose:h}){const[f,m]=C.useState(!1),[r,w]=C.useState(null);async function x(){m(!0),w(null);try{await ae({auth:t,signer:e,active:!0}),y()}catch(d){ne(d)?w(k("authorizeStep.errorRejected")):(z(d,{flow:"authorize_step",kind:t.kind}),w(k("authorizeStep.errorGeneric"))),m(!1)}}return s.jsx(Ce,{onClick:f?void 0:h,role:"presentation","data-testid":"authorize-step-scrim",children:s.jsxs(Ae,{onClick:d=>d.stopPropagation(),role:"dialog","aria-modal":"true","aria-label":o,children:[s.jsxs(Me,{children:[s.jsx(Te,{children:o}),n&&n.total>1?s.jsx(ze,{"data-testid":"authorize-step-count",children:k("authorizeStep.stepOf",{index:n.index,total:n.total})}):null,s.jsx(je,{onClick:h,disabled:f,"aria-label":k("authorizeStep.close"),children:s.jsx(K,{name:"close",className:"ico"})})]}),s.jsxs(Ie,{"data-testid":"authorize-step-row",children:[s.jsx(We,{children:g?s.jsx("img",{src:g,alt:""}):u}),s.jsxs(Ee,{children:[s.jsx($e,{title:p,children:p}),s.jsx(Se,{children:l})]})]}),s.jsx(Be,{children:k("authorizeStep.note")}),s.jsx(pe,{message:r}),s.jsxs(Ne,{children:[s.jsx(Pe,{type:"button",onClick:b,disabled:f,children:k("authorizeStep.cancel")}),s.jsx(Fe,{type:"button","data-testid":"authorize-step-action",onClick:()=>void x(),disabled:f,children:f?s.jsxs(s.Fragment,{children:[s.jsx(Ve,{"aria-hidden":!0}),k("authorizeStep.authorizing")]}):k("authorizeStep.authorize")})]})]})})}const ft="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%201'%3e%3cpath%20id='Vector'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%202L22%2012L12%2022L2%2012L12%202ZM12%204.8L19.2%2012L12%2019.2L4.8%2012L12%204.8ZM12%2015.6C12.9548%2015.6001%2013.8705%2015.2209%2014.5457%2014.5459C15.2209%2013.8708%2015.6003%2012.9552%2015.6004%2012.0004C15.6005%2011.0456%2015.2213%2010.1299%2014.5463%209.45471C13.8712%208.7795%2012.9556%208.40011%2012.0008%208.4C11.0461%208.4%2010.1304%208.77928%209.45525%209.45442C8.78012%2010.1295%208.40083%2011.0452%208.40083%2012C8.40083%2012.9548%208.78012%2013.8705%209.45525%2014.5456C10.1304%2015.2207%2011.0461%2015.6%2012.0008%2015.6H12Z'%20fill='white'/%3e%3cg%20id='Rectangle%201'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",xt="data:image/webp;base64,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",mt="https://cdn.decentraland.org/@dcl/shop/1.9.3-32743160136.commit-b84a6df/_assets/buy-error-22UunaPC.png";function De(t,e){return(t+e-1n)/e}function Le(t,e,n){return t<=0||e<=0?0n:t>=e?n:De(n*BigInt(t),BigInt(e))}function bt(t){var h,f,m;const e=Number.isFinite(t.priceCents)?Math.max(0,Math.trunc(t.priceCents)):0,n=Number.isFinite(t.balanceCents)?Math.max(0,Math.trunc(t.balanceCents)):0,o=t.priceManaWei>0n?t.priceManaWei:0n,l=t.manaBalanceWei>0n?t.manaBalanceWei:0n;if(e<=0)return{options:[],preferred:null,manaShortfall:null};const p=[];n>=e&&p.push({method:"credits",creditsCents:e,credits:re(e),manaWei:0n});const g=D(n)*oe;if(o>0n&&g>0&&g<e){const r=e-g,w=Le(r,e,o);l>=w&&p.push({method:"combined",creditsCents:g,credits:D(g),manaWei:w})}o>0n&&l>=o&&p.push({method:"mana",creditsCents:0,credits:0,manaWei:o});const u=((h=p.find(r=>r.method==="credits"))==null?void 0:h.method)??((f=p.find(r=>r.method==="combined"))==null?void 0:f.method)??((m=p.find(r=>r.method==="mana"))==null?void 0:m.method)??null,b=!p.some(r=>r.method==="mana"||r.method==="combined")&&o>0n&&l>0n?{manaWei:l,manaCents:qe(l,e,o),priceCents:e}:null;return{options:p,preferred:u,manaShortfall:b}}function qe(t,e,n){return Number(t*BigInt(e)/n)}function wt(t,e){let n=Number.isFinite(e)?Math.max(0,Math.trunc(e)):0;return t.map(o=>{const l=Number.isFinite(o)?Math.max(0,Math.trunc(o)):0,p=Math.min(l,n);return n-=p,p})}function yt(t,e){return t.options.find(n=>n.method===e)??null}async function vt(t){const[e]=await Y({...t,trades:[t.trade]});return e}async function kt(t){const[e]=await Y({...t,trades:[],mints:[t.mint]});return e}async function Y(t){const{trades:e,mints:n=[],buyer:o,signer:l,onSigned:p,manaWei:g}=t;if(e.length===0&&n.length===0)throw new Error("No items to buy");const u=new Map;for(const h of e){const f=`${h.chainId}:${h.contract.toLowerCase()}`,m=u.get(f);m?m.push(h):u.set(f,[h])}const y=new Map;for(const h of n){const f=y.get(h.chainId);f?f.push(h):y.set(h.chainId,[h])}const b=[];for(const h of u.values())b.push(await He({trades:h,buyer:o,signer:l,onSigned:p,requiredManaWei:g}));for(const[h,f]of y){const m=g??f.reduce((r,w)=>r+BigInt(w.item.priceWei),0n);b.push(await Oe({mints:f,chainId:h,buyer:o,signer:l,onSigned:p,requiredManaWei:m}))}return b}async function He(t){const{trades:e,buyer:n,signer:o,onSigned:l,requiredManaWei:p}=t,g=e[0],u=A(U(g.contract),g.chainId),y=A(M.MANAToken,g.chainId);await E({auth:{kind:$.Allowance,contractAddress:y.address,spenderAddress:u.address,chainId:g.chainId},signer:o,requiredWei:p});const b=e.map(r=>ue(r,n));if(T.enabled)try{const r=new ye(u.abi).encodeFunctionData("accept",[b]),w=H(),x=O(o.provider,w),d=await Z(x,w,r,u,{serverURL:T.relayerUrl});return l==null||l(),await R(d,"the MANA purchase"),d}catch(r){if(r instanceof B&&r.code===N.USER_DENIED||r instanceof X)throw r;z(r,{flow:"buy_mana",step:"gasless_fallback"})}await Q(o.provider,g.chainId);const f=await new J(u.address,u.abi,o).accept(b,G(g.chainId));return l==null||l(),(await f.wait()).transactionHash}async function Oe(t){const{mints:e,chainId:n,buyer:o,signer:l,onSigned:p,requiredManaWei:g}=t,u=A(M.CollectionStore,n),y=A(M.MANAToken,n),b=e.map(r=>r.item);if(await E({auth:{kind:$.Allowance,contractAddress:y.address,spenderAddress:u.address,chainId:n},signer:l,requiredWei:g}),T.enabled)try{const r=ge(b,o,u.abi),w=H(),x=O(l.provider,w),d=await Z(x,w,r,u,{serverURL:T.relayerUrl});return p==null||p(),await R(d,"the MANA purchase"),d}catch(r){if(r instanceof B&&r.code===N.USER_DENIED||r instanceof X)throw r;z(r,{flow:"buy_mint_mana",step:"gasless_fallback"})}await Q(l.provider,n);const f=await new J(u.address,u.abi,l).buy(fe(b,o),G(n));return p==null||p(),(await f.wait()).transactionHash}async function Ct(t){const{trade:e,...n}=t;return _({target:{kind:"trade",trade:e},...n})}async function At(t){const{mint:e,...n}=t;return _({target:{kind:"store",mint:e},...n})}async function _(t){const{target:e,buyer:n,signer:o,credits:l,manaGapWei:p,providerType:g,onBroadcast:u,onReverted:y,onUnobservable:b}=t;if(l.length===0)throw new Error("No credits to spend — use the MANA-only rail for that");if(p<=0n)throw new Error("No MANA gap to cover — use the credits-only rail for that");const h=ee(e),f=A(M.MANAToken,h),m=A(M.CreditsManager,h);await E({auth:{kind:$.Allowance,contractAddress:f.address,spenderAddress:m.address,chainId:h},signer:o,requiredWei:p});const w=(l.reduce((d,v)=>d+BigInt(v.availableAmount),0n)+p).toString(),x=Re(e,l,w);if(T.enabled){let d;try{return d=await xe({purchase:x,buyer:n,signer:o}),u==null||u({txHash:d}),await me(d),d}catch(v){if(v instanceof B&&v.code===N.USER_DENIED||v instanceof be)throw v;if(!(v instanceof we))throw d&&(y==null||y({txHash:d})),v;if(v.reason==="relayer-unreachable")throw b==null||b(),v;if(!se(g))throw v;z(v,{flow:"buy_credits_and_mana",step:"gasless_fallback"})}}return he({purchase:x,buyer:n,signer:o,onBroadcast:u,onReverted:y})}function ee(t){return t.kind==="trade"?t.trade.chainId:t.mint.chainId}function Re(t,e,n){return t.kind==="trade"?{kind:"trade",trade:t.trade,credits:e,maxCreditedValue:n}:{kind:"store",item:t.mint.item,chainId:t.mint.chainId,credits:e,maxCreditedValue:n}}function Mt(t,e){const n=ee(e);return t==="combined"?{spender:A(M.CreditsManager,n).address,chainId:n}:{spender:e.kind==="trade"?A(U(e.trade.contract),n).address:A(M.CollectionStore,n).address,chainId:n}}function Tt(t){return s.jsx("svg",{viewBox:"0 0 18 18",width:"18",height:"18","aria-hidden":!0,...t,children:s.jsx("path",{d:"M4 4l10 10M14 4L4 14",stroke:"#161518",strokeWidth:"1.8",strokeLinecap:"round"})})}function jt(t){return s.jsx("svg",{viewBox:"0 0 20 20",width:"24",height:"24","aria-hidden":!0,...t,children:s.jsx("path",{fill:"#f48221",d:"M10 0a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 11a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm0-8a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V6a1 1 0 0 1 1-1Z"})})}const{colors:i,gradients:P,radius:te,z:Xe}=c,zt=a.div`
|
|
188
|
+
position: fixed;
|
|
189
|
+
inset: 0;
|
|
190
|
+
z-index: ${Xe.overlay};
|
|
191
|
+
display: flex;
|
|
192
|
+
overflow-y: auto;
|
|
193
|
+
padding: 20px;
|
|
194
|
+
`,It=a.div`
|
|
195
|
+
position: fixed;
|
|
196
|
+
inset: 0;
|
|
197
|
+
background: rgba(22, 21, 24, 0.45);
|
|
198
|
+
`,Wt=a.div`
|
|
199
|
+
position: relative;
|
|
200
|
+
z-index: 1;
|
|
201
|
+
margin: auto;
|
|
202
|
+
width: 100%;
|
|
203
|
+
/* Wide enough to fit all 4 credit bundles comfortably in a single row (the credits-server returns 4;
|
|
204
|
+
the Figma mock showed 3 at ~180px). The pack tiles flex to share this width. */
|
|
205
|
+
max-width: 700px;
|
|
206
|
+
/* Flex-item auto-minimum can otherwise push the card past the viewport on a narrow screen. */
|
|
207
|
+
min-width: 0;
|
|
208
|
+
/* Never taller than the viewport (100% of the padded overlay): the no-funds state stacks a warning, a
|
|
209
|
+
line list, 4 pack tiles, the total AND the Cancel/Buy pair, which overflows a laptop screen at 100%
|
|
210
|
+
zoom and used to take the CTAs off-screen with it. The body absorbs the difference, and the clip is
|
|
211
|
+
the backstop — a phase that forgets to make itself shrinkable is then visibly cut off at the card's
|
|
212
|
+
edge instead of painting its buttons out on the scrim. */
|
|
213
|
+
max-height: 100%;
|
|
214
|
+
overflow: hidden;
|
|
215
|
+
background: ${i.white};
|
|
216
|
+
border-radius: 16px;
|
|
217
|
+
padding: 12px 16px 16px;
|
|
218
|
+
box-shadow: 0 24px 60px rgba(22, 21, 24, 0.28);
|
|
219
|
+
animation: cart-pop-in 0.16s ease;
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
gap: 24px;
|
|
223
|
+
|
|
224
|
+
&[data-tall] {
|
|
225
|
+
min-height: 379px;
|
|
226
|
+
justify-content: space-between;
|
|
227
|
+
}
|
|
228
|
+
`,Et=a.div`
|
|
229
|
+
display: flex;
|
|
230
|
+
flex-direction: column;
|
|
231
|
+
gap: 4px;
|
|
232
|
+
padding-bottom: 16px;
|
|
233
|
+
border-bottom: 1px solid ${i.gray4};
|
|
234
|
+
`,$t=a.div`
|
|
235
|
+
display: flex;
|
|
236
|
+
align-items: flex-start;
|
|
237
|
+
justify-content: space-between;
|
|
238
|
+
gap: 8px;
|
|
239
|
+
`,St=a.h2`
|
|
240
|
+
margin: 0;
|
|
241
|
+
font-size: 20px;
|
|
242
|
+
font-weight: 700;
|
|
243
|
+
line-height: 1.6;
|
|
244
|
+
color: ${i.text};
|
|
245
|
+
`,Bt=a.button`
|
|
246
|
+
flex-shrink: 0;
|
|
247
|
+
border: 0;
|
|
248
|
+
background: transparent;
|
|
249
|
+
cursor: pointer;
|
|
250
|
+
padding: 2px;
|
|
251
|
+
line-height: 0;
|
|
252
|
+
`,Nt=a.div`
|
|
253
|
+
display: flex;
|
|
254
|
+
align-items: center;
|
|
255
|
+
gap: 4px;
|
|
256
|
+
`,Pt=a.span`
|
|
257
|
+
font-size: 14px;
|
|
258
|
+
font-weight: 600;
|
|
259
|
+
color: ${i.muted1};
|
|
260
|
+
`,Ft=a(S)`
|
|
261
|
+
width: 14px;
|
|
262
|
+
height: 14px;
|
|
263
|
+
background: ${i.text};
|
|
264
|
+
`,Vt=a.span`
|
|
265
|
+
font-size: 14px;
|
|
266
|
+
color: ${i.text};
|
|
267
|
+
`,Dt=a.div`
|
|
268
|
+
display: flex;
|
|
269
|
+
flex-direction: column;
|
|
270
|
+
gap: 24px;
|
|
271
|
+
/* Shrink inside a viewport-capped card instead of overflowing it. Anything with its own flexible
|
|
272
|
+
region (e.g. the cart's line list) gives up height first; this scroll is the last resort so the
|
|
273
|
+
CTAs are always reachable on a short screen. */
|
|
274
|
+
min-height: 0;
|
|
275
|
+
overflow-y: auto;
|
|
276
|
+
|
|
277
|
+
/* Processing / loading states centre a single element in a taller body. */
|
|
278
|
+
&[data-processing] {
|
|
279
|
+
flex: 1;
|
|
280
|
+
align-items: center;
|
|
281
|
+
justify-content: center;
|
|
282
|
+
gap: 32px;
|
|
283
|
+
padding: 24px 0;
|
|
284
|
+
}
|
|
285
|
+
`,Lt=a.div`
|
|
286
|
+
display: flex;
|
|
287
|
+
gap: 24px;
|
|
288
|
+
align-items: center;
|
|
289
|
+
|
|
290
|
+
${c.media.maxWidth("mobile")} {
|
|
291
|
+
gap: 12px;
|
|
292
|
+
}
|
|
293
|
+
`,qt=a.div`
|
|
294
|
+
flex-shrink: 0;
|
|
295
|
+
width: 110px;
|
|
296
|
+
height: 110px;
|
|
297
|
+
background: ${i.media};
|
|
298
|
+
border-radius: 8px;
|
|
299
|
+
display: grid;
|
|
300
|
+
place-items: center;
|
|
301
|
+
overflow: hidden;
|
|
302
|
+
|
|
303
|
+
& img {
|
|
304
|
+
width: 83%;
|
|
305
|
+
height: 83%;
|
|
306
|
+
object-fit: contain;
|
|
307
|
+
filter: drop-shadow(0.7px 2.9px 3.7px rgba(0, 0, 0, 0.1));
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
${c.media.maxWidth("mobile")} {
|
|
311
|
+
width: 78px;
|
|
312
|
+
height: 78px;
|
|
313
|
+
border-radius: 7px;
|
|
314
|
+
}
|
|
315
|
+
`,Ht=a.div`
|
|
316
|
+
flex: 1;
|
|
317
|
+
min-width: 0;
|
|
318
|
+
display: flex;
|
|
319
|
+
flex-direction: column;
|
|
320
|
+
justify-content: center;
|
|
321
|
+
gap: 4px;
|
|
322
|
+
`,Ot=a.div`
|
|
323
|
+
font-size: 18px;
|
|
324
|
+
font-weight: 700;
|
|
325
|
+
line-height: 1.3;
|
|
326
|
+
color: ${i.text};
|
|
327
|
+
overflow: hidden;
|
|
328
|
+
text-overflow: ellipsis;
|
|
329
|
+
|
|
330
|
+
${c.media.maxWidth("mobile")} {
|
|
331
|
+
font-size: 16px;
|
|
332
|
+
}
|
|
333
|
+
`,Rt=a(de)`
|
|
334
|
+
font-size: 12px;
|
|
335
|
+
line-height: 1.43;
|
|
336
|
+
color: ${i.muted};
|
|
337
|
+
|
|
338
|
+
${c.media.maxWidth("mobile")} {
|
|
339
|
+
font-size: 10px;
|
|
340
|
+
}
|
|
341
|
+
`,Xt=a.div`
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: center;
|
|
344
|
+
gap: 6px;
|
|
345
|
+
margin-top: 4px;
|
|
346
|
+
|
|
347
|
+
& span {
|
|
348
|
+
font-size: 18px;
|
|
349
|
+
font-weight: 700;
|
|
350
|
+
color: ${i.text2};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
${c.media.maxWidth("mobile")} {
|
|
354
|
+
& span {
|
|
355
|
+
font-size: 20px;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
`,Kt=a(S)`
|
|
359
|
+
width: 18px;
|
|
360
|
+
height: 18px;
|
|
361
|
+
background: ${i.text2};
|
|
362
|
+
`,Ut=a.div`
|
|
363
|
+
display: flex;
|
|
364
|
+
align-items: flex-start;
|
|
365
|
+
gap: 12px;
|
|
366
|
+
background: rgba(255, 162, 90, 0.3);
|
|
367
|
+
border-radius: ${te.btn};
|
|
368
|
+
padding: 16px;
|
|
369
|
+
|
|
370
|
+
& > svg {
|
|
371
|
+
flex-shrink: 0;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
${c.media.maxWidth("mobile")} {
|
|
375
|
+
align-items: center;
|
|
376
|
+
gap: 8px;
|
|
377
|
+
padding: 12px 8px;
|
|
378
|
+
}
|
|
379
|
+
`,Qt=a.p`
|
|
380
|
+
margin: 0;
|
|
381
|
+
font-size: 14px;
|
|
382
|
+
line-height: 1.334;
|
|
383
|
+
color: ${i.text2};
|
|
384
|
+
|
|
385
|
+
& b {
|
|
386
|
+
font-weight: 700;
|
|
387
|
+
}
|
|
388
|
+
`,Gt=a.a`
|
|
389
|
+
display: inline-block;
|
|
390
|
+
margin-top: 4px;
|
|
391
|
+
font-size: 14px;
|
|
392
|
+
font-weight: 600;
|
|
393
|
+
line-height: 1.334;
|
|
394
|
+
color: ${i.text2};
|
|
395
|
+
text-decoration: underline;
|
|
396
|
+
|
|
397
|
+
&:hover {
|
|
398
|
+
color: ${i.accent};
|
|
399
|
+
}
|
|
400
|
+
`,Zt=a.div`
|
|
401
|
+
display: flex;
|
|
402
|
+
flex-wrap: wrap;
|
|
403
|
+
gap: 12px;
|
|
404
|
+
margin: -6px 0;
|
|
405
|
+
padding: 6px;
|
|
406
|
+
|
|
407
|
+
/* Phones get a fixed 2x2 (Figma mobile frame). Wrapping decided the row break from each tile's own
|
|
408
|
+
content width, so a pack whose amount and price were wide enough — "260 ($29.99)" — stopped
|
|
409
|
+
sharing a line and claimed a full row: the four landed 2/1/1, three rows tall. That extra row is
|
|
410
|
+
also what pushed the total under the sticky CTAs. The tracks are minmax(0, 1fr), not 1fr, so a
|
|
411
|
+
long price shrinks the text inside the tile instead of widening the column past the card. */
|
|
412
|
+
${c.media.maxWidth("mobile")} {
|
|
413
|
+
display: grid;
|
|
414
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
415
|
+
gap: 16px 12px;
|
|
416
|
+
}
|
|
417
|
+
`,Jt=a.button`
|
|
418
|
+
/* Wide enough to stay readable, so a narrow card wraps the tiles onto a second row instead of
|
|
419
|
+
squeezing four of them into one. */
|
|
420
|
+
flex: 1 1 140px;
|
|
421
|
+
height: 109px;
|
|
422
|
+
border: 1px solid ${i.muted2};
|
|
423
|
+
background: ${i.media};
|
|
424
|
+
border-radius: 16px;
|
|
425
|
+
display: flex;
|
|
426
|
+
align-items: center;
|
|
427
|
+
justify-content: center;
|
|
428
|
+
gap: 8px;
|
|
429
|
+
cursor: pointer;
|
|
430
|
+
padding: 3px;
|
|
431
|
+
transition:
|
|
432
|
+
transform 0.12s ease,
|
|
433
|
+
border-color 0.12s ease,
|
|
434
|
+
border-width 0.12s ease,
|
|
435
|
+
padding 0.12s ease;
|
|
436
|
+
|
|
437
|
+
/* The buy gradient AS the border: the flat fill is clipped to the padding box and the gradient to the
|
|
438
|
+
border box, which paints a gradient ring on the tile's own radius with no wrapper element (a
|
|
439
|
+
gradient is not a valid border-color). */
|
|
440
|
+
&:hover:not(:disabled),
|
|
441
|
+
&[data-on] {
|
|
442
|
+
padding: 0;
|
|
443
|
+
border-color: transparent;
|
|
444
|
+
border-width: 4px;
|
|
445
|
+
background-image: linear-gradient(${i.media}, ${i.media}), ${P.buyBtn};
|
|
446
|
+
background-origin: border-box;
|
|
447
|
+
background-clip: padding-box, border-box;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* Selected also lifts; hover alone is just the ring. */
|
|
451
|
+
&[data-on] {
|
|
452
|
+
transform: scale(1.03);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
${c.media.maxWidth("mobile")} {
|
|
456
|
+
height: 83px;
|
|
457
|
+
gap: 6px;
|
|
458
|
+
/* A grid item defaults to min-width:auto, which would let the widest price push the tile out of
|
|
459
|
+
its track and back past the card edge — the shrinking the 1fr tracks above are there to allow. */
|
|
460
|
+
min-width: 0;
|
|
461
|
+
|
|
462
|
+
/* The grid gives every tile an identical box, so the lift only makes the selected one overlap its
|
|
463
|
+
gap and read as a size the design never gives it. The ring already says which is picked. */
|
|
464
|
+
&[data-on] {
|
|
465
|
+
transform: none;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
`,Yt=a.img`
|
|
469
|
+
width: 24px;
|
|
470
|
+
height: 26px;
|
|
471
|
+
flex: none;
|
|
472
|
+
`,_t=a.span`
|
|
473
|
+
font-size: 24px;
|
|
474
|
+
font-weight: 500;
|
|
475
|
+
color: ${i.text};
|
|
476
|
+
`,ea=a.span`
|
|
477
|
+
font-size: 14px;
|
|
478
|
+
color: ${i.text};
|
|
479
|
+
`,ta=a.div`
|
|
480
|
+
display: flex;
|
|
481
|
+
align-items: center;
|
|
482
|
+
justify-content: space-between;
|
|
483
|
+
border-top: 1px solid ${i.gray4};
|
|
484
|
+
padding-top: 12px;
|
|
485
|
+
`,aa=a.div`
|
|
486
|
+
display: flex;
|
|
487
|
+
align-items: center;
|
|
488
|
+
gap: 8px;
|
|
489
|
+
font-size: 24px;
|
|
490
|
+
font-weight: 700;
|
|
491
|
+
color: ${i.text};
|
|
492
|
+
`,na=a(S)`
|
|
493
|
+
width: 30px;
|
|
494
|
+
height: 30px;
|
|
495
|
+
background: ${i.text};
|
|
496
|
+
`,ia=a.span`
|
|
497
|
+
font-size: 14px;
|
|
498
|
+
font-weight: 600;
|
|
499
|
+
color: ${i.muted1};
|
|
500
|
+
`,ra=a.div`
|
|
501
|
+
position: sticky;
|
|
502
|
+
bottom: 0;
|
|
503
|
+
display: flex;
|
|
504
|
+
gap: 12px;
|
|
505
|
+
margin-top: -8px;
|
|
506
|
+
padding-top: 8px;
|
|
507
|
+
background: ${i.white};
|
|
508
|
+
|
|
509
|
+
/*
|
|
510
|
+
* data-stack — one CTA per row on a phone.
|
|
511
|
+
*
|
|
512
|
+
* OPT-IN rather than applied to every state, because it is only worth it where BOTH labels are long: on
|
|
513
|
+
* a 390px screen the purchase-complete pair wraps to "TRY IN / WORLD" beside "MY ITEMS", while the error
|
|
514
|
+
* states' CANCEL / TRY AGAIN still read fine side by side.
|
|
515
|
+
*
|
|
516
|
+
* column-REVERSE, so the primary sits on top without reordering the markup — which would move it off the
|
|
517
|
+
* right-hand side on desktop, where the secondary-then-primary reading order is what every other row in
|
|
518
|
+
* the flow uses.
|
|
519
|
+
*/
|
|
520
|
+
${c.media.maxWidth("mobile")} {
|
|
521
|
+
&[data-stack] {
|
|
522
|
+
flex-direction: column-reverse;
|
|
523
|
+
|
|
524
|
+
/*
|
|
525
|
+
* The row sizes its CTAs with flex: 1. In a column that basis applies to the HEIGHT, so it would
|
|
526
|
+
* override the 46px and collapse both buttons to their min-content. Hand the sizing back over.
|
|
527
|
+
*/
|
|
528
|
+
> * {
|
|
529
|
+
flex: none;
|
|
530
|
+
width: 100%;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
`,Ke=a.button`
|
|
535
|
+
flex: 1;
|
|
536
|
+
/* Let the CTAs shrink so their min-content can't widen the modal past the viewport on mobile. */
|
|
537
|
+
min-width: 0;
|
|
538
|
+
height: 46px;
|
|
539
|
+
border-radius: ${te.card};
|
|
540
|
+
border: 0;
|
|
541
|
+
cursor: pointer;
|
|
542
|
+
font-size: 15px;
|
|
543
|
+
font-weight: 600;
|
|
544
|
+
letter-spacing: 0.46px;
|
|
545
|
+
text-transform: uppercase;
|
|
546
|
+
display: inline-flex;
|
|
547
|
+
align-items: center;
|
|
548
|
+
justify-content: center;
|
|
549
|
+
gap: 8px;
|
|
550
|
+
|
|
551
|
+
&[data-full] {
|
|
552
|
+
width: 100%;
|
|
553
|
+
}
|
|
554
|
+
/* The design system's primary fill (Figma 738:53266 "BUY Button") — the same gradient the cart's
|
|
555
|
+
CHECKOUT carries, so the two ends of the buy flow match. */
|
|
556
|
+
&[data-variant='gradient'] {
|
|
557
|
+
background: ${P.buyBtn};
|
|
558
|
+
color: ${i.softWhite};
|
|
559
|
+
}
|
|
560
|
+
&[data-variant='gradient']:hover:not(:disabled),
|
|
561
|
+
&[data-variant='gradient']:active:not(:disabled) {
|
|
562
|
+
background-image: linear-gradient(${i.dclRed}, ${i.dclRed});
|
|
563
|
+
}
|
|
564
|
+
&[data-variant='outline'] {
|
|
565
|
+
background: transparent;
|
|
566
|
+
border: 0.5px solid ${i.text};
|
|
567
|
+
color: ${i.text2};
|
|
568
|
+
font-size: 13px;
|
|
569
|
+
}
|
|
570
|
+
/* Figma's outlined hover (738:53251), which on this light card is the readable half of the pair: the
|
|
571
|
+
white-fill hover the dark-field buttons take would be invisible here. Same treatment as the
|
|
572
|
+
drawer's dismissing CTA (CartPopover ctaCss) — the two sit in one flow. */
|
|
573
|
+
&[data-variant='outline']:hover:not(:disabled) {
|
|
574
|
+
background: ${i.text2};
|
|
575
|
+
color: ${i.softWhite};
|
|
576
|
+
}
|
|
577
|
+
&[data-variant='ruby'] {
|
|
578
|
+
background: ${i.dclRed};
|
|
579
|
+
color: ${i.softWhite};
|
|
580
|
+
font-size: 13px;
|
|
581
|
+
letter-spacing: 0.61px;
|
|
582
|
+
}
|
|
583
|
+
// Solid accent fill (the error state's "Try again").
|
|
584
|
+
&[data-variant='purple'] {
|
|
585
|
+
background: ${i.accent};
|
|
586
|
+
color: ${i.softWhite};
|
|
587
|
+
font-size: 13px;
|
|
588
|
+
}
|
|
589
|
+
&:hover:not(:disabled),
|
|
590
|
+
&[data-variant='purple']:hover:not(:disabled) {
|
|
591
|
+
background: ${i.accentHover};
|
|
592
|
+
}
|
|
593
|
+
&:disabled {
|
|
594
|
+
opacity: 0.6;
|
|
595
|
+
cursor: default;
|
|
596
|
+
}
|
|
597
|
+
`,oa=Ke.withComponent("a"),sa=a.img`
|
|
598
|
+
width: 61px;
|
|
599
|
+
height: 61px;
|
|
600
|
+
`,da=a.div`
|
|
601
|
+
display: flex;
|
|
602
|
+
flex-direction: column;
|
|
603
|
+
align-items: center;
|
|
604
|
+
gap: 16px;
|
|
605
|
+
background: rgba(255, 201, 213, 0.5);
|
|
606
|
+
border-radius: 16px;
|
|
607
|
+
padding: 24px 16px;
|
|
608
|
+
`,ca=a.img`
|
|
609
|
+
width: 64px;
|
|
610
|
+
height: 80px;
|
|
611
|
+
object-fit: contain;
|
|
612
|
+
`,la=a.p`
|
|
613
|
+
margin: 0;
|
|
614
|
+
text-align: center;
|
|
615
|
+
font-size: 20px;
|
|
616
|
+
line-height: 1.334;
|
|
617
|
+
font-weight: 400;
|
|
618
|
+
color: ${i.text2};
|
|
619
|
+
|
|
620
|
+
& b {
|
|
621
|
+
font-weight: 700;
|
|
622
|
+
}
|
|
623
|
+
`,pa=a.div`
|
|
624
|
+
font-size: 20px;
|
|
625
|
+
font-weight: 700;
|
|
626
|
+
color: ${i.text2};
|
|
627
|
+
text-align: center;
|
|
628
|
+
`,ha=a.div`
|
|
629
|
+
width: 100%;
|
|
630
|
+
max-width: 456px;
|
|
631
|
+
height: 12px;
|
|
632
|
+
background: ${i.media};
|
|
633
|
+
border-radius: 100px;
|
|
634
|
+
overflow: hidden;
|
|
635
|
+
`,ua=a.span`
|
|
636
|
+
display: block;
|
|
637
|
+
height: 100%;
|
|
638
|
+
width: 40%;
|
|
639
|
+
border-radius: 100px;
|
|
640
|
+
background: ${P.amethyst};
|
|
641
|
+
animation: buy-modal-progress 1.1s ease-in-out infinite;
|
|
642
|
+
|
|
643
|
+
@keyframes buy-modal-progress {
|
|
644
|
+
0% {
|
|
645
|
+
transform: translateX(-120%);
|
|
646
|
+
}
|
|
647
|
+
100% {
|
|
648
|
+
transform: translateX(320%);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
&[data-step] {
|
|
653
|
+
animation: none;
|
|
654
|
+
min-width: 12px;
|
|
655
|
+
transition: width 0.35s ease;
|
|
656
|
+
}
|
|
657
|
+
`,ga=a.div`
|
|
658
|
+
display: flex;
|
|
659
|
+
flex-direction: column;
|
|
660
|
+
align-items: center;
|
|
661
|
+
gap: 16px;
|
|
662
|
+
background: rgba(193, 238, 207, 0.5);
|
|
663
|
+
border-radius: 16px;
|
|
664
|
+
padding: 24px 16px;
|
|
665
|
+
|
|
666
|
+
&[data-wide] {
|
|
667
|
+
flex-direction: row;
|
|
668
|
+
align-items: center;
|
|
669
|
+
gap: 24px;
|
|
670
|
+
padding: 16px 24px;
|
|
671
|
+
}
|
|
672
|
+
@media (max-width: 600px) {
|
|
673
|
+
&[data-wide] {
|
|
674
|
+
flex-direction: column;
|
|
675
|
+
gap: 12px;
|
|
676
|
+
padding: 16px;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
`,fa=a.p`
|
|
680
|
+
margin: 0;
|
|
681
|
+
font-size: 20px;
|
|
682
|
+
line-height: 1.334;
|
|
683
|
+
color: ${i.text2};
|
|
684
|
+
text-align: center;
|
|
685
|
+
|
|
686
|
+
& b {
|
|
687
|
+
font-weight: 700;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
&[data-wide] {
|
|
691
|
+
text-align: left;
|
|
692
|
+
font-size: 18px;
|
|
693
|
+
}
|
|
694
|
+
@media (max-width: 600px) {
|
|
695
|
+
&[data-wide] {
|
|
696
|
+
text-align: center;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
`,{colors:F,media:j}=c,Ue=a.section`
|
|
700
|
+
margin-top: 40px;
|
|
701
|
+
`,Qe=a.div`
|
|
702
|
+
display: flex;
|
|
703
|
+
align-items: center;
|
|
704
|
+
justify-content: space-between;
|
|
705
|
+
margin-bottom: 20px;
|
|
706
|
+
`,Ge=a.h2`
|
|
707
|
+
font-size: 22px;
|
|
708
|
+
font-weight: 700;
|
|
709
|
+
color: ${F.softWhite};
|
|
710
|
+
`,Ze=a.button`
|
|
711
|
+
display: inline-flex;
|
|
712
|
+
align-items: center;
|
|
713
|
+
gap: 4px;
|
|
714
|
+
background: none;
|
|
715
|
+
border: 0;
|
|
716
|
+
padding: 0;
|
|
717
|
+
color: ${F.softWhite};
|
|
718
|
+
font-weight: 700;
|
|
719
|
+
font-size: 13px;
|
|
720
|
+
letter-spacing: 0.046em;
|
|
721
|
+
text-transform: uppercase;
|
|
722
|
+
cursor: pointer;
|
|
723
|
+
white-space: nowrap;
|
|
724
|
+
|
|
725
|
+
&:hover {
|
|
726
|
+
text-decoration: underline;
|
|
727
|
+
}
|
|
728
|
+
`,Je=a(K)`
|
|
729
|
+
transform: rotate(-90deg);
|
|
730
|
+
`,Ye=a.div`
|
|
731
|
+
position: relative;
|
|
732
|
+
`,q=a.button`
|
|
733
|
+
position: absolute;
|
|
734
|
+
top: 112px;
|
|
735
|
+
transform: translateY(-50%);
|
|
736
|
+
z-index: 5;
|
|
737
|
+
width: 53px;
|
|
738
|
+
height: 53px;
|
|
739
|
+
padding: 0;
|
|
740
|
+
border: 0;
|
|
741
|
+
background: transparent;
|
|
742
|
+
cursor: pointer;
|
|
743
|
+
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
|
|
744
|
+
transition:
|
|
745
|
+
transform 0.15s ease,
|
|
746
|
+
filter 0.15s ease,
|
|
747
|
+
opacity 0.15s ease;
|
|
748
|
+
|
|
749
|
+
& img {
|
|
750
|
+
display: block;
|
|
751
|
+
width: 100%;
|
|
752
|
+
height: 100%;
|
|
753
|
+
}
|
|
754
|
+
// Sit the arrows in the page gutter (aligned to the nav's 54px), not over the cards — at -40px their
|
|
755
|
+
// inner edge landed ~13px onto the first/last card.
|
|
756
|
+
&[data-side='left'] {
|
|
757
|
+
left: -53px;
|
|
758
|
+
}
|
|
759
|
+
&[data-side='right'] {
|
|
760
|
+
right: -53px;
|
|
761
|
+
}
|
|
762
|
+
&[data-side='left'] img {
|
|
763
|
+
transform: scaleX(-1);
|
|
764
|
+
}
|
|
765
|
+
&:hover:not(:disabled) {
|
|
766
|
+
transform: translateY(-50%) scale(1.07);
|
|
767
|
+
}
|
|
768
|
+
&:disabled {
|
|
769
|
+
opacity: 0;
|
|
770
|
+
pointer-events: none;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
@media (prefers-reduced-motion: reduce) {
|
|
774
|
+
transition: none;
|
|
775
|
+
}
|
|
776
|
+
${j.maxWidth("lg")} {
|
|
777
|
+
display: none;
|
|
778
|
+
}
|
|
779
|
+
`,_e=a.div`
|
|
780
|
+
display: grid;
|
|
781
|
+
grid-auto-flow: column;
|
|
782
|
+
grid-auto-columns: calc((100% - 64px) / 5);
|
|
783
|
+
gap: 16px;
|
|
784
|
+
overflow-x: auto;
|
|
785
|
+
overflow-y: hidden;
|
|
786
|
+
${ce};
|
|
787
|
+
scroll-snap-type: x mandatory;
|
|
788
|
+
scrollbar-width: none;
|
|
789
|
+
|
|
790
|
+
&::-webkit-scrollbar {
|
|
791
|
+
display: none;
|
|
792
|
+
}
|
|
793
|
+
& > * {
|
|
794
|
+
scroll-snap-align: start;
|
|
795
|
+
}
|
|
796
|
+
${j.maxWidth("xl")} {
|
|
797
|
+
grid-auto-columns: calc((100% - 48px) / 4);
|
|
798
|
+
}
|
|
799
|
+
${j.maxWidth("lg")} {
|
|
800
|
+
grid-auto-columns: calc((100% - 32px) / 3);
|
|
801
|
+
}
|
|
802
|
+
${j.maxWidth("sm")} {
|
|
803
|
+
grid-auto-columns: calc((100% - 16px) / 2);
|
|
804
|
+
}
|
|
805
|
+
`,et=a.div`
|
|
806
|
+
display: flex;
|
|
807
|
+
align-items: center;
|
|
808
|
+
justify-content: center;
|
|
809
|
+
gap: 8px;
|
|
810
|
+
margin-top: 18px;
|
|
811
|
+
`,tt=a.button`
|
|
812
|
+
width: 10px;
|
|
813
|
+
height: 10px;
|
|
814
|
+
border-radius: 50%;
|
|
815
|
+
border: 0;
|
|
816
|
+
padding: 0;
|
|
817
|
+
/* Figma "Carousel Dots" (verbatim): rgba(0,0,0,0.5) at rest, Brand/Orange active. */
|
|
818
|
+
background: rgba(0, 0, 0, 0.5);
|
|
819
|
+
cursor: pointer;
|
|
820
|
+
transition:
|
|
821
|
+
opacity 0.12s ease,
|
|
822
|
+
background 0.12s ease,
|
|
823
|
+
transform 0.12s ease;
|
|
824
|
+
|
|
825
|
+
&:hover {
|
|
826
|
+
opacity: 0.8;
|
|
827
|
+
}
|
|
828
|
+
&[data-active] {
|
|
829
|
+
background: ${F.media};
|
|
830
|
+
opacity: 1;
|
|
831
|
+
transform: scale(1.1);
|
|
832
|
+
}
|
|
833
|
+
`;function xa({title:t,items:e,onViewAll:n}){const o=C.useRef(null),[l,p]=C.useState(1),[g,u]=C.useState(0),[y,b]=C.useState(!0),[h,f]=C.useState(!1),m=C.useCallback(()=>{const x=o.current;if(!x)return;const{scrollLeft:d,scrollWidth:v,clientWidth:I}=x,V=Math.max(1,Math.ceil(v/I));p(V),u(Math.min(V-1,Math.round(d/I))),b(d<=1),f(d+I>=v-1)},[]);if(C.useEffect(()=>{m();const x=o.current;if(x)return x.addEventListener("scroll",m,{passive:!0}),window.addEventListener("resize",m),()=>{x.removeEventListener("scroll",m),window.removeEventListener("resize",m)}},[m,e.length]),e.length===0)return null;function r(x){const d=o.current;d&&d.scrollBy({left:x*d.clientWidth,behavior:"smooth"})}function w(x){const d=o.current;d&&d.scrollTo({left:x*d.clientWidth,behavior:"smooth"})}return s.jsxs(Ue,{"data-testid":"carousel",children:[s.jsxs(Qe,{children:[s.jsx(Ge,{children:t}),n?s.jsxs(Ze,{onClick:n,children:[k("collectionCarousel.viewAll"),s.jsx(Je,{name:"chevron-down",size:16})]}):null]}),s.jsxs(Ye,{children:[s.jsx(q,{"data-side":"left",onClick:()=>r(-1),"aria-label":k("collectionCarousel.scrollLeft"),disabled:y,children:s.jsx("img",{src:L,alt:"","aria-hidden":!0})}),s.jsx(_e,{ref:o,children:e.map(x=>s.jsx(le,{item:x},x.id))}),s.jsx(q,{"data-side":"right",onClick:()=>r(1),"aria-label":k("collectionCarousel.scrollRight"),disabled:h,children:s.jsx("img",{src:L,alt:"","aria-hidden":!0})})]}),l>1?s.jsx(et,{"aria-label":k("collectionCarousel.pages"),children:Array.from({length:l}).map((x,d)=>s.jsx(tt,{"data-active":d===g||void 0,"aria-label":k("collectionCarousel.goToPage",{page:d+1}),"aria-current":d===g?"true":void 0,onClick:()=>w(d)},d))}):null]})}export{wt as $,Lt as A,Nt as B,Wt as C,Yt as D,xt as E,_t as F,ea as G,Et as H,ta as I,aa as J,na as K,sa as L,zt as M,ia as N,bt as O,pa as P,ht as Q,xa as R,It as S,St as T,gt as U,pt as V,Ut as W,Bt as X,ut as Y,Mt as Z,Y as _,$t as a,Le as a0,Re as a1,ee as a2,ga as a3,fa as a4,oa as a5,yt as a6,vt as a7,kt as a8,Ct as a9,At as aa,Tt as b,Pt as c,Ft as d,Vt as e,Dt as f,da as g,ca as h,mt as i,la as j,ra as k,Ke as l,ft as m,ha as n,ua as o,jt as p,Qt as q,Gt as r,qt as s,Ht as t,Ot as u,Rt as v,Xt as w,Kt as x,Zt as y,Jt as z};
|
|
834
|
+
//# sourceMappingURL=CollectionCarousel-KtrjUFTp.js.map
|