@dcl/shop 1.12.2-34968681691.commit-d61728d → 1.12.2-34971053975.commit-a7f84c8
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-jrYWoNWZ.js → Activity-B6ikNqvo.js} +6 -6
- package/_assets/{AnimatedBackground-2cw5u_BI.js → AnimatedBackground-BMb7rvun.js} +6 -6
- package/_assets/Assets-DgMWcGQE.js +939 -0
- package/_assets/{Authorizations-T3uJtCS4.js → Authorizations-B7xAIeF_.js} +2 -2
- package/_assets/{Cart-CBOmt4gy.js → Cart-CwBcJxTr.js} +6 -6
- package/_assets/{Collection-LJIgB-hh.js → Collection-DlHBHW6I.js} +5 -5
- package/_assets/{CollectionCarousel-DOHjFwS8.js → CollectionCarousel-BEo7WSno.js} +54 -54
- package/_assets/{Confetti-JgyDQdwe.js → Confetti-Dn8-JEM9.js} +4 -4
- package/_assets/{ConstantsUtil-DmRxn1rN.js → ConstantsUtil-BfeVP8OX.js} +2 -2
- package/_assets/{ContentClient-CD-EotOo.js → ContentClient-BgiyWvaC.js} +2 -2
- package/_assets/{Creator-C7kvawHs.js → Creator-CVDhc4KI.js} +28 -28
- package/_assets/{DeploymentBuilder-DCCjtm_I.js → DeploymentBuilder-CVfMLlHa.js} +3 -3
- package/_assets/{EmotePlaybackBar-BbLe7eRv.js → EmotePlaybackBar-B62YEt9G.js} +3 -3
- package/_assets/{ErrorNotice-ClgCsoly.js → ErrorNotice-CWVZqiKm.js} +2 -2
- package/_assets/{Event-DhYM6Kku.js → Event-DnCv7Xg4.js} +2 -2
- package/_assets/{ExchangeController-dxIMhhH6.js → ExchangeController-_gA6u_p7.js} +2 -2
- package/_assets/{Faq-C-bTf4Y0.js → Faq-ZShU0n7U.js} +2 -2
- package/_assets/{GetCredits-D3Xq5hPG.js → GetCredits-Bj2YvP67.js} +2 -2
- package/_assets/{Grow-BvUzv11K.js → Grow-Crvwr5n9.js} +2 -2
- package/_assets/HelpersUtil-CuAlXmSB.js +63 -0
- package/_assets/{ItemDetail-CK7EmJz5.js → ItemDetail-2gzLCIOg.js} +262 -257
- package/_assets/{LoadMore-Dr8VkfDh.js → LoadMore-YxufSP26.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-BoYJiExd.js → ManaPricingBanner.styles-Bp7LjYRJ.js} +2 -2
- package/_assets/MyAssets-DaodAqcp.js +1096 -0
- package/_assets/{MyFavorites-DPchePEj.js → MyFavorites-Veqwi_3D.js} +2 -2
- package/_assets/{NetworkUtil-BKqUtqwI.js → NetworkUtil-BeQH6gwx.js} +2 -2
- package/_assets/{NotFound-Dk8Z881t.js → NotFound-CVLknwBX.js} +2 -2
- package/_assets/{NotificationsBell-B2ftwDIa.js → NotificationsBell-vJAXfuHR.js} +13 -13
- package/_assets/{OutfitDetail-Bi1HxcUD.js → OutfitDetail-BEKvifMp.js} +2 -2
- package/_assets/{OutfitPreview-BMWPKAju.js → OutfitPreview-9sitM8AO.js} +3 -3
- package/_assets/{OutfitStudio-uadbCnWe.js → OutfitStudio-Cj_PBpbg.js} +2 -2
- package/_assets/{PhArrowCircleDown-ak13FLPU.js → PhArrowCircleDown-BQf7a7tx.js} +4 -4
- package/_assets/{PhArrowClockwise-B1_sSsDG.js → PhArrowClockwise-tl_iVvce.js} +5 -5
- package/_assets/{PhArrowDown-3SgA8Sjh.js → PhArrowDown-Nx8skxB1.js} +4 -4
- package/_assets/{PhArrowLeft-D0xJapef.js → PhArrowLeft-B2FOU46g.js} +3 -3
- package/_assets/{PhArrowRight-BEzeYnOS.js → PhArrowRight-YEtM5hEO.js} +5 -5
- package/_assets/{PhArrowSquareOut-ncs5AP9J.js → PhArrowSquareOut-Cwvs2k2I.js} +5 -5
- package/_assets/{PhArrowUp-DAiP5DLU.js → PhArrowUp-Ddpjrupw.js} +2 -2
- package/_assets/PhArrowUpRight-GR9jLk0j.js +15 -0
- package/_assets/{PhArrowsClockwise-BW3eqMIv.js → PhArrowsClockwise-DiFALoYE.js} +5 -5
- package/_assets/{PhArrowsDownUp-CL__e9hj.js → PhArrowsDownUp-C5MsaDSU.js} +5 -5
- package/_assets/{PhArrowsLeftRight-CKf-pynd.js → PhArrowsLeftRight-CVSlwL5f.js} +4 -4
- package/_assets/{PhBank-CYFoeatO.js → PhBank-JlgXqj6a.js} +3 -3
- package/_assets/{PhBrowser-B8QcDy-X.js → PhBrowser-BAuOLdYK.js} +4 -4
- package/_assets/{PhCaretDown-BJucyF_I.js → PhCaretDown-BnGAdY4m.js} +4 -4
- package/_assets/{PhCaretLeft-DXM-1eI2.js → PhCaretLeft-CuCRXELD.js} +3 -3
- package/_assets/{PhCaretRight-CUbjYMvE.js → PhCaretRight-Dh12cPi2.js} +3 -3
- package/_assets/{PhCaretUp-XANHSPHz.js → PhCaretUp-D_YSLbRZ.js} +4 -4
- package/_assets/{PhCheck-DtDQz9uq.js → PhCheck-DM-Xw6Og.js} +3 -3
- package/_assets/{PhCircleHalf-N8EEYP9W.js → PhCircleHalf-B_a7PTBj.js} +4 -4
- package/_assets/{PhClock-D4HOB74r.js → PhClock-C6uHGxHX.js} +4 -4
- package/_assets/{PhCompass-DaDix-lb.js → PhCompass-BCBQfuVk.js} +4 -4
- package/_assets/{PhCopy-DfG9L19w.js → PhCopy-CuJFaD8W.js} +5 -5
- package/_assets/{PhCreditCard-54JvBHpJ.js → PhCreditCard-j7mRfOWb.js} +5 -5
- package/_assets/{PhCurrencyDollar--4El0jyD.js → PhCurrencyDollar-BHK_WZqp.js} +5 -5
- package/_assets/{PhDesktop-C59sef21.js → PhDesktop-yP_Shy1c.js} +2 -2
- package/_assets/{PhDeviceMobile-CqU5hwgB.js → PhDeviceMobile-MCjovOoQ.js} +4 -4
- package/_assets/{PhDotsThree-DKKOuXPs.js → PhDotsThree-B-8MklB_.js} +4 -4
- package/_assets/{PhEnvelope-BV_YRi_L.js → PhEnvelope-BVMpBzL8.js} +3 -3
- package/_assets/{PhFunnelSimple-DCJ64Yx1.js → PhFunnelSimple-Xip53NJe.js} +5 -5
- package/_assets/{PhGlobe-CfDkOX-M.js → PhGlobe-DTLd7vq3.js} +4 -4
- package/_assets/{PhIdentificationCard-CZevIBOX.js → PhIdentificationCard-Owvtcfl8.js} +5 -5
- package/_assets/{PhImage-BvwFiqL_.js → PhImage-gpASuR3P.js} +2 -2
- package/_assets/{PhInfo-ByE07_XD.js → PhInfo-By_MexxN.js} +4 -4
- package/_assets/{PhLightbulb-COGGqe5o.js → PhLightbulb-D9di92yf.js} +4 -4
- package/_assets/{PhMagnifyingGlass-CoJqZmSp.js → PhMagnifyingGlass-DDgrWTCc.js} +5 -5
- package/_assets/{PhPaperPlaneRight-BOtHGdWm.js → PhPaperPlaneRight-DQP_XqUF.js} +4 -4
- package/_assets/{PhPlus-BtM9eWY5.js → PhPlus-l3KhxySr.js} +3 -3
- package/_assets/{PhPower-XoT0HBKo.js → PhPower-Cr4gqDwx.js} +4 -4
- package/_assets/{PhPuzzlePiece-DPN_Gt0E.js → PhPuzzlePiece-BVKd_9LG.js} +4 -4
- package/_assets/{PhQrCode-Ba2Av-ws.js → PhQrCode-C2-pxwu5.js} +3 -3
- package/_assets/{PhQuestion-BsODZylj.js → PhQuestion-hJFyp5y_.js} +3 -3
- package/_assets/{PhQuestionMark-CQGfqgyU.js → PhQuestionMark-BIf3aP5-.js} +3 -3
- package/_assets/{PhSealCheck-ORxCOA65.js → PhSealCheck-DYwmEsuV.js} +2 -2
- package/_assets/{PhSignOut-CIIz9cbC.js → PhSignOut-D4m3HfaH.js} +4 -4
- package/_assets/{PhSpinner-v_BVhkr6.js → PhSpinner-CQO82DfI.js} +3 -3
- package/_assets/{PhTrash-DaneU5r-.js → PhTrash-BcF8SoSu.js} +2 -2
- package/_assets/{PhUser-CKCQsYp2.js → PhUser-TbE-uvug.js} +5 -5
- package/_assets/{PhVault-q-BY5Hn5.js → PhVault-DN8MSFv_.js} +2 -2
- package/_assets/{PhWallet-Df5kuqF4.js → PhWallet-DZOB7Naf.js} +5 -5
- package/_assets/{PhWarning-DmzK9PIH.js → PhWarning-BioUNSl5.js} +3 -3
- package/_assets/{PhWarningCircle-B6Azmmj3.js → PhWarningCircle-B1qANwXx.js} +5 -5
- package/_assets/{PhX-Bv7tUluK.js → PhX-C2MAMi7o.js} +3 -3
- package/_assets/{StoreSettings-uagN_SLs.js → StoreSettings-cnSJnEoU.js} +3 -3
- package/_assets/{Success-BdTd6dvD.js → Success-DSjHbwsm.js} +2 -2
- package/_assets/{SwapController-907hDWHh.js → SwapController-D1yNpizk.js} +2 -2
- package/_assets/{TradeService-D8u1ihWD.js → TradeService-C-Sp4nAs.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-BNVADE8q.js → W3MFrameProviderSingleton-DJCn0B4B.js} +4 -4
- package/_assets/{WebCryptoP256-BWknsl3S.js → WebCryptoP256-DdwSJwak.js} +2 -2
- package/_assets/{add-WC3KG-NP.js → add-CHjzJko0.js} +2 -2
- package/_assets/{all-wallets-BV2RKDKX.js → all-wallets-iP9kf8IH.js} +2 -2
- package/_assets/{app-store-DzdJFJvJ.js → app-store-KBtXJUZW.js} +2 -2
- package/_assets/{apple-C_YCXF5K.js → apple-1wsuvzH8.js} +2 -2
- package/_assets/{arrow-bottom-circle-CWERGNL8.js → arrow-bottom-circle-CgTwGRtZ.js} +3 -3
- package/_assets/arrow-bottom-g-rIpj6-.js +9 -0
- package/_assets/{arrow-left-BHfhO25z.js → arrow-left-DwniLz7a.js} +3 -3
- package/_assets/arrow-right-DrFyKfK3.js +9 -0
- package/_assets/{arrow-top-C5YdnARR.js → arrow-top-tB4xV8bo.js} +3 -3
- package/_assets/{async-directive-Ul6OERsh.js → async-directive-B7SDFDfN.js} +3 -3
- package/_assets/{authorizations-YF2LYI5X.js → authorizations-DWBedPPC.js} +2 -2
- package/_assets/{bank-CcJhMycN.js → bank-Bq57T_gs.js} +3 -3
- package/_assets/{basic-UNZdIk-L.js → basic-F8T3s2s0.js} +2 -2
- package/_assets/{biconomy-BZjucA9X.js → biconomy-BYnpHohE.js} +2 -2
- package/_assets/{browseLayout.styles-BcdBGvBJ.js → browseLayout.styles-CUa0JgI7.js} +173 -165
- package/_assets/{browser-CePgleG4.js → browser-B8dgFdTL.js} +3 -3
- package/_assets/{browser-Dnf4Mz6g.js → browser-BiTB4Srk.js} +2 -2
- package/_assets/{browser-ClZ-a39n.js → browser-_u-u7Oe_.js} +2 -2
- package/_assets/{browser-ponyfill-B84avFIe.js → browser-ponyfill-CJDpXLMh.js} +2 -2
- package/_assets/{builder-BW_XFxl3.js → builder-Dha-HVpq.js} +2 -2
- package/_assets/{buy-DrunLbTj.js → buy-D5xK_7jz.js} +2 -2
- package/_assets/{buy-gasless-CaWC_7zf.js → buy-gasless-B2eSXOhX.js} +2 -2
- package/_assets/{card-vJcgWj0J.js → card-SS6BCQlD.js} +2 -2
- package/_assets/{categories-yaclHH8q.js → categories-CQewJ4Uc.js} +2 -2
- package/_assets/{ccip-B4or4G2y.js → ccip-Cf1Ojagp.js} +2 -2
- package/_assets/{ccip-BVjwmdSL.js → ccip-CoPrnICo.js} +2 -2
- package/_assets/{chains-Jbsww7Kt.js → chains-hPvY0FLa.js} +2 -2
- package/_assets/{checkmark-BdVL_wyR.js → checkmark-Ce_V05yL.js} +2 -2
- package/_assets/{checkmark-bold-D2_kDMAk.js → checkmark-bold-H9kfGvBU.js} +3 -3
- package/_assets/{chevron-bottom-D0Fjkofu.js → chevron-bottom-BNXS4EZd.js} +3 -3
- package/_assets/{chevron-left-C9tCZw7F.js → chevron-left-CntWv8x6.js} +3 -3
- package/_assets/{chevron-right-CFriZlYk.js → chevron-right-BeBDYBiH.js} +2 -2
- package/_assets/{chevron-top-CI7Nc1Hh.js → chevron-top-mB0Ljyp5.js} +3 -3
- package/_assets/{chrome-store-BPxSE7E7.js → chrome-store-PMcYx52p.js} +3 -3
- package/_assets/{class-map-uVWd2sCT.js → class-map-D0tzaS-h.js} +2 -2
- package/_assets/{clock-CCT_gA8y.js → clock-BiZp9Ggi.js} +3 -3
- package/_assets/{close-CVrMDBuL.js → close-BFw77kzc.js} +3 -3
- package/_assets/{coinPlaceholder-vau3Ommw.js → coinPlaceholder-B9YzaxY6.js} +2 -2
- package/_assets/collectionPage.styles-DyHk1tDQ.js +41 -0
- package/_assets/common-BgWhpEag.js +2 -0
- package/_assets/{compass-BVX94cA4.js → compass-BqXmuVKk.js} +3 -3
- package/_assets/controller-D87zYpDU.js +3 -0
- package/_assets/{copy-DbIo246v.js → copy-DNAdNuz_.js} +2 -2
- package/_assets/{core-Ex9v02O-.js → core-IQh9m55M.js} +5 -5
- package/_assets/{createSvgIcon-BkGTqzv8.js → createSvgIcon-O6Ung3cJ.js} +3 -3
- package/_assets/{crumbs.styles-CymYINH8.js → crumbs.styles-Cqk5FLiw.js} +2 -2
- package/_assets/cursor-C4vkS7KW.js +4 -0
- package/_assets/{cursor-transparent-D_Cn2Qj1.js → cursor-transparent-BUUXFhiw.js} +2 -2
- package/_assets/{custom-CeorJzLL.js → custom-fzVZr1mw.js} +2 -2
- package/_assets/{data-capture-R53qzCaY.js → data-capture-6sabeqek.js} +2 -2
- package/_assets/{dcl-schemas-DG9Rrz5z.js → dcl-schemas-CKztSOGI.js} +2 -2
- package/_assets/decimals-BsQudh4A.js +2 -0
- package/_assets/decimals-QMRaj8A4.js +2 -0
- package/_assets/{desktop-DiOFIHxS.js → desktop-BV-CpCPh.js} +3 -3
- package/_assets/detectExtension-eFuiXBqe.js +2 -0
- package/_assets/{disconnect-DJcY0BVy.js → disconnect-C5A_Ulh-.js} +3 -3
- package/_assets/{discord-CFlQgGeS.js → discord-DFEpyKvH.js} +3 -3
- package/_assets/{disposePreview-HSnE8fg0.js → disposePreview-CRyPyKKT.js} +2 -2
- package/_assets/{email-C4Nes9lN.js → email-D4EyTUe7.js} +7 -7
- package/_assets/{embedded-wallet-DmXBYftX.js → embedded-wallet-C2D3EAb1.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-CrQ9Ohk0.js → emotion-styled.browser.esm-CpBJ03i2.js} +2 -2
- package/_assets/{engine-Bhi-4jDu.js → engine-BbOCbSlD.js} +2 -2
- package/_assets/{errors-BNoZdkky.js → errors-Bg8qsU53.js} +2 -2
- package/_assets/estimate-l1-fee-D0jvE3mx.js +2 -0
- package/_assets/eth_estimateGas-CQNX7NuJ.js +2 -0
- package/_assets/eth_getStorageAt-D0NnJlij.js +2 -0
- package/_assets/eth_getTransactionCount-CVuUWiNN.js +2 -0
- package/_assets/ethereum-6iw3lFOZ.js +2 -0
- package/_assets/{ethers-CJMNYBDD.js → ethers-BsaABekR.js} +2 -2
- package/_assets/{etherscan-B_DEmwcU.js → etherscan-DjB6vSIQ.js} +3 -3
- package/_assets/{events-CAUsd5bh.js → events-C4OPCmQP.js} +2 -2
- package/_assets/{exclamation-triangle-CwRHSRAS.js → exclamation-triangle-BigqO5zC.js} +2 -2
- package/_assets/{execute-D6hIo909.js → execute-CgxmdyBm.js} +3 -3
- package/_assets/{extension-C5CHNEBM.js → extension-DrkmxAqx.js} +3 -3
- package/_assets/{external-link-DhWG0oh3.js → external-link-CbNALei9.js} +2 -2
- package/_assets/{extractIPFS-Kt4ZPiLk.js → extractIPFS-C7dZUA2N.js} +2 -2
- package/_assets/{facebook-ZbOHRELg.js → facebook-DaDSqQru.js} +3 -3
- package/_assets/{farcaster-MlS0fAkK.js → farcaster-Do6RB5zR.js} +3 -3
- package/_assets/{features-BzrHTTh4.js → features-mKpIPTnS.js} +2 -2
- package/_assets/fetchTokenMetadata-W7uHvfeQ.js +3 -0
- package/_assets/{field.styles-BEV0a4Z8.js → field.styles-BOtOsc-J.js} +2 -2
- package/_assets/filters-ZGEyDIFh.js +9 -0
- package/_assets/{fortmatic-qinwifaj.js → fortmatic-BEQagSCY.js} +2 -2
- package/_assets/{get-bytecode-DJSRuIfT.js → get-bytecode-rNyaD7v6.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-CIF0vnWX.js +2 -0
- package/_assets/{getBalance-DtYGtInZ.js → getBalance-BkvZMo_t.js} +3 -3
- package/_assets/getInstalledModules-BgDYjPss.js +2 -0
- package/_assets/getNFT-B9d1ULLA.js +2 -0
- package/_assets/{getNFT-D2EGL-DY.js → getNFT-CvB3KXgJ.js} +3 -3
- package/_assets/{github-DcWwSd2A.js → github-CoYfnUKi.js} +3 -3
- package/_assets/{google-BWF_TAVo.js → google-BvNO-5zV.js} +3 -3
- package/_assets/{grid.styles-DXUh2mDk.js → grid.styles-BYhO5kl4.js} +2 -2
- package/_assets/{hashTypedData-MYLBBo9Y.js → hashTypedData-BePwOHrb.js} +2 -2
- package/_assets/{hashTypedData-lRiN7lQR.js → hashTypedData-Dl6tw3EV.js} +2 -2
- package/_assets/{help-circle-Chc_vCdy.js → help-circle-CS_fIGWE.js} +2 -2
- package/_assets/{id-7VZ83soE.js → id-BctfRKQ1.js} +3 -3
- package/_assets/{image-Bgj_xLD4.js → image-5sWR7BDC.js} +2 -2
- package/_assets/{in-app-wallet-calls-CRtE-4pM.js → in-app-wallet-calls-Y2q1hEWu.js} +2 -2
- package/_assets/{in-app-CrLt4WT4.js → in-app-xLEGGOxw.js} +2 -2
- package/_assets/{index-D7ySqt24.js → index-5R1NH3hO.js} +2 -2
- package/_assets/{index-B6ckJUxz.js → index-B2N1TlZf.js} +2 -2
- package/_assets/{index-DPG2GUwd.js → index-B3dFnJQP.js} +2 -2
- package/_assets/{index-rOgwHRBy.js → index-B4sJodB8.js} +3 -3
- package/_assets/{index-DR7YV2gO.js → index-B7zg3iXU.js} +9 -9
- package/_assets/{index-fVfrsq3-.js → index-BBc3X6XF.js} +509 -477
- package/_assets/{index-BTh8g2Rp.js → index-BDHBYg9U.js} +2 -2
- package/_assets/{index-_VzfFaH7.js → index-BEQnNfRX.js} +8 -8
- package/_assets/{index-D_thG_X0.js → index-BHU0VbfL.js} +3 -3
- package/_assets/{index-BTZczyGj.js → index-BJu0G-Ry.js} +4 -4
- package/_assets/{index-uOBbMLH1.js → index-BLwUrxaM.js} +4 -4
- package/_assets/{index-D1YxMOZD.js → index-BNSQiuue.js} +2 -2
- package/_assets/{index-DuAGtgEt.js → index-BPmph_y2.js} +2 -2
- package/_assets/{index-CrZGn3V8.js → index-BT-HHXrw.js} +2 -2
- package/_assets/{index-BEJ7CMDD.js → index-BTtbpRCO.js} +2 -2
- package/_assets/{index-B9TY65-n.js → index-BTy5TIkz.js} +3 -3
- package/_assets/{index-0I7FBmLL.js → index-B_X1F7fX.js} +4 -4
- package/_assets/{index-DUhpcP7W.js → index-Bc0x7wx0.js} +2 -2
- package/_assets/index-Bd664zE6.js +20 -0
- package/_assets/{index-o5Kr4nH4.js → index-BmNHZBRl.js} +4 -4
- package/_assets/{index-BkUcVOvQ.css → index-Bv15foVK.css} +1 -1
- package/_assets/{index-BDDqHAZd.js → index-BvkN1JGf.js} +4 -4
- package/_assets/{index-DBHPeOT5.js → index-Bz3QM6R_.js} +2 -2
- package/_assets/{index-CcSm9fX_.js → index-Bzs9W9Xf.js} +2 -2
- package/_assets/{index-BRKmUfmp.js → index-C284vC1D.js} +2 -2
- package/_assets/{index-BekhhFBG.js → index-C4KUTBCy.js} +2 -2
- package/_assets/{index-CbfVvQKQ.js → index-C5gt-xEm.js} +2 -2
- package/_assets/{index-BDFuFsIc.js → index-CAR9wmvw.js} +5 -5
- package/_assets/{index-CzSz6bmu.js → index-CG6n56be.js} +5 -5
- package/_assets/{index-465FFqd4.js → index-CJGZvhoi.js} +2 -2
- package/_assets/{index-D6oUCB6a.js → index-CMwT-EMo.js} +2 -2
- package/_assets/{index-DyuVy1hh.js → index-COocIzMl.js} +4 -4
- package/_assets/{index-CBJL5Lgi.js → index-CRNomRFG.js} +3 -3
- package/_assets/index-CVV8mr-f.js +2 -0
- package/_assets/{index-yYoCyJm0.js → index-CWzVzsYx.js} +5 -5
- package/_assets/{index-DOek4sNO.js → index-CY2qhmNH.js} +3 -3
- package/_assets/{index-C_aTZTUN.js → index-Cd6atmT5.js} +2 -2
- package/_assets/{index-mJNRsai_.js → index-CnxpIcjg.js} +2 -2
- package/_assets/{index-Dj-sWvd-.js → index-CrQTd_Vt.js} +2 -2
- package/_assets/index-CrX0Yz5L.js +2 -0
- package/_assets/{index-CRa6nMtD.js → index-CwDHbFrE.js} +5 -5
- package/_assets/{index-qxgomgzg.js → index-D2VIT3xx.js} +3 -3
- package/_assets/{index-HaNiJJj7.js → index-D5Du4xGQ.js} +2 -2
- package/_assets/{index-Byg5E0wJ.js → index-DA1NP8Ju.js} +2 -2
- package/_assets/{index-CDHjsN4-.js → index-DAK-djOp.js} +2 -2
- package/_assets/{index-BdEiCc0V.js → index-DExh-qiO.js} +2 -2
- package/_assets/{index-m-mW7tBT.js → index-DF0Z9gru.js} +2 -2
- package/_assets/{index-CZMMa7z5.js → index-DJkU_5N3.js} +2 -2
- package/_assets/{index-DgCb5qsB.js → index-DPWoZxpF.js} +2 -2
- package/_assets/{index-CqdSjrau.js → index-DUqa7_dx.js} +2 -2
- package/_assets/{index-BLOPtDqh.js → index-DYql6z0j.js} +2 -2
- package/_assets/{index-BhgOwCHI.js → index-Db7v2JAh.js} +4 -4
- package/_assets/{index-CWsn0MVr.js → index-DcqsKEsF.js} +2 -2
- package/_assets/{index-DgTBuFZZ.js → index-De3Ourso.js} +3 -3
- package/_assets/{index-BzyULz3d.js → index-Dm1LzUJg.js} +2 -2
- package/_assets/{index-BvfVhPmP.js → index-Dnk8czQv.js} +2 -2
- package/_assets/{index-KogMcMgM.js → index-Dr7jRd9A.js} +4 -4
- package/_assets/{index-DEbI6zJu.js → index-F-PZn4me.js} +3 -3
- package/_assets/{index-Bwsh7KKj.js → index-KOw8Pyjo.js} +2 -2
- package/_assets/{index-BE-Pu0vI.js → index-OYOhdV0y.js} +2 -2
- package/_assets/{index-DdZdZH54.js → index-OaamUQLA.js} +4 -4
- package/_assets/{index-D9jQnGun.js → index-gvhfk3Kf.js} +2 -2
- package/_assets/{index-BwlA1aaJ.js → index-k1aOSuhb.js} +4 -4
- package/_assets/{index-Bn9pEQIy.js → index-lmuWdSJU.js} +4 -4
- package/_assets/{index-BV-f1rcf.js → index-s6EBI2aX.js} +2 -2
- package/_assets/{index-DCO5bROp.js → index-t6AoMEJd.js} +6 -6
- package/_assets/{index-C_8x-HKs.js → index-wjxY48Yl.js} +2 -2
- package/_assets/{index-CCDB3UlI.js → index-xHMVqN46.js} +2 -2
- package/_assets/{index.es-DbvmB8Hz.js → index.es-B4j-BNrr.js} +5 -5
- package/_assets/{index.es-BYbP7qKW.js → index.es-CAomYnsN.js} +2 -2
- package/_assets/{index.es-Z1WflUVe.js → index.es-D_pn-sSx.js} +2 -2
- package/_assets/{index.es-CBnWkDWE.js → index.es-xs2jYw5E.js} +2 -2
- package/_assets/{info-D7ObqMR7.js → info-B7xrwD1T.js} +3 -3
- package/_assets/{info-circle-Cn1eJfl8.js → info-circle-g_FLkwEH.js} +3 -3
- package/_assets/{items-empty-BW_AkfMw.js → items-empty-C7avnipb.js} +2 -2
- package/_assets/{jsxRuntime.module-KGmzlnK1.js → jsxRuntime.module-BxsNWh0e.js} +2 -2
- package/_assets/{jump-DpZ_H_aD.js → jump-C9PIzJMo.js} +2 -2
- package/_assets/{lightbulb-BKWlXPb6.js → lightbulb-BEdzTqhe.js} +3 -3
- package/_assets/{linkAccount-D-4XkPjZ.js → linkAccount-BbYoROZZ.js} +2 -2
- package/_assets/{localBatchGatewayRequest-OsgCBNTu.js → localBatchGatewayRequest-C1oGJkvn.js} +2 -2
- package/_assets/{mail-uZxvzFx_.js → mail-B5y2UAYP.js} +2 -2
- package/_assets/mana-matic-light-Bl5duieC.js +2 -0
- package/_assets/{mobile-NGKGetAS.js → mobile-Px_F4xuu.js} +2 -2
- package/_assets/{more-D3jNhOpW.js → more-vjJSeJc6.js} +3 -3
- package/_assets/{native-DKBEZ83U.js → native-D9_vWjzw.js} +2 -2
- package/_assets/{network-placeholder-D5qcFSJX.js → network-placeholder-BT0DMZpT.js} +2 -2
- package/_assets/{networks-C2xwNyRf.js → networks-D-8eSR4f.js} +2 -2
- package/_assets/{nftPlaceholder-Cdllyb5L.js → nftPlaceholder-Dv1GbIku.js} +3 -3
- package/_assets/{off-Cy19A7zA.js → off-BIRJlzsd.js} +3 -3
- package/_assets/{onramp-B6nWf10-.js → onramp-CJNj90av.js} +2 -2
- package/_assets/openzeppelin-DqgAToDp.js +2 -0
- package/_assets/ownerOf-Dt-ag82o.js +2 -0
- package/_assets/parseNft-DUoA2cf9.js +3 -0
- package/_assets/{parseSignature-CsT18GhO.js → parseSignature--ghdQtU2.js} +2 -2
- package/_assets/{parseSignature-jN7oN0GI.js → parseSignature-DEThZFaN.js} +4 -4
- package/_assets/{passkeys-CTXuXCfx.js → passkeys-CGWK9Quy.js} +2 -2
- package/_assets/{pay-with-exchange-BJuv8V6R.js → pay-with-exchange-BouUEn78.js} +2 -2
- package/_assets/{play-store-BqyyIuw-.js → play-store-BQbH9juS.js} +3 -3
- package/_assets/{plus-TKHoVUto.js → plus-CRN7wFaf.js} +2 -2
- package/_assets/{prepare-contract-call-uRIzxupc.js → prepare-contract-call-Cxatn87X.js} +2 -2
- package/_assets/{qr-code-DNktFNYV.js → qr-code-D3CPi7o-.js} +3 -3
- package/_assets/{qr-overlay--7W-iuad.js → qr-overlay-CTxRGEIz.js} +4 -4
- package/_assets/{react-BT1DRxg0.js → react-CJ0-yyn7.js} +2 -2
- package/_assets/{receive-BwOH-nle.js → receive-DVMKwcdo.js} +2 -2
- package/_assets/{recycle-horizontal-D7wSarZ0.js → recycle-horizontal-2b5C-1KE.js} +2 -2
- package/_assets/{ref-ClbGTQC1.js → ref-aKgZQrB7.js} +3 -3
- package/_assets/{refresh-Ne9sq_3A.js → refresh-CxxKeQ5p.js} +3 -3
- package/_assets/{reown-logo-CTKEUi_d.js → reown-logo-CvtJaHLE.js} +3 -3
- package/_assets/{resolveImplementation-1JkowYx7.js → resolveImplementation-a3DBQ8m8.js} +2 -2
- package/_assets/{resume-buy-CWeRH5M6.js → resume-buy-Bq0nVPcE.js} +2 -2
- package/_assets/{rpc-B4prFU2a.js → rpc-B0RZ-vtD.js} +2 -2
- package/_assets/{sales-empty-NUQXvOkl.js → sales-empty-bGF50GDf.js} +2 -2
- package/_assets/search-3wKI8ynJ.js +9 -0
- package/_assets/{search-empty-Ozh9aYwC.js → search-empty-tgZpxVpX.js} +2 -2
- package/_assets/{secp256k1-B_NYc5Il.js → secp256k1-1jgJmYWx.js} +2 -2
- package/_assets/{secp256k1-Cc_wcAuB.js → secp256k1-BxaRnytz.js} +2 -2
- package/_assets/{secp256k1-VlK93Orv.js → secp256k1-JJlVLcuk.js} +2 -2
- package/_assets/{send-DVHwVtxL.js → send-DMTfvSnB.js} +2 -2
- package/_assets/{send-CAaL-103.js → send-afZjmQ6f.js} +2 -2
- package/_assets/send-batch-transaction-BVT1kCg_.js +2 -0
- package/_assets/{send-eip712-transaction-yWD_jIzZ.js → send-eip712-transaction-B3M5RWsD.js} +3 -3
- package/_assets/send-gasless-transaction-L4j1ZusH.js +3 -0
- package/_assets/send-transaction-BbDZEBSv.js +3 -0
- package/_assets/{sendMetaTransaction-Bkp77jP5.js → sendMetaTransaction-BhpPcSya.js} +2 -2
- package/_assets/{sendRawTransaction-CyJ8NDZj.js → sendRawTransaction-DoZqg8jx.js} +4 -4
- package/_assets/{sentry-DAGaybiy.js → sentry-D5q6Jl_E.js} +3 -3
- package/_assets/{serializeTransaction-DXxxJc7P.js → serializeTransaction-CKZVZu41.js} +2 -2
- package/_assets/{session-proposal-DLqTKK3p.js → session-proposal-CXoYD_S4.js} +2 -2
- package/_assets/{session-request-DWfXqC4U.js → session-request-CVNcyjpe.js} +3 -3
- package/_assets/{sha256-OlqvKl9o.js → sha256-B7YAclKN.js} +2 -2
- package/_assets/{sha3-BDxbouvg.js → sha3-BhaNbge-.js} +2 -2
- package/_assets/{signing-CGeazqai.js → signing-BhjVqedK.js} +4 -4
- package/_assets/{skeleton.styles-C8iLuc4D.js → skeleton.styles-BBTzNQBL.js} +2 -2
- package/_assets/{socials-CgDFcyf2.js → socials-CwtPBLJA.js} +2 -2
- package/_assets/{styled-C4NeqzHW.js → styled-UgoNAbpl.js} +3 -3
- package/_assets/{swapHorizontal-AUQR3QWw.js → swapHorizontal-B4kcglfm.js} +2 -2
- package/_assets/{swapHorizontalBold-CJ-O8FMu.js → swapHorizontalBold-B7MRRr2N.js} +3 -3
- package/_assets/{swapHorizontalMedium-C9_JLGaD.js → swapHorizontalMedium-C5ev_7je.js} +2 -2
- package/_assets/{swapHorizontalRoundedBold-CprcKnGZ.js → swapHorizontalRoundedBold-zu2vwomo.js} +3 -3
- package/_assets/{swapVertical-C0UtEvQr.js → swapVertical-DpeRjJbe.js} +3 -3
- package/_assets/{swaps-Bu7ntZyj.js → swaps-Bnpjv3io.js} +2 -2
- package/_assets/{telegram-BPHwvSxV.js → telegram-wm1axFAX.js} +3 -3
- package/_assets/{thirdweb-Pxlrk3RX.js → thirdweb-CjXdOXcl.js} +4 -4
- package/_assets/{three-dots-CuMLURps.js → three-dots-Cc2_9MPN.js} +2 -2
- package/_assets/{to-serializable-transaction-H-VNrW1G.js → to-serializable-transaction-DW6Rxq_m.js} +3 -3
- package/_assets/totalSupply-DjGpB4tZ.js +2 -0
- package/_assets/{transaction-DBqXoeOX.js → transaction-DuJWq6eX.js} +2 -2
- package/_assets/{transactionReceipt-SSeob30N.js → transactionReceipt-8SAHHVSP.js} +2 -2
- package/_assets/transactions-CKBlMfJD.js +17 -0
- package/_assets/{twitch-BEksYNQy.js → twitch-B46ssSkZ.js} +3 -3
- package/_assets/{twitterIcon-C-RbKp2J.js → twitterIcon-eHwnG6jo.js} +3 -3
- package/_assets/{useCreditPacks-kxQZm5SR.js → useCreditPacks-CBkUPkUM.js} +2 -2
- package/_assets/{useInfiniteGrid-xjb6zl5n.js → useInfiniteGrid-DHrXE4eM.js} +2 -2
- package/_assets/{useStore-6NfPLZYM.js → useStore-ckE2dxkp.js} +3 -3
- package/_assets/{useTheme-D6_hJUHx.js → useTheme-CyUvY5YF.js} +2 -2
- package/_assets/{utils-CDHiYwmg.js → utils-wnY81oYl.js} +2 -2
- package/_assets/{verify-DX3fSqPA.js → verify-D9O8bUPp.js} +2 -2
- package/_assets/{verify-filled-rDNnAKA1.js → verify-filled-BwZg15UB.js} +3 -3
- package/_assets/{verifyHash-BstDgncb.js → verifyHash-DMMueGNF.js} +2 -2
- package/_assets/{w3m-modal-CZB-kKPl.js → w3m-modal-BCGJhbtp.js} +2 -2
- package/_assets/{w3m-modal-CgHAhbd7.js → w3m-modal-C1fyEGvy.js} +2 -2
- package/_assets/{wait-for-tx-receipt-C-5fT5xk.js → wait-for-tx-receipt-D41lpt1M.js} +2 -2
- package/_assets/{wallet-CE_PuHwW.js → wallet-gc8JT2Jk.js} +2 -2
- package/_assets/{wallet-placeholder-DD3BllZl.js → wallet-placeholder-OuGxMvpI.js} +3 -3
- package/_assets/{wallet-BDmvD81m.js → wallet-t7uhZ_wp.js} +2 -2
- package/_assets/{walletconnect-CeHvp7GG.js → walletconnect-_sKMAvFE.js} +5 -5
- package/_assets/{wallets-DTbIig3q.js → wallets-_qhdmZdK.js} +6 -6
- package/_assets/{warning-circle-0P7CyfRX.js → warning-circle-Dz6a5xi_.js} +2 -2
- package/_assets/{web-connector-CtRYaueX.js → web-connector-SZx3KLiq.js} +4 -4
- package/_assets/{writeContract-qguDostC.js → writeContract-DNkvql92.js} +2 -2
- package/_assets/{x-Dp_viDtj.js → x-BgKeiA5E.js} +2 -2
- package/_assets/{zora-sepolia-CIDy4bI-.js → zora-sepolia-Zq3rr1_u.js} +2 -2
- package/_assets/{zoraTestnet-DGLwJRHJ.js → zoraTestnet-U_RmMDCL.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Assets-Cchkrb-r.js +0 -939
- package/_assets/HelpersUtil-C5tFlPhe.js +0 -63
- package/_assets/MyAssets-Bq5EfGXz.js +0 -1061
- package/_assets/PhArrowUpRight-CpVGKPzB.js +0 -15
- package/_assets/arrow-bottom-lj5jq4hP.js +0 -9
- package/_assets/arrow-right-DrvdIWK8.js +0 -9
- package/_assets/collectionPage.styles-CCcFOdZW.js +0 -41
- package/_assets/common-BmZvsWU1.js +0 -2
- package/_assets/controller-CB4tnDkG.js +0 -3
- package/_assets/cursor-CRt00jB7.js +0 -4
- package/_assets/decimals-DMTp1mRe.js +0 -2
- package/_assets/decimals-DUQR67xd.js +0 -2
- package/_assets/detectExtension-BoCHA82D.js +0 -2
- package/_assets/estimate-l1-fee-2Fq4t_6c.js +0 -2
- package/_assets/eth_estimateGas-CI0WJ02w.js +0 -2
- package/_assets/eth_getStorageAt-BhyM3UhZ.js +0 -2
- package/_assets/eth_getTransactionCount-CV8awliF.js +0 -2
- package/_assets/ethereum-DPMEzS8d.js +0 -2
- package/_assets/fetchTokenMetadata-CImk_QM8.js +0 -3
- package/_assets/filters-ByxHqr_b.js +0 -9
- package/_assets/get-ecosystem-wallet-info-BQ_zAKWh.js +0 -2
- package/_assets/getInstalledModules-BhM5n_9F.js +0 -2
- package/_assets/getNFT-CN3te82N.js +0 -2
- package/_assets/index-8UuFrV0f.js +0 -2
- package/_assets/index-C13UuH-8.js +0 -2
- package/_assets/index-CBGaEx7k.js +0 -20
- package/_assets/openzeppelin-Diuo_yCD.js +0 -2
- package/_assets/ownerOf-BWkhY882.js +0 -2
- package/_assets/parseNft-u-4kmGsK.js +0 -3
- package/_assets/search-oltotRQx.js +0 -9
- package/_assets/send-batch-transaction-_X5Yvjn5.js +0 -2
- package/_assets/send-gasless-transaction-BHT2RYSc.js +0 -3
- package/_assets/send-transaction-BaeXDarf.js +0 -3
- package/_assets/totalSupply-Bc9h1F8V.js +0 -2
- package/_assets/transactions-CbZ7Ba42.js +0 -17
|
@@ -1,939 +0,0 @@
|
|
|
1
|
-
import{r as f,u as Ge,j as e,a as rt}from"./react-BT1DRxg0.js";import{u as lt,s as ct}from"./search-empty-Ozh9aYwC.js";import{i as dt,u as ht,S as Ae,R as pt,a as ut,b as ft,c as mt,D as xt,d as gt,C as bt,e as yt,F as wt,f as vt,g as jt,M as Ct,h as $t}from"./browseLayout.styles-BcdBGvBJ.js";import{f as G,Y as kt,Z as St,bD as Et,bz as Tt,aH as Rt,g as _t,v as It,cF as Lt,cG as Nt,e as i,d as t,y as qe,bl as At,A as zt,K as je,c as s,s as Mt,I as R,z as O,cH as ce,bj as Wt,ak as re,bt as ze,bC as Bt,bB as Pt,x as Ve,O as Ze,$ as Qe,a0 as Ft,ay as Ut,Q as Ot,S as Me,R as Y,aP as Ht,bM as Dt}from"./index-fVfrsq3-.js";import{L as Gt}from"./LoadMore-Dr8VkfDh.js";import{u as qt}from"./useInfiniteGrid-xjb6zl5n.js";import{n as Vt,S as Zt}from"./categories-yaclHH8q.js";import{E as Qt}from"./ErrorNotice-ClgCsoly.js";import{d as Kt}from"./dcl-schemas-DG9Rrz5z.js";import{s as Jt,G as Xt,w as Yt,S as en}from"./buy-gasless-CaWC_7zf.js";import{t as tn,u as nn}from"./buy-DrunLbTj.js";import{f as sn}from"./errors-BNoZdkky.js";import{J as on,C as an,B as Ce}from"./ethers-CJMNYBDD.js";import{n as rn}from"./name-glyph-aUugT8vq.js";import{c as ln}from"./crumbs.styles-CymYINH8.js";import{G as cn}from"./grid.styles-DXUh2mDk.js";import"./skeleton.styles-C8iLuc4D.js";import"./sentry-DAGaybiy.js";import"./intl-AKLEHPeO.js";import"./authorizations-YF2LYI5X.js";import"./sendMetaTransaction-Bkp77jP5.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new n.Error().stack;o&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[o]="1bfb3bc4-d69a-4fd2-9977-76c995dbef1b",n._sentryDebugIdIdentifier="sentry-dbid-1bfb3bc4-d69a-4fd2-9977-76c995dbef1b")}catch{}})();function ee(n){const o=n.source??"item",r=n.tradeId||`${n.contractAddress}-${n.tokenId??n.itemId??""}`;return`${o}:${r}`}const Z="100000000000000000000",Ke=2,le=15,dn=/^[a-zA-Z0-9]+$/;function We(n){const o=n.trim();return o.length===0?{ok:!1,reason:"empty"}:dn.test(o)?o.length<Ke?{ok:!1,reason:"too-short"}:o.length>le?{ok:!1,reason:"too-long"}:{ok:!0}:{ok:!1,reason:"invalid-chars"}}function hn(n){return n.replace(/[^a-zA-Z0-9]/g,"").slice(0,le)}const pn=["function available(string _subdomain) view returns (bool)"],Be={mainnet:{rpc:"https://rpc.decentraland.org/mainnet",address:"0x2a187453064356c898cae034eaed119e1663acb8"},sepolia:{rpc:"https://rpc.decentraland.org/sepolia",address:"0x7518456ae93eb98f3e64571b689c626616bb7f30"}};function un(){return G.chainId===Number(Kt.ChainId.MATIC_MAINNET)?Be.mainnet:Be.sepolia}async function fn(n,o={}){var g;const{rpc:r,address:h}=un(),p=new on(r),b=new an(h,pn,p);console.info(`[names] availability check → DCLRegistrar(${h}).available("${n}") on ${r}`);const l=await b.available(n);if((g=o.signal)!=null&&g.aborted)throw new DOMException("Aborted","AbortError");return console.info(`[names] "${n}" available=${l}`),l?"available":"taken"}const mn="https://app.across.to/api";class Se extends Error{constructor(){super("Name registration is temporarily unavailable due to high network costs"),this.name="NameRouteCostTooHighError"}}class $e extends Error{constructor(){super("The name could not be registered on Ethereum; your funds were recovered."),this.name="NameNotRegisteredError"}}class ke extends Error{constructor(){super("We couldn't confirm whether the purchase went through."),this.name="NameSettlementUnknownError"}}function xn(n){return Rt(Z,n)}async function gn(n,o,r={}){var g;const h=r.chainId??G.chainId,p=r.provider??"across",b=`${G.creditsServerUrl}/credits-name-route?name=${encodeURIComponent(o)}&chainId=${h}&provider=${p}`,l=await _t(b,{method:"GET",identity:n,metadata:{}});if(!l.ok){let c;try{c=(g=await l.json())==null?void 0:g.code}catch{}throw c==="ROUTE_COST_TOO_HIGH"?new Se:new Error(`fetchNameCreditRoute ${l.status}`)}return l.json()}function bn(n,o){const r=Ce.from(n.availableAmount),p=Ce.from(Z).sub(r);return{credits:[{value:n.amount,expiresAt:Number(n.expiresAt),salt:nn(n.id)}],creditsSignatures:[n.signature],externalCall:{target:o.externalCall.target,selector:o.externalCall.selector,data:o.externalCall.data,expiresAt:o.externalCall.expiresAt,salt:o.externalCall.salt},customExternalCallSignature:o.customExternalCallSignature,maxUncreditedValue:p.isNegative()?"0":p.toString(),maxCreditedValue:Z}}async function yn(n,o={}){const r=mn,h=o.intervalMs??1e4,p=o.maxAttempts??60;let b={status:"pending",destinationTxHash:null,actionsSucceeded:null};for(let l=0;l<p;l++){try{const g=await fetch(`${r}/deposit/status?originChainId=137&depositTxHash=${n}`);if(g.ok){const c=await g.json(),w=(c.status??"pending").toLowerCase(),d=c.fillTx??c.fillTxnRef??null,u=typeof c.actionsSucceeded=="boolean"?c.actionsSucceeded:null;if(w==="filled")return{status:"filled",destinationTxHash:d,actionsSucceeded:u};if(w==="refunded"||w==="expired")return{status:w,destinationTxHash:null,actionsSucceeded:!1};b={status:"pending",destinationTxHash:d,actionsSucceeded:u}}}catch{}l<p-1&&await new Promise(g=>setTimeout(g,h))}return b}async function wn(n){const{name:o,identity:r,signer:h}=n,p=d=>{var u;try{(u=n.onProgress)==null||u.call(n,d)}catch{}},b=n.chainId??G.chainId,l=n.provider??"across",g=(n.beneficiary??await h.getAddress()).toLowerCase();let c=null,w="unconfirmed";console.info("[names] register start",{name:o,buyer:g,chainId:b,provider:l}),p("preparing");try{const d=await kt(St(G.chainId).address),u=xn(d);console.info("[names] step 1/6 sized reservation",{usdCents:u,manaRate:d});const C=await gn(r,o,{chainId:b,provider:l});console.info("[names] step 2/6 route fetched",{target:C.externalCall.target,selector:C.externalCall.selector,provider:C.provider,quoteId:C.quoteId});const y=await Et(r,u,void 0,void 0,o);if(c=y.credit.id,console.info("[names] step 3/6 credit authorized",{creditId:y.credit.id,maxCreditedValue:y.maxCreditedValue}),Ce.from(y.maxCreditedValue).lt(Z))throw new Error("Credit under-sized for the name price");p("awaiting-confirmation");const _=bn(y.credit,C);let v;try{v=await Jt({chainId:b,buyer:g,signer:h,args:_})}catch(m){if(!(m instanceof Xt))throw m;if(m.reason==="relayer-unreachable"){w="unobservable";const E=new ke;throw E.cause=m,E}v=await tn(b,_,h)}if(console.info("[names] step 4/6 useCredits submitted (Polygon origin tx)",{originTxHash:v}),p("confirming"),await Yt(v),w="confirmed",console.info("[names] step 5/6 origin tx confirmed",{originTxHash:v}),l==="across"){p("registering");const m=await yn(v,n.acrossPoll);if(console.info("[names] step 6/6 across status",m),m.status==="pending")return{status:"pending",originTxHash:v};if(m.status==="filled"&&m.actionsSucceeded===null)return console.warn("[names] across filled without reporting actionsSucceeded — reporting pending",{originTxHash:v}),{status:"pending",originTxHash:v};if(m.status!=="filled"||m.actionsSucceeded!==!0)throw new $e;return{status:"registered",originTxHash:v,destinationTxHash:m.destinationTxHash}}return{status:"pending",originTxHash:v}}catch(d){if(console.error("[names] register failed — raw error:",d,{name:o,buyer:g,originState:w}),d instanceof en)return{status:"pending",originTxHash:d.txHash};if(c&&w==="unconfirmed"&&await Tt(r,[c]).catch(()=>{}),d instanceof Se||d instanceof $e||d instanceof ke)throw d;const u=new Error(sn(d,"Couldn't register the name. Please try again.",{sale:!0}));throw u.cause=d,u}}function vn(){const{data:n}=It({queryKey:["feature-flag","shop-names"],queryFn:()=>Lt(Nt.SHOP_NAMES),staleTime:6e4,refetchOnWindowFocus:!0,retry:1});return n===!0}const jn=60,Cn=700,$n=25;function kn(n){if(!n)return[];const o=[];for(let r=1;r<=n.length;r++)o.push({text:n.slice(0,r),delay:jn});o[o.length-1]={text:n,delay:Cn};for(let r=n.length-1;r>=1;r--)o.push({text:n.slice(0,r),delay:$n});return o}function Sn(n){return n.flatMap(kn)}function En(n,o){const r=f.useMemo(()=>Sn(n),[n]),[h,p]=f.useState(0);return f.useEffect(()=>{if(!o||r.length===0)return;const b=setTimeout(()=>p(l=>(l+1)%r.length),r[h%r.length].delay);return()=>clearTimeout(b)},[h,o,r]),!o||r.length===0?"":r[h%r.length].text}const Tn="https://cdn.decentraland.org/@dcl/shop/1.12.2-34968681691.commit-d61728d/_assets/name-verified-oGwQ3ntb.svg",Rn="#34fee6",_n=i.div`
|
|
2
|
-
position: fixed;
|
|
3
|
-
inset: 0;
|
|
4
|
-
z-index: 10000;
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
padding: 16px;
|
|
9
|
-
background: rgba(22, 21, 24, 0.55);
|
|
10
|
-
`,In=i.div`
|
|
11
|
-
width: 560px;
|
|
12
|
-
max-width: 100%;
|
|
13
|
-
max-height: 92vh;
|
|
14
|
-
overflow-y: auto;
|
|
15
|
-
background: ${t.colors.white};
|
|
16
|
-
border-radius: 16px;
|
|
17
|
-
padding: 20px 24px 24px;
|
|
18
|
-
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
|
|
19
|
-
|
|
20
|
-
${t.media.maxWidth("mobile")} {
|
|
21
|
-
padding: 16px;
|
|
22
|
-
}
|
|
23
|
-
`,de=i.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: flex-start;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
gap: 12px;
|
|
28
|
-
`,he=i.h2`
|
|
29
|
-
margin: 0;
|
|
30
|
-
font-family: ${t.font.sans};
|
|
31
|
-
font-weight: 700;
|
|
32
|
-
font-size: 20px;
|
|
33
|
-
line-height: 1.6;
|
|
34
|
-
color: ${t.colors.text};
|
|
35
|
-
`,pe=i.button`
|
|
36
|
-
flex: none;
|
|
37
|
-
display: grid;
|
|
38
|
-
place-items: center;
|
|
39
|
-
width: 28px;
|
|
40
|
-
height: 28px;
|
|
41
|
-
border: 0;
|
|
42
|
-
background: none;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
color: ${t.colors.text};
|
|
45
|
-
|
|
46
|
-
.ico {
|
|
47
|
-
width: 18px;
|
|
48
|
-
height: 18px;
|
|
49
|
-
}
|
|
50
|
-
&:disabled {
|
|
51
|
-
opacity: 0.4;
|
|
52
|
-
cursor: default;
|
|
53
|
-
}
|
|
54
|
-
&:focus-visible {
|
|
55
|
-
outline: 2px solid ${t.colors.accent};
|
|
56
|
-
outline-offset: 2px;
|
|
57
|
-
}
|
|
58
|
-
`,ue=i.div`
|
|
59
|
-
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
gap: 6px;
|
|
62
|
-
margin-top: 4px;
|
|
63
|
-
font-family: ${t.font.sans};
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
color: ${t.colors.text2};
|
|
66
|
-
|
|
67
|
-
.ico {
|
|
68
|
-
width: 16px;
|
|
69
|
-
height: 16px;
|
|
70
|
-
color: ${t.colors.brandViolet};
|
|
71
|
-
}
|
|
72
|
-
`,fe=i.hr`
|
|
73
|
-
border: 0;
|
|
74
|
-
border-top: 1px solid ${t.colors.line};
|
|
75
|
-
margin: 16px 0;
|
|
76
|
-
`,me=i.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
align-items: center;
|
|
79
|
-
gap: 16px;
|
|
80
|
-
`,Ln=i.div`
|
|
81
|
-
flex: none;
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: column;
|
|
84
|
-
align-items: center;
|
|
85
|
-
justify-content: center;
|
|
86
|
-
gap: 12px;
|
|
87
|
-
width: 137px;
|
|
88
|
-
height: 137px;
|
|
89
|
-
padding: 20px 0;
|
|
90
|
-
border-radius: 12px;
|
|
91
|
-
overflow: hidden;
|
|
92
|
-
background: ${t.gradients.amethyst};
|
|
93
|
-
`,Nn=i.img`
|
|
94
|
-
display: block;
|
|
95
|
-
width: 47px;
|
|
96
|
-
height: 47px;
|
|
97
|
-
`,An=i.span`
|
|
98
|
-
display: inline-flex;
|
|
99
|
-
align-items: center;
|
|
100
|
-
gap: 2px;
|
|
101
|
-
max-width: 100%;
|
|
102
|
-
padding: 0 8px;
|
|
103
|
-
font-family: ${t.font.sans};
|
|
104
|
-
font-size: 18px;
|
|
105
|
-
font-weight: 600;
|
|
106
|
-
/* The design's cyan — it has to read against the purple, which the body text colour would not. */
|
|
107
|
-
color: ${Rn};
|
|
108
|
-
white-space: nowrap;
|
|
109
|
-
overflow: hidden;
|
|
110
|
-
|
|
111
|
-
/* Truncation belongs on the flex item, not this box: text-overflow is inert on a flex container, and
|
|
112
|
-
the zero min-width is what lets the name shrink instead of pushing the tick out. */
|
|
113
|
-
> span {
|
|
114
|
-
min-width: 0;
|
|
115
|
-
overflow: hidden;
|
|
116
|
-
text-overflow: ellipsis;
|
|
117
|
-
}
|
|
118
|
-
`,zn=i.img`
|
|
119
|
-
flex: none;
|
|
120
|
-
display: block;
|
|
121
|
-
width: 14px;
|
|
122
|
-
height: 14px;
|
|
123
|
-
`,Pe=i.div`
|
|
124
|
-
flex: none;
|
|
125
|
-
display: grid;
|
|
126
|
-
place-items: center;
|
|
127
|
-
width: 56px;
|
|
128
|
-
height: 56px;
|
|
129
|
-
border-radius: 10px;
|
|
130
|
-
background: ${t.gradients.amethyst};
|
|
131
|
-
color: ${t.colors.white};
|
|
132
|
-
|
|
133
|
-
.ico {
|
|
134
|
-
width: 30px;
|
|
135
|
-
height: 30px;
|
|
136
|
-
}
|
|
137
|
-
`,xe=i.div`
|
|
138
|
-
flex: 1;
|
|
139
|
-
min-width: 0;
|
|
140
|
-
`,ge=i.div`
|
|
141
|
-
font-family: ${t.font.sans};
|
|
142
|
-
font-weight: 700;
|
|
143
|
-
font-size: 20px;
|
|
144
|
-
line-height: 1.3;
|
|
145
|
-
color: ${t.colors.text};
|
|
146
|
-
overflow: hidden;
|
|
147
|
-
text-overflow: ellipsis;
|
|
148
|
-
white-space: nowrap;
|
|
149
|
-
|
|
150
|
-
span {
|
|
151
|
-
font-weight: 400;
|
|
152
|
-
color: ${t.colors.muted2};
|
|
153
|
-
}
|
|
154
|
-
`,be=i.div`
|
|
155
|
-
font-family: ${t.font.sans};
|
|
156
|
-
font-size: 14px;
|
|
157
|
-
color: ${t.colors.muted2};
|
|
158
|
-
`,ye=i.div`
|
|
159
|
-
flex: none;
|
|
160
|
-
display: flex;
|
|
161
|
-
align-items: center;
|
|
162
|
-
gap: 6px;
|
|
163
|
-
font-family: ${t.font.sans};
|
|
164
|
-
font-weight: 600;
|
|
165
|
-
font-size: 24px;
|
|
166
|
-
color: ${t.colors.text};
|
|
167
|
-
|
|
168
|
-
.ico {
|
|
169
|
-
width: 22px;
|
|
170
|
-
height: 22px;
|
|
171
|
-
color: ${t.colors.brandViolet};
|
|
172
|
-
}
|
|
173
|
-
`,Mn=i.div`
|
|
174
|
-
margin-top: 16px;
|
|
175
|
-
padding: 16px;
|
|
176
|
-
border-radius: 12px;
|
|
177
|
-
background: ${t.colors.promptLilac};
|
|
178
|
-
`,Wn=i.div`
|
|
179
|
-
font-family: ${t.font.sans};
|
|
180
|
-
font-weight: 700;
|
|
181
|
-
font-size: 16px;
|
|
182
|
-
color: ${t.colors.text};
|
|
183
|
-
`,Bn=i.p`
|
|
184
|
-
margin: 8px 0 16px;
|
|
185
|
-
font-family: ${t.font.sans};
|
|
186
|
-
font-size: 14px;
|
|
187
|
-
line-height: 1.5;
|
|
188
|
-
color: ${t.colors.text2};
|
|
189
|
-
|
|
190
|
-
/* The chosen NAME is filled with the gradient the design runs through it (1356:335140), not a flat
|
|
191
|
-
violet — background-clip is the only way to paint a text run with one. */
|
|
192
|
-
b {
|
|
193
|
-
font-weight: 700;
|
|
194
|
-
background: linear-gradient(180deg, ${t.colors.dclRed}, ${t.colors.magenta});
|
|
195
|
-
background-clip: text;
|
|
196
|
-
-webkit-background-clip: text;
|
|
197
|
-
color: transparent;
|
|
198
|
-
}
|
|
199
|
-
`,Pn=i.label`
|
|
200
|
-
display: flex;
|
|
201
|
-
align-items: center;
|
|
202
|
-
gap: 8px;
|
|
203
|
-
padding: 12px 14px;
|
|
204
|
-
background: ${t.colors.softWhite};
|
|
205
|
-
/* A hairline in Gray 2, not a full pixel of soft-black: this field sits INSIDE the lilac panel and
|
|
206
|
-
the heavier edge made it read as the modal's primary control (Figma 1356:335172). */
|
|
207
|
-
border: 0.5px solid ${t.colors.muted};
|
|
208
|
-
border-radius: 8px;
|
|
209
|
-
cursor: text;
|
|
210
|
-
|
|
211
|
-
&:focus-within {
|
|
212
|
-
border-color: ${t.colors.magenta};
|
|
213
|
-
}
|
|
214
|
-
`,Fn=i.span`
|
|
215
|
-
flex: none;
|
|
216
|
-
font-family: ${t.font.sans};
|
|
217
|
-
font-size: 18px;
|
|
218
|
-
color: ${t.colors.muted2};
|
|
219
|
-
`,Un=i.input`
|
|
220
|
-
flex: 0 1 auto;
|
|
221
|
-
min-width: 0;
|
|
222
|
-
border: 0;
|
|
223
|
-
outline: none;
|
|
224
|
-
background: transparent;
|
|
225
|
-
font-family: ${t.font.sans};
|
|
226
|
-
font-size: 16px;
|
|
227
|
-
font-weight: 600;
|
|
228
|
-
color: ${t.colors.text};
|
|
229
|
-
|
|
230
|
-
&::placeholder {
|
|
231
|
-
color: ${t.colors.muted2};
|
|
232
|
-
font-weight: 400;
|
|
233
|
-
}
|
|
234
|
-
`,On=i.span`
|
|
235
|
-
flex: none;
|
|
236
|
-
font-family: ${t.font.sans};
|
|
237
|
-
font-size: 16px;
|
|
238
|
-
color: ${t.colors.muted2};
|
|
239
|
-
`,we=i.button`
|
|
240
|
-
margin-top: 16px;
|
|
241
|
-
width: 100%;
|
|
242
|
-
height: 46px;
|
|
243
|
-
border: 0;
|
|
244
|
-
border-radius: 12px;
|
|
245
|
-
cursor: pointer;
|
|
246
|
-
background: ${t.gradients.buyBtn};
|
|
247
|
-
color: ${t.colors.softWhite};
|
|
248
|
-
font-family: ${t.font.sans};
|
|
249
|
-
font-weight: 600;
|
|
250
|
-
font-size: 15px;
|
|
251
|
-
letter-spacing: 0.46px;
|
|
252
|
-
text-transform: uppercase;
|
|
253
|
-
transition: background-image 0.15s ease;
|
|
254
|
-
|
|
255
|
-
/* Both ends stay on background-IMAGE: a gradient cannot interpolate to a plain colour, so swapping
|
|
256
|
-
the shorthand instead blanks the button for the length of the transition. */
|
|
257
|
-
&:hover:not(:disabled),
|
|
258
|
-
&:active:not(:disabled) {
|
|
259
|
-
background-image: linear-gradient(${t.colors.dclRed}, ${t.colors.dclRed});
|
|
260
|
-
}
|
|
261
|
-
&:focus-visible {
|
|
262
|
-
outline: 2px solid ${t.colors.accent};
|
|
263
|
-
outline-offset: 2px;
|
|
264
|
-
}
|
|
265
|
-
&:disabled {
|
|
266
|
-
cursor: not-allowed;
|
|
267
|
-
opacity: 0.5;
|
|
268
|
-
}
|
|
269
|
-
`,Hn=i.div`
|
|
270
|
-
display: flex;
|
|
271
|
-
flex: 1;
|
|
272
|
-
flex-direction: column;
|
|
273
|
-
align-items: center;
|
|
274
|
-
justify-content: center;
|
|
275
|
-
gap: 32px;
|
|
276
|
-
padding: 32px 0 8px;
|
|
277
|
-
`,Dn=i.img`
|
|
278
|
-
width: 61px;
|
|
279
|
-
height: 61px;
|
|
280
|
-
`,Gn=i.div`
|
|
281
|
-
display: flex;
|
|
282
|
-
flex-direction: column;
|
|
283
|
-
align-items: center;
|
|
284
|
-
gap: 8px;
|
|
285
|
-
width: 100%;
|
|
286
|
-
`,qn=i.div`
|
|
287
|
-
font-family: ${t.font.sans};
|
|
288
|
-
font-weight: 700;
|
|
289
|
-
font-size: 20px;
|
|
290
|
-
line-height: 1.6;
|
|
291
|
-
color: ${t.colors.text2};
|
|
292
|
-
text-align: center;
|
|
293
|
-
`,Vn=i.p`
|
|
294
|
-
max-width: 400px;
|
|
295
|
-
font-family: ${t.font.sans};
|
|
296
|
-
font-size: 14px;
|
|
297
|
-
line-height: 1.57;
|
|
298
|
-
color: ${t.colors.muted};
|
|
299
|
-
text-align: center;
|
|
300
|
-
`,Zn=i.div`
|
|
301
|
-
display: flex;
|
|
302
|
-
align-items: center;
|
|
303
|
-
justify-content: center;
|
|
304
|
-
gap: 8px;
|
|
305
|
-
width: 100%;
|
|
306
|
-
`,Qn=i.div`
|
|
307
|
-
flex: 1;
|
|
308
|
-
max-width: 400px;
|
|
309
|
-
height: 10px;
|
|
310
|
-
border-radius: 100px;
|
|
311
|
-
background: rgba(0, 0, 0, 0.1);
|
|
312
|
-
overflow: hidden;
|
|
313
|
-
|
|
314
|
-
span {
|
|
315
|
-
display: block;
|
|
316
|
-
height: 100%;
|
|
317
|
-
width: 33%;
|
|
318
|
-
border-radius: 100px;
|
|
319
|
-
background: ${t.gradients.buyBtn};
|
|
320
|
-
animation: nameProgress 1.1s ease-in-out infinite;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
@keyframes nameProgress {
|
|
324
|
-
0% {
|
|
325
|
-
transform: translateX(-100%);
|
|
326
|
-
}
|
|
327
|
-
100% {
|
|
328
|
-
transform: translateX(320%);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
@media (prefers-reduced-motion: reduce) {
|
|
333
|
-
span {
|
|
334
|
-
width: 33%;
|
|
335
|
-
animation: none;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
`,Kn=i.span`
|
|
339
|
-
flex: none;
|
|
340
|
-
font-family: ${t.font.sans};
|
|
341
|
-
font-size: 16px;
|
|
342
|
-
line-height: 22px;
|
|
343
|
-
color: ${t.colors.text2};
|
|
344
|
-
`,Jn=i.div`
|
|
345
|
-
display: flex;
|
|
346
|
-
flex-direction: column;
|
|
347
|
-
align-items: center;
|
|
348
|
-
gap: 16px;
|
|
349
|
-
padding: 24px;
|
|
350
|
-
border-radius: 12px;
|
|
351
|
-
background: #e2f5ea;
|
|
352
|
-
text-align: center;
|
|
353
|
-
`,Xn=i.div`
|
|
354
|
-
display: grid;
|
|
355
|
-
place-items: center;
|
|
356
|
-
width: 56px;
|
|
357
|
-
height: 56px;
|
|
358
|
-
border-radius: 50%;
|
|
359
|
-
background: ${t.colors.ok};
|
|
360
|
-
color: ${t.colors.white};
|
|
361
|
-
|
|
362
|
-
.ico {
|
|
363
|
-
width: 30px;
|
|
364
|
-
height: 30px;
|
|
365
|
-
}
|
|
366
|
-
`,Yn=i.p`
|
|
367
|
-
margin: 0;
|
|
368
|
-
font-family: ${t.font.sans};
|
|
369
|
-
font-size: 16px;
|
|
370
|
-
line-height: 1.4;
|
|
371
|
-
color: ${t.colors.text};
|
|
372
|
-
|
|
373
|
-
b {
|
|
374
|
-
font-weight: 700;
|
|
375
|
-
}
|
|
376
|
-
`,Fe=i.div`
|
|
377
|
-
display: flex;
|
|
378
|
-
gap: 16px;
|
|
379
|
-
margin-top: 20px;
|
|
380
|
-
|
|
381
|
-
${t.media.maxWidth("mobile")} {
|
|
382
|
-
flex-direction: column;
|
|
383
|
-
}
|
|
384
|
-
`,Ue=i.button`
|
|
385
|
-
flex: 1;
|
|
386
|
-
height: 48px;
|
|
387
|
-
border: 1px solid ${t.colors.accent};
|
|
388
|
-
border-radius: 8px;
|
|
389
|
-
background: ${t.colors.white};
|
|
390
|
-
color: ${t.colors.accent};
|
|
391
|
-
cursor: pointer;
|
|
392
|
-
font-family: ${t.font.sans};
|
|
393
|
-
font-weight: 600;
|
|
394
|
-
font-size: 13px;
|
|
395
|
-
letter-spacing: 0.46px;
|
|
396
|
-
text-transform: uppercase;
|
|
397
|
-
|
|
398
|
-
&:hover {
|
|
399
|
-
background: rgba(105, 31, 169, 0.06);
|
|
400
|
-
}
|
|
401
|
-
&:focus-visible {
|
|
402
|
-
outline: 2px solid ${t.colors.accent};
|
|
403
|
-
outline-offset: 2px;
|
|
404
|
-
}
|
|
405
|
-
`,es=i.a`
|
|
406
|
-
flex: 1;
|
|
407
|
-
display: inline-flex;
|
|
408
|
-
align-items: center;
|
|
409
|
-
justify-content: center;
|
|
410
|
-
height: 48px;
|
|
411
|
-
border-radius: 8px;
|
|
412
|
-
background: ${t.colors.dclRed};
|
|
413
|
-
color: ${t.colors.softWhite};
|
|
414
|
-
cursor: pointer;
|
|
415
|
-
text-decoration: none;
|
|
416
|
-
font-family: ${t.font.sans};
|
|
417
|
-
font-weight: 600;
|
|
418
|
-
font-size: 13px;
|
|
419
|
-
letter-spacing: 0.46px;
|
|
420
|
-
text-transform: uppercase;
|
|
421
|
-
|
|
422
|
-
&:hover {
|
|
423
|
-
filter: brightness(1.05);
|
|
424
|
-
}
|
|
425
|
-
&:focus-visible {
|
|
426
|
-
outline: 2px solid ${t.colors.accent};
|
|
427
|
-
outline-offset: 2px;
|
|
428
|
-
}
|
|
429
|
-
`,ve=i.div`
|
|
430
|
-
display: flex;
|
|
431
|
-
align-items: flex-start;
|
|
432
|
-
gap: 12px;
|
|
433
|
-
padding: 16px;
|
|
434
|
-
margin-top: 8px;
|
|
435
|
-
border-radius: 12px;
|
|
436
|
-
background: rgba(255, 45, 85, 0.1);
|
|
437
|
-
font-family: ${t.font.sans};
|
|
438
|
-
font-size: 14px;
|
|
439
|
-
line-height: 1.5;
|
|
440
|
-
color: ${t.colors.text};
|
|
441
|
-
|
|
442
|
-
.ico {
|
|
443
|
-
width: 22px;
|
|
444
|
-
height: 22px;
|
|
445
|
-
flex: none;
|
|
446
|
-
color: ${t.colors.dclRed};
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* Informational, not a failure. Used for "your payment went through, the NAME is on its way" and for the
|
|
451
|
-
* reason a purchase is not available yet (no price, not enough credits) — none of which is an error, and
|
|
452
|
-
* all of which would contradict themselves rendered in the red error treatment.
|
|
453
|
-
*/
|
|
454
|
-
&[data-tone='info'] {
|
|
455
|
-
background: ${t.colors.panel};
|
|
456
|
-
|
|
457
|
-
.ico {
|
|
458
|
-
color: ${t.colors.accent};
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
`;function ts({name:n,priceCredits:o,onClose:r}){const{session:h}=qe(),{data:p,isError:b}=At(h),l=zt(),g=Ge(),[c,w]=f.useState("confirm"),[d,u]=f.useState(""),[C,y]=f.useState(null),[_,v]=f.useState(!1),[m,E]=f.useState("preparing"),q=f.useRef(!1),$=d.trim().toLowerCase()===n.toLowerCase(),j=c==="completing",I=o!=null?je(o):"—",L=o==null,B=p==null?void 0:p.credits,N=o!=null&&B!=null?o-B:0,T=N>0,z=L?s("names.priceUnavailable"):T?s("names.insufficientCredits",{credits:je(N)}):null;f.useEffect(()=>{const x=D=>{D.key==="Escape"&&!j&&r()};document.addEventListener("keydown",x);const F=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",x),document.body.style.overflow=F}},[j,r]);async function H(){if(!(!h||!$||L||T||q.current)){q.current=!0,w("completing"),y(null),E("preparing");try{const x=await wn({name:n,identity:h.identity,signer:h.signer,onProgress:E});re("Shop Completed Purchase",{items:[{item_id:null,contract_address:null,token_id:null,price_usd:ze(o??0),category:"name",is_smart:!1}],purchase_type:"name",is_primary:!0,payment_type:"credits",value_credits:o??null,value_usd:ze(o??0),transaction_hash:x.originTxHash??null,settlement:x.status}),l.invalidateQueries({queryKey:["usd-balance"]}),l.invalidateQueries({queryKey:["my-assets"]}),w(x.status==="registered"?"success":"pending")}catch(x){re(Pt(x)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"submit",error_code:Bt(x),purchase_type:"name"});const F=x instanceof $e,D=x instanceof ke;y(x instanceof Se?s("names.errorRouteCost"):F?s("names.errorNotRegistered"):D?s("names.errorSettlementUnknown"):(x==null?void 0:x.message)||s("names.errorGeneric")),v(F||D),w("error")}finally{q.current=!1}}}const P=c!=="success"&&c!=="pending",k=Mt(h==null?void 0:h.providerType),A=k?2:1,M=k&&(m==="preparing"||m==="awaiting-confirmation"),S=M?1:A,Q=M?s("names.confirming"):s("names.completing"),W=m==="registering"?s("names.processingRegistering"):null;return e.jsx(_n,{onClick:j?void 0:r,role:"presentation",children:e.jsxs(In,{role:"dialog","aria-modal":"true","aria-label":s("names.buyTitle"),onClick:x=>x.stopPropagation(),children:[P&&e.jsxs(e.Fragment,{children:[e.jsxs(de,{children:[e.jsx(he,{children:c==="error"?s("names.errorTitle"):s("names.buyTitle")}),e.jsx(pe,{onClick:r,disabled:j,"aria-label":s("buyModal.close"),children:e.jsx(R,{name:"close"})})]}),e.jsxs(ue,{children:[s("names.myCreditsBalance")," ",e.jsx(O,{})," ",ce(p,b)]}),e.jsx(fe,{})]}),(c==="confirm"||c==="error")&&e.jsxs(e.Fragment,{children:[e.jsxs(me,{children:[e.jsx(Pe,{"aria-hidden":!0,children:"@"}),e.jsxs(xe,{children:[e.jsxs(ge,{children:[n,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(be,{children:s("names.subtitle")})]}),e.jsxs(ye,{children:[e.jsx(O,{}),I]})]}),c==="error"?e.jsxs(e.Fragment,{children:[e.jsxs(ve,{children:[e.jsx(R,{name:"info","aria-hidden":!0}),e.jsx("span",{children:C})]}),_?e.jsx(we,{onClick:r,children:s("names.errorSpentDismiss")}):e.jsx(we,{onClick:()=>w("confirm"),children:s("names.tryAgain")})]}):e.jsxs(e.Fragment,{children:[e.jsxs(Mn,{children:[e.jsx(Wn,{children:s("names.confirmTitle")}),e.jsx(Bn,{dangerouslySetInnerHTML:{__html:s("names.confirmBody",{name:`<b>@${ns(n)}</b>`})}}),e.jsxs(Pn,{children:[e.jsx(Fn,{"aria-hidden":!0,children:"@"}),e.jsx(Un,{value:d,onChange:x=>u(x.target.value.replace(/[^a-zA-Z0-9]/g,"")),placeholder:"yourname","aria-label":s("names.reenterAria"),autoComplete:"off",spellCheck:!1,style:{width:`${Math.max(d.length,8)}ch`}}),e.jsx(On,{children:".dcl.eth"})]})]}),z?e.jsxs(ve,{"data-tone":"info","data-testid":"name-blocked-reason",children:[e.jsx(R,{name:"info","aria-hidden":!0}),e.jsx("span",{children:z})]}):null,e.jsx(we,{onClick:()=>void H(),disabled:!$||!h||L||T,children:s("names.buyCta")})]})]}),c==="completing"&&e.jsxs(Hn,{children:[e.jsx(Dn,{src:Wt,alt:"",width:61,height:61}),e.jsxs(Gn,{children:[e.jsx(qn,{children:Q}),e.jsxs(Zn,{children:[e.jsx(Qn,{"aria-hidden":!0,children:e.jsx("span",{})}),e.jsx(Kn,{"data-testid":"name-progress-count",children:`${S}/${A}`})]}),W?e.jsx(Vn,{children:W}):null]})]}),c==="pending"&&e.jsxs(e.Fragment,{children:[e.jsxs(de,{children:[e.jsx(he,{children:s("names.pendingHeaderTitle")}),e.jsx(pe,{onClick:r,"aria-label":s("buyModal.close"),children:e.jsx(R,{name:"close"})})]}),e.jsxs(ue,{children:[s("names.myCreditsBalance")," ",e.jsx(O,{})," ",ce(p,b)]}),e.jsx(fe,{}),e.jsxs(ve,{"data-tone":"info",children:[e.jsx(R,{name:"info","aria-hidden":!0}),e.jsxs("span",{children:[e.jsx("b",{children:s("names.pendingBannerBold")})," ",s("names.pendingBannerRest")]})]}),e.jsxs(me,{style:{marginTop:20},children:[e.jsx(Pe,{"aria-hidden":!0,children:"@"}),e.jsxs(xe,{children:[e.jsxs(ge,{children:[n,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(be,{children:s("names.subtitle")})]}),e.jsxs(ye,{children:[e.jsx(O,{}),I]})]}),e.jsx(Fe,{children:e.jsx(Ue,{onClick:()=>{r(),g("/my-items")},children:s("names.myItems")})})]}),c==="success"&&e.jsxs(e.Fragment,{children:[e.jsxs(de,{children:[e.jsx(he,{children:s("names.successHeaderTitle")}),e.jsx(pe,{onClick:r,"aria-label":s("buyModal.close"),children:e.jsx(R,{name:"close"})})]}),e.jsxs(ue,{children:[s("names.myCreditsBalance")," ",e.jsx(O,{})," ",ce(p,b)]}),e.jsx(fe,{}),e.jsxs(Jn,{children:[e.jsx(Xn,{"aria-hidden":!0,children:e.jsx(R,{name:"check"})}),e.jsxs(Yn,{children:[e.jsx("b",{children:s("names.successBannerBold")})," ",s("names.successBannerRest")]})]}),e.jsxs(me,{style:{marginTop:20},children:[e.jsxs(Ln,{"data-testid":"name-success-tile",children:[e.jsx(Nn,{src:rn,alt:"","aria-hidden":!0,width:47,height:47}),e.jsxs(An,{children:[e.jsx("span",{"aria-hidden":!0,children:n}),e.jsx(zn,{src:Tn,alt:"","aria-hidden":!0,width:14,height:14})]})]}),e.jsxs(xe,{children:[e.jsxs(ge,{children:[n,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(be,{children:s("names.subtitle")})]}),e.jsxs(ye,{children:[e.jsx(O,{}),I]})]}),e.jsxs(Fe,{children:[e.jsx(Ue,{onClick:()=>{r(),g("/my-items")},children:s("names.myItems")}),e.jsx(es,{href:G.profileUrl,target:"_blank",rel:"noopener noreferrer",children:s("names.assignToAvatar")})]})]})]})})}function ns(n){return n.replace(/[&<>"']/g,o=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[o])}const ss="https://cdn.decentraland.org/@dcl/shop/1.12.2-34968681691.commit-d61728d/_assets/identity-icon-C8yAW_Gq.svg",is="https://cdn.decentraland.org/@dcl/shop/1.12.2-34968681691.commit-d61728d/_assets/world-icon-6xQ-PmmW.svg",os="https://cdn.decentraland.org/@dcl/shop/1.12.2-34968681691.commit-d61728d/_assets/invite-icon-Bz6lCTuB.svg",as="data:image/svg+xml,%3csvg%20width='55.6797'%20height='63.6174'%20viewBox='0%200%2055.6797%2063.6174'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Vote'%3e%3cpath%20id='Vector'%20d='M0.055012%2039.1045C1.61191%2039.4989%202.83757%2039.3938%204.4307%2039.392L8.27108%2039.3878L20.7762%2039.3883L42.8819%2039.3904L50.0954%2039.3907C51.793%2039.3907%2054.0562%2039.5509%2055.6466%2039.0843C55.5909%2040.7931%2055.647%2042.8581%2055.6469%2044.5864L55.6479%2055.616L55.6559%2059.5618C55.6583%2060.6219%2055.8213%2061.9838%2055.261%2062.8837C55.2205%2062.9265%2055.1794%2062.9688%2055.1377%2063.0104C54.7986%2063.3482%2054.3791%2063.5594%2053.9021%2063.5761C52.0714%2063.642%2050.1544%2063.6097%2048.3241%2063.6078L37.4452%2063.6066L2.97352%2063.6103C2.2022%2063.6084%201.15943%2063.6718%200.589171%2063.0576C-0.204857%2062.2037%200.0327979%2060.3244%200.0349529%2059.1687L0.0414734%2054.3929C0.0413119%2049.3191%20-0.00749456%2044.1727%200.055012%2039.1045Z'%20fill='white'%20fill-opacity='0.8'/%3e%3cpath%20id='Subtract'%20d='M37.1168%200.00495927C38.1773%200.00461149%2039.2888%20-0.0284991%2040.3433%200.0811311C41.0714%200.15695%2041.7266%200.914583%2041.7857%201.63484C41.853%202.45491%2041.8268%203.31926%2041.8258%204.15144L41.8189%208.70418L41.8199%2023.9639L40.1099%2023.9659L13.8726%2023.963L13.8678%209.0909L13.8648%204.29793C13.8644%202.52652%2013.3942%200.34203%2015.6754%200.0342561C15.8907%200.016712%2016.237%200.0120998%2016.4557%200.0117952C21.6059%200.00480262%2026.761%200.0117634%2031.9107%200.00788896L37.1168%200.00495927ZM33.3834%206.17293C32.439%206.55612%2031.0531%208.12922%2030.3014%208.88191L25.8297%2013.3634C25.3537%2012.824%2023.3455%2010.7605%2022.8209%2010.4239C22.5581%2010.2549%2022.2566%2010.1546%2021.9449%2010.1329C21.4563%2010.1008%2020.9754%2010.2879%2020.6139%2010.6134C20.2442%2010.9428%2020.0227%2011.4077%2020.0006%2011.9024C19.9561%2013.0748%2021.3406%2014.1198%2022.1256%2014.8868C22.9429%2015.714%2024.1669%2017.1028%2025.1168%2017.67C26.1632%2018.2949%2027.3471%2017.2145%2027.9723%2016.4942C30.25%2014.2025%2032.5393%2011.9456%2034.8101%209.64949C35.2937%209.16062%2035.7138%208.69126%2035.6851%207.96199C35.6419%206.86558%2034.7821%206.09682%2033.6959%206.14656C33.5914%206.15085%2033.4872%206.16001%2033.3834%206.17293Z'%20fill='%23FF7439'/%3e%3cpath%20id='Vector_2'%20d='M45.5498%2015.976C46.6399%2015.986%2049.9504%2015.7705%2050.7361%2016.241C51.0104%2016.4053%2051.2831%2016.6446%2051.4181%2016.9397C51.892%2017.9763%2052.1015%2019.357%2052.3802%2020.4819L54.0582%2027.2308C54.5046%2028.9073%2054.9023%2030.6043%2055.3338%2032.2824C55.6029%2033.329%2055.9417%2034.4293%2054.9705%2035.2255C54.8158%2035.359%2054.4427%2035.5934%2054.2329%2035.6091C52.7731%2035.7184%2051.1693%2035.6701%2049.7108%2035.6679L39.4635%2035.6649L14.5239%2035.6632C10.471%2035.6631%206.41808%2035.6665%202.36531%2035.6698C1.79359%2035.6657%201.33794%2035.6604%200.844568%2035.337C-0.57365%2034.4073%200.381076%2032.2112%200.72189%2030.8501L1.93462%2025.9936L3.28579%2020.566C3.53371%2019.5688%203.77194%2018.5694%204.04289%2017.5781C4.30559%2016.6172%204.74298%2016.1492%205.73966%2015.9892C7.15095%2015.9419%208.72017%2015.9778%2010.1434%2015.9809L10.1451%2023.9585C7.37011%2024.097%207.74242%2027.5535%209.84963%2027.6469C11.6268%2027.7258%2013.6164%2027.6909%2015.4098%2027.691L26.229%2027.6915L39.1339%2027.691L43.273%2027.6909C44.748%2027.6909%2047.2174%2028.0848%2047.3773%2025.9908C47.4212%2025.4807%2047.2565%2024.9745%2046.9209%2024.5879C46.5265%2024.141%2046.1143%2024.0046%2045.5418%2023.9673L45.5498%2015.976Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",rs=i.div`
|
|
462
|
-
width: 100%;
|
|
463
|
-
min-width: 0;
|
|
464
|
-
`,ls=i.nav`
|
|
465
|
-
display: flex;
|
|
466
|
-
align-items: center;
|
|
467
|
-
gap: 6px;
|
|
468
|
-
margin: 4px 0 16px;
|
|
469
|
-
font-family: ${t.font.sans};
|
|
470
|
-
font-size: 12px;
|
|
471
|
-
line-height: 1;
|
|
472
|
-
color: ${t.colors.gray4};
|
|
473
|
-
${ln};
|
|
474
|
-
`,cs=i.button`
|
|
475
|
-
border: 0;
|
|
476
|
-
background: none;
|
|
477
|
-
padding: 0;
|
|
478
|
-
cursor: pointer;
|
|
479
|
-
font: inherit;
|
|
480
|
-
color: ${t.colors.gray4};
|
|
481
|
-
|
|
482
|
-
&:hover {
|
|
483
|
-
color: ${t.colors.white};
|
|
484
|
-
text-decoration: underline;
|
|
485
|
-
}
|
|
486
|
-
&:focus-visible {
|
|
487
|
-
outline: 2px solid ${t.colors.white};
|
|
488
|
-
outline-offset: 2px;
|
|
489
|
-
}
|
|
490
|
-
`,ds=i.span`
|
|
491
|
-
font-weight: 700;
|
|
492
|
-
color: ${t.colors.softWhite};
|
|
493
|
-
`,hs=i.div`
|
|
494
|
-
display: flex;
|
|
495
|
-
flex-direction: column;
|
|
496
|
-
gap: 48px;
|
|
497
|
-
padding-bottom: 48px;
|
|
498
|
-
|
|
499
|
-
${t.media.maxWidth("mobile")} {
|
|
500
|
-
gap: 32px;
|
|
501
|
-
padding-bottom: 32px;
|
|
502
|
-
}
|
|
503
|
-
`,ps=i.div`
|
|
504
|
-
position: relative;
|
|
505
|
-
border: 1px solid ${t.colors.magenta};
|
|
506
|
-
border-radius: 24px;
|
|
507
|
-
overflow: hidden;
|
|
508
|
-
padding: 88px 48px;
|
|
509
|
-
display: flex;
|
|
510
|
-
flex-direction: column;
|
|
511
|
-
align-items: center;
|
|
512
|
-
gap: 48px;
|
|
513
|
-
text-align: center;
|
|
514
|
-
background: ${t.colors.overlay};
|
|
515
|
-
|
|
516
|
-
${t.media.maxWidth("mobile")} {
|
|
517
|
-
padding: 40px 20px;
|
|
518
|
-
gap: 28px;
|
|
519
|
-
}
|
|
520
|
-
`,us=i.div`
|
|
521
|
-
display: flex;
|
|
522
|
-
flex-direction: column;
|
|
523
|
-
align-items: center;
|
|
524
|
-
gap: 12px;
|
|
525
|
-
`,fs=i.h1`
|
|
526
|
-
margin: 0;
|
|
527
|
-
font-family: ${t.font.sans};
|
|
528
|
-
font-weight: 600;
|
|
529
|
-
font-size: 40px;
|
|
530
|
-
line-height: 1.167;
|
|
531
|
-
color: ${t.colors.white};
|
|
532
|
-
|
|
533
|
-
${t.media.maxWidth("mobile")} {
|
|
534
|
-
font-size: 26px;
|
|
535
|
-
}
|
|
536
|
-
`,ms=i.p`
|
|
537
|
-
margin: 0;
|
|
538
|
-
max-width: 760px;
|
|
539
|
-
font-family: ${t.font.sans};
|
|
540
|
-
font-weight: 500;
|
|
541
|
-
font-size: 24px;
|
|
542
|
-
line-height: 1.334;
|
|
543
|
-
color: #ecebed;
|
|
544
|
-
|
|
545
|
-
${t.media.maxWidth("mobile")} {
|
|
546
|
-
font-size: 16px;
|
|
547
|
-
}
|
|
548
|
-
`,xs=i.div`
|
|
549
|
-
width: min(785px, 100%);
|
|
550
|
-
display: flex;
|
|
551
|
-
flex-direction: column;
|
|
552
|
-
gap: 12px;
|
|
553
|
-
`,gs=i.div`
|
|
554
|
-
position: relative;
|
|
555
|
-
`,bs=i("div",Vt("invalid"))`
|
|
556
|
-
display: flex;
|
|
557
|
-
align-items: center;
|
|
558
|
-
gap: 8px;
|
|
559
|
-
padding: 8px 8px 8px 16px;
|
|
560
|
-
background: ${t.colors.softWhite};
|
|
561
|
-
/* Figma 1368:349148 gives the field a 3px Orange edge — it is the page's one input, and the design
|
|
562
|
-
leans on that weight to carry it. Red only when what has been typed cannot be claimed. */
|
|
563
|
-
border: 3px solid ${({invalid:n})=>n?t.colors.dclRed:t.colors.orange};
|
|
564
|
-
border-radius: 20px;
|
|
565
|
-
|
|
566
|
-
&:focus-within {
|
|
567
|
-
border-color: ${({invalid:n})=>n?t.colors.dclRed:t.colors.magenta};
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
${t.media.maxWidth("mobile")} {
|
|
571
|
-
border-radius: 16px;
|
|
572
|
-
}
|
|
573
|
-
`,ys=i.span`
|
|
574
|
-
position: absolute;
|
|
575
|
-
left: -9999px;
|
|
576
|
-
top: 0;
|
|
577
|
-
visibility: hidden;
|
|
578
|
-
pointer-events: none;
|
|
579
|
-
white-space: pre;
|
|
580
|
-
font-family: ${t.font.sans};
|
|
581
|
-
font-size: 20px;
|
|
582
|
-
font-weight: 600;
|
|
583
|
-
line-height: 1.6;
|
|
584
|
-
|
|
585
|
-
/* An empty field paints the PLACEHOLDER, which is lighter than a typed value — so the mirror has to
|
|
586
|
-
be lighter too. Measuring the placeholder at the value's weight made the box a few pixels wider
|
|
587
|
-
than the text in it, and ".dcl.eth" sat that far off the end of the word. */
|
|
588
|
-
&[data-placeholder] {
|
|
589
|
-
font-weight: 400;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
${t.media.maxWidth("mobile")} {
|
|
593
|
-
font-size: 16px;
|
|
594
|
-
}
|
|
595
|
-
`,ws=i.div`
|
|
596
|
-
position: absolute;
|
|
597
|
-
top: calc(100% + 8px);
|
|
598
|
-
left: 0;
|
|
599
|
-
right: 0;
|
|
600
|
-
z-index: 2;
|
|
601
|
-
display: flex;
|
|
602
|
-
align-items: center;
|
|
603
|
-
gap: 8px;
|
|
604
|
-
padding: 8px 12px;
|
|
605
|
-
border-radius: 8px;
|
|
606
|
-
background: #ffcdd4;
|
|
607
|
-
color: #ec303a;
|
|
608
|
-
font-family: ${t.font.sans};
|
|
609
|
-
font-size: 14px;
|
|
610
|
-
font-weight: 500;
|
|
611
|
-
line-height: 1.2;
|
|
612
|
-
text-align: left;
|
|
613
|
-
|
|
614
|
-
${t.media.maxWidth("mobile")} {
|
|
615
|
-
position: static;
|
|
616
|
-
margin-top: 8px;
|
|
617
|
-
align-items: flex-start;
|
|
618
|
-
flex-wrap: wrap;
|
|
619
|
-
}
|
|
620
|
-
`,Je=i.a`
|
|
621
|
-
display: inline-flex;
|
|
622
|
-
align-items: center;
|
|
623
|
-
gap: 2px;
|
|
624
|
-
margin-left: auto;
|
|
625
|
-
font-weight: 600;
|
|
626
|
-
text-decoration: underline;
|
|
627
|
-
text-transform: uppercase;
|
|
628
|
-
white-space: nowrap;
|
|
629
|
-
|
|
630
|
-
${t.media.maxWidth("mobile")} {
|
|
631
|
-
margin-left: 0;
|
|
632
|
-
}
|
|
633
|
-
`,vs=i(Je)`
|
|
634
|
-
color: #ec303a;
|
|
635
|
-
`,js=i.label`
|
|
636
|
-
flex: 1;
|
|
637
|
-
min-width: 0;
|
|
638
|
-
display: flex;
|
|
639
|
-
align-items: center;
|
|
640
|
-
gap: 0;
|
|
641
|
-
cursor: text;
|
|
642
|
-
overflow: hidden;
|
|
643
|
-
`,Cs=i.span`
|
|
644
|
-
flex: none;
|
|
645
|
-
margin-right: 8px;
|
|
646
|
-
font-family: ${t.font.sans};
|
|
647
|
-
font-size: 26px;
|
|
648
|
-
font-weight: 500;
|
|
649
|
-
line-height: 1;
|
|
650
|
-
color: ${t.colors.muted2};
|
|
651
|
-
|
|
652
|
-
${t.media.maxWidth("mobile")} {
|
|
653
|
-
font-size: 20px;
|
|
654
|
-
}
|
|
655
|
-
`,$s=i.input`
|
|
656
|
-
flex: 0 1 auto;
|
|
657
|
-
min-width: 0;
|
|
658
|
-
max-width: 100%;
|
|
659
|
-
border: 0;
|
|
660
|
-
outline: none;
|
|
661
|
-
background: transparent;
|
|
662
|
-
font-family: ${t.font.sans};
|
|
663
|
-
font-size: 20px;
|
|
664
|
-
font-weight: 600;
|
|
665
|
-
line-height: 1.6;
|
|
666
|
-
color: ${t.colors.text};
|
|
667
|
-
padding: 0;
|
|
668
|
-
|
|
669
|
-
&::placeholder {
|
|
670
|
-
color: ${t.colors.muted1};
|
|
671
|
-
font-weight: 400;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
${t.media.maxWidth("mobile")} {
|
|
675
|
-
font-size: 16px;
|
|
676
|
-
}
|
|
677
|
-
`,ks=i.span`
|
|
678
|
-
flex: none;
|
|
679
|
-
/* Flush against the name: "yourname.dcl.eth" has to read as one address, and at 20px even a couple of
|
|
680
|
-
pixels here look like a space someone typed by mistake. */
|
|
681
|
-
margin-left: 0;
|
|
682
|
-
/* Not selectable: it is the fixed part of the address, not something the reader typed. */
|
|
683
|
-
user-select: none;
|
|
684
|
-
-webkit-user-select: none;
|
|
685
|
-
font-family: ${t.font.sans};
|
|
686
|
-
font-size: 20px;
|
|
687
|
-
font-weight: 400;
|
|
688
|
-
line-height: 1.6;
|
|
689
|
-
color: ${t.colors.muted1};
|
|
690
|
-
|
|
691
|
-
${t.media.maxWidth("mobile")} {
|
|
692
|
-
font-size: 16px;
|
|
693
|
-
}
|
|
694
|
-
`,Ss=i.span`
|
|
695
|
-
flex: none;
|
|
696
|
-
font-family: ${t.font.sans};
|
|
697
|
-
font-size: 14px;
|
|
698
|
-
line-height: 1.43;
|
|
699
|
-
color: ${t.colors.muted2};
|
|
700
|
-
white-space: nowrap;
|
|
701
|
-
`,Xe=i.button`
|
|
702
|
-
flex: none;
|
|
703
|
-
display: inline-flex;
|
|
704
|
-
align-items: center;
|
|
705
|
-
justify-content: center;
|
|
706
|
-
gap: 8px;
|
|
707
|
-
height: 52px;
|
|
708
|
-
padding: 0 24px;
|
|
709
|
-
border: 0;
|
|
710
|
-
border-radius: 12px;
|
|
711
|
-
cursor: pointer;
|
|
712
|
-
background: ${t.gradients.buyBtn};
|
|
713
|
-
color: ${t.colors.softWhite};
|
|
714
|
-
font-family: ${t.font.sans};
|
|
715
|
-
font-weight: 600;
|
|
716
|
-
font-size: 15px;
|
|
717
|
-
letter-spacing: 0.46px;
|
|
718
|
-
line-height: 24px;
|
|
719
|
-
text-transform: uppercase;
|
|
720
|
-
transition: background-image 0.15s ease;
|
|
721
|
-
|
|
722
|
-
/* Both ends stay on background-IMAGE: a gradient cannot interpolate to a plain colour, so swapping
|
|
723
|
-
the background shorthand instead blanks the button for the length of the transition. */
|
|
724
|
-
&:hover:not(:disabled),
|
|
725
|
-
&:active:not(:disabled) {
|
|
726
|
-
background-image: linear-gradient(${t.colors.dclRed}, ${t.colors.dclRed});
|
|
727
|
-
}
|
|
728
|
-
&:focus-visible {
|
|
729
|
-
outline: 2px solid ${t.colors.white};
|
|
730
|
-
outline-offset: 2px;
|
|
731
|
-
}
|
|
732
|
-
&:disabled {
|
|
733
|
-
cursor: not-allowed;
|
|
734
|
-
opacity: 0.5;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
${t.media.maxWidth("mobile")} {
|
|
738
|
-
display: none;
|
|
739
|
-
}
|
|
740
|
-
`,Es=i(Xe)`
|
|
741
|
-
display: none;
|
|
742
|
-
|
|
743
|
-
${t.media.maxWidth("mobile")} {
|
|
744
|
-
display: inline-flex;
|
|
745
|
-
width: 100%;
|
|
746
|
-
height: 48px;
|
|
747
|
-
border-radius: 12px;
|
|
748
|
-
}
|
|
749
|
-
`,Ts=i.span`
|
|
750
|
-
display: inline-flex;
|
|
751
|
-
align-items: center;
|
|
752
|
-
gap: 4px;
|
|
753
|
-
font-size: 18px;
|
|
754
|
-
font-weight: 600;
|
|
755
|
-
|
|
756
|
-
.ico {
|
|
757
|
-
width: 13.26px;
|
|
758
|
-
height: 14px;
|
|
759
|
-
}
|
|
760
|
-
`,Rs=i.div`
|
|
761
|
-
display: flex;
|
|
762
|
-
align-items: center;
|
|
763
|
-
gap: 8px;
|
|
764
|
-
padding: 8px 14px;
|
|
765
|
-
border-radius: 8px;
|
|
766
|
-
font-family: ${t.font.sans};
|
|
767
|
-
font-size: 13px;
|
|
768
|
-
font-weight: 500;
|
|
769
|
-
text-align: left;
|
|
770
|
-
|
|
771
|
-
background: ${({tone:n})=>n==="error"?"rgba(255, 45, 85, 0.12)":n==="ok"?"rgba(30, 166, 114, 0.14)":"rgba(255,255,255,0.14)"};
|
|
772
|
-
color: ${({tone:n})=>n==="error"?t.colors.dclRed:n==="ok"?"#0f7a4f":"#ecebed"};
|
|
773
|
-
|
|
774
|
-
.ico {
|
|
775
|
-
width: 16px;
|
|
776
|
-
height: 16px;
|
|
777
|
-
flex: none;
|
|
778
|
-
}
|
|
779
|
-
`,te=i(Rs)`
|
|
780
|
-
position: absolute;
|
|
781
|
-
top: calc(100% + 8px);
|
|
782
|
-
left: 0;
|
|
783
|
-
right: 0;
|
|
784
|
-
z-index: 2;
|
|
785
|
-
|
|
786
|
-
/* Static on mobile, as TakenBanner is: the claim button sits below InputWrap there, so anything
|
|
787
|
-
floating out of the input lands on top of it. */
|
|
788
|
-
${t.media.maxWidth("mobile")} {
|
|
789
|
-
position: static;
|
|
790
|
-
margin-top: 8px;
|
|
791
|
-
}
|
|
792
|
-
`,_s=i(Je)`
|
|
793
|
-
color: inherit;
|
|
794
|
-
`,Is=i.section`
|
|
795
|
-
display: flex;
|
|
796
|
-
flex-direction: column;
|
|
797
|
-
gap: 48px;
|
|
798
|
-
padding: 0 48px;
|
|
799
|
-
|
|
800
|
-
${t.media.maxWidth("mobile")} {
|
|
801
|
-
gap: 32px;
|
|
802
|
-
padding: 0 20px;
|
|
803
|
-
}
|
|
804
|
-
`,Ls=i.div`
|
|
805
|
-
display: flex;
|
|
806
|
-
flex-direction: column;
|
|
807
|
-
align-items: center;
|
|
808
|
-
gap: 24px;
|
|
809
|
-
`,Ns=i.h2`
|
|
810
|
-
margin: 0;
|
|
811
|
-
text-align: center;
|
|
812
|
-
font-family: ${t.font.sans};
|
|
813
|
-
font-weight: 600;
|
|
814
|
-
font-size: 32px;
|
|
815
|
-
line-height: 1.167;
|
|
816
|
-
color: ${t.colors.white};
|
|
817
|
-
|
|
818
|
-
${t.media.maxWidth("mobile")} {
|
|
819
|
-
font-size: 22px;
|
|
820
|
-
}
|
|
821
|
-
`,As=i.p`
|
|
822
|
-
margin: 0;
|
|
823
|
-
max-width: 907px;
|
|
824
|
-
text-align: center;
|
|
825
|
-
font-family: ${t.font.sans};
|
|
826
|
-
font-weight: 400;
|
|
827
|
-
font-size: 20px;
|
|
828
|
-
line-height: 1.57;
|
|
829
|
-
color: ${t.colors.gray4};
|
|
830
|
-
|
|
831
|
-
${t.media.maxWidth("mobile")} {
|
|
832
|
-
font-size: 16px;
|
|
833
|
-
}
|
|
834
|
-
`,zs=i.div`
|
|
835
|
-
display: grid;
|
|
836
|
-
grid-template-columns: repeat(4, 1fr);
|
|
837
|
-
gap: 24px;
|
|
838
|
-
align-items: stretch;
|
|
839
|
-
|
|
840
|
-
${t.media.maxWidth("lg")} {
|
|
841
|
-
grid-template-columns: repeat(2, 1fr);
|
|
842
|
-
}
|
|
843
|
-
${t.media.maxWidth("mobile")} {
|
|
844
|
-
grid-template-columns: 1fr;
|
|
845
|
-
}
|
|
846
|
-
`,ne=i.article`
|
|
847
|
-
min-width: 0;
|
|
848
|
-
display: flex;
|
|
849
|
-
flex-direction: column;
|
|
850
|
-
gap: 32px;
|
|
851
|
-
padding: 24px;
|
|
852
|
-
background: ${t.colors.overlay};
|
|
853
|
-
border-radius: 24px;
|
|
854
|
-
|
|
855
|
-
@media (forced-colors: active) {
|
|
856
|
-
outline: 1px solid CanvasText;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
${t.media.maxWidth("mobile")} {
|
|
860
|
-
gap: 20px;
|
|
861
|
-
padding: 20px;
|
|
862
|
-
}
|
|
863
|
-
`,se=i.img`
|
|
864
|
-
display: block;
|
|
865
|
-
align-self: flex-start;
|
|
866
|
-
height: 55px;
|
|
867
|
-
width: auto;
|
|
868
|
-
`,ie=i.div`
|
|
869
|
-
flex: 1;
|
|
870
|
-
display: flex;
|
|
871
|
-
flex-direction: column;
|
|
872
|
-
gap: 12px;
|
|
873
|
-
`,oe=i.h3`
|
|
874
|
-
margin: 0;
|
|
875
|
-
font-family: ${t.font.sans};
|
|
876
|
-
font-weight: 700;
|
|
877
|
-
font-size: 20px;
|
|
878
|
-
line-height: 1.57;
|
|
879
|
-
text-transform: uppercase;
|
|
880
|
-
color: ${t.colors.white};
|
|
881
|
-
`,ae=i.p`
|
|
882
|
-
margin: 0;
|
|
883
|
-
font-family: ${t.font.sans};
|
|
884
|
-
font-weight: 400;
|
|
885
|
-
font-size: 14px;
|
|
886
|
-
line-height: 1.57;
|
|
887
|
-
color: ${t.colors.media};
|
|
888
|
-
`,Ms=i.span`
|
|
889
|
-
font-weight: 700;
|
|
890
|
-
color: ${t.colors.white};
|
|
891
|
-
`,Oe=i.a`
|
|
892
|
-
display: inline-flex;
|
|
893
|
-
align-items: center;
|
|
894
|
-
gap: 2px;
|
|
895
|
-
margin-top: auto;
|
|
896
|
-
font-family: ${t.font.sans};
|
|
897
|
-
font-weight: 500;
|
|
898
|
-
font-size: 14px;
|
|
899
|
-
line-height: 30px;
|
|
900
|
-
color: ${t.colors.softWhite};
|
|
901
|
-
text-decoration: underline;
|
|
902
|
-
|
|
903
|
-
&:focus-visible {
|
|
904
|
-
outline: 2px solid ${t.colors.softWhite};
|
|
905
|
-
outline-offset: 2px;
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
.ico {
|
|
909
|
-
width: 13px;
|
|
910
|
-
height: 13px;
|
|
911
|
-
}
|
|
912
|
-
`,Ws=i.span`
|
|
913
|
-
position: absolute;
|
|
914
|
-
width: 1px;
|
|
915
|
-
height: 1px;
|
|
916
|
-
padding: 0;
|
|
917
|
-
margin: -1px;
|
|
918
|
-
overflow: hidden;
|
|
919
|
-
clip: rect(0, 0, 0, 0);
|
|
920
|
-
white-space: nowrap;
|
|
921
|
-
border: 0;
|
|
922
|
-
`,Bs="https://docs.decentraland.org/creator/worlds/about/",Ps="https://governance.decentraland.org";function He(n){const o=typeof window<"u"?window.location.hostname:"";return`${o.endsWith("decentraland.org")?"https://decentraland.org":o.endsWith("decentraland.today")?"https://decentraland.today":"https://decentraland.zone"}/marketplace/names/browse?search=${encodeURIComponent(n)}`}function Fs({onBack:n}){Ve({title:s("seo.names.title"),description:s("seo.names.description")});const{session:o,signIn:r}=qe(),h=vn(),{data:p}=Ze(),b=p?Qe(Z,p):null,[l,g]=f.useState(""),[c,w]=f.useState("idle"),[d,u]=f.useState(!1),[C,y]=f.useState(!1),[_,v]=f.useState(()=>{var k;return typeof window<"u"&&!!((k=window.matchMedia)!=null&&k.call(window,"(prefers-reduced-motion: reduce)").matches)});f.useEffect(()=>{var M;const k=(M=window.matchMedia)==null?void 0:M.call(window,"(prefers-reduced-motion: reduce)");if(!k)return;const A=S=>v(S.matches);return k.addEventListener("change",A),()=>k.removeEventListener("change",A)},[]);const m=s("names.placeholderExamples"),E=f.useMemo(()=>m.split(",").map(k=>k.trim()).filter(Boolean),[m]),$=En(E,!C&&!l&&!_)||s("names.inputPlaceholder"),j=f.useRef(null),[I,L]=f.useState(void 0);f.useLayoutEffect(()=>{j.current&&L(j.current.getBoundingClientRect().width)},[l,$]),f.useEffect(()=>{if(!We(l).ok){w(l.length===0?"idle":"invalid");return}w("checking");const A=new AbortController,M=setTimeout(()=>{(async()=>{try{const S=await fn(l,{signal:A.signal});w(S)}catch(S){if((S==null?void 0:S.name)==="AbortError")return;w("error")}})()},400);return()=>{clearTimeout(M),A.abort()}},[l]);const B=We(l),N=B.ok&&(c==="available"||c==="error"),T=h&&N,z=!h&&N;function H(){if(T){if(!o){r();return}u(!0)}}const P=e.jsxs(e.Fragment,{children:[s("names.claim"),b!=null?e.jsxs(Ts,{children:[e.jsx(O,{}),je(b)]}):null]});return e.jsxs(rs,{"data-testid":"names-page",children:[e.jsxs(ls,{"aria-label":s("names.breadcrumbAria"),children:[e.jsx(cs,{onClick:n,children:s("names.breadcrumbCollectibles")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(ds,{children:s("names.breadcrumbCurrent")})]}),e.jsxs(hs,{children:[e.jsxs(ps,{children:[e.jsxs(us,{children:[e.jsx(fs,{children:s("names.heroTitle")}),e.jsx(ms,{children:s("names.heroSubtitle")})]}),e.jsxs(xs,{children:[e.jsxs(gs,{"data-testid":"names-input-wrap",children:[e.jsxs(bs,{invalid:c==="taken",children:[e.jsxs(js,{children:[e.jsx(Cs,{"aria-hidden":!0,children:"@"}),e.jsx($s,{value:l,onChange:k=>g(hn(k.target.value)),placeholder:$,"aria-label":s("names.inputAria"),autoComplete:"off",spellCheck:!1,maxLength:le,onFocus:()=>y(!0),style:{width:I!=null?`${I}px`:void 0}}),e.jsx(ys,{ref:j,"aria-hidden":!0,"data-placeholder":!l||void 0,children:l||$}),e.jsx(ks,{children:s("names.suffix")})]}),l.length>0?e.jsxs(Ss,{"aria-hidden":!0,children:[l.length,"/",le]}):null,e.jsx(Xe,{onClick:H,disabled:!T,"data-testid":"names-claim",children:P})]}),c==="taken"?e.jsxs(ws,{role:"status","data-testid":"names-taken",children:[e.jsx(R,{name:"info",size:16,"aria-hidden":!0}),e.jsx("span",{children:s("names.taken")}),e.jsxs(vs,{href:He(l),target:"_blank",rel:"noopener noreferrer",children:[s("names.takenMakeOffer"),e.jsx(R,{name:"external-link",size:13,"aria-hidden":!0})]})]}):null,c==="checking"?e.jsx(te,{tone:"muted",role:"status","data-testid":"names-checking",children:s("names.checking")}):z?e.jsxs(te,{tone:"muted",role:"status","data-testid":"names-disabled",children:[e.jsx(R,{name:"info",size:16,"aria-hidden":!0}),e.jsx("span",{children:s("names.registrationDisabled")}),e.jsxs(_s,{href:He(l),target:"_blank",rel:"noopener noreferrer",children:[s("names.registrationDisabledLink"),e.jsx(R,{name:"external-link",size:13,"aria-hidden":!0})]})]}):c==="error"?e.jsx(te,{tone:"muted",role:"status",children:s("names.checkError")}):c==="invalid"&&!B.ok&&B.reason==="too-short"?e.jsx(te,{tone:"muted",role:"status",children:s("names.tooShort",{min:Ke})}):null]}),e.jsx(Es,{onClick:H,disabled:!T,children:P}),e.jsx(Ws,{role:"status","aria-live":"polite",children:c==="available"?s("names.available",{name:l}):""})]})]}),e.jsxs(Is,{children:[e.jsxs(Ls,{children:[e.jsx(Ns,{children:s("names.whyTitle")}),e.jsx(As,{children:s("names.whyIntro")})]}),e.jsxs(zs,{children:[e.jsxs(ne,{children:[e.jsx(se,{src:ss,alt:""}),e.jsxs(ie,{children:[e.jsx(oe,{children:s("names.why1Title")}),e.jsx(ae,{children:s("names.why1")})]})]}),e.jsxs(ne,{children:[e.jsx(se,{src:is,alt:""}),e.jsxs(ie,{children:[e.jsx(oe,{children:s("names.why2Title")}),e.jsxs(ae,{children:[s("names.why2")," ",e.jsx(Ms,{children:s("names.why2Address")})]}),e.jsxs(Oe,{href:Bs,target:"_blank",rel:"noopener noreferrer",children:[s("names.learnMore"),e.jsx(R,{name:"external-link","aria-hidden":!0})]})]})]}),e.jsxs(ne,{children:[e.jsx(se,{src:os,alt:""}),e.jsxs(ie,{children:[e.jsx(oe,{children:s("names.why3Title")}),e.jsx(ae,{children:s("names.why3")})]})]}),e.jsxs(ne,{children:[e.jsx(se,{src:as,alt:""}),e.jsxs(ie,{children:[e.jsx(oe,{children:s("names.why4Title")}),e.jsx(ae,{children:s("names.why4")}),e.jsxs(Oe,{href:Ps,target:"_blank",rel:"noopener noreferrer",children:[s("names.learnMore"),e.jsx(R,{name:"external-link","aria-hidden":!0})]})]})]})]})]})]}),d?e.jsx(ts,{name:l,priceCredits:b,onClose:()=>u(!1)}):null]})}const Us=i.p`
|
|
923
|
-
display: flex;
|
|
924
|
-
align-items: center;
|
|
925
|
-
gap: 10px;
|
|
926
|
-
background: ${t.colors.rarityBg};
|
|
927
|
-
color: ${t.colors.accent};
|
|
928
|
-
border-radius: 12px;
|
|
929
|
-
padding: 12px 16px;
|
|
930
|
-
margin-bottom: 14px;
|
|
931
|
-
font-weight: 600;
|
|
932
|
-
font-size: 14px;
|
|
933
|
-
|
|
934
|
-
&[data-variant='warn'] {
|
|
935
|
-
background: rgba(211, 51, 51, 0.1);
|
|
936
|
-
color: ${t.colors.err};
|
|
937
|
-
}
|
|
938
|
-
`,De=48,Os=["all","on_sale","not_for_sale"],Hs=n=>n?"all":"on_sale";function hi({contracts:n,hideNames:o=!1,seo:r,lockStatus:h}={}){const[p]=rt(),b=Ge(),l=(p.get("q")??"").trim().toLowerCase(),g=(p.get("q")??"").trim();Ve(r??{title:g?s("seo.collectibles.searchTitle",{query:g}):s("seo.collectibles.title"),description:s("seo.collectibles.description")});const c=Hs(!!l),w=f.useMemo(()=>({category:"all",status:c,subCategory:null,rarities:[],priceMin:"",priceMax:"",smart:!1,sort:"newest"}),[c]),[d,u]=lt(w),{subCategory:C,rarities:y,priceMin:_,priceMax:v,smart:m,sort:E}=d,$=dt.map(a=>a.key).filter(a=>!(o&&a==="names")).includes(d.category)?d.category:"all",j=h??(Os.includes(d.status)?d.status:c);ht(`${$}:${C??""}`);const[I,L]=f.useState(!1);f.useEffect(()=>{if(!I)return;const a=X=>{X.key==="Escape"&&L(!1)};document.addEventListener("keydown",a);const U=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",a),document.body.style.overflow=U}},[I]);const B=n!==void 0&&n.length===0,N=j==="on_sale",T=_&&!Number.isNaN(Number(_))?Number(_):void 0,z=v&&!Number.isNaN(Number(v))?Number(v):void 0,H=Ft(),P=C?Zt[C]:void 0,k=(Ae.find(a=>a.key===E)??Ae[0]).server,A={category:$,rarities:y.length?y:void 0,wearableCategories:P,minPriceCredits:T,maxPriceCredits:z,search:l||void 0,sortBy:k,isSmart:m||void 0,onSale:!0,listingType:H?void 0:"primary",contractAddresses:n!=null&&n.length?n:void 0},M={category:$,rarities:y.length?y:void 0,wearableCategories:P,search:l||void 0,sortBy:k,isWearableSmart:m||void 0,isOnSale:j==="not_for_sale"?!1:void 0,contractAddresses:n!=null&&n.length?n:void 0},{items:S,total:Q,isLoading:W,isPlaceholderData:x,error:F,hasNextPage:D,isFetchingNextPage:Ee,isFetchNextPageError:Ye,fetchNextPage:et}=qt(N?["shop-items",A]:["catalog-items",M],a=>N?Ht({...A,first:De,skip:a}):Dt({...M,first:De,skip:a}),{enabled:$!=="names"&&!B}),K=Q,{data:Te,isError:tt,isPending:nt}=Ze(),st=a=>Te&&a.manaWei?Qe(a.manaWei,Te):null,it=N&&nt&&S.some(a=>a.source==="legacy"),Re=W||x||it,ot=W?15:Math.max(S.length,1),_e=f.useRef(null);f.useEffect(()=>{W||x||!l||_e.current===l||(_e.current=l,re("Shop Searched",{query:l,result_count:K}))},[l,W,x,K]);const J=f.useRef("__init__");f.useEffect(()=>{if(W||x)return;const a=JSON.stringify({category:$,subCategory:C,rarities:y,min:T,max:z,sort:E,status:j,smart:m});if(J.current==="__init__"||J.current===a){J.current=a;return}J.current=a,re("Shop Applied Filter",{filters:{category:$,sub_category:C,rarities:y,min_price_credits:T??null,max_price_credits:z??null,status:j,smart:m,sort:E},result_count:K})},[$,C,y,T,z,E,j,m,W,x,K]);function Ie(a){u({category:a,subCategory:null})}function Le(a){u({status:a})}function Ne(a){u({rarities:y.includes(a)?y.filter(U=>U!==a):[...y,a]})}function at(){u(w)}const V=[];(T!=null||z!=null)&&V.push({key:"price",label:s("filter.price"),onRemove:()=>{u({priceMin:"",priceMax:""})}});for(const a of pt)y.includes(a)&&V.push({key:`rarity-${a}`,label:Ut(a),onRemove:()=>Ne(a)});return m&&V.push({key:"smart",label:s("filter.smart"),onRemove:()=>u({smart:!1})}),j!==c&&V.push({key:"status",label:j==="all"?s("filter.statusAll"):j==="on_sale"?s("filter.onSale"):s("filter.notForSale"),onRemove:()=>Le(c)}),e.jsxs(ut,{"data-testid":"browse",children:[$!=="names"&&e.jsxs(e.Fragment,{children:[I?e.jsx(ft,{onClick:()=>L(!1),"aria-hidden":!0}):null,e.jsxs(mt,{"data-open":I||void 0,"data-testid":"browse-sidebar",children:[e.jsxs(xt,{children:[e.jsx(gt,{children:s("assets.filters")}),e.jsx(bt,{onClick:()=>L(!1),"aria-label":s("assets.closeFilters"),children:"✕"})]}),e.jsx(yt,{children:e.jsx(wt,{category:$,subCategory:C,onCategory:Ie,onSub:a=>u({subCategory:a}),priceMin:_,priceMax:v,onPriceMin:a=>u({priceMin:a}),onPriceMax:a=>u({priceMax:a}),rarities:y,onToggleRarity:Ne,status:j,onStatus:Le,hideNames:o,smart:m,onSmart:a=>u({smart:a})})}),e.jsx(vt,{children:e.jsx(jt,{type:"button",onClick:()=>L(!1),children:s("assets.showItems")})})]})]}),e.jsx(Ct,{children:$==="names"?e.jsx(Fs,{onBack:()=>Ie("all")}):e.jsxs(e.Fragment,{children:[e.jsx($t,{sort:E,onSort:a=>u({sort:a}),total:Q,loading:W||x,query:l,onOpenFilters:()=>L(!0),chips:V,onClearChips:at}),tt&&N&&S.some(a=>a.source==="legacy")?e.jsx(Us,{"data-variant":"warn",children:s("assets.marketUnavailable")}):null,F?e.jsx(Qt,{message:s("assets.loadError"),testId:"browse-error"}):null,!Re&&S.length===0&&!F?e.jsx(Ot,{testId:"browse-empty",icon:ct,title:s("assets.empty.title"),body:g?e.jsxs(e.Fragment,{children:[s("assets.empty.searchBefore"),e.jsx("b",{children:g}),s("assets.empty.searchAfter")]}):s("assets.empty.filters"),cta:{label:s("assets.empty.cta"),onClick:()=>b("/overview")}}):e.jsxs(e.Fragment,{children:[e.jsx(cn,{"data-testid":"grid",children:Re?e.jsx(Me,{count:ot}):e.jsxs(e.Fragment,{children:[S.map(a=>{if(!N)return e.jsx(Y,{item:a,mode:"view"},ee(a));const U=a;if(U.source!=="legacy")return e.jsx(Y,{item:a},ee(a));const X=st(U);return X==null?e.jsx(Y,{item:a,mode:"view"},ee(a)):e.jsx(Y,{item:{...U,priceCredits:X}},ee(a))}),Ee?e.jsx(Me,{count:6}):null]})}),e.jsx(Gt,{hasNextPage:D,isFetching:Ee,isError:Ye,onLoadMore:()=>void et()})]})]})})]})}export{hi as Assets};
|
|
939
|
-
//# sourceMappingURL=Assets-Cchkrb-r.js.map
|