@dcl/shop 1.0.2-31061650925.commit-fa244eb → 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-DAMRT2bN.js → Activity-D_fQdZon.js} +8 -8
- package/_assets/{AnimatedBackground-N_wcSf6D.js → AnimatedBackground-C9W4RBcZ.js} +1 -1
- package/_assets/{Assets-7wgiv5MU.js → Assets-CvZql_4R.js} +2 -2
- package/_assets/{Assets.styles-9R6ppWqo.js → Assets.styles-BBWJCcMx.js} +1 -1
- package/_assets/{Authorizations-DCP2Yevg.js → Authorizations-DVwQ95Ww.js} +1 -1
- package/_assets/{Cart-CpLaRQWb.js → Cart-CBLHJRVj.js} +6 -6
- package/_assets/{CircularProgress-BYXbDw8X.js → CircularProgress-D09608yv.js} +1 -1
- package/_assets/{Collection-CA94Ylrk.js → Collection-DllncUVv.js} +10 -10
- package/_assets/{CollectionCarousel-BkFV4le7.js → CollectionCarousel-B9HmGuVb.js} +6 -6
- package/_assets/{Confetti-D7bsXMqQ.js → Confetti-Dl6FT7nL.js} +1 -1
- package/_assets/{Creator-DWKYxWTB.js → Creator-BreBnKPX.js} +5 -5
- package/_assets/{ErrorNotice-CCsvrT3H.js → ErrorNotice-OUNK486K.js} +1 -1
- package/_assets/{ExchangeController-KIbY1TeV.js → ExchangeController-Cp3qbfAM.js} +1 -1
- package/_assets/{Faq-YyrvPI25.js → Faq-DXtTtsuA.js} +1 -1
- package/_assets/{GetCredits-gCz6CMY3.js → GetCredits-BhRNCaTG.js} +10 -10
- package/_assets/{Grow-B6W2xyXd.js → Grow-DXdR0gI9.js} +1 -1
- package/_assets/{HelpersUtil-BmHoBPAz.js → HelpersUtil-rQp5uDAx.js} +1 -1
- package/_assets/{ItemDetail-DsP2PTh3.js → ItemDetail-clRbfaLQ.js} +28 -28
- package/_assets/LazyEmoteControls-B7UYn8xk.js +2 -0
- package/_assets/{LoadMore-ChGcAM1i.js → LoadMore-jSNRJiwZ.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-CZgGH3OR.js → ManaPricingBanner.styles-vDUAKLLe.js} +1 -1
- package/_assets/{MyAssets-jgTQywGo.js → MyAssets-CsWhc-qa.js} +4 -4
- package/_assets/{MyFavorites-B_oQzUR9.js → MyFavorites-BLrz2vwY.js} +1 -1
- package/_assets/{NotFound-CjDp1Ys_.js → NotFound-DP4nosOd.js} +1 -1
- package/_assets/{NotificationsBell-Dkr9JB0w.js → NotificationsBell-ARziPv8W.js} +1 -1
- package/_assets/OutfitDetail-CLmuEgB3.js +374 -0
- package/_assets/{OutfitPreview-J5m3e8Gl.js → OutfitPreview-PWdXvCaE.js} +2 -2
- package/_assets/{OutfitStudio-xpf5tPAA.js → OutfitStudio-Cx3Xm6ff.js} +11 -11
- package/_assets/{StoreSettings-BkFED3xP.js → StoreSettings-BQtEgWRm.js} +21 -21
- package/_assets/{Success-lmJVKgtL.js → Success-BWfI3_Mu.js} +1 -1
- package/_assets/{SwapController-DKvQsgHw.js → SwapController-Bf58lQ6b.js} +1 -1
- package/_assets/{Tooltip-BBYuQHQb.js → Tooltip-BDmKiALz.js} +1 -1
- package/_assets/{TradeService-CkbprpVw.js → TradeService-Yecm1OxI.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-6oL2Do5B.js → W3MFrameProviderSingleton-BQyeyr-U.js} +3 -3
- package/_assets/{WebCryptoP256-6t0_XFco.js → WebCryptoP256-Ou_F2OJp.js} +1 -1
- package/_assets/{authorizations-CbXH-W_L.js → authorizations-B3AvOvOm.js} +1 -1
- package/_assets/{basic-DSLXBfxu.js → basic-DTDRwam-.js} +1 -1
- package/_assets/{biconomy-DKrndD59.js → biconomy-DaLi1O64.js} +1 -1
- package/_assets/{builder-CVMQir9d.js → builder-DxumJmKw.js} +1 -1
- package/_assets/{buy-BllmT-mt.js → buy-BHkfYJLe.js} +1 -1
- package/_assets/{buy-gasless-BuzErI_K.js → buy-gasless-BfTEWjT9.js} +1 -1
- package/_assets/{categories-Bjf-PXbG.js → categories-D23W_J-A.js} +1 -1
- package/_assets/{ccip-DI15Urx-.js → ccip-DGVhZCZ4.js} +1 -1
- package/_assets/{ccip-DyRqdu6M.js → ccip-qhHiv1gU.js} +1 -1
- package/_assets/{collectionPage.styles-BgKDi1Aa.js → collectionPage.styles-CoEdrsfq.js} +3 -3
- package/_assets/{controller-BSVA5WKe.js → controller-DGtmLk4f.js} +2 -2
- package/_assets/{core-CflNwoXZ.js → core-BAqS3vu7.js} +4 -4
- package/_assets/{createSvgIcon-BCgRSx6l.js → createSvgIcon-Bm9nxGqG.js} +2 -2
- package/_assets/{custom-ekboJ4XZ.js → custom-MaGTnz7S.js} +1 -1
- package/_assets/{data-capture-C00Edv8o.js → data-capture-5Vi1cyBa.js} +1 -1
- package/_assets/{email-D7bKqbcO.js → email-BG6hRXMo.js} +1 -1
- package/_assets/{embedded-wallet-BgZe_e0-.js → embedded-wallet-CfnknCH8.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-BsZP4P-B.js → emotion-styled.browser.esm-CoxAZUrJ.js} +1 -1
- package/_assets/{engine-Cnqy1olA.js → engine-nQGCV50K.js} +1 -1
- package/_assets/{errors-BXmP5k3l.js → errors-DZ_QWsza.js} +1 -1
- package/_assets/{estimate-l1-fee-9ryWwmxC.js → estimate-l1-fee-CVpJ9ym5.js} +1 -1
- package/_assets/{execute-CY4XWL-J.js → execute-DFvUDrLY.js} +2 -2
- package/_assets/{features-MG4MlDMD.js → features-BXUedULM.js} +1 -1
- package/_assets/{fetchTokenMetadata-qCCUs6iE.js → fetchTokenMetadata-CkQcnzmO.js} +2 -2
- package/_assets/{field.styles-DEvu6yNO.js → field.styles-PE4ZasC2.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-DEImAnzE.js → get-ecosystem-wallet-info-CRLH8I6C.js} +1 -1
- package/_assets/{getBalance-J5grsfOj.js → getBalance-CiV48JsZ.js} +1 -1
- package/_assets/{getNFT-ByNh7y6k.js → getNFT-C3ucNb89.js} +1 -1
- package/_assets/{getNFT-Dm5aL9u2.js → getNFT-CV3N9TTA.js} +1 -1
- package/_assets/{grid.styles-CtrXwvIr.js → grid.styles-hOZTJ80g.js} +1 -1
- package/_assets/{hashTypedData-CgttwS7E.js → hashTypedData-BtF2J233.js} +1 -1
- package/_assets/{hashTypedData-BxKbqj1M.js → hashTypedData-gTABcRB5.js} +1 -1
- package/_assets/{in-app-DF-fkkCZ.js → in-app-CSDr4Blb.js} +1 -1
- package/_assets/{in-app-wallet-calls-D9z1I0uV.js → in-app-wallet-calls-Crivl9zc.js} +1 -1
- package/_assets/{index-BybKxZca.js → index-1oceTWwb.js} +3 -3
- package/_assets/{index-Fn-DLeUg.js → index-9_4ZEs3N.js} +1 -1
- package/_assets/{index-C5fUw5Ha.js → index-9x1mGBeU.js} +1 -1
- package/_assets/{index-DXpGefPo.js → index-BBbwMaBz.js} +1 -1
- package/_assets/{index-BiSRuBrK.js → index-BNBzDf6z.js} +1 -1
- package/_assets/{index-CjSsletQ.js → index-BTDIKmoC.js} +1 -1
- package/_assets/{index-CuZ7SJno.js → index-Bg_gOSx_.js} +1 -1
- package/_assets/{index-BFgGvh7x.js → index-BniGBCAO.js} +1 -1
- package/_assets/{index-DbCIWeQF.js → index-Bs4LvV4K.js} +2 -2
- package/_assets/{index-B6xwPPMs.js → index-C0pcaEQl.js} +1 -1
- package/_assets/{index-BDPRDW4c.js → index-C23D_vyT.js} +1 -1
- package/_assets/{index-C0xt2SIQ.js → index-C5Evg5sh.js} +1 -1
- package/_assets/{index-D7foy_c1.js → index-C7hpB9s1.js} +3 -3
- package/_assets/{index-zG9t0hxJ.js → index-CGBg3yUz.js} +11 -11
- package/_assets/{index--tlhUPhu.js → index-CHf7lsmp.js} +1 -1
- package/_assets/{index-B7sgFJOZ.js → index-CHolIX6U.js} +1 -1
- package/_assets/{index-D7dTUoYt.js → index-CKUuopSw.js} +12 -12
- package/_assets/{index-Z6tclw43.js → index-CS27am7J.js} +1 -1
- package/_assets/{index-BlIt7KpC.js → index-Cf-gi-Qq.js} +1 -1
- package/_assets/{index-C2s-_3dE.js → index-CkGO7qOd.js} +1 -1
- package/_assets/{index-BcW0TBOx.js → index-ClUPCoEW.js} +1 -1
- package/_assets/{index-gbxeK1C-.js → index-CmY0V0eX.js} +1 -1
- package/_assets/{index-BKC-pfo2.js → index-CvwosU6Y.js} +1 -1
- package/_assets/{index-B7Mvi-Fg.js → index-CwRTjZPC.js} +3 -3
- package/_assets/{index-lIySTE8R.js → index-CyRHowbs.js} +1 -1
- package/_assets/{index-CpxvlmGa.js → index-D5eMvKb_.js} +1 -1
- package/_assets/{index-7eX0SEVb.js → index-D769FdFr.js} +1 -1
- package/_assets/{index-CszjRehO.js → index-D7LYoLo4.js} +1 -1
- package/_assets/{index-CAj85Mcv.js → index-DKHMu0o3.js} +1 -1
- package/_assets/{index-CuZGDrIM.js → index-DKdQUEzy.js} +1 -1
- package/_assets/{index-DYQXXAKt.js → index-DLFQdlEW.js} +1 -1
- package/_assets/{index-Cbj1bJsc.js → index-DSuiX4WG.js} +1 -1
- package/_assets/{index-BSmKDErh.js → index-DXRL-4ld.js} +1 -1
- package/_assets/{index-BZNkhtbZ.js → index-DY1xBku2.js} +1 -1
- package/_assets/{index-D_a1Dj89.js → index-DdmULNRk.js} +2 -2
- package/_assets/{index-DVJFosyx.js → index-DgOiZShm.js} +1 -1
- package/_assets/{index-BsD9lKdu.js → index-Dh85kccn.js} +1 -1
- package/_assets/{index-CkHS5p_Q.js → index-DjTNPtj2.js} +1 -1
- package/_assets/{index-CIKoh-oU.js → index-DkV5TYom.js} +1 -1
- package/_assets/{index-DRjhhI6j.js → index-DnJJn52L.js} +1 -1
- package/_assets/{index-CKXjZ-Kd.js → index-DoGz07sk.js} +1 -1
- package/_assets/{index-D20327nw.js → index-Dp2641E3.js} +1 -1
- package/_assets/{index-CbQYrUIv.js → index-DwX-9Zo4.js} +1 -1
- package/_assets/{index-BcQ98rhd.js → index-EKmmXx1j.js} +1 -1
- package/_assets/{index-gmA5M3R1.js → index-HAEoS9R6.js} +1 -1
- package/_assets/{index-DlewIau_.js → index-ItjVcw1b.js} +1 -1
- package/_assets/{index-B5TGt1q8.js → index-KWEbYeSY.js} +1 -1
- package/_assets/{index-CAzui_hj.js → index-S0X-BG2b.js} +1 -1
- package/_assets/{index-C6RxhKIE.js → index-UyXkCiLs.js} +1 -1
- package/_assets/{index-Dc_jl2yy.js → index-hKv-BpxY.js} +1 -1
- package/_assets/{index-CgKz1pmK.js → index-qGMuaBIs.js} +1 -1
- package/_assets/{index-D5jN8YQk.js → index-wRmEiTlP.js} +2 -2
- package/_assets/{index.es-BOuSF7GL.js → index.es-DnMGDxtr.js} +1 -1
- package/_assets/{index.es-6tzroQMk.js → index.es-g_bB-nFv.js} +1 -1
- package/_assets/{index.es-11O0MAa5.js → index.es-wpL2Ycto.js} +4 -4
- package/_assets/{localBatchGatewayRequest-CByVkxJB.js → localBatchGatewayRequest-DtELSHiE.js} +1 -1
- package/_assets/{networks-CLAHX11r.js → networks-ZmRqsvV6.js} +1 -1
- package/_assets/{onramp-X6DWjNa-.js → onramp-Bffl3qa3.js} +1 -1
- package/_assets/{openzeppelin-DWrLU4le.js → openzeppelin-BmH-LNci.js} +1 -1
- package/_assets/{parseNft-C0F1eSr9.js → parseNft-PSjb4qKi.js} +2 -2
- package/_assets/{parseSignature-Cfa0bf3p.js → parseSignature-D947kFfv.js} +3 -3
- package/_assets/{parseSignature-B1BDTVRI.js → parseSignature-IigTmAp7.js} +1 -1
- package/_assets/{passkeys-Bq7ndAcy.js → passkeys-BsJVcpuM.js} +1 -1
- package/_assets/{pay-with-exchange-DU8q52b9.js → pay-with-exchange-CU_HZd9F.js} +1 -1
- package/_assets/{qr-overlay-2pcgXiq0.js → qr-overlay-EMShc5uE.js} +1 -1
- package/_assets/{receive-UZ0WD1OR.js → receive-CO6WElZa.js} +1 -1
- package/_assets/{resolveImplementation-C5KIPshP.js → resolveImplementation-CUngPhAv.js} +1 -1
- package/_assets/{rpc-q5JetAPC.js → rpc-BqH_VMy9.js} +1 -1
- package/_assets/{secp256k1-C79pdbKP.js → secp256k1-CTsmRKJj.js} +1 -1
- package/_assets/{secp256k1-C35ing1J.js → secp256k1-D7kpLshE.js} +1 -1
- package/_assets/{secp256k1-CYrjGZQC.js → secp256k1-DneM3aYG.js} +1 -1
- package/_assets/{send-_ymraJKw.js → send-DnwW2LgN.js} +1 -1
- package/_assets/{send-batch-transaction-DkYVZ1xj.js → send-batch-transaction-BgJnfEM8.js} +1 -1
- package/_assets/{send-eip712-transaction-BzZBuy56.js → send-eip712-transaction-Cw3ykz5y.js} +2 -2
- package/_assets/{send-gasless-transaction-ByRZPFH6.js → send-gasless-transaction-BjGhnCwR.js} +2 -2
- package/_assets/{send-transaction-CUkh0xRu.js → send-transaction-COKVeGfk.js} +2 -2
- package/_assets/{sendMetaTransaction-De85nOcx.js → sendMetaTransaction-Bp3kwdLJ.js} +1 -1
- package/_assets/{sendRawTransaction-D5RykxPX.js → sendRawTransaction-eVli2oE3.js} +3 -3
- package/_assets/{serializeTransaction-EYy94JNM.js → serializeTransaction-CIM9i_-w.js} +1 -1
- package/_assets/{session-proposal-Bf_Po3Sl.js → session-proposal-KGl_Ah2b.js} +1 -1
- package/_assets/{session-request-DEDmAqA-.js → session-request-VAEXTksW.js} +2 -2
- package/_assets/{signing-DqKP5KUZ.js → signing-Cgx49_1X.js} +3 -3
- package/_assets/{skeleton.styles-CVQk0siV.js → skeleton.styles-BXNXDWEi.js} +1 -1
- package/_assets/{socials-3pLrS-E7.js → socials-oKAOeF-k.js} +1 -1
- package/_assets/{styled-8pFgehSd.js → styled-pD_2hanx.js} +1 -1
- package/_assets/{swaps-C-dgABl9.js → swaps-BcAY_D99.js} +1 -1
- package/_assets/{thirdweb-C6_KggNb.js → thirdweb-ChAqWFCO.js} +3 -3
- package/_assets/{to-serializable-transaction-BWUJjZdO.js → to-serializable-transaction-D9qGbcrS.js} +2 -2
- package/_assets/{transactionReceipt-DmwkwkkP.js → transactionReceipt-BMw52z-f.js} +1 -1
- package/_assets/{transactions-BSJMdJi4.js → transactions-CeENvGIt.js} +1 -1
- package/_assets/{useCreditPacks-DQxqJepP.js → useCreditPacks-BcavayJ3.js} +1 -1
- package/_assets/{useImportable-Co0AaRPY.js → useImportable-CqnIvzif.js} +1 -1
- package/_assets/{useInfiniteGrid-UHC0Jjfu.js → useInfiniteGrid-BjEQAabI.js} +1 -1
- package/_assets/{useTheme-B-55uBZP.js → useTheme-BnnteKI4.js} +1 -1
- package/_assets/{verifyHash-BGJh7VH4.js → verifyHash-CuRmy06R.js} +1 -1
- package/_assets/{w3m-modal-CwXD068w.js → w3m-modal-BvOCJx7k.js} +1 -1
- package/_assets/{w3m-modal-CjXODL26.js → w3m-modal-CkBFH4cA.js} +1 -1
- package/_assets/{wait-for-tx-receipt-DRA8zhkS.js → wait-for-tx-receipt-B2KaPYJT.js} +1 -1
- package/_assets/{wallets-DOXRX-PZ.js → wallets-CpXU08d2.js} +5 -5
- package/_assets/{web-connector-CXxJTFl4.js → web-connector-BHRkWbB9.js} +3 -3
- package/_assets/{writeContract-BdEWRAPa.js → writeContract-DNDGvg0r.js} +1 -1
- package/_assets/{zoraTestnet-CzfX948o.js → zoraTestnet-CCn01jlp.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/LazyEmoteControls-lVtDIvME.js +0 -2
- package/_assets/OutfitDetail-BNlw-NwV.js +0 -334
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,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-7eX0SEVb.js","_assets/react-BYHuwl8r.js","_assets/dcl-schemas-CmtP3U6y.js","_assets/index-D7dTUoYt.js","_assets/sentry-Dx-KuLV3.js","_assets/ethers-BDpbhgX6.js","_assets/intl-CBcMB1D2.js","_assets/index-BYP7oMPZ.css","_assets/createSvgIcon-BCgRSx6l.js","_assets/clsx-WwvpwSg0.js","_assets/styled-8pFgehSd.js","_assets/emotion-styled.browser.esm-BsZP4P-B.js","_assets/CircularProgress-BYXbDw8X.js","_assets/index-CAj85Mcv.js","_assets/useTheme-B-55uBZP.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as e}from"./index-D7dTUoYt.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-7eX0SEVb.js").then(r=>r.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])),e(()=>import("./index-CAj85Mcv.js"),__vite__mapDeps([13,3,1,2,4,5,6,7,14,10])),e(()=>import("./index-D7dTUoYt.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,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-D7dTUoYt.js";import{E as _}from"./ErrorNotice-CCsvrT3H.js";import{E as Ae}from"./LazyEmoteControls-lVtDIvME.js";import{O as Fe}from"./OutfitPreview-J5m3e8Gl.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};
|