@dcl/shop 1.0.2-31055297774.commit-b808071 → 1.0.2-31061952187.commit-8d8b09e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_assets/{Activity-BGVAnqbp.js → Activity-D_fQdZon.js} +8 -8
- package/_assets/{AnimatedBackground-BacIzfr9.js → AnimatedBackground-C9W4RBcZ.js} +1 -1
- package/_assets/{Assets-Bs3sIn09.js → Assets-CvZql_4R.js} +10 -9
- package/_assets/{Assets.styles-CkO8eYMZ.js → Assets.styles-BBWJCcMx.js} +1 -1
- package/_assets/Authorizations-DVwQ95Ww.js +191 -0
- package/_assets/{Cart-CfbLgf8G.js → Cart-CBLHJRVj.js} +6 -6
- package/_assets/{CircularProgress-1YXgiQtT.js → CircularProgress-D09608yv.js} +1 -1
- package/_assets/{Collection-DKA_h7HO.js → Collection-DllncUVv.js} +10 -10
- package/_assets/{CollectionCarousel-COMBJtj4.js → CollectionCarousel-B9HmGuVb.js} +6 -6
- package/_assets/{Confetti-BSUE6v15.js → Confetti-Dl6FT7nL.js} +1 -1
- package/_assets/{Creator-Chfg4XCW.js → Creator-BreBnKPX.js} +5 -5
- package/_assets/{ErrorNotice-aOead5te.js → ErrorNotice-OUNK486K.js} +1 -1
- package/_assets/{ExchangeController-D9wO5y3j.js → ExchangeController-Cp3qbfAM.js} +1 -1
- package/_assets/{Faq-BUcIgNDP.js → Faq-DXtTtsuA.js} +1 -1
- package/_assets/{GetCredits-BLECOB-N.js → GetCredits-BhRNCaTG.js} +10 -10
- package/_assets/{Grow-zqUJtnL7.js → Grow-DXdR0gI9.js} +1 -1
- package/_assets/{HelpersUtil-BrmwLkkp.js → HelpersUtil-rQp5uDAx.js} +1 -1
- package/_assets/{ItemDetail-B2vKg-9Z.js → ItemDetail-clRbfaLQ.js} +241 -236
- package/_assets/LazyEmoteControls-B7UYn8xk.js +2 -0
- package/_assets/{LoadMore-Cy9OoEJz.js → LoadMore-jSNRJiwZ.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-B9-hTa3D.js → ManaPricingBanner.styles-vDUAKLLe.js} +1 -1
- package/_assets/{MyAssets-CHgc1ZcI.js → MyAssets-CsWhc-qa.js} +4 -4
- package/_assets/{MyFavorites-DWo1mliw.js → MyFavorites-BLrz2vwY.js} +1 -1
- package/_assets/NotFound-DP4nosOd.js +17 -0
- package/_assets/{NotificationsBell-Cg5PqU4H.js → NotificationsBell-ARziPv8W.js} +1 -1
- package/_assets/OutfitDetail-CLmuEgB3.js +374 -0
- package/_assets/{OutfitPreview-IPt5zFQ2.js → OutfitPreview-PWdXvCaE.js} +2 -2
- package/_assets/OutfitStudio-Cx3Xm6ff.js +556 -0
- package/_assets/StoreSettings-BQtEgWRm.js +243 -0
- package/_assets/{Success-B_ZedKxN.js → Success-BWfI3_Mu.js} +1 -1
- package/_assets/{SwapController-DEl6q4-5.js → SwapController-Bf58lQ6b.js} +1 -1
- package/_assets/{Tooltip-CfAbMWhJ.js → Tooltip-BDmKiALz.js} +1 -1
- package/_assets/{TradeService-DCGCUpYo.js → TradeService-Yecm1OxI.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-BEUP6hLZ.js → W3MFrameProviderSingleton-BQyeyr-U.js} +3 -3
- package/_assets/{WebCryptoP256-2ShtCeVF.js → WebCryptoP256-Ou_F2OJp.js} +1 -1
- package/_assets/{authorizations-B17B7Njo.js → authorizations-B3AvOvOm.js} +1 -1
- package/_assets/{basic-Dr3bEQfu.js → basic-DTDRwam-.js} +1 -1
- package/_assets/{biconomy-3Y8X7VlC.js → biconomy-DaLi1O64.js} +1 -1
- package/_assets/{builder-jjuFCu3k.js → builder-DxumJmKw.js} +1 -1
- package/_assets/{buy-wdud8pnf.js → buy-BHkfYJLe.js} +1 -1
- package/_assets/{buy-gasless-DoSh-tFa.js → buy-gasless-BfTEWjT9.js} +1 -1
- package/_assets/{categories-DGIg36Oc.js → categories-D23W_J-A.js} +1 -1
- package/_assets/{ccip-BKrghWQj.js → ccip-DGVhZCZ4.js} +1 -1
- package/_assets/{ccip-CXCfMVYe.js → ccip-qhHiv1gU.js} +1 -1
- package/_assets/{collectionPage.styles-DwFPJPce.js → collectionPage.styles-CoEdrsfq.js} +3 -3
- package/_assets/{controller-DdgkWKgL.js → controller-DGtmLk4f.js} +2 -2
- package/_assets/{core-C8S2mN1s.js → core-BAqS3vu7.js} +4 -4
- package/_assets/{createSvgIcon-Cg8ZliIm.js → createSvgIcon-Bm9nxGqG.js} +2 -2
- package/_assets/{custom-X9wHG9wg.js → custom-MaGTnz7S.js} +1 -1
- package/_assets/{data-capture-BgPNXS18.js → data-capture-5Vi1cyBa.js} +1 -1
- package/_assets/{email-BGdZRw8p.js → email-BG6hRXMo.js} +1 -1
- package/_assets/{embedded-wallet-CqIU9APg.js → embedded-wallet-CfnknCH8.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-DZbIWeAZ.js → emotion-styled.browser.esm-CoxAZUrJ.js} +1 -1
- package/_assets/{engine-CBG8_pF-.js → engine-nQGCV50K.js} +1 -1
- package/_assets/{errors-BruxKfZB.js → errors-DZ_QWsza.js} +1 -1
- package/_assets/{estimate-l1-fee-k3exg7PR.js → estimate-l1-fee-CVpJ9ym5.js} +1 -1
- package/_assets/{execute-RjH3kC63.js → execute-DFvUDrLY.js} +2 -2
- package/_assets/{features-BnDZm8if.js → features-BXUedULM.js} +1 -1
- package/_assets/{fetchTokenMetadata-CdUuHqIj.js → fetchTokenMetadata-CkQcnzmO.js} +2 -2
- package/_assets/{field.styles-l0zobCFG.js → field.styles-PE4ZasC2.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-DALoL3Hc.js → get-ecosystem-wallet-info-CRLH8I6C.js} +1 -1
- package/_assets/{getBalance-CefhuKko.js → getBalance-CiV48JsZ.js} +1 -1
- package/_assets/{getNFT-D-L5zgdP.js → getNFT-C3ucNb89.js} +1 -1
- package/_assets/{getNFT-nev9rcin.js → getNFT-CV3N9TTA.js} +1 -1
- package/_assets/{grid.styles-DhFwhKRo.js → grid.styles-hOZTJ80g.js} +1 -1
- package/_assets/{hashTypedData-BEKwcmlS.js → hashTypedData-BtF2J233.js} +1 -1
- package/_assets/{hashTypedData-li6aoa3o.js → hashTypedData-gTABcRB5.js} +1 -1
- package/_assets/{in-app-DUJu2O6v.js → in-app-CSDr4Blb.js} +1 -1
- package/_assets/{in-app-wallet-calls-C9Jxi05O.js → in-app-wallet-calls-Crivl9zc.js} +1 -1
- package/_assets/{index-CvPkDtGf.js → index-1oceTWwb.js} +3 -3
- package/_assets/{index-1--tLqz8.js → index-9_4ZEs3N.js} +1 -1
- package/_assets/{index-Dd4KtrAw.js → index-9x1mGBeU.js} +1 -1
- package/_assets/{index-CE124P9G.js → index-BBbwMaBz.js} +1 -1
- package/_assets/{index-d570G5B7.js → index-BNBzDf6z.js} +1 -1
- package/_assets/{index-dr6fXYBx.js → index-BTDIKmoC.js} +1 -1
- package/_assets/{index-CV1_E3wb.js → index-Bg_gOSx_.js} +1 -1
- package/_assets/{index-DU9MjygG.js → index-BniGBCAO.js} +1 -1
- package/_assets/{index-Dar3bPlr.js → index-Bs4LvV4K.js} +2 -2
- package/_assets/{index-ChBwA1h2.js → index-C0pcaEQl.js} +1 -1
- package/_assets/{index-CpjzOH1b.js → index-C23D_vyT.js} +1 -1
- package/_assets/{index-vQ65olfe.js → index-C5Evg5sh.js} +1 -1
- package/_assets/{index-3PUZ8U0R.js → index-C7hpB9s1.js} +3 -3
- package/_assets/{index-BAyG95nG.js → index-CGBg3yUz.js} +11 -11
- package/_assets/{index-DAnXL5-b.js → index-CHf7lsmp.js} +1 -1
- package/_assets/{index-CkF3QZy9.js → index-CHolIX6U.js} +1 -1
- package/_assets/{index-CTfBCyyR.js → index-CKUuopSw.js} +319 -315
- package/_assets/{index-CVqec2h5.js → index-CS27am7J.js} +1 -1
- package/_assets/{index-CFEHIoaL.js → index-Cf-gi-Qq.js} +1 -1
- package/_assets/{index-BwjISY1Q.js → index-CkGO7qOd.js} +1 -1
- package/_assets/{index-DecRfVMx.js → index-ClUPCoEW.js} +1 -1
- package/_assets/{index-DjqUHVKK.js → index-CmY0V0eX.js} +1 -1
- package/_assets/{index-syneNMGM.js → index-CvwosU6Y.js} +1 -1
- package/_assets/{index-5uftLGuI.js → index-CwRTjZPC.js} +3 -3
- package/_assets/{index-n49vue3k.js → index-CyRHowbs.js} +1 -1
- package/_assets/{index-JG0FDNiP.js → index-D5eMvKb_.js} +1 -1
- package/_assets/{index-BfqVu35d.js → index-D769FdFr.js} +1 -1
- package/_assets/{index-1wf8L6YU.js → index-D7LYoLo4.js} +1 -1
- package/_assets/{index-HaAGk4bQ.js → index-DKHMu0o3.js} +1 -1
- package/_assets/{index-AKUvJK7K.js → index-DKdQUEzy.js} +1 -1
- package/_assets/{index-Ctoo8CLR.js → index-DLFQdlEW.js} +1 -1
- package/_assets/{index-DrWim4p_.js → index-DSuiX4WG.js} +1 -1
- package/_assets/{index-DDLK5XSq.js → index-DXRL-4ld.js} +1 -1
- package/_assets/{index-1nKs4-Ix.js → index-DY1xBku2.js} +1 -1
- package/_assets/{index-z7leYudl.js → index-DdmULNRk.js} +2 -2
- package/_assets/{index-Bl-qZqD6.js → index-DgOiZShm.js} +1 -1
- package/_assets/{index-C2_mL_dX.js → index-Dh85kccn.js} +1 -1
- package/_assets/{index-WSwhnTRZ.js → index-DjTNPtj2.js} +1 -1
- package/_assets/{index-DXWzE47h.js → index-DkV5TYom.js} +1 -1
- package/_assets/{index-BlmfBcG1.js → index-DnJJn52L.js} +1 -1
- package/_assets/{index-Xuxrb8Q0.js → index-DoGz07sk.js} +1 -1
- package/_assets/{index-B2O7gZoQ.js → index-Dp2641E3.js} +1 -1
- package/_assets/{index-DWiRe-sp.js → index-DwX-9Zo4.js} +1 -1
- package/_assets/{index-3_UdO-zA.js → index-EKmmXx1j.js} +1 -1
- package/_assets/{index-DbrCcWJ3.js → index-HAEoS9R6.js} +1 -1
- package/_assets/{index-BXykQ7Kr.js → index-ItjVcw1b.js} +1 -1
- package/_assets/{index-zDqeLkyG.js → index-KWEbYeSY.js} +1 -1
- package/_assets/{index-C7AFAxAx.js → index-S0X-BG2b.js} +1 -1
- package/_assets/{index-BOgrc04A.js → index-UyXkCiLs.js} +1 -1
- package/_assets/{index-BBNLswz5.js → index-hKv-BpxY.js} +1 -1
- package/_assets/{index-DoVK9CTx.js → index-qGMuaBIs.js} +1 -1
- package/_assets/{index-D-wVNkf3.js → index-wRmEiTlP.js} +2 -2
- package/_assets/{index.es-CE2sG7i4.js → index.es-DnMGDxtr.js} +1 -1
- package/_assets/{index.es-DbgkC7jp.js → index.es-g_bB-nFv.js} +1 -1
- package/_assets/{index.es-yWYRmppU.js → index.es-wpL2Ycto.js} +4 -4
- package/_assets/{localBatchGatewayRequest-VK-lqBeb.js → localBatchGatewayRequest-DtELSHiE.js} +1 -1
- package/_assets/{networks-DlOv_Jl5.js → networks-ZmRqsvV6.js} +1 -1
- package/_assets/{onramp-15oxC79b.js → onramp-Bffl3qa3.js} +1 -1
- package/_assets/{openzeppelin-BpuVaBDh.js → openzeppelin-BmH-LNci.js} +1 -1
- package/_assets/{parseNft-D06uX5gG.js → parseNft-PSjb4qKi.js} +2 -2
- package/_assets/{parseSignature-CnSs3XPr.js → parseSignature-D947kFfv.js} +3 -3
- package/_assets/{parseSignature-DGgCDYUH.js → parseSignature-IigTmAp7.js} +1 -1
- package/_assets/{passkeys-B8jZMST_.js → passkeys-BsJVcpuM.js} +1 -1
- package/_assets/{pay-with-exchange-DzV0qz9m.js → pay-with-exchange-CU_HZd9F.js} +1 -1
- package/_assets/{qr-overlay-FhG6DCeK.js → qr-overlay-EMShc5uE.js} +1 -1
- package/_assets/{receive-Bf8iJtVw.js → receive-CO6WElZa.js} +1 -1
- package/_assets/{resolveImplementation-DdV3P3Xk.js → resolveImplementation-CUngPhAv.js} +1 -1
- package/_assets/{rpc-BZX60R_2.js → rpc-BqH_VMy9.js} +1 -1
- package/_assets/{secp256k1-ChfCRMNj.js → secp256k1-CTsmRKJj.js} +1 -1
- package/_assets/{secp256k1-BLNizqyz.js → secp256k1-D7kpLshE.js} +1 -1
- package/_assets/{secp256k1-BpFoXgJs.js → secp256k1-DneM3aYG.js} +1 -1
- package/_assets/{send-CE26RsoC.js → send-DnwW2LgN.js} +1 -1
- package/_assets/{send-batch-transaction-CdcLTVn2.js → send-batch-transaction-BgJnfEM8.js} +1 -1
- package/_assets/{send-eip712-transaction-DFbUyBnM.js → send-eip712-transaction-Cw3ykz5y.js} +2 -2
- package/_assets/{send-gasless-transaction-IULoS1Vn.js → send-gasless-transaction-BjGhnCwR.js} +2 -2
- package/_assets/{send-transaction-vCrIjEYg.js → send-transaction-COKVeGfk.js} +2 -2
- package/_assets/{sendMetaTransaction-C5CWJOs0.js → sendMetaTransaction-Bp3kwdLJ.js} +1 -1
- package/_assets/{sendRawTransaction-BnXA-t5g.js → sendRawTransaction-eVli2oE3.js} +3 -3
- package/_assets/{serializeTransaction-BuP136Wz.js → serializeTransaction-CIM9i_-w.js} +1 -1
- package/_assets/{session-proposal-CnATfxsE.js → session-proposal-KGl_Ah2b.js} +1 -1
- package/_assets/{session-request-PJjSNFhP.js → session-request-VAEXTksW.js} +2 -2
- package/_assets/{signing-DVSxcG9z.js → signing-Cgx49_1X.js} +3 -3
- package/_assets/{skeleton.styles-CLtTv572.js → skeleton.styles-BXNXDWEi.js} +1 -1
- package/_assets/{socials-Bf2bVkOp.js → socials-oKAOeF-k.js} +1 -1
- package/_assets/{styled-DUDTxrNz.js → styled-pD_2hanx.js} +1 -1
- package/_assets/{swaps-CfzGwDGN.js → swaps-BcAY_D99.js} +1 -1
- package/_assets/{thirdweb-fPfEaf4k.js → thirdweb-ChAqWFCO.js} +3 -3
- package/_assets/{to-serializable-transaction-DXr6jbkS.js → to-serializable-transaction-D9qGbcrS.js} +2 -2
- package/_assets/{transactionReceipt-eQP54mTE.js → transactionReceipt-BMw52z-f.js} +1 -1
- package/_assets/{transactions-CGh5C6RL.js → transactions-CeENvGIt.js} +1 -1
- package/_assets/{useCreditPacks-CasKnCD5.js → useCreditPacks-BcavayJ3.js} +1 -1
- package/_assets/{useImportable-SR1m5Hwh.js → useImportable-CqnIvzif.js} +1 -1
- package/_assets/{useInfiniteGrid-Cy1tipbK.js → useInfiniteGrid-BjEQAabI.js} +1 -1
- package/_assets/{useTheme-BvkrK9YA.js → useTheme-BnnteKI4.js} +1 -1
- package/_assets/{verifyHash-Bi_3pzoI.js → verifyHash-CuRmy06R.js} +1 -1
- package/_assets/{w3m-modal-DAkUUjAI.js → w3m-modal-BvOCJx7k.js} +1 -1
- package/_assets/{w3m-modal-D57uPD-0.js → w3m-modal-CkBFH4cA.js} +1 -1
- package/_assets/{wait-for-tx-receipt-ByVNtVUa.js → wait-for-tx-receipt-B2KaPYJT.js} +1 -1
- package/_assets/{wallets-DHJBT8N-.js → wallets-CpXU08d2.js} +5 -5
- package/_assets/{web-connector-zzH3rfgh.js → web-connector-BHRkWbB9.js} +3 -3
- package/_assets/{writeContract-BeuidFa5.js → writeContract-DNDGvg0r.js} +1 -1
- package/_assets/{zoraTestnet-D4oN56a_.js → zoraTestnet-CCn01jlp.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Authorizations-CLC0gP2S.js +0 -188
- package/_assets/LazyEmoteControls-DnvyzyyY.js +0 -2
- package/_assets/NotFound-CIGIbTGI.js +0 -13
- package/_assets/OutfitDetail-DF87HN6H.js +0 -334
- package/_assets/OutfitStudio-DHyzlXbm.js +0 -537
- package/_assets/StoreSettings-SFcLGWm7.js +0 -239
package/index.html
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
<link rel="canonical" href="https://decentraland.org/shop/" />
|
|
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/1.0.2-
|
|
20
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/dcl-mark.png" />
|
|
21
21
|
<meta name="apple-mobile-web-app-title" content="DCL Shop" />
|
|
22
|
-
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
22
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/site.webmanifest" />
|
|
23
23
|
|
|
24
24
|
<!-- Open Graph.
|
|
25
25
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<meta name="twitter:image:alt" content="Decentraland Shop — wearables and emotes for your avatar" />
|
|
59
59
|
|
|
60
60
|
<!-- Sitemap -->
|
|
61
|
-
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
61
|
+
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/sitemap.xml" />
|
|
62
62
|
|
|
63
63
|
<!-- Warm the 3D preview / fonts -->
|
|
64
64
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
<link rel="preconnect" href="https://wearable-preview.decentraland.org" />
|
|
71
71
|
<link rel="preconnect" href="https://peer.decentraland.zone" crossorigin />
|
|
72
72
|
<link rel="preconnect" href="https://peer.decentraland.org" crossorigin />
|
|
73
|
-
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
74
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
75
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
76
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
77
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
78
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
79
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-
|
|
73
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/_assets/index-CKUuopSw.js"></script>
|
|
74
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/_assets/react-BYHuwl8r.js">
|
|
75
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/_assets/dcl-schemas-CmtP3U6y.js">
|
|
76
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/_assets/sentry-Dx-KuLV3.js">
|
|
77
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/_assets/ethers-BDpbhgX6.js">
|
|
78
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/_assets/intl-CBcMB1D2.js">
|
|
79
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/1.0.2-31061952187.commit-8d8b09e/_assets/index-BYP7oMPZ.css">
|
|
80
80
|
</head>
|
|
81
81
|
<body>
|
|
82
82
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/shop",
|
|
3
|
-
"version": "1.0.2-
|
|
3
|
+
"version": "1.0.2-31061952187.commit-8d8b09e",
|
|
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": "8d8b09eeeb6f96d88c4a76d06cd7d9edf5477592"
|
|
12
12
|
}
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import{j as i,L as q,r as _}from"./react-BYHuwl8r.js";import{t as o,s as n,B as F,w as D,x as G,b as e,o as P,y as O,I as z,z as B,v as w,A as K,c as H,D as Q,E as A,F as X,G as Z,H as E}from"./index-CTfBCyyR.js";import{c as J,d as U,b as V,e as Y,s as tt,a as it}from"./authorizations-B17B7Njo.js";import{f as et}from"./builder-jjuFCu3k.js";import{m as ot}from"./mana-matic-C4e1sNO3.js";import{f as at}from"./errors-BruxKfZB.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./sendMetaTransaction-C5CWJOs0.js";const nt=D`
|
|
2
|
-
to { transform: rotate(360deg); }
|
|
3
|
-
`,st=D`
|
|
4
|
-
to { background-position: -200% 0; }
|
|
5
|
-
`,rt=n.section`
|
|
6
|
-
width: 100%;
|
|
7
|
-
min-width: 0;
|
|
8
|
-
/* Centre heading, intro and rows as ONE block, so the list isn't parked against the left edge of a
|
|
9
|
-
wide page (same treatment as the Activity feed). */
|
|
10
|
-
max-width: 760px;
|
|
11
|
-
margin-inline: auto;
|
|
12
|
-
`,ct=n.div`
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
gap: 6px;
|
|
16
|
-
margin-bottom: 24px;
|
|
17
|
-
`,lt=n.h1`
|
|
18
|
-
font-family: ${o.font.sans};
|
|
19
|
-
margin: 0;
|
|
20
|
-
color: ${o.colors.softWhite};
|
|
21
|
-
`,dt=n.p`
|
|
22
|
-
color: ${o.colors.gray4};
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
margin: 0;
|
|
25
|
-
max-width: 60ch;
|
|
26
|
-
`,k=n.div`
|
|
27
|
-
margin-bottom: 28px;
|
|
28
|
-
`,C=n.h2`
|
|
29
|
-
font-family: ${o.font.sans};
|
|
30
|
-
font-size: 15px;
|
|
31
|
-
font-weight: 700;
|
|
32
|
-
color: ${o.colors.softWhite};
|
|
33
|
-
margin: 0 0 10px;
|
|
34
|
-
`,x=n.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
gap: 12px;
|
|
38
|
-
`,ut=n.div`
|
|
39
|
-
display: grid;
|
|
40
|
-
grid-template-columns: 44px 1fr auto;
|
|
41
|
-
align-items: center;
|
|
42
|
-
gap: 14px;
|
|
43
|
-
padding: 14px 18px;
|
|
44
|
-
background: ${o.colors.white};
|
|
45
|
-
border: 1px solid ${o.colors.line};
|
|
46
|
-
border-radius: 16px;
|
|
47
|
-
|
|
48
|
-
${o.media.maxWidth("mobile")} {
|
|
49
|
-
grid-template-columns: 44px 1fr;
|
|
50
|
-
grid-row-gap: 10px;
|
|
51
|
-
}
|
|
52
|
-
`,T=n.div`
|
|
53
|
-
height: 74px;
|
|
54
|
-
border-radius: 16px;
|
|
55
|
-
background: linear-gradient(100deg, #efeef2 30%, #e2e0e7 50%, #efeef2 70%);
|
|
56
|
-
background-size: 200% 100%;
|
|
57
|
-
animation: ${st} 1.4s infinite linear;
|
|
58
|
-
|
|
59
|
-
@media (prefers-reduced-motion: reduce) {
|
|
60
|
-
animation: none;
|
|
61
|
-
}
|
|
62
|
-
`,ht=n.img`
|
|
63
|
-
width: 22px !important;
|
|
64
|
-
height: 22px !important;
|
|
65
|
-
object-fit: contain;
|
|
66
|
-
`,pt=n.div`
|
|
67
|
-
width: 44px;
|
|
68
|
-
height: 44px;
|
|
69
|
-
border-radius: 10px;
|
|
70
|
-
background: ${o.colors.media};
|
|
71
|
-
overflow: hidden;
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
color: ${o.colors.muted2};
|
|
76
|
-
|
|
77
|
-
img {
|
|
78
|
-
width: 100%;
|
|
79
|
-
height: 100%;
|
|
80
|
-
object-fit: contain;
|
|
81
|
-
}
|
|
82
|
-
`,mt=n.div`
|
|
83
|
-
min-width: 0;
|
|
84
|
-
display: flex;
|
|
85
|
-
flex-direction: column;
|
|
86
|
-
gap: 3px;
|
|
87
|
-
`,gt=n.span`
|
|
88
|
-
font-weight: 700;
|
|
89
|
-
color: ${o.colors.text};
|
|
90
|
-
white-space: nowrap;
|
|
91
|
-
overflow: hidden;
|
|
92
|
-
text-overflow: ellipsis;
|
|
93
|
-
`,xt=n.span`
|
|
94
|
-
font-size: 13px;
|
|
95
|
-
color: ${o.colors.muted};
|
|
96
|
-
`,ft=n.span`
|
|
97
|
-
font-size: 12px;
|
|
98
|
-
font-weight: 700;
|
|
99
|
-
color: ${o.colors.muted2};
|
|
100
|
-
|
|
101
|
-
&[data-active='true'] {
|
|
102
|
-
color: ${o.colors.okStrong};
|
|
103
|
-
}
|
|
104
|
-
`,yt=n.div`
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
gap: 10px;
|
|
108
|
-
justify-self: end;
|
|
109
|
-
|
|
110
|
-
${o.media.maxWidth("mobile")} {
|
|
111
|
-
grid-column: 1 / -1;
|
|
112
|
-
justify-self: start;
|
|
113
|
-
}
|
|
114
|
-
`,bt=n.button`
|
|
115
|
-
position: relative;
|
|
116
|
-
width: 46px;
|
|
117
|
-
height: 26px;
|
|
118
|
-
flex: 0 0 auto;
|
|
119
|
-
border-radius: ${o.radius.pill};
|
|
120
|
-
border: none;
|
|
121
|
-
background: ${o.colors.gray4};
|
|
122
|
-
cursor: pointer;
|
|
123
|
-
transition: background 0.15s;
|
|
124
|
-
padding: 0;
|
|
125
|
-
|
|
126
|
-
&::after {
|
|
127
|
-
content: '';
|
|
128
|
-
position: absolute;
|
|
129
|
-
top: 3px;
|
|
130
|
-
left: 3px;
|
|
131
|
-
width: 20px;
|
|
132
|
-
height: 20px;
|
|
133
|
-
border-radius: 50%;
|
|
134
|
-
background: ${o.colors.white};
|
|
135
|
-
transition: transform 0.15s;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&[data-active='true'] {
|
|
139
|
-
background: ${o.colors.accent};
|
|
140
|
-
}
|
|
141
|
-
&[data-active='true']::after {
|
|
142
|
-
transform: translateX(20px);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&:disabled {
|
|
146
|
-
cursor: default;
|
|
147
|
-
opacity: 0.6;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&:focus-visible {
|
|
151
|
-
outline: 2px solid ${o.colors.accent};
|
|
152
|
-
outline-offset: 2px;
|
|
153
|
-
}
|
|
154
|
-
`,zt=n.span`
|
|
155
|
-
width: 16px;
|
|
156
|
-
height: 16px;
|
|
157
|
-
border-radius: 50%;
|
|
158
|
-
border: 2px solid ${o.colors.gray4};
|
|
159
|
-
border-top-color: ${o.colors.accent};
|
|
160
|
-
animation: ${nt} 0.7s linear infinite;
|
|
161
|
-
|
|
162
|
-
@media (prefers-reduced-motion: reduce) {
|
|
163
|
-
animation: none;
|
|
164
|
-
}
|
|
165
|
-
`,I=n.p`
|
|
166
|
-
color: ${o.colors.gray4};
|
|
167
|
-
font-size: 14px;
|
|
168
|
-
margin: 0;
|
|
169
|
-
`,jt=n.p`
|
|
170
|
-
color: ${o.colors.muted};
|
|
171
|
-
font-size: 14px;
|
|
172
|
-
margin: 0 0 12px;
|
|
173
|
-
`,S=n.div`
|
|
174
|
-
display: flex;
|
|
175
|
-
flex-direction: column;
|
|
176
|
-
align-items: center;
|
|
177
|
-
gap: 8px;
|
|
178
|
-
text-align: center;
|
|
179
|
-
padding: 90px 20px;
|
|
180
|
-
min-height: 50vh;
|
|
181
|
-
color: ${o.colors.softWhite};
|
|
182
|
-
`,L=n.p`
|
|
183
|
-
font-size: 22px;
|
|
184
|
-
font-weight: 700;
|
|
185
|
-
margin: 6px 0 0;
|
|
186
|
-
`,M=n(F)`
|
|
187
|
-
margin-top: 12px;
|
|
188
|
-
`;function j({descriptor:t,owner:s,signer:r,name:a,description:c,image:l,icon:p}){const v=K(),[h,y]=_.useState(!1),{data:u,isLoading:m,refetch:d}=w({queryKey:["authorization",t.id,s],queryFn:()=>it(t,s),staleTime:3e4});async function g(){if(h||m)return;const b=!u;y(!0);try{await tt({auth:t,signer:r,active:b}),await d(),v.setQueryData(["authorization",t.id,s],b),A.success(b?e("authorizations.toastActivated",{name:a}):e("authorizations.toastDeactivated",{name:a}))}catch($){X($,{flow:"authorizations",step:b?"grant":"revoke"}),A.error(at($,e("authorizations.errorGeneric")))}finally{y(!1)}}const W=m?e("authorizations.checking"):u?e("authorizations.active"):e("authorizations.inactive");return i.jsxs(ut,{"data-testid":`authorization-${t.id}`,"data-active":!!u,children:[i.jsx(pt,{children:l?i.jsx("img",{src:l,alt:""}):p}),i.jsxs(mt,{children:[i.jsx(gt,{title:a,children:a}),i.jsx(xt,{children:c})]}),i.jsxs(yt,{children:[i.jsx(ft,{"data-active":!!u,children:W}),h?i.jsx(zt,{"aria-label":e("authorizations.working")}):i.jsx(bt,{type:"button","data-testid":`authorization-toggle-${t.id}`,"data-active":!!u,role:"switch","aria-checked":!!u,"aria-label":u?e("authorizations.deactivateAria",{name:a}):e("authorizations.activateAria",{name:a}),disabled:m,onClick:()=>void g()})]})]})}const f=500,R=10,wt=f*R;async function N(t,s){const r=await E(t,{category:s,first:f}),a=Math.min(Math.ceil(r.total/f),R),c=await Promise.all(Array.from({length:Math.max(0,a-1)},(l,p)=>E(t,{category:s,first:f,skip:(p+1)*f})));return{assets:[...r.assets,...c.flatMap(l=>l.assets)],truncated:r.total>wt}}function vt(t){return w({queryKey:["owned-collections",t],enabled:!!t,staleTime:6e4,queryFn:async()=>{const[s,r]=await Promise.all([N(t,"wearable"),N(t,"emote")]),a=new Map;for(const c of[...s.assets,...r.assets]){const l=c.contractAddress.toLowerCase();a.has(l)||a.set(l,c)}return{collections:[...a.values()],truncated:s.truncated||r.truncated,scanned:s.assets.length+r.assets.length}}})}function kt(t){return w({queryKey:["contract-registry"],enabled:t,staleTime:1/0,gcTime:1/0,queryFn:Z})}function Ct(t,s){const r=s==null?void 0:s.get(t.toLowerCase());if(r)return r;const a=Q(t);return a===t?e("authorizations.collectionFallback"):a}function $t(t,s){return w({queryKey:["creator-collections",t],enabled:!!t&&!!s,staleTime:6e4,queryFn:async()=>{const r=await et(t,s),a=new Map;for(const c of r){const l=c.contractAddress.toLowerCase();a.has(l)||a.set(l,c)}return[...a.values()]}})}function qt(){G({title:e("authorizations.title"),noindex:!0});const{session:t,signIn:s}=P(),r=H.chainId,a=O(t==null?void 0:t.providerType),{data:c,isLoading:l}=vt(a?t==null?void 0:t.address:void 0),{data:p,isLoading:v}=kt(!!a&&!!(t!=null&&t.address)),{data:h,isLoading:y}=$t(a?t==null?void 0:t.address:void 0,a?t==null?void 0:t.identity:void 0);if(!t)return i.jsxs(S,{children:[i.jsx(z,{name:"info",size:40,color:o.colors.muted2}),i.jsx(L,{children:e("authorizations.signInTitle")}),i.jsx("p",{className:"muted",children:e("authorizations.signInBody")}),i.jsx(M,{variant:"purple",onClick:()=>s(),children:e("storeSettings.signIn")})]});if(!a)return i.jsxs(S,{children:[i.jsx(z,{name:"check",size:40,color:o.colors.ok}),i.jsx(L,{children:e("authorizations.managedTitle")}),i.jsx("p",{className:"muted",children:e("authorizations.managedBody")}),i.jsx(M,{as:q,to:"/items",variant:"purple",children:e("authorizations.managedCta")})]});const u=J(r),m=U(r);return i.jsxs(rt,{children:[i.jsxs(ct,{children:[i.jsx(lt,{children:e("authorizations.title")}),i.jsx(dt,{children:e("authorizations.intro")})]}),i.jsxs(k,{children:[i.jsx(C,{children:e("authorizations.buyingTitle")}),i.jsxs(x,{children:[i.jsx(j,{descriptor:u,owner:t.address,signer:t.signer,name:e("authorizations.creditsName"),description:e("authorizations.creditsDesc"),icon:i.jsx(B,{className:"ccy-mark"})}),i.jsx(j,{descriptor:m,owner:t.address,signer:t.signer,name:e("authorizations.manaName"),description:e("authorizations.manaDesc"),icon:i.jsx(ht,{src:ot,alt:"","aria-hidden":!0})})]})]}),i.jsxs(k,{children:[i.jsx(C,{children:e("authorizations.sellingTitle")}),c!=null&&c.truncated?i.jsx(jt,{"data-testid":"authorizations-selling-truncated",children:e("authorizations.sellingTruncated",{count:c.scanned})}):null,l||v?i.jsx(x,{"aria-busy":"true","aria-label":e("authorizations.checking"),children:Array.from({length:3}).map((d,g)=>i.jsx(T,{"aria-hidden":!0},g))}):c&&c.collections.length>0?i.jsx(x,{children:c.collections.map(d=>i.jsx(j,{descriptor:V(d.contractAddress,r),owner:t.address,signer:t.signer,name:Ct(d.contractAddress,p),description:e("authorizations.sellingDesc"),image:d.image,icon:i.jsx(z,{name:"pen",size:18})},d.contractAddress))}):i.jsx(I,{children:e("authorizations.sellingEmpty")})]}),i.jsxs(k,{children:[i.jsx(C,{children:e("authorizations.mintingTitle")}),y?i.jsx(x,{"aria-busy":"true","aria-label":e("authorizations.checking"),children:Array.from({length:3}).map((d,g)=>i.jsx(T,{"aria-hidden":!0},g))}):h&&h.length>0?i.jsx(x,{children:h.map(d=>i.jsx(j,{descriptor:Y(d.contractAddress,r),owner:t.address,signer:t.signer,name:d.name||e("authorizations.collectionFallback"),description:e("authorizations.mintingDesc"),icon:i.jsx(z,{name:"pen",size:18})},d.contractAddress))}):i.jsx(I,{children:e("authorizations.mintingEmpty")})]})]})}export{qt as Authorizations};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-BfqVu35d.js","_assets/react-BYHuwl8r.js","_assets/dcl-schemas-CmtP3U6y.js","_assets/index-CTfBCyyR.js","_assets/sentry-Dx-KuLV3.js","_assets/ethers-BDpbhgX6.js","_assets/intl-CBcMB1D2.js","_assets/index-BYP7oMPZ.css","_assets/createSvgIcon-Cg8ZliIm.js","_assets/clsx-WwvpwSg0.js","_assets/styled-DUDTxrNz.js","_assets/emotion-styled.browser.esm-DZbIWeAZ.js","_assets/CircularProgress-1YXgiQtT.js","_assets/index-HaAGk4bQ.js","_assets/useTheme-BvkrK9YA.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as e}from"./index-CTfBCyyR.js";import{j as t,r as s}from"./react-BYHuwl8r.js";const _=s.lazy(async()=>{const[{EmoteControls:o},{Experimental_CssVarsProvider:i},{light:n}]=await Promise.all([e(()=>import("./index-BfqVu35d.js").then(r=>r.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])),e(()=>import("./index-HaAGk4bQ.js"),__vite__mapDeps([13,3,1,2,4,5,6,7,14,10])),e(()=>import("./index-CTfBCyyR.js").then(r=>r.d9),__vite__mapDeps([3,1,2,4,5,6,7]))]);return{default:r=>t.jsx(i,{theme:n,children:t.jsx(o,{...r})})}});function m(o){return t.jsx(s.Suspense,{fallback:null,children:t.jsx(_,{...o})})}export{m as E};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{j as t,L as e}from"./react-BYHuwl8r.js";import{s as n,I as i,x as s,b as o,B as a}from"./index-CTfBCyyR.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";const r=n.div`
|
|
2
|
-
min-height: 52vh;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
text-align: center;
|
|
8
|
-
gap: 14px;
|
|
9
|
-
`,c=n(i)`
|
|
10
|
-
opacity: 0.4;
|
|
11
|
-
`,d=n.h1`
|
|
12
|
-
font-size: 24px;
|
|
13
|
-
`;function h(){return s({title:o("seo.notFound.title"),noindex:!0}),t.jsxs(r,{"data-testid":"notfound",children:[t.jsx(c,{name:"cart",size:44}),t.jsx(d,{children:o("notFound.title")}),t.jsx("p",{className:"muted",children:o("notFound.body")}),t.jsx(a,{as:e,to:"/items",variant:"purple",children:o("notFound.cta")})]})}export{h as NotFound,h as default};
|
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
import{L as k,d as te,j as e,r as p}from"./react-BYHuwl8r.js";import{s as t,I as j,t as ie,O as se,P as ae,Q as ne,B as w,R as oe,o as B,S as re,v as le,x as de,b as a,U as M,V as F,W as ce,X as pe,Y as he,Z as me,$ as xe,a0 as ue,a1 as ge,a2 as fe,a3 as be,a4 as ve,a5 as ye,a6 as je,a7 as we,a8 as ke,a9 as Ie,aa as $e,z as E,ab as Ce,ac as Ee,ad as ze,ae as Le,af as Oe,ag as Se}from"./index-CTfBCyyR.js";import{E as _}from"./ErrorNotice-aOead5te.js";import{E as Ae}from"./LazyEmoteControls-DnvyzyyY.js";import{O as Fe}from"./OutfitPreview-IPt5zFQ2.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./disposePreview-5vjiqVZ0.js";const{colors:o,radius:Ne,media:d}=ie,H=t.div`
|
|
2
|
-
max-width: 1721px;
|
|
3
|
-
margin: 0 auto;
|
|
4
|
-
`,Te=t.nav`
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: 8px;
|
|
8
|
-
font-size: 13px;
|
|
9
|
-
color: ${o.muted};
|
|
10
|
-
margin-bottom: 18px;
|
|
11
|
-
`,N=t(k)`
|
|
12
|
-
color: ${o.muted};
|
|
13
|
-
|
|
14
|
-
&:hover {
|
|
15
|
-
color: ${o.text};
|
|
16
|
-
}
|
|
17
|
-
`,Pe=t.span`
|
|
18
|
-
color: ${o.text};
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
white-space: nowrap;
|
|
22
|
-
text-overflow: ellipsis;
|
|
23
|
-
`,K=t.div`
|
|
24
|
-
display: grid;
|
|
25
|
-
grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
|
|
26
|
-
gap: 40px;
|
|
27
|
-
align-items: stretch;
|
|
28
|
-
height: calc(100dvh - 240px);
|
|
29
|
-
min-height: 520px;
|
|
30
|
-
|
|
31
|
-
${d.maxWidth("mobile")} {
|
|
32
|
-
grid-template-columns: 1fr;
|
|
33
|
-
gap: 16px;
|
|
34
|
-
height: auto;
|
|
35
|
-
min-height: 0;
|
|
36
|
-
}
|
|
37
|
-
`,D=t.div`
|
|
38
|
-
position: relative;
|
|
39
|
-
border-radius: 24px;
|
|
40
|
-
overflow: hidden;
|
|
41
|
-
background: ${o.media};
|
|
42
|
-
|
|
43
|
-
${d.maxWidth("mobile")} {
|
|
44
|
-
aspect-ratio: 1 / 1;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
& iframe {
|
|
48
|
-
width: 100%;
|
|
49
|
-
height: 100%;
|
|
50
|
-
border: 0;
|
|
51
|
-
display: block;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
[data-preview-viewport] {
|
|
55
|
-
position: absolute;
|
|
56
|
-
inset: 0;
|
|
57
|
-
pointer-events: none;
|
|
58
|
-
}
|
|
59
|
-
`,We=t.div`
|
|
60
|
-
position: absolute;
|
|
61
|
-
inset: 0;
|
|
62
|
-
pointer-events: none;
|
|
63
|
-
|
|
64
|
-
& [class*='MuiBox'] {
|
|
65
|
-
pointer-events: auto;
|
|
66
|
-
}
|
|
67
|
-
`,Re=t.img`
|
|
68
|
-
position: absolute;
|
|
69
|
-
inset: 0;
|
|
70
|
-
width: 100%;
|
|
71
|
-
height: 100%;
|
|
72
|
-
object-fit: contain;
|
|
73
|
-
`,U=t.div`
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
gap: 15px;
|
|
77
|
-
min-height: 0;
|
|
78
|
-
`,Be=t.h1`
|
|
79
|
-
font-size: 28px;
|
|
80
|
-
font-weight: 600;
|
|
81
|
-
overflow-wrap: anywhere;
|
|
82
|
-
`,Me=t.p`
|
|
83
|
-
font-size: 12px;
|
|
84
|
-
font-weight: 500;
|
|
85
|
-
letter-spacing: 0.04em;
|
|
86
|
-
text-transform: uppercase;
|
|
87
|
-
color: ${o.muted1};
|
|
88
|
-
`,_e=t.div`
|
|
89
|
-
flex: 0 1 auto;
|
|
90
|
-
min-height: 0;
|
|
91
|
-
overflow-y: auto;
|
|
92
|
-
/* Breathing room INSIDE the scroller (with the matching negative margin re-aligning the cards):
|
|
93
|
-
the hover zoom + ring + glow would otherwise be cropped by the overflow clip. */
|
|
94
|
-
padding: 8px 10px;
|
|
95
|
-
margin: -8px -10px;
|
|
96
|
-
|
|
97
|
-
${d.maxWidth("mobile")} {
|
|
98
|
-
overflow: visible;
|
|
99
|
-
padding: 0;
|
|
100
|
-
margin: 0;
|
|
101
|
-
}
|
|
102
|
-
`,He=t.ul`
|
|
103
|
-
list-style: none;
|
|
104
|
-
margin: 0;
|
|
105
|
-
padding: 0;
|
|
106
|
-
display: flex;
|
|
107
|
-
flex-direction: column;
|
|
108
|
-
gap: 10px;
|
|
109
|
-
`,Ke=t.li`
|
|
110
|
-
position: relative;
|
|
111
|
-
display: flex;
|
|
112
|
-
align-items: stretch;
|
|
113
|
-
gap: 14px;
|
|
114
|
-
border-radius: 16px;
|
|
115
|
-
background: ${o.bg};
|
|
116
|
-
overflow: hidden;
|
|
117
|
-
isolation: isolate;
|
|
118
|
-
transition:
|
|
119
|
-
box-shadow 0.35s ease,
|
|
120
|
-
transform 0.25s ease;
|
|
121
|
-
|
|
122
|
-
&::after {
|
|
123
|
-
${se};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&::before {
|
|
127
|
-
content: '';
|
|
128
|
-
position: absolute;
|
|
129
|
-
inset: 0;
|
|
130
|
-
z-index: 5;
|
|
131
|
-
pointer-events: none;
|
|
132
|
-
border-radius: inherit;
|
|
133
|
-
${ae};
|
|
134
|
-
opacity: 0;
|
|
135
|
-
transition: opacity 0.3s ease;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@media (hover: hover) {
|
|
139
|
-
&:hover,
|
|
140
|
-
&:focus-within {
|
|
141
|
-
${ne};
|
|
142
|
-
transform: scale(1.015);
|
|
143
|
-
/* Above the neighbouring rows while zoomed, or the next card paints over the growth. */
|
|
144
|
-
z-index: 6;
|
|
145
|
-
}
|
|
146
|
-
&:hover::before,
|
|
147
|
-
&:focus-within::before {
|
|
148
|
-
opacity: 1;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
@media (prefers-reduced-motion: reduce) {
|
|
153
|
-
transition: none;
|
|
154
|
-
|
|
155
|
-
&:hover,
|
|
156
|
-
&:focus-within {
|
|
157
|
-
transform: none;
|
|
158
|
-
}
|
|
159
|
-
&::before {
|
|
160
|
-
transition: none;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&[data-state='unavailable'],
|
|
165
|
-
&[data-state='missing'] {
|
|
166
|
-
opacity: 0.55;
|
|
167
|
-
}
|
|
168
|
-
`,De=t(k)`
|
|
169
|
-
position: absolute;
|
|
170
|
-
inset: 0;
|
|
171
|
-
z-index: 1;
|
|
172
|
-
`,Ue=t.img`
|
|
173
|
-
width: 96px;
|
|
174
|
-
height: 96px;
|
|
175
|
-
object-fit: cover;
|
|
176
|
-
background: ${o.panel};
|
|
177
|
-
flex-shrink: 0;
|
|
178
|
-
|
|
179
|
-
${d.maxWidth("mobile")} {
|
|
180
|
-
width: 88px;
|
|
181
|
-
height: 88px;
|
|
182
|
-
}
|
|
183
|
-
`,Ve=t.span`
|
|
184
|
-
width: 96px;
|
|
185
|
-
height: 96px;
|
|
186
|
-
background: ${o.panel};
|
|
187
|
-
flex-shrink: 0;
|
|
188
|
-
|
|
189
|
-
${d.maxWidth("mobile")} {
|
|
190
|
-
width: 88px;
|
|
191
|
-
height: 88px;
|
|
192
|
-
}
|
|
193
|
-
`,T=t.div`
|
|
194
|
-
flex: 1;
|
|
195
|
-
min-width: 0;
|
|
196
|
-
display: flex;
|
|
197
|
-
flex-direction: column;
|
|
198
|
-
justify-content: center;
|
|
199
|
-
gap: 3px;
|
|
200
|
-
padding: 10px 14px 10px 0;
|
|
201
|
-
`,z=t.span`
|
|
202
|
-
font-size: 14px;
|
|
203
|
-
font-weight: 600;
|
|
204
|
-
white-space: nowrap;
|
|
205
|
-
overflow: hidden;
|
|
206
|
-
text-overflow: ellipsis;
|
|
207
|
-
`,qe=t(k)`
|
|
208
|
-
position: relative;
|
|
209
|
-
z-index: 2;
|
|
210
|
-
align-self: flex-start;
|
|
211
|
-
font-size: 13px;
|
|
212
|
-
color: ${o.muted};
|
|
213
|
-
|
|
214
|
-
&:hover {
|
|
215
|
-
color: ${o.text};
|
|
216
|
-
text-decoration: underline;
|
|
217
|
-
}
|
|
218
|
-
`,P=t.span`
|
|
219
|
-
display: flex;
|
|
220
|
-
align-items: center;
|
|
221
|
-
gap: 6px;
|
|
222
|
-
margin-top: 2px;
|
|
223
|
-
`,Qe=t.span`
|
|
224
|
-
display: inline-flex;
|
|
225
|
-
align-items: center;
|
|
226
|
-
gap: 5px;
|
|
227
|
-
font-size: 16px;
|
|
228
|
-
font-weight: 600;
|
|
229
|
-
white-space: nowrap;
|
|
230
|
-
`,v=t.span`
|
|
231
|
-
font-size: 12px;
|
|
232
|
-
font-weight: 400;
|
|
233
|
-
padding: 2px 8px;
|
|
234
|
-
border-radius: ${Ne.chip};
|
|
235
|
-
background: ${o.chip};
|
|
236
|
-
color: ${o.text2};
|
|
237
|
-
white-space: nowrap;
|
|
238
|
-
`,Ge=t.span`
|
|
239
|
-
display: flex;
|
|
240
|
-
align-items: center;
|
|
241
|
-
gap: 3px;
|
|
242
|
-
margin-left: auto;
|
|
243
|
-
|
|
244
|
-
${d.maxWidth("mobile")} {
|
|
245
|
-
display: none;
|
|
246
|
-
}
|
|
247
|
-
`,y=t(oe)`
|
|
248
|
-
&[data-variant='smart'] {
|
|
249
|
-
gap: 2px;
|
|
250
|
-
background: ${o.chip};
|
|
251
|
-
color: ${o.text2};
|
|
252
|
-
text-transform: uppercase;
|
|
253
|
-
letter-spacing: 0.02em;
|
|
254
|
-
}
|
|
255
|
-
`,Xe=t.p`
|
|
256
|
-
margin-top: 8px;
|
|
257
|
-
`,Ye=t.div`
|
|
258
|
-
display: flex;
|
|
259
|
-
flex-direction: column;
|
|
260
|
-
align-items: flex-start;
|
|
261
|
-
gap: 12px;
|
|
262
|
-
padding: 8px 0;
|
|
263
|
-
`,Ze=t.div`
|
|
264
|
-
display: flex;
|
|
265
|
-
flex-direction: column;
|
|
266
|
-
gap: 12px;
|
|
267
|
-
padding-top: 12px;
|
|
268
|
-
border-top: 1px solid ${o.line};
|
|
269
|
-
|
|
270
|
-
${d.maxWidth("mobile")} {
|
|
271
|
-
/* Sticky, not fixed: it rides the viewport bottom while the list is longer than the screen,
|
|
272
|
-
then STOPS at the list's end (its natural place as the column's last child) when the user
|
|
273
|
-
scrolls on toward the footer. Negative margin restores the full-bleed bar inside the page's
|
|
274
|
-
16px gutter. */
|
|
275
|
-
position: sticky;
|
|
276
|
-
bottom: 0;
|
|
277
|
-
z-index: 5;
|
|
278
|
-
margin: 40px -16px 0;
|
|
279
|
-
padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
|
|
280
|
-
border-top: 0;
|
|
281
|
-
background: ${o.softWhite};
|
|
282
|
-
box-shadow: 0 -4px 16px rgba(22, 21, 24, 0.12);
|
|
283
|
-
}
|
|
284
|
-
`,Je=t.div`
|
|
285
|
-
display: flex;
|
|
286
|
-
align-items: center;
|
|
287
|
-
justify-content: space-between;
|
|
288
|
-
|
|
289
|
-
${d.maxWidth("mobile")} {
|
|
290
|
-
/* The phone CTA carries the price itself (the Figma bar). */
|
|
291
|
-
display: none;
|
|
292
|
-
}
|
|
293
|
-
`,et=t.span`
|
|
294
|
-
font-size: 14px;
|
|
295
|
-
font-weight: 600;
|
|
296
|
-
letter-spacing: 0.04em;
|
|
297
|
-
text-transform: uppercase;
|
|
298
|
-
color: ${o.muted1};
|
|
299
|
-
`,tt=t.span`
|
|
300
|
-
display: inline-flex;
|
|
301
|
-
align-items: center;
|
|
302
|
-
gap: 6px;
|
|
303
|
-
font-size: 26px;
|
|
304
|
-
font-weight: 800;
|
|
305
|
-
`,it=t(w)`
|
|
306
|
-
width: 100%;
|
|
307
|
-
min-height: 52px;
|
|
308
|
-
border-radius: 16px;
|
|
309
|
-
display: inline-flex;
|
|
310
|
-
align-items: center;
|
|
311
|
-
justify-content: center;
|
|
312
|
-
gap: 10px;
|
|
313
|
-
`,st=t.span`
|
|
314
|
-
display: none;
|
|
315
|
-
|
|
316
|
-
${d.maxWidth("mobile")} {
|
|
317
|
-
display: inline-flex;
|
|
318
|
-
align-items: center;
|
|
319
|
-
gap: 5px;
|
|
320
|
-
font-size: 16px;
|
|
321
|
-
}
|
|
322
|
-
`,W=t.div`
|
|
323
|
-
min-height: 52vh;
|
|
324
|
-
display: flex;
|
|
325
|
-
flex-direction: column;
|
|
326
|
-
align-items: center;
|
|
327
|
-
justify-content: center;
|
|
328
|
-
text-align: center;
|
|
329
|
-
gap: 14px;
|
|
330
|
-
`,at=t(j)`
|
|
331
|
-
opacity: 0.4;
|
|
332
|
-
`,nt=t.h1`
|
|
333
|
-
font-size: 24px;
|
|
334
|
-
`,R="outfit-detail-preview";function bt(){const{id:i}=te(),n=B(f=>f.session),c=re(),g=c==="creator",{data:r,isError:I,refetch:m}=le({queryKey:["outfit",i,g],enabled:F()&&!!i,staleTime:6e4,queryFn:()=>Se(i,g&&n?n.identity:void 0)}),l=!F()||!i||r===null&&c!=="pending";return de(l?{title:a("seo.outfit.notFoundTitle"),noindex:!0}:r?{title:r.name,image:M(r.thumbnailHash)??void 0}:{}),l?e.jsxs(W,{"data-testid":"outfit-notfound",children:[e.jsx(at,{name:"cart",size:44}),e.jsx(nt,{children:a("outfits.detail.notFoundTitle")}),e.jsx("p",{className:"muted",children:a("outfits.detail.notFoundBody")}),e.jsx(w,{as:k,to:"/items",variant:"purple",children:a("notFound.cta")})]}):I?e.jsxs(W,{"data-testid":"outfit-detail-error",children:[e.jsx(_,{message:a("outfits.errors.generic")}),e.jsx(w,{variant:"purple",onClick:()=>void m(),children:a("outfits.detail.retry")})]}):r?e.jsx(rt,{outfit:r}):e.jsx(H,{"aria-busy":"true","data-testid":"outfit-detail-loading",children:e.jsxs(K,{children:[e.jsx(D,{children:e.jsx("span",{className:"skeleton",style:{position:"absolute",inset:0},"aria-hidden":!0})}),e.jsxs(U,{children:[e.jsx("span",{className:"skeleton",style:{width:"60%",height:32},"aria-hidden":!0}),e.jsx("span",{className:"skeleton",style:{width:"40%",height:16},"aria-hidden":!0}),e.jsx("span",{className:"skeleton",style:{width:"100%",height:48},"aria-hidden":!0})]})]})})}function ot({item:i}){const n=Ce(i),c=Ee(i.gender);return e.jsxs(Ge,{children:[i.rarity?e.jsx(y,{"data-variant":"rarity",style:{background:Oe(i.rarity),color:Le(i.rarity)},title:ze(i.rarity),children:i.rarity}):null,i.isSmart?e.jsxs(y,{"data-variant":"smart",children:[e.jsx(j,{name:"smart",size:13}),a("assetCard.smart")]}):null,n?e.jsx(y,{"data-variant":"icon",children:e.jsx(j,{name:n})}):null,c?e.jsx(y,{"data-variant":"icon",children:e.jsx(j,{name:c})}):null]})}function rt({outfit:i}){const n=ce(i),{split:c,availableCount:g,totalCredits:r,addOutfit:I,isAdding:m}=pe(i,n),l=B(s=>{var u;return(u=s.session)==null?void 0:u.address}),f=he(s=>s.items),L=p.useMemo(()=>new Set(f.map(me)),[f]),O=M(i.thumbnailHash),S=p.useRef(null);p.useEffect(()=>{S.current!==i.id&&(S.current=i.id,xe("Shop Outfit Viewed",{outfit_id:i.id,item_count:i.items.length}))},[i.id,i.items.length]);const $=p.useMemo(()=>i.items.map(s=>{const u=ue(s),C=n.byKey.get(u)??null;return{key:u,item:C,state:C?ge(C,{address:l,cartKeys:L}):"missing"}}),[i,n.byKey,l,L]),{data:V,isFetched:q}=fe(l),Q=!l||q,G=!!l&&!!V,X=i.bodyShape==="female"?be:i.bodyShape==="male"?ve:void 0,x=p.useMemo(()=>$.map(s=>s.item).filter(s=>!!s),[$]),A=p.useMemo(()=>ye(x),[x]),Y=p.useMemo(()=>!!je(x),[x]),Z=p.useMemo(()=>x.map(s=>we(s)??"").filter(Boolean),[x]),h=ke({address:l,tryOnUrns:A,tryOnCategories:Z}),J=i.items.length,ee=!n.isLoading&&!n.isError,b=c.purchasable.length;return e.jsxs(H,{"data-testid":"outfit-detail",children:[e.jsxs(Te,{"aria-label":a("outfits.detail.breadcrumbAria"),children:[e.jsx(N,{to:"/overview",children:a("nav.overview")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(N,{to:"/overview",children:a("outfits.detail.breadcrumbLooks")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(Pe,{children:i.name})]}),e.jsxs(K,{children:[e.jsx(D,{"data-testid":"outfit-detail-preview",style:{background:Ie(i)},children:O&&!n.isLoading&&A.length===0?e.jsx(Re,{src:O,alt:i.name}):e.jsx(Fe,{id:R,profile:h.profile,bodyShape:h.bodyShape??(G?void 0:X),urns:h.urns,skin:h.skin,hair:h.hair,eyes:h.eyes,enabled:Q&&!h.isLoading&&!n.isLoading,controls:Y?e.jsx(We,{"data-testid":"outfit-emote-controls",children:e.jsx(Ae,{wearablePreviewId:R,hideFrameInput:!0})}):null})}),e.jsxs(U,{children:[e.jsx(Be,{children:i.name}),e.jsx(Me,{"data-testid":"outfit-detail-meta",children:a("outfits.detail.itemsCount",{count:J})}),n.isError?e.jsxs(Ye,{children:[e.jsx(_,{message:a("outfits.detail.resolveError"),testId:"outfit-detail-resolve-error"}),e.jsx(w,{variant:"outline","data-testid":"outfit-detail-retry",onClick:n.retry,children:a("outfits.detail.retry")})]}):e.jsxs(e.Fragment,{children:[e.jsxs(_e,{children:[e.jsx(He,{children:$.map(s=>e.jsx(Ke,{"data-testid":"outfit-detail-item","data-state":s.state,children:s.item?e.jsxs(e.Fragment,{children:[e.jsx(De,{to:`/item/${s.item.contractAddress}/${s.item.itemId}`,state:{item:s.item},"aria-label":s.item.name}),e.jsx(Ue,{src:s.item.thumbnail,alt:"",loading:"lazy"}),e.jsxs(T,{children:[e.jsx(z,{children:s.item.name}),s.item.creator?e.jsx(qe,{to:`/items/creator/${s.item.creator}`,children:e.jsx($e,{address:s.item.creator})}):null,e.jsxs(P,{children:[s.state!=="unavailable"?e.jsxs(Qe,{children:[e.jsx(E,{size:15}),s.item.priceCredits.toLocaleString()]}):null,s.state==="unavailable"?e.jsx(v,{children:a("outfits.card.unavailable")}):s.state==="own_listing"?e.jsx(v,{children:a("outfits.detail.yourListing")}):s.state==="in_cart"?e.jsx(v,{children:a("outfits.detail.inCart")}):null,e.jsx(ot,{item:s.item})]})]})]}):e.jsxs(e.Fragment,{children:[e.jsx(Ve,{className:n.isLoading?"skeleton":void 0,"aria-hidden":!0}),e.jsx(T,{children:n.isLoading?e.jsx(z,{children:e.jsx("span",{className:"skeleton",style:{display:"block",width:"70%",height:14}})}):e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"muted",children:a("outfits.card.unavailable")}),e.jsx(P,{children:e.jsx(v,{children:a("outfits.card.unavailable")})})]})})]})},s.key))}),ee&&c.ownListing.length>0?e.jsx(Xe,{className:"muted small",children:a("outfits.detail.yourListingHint")}):null]}),e.jsxs(Ze,{"data-testid":"outfit-detail-ctabar",children:[e.jsxs(Je,{children:[e.jsx(et,{children:a("outfits.detail.totalPrice")}),n.isLoading?e.jsx("span",{className:"skeleton",style:{width:64,height:26},"aria-hidden":!0}):e.jsxs(tt,{children:[e.jsx(E,{size:22}),r.toLocaleString()]})]}),n.isLoading?e.jsx("span",{className:"skeleton",style:{width:"100%",height:52,borderRadius:26},"aria-hidden":!0}):e.jsxs(it,{variant:"purple","data-testid":"outfit-detail-cta",onClick:I,disabled:m||b===0,"aria-busy":m||void 0,children:[m?a("outfits.card.adding"):b>0?a("outfits.detail.addCount",{count:b}):g>0?a("outfits.detail.nothingToAdd"):a("outfits.card.unavailable"),!m&&b>0?e.jsxs(st,{children:[e.jsx(E,{size:16}),r.toLocaleString()]}):null]})]})]})]})]})]})}export{bt as OutfitDetail,bt as default};
|