@dcl/shop 0.10.1-31033351584.commit-7c362c4 → 0.10.1-31034473421.commit-bc8c007
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-CC-drZTD.js +381 -0
- package/_assets/{AnimatedBackground-D9zMzxrX.js → AnimatedBackground-C2Ncq3_E.js} +1 -1
- package/_assets/{Assets-CHz_GnGP.js → Assets-DG4ddvEA.js} +2 -2
- package/_assets/{Assets.styles-WLYC9ZCn.js → Assets.styles-BR6LRzsi.js} +1 -1
- package/_assets/{Authorizations-C_ld2hUu.js → Authorizations-BfVJlMW8.js} +1 -1
- package/_assets/{Cart-DBgyj50N.js → Cart-DDHGXB0M.js} +2 -2
- package/_assets/{CircularProgress-Dd_9a3Fi.js → CircularProgress-CsPPGJq-.js} +1 -1
- package/_assets/{Collection-CgY9imoj.js → Collection-IF46ulmh.js} +1 -1
- package/_assets/{CollectionCarousel-BQc0kPjE.js → CollectionCarousel-BKyJ1qJ0.js} +1 -1
- package/_assets/{Confetti-P7-7XzLV.js → Confetti-BvaNvqo_.js} +1 -1
- package/_assets/{Creator-DX_sw5fh.js → Creator-BZ6noM_Z.js} +1 -1
- package/_assets/{ErrorNotice-6mO-dV9R.js → ErrorNotice-DuHUqzrI.js} +1 -1
- package/_assets/{ExchangeController-CuXSsueh.js → ExchangeController-D18bEO7-.js} +1 -1
- package/_assets/{Faq-MPZMyEz7.js → Faq-C46L8GKX.js} +1 -1
- package/_assets/{GetCredits-DclqIV_n.js → GetCredits-GeJS2N53.js} +1 -1
- package/_assets/{Grow-BwZ30IFC.js → Grow-Dh2-4jak.js} +1 -1
- package/_assets/{HelpersUtil-CgkoCMU8.js → HelpersUtil-daecOugO.js} +1 -1
- package/_assets/{ItemDetail-B57bZ-Jc.js → ItemDetail-DMKpiTyj.js} +1 -1
- package/_assets/LazyEmoteControls-CgDq4t3s.js +2 -0
- package/_assets/{LoadMore-DUO3yo-d.js → LoadMore-DSfpb61Y.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-BHHRlgfm.js → ManaPricingBanner.styles-BR2K9M4o.js} +1 -1
- package/_assets/{MyAssets-DrjJhyAF.js → MyAssets-DK-Fl0qf.js} +1 -1
- package/_assets/{MyFavorites-CeLHszJj.js → MyFavorites-CQSlRzjv.js} +1 -1
- package/_assets/{NotFound-DUBbnvP8.js → NotFound-I4xImBrl.js} +1 -1
- package/_assets/{NotificationsBell-BMPn7Zge.js → NotificationsBell-B3CjtPKY.js} +1 -1
- package/_assets/{OutfitDetail-B1T-zX3T.js → OutfitDetail-JHw4Anck.js} +1 -1
- package/_assets/{OutfitPreview-BSQLpTAp.js → OutfitPreview-CD1I4FGA.js} +1 -1
- package/_assets/{OutfitStudio-CT1p1EwA.js → OutfitStudio-BmPDW-4_.js} +1 -1
- package/_assets/{StoreSettings-DW1tYBTa.js → StoreSettings-BaxaylF_.js} +1 -1
- package/_assets/{Success-BnIfzbBg.js → Success-CmsOOzv5.js} +1 -1
- package/_assets/{SwapController-C6lyTdKK.js → SwapController-C3FH350F.js} +1 -1
- package/_assets/{Tooltip-CeBylumq.js → Tooltip-BUoy_yBS.js} +1 -1
- package/_assets/{TradeService-CxCvVbfV.js → TradeService-BfkCpUVP.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-B9ZlMbe-.js → W3MFrameProviderSingleton-C5e_NZU2.js} +3 -3
- package/_assets/{WebCryptoP256-DqLZ2JeY.js → WebCryptoP256-DThOAe5r.js} +1 -1
- package/_assets/{authorizations-D_b9y1Zd.js → authorizations-C46pWUg_.js} +1 -1
- package/_assets/{basic-6pZpkz1m.js → basic-CFr4oW8e.js} +1 -1
- package/_assets/{biconomy-ZrkAwwyz.js → biconomy-EIHI94HW.js} +1 -1
- package/_assets/{builder-DzG-rWAy.js → builder-BxyqTcR8.js} +1 -1
- package/_assets/{buy-DdP53CVp.js → buy-CrEjBbQr.js} +1 -1
- package/_assets/{buy-gasless-CW77neja.js → buy-gasless-DX2i6M46.js} +1 -1
- package/_assets/{categories-IxSjFqsD.js → categories-Djn1x7W5.js} +1 -1
- package/_assets/{ccip-BOmMoBQj.js → ccip-Cj8VnD6W.js} +1 -1
- package/_assets/{ccip-B3PEEgzH.js → ccip-bf8ZEccw.js} +1 -1
- package/_assets/{collectionPage.styles-Di_BnCwz.js → collectionPage.styles-D2QDYBrf.js} +2 -2
- package/_assets/{controller-2wsshlU9.js → controller-Btwq_67O.js} +2 -2
- package/_assets/{core-uxnhWBlK.js → core-BoZKMv7D.js} +4 -4
- package/_assets/{createSvgIcon-NvyKnNvS.js → createSvgIcon-CFkg424z.js} +1 -1
- package/_assets/{custom-DRMxU13P.js → custom-CnxdXktY.js} +1 -1
- package/_assets/{data-capture-d4fN2Aim.js → data-capture-DE3s9XBD.js} +1 -1
- package/_assets/{email-Emg8tWxu.js → email-CyUtvnHn.js} +1 -1
- package/_assets/{embedded-wallet-Bjr40hue.js → embedded-wallet-CNutXAKp.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-QfXC-KV3.js → emotion-styled.browser.esm-tTp1XoI0.js} +1 -1
- package/_assets/{engine-CicyEMnx.js → engine-DDh_khSi.js} +1 -1
- package/_assets/{errors-B3VCSPGA.js → errors-DB8YoX8H.js} +1 -1
- package/_assets/{estimate-l1-fee-BT6nlWPX.js → estimate-l1-fee-FPPQQb_O.js} +1 -1
- package/_assets/{execute-WaIhUkkd.js → execute-CbtU2HHN.js} +2 -2
- package/_assets/{features-CxpVP8VP.js → features-CTzqOm7l.js} +1 -1
- package/_assets/{fetchTokenMetadata-cnEvxjTn.js → fetchTokenMetadata-DL00Yl1V.js} +2 -2
- package/_assets/{field.styles-C--nSPUE.js → field.styles-VS1Bp3SY.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-6FW4N0DG.js → get-ecosystem-wallet-info-Ts3YeqO0.js} +1 -1
- package/_assets/{getBalance-BAQITwAU.js → getBalance-Ci8oL4mO.js} +1 -1
- package/_assets/{getNFT-oYnvPuKj.js → getNFT-DDI0kKlm.js} +1 -1
- package/_assets/{getNFT-BpsbO0uo.js → getNFT-Fy7sCZrd.js} +1 -1
- package/_assets/{grid.styles-lAALC631.js → grid.styles-B8-aHr-Z.js} +1 -1
- package/_assets/{hashTypedData-Jrl2VmhK.js → hashTypedData-CgBoKib0.js} +1 -1
- package/_assets/{hashTypedData-CsUSXTk_.js → hashTypedData-DRSL-xFv.js} +1 -1
- package/_assets/{in-app-CmfWNhfE.js → in-app-CZhXNWAN.js} +1 -1
- package/_assets/{in-app-wallet-calls-DtB6x1ba.js → in-app-wallet-calls-BiloEdY1.js} +1 -1
- package/_assets/{index-BD8q0Ac0.js → index-0Vjq0BuP.js} +1 -1
- package/_assets/{index-BzAMjUfs.js → index-3uaNnNo1.js} +1 -1
- package/_assets/{index-Chwj7fux.js → index-8JB2rkjo.js} +1 -1
- package/_assets/{index-CqgBrAa3.js → index-9o15Whth.js} +1 -1
- package/_assets/{index-B0RmgR_d.js → index-9yrtZWWe.js} +12 -12
- package/_assets/{index-BP8QvCSU.js → index-B1qAF-bB.js} +1 -1
- package/_assets/{index-DS0wbCkf.js → index-B44uRV_0.js} +1 -1
- package/_assets/{index-I09RqTLV.js → index-B5Ot6UoK.js} +1 -1
- package/_assets/{index-BX_TKzNw.js → index-BB1Alh6i.js} +1 -1
- package/_assets/{index-C2ZjqrRW.js → index-BFPc-Id9.js} +1 -1
- package/_assets/{index-BXDc0uKc.js → index-BGDJC7BF.js} +3 -3
- package/_assets/{index-DZg6weKS.js → index-BIsmMKyp.js} +1 -1
- package/_assets/{index-ZjJ5_frA.js → index-BNALoEFc.js} +2 -2
- package/_assets/{index-C9B5P4Dg.js → index-BV1tKLO5.js} +1 -1
- package/_assets/{index-Bixh0fkw.js → index-BW_by1p8.js} +1 -1
- package/_assets/{index-uvJyV1hQ.js → index-B_dDd-2o.js} +1 -1
- package/_assets/{index-DGETq3uL.js → index-BaZrYmBG.js} +1 -1
- package/_assets/{index-DMIDDxCt.js → index-BbcqV6dl.js} +1 -1
- package/_assets/{index-CgBr7agx.js → index-BcYeQL6D.js} +1 -1
- package/_assets/{index-BlHE6_qG.js → index-Be3z0ef5.js} +1 -1
- package/_assets/{index-OY9eT885.js → index-Bkq0noih.js} +1 -1
- package/_assets/{index-BVGUt6Gs.js → index-BqiBjV7M.js} +1 -1
- package/_assets/{index-BipKcd4N.js → index-BtW2kxAX.js} +1 -1
- package/_assets/{index-CuJX4PqH.js → index-Bw4kOn5N.js} +3 -3
- package/_assets/{index-D9gu_V-T.js → index-CAAx9kV_.js} +1 -1
- package/_assets/{index-DwlPIy0M.js → index-CAixpuE6.js} +1 -1
- package/_assets/{index-B7HzCYv7.js → index-CMdaU3Fe.js} +1 -1
- package/_assets/{index-DrmR7S6Q.js → index-CMsqXnmJ.js} +2 -2
- package/_assets/{index-CQE18d4g.js → index-CN25d8be.js} +1 -1
- package/_assets/{index-CtNSOsEl.js → index-COM2HkFw.js} +1 -1
- package/_assets/{index-DyR3H03X.js → index-CRLgNgTE.js} +1 -1
- package/_assets/{index-BFBXL8wW.js → index-CVQqdafr.js} +1 -1
- package/_assets/{index-CL8GjkKH.js → index-CWQ_hyD9.js} +2 -2
- package/_assets/{index-CyH1prYm.js → index-Cb-Xyz4U.js} +1 -1
- package/_assets/{index-DVirP4aU.js → index-CcEkPG2d.js} +1 -1
- package/_assets/{index-Cc0dtF8p.js → index-CeFSJ06M.js} +1 -1
- package/_assets/{index-DPaAk7j3.js → index-CeLWKxYJ.js} +3 -3
- package/_assets/{index-DzZYiqRk.js → index-D5xfzJYu.js} +1 -1
- package/_assets/{index-DF1U0cxT.js → index-D695ADYc.js} +1 -1
- package/_assets/{index-CVOmuhfA.js → index-D8gWMfNo.js} +1 -1
- package/_assets/{index-DfDPH-Yr.js → index-DH5xRkV0.js} +1 -1
- package/_assets/{index-C4VwyLUU.js → index-DKkcKHt7.js} +1 -1
- package/_assets/{index-BhLPInDw.js → index-DN1XWQxE.js} +1 -1
- package/_assets/{index-COJmepdC.js → index-Di-G-FMZ.js} +1 -1
- package/_assets/{index-Bjhe9YfT.js → index-Dk6WNfYc.js} +1 -1
- package/_assets/{index-CIUi1P7h.js → index-Dqgl-D8m.js} +1 -1
- package/_assets/{index-BD1dOfiG.js → index-Gq4sV0iH.js} +1 -1
- package/_assets/{index-Jl1-nAXE.js → index-I-YHePeT.js} +1 -1
- package/_assets/{index-ZasgicCU.js → index-RnP4upXv.js} +1 -1
- package/_assets/{index-COtDNaHu.js → index-Yk813Dlf.js} +1 -1
- package/_assets/{index-D8Ax93UI.js → index-i-zDqv41.js} +68 -68
- package/_assets/{index-DaKcX9sX.js → index-ojZHdJoW.js} +1 -1
- package/_assets/{index.es-G5uWqVOg.js → index.es-BPLGTRUs.js} +1 -1
- package/_assets/{index.es-BLEyVYyK.js → index.es-Bb6fWqbI.js} +1 -1
- package/_assets/{index.es-BCk9rT7_.js → index.es-Cw9YevXi.js} +4 -4
- package/_assets/{localBatchGatewayRequest-BqP45lmY.js → localBatchGatewayRequest-DV-Qiqwg.js} +1 -1
- package/_assets/{networks-C7vkOnsA.js → networks-BidiJn0z.js} +1 -1
- package/_assets/{onramp-B5AsANak.js → onramp-CC1FvFBK.js} +1 -1
- package/_assets/{openzeppelin-BDhUFXKd.js → openzeppelin-DxfcoOmD.js} +1 -1
- package/_assets/{parseNft-CS3ce58Q.js → parseNft-D5_2xvn3.js} +2 -2
- package/_assets/{parseSignature-B-p0IAwY.js → parseSignature-DCVnoEud.js} +3 -3
- package/_assets/{parseSignature-DXiot5Vg.js → parseSignature-DGREosgl.js} +1 -1
- package/_assets/{passkeys-DNv3zmOi.js → passkeys-c0mSn9d_.js} +1 -1
- package/_assets/{pay-with-exchange-DXRFRXNY.js → pay-with-exchange-tOzIsJn8.js} +1 -1
- package/_assets/{qr-overlay-Be9ZguAa.js → qr-overlay-C238jsQe.js} +1 -1
- package/_assets/{receive-DTNyaTyB.js → receive-YJVe-YsN.js} +1 -1
- package/_assets/{resolveImplementation-LSubYu3p.js → resolveImplementation-Bup3lN7e.js} +1 -1
- package/_assets/{rpc-DFIKV5lj.js → rpc-DRG5dkgN.js} +1 -1
- package/_assets/{secp256k1-BeAsAc0R.js → secp256k1-BLTf96Dw.js} +1 -1
- package/_assets/{secp256k1-qX4eq3vO.js → secp256k1-DGfmtJOR.js} +1 -1
- package/_assets/{secp256k1-DR1oWUKC.js → secp256k1-DyD-7xzT.js} +1 -1
- package/_assets/{send-DJjB2M1Q.js → send-HB6wuoPf.js} +1 -1
- package/_assets/{send-batch-transaction-BaUdBZlb.js → send-batch-transaction-BLLreTbC.js} +1 -1
- package/_assets/{send-eip712-transaction-lIj5rFgO.js → send-eip712-transaction-1tvGSDlM.js} +2 -2
- package/_assets/{send-gasless-transaction-DVhS9M3V.js → send-gasless-transaction-Ctg5l4BN.js} +2 -2
- package/_assets/{send-transaction-CMZ9JiTN.js → send-transaction-XQn5-Ih2.js} +2 -2
- package/_assets/{sendMetaTransaction-E1EYSLOv.js → sendMetaTransaction-BHIBWrRl.js} +1 -1
- package/_assets/{sendRawTransaction-kegyDwlO.js → sendRawTransaction-DcRJfXtJ.js} +3 -3
- package/_assets/{serializeTransaction-D8wcgC_5.js → serializeTransaction-BovQs4W4.js} +1 -1
- package/_assets/{session-proposal-D0hYEWkU.js → session-proposal-Dh0H2iMq.js} +1 -1
- package/_assets/{session-request-BOvXEvci.js → session-request-PjE6-slV.js} +2 -2
- package/_assets/{signing-BgAqN9_v.js → signing-D_b9YpxC.js} +3 -3
- package/_assets/{skeleton.styles-B1iQljhe.js → skeleton.styles-BkB0ehmF.js} +1 -1
- package/_assets/{socials-BSKX4wYT.js → socials-BdH7MtQ-.js} +1 -1
- package/_assets/{styled-DhdWG9IN.js → styled-DO__i5OQ.js} +1 -1
- package/_assets/{swaps-CA53eWy9.js → swaps-8XaXvjLz.js} +1 -1
- package/_assets/{thirdweb-BgxGEV7u.js → thirdweb-CQkxIvb0.js} +3 -3
- package/_assets/{to-serializable-transaction-DuWuQs-Y.js → to-serializable-transaction-BKduqsBs.js} +2 -2
- package/_assets/{transactionReceipt-CHx9xgPc.js → transactionReceipt-B0NXQ6bs.js} +1 -1
- package/_assets/{transactions-CwoPg7nZ.js → transactions-B8KmPj9n.js} +1 -1
- package/_assets/{useCreditPacks-Dctt6M21.js → useCreditPacks-B2mrQzTg.js} +1 -1
- package/_assets/{useImportable-CFTNXsyw.js → useImportable-B5Yrq7z2.js} +1 -1
- package/_assets/{useInfiniteGrid-ifHQPotm.js → useInfiniteGrid-ByXPg4Cl.js} +1 -1
- package/_assets/{useTheme-Mu9eB-qd.js → useTheme-Dr5b6sGg.js} +1 -1
- package/_assets/{verifyHash-BlAqphQ6.js → verifyHash-kfqTlL2t.js} +1 -1
- package/_assets/{w3m-modal-DRb7QTWO.js → w3m-modal-D8CVGu-q.js} +1 -1
- package/_assets/{w3m-modal-ecJ1_lBE.js → w3m-modal-qsbw4UhH.js} +1 -1
- package/_assets/{wait-for-tx-receipt-D1uFBLQV.js → wait-for-tx-receipt-C6x4RXLY.js} +1 -1
- package/_assets/{wallets-gt4F0nQN.js → wallets-OabXbDr9.js} +5 -5
- package/_assets/{web-connector-H3XVziku.js → web-connector-BIGf2LgP.js} +3 -3
- package/_assets/{writeContract-Dvy_35iC.js → writeContract-C3LPgHro.js} +1 -1
- package/_assets/{zoraTestnet-BW0MPGSm.js → zoraTestnet-EWvUityH.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Activity-DIFzGCgA.js +0 -381
- package/_assets/LazyEmoteControls-C8p_nuP6.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,b as
|
|
1
|
+
import{j as e,b as se,r as g,L as ae}from"./react-BYHuwl8r.js";import{t as q,s as t,w as re,y as oe,b as i,C as Q,B as E,bV as Z,z as ee,$ as de,ba as N,F as D,R as le,o as ce,A as pe,b9 as he,I as W,ab as ge,am as xe,ae as me,af as ue,bW as fe,E as we}from"./index-9yrtZWWe.js";import{c as ye,i as be,R as ve,u as je}from"./useImportable-B5Yrq7z2.js";import{S as ke,C as Ce,b as $e}from"./ManaPricingBanner.styles-BR2K9M4o.js";import{F as O}from"./Faq-C46L8GKX.js";import{C as U}from"./field.styles-VS1Bp3SY.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./buy-CrEjBbQr.js";import"./authorizations-C46pWUg_.js";import"./sendMetaTransaction-BHIBWrRl.js";function Se({size:a=12,...l}){return e.jsx("svg",{viewBox:"0 0 20 20",width:a,height:a,fill:"none","aria-hidden":!0,focusable:"false",...l,children:e.jsx("path",{d:"M5 10.5l3 3 7-7.5",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}const{colors:S,radius:Ie,z:Le}=q,Te=re`
|
|
2
2
|
0% {
|
|
3
3
|
transform: scale(0);
|
|
4
4
|
opacity: 0;
|
|
@@ -7,7 +7,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
7
7
|
transform: scale(1);
|
|
8
8
|
opacity: 1;
|
|
9
9
|
}
|
|
10
|
-
`,
|
|
10
|
+
`,K=t.div`
|
|
11
11
|
position: fixed;
|
|
12
12
|
inset: 0;
|
|
13
13
|
background: rgba(0, 0, 0, 0.5);
|
|
@@ -15,10 +15,10 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
15
15
|
overflow-y: auto;
|
|
16
16
|
padding: 20px;
|
|
17
17
|
// Above the global DCL navbar so the backdrop dims the full viewport (navbar included).
|
|
18
|
-
z-index: ${
|
|
19
|
-
`,
|
|
18
|
+
z-index: ${Le.overlay};
|
|
19
|
+
`,te=t.div`
|
|
20
20
|
background: ${S.white};
|
|
21
|
-
border-radius: ${
|
|
21
|
+
border-radius: ${Ie.card};
|
|
22
22
|
padding: 24px;
|
|
23
23
|
width: min(420px, 92vw);
|
|
24
24
|
margin: auto;
|
|
@@ -38,7 +38,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
38
38
|
justify-content: center;
|
|
39
39
|
width: 100%;
|
|
40
40
|
}
|
|
41
|
-
`,
|
|
41
|
+
`,G=t.h2`
|
|
42
42
|
font-size: 20px;
|
|
43
43
|
`;t.img`
|
|
44
44
|
width: 140px;
|
|
@@ -47,7 +47,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
47
47
|
align-self: center;
|
|
48
48
|
background: ${S.media};
|
|
49
49
|
border-radius: 10px;
|
|
50
|
-
`;const
|
|
50
|
+
`;const ze=t.div`
|
|
51
51
|
position: sticky;
|
|
52
52
|
bottom: 0;
|
|
53
53
|
display: flex;
|
|
@@ -67,7 +67,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
67
67
|
display: grid;
|
|
68
68
|
place-items: center;
|
|
69
69
|
margin: 4px auto 2px;
|
|
70
|
-
animation: ${
|
|
70
|
+
animation: ${Te} 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.4);
|
|
71
71
|
|
|
72
72
|
@media (prefers-reduced-motion: reduce) {
|
|
73
73
|
animation: none;
|
|
@@ -76,23 +76,23 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
76
76
|
font-weight: 700;
|
|
77
77
|
font-size: 16px;
|
|
78
78
|
margin: 2px 0 0;
|
|
79
|
-
`;const{colors:f,gradients:
|
|
79
|
+
`;const{colors:f,gradients:Ae,radius:_e}=q,Me=t(te)`
|
|
80
80
|
width: min(460px, 94vw);
|
|
81
81
|
text-align: left;
|
|
82
82
|
align-items: stretch;
|
|
83
|
-
`,
|
|
83
|
+
`,Ee=t.div`
|
|
84
84
|
height: 6px;
|
|
85
85
|
border-radius: 999px;
|
|
86
86
|
background: ${f.line};
|
|
87
87
|
overflow: hidden;
|
|
88
88
|
margin: 6px 0 14px;
|
|
89
|
-
`,
|
|
89
|
+
`,Re=t.div`
|
|
90
90
|
height: 100%;
|
|
91
91
|
width: 0;
|
|
92
|
-
background: ${
|
|
92
|
+
background: ${Ae.amethyst};
|
|
93
93
|
border-radius: 999px;
|
|
94
94
|
transition: width 0.45s ease;
|
|
95
|
-
`,
|
|
95
|
+
`,Fe=t.ul`
|
|
96
96
|
list-style: none;
|
|
97
97
|
margin: 0;
|
|
98
98
|
padding: 0;
|
|
@@ -105,7 +105,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
105
105
|
min-height: 96px;
|
|
106
106
|
max-height: 320px;
|
|
107
107
|
overflow-y: auto;
|
|
108
|
-
`,
|
|
108
|
+
`,Pe=t.li`
|
|
109
109
|
display: grid;
|
|
110
110
|
grid-template-columns: 34px 1fr auto auto;
|
|
111
111
|
align-items: center;
|
|
@@ -124,10 +124,10 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
124
124
|
&[data-status='failed'] {
|
|
125
125
|
opacity: 0.6;
|
|
126
126
|
}
|
|
127
|
-
`,
|
|
127
|
+
`,Be=t.span`
|
|
128
128
|
width: 34px;
|
|
129
129
|
height: 34px;
|
|
130
|
-
border-radius: ${
|
|
130
|
+
border-radius: ${_e.btn};
|
|
131
131
|
overflow: hidden;
|
|
132
132
|
background: ${f.media};
|
|
133
133
|
display: grid;
|
|
@@ -138,17 +138,17 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
138
138
|
height: 100%;
|
|
139
139
|
object-fit: contain;
|
|
140
140
|
}
|
|
141
|
-
`,
|
|
141
|
+
`,Qe=t.span`
|
|
142
142
|
font-weight: 600;
|
|
143
143
|
font-size: 14px;
|
|
144
144
|
white-space: nowrap;
|
|
145
145
|
overflow: hidden;
|
|
146
146
|
text-overflow: ellipsis;
|
|
147
|
-
`,
|
|
147
|
+
`,Ne=t.span`
|
|
148
148
|
font-weight: 700;
|
|
149
149
|
font-size: 13px;
|
|
150
150
|
color: ${f.text2};
|
|
151
|
-
`,
|
|
151
|
+
`,qe=t.span`
|
|
152
152
|
font-size: 12px;
|
|
153
153
|
font-weight: 700;
|
|
154
154
|
color: ${f.accent};
|
|
@@ -157,18 +157,18 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
157
157
|
gap: 6px;
|
|
158
158
|
justify-content: flex-end;
|
|
159
159
|
min-width: 74px;
|
|
160
|
-
`,
|
|
160
|
+
`,De=t.span`
|
|
161
161
|
color: ${f.muted2};
|
|
162
162
|
font-weight: 600;
|
|
163
163
|
`,B=t.span`
|
|
164
164
|
color: ${f.muted};
|
|
165
165
|
font-weight: 600;
|
|
166
|
-
`,
|
|
166
|
+
`,We=t.span`
|
|
167
167
|
width: 14px;
|
|
168
168
|
height: 14px;
|
|
169
169
|
margin: 0;
|
|
170
170
|
border-width: 2px;
|
|
171
|
-
`,
|
|
171
|
+
`,Oe=t.span`
|
|
172
172
|
width: 20px;
|
|
173
173
|
height: 20px;
|
|
174
174
|
border-radius: 50%;
|
|
@@ -177,15 +177,15 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
177
177
|
display: grid;
|
|
178
178
|
place-items: center;
|
|
179
179
|
font-size: 12px;
|
|
180
|
-
`,
|
|
180
|
+
`,Ue=t.p`
|
|
181
181
|
margin: 12px 0 0;
|
|
182
|
-
`;function
|
|
182
|
+
`;function Ke(a,l){switch(a==null?void 0:a.step){case"cancelling":return l?i("migrate.phaseCancelConfirm"):i("migrate.phaseCancel");case"confirming-cancel":return l?i("migrate.phaseConfirmingCancel"):i("migrate.phaseConfirmingCancelManaged");case"authorising":return l?i("migrate.phaseAuthoriseConfirm"):i("migrate.phaseAuthorise");case"signing":return l?i("migrate.phaseSignConfirm"):i("migrate.phaseSign");case"publishing":return i("migrate.phasePublishing");case"indexing":return i("migrate.phaseIndexing",{attempt:a.attempt,of:a.of});default:return l?i("migrate.statusConfirm"):i("migrate.statusAdding")}}function Ge({queue:a,session:l,onClose:p,onDone:k}){const R=se(),y=oe(l.providerType),[F,L]=g.useState(()=>a.map(()=>null)),[b,T]=g.useState(null),[c,w]=g.useState(()=>a.map(()=>"pending")),[x,z]=g.useState("running"),v=g.useRef(!1);g.useEffect(()=>{if(v.current)return;v.current=!0;let s=!1;return y&&ye(a.map(r=>r.item),l.address).then(r=>{!s&&r&&T({approvals:r.approvals,total:r.total})}).catch(()=>{}),(async()=>{for(let r=0;r<a.length;r++){if(s)return;w(h=>h.map((m,u)=>u===r?"active":m));try{await be(a[r].item,a[r].priceCredits,l,{onPhase:h=>{s||L(m=>m.map((u,$)=>$===r?h:u))}}),de("Shop Migrated Listing",{item_id:a[r].item.itemId??a[r].item.oldTradeId??null,contract_address:a[r].item.contractAddress,new_price_credits:a[r].priceCredits,new_price_usd:N(a[r].priceCredits)}),s||w(h=>h.map((m,u)=>u===r?"done":m))}catch(h){if(h instanceof ve)D(h,{flow:"import_listing",step:"relist",itemId:a[r].item.itemId??a[r].item.oldTradeId}),s||w(m=>m.map((u,$)=>$===r?"unlisted":u));else{const m=h,u=m.code===4001||/reject|denied|cancel/i.test(m.message??"");u||D(h,{flow:"import_listing",itemId:a[r].item.itemId??a[r].item.oldTradeId}),s||w($=>$.map((ie,ne)=>ne===r?u?"skipped":"failed":ie))}}}s||z("finished")})(),()=>{s=!0}},[]);const C=c.filter(s=>s==="done").length,A=c.findIndex(s=>s==="active"),P=Math.round(c.filter(s=>s!=="pending"&&s!=="active").length/a.length*100);function _(){k(),p()}const M=c.filter(s=>s==="skipped"||s==="failed").length,j=c.filter(s=>s==="unlisted").length,n=g.useRef(!1);return g.useEffect(()=>{x!=="finished"||j>0||n.current||(n.current=!0,_())},[x,j]),x==="finished"?j===0?null:e.jsx(K,{role:"presentation",children:e.jsxs(te,{"data-success":!0,role:"dialog","aria-modal":"true","data-testid":"migrate-unlisted",children:[e.jsx(G,{children:i("migrate.unlistedTitle")}),e.jsxs("p",{className:"muted",style:{margin:0},children:[i("migrate.unlistedSummary",{count:j}),C>0?" "+i("migrate.listedSummary",{count:C,currency:Q.name}):"",M>0?" "+i("migrate.skippedSummary",{count:M}):""]}),e.jsxs(ze,{"data-actions":!0,children:[e.jsx(E,{variant:"ghost",onClick:_,children:i("getCredits.done")}),e.jsx(E,{variant:"purple",onClick:()=>{k(),p(),R(Z)},children:i("migrate.goToMyAssets")})]})]})}):e.jsx(K,{role:"presentation",children:e.jsxs(Me,{"data-testid":"modal",role:"dialog","aria-modal":"true","aria-live":"polite",children:[e.jsx(G,{children:i("migrate.listingTitle")}),e.jsxs("p",{className:"muted small",style:{margin:"0 0 4px"},children:[y?i("migrate.subConfirm"):i("migrate.subManaged")," ",A>=0?i("migrate.progressCount",{current:A+1,total:a.length}):""]}),e.jsx(Ee,{children:e.jsx(Re,{style:{width:`${P}%`}})}),e.jsx(Fe,{children:a.map((s,d)=>e.jsxs(Pe,{"data-status":c[d],children:[e.jsx(Be,{children:s.item.thumbnail?e.jsx("img",{src:s.item.thumbnail,alt:""}):null}),e.jsx(Qe,{title:s.item.name,children:s.item.name||i("migrate.itemFallback")}),e.jsxs(Ne,{children:[e.jsx(ee,{className:"ccy-mark"})," ",s.priceCredits.toLocaleString()]}),e.jsx(qe,{"data-testid":c[d]==="active"?"migrate-active-status":void 0,children:c[d]==="active"?e.jsxs(e.Fragment,{children:[e.jsx(We,{className:"spinner","aria-hidden":!0})," ",Ke(F[d],y)]}):c[d]==="done"?e.jsx(Oe,{children:e.jsx(Se,{})}):c[d]==="skipped"?e.jsx(B,{children:i("migrate.statusSkipped")}):c[d]==="failed"?e.jsx(B,{children:i("migrate.statusFailed")}):c[d]==="unlisted"?e.jsx(B,{title:i("migrate.unlistedTooltip"),children:i("migrate.statusUnlisted")}):e.jsx(De,{children:i("migrate.statusWaiting")})})]},s.item.oldTradeId))}),e.jsx(Ue,{className:"muted small",children:y?b?i(b.approvals>0?"migrate.hintCountApproval":"migrate.hintCount",{total:b.total}):i("migrate.hintConfirm"):i("migrate.hintManaged")})]})})}const He="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='84.837'%20height='84.837'%20viewBox='0%200%2084.837%2084.837'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group'%3e%3cpath%20id='Vector'%20d='M29.2935%2033.6675L43.5472%2044.36C44.4303%2045.0223%2045.5311%2045.3263%2046.6288%2045.2111C47.7266%2045.0959%2048.7403%2044.5699%2049.4666%2043.7387L77.4185%2011.7925'%20stroke='url(%23paint0_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3cpath%20id='Vector_2'%20d='M81.7935%2042.4178C81.7936%2050.6451%2079.2167%2058.6658%2074.4245%2065.3533C69.6323%2072.0409%2062.8657%2077.0594%2055.075%2079.7039C47.2843%2082.3485%2038.8609%2082.4862%2030.9879%2080.0978C23.1149%2077.7094%2016.1878%2072.9149%2011.1796%2066.3876C6.17126%2059.8603%203.33339%2051.9282%203.06452%2043.7053C2.79565%2035.4824%205.10927%2027.3818%209.68046%2020.5413C14.2516%2013.7008%2020.8507%208.46394%2028.5509%205.56634C36.251%202.66875%2044.6654%202.25594%2052.6122%204.38589'%20stroke='url(%23paint1_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_74'%20x1='27.7771'%20y1='28.5159'%20x2='111.866'%20y2='17.1154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_0_74'%20x1='0.562175'%20y1='42.4235'%20x2='139.458'%20y2='29.3377'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",{colors:o,font:Ve,media:Ye,radius:I}=q,Je=t.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: column;
|
|
185
185
|
align-items: center;
|
|
186
186
|
gap: 24px;
|
|
187
187
|
padding: 24px 20px 80px;
|
|
188
|
-
`,
|
|
188
|
+
`,Xe=t.div`
|
|
189
189
|
/* 615px in the design; capped rather than fixed so it still fits a phone. */
|
|
190
190
|
width: 100%;
|
|
191
191
|
max-width: 615px;
|
|
@@ -198,7 +198,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
198
198
|
border-radius: ${I.modal};
|
|
199
199
|
background: ${o.white};
|
|
200
200
|
text-align: center;
|
|
201
|
-
`,
|
|
201
|
+
`,Ze=t.span`
|
|
202
202
|
flex-shrink: 0;
|
|
203
203
|
width: 105px;
|
|
204
204
|
height: 105px;
|
|
@@ -211,7 +211,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
211
211
|
width: 84.837px;
|
|
212
212
|
height: 84.837px;
|
|
213
213
|
}
|
|
214
|
-
`,
|
|
214
|
+
`,et=t.div`
|
|
215
215
|
width: 100%;
|
|
216
216
|
display: flex;
|
|
217
217
|
flex-direction: column;
|
|
@@ -220,56 +220,56 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
220
220
|
padding-bottom: 16px;
|
|
221
221
|
line-height: 1.6;
|
|
222
222
|
color: ${o.text};
|
|
223
|
-
`,
|
|
223
|
+
`,tt=t.h2`
|
|
224
224
|
margin: 0;
|
|
225
225
|
font-size: 20px;
|
|
226
226
|
font-weight: 700;
|
|
227
|
-
`,
|
|
227
|
+
`,it=t.p`
|
|
228
228
|
margin: 0;
|
|
229
229
|
font-size: 16px;
|
|
230
230
|
font-weight: 400;
|
|
231
|
-
`,
|
|
231
|
+
`,nt=t.div`
|
|
232
232
|
width: 310px;
|
|
233
233
|
max-width: 100%;
|
|
234
234
|
padding-bottom: 16px;
|
|
235
|
-
`,
|
|
235
|
+
`,st=t(E)`
|
|
236
236
|
width: 100%;
|
|
237
237
|
height: 56px;
|
|
238
238
|
border-radius: 12px;
|
|
239
239
|
font-size: 15px;
|
|
240
240
|
/* The variant sets 0.046em, which at 15px is 0.69px; the design asks for 0.46px flat. */
|
|
241
241
|
letter-spacing: 0.46px;
|
|
242
|
-
`,
|
|
242
|
+
`,H=t.div`
|
|
243
243
|
max-width: 1003px;
|
|
244
244
|
margin: 0 auto;
|
|
245
245
|
padding-bottom: 120px;
|
|
246
246
|
display: flex;
|
|
247
247
|
flex-direction: column;
|
|
248
248
|
gap: 12px;
|
|
249
|
-
font-family: ${
|
|
250
|
-
`,
|
|
249
|
+
font-family: ${Ve.sans};
|
|
250
|
+
`,at=t.header`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: column;
|
|
253
253
|
gap: 16px;
|
|
254
254
|
padding: 10px 12px;
|
|
255
|
-
`,
|
|
255
|
+
`,rt=t.div`
|
|
256
256
|
display: flex;
|
|
257
257
|
flex-direction: column;
|
|
258
258
|
gap: 8px;
|
|
259
|
-
`,
|
|
259
|
+
`,ot=t.h2`
|
|
260
260
|
margin: 0;
|
|
261
261
|
font-weight: 600;
|
|
262
262
|
font-size: 20px;
|
|
263
263
|
line-height: 24px;
|
|
264
264
|
letter-spacing: 0.46px;
|
|
265
265
|
color: ${o.text};
|
|
266
|
-
`,
|
|
266
|
+
`,dt=t.p`
|
|
267
267
|
margin: 0;
|
|
268
268
|
font-weight: 500;
|
|
269
269
|
font-size: 14px;
|
|
270
270
|
line-height: 1.334;
|
|
271
271
|
color: ${o.muted1};
|
|
272
|
-
`,
|
|
272
|
+
`,lt=t.a`
|
|
273
273
|
display: inline-flex;
|
|
274
274
|
align-items: center;
|
|
275
275
|
gap: 2px;
|
|
@@ -287,22 +287,22 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
287
287
|
outline: 2px solid ${o.accent};
|
|
288
288
|
outline-offset: 2px;
|
|
289
289
|
}
|
|
290
|
-
`,
|
|
290
|
+
`,ct=t.hr`
|
|
291
291
|
width: 100%;
|
|
292
292
|
height: 0;
|
|
293
293
|
margin: 0;
|
|
294
294
|
border: 0;
|
|
295
295
|
border-top: 1px solid ${o.gray4};
|
|
296
|
-
`,
|
|
296
|
+
`,pt=t.div`
|
|
297
297
|
display: flex;
|
|
298
298
|
flex-direction: column;
|
|
299
299
|
gap: 8px;
|
|
300
300
|
padding: 8px 12px 0;
|
|
301
|
-
`,
|
|
301
|
+
`,ht=t(ke)`
|
|
302
302
|
font-size: 14px;
|
|
303
303
|
line-height: 1.334;
|
|
304
304
|
color: ${o.text2};
|
|
305
|
-
`,
|
|
305
|
+
`,gt=t.span`
|
|
306
306
|
flex: none;
|
|
307
307
|
display: grid;
|
|
308
308
|
place-items: center;
|
|
@@ -314,11 +314,11 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
314
314
|
font-size: 12px;
|
|
315
315
|
line-height: 1.6;
|
|
316
316
|
color: ${o.white};
|
|
317
|
-
`,
|
|
317
|
+
`,xt=t.div`
|
|
318
318
|
display: flex;
|
|
319
319
|
flex-direction: column;
|
|
320
320
|
gap: 4px;
|
|
321
|
-
`,
|
|
321
|
+
`,mt=t.label`
|
|
322
322
|
display: flex;
|
|
323
323
|
align-items: center;
|
|
324
324
|
align-self: flex-start;
|
|
@@ -326,17 +326,17 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
326
326
|
line-height: 1.2;
|
|
327
327
|
color: ${o.text};
|
|
328
328
|
cursor: pointer;
|
|
329
|
-
`,
|
|
329
|
+
`,V=t.span`
|
|
330
330
|
flex: none;
|
|
331
331
|
display: grid;
|
|
332
332
|
place-items: center;
|
|
333
333
|
width: 40px;
|
|
334
334
|
height: 40px;
|
|
335
|
-
`,
|
|
335
|
+
`,ut=t.div`
|
|
336
336
|
display: flex;
|
|
337
337
|
flex-direction: column;
|
|
338
338
|
gap: 12px;
|
|
339
|
-
`,
|
|
339
|
+
`,ft=t.article`
|
|
340
340
|
display: flex;
|
|
341
341
|
align-items: center;
|
|
342
342
|
flex-wrap: wrap;
|
|
@@ -352,11 +352,11 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
352
352
|
&[data-off] {
|
|
353
353
|
opacity: 0.5;
|
|
354
354
|
}
|
|
355
|
-
`,
|
|
355
|
+
`,wt=t.div`
|
|
356
356
|
flex: none;
|
|
357
357
|
display: flex;
|
|
358
358
|
align-items: center;
|
|
359
|
-
`,
|
|
359
|
+
`,yt=t.div`
|
|
360
360
|
flex: none;
|
|
361
361
|
display: grid;
|
|
362
362
|
place-items: center;
|
|
@@ -372,7 +372,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
372
372
|
object-fit: contain;
|
|
373
373
|
filter: drop-shadow(0.303px 1.212px 1.516px rgba(0, 0, 0, 0.1));
|
|
374
374
|
}
|
|
375
|
-
`,
|
|
375
|
+
`,bt=t.div`
|
|
376
376
|
/* Basis (not min-width) is what makes the price column wrap to its own line on a phone; min-width: 0
|
|
377
377
|
then lets the name ellipsize once it is on a line of its own. */
|
|
378
378
|
flex: 1 1 150px;
|
|
@@ -382,7 +382,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
382
382
|
justify-content: center;
|
|
383
383
|
gap: 8px;
|
|
384
384
|
padding: 16px 8px;
|
|
385
|
-
`,
|
|
385
|
+
`,vt=t.div`
|
|
386
386
|
font-weight: 600;
|
|
387
387
|
font-size: 16px;
|
|
388
388
|
line-height: 1.2;
|
|
@@ -390,11 +390,11 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
390
390
|
white-space: nowrap;
|
|
391
391
|
overflow: hidden;
|
|
392
392
|
text-overflow: ellipsis;
|
|
393
|
-
`,
|
|
393
|
+
`,jt=t.div`
|
|
394
394
|
display: flex;
|
|
395
395
|
align-items: flex-end;
|
|
396
396
|
gap: 4px;
|
|
397
|
-
`,
|
|
397
|
+
`,Y=t(le)`
|
|
398
398
|
padding: 1.623px 6.491px;
|
|
399
399
|
font-weight: 600;
|
|
400
400
|
font-size: 8.56px;
|
|
@@ -410,7 +410,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
410
410
|
width: 14.605px;
|
|
411
411
|
height: 14.605px;
|
|
412
412
|
}
|
|
413
|
-
`,
|
|
413
|
+
`,kt=t.div`
|
|
414
414
|
flex: none;
|
|
415
415
|
/* Right-aligns the block on the desktop row AND on the line it wraps to on narrow screens. */
|
|
416
416
|
margin-left: auto;
|
|
@@ -419,7 +419,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
419
419
|
align-items: flex-end;
|
|
420
420
|
justify-content: center;
|
|
421
421
|
gap: 4px;
|
|
422
|
-
`,
|
|
422
|
+
`,Ct=t.div`
|
|
423
423
|
display: flex;
|
|
424
424
|
align-items: center;
|
|
425
425
|
justify-content: space-between;
|
|
@@ -448,7 +448,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
448
448
|
border-color: ${o.accent};
|
|
449
449
|
box-shadow: 0 0 0 3px ${o.rarityBg};
|
|
450
450
|
}
|
|
451
|
-
|
|
451
|
+
`,$t=t.input`
|
|
452
452
|
flex: 1 1 auto;
|
|
453
453
|
min-width: 0;
|
|
454
454
|
border: 0;
|
|
@@ -460,25 +460,25 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
460
460
|
color: ${o.text};
|
|
461
461
|
text-align: right;
|
|
462
462
|
font-variant-numeric: tabular-nums;
|
|
463
|
-
`,
|
|
463
|
+
`,St=t.div`
|
|
464
464
|
display: flex;
|
|
465
465
|
align-items: baseline;
|
|
466
466
|
gap: 4px;
|
|
467
467
|
font-weight: 500;
|
|
468
468
|
font-size: 12px;
|
|
469
469
|
color: ${o.gray0};
|
|
470
|
-
|
|
470
|
+
`,It=t.span`
|
|
471
471
|
font-weight: 300;
|
|
472
472
|
font-size: 10px;
|
|
473
473
|
color: ${o.muted};
|
|
474
|
-
`,
|
|
474
|
+
`,Lt=t.div`
|
|
475
475
|
height: 101px;
|
|
476
476
|
border: 1px solid transparent;
|
|
477
477
|
border-radius: ${I.card};
|
|
478
478
|
background: linear-gradient(100deg, #ededed 30%, #f7f7f7 50%, #ededed 70%);
|
|
479
479
|
background-size: 200% 100%;
|
|
480
480
|
animation: shimmer 1.3s infinite linear;
|
|
481
|
-
`,
|
|
481
|
+
`,Tt=t.div`
|
|
482
482
|
position: fixed;
|
|
483
483
|
left: 0;
|
|
484
484
|
right: 0;
|
|
@@ -487,7 +487,7 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
487
487
|
background: rgba(255, 255, 255, 0.9);
|
|
488
488
|
backdrop-filter: blur(12px);
|
|
489
489
|
border-top: 1px solid ${o.line};
|
|
490
|
-
`,
|
|
490
|
+
`,zt=t.div`
|
|
491
491
|
max-width: 1003px;
|
|
492
492
|
margin: 0 auto;
|
|
493
493
|
padding: 15px 20px;
|
|
@@ -495,25 +495,25 @@ import{j as e,b as ee,r as g,L as te}from"./react-BYHuwl8r.js";import{t as q,s a
|
|
|
495
495
|
align-items: center;
|
|
496
496
|
gap: 16px;
|
|
497
497
|
|
|
498
|
-
${
|
|
498
|
+
${Ye.maxWidth("mobile")} {
|
|
499
499
|
padding: 12px 16px;
|
|
500
500
|
gap: 12px;
|
|
501
501
|
}
|
|
502
|
-
`,
|
|
502
|
+
`,At=t.div`
|
|
503
503
|
display: flex;
|
|
504
504
|
align-items: center;
|
|
505
505
|
gap: 6px;
|
|
506
506
|
font-weight: 600;
|
|
507
507
|
font-size: 16px;
|
|
508
508
|
color: ${o.text};
|
|
509
|
-
`,
|
|
509
|
+
`,_t=t.div`
|
|
510
510
|
font-size: 13px;
|
|
511
511
|
color: ${o.muted};
|
|
512
|
-
`,
|
|
512
|
+
`,Mt=t.span`
|
|
513
513
|
flex: 1 1 auto;
|
|
514
|
-
`,
|
|
514
|
+
`,Et=t(E)`
|
|
515
515
|
flex: none;
|
|
516
516
|
padding: 13px 24px;
|
|
517
|
-
`,
|
|
517
|
+
`,J=t.div`
|
|
518
518
|
padding: 16px 12px 0;
|
|
519
|
-
`,
|
|
519
|
+
`,X=[{question:"faq.sellers.whatAreQ",answer:"faq.sellers.whatAreA"},{question:"faq.sellers.whyCreditsQ",answer:"faq.sellers.whyCreditsA"},{question:"faq.sellers.receiveCreditsQ",answer:"faq.sellers.receiveCreditsA"},{question:"faq.sellers.changePriceQ",answer:"faq.sellers.changePriceA"},{question:"faq.sellers.mustSwitchQ",answer:"faq.sellers.mustSwitchA"},{question:"faq.sellers.suggestedPriceQ",answer:"faq.sellers.suggestedPriceA"}],Rt="https://docs.decentraland.org";function Ft(a){try{return fe(BigInt(a))}catch{return null}}function Yt(){const{session:a}=ce(),l=pe(),{items:p,isLoading:k}=je(),[R,y]=g.useState({}),[F,L]=g.useState(new Set),[b,T]=g.useState(null);g.useEffect(()=>{p.length&&y(n=>{const s={...n};for(const d of p)s[d.oldTradeId]==null&&(s[d.oldTradeId]=d.suggestedCredits);return s})},[p]);const c=n=>!F.has(n),w=n=>R[n.oldTradeId]??n.suggestedCredits,x=p.filter(n=>c(n.oldTradeId)),z=x.reduce((n,s)=>n+w(s),0),v=p.length>0&&x.length===p.length,C=x.length>0&&!v;function A(n,s){const d=s.replace(/[^\d]/g,"");y(r=>({...r,[n]:d===""?0:parseInt(d,10)}))}function P(n){L(s=>{const d=new Set(s);return d.has(n)?d.delete(n):d.add(n),d})}function _(){L(v?new Set(p.map(n=>n.oldTradeId)):new Set)}function M(n){return n.map(s=>({item:s,priceCredits:Math.max(1,w(s))}))}function j(){l.invalidateQueries({queryKey:["importable"]}),l.invalidateQueries({queryKey:["shop-items"]}),l.invalidateQueries({queryKey:["catalog-items"]}),l.invalidateQueries({queryKey:["overview-listings"]}),l.invalidateQueries({queryKey:["upsell-listings"]}),l.invalidateQueries({queryKey:["my-assets"]}),l.invalidateQueries({queryKey:["collection-sale-state"]}),we.success(i("importListings.toastUpdated"))}return!k&&p.length===0?e.jsxs(H,{children:[e.jsx(Je,{"data-testid":"import-empty",children:e.jsxs(Xe,{children:[e.jsx(Ze,{"aria-hidden":!0,children:e.jsx("img",{src:He,alt:"",width:85,height:85})}),e.jsxs(et,{children:[e.jsx(tt,{children:i("importListings.emptyTitle")}),e.jsx(it,{children:i("importListings.emptyBody")})]}),e.jsx(nt,{children:e.jsx(st,{as:ae,to:Z,variant:"purple",children:i("importListings.goToMyAssets")})})]})}),e.jsx(J,{children:e.jsx(O,{title:"faq.title",entries:X})})]}):e.jsxs(H,{children:[e.jsxs(at,{children:[e.jsxs(rt,{children:[e.jsx(ot,{children:i("importListings.title")}),e.jsxs("div",{children:[e.jsx(dt,{children:i("importListings.lede",{currency:he(Q.name)})}),e.jsxs(lt,{href:Rt,target:"_blank",rel:"noopener noreferrer",children:[i("importListings.learnMore"),e.jsx(W,{name:"external-link",className:"ico","aria-hidden":!0})]})]})]}),e.jsx(Ce,{})]}),e.jsx(ct,{}),e.jsxs(pt,{children:[e.jsxs(ht,{"data-testid":"import-progress",children:[e.jsx(gt,{"data-testid":"import-count",children:p.length}),i("importListings.updatePricing")]}),e.jsxs(xt,{children:[e.jsxs(mt,{children:[e.jsx(V,{children:e.jsx(U,{type:"checkbox",checked:v,ref:n=>{n&&(n.indeterminate=C)},"data-indeterminate":C,onChange:_,"data-testid":"import-select-all","aria-label":i("importListings.selectAllAria")})}),i("importListings.selectAll")]}),e.jsx(ut,{children:k?Array.from({length:4}).map((n,s)=>e.jsx(Lt,{},s)):p.map(n=>{const s=w(n),d=ge({...n,wearableCategory:n.wearableCategory??void 0}),r=Ft(n.manaWei);return e.jsxs(ft,{"data-off":c(n.oldTradeId)?void 0:!0,children:[e.jsxs(wt,{children:[e.jsx(V,{children:e.jsx(U,{type:"checkbox",checked:c(n.oldTradeId),onChange:()=>P(n.oldTradeId),"data-testid":"import-row-check","aria-label":i("importListings.includeItem",{name:n.name})})}),e.jsx(yt,{children:n.thumbnail?e.jsx("img",{src:n.thumbnail,alt:""}):null})]}),e.jsxs(bt,{children:[e.jsx(vt,{title:n.name,children:n.name||i("importListings.itemFallback")}),e.jsxs(jt,{children:[e.jsx(Y,{"data-variant":"rarity",style:{background:ue(n.rarity),color:me(n.rarity)},children:xe(n.rarity)}),d?e.jsx(Y,{"data-variant":"icon",children:e.jsx(W,{name:d,"aria-hidden":!0})}):null]})]}),e.jsxs(kt,{children:[e.jsxs(Ct,{children:[e.jsx(ee,{}),e.jsx($t,{"data-testid":"imp-price-input",inputMode:"numeric",value:s.toLocaleString(),onChange:h=>A(n.oldTradeId,h.target.value),"aria-label":i("importListings.priceAria",{currency:Q.name,name:n.name})})]}),e.jsxs(St,{children:[e.jsxs("span",{children:["$",N(s).toFixed(2)]}),r?e.jsx(It,{children:i("importListings.wasMana",{amount:r})}):null]})]})]},n.oldTradeId)})})]})]}),e.jsx(J,{children:e.jsx(O,{title:"faq.title",entries:X})}),e.jsx(Tt,{children:e.jsxs(zt,{children:[e.jsxs("div",{children:[e.jsxs(At,{children:[e.jsx($e,{})," ",z.toLocaleString()]}),e.jsx(_t,{children:i("importListings.selectedSummary",{count:x.length,usd:N(z).toFixed(2)})})]}),e.jsx(Mt,{}),e.jsx(Et,{variant:"purple",disabled:x.length===0,onClick:()=>T(M(x)),children:i("importListings.listAll",{count:x.length})})]})}),b&&a?e.jsx(Ge,{queue:b,session:a,onClose:()=>T(null),onDone:j}):null]})}export{Yt as ImportListings};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as k,j as L,f as Ba,c as Ur,g as gt,k as Bt}from"./react-BYHuwl8r.js";import{p as bt}from"./dcl-schemas-CmtP3U6y.js";import{b as it,h as st,a as Ae,i as na,j as aa,k as oa,l as La,m as Lt,e as Ta,n as qa,o as Aa,p as _a,q as Da,d as Kt,s as ia,g as sa,c as la,f as ja,t as Na,r as Wa}from"./index-BX3lLNL7.js";import{p as Xt}from"./sentry-Dx-KuLV3.js";import{B as Fa,a as Ha,c as za,b as Va,u as Fr,d as Ua}from"./index-
|
|
1
|
+
import{r as k,j as L,f as Ba,c as Ur,g as gt,k as Bt}from"./react-BYHuwl8r.js";import{p as bt}from"./dcl-schemas-CmtP3U6y.js";import{b as it,h as st,a as Ae,i as na,j as aa,k as oa,l as La,m as Lt,e as Ta,n as qa,o as Aa,p as _a,q as Da,d as Kt,s as ia,g as sa,c as la,f as ja,t as Na,r as Wa}from"./index-BX3lLNL7.js";import{p as Xt}from"./sentry-Dx-KuLV3.js";import{B as Fa,a as Ha,c as za,b as Va,u as Fr,d as Ua}from"./index-Yk813Dlf.js";import{E as Ts}from"./index-Yk813Dlf.js";import{c as Ga}from"./index-BtW2kxAX.js";import{n as Ve}from"./emotion-styled.browser.esm-tTp1XoI0.js";import{ai as mt,aj as lt,ak as I,cA as Ie,cg as Gr,c3 as St,cw as Hr,al as ve,cB as Ka,cu as Tt}from"./index-9yrtZWWe.js";import{u as Mt,b as zt,o as Ze,c as Ya,d as Za,B as Xa,r as qt,e as zr}from"./createSvgIcon-CFkg424z.js";import{g as ht,a as tt,c as qe,b as yt}from"./clsx-WwvpwSg0.js";import{s as Ee,a as Ja,b as ua}from"./styled-DO__i5OQ.js";import{e as Jt,i as Vt,u as et,G as Qa,P as eo}from"./Grow-Dh2-4jak.js";import"./CircularProgress-CsPPGJq-.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./useTheme-Dr5b6sGg.js";function to(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function ro(e){return k.Children.toArray(e).filter(t=>k.isValidElement(t))}const no={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var Qt={exports:{}},ne={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-is.production.min.js
|
|
4
4
|
*
|