@dcl/shop 0.5.1-30941423866.commit-16bb43e → 0.5.1-30942080363.commit-5a008a2
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-D6HGEkBY.js → Activity-CfohBp0y.js} +6 -6
- package/_assets/{AnimatedBackground-Bz6-eXM-.js → AnimatedBackground-gpCse7EH.js} +2 -2
- package/_assets/{Assets-91-VU1Yf.js → Assets-IY2PmVDp.js} +7 -7
- package/_assets/{Assets.styles-nkCcUHhi.js → Assets.styles-DU_WP2lv.js} +1 -1
- package/_assets/{Authorizations-CEIgVod3.js → Authorizations-DgmmTCT_.js} +3 -3
- package/_assets/{Cart-bL5VUwar.js → Cart-gTkEGP_-.js} +22 -22
- package/_assets/{CircularProgress-t5C2xMSa.js → CircularProgress-1fPr054_.js} +3 -3
- package/_assets/Collection-BRcUPhzB.js +119 -0
- package/_assets/{CollectionCarousel-BofN3PUd.js → CollectionCarousel-CMmb6-ne.js} +17 -17
- package/_assets/{Creator-BvEpySRn.js → Creator-CFYVnbbD.js} +9 -9
- package/_assets/{ErrorNotice-SoCdrSmZ.js → ErrorNotice-D6PKmOXM.js} +1 -1
- package/_assets/{ExchangeController-CfUvjqK_.js → ExchangeController-DrcHwQX8.js} +1 -1
- package/_assets/{GetCredits-DoaG2_0N.js → GetCredits-X1fDrfGZ.js} +12 -12
- package/_assets/{HelpersUtil-BMGSbn7T.js → HelpersUtil-JE28M1o7.js} +1 -1
- package/_assets/{ItemDetail-DgqMo17C.js → ItemDetail-DeXvVWPr.js} +3 -3
- package/_assets/{LoadMore-QZxbtyl3.js → LoadMore-B2K4UDfe.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-CfeNfvcw.js → ManaPricingBanner.styles-eLx-8UKH.js} +3 -3
- package/_assets/{MenuList-3Ove0Kax.js → MenuList-CnBRd37k.js} +1 -1
- package/_assets/{MyAssets-Dfi9GJY7.js → MyAssets-DdRWkVS3.js} +1 -1
- package/_assets/{MyFavorites-4NZPS72p.js → MyFavorites-BlGmxMaR.js} +1 -1
- package/_assets/NotFound-Bz-rDcjH.js +13 -0
- package/_assets/{NotificationsBell-C3ZVZms3.js → NotificationsBell-BrZbQAvI.js} +1 -1
- package/_assets/{OutfitDetail-BnpYR8Sn.js → OutfitDetail-B249K3hQ.js} +4 -4
- package/_assets/{OutfitPreview-Ds73Fyio.js → OutfitPreview-Cdl7SceL.js} +2 -2
- package/_assets/{OutfitStudio-BcZDs5Sw.js → OutfitStudio-YxiNgnnh.js} +13 -13
- package/_assets/{StoreSettings-DgkB-s8z.js → StoreSettings-DopfDTeB.js} +43 -43
- package/_assets/{Success-CFrayKii.js → Success-C5omXUBX.js} +6 -6
- package/_assets/{SwapController-B0I2SBMi.js → SwapController-Bjmuyz_j.js} +1 -1
- package/_assets/{Tooltip-DrwaXxlg.js → Tooltip-D3wp0OFx.js} +1 -1
- package/_assets/{TradeService-wTgWWF_f.js → TradeService-1mcj7EiB.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-DmUcIZ1-.js → W3MFrameProviderSingleton-DHrNy8cB.js} +3 -3
- package/_assets/{WebCryptoP256-Bh90kMb3.js → WebCryptoP256-D9oW_qyA.js} +1 -1
- package/_assets/{authorizations-LULzuipv.js → authorizations-Bx-uumVM.js} +1 -1
- package/_assets/{basic-BJTMzaq4.js → basic-B39QAUZJ.js} +1 -1
- package/_assets/{biconomy-DwCfSXz5.js → biconomy-Bx6Ho69d.js} +1 -1
- package/_assets/browseLayout.styles-DXLz-YlY.js +91 -0
- package/_assets/{builder-CsWf7X7a.js → builder-Czq1-krd.js} +1 -1
- package/_assets/{buy-Cs1e8dwt.js → buy-BDTufK8m.js} +1 -1
- package/_assets/{buy-gasless-nMph8utE.js → buy-gasless-CXKZGuta.js} +1 -1
- package/_assets/{categories-Al7TFiZ3.js → categories-3pKh51AH.js} +1 -1
- package/_assets/{ccip-BwXOtHnt.js → ccip-BDfDn3iK.js} +1 -1
- package/_assets/{ccip-D1z2vDZ1.js → ccip-Co2XroO9.js} +1 -1
- package/_assets/{clsx-CF2rJgou.js → clsx-FFNUV-WB.js} +2 -2
- package/_assets/{controller-Dd98YdMj.js → controller-Bpa17ZZP.js} +2 -2
- package/_assets/{core-D1SojbPa.js → core-BAfyWlVX.js} +4 -4
- package/_assets/{createSvgIcon-BD9EM61r.js → createSvgIcon-B10djVRg.js} +3 -3
- package/_assets/{custom-COzYkjQL.js → custom-B06rMK4w.js} +1 -1
- package/_assets/{data-capture-BjEF_GLG.js → data-capture-BkYxbz02.js} +1 -1
- package/_assets/{email-ps4Ivz5i.js → email-Bknt0jHD.js} +1 -1
- package/_assets/{embedded-wallet-CVLG0kXZ.js → embedded-wallet-o7x5DbDu.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-CDuZD50Q.js → emotion-styled.browser.esm-Dpa1iAyn.js} +1 -1
- package/_assets/{engine-pr6_tb_z.js → engine-BNOXJug7.js} +1 -1
- package/_assets/{errors-5vlAB2Zg.js → errors-Cg4Fnsf8.js} +1 -1
- package/_assets/{estimate-l1-fee-B3g-FnFs.js → estimate-l1-fee-DXNJIfzL.js} +1 -1
- package/_assets/{execute-Cel7d92K.js → execute-BFeK7M_Y.js} +2 -2
- package/_assets/{features-D5rLpDoE.js → features-DCfBaiy_.js} +1 -1
- package/_assets/{fetchTokenMetadata-DryrCOLG.js → fetchTokenMetadata-aKrX_QaT.js} +2 -2
- package/_assets/{field.styles-C90By0S4.js → field.styles-tnDxAMEw.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-DS2uBDFK.js → get-ecosystem-wallet-info-CCTUHx5Y.js} +1 -1
- package/_assets/{getBalance-DzSIaYv8.js → getBalance-CxkeTHxS.js} +1 -1
- package/_assets/{getNFT-B_38vu3d.js → getNFT-CYunBlyN.js} +1 -1
- package/_assets/{getNFT-BYs-Lc0M.js → getNFT-Dy6NXKIb.js} +1 -1
- package/_assets/{getThemeProps-CMN_iN9O.js → getThemeProps-Bz6-UTTf.js} +1 -1
- package/_assets/{grid.styles-_dq0Z7zy.js → grid.styles-BjSrL-3s.js} +1 -1
- package/_assets/{hashTypedData-U2WpRL9J.js → hashTypedData-Ckb55FUP.js} +1 -1
- package/_assets/{hashTypedData-nZ5SahOR.js → hashTypedData-jiOsNHGE.js} +1 -1
- package/_assets/{in-app-CrkxD8Cc.js → in-app-CBFCQ5yP.js} +1 -1
- package/_assets/{in-app-wallet-calls-Li6zp_GH.js → in-app-wallet-calls-Buf5QRM_.js} +1 -1
- package/_assets/{index-uA72jFdu.js → index-9iEI2jn0.js} +1 -1
- package/_assets/{index-Crfc7kEB.js → index-B0lN-Mk6.js} +2 -2
- package/_assets/{index-BfJ9y_zu.js → index-B14yGzKq.js} +1 -1
- package/_assets/{index-CycLf6t0.js → index-B4h2Nw0d.js} +1 -1
- package/_assets/{index-DNQcT8i8.js → index-BUTTEIUm.js} +3 -3
- package/_assets/{index-EbRcCO2e.js → index-BUelAUn3.js} +1 -1
- package/_assets/{index-AnVlYA8W.js → index-BWaeHJs2.js} +1 -1
- package/_assets/{index-1geQS8z5.js → index-BYy-feq3.js} +1 -1
- package/_assets/{index-CVaetlkF.js → index-Bc5IBzFc.js} +1 -1
- package/_assets/{index-onFl5MgF.js → index-BoBgM1AD.js} +3 -3
- package/_assets/{index-CroRq_48.js → index-BzOyUlEA.js} +1 -1
- package/_assets/{index-Dl3xGhv0.js → index-C3IX0bEG.js} +1 -1
- package/_assets/{index-Cnjifnkg.js → index-C4PvJvch.js} +1 -1
- package/_assets/{index-DhVlJ1ll.js → index-CAP79hiU.js} +1 -1
- package/_assets/{index-BzjKhN7Z.js → index-CMaqcpip.js} +1 -1
- package/_assets/{index-BjGq2FUA.js → index-CWKNVQns.js} +1 -1
- package/_assets/{index-B-cFSgSm.js → index-CWsWvJQR.js} +1 -1
- package/_assets/{index-BRUTO6r3.js → index-CXO-pG6w.js} +1 -1
- package/_assets/{index-C23YPWAe.js → index-Cab_9Z0c.js} +1 -1
- package/_assets/{index-B7jpRyRq.js → index-CcfifGLA.js} +1 -1
- package/_assets/{index-DptqVcuN.js → index-CfiJexEY.js} +2 -2
- package/_assets/{index-BzJy8rqx.js → index-ChdOnCl5.js} +1 -1
- package/_assets/{index-BB2cIvLa.js → index-CpshLABR.js} +1 -1
- package/_assets/{index-BZWjyqNw.js → index-CtMN6sQa.js} +1 -1
- package/_assets/{index-CbbOEMBd.js → index-D2bvSzer.js} +1 -1
- package/_assets/{index-Cl61ltQF.js → index-D7Ov3BOT.js} +1 -1
- package/_assets/{index-DfH6m-Ar.js → index-DG0maXsi.js} +1 -1
- package/_assets/{index-ChlDHmTZ.js → index-DHfu_49i.js} +1 -1
- package/_assets/{index-CkDVG_a0.js → index-DI8pHoj5.js} +1 -1
- package/_assets/{index-DI5MJwtI.js → index-DUecvlpK.js} +1 -1
- package/_assets/{index-CtSdDkYg.js → index-DZq6_deL.js} +2 -2
- package/_assets/{index-Dy8SH7iw.js → index-DcGjcsc6.js} +1 -1
- package/_assets/{index-B5d3bUu8.js → index-DinK4F_L.js} +3 -3
- package/_assets/{index-T4DelPen.js → index-Dl80d6_E.js} +1 -1
- package/_assets/{index-CIJrlsx5.js → index-DmwDbAPX.js} +1 -1
- package/_assets/{index-DxPgc0KP.js → index-Dokx6uQZ.js} +1 -1
- package/_assets/{index-C9YePsjK.js → index-Dt_NBFaG.js} +1 -1
- package/_assets/{index-CZ-oyr8d.js → index-DvFfsS8l.js} +1 -1
- package/_assets/{index-Bie49yv7.js → index-DxEYKwRl.js} +2 -2
- package/_assets/{index-CPEW56oC.js → index-DzJCqD2K.js} +1 -1
- package/_assets/{index-3p-1HM0o.js → index-RDFBoQxi.js} +1 -1
- package/_assets/{index-BXLMe2R7.js → index-RQ6uZEar.js} +1 -1
- package/_assets/{index-DqDSn6aV.js → index-SERS6_dB.js} +1 -1
- package/_assets/{index-18uEK4oZ.js → index-STO6kbYe.js} +1 -1
- package/_assets/index-UGlpWu7U.js +3306 -0
- package/_assets/{index-BpktVBiY.js → index-_RCROc0P.js} +1 -1
- package/_assets/{index-voVSpMmf.js → index-he_m0Fl-.js} +1 -1
- package/_assets/{index-3swvxeAv.js → index-nI7p19n6.js} +1 -1
- package/_assets/{index-YQoU1Oij.js → index-nuT17Odj.js} +1 -1
- package/_assets/{index-Ccc-pGrt.js → index-qGfC-M8O.js} +1 -1
- package/_assets/{index-Z5BMZOu5.js → index-sItL3uzy.js} +16 -16
- package/_assets/{index-C6vWyFJn.js → index-wxVvLfDd.js} +2 -2
- package/_assets/{index.es-CToxxyBw.js → index.es-DThH2vFQ.js} +1 -1
- package/_assets/{index.es-DRByKX1-.js → index.es-MdcUrD81.js} +4 -4
- package/_assets/{index.es-CvbAgxyC.js → index.es-v1HXELTh.js} +1 -1
- package/_assets/{localBatchGatewayRequest-DTJgI3xj.js → localBatchGatewayRequest-CgJUOzba.js} +1 -1
- package/_assets/{mana-convert-BvzeO7sG.js → mana-convert-C0Bze7yJ.js} +1 -1
- package/_assets/{networks-CFK3bJYy.js → networks-D-bNskAV.js} +1 -1
- package/_assets/{onramp-okVUuWV0.js → onramp-B_PP9t-6.js} +1 -1
- package/_assets/{openzeppelin-De_HqqIc.js → openzeppelin-CP5bQyOk.js} +1 -1
- package/_assets/{parseNft-q8FmdH8G.js → parseNft-Dj-N28Ic.js} +2 -2
- package/_assets/{parseSignature-CqPrGTDR.js → parseSignature-DlXx8lne.js} +3 -3
- package/_assets/{parseSignature-B5R6ASNp.js → parseSignature-Dp9TGASb.js} +1 -1
- package/_assets/{passkeys-DSnfSnMU.js → passkeys-D4vOQZOp.js} +1 -1
- package/_assets/{pay-with-exchange-W6o_xhiT.js → pay-with-exchange-BlkoZTrJ.js} +1 -1
- package/_assets/{qr-overlay-yLQ0IoEW.js → qr-overlay-B77wg9uX.js} +1 -1
- package/_assets/{receive-B1if_96A.js → receive-fChjzOcU.js} +1 -1
- package/_assets/{resolveImplementation-DO2_Regw.js → resolveImplementation-DB1To9fC.js} +1 -1
- package/_assets/{rpc-Byx0dACz.js → rpc-Dtph7Sn-.js} +1 -1
- package/_assets/{secp256k1-qgQXh0MJ.js → secp256k1-7hf5kymY.js} +1 -1
- package/_assets/{secp256k1-DZugY34I.js → secp256k1-B54M-EJX.js} +1 -1
- package/_assets/{secp256k1-DdXA0G93.js → secp256k1-RKrSZRhb.js} +1 -1
- package/_assets/{send-batch-transaction-_L7mjvMY.js → send-batch-transaction-Dsnq3698.js} +1 -1
- package/_assets/{send-eip712-transaction-DurwgWTK.js → send-eip712-transaction-Bk870_4c.js} +2 -2
- package/_assets/{send-DtosPy0k.js → send-ekbhdMTX.js} +1 -1
- package/_assets/{send-gasless-transaction-B3bmXUxJ.js → send-gasless-transaction-mhZcHIOy.js} +2 -2
- package/_assets/{send-transaction-CZKkuF5l.js → send-transaction-DLfuM_nJ.js} +2 -2
- package/_assets/{sendMetaTransaction-4my7kZiF.js → sendMetaTransaction-CbxpNfVY.js} +1 -1
- package/_assets/{sendRawTransaction-BwVANbYg.js → sendRawTransaction-Dq6iLNOF.js} +3 -3
- package/_assets/{serializeTransaction-cVp_FJox.js → serializeTransaction-D0Ct49e0.js} +1 -1
- package/_assets/{session-proposal-CYvptxU7.js → session-proposal-C_FAURhx.js} +1 -1
- package/_assets/{session-request-Bn37Dem4.js → session-request-Bdn2jF6v.js} +2 -2
- package/_assets/{signing-DEItZ-F3.js → signing-BKBKIDWR.js} +3 -3
- package/_assets/{socials-CdpDKKrQ.js → socials-DDmkzfIp.js} +1 -1
- package/_assets/{swaps-DnenFD5w.js → swaps-BZjTE4Lo.js} +1 -1
- package/_assets/{thirdweb-Bp130Dcj.js → thirdweb-BRgX__sH.js} +3 -3
- package/_assets/{to-serializable-transaction-CcF0iJ96.js → to-serializable-transaction-D0EMGY08.js} +2 -2
- package/_assets/{trade-encoding-BRe43PSw.js → trade-encoding-Dw1x271X.js} +1 -1
- package/_assets/{transactionReceipt-lMu7BRwr.js → transactionReceipt-MJ3mbhdi.js} +1 -1
- package/_assets/{transactions-B14lINkM.js → transactions-DaDqXmUP.js} +1 -1
- package/_assets/{useCreditPacks-C5VR3CBS.js → useCreditPacks-CPOVN7Gq.js} +1 -1
- package/_assets/{useImportable-B5bQ22LQ.js → useImportable-BElQRFOW.js} +1 -1
- package/_assets/{useInfiniteGrid-eJ_aRWUt.js → useInfiniteGrid-7hiVU_K4.js} +1 -1
- package/_assets/useManaRate-bDKCffp4.js +1 -0
- package/_assets/{useTheme--KekSHIk.js → useTheme-C7dqsuDI.js} +1 -1
- package/_assets/{verifyHash-Bt7jFOSN.js → verifyHash-DcTMzSLu.js} +1 -1
- package/_assets/{w3m-modal-Dn7of9MZ.js → w3m-modal-Qporq01P.js} +1 -1
- package/_assets/{w3m-modal-CDIk6daa.js → w3m-modal-gRdkhlg8.js} +1 -1
- package/_assets/{wait-for-tx-receipt-BUw9UtP4.js → wait-for-tx-receipt-Zm4DabEW.js} +1 -1
- package/_assets/{wallets-A7pRwPiu.js → wallets-vgey4Pk4.js} +5 -5
- package/_assets/{web-connector-P4z47D9H.js → web-connector-DkrfZGZ4.js} +3 -3
- package/_assets/{writeContract-Bx4xVEvO.js → writeContract-CYVoU1GT.js} +1 -1
- package/_assets/{zoraTestnet-CuzBONzv.js → zoraTestnet-B5TlluZS.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Collection-B3QlNwPP.js +0 -119
- package/_assets/NotFound-BJON5Kwq.js +0 -13
- package/_assets/browseLayout.styles-Cb1bSjYL.js +0 -91
- package/_assets/index-CqLzAYYu.js +0 -3482
- package/_assets/useManaRate-CEsFS4D7.js +0 -1
- package/_assets/useStore-BZhz06Vz.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{d as
|
|
1
|
+
import{d as Y,j as e,L as be,u as fe,e as we,r as y}from"./react-DehiWSvs.js";import{t as Z,E as je,G as R,F as _,s as r,bi as ve,ap as Ce,bj as ye,b as t,bk as $e,bl as W,B as ke,ab as X,V as q,aX as Ne,l as Pe,w as J,bm as Se,aY as Le,aZ as Ae,I as T,c as Ee,n as Fe,ae as S,C as Me,af as ze,bh as Be,bn as Ie}from"./index-UGlpWu7U.js";import{d as Re,P as _e,C as We,a as Te,b as Ge,A as He,B as Ue,S as De,M as Ke,c as Oe,e as Ve}from"./browseLayout.styles-DXLz-YlY.js";import{S as G,C as Ye,F as Ze,c as Xe,P as qe,d as Je,H as Qe,e as et}from"./categories-3pKh51AH.js";import{L as H}from"./LoadMore-B2K4UDfe.js";import{u as U}from"./useInfiniteGrid-7hiVU_K4.js";import{E as D}from"./ErrorNotice-D6PKmOXM.js";import{G as K}from"./grid.styles-BjSrL-3s.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";const{colors:u,radius:Q,media:tt}=Z,it=r.article`
|
|
2
2
|
height: 300px;
|
|
3
3
|
background: ${u.bg};
|
|
4
|
-
border-radius: ${
|
|
4
|
+
border-radius: ${Q.card};
|
|
5
5
|
overflow: hidden;
|
|
6
6
|
position: relative;
|
|
7
7
|
isolation: isolate;
|
|
@@ -18,7 +18,7 @@ import{d as V,j as e,L as be,u as fe,e as we,r as y}from"./react-DehiWSvs.js";im
|
|
|
18
18
|
${R};
|
|
19
19
|
}
|
|
20
20
|
&:focus-visible::after {
|
|
21
|
-
${
|
|
21
|
+
${_};
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// The swap is a pointer affordance only: keyboard focus must not hide the creator row, whose profile
|
|
@@ -29,7 +29,7 @@ import{d as V,j as e,L as be,u as fe,e as we,r as y}from"./react-DehiWSvs.js";im
|
|
|
29
29
|
${R};
|
|
30
30
|
}
|
|
31
31
|
&:hover::after {
|
|
32
|
-
${
|
|
32
|
+
${_};
|
|
33
33
|
}
|
|
34
34
|
&:hover [data-view] {
|
|
35
35
|
visibility: visible;
|
|
@@ -112,7 +112,7 @@ import{d as V,j as e,L as be,u as fe,e as we,r as y}from"./react-DehiWSvs.js";im
|
|
|
112
112
|
font-weight: 600;
|
|
113
113
|
font-size: 14px;
|
|
114
114
|
white-space: nowrap;
|
|
115
|
-
`,
|
|
115
|
+
`,pt=r.button`
|
|
116
116
|
visibility: hidden;
|
|
117
117
|
width: 100%;
|
|
118
118
|
height: 44px;
|
|
@@ -122,7 +122,7 @@ import{d as V,j as e,L as be,u as fe,e as we,r as y}from"./react-DehiWSvs.js";im
|
|
|
122
122
|
background: ${u.accent};
|
|
123
123
|
color: ${u.softWhite};
|
|
124
124
|
border: 0;
|
|
125
|
-
border-radius: ${
|
|
125
|
+
border-radius: ${Q.btn};
|
|
126
126
|
font-weight: 700;
|
|
127
127
|
font-size: 13px;
|
|
128
128
|
text-transform: uppercase;
|
|
@@ -135,7 +135,7 @@ import{d as V,j as e,L as be,u as fe,e as we,r as y}from"./react-DehiWSvs.js";im
|
|
|
135
135
|
&:active {
|
|
136
136
|
background: ${u.accentActive};
|
|
137
137
|
}
|
|
138
|
-
`;function
|
|
138
|
+
`;function gt({collection:a,cover:i,itemCount:s}){const n=Y(),{contractAddress:g,name:x,creator:b}=a,C=i==null||s==null,{data:d}=ye(g,C),w=i==null?(d==null?void 0:d.items)??[]:[],m=s??(d==null?void 0:d.total);function f(){n(`/collection/${g}`)}return e.jsxs(it,{"data-testid":"coll-card",role:"link",tabIndex:0,onClick:f,onKeyDown:h=>{(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),f())},children:[e.jsx(ot,{children:i?e.jsx(rt,{"data-testid":"coll-card-img",src:i,alt:"",loading:"lazy"}):w.length>0?e.jsx(at,{items:w,tinted:!1}):null}),e.jsxs(st,{children:[e.jsx(nt,{title:x,children:x}),e.jsxs(ct,{children:[e.jsxs(lt,{"data-meta":!0,"data-testid":"coll-card-meta",children:[b?e.jsx(dt,{address:b,linkToProfile:!0}):e.jsx(ht,{children:" "}),e.jsx(xt,{children:m==null?"…":t("collectionCard.itemCount",{count:m})})]}),e.jsx(pt,{"data-view":!0,"data-testid":"coll-card-view",onClick:h=>{h.stopPropagation(),f()},tabIndex:-1,children:t("collectionCard.viewCollection")})]})]})]})}function mt({address:a,className:i=""}){const s=$e(),n=W(x=>x.followed.includes(a.toLowerCase())),g=W(x=>x.toggle);return!s||!a?null:e.jsx(ke,{type:"button",size:"sm",variant:n?"ghost":"outline",className:i||void 0,"aria-pressed":n,title:n?t("creator.unfollowTitle"):t("creator.followTitle"),onClick:()=>g(a),children:n?t("creator.following"):t("creator.follow")})}const{colors:v,radius:ee,media:j}=Z,te=X`
|
|
139
139
|
display: inline-flex;
|
|
140
140
|
align-items: center;
|
|
141
141
|
justify-content: center;
|
|
@@ -197,7 +197,7 @@ import{d as V,j as e,L as be,u as fe,e as we,r as y}from"./react-DehiWSvs.js";im
|
|
|
197
197
|
right: 12px;
|
|
198
198
|
gap: 6px;
|
|
199
199
|
}
|
|
200
|
-
`,ie=
|
|
200
|
+
`,ie=X`
|
|
201
201
|
display: flex;
|
|
202
202
|
align-items: center;
|
|
203
203
|
justify-content: center;
|
|
@@ -303,4 +303,4 @@ import{d as V,j as e,L as be,u as fe,e as we,r as y}from"./react-DehiWSvs.js";im
|
|
|
303
303
|
&:hover {
|
|
304
304
|
background: rgba(255, 255, 255, 0.14);
|
|
305
305
|
}
|
|
306
|
-
`,St={website:"website",twitter:"twitter",discord:"discord",facebook:"facebook"};function Lt({address:a}){var h,$;const{data:i}=
|
|
306
|
+
`,St={website:"website",twitter:"twitter",discord:"discord",facebook:"facebook"};function Lt({address:a}){var h,$;const{data:i}=q(a),{data:s}=Ne(a),n=Pe(l=>{var k;return(k=l.session)==null?void 0:k.address}),g=!!n&&n.toLowerCase()===a.toLowerCase(),x=(i==null?void 0:i.name)||J(a),b=($=(h=i==null?void 0:i.avatar)==null?void 0:h.snapshots)==null?void 0:$.face256,C=(s==null?void 0:s.cover)||Re,d=s==null?void 0:s.description,w=`${Ee.profileUrl}/${a}`,m=Se.filter(l=>s==null?void 0:s.links[l]),f=Le(Ae({name:i==null?void 0:i.name,hasClaimedName:i==null?void 0:i.hasClaimedName,ethAddress:(i==null?void 0:i.ethAddress)??a}));return e.jsxs(ut,{"aria-label":`${x} storefront`,children:[e.jsxs(bt,{children:[e.jsx(ft,{src:C,alt:"",loading:"eager"}),e.jsx(wt,{"aria-hidden":!0})]}),(m.length>0||g)&&e.jsxs(jt,{children:[m.map(l=>e.jsx(vt,{"data-testid":"creator-hero-link",href:(s==null?void 0:s.links[l])??"",target:"_blank",rel:"noopener noreferrer",title:t(`creator.link.${l}`),"aria-label":t(`creator.link.${l}`),children:e.jsx(T,{name:St[l]})},l)),g&&e.jsx(Ct,{to:"/store-settings",title:t("creator.editStore"),"aria-label":t("creator.editStore"),children:e.jsx(T,{name:"pen"})})]}),e.jsxs(yt,{children:[b?e.jsx(O,{src:b,alt:"",loading:"eager",style:{backgroundColor:f}}):e.jsx(O,{as:"span","aria-hidden":!0,style:{backgroundColor:f}}),e.jsxs("div",{children:[e.jsx($t,{children:x}),d?e.jsx(kt,{children:d}):null]}),e.jsxs(Nt,{children:[e.jsx(Pt,{"data-testid":"creator-hero-view",href:w,target:"_blank",rel:"noopener noreferrer",children:t("creator.viewProfile")}),e.jsx(mt,{address:a,className:"creator-hero__follow"})]})]})]})}const V=48;function Ht(){const{address:a}=fe(),i=Y(),[s]=we(),n=s.has("collections"),{data:g}=q(a),x=(g==null?void 0:g.name)||(a?J(a):t("creator.fallbackName"));Fe({title:x,description:t("seo.creator.description",{name:x})});const[b,C]=y.useState("wearable"),[d,w]=y.useState(null),[m,f]=y.useState([]),[h,$]=y.useState(""),[l,k]=y.useState(""),[A,oe]=y.useState("newest"),E=h&&!Number.isNaN(Number(h))?Number(h):void 0,F=l&&!Number.isNaN(Number(l))?Number(l):void 0,re=d?et[d]:void 0,ae=(G.find(o=>o.key===A)??G[0]).server,M={creator:a,category:b,rarities:m.length?m:void 0,wearableCategories:re,minPriceCredits:E,maxPriceCredits:F,sortBy:ae},{items:N,total:se,isLoading:P,error:z,hasNextPage:ne,isFetchingNextPage:B,isFetchNextPageError:ce,fetchNextPage:le}=U(["creator-listings",M],o=>Be({...M,first:V,skip:o}),{enabled:!!a&&!n}),p=U(["creator-collections",a],o=>Ie(a,{first:V,skip:o}).then(c=>({items:c.collections,total:c.total})),{enabled:!!a&&n});function de(o){C(o),w(null),n&&I()}function I(){const o=new URLSearchParams(s);o.delete("collections");const c=o.toString();i({search:c?`?${c}`:""},{replace:!0})}function he(){if(n){I();return}const o=new URLSearchParams(s);o.delete("collections");const c=o.toString();i({search:c?`?${c}&collections`:"?collections"},{replace:!0})}function xe(o){f(c=>c.includes(o)?c.filter(ue=>ue!==o):[...c,o])}function pe(){C("wearable"),w(null),f([]),$(""),k("")}const L=!!(E||F),ge=L?`${h||"0"}–${l||"∞"}`:t("filter.price"),me=b!=="wearable"||!!d||m.length>0||L;return e.jsxs(_e,{children:[e.jsxs(We,{"aria-label":t("creator.breadcrumbAria"),children:[e.jsx(Te,{onClick:()=>i("/items"),children:t("creator.breadcrumb")}),e.jsx("span",{children:"/"}),e.jsx(Ge,{children:x})]}),a?e.jsx(Lt,{address:a}):null,!n&&!P&&N.length>0?e.jsx(He,{items:N,source:"creator"}):null,e.jsxs(Ue,{children:[e.jsx(De,{children:e.jsx(Ye,{category:b,subCategory:d,onCategory:de,onSub:w,title:t("creator.category"),flat:!0,collections:n,onCollections:he})}),e.jsx(Ke,{children:n?e.jsxs(e.Fragment,{children:[e.jsx(Oe,{children:e.jsx(Ve,{children:p.isLoading?"…":t("creator.collectionsCount",{count:p.total})})}),p.error?e.jsx(D,{message:t("creator.error")}):null,e.jsx(K,{"data-variant":"collections",children:p.isLoading?e.jsx(S,{count:9}):e.jsxs(e.Fragment,{children:[p.items.map(o=>e.jsx(gt,{collection:o,itemCount:o.itemCount},o.contractAddress)),p.isFetchingNextPage?e.jsx(S,{count:6}):null]})}),e.jsx(H,{hasNextPage:p.hasNextPage,isFetching:p.isFetchingNextPage,isError:p.isFetchNextPageError,onLoadMore:()=>void p.fetchNextPage()}),!p.isLoading&&!p.error&&p.items.length===0?e.jsx("p",{className:"muted",children:t("creator.collectionsEmpty")}):null]}):e.jsxs(e.Fragment,{children:[e.jsx(Ze,{rarities:m,onToggleRarity:xe,sort:A,onSort:oe,total:se,loading:P,anyActive:me,onClear:pe,renderTrailing:o=>e.jsx(Xe,{panelKey:"price",label:ge,active:L,panel:o,children:e.jsxs(qe,{"data-variant":"price",children:[e.jsxs(Je,{children:[e.jsx("input",{type:"number",min:"0","aria-label":t("creator.priceMin"),placeholder:t("creator.priceMinPlaceholder"),value:h,onChange:c=>$(c.target.value)}),e.jsx("span",{children:"–"}),e.jsx("input",{type:"number",min:"0","aria-label":t("creator.priceMax"),placeholder:t("creator.priceMaxPlaceholder"),value:l,onChange:c=>k(c.target.value)})]}),e.jsx(Qe,{children:t("creator.priceHint",{currency:Me.name})})]})})}),z?e.jsx(D,{message:t("creator.error")}):null,e.jsx(K,{children:P?e.jsx(S,{count:15}):e.jsxs(e.Fragment,{children:[N.map(o=>e.jsx(ze,{item:o},o.id)),B?e.jsx(S,{count:6}):null]})}),e.jsx(H,{hasNextPage:ne,isFetching:B,isError:ce,onLoadMore:()=>void le()}),!P&&!z&&N.length===0?e.jsx("p",{className:"muted",children:t("creator.empty")}):null]})})]})]})}export{Ht as Creator,Ht as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as r}from"./react-DehiWSvs.js";import{I as i}from"./index-
|
|
1
|
+
import{j as r}from"./react-DehiWSvs.js";import{I as i}from"./index-UGlpWu7U.js";function a({message:e,className:o,testId:t}){return e?r.jsxs("p",{className:o?`error-notice ${o}`:"error-notice","data-testid":t,role:"alert",children:[r.jsx(i,{name:"alert",className:"error-notice__ico",size:18}),r.jsx("span",{className:"error-notice__msg",children:e})]}):null}export{a as E};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as l,E as w,b as E,S as A,d as k,O as U,N as P,g as f,B as x,e as N,i as I,p as L}from"./W3MFrameProviderSingleton-
|
|
1
|
+
import{C as l,E as w,b as E,S as A,d as k,O as U,N as P,g as f,B as x,e as N,i as I,p as L}from"./W3MFrameProviderSingleton-DHrNy8cB.js";import{g as T,a as W,f as b,b as _,c as v}from"./index-BUTTEIUm.js";const D=0,C={paymentAsset:null,amount:null,tokenAmount:0,priceLoading:!1,error:null,exchanges:[],isLoading:!1,currentPayment:void 0,isPaymentInProgress:!1,paymentId:"",assets:[]},e=L(C),m={state:e,subscribe(t){return I(e,()=>t(e))},subscribeKey(t,n){return N(e,t,n)},resetState(){Object.assign(e,{...C})},async getAssetsForNetwork(t){const n=v(t),s=await m.getAssetsImageAndPrice(n),r=n.map(a=>{var c,o,p,y;const u=a.asset==="native"?f():`${a.network}:${a.asset}`,i=s.find(S=>{var g,d,h;return((h=(d=(g=S.fungibles)==null?void 0:g[0])==null?void 0:d.address)==null?void 0:h.toLowerCase())===u.toLowerCase()});return{...a,price:((o=(c=i==null?void 0:i.fungibles)==null?void 0:c[0])==null?void 0:o.price)||1,metadata:{...a.metadata,iconUrl:(y=(p=i==null?void 0:i.fungibles)==null?void 0:p[0])==null?void 0:y.iconUrl}}});return e.assets=r,r},async getAssetsImageAndPrice(t){const n=t.map(r=>r.asset==="native"?f():`${r.network}:${r.asset}`);return await Promise.all(n.map(r=>x.fetchTokenPrice({addresses:[r]})))},getTokenAmount(){var s;if(!((s=e==null?void 0:e.paymentAsset)!=null&&s.price))throw new Error("Cannot get token price");const t=P.bigNumber(e.amount??0).round(8),n=P.bigNumber(e.paymentAsset.price).round(8);return t.div(n).round(8).toNumber()},setAmount(t){var n;e.amount=t,(n=e.paymentAsset)!=null&&n.price&&(e.tokenAmount=m.getTokenAmount())},setPaymentAsset(t){e.paymentAsset=t},isPayWithExchangeEnabled(){var t;return(t=U.state.remoteFeatures)==null?void 0:t.payWithExchange},isPayWithExchangeSupported(){return m.isPayWithExchangeEnabled()&&l.state.activeCaipNetwork&&k.PAY_WITH_EXCHANGE_SUPPORTED_CHAIN_NAMESPACES.includes(l.state.activeCaipNetwork.chainNamespace)},async fetchExchanges(){var t;try{const n=m.isPayWithExchangeSupported();if(!e.paymentAsset||!n){e.exchanges=[],e.isLoading=!1;return}e.isLoading=!0;const s=await _({page:D,asset:b(e.paymentAsset.network,e.paymentAsset.asset),amount:((t=e.amount)==null?void 0:t.toString())??"0"});e.exchanges=s.exchanges.slice(0,2)}catch{throw A.showError("Unable to get exchanges"),new Error("Unable to get exchanges")}finally{e.isLoading=!1}},async getPayUrl(t,n){try{const s=Number(n.amount),r=await W({exchangeId:t,asset:b(n.network,n.asset),amount:s.toString(),recipient:`${n.network}:${n.recipient}`});return w.sendEvent({type:"track",event:"PAY_EXCHANGE_SELECTED",properties:{exchange:{id:t},configuration:{network:n.network,asset:n.asset,recipient:n.recipient,amount:s},currentPayment:{type:"exchange",exchangeId:t},source:"fund-from-exchange",headless:!1}}),r}catch(s){throw s instanceof Error&&s.message.includes("is not supported")?new Error("Asset not supported"):new Error(s.message)}},async handlePayWithExchange(t){var n;try{const s=(n=l.getAccountData())==null?void 0:n.address;if(!s)throw new Error("No account connected");if(!e.paymentAsset)throw new Error("No payment asset selected");const r=E.returnOpenHref("","popupWindow","scrollbar=yes,width=480,height=720");if(!r)throw new Error("Could not create popup window");e.isPaymentInProgress=!0,e.paymentId=crypto.randomUUID(),e.currentPayment={type:"exchange",exchangeId:t};const{network:a,asset:u}=e.paymentAsset,i={network:a,asset:u,amount:e.tokenAmount,recipient:s},c=await m.getPayUrl(t,i);if(!c){try{r.close()}catch(o){console.error("Unable to close popup window",o)}throw new Error("Unable to initiate payment")}e.currentPayment.sessionId=c.sessionId,e.currentPayment.status="IN_PROGRESS",e.currentPayment.exchangeId=t,r.location.href=c.url}catch{e.error="Unable to initiate payment",A.showError(e.error)}},async waitUntilComplete({exchangeId:t,sessionId:n,paymentId:s,retries:r=20}){const a=await m.getBuyStatus(t,n,s);if(a.status==="SUCCESS"||a.status==="FAILED")return a;if(r===0)throw new Error("Unable to get deposit status");return await new Promise(u=>{setTimeout(u,5e3)}),m.waitUntilComplete({exchangeId:t,sessionId:n,paymentId:s,retries:r-1})},async getBuyStatus(t,n,s){var r,a,u,i,c;try{if(!e.currentPayment)throw new Error("No current payment");const o=await T({sessionId:n,exchangeId:t});if(e.currentPayment.status=o.status,o.status==="SUCCESS"||o.status==="FAILED"){const p=(r=l.getAccountData())==null?void 0:r.address;e.currentPayment.result=o.txHash,e.isPaymentInProgress=!1,w.sendEvent({type:"track",event:o.status==="SUCCESS"?"PAY_SUCCESS":"PAY_ERROR",properties:{message:o.status==="FAILED"?E.parseError(e.error):void 0,source:"fund-from-exchange",paymentId:s,configuration:{network:((a=e.paymentAsset)==null?void 0:a.network)||"",asset:((u=e.paymentAsset)==null?void 0:u.asset)||"",recipient:p||"",amount:e.amount??0},currentPayment:{type:"exchange",exchangeId:(i=e.currentPayment)==null?void 0:i.exchangeId,sessionId:(c=e.currentPayment)==null?void 0:c.sessionId,result:o.txHash}}})}return o}catch{return{status:"UNKNOWN",txHash:""}}},reset(){e.currentPayment=void 0,e.isPaymentInProgress=!1,e.paymentId="",e.paymentAsset=null,e.amount=0,e.tokenAmount=0,e.priceLoading=!1,e.error=null,e.exchanges=[],e.isLoading=!1}};export{m as E};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t as e,
|
|
1
|
+
import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t as e,m as B,n as ge,b as r,C as p,l as ue,v as fe,Q as u,b7 as me,y as N,bg as U,I as ie,b2 as D,q as re,bD as H}from"./index-UGlpWu7U.js";import{R as K}from"./resume-buy-Bf0zIH7y.js";import{u as be,a as we,R as ye,c as ke,i as Ce,b as ve}from"./useCreditPacks-CPOVN7Gq.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";import"./mana-convert-C0Bze7yJ.js";const P="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942080363.commit-5a008a2/_assets/pack-coins-BDh1ZDbh.webp",ne="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942080363.commit-5a008a2/_assets/pack-stacks-D-V2jSHW.webp",oe="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942080363.commit-5a008a2/_assets/pack-chest-BX_j84xW.webp",$e="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942080363.commit-5a008a2/_assets/credit-coin-CmcTCd5i.webp",je="data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2334CE77'/%3e%3cpath%20d='M21.6583%2046.1067L11.4656%2036.0591C10.1688%2034.829%2010.1905%2032.7207%2011.4769%2031.4622L13.6868%2029.3591C14.9732%2028.1006%2017.1615%2028.1058%2018.4582%2029.3359L23.8747%2034.6197L41.9704%2015.6527C43.2568%2014.3942%2045.4291%2014.2093%2046.7258%2015.4394L48.8765%2017.3628C50.1732%2018.5929%2050.3491%2020.6844%2049.0626%2021.9429L26.6112%2045.8766C25.1433%2047.342%2022.955%2047.3368%2021.6583%2046.1067Z'%20fill='%23FCFCFC'/%3e%3c/svg%3e",Se="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942080363.commit-5a008a2/_assets/packs-backdrop-BcXiUPeP.webp",O="linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)",Pe=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 24px;
|
|
@@ -284,7 +284,7 @@ import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t a
|
|
|
284
284
|
${e.media.maxWidth("mobile")} {
|
|
285
285
|
padding-top: 24px;
|
|
286
286
|
}
|
|
287
|
-
`,
|
|
287
|
+
`,Q=i.span`
|
|
288
288
|
display: flex;
|
|
289
289
|
flex-direction: column;
|
|
290
290
|
align-items: center;
|
|
@@ -365,7 +365,7 @@ import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t a
|
|
|
365
365
|
letter-spacing: 0.46px;
|
|
366
366
|
color: ${e.colors.text2};
|
|
367
367
|
text-transform: uppercase;
|
|
368
|
-
`,
|
|
368
|
+
`,De=B`
|
|
369
369
|
to {
|
|
370
370
|
background-position: -200% 0;
|
|
371
371
|
}
|
|
@@ -378,12 +378,12 @@ import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t a
|
|
|
378
378
|
rgba(255, 255, 255, 0.08) 70%
|
|
379
379
|
);
|
|
380
380
|
background-size: 200% 100%;
|
|
381
|
-
animation: ${
|
|
381
|
+
animation: ${De} 1.4s infinite linear;
|
|
382
382
|
|
|
383
383
|
@media (prefers-reduced-motion: reduce) {
|
|
384
384
|
animation: none;
|
|
385
385
|
}
|
|
386
|
-
`,
|
|
386
|
+
`,He=i(E)`
|
|
387
387
|
width: 60%;
|
|
388
388
|
height: 30px;
|
|
389
389
|
border-radius: ${e.radius.chip};
|
|
@@ -417,7 +417,7 @@ import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t a
|
|
|
417
417
|
font-size: 16px;
|
|
418
418
|
line-height: 1.4;
|
|
419
419
|
color: rgba(255, 255, 255, 0.88);
|
|
420
|
-
`,
|
|
420
|
+
`,Qe=B`
|
|
421
421
|
0%, 100% {
|
|
422
422
|
transform: scale(1);
|
|
423
423
|
opacity: 1;
|
|
@@ -426,7 +426,7 @@ import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t a
|
|
|
426
426
|
transform: scale(0.88);
|
|
427
427
|
opacity: 0.7;
|
|
428
428
|
}
|
|
429
|
-
`,
|
|
429
|
+
`,Xe=i.div`
|
|
430
430
|
display: flex;
|
|
431
431
|
flex-direction: column;
|
|
432
432
|
align-items: center;
|
|
@@ -437,7 +437,7 @@ import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t a
|
|
|
437
437
|
`,se=i.img`
|
|
438
438
|
width: 61px;
|
|
439
439
|
height: 61px;
|
|
440
|
-
animation: ${
|
|
440
|
+
animation: ${Qe} 1.2s ease-in-out infinite;
|
|
441
441
|
|
|
442
442
|
@media (prefers-reduced-motion: reduce) {
|
|
443
443
|
animation: none;
|
|
@@ -590,11 +590,11 @@ import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t a
|
|
|
590
590
|
height: 30px;
|
|
591
591
|
color: ${e.colors.text};
|
|
592
592
|
}
|
|
593
|
-
`,
|
|
593
|
+
`,gt=i.strong`
|
|
594
594
|
font-size: 24px;
|
|
595
595
|
font-weight: 700;
|
|
596
596
|
text-transform: capitalize;
|
|
597
|
-
`,
|
|
597
|
+
`,ut=i.span`
|
|
598
598
|
font-size: 14px;
|
|
599
599
|
font-weight: 400;
|
|
600
600
|
`,ft=i.div`
|
|
@@ -641,7 +641,7 @@ import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t a
|
|
|
641
641
|
outline: 2px solid ${e.colors.accent};
|
|
642
642
|
outline-offset: 2px;
|
|
643
643
|
}
|
|
644
|
-
`,
|
|
644
|
+
`,X=i.div`
|
|
645
645
|
display: flex;
|
|
646
646
|
flex-direction: column;
|
|
647
647
|
align-items: center;
|
|
@@ -668,4 +668,4 @@ import{d as he,e as xe,r as l,j as t}from"./react-DehiWSvs.js";import{s as i,t a
|
|
|
668
668
|
margin: 0;
|
|
669
669
|
font-family: ${e.font.sans};
|
|
670
670
|
color: ${e.colors.err};
|
|
671
|
-
`,v=Ce()?"mock":"stripe",ee=[P,P,ne,oe],bt={pack_5:P,pack_10:P,pack_25:ne,pack_50:oe};function ae(a,o){return bt[a.id]??ee[o%ee.length]}function wt(a,o){return a.artUrl??ae(a,o)}const yt="https://docs.decentraland.org";function te(a){const o=a;if((o==null?void 0:o.name)==="AbortError")return r("getCredits.errorCanceled");const f=((o==null?void 0:o.message)??"").toLowerCase();return f.includes("sign in")?r("getCredits.errorSignIn",{currency:p.name}):f.includes("timed out")?r("getCredits.errorTimeout",{currency:p.name}):r("getCredits.errorGeneric")}function At(){var W;
|
|
671
|
+
`,v=Ce()?"mock":"stripe",ee=[P,P,ne,oe],bt={pack_5:P,pack_10:P,pack_25:ne,pack_50:oe};function ae(a,o){return bt[a.id]??ee[o%ee.length]}function wt(a,o){return a.artUrl??ae(a,o)}const yt="https://docs.decentraland.org";function te(a){const o=a;if((o==null?void 0:o.name)==="AbortError")return r("getCredits.errorCanceled");const f=((o==null?void 0:o.message)??"").toLowerCase();return f.includes("sign in")?r("getCredits.errorSignIn",{currency:p.name}):f.includes("timed out")?r("getCredits.errorTimeout",{currency:p.name}):r("getCredits.errorGeneric")}function At(){var W;ge({title:r("nav.getCredits",{currency:p.name}),noindex:!0});const a=he(),{session:o,signIn:f}=ue(),s=fe(),[m,b]=xe(),{packs:$,isLoading:y}=be(),[x,h]=l.useState("select"),[c,F]=l.useState(null),[j,L]=l.useState(null),de=(j!=null?(W=$.find(n=>n.credits===j))==null?void 0:W.artUrl:void 0)??$e,[ce,k]=l.useState(null),[le,_]=l.useState(!1),R=l.useRef(null);l.useEffect(()=>()=>{var n;return(n=R.current)==null?void 0:n.abort()},[]);const I=l.useCallback(()=>{b(n=>{const d=new URLSearchParams(n);return d.delete("order"),d.delete("canceled"),d},{replace:!0})},[b]),T=l.useCallback(async n=>{h("processing");const d=new AbortController;R.current=d;try{const g=await we(n,{signal:d.signal,address:o==null?void 0:o.address,identity:o==null?void 0:o.identity});if(g.status==="credited"){const w=g.creditsGranted??(c==null?void 0:c.credits)??0;L(w>0?w:null),h("success"),u("Shop Completed Buy Credits",{order_id:n,pack_usd:(c==null?void 0:c.usd)??null,credits:w>0?w:null,provider:v}),s.invalidateQueries({queryKey:["usd-balance"]});try{if(sessionStorage.getItem(ye)){const S={resumeCheckout:!0,...w>0?{creditsAdded:w}:{}};a("/cart",{state:S});return}}catch{}try{const S=sessionStorage.getItem(K);if(S){sessionStorage.removeItem(K);const M=JSON.parse(S),G=me(M);if(G){a(G,{state:{item:M,resumeBuy:!0}});return}}}catch{}}else g.status==="pending"?(u("Shop Buy Credits Pending",{step:"grant",pack_usd:(c==null?void 0:c.usd)??null}),s.invalidateQueries({queryKey:["usd-balance"]}),h("pending")):(u("Shop Buy Credits Failed",{step:"grant",error_code:"grant_failed",pack_usd:(c==null?void 0:c.usd)??null}),k(g.error??r("getCredits.errorGrant",{currency:p.name})),h("error"))}catch(g){N(g,{flow:"get_credits",step:"grant",order_id:n}),u("Shop Buy Credits Failed",{step:"grant",error_code:U(g),pack_usd:(c==null?void 0:c.usd)??null}),k(te(g)),h("error")}},[c,o,s,a]),pe=l.useCallback(async n=>{if(!o){f();return}k(null),_(!1),F(n),h(v==="mock"?"processing":"redirecting"),u("Shop Started Buy Credits",{pack_usd:n.usd,credits:n.credits,provider:v});try{const d=await ke(n.id,{address:o.address,identity:o.identity});if(d.mock)T(d.orderId);else if(d.url)u("Shop Redirected To Stripe",{order_id:d.orderId,pack_usd:n.usd,credits:n.credits}),window.location.href=d.url;else throw new Error("Checkout did not return a redirect url")}catch(d){N(d,{flow:"get_credits",step:"checkout",provider:v}),u("Shop Buy Credits Failed",{step:"checkout",error_code:U(d),pack_usd:n.usd}),k(te(d)),h("error")}},[o,f,T]),A=l.useRef(!1);l.useEffect(()=>{if(A.current)return;const n=m.get("order");if(m.get("canceled")!=null){A.current=!0,u("Shop Buy Credits Cancelled",{order_id:n,provider:v}),I(),_(!0),h("select");return}n&&(h("processing"),o&&(A.current=!0,I(),T(n)))},[m,o]);function z(){var n;(n=R.current)==null||n.abort(),h("select"),F(null),L(null),k(null),_(!1)}return t.jsxs(Pe,{children:[(x==="select"||x==="redirecting")&&t.jsxs(_e,{"data-testid":"credits-hero",children:[t.jsx(Re,{"aria-hidden":!0}),t.jsxs(Te,{$hidden:x==="redirecting",children:[t.jsxs(Ae,{children:[t.jsx(ze,{children:r("getCredits.title",{currency:p.name})}),t.jsxs(Be,{children:[t.jsx(Ee,{children:r("getCredits.subtitle",{currency:p.nameSingular})}),t.jsxs(Fe,{href:yt,target:"_blank",rel:"noreferrer",children:[r("getCredits.learnMore"),t.jsx(ie,{name:"link-out"})]})]})]}),le&&t.jsx(Le,{role:"status",children:r("getCredits.canceledNote")}),t.jsx(kt,{packs:$,loading:y,onSelect:n=>void pe(n)})]}),x==="redirecting"&&t.jsxs(Ve,{role:"status","aria-live":"polite",children:[t.jsx(Ze,{src:D,alt:"",width:72,height:72}),t.jsx(qe,{children:r("getCredits.redirecting")})]})]}),x==="processing"&&t.jsxs(Xe,{role:"status","aria-live":"polite",children:[t.jsx(se,{src:D,alt:"",width:61,height:61}),t.jsxs(Je,{children:[t.jsxs(et,{children:[t.jsx("strong",{children:r("getCredits.processing")}),"…"]}),t.jsxs(tt,{"aria-hidden":!0,children:[t.jsx(rt,{children:t.jsx(nt,{})}),t.jsx(ot,{children:"1/1"})]})]})]}),x==="success"&&t.jsxs(st,{role:"status","aria-live":"polite",children:[t.jsxs(at,{children:[t.jsx(dt,{src:je,alt:"",width:60,height:60}),t.jsxs(ct,{children:[t.jsx("strong",{children:r("getCredits.successTitle")})," ",r("getCredits.successBody",{currency:p.name})]})]}),j!=null&&t.jsx(lt,{children:t.jsxs(pt,{children:[t.jsx(ht,{src:de,alt:"",width:93,height:93}),t.jsxs(xt,{children:[t.jsx(re,{}),t.jsxs("span",{children:[t.jsx(gt,{children:r("getCredits.creditsAmount",{credits:j,currency:p.name})})," ",t.jsx(ut,{children:r("getCredits.creditsAdded")})]})]})]})}),t.jsxs(ft,{children:[t.jsx(C,{"data-variant":"outline",onClick:z,children:r("getCredits.buyMore",{currency:p.name})}),t.jsx(C,{onClick:()=>a("/items"),children:r("getCredits.startShopping")})]})]}),x==="pending"&&t.jsxs(X,{role:"status","aria-live":"polite",children:[t.jsx(Z,{children:r("getCredits.pendingTitle",{currency:p.name})}),t.jsx(Ye,{children:r("getCredits.pendingBody")}),t.jsxs(J,{children:[t.jsx(C,{onClick:()=>a("/items"),children:r("getCredits.startShopping")}),t.jsx(C,{"data-variant":"outline",onClick:z,children:r("getCredits.done")})]})]}),x==="error"&&t.jsxs(X,{role:"alert",children:[t.jsx(Z,{"data-tone":"error",children:r("getCredits.errorTitle")}),t.jsx(mt,{children:ce}),t.jsx(J,{children:t.jsx(C,{onClick:z,children:r("getCredits.tryAgain")})})]})]})}function kt({packs:a,loading:o,onSelect:f}){return o?t.jsx(Y,{"aria-busy":"true","aria-label":r("getCredits.packsLoading",{currency:p.name}),children:[0,1,2,3].map(s=>t.jsxs(V,{as:"div","data-skeleton":"true","data-testid":"pack-skeleton","aria-hidden":!0,children:[t.jsxs(q,{children:[t.jsx(Q,{children:t.jsx(He,{})}),t.jsx(Ke,{})]}),t.jsx(Oe,{})]},s))}):t.jsx(Y,{children:a.map((s,m)=>{const b=ve(s,a);return t.jsxs(V,{type:"button","data-testid":"pack","data-best":s.bestValue?"true":void 0,onClick:()=>f(s),"aria-label":b?r("getCredits.packAriaBonus",{amount:H(s.credits),usd:s.usd,bonus:b.bonus,baseline:b.baseline}):r("getCredits.packAria",{amount:H(s.credits),usd:s.usd}),children:[s.bestValue&&t.jsxs(Ie,{children:[t.jsx(ie,{name:"star-rounded"}),r("getCredits.packBadge")]}),t.jsxs(q,{children:[t.jsxs(Q,{children:[t.jsxs(We,{children:[t.jsx(re,{}),t.jsx(Me,{children:s.credits})]}),t.jsx(Ge,{children:r("getCredits.packUnit",{currency:p.name})})]}),t.jsx(Ne,{children:t.jsx("img",{src:wt(s,m),alt:"",loading:"lazy",width:507,height:507,onError:$=>{const y=$.currentTarget;y.dataset.artFallback||(y.dataset.artFallback="done",y.src=ae(s,m))}})})]}),t.jsxs(Ue,{children:["$",s.usd.toFixed(2)]})]},s.id)})})}export{At as GetCredits,At as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as f,b as h}from"./lit-element-B3y9oplH.js";import{n as m}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-
|
|
1
|
+
import{i as f,b as h}from"./lit-element-B3y9oplH.js";import{n as m}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-Dt_NBFaG.js";import{d as g,r as v}from"./index-BUTTEIUm.js";import{C as c}from"./ConstantsUtil-Di3dRDAF.js";import{R as $,O as u}from"./W3MFrameProviderSingleton-DHrNy8cB.js";import{au as y}from"./NetworkUtil-EoWQDMpU.js";const b=g`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-
|
|
2
|
-
var Kc=Object.defineProperty;var Vc=(n,a,t)=>a in n?Kc(n,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[a]=t;var H=(n,a,t)=>Vc(n,typeof a!="symbol"?a+"":a,t);import{r as v,a as Uc,j as s,d as Wt,l as ds,R as M,h as Xc,u as Gc,b as Jc,L as Zc}from"./react-DehiWSvs.js";import{s as m,t as u,b as g,I as J,a0 as el,w as Pe,ar as Ke,C as wt,bu as Lr,n as Rt,a$ as us,b0 as tl,x as Bt,b6 as nl,an as ps,ao as or,b8 as ia,R as de,bc as Xe,bb as ot,c9 as rl,j as Ne,ba as Fr,b9 as fs,a_ as al,c as tn,g as sa,d as ol,e as hs,v as il,u as ve,E as sl,W as wr,ad as kr,y as ga,aX as Jt,p as ms,z as In,aZ as gs,ca as cl,B as jn,ac as En,J as xs,bv as oo,bw as ll,l as ys,cb as dl,_ as Yr,o as ul,O as Sn,cc as pl,cd as fl,ce as hl,a7 as ml,cf as gl,cg as xl,ch as bs,ci as yl,cj as bl,a as vs,ck as vl,cl as wl,cm as kl,cn as Dl,aq as Cl,co as Sl,ae as Ml,cp as _l,cq as Pl,cr as Il,a1 as jl,a2 as El,bk as Tl,q as Nl,a3 as $l,a4 as Ol,a5 as Rl,cs as io,aY as Al,ct as Ll,cu as Fl,cv as Yl,cw as Wl,cx as Bl,cy as Hl}from"./index-CqLzAYYu.js";import{d as Ae}from"./dcl-schemas-Dr9BTjb7.js";import{$ as Wr,m as zl,K as ql,V as Ql,Q as ws,R as Kl,M as Vl,S as Ul,C as Xl,H as Gl,a as Jl,T as Zl,X as ed,b as td,B as nd,c as rd,d as ad,e as od,f as Kt,j as Bn,k as Vt,W as id,p as sd,q as cd,P as ld,x as dd,y as ud,z as pd,D as fd,E as hd,F as md,G as gd,I as xd,J as yd,L as bd,l as vd,n as wd,o as kd,a0 as Dd,a1 as Cd,A as Sd,r as Md,s as _d,t as Pd,u as Id,v as jd,w as Ed,a2 as Td,a3 as Nd,a4 as $d,N as Od,O as so,U as Rd}from"./CollectionCarousel-BofN3PUd.js";import{a as ir,r as Ad,t as Ld,u as Fd,c as Yd}from"./buy-Cs1e8dwt.js";import{a as Wd}from"./builder-CsWf7X7a.js";import{u as Bd,M as Hd,l as zd,c as qd}from"./useCreditPacks-C5VR3CBS.js";import{m as co}from"./mana-matic-C4e1sNO3.js";import{j as ks,a as Ds,n as Qd,k as Kd,b as lo,g as Cs,M as Vd,h as Ud,r as Xd,m as Gd,i as Jd}from"./authorizations-LULzuipv.js";import{a as Ss,w as Ms,S as _s,G as Ps}from"./buy-gasless-nMph8utE.js";import{R as uo}from"./resume-buy-Bf0zIH7y.js";import{a as Zd,f as bt,i as nn}from"./errors-5vlAB2Zg.js";import{E as pt}from"./ErrorNotice-SoCdrSmZ.js";import{C as eu}from"./CircularProgress-t5C2xMSa.js";import{a as tu,d as nu,i as ru,e as au,c as ou,f as iu}from"./trade-encoding-BRe43PSw.js";import{M as su,E as cu,s as lu}from"./sendMetaTransaction-4my7kZiF.js";import{C as du,I as uu}from"./ethers-CtNGBird.js";import{a as Br}from"./mana-convert-BvzeO7sG.js";import{u as Is}from"./useManaRate-CEsFS4D7.js";import{u as pu,d as fu}from"./disposePreview-DIA1G1eQ.js";import{T as hu}from"./Tooltip-DrwaXxlg.js";import"./sentry-973sfbO9.js";import"./intl-CBcMB1D2.js";import"./clsx-CF2rJgou.js";const rn=Math.min,Tt=Math.max,sr=Math.round,Hn=Math.floor,st=n=>({x:n,y:n}),mu={left:"right",right:"left",bottom:"top",top:"bottom"};function gu(n,a,t){return Tt(n,rn(a,t))}function Dr(n,a){return typeof n=="function"?n(a):n}function an(n){return n.split("-")[0]}function Tn(n){return n.split("-")[1]}function xu(n){return n==="x"?"y":"x"}function xa(n){return n==="y"?"height":"width"}function jt(n){const a=n[0];return a==="t"||a==="b"?"y":"x"}function ya(n){return xu(jt(n))}function yu(n,a,t){t===void 0&&(t=!1);const e=Tn(n),r=ya(n),o=xa(r);let i=r==="x"?e===(t?"end":"start")?"right":"left":e==="start"?"bottom":"top";return a.reference[o]>a.floating[o]&&(i=cr(i)),[i,cr(i)]}function bu(n){const a=cr(n);return[ca(n),a,ca(a)]}function ca(n){return n.includes("start")?n.replace("start","end"):n.replace("end","start")}const po=["left","right"],fo=["right","left"],vu=["top","bottom"],wu=["bottom","top"];function ku(n,a,t){switch(n){case"top":case"bottom":return t?a?fo:po:a?po:fo;case"left":case"right":return a?vu:wu;default:return[]}}function Du(n,a,t,e){const r=Tn(n);let o=ku(an(n),t==="start",e);return r&&(o=o.map(i=>i+"-"+r),a&&(o=o.concat(o.map(ca)))),o}function cr(n){const a=an(n);return mu[a]+n.slice(a.length)}function Cu(n){var a,t,e,r;return{top:(a=n.top)!=null?a:0,right:(t=n.right)!=null?t:0,bottom:(e=n.bottom)!=null?e:0,left:(r=n.left)!=null?r:0}}function js(n){return typeof n!="number"?Cu(n):{top:n,right:n,bottom:n,left:n}}function lr(n){const{x:a,y:t,width:e,height:r}=n;return{width:e,height:r,top:t,left:a,right:a+e,bottom:t+r,x:a,y:t}}function ho(n,a,t){let{reference:e,floating:r}=n;const o=jt(a),i=ya(a),c=xa(i),l=an(a),p=o==="y",d=e.x+e.width/2-r.width/2,h=e.y+e.height/2-r.height/2,x=e[c]/2-r[c]/2;let b;switch(l){case"top":b={x:d,y:e.y-r.height};break;case"bottom":b={x:d,y:e.y+e.height};break;case"right":b={x:e.x+e.width,y:h};break;case"left":b={x:e.x-r.width,y:h};break;default:b={x:e.x,y:e.y}}const y=Tn(a);return y&&(b[i]+=x*(y==="end"?1:-1)*(t&&p?-1:1)),b}async function Su(n,a){var t;a===void 0&&(a={});const{x:e,y:r,platform:o,rects:i,elements:c,strategy:l}=n,{boundary:p="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:x=!1,padding:b=0}=Dr(a,n),y=js(b),k=c[x?h==="floating"?"reference":"floating":h],f=lr(await o.getClippingRect({element:(t=await(o.isElement==null?void 0:o.isElement(k)))==null||t?k:k.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:p,rootBoundary:d,strategy:l})),C=h==="floating"?{x:e,y:r,width:i.floating.width,height:i.floating.height}:i.reference,N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),j=await(o.isElement==null?void 0:o.isElement(N))&&await(o.getScale==null?void 0:o.getScale(N))||{x:1,y:1},R=lr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:N,strategy:l}):C);return{top:(f.top-R.top+y.top)/j.y,bottom:(R.bottom-f.bottom+y.bottom)/j.y,left:(f.left-R.left+y.left)/j.x,right:(R.right-f.right+y.right)/j.x}}const Mu=50,_u=async(n,a,t)=>{const{placement:e="bottom",strategy:r="absolute",middleware:o=[],platform:i}=t,c=i.detectOverflow?i:{...i,detectOverflow:Su},l=await(i.isRTL==null?void 0:i.isRTL(a));let p=await i.getElementRects({reference:n,floating:a,strategy:r}),{x:d,y:h}=ho(p,e,l),x=e,b=0;const y={};for(let w=0;w<o.length;w++){const k=o[w];if(!k)continue;const{name:f,fn:C}=k,{x:N,y:j,data:R,reset:$}=await C({x:d,y:h,initialPlacement:e,placement:x,strategy:r,middlewareData:y,rects:p,platform:c,elements:{reference:n,floating:a}});d=N??d,h=j??h,y[f]={...y[f],...R},$&&b<Mu&&(b++,typeof $=="object"&&($.placement&&(x=$.placement),$.rects&&(p=$.rects===!0?await i.getElementRects({reference:n,floating:a,strategy:r}):$.rects),{x:d,y:h}=ho(p,x,l)),w=-1)}return{x:d,y:h,placement:x,strategy:r,middlewareData:y}},Pu=n=>({name:"arrow",options:n,async fn(a){const{x:t,y:e,placement:r,rects:o,platform:i,elements:c,middlewareData:l}=a,{element:p,padding:d=0}=Dr(n,a)||{};if(p==null)return{};const h=js(d),x={x:t,y:e},b=ya(r),y=xa(b),w=await i.getDimensions(p),k=b==="y",f=k?"top":"left",C=k?"bottom":"right",N=k?"clientHeight":"clientWidth",j=o.reference[y]+o.reference[b]-x[b]-o.floating[y],R=x[b]-o.reference[b],$=await(i.getOffsetParent==null?void 0:i.getOffsetParent(p));let S=$?$[N]:0;(!S||!await(i.isElement==null?void 0:i.isElement($)))&&(S=c.floating[N]||o.floating[y]);const D=j/2-R/2,I=S/2-w[y]/2-1,P=rn(h[f],I),O=rn(h[C],I),T=S-w[y]-O,L=S/2-w[y]/2+D,z=gu(P,L,T),V=!l.arrow&&Tn(r)!=null&&L!==z&&o.reference[y]/2-(L<P?P:O)-w[y]/2<0,F=V?L<P?L-P:L-T:0;return{[b]:x[b]+F,data:{[b]:z,centerOffset:L-z-F,...V&&{alignmentOffset:F}},reset:V}}}),Iu=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(a){var t,e;const{placement:r,middlewareData:o,rects:i,initialPlacement:c,platform:l,elements:p}=a,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:x,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:w=!0,...k}=Dr(n,a);if((t=o.arrow)!=null&&t.alignmentOffset)return{};const f=an(r),C=jt(c),N=an(c)===c,j=await(l.isRTL==null?void 0:l.isRTL(p.floating)),R=x||(N||!w?[cr(c)]:bu(c)),$=y!=="none";!x&&$&&R.push(...Du(c,w,y,j));const S=[c,...R],D=await l.detectOverflow(a,k),I=[];let P=((e=o.flip)==null?void 0:e.overflows)||[];if(d&&I.push(D[f]),h){const z=yu(r,i,j);I.push(D[z[0]],D[z[1]])}if(P=[...P,{placement:r,overflows:I}],!I.every(z=>z<=0)){var O,T;const z=(((O=o.flip)==null?void 0:O.index)||0)+1,V=S[z];if(V&&(!(h==="alignment"?C!==jt(V):!1)||P.every(_=>jt(_.placement)===C?_.overflows[0]>0:!0)))return{data:{index:z,overflows:P},reset:{placement:V}};let F=(T=P.filter(q=>q.overflows[0]<=0).sort((q,_)=>q.overflows[1]-_.overflows[1])[0])==null?void 0:T.placement;if(!F)switch(b){case"bestFit":{var L;const q=(L=P.filter(_=>{if($){const G=jt(_.placement);return G===C||G==="y"}return!0}).map(_=>[_.placement,_.overflows.filter(G=>G>0).reduce((G,he)=>G+he,0)]).sort((_,G)=>_[1]-G[1])[0])==null?void 0:L[0];q&&(F=q);break}case"initialPlacement":F=c;break}if(r!==F)return{reset:{placement:F}}}return{}}}},ju=new Set(["left","top"]);async function Eu(n,a){const{placement:t,platform:e,elements:r}=n,o=await(e.isRTL==null?void 0:e.isRTL(r.floating)),i=an(t),c=Tn(t),l=jt(t)==="y",p=ju.has(i)?-1:1,d=o&&l?-1:1,h=Dr(a,n);let{mainAxis:x,crossAxis:b,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof y=="number"&&(b=c==="end"?y*-1:y),l?{x:b*d,y:x*p}:{x:x*p,y:b*d}}const Tu=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(a){var t,e;const{x:r,y:o,placement:i,middlewareData:c}=a,l=await Eu(a,n);return i===((t=c.offset)==null?void 0:t.placement)&&(e=c.arrow)!=null&&e.alignmentOffset?{}:{x:r+l.x,y:o+l.y,data:{...l,placement:i}}}}};function Cr(){return typeof window<"u"}function ln(n){return Es(n)?(n.nodeName||"").toLowerCase():"#document"}function Ie(n){var a;return(n==null||(a=n.ownerDocument)==null?void 0:a.defaultView)||window}function mt(n){var a;return(a=(Es(n)?n.ownerDocument:n.document)||window.document)==null?void 0:a.documentElement}function Es(n){return Cr()?n instanceof Node||n instanceof Ie(n).Node:!1}function _e(n){return Cr()?n instanceof Element||n instanceof Ie(n).Element:!1}function Ct(n){return Cr()?n instanceof HTMLElement||n instanceof Ie(n).HTMLElement:!1}function mo(n){return!Cr()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Ie(n).ShadowRoot}function Sr(n){const{overflow:a,overflowX:t,overflowY:e,display:r}=Fe(n);return/auto|scroll|overlay|hidden|clip/.test(a+e+t)&&r!=="inline"&&r!=="contents"}function Nu(n){return/^(table|td|th)$/.test(ln(n))}function Mr(n){try{if(n.matches(":popover-open"))return!0}catch{}try{return n.matches(":modal")}catch{return!1}}const $u=/transform|translate|scale|rotate|perspective|filter/,Ou=/paint|layout|strict|content/,Pt=n=>!!n&&n!=="none";let Hr;function ba(n){const a=_e(n)?Fe(n):n;return Pt(a.transform)||Pt(a.translate)||Pt(a.scale)||Pt(a.rotate)||Pt(a.perspective)||!va()&&(Pt(a.backdropFilter)||Pt(a.filter))||$u.test(a.willChange||"")||Ou.test(a.contain||"")}function Ru(n){let a=At(n);for(;Ct(a)&&!Mn(a);){if(ba(a))return a;if(Mr(a))return null;a=At(a)}return null}function va(){return Hr==null&&(Hr=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Hr}function Mn(n){return/^(html|body|#document)$/.test(ln(n))}function Fe(n){return Ie(n).getComputedStyle(n)}function _r(n){return _e(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function At(n){if(ln(n)==="html")return n;const a=n.assignedSlot||n.parentNode||mo(n)&&n.host||mt(n);return mo(a)?a.host:a}function Ts(n){const a=At(n);return Mn(a)?(n.ownerDocument||n).body:Ct(a)&&Sr(a)?a:Ts(a)}function _n(n,a,t){var e;a===void 0&&(a=[]),t===void 0&&(t=!0);const r=Ts(n),o=r===((e=n.ownerDocument)==null?void 0:e.body),i=Ie(r);if(o){const c=la(i);return a.concat(i,i.visualViewport||[],Sr(r)?r:[],c&&t?_n(c):[])}else return a.concat(r,_n(r,[],t))}function la(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Ns(n){const a=Fe(n);let t=parseFloat(a.width)||0,e=parseFloat(a.height)||0;const r=Ct(n),o=r?n.offsetWidth:t,i=r?n.offsetHeight:e,c=sr(t)!==o||sr(e)!==i;return c&&(t=o,e=i),{width:t,height:e,$:c}}function wa(n){return _e(n)?n:n.contextElement}function Zt(n){const a=wa(n);if(!Ct(a))return st(1);const t=a.getBoundingClientRect(),{width:e,height:r,$:o}=Ns(a);let i=(o?sr(t.width):t.width)/e,c=(o?sr(t.height):t.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!c||!Number.isFinite(c))&&(c=1),{x:i,y:c}}const Au=st(0);function $s(n){const a=Ie(n);return!va()||!a.visualViewport?Au:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function Lu(n,a,t){return a===void 0&&(a=!1),!!t&&a&&t===Ie(n)}function Lt(n,a,t,e){a===void 0&&(a=!1),t===void 0&&(t=!1);const r=n.getBoundingClientRect(),o=wa(n);let i=st(1);a&&(e?_e(e)&&(i=Zt(e)):i=Zt(n));const c=Lu(o,t,e)?$s(o):st(0);let l=(r.left+c.x)/i.x,p=(r.top+c.y)/i.y,d=r.width/i.x,h=r.height/i.y;if(o&&e){const x=Ie(o),b=_e(e)?Ie(e):e;let y=x,w=la(y);for(;w&&b!==y;){const k=Zt(w),f=w.getBoundingClientRect(),C=Fe(w),N=f.left+(w.clientLeft+parseFloat(C.paddingLeft))*k.x,j=f.top+(w.clientTop+parseFloat(C.paddingTop))*k.y;l*=k.x,p*=k.y,d*=k.x,h*=k.y,l+=N,p+=j,y=Ie(w),w=la(y)}}return lr({width:d,height:h,x:l,y:p})}function Pr(n,a){const t=_r(n).scrollLeft;return a?a.left+t:Lt(mt(n)).left+t}function Os(n,a){const t=n.getBoundingClientRect(),e=t.left+a.scrollLeft-Pr(n,t),r=t.top+a.scrollTop;return{x:e,y:r}}function Fu(n){let{elements:a,rect:t,offsetParent:e,strategy:r}=n;const o=r==="fixed",i=mt(e),c=a?Mr(a.floating):!1;if(e===i||c&&o)return t;let l={scrollLeft:0,scrollTop:0},p=st(1);const d=st(0),h=Ct(e);if((h||!o)&&((ln(e)!=="body"||Sr(i))&&(l=_r(e)),h)){const b=Lt(e);p=Zt(e),d.x=b.x+e.clientLeft,d.y=b.y+e.clientTop}const x=i&&!h&&!o?Os(i,l):st(0);return{width:t.width*p.x,height:t.height*p.y,x:t.x*p.x-l.scrollLeft*p.x+d.x+x.x,y:t.y*p.y-l.scrollTop*p.y+d.y+x.y}}function Yu(n){return n.getClientRects?Array.from(n.getClientRects()):[]}function Wu(n){const a=_r(n),t=n.ownerDocument.body,e=Tt(n.scrollWidth,n.clientWidth,t.scrollWidth,t.clientWidth),r=Tt(n.scrollHeight,n.clientHeight,t.scrollHeight,t.clientHeight);let o=-a.scrollLeft+Pr(n);const i=-a.scrollTop;return Fe(t).direction==="rtl"&&(o+=Tt(n.clientWidth,t.clientWidth)-e),{width:e,height:r,x:o,y:i}}const Bu=25;function Hu(n,a,t){t===void 0&&(t="viewport");const e=t==="layoutViewport",r=Ie(n),o=mt(n),i=r.visualViewport;let c=o.clientWidth,l=o.clientHeight,p=0,d=0;if(i){const x=!va()||a==="fixed";e?x||(p=-i.offsetLeft,d=-i.offsetTop):(c=i.width,l=i.height,x&&(p=i.offsetLeft,d=i.offsetTop))}if(Pr(o)<=0){const x=o.ownerDocument,b=x.body,y=getComputedStyle(b),w=x.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,k=Math.abs(o.clientWidth-b.clientWidth-w),f=getComputedStyle(o).scrollbarGutter==="stable both-edges"?k/2:k;f<=Bu&&(c-=f)}return{width:c,height:l,x:p,y:d}}function zu(n,a){const t=Lt(n,!0,a==="fixed"),e=t.top+n.clientTop,r=t.left+n.clientLeft,o=Zt(n),i=n.clientWidth*o.x,c=n.clientHeight*o.y,l=r*o.x,p=e*o.y;return{width:i,height:c,x:l,y:p}}function go(n,a,t){let e;if(a==="viewport"||a==="layoutViewport")e=Hu(n,t,a);else if(a==="document")e=Wu(mt(n));else if(_e(a))e=zu(a,t);else{const r=$s(n);e={x:a.x-r.x,y:a.y-r.y,width:a.width,height:a.height}}return lr(e)}function qu(n,a){const t=a.get(n);if(t)return t;let e=_n(n,[],!1).filter(c=>_e(c)&&ln(c)!=="body"),r=null;const o=Fe(n).position==="fixed";let i=o?At(n):n;for(;_e(i)&&!Mn(i);){const c=Fe(i),l=ba(i),p=r?r.position:o?"fixed":"";!l&&(p==="fixed"||p==="absolute"&&c.position==="static")?e=e.filter(h=>h!==i):r=c,i=At(i)}return a.set(n,e),e}function Qu(n){let{element:a,boundary:t,rootBoundary:e,strategy:r}=n;const i=[...t==="clippingAncestors"?Mr(a)?[]:qu(a,this._c):[].concat(t),e],c=go(a,i[0],r);let l=c.top,p=c.right,d=c.bottom,h=c.left;for(let x=1;x<i.length;x++){const b=go(a,i[x],r);l=Tt(b.top,l),p=rn(b.right,p),d=rn(b.bottom,d),h=Tt(b.left,h)}return{width:p-h,height:d-l,x:h,y:l}}function Ku(n){const{width:a,height:t}=Ns(n);return{width:a,height:t}}function Vu(n,a,t){const e=Ct(a),r=mt(a),o=t==="fixed",i=Lt(n,!0,o,a);let c={scrollLeft:0,scrollTop:0};const l=st(0);if((e||!o)&&((ln(a)!=="body"||Sr(r))&&(c=_r(a)),e)){const x=Lt(a,!0,o,a);l.x=x.x+a.clientLeft,l.y=x.y+a.clientTop}!e&&r&&(l.x=Pr(r));const p=r&&!e&&!o?Os(r,c):st(0),d=i.left+c.scrollLeft-l.x-p.x,h=i.top+c.scrollTop-l.y-p.y;return{x:d,y:h,width:i.width,height:i.height}}function zr(n){return Fe(n).position==="static"}function xo(n,a){if(!Ct(n)||Fe(n).position==="fixed")return null;if(a)return a(n);let t=n.offsetParent;return mt(n)===t&&(t=t.ownerDocument.body),t}function Rs(n,a){const t=Ie(n);if(Mr(n))return t;if(!Ct(n)){let r=At(n);for(;r&&!Mn(r);){if(_e(r)&&!zr(r))return r;r=At(r)}return t}let e=xo(n,a);for(;e&&Nu(e)&&zr(e);)e=xo(e,a);return e&&Mn(e)&&zr(e)&&!ba(e)?t:e||Ru(n)||t}const Uu=async function(n){const a=this.getOffsetParent||Rs,t=this.getDimensions,e=await t(n.floating);return{reference:Vu(n.reference,await a(n.floating),n.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function Xu(n){return Fe(n).direction==="rtl"}const Gu={convertOffsetParentRelativeRectToViewportRelativeRect:Fu,getDocumentElement:mt,getClippingRect:Qu,getOffsetParent:Rs,getElementRects:Uu,getClientRects:Yu,getDimensions:Ku,getScale:Zt,isElement:_e,isRTL:Xu};function As(n,a){return n.x===a.x&&n.y===a.y&&n.width===a.width&&n.height===a.height}function Ju(n,a,t){let e=null,r;const o=mt(n);function i(){var d;clearTimeout(r),(d=e)==null||d.disconnect(),e=null}function c(d,h){d===void 0&&(d=!1),h===void 0&&(h=1),i();const x=n.getBoundingClientRect(),{left:b,top:y,width:w,height:k}=x;if(d||a(),!w||!k)return;const f=Hn(y),C=Hn(o.clientWidth-(b+w)),N=Hn(o.clientHeight-(y+k)),j=Hn(b),$={rootMargin:-f+"px "+-C+"px "+-N+"px "+-j+"px",threshold:Tt(0,rn(1,h))||1};let S=!0;function D(I){const P=I[0].intersectionRatio;if(!As(x,n.getBoundingClientRect()))return c();if(P!==h){if(!S)return c();P?c(!1,P):r=setTimeout(()=>{c(!1,1e-7)},1e3)}S=!1}try{e=new IntersectionObserver(D,{...$,root:o.ownerDocument})}catch{e=new IntersectionObserver(D,$)}e.observe(n)}const l=Ie(n),p=()=>c(t);return l.addEventListener("resize",p),c(!0),()=>{l.removeEventListener("resize",p),i()}}function Zu(n,a,t,e){e===void 0&&(e={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=e,p=wa(n),d=r||o?[...p?_n(p):[],...a?_n(a):[]]:[];d.forEach(f=>{r&&f.addEventListener("scroll",t),o&&f.addEventListener("resize",t)});const h=p&&c?Ju(p,t,o):null;let x=-1,b=null;i&&(b=new ResizeObserver(f=>{let[C]=f;C&&C.target===p&&b&&a&&(b.unobserve(a),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var N;(N=b)==null||N.observe(a)})),t()}),p&&!l&&b.observe(p),a&&b.observe(a));let y,w=l?Lt(n):null;l&&k();function k(){const f=Lt(n);w&&!As(w,f)&&t(),w=f,y=requestAnimationFrame(k)}return t(),()=>{var f;d.forEach(C=>{r&&C.removeEventListener("scroll",t),o&&C.removeEventListener("resize",t)}),h==null||h(),(f=b)==null||f.disconnect(),b=null,l&&cancelAnimationFrame(y)}}const ep=Tu,tp=Iu,yo=Pu,np=(n,a,t)=>{const e=new Map,r=t??{},o={...Gu,...r.platform,_c:e};return _u(n,a,{...r,platform:o})};var rp=typeof document<"u",ap=function(){},Zn=rp?v.useLayoutEffect:ap;function dr(n,a){if(n===a)return!0;if(typeof n!=typeof a)return!1;if(typeof n=="function"&&n.toString()===a.toString())return!0;let t,e,r;if(n&&a&&typeof n=="object"){if(Array.isArray(n)){if(t=n.length,t!==a.length)return!1;for(e=t;e--!==0;)if(!dr(n[e],a[e]))return!1;return!0}if(r=Object.keys(n),t=r.length,t!==Object.keys(a).length)return!1;for(e=t;e--!==0;)if(!{}.hasOwnProperty.call(a,r[e]))return!1;for(e=t;e--!==0;){const o=r[e];if(!(o==="_owner"&&n.$$typeof)&&!dr(n[o],a[o]))return!1}return!0}return n!==n&&a!==a}function Ls(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function bo(n,a){const t=Ls(n);return Math.round(a*t)/t}function qr(n){const a=v.useRef(n);return Zn(()=>{a.current=n}),a}function op(n){n===void 0&&(n={});const{placement:a="bottom",strategy:t="absolute",middleware:e=[],platform:r,elements:{reference:o,floating:i}={},transform:c=!0,whileElementsMounted:l,open:p}=n,[d,h]=v.useState({x:0,y:0,strategy:t,placement:a,middlewareData:{},isPositioned:!1}),[x,b]=v.useState(e);dr(x,e)||b(e);const[y,w]=v.useState(null),[k,f]=v.useState(null),C=v.useCallback(_=>{_!==$.current&&($.current=_,w(_))},[]),N=v.useCallback(_=>{_!==S.current&&(S.current=_,f(_))},[]),j=o||y,R=i||k,$=v.useRef(null),S=v.useRef(null),D=v.useRef(d),I=l!=null,P=qr(l),O=qr(r),T=qr(p),L=v.useCallback(()=>{if(!$.current||!S.current)return;const _={placement:a,strategy:t,middleware:x};O.current&&(_.platform=O.current),np($.current,S.current,_).then(G=>{const he={...G,isPositioned:T.current!==!1};z.current&&!dr(D.current,he)&&(D.current=he,Uc.flushSync(()=>{h(he)}))})},[x,a,t,O,T]);Zn(()=>{p===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,h(_=>({..._,isPositioned:!1})))},[p]);const z=v.useRef(!1);Zn(()=>(z.current=!0,()=>{z.current=!1}),[]),Zn(()=>{if(j&&($.current=j),R&&(S.current=R),j&&R){if(P.current)return P.current(j,R,L);L()}},[j,R,L,P,I]);const V=v.useMemo(()=>({reference:$,floating:S,setReference:C,setFloating:N}),[C,N]),F=v.useMemo(()=>({reference:j,floating:R}),[j,R]),q=v.useMemo(()=>{const _={position:t,left:0,top:0};if(!F.floating)return _;const G=bo(F.floating,d.x),he=bo(F.floating,d.y);return c?{..._,transform:"translate("+G+"px, "+he+"px)",...Ls(F.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:G,top:he}},[t,c,F.floating,d.x,d.y]);return v.useMemo(()=>({...d,update:L,refs:V,elements:F,floatingStyles:q}),[d,L,V,F,q])}const ip=n=>{function a(t){return{}.hasOwnProperty.call(t,"current")}return{name:"arrow",options:n,fn(t){const{element:e,padding:r}=typeof n=="function"?n(t):n;return e&&a(e)?e.current!=null?yo({element:e.current,padding:r}).fn(t):{}:e?yo({element:e,padding:r}).fn(t):{}}}},sp=(n,a)=>{const t=ep(n);return{name:t.name,fn:t.fn,options:[n,a]}},cp=(n,a)=>{const t=tp(n);return{name:t.name,fn:t.fn,options:[n,a]}},lp=(n,a)=>{const t=ip(n);return{name:t.name,fn:t.fn,options:[n,a]}},Fs=216n,dp=(1n<<Fs)-1n;function up(n){const a=typeof n=="bigint"?n:BigInt(n.trim());if(a<0n)throw new Error(`Invalid tokenId: ${String(n)}`);return{itemId:(a>>Fs).toString(),issuedId:(a&dp).toString()}}function pp(n){if(!n)return null;try{return up(n).itemId}catch{return null}}const Ys=["cancelled-listings"];function fp(n,a){a&&n.setQueryData(Ys,t=>t!=null&&t.includes(a)?t:[...t??[],a])}function vo(n,a){var t;if(a)return(t=n.getQueryData(Ys))!=null&&t.includes(a)?void 0:a}function wo(n,a){return a.kind==="listed"?{...n,isOnSale:!0,listingPrice:a.priceCredits,tradeId:a.tradeId??n.tradeId}:{...n,isOnSale:!1,listingPrice:void 0,tradeId:void 0}}function Qr(n,a,t){const{address:e,contractAddress:r,tokenId:o}=a;if(!r||!o)return;const i=`${r}-${o}`;n.cancelQueries({queryKey:["owned-token",r,o]}),n.cancelQueries({queryKey:["secondary-sale-state"]}),e&&n.cancelQueries({queryKey:["my-assets",e]});const c=t.kind==="gone";n.setQueriesData({queryKey:["owned-token",r,o]},p=>p&&(c?null:wo(p,t)));const l=e?["my-assets",e]:["my-assets"];n.setQueriesData({queryKey:l},p=>p!=null&&p.pages?{...p,pages:p.pages.map(d=>{if(c){const h=d.items.filter(x=>!(x.contractAddress===r&&x.tokenId===o));return{...d,items:h,total:Math.max(0,d.total-(d.items.length-h.length))}}return{...d,items:d.items.map(h=>h.contractAddress===r&&h.tokenId===o?wo(h,t):h)}})}:p),n.setQueriesData({queryKey:["secondary-sale-state"]},p=>{var h;if(!p)return p;const d={...p};return t.kind==="removed"||t.kind==="gone"?delete d[i]:d[i]={priceCredits:t.priceCredits,tradeId:t.tradeId??((h=d[i])==null?void 0:h.tradeId)??""},d})}function hp(n){return!(n.isMarket||n.forSale&&n.priceKnown||n.manage||n.soldOutWithResale||!n.stillResolving&&!n.resolvingTrade&&(n.isTokenRoute?!n.ownedAssetLoading:!n.deepLinkLoading))}const mp="data:image/webp;base64,UklGRqgOAABXRUJQVlA4IJwOAACwOwCdASqEAIsAPj0YikMiIaEWuib4IAPEtQBl0QC/bukK7J6X8cPZP5F69/Nvhj8oPlD3odY/QB8RXPv/C+3n59+izzA/0l/3/9064PmD/bH9Zvey/33r8/2PqC/zH/fdaX6EX7O+nP+3Xwlfub+33tOf/+7N8wTMuJT/znss7V9qD/DcDplr/deudN0/Rcajjp49/Q//7vLR70+4X+tP/R9az//+3r9z/Yk/ZVVfCa+jj+kU2kxc+zPDZIZQYWF19BTevkFTZdPnQBT3YukdDX/AtCNcmvBrFJ96eYkUWaCCtnOpfB+/IETSsPYuwsabIrqSWHYoPBskXi/DUubCFDAf/6+0pCLU1kmMIueWH8HebltZsATbIO+vXwG1gHAXjGECElz7j/+GXHZJM9ORAFgOa/b/pGdMUEE9PfuMHx1G3GpnRw8WEP5FknNoUNOyb6iY5VX/W5w6pnS5r1srs4CXTuHzUJLdvXVpyiQNuBwCyLYlukPjvLuqqHRrv5/jHTa1L+iumi2wLA8NzahM3euE6fvC7shIbIWajyLkVYhWOOdMRjOWdhSN1wi7JvE4t+bFXSVHOX+4DnQxVhhUKacLKMYPHhQKLZSdyYzM66dZ22undenNBcAjNHjBW+9t0W2glcAA/v44VaU8mJJP1Vz1l456kKu23B2wH7M9h1OtAwoGAGj8t///XA7H+OEVSxGjYfFAlM1Upvv/NmvKOBdxK8JXyQLqAqwy0bgja/QQTJKOEDkKXVg8HRGbA4YhU/9KZ5ulhbrnm7S6a3XhSmz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b5uvL3i2xq/xj+lhL8t6XTKJliRrlPGHQuVR3ZceU87KLxOQcICfVOCe7B88mxyvsB2FmiotOM3UOnG+VcZ3jL1W+JFDzYyR9Y3KsZNaeJAazd5ajmnZLTYIY7gJ4N4t99U2hY/CMgI0yMNLaq3cJB0CNBsd1hRKl7lZ1wMh16/EZx5jig5JWvlZNPTMuJFHvpW42fyFjIfKslwVHB/SJKWDRr3w9uFCRm/Z3ABn2ydMFGvXjMZEaTsZlqF17J76wjrLkgmgcbtrtL9N8T3dXsKhM4LPscSPo2kc9MfW3dmjuo98vCdxBR/RvMAgm0VzEuXulny1QdmDMzoBUfPseIFkTNYFg89+m4OKn/8Xc28jcPteGx8v0vwYyKNlOAZvi/yt7OImF7kADj+rzqjSoqwVTnCCjOKrF1Gt1i+6oeDggdd5wEh1ghvxdHELxvJeJE8x82cfHEVXhE9Nheu7Q1WycLXUTZA8oZHsdBaBFpk6vyYdYFT8YTShaCjPle1+2DJHzXzhRUQ6ZY/HcDs/vS2V8+jO+pjV23u5WL6yRWULzVi+0qUXIiJzd9qj65YnWPMxIubcSpm+5n8vMpysoMuGzoNwBmNszF+S+b8acZRgm2Gi0UT5OGuYwq4wZ5kmd8OqnDzhze2RxwMRtRm+17eKYWzLWtgVuOca/HWuBI58UC9FNZtBLv1l2htg7Iyehb/cr9uKvXkPXh0LFeyfEc49dOsGvppssGqOAAAAA=",xp=m.div`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-he_m0Fl-.js","_assets/react-DehiWSvs.js","_assets/dcl-schemas-Dr9BTjb7.js","_assets/index-UGlpWu7U.js","_assets/sentry-973sfbO9.js","_assets/ethers-CtNGBird.js","_assets/intl-CBcMB1D2.js","_assets/index-D-NhBWWr.css","_assets/createSvgIcon-B10djVRg.js","_assets/clsx-FFNUV-WB.js","_assets/emotion-styled.browser.esm-Dpa1iAyn.js","_assets/CircularProgress-1fPr054_.js","_assets/index-wxVvLfDd.js","_assets/useTheme-C7dqsuDI.js","_assets/getThemeProps-Bz6-UTTf.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var Kc=Object.defineProperty;var Vc=(n,a,t)=>a in n?Kc(n,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[a]=t;var H=(n,a,t)=>Vc(n,typeof a!="symbol"?a+"":a,t);import{r as v,a as Uc,j as s,d as Wt,l as ds,R as M,h as Xc,u as Gc,b as Jc,L as Zc}from"./react-DehiWSvs.js";import{s as m,t as u,b as g,I as J,$ as el,q as Pe,aq as Ke,C as wt,bC as Lr,l as Rt,b3 as us,b4 as tl,v as Bt,ba as nl,am as ps,an as or,bc as ia,Q as de,bg as Xe,bf as ot,ch as rl,y as Ne,be as Fr,bd as fs,b2 as al,c as tn,g as sa,d as ol,e as hs,o as il,u as ve,D as sl,V as wr,ac as kr,w as ga,aW as Jt,p as ms,x as In,a$ as gs,ci as cl,B as jn,ab as En,H as xs,bD as oo,bE as ll,j as ys,cj as dl,_ as Yr,m as ul,N as Sn,ck as pl,cl as fl,cm as hl,a6 as ml,cn as gl,co as xl,cp as bs,cq as yl,cr as bl,a as vs,cs as vl,ct as wl,cu as kl,cv as Dl,ap as Cl,cw as Sl,ad as Ml,cx as _l,cy as Pl,cz as Il,a0 as jl,a1 as El,b1 as Tl,n as Nl,a2 as $l,a3 as Ol,a4 as Rl,cA as io,a_ as Al,cB as Ll,cC as Fl,cD as Yl,cE as Wl,cF as Bl,cG as Hl}from"./index-UGlpWu7U.js";import{d as Ae}from"./dcl-schemas-Dr9BTjb7.js";import{$ as Wr,m as zl,K as ql,V as Ql,Q as ws,R as Kl,M as Vl,S as Ul,C as Xl,H as Gl,a as Jl,T as Zl,X as ed,b as td,B as nd,c as rd,d as ad,e as od,f as Kt,j as Bn,k as Vt,W as id,p as sd,q as cd,P as ld,x as dd,y as ud,z as pd,D as fd,E as hd,F as md,G as gd,I as xd,J as yd,L as bd,l as vd,n as wd,o as kd,a0 as Dd,a1 as Cd,A as Sd,r as Md,s as _d,t as Pd,u as Id,v as jd,w as Ed,a2 as Td,a3 as Nd,a4 as $d,N as Od,O as so,U as Rd}from"./CollectionCarousel-CMmb6-ne.js";import{a as ir,r as Ad,t as Ld,u as Fd,c as Yd}from"./buy-BDTufK8m.js";import{a as Wd}from"./builder-Czq1-krd.js";import{u as Bd,M as Hd,l as zd,c as qd}from"./useCreditPacks-CPOVN7Gq.js";import{m as co}from"./mana-matic-C4e1sNO3.js";import{j as ks,a as Ds,n as Qd,k as Kd,b as lo,g as Cs,M as Vd,h as Ud,r as Xd,m as Gd,i as Jd}from"./authorizations-Bx-uumVM.js";import{a as Ss,w as Ms,S as _s,G as Ps}from"./buy-gasless-CXKZGuta.js";import{R as uo}from"./resume-buy-Bf0zIH7y.js";import{a as Zd,f as bt,i as nn}from"./errors-Cg4Fnsf8.js";import{E as pt}from"./ErrorNotice-D6PKmOXM.js";import{C as eu}from"./CircularProgress-1fPr054_.js";import{a as tu,d as nu,i as ru,e as au,c as ou,f as iu}from"./trade-encoding-Dw1x271X.js";import{M as su,E as cu,s as lu}from"./sendMetaTransaction-CbxpNfVY.js";import{C as du,I as uu}from"./ethers-CtNGBird.js";import{a as Br}from"./mana-convert-C0Bze7yJ.js";import{u as Is}from"./useManaRate-bDKCffp4.js";import{u as pu,d as fu}from"./disposePreview-DIA1G1eQ.js";import{T as hu}from"./Tooltip-D3wp0OFx.js";import"./sentry-973sfbO9.js";import"./intl-CBcMB1D2.js";import"./clsx-FFNUV-WB.js";const rn=Math.min,Tt=Math.max,sr=Math.round,Hn=Math.floor,st=n=>({x:n,y:n}),mu={left:"right",right:"left",bottom:"top",top:"bottom"};function gu(n,a,t){return Tt(n,rn(a,t))}function Dr(n,a){return typeof n=="function"?n(a):n}function an(n){return n.split("-")[0]}function Tn(n){return n.split("-")[1]}function xu(n){return n==="x"?"y":"x"}function xa(n){return n==="y"?"height":"width"}function jt(n){const a=n[0];return a==="t"||a==="b"?"y":"x"}function ya(n){return xu(jt(n))}function yu(n,a,t){t===void 0&&(t=!1);const e=Tn(n),r=ya(n),o=xa(r);let i=r==="x"?e===(t?"end":"start")?"right":"left":e==="start"?"bottom":"top";return a.reference[o]>a.floating[o]&&(i=cr(i)),[i,cr(i)]}function bu(n){const a=cr(n);return[ca(n),a,ca(a)]}function ca(n){return n.includes("start")?n.replace("start","end"):n.replace("end","start")}const po=["left","right"],fo=["right","left"],vu=["top","bottom"],wu=["bottom","top"];function ku(n,a,t){switch(n){case"top":case"bottom":return t?a?fo:po:a?po:fo;case"left":case"right":return a?vu:wu;default:return[]}}function Du(n,a,t,e){const r=Tn(n);let o=ku(an(n),t==="start",e);return r&&(o=o.map(i=>i+"-"+r),a&&(o=o.concat(o.map(ca)))),o}function cr(n){const a=an(n);return mu[a]+n.slice(a.length)}function Cu(n){var a,t,e,r;return{top:(a=n.top)!=null?a:0,right:(t=n.right)!=null?t:0,bottom:(e=n.bottom)!=null?e:0,left:(r=n.left)!=null?r:0}}function js(n){return typeof n!="number"?Cu(n):{top:n,right:n,bottom:n,left:n}}function lr(n){const{x:a,y:t,width:e,height:r}=n;return{width:e,height:r,top:t,left:a,right:a+e,bottom:t+r,x:a,y:t}}function ho(n,a,t){let{reference:e,floating:r}=n;const o=jt(a),i=ya(a),c=xa(i),l=an(a),p=o==="y",d=e.x+e.width/2-r.width/2,h=e.y+e.height/2-r.height/2,x=e[c]/2-r[c]/2;let b;switch(l){case"top":b={x:d,y:e.y-r.height};break;case"bottom":b={x:d,y:e.y+e.height};break;case"right":b={x:e.x+e.width,y:h};break;case"left":b={x:e.x-r.width,y:h};break;default:b={x:e.x,y:e.y}}const y=Tn(a);return y&&(b[i]+=x*(y==="end"?1:-1)*(t&&p?-1:1)),b}async function Su(n,a){var t;a===void 0&&(a={});const{x:e,y:r,platform:o,rects:i,elements:c,strategy:l}=n,{boundary:p="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:x=!1,padding:b=0}=Dr(a,n),y=js(b),k=c[x?h==="floating"?"reference":"floating":h],f=lr(await o.getClippingRect({element:(t=await(o.isElement==null?void 0:o.isElement(k)))==null||t?k:k.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:p,rootBoundary:d,strategy:l})),C=h==="floating"?{x:e,y:r,width:i.floating.width,height:i.floating.height}:i.reference,N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),j=await(o.isElement==null?void 0:o.isElement(N))&&await(o.getScale==null?void 0:o.getScale(N))||{x:1,y:1},R=lr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:N,strategy:l}):C);return{top:(f.top-R.top+y.top)/j.y,bottom:(R.bottom-f.bottom+y.bottom)/j.y,left:(f.left-R.left+y.left)/j.x,right:(R.right-f.right+y.right)/j.x}}const Mu=50,_u=async(n,a,t)=>{const{placement:e="bottom",strategy:r="absolute",middleware:o=[],platform:i}=t,c=i.detectOverflow?i:{...i,detectOverflow:Su},l=await(i.isRTL==null?void 0:i.isRTL(a));let p=await i.getElementRects({reference:n,floating:a,strategy:r}),{x:d,y:h}=ho(p,e,l),x=e,b=0;const y={};for(let w=0;w<o.length;w++){const k=o[w];if(!k)continue;const{name:f,fn:C}=k,{x:N,y:j,data:R,reset:$}=await C({x:d,y:h,initialPlacement:e,placement:x,strategy:r,middlewareData:y,rects:p,platform:c,elements:{reference:n,floating:a}});d=N??d,h=j??h,y[f]={...y[f],...R},$&&b<Mu&&(b++,typeof $=="object"&&($.placement&&(x=$.placement),$.rects&&(p=$.rects===!0?await i.getElementRects({reference:n,floating:a,strategy:r}):$.rects),{x:d,y:h}=ho(p,x,l)),w=-1)}return{x:d,y:h,placement:x,strategy:r,middlewareData:y}},Pu=n=>({name:"arrow",options:n,async fn(a){const{x:t,y:e,placement:r,rects:o,platform:i,elements:c,middlewareData:l}=a,{element:p,padding:d=0}=Dr(n,a)||{};if(p==null)return{};const h=js(d),x={x:t,y:e},b=ya(r),y=xa(b),w=await i.getDimensions(p),k=b==="y",f=k?"top":"left",C=k?"bottom":"right",N=k?"clientHeight":"clientWidth",j=o.reference[y]+o.reference[b]-x[b]-o.floating[y],R=x[b]-o.reference[b],$=await(i.getOffsetParent==null?void 0:i.getOffsetParent(p));let S=$?$[N]:0;(!S||!await(i.isElement==null?void 0:i.isElement($)))&&(S=c.floating[N]||o.floating[y]);const D=j/2-R/2,I=S/2-w[y]/2-1,P=rn(h[f],I),O=rn(h[C],I),T=S-w[y]-O,L=S/2-w[y]/2+D,z=gu(P,L,T),V=!l.arrow&&Tn(r)!=null&&L!==z&&o.reference[y]/2-(L<P?P:O)-w[y]/2<0,F=V?L<P?L-P:L-T:0;return{[b]:x[b]+F,data:{[b]:z,centerOffset:L-z-F,...V&&{alignmentOffset:F}},reset:V}}}),Iu=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(a){var t,e;const{placement:r,middlewareData:o,rects:i,initialPlacement:c,platform:l,elements:p}=a,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:x,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:w=!0,...k}=Dr(n,a);if((t=o.arrow)!=null&&t.alignmentOffset)return{};const f=an(r),C=jt(c),N=an(c)===c,j=await(l.isRTL==null?void 0:l.isRTL(p.floating)),R=x||(N||!w?[cr(c)]:bu(c)),$=y!=="none";!x&&$&&R.push(...Du(c,w,y,j));const S=[c,...R],D=await l.detectOverflow(a,k),I=[];let P=((e=o.flip)==null?void 0:e.overflows)||[];if(d&&I.push(D[f]),h){const z=yu(r,i,j);I.push(D[z[0]],D[z[1]])}if(P=[...P,{placement:r,overflows:I}],!I.every(z=>z<=0)){var O,T;const z=(((O=o.flip)==null?void 0:O.index)||0)+1,V=S[z];if(V&&(!(h==="alignment"?C!==jt(V):!1)||P.every(_=>jt(_.placement)===C?_.overflows[0]>0:!0)))return{data:{index:z,overflows:P},reset:{placement:V}};let F=(T=P.filter(q=>q.overflows[0]<=0).sort((q,_)=>q.overflows[1]-_.overflows[1])[0])==null?void 0:T.placement;if(!F)switch(b){case"bestFit":{var L;const q=(L=P.filter(_=>{if($){const G=jt(_.placement);return G===C||G==="y"}return!0}).map(_=>[_.placement,_.overflows.filter(G=>G>0).reduce((G,he)=>G+he,0)]).sort((_,G)=>_[1]-G[1])[0])==null?void 0:L[0];q&&(F=q);break}case"initialPlacement":F=c;break}if(r!==F)return{reset:{placement:F}}}return{}}}},ju=new Set(["left","top"]);async function Eu(n,a){const{placement:t,platform:e,elements:r}=n,o=await(e.isRTL==null?void 0:e.isRTL(r.floating)),i=an(t),c=Tn(t),l=jt(t)==="y",p=ju.has(i)?-1:1,d=o&&l?-1:1,h=Dr(a,n);let{mainAxis:x,crossAxis:b,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof y=="number"&&(b=c==="end"?y*-1:y),l?{x:b*d,y:x*p}:{x:x*p,y:b*d}}const Tu=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(a){var t,e;const{x:r,y:o,placement:i,middlewareData:c}=a,l=await Eu(a,n);return i===((t=c.offset)==null?void 0:t.placement)&&(e=c.arrow)!=null&&e.alignmentOffset?{}:{x:r+l.x,y:o+l.y,data:{...l,placement:i}}}}};function Cr(){return typeof window<"u"}function ln(n){return Es(n)?(n.nodeName||"").toLowerCase():"#document"}function Ie(n){var a;return(n==null||(a=n.ownerDocument)==null?void 0:a.defaultView)||window}function mt(n){var a;return(a=(Es(n)?n.ownerDocument:n.document)||window.document)==null?void 0:a.documentElement}function Es(n){return Cr()?n instanceof Node||n instanceof Ie(n).Node:!1}function _e(n){return Cr()?n instanceof Element||n instanceof Ie(n).Element:!1}function Ct(n){return Cr()?n instanceof HTMLElement||n instanceof Ie(n).HTMLElement:!1}function mo(n){return!Cr()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Ie(n).ShadowRoot}function Sr(n){const{overflow:a,overflowX:t,overflowY:e,display:r}=Fe(n);return/auto|scroll|overlay|hidden|clip/.test(a+e+t)&&r!=="inline"&&r!=="contents"}function Nu(n){return/^(table|td|th)$/.test(ln(n))}function Mr(n){try{if(n.matches(":popover-open"))return!0}catch{}try{return n.matches(":modal")}catch{return!1}}const $u=/transform|translate|scale|rotate|perspective|filter/,Ou=/paint|layout|strict|content/,Pt=n=>!!n&&n!=="none";let Hr;function ba(n){const a=_e(n)?Fe(n):n;return Pt(a.transform)||Pt(a.translate)||Pt(a.scale)||Pt(a.rotate)||Pt(a.perspective)||!va()&&(Pt(a.backdropFilter)||Pt(a.filter))||$u.test(a.willChange||"")||Ou.test(a.contain||"")}function Ru(n){let a=At(n);for(;Ct(a)&&!Mn(a);){if(ba(a))return a;if(Mr(a))return null;a=At(a)}return null}function va(){return Hr==null&&(Hr=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Hr}function Mn(n){return/^(html|body|#document)$/.test(ln(n))}function Fe(n){return Ie(n).getComputedStyle(n)}function _r(n){return _e(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function At(n){if(ln(n)==="html")return n;const a=n.assignedSlot||n.parentNode||mo(n)&&n.host||mt(n);return mo(a)?a.host:a}function Ts(n){const a=At(n);return Mn(a)?(n.ownerDocument||n).body:Ct(a)&&Sr(a)?a:Ts(a)}function _n(n,a,t){var e;a===void 0&&(a=[]),t===void 0&&(t=!0);const r=Ts(n),o=r===((e=n.ownerDocument)==null?void 0:e.body),i=Ie(r);if(o){const c=la(i);return a.concat(i,i.visualViewport||[],Sr(r)?r:[],c&&t?_n(c):[])}else return a.concat(r,_n(r,[],t))}function la(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Ns(n){const a=Fe(n);let t=parseFloat(a.width)||0,e=parseFloat(a.height)||0;const r=Ct(n),o=r?n.offsetWidth:t,i=r?n.offsetHeight:e,c=sr(t)!==o||sr(e)!==i;return c&&(t=o,e=i),{width:t,height:e,$:c}}function wa(n){return _e(n)?n:n.contextElement}function Zt(n){const a=wa(n);if(!Ct(a))return st(1);const t=a.getBoundingClientRect(),{width:e,height:r,$:o}=Ns(a);let i=(o?sr(t.width):t.width)/e,c=(o?sr(t.height):t.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!c||!Number.isFinite(c))&&(c=1),{x:i,y:c}}const Au=st(0);function $s(n){const a=Ie(n);return!va()||!a.visualViewport?Au:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function Lu(n,a,t){return a===void 0&&(a=!1),!!t&&a&&t===Ie(n)}function Lt(n,a,t,e){a===void 0&&(a=!1),t===void 0&&(t=!1);const r=n.getBoundingClientRect(),o=wa(n);let i=st(1);a&&(e?_e(e)&&(i=Zt(e)):i=Zt(n));const c=Lu(o,t,e)?$s(o):st(0);let l=(r.left+c.x)/i.x,p=(r.top+c.y)/i.y,d=r.width/i.x,h=r.height/i.y;if(o&&e){const x=Ie(o),b=_e(e)?Ie(e):e;let y=x,w=la(y);for(;w&&b!==y;){const k=Zt(w),f=w.getBoundingClientRect(),C=Fe(w),N=f.left+(w.clientLeft+parseFloat(C.paddingLeft))*k.x,j=f.top+(w.clientTop+parseFloat(C.paddingTop))*k.y;l*=k.x,p*=k.y,d*=k.x,h*=k.y,l+=N,p+=j,y=Ie(w),w=la(y)}}return lr({width:d,height:h,x:l,y:p})}function Pr(n,a){const t=_r(n).scrollLeft;return a?a.left+t:Lt(mt(n)).left+t}function Os(n,a){const t=n.getBoundingClientRect(),e=t.left+a.scrollLeft-Pr(n,t),r=t.top+a.scrollTop;return{x:e,y:r}}function Fu(n){let{elements:a,rect:t,offsetParent:e,strategy:r}=n;const o=r==="fixed",i=mt(e),c=a?Mr(a.floating):!1;if(e===i||c&&o)return t;let l={scrollLeft:0,scrollTop:0},p=st(1);const d=st(0),h=Ct(e);if((h||!o)&&((ln(e)!=="body"||Sr(i))&&(l=_r(e)),h)){const b=Lt(e);p=Zt(e),d.x=b.x+e.clientLeft,d.y=b.y+e.clientTop}const x=i&&!h&&!o?Os(i,l):st(0);return{width:t.width*p.x,height:t.height*p.y,x:t.x*p.x-l.scrollLeft*p.x+d.x+x.x,y:t.y*p.y-l.scrollTop*p.y+d.y+x.y}}function Yu(n){return n.getClientRects?Array.from(n.getClientRects()):[]}function Wu(n){const a=_r(n),t=n.ownerDocument.body,e=Tt(n.scrollWidth,n.clientWidth,t.scrollWidth,t.clientWidth),r=Tt(n.scrollHeight,n.clientHeight,t.scrollHeight,t.clientHeight);let o=-a.scrollLeft+Pr(n);const i=-a.scrollTop;return Fe(t).direction==="rtl"&&(o+=Tt(n.clientWidth,t.clientWidth)-e),{width:e,height:r,x:o,y:i}}const Bu=25;function Hu(n,a,t){t===void 0&&(t="viewport");const e=t==="layoutViewport",r=Ie(n),o=mt(n),i=r.visualViewport;let c=o.clientWidth,l=o.clientHeight,p=0,d=0;if(i){const x=!va()||a==="fixed";e?x||(p=-i.offsetLeft,d=-i.offsetTop):(c=i.width,l=i.height,x&&(p=i.offsetLeft,d=i.offsetTop))}if(Pr(o)<=0){const x=o.ownerDocument,b=x.body,y=getComputedStyle(b),w=x.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,k=Math.abs(o.clientWidth-b.clientWidth-w),f=getComputedStyle(o).scrollbarGutter==="stable both-edges"?k/2:k;f<=Bu&&(c-=f)}return{width:c,height:l,x:p,y:d}}function zu(n,a){const t=Lt(n,!0,a==="fixed"),e=t.top+n.clientTop,r=t.left+n.clientLeft,o=Zt(n),i=n.clientWidth*o.x,c=n.clientHeight*o.y,l=r*o.x,p=e*o.y;return{width:i,height:c,x:l,y:p}}function go(n,a,t){let e;if(a==="viewport"||a==="layoutViewport")e=Hu(n,t,a);else if(a==="document")e=Wu(mt(n));else if(_e(a))e=zu(a,t);else{const r=$s(n);e={x:a.x-r.x,y:a.y-r.y,width:a.width,height:a.height}}return lr(e)}function qu(n,a){const t=a.get(n);if(t)return t;let e=_n(n,[],!1).filter(c=>_e(c)&&ln(c)!=="body"),r=null;const o=Fe(n).position==="fixed";let i=o?At(n):n;for(;_e(i)&&!Mn(i);){const c=Fe(i),l=ba(i),p=r?r.position:o?"fixed":"";!l&&(p==="fixed"||p==="absolute"&&c.position==="static")?e=e.filter(h=>h!==i):r=c,i=At(i)}return a.set(n,e),e}function Qu(n){let{element:a,boundary:t,rootBoundary:e,strategy:r}=n;const i=[...t==="clippingAncestors"?Mr(a)?[]:qu(a,this._c):[].concat(t),e],c=go(a,i[0],r);let l=c.top,p=c.right,d=c.bottom,h=c.left;for(let x=1;x<i.length;x++){const b=go(a,i[x],r);l=Tt(b.top,l),p=rn(b.right,p),d=rn(b.bottom,d),h=Tt(b.left,h)}return{width:p-h,height:d-l,x:h,y:l}}function Ku(n){const{width:a,height:t}=Ns(n);return{width:a,height:t}}function Vu(n,a,t){const e=Ct(a),r=mt(a),o=t==="fixed",i=Lt(n,!0,o,a);let c={scrollLeft:0,scrollTop:0};const l=st(0);if((e||!o)&&((ln(a)!=="body"||Sr(r))&&(c=_r(a)),e)){const x=Lt(a,!0,o,a);l.x=x.x+a.clientLeft,l.y=x.y+a.clientTop}!e&&r&&(l.x=Pr(r));const p=r&&!e&&!o?Os(r,c):st(0),d=i.left+c.scrollLeft-l.x-p.x,h=i.top+c.scrollTop-l.y-p.y;return{x:d,y:h,width:i.width,height:i.height}}function zr(n){return Fe(n).position==="static"}function xo(n,a){if(!Ct(n)||Fe(n).position==="fixed")return null;if(a)return a(n);let t=n.offsetParent;return mt(n)===t&&(t=t.ownerDocument.body),t}function Rs(n,a){const t=Ie(n);if(Mr(n))return t;if(!Ct(n)){let r=At(n);for(;r&&!Mn(r);){if(_e(r)&&!zr(r))return r;r=At(r)}return t}let e=xo(n,a);for(;e&&Nu(e)&&zr(e);)e=xo(e,a);return e&&Mn(e)&&zr(e)&&!ba(e)?t:e||Ru(n)||t}const Uu=async function(n){const a=this.getOffsetParent||Rs,t=this.getDimensions,e=await t(n.floating);return{reference:Vu(n.reference,await a(n.floating),n.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function Xu(n){return Fe(n).direction==="rtl"}const Gu={convertOffsetParentRelativeRectToViewportRelativeRect:Fu,getDocumentElement:mt,getClippingRect:Qu,getOffsetParent:Rs,getElementRects:Uu,getClientRects:Yu,getDimensions:Ku,getScale:Zt,isElement:_e,isRTL:Xu};function As(n,a){return n.x===a.x&&n.y===a.y&&n.width===a.width&&n.height===a.height}function Ju(n,a,t){let e=null,r;const o=mt(n);function i(){var d;clearTimeout(r),(d=e)==null||d.disconnect(),e=null}function c(d,h){d===void 0&&(d=!1),h===void 0&&(h=1),i();const x=n.getBoundingClientRect(),{left:b,top:y,width:w,height:k}=x;if(d||a(),!w||!k)return;const f=Hn(y),C=Hn(o.clientWidth-(b+w)),N=Hn(o.clientHeight-(y+k)),j=Hn(b),$={rootMargin:-f+"px "+-C+"px "+-N+"px "+-j+"px",threshold:Tt(0,rn(1,h))||1};let S=!0;function D(I){const P=I[0].intersectionRatio;if(!As(x,n.getBoundingClientRect()))return c();if(P!==h){if(!S)return c();P?c(!1,P):r=setTimeout(()=>{c(!1,1e-7)},1e3)}S=!1}try{e=new IntersectionObserver(D,{...$,root:o.ownerDocument})}catch{e=new IntersectionObserver(D,$)}e.observe(n)}const l=Ie(n),p=()=>c(t);return l.addEventListener("resize",p),c(!0),()=>{l.removeEventListener("resize",p),i()}}function Zu(n,a,t,e){e===void 0&&(e={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=e,p=wa(n),d=r||o?[...p?_n(p):[],...a?_n(a):[]]:[];d.forEach(f=>{r&&f.addEventListener("scroll",t),o&&f.addEventListener("resize",t)});const h=p&&c?Ju(p,t,o):null;let x=-1,b=null;i&&(b=new ResizeObserver(f=>{let[C]=f;C&&C.target===p&&b&&a&&(b.unobserve(a),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var N;(N=b)==null||N.observe(a)})),t()}),p&&!l&&b.observe(p),a&&b.observe(a));let y,w=l?Lt(n):null;l&&k();function k(){const f=Lt(n);w&&!As(w,f)&&t(),w=f,y=requestAnimationFrame(k)}return t(),()=>{var f;d.forEach(C=>{r&&C.removeEventListener("scroll",t),o&&C.removeEventListener("resize",t)}),h==null||h(),(f=b)==null||f.disconnect(),b=null,l&&cancelAnimationFrame(y)}}const ep=Tu,tp=Iu,yo=Pu,np=(n,a,t)=>{const e=new Map,r=t??{},o={...Gu,...r.platform,_c:e};return _u(n,a,{...r,platform:o})};var rp=typeof document<"u",ap=function(){},Zn=rp?v.useLayoutEffect:ap;function dr(n,a){if(n===a)return!0;if(typeof n!=typeof a)return!1;if(typeof n=="function"&&n.toString()===a.toString())return!0;let t,e,r;if(n&&a&&typeof n=="object"){if(Array.isArray(n)){if(t=n.length,t!==a.length)return!1;for(e=t;e--!==0;)if(!dr(n[e],a[e]))return!1;return!0}if(r=Object.keys(n),t=r.length,t!==Object.keys(a).length)return!1;for(e=t;e--!==0;)if(!{}.hasOwnProperty.call(a,r[e]))return!1;for(e=t;e--!==0;){const o=r[e];if(!(o==="_owner"&&n.$$typeof)&&!dr(n[o],a[o]))return!1}return!0}return n!==n&&a!==a}function Ls(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function bo(n,a){const t=Ls(n);return Math.round(a*t)/t}function qr(n){const a=v.useRef(n);return Zn(()=>{a.current=n}),a}function op(n){n===void 0&&(n={});const{placement:a="bottom",strategy:t="absolute",middleware:e=[],platform:r,elements:{reference:o,floating:i}={},transform:c=!0,whileElementsMounted:l,open:p}=n,[d,h]=v.useState({x:0,y:0,strategy:t,placement:a,middlewareData:{},isPositioned:!1}),[x,b]=v.useState(e);dr(x,e)||b(e);const[y,w]=v.useState(null),[k,f]=v.useState(null),C=v.useCallback(_=>{_!==$.current&&($.current=_,w(_))},[]),N=v.useCallback(_=>{_!==S.current&&(S.current=_,f(_))},[]),j=o||y,R=i||k,$=v.useRef(null),S=v.useRef(null),D=v.useRef(d),I=l!=null,P=qr(l),O=qr(r),T=qr(p),L=v.useCallback(()=>{if(!$.current||!S.current)return;const _={placement:a,strategy:t,middleware:x};O.current&&(_.platform=O.current),np($.current,S.current,_).then(G=>{const he={...G,isPositioned:T.current!==!1};z.current&&!dr(D.current,he)&&(D.current=he,Uc.flushSync(()=>{h(he)}))})},[x,a,t,O,T]);Zn(()=>{p===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,h(_=>({..._,isPositioned:!1})))},[p]);const z=v.useRef(!1);Zn(()=>(z.current=!0,()=>{z.current=!1}),[]),Zn(()=>{if(j&&($.current=j),R&&(S.current=R),j&&R){if(P.current)return P.current(j,R,L);L()}},[j,R,L,P,I]);const V=v.useMemo(()=>({reference:$,floating:S,setReference:C,setFloating:N}),[C,N]),F=v.useMemo(()=>({reference:j,floating:R}),[j,R]),q=v.useMemo(()=>{const _={position:t,left:0,top:0};if(!F.floating)return _;const G=bo(F.floating,d.x),he=bo(F.floating,d.y);return c?{..._,transform:"translate("+G+"px, "+he+"px)",...Ls(F.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:G,top:he}},[t,c,F.floating,d.x,d.y]);return v.useMemo(()=>({...d,update:L,refs:V,elements:F,floatingStyles:q}),[d,L,V,F,q])}const ip=n=>{function a(t){return{}.hasOwnProperty.call(t,"current")}return{name:"arrow",options:n,fn(t){const{element:e,padding:r}=typeof n=="function"?n(t):n;return e&&a(e)?e.current!=null?yo({element:e.current,padding:r}).fn(t):{}:e?yo({element:e,padding:r}).fn(t):{}}}},sp=(n,a)=>{const t=ep(n);return{name:t.name,fn:t.fn,options:[n,a]}},cp=(n,a)=>{const t=tp(n);return{name:t.name,fn:t.fn,options:[n,a]}},lp=(n,a)=>{const t=ip(n);return{name:t.name,fn:t.fn,options:[n,a]}},Fs=216n,dp=(1n<<Fs)-1n;function up(n){const a=typeof n=="bigint"?n:BigInt(n.trim());if(a<0n)throw new Error(`Invalid tokenId: ${String(n)}`);return{itemId:(a>>Fs).toString(),issuedId:(a&dp).toString()}}function pp(n){if(!n)return null;try{return up(n).itemId}catch{return null}}const Ys=["cancelled-listings"];function fp(n,a){a&&n.setQueryData(Ys,t=>t!=null&&t.includes(a)?t:[...t??[],a])}function vo(n,a){var t;if(a)return(t=n.getQueryData(Ys))!=null&&t.includes(a)?void 0:a}function wo(n,a){return a.kind==="listed"?{...n,isOnSale:!0,listingPrice:a.priceCredits,tradeId:a.tradeId??n.tradeId}:{...n,isOnSale:!1,listingPrice:void 0,tradeId:void 0}}function Qr(n,a,t){const{address:e,contractAddress:r,tokenId:o}=a;if(!r||!o)return;const i=`${r}-${o}`;n.cancelQueries({queryKey:["owned-token",r,o]}),n.cancelQueries({queryKey:["secondary-sale-state"]}),e&&n.cancelQueries({queryKey:["my-assets",e]});const c=t.kind==="gone";n.setQueriesData({queryKey:["owned-token",r,o]},p=>p&&(c?null:wo(p,t)));const l=e?["my-assets",e]:["my-assets"];n.setQueriesData({queryKey:l},p=>p!=null&&p.pages?{...p,pages:p.pages.map(d=>{if(c){const h=d.items.filter(x=>!(x.contractAddress===r&&x.tokenId===o));return{...d,items:h,total:Math.max(0,d.total-(d.items.length-h.length))}}return{...d,items:d.items.map(h=>h.contractAddress===r&&h.tokenId===o?wo(h,t):h)}})}:p),n.setQueriesData({queryKey:["secondary-sale-state"]},p=>{var h;if(!p)return p;const d={...p};return t.kind==="removed"||t.kind==="gone"?delete d[i]:d[i]={priceCredits:t.priceCredits,tradeId:t.tradeId??((h=d[i])==null?void 0:h.tradeId)??""},d})}function hp(n){return!(n.isMarket||n.forSale&&n.priceKnown||n.manage||n.soldOutWithResale||!n.stillResolving&&!n.resolvingTrade&&(n.isTokenRoute?!n.ownedAssetLoading:!n.deepLinkLoading))}const mp="data:image/webp;base64,UklGRqgOAABXRUJQVlA4IJw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o2kc9MfW3dmjuo98vCdxBR/RvMAgm0VzEuXulny1QdmDMzoBUfPseIFkTNYFg89+m4OKn/8Xc28jcPteGx8v0vwYyKNlOAZvi/yt7OImF7kADj+rzqjSoqwVTnCCjOKrF1Gt1i+6oeDggdd5wEh1ghvxdHELxvJeJE8x82cfHEVXhE9Nheu7Q1WycLXUTZA8oZHsdBaBFpk6vyYdYFT8YTShaCjPle1+2DJHzXzhRUQ6ZY/HcDs/vS2V8+jO+pjV23u5WL6yRWULzVi+0qUXIiJzd9qj65YnWPMxIubcSpm+5n8vMpysoMuGzoNwBmNszF+S+b8acZRgm2Gi0UT5OGuYwq4wZ5kmd8OqnDzhze2RxwMRtRm+17eKYWzLWtgVuOca/HWuBI58UC9FNZtBLv1l2htg7Iyehb/cr9uKvXkPXh0LFeyfEc49dOsGvppssGqOAAAAA=",xp=m.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
gap: 24px;
|
|
@@ -1705,7 +1705,7 @@ var Kc=Object.defineProperty;var Vc=(n,a,t)=>a in n?Kc(n,a,{enumerable:!0,config
|
|
|
1705
1705
|
margin-top: 18px;
|
|
1706
1706
|
`,Ri=m(jn)`
|
|
1707
1707
|
flex: 1;
|
|
1708
|
-
`;function Ai(n){if(nn(n))return g("errors.rejected");const a=(n.message??"").toLowerCase();return a.includes("insufficient")?g("marketCheckout.error.insufficient",{currency:wt.name}):a.includes("not found")||a.includes("no active listing")||a.includes("404")?g("marketCheckout.error.soldOrRemoved"):a.includes("your own listing")?g("errors.cantBuyOwn"):g("marketCheckout.error.generic")}function fy(n){return{id:n.tradeId,tradeId:n.tradeId,name:n.name,creator:n.creator,contractAddress:n.contractAddress,itemId:n.itemId,category:n.category,wearableCategory:n.wearableCategory??void 0,rarity:n.rarity,network:n.network,chainId:n.chainId,thumbnail:n.thumbnail,priceCredits:0,gender:null,isSmart:!1}}function bc({listing:n,rate:a,onClose:t,onSold:e}){const{session:r}=Rt(),{data:o,isError:i}=us(r),c=Bt(),l=Wt(),[p,d]=v.useState("confirm"),[h,x]=v.useState(g("marketCheckout.lockingPrice")),[b,y]=v.useState(null),[w,k]=v.useState(null),f=v.useRef(null),C=v.useRef(Ws()),N=or(Br(n.manaWei,a));v.useEffect(()=>{let P=!1;if(!r){d("error"),y(g("buyModal.signInToCheckout"));return}return(async()=>{try{const T=await ys(n.tradeId);if(!T)throw new Error("not found");if(ps(T,r.address))throw new Error("You can't buy your own listing.");const L=Br(n.manaWei,a);if(!Number.isFinite(L)||L<=0)throw new Error("price unavailable");const{credit:z,maxCreditedValue:V,usdCents:F}=await ia(r.identity,L,n.tradeId);if(P){$([z.id]);return}f.current=z.id,k({trade:T,credit:z,maxCreditedValue:V,usdCents:F,credits:or(F)}),x("")}catch(T){if(P)return;console.error("[market] authorize failed",T),de(ot(T)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"authorize",error_code:Xe(T),value_usd:Math.round(Br(n.manaWei,a))/100}),d("error"),y(Ai(T))}})(),()=>{P=!0,f.current&&r&&(S([f.current]),f.current=null)}},[]);const j=!!w&&o!=null&&o.credits<w.credits;async function R(){if(!r||!w)return;if(j){de("Shop Buy Credits Prompted",{from:"item_checkout",credits_needed:w.credits,credits_balance:(o==null?void 0:o.credits)??0,shortfall:Math.max(0,w.credits-((o==null?void 0:o.credits)??0))}),$([w.credit.id]),f.current=null,l("/credits");return}d("working"),y(null);let P=!1,O;try{x(g("marketCheckout.confirming"));const L={trade:w.trade,buyer:r.address,signer:r.signer,credits:[w.credit],maxCreditedValue:w.maxCreditedValue,onBroadcast:({txHash:z})=>C.current.broadcast(w.credit.id,z),onReverted:({txHash:z})=>{z&&C.current.reverted(z)}};if(C.current.submitStarted(w.credit.id),ks())try{O=await Ss(L),C.current.broadcast(w.credit.id,O),await Ms(O),P=!0}catch(z){if(z instanceof _s)P=!0;else if(z instanceof Ps){if(z.reason==="relayer-unreachable")throw C.current.unobservable(w.credit.id),z;O=await ir(L)}else throw O&&C.current.reverted(O),z}else O=await ir(L)}catch(L){C.current.submitFinished(w.credit.id),console.error("[market] buy now failed",L),$([w.credit.id]),f.current=null,de(ot(L)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"submit",error_code:Xe(L),value_usd:w.usdCents/100}),c.invalidateQueries({queryKey:["usd-balance"]}),y(Ai(L)),d("error");const z=(L.message??"").toLowerCase();(z.includes("not found")||z.includes("no active listing")||z.includes("404"))&&e();return}C.current.submitFinished(w.credit.id),f.current=null;try{c.invalidateQueries({queryKey:["usd-balance"]}),de("Shop Completed Purchase",{items:[{item_id:n.itemId??null,contract_address:n.contractAddress,token_id:null,price_usd:w.usdCents/100}],value_credits:w.credits,value_usd:w.usdCents/100,purchase_type:"item",is_primary:!0,payment_type:"credits",no_crypto_step:P,transaction_hash:O??null}),c.invalidateQueries({queryKey:["detail-trade"]}),c.invalidateQueries({queryKey:["shop-item"]}),c.invalidateQueries({queryKey:["item-resales",n.contractAddress,n.itemId]}),c.invalidateQueries({queryKey:["shop-items"]}),c.invalidateQueries({queryKey:["catalog-items"]}),c.invalidateQueries({queryKey:["my-assets"]}),c.invalidateQueries({queryKey:["purchases"]})}catch(L){Ne(L,{flow:"market_buy_now",step:"post_purchase"})}const T={items:[fy(n)],txHash:O};l("/success",{state:T})}function $(P){if(!r||P.length===0)return;const O=P.filter(T=>!C.current.mayBeConsumed(T));O.length!==0&&fs(r.identity,O).catch(()=>{})}function S(P){$(P.filter(O=>!C.current.isInFlight(O)))}function D(){r&&w&&$([w.credit.id]),f.current=null,t()}const I=p==="working";return s.jsxs(ny,{role:"dialog","aria-modal":"true","aria-label":g("buyModal.dialogAria",{name:n.name}),children:[s.jsx(ry,{onClick:I?void 0:D,"aria-hidden":!0}),s.jsxs(ay,{children:[s.jsxs(oy,{children:[s.jsx(iy,{children:n.thumbnail?s.jsx("img",{src:n.thumbnail,alt:""}):null}),s.jsxs("div",{children:[s.jsx(sy,{title:n.name,children:n.name||g("buyModal.itemFallback")}),s.jsx(xs,{"data-variant":"rarity",children:n.rarity})]})]}),s.jsx(cy,{children:w?s.jsxs(s.Fragment,{children:[s.jsx(Ei,{children:g("marketCheckout.finalPrice")}),s.jsxs(Ti,{children:[s.jsx(Ni,{}),oo(w.credits)]}),s.jsxs($i,{className:"muted",children:[g("marketCheckout.lockedForPurchase")," · $",(w.usdCents/100).toFixed(2)]})]}):s.jsxs(s.Fragment,{children:[s.jsx(Ei,{children:g("marketCheckout.todaysPrice")}),s.jsxs(Ti,{"data-approx":!0,children:[s.jsx(ly,{"aria-hidden":!0,children:"≈"}),s.jsx(Ni,{}),oo(N)]}),s.jsx($i,{className:"muted",children:h||g("marketCheckout.lockingPrice")})]})}),r?s.jsxs(dy,{className:"muted",children:[g("marketCheckout.yourBalance")," ",s.jsx(Pe,{className:"ccy-mark"})," ",ll(o,i)]}):null,j?s.jsx(Oi,{className:"muted",children:g("marketCheckout.needMore",{currency:wt.name})}):null,h&&p==="working"?s.jsx(Oi,{className:"muted",children:h}):null,s.jsx(uy,{message:b}),s.jsxs(py,{children:[s.jsx(Ri,{variant:"ghost",onClick:D,disabled:I,children:g("buyModal.cancel")}),s.jsx(Ri,{variant:"purple",onClick:()=>void R(),disabled:I||!w,children:I?g("marketCheckout.buying"):j?g("nav.getCredits",{currency:wt.name}):g("marketCheckout.confirmPurchase")})]})]})]})}function hy(n,a,{enabled:t=!0,first:e}={}){const{data:r,isFetched:o}=ve({queryKey:["related-items",n,a,e],enabled:t&&!!n&&!!a,staleTime:3e5,queryFn:()=>dl(n,a,{first:e})});return{items:r??[],isFetched:o}}const my=v.lazy(async()=>{const[{EmoteControls:n},{Experimental_CssVarsProvider:a},{light:t}]=await Promise.all([Yr(()=>import("./index-
|
|
1708
|
+
`;function Ai(n){if(nn(n))return g("errors.rejected");const a=(n.message??"").toLowerCase();return a.includes("insufficient")?g("marketCheckout.error.insufficient",{currency:wt.name}):a.includes("not found")||a.includes("no active listing")||a.includes("404")?g("marketCheckout.error.soldOrRemoved"):a.includes("your own listing")?g("errors.cantBuyOwn"):g("marketCheckout.error.generic")}function fy(n){return{id:n.tradeId,tradeId:n.tradeId,name:n.name,creator:n.creator,contractAddress:n.contractAddress,itemId:n.itemId,category:n.category,wearableCategory:n.wearableCategory??void 0,rarity:n.rarity,network:n.network,chainId:n.chainId,thumbnail:n.thumbnail,priceCredits:0,gender:null,isSmart:!1}}function bc({listing:n,rate:a,onClose:t,onSold:e}){const{session:r}=Rt(),{data:o,isError:i}=us(r),c=Bt(),l=Wt(),[p,d]=v.useState("confirm"),[h,x]=v.useState(g("marketCheckout.lockingPrice")),[b,y]=v.useState(null),[w,k]=v.useState(null),f=v.useRef(null),C=v.useRef(Ws()),N=or(Br(n.manaWei,a));v.useEffect(()=>{let P=!1;if(!r){d("error"),y(g("buyModal.signInToCheckout"));return}return(async()=>{try{const T=await ys(n.tradeId);if(!T)throw new Error("not found");if(ps(T,r.address))throw new Error("You can't buy your own listing.");const L=Br(n.manaWei,a);if(!Number.isFinite(L)||L<=0)throw new Error("price unavailable");const{credit:z,maxCreditedValue:V,usdCents:F}=await ia(r.identity,L,n.tradeId);if(P){$([z.id]);return}f.current=z.id,k({trade:T,credit:z,maxCreditedValue:V,usdCents:F,credits:or(F)}),x("")}catch(T){if(P)return;console.error("[market] authorize failed",T),de(ot(T)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"authorize",error_code:Xe(T),value_usd:Math.round(Br(n.manaWei,a))/100}),d("error"),y(Ai(T))}})(),()=>{P=!0,f.current&&r&&(S([f.current]),f.current=null)}},[]);const j=!!w&&o!=null&&o.credits<w.credits;async function R(){if(!r||!w)return;if(j){de("Shop Buy Credits Prompted",{from:"item_checkout",credits_needed:w.credits,credits_balance:(o==null?void 0:o.credits)??0,shortfall:Math.max(0,w.credits-((o==null?void 0:o.credits)??0))}),$([w.credit.id]),f.current=null,l("/credits");return}d("working"),y(null);let P=!1,O;try{x(g("marketCheckout.confirming"));const L={trade:w.trade,buyer:r.address,signer:r.signer,credits:[w.credit],maxCreditedValue:w.maxCreditedValue,onBroadcast:({txHash:z})=>C.current.broadcast(w.credit.id,z),onReverted:({txHash:z})=>{z&&C.current.reverted(z)}};if(C.current.submitStarted(w.credit.id),ks())try{O=await Ss(L),C.current.broadcast(w.credit.id,O),await Ms(O),P=!0}catch(z){if(z instanceof _s)P=!0;else if(z instanceof Ps){if(z.reason==="relayer-unreachable")throw C.current.unobservable(w.credit.id),z;O=await ir(L)}else throw O&&C.current.reverted(O),z}else O=await ir(L)}catch(L){C.current.submitFinished(w.credit.id),console.error("[market] buy now failed",L),$([w.credit.id]),f.current=null,de(ot(L)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"submit",error_code:Xe(L),value_usd:w.usdCents/100}),c.invalidateQueries({queryKey:["usd-balance"]}),y(Ai(L)),d("error");const z=(L.message??"").toLowerCase();(z.includes("not found")||z.includes("no active listing")||z.includes("404"))&&e();return}C.current.submitFinished(w.credit.id),f.current=null;try{c.invalidateQueries({queryKey:["usd-balance"]}),de("Shop Completed Purchase",{items:[{item_id:n.itemId??null,contract_address:n.contractAddress,token_id:null,price_usd:w.usdCents/100}],value_credits:w.credits,value_usd:w.usdCents/100,purchase_type:"item",is_primary:!0,payment_type:"credits",no_crypto_step:P,transaction_hash:O??null}),c.invalidateQueries({queryKey:["detail-trade"]}),c.invalidateQueries({queryKey:["shop-item"]}),c.invalidateQueries({queryKey:["item-resales",n.contractAddress,n.itemId]}),c.invalidateQueries({queryKey:["shop-items"]}),c.invalidateQueries({queryKey:["catalog-items"]}),c.invalidateQueries({queryKey:["my-assets"]}),c.invalidateQueries({queryKey:["purchases"]})}catch(L){Ne(L,{flow:"market_buy_now",step:"post_purchase"})}const T={items:[fy(n)],txHash:O};l("/success",{state:T})}function $(P){if(!r||P.length===0)return;const O=P.filter(T=>!C.current.mayBeConsumed(T));O.length!==0&&fs(r.identity,O).catch(()=>{})}function S(P){$(P.filter(O=>!C.current.isInFlight(O)))}function D(){r&&w&&$([w.credit.id]),f.current=null,t()}const I=p==="working";return s.jsxs(ny,{role:"dialog","aria-modal":"true","aria-label":g("buyModal.dialogAria",{name:n.name}),children:[s.jsx(ry,{onClick:I?void 0:D,"aria-hidden":!0}),s.jsxs(ay,{children:[s.jsxs(oy,{children:[s.jsx(iy,{children:n.thumbnail?s.jsx("img",{src:n.thumbnail,alt:""}):null}),s.jsxs("div",{children:[s.jsx(sy,{title:n.name,children:n.name||g("buyModal.itemFallback")}),s.jsx(xs,{"data-variant":"rarity",children:n.rarity})]})]}),s.jsx(cy,{children:w?s.jsxs(s.Fragment,{children:[s.jsx(Ei,{children:g("marketCheckout.finalPrice")}),s.jsxs(Ti,{children:[s.jsx(Ni,{}),oo(w.credits)]}),s.jsxs($i,{className:"muted",children:[g("marketCheckout.lockedForPurchase")," · $",(w.usdCents/100).toFixed(2)]})]}):s.jsxs(s.Fragment,{children:[s.jsx(Ei,{children:g("marketCheckout.todaysPrice")}),s.jsxs(Ti,{"data-approx":!0,children:[s.jsx(ly,{"aria-hidden":!0,children:"≈"}),s.jsx(Ni,{}),oo(N)]}),s.jsx($i,{className:"muted",children:h||g("marketCheckout.lockingPrice")})]})}),r?s.jsxs(dy,{className:"muted",children:[g("marketCheckout.yourBalance")," ",s.jsx(Pe,{className:"ccy-mark"})," ",ll(o,i)]}):null,j?s.jsx(Oi,{className:"muted",children:g("marketCheckout.needMore",{currency:wt.name})}):null,h&&p==="working"?s.jsx(Oi,{className:"muted",children:h}):null,s.jsx(uy,{message:b}),s.jsxs(py,{children:[s.jsx(Ri,{variant:"ghost",onClick:D,disabled:I,children:g("buyModal.cancel")}),s.jsx(Ri,{variant:"purple",onClick:()=>void R(),disabled:I||!w,children:I?g("marketCheckout.buying"):j?g("nav.getCredits",{currency:wt.name}):g("marketCheckout.confirmPurchase")})]})]})]})}function hy(n,a,{enabled:t=!0,first:e}={}){const{data:r,isFetched:o}=ve({queryKey:["related-items",n,a,e],enabled:t&&!!n&&!!a,staleTime:3e5,queryFn:()=>dl(n,a,{first:e})});return{items:r??[],isFetched:o}}const my=v.lazy(async()=>{const[{EmoteControls:n},{Experimental_CssVarsProvider:a},{light:t}]=await Promise.all([Yr(()=>import("./index-he_m0Fl-.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])),Yr(()=>import("./index-wxVvLfDd.js"),__vite__mapDeps([12,3,1,4,2,5,6,7,13,14,9])),Yr(()=>import("./index-UGlpWu7U.js").then(e=>e.cK),__vite__mapDeps([3,1,4,2,5,6,7]))]);return{default:e=>s.jsx(a,{theme:t,children:s.jsx(n,{...e})})}});function gy(n){return s.jsx(v.Suspense,{fallback:null,children:s.jsx(my,{...n})})}const{colors:ce,media:ja}=u,xy=ul`
|
|
1709
1709
|
to {
|
|
1710
1710
|
transform: rotate(360deg);
|
|
1711
1711
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as o,j as f}from"./react-DehiWSvs.js";import{s as p,B as m,b as s}from"./index-
|
|
1
|
+
import{r as o,j as f}from"./react-DehiWSvs.js";import{s as p,B as m,b as s}from"./index-UGlpWu7U.js";const j=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
padding: 28px 0 8px;
|
package/_assets/{ManaPricingBanner.styles-CfeNfvcw.js → ManaPricingBanner.styles-eLx-8UKH.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as h,j as t,L as u}from"./react-DehiWSvs.js";import{t as n,s as e,
|
|
1
|
+
import{r as h,j as t,L as u}from"./react-DehiWSvs.js";import{t as n,s as e,ac as g,C,aW as m,b as r}from"./index-UGlpWu7U.js";function j({size:a=17,...o}){const s=`credit-mark-${h.useId()}`;return t.jsxs("svg",{viewBox:"0 0 16.9985 16.9985",width:a,height:a,fill:"none","aria-hidden":!0,focusable:"false",...o,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:s,x1:"-0.513692",y1:"8.51179",x2:"29.4301",y2:"5.69069",gradientUnits:"userSpaceOnUse",children:[t.jsx("stop",{stopColor:n.colors.dclRed}),t.jsx("stop",{offset:"1",stopColor:n.colors.flareAmber})]})}),t.jsx("path",{d:"M11.866 0.605075L16.4734 5.29355L16.4148 11.8658L11.7253 16.4742L5.15405 16.4156L0.545653 11.7271L0.604247 5.1539L5.29175 0.546481L11.866 0.605075Z",fill:`url(#${s})`,stroke:`url(#${s})`,strokeWidth:"1.04738"}),t.jsx("path",{d:"M9.14405 10.9365C9.51965 10.9365 9.87384 10.8794 10.2067 10.7653C10.5395 10.6512 10.7938 10.5371 10.9697 10.423L11.4975 11.4749L12.0252 12.5268C11.8017 12.717 11.4166 12.9095 10.8699 13.1045C10.3279 13.2994 9.68605 13.3969 8.94437 13.3969C8.25023 13.3969 7.59651 13.2756 6.98319 13.0332C6.36988 12.7907 5.82551 12.4507 5.35007 12.0133C4.87939 11.5759 4.51093 11.0625 4.24468 10.4729C3.97844 9.87864 3.84532 9.23205 3.84532 8.53316C3.84532 7.83427 3.97844 7.18767 4.24468 6.59338C4.51093 5.99433 4.87939 5.4761 5.35007 5.0387C5.82075 4.59655 6.36275 4.25423 6.97606 4.01176C7.59413 3.76453 8.25023 3.64092 8.94437 3.64092C9.68605 3.64092 10.3279 3.73838 10.8699 3.93331C11.4166 4.12824 11.8017 4.32079 12.0252 4.51097L10.9697 6.61477C10.7938 6.50067 10.5395 6.38656 10.2067 6.27246C9.87384 6.15835 9.51965 6.1013 9.14405 6.1013C8.67812 6.1013 8.27876 6.17024 7.94595 6.30812C7.6179 6.44599 7.34928 6.63141 7.14009 6.86438C6.9309 7.09734 6.77638 7.35645 6.67654 7.64171C6.58145 7.92698 6.53391 8.21699 6.53391 8.51176C6.53391 8.81129 6.58145 9.10606 6.67654 9.39607C6.77638 9.68133 6.9309 9.94045 7.14009 10.1734C7.34928 10.4064 7.6179 10.5918 7.94595 10.7297C8.27876 10.8675 8.67812 10.9365 9.14405 10.9365Z",fill:n.colors.white})]})}const{colors:p,font:$}=n,b=e.p`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 4px;
|
|
@@ -11,7 +11,7 @@ import{r as h,j as t,L as u}from"./react-DehiWSvs.js";import{t as n,s as e,ad as
|
|
|
11
11
|
&[data-align='center'] {
|
|
12
12
|
justify-content: center;
|
|
13
13
|
}
|
|
14
|
-
`,
|
|
14
|
+
`,l=e.span`
|
|
15
15
|
font-weight: 600;
|
|
16
16
|
`,d=e.span`
|
|
17
17
|
font-weight: 400;
|
|
@@ -20,7 +20,7 @@ import{r as h,j as t,L as u}from"./react-DehiWSvs.js";import{t as n,s as e,ad as
|
|
|
20
20
|
font-weight: 600;
|
|
21
21
|
line-height: 1.57;
|
|
22
22
|
color: ${p.muted1};
|
|
23
|
-
`;function S({align:a,className:o}){const s=g(C.nameSingular),
|
|
23
|
+
`;function S({align:a,className:o}){const s=g(C.nameSingular),c=m(1).toFixed(2),f=r("creditRate.usdLabel");return t.jsxs(b,{className:o,"data-align":a,"data-testid":"credit-rate","aria-label":r("creditRate.aria",{unit:s,usd:c}),children:[t.jsx(j,{}),t.jsxs("span",{children:[t.jsx(l,{children:"1"})," ",t.jsx(d,{children:s})]}),t.jsx(L,{"aria-hidden":!0,children:r("creditRate.equals")}),t.jsxs("span",{children:[t.jsx(d,{children:f})," ",t.jsx(l,{children:c})]})]})}const{colors:i,font:y,media:w,radius:x}=n,R=e.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
align-items: center;
|
|
26
26
|
gap: 8px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a8 as Y,a7 as Ke,a9 as M,cd as vt,bU as mt,cb as we}from"./index-UGlpWu7U.js";import{h as De,R as Me,r as O,j as X,a as nn,i as rn,g as on}from"./react-DehiWSvs.js";import{g as jt,a as Nt,c as Lt,b as Ye,s as Ze,d as an,f as sn}from"./clsx-FFNUV-WB.js";import{_ as ln,T as Wt,u as ue,s as ht,o as je,a as un}from"./createSvgIcon-B10djVRg.js";import{u as cn}from"./useTheme-C7dqsuDI.js";function fn(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var Fe={exports:{}},S={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-is.production.min.js
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as d,j as t,L as st,d as nt,e as ot}from"./react-DehiWSvs.js";import{t as n,s as i,b as o,I as v,
|
|
1
|
+
import{r as d,j as t,L as st,d as nt,e as ot}from"./react-DehiWSvs.js";import{t as n,s as i,b as o,I as v,q as rt,n as it,l as at,ac as me,u as Q,B as ct,ae as V,af as Z,A as lt,c as Ie,bt as dt,bu as pt}from"./index-UGlpWu7U.js";import{a as mt}from"./builder-Czq1-krd.js";import{L as ut}from"./LoadMore-B2K4UDfe.js";import{R as X,a as ft,C as xt,F as ht,e as ue}from"./categories-3pKh51AH.js";import{D as fe,F as xe,R as gt,a as yt,b as bt,c as wt,d as jt,S as $t,e as St,f as kt,g as vt,h as Ct,i as It,j as At,k as Pt,C as Et,l as Rt,m as Tt,n as Ot,M as Ft}from"./Assets.styles-DU_WP2lv.js";import{u as _t}from"./useInfiniteGrid-7hiVU_K4.js";import{u as zt}from"./useImportable-BElQRFOW.js";import{E as he}from"./ErrorNotice-D6PKmOXM.js";import{C as Bt,R as Nt,B as Lt,T as Mt,A as Kt,a as Gt}from"./ManaPricingBanner.styles-eLx-8UKH.js";import{C as qt}from"./field.styles-tnDxAMEw.js";import{n as Ae}from"./Tooltip-D3wp0OFx.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";import"./buy-BDTufK8m.js";import"./mana-convert-C0Bze7yJ.js";import"./authorizations-Bx-uumVM.js";import"./sendMetaTransaction-CbxpNfVY.js";import"./trade-encoding-Dw1x271X.js";const{colors:m,font:Pe,radius:te,z:Dt}=n,Ht=i.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
inset: 0;
|
|
4
4
|
z-index: ${Dt.overlay};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{L as h,r as g,j as t}from"./react-DehiWSvs.js";import{s,t as f,
|
|
1
|
+
import{L as h,r as g,j as t}from"./react-DehiWSvs.js";import{s,t as f,n as u,b as o,ad as c,ae as y,af as v}from"./index-UGlpWu7U.js";import{L as C}from"./LoadMore-B2K4UDfe.js";import{E as j}from"./ErrorNotice-D6PKmOXM.js";import{G as b}from"./grid.styles-BjSrL-3s.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";const{colors:e,radius:p}=f,w=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: baseline;
|
|
4
4
|
gap: 12px;
|