@dcl/shop 0.1.0-28749698227.commit-0c859e2 → 0.1.0-28784714610.commit-5b6e6db
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/{Assets-FMrABFH_.js → Assets-DUyVmR7R.js} +1 -1
- package/assets/Cart-sMsKz9Ee.js +1 -0
- package/assets/{CircularProgress-ePyo1lbd.js → CircularProgress-BS9i5mZv.js} +1 -1
- package/assets/{Collection-DJjtkyI0.js → Collection-BA7pWm0V.js} +1 -1
- package/assets/{Creator-Cd6xMnQk.js → Creator-D_FbaRDo.js} +1 -1
- package/assets/{ExchangeController-AR7AXGzp.js → ExchangeController-BJDnp3m2.js} +1 -1
- package/assets/{GetCredits-BC7Z51_v.js → GetCredits-DiJz2XBT.js} +2 -2
- package/assets/{HelpersUtil-PrvulZLQ.js → HelpersUtil-JjK2Uszl.js} +1 -1
- package/assets/{ImportListings-CXvHkADP.js → ImportListings-4UY44_AB.js} +1 -1
- package/assets/ItemDetail-Dnl22q9g.css +1 -0
- package/assets/ItemDetail-IG3gYI0Q.js +1 -0
- package/assets/{Market-Cr-J1I9u.js → Market-B4c6exR5.js} +1 -1
- package/assets/{MyAssets-CpoF2iAy.js → MyAssets-CRi2vJB8.js} +1 -1
- package/assets/{MyFavorites-b3vHnYMr.js → MyFavorites-DqHxTPlB.js} +1 -1
- package/assets/{MyPurchases-DVXmppAu.js → MyPurchases-4qSDwW5-.js} +1 -1
- package/assets/{RealCheckout-DO6nD-rf.js → RealCheckout-BV33lhv4.js} +1 -1
- package/assets/Success-MOjWWEuh.js +1 -0
- package/assets/SvgIcon-BmQyJwH3.js +1 -0
- package/assets/{SwapController-DTKDtDuh.js → SwapController-Cdtm6Ssc.js} +1 -1
- package/assets/TradeService-BHS-ONCd.js +1 -0
- package/assets/{W3MFrameProviderSingleton-DxZDURuu.js → W3MFrameProviderSingleton-Bvn0rHz8.js} +3 -3
- package/assets/{WebCryptoP256-DslKERu3.js → WebCryptoP256-DQOiVEnm.js} +1 -1
- package/assets/{basic-ClTZjNQz.js → basic-BuZDq-06.js} +1 -1
- package/assets/{biconomy-BVk_afT2.js → biconomy-Csc_C3IC.js} +1 -1
- package/assets/{buy-_5Wro-EH.js → buy-BBvDFvUh.js} +1 -1
- package/assets/{buy-gasless-Da6cXp5w.js → buy-gasless-B6FX_fq7.js} +1 -1
- package/assets/{ccip-JE6ul9xT.js → ccip-59XmoM9k.js} +1 -1
- package/assets/{ccip-99AVWMCb.js → ccip-T6J9p1rj.js} +1 -1
- package/assets/{collection-Dj1PGTaS.js → collection-BUyamaBP.js} +1 -1
- package/assets/{controller-C8G19uhk.js → controller-DSHq7K3y.js} +2 -2
- package/assets/{core-CyJXDVbu.js → core-CrE3myER.js} +4 -4
- package/assets/{custom-Cjf2UWeN.js → custom-BUFqlvWj.js} +1 -1
- package/assets/{data-capture-Byx93Q11.js → data-capture-CaD6Xenb.js} +1 -1
- package/assets/decimals-CK8VnClu.js +1 -0
- package/assets/{decimals-CTfzGzBe.js → decimals-DROjZaXR.js} +1 -1
- package/assets/{detectExtension-D3zYez7t.js → detectExtension-Byo9cHwQ.js} +1 -1
- package/assets/{email-DPOB-SWJ.js → email-B5Kjw71J.js} +1 -1
- package/assets/{embedded-wallet-CHJsBta2.js → embedded-wallet-CjU5CMyX.js} +1 -1
- package/assets/{engine-Bnqy1EVE.js → engine-XbcwkaA2.js} +1 -1
- package/assets/{estimate-l1-fee-Bl4TKlfd.js → estimate-l1-fee-BRwoaz2E.js} +1 -1
- package/assets/{eth_estimateGas-C6gJZO0T.js → eth_estimateGas-BZIj-I5b.js} +1 -1
- package/assets/{eth_getStorageAt-3NgDSjye.js → eth_getStorageAt-Bl6SN3Gg.js} +1 -1
- package/assets/{eth_getTransactionCount-DTwTbWKm.js → eth_getTransactionCount-BjoxpRES.js} +1 -1
- package/assets/{extractIPFS-CHWW_nBy.js → extractIPFS-8SlAO4OO.js} +1 -1
- package/assets/{features-HqCYMdFT.js → features-cxJBydr2.js} +1 -1
- package/assets/{fetchTokenMetadata-CSZ3XllS.js → fetchTokenMetadata-B3KRqfXP.js} +2 -2
- package/assets/{generateUtilityClasses-68H80U2m.js → generateUtilityClasses-BRQBEf9L.js} +1 -1
- package/assets/{get-ecosystem-wallet-info-CVCd4sza.js → get-ecosystem-wallet-info-BR-v1Uih.js} +1 -1
- package/assets/{getBalance-yfGcZGGj.js → getBalance-Dl-i4Y4C.js} +1 -1
- package/assets/{getInstalledModules-DnAA6-I4.js → getInstalledModules-BUabKCOA.js} +1 -1
- package/assets/{getNFT-BXj9XpaA.js → getNFT-CsmOtMPP.js} +1 -1
- package/assets/{getNFT-vDogDybV.js → getNFT-D30uH_6i.js} +2 -2
- package/assets/{hashTypedData-DaDegzDr.js → hashTypedData-DV4bilef.js} +1 -1
- package/assets/{hashTypedData-2doJmUR6.js → hashTypedData-Ds968RrS.js} +1 -1
- package/assets/{import-BEVHrqgg.js → import-BaLE85Ti.js} +1 -1
- package/assets/{in-app-wallet-calls-C42NJm8M.js → in-app-wallet-calls-DgI387PU.js} +1 -1
- package/assets/{index-VT1wNEWr.js → index--5Hj91ms.js} +1 -1
- package/assets/{index-Bx92bjWv.js → index-3vQYmsDq.js} +1 -1
- package/assets/{index-BqkfR3e1.js → index-64JSHk5B.js} +3 -3
- package/assets/{index-CnBS8kzN.js → index-6hD9Hduu.js} +1 -1
- package/assets/{index-BaKOKooW.js → index-7oIFnffg.js} +1 -1
- package/assets/{index-CeSnh-cF.js → index-B21GQ497.js} +1 -1
- package/assets/{index-DFB_iIuz.js → index-B8tubi9M.js} +1 -1
- package/assets/{index-57ur9orY.js → index-BEhu8vKA.js} +1 -1
- package/assets/{index-DFAtvbN5.js → index-BIv4DtNp.js} +1 -1
- package/assets/index-BM9AjnmE.css +1 -0
- package/assets/{index-B9SF-7gB.js → index-BMRIz5p4.js} +1 -1
- package/assets/{index-BeD0ry83.js → index-BQr5jaXj.js} +1 -1
- package/assets/{index-C0zr56Qh.js → index-BT_ERmTU.js} +1 -1
- package/assets/{index-Chh2iu1U.js → index-BWEyHUH3.js} +1 -1
- package/assets/{index-RnHbMsps.js → index-BWOVyjs4.js} +1 -1
- package/assets/{index-D7XhLBQ-.js → index-BbjheLbR.js} +1 -1
- package/assets/{index-BhzLlo1O.js → index-BfXOGdVe.js} +1 -1
- package/assets/{index-Dn9Pxudm.js → index-Bga2zqu_.js} +1 -1
- package/assets/{index-j3O81hit.js → index-BrtVGFkT.js} +2 -2
- package/assets/{index-POoM1fB4.js → index-BsOoOJXI.js} +2 -2
- package/assets/{index-DKewLOZ7.js → index-BwXE94rO.js} +1 -1
- package/assets/{index-CRiIcVpU.js → index-BzmDq0Wh.js} +1 -1
- package/assets/{index-BREuBgY2.js → index-C-2Ihuft.js} +1 -1
- package/assets/{index-BYlyICGz.js → index-C1sdcOzL.js} +1 -1
- package/assets/{index-DXbLCZL4.js → index-C3sv5hnX.js} +1 -1
- package/assets/{index-ZNqzZwnz.js → index-CF-MpEVC.js} +1 -1
- package/assets/{index-DiX8jfOz.js → index-CFfNTbcC.js} +1 -1
- package/assets/{index-BVLuv2om.js → index-CJkbbDUt.js} +1 -1
- package/assets/{index-DprMjbvv.js → index-CKSd6gXx.js} +1 -1
- package/assets/{index-BlH2P_nz.js → index-CXgZaeC4.js} +1 -1
- package/assets/{index-9ge8OUDw.js → index-CaHw8MeD.js} +1 -1
- package/assets/{index-BG6CN-s7.js → index-CpY5cZEz.js} +1 -1
- package/assets/{index-C9WCBveU.js → index-Cq8uCjbZ.js} +1 -1
- package/assets/{index-CDrsSYcA.js → index-D-fM3KPQ.js} +1 -1
- package/assets/{index-e_7-B1ow.js → index-D1_9d5Dg.js} +1 -1
- package/assets/{index-BuPAm941.js → index-D2ZmhHDL.js} +1 -1
- package/assets/{index-Dw8xiBHu.js → index-D7Zwvata.js} +1 -1
- package/assets/{index-CRHmObgS.js → index-DPIc2Fgk.js} +1 -1
- package/assets/{index-B4bWwh_Y.js → index-DPitXhSt.js} +1 -1
- package/assets/{index-DiHK-ypD.js → index-DY2hN0x0.js} +1 -1
- package/assets/{index-0AAKBJxH.js → index-DyiKKtwW.js} +2 -2
- package/assets/{index-CtFbxl_y.js → index-IqOeLPSQ.js} +1 -1
- package/assets/{index-D8ALyBMQ.js → index-KRoLg_yS.js} +1 -1
- package/assets/{index-Bme3obuL.js → index-NJmYfDfc.js} +1 -1
- package/assets/{index-DyGFvyMP.js → index-Psm6XmK6.js} +3 -3
- package/assets/{index-Blv3Wwvz.js → index-QYmuM6zW.js} +1 -1
- package/assets/{index-jaAvXNFF.js → index-VPmgmb89.js} +1 -1
- package/assets/{index-Cuo0mhpq.js → index-_rCKMRE-.js} +1 -1
- package/assets/{index-CB1SUuBM.js → index-dAV-AkJi.js} +34 -34
- package/assets/{index-CX7ndFAa.js → index-pOV8UEA9.js} +1 -1
- package/assets/{index-CbVF1v4U.js → index-pyYpB4kG.js} +1 -1
- package/assets/{index-COwpweqw.js → index-zHNcwTL3.js} +1 -1
- package/assets/{index.es-BCgpKnhB.js → index.es-DI6olSvw.js} +1 -1
- package/assets/{index.es-DLOLLwhc.js → index.es-DS4Jg0nl.js} +1 -1
- package/assets/{index.es-uQUz0uPi.js → index.es-eclv66nS.js} +4 -4
- package/assets/{localBatchGatewayRequest-DCKNeCfz.js → localBatchGatewayRequest-CGak8xpa.js} +1 -1
- package/assets/{mana-rate-Boaa1HMt.js → mana-rate-COLq0c3f.js} +1 -1
- package/assets/network-GMBxj6Ty.js +1 -0
- package/assets/{networks-D0pJRUuY.js → networks-BpLmtHsW.js} +1 -1
- package/assets/{onramp-pQdY_9aS.js → onramp-oK3BFbCF.js} +1 -1
- package/assets/{openzeppelin-diCOMn_P.js → openzeppelin-CPdS4-4e.js} +1 -1
- package/assets/{ownerOf-CFYID7oD.js → ownerOf-DY16Ob_P.js} +1 -1
- package/assets/{parseNft-CmySAMrV.js → parseNft-QJ9pRt9S.js} +2 -2
- package/assets/{parseSignature-t4gfdMWw.js → parseSignature-BJ4x-_Qr.js} +3 -3
- package/assets/{parseSignature-bCWekXGm.js → parseSignature-CQOmQQo9.js} +1 -1
- package/assets/{pay-with-exchange-DbEbHfpX.js → pay-with-exchange-Beq0FGNR.js} +1 -1
- package/assets/{qr-overlay-rU0bVDln.js → qr-overlay-BsZELLQC.js} +1 -1
- package/assets/{receive-C22Daqnd.js → receive-D8MXkvpc.js} +1 -1
- package/assets/{resolveImplementation-DynwR0lM.js → resolveImplementation-Y7paL_Mh.js} +1 -1
- package/assets/{rpc-C7dS7ng8.js → rpc-D4UM1j6p.js} +1 -1
- package/assets/{secp256k1-DcKiXZY-.js → secp256k1-B1qF46oF.js} +1 -1
- package/assets/{secp256k1-DznyzAlp.js → secp256k1-BVeK5cpU.js} +1 -1
- package/assets/{secp256k1-DoZorCJw.js → secp256k1-CIohhqR7.js} +1 -1
- package/assets/{send-DYQ25bRQ.js → send-CG0WYcS6.js} +1 -1
- package/assets/{send-batch-transaction-EluRyTwS.js → send-batch-transaction-BctK5uk6.js} +1 -1
- package/assets/{send-eip712-transaction-DTR4eE0C.js → send-eip712-transaction-C6wYrHDB.js} +2 -2
- package/assets/{send-gasless-transaction-oXMw6C-s.js → send-gasless-transaction-BZ4HwX6x.js} +2 -2
- package/assets/{sendRawTransaction-BU7jVR59.js → sendRawTransaction-4tXgdo4l.js} +3 -3
- package/assets/{serializeTransaction-yZGwGRzm.js → serializeTransaction-0lBrDFRN.js} +1 -1
- package/assets/{session-proposal-BwNkG3_v.js → session-proposal-DaP0pJ69.js} +1 -1
- package/assets/{session-request-CBPwxxaY.js → session-request-D5nYk0_b.js} +2 -2
- package/assets/{sha256-Dh2CN2ka.js → sha256-Cvds8h60.js} +1 -1
- package/assets/{signing-GS-zzaze.js → signing-DEEXQ6Ax.js} +4 -4
- package/assets/{socials-D941TnMp.js → socials-CCpTKnyH.js} +1 -1
- package/assets/{swaps-5Z0exdjC.js → swaps-Dc8wNdim.js} +1 -1
- package/assets/{thirdweb-BhSo-VaG.js → thirdweb-CYSwxVNI.js} +3 -3
- package/assets/{totalSupply-Dn2mGU3K.js → totalSupply-B27aPc8l.js} +1 -1
- package/assets/{transactionReceipt-DXzK83SA.js → transactionReceipt-CzQQaXlM.js} +1 -1
- package/assets/{transactions-BB8fY56R.js → transactions-QrdHbcwA.js} +1 -1
- package/assets/{useInfiniteGrid-BdBxLsy8.js → useInfiniteGrid-BuyCnBAW.js} +1 -1
- package/assets/{verifyHash-DcUfBKkE.js → verifyHash-Fnp5U_ou.js} +1 -1
- package/assets/{w3m-modal-B_8aqWPZ.js → w3m-modal-33eEotf5.js} +1 -1
- package/assets/{w3m-modal-C2IuKDb_.js → w3m-modal-I7-YcuT1.js} +1 -1
- package/assets/{wait-for-tx-receipt-DYUfif7J.js → wait-for-tx-receipt-DrQ94XVt.js} +1 -1
- package/assets/{wallet-kind-I4wsazAy.js → wallet-kind-BQH-5eU2.js} +1 -1
- package/assets/{wallets-BCm8dv3V.js → wallets-BrUfYn4E.js} +6 -6
- package/assets/{web-connector-PEOwt9A9.js → web-connector-Kg6RHLCP.js} +3 -3
- package/assets/{writeContract-KYMfI9ra.js → writeContract-BLs0jZOZ.js} +1 -1
- package/assets/{zoraTestnet-DOA24Pam.js → zoraTestnet-Dx1CiywV.js} +1 -1
- package/index.html +8 -8
- package/package.json +2 -2
- package/assets/Cart-COyAPJn1.js +0 -1
- package/assets/ItemDetail-Sn2B-MA3.js +0 -1
- package/assets/ItemDetail-yNwYjl_l.css +0 -1
- package/assets/Success-CNdczbFT.js +0 -1
- package/assets/SvgIcon-D2AubmSV.js +0 -1
- package/assets/TradeService-BK-xq9ht.js +0 -1
- package/assets/decimals-nJOPAX3f.js +0 -1
- package/assets/index-xq0r0dow.css +0 -1
- package/assets/network-C9miAzGt.js +0 -1
package/index.html
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
<link rel="canonical" href="https://shop.decentraland.zone/" />
|
|
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-28784714610.commit-5b6e6db/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28784714610.commit-5b6e6db/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-28784714610.commit-5b6e6db/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-28784714610.commit-5b6e6db/sitemap.xml" />
|
|
52
52
|
|
|
53
53
|
<!-- Warm the 3D preview / fonts -->
|
|
54
54
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
@@ -60,10 +60,10 @@
|
|
|
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="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-28784714610.commit-5b6e6db/assets/index-dAV-AkJi.js"></script>
|
|
64
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28784714610.commit-5b6e6db/assets/react-E8ng6RF2.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28784714610.commit-5b6e6db/assets/ethers-DbXGgxrh.js">
|
|
66
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28784714610.commit-5b6e6db/assets/index-BM9AjnmE.css">
|
|
67
67
|
</head>
|
|
68
68
|
<body>
|
|
69
69
|
<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-28784714610.commit-5b6e6db",
|
|
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": "5b6e6db9d1ceedc41eeebb1afafff36541530948"
|
|
12
12
|
}
|
package/assets/Cart-COyAPJn1.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as L,r as b,j as e,L as T}from"./react-E8ng6RF2.js";import{j as _,c as Q,e as K,k as W,l as $,C as d,t as v,m as q,h as A,n as M,o as H,q as V,r as I,s as P,v as D,w as J,x as O,f as X}from"./index-CB1SUuBM.js";import{f as F}from"./buy-_5Wro-EH.js";import{g as Z,b as ee,w as se,G as ae}from"./buy-gasless-Da6cXp5w.js";import"./ethers-DbXGgxrh.js";import"./index-DKewLOZ7.js";function te(a){const o=a,l=(o.message??"").toLowerCase();return o.code===4001||l.includes("reject")||l.includes("denied")||l.includes("cancel")?"You cancelled the request.":l.includes("insufficient")?`You don't have enough ${d.name} — get more first.`:l.includes("no active listing")?o.message:"Couldn't complete checkout — please try again."}function re(a){return O(a.received[0].amount)}function ue(){const a=_(s=>s.items),o=_(s=>s.remove),l=_(s=>s.clear),U=_(s=>s.add),{session:t}=Q(),{data:f}=K({queryKey:["upsell-listings"],queryFn:()=>X({first:40}),staleTime:6e4}),{data:n}=W(t),g=$(),Y=L(),[N,m]=b.useState(null),[C,y]=b.useState(null),[p,w]=b.useState(!1),u=a.reduce((s,h)=>s+h.priceCredits,0),z=new Set(a.map(s=>s.id)),k=((f==null?void 0:f.items)??[]).filter(s=>!z.has(s.id)).slice(0,6);async function G(){if(!t){y("Sign in to check out.");return}y(null),w(!0),v("Shop Started Checkout",{cart_size:a.length,cart_value_credits:u,cart_value_usd:q(u),has_sufficient_credits:((n==null?void 0:n.credits)??0)>=u});const s=a.slice(),h=[];let x="authorize",S=!1;try{m("Preparing your order…");const c=[];for(const r of a){const j=r.tradeId?await A(r.tradeId):await M(r.contractAddress,r.itemId??"");if(!j)throw new Error(`No active listing for ${r.name}.`);const R=re(j),{credit:E,maxCreditedValue:B}=await H(t.identity,R,r.tradeId);h.push(E.id),c.push({trade:j,credits:[E],maxCreditedValue:B})}m("Confirming your purchase…"),x="submit";let i=[];if(Z())try{i=await ee({purchases:c,buyer:t.address,signer:t.signer}),await Promise.all(i.map(r=>se(r))),S=!0}catch(r){if(!(r instanceof ae))throw r;i=await F({purchases:c,buyer:t.address,signer:t.signer})}else i=await F({purchases:c,buyer:t.address,signer:t.signer});l(),m("Purchased! 🎉"),v("Shop Completed Purchase",{...V(s),payment_type:"credits",no_crypto_step:S,transaction_hash:i[0]??null}),g.invalidateQueries({queryKey:["usd-balance"]}),Y("/success",{state:{items:s,txHash:i[0]}})}catch(c){if(I(c)||P(c,{flow:"cart_checkout",step:x,cart_size:a.length}),v(I(c)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:x,error_code:D(c),value_usd:q(u),cart_size:a.length}),h.length){try{await J(t.identity,h)}catch(i){P(i,{flow:"cart_checkout",step:"release"})}g.invalidateQueries({queryKey:["usd-balance"]})}y(te(c)),m(null)}finally{w(!1)}}return a.length===0?e.jsxs("div",{className:"cart cart--empty",children:[e.jsx("span",{className:"ico ico-cart cart-empty__ico","aria-hidden":!0}),e.jsx("p",{className:"cart-empty__title",children:"Your cart is empty"}),e.jsx("p",{className:"muted",children:"Find something you love and it’ll show up here."}),e.jsx(T,{className:"btn btn--purple",to:"/assets",children:"Browse the shop"})]}):e.jsxs("div",{className:"cart",children:[e.jsxs("h1",{children:["Cart (",a.length,")"]}),e.jsx("div",{className:"cart__list",children:a.map(s=>e.jsxs("div",{className:"cart__row",children:[e.jsx("div",{className:"cart__thumb",children:s.thumbnail?e.jsx("img",{src:s.thumbnail,alt:s.name}):null}),e.jsxs("div",{className:"cart__info",children:[e.jsx("div",{className:"cart__name",children:s.name}),e.jsx("div",{className:"muted",children:s.creator?`By ${s.creator}`:""})]}),e.jsxs("div",{className:"cart__price",children:[d.symbol," ",s.priceCredits]}),e.jsx("button",{className:"link",onClick:()=>o(s.id),disabled:p,children:"Remove"})]},s.id))}),e.jsxs("div",{className:"cart__foot",children:[e.jsxs("div",{className:"cart__total",children:[e.jsxs("div",{children:["Total ",e.jsxs("strong",{children:[d.symbol," ",u]})]}),t?e.jsxs("div",{className:"muted cart__balance",children:["Your balance: ",d.symbol," ",(n==null?void 0:n.credits)??0]}):null]}),e.jsxs("div",{className:"cart__actions",children:[e.jsxs(T,{className:"btn btn--ghost",to:"/credits",children:["Get ",d.name]}),null,e.jsx("button",{className:"btn btn--ghost",onClick:l,disabled:p,children:"Clear"}),e.jsx("button",{className:"btn btn--purple",onClick:G,disabled:p,children:"Checkout"})]})]}),N?e.jsx("p",{className:"muted",style:{marginTop:12},children:N}):null,C?e.jsx("p",{className:"error",style:{marginTop:12},children:C}):null,k.length>0?e.jsxs("div",{className:"cart-upsell",children:[e.jsx("h2",{className:"cart-upsell__title",children:"You might also like"}),e.jsx("div",{className:"cart-upsell__row",children:k.map(s=>e.jsxs("div",{className:"cart-upsell__card",children:[e.jsx("div",{className:"cart-upsell__thumb",children:s.thumbnail?e.jsx("img",{src:s.thumbnail,alt:s.name}):null}),e.jsx("div",{className:"cart-upsell__name",title:s.name,children:s.name}),e.jsxs("div",{className:"cart-upsell__price",children:[d.symbol," ",s.priceCredits]}),e.jsx("button",{className:"btn btn--sm cart-upsell__add",onClick:()=>U(s,"upsell"),disabled:p,children:"Add"})]},s.id))})]}):null]})}export{ue as Cart};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e,r as o,a as ne,d as le,b as de}from"./react-E8ng6RF2.js";import{c as V,P as oe,W as ue,y as E,i as K,j as S,F as O,G as me,k as he,e as F,t as L,R as fe,S as _e,a as pe,C as Y,h as xe,x as ve,o as be,q as je,r as G,s as Ie,w as Ne,m as ye,v as ge,b as we,T as ke,n as Ce}from"./index-CB1SUuBM.js";import{h as U}from"./buy-_5Wro-EH.js";import{g as Ae,a as Ee,w as Se,G as Te}from"./buy-gasless-Da6cXp5w.js";import"./ethers-DbXGgxrh.js";import"./index-DKewLOZ7.js";function Pe({item:i}){const c=V(b=>{var l;return(l=b.session)==null?void 0:l.address}),{data:r}=oe(c),m=c&&r?c:"default",f=i.category==="emote";return e.jsx(ue,{id:"shop-item-preview",contractAddress:i.contractAddress,tokenId:i.tokenId??void 0,itemId:i.tokenId?void 0:i.itemId??void 0,profile:m,type:f?void 0:E.PreviewType.AVATAR,emote:f?void 0:E.PreviewEmote.FASHION,disableBackground:!0,wheelZoom:f?1.5:void 0,wheelStart:f?100:void 0,dev:K.chainId===80002,disableFadeEffect:!0},i.id)}function Re(i){return i==="male"?"♂":i==="female"?"♀":i==="unisex"?"⚥":""}function $e({title:i,items:c,activeId:r,onSelect:m,onViewAll:f}){const b=o.useRef(null),l=S(a=>a.add),g=S(a=>a.items.map(u=>u.id));if(c.length===0)return null;function s(a){l(a,"carousel"),me.success(`“${a.name}” added to your cart.`)}function j(a){const u=b.current;u&&u.scrollBy({left:a*Math.round(u.clientWidth*.8),behavior:"smooth"})}return e.jsxs("section",{className:"collection-carousel",children:[e.jsxs("div",{className:"collection-carousel__head",children:[e.jsx("h2",{className:"collection-carousel__title",children:i}),e.jsxs("div",{className:"collection-carousel__head-right",children:[f?e.jsx("button",{className:"collection-carousel__viewall",onClick:f,children:"View all"}):null,e.jsxs("div",{className:"collection-carousel__arrows",children:[e.jsx("button",{className:"collection-carousel__arrow",onClick:()=>j(-1),"aria-label":"Scroll left",children:"‹"}),e.jsx("button",{className:"collection-carousel__arrow",onClick:()=>j(1),"aria-label":"Scroll right",children:"›"})]})]})]}),e.jsx("div",{className:"collection-carousel__track",ref:b,children:c.map(a=>{const u=Re(a.gender),w=a.id===r,I=a.priceCredits>0,p=g.includes(a.id);return e.jsxs("article",{className:`collection-carousel__card${w?" is-active":""}`,onClick:()=>m(a),role:"button",tabIndex:0,"aria-current":w||void 0,onKeyDown:h=>{(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),m(a))},children:[e.jsxs("div",{className:"collection-carousel__media",children:[a.thumbnail?e.jsx("img",{className:"collection-carousel__img",src:a.thumbnail,alt:a.name,loading:"lazy"}):null,I?e.jsx("button",{className:"collection-carousel__add",disabled:p,"aria-label":p?"In cart":`Add ${a.name} to cart`,title:p?"In cart":"Add to cart",onClick:h=>{h.stopPropagation(),p||s(a)},children:e.jsx("span",{className:`ico ${p?"ico-cart-solid":"ico-cart"}`,"aria-hidden":!0})}):null]}),e.jsxs("div",{className:"collection-carousel__body",children:[e.jsx("div",{className:"collection-carousel__name",title:a.name,children:a.name}),e.jsxs("div",{className:"collection-carousel__meta",children:[I?e.jsxs("span",{className:"collection-carousel__price",children:[e.jsx(O,{className:"collection-carousel__diamond"}),a.priceCredits]}):e.jsx("span",{className:"collection-carousel__price collection-carousel__na",children:"Not listed"}),e.jsxs("span",{className:"collection-carousel__chips",children:[e.jsx("span",{className:"chip chip--rarity",children:a.rarity}),u?e.jsx("span",{className:"chip chip--icon",children:u}):null]})]})]})]},a.id)})})]})}function Fe(i){return Object.values(E.Rarity).includes(i)}function Le(i){return i==="male"?"Male":i==="female"?"Female":i==="unisex"?"Unisex":null}function Be(i){const c=i,r=(c.message??"").toLowerCase();return c.code===4001||r.includes("reject")||r.includes("denied")||r.includes("cancel")?"You cancelled the request.":r.includes("insufficient")?`You don't have enough ${Y.name} — get more first.`:r.includes("no active listing")||r.includes("not for sale")?"This item is not for sale right now.":"Couldn't complete checkout — please try again."}function Ke(){const{contractAddress:i,tokenId:c}=ne(),{state:r}=le(),m=de(),f=S(t=>t.add),b=S(t=>t.items),{session:l}=V(),{data:g}=he(l),[s,j]=o.useState(()=>r!=null&&r.item?{...r.item,tradeId:r.tradeId??r.item.tradeId}:{id:`${i}-${c}`,name:"",creator:"",contractAddress:i??"",itemId:null,category:"wearable",rarity:"common",network:"MATIC",chainId:K.chainId,thumbnail:"",priceCredits:0,gender:null,tokenId:c??void 0,tradeId:r==null?void 0:r.tradeId}),[a,u]=o.useState(!1),[w,I]=o.useState(null),[p,h]=o.useState(null),{data:N=[],isFetched:z}=F({queryKey:["collection-items",s.contractAddress],enabled:!!s.contractAddress,queryFn:()=>we(s.contractAddress,{first:20}).then(t=>t.items)}),{data:T,isLoading:D}=F({queryKey:["shop-item",s.contractAddress,c],enabled:!(r!=null&&r.item)&&!!s.contractAddress&&!!c,queryFn:()=>ke(s.contractAddress,c)});o.useEffect(()=>{T&&j(t=>t.tradeId?t:{...T})},[T]),o.useEffect(()=>{if(s.name||N.length===0)return;const t=c&&N.find(n=>n.tokenId===c||n.itemId===c)||N.find(n=>n.contractAddress===s.contractAddress);t&&j(n=>({...t,tradeId:n.tradeId??t.tradeId}))},[N]);const H=o.useMemo(()=>{const t=new Set,n=[];for(const d of N){if(d.id===s.id||s.itemId&&d.itemId===s.itemId||s.tokenId&&d.tokenId===s.tokenId)continue;const A=`${d.contractAddress}-${d.itemId??d.tokenId??d.id}`;t.has(A)||(t.add(A),n.push(d))}return n},[N,s.id,s.itemId,s.tokenId]),{data:Q,isLoading:k}=F({queryKey:["detail-trade",s.id,s.tradeId,s.contractAddress,s.itemId],enabled:!!s.contractAddress,queryFn:async()=>{if(s.tradeId)return s.tradeId;if(s.itemId){const t=await Ce(s.contractAddress,s.itemId);return(t==null?void 0:t.id)??null}return null}}),v=s.tradeId??Q??void 0,x=!!v,C=o.useMemo(()=>({...s,tradeId:v,id:v??s.id}),[s,v]),P=b.some(t=>t.id===C.id);o.useEffect(()=>{I(null),h(null)},[s.id]);const B=o.useRef(null);o.useEffect(()=>{!s.name||k||B.current===s.id||(B.current=s.id,L("Shop Viewed Item",{...fe(s),for_sale:x}),_e(s))},[s.id,s.name,k,x]);function Z(t){j(t);const n=t.tokenId??t.itemId;t.contractAddress&&n&&m(`/item/${t.contractAddress}/${n}`,{replace:!0,state:{item:t}}),typeof window<"u"&&window.scrollTo({top:0,behavior:"smooth"})}function J(){!x||P||f(C,"item_detail")}async function X(){var A;if(!x||!v)return;if(!l){h("Log in to check out.");return}h(null),u(!0);let t,n="authorize",d=!1;try{I(`Buying ${s.name||"item"}…`);const _=await xe(v);if(!_)throw new Error("not for sale");const R=(A=_.received)==null?void 0:A[0],re=ve(R==null?void 0:R.amount),{credit:M,maxCreditedValue:ce}=await be(l.identity,re,v);t=M.id,n="submit";const $={trade:_,buyer:l.address,signer:l.signer,credits:[M],maxCreditedValue:ce};let y;if(Ae())try{y=await Ee($),await Se(y),d=!0}catch(W){if(!(W instanceof Te))throw W;y=await U($)}else y=await U($);t=void 0,L("Shop Completed Purchase",{...je([C]),payment_type:"credits",no_crypto_step:d,transaction_hash:y??null}),m("/success",{state:{items:[C],txHash:y}})}catch(_){G(_)||Ie(_,{flow:"buy",step:n,gasless:d}),t&&Ne(l.identity,[t]).catch(()=>{}),L(G(_)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:n,error_code:ge(_),value_usd:ye(C.priceCredits)}),h(Be(_)),I(null)}finally{u(!1)}}const ee=Fe(s.rarity)?s.rarity:E.Rarity.COMMON,[se]=E.Rarity.getGradient(ee),q=Le(s.gender),te="More from this collection",ae=x?P?"In cart":k?"Checking…":"Add to cart":"Not for sale",ie=D||!!s.contractAddress&&!z;return!s.name&&!ie?e.jsxs("div",{className:"item-detail item-detail--notfound",children:[e.jsx("span",{className:"ico ico-cart item-detail__notfound-ico","aria-hidden":!0}),e.jsx("h1",{className:"item-detail__notfound-title",children:"This item isn’t available"}),e.jsx("p",{className:"muted",children:"It may have been delisted or moved. Browse the shop for something else."}),e.jsx("button",{className:"btn btn--purple",onClick:()=>m("/assets"),children:"Browse the shop"})]}):e.jsxs("div",{className:"item-detail",children:[e.jsxs("nav",{className:"item-detail__crumbs","aria-label":"Breadcrumb",children:[e.jsx("button",{className:"item-detail__crumb-link",onClick:()=>m("/assets"),children:"Collectibles"}),e.jsx("span",{className:"item-detail__crumb-sep",children:"/"}),e.jsx("span",{className:"item-detail__crumb-current",children:s.name||"Item"})]}),e.jsxs("div",{className:"item-detail__main",children:[e.jsx("div",{className:"item-detail__preview",style:{background:`radial-gradient(circle at 50% 38%, ${se}33 0%, var(--media) 68%)`},children:e.jsx(Pe,{item:s})}),e.jsxs("div",{className:"item-detail__info",children:[e.jsxs("div",{className:"item-detail__info-head",children:[e.jsx("h1",{className:"item-detail__title",children:s.name||"Loading…"}),e.jsx("button",{className:"item-detail__fav","aria-label":"Add to favorites",children:e.jsx("span",{className:"ico ico-heart","aria-hidden":!0})})]}),s.creator?e.jsx(pe,{address:s.creator,className:"item-detail__creator",linkToProfile:!0}):null,e.jsxs("div",{className:"item-detail__chips",children:[e.jsx("span",{className:"chip chip--rarity",children:s.rarity}),e.jsx("span",{className:"chip",children:s.category==="emote"?"Emote":"Wearable"}),q?e.jsx("span",{className:"chip",children:q}):null]}),e.jsxs("div",{className:"item-detail__card",children:[e.jsxs("div",{className:"item-detail__price-block",children:[e.jsx("div",{className:"item-detail__price-label",children:"Price"}),x?e.jsxs("div",{className:"item-detail__price",children:[e.jsx(O,{className:"item-detail__diamond"}),e.jsx("span",{className:"item-detail__price-value",children:s.priceCredits})]}):e.jsx("div",{className:"item-detail__price item-detail__price--none",children:"Not for sale"}),l?e.jsxs("div",{className:"item-detail__balance muted",children:["Your balance: ",Y.symbol," ",(g==null?void 0:g.credits)??0]}):null]}),e.jsxs("div",{className:"item-detail__ctas",children:[x?e.jsx("button",{className:"btn btn--purple item-detail__cta",onClick:X,disabled:a||k,children:a?"Working…":"Buy now"}):null,e.jsxs("button",{className:"item-detail__addcart",onClick:J,disabled:!x||P||k||a,children:[e.jsx("span",{className:"ico ico-cart-solid item-detail__addcart-ico","aria-hidden":!0}),ae]})]}),w?e.jsx("p",{className:"muted item-detail__status",children:w}):null,p?e.jsx("p",{className:"error item-detail__status",children:p}):null]})]})]}),e.jsx($e,{title:te,items:H,activeId:s.id,onSelect:Z,onViewAll:s.contractAddress?()=>m(`/collection/${s.contractAddress}`):void 0})]})}export{Ke as ItemDetail,Ke as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.item-detail{max-width:1721px;margin:0 auto}.item-detail__crumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:22px}.item-detail__crumb-link{background:none;border:0;padding:0;font:inherit;color:var(--muted)}.item-detail__crumb-link:hover{color:var(--text)}.item-detail__crumb-sep{color:var(--muted-2)}.item-detail__crumb-current{color:var(--text);font-weight:600}.item-detail__main{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,522px);gap:40px;align-items:start}@media(max-width:900px){.item-detail__main{grid-template-columns:1fr}}.item-detail__preview{position:relative;height:min(752px,70vh);border-radius:var(--radius-card);overflow:hidden;background:var(--media)}.item-detail__preview iframe,.item-detail__preview>*{width:100%;height:100%;border:0;display:block}.item-detail__info{display:flex;flex-direction:column;gap:14px}.item-detail__info-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.item-detail__title{font-size:clamp(24px,2.4vw,34px);font-weight:700;line-height:1.15;color:var(--text)}.item-detail__fav{flex:none;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:var(--text)}.item-detail__fav .ico-heart{width:18px;height:18px}.item-detail__creator{color:var(--muted);font-size:14px;margin-top:-6px}.item-detail__chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.item-detail__card{margin-top:8px;border:1px solid var(--line);border-radius:var(--radius-card);padding:20px;display:flex;flex-direction:column;gap:16px;background:#fff}.item-detail__price-block{display:flex;flex-direction:column;gap:6px}.item-detail__price-label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--muted)}.item-detail__price{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--text-2)}.item-detail__diamond{width:28px;height:28px;color:var(--text-2)}.item-detail__price-value{font-size:34px;line-height:1}.item-detail__price--none{font-size:18px;color:var(--muted)}.item-detail__balance{font-size:13px}.item-detail__ctas{display:flex;flex-direction:column;gap:12px}.item-detail__cta{width:100%;height:44px;text-align:center}.item-detail__addcart{width:100%;height:44px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--black-btn);color:var(--soft-white);border:0;border-radius:var(--radius-btn);font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.046em}.item-detail__addcart:disabled{opacity:.55;cursor:default}.item-detail__addcart-ico{width:20px;height:20px}.item-detail__status{margin:0;font-size:13px}.collection-carousel{margin-top:56px}.collection-carousel__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.collection-carousel__title{font-size:20px;font-weight:600;color:var(--text)}.collection-carousel__head-right{display:flex;align-items:center;gap:16px}.collection-carousel__viewall{background:none;border:0;padding:0;color:var(--accent);font-weight:600;font-size:13px;cursor:pointer;white-space:nowrap}.collection-carousel__viewall:hover{text-decoration:underline}.collection-carousel__arrows{display:flex;gap:10px}.collection-carousel__arrow{width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:var(--text);font-size:22px;line-height:1;display:grid;place-items:center;box-shadow:0 6px 16px #16151829;transition:transform .12s ease,box-shadow .12s ease}.collection-carousel__arrow:hover{transform:scale(1.06);box-shadow:0 8px 20px #16151833}@media(prefers-reduced-motion:reduce){.collection-carousel__arrow{transition:none}}.collection-carousel__track{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.collection-carousel__card{flex:0 0 220px;scroll-snap-align:start;text-align:left;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);overflow:hidden;padding:0;display:flex;flex-direction:column;transition:box-shadow .15s ease,transform .15s ease}.collection-carousel__card:hover{transform:translateY(-2px);box-shadow:0 0 0 2px var(--brand-violet),0 10px 30px #a524b347}.collection-carousel__card.is-active{box-shadow:0 0 0 2px var(--accent)}.collection-carousel__media{position:relative;aspect-ratio:1 / 1;background:var(--media)}.collection-carousel__img{width:100%;height:100%;object-fit:contain;display:block}.collection-carousel__body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:8px}.collection-carousel__name{font-weight:600;font-size:14px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.collection-carousel__meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.collection-carousel__price{display:flex;align-items:center;gap:5px;font-weight:600;font-size:15px;color:var(--text-2)}.collection-carousel__diamond{width:14px;height:14px;color:var(--text-2)}.collection-carousel__chips{display:flex;align-items:center;gap:6px}.collection-carousel__na{color:var(--muted);font-weight:600;font-size:13px}.collection-carousel__card{cursor:pointer}.collection-carousel__card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.collection-carousel__add{position:absolute;bottom:10px;right:10px;z-index:2;width:34px;height:34px;border-radius:50%;border:0;background:var(--accent);color:#fff;display:grid;place-items:center;box-shadow:0 4px 12px #691fa959;transition:transform .12s ease,background .15s ease}.collection-carousel__add:hover{transform:scale(1.08)}.collection-carousel__add:disabled{background:var(--muted-2);cursor:default;box-shadow:none}.collection-carousel__add .ico{width:18px;height:18px}.item-detail--notfound{min-height:46vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px}.item-detail__notfound-ico{width:44px;height:44px;opacity:.4}.item-detail__notfound-title{font-size:22px}.item-detail--notfound .btn{margin-top:6px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s,d as _,b as x,N as j}from"./react-E8ng6RF2.js";import{c as v,W as h,y as t,i as r}from"./index-CB1SUuBM.js";import{s as N}from"./wallet-kind-I4wsazAy.js";import"./ethers-DbXGgxrh.js";function g(){return s.jsxs("div",{className:"success-anim",role:"img","aria-label":"Purchase successful",children:[s.jsxs("svg",{className:"success-anim__svg",viewBox:"0 0 120 120",children:[s.jsx("circle",{className:"success-anim__ring",cx:"60",cy:"60",r:"54"}),s.jsx("path",{className:"success-anim__check",d:"M37 61 l16 16 l30 -34"})]}),s.jsx("span",{className:"success-anim__spark success-anim__spark--1","aria-hidden":!0,children:"✦"}),s.jsx("span",{className:"success-anim__spark success-anim__spark--2","aria-hidden":!0,children:"✦"}),s.jsx("span",{className:"success-anim__spark success-anim__spark--3","aria-hidden":!0,children:"◈"}),s.jsx("span",{className:"success-anim__spark success-anim__spark--4","aria-hidden":!0,children:"✦"})]})}const b=r.chainId===80002?"https://decentraland.zone/jump":"https://decentraland.org/jump",f=r.chainId===80002?"https://amoy.polygonscan.com/tx/":"https://polygonscan.com/tx/";function k(e){return e.itemId?`urn:decentraland:${r.chainId===80002?"amoy":"matic"}:collections-v2:${e.contractAddress.toLowerCase()}:${e.itemId}`:null}function E(){const{state:e}=_(),o=x(),{session:a}=v(),n=(e==null?void 0:e.items)??[];if(n.length===0)return s.jsx(j,{to:"/assets",replace:!0});const c=n[0],d=(a==null?void 0:a.address)??"default",l=c.category==="emote",m=l?[]:n.map(k).filter(i=>!!i),u=e==null?void 0:e.txHash,p=!!u&&N(a==null?void 0:a.providerType);return s.jsxs("div",{className:"success",children:[s.jsx("div",{className:"success__preview",children:m.length>0?s.jsx(h,{profile:d,urns:m,type:t.PreviewType.AVATAR,emote:t.PreviewEmote.FASHION,background:"ecebed",dev:r.chainId===80002},c.id):s.jsx(h,{contractAddress:c.contractAddress,tokenId:c.tokenId??void 0,itemId:c.tokenId?void 0:c.itemId??void 0,profile:d,type:l?void 0:t.PreviewType.AVATAR,emote:l?void 0:t.PreviewEmote.FASHION,background:"ecebed",dev:r.chainId===80002},c.id)}),s.jsxs("div",{className:"success__panel",children:[s.jsx(g,{}),s.jsx("h1",{className:"success__title",children:"It’s yours!"}),n.length===1?s.jsxs("p",{className:"success__sub",children:[s.jsx("strong",{children:c.name})," is now in your wardrobe."]}):s.jsxs(s.Fragment,{children:[s.jsxs("p",{className:"success__sub",children:[n.length," items are now in your wardrobe."]}),s.jsx("ul",{className:"success__list",children:n.map(i=>s.jsx("li",{children:i.name},i.id))})]}),s.jsxs("div",{className:"success__links",children:[s.jsx("button",{className:"success__receipt",onClick:()=>o("/my-purchases"),children:"View order"}),p?s.jsx("a",{className:"success__receipt",href:`${f}${u}`,target:"_blank",rel:"noreferrer",children:"View transaction ↗"}):null]}),s.jsxs("div",{className:"success__actions",children:[s.jsx("a",{className:"btn btn--purple",href:b,target:"_blank",rel:"noreferrer",children:"Use it in-world"}),s.jsx("button",{className:"btn btn--ghost",onClick:()=>o("/assets"),children:"Keep shopping"})]})]})]})}export{E as Success,E as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{X as M,Y as I}from"./index-CB1SUuBM.js";import{b as u,i as V,w as F,T as G,h as z,j as w,r as K,l as Y,m as k,g as x,a as W,u as H,_ as j,c as Q,d as g,e as q,s as X}from"./generateUtilityClasses-68H80U2m.js";import{r as O,j as f}from"./react-E8ng6RF2.js";const J="https://wearable-preview.decentraland.zone",Z="https://decentraland.zone/account",tt="https://decentraland.zone/profile",et="https://decentraland.zone/marketplace",nt="https://decentraland.zone/builder",ot="https://decentraland.zone/dao",at="https://decentraland.zone/governance",st="https://decentraland.zone/events",rt="https://decentraland.zone/places",ct="https://decentraland.org/create/",dt="https://docs.decentraland.org/player/",_t="https://decentraland.zone/download/creator-hub/",lt="https://decentraland.zone/download/",Rt="https://decentraland.zone/download_success/",Lt="ea2ybdmmn1kv",Et="master",Ut="18g1DzIyBxvu0steSwKyQr",it="https://cms.decentraland.org",pt="https://decentraland.zone/marketplace/names/claim",St="https://decentraland.zone/marketplace/lands",Ot="https://decentraland.zone/marketplace/account",At="https://decentraland.zone/create/",Tt="https://studios.decentraland.zone/",ht="https://decentraland.zone/builder/collections",Nt="https://decentraland.zone/builder/names",Ct="https://decentraland.zone/builder/worlds?tab=dcl",gt="https://decentraland.zone/builder/land",mt="https://decentraland.zone/events/me/",It="https://decentraland.zone/places/favorites/",ut="https://docs.decentraland.org/player/",Dt="https://docs.decentraland.org/creator/",$t="https://decentraland.zone/blog/",Pt="https://docs.decentraland.org/contributor/",ft="https://decentraland.zone/governance/transparency/",vt="https://decentraland.zone/governance/proposals/",yt="https://decentraland.zone/dao/grants/",Bt="https://decentraland.zone/governance/projects/",bt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Mt="https://decentraland.zone/marketplace/settings",Vt="https://dcl.gg/discord",Ft="https://reddit.com/r/decentraland",Gt="https://github.com/decentraland",zt="https://x.com/decentraland",wt="https://instagram.com/decentraland_foundation/",Kt="https://youtube.com/@decentraland_foundation",Yt="https://tiktok.com/@decentraland_fdn",kt="https://linkedin.com/company/decentralandorg",xt="https://decentraland.zone/privacy",Wt="https://decentraland.zone/terms",Ht="https://decentraland.zone/content",jt="https://decentraland.zone/ethics",Qt="https://decentraland.org/help",qt="mailto:hello@decentraland.org",Xt="https://docs.decentraland.org/faqs/decentraland-101",Jt="https://docs.decentraland.org",Zt="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",te="https://download-gateway.decentraland.zone",ee="https://decentraland.zone/top-scenes",ne="https://testflight.apple.com/join/KF4r3jlU",oe="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",ae={WEARABLE_PREVIEW_URL:J,ACCOUNT_URL:Z,PROFILE_URL:tt,MARKETPLACE_URL:et,BUILDER_URL:nt,DAO_URL:ot,GOVERNANCE_URL:at,EVENTS_URL:st,PLACES_URL:rt,CREATE_URL:ct,LEARN_URL:dt,CREATOR_HUB_URL:_t,DOWNLOAD_URL:lt,DOWNLOAD_SUCCESS_URL:Rt,CONTENTFUL_SPACE_ID:Lt,CONTENTFUL_ENV:Et,CONTENTFUL_NAVBAR_ENTRY_ID:Ut,CONTENTFUL_CONTENTFUL_CDN_URL:it,MARKETPLACE_NAMES_URL:pt,MARKETPLACE_LANDS_URL:St,MARKETPLACE_MY_ASSETS_URL:Ot,LANDING_CREATORS_URL:At,STUDIOS_URL:Tt,BUILDER_WEARABLE_EMOTES_URL:ht,BUILDER_NAMES_URL:Nt,BUILDER_WORLDS_URL:Ct,BUILDER_LAND_URL:gt,EVENTS_MY_EVENTS:mt,PLACES_MY_FAVORITE_URL:It,DOCS_ABOUT_URL:ut,DOCS_CREATORS_URL:Dt,BLOG_URL:$t,DOCS_CONTRIBUTOR_URL:Pt,GOVERNANCE_TRANSPARENCY_URL:ft,GOVERNANCE_PROPOSALS_URL:vt,DAO_GRANTS_URL:yt,GOVERNANCE_PROJECTS_URL:Bt,DOCS_DAO_URL:bt,MARKETPLACE_SETTINGS_URL:Mt,DISCORD_URL:Vt,REDDIT_URL:Ft,GITHUB_URL:Gt,X_URL:zt,INSTAGRAM_URL:wt,YOUTUBE_URL:Kt,TIKTOK_URL:Yt,LINKEDIN_URL:kt,PRIVACY_POLICY_URL:xt,TERMS_OF_USE_URL:Wt,CONTENT_POLICY_URL:Ht,CODE_OF_ETHICS_URL:jt,SUPPORT_URL:Qt,EMAIL_HELLO_URL:qt,FAQ_URL:Xt,DOCS_URL:Jt,BEEHIV_SUBSCRIPTION_URL:Zt,AUTO_SIGNING_BASE_URL:te,TOP_SCENES_URL:ee,IOS_STORE_URL:ne,ANDROID_STORE_URL:oe},se="https://wearable-preview.decentraland.org",re="https://decentraland.org/account",ce="https://decentraland.org/profile",de="https://decentraland.org/marketplace",_e="https://decentraland.org/builder",le="https://decentraland.org/dao",Re="https://decentraland.org/governance",Le="https://decentraland.org/events",Ee="https://decentraland.org/places",Ue="https://decentraland.org/create/",ie="https://docs.decentraland.org/player/",pe="https://decentraland.org/download/creator-hub/",Se="https://decentraland.org/download/",Oe="https://decentraland.org/download_success/",Ae="ea2ybdmmn1kv",Te="master",he="18g1DzIyBxvu0steSwKyQr",Ne="https://cms.decentraland.org",Ce="https://decentraland.org/marketplace/names/claim",ge="https://decentraland.org/marketplace/lands",me="https://decentraland.org/marketplace/account",Ie="https://decentraland.org/create/",ue="https://studios.decentraland.org/",De="https://decentraland.org/builder/collections",$e="https://decentraland.org/builder/names",Pe="https://decentraland.org/builder/worlds?tab=dcl",fe="https://decentraland.org/builder/land",ve="https://decentraland.org/events/me/",ye="https://decentraland.org/places/favorites/",Be="https://docs.decentraland.org/player/",be="https://docs.decentraland.org/creator/",Me="https://decentraland.org/blog/",Ve="https://docs.decentraland.org/contributor/",Fe="https://decentraland.org/governance/transparency/",Ge="https://decentraland.org/governance/proposals/",ze="https://decentraland.org/dao/grants/",we="https://decentraland.org/governance/projects/",Ke="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Ye="https://decentraland.org/marketplace/settings",ke="https://dcl.gg/discord",xe="https://reddit.com/r/decentraland",We="https://github.com/decentraland",He="https://x.com/decentraland",je="https://instagram.com/decentraland_foundation/",Qe="https://youtube.com/@decentraland_foundation",qe="https://tiktok.com/@decentraland_fdn",Xe="https://linkedin.com/company/decentralandorg",Je="https://decentraland.org/privacy",Ze="https://decentraland.org/terms",tn="https://decentraland.org/content",en="https://decentraland.org/ethics",nn="https://decentraland.org/help",on="mailto:hello@decentraland.org",an="https://docs.decentraland.org/faqs/decentraland-101",sn="https://docs.decentraland.org",rn="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",cn="https://download-gateway.decentraland.org",dn="https://decentraland.org/top-scenes",_n="https://testflight.apple.com/join/KF4r3jlU",ln="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Rn={WEARABLE_PREVIEW_URL:se,ACCOUNT_URL:re,PROFILE_URL:ce,MARKETPLACE_URL:de,BUILDER_URL:_e,DAO_URL:le,GOVERNANCE_URL:Re,EVENTS_URL:Le,PLACES_URL:Ee,CREATE_URL:Ue,LEARN_URL:ie,CREATOR_HUB_URL:pe,DOWNLOAD_URL:Se,DOWNLOAD_SUCCESS_URL:Oe,CONTENTFUL_SPACE_ID:Ae,CONTENTFUL_ENV:Te,CONTENTFUL_NAVBAR_ENTRY_ID:he,CONTENTFUL_CONTENTFUL_CDN_URL:Ne,MARKETPLACE_NAMES_URL:Ce,MARKETPLACE_LANDS_URL:ge,MARKETPLACE_MY_ASSETS_URL:me,LANDING_CREATORS_URL:Ie,STUDIOS_URL:ue,BUILDER_WEARABLE_EMOTES_URL:De,BUILDER_NAMES_URL:$e,BUILDER_WORLDS_URL:Pe,BUILDER_LAND_URL:fe,EVENTS_MY_EVENTS:ve,PLACES_MY_FAVORITE_URL:ye,DOCS_ABOUT_URL:Be,DOCS_CREATORS_URL:be,BLOG_URL:Me,DOCS_CONTRIBUTOR_URL:Ve,GOVERNANCE_TRANSPARENCY_URL:Fe,GOVERNANCE_PROPOSALS_URL:Ge,DAO_GRANTS_URL:ze,GOVERNANCE_PROJECTS_URL:we,DOCS_DAO_URL:Ke,MARKETPLACE_SETTINGS_URL:Ye,DISCORD_URL:ke,REDDIT_URL:xe,GITHUB_URL:We,X_URL:He,INSTAGRAM_URL:je,YOUTUBE_URL:Qe,TIKTOK_URL:qe,LINKEDIN_URL:Xe,PRIVACY_POLICY_URL:Je,TERMS_OF_USE_URL:Ze,CONTENT_POLICY_URL:tn,CODE_OF_ETHICS_URL:en,SUPPORT_URL:nn,EMAIL_HELLO_URL:on,FAQ_URL:an,DOCS_URL:sn,BEEHIV_SUBSCRIPTION_URL:rn,AUTO_SIGNING_BASE_URL:cn,TOP_SCENES_URL:dn,IOS_STORE_URL:_n,ANDROID_STORE_URL:ln},Ln="https://wearable-preview.decentraland.today",En="https://decentraland.today/account",Un="https://decentraland.today/profile",pn="https://decentraland.today/marketplace",Sn="https://decentraland.today/builder",On="https://decentraland.today/dao",An="https://decentraland.today/governance",Tn="https://decentraland.zone/events",hn="https://decentraland.zone/places",Nn="https://decentraland.today/create/",Cn="https://docs.decentraland.org/player/",gn="https://decentraland.today/download/creator-hub/",mn="https://decentraland.today/download/",In="https://decentraland.today/download_success/",un="ea2ybdmmn1kv",Dn="master",$n="18g1DzIyBxvu0steSwKyQr",Pn="https://cms.decentraland.org",fn="https://decentraland.today/marketplace/names/claim",vn="https://decentraland.today/marketplace/lands",yn="https://decentraland.today/marketplace/account",Bn="https://decentraland.today/create/",bn="https://studios.decentraland.today/",Mn="https://decentraland.today/builder/collections",Vn="https://decentraland.today/builder/names",Fn="https://decentraland.today/builder/worlds?tab=dcl",Gn="https://decentraland.today/builder/land",zn="https://decentraland.today/events/me/",wn="https://decentraland.today/places/favorites/",Kn="https://docs.decentraland.org/player/",Yn="https://docs.decentraland.org/creator/",kn="https://decentraland.today/blog/",xn="https://docs.decentraland.org/contributor/",Wn="https://decentraland.today/governance/transparency/",Hn="https://decentraland.today/governance/proposals/",jn="https://decentraland.today/dao/grants/",Qn="https://decentraland.today/governance/projects/",qn="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xn="https://decentraland.today/marketplace/settings",Jn="https://dcl.gg/discord",Zn="https://reddit.com/r/decentraland",to="https://github.com/decentraland",eo="https://x.com/decentraland",no="https://instagram.com/decentraland_foundation/",oo="https://youtube.com/@decentraland_foundation",ao="https://tiktok.com/@decentraland_fdn",so="https://linkedin.com/company/decentralandorg",ro="https://decentraland.org/privacy",co="https://decentraland.org/terms",_o="https://decentraland.org/content",lo="https://decentraland.org/ethics",Ro="https://decentraland.org/help",Lo="mailto:hello@decentraland.org",Eo="https://docs.decentraland.org/faqs/decentraland-101",Uo="https://docs.decentraland.org",io="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",po="https://download-gateway.decentraland.zone",So="https://decentraland.zone/top-scenes",Oo="https://testflight.apple.com/join/KF4r3jlU",Ao="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",To={WEARABLE_PREVIEW_URL:Ln,ACCOUNT_URL:En,PROFILE_URL:Un,MARKETPLACE_URL:pn,BUILDER_URL:Sn,DAO_URL:On,GOVERNANCE_URL:An,EVENTS_URL:Tn,PLACES_URL:hn,CREATE_URL:Nn,LEARN_URL:Cn,CREATOR_HUB_URL:gn,DOWNLOAD_URL:mn,DOWNLOAD_SUCCESS_URL:In,CONTENTFUL_SPACE_ID:un,CONTENTFUL_ENV:Dn,CONTENTFUL_NAVBAR_ENTRY_ID:$n,CONTENTFUL_CONTENTFUL_CDN_URL:Pn,MARKETPLACE_NAMES_URL:fn,MARKETPLACE_LANDS_URL:vn,MARKETPLACE_MY_ASSETS_URL:yn,LANDING_CREATORS_URL:Bn,STUDIOS_URL:bn,BUILDER_WEARABLE_EMOTES_URL:Mn,BUILDER_NAMES_URL:Vn,BUILDER_WORLDS_URL:Fn,BUILDER_LAND_URL:Gn,EVENTS_MY_EVENTS:zn,PLACES_MY_FAVORITE_URL:wn,DOCS_ABOUT_URL:Kn,DOCS_CREATORS_URL:Yn,BLOG_URL:kn,DOCS_CONTRIBUTOR_URL:xn,GOVERNANCE_TRANSPARENCY_URL:Wn,GOVERNANCE_PROPOSALS_URL:Hn,DAO_GRANTS_URL:jn,GOVERNANCE_PROJECTS_URL:Qn,DOCS_DAO_URL:qn,MARKETPLACE_SETTINGS_URL:Xn,DISCORD_URL:Jn,REDDIT_URL:Zn,GITHUB_URL:to,X_URL:eo,INSTAGRAM_URL:no,YOUTUBE_URL:oo,TIKTOK_URL:ao,LINKEDIN_URL:so,PRIVACY_POLICY_URL:ro,TERMS_OF_USE_URL:co,CONTENT_POLICY_URL:_o,CODE_OF_ETHICS_URL:lo,SUPPORT_URL:Ro,EMAIL_HELLO_URL:Lo,FAQ_URL:Eo,DOCS_URL:Uo,BEEHIV_SUBSCRIPTION_URL:io,AUTO_SIGNING_BASE_URL:po,TOP_SCENES_URL:So,IOS_STORE_URL:Oo,ANDROID_STORE_URL:Ao},Bo=M({[I.DEVELOPMENT]:ae,[I.STAGING]:To,[I.PRODUCTION]:Rn});var ho=V,No=function(t){return t!=="theme"},v=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ho:No},y=function(t,o,a){var e;if(o){var c=o.shouldForwardProp;e=t.__emotion_forwardProp&&c?function(l){return t.__emotion_forwardProp(l)&&c(l)}:c}return typeof e!="function"&&a&&(e=t.__emotion_forwardProp),e},Co=function(t){var o=t.cache,a=t.serialized,e=t.isStringTag;return K(o,a,e),Y(function(){return k(o,a,e)}),null},go=function n(t,o){var a=t.__emotion_real===t,e=a&&t.__emotion_base||t,c,l;o!==void 0&&(c=o.label,l=o.target);var L=y(t,o,a),S=L||v(e),U=!S("as");return function(){var R=arguments,r=a&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(c!==void 0&&r.push("label:"+c+";"),R[0]==null||R[0].raw===void 0)r.push.apply(r,R);else{var E=R[0];r.push(E[0]);for(var p=R.length,_=1;_<p;_++)r.push(R[_],E[_])}var d=F(function(s,i,T){var m=U&&s.as||e,A="",D=[],h=s;if(s.theme==null){h={};for(var $ in s)h[$]=s[$];h.theme=O.useContext(G)}typeof s.className=="string"?A=z(i.registered,D,s.className):s.className!=null&&(A=s.className+" ");var P=w(r.concat(D),i.registered,h);A+=i.key+"-"+P.name,l!==void 0&&(A+=" "+l);var b=U&&L===void 0?v(m):S,N={};for(var C in s)U&&C==="as"||b(C)&&(N[C]=s[C]);return N.className=A,T&&(N.ref=T),O.createElement(O.Fragment,null,O.createElement(Co,{cache:i,serialized:P,isStringTag:typeof m=="string"}),O.createElement(m,N))});return d.displayName=c!==void 0?c:"Styled("+(typeof e=="string"?e:e.displayName||e.name||"Component")+")",d.defaultProps=t.defaultProps,d.__emotion_real=d,d.__emotion_base=e,d.__emotion_styles=r,d.__emotion_forwardProp=L,Object.defineProperty(d,"toString",{value:function(){return"."+l}}),d.withComponent=function(s,i){var T=n(s,u({},o,i,{shouldForwardProp:y(d,i,!0)}));return T.apply(void 0,r)},d}},mo=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],B=go.bind(null);mo.forEach(function(n){B[n]=B(n)});function Io(n){return x("MuiSvgIcon",n)}W("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const uo=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Do=n=>{const{color:t,fontSize:o,classes:a}=n,e={root:["root",t!=="inherit"&&`color${g(t)}`,`fontSize${g(o)}`]};return q(e,Io,a)},$o=X("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:o}=n;return[t.root,o.color!=="inherit"&&t[`color${g(o.color)}`],t[`fontSize${g(o.fontSize)}`]]}})(({theme:n,ownerState:t})=>{var o,a,e,c,l,L,S,U,R,r,E,p,_;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(o=n.transitions)==null||(a=o.create)==null?void 0:a.call(o,"fill",{duration:(e=n.transitions)==null||(e=e.duration)==null?void 0:e.shorter}),fontSize:{inherit:"inherit",small:((c=n.typography)==null||(l=c.pxToRem)==null?void 0:l.call(c,20))||"1.25rem",medium:((L=n.typography)==null||(S=L.pxToRem)==null?void 0:S.call(L,24))||"1.5rem",large:((U=n.typography)==null||(R=U.pxToRem)==null?void 0:R.call(U,35))||"2.1875rem"}[t.fontSize],color:(r=(E=(n.vars||n).palette)==null||(E=E[t.color])==null?void 0:E.main)!=null?r:{action:(p=(n.vars||n).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(_=(n.vars||n).palette)==null||(_=_.action)==null?void 0:_.disabled,inherit:void 0}[t.color]}}),Po=O.forwardRef(function(t,o){const a=H({props:t,name:"MuiSvgIcon"}),{children:e,className:c,color:l="inherit",component:L="svg",fontSize:S="medium",htmlColor:U,inheritViewBox:R=!1,titleAccess:r,viewBox:E="0 0 24 24"}=a,p=j(a,uo),_=O.isValidElement(e)&&e.type==="svg",d=u({},a,{color:l,component:L,fontSize:S,instanceFontSize:t.fontSize,inheritViewBox:R,viewBox:E,hasSvgAsChild:_}),s={};R||(s.viewBox=E);const i=Do(d);return f.jsxs($o,u({as:L,className:Q(i.root,c),focusable:"false",color:U,"aria-hidden":r?void 0:!0,role:r?"img":void 0,ref:o},s,p,_&&e.props,{ownerState:d,children:[_?e.props.children:e,r?f.jsx("title",{children:r}):null]}))});Po.muiName="SvgIcon";export{Po as S,Bo as c,B as n};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var xe=Object.defineProperty;var Ie=(e,t,n)=>t in e?xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var T=(e,t,n)=>Ie(e,typeof t!="symbol"?t+"":t,n);import{W as ye,b as oe,C as ve,B as Se,f as ie}from"./ethers-DbXGgxrh.js";import{Z as Re,$ as Ne,y as X,a0 as Oe}from"./index-CB1SUuBM.js";import{c as ce}from"./react-E8ng6RF2.js";import{O as Pe,M as be,D as De,a as ue,g as de}from"./index-DKewLOZ7.js";import"./network-C9miAzGt.js";import{c as K,e as Le}from"./index-POoM1fB4.js";const Ue="2d0335ab",Fe="0c53c51c",Me="d8ed1acc",ke=we("0x");let je=0;async function $e(e){let t=[];try{t=await H(e,"eth_requestAccounts",[])}catch{t=await H(e,"eth_accounts",[])}if(t.length===0)throw new Error("Could not find a valid connected account");return t[0]}async function qe(e,t,n){return H(e,"eth_signTypedData_v4",[t,n])}function He(e,t,n){const r=t.replace("0x",""),s=r.substring(0,64),i=r.substring(64,128),u=Be(r.substring(128,130)),d=n.replace("0x",""),f=(d.length/2).toString(16),y=Math.ceil(d.length/64);return["0x",Fe,_(e),_("a0"),s,i,_(u),_(f),d.padEnd(64*y,"0")].join("")}function Ge(e,t,n){const r=n.replace("0x",""),s=t.replace("0x",""),u=96+32+r.length/2,d=Math.ceil(s.length/64);return["0x",Me,_(e),_("60"),_(u.toString(16)),_((r.length/2).toString(16)),r,_((s.length/2).toString(16)),s.padEnd(64*d,"0")].join("")}function Be(e){let t=parseInt(e,16);if(t<27&&(t+=27),t!==27&&t!==28)throw Error(`Invalid signature version "${e}" (parsed: ${t})`);return t.toString(16)}async function Ve(e,t,n){const r=_(t),s=await H(e,"eth_call",[{data:`0x${Ue}${r}`,to:n},"latest"]);return _(s)}function Je(e){return typeof e=="number"?`0x${_(e.toString(16))}`:`0x${_(e)}`}function We(e,t){return H(e,"eth_getCode",[t.toLowerCase(),"latest"])}const Ye="0xef01";async function Ze(e,t){const n=await We(e,t);return n.toLowerCase().startsWith(Ye)?!1:!Xe(n)}function we(e){if(!/^0x[0-9a-f]*$/gi.test(e))throw new Error(`Not a valid hex string "${e}"`);let t=e.slice(2);for(;t.length<40;)t="0"+t;return"0x"+t}function Xe(e){return we(e.toLowerCase())===ke}function _(e){return e.toString().replace("0x","").padStart(64,"0")}async function H(e,t,n){let r,s={jsonrpc:"2.0",id:++je,method:t,params:n};if(e.request!==void 0?r=await e.request(s):e.sendAsync!==void 0?r=await e.sendAsync(s):e.send!==void 0&&(r=await e.send(t,n)),r)return r.result||r;throw new Error(`Could not send the transaction correcty. Either the provider does not support the method "${t}" or is missing a proper send/request.`)}function Ke(){return{serverURL:"https://transactions-api.decentraland.io/v1"}}var k;(function(e){e.UNKNOWN="unknown",e.DAPP_LIMIT_REACHED="dapp_limit_reached",e.USER_LIMIT_REACHED="user_limit_reached",e.API_LIMIT_REACHED="api_limit_reached",e.GAS_LIMIT_REACHED="gas_limit_reached",e.EXPECTATION_FAILED="expectation_failed",e.INVALID_TRANSACTION="invalid_transaction",e.INVALID_SCHEMA="invalid_schema",e.INVALID_CONTRACT_ADDRESS="invalid_contract_address",e.INVALID_ADDRESS="invalid_address",e.SALE_PRICE_TOO_LOW="sale_price_too_low",e.QUOTA_REACHED="quota_reached",e.CONTRACT_ACCOUNT="contract_account",e.HIGH_CONGESTION="high_congestion",e.USER_DENIED="user_denied"})(k||(k={}));class P extends Error{constructor(n,r){super(n);T(this,"code");this.code=r,Object.setPrototypeOf(this,P.prototype)}}async function ze(e,t,n,r,s={}){const i={...Ke(),...s};if(!r.address.trim())throw new P(`The contract address for ${r.name} is empty. You're probably trying to get a proxy contract. Try adding an address to the result of getContract`,k.INVALID_ADDRESS);try{const u=await $e(e);if(await Ze(e,u))throw new P("Contract accounts are not supported",k.CONTRACT_ACCOUNT);const d=r.abi.some(B=>{var V;return B.name==="executeMetaTransaction"&&((V=B.inputs)==null?void 0:V.some(W=>W.name==="_functionData"))}),f=await Ve(t,u,r.address),y=Je(r.chainId),I=et(y,r),D=Qe(u,f,n,I,d),L=await qe(e,u,JSON.stringify(D)),G=(d?Ge:He)(u,L,n),j=await fetch(`${i.serverURL}/transactions`,{headers:{"Content-Type":"application/json"},body:JSON.stringify({transactionData:{from:u,params:[r.address,G]}}),method:"POST"}),N=await j.json();if(N.ok===!1)throw N.message&&N.code?new P(N.message,N.code):new Error(`HTTP Error. Status: ${j.status}.`);return N.txHash}catch(u){const d=u;throw d instanceof P?d:d.message.indexOf("User denied message signature")!==-1?new P(d.message,k.USER_DENIED):(console.warn("An error occurred trying to send the meta transaction. Error:",d.message),new P(d.message,k.UNKNOWN))}}function Qe(e,t,n,r,s=!1){return{types:{EIP712Domain:De,MetaTransaction:s?Pe:be},domain:r,primaryType:"MetaTransaction",message:{nonce:parseInt(t,16),from:e,...s?{functionData:n}:{functionSignature:n}}}}function et(e,t){return{name:t.name,version:t.version,verifyingContract:t.address,salt:e}}Re();var tt=Ne();async function nt(e){const t=await Ee();if(t){const n=await new ye(t).getSigner().getChainId();if(e===n)return t}return K.createProvider(tt.ProviderType.NETWORK,e)}async function Ee(){try{return await K.getProvider()}catch{try{const{provider:e}=await K.tryPreviousConnection();return e}catch{return null}}}function le(e){return Math.floor(e/1e3)}function he(e){switch(e.assetType){case X.TradeAssetType.ERC721:return e.tokenId;case X.TradeAssetType.COLLECTION_ITEM:return e.itemId;case X.TradeAssetType.ERC20:return e.amount;default:return console.error("Invalid asset type:",e),""}}function rt(e){var t;return{checks:{uses:e.checks.uses,expiration:le(e.checks.expiration),effective:le(e.checks.effective),salt:oe(e.checks.salt,32),contractSignatureIndex:e.checks.contractSignatureIndex,signerSignatureIndex:e.checks.signerSignatureIndex,allowedRoot:oe(e.checks.allowedRoot,32),externalChecks:(t=e.checks.externalChecks)==null?void 0:t.map(n=>({contractAddress:n.contractAddress,selector:n.selector,value:n.value?n.value:"0x",required:n.required}))},sent:e.sent.map(n=>({assetType:n.assetType,contractAddress:n.contractAddress,value:he(n),extra:n.extra?n.extra:"0x"})),received:e.received.map(n=>({assetType:n.assetType,contractAddress:n.contractAddress,value:he(n),extra:n.extra?n.extra:"0x",beneficiary:n.beneficiary}))}}function fe(e,t){const n=rt(e);return{signer:e.signer,signature:e.signature,...n,checks:{...n.checks,allowedProof:[]},sent:n.sent.map(r=>({...r,beneficiary:t}))}}async function at(e){const t=await e.request({method:"eth_chainId",params:[]});let n;return typeof t=="string"?n=parseInt(t,16):n=t,n}async function st(e){const t=await nt(e);return new ye(t)}const b=new Le.EventEmitter;var x;(function(e){e.ERROR="error",e.SUCCESS="success",e.PROMPT="prompt",e.ACCEPT="accept",e.REJECT="reject"})(x||(x={}));let ot="https://transactions-api.decentraland.org/v1";const it=()=>ot,ct=()=>new Promise((e,t)=>{const n=()=>{b.removeAllListeners(x.REJECT),e(!0)},r=()=>{b.removeAllListeners(x.ACCEPT),t(new Error("User rejected transaction"))};b.addListener(x.ACCEPT,n),b.addListener(x.REJECT,r)});async function pe(...e){const[t,n,...r]=e;try{const s=await Ee();if(!s)throw new Error("Provider not connected");const i=await at(s),u=await st(t.chainId),d=new ve(t.address,t.abi,u),f=await(typeof n=="function"?n(d.populateTransaction):d.populateTransaction[n](...r));if(i===t.chainId){const y=u.getSigner();if(s.isMagic||s.isThirdweb){let D=Se.from(0);try{const L=await y.getGasPrice(),U=await y.estimateGas(f);D=L.mul(U)}catch{}if(!D.isZero()){const L=ct(),U=await y.getBalance();b.emit(x.PROMPT,{transactionGasPrice:ie(D),userBalance:ie(U),chainId:t.chainId}),await L}}const I=await y.sendTransaction(f);return b.emit(x.SUCCESS,{txHash:I.hash}),I.hash}else{const y=await ze(s,u,f.data,t,{serverURL:it()});return b.emit(x.SUCCESS,{txHash:y}),y}}catch(s){const i={type:x.ERROR,error:s};throw b.emit(x.ERROR,i),s}}var q={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */var ut=q.exports,Te;function dt(){return Te||(Te=1,(function(e,t){(function(n){var r=t&&!t.nodeType&&t,s=e&&!e.nodeType&&e,i=typeof ce=="object"&&ce;(i.global===i||i.window===i||i.self===i)&&(n=i);var u,d=2147483647,f=36,y=1,I=26,D=38,L=700,U=72,G=128,j="-",N=/^xn--/,B=/[^\x20-\x7E]/,V=/[\x2E\u3002\uFF0E\uFF61]/g,W={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Y=f-y,v=Math.floor,$=String.fromCharCode,J;function F(a){throw new RangeError(W[a])}function z(a,o){for(var c=a.length,l=[];c--;)l[c]=o(a[c]);return l}function Q(a,o){var c=a.split("@"),l="";c.length>1&&(l=c[0]+"@",a=c[1]),a=a.replace(V,".");var h=a.split("."),w=z(h,o).join(".");return l+w}function ee(a){for(var o=[],c=0,l=a.length,h,w;c<l;)h=a.charCodeAt(c++),h>=55296&&h<=56319&&c<l?(w=a.charCodeAt(c++),(w&64512)==56320?o.push(((h&1023)<<10)+(w&1023)+65536):(o.push(h),c--)):o.push(h);return o}function te(a){return z(a,function(o){var c="";return o>65535&&(o-=65536,c+=$(o>>>10&1023|55296),o=56320|o&1023),c+=$(o),c}).join("")}function me(a){return a-48<10?a-22:a-65<26?a-65:a-97<26?a-97:f}function ne(a,o){return a+22+75*(a<26)-((o!=0)<<5)}function re(a,o,c){var l=0;for(a=c?v(a/L):a>>1,a+=v(a/o);a>Y*I>>1;l+=f)a=v(a/Y);return v(l+(Y+1)*a/(a+D))}function ae(a){var o=[],c=a.length,l,h=0,w=G,p=U,E,A,S,R,g,m,C,O,M;for(E=a.lastIndexOf(j),E<0&&(E=0),A=0;A<E;++A)a.charCodeAt(A)>=128&&F("not-basic"),o.push(a.charCodeAt(A));for(S=E>0?E+1:0;S<c;){for(R=h,g=1,m=f;S>=c&&F("invalid-input"),C=me(a.charCodeAt(S++)),(C>=f||C>v((d-h)/g))&&F("overflow"),h+=C*g,O=m<=p?y:m>=p+I?I:m-p,!(C<O);m+=f)M=f-O,g>v(d/M)&&F("overflow"),g*=M;l=o.length+1,p=re(h-R,l,R==0),v(h/l)>d-w&&F("overflow"),w+=v(h/l),h%=l,o.splice(h++,0,w)}return te(o)}function se(a){var o,c,l,h,w,p,E,A,S,R,g,m=[],C,O,M,Z;for(a=ee(a),C=a.length,o=G,c=0,w=U,p=0;p<C;++p)g=a[p],g<128&&m.push($(g));for(l=h=m.length,h&&m.push(j);l<C;){for(E=d,p=0;p<C;++p)g=a[p],g>=o&&g<E&&(E=g);for(O=l+1,E-o>v((d-c)/O)&&F("overflow"),c+=(E-o)*O,o=E,p=0;p<C;++p)if(g=a[p],g<o&&++c>d&&F("overflow"),g==o){for(A=c,S=f;R=S<=w?y:S>=w+I?I:S-w,!(A<R);S+=f)Z=A-R,M=f-R,m.push($(ne(R+Z%M,0))),A=v(Z/M);m.push($(ne(A,0))),w=re(c,O,l==h),c=0,++l}++c,++o}return m.join("")}function Ae(a){return Q(a,function(o){return N.test(o)?ae(o.slice(4).toLowerCase()):o})}function Ce(a){return Q(a,function(o){return B.test(o)?"xn--"+se(o):o})}if(u={version:"1.4.1",ucs2:{decode:ee,encode:te},decode:ae,encode:se,toASCII:Ce,toUnicode:Ae},r&&s)if(e.exports==r)s.exports=u;else for(J in u)u.hasOwnProperty(J)&&(r[J]=u[J]);else n.punycode=u})(ut)})(q,q.exports)),q.exports}dt();var _e=(function(e){function t(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var n=__magic__;return n})(Object),lt=_e.URL;_e.URLSearchParams;var ht={URL:lt};class ge extends Error{constructor(n,r,s){super(n);T(this,"status");T(this,"data");this.status=r,this.data=s}}const ft=3,pt=1e3,Tt=[400,401,403,404,409,422],gt=(globalThis==null?void 0:globalThis.URL)??ht.URL;class yt{constructor(t,n){T(this,"baseUrl");T(this,"retries");T(this,"retryDelay");T(this,"nonRetryableStatuses");T(this,"identity");T(this,"sleep",t=>new Promise(n=>{setTimeout(n,t)}));T(this,"getIdentity",()=>this.identity instanceof Function?this.identity():this.identity);T(this,"rawFetch",(t,n)=>{const r=new gt(t,this.baseUrl),s=(n==null?void 0:n.identity)??this.getIdentity();return Oe.signedFetchFactory()(r.toString(),{...n,identity:s})});T(this,"fetch",async(t,n)=>{for(let r=0;r<=this.retries;r++)try{let s,i;try{s=await this.rawFetch(t,n);const u=await s.text();u.length===0?i={ok:!0,data:null}:i=JSON.parse(u)}catch(u){throw new ge(u.message,void 0,null)}if(!s.ok||i.ok===!1){const u=i.message??i.error;throw new ge(u??`Request failed with status code ${s.status}`,s.status,i.data)}return i.ok===!0?i.data:i}catch(s){if(console.error(`[API] HTTP request failed: ${s.message||""}`,s),this.retries===r||s.status&&this.nonRetryableStatuses.includes(s.status))throw s;await this.sleep(this.retryDelay)}throw new Error("Unreachable code")});this.baseUrl=t,this.identity=n==null?void 0:n.identity,this.retries=(n==null?void 0:n.retries)??ft,this.retryDelay=(n==null?void 0:n.retryDelay)??pt,this.nonRetryableStatuses=(n==null?void 0:n.nonRetryableStatuses)??Tt}}class wt extends yt{constructor(n,r,s){super(r,s);T(this,"signer");T(this,"addTrade",async n=>this.fetch("/v1/trades",{method:"POST",body:JSON.stringify(n),metadata:{signer:this.signer,intent:"dcl:create-trade"},headers:{"Content-Type":"application/json"}}));T(this,"fetchTrade",async n=>this.fetch(`/v1/trades/${n}`,{method:"GET"}));this.signer=n}}class vt{constructor(t,n,r){T(this,"tradesAPI");this.tradesAPI=new wt(t,n,{identity:r,retries:0})}async addTrade(t){return this.tradesAPI.addTrade(t)}async fetchTrade(t){return this.tradesAPI.fetchTrade(t)}async accept(t,n){const r=ue(t.contract),s=de(r,t.chainId),i=fe(t,n);return pe(s,"accept",[i])}async cancel(t,n){const r=ue(t.contract),s=de(r,t.chainId),i=fe(t,n);return pe(s,"cancelSignature",[i])}}export{vt as TradeService};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{w as r}from"./utils-BZTXwsyT.js";import{d as a}from"./decimals-CTfzGzBe.js";import"./ethers-DbXGgxrh.js";import"./react-E8ng6RF2.js";import"./signing-GS-zzaze.js";import"./index-CB1SUuBM.js";async function s(c){return r(()=>a(c),{cacheKey:`${c.contract.chain.id}:${c.contract.address}:decimals`,cacheTime:Number.POSITIVE_INFINITY})}export{s as decimals};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--bg: #ffffff;--text: #161518;--text-2: #242129;--muted: #716b7c;--muted-2: #a09ba8;--line: #e6e4ea;--line-strong: #a09ba8;--media: #ecebed;--panel: #f5f5f5;--chip: #ecebed;--accent: #691fa9;--brand-violet: #a524b3;--rarity: #a14bf3;--rarity-bg: rgba(161, 75, 243, .3);--black-btn: #242129;--soft-white: #fcfcfc;--dcl-red: #ff2d55;--ok: #1ea672;--err: #d33;--amethyst: linear-gradient(180deg, #c640cd 0%, #691fa9 100%);--radius-card: 12px;--radius-chip: 4px;--radius-btn: 8px;--radius-pill: 50px;--radius-banner: 24px;--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}*{box-sizing:border-box}body{margin:0;padding-top:92px;background:var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}@media(max-width:768px){body{padding-top:64px}}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}h1,h2{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.error{color:var(--err)}.link{background:none;border:0;color:var(--accent);cursor:pointer;padding:0;font:inherit;font-weight:600}.ico{display:inline-block;width:20px;height:20px;flex:none;background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.ico-heart{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Favourite'%3e%3cpath%20id='heart%20icn'%20d='M6.17811%203.05867H6.19666C6.80699%203.05543%207.41165%203.18384%207.9701%203.43562C8.24268%203.55854%208.50168%203.70952%208.74256%203.88582C8.99505%204.07064%209.22797%204.28333%209.4369%204.52058L10.0004%205.16023L10.5629%204.52058C10.7719%204.28322%2011.0056%204.0707%2011.2582%203.88582C11.4991%203.70952%2011.758%203.55853%2012.0306%203.43562C12.5891%203.18387%2013.1938%203.05538%2013.8041%203.05867H13.8217C14.3276%203.04916%2014.8305%203.14205%2015.3012%203.33211C15.7719%203.5222%2016.2012%203.80588%2016.5639%204.16707C16.9265%204.52829%2017.2153%204.9597%2017.4125%205.4366C17.6097%205.91346%2017.7114%206.42568%2017.7113%206.94343C17.7113%208.58332%2016.9202%2010.1174%2015.6849%2011.5919C14.4485%2013.0677%2012.8407%2014.4001%2011.3295%2015.6495C11.0556%2015.8759%2010.7842%2016.0996%2010.5219%2016.3194C10.2242%2016.5685%209.78111%2016.5679%209.4828%2016.3165C9.19652%2016.0752%208.89983%2015.8289%208.59999%2015.5802C7.09694%2014.3334%205.50709%2013.0123%204.28651%2011.5499C3.06753%2010.0893%202.28846%208.57068%202.28846%206.94343C2.28839%206.42571%202.39012%205.91344%202.58729%205.4366C2.78449%204.95973%203.07328%204.52828%203.43592%204.16707C3.79856%203.80588%204.2279%203.52221%204.69862%203.33211C5.1693%203.14203%205.6722%203.04918%206.17811%203.05867Z'%20stroke='var(--stroke-0,%20%23242129)'%20stroke-width='1.5'/%3e%3c/g%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Favourite'%3e%3cpath%20id='heart%20icn'%20d='M6.17811%203.05867H6.19666C6.80699%203.05543%207.41165%203.18384%207.9701%203.43562C8.24268%203.55854%208.50168%203.70952%208.74256%203.88582C8.99505%204.07064%209.22797%204.28333%209.4369%204.52058L10.0004%205.16023L10.5629%204.52058C10.7719%204.28322%2011.0056%204.0707%2011.2582%203.88582C11.4991%203.70952%2011.758%203.55853%2012.0306%203.43562C12.5891%203.18387%2013.1938%203.05538%2013.8041%203.05867H13.8217C14.3276%203.04916%2014.8305%203.14205%2015.3012%203.33211C15.7719%203.5222%2016.2012%203.80588%2016.5639%204.16707C16.9265%204.52829%2017.2153%204.9597%2017.4125%205.4366C17.6097%205.91346%2017.7114%206.42568%2017.7113%206.94343C17.7113%208.58332%2016.9202%2010.1174%2015.6849%2011.5919C14.4485%2013.0677%2012.8407%2014.4001%2011.3295%2015.6495C11.0556%2015.8759%2010.7842%2016.0996%2010.5219%2016.3194C10.2242%2016.5685%209.78111%2016.5679%209.4828%2016.3165C9.19652%2016.0752%208.89983%2015.8289%208.59999%2015.5802C7.09694%2014.3334%205.50709%2013.0123%204.28651%2011.5499C3.06753%2010.0893%202.28846%208.57068%202.28846%206.94343C2.28839%206.42571%202.39012%205.91344%202.58729%205.4366C2.78449%204.95973%203.07328%204.52828%203.43592%204.16707C3.79856%203.80588%204.2279%203.52221%204.69862%203.33211C5.1693%203.14203%205.6722%203.04918%206.17811%203.05867Z'%20stroke='var(--stroke-0,%20%23242129)'%20stroke-width='1.5'/%3e%3c/g%3e%3c/svg%3e")}.ico-cart{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='boxicons:cart'%3e%3cpath%20id='Vector'%20d='M28%207.99935H9.39999L7.91999%203.57269C7.83054%203.30786%207.66012%203.07784%207.43283%202.91514C7.20553%202.75245%206.93285%202.6653%206.65332%202.66602H2.65332V5.33269H5.69332L10.4133%2019.506C10.5899%2020.0382%2010.9298%2020.5011%2011.3846%2020.829C11.8394%2021.157%2012.386%2021.3332%2012.9467%2021.3327H23.0667C23.6092%2021.3317%2024.1386%2021.1653%2024.5841%2020.8556C25.0297%2020.5459%2025.3701%2020.1076%2025.56%2019.5994L29.24%209.79935C29.3867%209.38602%2029.3333%208.93269%2029.0933%208.57269C28.9708%208.39607%2028.8074%208.25169%2028.617%208.15186C28.4266%208.05203%2028.2149%207.99971%2028%207.99935ZM23.08%2018.666H12.96L10.2933%2010.666H26.08L23.08%2018.666ZM13.3333%2023.9994C12.6261%2023.9994%2011.9478%2024.2803%2011.4477%2024.7804C10.9476%2025.2805%2010.6667%2025.9588%2010.6667%2026.666C10.6667%2027.3733%2010.9476%2028.0515%2011.4477%2028.5516C11.9478%2029.0517%2012.6261%2029.3327%2013.3333%2029.3327C14.0406%2029.3327%2014.7188%2029.0517%2015.2189%2028.5516C15.719%2028.0515%2016%2027.3733%2016%2026.666C16%2025.9588%2015.719%2025.2805%2015.2189%2024.7804C14.7188%2024.2803%2014.0406%2023.9994%2013.3333%2023.9994ZM22.6667%2023.9994C21.9594%2023.9994%2021.2811%2024.2803%2020.781%2024.7804C20.2809%2025.2805%2020%2025.9588%2020%2026.666C20%2027.3733%2020.2809%2028.0515%2020.781%2028.5516C21.2811%2029.0517%2021.9594%2029.3327%2022.6667%2029.3327C23.3739%2029.3327%2024.0522%2029.0517%2024.5523%2028.5516C25.0524%2028.0515%2025.3333%2027.3733%2025.3333%2026.666C25.3333%2025.9588%2025.0524%2025.2805%2024.5523%2024.7804C24.0522%2024.2803%2023.3739%2023.9994%2022.6667%2023.9994Z'%20fill='var(--fill-0,%20black)'/%3e%3c/g%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='boxicons:cart'%3e%3cpath%20id='Vector'%20d='M28%207.99935H9.39999L7.91999%203.57269C7.83054%203.30786%207.66012%203.07784%207.43283%202.91514C7.20553%202.75245%206.93285%202.6653%206.65332%202.66602H2.65332V5.33269H5.69332L10.4133%2019.506C10.5899%2020.0382%2010.9298%2020.5011%2011.3846%2020.829C11.8394%2021.157%2012.386%2021.3332%2012.9467%2021.3327H23.0667C23.6092%2021.3317%2024.1386%2021.1653%2024.5841%2020.8556C25.0297%2020.5459%2025.3701%2020.1076%2025.56%2019.5994L29.24%209.79935C29.3867%209.38602%2029.3333%208.93269%2029.0933%208.57269C28.9708%208.39607%2028.8074%208.25169%2028.617%208.15186C28.4266%208.05203%2028.2149%207.99971%2028%207.99935ZM23.08%2018.666H12.96L10.2933%2010.666H26.08L23.08%2018.666ZM13.3333%2023.9994C12.6261%2023.9994%2011.9478%2024.2803%2011.4477%2024.7804C10.9476%2025.2805%2010.6667%2025.9588%2010.6667%2026.666C10.6667%2027.3733%2010.9476%2028.0515%2011.4477%2028.5516C11.9478%2029.0517%2012.6261%2029.3327%2013.3333%2029.3327C14.0406%2029.3327%2014.7188%2029.0517%2015.2189%2028.5516C15.719%2028.0515%2016%2027.3733%2016%2026.666C16%2025.9588%2015.719%2025.2805%2015.2189%2024.7804C14.7188%2024.2803%2014.0406%2023.9994%2013.3333%2023.9994ZM22.6667%2023.9994C21.9594%2023.9994%2021.2811%2024.2803%2020.781%2024.7804C20.2809%2025.2805%2020%2025.9588%2020%2026.666C20%2027.3733%2020.2809%2028.0515%2020.781%2028.5516C21.2811%2029.0517%2021.9594%2029.3327%2022.6667%2029.3327C23.3739%2029.3327%2024.0522%2029.0517%2024.5523%2028.5516C25.0524%2028.0515%2025.3333%2027.3733%2025.3333%2026.666C25.3333%2025.9588%2025.0524%2025.2805%2024.5523%2024.7804C24.0522%2024.2803%2023.3739%2023.9994%2022.6667%2023.9994Z'%20fill='var(--fill-0,%20black)'/%3e%3c/g%3e%3c/svg%3e")}.ico-cart-solid{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='boxicons:cart'%3e%3cpath%20id='Vector'%20d='M17.5%205H5.875L4.95%202.23333C4.8941%202.06782%204.78759%201.92405%204.64552%201.82237C4.50346%201.72068%204.33304%201.66622%204.15833%201.66667H1.65833V3.33333H3.55833L6.50833%2012.1917C6.61872%2012.5243%206.83113%2012.8136%207.11538%2013.0185C7.39962%2013.2235%207.74124%2013.3337%208.09167%2013.3333H14.4167C14.7558%2013.3327%2015.0867%2013.2287%2015.3651%2013.0351C15.6435%2012.8416%2015.8563%2012.5677%2015.975%2012.25L18.275%206.125C18.3667%205.86667%2018.3333%205.58333%2018.1833%205.35833C18.1068%205.24795%2018.0046%205.15771%2017.8856%205.09532C17.7667%205.03292%2017.6344%205.00022%2017.5%205ZM14.425%2011.6667H8.1L6.43333%206.66667H16.3L14.425%2011.6667ZM8.33333%2015C7.89131%2015%207.46738%2015.1756%207.15482%2015.4882C6.84226%2015.8007%206.66667%2016.2246%206.66667%2016.6667C6.66667%2017.1087%206.84226%2017.5326%207.15482%2017.8452C7.46738%2018.1577%207.89131%2018.3333%208.33333%2018.3333C8.77536%2018.3333%209.19928%2018.1577%209.51184%2017.8452C9.82441%2017.5326%2010%2017.1087%2010%2016.6667C10%2016.2246%209.82441%2015.8007%209.51184%2015.4882C9.19928%2015.1756%208.77536%2015%208.33333%2015ZM14.1667%2015C13.7246%2015%2013.3007%2015.1756%2012.9882%2015.4882C12.6756%2015.8007%2012.5%2016.2246%2012.5%2016.6667C12.5%2017.1087%2012.6756%2017.5326%2012.9882%2017.8452C13.3007%2018.1577%2013.7246%2018.3333%2014.1667%2018.3333C14.6087%2018.3333%2015.0326%2018.1577%2015.3452%2017.8452C15.6577%2017.5326%2015.8333%2017.1087%2015.8333%2016.6667C15.8333%2016.2246%2015.6577%2015.8007%2015.3452%2015.4882C15.0326%2015.1756%2014.6087%2015%2014.1667%2015Z'%20fill='var(--fill-0,%20%23FCFCFC)'/%3e%3c/g%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='boxicons:cart'%3e%3cpath%20id='Vector'%20d='M17.5%205H5.875L4.95%202.23333C4.8941%202.06782%204.78759%201.92405%204.64552%201.82237C4.50346%201.72068%204.33304%201.66622%204.15833%201.66667H1.65833V3.33333H3.55833L6.50833%2012.1917C6.61872%2012.5243%206.83113%2012.8136%207.11538%2013.0185C7.39962%2013.2235%207.74124%2013.3337%208.09167%2013.3333H14.4167C14.7558%2013.3327%2015.0867%2013.2287%2015.3651%2013.0351C15.6435%2012.8416%2015.8563%2012.5677%2015.975%2012.25L18.275%206.125C18.3667%205.86667%2018.3333%205.58333%2018.1833%205.35833C18.1068%205.24795%2018.0046%205.15771%2017.8856%205.09532C17.7667%205.03292%2017.6344%205.00022%2017.5%205ZM14.425%2011.6667H8.1L6.43333%206.66667H16.3L14.425%2011.6667ZM8.33333%2015C7.89131%2015%207.46738%2015.1756%207.15482%2015.4882C6.84226%2015.8007%206.66667%2016.2246%206.66667%2016.6667C6.66667%2017.1087%206.84226%2017.5326%207.15482%2017.8452C7.46738%2018.1577%207.89131%2018.3333%208.33333%2018.3333C8.77536%2018.3333%209.19928%2018.1577%209.51184%2017.8452C9.82441%2017.5326%2010%2017.1087%2010%2016.6667C10%2016.2246%209.82441%2015.8007%209.51184%2015.4882C9.19928%2015.1756%208.77536%2015%208.33333%2015ZM14.1667%2015C13.7246%2015%2013.3007%2015.1756%2012.9882%2015.4882C12.6756%2015.8007%2012.5%2016.2246%2012.5%2016.6667C12.5%2017.1087%2012.6756%2017.5326%2012.9882%2017.8452C13.3007%2018.1577%2013.7246%2018.3333%2014.1667%2018.3333C14.6087%2018.3333%2015.0326%2018.1577%2015.3452%2017.8452C15.6577%2017.5326%2015.8333%2017.1087%2015.8333%2016.6667C15.8333%2016.2246%2015.6577%2015.8007%2015.3452%2015.4882C15.0326%2015.1756%2014.6087%2015%2014.1667%2015Z'%20fill='var(--fill-0,%20%23FCFCFC)'/%3e%3c/g%3e%3c/svg%3e")}.ico-credits{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2013.7717%2013.7717'%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='M7.45965%201.24328L13.676%207.45965L7.45965%2013.676L1.24328%207.45965L7.45965%201.24328ZM7.45965%202.98386L11.9354%207.45965L7.45965%2011.9354L2.98386%207.45965L7.45965%202.98386ZM7.45965%209.69754C8.05318%209.69761%208.62242%209.4619%209.04216%209.04226C9.46189%208.62263%209.69773%208.05344%209.6978%207.45991C9.69787%206.86638%209.46216%206.29714%209.04252%205.8774C8.62288%205.45767%208.05369%205.22182%207.46017%205.22175C6.86664%205.22175%206.29742%205.45753%205.87774%205.87722C5.45805%206.29691%205.22227%206.86612%205.22227%207.45965C5.22227%208.05318%205.45805%208.62239%205.87774%209.04208C6.29742%209.46177%206.86664%209.69754%207.46017%209.69754H7.45965Z'%20fill='var(--fill-0,%20%23242129)'/%3e%3cg%20id='Rectangle%201'%3e%3c/g%3e%3c/g%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2013.7717%2013.7717'%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='M7.45965%201.24328L13.676%207.45965L7.45965%2013.676L1.24328%207.45965L7.45965%201.24328ZM7.45965%202.98386L11.9354%207.45965L7.45965%2011.9354L2.98386%207.45965L7.45965%202.98386ZM7.45965%209.69754C8.05318%209.69761%208.62242%209.4619%209.04216%209.04226C9.46189%208.62263%209.69773%208.05344%209.6978%207.45991C9.69787%206.86638%209.46216%206.29714%209.04252%205.8774C8.62288%205.45767%208.05369%205.22182%207.46017%205.22175C6.86664%205.22175%206.29742%205.45753%205.87774%205.87722C5.45805%206.29691%205.22227%206.86612%205.22227%207.45965C5.22227%208.05318%205.45805%208.62239%205.87774%209.04208C6.29742%209.46177%206.86664%209.69754%207.46017%209.69754H7.45965Z'%20fill='var(--fill-0,%20%23242129)'/%3e%3cg%20id='Rectangle%201'%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.ico-search{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2021.3333%2020.7151'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='search%20copy'%3e%3cg%20id='bounds'%3e%3c/g%3e%3cpath%20id='icon'%20d='M9.4032%203.45251C12.6323%203.45276%2015.2498%205.99465%2015.2499%209.13025C15.2499%2010.2591%2014.9095%2011.3103%2014.3245%2012.1943C14.3033%2012.2264%2014.3121%2012.2656%2014.3397%2012.2924L17.4296%2015.2924C17.8936%2015.743%2017.8935%2016.4735%2017.4296%2016.9242C16.9654%2017.3748%2016.213%2017.3748%2015.7489%2016.9242L12.6591%2013.9242C12.6315%2013.8974%2012.5925%2013.8886%2012.5598%2013.909C11.6491%2014.4775%2010.5654%2014.808%209.40222%2014.808C6.17313%2014.8077%203.55554%2012.2658%203.55554%209.13025C3.55556%205.99453%206.1739%203.45251%209.4032%203.45251ZM9.40222%205.42126C7.2926%205.42147%205.58291%207.08166%205.58289%209.13025C5.58289%2011.1788%207.29252%2012.84%209.40222%2012.8402C11.512%2012.8402%2013.2225%2011.1789%2013.2225%209.13025C13.2225%207.08159%2011.512%205.42126%209.40222%205.42126Z'%20fill='var(--fill-0,%20%23242129)'/%3e%3c/g%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2021.3333%2020.7151'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='search%20copy'%3e%3cg%20id='bounds'%3e%3c/g%3e%3cpath%20id='icon'%20d='M9.4032%203.45251C12.6323%203.45276%2015.2498%205.99465%2015.2499%209.13025C15.2499%2010.2591%2014.9095%2011.3103%2014.3245%2012.1943C14.3033%2012.2264%2014.3121%2012.2656%2014.3397%2012.2924L17.4296%2015.2924C17.8936%2015.743%2017.8935%2016.4735%2017.4296%2016.9242C16.9654%2017.3748%2016.213%2017.3748%2015.7489%2016.9242L12.6591%2013.9242C12.6315%2013.8974%2012.5925%2013.8886%2012.5598%2013.909C11.6491%2014.4775%2010.5654%2014.808%209.40222%2014.808C6.17313%2014.8077%203.55554%2012.2658%203.55554%209.13025C3.55556%205.99453%206.1739%203.45251%209.4032%203.45251ZM9.40222%205.42126C7.2926%205.42147%205.58291%207.08166%205.58289%209.13025C5.58289%2011.1788%207.29252%2012.84%209.40222%2012.8402C11.512%2012.8402%2013.2225%2011.1789%2013.2225%209.13025C13.2225%207.08159%2011.512%205.42126%209.40222%205.42126Z'%20fill='var(--fill-0,%20%23242129)'/%3e%3c/g%3e%3c/svg%3e")}.ico-eyewear{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2017.8%2019.5778'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group'%3e%3cpath%20id='Vector'%20d='M8.9%200.9V3.34444M12.9%2018.6778H16.9L15.1222%200.9H2.67778L0.900004%2018.6778H4.9L8.9%207.56667L12.9%2018.6778Z'%20stroke='var(--stroke-0,%20white)'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M5.78888%200.9C5.78888%200.9%205.78888%203.56667%204.89999%204.45556C4.0111%205.34444%202.18888%205.78889%202.18888%205.78889M12.0111%200.9C12.0111%200.9%2012.0111%203.56667%2012.9%204.45556C13.7889%205.34444%2015.6111%205.78889%2015.6111%205.78889'%20stroke='var(--stroke-0,%20white)'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2017.8%2019.5778'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group'%3e%3cpath%20id='Vector'%20d='M8.9%200.9V3.34444M12.9%2018.6778H16.9L15.1222%200.9H2.67778L0.900004%2018.6778H4.9L8.9%207.56667L12.9%2018.6778Z'%20stroke='var(--stroke-0,%20white)'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M5.78888%200.9C5.78888%200.9%205.78888%203.56667%204.89999%204.45556C4.0111%205.34444%202.18888%205.78889%202.18888%205.78889M12.0111%200.9C12.0111%200.9%2012.0111%203.56667%2012.9%204.45556C13.7889%205.34444%2015.6111%205.78889%2015.6111%205.78889'%20stroke='var(--stroke-0,%20white)'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e")}.ico-viewall{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Icon%20Right'%3e%3cpath%20id='Vector'%20d='M9.705%206L8.295%207.41L12.875%2012L8.295%2016.59L9.705%2018L15.705%2012L9.705%206Z'%20fill='var(--fill-0,%20%23691FA9)'/%3e%3c/g%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Icon%20Right'%3e%3cpath%20id='Vector'%20d='M9.705%206L8.295%207.41L12.875%2012L8.295%2016.59L9.705%2018L15.705%2012L9.705%206Z'%20fill='var(--fill-0,%20%23691FA9)'/%3e%3c/g%3e%3c/svg%3e");width:18px;height:18px}.subnav{position:sticky;top:92px;z-index:40;display:flex;align-items:center;gap:28px;height:66px;padding:0 40px;background:#fff;border-bottom:1px solid var(--line)}@media(max-width:768px){.subnav{top:64px}}.subnav__tabs{display:flex;gap:30px;height:100%}.subnav__tabs a{display:flex;align-items:center;height:100%;text-transform:uppercase;letter-spacing:.02em;font-size:14px;font-weight:700;color:var(--muted);border-bottom:3px solid transparent}.subnav__tabs a.active{color:var(--text);border-bottom-color:var(--text)}.subnav__search{margin-left:auto;flex:0 1 496px;display:flex;align-items:center;gap:10px;background:#0000000d;border:1px solid var(--line-strong);border-radius:var(--radius-pill);padding:0 16px;height:40px}.subnav__search input{border:0;outline:0;width:100%;font-size:15px;background:transparent;color:var(--text)}.subnav__search input::placeholder{color:var(--muted)}.subnav__search-ico{color:var(--muted)}.subnav__cart{position:relative;display:grid;place-items:center;width:40px;height:40px;background:var(--media);border-radius:var(--radius-btn);color:var(--text-2)}.subnav__cart .ico-cart{width:24px;height:24px}.subnav__cart-badge{position:absolute;top:-6px;right:-6px;background:var(--brand-violet);color:#fff;font-size:11px;font-weight:600;border-radius:999px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px}.page{padding:28px 40px 80px;max-width:1760px;margin:0 auto}.placeholder{color:var(--muted);font-size:18px;padding:40px 0}.page-loading{display:grid;place-items:center;min-height:46vh}.topnav-skeleton{position:fixed;top:0;left:0;right:0;height:92px;background:#16141a;z-index:50}@media(max-width:768px){.topnav-skeleton{height:64px}}.btn{border:0;border-radius:var(--radius-btn);padding:12px 22px;font-weight:700;font-size:15px;background:var(--black-btn);color:#fff;transition:background .15s ease,filter .15s ease,transform .12s ease}.btn:disabled{opacity:.55;cursor:default}.btn--purple{background:var(--amethyst);color:var(--soft-white);text-transform:uppercase;letter-spacing:.046em;font-size:13px}.btn--purple:hover:not(:disabled){background:var(--accent)}.btn--purple:active:not(:disabled){background:var(--accent);transform:translateY(1px)}.btn--outline{background:#fff;border:2px solid #c640cd;color:var(--accent);text-transform:uppercase;letter-spacing:.046em;font-size:13px;font-weight:600}.btn--outline:hover:not(:disabled){background:#c640cd0f}.btn--ghost{background:#fff;border:1px solid var(--line-strong);color:var(--text)}.btn--sm{padding:8px 12px;font-size:13px}.hero{border-radius:var(--radius-banner);overflow:hidden;margin-bottom:40px;min-height:304px;display:flex;align-items:center;background:radial-gradient(120% 120% at 85% 20%,rgba(163,255,60,.35),transparent 45%),linear-gradient(120deg,#14161b,#23262e 60%,#14161b)}.hero__inner{padding:0 56px}.hero__title{color:#fff;font-size:clamp(28px,4vw,36px);font-weight:700;text-transform:uppercase;line-height:1.235;margin-bottom:22px}.row{margin-bottom:52px}.row__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.row__title{font-size:20px;font-weight:600;color:var(--text)}.row__viewall{display:inline-flex;align-items:center;gap:4px;color:var(--accent);font-weight:600;font-size:15px;letter-spacing:.046em;text-transform:uppercase}.row__track{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.row__track>*{flex:0 0 220px;scroll-snap-align:start}.assets{display:grid;grid-template-columns:244px 1fr;gap:28px}@media(max-width:900px){.assets{grid-template-columns:1fr}}.filters{display:flex;flex-direction:column;gap:14px}.filters__panel{background:var(--panel);border-radius:var(--radius-lg, 14px);padding:16px 14px}.filters__all{background:none;border:0;font-weight:700;font-size:16px;padding:6px 8px}.filters__group{border-top:1px solid #ededed}.filters__group:first-of-type{border-top:0}.filters__group-head{width:100%;display:flex;align-items:center;justify-content:space-between;background:none;border:0;padding:12px 8px;font-weight:600;font-size:15px;color:var(--text)}.filters__group-head.is-active{color:var(--accent)}.filters__chev{color:var(--muted);font-size:12px}.filters__sub{list-style:none;margin:0 0 8px;padding:0 8px}.filters__sub li{padding:8px 6px;color:#555;font-size:14px}.filters__price{display:flex;align-items:center;justify-content:space-between;font-weight:600}.filters__credits{display:flex;align-items:center;justify-content:space-between;background:var(--rarity-bg);color:var(--accent);border-radius:12px;padding:12px 14px;font-weight:600}.toggle{width:34px;height:20px;border-radius:999px;background:#cbb8f2;position:relative}.toggle:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff}.assets__bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.assets__count{color:var(--muted);font-weight:600}.sortby{background:#fff;border:1px solid var(--line-strong);border-radius:var(--radius-btn);padding:10px 16px;font-weight:700;text-transform:uppercase;font-size:13px;letter-spacing:.03em}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}.browse{position:relative}.filterbar{position:sticky;top:158px;z-index:35;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;padding:12px 0 14px;margin-bottom:10px;box-shadow:0 10px 12px -12px #16151829}@media(max-width:768px){.filterbar{top:130px;flex-wrap:wrap}}.filterbar__filters,.filterbar__right{display:flex;align-items:center;gap:8px}.filterbar__item{position:relative}.filterbar__trigger,.filterbar__sort{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:8px 10px;border-radius:8px;color:#6b6873;font-weight:600;font-size:14px;white-space:nowrap}.filterbar__trigger:hover,.filterbar__sort:hover{background:#f5f4f7;color:#3f3c47}.filterbar__trigger.is-open,.filterbar__trigger.is-active,.filterbar__sort.is-open{color:#3f3c47}.filterbar__chev{font-size:11px}.filterbar__badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:700}.filterbar__clear{background:none;border:0;color:var(--accent);font-weight:600;font-size:13px;padding:8px 6px}.filterbar__count{color:var(--muted);font-weight:600;font-size:14px;white-space:nowrap}.filterbar__scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:34}.filter-pop{position:absolute;top:calc(100% + 8px);left:0;z-index:36;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #1615181f;padding:8px;animation:cart-pop-in .16s ease}.filter-pop--section{display:flex;gap:4px;min-width:340px}.filter-pop__cats,.filter-pop__subs{list-style:none;margin:0;padding:0;flex:1}.filter-pop__subs{border-left:1px solid var(--line);padding-left:4px;max-height:300px;overflow-y:auto}.filter-pop__cat,.filter-pop__sub,.filter-pop__sort{width:100%;text-align:left;background:none;border:0;padding:9px 12px;border-radius:8px;font-size:14px;color:var(--text);cursor:pointer}.filter-pop__cat:hover,.filter-pop__sub:hover,.filter-pop__sort:hover{background:#f5f4f7}.filter-pop__cat.is-active,.filter-pop__sub.is-active,.filter-pop__sort.is-active{color:var(--accent);font-weight:700;background:var(--rarity-bg)}.filter-pop--rarity{display:grid;grid-template-columns:1fr 1fr;gap:2px;min-width:250px}.filter-pop__check{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;font-size:14px;text-transform:capitalize;cursor:pointer}.filter-pop__check:hover{background:#f5f4f7}.filter-pop__check input{accent-color:var(--accent);width:15px;height:15px}.filter-pop--price{min-width:240px;padding:12px}.filter-pop__price-row{display:flex;align-items:center;gap:8px}.filter-pop__price-row input{width:100%;border:1px solid var(--line-strong);border-radius:10px;padding:8px 10px;font-size:14px}.filter-pop__price-row input:focus{outline:0;border-color:var(--accent)}.filter-pop__price-row input::-webkit-outer-spin-button,.filter-pop__price-row input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.filter-pop__hint{margin:8px 2px 0;color:var(--muted);font-size:12px}.filter-pop--sort{right:0;left:auto;min-width:220px}.card{background:#fff;border-radius:var(--radius-card);overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column;transition:box-shadow .15s ease,transform .15s ease}.card--hover{box-shadow:0 12px 28px #1615181a;transform:translateY(-3px)}.card--skeleton,.asset-card--skeleton{min-height:300px;border:1px solid var(--line);border-radius:var(--radius-card);background:linear-gradient(100deg,#efeef2 30%,#e2e0e7,#efeef2 70%);background-size:200% 100%;animation:shimmer 1.4s infinite linear}.asset-card--skeleton{min-height:260px;border-radius:12px}@keyframes shimmer{to{background-position:-200% 0}}.load-more{display:flex;justify-content:center;padding:28px 0 8px}.load-more .btn{min-width:160px}.spinner{width:30px;height:30px;margin-top:14px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.card--skeleton,.asset-card--skeleton{animation:none}.spinner{animation-duration:2s}}.card__media{position:relative;aspect-ratio:1 / 1;background:var(--media);overflow:hidden}.card__img{width:100%;height:100%;object-fit:contain;display:block;transition:opacity .25s ease}.card__img--hidden{opacity:0}.card__preview{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.card__preview iframe{width:100%;height:100%;border:0;display:block;opacity:0;transition:opacity .3s ease}.card__preview.is-ready iframe{opacity:1}@media(prefers-reduced-motion:reduce){.card__preview iframe{transition:none}}.card__preview-shield{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;cursor:pointer}.card__loadbar{position:absolute;left:0;right:0;bottom:0;height:3px;z-index:3;overflow:hidden;background:#691fa91f;pointer-events:none}.card__loadbar:before{content:"";position:absolute;top:0;left:0;height:100%;width:40%;background:var(--accent);border-radius:3px;animation:loadbar 1.1s infinite ease-in-out}@keyframes loadbar{0%{transform:translate(-110%)}to{transform:translate(360%)}}@media(prefers-reduced-motion:reduce){.card__loadbar:before{animation:none;width:100%;opacity:.5}}.card__fav{position:absolute;top:10px;right:10px;z-index:4;width:32px;height:32px;border-radius:50%;border:0;background:#ffffffd9;display:grid;place-items:center;color:var(--text)}.card__fav .ico-heart{width:18px;height:18px}.card__fav.is-on{color:var(--dcl-red)}.card__body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px}.card__name{font-weight:600;font-size:15px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card__creator{color:var(--muted);font-size:12px;margin-bottom:6px}.card__meta{display:flex;flex-direction:column;gap:8px}.card__price{display:flex;align-items:center;gap:6px;font-weight:600;font-size:16px;color:var(--text-2)}.card__diamond{width:15px;height:15px;color:var(--text-2)}.card__chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;font-size:11px;font-weight:700;border-radius:var(--radius-chip);padding:3px 8px;background:var(--chip);color:#555}.chip--rarity{background:var(--rarity-bg);color:var(--rarity);text-transform:uppercase;letter-spacing:.02em}.chip--icon{padding:3px 6px;font-size:13px}.chip--icon .ico{width:14px;height:14px;color:#444}.card__cart{margin-top:4px;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--black-btn);color:var(--soft-white);border:0;border-radius:var(--radius-btn);height:40px;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.046em;transition:background .15s ease}.card__cart:hover:not(:disabled){background:#43404a}.card__cart.is-in,.card__cart:disabled{background:#43404a;opacity:1;cursor:default}.card__cart-ico{width:20px;height:20px}.price-was{color:var(--muted);text-decoration:line-through;font-weight:600}.save-badge{display:inline-flex;align-items:center;background:#1a8f4c1f;color:#1a8f4c;font-weight:700;font-size:12px;border-radius:6px;padding:2px 8px;white-space:nowrap}.market-banner{display:flex;align-items:center;gap:10px;background:var(--rarity-bg);color:var(--accent);border-radius:12px;padding:12px 16px;margin-bottom:14px;font-weight:600;font-size:14px}.market-banner__ico{font-size:15px}.market-banner--warn{background:#d333331a;color:var(--err)}.card__price--market{flex-wrap:wrap;gap:8px}.card__approx{font-weight:700;color:var(--muted)}.card__market-chip{background:var(--rarity-bg);color:var(--accent);font-size:10px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.mkt-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:20px}.mkt-modal__scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#16151873}.mkt-modal__card{position:relative;z-index:1;width:100%;max-width:420px;background:#fff;border-radius:var(--radius-banner);padding:24px;box-shadow:0 24px 60px #16151847;animation:cart-pop-in .16s ease}.mkt-modal__head{display:flex;align-items:center;gap:14px;margin-bottom:18px}.mkt-modal__thumb{width:64px;height:64px;flex:none;border-radius:12px;overflow:hidden;background:var(--media)}.mkt-modal__thumb img{width:100%;height:100%;object-fit:contain}.mkt-modal__name{font-weight:700;font-size:16px;color:var(--text);margin-bottom:6px}.mkt-modal__price{background:var(--panel);border-radius:14px;padding:16px;margin-bottom:14px}.mkt-modal__price-label{color:var(--muted);font-size:13px;font-weight:600;margin-bottom:6px}.mkt-modal__price-value{display:flex;align-items:center;gap:8px;font-weight:700;font-size:24px;color:var(--text)}.mkt-modal__price-value--approx{color:var(--text-2)}.mkt-modal__approx{color:var(--muted)}.mkt-modal__diamond{width:20px;height:20px;color:var(--accent)}.mkt-modal__price-sub{margin-top:6px;font-size:13px}.mkt-modal__balance{font-size:13px;margin-bottom:6px}.mkt-modal__note{margin:6px 0 0;font-size:13px}.mkt-modal__actions{display:flex;gap:10px;margin-top:18px}.mkt-modal__actions .btn{flex:1}.myassets__head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px}.connect-row{display:flex;gap:12px;margin-top:12px}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-top:20px}.asset-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px}.asset-card__img{aspect-ratio:1;background:var(--media);border-radius:8px;display:grid;place-items:center;overflow:hidden}.asset-card__img img{width:100%;height:100%;object-fit:contain}.asset-card__name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{font-size:12px;color:var(--ok);border:1px solid var(--ok);border-radius:999px;padding:3px 10px}.asset-card__listed{display:flex;align-items:center;justify-content:space-between;gap:8px}.asset-card__price{font-weight:800;font-size:16px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:grid;place-items:center;z-index:100}.modal{background:#fff;border-radius:var(--radius-card);padding:24px;width:min(420px,92vw);display:flex;flex-direction:column;gap:12px}.modal__title{font-size:20px}.modal__img{width:140px;height:140px;object-fit:contain;align-self:center;background:var(--media);border-radius:10px}.field{display:flex;flex-direction:column;gap:6px;font-size:14px}.field input{background:#fff;border:1px solid var(--line-strong);border-radius:8px;padding:10px 12px;color:var(--text);font:inherit}.modal__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.cart{max-width:920px}.cart--empty{color:var(--muted);font-size:18px;padding:60px 0}.cart__list{display:flex;flex-direction:column;gap:12px;margin:20px 0}.cart__row{display:grid;grid-template-columns:64px 1fr auto auto;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px}.cart__thumb{width:64px;height:64px;background:var(--media);border-radius:8px;overflow:hidden}.cart__thumb img{width:100%;height:100%;object-fit:contain}.cart__name{font-weight:700}.cart__price{font-weight:800}.cart__foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px}.cart__total{font-size:18px}.cart__total strong{font-size:22px;margin-left:8px}.cart__actions{display:flex;gap:12px;align-items:center}.cart__actions .btn{text-decoration:none}.subnav__credits{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:var(--radius-btn);background:var(--rarity-bg);color:var(--accent);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.subnav__credits.active{background:var(--accent);color:#fff}.subnav__credits-ico{width:16px;height:16px}@media(max-width:768px){.subnav__credits{display:none}}.subnav__balance{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:var(--radius-btn);background:var(--media, #ecebed);color:#242129;font-weight:800;font-size:14px;white-space:nowrap}.subnav__balance-ico{width:16px;height:16px}.cart__balance{margin-top:4px}.getcredits{max-width:840px;margin:0 auto}.getcredits__head{text-align:center;margin-bottom:32px}.getcredits__title{font-size:28px;font-weight:700;margin-bottom:6px}.packs{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px}.pack{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);padding:28px 16px 20px;cursor:pointer;text-align:center;transition:box-shadow .15s ease,transform .15s ease,border-color .15s ease}.pack:hover{transform:translateY(-2px);box-shadow:0 8px 24px #00000014;border-color:var(--line-strong)}.pack:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.pack--best{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.pack__ribbon{position:absolute;top:-10px;left:50%;transform:translate(-50%);background:var(--amethyst);color:#fff;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:4px 12px;border-radius:999px;white-space:nowrap}.pack__credits{display:inline-flex;align-items:center;gap:4px;font-size:26px;font-weight:800;color:var(--text)}.pack__credits-ico{width:20px;height:20px;color:var(--accent)}.pack__label{color:var(--muted);font-size:13px;text-transform:lowercase}.pack__price{margin-top:8px;font-size:20px;font-weight:700;color:var(--text-2)}.pack__cta{margin-top:14px;width:100%;padding:10px 0;border-radius:var(--radius-btn);background:var(--black-btn);color:var(--soft-white);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.046em}.pack--best .pack__cta{background:var(--accent)}.pay{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:start}@media(max-width:720px){.pay{grid-template-columns:1fr}}.pay__summary{display:flex;flex-direction:column;gap:14px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-card);padding:20px}.pay__summary-row{display:flex;align-items:center;justify-content:space-between;color:var(--muted)}.pay__summary-row strong{color:var(--text);font-size:16px}.pay__summary-row--total{border-top:1px solid var(--line);padding-top:14px}.pay__summary-row--total strong{font-size:22px}.pay__form{background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);padding:24px;min-height:220px}.card-form{display:flex;flex-direction:column;gap:14px}.card-form__note{margin:0}.card-form__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card-form__pay{margin-top:6px;padding:14px;font-size:14px}.stripe-embed{min-height:320px}.getcredits__status{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:48px 24px}.getcredits__status-title{font-size:20px;font-weight:700;margin:6px 0 0}.getcredits__status-actions{display:flex;gap:12px;margin-top:16px}.getcredits__status-actions .btn{text-decoration:none}.getcredits__confetti{font-size:48px;line-height:1}.getcredits__status--ok strong{color:var(--accent);font-size:20px}.success{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;max-width:1080px;margin:0 auto;padding:32px 24px;min-height:72vh}.success__preview{height:min(560px,68vh);background:var(--media, #ecebed);border-radius:var(--radius-card, 16px);overflow:hidden;position:relative}.success__preview iframe,.success__preview>*{width:100%;height:100%;border:0;display:block}.success__title{font-size:clamp(30px,4vw,42px);font-weight:800;letter-spacing:-.02em;margin:20px 0 8px}.success__sub{font-size:18px;color:#4b4b57;margin:0 0 22px}.success__list{margin:0 0 22px;padding-left:18px;color:#4b4b57;line-height:1.7}.success__links{display:flex;gap:18px;justify-content:center;margin:0 0 20px}.success__receipt{display:inline-block;margin:0;color:var(--accent);font-weight:600;font-size:14px;background:none;border:0;padding:0;cursor:pointer;text-decoration:none}.notfound{min-height:52vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px}.notfound__ico{width:44px;height:44px;opacity:.4}.notfound__title{font-size:24px}.success__actions{display:flex;gap:12px;flex-wrap:wrap}.success__actions .btn{min-width:160px;text-align:center;text-decoration:none}@media(max-width:820px){.success{grid-template-columns:1fr;gap:24px;text-align:center}.success__actions{justify-content:center}}.success-anim{position:relative;width:92px;height:92px}.success-anim__svg{width:92px;height:92px;animation:sa-pop .45s ease}.success-anim__ring{fill:none;stroke:#2bb673;stroke-width:6;stroke-linecap:round;stroke-dasharray:339;stroke-dashoffset:339;animation:sa-draw .6s ease forwards}.success-anim__check{fill:none;stroke:#2bb673;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:80;stroke-dashoffset:80;animation:sa-draw .4s .5s ease forwards}@keyframes sa-draw{to{stroke-dashoffset:0}}@keyframes sa-pop{0%{transform:scale(.85)}60%{transform:scale(1.04)}to{transform:scale(1)}}.success-anim__spark{position:absolute;opacity:0;font-size:16px;color:var(--accent, #691fa9);animation:sa-spark .8s .6s ease forwards}.success-anim__spark--1{top:-4px;left:6px}.success-anim__spark--2{top:2px;right:-8px;color:var(--cart-badge, #a524b3)}.success-anim__spark--3{bottom:-2px;left:-4px}.success-anim__spark--4{bottom:8px;right:4px;color:var(--cart-badge, #a524b3)}@keyframes sa-spark{0%{opacity:0;transform:scale(.3)}55%{opacity:1}to{opacity:0;transform:scale(1.2) translateY(-10px)}}@media(prefers-reduced-motion:reduce){.success-anim__ring,.success-anim__check,.success-anim__svg,.success-anim__spark{animation:none}.success-anim__ring,.success-anim__check{stroke-dashoffset:0}}.subnav__cart-wrap{position:relative}.cart-pop{position:absolute;top:calc(100% + 12px);right:0;z-index:60;width:320px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card, 12px);box-shadow:0 14px 36px #14141e2e;padding:14px;animation:cart-pop-in .18s ease}.cart-pop:before{content:"";position:absolute;top:-6px;right:14px;width:12px;height:12px;background:#fff;border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}@keyframes cart-pop-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.cart-pop__head{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;margin-bottom:12px}.cart-pop__head .ico-cart{width:18px;height:18px}.cart-pop__list{display:flex;flex-direction:column;gap:10px;max-height:264px;overflow-y:auto}.cart-pop__row{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center}.cart-pop__thumb{width:40px;height:40px;border-radius:8px;background:var(--media);overflow:hidden}.cart-pop__thumb img{width:100%;height:100%;object-fit:cover}.cart-pop__name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-pop__price{font-size:13px;font-weight:700}.cart-pop__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.cart-pop__total{font-size:13px;color:var(--muted)}.cart-upsell{margin-top:44px}.cart-upsell__title{font-size:18px;font-weight:700;margin-bottom:14px}.cart-upsell__row{display:flex;gap:14px;overflow-x:auto;padding-bottom:6px}.cart-upsell__card{flex:0 0 150px;border:1px solid var(--line);border-radius:var(--radius-card, 12px);padding:10px}.cart-upsell__thumb{aspect-ratio:1 / 1;background:var(--media);border-radius:8px;overflow:hidden;margin-bottom:8px}.cart-upsell__thumb img{width:100%;height:100%;object-fit:cover}.cart-upsell__name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-upsell__price{font-size:14px;font-weight:700;margin:4px 0 8px}.cart-upsell__add{width:100%}.overview__empty{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:80px 20px}.overview__empty-title{font-size:22px;font-weight:700;margin:0}.overview__empty .btn{margin-top:10px;text-decoration:none}.cart--empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:90px 20px;min-height:50vh}.cart-empty__ico{width:44px;height:44px;color:var(--muted-2)}.cart-empty__title{font-size:22px;font-weight:700;margin:6px 0 0}.cart--empty .btn{margin-top:12px;text-decoration:none}.card__preview-spin{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;z-index:2}.filters__panel-title{font-weight:700;font-size:14px;margin:0 2px 10px}.filters__sub{list-style:none;margin:0 0 8px;padding:0 4px}.filters__sub-item{background:none;border:0;padding:7px 8px;color:#555;font-size:14px;text-align:left;width:100%;border-radius:6px;cursor:pointer}.filters__sub-item:hover{background:#0000000a}.filters__sub-item.is-active{color:var(--accent);font-weight:700;background:var(--rarity-bg)}.filters__rarities{display:flex;flex-wrap:wrap;gap:6px}.rarity-pill{text-transform:capitalize;font-size:12px;font-weight:600;padding:5px 11px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer}.rarity-pill.is-on{background:var(--rarity-bg);color:var(--accent);border-color:transparent}.filters__price-inputs{display:flex;align-items:center;gap:8px}.filters__price-inputs input{width:100%;border:1px solid var(--line-strong);border-radius:8px;padding:8px 10px;font-size:14px}.filters__price-inputs input::-webkit-outer-spin-button,.filters__price-inputs input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.toggle.is-on{background:var(--accent)}.sortby-wrap{position:relative}.sortby-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:30;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 28px #14141e24;padding:6px;min-width:200px}.sortby-menu button{display:block;width:100%;text-align:left;background:none;border:0;padding:9px 12px;border-radius:7px;font-size:14px;color:var(--text);cursor:pointer}.sortby-menu button:hover{background:#0000000d}.sortby-menu button.is-active{color:var(--accent);font-weight:700}.favorites__head{display:flex;align-items:baseline;gap:12px;margin-bottom:20px}.favorites__count{color:var(--muted);font-size:14px}.favorites-empty{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:90px 20px;min-height:50vh}.favorites-empty__ico{width:40px;height:40px;color:var(--muted-2)}.favorites-empty__title{font-size:22px;font-weight:700;margin:6px 0 0}.favorites-empty .btn{margin-top:12px;text-decoration:none}.purchases__head{display:flex;align-items:baseline;gap:12px;margin-bottom:20px}.purchases__count{color:var(--muted);font-size:14px}.purchases__list{display:flex;flex-direction:column;gap:10px;max-width:760px}.purchase{display:grid;grid-template-columns:56px 1fr auto auto;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;text-decoration:none;color:var(--text);transition:box-shadow .15s,transform .15s}a.purchase:hover{box-shadow:0 8px 22px #14141e1a;transform:translateY(-1px)}.purchase__thumb{width:56px;height:56px;border-radius:10px;background:var(--media, #f2f0f7);overflow:hidden;display:flex;align-items:center;justify-content:center}.purchase__thumb img{width:100%;height:100%;object-fit:contain}.purchase__info{min-width:0}.purchase__name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.purchase__date{font-size:13px;margin-top:2px}.purchase__badge{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;padding:4px 10px;border-radius:999px;white-space:nowrap}.purchase__badge--done{background:#2ea05a24;color:#1f8a4c}.purchase__badge--pending{background:#f5a62329;color:#b5790a}.purchase__price{font-weight:800;white-space:nowrap}.purchase--skeleton{display:block;height:82px;border-color:transparent;background:linear-gradient(100deg,#ededed 30%,#f7f7f7,#ededed 70%);background-size:200% 100%;animation:shimmer 1.3s infinite linear}.purchases-empty{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:90px 20px;min-height:50vh}.purchases-empty__ico{width:40px;height:40px;color:var(--muted-2)}.purchases-empty__title{font-size:22px;font-weight:700;margin:6px 0 0}.purchases-empty .btn{margin-top:12px;text-decoration:none}.toaster{position:fixed;top:18px;right:18px;z-index:1000;display:flex;flex-direction:column;gap:10px;max-width:min(92vw,380px)}.toast{display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:12px;background:#fff;color:var(--text);box-shadow:0 12px 32px #14141e2e;cursor:pointer;border-left:4px solid var(--accent);animation:toast-in .28s cubic-bezier(.2,.9,.3,1.2)}.toast__icon{flex:0 0 22px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:13px;background:var(--accent)}.toast__msg{font-size:14px;font-weight:600;line-height:1.35}.toast--success{border-left-color:#1f8a4c}.toast--success .toast__icon{background:#1f8a4c}.toast--error{border-left-color:#d64545}.toast--error .toast__icon{background:#d64545}.toast--info{border-left-color:var(--accent)}@keyframes toast-in{0%{opacity:0;transform:translate(24px) scale(.96)}to{opacity:1;transform:translate(0) scale(1)}}@media(prefers-reduced-motion:reduce){.toast{animation:none}}.modal--success{text-align:center;align-items:center}.modal-success__check{width:56px;height:56px;border-radius:50%;background:#1f8a4c;color:#fff;font-size:30px;font-weight:800;display:grid;place-items:center;margin:4px auto 2px;animation:pop-in .32s cubic-bezier(.2,.9,.3,1.4)}.modal-success__name{font-weight:700;font-size:16px;margin:2px 0 0}.modal--success .modal__actions{justify-content:center;width:100%}@keyframes pop-in{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.modal-success__check{animation:none}}.creator{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;min-width:0}.creator--link{background:none;border:0;padding:0;margin:0;font:inherit;cursor:pointer;max-width:100%}.creator--link:hover .creator__name{color:var(--text);text-decoration:underline}.creator__ava{width:18px;height:18px;border-radius:50%;object-fit:cover;flex:none;background:var(--media)}.creator__ava--ph{background:linear-gradient(135deg,var(--rarity-bg),var(--media))}.creator__name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card__creator.creator{margin-bottom:6px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{z as r}from"./index-CB1SUuBM.js";var e=r();export{e as n};
|