@dcl/shop 0.1.0-29820201061.commit-6e93aab → 0.1.0-29820315471.commit-e34db25
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/{AnimatedBackground-DAWtZAKT.js → AnimatedBackground-DQ46urVV.js} +1 -1
- package/assets/{Assets-BfwpVa8T.js → Assets-5wZu90xj.js} +1 -1
- package/assets/Cart-DDgcOTzw.js +3 -0
- package/assets/Cart-DXZzP7Af.css +1 -0
- package/assets/{CircularProgress-DbOPAlwJ.js → CircularProgress-CfcEerVP.js} +1 -1
- package/assets/{Collection-D9pgNA_k.js → Collection-Bi7w1GKJ.js} +1 -1
- package/assets/{CollectionCarousel-Bv4JmxDk.js → CollectionCarousel-Bu8qPKKJ.js} +1 -1
- package/assets/{Creator-BUh9bTpd.js → Creator-B13Gi9z4.js} +1 -1
- package/assets/{CssVarsProvider-w2c1yhxv.js → CssVarsProvider-CvtfLfCd.js} +1 -1
- package/assets/{ExchangeController-SpKxAxin.js → ExchangeController-B9D_7PXu.js} +1 -1
- package/assets/{GetCredits-N_TH5qjR.js → GetCredits-C3rj35ez.js} +1 -1
- package/assets/{HelpersUtil-Dk0fX2VO.js → HelpersUtil-CNtn9Kzj.js} +1 -1
- package/assets/{ImportListings-DeGUWpef.js → ImportListings-hNp1sEuT.js} +1 -1
- package/assets/{ItemDetail-oeRcJNYq.js → ItemDetail-BqrPvIRT.js} +2 -2
- package/assets/{LoadMore-CG-U1l6R.js → LoadMore-CwKrPv19.js} +1 -1
- package/assets/{MarketCheckout-ok-4xTbs.js → MarketCheckout-D-VQDb7F.js} +1 -1
- package/assets/{MyAssets-CvtYfSpu.js → MyAssets-CzmZ_l10.js} +1 -1
- package/assets/{MyFavorites-Dd22LHHj.js → MyFavorites-CdAcz-wK.js} +1 -1
- package/assets/{MyPurchases-V1RhxGky.js → MyPurchases-Bw8Lb-63.js} +1 -1
- package/assets/{NotFound-DiPtPjNv.js → NotFound-C3wbCG4q.js} +1 -1
- package/assets/{StoreSettings-DnT3y2OO.js → StoreSettings-BhJ4tKkZ.js} +1 -1
- package/assets/{Success-Cty_2pyi.js → Success-CiXoIPVr.js} +1 -1
- package/assets/{SwapController-DaN0jm-H.js → SwapController-53Vi_fXW.js} +1 -1
- package/assets/{TradeService-BvnZvZgd.js → TradeService-C8gY38rG.js} +1 -1
- package/assets/{W3MFrameProviderSingleton-0X-5xnm-.js → W3MFrameProviderSingleton-CaYG210l.js} +3 -3
- package/assets/{WebCryptoP256-CTN3luLA.js → WebCryptoP256-DtgFm5FB.js} +1 -1
- package/assets/{basic-QSXc4V2D.js → basic-Ch9NQwrH.js} +1 -1
- package/assets/{biconomy-CqIIitTh.js → biconomy-TNDCvsRI.js} +1 -1
- package/assets/{buy-BB1nNoHF.js → buy-BPkraJ17.js} +1 -1
- package/assets/{buy-gasless-Dk-vGVaA.js → buy-gasless-uVyAhlxN.js} +1 -1
- package/assets/{cart-checkout-Dq_IfS2V.js → cart-checkout-Co7t_k8J.js} +1 -1
- package/assets/{categories-B5rMzFhG.js → categories-pY-U0UXm.js} +1 -1
- package/assets/{ccip-CwgUOIwr.js → ccip-BAHa2VFa.js} +1 -1
- package/assets/{ccip-DgWVV-Cq.js → ccip-scmwpqQC.js} +1 -1
- package/assets/{collection-Cx_FbJvw.js → collection-BdgBOuhz.js} +1 -1
- package/assets/{controller-C-XHoEvy.js → controller-DGvMtERc.js} +2 -2
- package/assets/{core-CfiWie_R.js → core-DflkIDmd.js} +4 -4
- package/assets/{custom-DKVEEouT.js → custom-DclbkPm_.js} +1 -1
- package/assets/{data-capture-DRU0RrJn.js → data-capture-D7FmI-WY.js} +1 -1
- package/assets/{decimals-ClpY8V96.js → decimals-B34hEReu.js} +1 -1
- package/assets/{decimals-DonBY3ph.js → decimals-Cd90iC1A.js} +1 -1
- package/assets/{detectExtension-B_mnipYI.js → detectExtension-BCqIz4gv.js} +1 -1
- package/assets/{email-Du5ktVIv.js → email-B6HsCs0u.js} +1 -1
- package/assets/{embedded-wallet-D8702brY.js → embedded-wallet-cye2mSzK.js} +1 -1
- package/assets/{emotion-styled.browser.esm-D4okznSw.js → emotion-styled.browser.esm-B-hzcBrK.js} +1 -1
- package/assets/{engine-CjhboEJw.js → engine-CMumcr4T.js} +1 -1
- package/assets/{errors-DLCfzexO.js → errors-qUwGIanA.js} +1 -1
- package/assets/{estimate-l1-fee-D65JAyU_.js → estimate-l1-fee-DebL8v3Z.js} +1 -1
- package/assets/{eth_estimateGas-Dx8A0rQf.js → eth_estimateGas-2pKUTcbV.js} +1 -1
- package/assets/{eth_getStorageAt-Dn97nH7-.js → eth_getStorageAt-CFTZVftG.js} +1 -1
- package/assets/{eth_getTransactionCount-BsbZubbz.js → eth_getTransactionCount-39Gh8JUo.js} +1 -1
- package/assets/{extractIPFS-3p5_lVI2.js → extractIPFS-PVH2EVQE.js} +1 -1
- package/assets/{features-CEnnVGh1.js → features-D9Taji2F.js} +1 -1
- package/assets/{fetchTokenMetadata-BBl6hFMA.js → fetchTokenMetadata-DM2B3NZz.js} +2 -2
- package/assets/{get-ecosystem-wallet-info-DJRhUKR8.js → get-ecosystem-wallet-info-kEbf8Llc.js} +1 -1
- package/assets/{getBalance-BjOc81GX.js → getBalance-B4GGi_h8.js} +1 -1
- package/assets/{getInstalledModules-B5lc4vdM.js → getInstalledModules-W39oQBw8.js} +1 -1
- package/assets/{getNFT-DzSkkUED.js → getNFT-COMLY0k-.js} +1 -1
- package/assets/{getNFT-CL_MHRMI.js → getNFT-_ore7rdY.js} +2 -2
- package/assets/{getOverlayAlpha-CMi-RtY0.js → getOverlayAlpha-BX66SxOu.js} +1 -1
- package/assets/{hashTypedData-CtS-a__q.js → hashTypedData-C9Vn70Lp.js} +1 -1
- package/assets/{hashTypedData-DgGGaq3_.js → hashTypedData-CxL0SEsX.js} +1 -1
- package/assets/{import-dApKnRUE.js → import-C7kEB_S5.js} +1 -1
- package/assets/{in-app-wallet-calls-DXDKPfo-.js → in-app-wallet-calls-Dv5D-qmW.js} +1 -1
- package/assets/{index-BZrziql9.js → index--KLajle8.js} +1 -1
- package/assets/{index-B_gop-2P.js → index-3j2VRNSj.js} +2 -2
- package/assets/{index-kj576VV8.js → index-B1ztebBZ.js} +1 -1
- package/assets/{index-AXY2OKOi.js → index-B6A_pOmU.js} +1 -1
- package/assets/{index-BKHArmb8.js → index-BB3seE1H.js} +1 -1
- package/assets/{index-CXCPKgIL.js → index-BHvu7he_.js} +1 -1
- package/assets/{index-D-FlYCrT.js → index-BNabonCc.js} +1 -1
- package/assets/{index-DNyAB5T9.js → index-BPURGbOI.js} +2 -2
- package/assets/{index-E3u-0qkh.js → index-BXG5dCKJ.js} +1 -1
- package/assets/{index-DSMcEg86.js → index-BZ2A41zN.js} +1 -1
- package/assets/{index-BtWvPi-C.js → index-Bbub8cs6.js} +3 -3
- package/assets/{index-Ct3-b-XG.js → index-BdsoQlUk.js} +1 -1
- package/assets/{index-BEP5YEOP.js → index-BhokrOsa.js} +1 -1
- package/assets/{index-CTL73XUb.js → index-BmTc8K12.js} +1 -1
- package/assets/{index-mQ3fD2pW.js → index-BoB0Y302.js} +1 -1
- package/assets/{index-F3bWVhlW.js → index-BtOJu30H.js} +1 -1
- package/assets/{index-COYa4blu.js → index-BvjAr8nY.js} +1 -1
- package/assets/{index-Nzz-X3JR.js → index-BznxuYKb.js} +1 -1
- package/assets/{index-BtHD2PwE.js → index-C-PXxORu.js} +1 -1
- package/assets/{index-CC9ohYjq.js → index-CF-ZZ_LW.js} +1 -1
- package/assets/{index-ClOq-XK_.js → index-CFcehHl6.js} +1 -1
- package/assets/{index-LsWSCTxf.js → index-CTJrkNxC.js} +1 -1
- package/assets/{index-DW6hvVBk.js → index-CUImhRoy.js} +1 -1
- package/assets/{index-Bdviiw0D.js → index-CcFuTBt3.js} +1 -1
- package/assets/{index-9TPYgQJV.js → index-CcSs3xun.js} +1 -1
- package/assets/{index-BeeqvCzC.js → index-CigjJrdx.js} +1 -1
- package/assets/{index-CF8dJQWx.js → index-CkezkMvS.js} +2 -2
- package/assets/{index-EpjNSbck.js → index-CobH2y5K.js} +1 -1
- package/assets/{index-B0dfVx8-.js → index-CzWl3qk_.js} +1 -1
- package/assets/{index-DQcdNd4L.js → index-D1hhOo8i.js} +1 -1
- package/assets/{index-CDOVd3Or.js → index-D5DA5XrX.js} +1 -1
- package/assets/{index-BTrFeJpK.js → index-D9VTjnkt.js} +1 -1
- package/assets/{index-VljTVp5r.js → index-DCPsmlPD.js} +1 -1
- package/assets/{index-m3ikjlZ9.js → index-DEN3gLrI.js} +1 -1
- package/assets/{index-1iy3MjeD.js → index-DTSgeQ5D.js} +1 -1
- package/assets/{index-D82p0tCN.js → index-DXDtFVPs.js} +1 -1
- package/assets/{index-Bi5nB_Xd.js → index-DbYRql_-.js} +1 -1
- package/assets/{index-Dl878bh3.js → index-Dc1jVnMf.js} +3 -3
- package/assets/{index-DAotFwIM.js → index-DpRVy6UQ.js} +1 -1
- package/assets/{index-D4haZmAC.js → index-DuRVCvRc.js} +1 -1
- package/assets/{index-Cldj-HLd.js → index-I594L5Wd.js} +1 -1
- package/assets/{index-DvCxAuAV.js → index-Tvwwbs5L.js} +1 -1
- package/assets/{index-rIXEHCUI.js → index-VhulZp0_.js} +1 -1
- package/assets/{index-NmO7Zc6p.js → index-W7cyhQOk.js} +1 -1
- package/assets/{index-D-0UbgZb.js → index-boL29_Yj.js} +1 -1
- package/assets/{index-D2MCniIy.js → index-d4x-ttpO.js} +10 -10
- package/assets/{index-Dd1qZUR_.js → index-nyWvMhrR.js} +1 -1
- package/assets/{index-C2ou7t9Z.js → index-sBxcn5Yg.js} +1 -1
- package/assets/{index-BfjvLXhz.js → index-txCoS8XJ.js} +1 -1
- package/assets/{index-DFvNyoxW.js → index-vqW6dFQp.js} +1 -1
- package/assets/{index-9RhtGjkQ.js → index-xAQNqr4T.js} +1 -1
- package/assets/{index.es-BKvDPMdj.js → index.es-CX7mxtcH.js} +4 -4
- package/assets/{index.es-jAGAALqM.js → index.es-DHRIRbEx.js} +1 -1
- package/assets/{index.es-D4zORoHW.js → index.es-Dzc3VMLo.js} +1 -1
- package/assets/{localBatchGatewayRequest-DSTbEhrP.js → localBatchGatewayRequest-DPQULVCl.js} +1 -1
- package/assets/{mana-rate-8umEj7_T.js → mana-rate-BWFOkvpC.js} +1 -1
- package/assets/{networks-cttqYPBD.js → networks-h2z6LNz5.js} +1 -1
- package/assets/{onramp-O3BTWx9-.js → onramp-DkkFwfD-.js} +1 -1
- package/assets/{openzeppelin-CQac0BGV.js → openzeppelin-Dt8oZ76u.js} +1 -1
- package/assets/{ownerOf-BNp_oN81.js → ownerOf-D61ptJju.js} +1 -1
- package/assets/{parseNft-CaODLwGA.js → parseNft-DF9_xc-W.js} +2 -2
- package/assets/{parseSignature-Bx6QTnH6.js → parseSignature-BGy6ebQm.js} +1 -1
- package/assets/{parseSignature-BUlJFwOG.js → parseSignature-CoN-flwV.js} +3 -3
- package/assets/{pay-with-exchange-3gqLKVFv.js → pay-with-exchange-CrvAas-k.js} +1 -1
- package/assets/{payments-DpS98zAJ.js → payments-DEbBixXM.js} +1 -1
- package/assets/{qr-overlay-BTYTNs3e.js → qr-overlay-_AYDDd2P.js} +1 -1
- package/assets/{receive-GjDfyQpR.js → receive-BikF2OCK.js} +1 -1
- package/assets/{resolveImplementation-C6kQvPP-.js → resolveImplementation-CyERb8Bt.js} +1 -1
- package/assets/{rpc-DuJlT0HH.js → rpc-Bj2mehcE.js} +1 -1
- package/assets/{secp256k1-CPZ3QzZL.js → secp256k1-4S_gx5U_.js} +1 -1
- package/assets/{secp256k1-BmaDbfrn.js → secp256k1-BlXhQE61.js} +1 -1
- package/assets/{secp256k1-BWbqqT7z.js → secp256k1-BwiABSKe.js} +1 -1
- package/assets/{send-CO-2udGX.js → send-B7leZ2sF.js} +1 -1
- package/assets/{send-batch-transaction-D2YAYdks.js → send-batch-transaction-NCJfUQmg.js} +1 -1
- package/assets/{send-eip712-transaction-CcIzmXkO.js → send-eip712-transaction-DyB2yZtW.js} +2 -2
- package/assets/{send-gasless-transaction-B_Vu9cKC.js → send-gasless-transaction-DxbiAsWR.js} +2 -2
- package/assets/{sendRawTransaction-zZ1gmwwW.js → sendRawTransaction-CXnui5Km.js} +3 -3
- package/assets/{serializeTransaction-BLhvSCIg.js → serializeTransaction-BA8Lx_h7.js} +1 -1
- package/assets/{session-proposal-CMJwwypi.js → session-proposal-ZPunDXaI.js} +1 -1
- package/assets/{session-request-Bnr_sX_J.js → session-request-D_b2ouvA.js} +2 -2
- package/assets/{sha256-Cz0lQzvl.js → sha256-D2Fo41ck.js} +1 -1
- package/assets/{signing-CvokIB4x.js → signing-CP2v_dlr.js} +4 -4
- package/assets/{socials-D4DuECHq.js → socials-xqF7U9Yn.js} +1 -1
- package/assets/{swaps-D_hLEEKg.js → swaps-B3ujQJZz.js} +1 -1
- package/assets/{thirdweb-C_WUiq8w.js → thirdweb-B7ea2PEt.js} +3 -3
- package/assets/{totalSupply-V6l7KoX8.js → totalSupply-D22_m4j2.js} +1 -1
- package/assets/{trade-encoding-CxOU66Zo.js → trade-encoding-cvcruSuW.js} +1 -1
- package/assets/{transactionReceipt-DxcBIxbU.js → transactionReceipt-9wnHZrRL.js} +1 -1
- package/assets/{transactions-CT0Iato6.js → transactions-Nu8-9WNT.js} +1 -1
- package/assets/{useInfiniteGrid-_2151jJs.js → useInfiniteGrid-ClIfwXAY.js} +1 -1
- package/assets/{useStore-_juYfQlk.js → useStore-BPgnQXlK.js} +1 -1
- package/assets/useTheme-BwxUDr5G.js +1 -0
- package/assets/{useTheme-CvQWZTyO.js → useTheme-HWLX9NSW.js} +1 -1
- package/assets/{verifyHash-Ch4HpC7b.js → verifyHash-DMHtO2BR.js} +1 -1
- package/assets/{w3m-modal-CqER6RMY.js → w3m-modal-Cx_nmtny.js} +1 -1
- package/assets/{w3m-modal-s_TWH6MQ.js → w3m-modal-wqk18fis.js} +1 -1
- package/assets/{wait-for-tx-receipt-CuxFpJ4i.js → wait-for-tx-receipt-BPkFazzP.js} +1 -1
- package/assets/{wallets-Pcb-CnJi.js → wallets-CmM_4Vm-.js} +6 -6
- package/assets/{web-connector-D2Rc0Q2d.js → web-connector-B01y8d6Z.js} +3 -3
- package/assets/{writeContract-6OJ2j59X.js → writeContract-BTRFLrl9.js} +1 -1
- package/assets/{zoraTestnet-DWGOJRav.js → zoraTestnet-Bq4RAmQw.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/assets/Cart-BMcaDkFj.js +0 -3
- package/assets/Cart-BU0ex2lY.css +0 -1
- package/assets/useTheme-hl4D5Ddl.js +0 -1
package/index.html
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
<link rel="canonical" href="https://shop.decentraland.org/" />
|
|
17
17
|
|
|
18
18
|
<!-- Favicon: the Decentraland mark (same as the marketplace). -->
|
|
19
|
-
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
20
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/apple-touch-icon.png" />
|
|
21
21
|
<meta name="apple-mobile-web-app-title" content="DCL Shop" />
|
|
22
|
-
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
22
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/site.webmanifest" />
|
|
23
23
|
|
|
24
24
|
<!-- Open Graph -->
|
|
25
25
|
<meta property="og:type" content="website" />
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<meta name="twitter:image:alt" content="Decentraland Shop — wearables and emotes for your avatar" />
|
|
49
49
|
|
|
50
50
|
<!-- Sitemap -->
|
|
51
|
-
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
51
|
+
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/sitemap.xml" />
|
|
52
52
|
|
|
53
53
|
<!-- Warm the 3D preview / fonts -->
|
|
54
54
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
<link rel="preconnect" href="https://wearable-preview.decentraland.org" />
|
|
61
61
|
<link rel="preconnect" href="https://peer.decentraland.zone" crossorigin />
|
|
62
62
|
<link rel="preconnect" href="https://peer.decentraland.org" crossorigin />
|
|
63
|
-
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
64
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
65
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
66
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
67
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
68
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
69
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
63
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/assets/index-d4x-ttpO.js"></script>
|
|
64
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/assets/react-yytiy0wi.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/assets/dcl-schemas-BICTSpB5.js">
|
|
66
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/assets/sentry-BPJvc5GU.js">
|
|
67
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/assets/ethers-w2AslR0v.js">
|
|
68
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/assets/intl-CBcMB1D2.js">
|
|
69
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820315471.commit-e34db25/assets/index-BbQ0ahsR.css">
|
|
70
70
|
</head>
|
|
71
71
|
<body>
|
|
72
72
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/shop",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-29820315471.commit-e34db25",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/shop.git"
|
|
10
10
|
},
|
|
11
|
-
"commit": "
|
|
11
|
+
"commit": "e34db2560c89ec4964fc6bf022fb2018941c5ec2"
|
|
12
12
|
}
|
package/assets/Cart-BMcaDkFj.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{j as e,a as Se,b as Ie,r as f,L as Z}from"./react-yytiy0wi.js";import{t as a,C as S,a8 as R,a as qe,a9 as N,c as ie,d as Le,g as Pe,o as Te,u as Ee,I as L,aa as Be,b as O,ab as de,ac as Fe,D as A,s as Ae,B as Re,j as We,k as Ue,w as ze,q as ue,ad as Ke,y as he,x as Qe,ae as $e}from"./index-D2MCniIy.js";import{a as me}from"./buy-BB1nNoHF.js";import{g as Oe,a as De,w as Ge,S as Je,G as Ve}from"./buy-gasless-Dk-vGVaA.js";import{R as D,r as Ye}from"./cart-checkout-Dq_IfS2V.js";import{C as He,c as Xe}from"./payments-DpS98zAJ.js";import{E as be}from"./ErrorNotice-CKeOu_Oi.js";import{i as Ze,a as es}from"./errors-DLCfzexO.js";import{C as ss}from"./CollectionCarousel-Bv4JmxDk.js";import"./dcl-schemas-BICTSpB5.js";import"./sentry-BPJvc5GU.js";import"./ethers-w2AslR0v.js";import"./intl-CBcMB1D2.js";import"./trade-encoding-CxOU66Zo.js";import"./index-HN6Rk25C.js";function as(t){const{phase:r,balanceCredits:b,onClose:l}=t,x=r==="processing",P=r!=="complete",T=r==="nofunds"?a("cartCheckout.titleNoFunds"):a("cartCheckout.titleBuy"),j=r==="processing";return e.jsxs("div",{className:"buy-modal",role:"dialog","aria-modal":"true","aria-label":a("cartCheckout.dialogAria"),children:[e.jsx("div",{className:"buy-modal__scrim",onClick:x?void 0:l,"aria-hidden":!0}),e.jsxs("div",{className:`buy-modal__card${j?" buy-modal__card--tall":""}`,children:[P&&e.jsxs("div",{className:"buy-modal__head",children:[e.jsxs("div",{className:"buy-modal__head-row",children:[e.jsx("h2",{className:"buy-modal__title",children:T}),!x&&e.jsx("button",{className:"buy-modal__x",onClick:l,"aria-label":a("buyModal.close"),children:e.jsx("svg",{viewBox:"0 0 18 18",width:"18",height:"18","aria-hidden":!0,children:e.jsx("path",{d:"M4 4l10 10M14 4L4 14",stroke:"#161518",strokeWidth:"1.8",strokeLinecap:"round"})})})]}),e.jsxs("div",{className:"buy-modal__balance",children:[e.jsx("span",{className:"buy-modal__balance-label",children:r==="nofunds"?a("buyModal.dclBalance"):a("buyModal.myCreditsBalance")}),e.jsx(S,{className:"buy-modal__balance-ico"}),e.jsx("span",{className:"buy-modal__balance-value",children:R(b)})]})]}),r==="processing"&&e.jsx(ts,{step:t.step??1,total:t.total??1}),r==="nofunds"&&e.jsx(cs,{lines:t.lines??[],shortfallCredits:t.shortfallCredits??0,packs:t.packs??[],selectedPack:t.selectedPack??"",onSelectPack:t.onSelectPack??(()=>{}),onBuyPacks:t.onBuyPacks??(()=>{}),onCancel:l}),r==="complete"&&e.jsx(rs,{purchased:t.purchased??[],onMyAssets:t.onMyAssets??l,onTryInWorld:t.onTryInWorld??l}),r==="error"&&e.jsxs("div",{className:"buy-modal__body",children:[e.jsx(be,{message:t.message}),e.jsx("div",{className:"buy-modal__ctas",children:e.jsx("button",{className:"buy-modal__btn buy-modal__btn--gradient",onClick:l,children:a("buyModal.close")})})]})]})]})}function ts({step:t,total:r}){return e.jsxs("div",{className:"buy-modal__body buy-modal__processing",children:[e.jsx("img",{className:"buy-modal__logo",src:"/icon-192.png",alt:"",width:61,height:61}),e.jsx("div",{className:"buy-modal__processing-text",children:a("buyModal.completingTransaction")}),e.jsxs("div",{className:"cart-checkout__progress-row",children:[e.jsx("div",{className:"buy-modal__progress","aria-hidden":!0,children:e.jsx("span",{className:"buy-modal__progress-fill"})}),e.jsxs("span",{className:"cart-checkout__step",children:[t,"/",r]})]})]})}function cs({lines:t,shortfallCredits:r,packs:b,selectedPack:l,onSelectPack:x,onBuyPacks:P,onCancel:T}){const j=b.find(c=>c.id===l),J=t.reduce((c,g)=>c+(g.quantity??1),0);return e.jsxs("div",{className:"buy-modal__body",children:[e.jsxs("div",{className:"buy-modal__warning",children:[e.jsxs("svg",{viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":!0,className:"buy-modal__warning-ico",children:[e.jsx("path",{d:"M12 3L2 20h20L12 3z",fill:"none",stroke:"#691fa9",strokeWidth:"1.8",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 9v5",stroke:"#691fa9",strokeWidth:"1.8",strokeLinecap:"round"}),e.jsx("circle",{cx:"12",cy:"17",r:"1.1",fill:"#691fa9"})]}),e.jsxs("p",{className:"buy-modal__warning-text",children:[e.jsx("b",{children:a("buyModal.insufficientFunds")})," ",a("buyModal.warningNeedToBuy")," ",e.jsx("b",{children:a("buyModal.warningCreditsAmount",{count:Math.max(0,r)})})," ",a("buyModal.warningToPurchase",{count:J})]})]}),e.jsx("div",{className:"cart-checkout__scroll",children:t.map(c=>{const g=c.quantity??1;return e.jsxs("div",{className:"buy-modal__asset",children:[e.jsx("div",{className:"buy-modal__asset-thumb",children:c.item.thumbnail?e.jsx("img",{src:c.item.thumbnail,alt:""}):null}),e.jsxs("div",{className:"buy-modal__asset-info",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"buy-modal__asset-name",title:c.item.name,children:[c.item.name||a("buyModal.itemFallback"),g>1?e.jsx("span",{className:"cart-checkout__qty-tag",children:a("cartCheckout.qty",{count:g})}):null]}),c.item.creator?e.jsx("div",{className:"buy-modal__asset-creator",children:a("search.byCreator",{name:c.item.creator})}):null]}),e.jsxs("div",{className:"buy-modal__asset-price",children:[e.jsx(S,{className:"buy-modal__asset-price-ico"}),e.jsx("span",{children:R(c.priceCredits*g)})]})]})]},c.item.id)})}),e.jsx("div",{className:"buy-modal__packs",children:b.map(c=>{const g=c.id===l;return e.jsxs("button",{className:`buy-modal__pack${g?" buy-modal__pack--on":""}`,onClick:()=>x(c.id),children:[e.jsx(S,{className:"buy-modal__pack-ico"}),e.jsx("span",{className:"buy-modal__pack-amount",children:R(c.credits)}),e.jsxs("span",{className:"buy-modal__pack-usd",children:["($",c.usd.toFixed(2),")"]})]},c.id)})}),e.jsxs("div",{className:"buy-modal__total",children:[e.jsxs("div",{className:"buy-modal__total-credits",children:[e.jsx(S,{className:"buy-modal__total-ico"}),e.jsx("span",{children:R((j==null?void 0:j.credits)??0)})]}),e.jsxs("span",{className:"buy-modal__total-usd",children:["$",((j==null?void 0:j.usd)??0).toFixed(2)]})]}),e.jsxs("div",{className:"buy-modal__ctas",children:[e.jsx("button",{className:"buy-modal__btn buy-modal__btn--outline",onClick:T,children:a("buyModal.cancel")}),e.jsx("button",{className:"buy-modal__btn buy-modal__btn--gradient",onClick:P,children:a("buyModal.buy")})]})]})}function rs({purchased:t,onMyAssets:r,onTryInWorld:b}){return e.jsxs("div",{className:"buy-modal__body cart-checkout__done-body",children:[e.jsxs("div",{className:"buy-modal__success",children:[e.jsxs("svg",{viewBox:"0 0 64 64",width:"60",height:"60","aria-hidden":!0,children:[e.jsx("circle",{cx:"32",cy:"32",r:"32",fill:"#34ce77"}),e.jsx("path",{d:"M20 33l8 8 16-18",fill:"none",stroke:"#fff",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})]}),e.jsxs("p",{className:"buy-modal__success-text",children:[e.jsx("b",{children:a("getCredits.successTitle")})," ",a("buyModal.successBody")]})]}),e.jsx("div",{className:"cart-checkout__done",children:e.jsx("div",{className:"cart-checkout__done-scroll",children:t.map(l=>{const x=l.quantity??1;return e.jsxs("div",{className:"cart-checkout__done-row",children:[e.jsxs("div",{className:"cart-checkout__done-thumb",children:[l.thumbnail?e.jsx("img",{src:l.thumbnail,alt:""}):null,e.jsx("span",{className:"cart-checkout__done-check","aria-hidden":!0,children:e.jsx("svg",{viewBox:"0 0 18 18",width:"12",height:"12",children:e.jsx("path",{d:"M4 9l3.5 3.5L14 5",fill:"none",stroke:"#fff",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.jsxs("div",{className:"cart-checkout__done-info",children:[e.jsxs("div",{className:"cart-checkout__done-name",title:l.name,children:[l.name||a("buyModal.itemFallback"),x>1?e.jsx("span",{className:"cart-checkout__qty-tag",children:a("cartCheckout.qty",{count:x})}):null]}),l.creator?e.jsx("div",{className:"cart-checkout__done-creator",children:a("search.byCreator",{name:l.creator})}):null]}),e.jsxs("div",{className:"cart-checkout__done-price",children:[e.jsx(S,{className:"cart-checkout__done-price-ico"}),e.jsx("span",{children:R(l.priceCredits*x)})]})]},l.id)})})}),e.jsxs("div",{className:"buy-modal__ctas",children:[e.jsx("button",{className:"buy-modal__btn buy-modal__btn--outline",onClick:r,children:a("buyModal.myAssets")}),e.jsxs("button",{className:"buy-modal__btn buy-modal__btn--ruby",onClick:b,children:[a("buyModal.tryInWorld"),e.jsx("svg",{viewBox:"0 0 24 24",width:"20",height:"20","aria-hidden":!0,children:e.jsx("path",{d:"M5 12h12M13 7l5 5-5 5",fill:"none",stroke:"#fcfcfc",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})}const ns=Ae(Re)`
|
|
2
|
-
margin-top: 12px;
|
|
3
|
-
`;function _e(t){if(Ze(t))return a("errors.rejected");const r=(t.message??"").toLowerCase();return r.includes("insufficient")?a("cart.error.insufficient",{currency:Ue.name}):r.includes("no active listing")||r.includes("your own listing")?a("cart.error.listingChanged"):a("marketCheckout.error.generic")}const os=12e4,G=He.slice(0,3),ls=We.chainId===80002?"https://decentraland.zone/jump":"https://decentraland.org/jump";function is(t){const r=[];return t.unavailable.length&&r.push(a("cart.drop.unavailable",{count:t.unavailable.length})),t.own.length&&r.push(a("cart.drop.own",{count:t.own.length})),a("cart.drop.removed",{items:r.join(` ${a("cart.drop.and")} `)})}const ye=t=>t.reduce((r,b)=>r+b.priceCredits*b.quantity,0),ds=t=>t.flatMap(r=>Array.from({length:r.quantity},()=>({...r,quantity:1})));function ws(){qe({title:a("nav.cart"),noindex:!0});const t=N(s=>s.items),r=N(s=>s.remove),b=N(s=>s.increment),l=N(s=>s.decrement),x=N(s=>s.clear),P=N(s=>s.restore),T=N(s=>s.setFittingOpen),j=ie(s=>s.items),J=ie(s=>s.toggle),{session:c}=Le(),g=t.some(s=>s.category!=="emote"),{data:V}=Pe({queryKey:["upsell-listings"],queryFn:()=>$e({first:40}),staleTime:6e4}),{data:E}=Te(c),W=Ee(),U=Se(),{state:I}=Ie(),[ee,B]=f.useState(null),[pe,C]=f.useState(null),[se,z]=f.useState(null),[xe,q]=f.useState(!1),[k,F]=f.useState(null),ae=f.useRef(0),[d,w]=f.useState(null),[Y,te]=f.useState(""),je=t.reduce((s,n)=>s+n.priceCredits*n.quantity,0),ce=t.reduce((s,n)=>s+n.quantity,0),ke=k?k.liveTotalCredits:je,fe=new Set(t.map(s=>s.id)),re=((V==null?void 0:V.items)??[]).filter(s=>!fe.has(s.id)).slice(0,12),ge=new Map(k==null?void 0:k.buyable.map(s=>[s.item.id,s])),K=(E==null?void 0:E.credits)??0,ve=Fe;function Q(s){s(),F(null),z(null),C(null)}function Ne(){w(null),q(!1)}function ne(s){const n=ye(s),o=Math.max(0,n-K),p=G.find(u=>u.credits>=o)??G[G.length-1];te(p.id),O("Shop Buy Credits Prompted",{from:"cart_checkout",credits_needed:n,credits_balance:K,shortfall:o}),w({phase:"nofunds",lines:s.map(u=>({item:u.item,priceCredits:u.priceCredits,quantity:u.quantity})),shortfall:o}),q(!1)}async function Ce(s){if(!c||s.length===0)return;const n=ds(s),o=n.map(i=>({...i.item,priceCredits:i.priceCredits})),p=s.map(i=>({...i.item,priceCredits:i.priceCredits,quantity:i.quantity})),u=[];let v="authorize",$=!1;w({phase:"processing",step:1,total:n.length});try{const i=[];for(let h=0;h<n.length;h++){const _=n[h];w({phase:"processing",step:h+1,total:n.length});try{const{credit:y,maxCreditedValue:X}=await ze(c.identity,_.usdCents,_.trade.id);u.push(y.id),i.push({trade:_.trade,credits:[y],maxCreditedValue:X})}catch(y){if(es(y)){if(u.length){try{await ue(c.identity,u)}catch(X){A(X,{flow:"cart_checkout",step:"release"})}W.invalidateQueries({queryKey:["usd-balance"]})}ne(s);return}throw y}}v="submit";let m=[];if(Oe())try{m=await De({purchases:i,buyer:c.address,signer:c.signer});const _=(await Promise.allSettled(m.map(y=>Ge(y)))).flatMap(y=>y.status==="rejected"?[y.reason]:[]);if(_.length&&!_.some(y=>y instanceof Je))throw _[0];$=!0}catch(h){if(!(h instanceof Ve))throw h;m=await me({purchases:i,buyer:c.address,signer:c.signer})}else m=await me({purchases:i,buyer:c.address,signer:c.signer});s.forEach(h=>r(h.item.id)),F(null),O("Shop Completed Purchase",{...Ke(o),payment_type:"credits",no_crypto_step:$,transaction_hash:m[0]??null}),W.invalidateQueries({queryKey:["usd-balance"]}),w({phase:"complete",purchased:p})}catch(i){if(he(i)||A(i,{flow:"cart_checkout",step:v,cart_size:s.length}),O(he(i)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:v,error_code:Qe(i),value_usd:de(o.reduce((m,h)=>m+h.priceCredits,0)),cart_size:n.length}),u.length){try{await ue(c.identity,u)}catch(m){A(m,{flow:"cart_checkout",step:"release"})}W.invalidateQueries({queryKey:["usd-balance"]})}w({phase:"error",message:_e(i)})}}function oe(s){const n=ye(s);if(E!=null&&E.credits<n){ne(s);return}Ce(s)}async function H(){if(!c){C(a("buyModal.signInToCheckout"));return}const s=N.getState().items;if(s.length===0)return;C(null),z(null),q(!0);const n=s.reduce((o,p)=>o+p.priceCredits*p.quantity,0);O("Shop Started Checkout",{cart_size:s.length,cart_value_credits:n,cart_value_usd:de(n),has_sufficient_credits:K>=n});try{B(a("cart.status.reviewing"));const o=await Ye(s,c.address,ve),p=[...o.unavailable,...o.own];if(p.length&&(p.forEach(u=>r(u.id)),z(is(o))),o.buyable.length===0){C(a("cart.error.noneAvailable")),F(null),B(null);return}if(o.orderChanged){F(o),ae.current=Date.now(),B(null);return}B(null),oe(o.buyable)}catch(o){A(o,{flow:"cart_checkout",step:"review",cart_size:s.length}),C(_e(o)),B(null)}finally{q(!1)}}async function we(){if(k){if(!c){C(a("buyModal.signInToCheckout"));return}if(Date.now()-ae.current>os){F(null),z(null),await H();return}C(null),oe(k.buyable)}}async function Me(){if(Y){try{sessionStorage.setItem(D,JSON.stringify(N.getState().items))}catch{}q(!0);try{const s=await Xe(Y,c?{address:c.address,identity:c.identity}:void 0);if(s.url){window.location.href=s.url;return}U("/credits")}catch(s){try{sessionStorage.removeItem(D)}catch{}A(s,{flow:"cart_buy_credits"}),w({phase:"error",message:a("buyModal.error.creditsCheckout")})}finally{q(!1)}}}const le=f.useRef(!1);f.useEffect(()=>{if(!(I!=null&&I.resumeCheckout)||le.current)return;le.current=!0;try{const n=sessionStorage.getItem(D);if(n){sessionStorage.removeItem(D);const o=JSON.parse(n);Array.isArray(o)&&o.length&&P(o)}}catch{}W.invalidateQueries({queryKey:["usd-balance"]});const s=setTimeout(()=>void H(),0);return()=>clearTimeout(s)},[I==null?void 0:I.resumeCheckout]);const M=xe||(d==null?void 0:d.phase)==="processing";return t.length===0&&!d?e.jsxs("div",{className:"cart cart--empty",children:[e.jsx(L,{name:"cart",size:44,color:"var(--muted-2)"}),e.jsx("p",{className:"cart-empty__title",children:a("cart.empty.title")}),e.jsx("p",{className:"muted",children:a("cart.empty.body")}),e.jsx(ns,{as:Z,to:"/assets",variant:"purple",children:a("cart.empty.cta")})]}):e.jsxs("div",{className:"checkout",children:[e.jsxs("button",{className:"checkout__back",onClick:()=>U(-1),type:"button",children:[e.jsx(L,{name:"arrow-left"}),a("nav.cart")]}),e.jsxs("div",{className:"checkout__body",children:[e.jsxs("section",{className:"checkout__panel",children:[e.jsxs("div",{className:"checkout__panel-head",children:[e.jsx("button",{className:"checkout__panel-back",onClick:()=>U(-1),type:"button","aria-label":a("cart.goBack"),children:e.jsx(L,{name:"arrow-left"})}),e.jsx("h1",{className:"checkout__panel-title",children:a("cart.panelTitle",{count:ce})}),g?e.jsxs("button",{className:"checkout__fitting",onClick:()=>T(!0),disabled:M,children:[e.jsx(L,{name:"fitting-room"}),a("cart.fittingRoom")]}):null]}),e.jsx("div",{className:"checkout__list",children:t.map(s=>{const n=ge.get(s.id),o=n?n.priceCredits:s.priceCredits,p=!!n&&n.priceCredits!==s.priceCredits,u=!s.tokenId,v=s.quantity,$=typeof s.available=="number"&&v>=s.available,i=o*v,m=!!j[s.id],h=s.tokenId??s.itemId,_=s.contractAddress&&h?`/item/${s.contractAddress}/${h}`:null;return e.jsxs("div",{className:"checkout__card",children:[e.jsxs("div",{className:"checkout__thumb",children:[_?e.jsx(Z,{className:"checkout__thumb-link",to:_,state:{item:s,tradeId:s.tradeId},"aria-label":s.name,children:s.thumbnail?e.jsx("img",{src:s.thumbnail,alt:s.name}):null}):s.thumbnail?e.jsx("img",{src:s.thumbnail,alt:s.name}):null,e.jsx("span",{className:"checkout__thumb-check","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("div",{className:"checkout__info",children:[e.jsxs("div",{className:"checkout__desc",children:[_?e.jsx(Z,{className:"checkout__name",to:_,state:{item:s,tradeId:s.tradeId},title:s.name,children:s.name}):e.jsx("div",{className:"checkout__name",title:s.name,children:s.name}),s.creator?e.jsx(Be,{address:s.creator,className:"checkout__creator",linkToProfile:!0}):null]}),e.jsxs("div",{className:"checkout__foot",children:[u?e.jsxs("div",{className:"checkout__stepper",children:[e.jsx("button",{className:"checkout__step",onClick:()=>Q(()=>l(s.id)),disabled:M||v<=1,"aria-label":a("cart.decreaseQuantity",{name:s.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("span",{className:"checkout__qty",children:v}),e.jsx("button",{className:"checkout__step",onClick:()=>Q(()=>b(s.id)),disabled:M||$,"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("div",{className:"checkout__price",children:[e.jsx(S,{className:"checkout__price-ico"})," ",i,p?e.jsx("span",{className:"checkout__price-was",children:s.priceCredits*v}):null]})]})]}),e.jsxs("div",{className:"checkout__actions",children:[e.jsx("button",{className:`checkout__fav${m?" is-on":""}`,onClick:()=>J(s),"aria-label":m?a("cart.removeFromFavorites",{name:s.name}):a("cart.addToFavorites",{name:s.name}),title:m?a("assetCard.removeFromFavorites"):a("assetCard.addToFavorites"),children:e.jsx(L,{name:m?"heart-solid":"heart"})}),e.jsx("button",{className:"checkout__remove",onClick:()=>Q(()=>r(s.id)),disabled:M,"aria-label":a("cart.remove",{name:s.name}),title:a("cart.removeTitle"),children:e.jsx(L,{name:"trash",size:24})})]})]},s.id)})}),e.jsxs("div",{className:"checkout__utils",children:[e.jsx("button",{className:"link",onClick:()=>Q(x),disabled:M,children:a("cart.clearCart")}),null]})]}),e.jsxs("aside",{className:"checkout__summary",children:[e.jsx("h2",{className:"checkout__summary-title",children:a("cart.purchaseSummary")}),e.jsxs("div",{className:"checkout__summary-body",children:[e.jsxs("div",{className:"checkout__total-line",children:[e.jsx("span",{className:"checkout__total-label",children:a("cart.totalItems",{count:ce})}),e.jsxs("span",{className:"checkout__total-value",children:[e.jsx(S,{className:"checkout__total-ico"})," ",ke]})]}),e.jsx("button",{className:"checkout__cta",onClick:()=>void(k?we():H()),disabled:M,children:M?a("cart.working"):k?a("marketCheckout.confirmPurchase"):a("assetCard.buyNow")}),k?e.jsx("p",{className:"muted checkout__msg",children:a("cart.priceChanged")}):null,se?e.jsx("p",{className:"muted checkout__msg",children:se}):null,ee?e.jsx("p",{className:"muted checkout__msg",children:ee}):null,e.jsx(be,{message:pe,className:"checkout__msg"})]})]})]}),re.length>0?e.jsx("div",{className:"cart-upsell",children:e.jsx(ss,{title:a("cart.youMightAlsoLike"),items:re})}):null,d?e.jsx(as,{phase:d.phase,balanceCredits:K,onClose:Ne,step:d.phase==="processing"?d.step:void 0,total:d.phase==="processing"?d.total:void 0,lines:d.phase==="nofunds"?d.lines:void 0,shortfallCredits:d.phase==="nofunds"?d.shortfall:void 0,packs:G,selectedPack:Y,onSelectPack:te,onBuyPacks:()=>void Me(),purchased:d.phase==="complete"?d.purchased:void 0,onMyAssets:()=>U("/assets?tab=mine"),onTryInWorld:()=>window.open(ls,"_blank","noopener"),message:d.phase==="error"?d.message:void 0}):null]})}export{ws as Cart};
|
package/assets/Cart-BU0ex2lY.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.checkout{max-width:1510px;margin:0 auto}.checkout__back{display:inline-flex;align-items:center;gap:6px;margin:0 0 16px;padding:0;border:0;background:none;color:var(--text-2);font-size:14px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;cursor:pointer;transition:color .15s ease}.checkout__back:hover{color:var(--accent)}.checkout__back .ico{width:18px;height:18px}.checkout__body{display:grid;grid-template-columns:minmax(0,1fr) 600px;gap:24px;align-items:start}.checkout__panel{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.checkout__panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.checkout__panel-back{display:none}.checkout__panel-title{margin:0;font-size:18px;font-weight:600;line-height:1.2;color:var(--text)}.checkout__fitting{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 12px;border:2px solid transparent;border-radius:8px;background:linear-gradient(#fff,#fff) padding-box,var(--amethyst) border-box;color:var(--accent);font-size:13px;font-weight:600;line-height:24px;letter-spacing:.46px;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:box-shadow .15s ease,filter .15s ease}.checkout__fitting:hover:not(:disabled){box-shadow:0 0 8px #a524b359}.checkout__fitting:active:not(:disabled){filter:brightness(.97)}.checkout__fitting:disabled{opacity:.55;cursor:default}.checkout__fitting-ico{width:24px;height:24px}.checkout__list{display:flex;flex-direction:column;gap:12px}.checkout__card{position:relative;display:flex;align-items:stretch;gap:12px;background:#fff;border:1px solid #cfcdd4;border-radius:12px;overflow:hidden}.checkout__thumb{position:relative;flex-shrink:0;width:137px;height:137px;background:var(--media);border-radius:12px;display:grid;place-items:center;overflow:hidden}.checkout__thumb-link{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.checkout__thumb img{width:83%;height:83%;object-fit:contain;filter:drop-shadow(.56px 2.25px 2.8px rgba(0,0,0,.1))}.checkout__thumb-check{position:absolute;top:7.5px;left:7.5px;width:20px;height:20px;border-radius:50%;background:#34ce77;display:grid;place-items:center}.checkout__info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:16px 8px}.checkout__desc{display:flex;flex-direction:column;gap:4px;min-width:0;padding-right:64px}.checkout__name{display:block;font-size:16px;font-weight:600;line-height:1.2;color:var(--text);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}a.checkout__name:hover{color:var(--accent)}.checkout__creator{font-size:10px;line-height:1.43;color:var(--muted)}.checkout__creator [data-avatar]{display:none}.checkout__creator [data-testid=creator-name]{font-size:10px;line-height:1.43}.checkout__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:8px}.checkout__stepper{display:inline-flex;align-items:center;gap:8px;padding:6px;border:.5px solid var(--muted-2);border-radius:50px}.checkout__step{display:grid;place-items:center;width:16px;height:16px;padding:0;border:0;background:none;color:var(--text);cursor:pointer}.checkout__step:disabled{color:var(--muted-2);cursor:default}.checkout__step svg{width:16px;height:16px}.checkout__qty{min-width:12px;font-size:14px;font-weight:500;line-height:1.2;color:var(--text);text-align:center}.checkout__price{display:inline-flex;align-items:center;gap:4px;font-size:24px;font-weight:600;color:var(--text-2)}.checkout__price-ico{width:24px;height:24px;background:var(--accent)}.checkout__price-was{margin-left:6px;font-size:14px;font-weight:500;color:var(--muted);text-decoration:line-through}.checkout__actions{position:absolute;top:10px;right:10px;display:flex;align-items:center;gap:12px}.checkout__fav,.checkout__remove{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;background:none;color:var(--muted);cursor:pointer;transition:color .12s ease}.checkout__fav:hover:not(:disabled){color:var(--text)}.checkout__fav.is-on{color:var(--dcl-red)}.checkout__remove:hover:not(:disabled){color:var(--dcl-red)}.checkout__fav:disabled,.checkout__remove:disabled{opacity:.5;cursor:default}.checkout__utils{display:flex;gap:20px;margin-top:16px}.checkout__utils .link{font-size:13px;color:var(--muted);font-weight:600}.checkout__utils .link:hover:not(:disabled){color:var(--text)}.checkout__summary{position:sticky;top:172px;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}.checkout__summary-title{margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid #cfcdd4;font-size:20px;font-weight:600;color:var(--text)}.checkout__summary-body{display:flex;flex-direction:column;gap:12px}.checkout__total-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.checkout__total-label{font-size:14px;font-weight:600;color:#5e5b67}.checkout__total-value{display:inline-flex;align-items:center;gap:8px;font-size:24px;font-weight:700;color:var(--text)}.checkout__total-ico{width:24px;height:24px;background:var(--accent)}.checkout__cta{width:100%;height:56px;border:0;border-radius:8px;background:var(--amethyst);color:var(--soft-white);font-size:15px;font-weight:600;letter-spacing:.046em;text-transform:uppercase;cursor:pointer;transition:background .15s ease,filter .15s ease}.checkout__cta:hover:not(:disabled){background:var(--accent)}.checkout__cta:active:not(:disabled){filter:brightness(.95)}.checkout__cta:disabled{opacity:.6;cursor:default}.checkout__msg{margin:0;font-size:13px}.cart-upsell{margin-top:8px}@media(max-width:1080px){.checkout__body{grid-template-columns:1fr}.checkout__summary{position:static}}@media(max-width:880px){.checkout{padding-bottom:188px}.checkout__back{display:none}.checkout__panel{padding:16px}.checkout__panel-head{margin-bottom:16px;gap:8px}.checkout__panel-back{display:inline-flex;align-items:center;flex-shrink:0;border:0;background:none;padding:0;color:var(--text);cursor:pointer}.checkout__panel-back .ico{width:20px;height:20px}.checkout__panel-title{flex:1;min-width:0;font-size:16px}.checkout__fitting{height:36px;padding:0 10px;font-size:12px}.checkout__fitting-ico{width:20px;height:20px}.checkout__thumb{width:120px;height:120px}.checkout__info{padding:12px 4px 12px 0}.checkout__name{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.checkout__price{font-size:20px}.checkout__price-ico{width:20px;height:20px}.checkout__summary{position:fixed;left:0;right:0;top:auto;bottom:0;z-index:30;border:0;border-radius:16px 16px 0 0;box-shadow:0 -4px 20px #1615181f}.checkout__summary-title{margin-bottom:12px;padding-bottom:12px}}.cart-checkout__progress-row{display:flex;align-items:center;justify-content:center;gap:8px;width:100%}.cart-checkout__step{font-size:16px;line-height:22px;color:var(--text-2);text-transform:capitalize;white-space:nowrap}.cart-checkout__scroll{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow-y:auto;width:100%;scrollbar-width:thin;scrollbar-color:#a2a2a2 var(--media)}.cart-checkout__scroll::-webkit-scrollbar{width:8px}.cart-checkout__scroll::-webkit-scrollbar-track{background:var(--media);border-radius:10px}.cart-checkout__scroll::-webkit-scrollbar-thumb{background:#a2a2a2;border-radius:8px}.cart-checkout__done{display:flex;flex-direction:column;border:1px solid var(--muted-2);border-radius:16px;padding:24px}.cart-checkout__done-scroll{display:flex;flex-direction:column;gap:12px;max-height:320px;overflow-y:auto}.cart-checkout__done-row{display:flex;align-items:center;gap:12px}.cart-checkout__done-row+.cart-checkout__done-row{border-top:1px solid var(--line);padding-top:12px}.cart-checkout__done-thumb{position:relative;flex-shrink:0;width:96px;height:96px;background:var(--media);border:.13px solid var(--muted-2);border-radius:8px;display:grid;place-items:center;overflow:hidden}.cart-checkout__done-thumb img{width:83%;height:83%;object-fit:contain}.cart-checkout__done-check{position:absolute;top:6px;left:6px;width:20px;height:20px;border-radius:4px;background:var(--dcl-red);display:grid;place-items:center}.cart-checkout__done-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding:8px;overflow:hidden}.cart-checkout__done-name{font-size:20px;font-weight:600;line-height:1.4;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-checkout__qty-tag{margin-left:6px;font-size:12px;font-weight:600;color:var(--muted)}.cart-checkout__done-creator{font-size:10px;line-height:1.43;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-checkout__done-price{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;padding-right:4px;font-size:24px;font-weight:600;color:var(--text-2)}.cart-checkout__done-price-ico{width:24px;height:24px;background:var(--accent)}.cart-checkout__done-body{display:flex;flex-direction:column;gap:12px}.cart-checkout__done-body .buy-modal__success{flex-direction:row;align-items:center;gap:24px;padding:16px 24px}.cart-checkout__done-body .buy-modal__success-text{text-align:left;font-size:18px}.cart-checkout__done-body .buy-modal__btn{min-width:0}@media(max-width:600px){.cart-checkout__done-body .buy-modal__success{flex-direction:column;gap:12px;padding:16px}.cart-checkout__done-body .buy-modal__success-text{text-align:center}.cart-checkout__done{padding:16px}.cart-checkout__done-thumb{width:72px;height:72px}.cart-checkout__done-name{font-size:16px}.cart-checkout__done-price{font-size:20px}.cart-checkout__done-price-ico{width:20px;height:20px}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./react-yytiy0wi.js";import{T as m,n as t}from"./index-D2MCniIy.js";import{u as o}from"./useTheme-CvQWZTyO.js";function a(){const e=o(t);return e[m]||e}export{a as u};
|