@dcl/shop 1.13.1-35147466824.commit-691c71e → 1.13.1-35194712201.commit-05f9320

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.
Files changed (428) hide show
  1. package/_assets/Activity-B-Mt2tEv.js +400 -0
  2. package/_assets/{AnimatedBackground-CwQmxOFi.js → AnimatedBackground-BSM-rQuy.js} +6 -6
  3. package/_assets/{Assets-VVrgUxpf.js → Assets-BrcTOhgS.js} +84 -84
  4. package/_assets/{Authorizations-Bepgew8q.js → Authorizations-DiumUN7R.js} +2 -2
  5. package/_assets/{Cart-8uayDrxo.js → Cart-RtgqzQ97.js} +3 -3
  6. package/_assets/{Collection-GfGftuMU.js → Collection-BgorKKBL.js} +14 -14
  7. package/_assets/{CollectionCarousel-CrO5pEgo.js → CollectionCarousel-Dug2ZFsp.js} +45 -45
  8. package/_assets/{Confetti-D8VQEKfB.js → Confetti-DfJxZdWq.js} +4 -4
  9. package/_assets/{ConstantsUtil-BQvpBpQu.js → ConstantsUtil-B8YsR40N.js} +2 -2
  10. package/_assets/{ContentClient-HMgCjCsc.js → ContentClient-COddvv25.js} +2 -2
  11. package/_assets/{Creator-D-qT8exB.js → Creator-DGqwvJJe.js} +29 -29
  12. package/_assets/DeploymentBuilder-vOgmLXlt.js +4 -0
  13. package/_assets/{EmotePlaybackBar-CaJAXuFm.js → EmotePlaybackBar-Cb8Zo33b.js} +19 -19
  14. package/_assets/{ErrorNotice-DgLTEx75.js → ErrorNotice-DEzVeIBz.js} +2 -2
  15. package/_assets/Event-D_gsuijt.js +72 -0
  16. package/_assets/{ExchangeController-7TtAhy38.js → ExchangeController-apmGlTU-.js} +2 -2
  17. package/_assets/{Faq-DGPgsE0y.js → Faq-2-4mQUk8.js} +2 -2
  18. package/_assets/Filters-asMc51Jo.js +823 -0
  19. package/_assets/{GetCredits-Dy4K0Tve.js → GetCredits-sbU1UXiI.js} +5 -5
  20. package/_assets/{Grow-aL4So4Ma.js → Grow-Bb5f8LBx.js} +2 -2
  21. package/_assets/{HelpersUtil-BQh8MsBd.js → HelpersUtil-BeOGj8gw.js} +4 -4
  22. package/_assets/{ItemDetail-DH3C6g1a.js → ItemDetail-DgUuh9k6.js} +35 -35
  23. package/_assets/{LoadMore-CAovcyRj.js → LoadMore-DTTb4mbK.js} +2 -2
  24. package/_assets/{ManaPricingBanner.styles-DlZ7ilpc.js → ManaPricingBanner.styles-DOeOR6RI.js} +2 -2
  25. package/_assets/MyAssets-DJecPMOx.js +410 -0
  26. package/_assets/{MyFavorites-DuT_Xsaf.js → MyFavorites-DBRl-1OK.js} +9 -9
  27. package/_assets/MyStore-pebkCBnn.js +951 -0
  28. package/_assets/{NetworkUtil-BtYJyuKu.js → NetworkUtil-ATaAR2NZ.js} +2 -2
  29. package/_assets/{NotFound-C2JeBVxZ.js → NotFound-BqJzwcd1.js} +2 -2
  30. package/_assets/{NotificationsBell-BdWtXFrk.js → NotificationsBell-BgwACPrP.js} +13 -13
  31. package/_assets/{OutfitDetail-CvA6YqRb.js → OutfitDetail-CGZfi7gQ.js} +5 -5
  32. package/_assets/{OutfitPreview-RpSf5VhQ.js → OutfitPreview-Bjb68CHy.js} +2 -2
  33. package/_assets/{OutfitStudio-C_fP6Tdr.js → OutfitStudio-DTY9Yq8B.js} +11 -11
  34. package/_assets/{PhArrowCircleDown-oZRgIV6I.js → PhArrowCircleDown-DxArxYac.js} +4 -4
  35. package/_assets/{PhArrowClockwise-D6H6uB8s.js → PhArrowClockwise-C8ljy1Rj.js} +4 -4
  36. package/_assets/{PhArrowDown-CRBvhObC.js → PhArrowDown-DsAplWwh.js} +4 -4
  37. package/_assets/{PhArrowLeft-iC7ALVz_.js → PhArrowLeft-EPz-xHmZ.js} +5 -5
  38. package/_assets/{PhArrowRight-BMhSphsR.js → PhArrowRight-CVoNjAPb.js} +3 -3
  39. package/_assets/{PhArrowSquareOut-BGOFtcYV.js → PhArrowSquareOut-DxPnhLyS.js} +5 -5
  40. package/_assets/{PhArrowUp-DaOakyLF.js → PhArrowUp-CthNwEN1.js} +5 -5
  41. package/_assets/PhArrowUpRight-yy2UirS7.js +15 -0
  42. package/_assets/{PhArrowsClockwise-DnI7mFlV.js → PhArrowsClockwise-B-gjYmTc.js} +4 -4
  43. package/_assets/{PhArrowsDownUp-BT1rp80C.js → PhArrowsDownUp-DPexCLiH.js} +2 -2
  44. package/_assets/{PhArrowsLeftRight-3JEyJt0N.js → PhArrowsLeftRight-D93RFlb_.js} +3 -3
  45. package/_assets/{PhBank-DlTySila.js → PhBank-BNhsgOpa.js} +4 -4
  46. package/_assets/PhBrowser-OVbcxsqN.js +15 -0
  47. package/_assets/{PhCaretDown-Co8viBJv.js → PhCaretDown-niSUmOpX.js} +3 -3
  48. package/_assets/PhCaretLeft-5pVZjDE4.js +15 -0
  49. package/_assets/PhCaretRight-xH-dut9T.js +15 -0
  50. package/_assets/{PhCaretUp-SXVNZaJo.js → PhCaretUp-BuqimB7k.js} +4 -4
  51. package/_assets/{PhCheck-DETGkRRi.js → PhCheck-bPp1bknl.js} +4 -4
  52. package/_assets/{PhCircleHalf-BN36Nweh.js → PhCircleHalf-BCRFPlBh.js} +3 -3
  53. package/_assets/{PhClock-DPd3K2DL.js → PhClock-Ay7dG8fF.js} +5 -5
  54. package/_assets/{PhCompass-F0g-SfuH.js → PhCompass-D6jeCOuB.js} +5 -5
  55. package/_assets/{PhCopy-CzpD7rrG.js → PhCopy-Cd6cFQKK.js} +2 -2
  56. package/_assets/{PhCreditCard-NnI7YcNP.js → PhCreditCard-D0cyAH4H.js} +5 -5
  57. package/_assets/{PhCurrencyDollar-Bst29vzW.js → PhCurrencyDollar-DNCs7Hoi.js} +2 -2
  58. package/_assets/{PhDesktop-CFSSNEkS.js → PhDesktop-C7wK3N0C.js} +3 -3
  59. package/_assets/{PhDeviceMobile-Dd2ijltg.js → PhDeviceMobile-nwo6W6cN.js} +5 -5
  60. package/_assets/{PhDotsThree-CI5y9TIg.js → PhDotsThree-5DGmKrer.js} +4 -4
  61. package/_assets/{PhEnvelope-DrQ5vbHf.js → PhEnvelope-DkcDbzLk.js} +3 -3
  62. package/_assets/{PhFunnelSimple-CI4FOzkp.js → PhFunnelSimple-D1hBKn3q.js} +4 -4
  63. package/_assets/{PhGlobe-DR2SpSWA.js → PhGlobe-7ico55TC.js} +4 -4
  64. package/_assets/{PhIdentificationCard-5YfSRHO7.js → PhIdentificationCard-PCjj06ca.js} +3 -3
  65. package/_assets/{PhImage-D7dVXxCI.js → PhImage-WMMVogNo.js} +2 -2
  66. package/_assets/{PhInfo-DNTh1xhU.js → PhInfo-DxjcEgny.js} +4 -4
  67. package/_assets/{PhLightbulb-BfCndXXI.js → PhLightbulb-Cv6gGmyY.js} +2 -2
  68. package/_assets/{PhMagnifyingGlass-DB41rFTM.js → PhMagnifyingGlass-CzkcQTYD.js} +2 -2
  69. package/_assets/{PhPaperPlaneRight-D6oxeO8G.js → PhPaperPlaneRight-DnxOP1pJ.js} +4 -4
  70. package/_assets/{PhPlus-B90Q_jSC.js → PhPlus-D2WgBmbh.js} +2 -2
  71. package/_assets/{PhPower-B3OeVFPP.js → PhPower-BKrhO8OD.js} +3 -3
  72. package/_assets/{PhPuzzlePiece-DMvneE8o.js → PhPuzzlePiece-vk5GuUyi.js} +3 -3
  73. package/_assets/{PhQrCode-B1ogONq9.js → PhQrCode-YjDtep0a.js} +4 -4
  74. package/_assets/{PhQuestion-BGPtjzO3.js → PhQuestion-De671WWd.js} +3 -3
  75. package/_assets/{PhQuestionMark-Bx5KlE6e.js → PhQuestionMark-BfmQ4AZR.js} +4 -4
  76. package/_assets/{PhSealCheck-kDiKrn8v.js → PhSealCheck-DUSoEL5_.js} +4 -4
  77. package/_assets/{PhSignOut-C40w8abk.js → PhSignOut-BAV0bqRy.js} +4 -4
  78. package/_assets/{PhSpinner-BnCR7oBU.js → PhSpinner-JXZ0tKR8.js} +3 -3
  79. package/_assets/{PhTrash-Dx6EnoNj.js → PhTrash-B-_1u-EW.js} +2 -2
  80. package/_assets/{PhUser-BMrVwUFx.js → PhUser-B7H8Kqoo.js} +2 -2
  81. package/_assets/{PhVault-CJhJgRMl.js → PhVault-D49Kz876.js} +2 -2
  82. package/_assets/{PhWallet-DUAwnObx.js → PhWallet-DFLSB_Zp.js} +3 -3
  83. package/_assets/{PhWarning-DQNslokT.js → PhWarning-oAag590N.js} +4 -4
  84. package/_assets/{PhWarningCircle-p1EFi5p4.js → PhWarningCircle-CcZqaDS-.js} +5 -5
  85. package/_assets/{PhX-cY2Ff_Gl.js → PhX-ChlrdI3g.js} +5 -5
  86. package/_assets/{SaleCountdown-BOp8aJfy.js → SaleCountdown-iwkA9AHh.js} +2 -2
  87. package/_assets/{Spinner-BynqtNdl.js → Spinner-DQ-ajSFT.js} +2 -2
  88. package/_assets/StoreSettings-DDY-uZR4.js +181 -0
  89. package/_assets/{Success-bg8XK0yM.js → Success-rkUKiaUm.js} +3 -3
  90. package/_assets/{SwapController-FBcxo_2T.js → SwapController-DLSmIHQd.js} +2 -2
  91. package/_assets/Tooltip-_dwToV-k.js +46 -0
  92. package/_assets/TradeService-BND_I-dh.js +2 -0
  93. package/_assets/{W3MFrameProviderSingleton-D0jWw1Cc.js → W3MFrameProviderSingleton-BdE_hLwp.js} +4 -4
  94. package/_assets/{WebCryptoP256-sEn4Ph9s.js → WebCryptoP256-BYI2K2jk.js} +2 -2
  95. package/_assets/{add-WhTS4Lmx.js → add-CTHe98e6.js} +2 -2
  96. package/_assets/{all-wallets-BjG4VftA.js → all-wallets-DhuabZhK.js} +2 -2
  97. package/_assets/{app-store-BU7T42Cx.js → app-store-B6taH2bQ.js} +2 -2
  98. package/_assets/{apple-CawmhmSa.js → apple-Dg5wuMVl.js} +3 -3
  99. package/_assets/{arrow-bottom-CnNmrvB7.js → arrow-bottom-DGKCuT-u.js} +3 -3
  100. package/_assets/{arrow-bottom-circle-4Fk8ZSin.js → arrow-bottom-circle-DizCI34l.js} +3 -3
  101. package/_assets/{arrow-left-CfMYQlcz.js → arrow-left-B5Shucf2.js} +3 -3
  102. package/_assets/arrow-right-CS0VOWZq.js +9 -0
  103. package/_assets/{arrow-top-B19eH9mc.js → arrow-top-9YDPz3-j.js} +3 -3
  104. package/_assets/{async-directive-BTrBVINo.js → async-directive-BCdPKC92.js} +3 -3
  105. package/_assets/authorizations-DXeZuq2r.js +2 -0
  106. package/_assets/{bank-CvCwnNxT.js → bank-BsLbzuJN.js} +2 -2
  107. package/_assets/{basic-Dxa7jgJV.js → basic-D3b4MpI5.js} +2 -2
  108. package/_assets/{biconomy-BX2NYC5K.js → biconomy-DqeHBM8p.js} +2 -2
  109. package/_assets/browseLayout.styles-CMTVkSac.js +241 -0
  110. package/_assets/{browser-D_6XKzYg.js → browser-BGA0SS8o.js} +3 -3
  111. package/_assets/{browser-DSvDuDU2.js → browser-BQou63S2.js} +2 -2
  112. package/_assets/{browser-D4AM3MwN.js → browser-Zugje3ii.js} +2 -2
  113. package/_assets/{browser-ponyfill-BNascxOI.js → browser-ponyfill-cF-lQSAL.js} +2 -2
  114. package/_assets/builder-CiAkCiQy.js +2 -0
  115. package/_assets/buy-CObI28Dp.js +2 -0
  116. package/_assets/{buy-gasless-CaOBmjwx.js → buy-gasless-Co6zCsFc.js} +2 -2
  117. package/_assets/{card-Bs7vF3ws.js → card-DrayzgIc.js} +2 -2
  118. package/_assets/categories-4PQU8mVO.js +2 -0
  119. package/_assets/{ccip-DrB-HQcA.js → ccip-na6WTHG3.js} +2 -2
  120. package/_assets/{ccip-BqWqT45T.js → ccip-pfF_WX-v.js} +2 -2
  121. package/_assets/{chains-D7KB36RB.js → chains-zAaf3wnb.js} +2 -2
  122. package/_assets/{checkmark-e3BzxNSm.js → checkmark-CuwMFqmQ.js} +2 -2
  123. package/_assets/{checkmark-bold-CwL3zpGi.js → checkmark-bold-BZ8hvIfL.js} +3 -3
  124. package/_assets/chevron-bottom-BICEUkQ-.js +9 -0
  125. package/_assets/chevron-left-Dj_IHYPd.js +9 -0
  126. package/_assets/chevron-right-DfmPfPeR.js +9 -0
  127. package/_assets/chevron-top-ChQ_XprN.js +9 -0
  128. package/_assets/{chrome-store-B9E5S_r1.js → chrome-store-yR8DW2WG.js} +2 -2
  129. package/_assets/{class-map-BaReYv7k.js → class-map-BdERzGec.js} +7 -7
  130. package/_assets/{clock-98t-BkG5.js → clock-DSdZt3kx.js} +2 -2
  131. package/_assets/{close-BnCucYZG.js → close-Du9ogfts.js} +2 -2
  132. package/_assets/{coinPlaceholder-rH-MsidA.js → coinPlaceholder-DZE_o-zF.js} +3 -3
  133. package/_assets/collectionPage.styles-B8uBsvCw.js +41 -0
  134. package/_assets/common-BuNcNp6c.js +2 -0
  135. package/_assets/{compass-C4iPyfoB.js → compass-D4tC5ehy.js} +3 -3
  136. package/_assets/{controller-B1_lWq9z.js → controller-DRmOjVPs.js} +3 -3
  137. package/_assets/{copy-Db_EXK-k.js → copy-DYrxzMu3.js} +3 -3
  138. package/_assets/{core-AITNuvVU.js → core-CVUJfw_Y.js} +5 -5
  139. package/_assets/{createSvgIcon-Dm_EPzPD.js → createSvgIcon-CsWJwavb.js} +6 -6
  140. package/_assets/{crumbs.styles-CWDzzCAG.js → crumbs.styles-Bm7X-KR2.js} +2 -2
  141. package/_assets/{cursor-BLyA32Y6.js → cursor-CGNqBNs2.js} +3 -3
  142. package/_assets/{cursor-transparent-is8_6H5o.js → cursor-transparent-Db9408Lh.js} +3 -3
  143. package/_assets/{custom-xkj1tLSz.js → custom-bDWIMqyA.js} +2 -2
  144. package/_assets/{data-capture-DAJqMG1k.js → data-capture-Qkd1fgBO.js} +2 -2
  145. package/_assets/{dcl-schemas-CmSCesR5.js → dcl-schemas-34_X2RYP.js} +2 -2
  146. package/_assets/decimals-7bz7Ql34.js +2 -0
  147. package/_assets/decimals-DZk5ecDd.js +2 -0
  148. package/_assets/{desktop-w7YXG_JM.js → desktop-8ERr7FQB.js} +3 -3
  149. package/_assets/detectExtension-ByuC0sy6.js +2 -0
  150. package/_assets/{disconnect-BoVeWInH.js → disconnect-BaCM-42U.js} +3 -3
  151. package/_assets/{discord-CmXuPXeB.js → discord-DIiirh17.js} +3 -3
  152. package/_assets/{disposePreview-DVwGA7Ub.js → disposePreview-CWhlcwyh.js} +2 -2
  153. package/_assets/{email-Hk4429M_.js → email-BSG3I8Ho.js} +2 -2
  154. package/_assets/{embedded-wallet-BkIMq9yg.js → embedded-wallet-Bg0JQDEn.js} +2 -2
  155. package/_assets/{emotion-styled.browser.esm-DjDg2ZB8.js → emotion-styled.browser.esm-V5vltgKQ.js} +2 -2
  156. package/_assets/{engine-XG_XgfGd.js → engine-d31zGGE1.js} +2 -2
  157. package/_assets/{errors-u0_epNfV.js → errors-BL4Tfl40.js} +2 -2
  158. package/_assets/estimate-l1-fee-DS9bgkZi.js +2 -0
  159. package/_assets/eth_estimateGas-BhK5cxdD.js +2 -0
  160. package/_assets/eth_getStorageAt-ve_4JkGS.js +2 -0
  161. package/_assets/eth_getTransactionCount-BHKJGFPa.js +2 -0
  162. package/_assets/ethereum-BSsUyfqe.js +2 -0
  163. package/_assets/{ethers-tJNwaRFg.js → ethers-Ct62Fyk8.js} +2 -2
  164. package/_assets/{etherscan-C6oDVSRT.js → etherscan-Bfm2dZO9.js} +2 -2
  165. package/_assets/{events-h2iFxkMp.js → events-BqEYZqIU.js} +2 -2
  166. package/_assets/{exclamation-triangle-DeoEkpAd.js → exclamation-triangle-rcl1W2-L.js} +3 -3
  167. package/_assets/{execute-z2O707m9.js → execute-BGNHV8Cc.js} +3 -3
  168. package/_assets/{extension-BC4u9PFt.js → extension-CfQ82K2-.js} +3 -3
  169. package/_assets/external-link-V3py9Mkm.js +9 -0
  170. package/_assets/extractIPFS-CVZ-_APG.js +2 -0
  171. package/_assets/{facebook-BfvFcXpk.js → facebook-DrblV0Ry.js} +2 -2
  172. package/_assets/{farcaster-DBSK9Oxt.js → farcaster-BYLQu4i6.js} +3 -3
  173. package/_assets/{features-NisBD24W.js → features-qWWBdOoH.js} +2 -2
  174. package/_assets/fetchTokenMetadata-ickp_G1g.js +3 -0
  175. package/_assets/{field.styles-DGvQ3_KI.js → field.styles-COIVC9qb.js} +2 -2
  176. package/_assets/{filters-Bx7yqePJ.js → filters-C4hZu2nU.js} +2 -2
  177. package/_assets/{fortmatic-CzuM5VkM.js → fortmatic-DrEedztj.js} +2 -2
  178. package/_assets/{get-bytecode-oe9dgjT_.js → get-bytecode-CPnWJRPF.js} +2 -2
  179. package/_assets/get-ecosystem-wallet-info-C6-YWBcs.js +2 -0
  180. package/_assets/{getBalance-Db2IDw6o.js → getBalance-B92Hmjpz.js} +3 -3
  181. package/_assets/getInstalledModules-CrI71lAc.js +2 -0
  182. package/_assets/getNFT-CxEMPeu7.js +2 -0
  183. package/_assets/getNFT-emtbiIjw.js +3 -0
  184. package/_assets/{github-Bir9JlcK.js → github-etC7Hd9s.js} +3 -3
  185. package/_assets/{google-BlkSyDA4.js → google-CZBxFGk_.js} +3 -3
  186. package/_assets/{grid.styles-Cw2pwIs-.js → grid.styles-U3UceW9u.js} +2 -2
  187. package/_assets/{hashTypedData-C3YI5ahi.js → hashTypedData-Cg6BeK80.js} +2 -2
  188. package/_assets/{hashTypedData-oPzuFATg.js → hashTypedData-DRuJ1giR.js} +2 -2
  189. package/_assets/{help-circle-DA-n1pkO.js → help-circle-BUZl81PK.js} +3 -3
  190. package/_assets/{id-UrGKP3rm.js → id-C1QikfkN.js} +2 -2
  191. package/_assets/{image-D3PTNca-.js → image-KyF9J1CW.js} +2 -2
  192. package/_assets/import-Hc4R5Ryp.js +2 -0
  193. package/_assets/{in-app-w7g8Nhc9.js → in-app-CWCbxLgt.js} +2 -2
  194. package/_assets/{in-app-wallet-calls-CgxzzkFg.js → in-app-wallet-calls-BzlIhkH2.js} +2 -2
  195. package/_assets/index-0CPUejjp.js +2 -0
  196. package/_assets/{index-D24CLlPA.js → index-3dvDIWlC.js} +3 -3
  197. package/_assets/{index-DHqGt_jn.js → index-5mfZ3Fze.js} +3 -3
  198. package/_assets/{index-CjFqn_i1.js → index-6Ha0pJEF.js} +2 -2
  199. package/_assets/{index-BqYsqQ5e.js → index-B0DPOyda.js} +4 -4
  200. package/_assets/{index-0e3v9CpE.js → index-B0gnOJQt.js} +2 -2
  201. package/_assets/{index-DgvZWtVI.js → index-B5oVgmyb.js} +2 -2
  202. package/_assets/{index-BNnbhKYu.js → index-B9A-Q0NX.js} +3 -3
  203. package/_assets/{index-BzFKKsMe.js → index-BLNvEm1N.js} +2 -2
  204. package/_assets/{index-DJxFrgnc.js → index-BNkdBuMd.js} +2 -2
  205. package/_assets/{index-C1EVlgG9.js → index-BNqesZWa.js} +10 -10
  206. package/_assets/{index-BIxaiAEl.js → index-BTZS0lrm.js} +3 -3
  207. package/_assets/{index-BJz1Up2I.css → index-BVRAr28k.css} +1 -1
  208. package/_assets/{index-BldJs_X4.js → index-BaJLFdT4.js} +2 -2
  209. package/_assets/{index-EnFBokn9.js → index-BaWcmVtB.js} +5 -5
  210. package/_assets/{index-DJpAryBd.js → index-Bc_t-wzk.js} +5 -5
  211. package/_assets/{index-C6fxHuUK.js → index-BmBO7GX2.js} +2 -2
  212. package/_assets/{index-fEiPFyrn.js → index-BqBq0S7E.js} +5 -5
  213. package/_assets/{index-nANjwUMg.js → index-BsifIgYy.js} +2 -2
  214. package/_assets/index-Byj8sJaC.js +4365 -0
  215. package/_assets/{index-CBg-Sm5h.js → index-C05MHDtw.js} +3 -3
  216. package/_assets/{index-BLtuf6m4.js → index-C0HAuwUJ.js} +2 -2
  217. package/_assets/{index-qirgQBq5.js → index-CI2YLehB.js} +2 -2
  218. package/_assets/{index-DdLWviF_.js → index-CNZvDYP7.js} +5 -5
  219. package/_assets/index-CODUbTf0.js +28 -0
  220. package/_assets/{index-xYE9fkjq.js → index-CO_ku6w6.js} +2 -2
  221. package/_assets/{index-BEL4VIeu.js → index-CY8qzVhs.js} +2 -2
  222. package/_assets/{index-CA1VPaBS.js → index-CaJLGHyG.js} +2 -2
  223. package/_assets/{index-DSpJHztY.js → index-CabfmTFB.js} +5 -5
  224. package/_assets/{index-6ybT_yl_.js → index-CaqZWirn.js} +2 -2
  225. package/_assets/{index-Bcl-5AK7.js → index-Ci504iot.js} +5 -5
  226. package/_assets/{index-umccxemy.js → index-Cj1ShJ5L.js} +2 -2
  227. package/_assets/{index-Bx9moibP.js → index-ClA_JlL_.js} +4 -4
  228. package/_assets/{index-ZrIhKrUY.js → index-D0Q3EUNk.js} +2 -2
  229. package/_assets/{index-CxQ0CvH_.js → index-D14eD816.js} +2 -2
  230. package/_assets/{index-Dk_RFoYO.js → index-DMldI53i.js} +2 -2
  231. package/_assets/{index-_5dLlQT_.js → index-DOsyBIqR.js} +2 -2
  232. package/_assets/{index-CekZ5Iqg.js → index-DTGTeSOj.js} +4 -4
  233. package/_assets/{index-CFhF41J2.js → index-DVCDQ-fR.js} +3 -3
  234. package/_assets/{index-BH-VYf5l.js → index-DZIgUEcA.js} +2 -2
  235. package/_assets/{index-lSclNpXC.js → index-Dka_uyBk.js} +6 -6
  236. package/_assets/{index-CY3hUb7S.js → index-DsMHjUaj.js} +4 -4
  237. package/_assets/{index-Y7bxplKw.js → index-Dv8DWtFU.js} +3 -3
  238. package/_assets/{index-C_yfqMNU.js → index-Dvv_Jvnl.js} +2 -2
  239. package/_assets/{index-CNhiEbnP.js → index-DzZ30Ljj.js} +4 -4
  240. package/_assets/{index-D39wCCYL.js → index-H3zs9ERv.js} +4 -4
  241. package/_assets/{index-DBeNYttS.js → index-K99k4MON.js} +2 -2
  242. package/_assets/index-MWF8P2GS.js +2 -0
  243. package/_assets/{index-D3jPbs8j.js → index-NnmTlrh0.js} +2 -2
  244. package/_assets/{index-BZuTbleF.js → index-QOjSoq2E.js} +2 -2
  245. package/_assets/{index-DtFBTuiv.js → index-T7FwoX_w.js} +2 -2
  246. package/_assets/{index-DC6Ttv02.js → index-Wh3ETOEk.js} +4 -4
  247. package/_assets/{index-xWBB44w4.js → index-ZeDXj9_g.js} +5 -5
  248. package/_assets/{index-_TZGGhWP.js → index-aAxfC1Mc.js} +2 -2
  249. package/_assets/{index-BwhcvSEl.js → index-aXm0wT41.js} +3 -3
  250. package/_assets/{index-CTw0n0JC.js → index-bj4FPf5y.js} +2 -2
  251. package/_assets/{index-sYKgsd2E.js → index-gVE-68Nz.js} +2 -2
  252. package/_assets/{index-Bj2y_yjG.js → index-hRJEa9xi.js} +4 -4
  253. package/_assets/{index-dD-qY7M-.js → index-huEPdMw-.js} +10 -10
  254. package/_assets/{index-D6ySRUMB.js → index-k3k-FuJ3.js} +2 -2
  255. package/_assets/{index-DTRYM8Jl.js → index-kO5pm1xD.js} +2 -2
  256. package/_assets/{index-JgBnlWsC.js → index-lGz6yD_Q.js} +4 -4
  257. package/_assets/{index-BsuCjDRM.js → index-mbflmWQy.js} +2 -2
  258. package/_assets/{index-DLmetrvd.js → index-rFi1xyhv.js} +4 -4
  259. package/_assets/{index-w25QikzJ.js → index-tEBub_R_.js} +8 -8
  260. package/_assets/{index-c8OkQC3w.js → index-uOymqHkg.js} +2 -2
  261. package/_assets/{index-CynamobY.js → index-vJrAsAuU.js} +2 -2
  262. package/_assets/{index-B8_xh5D1.js → index-x0N1rOrh.js} +6 -6
  263. package/_assets/{index.es-BIKI7JLq.js → index.es-CM3Vugdp.js} +5 -5
  264. package/_assets/{index.es-__1hkKpa.js → index.es-CNlrrSdg.js} +2 -2
  265. package/_assets/{index.es-Gw4AHyZB.js → index.es-ChedPBXZ.js} +2 -2
  266. package/_assets/{index.es-D7qMhur5.js → index.es-DS4xd0ll.js} +2 -2
  267. package/_assets/{info-Dsmi8VWW.js → info-DaeURCNf.js} +3 -3
  268. package/_assets/{info-circle-CppZa7vK.js → info-circle-mEb0pRoV.js} +3 -3
  269. package/_assets/{items-empty-BkXBlSAo.js → items-empty-BZXPqV6F.js} +2 -2
  270. package/_assets/jsxRuntime.module-6wpz9UoU.js +2 -0
  271. package/_assets/{jump-Dh2r-J5T.js → jump-DvMtmWZc.js} +2 -2
  272. package/_assets/{lightbulb-B2s8QgKQ.js → lightbulb-SUie1snx.js} +3 -3
  273. package/_assets/linkAccount-CPJoMsx8.js +2 -0
  274. package/_assets/{localBatchGatewayRequest-D0XhtVRB.js → localBatchGatewayRequest-C00xMMYf.js} +2 -2
  275. package/_assets/{mail-CZ9ghbH-.js → mail-BMQ_Tcbe.js} +3 -3
  276. package/_assets/{mobile-D7KL87qI.js → mobile-DWNrp5xU.js} +2 -2
  277. package/_assets/{modal.styles-CUboNT-w.js → modal.styles-nlrFOiDq.js} +2 -2
  278. package/_assets/{more-C1vsI2Vu.js → more-BJafKVQX.js} +3 -3
  279. package/_assets/{native-I31DoDqU.js → native-DcBqIlIy.js} +2 -2
  280. package/_assets/{network-placeholder-C6sglFRh.js → network-placeholder-BNTWT8_K.js} +2 -2
  281. package/_assets/{networks-CeoMEJlu.js → networks-BO-namHq.js} +2 -2
  282. package/_assets/{nftPlaceholder-ByX0V9oA.js → nftPlaceholder-BvQ5YwOQ.js} +2 -2
  283. package/_assets/{off-B5vm0egN.js → off-DwIf2gSg.js} +2 -2
  284. package/_assets/{onramp-BIEWKelE.js → onramp-ByN4Yn6P.js} +2 -2
  285. package/_assets/openzeppelin-BvmPr8Pk.js +2 -0
  286. package/_assets/ownerOf-CzWGfNyJ.js +2 -0
  287. package/_assets/parseNft-BxVTVB-o.js +3 -0
  288. package/_assets/{parseSignature-DCfeEmC8.js → parseSignature--mArklDU.js} +4 -4
  289. package/_assets/{parseSignature-Dzal_2R6.js → parseSignature-Pu3o2H3q.js} +2 -2
  290. package/_assets/{passkeys-Cm45YlML.js → passkeys-BN_1kXFk.js} +2 -2
  291. package/_assets/{pay-with-exchange-BKmd6iRp.js → pay-with-exchange-DTIh5LZd.js} +2 -2
  292. package/_assets/{play-store-BBusJ15a.js → play-store-CA36CBrS.js} +2 -2
  293. package/_assets/{plus-QdPNUgRE.js → plus-Cns28nqN.js} +2 -2
  294. package/_assets/{prepare-contract-call-CP8gdRn0.js → prepare-contract-call-CLocDjhf.js} +2 -2
  295. package/_assets/{qr-code-SdYLFk2z.js → qr-code-Q_tmm4VY.js} +3 -3
  296. package/_assets/{qr-overlay-pc4SHTdg.js → qr-overlay-BaUFm3dQ.js} +4 -4
  297. package/_assets/{react-BaEtM5XJ.js → react-BtO5oQjI.js} +3 -3
  298. package/_assets/{receive-BrKrTaHR.js → receive-JSD8YF28.js} +12 -12
  299. package/_assets/{recycle-horizontal-SCXYOpJq.js → recycle-horizontal-DjogUTaH.js} +2 -2
  300. package/_assets/{ref-DRxYb1N1.js → ref-PrJHD-ud.js} +3 -3
  301. package/_assets/{refresh-eticwJ3S.js → refresh-BoBh2MVk.js} +3 -3
  302. package/_assets/{reown-logo-C2dHPSrm.js → reown-logo-CT7u8xi3.js} +2 -2
  303. package/_assets/{resolveImplementation-Cn9CmlXV.js → resolveImplementation-l7XGcgtp.js} +2 -2
  304. package/_assets/{resume-buy-DjpxQ16x.js → resume-buy-DxyNwJhE.js} +2 -2
  305. package/_assets/{rpc-CtaMLsF-.js → rpc-Jb1c4LKC.js} +4 -4
  306. package/_assets/{sales-empty-CEW_7w0S.js → sales-empty-BhGKWMD_.js} +2 -2
  307. package/_assets/{search-CeQ1H1CU.js → search-971TVQY2.js} +2 -2
  308. package/_assets/{search-empty-CXnXGBuW.js → search-empty-4OjRNb5h.js} +2 -2
  309. package/_assets/{secp256k1-Cw5yUkzd.js → secp256k1-Bc1Gm9ho.js} +2 -2
  310. package/_assets/{secp256k1-OfpsBHCS.js → secp256k1-CCMWfPTN.js} +2 -2
  311. package/_assets/{secp256k1-2lPahONa.js → secp256k1-DxGkPQQz.js} +2 -2
  312. package/_assets/{send-Bo03Ql2I.js → send-BJky82OD.js} +2 -2
  313. package/_assets/send-batch-transaction-cv8yvO56.js +2 -0
  314. package/_assets/{send-eip712-transaction-Bd6QC-Sw.js → send-eip712-transaction-UNtxeOgd.js} +3 -3
  315. package/_assets/{send-BAtrg0LJ.js → send-euZobdzg.js} +12 -12
  316. package/_assets/send-gasless-transaction-Cxtlnrp3.js +3 -0
  317. package/_assets/{send-transaction-DXMKNLAk.js → send-transaction-CzkQtVDH.js} +3 -3
  318. package/_assets/{sendMetaTransaction-BIO5pykC.js → sendMetaTransaction-DWzFLF23.js} +2 -2
  319. package/_assets/{sendRawTransaction-DRzDGfBS.js → sendRawTransaction-0wdRFkHO.js} +4 -4
  320. package/_assets/{sentry-CpILff32.js → sentry-Dt8gif7Q.js} +3 -3
  321. package/_assets/{serializeTransaction-BTmx-nT5.js → serializeTransaction-CBo_e6mk.js} +2 -2
  322. package/_assets/{session-proposal-Cdm62cOe.js → session-proposal-DDig8YSC.js} +2 -2
  323. package/_assets/session-request-B-Xk7VIe.js +3 -0
  324. package/_assets/{sha256-7kFStUiX.js → sha256-DWxIHqyG.js} +2 -2
  325. package/_assets/{sha3-CheitC6D.js → sha3-lV5zj8bM.js} +2 -2
  326. package/_assets/signin-empty-Wy1cW1R2.js +2 -0
  327. package/_assets/{signing-CQjkeZoU.js → signing-DxIH0566.js} +4 -4
  328. package/_assets/{skeleton.styles-ClyzppIO.js → skeleton.styles-DizobWQq.js} +2 -2
  329. package/_assets/{socials-DADzSqnT.js → socials-Bkd_QOdN.js} +2 -2
  330. package/_assets/{styled-CjWYLp6b.js → styled-Cn0Y2UPg.js} +3 -3
  331. package/_assets/{swapHorizontal-C6GakaRf.js → swapHorizontal-BROJkMe6.js} +2 -2
  332. package/_assets/{swapHorizontalBold-oeP-_O-R.js → swapHorizontalBold-DGj8RzHp.js} +3 -3
  333. package/_assets/{swapHorizontalMedium-C64EXSWD.js → swapHorizontalMedium-CTW2pJ0O.js} +2 -2
  334. package/_assets/{swapHorizontalRoundedBold-CHgP6XK-.js → swapHorizontalRoundedBold-BAWFLi4l.js} +2 -2
  335. package/_assets/{swapVertical-8SLU7RpO.js → swapVertical-D0KCL9o6.js} +2 -2
  336. package/_assets/{swaps-UA0cD3BW.js → swaps-BpqpYMGa.js} +2 -2
  337. package/_assets/{telegram-CF91ES6s.js → telegram-BrWZtQW9.js} +3 -3
  338. package/_assets/{thirdweb-y-wkF1vZ.js → thirdweb-DLNrdpsF.js} +4 -4
  339. package/_assets/{three-dots-BsCoLPC9.js → three-dots-BqbdzVIX.js} +2 -2
  340. package/_assets/{to-serializable-transaction-thDAMGtK.js → to-serializable-transaction-SlKIT__b.js} +3 -3
  341. package/_assets/totalSupply-CbOcHvKe.js +2 -0
  342. package/_assets/trade-encoding-DZyyotej.js +2 -0
  343. package/_assets/{transaction-DJRXk5oN.js → transaction-BzpE2zX5.js} +2 -2
  344. package/_assets/transactionReceipt-BvWQs4U3.js +2 -0
  345. package/_assets/transactions-BJww61Yo.js +17 -0
  346. package/_assets/{twitch-BranWKeM.js → twitch-CjF65t51.js} +2 -2
  347. package/_assets/{twitterIcon-BfIWT5DS.js → twitterIcon-BaOdDtc8.js} +2 -2
  348. package/_assets/useCreatorSales-D_FdWxx_.js +771 -0
  349. package/_assets/{useCreditPacks-CQnl_Fa8.js → useCreditPacks-B2tYXyLc.js} +2 -2
  350. package/_assets/useInfiniteGrid-Swmy428I.js +2 -0
  351. package/_assets/useStore-CLwTyv1h.js +3 -0
  352. package/_assets/{useTheme-CDcFqXEY.js → useTheme-CYWPHLdD.js} +2 -2
  353. package/_assets/{utils-uSRrzKHh.js → utils-Vd_fqJto.js} +2 -2
  354. package/_assets/{verify-DcO5QuX7.js → verify-CzEN-nsy.js} +2 -2
  355. package/_assets/{verify-filled-CKp8XQqI.js → verify-filled-TDYOeDJL.js} +3 -3
  356. package/_assets/{verifyHash-BGhiKEhq.js → verifyHash-CFErsw-g.js} +2 -2
  357. package/_assets/{w3m-modal-DGE9Js41.js → w3m-modal-BzGojTY4.js} +2 -2
  358. package/_assets/{w3m-modal-6m_XMwwg.js → w3m-modal-CSFBTgD9.js} +2 -2
  359. package/_assets/wait-for-tx-receipt-D17iwFlM.js +2 -0
  360. package/_assets/{wallet-BHCiGpYx.js → wallet-CUlGPHz3.js} +3 -3
  361. package/_assets/{wallet-placeholder-BVguMNEt.js → wallet-placeholder-CkipoQX-.js} +2 -2
  362. package/_assets/{walletconnect-9t1WJh4k.js → walletconnect-CJlDhwv0.js} +5 -5
  363. package/_assets/{wallets-D7Q9xQCT.js → wallets-BB57PVau.js} +6 -6
  364. package/_assets/{warning-circle-II7Vcaxs.js → warning-circle-B2n9VXBj.js} +2 -2
  365. package/_assets/{web-connector-nXRPn9Z3.js → web-connector-5Om2QJD_.js} +4 -4
  366. package/_assets/{writeContract-CZeJcaDt.js → writeContract-j-xvrmim.js} +2 -2
  367. package/_assets/{x-D0s8LW19.js → x-BK627-zl.js} +3 -3
  368. package/_assets/{zora-sepolia-CI048TsY.js → zora-sepolia-DXOIcL_b.js} +2 -2
  369. package/_assets/{zoraTestnet-C9v3YIE6.js → zoraTestnet-tsiD7efG.js} +2 -2
  370. package/index.html +11 -11
  371. package/package.json +2 -2
  372. package/_assets/Activity-B_D0SGqX.js +0 -400
  373. package/_assets/DeploymentBuilder-BbyLDwPt.js +0 -4
  374. package/_assets/Event-F8QeIya1.js +0 -72
  375. package/_assets/MyAssets-A6dazeyv.js +0 -1142
  376. package/_assets/PhArrowUpRight-Dv-X4w2R.js +0 -15
  377. package/_assets/PhBrowser-CxUZLRbi.js +0 -15
  378. package/_assets/PhCaretLeft-ScH02zvv.js +0 -15
  379. package/_assets/PhCaretRight-CG-ZCjvT.js +0 -15
  380. package/_assets/StoreSettings-CbPna8kP.js +0 -196
  381. package/_assets/TradeService-B10-pJNL.js +0 -2
  382. package/_assets/arrow-right-QKHuTr9a.js +0 -9
  383. package/_assets/authorizations-mOwNJkid.js +0 -2
  384. package/_assets/browseLayout.styles-DdpwxtcS.js +0 -1062
  385. package/_assets/builder-B5xu14hD.js +0 -2
  386. package/_assets/buy-DhVTrZNv.js +0 -2
  387. package/_assets/categories-CVmtX9AQ.js +0 -46
  388. package/_assets/chevron-bottom-DVpGPQvJ.js +0 -9
  389. package/_assets/chevron-left-CSISn9Tl.js +0 -9
  390. package/_assets/chevron-right-D0n7Onzs.js +0 -9
  391. package/_assets/chevron-top-BSRcfV5m.js +0 -9
  392. package/_assets/collectionPage.styles-brmBi9Tl.js +0 -41
  393. package/_assets/common-7XkB6e5H.js +0 -2
  394. package/_assets/decimals-BHfME2e2.js +0 -2
  395. package/_assets/decimals-DfUPuYV7.js +0 -2
  396. package/_assets/detectExtension-DkHb3fXD.js +0 -2
  397. package/_assets/estimate-l1-fee-5EJiMKoX.js +0 -2
  398. package/_assets/eth_estimateGas-DwKvWYPo.js +0 -2
  399. package/_assets/eth_getStorageAt-C5p-8MAr.js +0 -2
  400. package/_assets/eth_getTransactionCount-t66aQ8TR.js +0 -2
  401. package/_assets/ethereum-BCdz72n5.js +0 -2
  402. package/_assets/external-link-D1_8iC7n.js +0 -9
  403. package/_assets/extractIPFS-BfApxnTo.js +0 -2
  404. package/_assets/fetchTokenMetadata-DWdccaM6.js +0 -3
  405. package/_assets/get-ecosystem-wallet-info-BQa2CpBc.js +0 -2
  406. package/_assets/getInstalledModules-DQi2Ywnx.js +0 -2
  407. package/_assets/getNFT-B3EOo0zp.js +0 -3
  408. package/_assets/getNFT-DHGI8HoZ.js +0 -2
  409. package/_assets/import-BWdTYI20.js +0 -2
  410. package/_assets/index-BG7qJ3Aa.js +0 -4365
  411. package/_assets/index-DBFGegL3.js +0 -28
  412. package/_assets/index-DRTZJdSM.js +0 -2
  413. package/_assets/index-DW6FMcTo.js +0 -2
  414. package/_assets/jsxRuntime.module-Q9HBaTr-.js +0 -2
  415. package/_assets/linkAccount-Bev4yuZS.js +0 -2
  416. package/_assets/openzeppelin-Bi1GA2cJ.js +0 -2
  417. package/_assets/ownerOf-yybzNeeI.js +0 -2
  418. package/_assets/parseNft-wHStJKpc.js +0 -3
  419. package/_assets/send-batch-transaction-BpcguXC6.js +0 -2
  420. package/_assets/send-gasless-transaction-Y66RJHE0.js +0 -3
  421. package/_assets/session-request-CRquTW31.js +0 -3
  422. package/_assets/signin-empty-BTSk9lYx.js +0 -2
  423. package/_assets/totalSupply-Cpawfqqv.js +0 -2
  424. package/_assets/transactionReceipt-B67AwtOj.js +0 -2
  425. package/_assets/transactions-CfUmlRJ6.js +0 -17
  426. package/_assets/useInfiniteGrid-CV3Vck1D.js +0 -2
  427. package/_assets/useStore-W0Q-z1uf.js +0 -3
  428. package/_assets/wait-for-tx-receipt-CEm8zMyI.js +0 -2
@@ -1,4 +1,4 @@
1
- import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r as ht,b as pt,bI as ut,bE as ft,aJ as mt,e as xt,x as gt,cK as bt,cL as yt,s as i,a as t,y as Ze,bo as wt,F as vt,N as $e,t as s,D as jt,I as _,E as D,cM as he,bm as Ct,R as ce,by as We,bH as $t,bG as kt,A as Ke,Z as Qe,m as Je,cN as St,z as Et,aA as Rt,a0 as Tt,a2 as Be,a3 as te,aR as _t,bR as It}from"./index-BG7qJ3Aa.js";import{u as Lt,s as Nt}from"./search-empty-CXnXGBuW.js";import{i as At,u as zt,j as Mt,S as Wt,R as Bt,a as Ft,b as Pt,c as Ot,D as Ut,d as Ht,C as Dt,e as Gt,F as qt,f as Vt,g as Zt,M as Kt,h as Qt}from"./browseLayout.styles-DdpwxtcS.js";import{L as Jt}from"./LoadMore-CAovcyRj.js";import{u as Xt}from"./useInfiniteGrid-CV3Vck1D.js";import{n as Yt,S as en}from"./categories-CVmtX9AQ.js";import{E as tn}from"./ErrorNotice-DgLTEx75.js";import{d as nn}from"./dcl-schemas-CmSCesR5.js";import{s as sn,G as on,w as an,S as rn}from"./buy-gasless-CaOBmjwx.js";import{t as ln,u as cn}from"./buy-DhVTrZNv.js";import{f as dn}from"./errors-u0_epNfV.js";import{J as hn,C as pn,B as ke}from"./ethers-tJNwaRFg.js";import{n as un}from"./name-glyph-aUugT8vq.js";import{c as fn}from"./crumbs.styles-CWDzzCAG.js";import{G as mn}from"./grid.styles-Cw2pwIs-.js";import"./sentry-CpILff32.js";import"./intl-AKLEHPeO.js";import"./skeleton.styles-ClyzppIO.js";import"./authorizations-mOwNJkid.js";import"./sendMetaTransaction-BIO5pykC.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]="ce4da097-0d92-469b-8112-9cb67f50ab3b",n._sentryDebugIdIdentifier="sentry-dbid-ce4da097-0d92-469b-8112-9cb67f50ab3b")}catch{}})();function ne(n){const o=n.source??"item",r=n.tradeId||`${n.contractAddress}-${n.tokenId??n.itemId??""}`;return`${o}:${r}`}const Q="100000000000000000000",Xe=2,de=15,xn=/^[a-zA-Z0-9]+$/;function Fe(n){const o=n.trim();return o.length===0?{ok:!1,reason:"empty"}:xn.test(o)?o.length<Xe?{ok:!1,reason:"too-short"}:o.length>de?{ok:!1,reason:"too-long"}:{ok:!0}:{ok:!1,reason:"invalid-chars"}}function gn(n){return n.replace(/[^a-zA-Z0-9]/g,"").slice(0,de)}const bn=["function available(string _subdomain) view returns (bool)"],Pe={mainnet:{rpc:"https://rpc.decentraland.org/mainnet",address:"0x2a187453064356c898cae034eaed119e1663acb8"},sepolia:{rpc:"https://rpc.decentraland.org/sepolia",address:"0x7518456ae93eb98f3e64571b689c626616bb7f30"}};function yn(){return Z.chainId===Number(nn.ChainId.MATIC_MAINNET)?Pe.mainnet:Pe.sepolia}async function wn(n,o={}){var m;const{rpc:r,address:h}=yn(),d=new hn(r),b=new pn(h,bn,d);console.info(`[names] availability check → DCLRegistrar(${h}).available("${n}") on ${r}`);const l=await b.available(n);if((m=o.signal)!=null&&m.aborted)throw new DOMException("Aborted","AbortError");return console.info(`[names] "${n}" available=${l}`),l?"available":"taken"}const vn="https://app.across.to/api";class Re extends Error{constructor(){super("Name registration is temporarily unavailable due to high network costs"),this.name="NameRouteCostTooHighError"}}class Se extends Error{constructor(){super("The name could not be registered on Ethereum; your funds were recovered."),this.name="NameNotRegisteredError"}}class Ee extends Error{constructor(){super("We couldn't confirm whether the purchase went through."),this.name="NameSettlementUnknownError"}}function jn(n){return mt(Q,n)}async function Cn(n,o,r={}){var m;const h=r.chainId??Z.chainId,d=r.provider??"across",b=`${Z.creditsServerUrl}/credits-name-route?name=${encodeURIComponent(o)}&chainId=${h}&provider=${d}`,l=await xt(b,{method:"GET",identity:n,metadata:{}});if(!l.ok){let c;try{c=(m=await l.json())==null?void 0:m.code}catch{}throw c==="ROUTE_COST_TOO_HIGH"?new Re:new Error(`fetchNameCreditRoute ${l.status}`)}return l.json()}function $n(n,o){const r=ke.from(n.availableAmount),d=ke.from(Q).sub(r);return{credits:[{value:n.amount,expiresAt:Number(n.expiresAt),salt:cn(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:d.isNegative()?"0":d.toString(),maxCreditedValue:Q}}async function kn(n,o={}){const r=vn,h=o.intervalMs??1e4,d=o.maxAttempts??60;let b={status:"pending",destinationTxHash:null,actionsSucceeded:null};for(let l=0;l<d;l++){try{const m=await fetch(`${r}/deposit/status?originChainId=137&depositTxHash=${n}`);if(m.ok){const c=await m.json(),y=(c.status??"pending").toLowerCase(),f=c.fillTx??c.fillTxnRef??null,j=typeof c.actionsSucceeded=="boolean"?c.actionsSucceeded:null;if(y==="filled")return{status:"filled",destinationTxHash:f,actionsSucceeded:j};if(y==="refunded"||y==="expired")return{status:y,destinationTxHash:null,actionsSucceeded:!1};b={status:"pending",destinationTxHash:f,actionsSucceeded:j}}}catch{}l<d-1&&await new Promise(m=>setTimeout(m,h))}return b}async function Sn(n){const{name:o,identity:r,signer:h}=n,d=f=>{var j;try{(j=n.onProgress)==null||j.call(n,f)}catch{}},b=n.chainId??Z.chainId,l=n.provider??"across",m=(n.beneficiary??await h.getAddress()).toLowerCase();let c=null,y="unconfirmed";console.info("[names] register start",{name:o,buyer:m,chainId:b,provider:l}),d("preparing");try{const f=await ht(pt(Z.chainId).address),j=jn(f);console.info("[names] step 1/6 sized reservation",{usdCents:j,manaRate:f});const C=await Cn(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 x=await ut(r,j,void 0,void 0,o);if(c=x.credit.id,console.info("[names] step 3/6 credit authorized",{creditId:x.credit.id,maxCreditedValue:x.maxCreditedValue}),ke.from(x.maxCreditedValue).lt(Q))throw new Error("Credit under-sized for the name price");d("awaiting-confirmation");const S=$n(x.credit,C);let p;try{p=await sn({chainId:b,buyer:m,signer:h,args:S})}catch(g){if(!(g instanceof on))throw g;if(g.reason==="relayer-unreachable"){y="unobservable";const I=new Ee;throw I.cause=g,I}p=await ln(b,S,h)}if(console.info("[names] step 4/6 useCredits submitted (Polygon origin tx)",{originTxHash:p}),d("confirming"),await an(p),y="confirmed",console.info("[names] step 5/6 origin tx confirmed",{originTxHash:p}),l==="across"){d("registering");const g=await kn(p,n.acrossPoll);if(console.info("[names] step 6/6 across status",g),g.status==="pending")return{status:"pending",originTxHash:p};if(g.status==="filled"&&g.actionsSucceeded===null)return console.warn("[names] across filled without reporting actionsSucceeded — reporting pending",{originTxHash:p}),{status:"pending",originTxHash:p};if(g.status!=="filled"||g.actionsSucceeded!==!0)throw new Se;return{status:"registered",originTxHash:p,destinationTxHash:g.destinationTxHash}}return{status:"pending",originTxHash:p}}catch(f){if(console.error("[names] register failed — raw error:",f,{name:o,buyer:m,originState:y}),f instanceof rn)return{status:"pending",originTxHash:f.txHash};if(c&&y==="unconfirmed"&&await ft(r,[c]).catch(()=>{}),f instanceof Re||f instanceof Se||f instanceof Ee)throw f;const j=new Error(dn(f,"Couldn't register the name. Please try again.",{sale:!0}));throw j.cause=f,j}}function En(){const{data:n}=gt({queryKey:["feature-flag","shop-names"],queryFn:()=>bt(yt.SHOP_NAMES),staleTime:6e4,refetchOnWindowFocus:!0,retry:1});return n===!0}const Rn=60,Tn=700,_n=25;function In(n){if(!n)return[];const o=[];for(let r=1;r<=n.length;r++)o.push({text:n.slice(0,r),delay:Rn});o[o.length-1]={text:n,delay:Tn};for(let r=n.length-1;r>=1;r--)o.push({text:n.slice(0,r),delay:_n});return o}function Ln(n){return n.flatMap(In)}function Nn(n,o){const r=u.useMemo(()=>Ln(n),[n]),[h,d]=u.useState(0);return u.useEffect(()=>{if(!o||r.length===0)return;const b=setTimeout(()=>d(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 An="https://cdn.decentraland.org/@dcl/shop/1.13.1-35147466824.commit-691c71e/_assets/name-verified-oGwQ3ntb.svg",zn="#34fee6",Mn=i.div`
1
+ import{r as u,b as Ve,j as e,u as dt}from"./react-BtO5oQjI.js";import{c as Z,r as ht,b as pt,bI as ut,bE as ft,aM as mt,e as xt,x as gt,cW as bt,cX as yt,s as o,a as t,y as Ze,bo as wt,F as vt,N as $e,t as s,D as jt,I as _,E as D,cY as he,bm as Ct,W as ce,by as We,bH as $t,bG as kt,A as Qe,a2 as Ke,m as Xe,bV as St,z as Et,aD as Rt,a4 as Tt,a6 as Be,a7 as te,aR as _t,bR as It}from"./index-Byj8sJaC.js";import{u as Lt,s as Nt}from"./search-empty-4OjRNb5h.js";import{C as At,u as zt,n as Mt,S as Wt,R as Bt,F as Ft,a as Pt}from"./Filters-asMc51Jo.js";import{L as Ot}from"./LoadMore-DTTb4mbK.js";import{u as Ut}from"./useInfiniteGrid-Swmy428I.js";import{S as Ht}from"./categories-4PQU8mVO.js";import{E as Dt}from"./ErrorNotice-DEzVeIBz.js";import{d as Gt}from"./dcl-schemas-34_X2RYP.js";import{s as qt,G as Vt,w as Zt,S as Qt}from"./buy-gasless-Co6zCsFc.js";import{s as Kt}from"./buy-CObI28Dp.js";import{o as Xt}from"./trade-encoding-DZyyotej.js";import{f as Jt}from"./errors-BL4Tfl40.js";import{J as Yt,C as en,B as ke}from"./ethers-Ct62Fyk8.js";import{n as tn}from"./name-glyph-aUugT8vq.js";import{c as nn}from"./crumbs.styles-Bm7X-KR2.js";import{n as sn}from"./Tooltip-_dwToV-k.js";import{G as on}from"./grid.styles-U3UceW9u.js";import{R as an,S as rn,a as ln,D as cn,b as dn,C as hn,c as pn,d as un,e as fn,M as mn}from"./browseLayout.styles-CMTVkSac.js";import"./sentry-Dt8gif7Q.js";import"./intl-AKLEHPeO.js";import"./skeleton.styles-DizobWQq.js";import"./authorizations-DXeZuq2r.js";import"./sendMetaTransaction-DWzFLF23.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new n.Error().stack;i&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[i]="26a6e4d1-05d4-4401-99bb-da42e1565d7d",n._sentryDebugIdIdentifier="sentry-dbid-26a6e4d1-05d4-4401-99bb-da42e1565d7d")}catch{}})();function ne(n){const i=n.source??"item",r=n.tradeId||`${n.contractAddress}-${n.tokenId??n.itemId??""}`;return`${i}:${r}`}const K="100000000000000000000",Je=2,de=15,xn=/^[a-zA-Z0-9]+$/;function Fe(n){const i=n.trim();return i.length===0?{ok:!1,reason:"empty"}:xn.test(i)?i.length<Je?{ok:!1,reason:"too-short"}:i.length>de?{ok:!1,reason:"too-long"}:{ok:!0}:{ok:!1,reason:"invalid-chars"}}function gn(n){return n.replace(/[^a-zA-Z0-9]/g,"").slice(0,de)}const bn=["function available(string _subdomain) view returns (bool)"],Pe={mainnet:{rpc:"https://rpc.decentraland.org/mainnet",address:"0x2a187453064356c898cae034eaed119e1663acb8"},sepolia:{rpc:"https://rpc.decentraland.org/sepolia",address:"0x7518456ae93eb98f3e64571b689c626616bb7f30"}};function yn(){return Z.chainId===Number(Gt.ChainId.MATIC_MAINNET)?Pe.mainnet:Pe.sepolia}async function wn(n,i={}){var m;const{rpc:r,address:h}=yn(),d=new Yt(r),b=new en(h,bn,d);console.info(`[names] availability check → DCLRegistrar(${h}).available("${n}") on ${r}`);const l=await b.available(n);if((m=i.signal)!=null&&m.aborted)throw new DOMException("Aborted","AbortError");return console.info(`[names] "${n}" available=${l}`),l?"available":"taken"}const vn="https://app.across.to/api";class Re extends Error{constructor(){super("Name registration is temporarily unavailable due to high network costs"),this.name="NameRouteCostTooHighError"}}class Se extends Error{constructor(){super("The name could not be registered on Ethereum; your funds were recovered."),this.name="NameNotRegisteredError"}}class Ee extends Error{constructor(){super("We couldn't confirm whether the purchase went through."),this.name="NameSettlementUnknownError"}}function jn(n){return mt(K,n)}async function Cn(n,i,r={}){var m;const h=r.chainId??Z.chainId,d=r.provider??"across",b=`${Z.creditsServerUrl}/credits-name-route?name=${encodeURIComponent(i)}&chainId=${h}&provider=${d}`,l=await xt(b,{method:"GET",identity:n,metadata:{}});if(!l.ok){let c;try{c=(m=await l.json())==null?void 0:m.code}catch{}throw c==="ROUTE_COST_TOO_HIGH"?new Re:new Error(`fetchNameCreditRoute ${l.status}`)}return l.json()}function $n(n,i){const r=ke.from(n.availableAmount),d=ke.from(K).sub(r);return{credits:[{value:n.amount,expiresAt:Number(n.expiresAt),salt:Xt(n.id)}],creditsSignatures:[n.signature],externalCall:{target:i.externalCall.target,selector:i.externalCall.selector,data:i.externalCall.data,expiresAt:i.externalCall.expiresAt,salt:i.externalCall.salt},customExternalCallSignature:i.customExternalCallSignature,maxUncreditedValue:d.isNegative()?"0":d.toString(),maxCreditedValue:K}}async function kn(n,i={}){const r=vn,h=i.intervalMs??1e4,d=i.maxAttempts??60;let b={status:"pending",destinationTxHash:null,actionsSucceeded:null};for(let l=0;l<d;l++){try{const m=await fetch(`${r}/deposit/status?originChainId=137&depositTxHash=${n}`);if(m.ok){const c=await m.json(),y=(c.status??"pending").toLowerCase(),f=c.fillTx??c.fillTxnRef??null,j=typeof c.actionsSucceeded=="boolean"?c.actionsSucceeded:null;if(y==="filled")return{status:"filled",destinationTxHash:f,actionsSucceeded:j};if(y==="refunded"||y==="expired")return{status:y,destinationTxHash:null,actionsSucceeded:!1};b={status:"pending",destinationTxHash:f,actionsSucceeded:j}}}catch{}l<d-1&&await new Promise(m=>setTimeout(m,h))}return b}async function Sn(n){const{name:i,identity:r,signer:h}=n,d=f=>{var j;try{(j=n.onProgress)==null||j.call(n,f)}catch{}},b=n.chainId??Z.chainId,l=n.provider??"across",m=(n.beneficiary??await h.getAddress()).toLowerCase();let c=null,y="unconfirmed";console.info("[names] register start",{name:i,buyer:m,chainId:b,provider:l}),d("preparing");try{const f=await ht(pt(Z.chainId).address),j=jn(f);console.info("[names] step 1/6 sized reservation",{usdCents:j,manaRate:f});const C=await Cn(r,i,{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 x=await ut(r,j,void 0,void 0,i);if(c=x.credit.id,console.info("[names] step 3/6 credit authorized",{creditId:x.credit.id,maxCreditedValue:x.maxCreditedValue}),ke.from(x.maxCreditedValue).lt(K))throw new Error("Credit under-sized for the name price");d("awaiting-confirmation");const S=$n(x.credit,C);let p;try{p=await qt({chainId:b,buyer:m,signer:h,args:S})}catch(g){if(!(g instanceof Vt))throw g;if(g.reason==="relayer-unreachable"){y="unobservable";const I=new Ee;throw I.cause=g,I}p=await Kt(b,S,h)}if(console.info("[names] step 4/6 useCredits submitted (Polygon origin tx)",{originTxHash:p}),d("confirming"),await Zt(p),y="confirmed",console.info("[names] step 5/6 origin tx confirmed",{originTxHash:p}),l==="across"){d("registering");const g=await kn(p,n.acrossPoll);if(console.info("[names] step 6/6 across status",g),g.status==="pending")return{status:"pending",originTxHash:p};if(g.status==="filled"&&g.actionsSucceeded===null)return console.warn("[names] across filled without reporting actionsSucceeded — reporting pending",{originTxHash:p}),{status:"pending",originTxHash:p};if(g.status!=="filled"||g.actionsSucceeded!==!0)throw new Se;return{status:"registered",originTxHash:p,destinationTxHash:g.destinationTxHash}}return{status:"pending",originTxHash:p}}catch(f){if(console.error("[names] register failed — raw error:",f,{name:i,buyer:m,originState:y}),f instanceof Qt)return{status:"pending",originTxHash:f.txHash};if(c&&y==="unconfirmed"&&await ft(r,[c]).catch(()=>{}),f instanceof Re||f instanceof Se||f instanceof Ee)throw f;const j=new Error(Jt(f,"Couldn't register the name. Please try again.",{sale:!0}));throw j.cause=f,j}}function En(){const{data:n}=gt({queryKey:["feature-flag","shop-names"],queryFn:()=>bt(yt.SHOP_NAMES),staleTime:6e4,refetchOnWindowFocus:!0,retry:1});return n===!0}const Rn=60,Tn=700,_n=25;function In(n){if(!n)return[];const i=[];for(let r=1;r<=n.length;r++)i.push({text:n.slice(0,r),delay:Rn});i[i.length-1]={text:n,delay:Tn};for(let r=n.length-1;r>=1;r--)i.push({text:n.slice(0,r),delay:_n});return i}function Ln(n){return n.flatMap(In)}function Nn(n,i){const r=u.useMemo(()=>Ln(n),[n]),[h,d]=u.useState(0);return u.useEffect(()=>{if(!i||r.length===0)return;const b=setTimeout(()=>d(l=>(l+1)%r.length),r[h%r.length].delay);return()=>clearTimeout(b)},[h,i,r]),!i||r.length===0?"":r[h%r.length].text}const An="https://cdn.decentraland.org/@dcl/shop/1.13.1-35194712201.commit-05f9320/_assets/name-verified-oGwQ3ntb.svg",zn="#34fee6",Mn=o.div`
2
2
  position: fixed;
3
3
  inset: 0;
4
4
  z-index: 10000;
@@ -7,7 +7,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
7
7
  justify-content: center;
8
8
  padding: 16px;
9
9
  background: rgba(22, 21, 24, 0.55);
10
- `,Wn=i.div`
10
+ `,Wn=o.div`
11
11
  width: 560px;
12
12
  max-width: 100%;
13
13
  max-height: 92vh;
@@ -20,19 +20,19 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
20
20
  ${t.media.maxWidth("mobile")} {
21
21
  padding: 16px;
22
22
  }
23
- `,pe=i.div`
23
+ `,pe=o.div`
24
24
  display: flex;
25
25
  align-items: flex-start;
26
26
  justify-content: space-between;
27
27
  gap: 12px;
28
- `,ue=i.h2`
28
+ `,ue=o.h2`
29
29
  margin: 0;
30
30
  font-family: ${t.font.sans};
31
31
  font-weight: 700;
32
32
  font-size: 20px;
33
33
  line-height: 1.6;
34
34
  color: ${t.colors.text};
35
- `,fe=i.button`
35
+ `,fe=o.button`
36
36
  flex: none;
37
37
  display: grid;
38
38
  place-items: center;
@@ -55,7 +55,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
55
55
  outline: 2px solid ${t.colors.accent};
56
56
  outline-offset: 2px;
57
57
  }
58
- `,me=i.div`
58
+ `,me=o.div`
59
59
  display: flex;
60
60
  align-items: center;
61
61
  gap: 6px;
@@ -69,15 +69,15 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
69
69
  height: 16px;
70
70
  color: ${t.colors.brandViolet};
71
71
  }
72
- `,xe=i.hr`
72
+ `,xe=o.hr`
73
73
  border: 0;
74
74
  border-top: 1px solid ${t.colors.line};
75
75
  margin: 16px 0;
76
- `,ge=i.div`
76
+ `,ge=o.div`
77
77
  display: flex;
78
78
  align-items: center;
79
79
  gap: 16px;
80
- `,Bn=i.div`
80
+ `,Bn=o.div`
81
81
  flex: none;
82
82
  display: flex;
83
83
  flex-direction: column;
@@ -90,11 +90,11 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
90
90
  border-radius: 12px;
91
91
  overflow: hidden;
92
92
  background: ${t.gradients.amethyst};
93
- `,Fn=i.img`
93
+ `,Fn=o.img`
94
94
  display: block;
95
95
  width: 47px;
96
96
  height: 47px;
97
- `,Pn=i.span`
97
+ `,Pn=o.span`
98
98
  display: inline-flex;
99
99
  align-items: center;
100
100
  gap: 2px;
@@ -115,12 +115,12 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
115
115
  overflow: hidden;
116
116
  text-overflow: ellipsis;
117
117
  }
118
- `,On=i.img`
118
+ `,On=o.img`
119
119
  flex: none;
120
120
  display: block;
121
121
  width: 14px;
122
122
  height: 14px;
123
- `,Oe=i.div`
123
+ `,Oe=o.div`
124
124
  flex: none;
125
125
  display: grid;
126
126
  place-items: center;
@@ -134,10 +134,10 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
134
134
  width: 30px;
135
135
  height: 30px;
136
136
  }
137
- `,be=i.div`
137
+ `,be=o.div`
138
138
  flex: 1;
139
139
  min-width: 0;
140
- `,ye=i.div`
140
+ `,ye=o.div`
141
141
  font-family: ${t.font.sans};
142
142
  font-weight: 700;
143
143
  font-size: 20px;
@@ -151,11 +151,11 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
151
151
  font-weight: 400;
152
152
  color: ${t.colors.muted2};
153
153
  }
154
- `,we=i.div`
154
+ `,we=o.div`
155
155
  font-family: ${t.font.sans};
156
156
  font-size: 14px;
157
157
  color: ${t.colors.muted2};
158
- `,ve=i.div`
158
+ `,ve=o.div`
159
159
  flex: none;
160
160
  display: flex;
161
161
  align-items: center;
@@ -170,17 +170,17 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
170
170
  height: 22px;
171
171
  color: ${t.colors.brandViolet};
172
172
  }
173
- `,Un=i.div`
173
+ `,Un=o.div`
174
174
  margin-top: 16px;
175
175
  padding: 16px;
176
176
  border-radius: 12px;
177
177
  background: ${t.colors.promptLilac};
178
- `,Hn=i.div`
178
+ `,Hn=o.div`
179
179
  font-family: ${t.font.sans};
180
180
  font-weight: 700;
181
181
  font-size: 16px;
182
182
  color: ${t.colors.text};
183
- `,Dn=i.p`
183
+ `,Dn=o.p`
184
184
  margin: 8px 0 16px;
185
185
  font-family: ${t.font.sans};
186
186
  font-size: 14px;
@@ -196,7 +196,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
196
196
  -webkit-background-clip: text;
197
197
  color: transparent;
198
198
  }
199
- `,Gn=i.label`
199
+ `,Gn=o.label`
200
200
  display: flex;
201
201
  align-items: center;
202
202
  gap: 8px;
@@ -211,12 +211,12 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
211
211
  &:focus-within {
212
212
  border-color: ${t.colors.magenta};
213
213
  }
214
- `,qn=i.span`
214
+ `,qn=o.span`
215
215
  flex: none;
216
216
  font-family: ${t.font.sans};
217
217
  font-size: 18px;
218
218
  color: ${t.colors.muted2};
219
- `,Vn=i.input`
219
+ `,Vn=o.input`
220
220
  flex: 0 1 auto;
221
221
  min-width: 0;
222
222
  border: 0;
@@ -231,12 +231,12 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
231
231
  color: ${t.colors.muted2};
232
232
  font-weight: 400;
233
233
  }
234
- `,Zn=i.span`
234
+ `,Zn=o.span`
235
235
  flex: none;
236
236
  font-family: ${t.font.sans};
237
237
  font-size: 16px;
238
238
  color: ${t.colors.muted2};
239
- `,je=i.button`
239
+ `,je=o.button`
240
240
  margin-top: 16px;
241
241
  width: 100%;
242
242
  height: 46px;
@@ -266,7 +266,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
266
266
  cursor: not-allowed;
267
267
  opacity: 0.5;
268
268
  }
269
- `,Kn=i.div`
269
+ `,Qn=o.div`
270
270
  display: flex;
271
271
  flex: 1;
272
272
  flex-direction: column;
@@ -274,36 +274,36 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
274
274
  justify-content: center;
275
275
  gap: 32px;
276
276
  padding: 32px 0 8px;
277
- `,Qn=i.img`
277
+ `,Kn=o.img`
278
278
  width: 61px;
279
279
  height: 61px;
280
- `,Jn=i.div`
280
+ `,Xn=o.div`
281
281
  display: flex;
282
282
  flex-direction: column;
283
283
  align-items: center;
284
284
  gap: 8px;
285
285
  width: 100%;
286
- `,Xn=i.div`
286
+ `,Jn=o.div`
287
287
  font-family: ${t.font.sans};
288
288
  font-weight: 700;
289
289
  font-size: 20px;
290
290
  line-height: 1.6;
291
291
  color: ${t.colors.text2};
292
292
  text-align: center;
293
- `,Yn=i.p`
293
+ `,Yn=o.p`
294
294
  max-width: 400px;
295
295
  font-family: ${t.font.sans};
296
296
  font-size: 14px;
297
297
  line-height: 1.57;
298
298
  color: ${t.colors.muted};
299
299
  text-align: center;
300
- `,es=i.div`
300
+ `,es=o.div`
301
301
  display: flex;
302
302
  align-items: center;
303
303
  justify-content: center;
304
304
  gap: 8px;
305
305
  width: 100%;
306
- `,ts=i.div`
306
+ `,ts=o.div`
307
307
  flex: 1;
308
308
  max-width: 400px;
309
309
  height: 10px;
@@ -335,13 +335,13 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
335
335
  animation: none;
336
336
  }
337
337
  }
338
- `,ns=i.span`
338
+ `,ns=o.span`
339
339
  flex: none;
340
340
  font-family: ${t.font.sans};
341
341
  font-size: 16px;
342
342
  line-height: 22px;
343
343
  color: ${t.colors.text2};
344
- `,ss=i.div`
344
+ `,ss=o.div`
345
345
  display: flex;
346
346
  flex-direction: column;
347
347
  align-items: center;
@@ -350,7 +350,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
350
350
  border-radius: 12px;
351
351
  background: #e2f5ea;
352
352
  text-align: center;
353
- `,is=i.div`
353
+ `,os=o.div`
354
354
  display: grid;
355
355
  place-items: center;
356
356
  width: 56px;
@@ -363,7 +363,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
363
363
  width: 30px;
364
364
  height: 30px;
365
365
  }
366
- `,os=i.p`
366
+ `,is=o.p`
367
367
  margin: 0;
368
368
  font-family: ${t.font.sans};
369
369
  font-size: 16px;
@@ -373,7 +373,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
373
373
  b {
374
374
  font-weight: 700;
375
375
  }
376
- `,Ue=i.div`
376
+ `,Ue=o.div`
377
377
  display: flex;
378
378
  gap: 16px;
379
379
  margin-top: 20px;
@@ -381,7 +381,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
381
381
  ${t.media.maxWidth("mobile")} {
382
382
  flex-direction: column;
383
383
  }
384
- `,He=i.button`
384
+ `,He=o.button`
385
385
  flex: 1;
386
386
  height: 48px;
387
387
  border: 1px solid ${t.colors.accent};
@@ -402,7 +402,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
402
402
  outline: 2px solid ${t.colors.accent};
403
403
  outline-offset: 2px;
404
404
  }
405
- `,as=i.a`
405
+ `,as=o.a`
406
406
  flex: 1;
407
407
  display: inline-flex;
408
408
  align-items: center;
@@ -426,7 +426,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
426
426
  outline: 2px solid ${t.colors.accent};
427
427
  outline-offset: 2px;
428
428
  }
429
- `,Ce=i.div`
429
+ `,Ce=o.div`
430
430
  display: flex;
431
431
  align-items: flex-start;
432
432
  gap: 12px;
@@ -458,10 +458,10 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
458
458
  color: ${t.colors.accent};
459
459
  }
460
460
  }
461
- `;function rs({name:n,priceCredits:o,onClose:r}){const{session:h}=Ze(),{data:d,isError:b}=wt(h),l=vt(),m=Ve(),[c,y]=u.useState("confirm"),[f,j]=u.useState(""),[C,x]=u.useState(null),[S,p]=u.useState(!1),[g,I]=u.useState("preparing"),L=u.useRef(!1),N=f.trim().toLowerCase()===n.toLowerCase(),E=c==="completing",P=o!=null?$e(o):"—",$=o==null,k=d==null?void 0:d.credits,A=o!=null&&k!=null?o-k:0,R=A>0,G=$?s("names.priceUnavailable"):R?s("names.insufficientCredits",{credits:$e(A)}):null;u.useEffect(()=>{const w=O=>{O.key==="Escape"&&!E&&r()};document.addEventListener("keydown",w);const F=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",w),document.body.style.overflow=F}},[E,r]);async function z(){if(!(!h||!N||$||R||L.current)){L.current=!0,y("completing"),x(null),I("preparing");try{const w=await Sn({name:n,identity:h.identity,signer:h.signer,onProgress:I});ce("Shop Completed Purchase",{items:[{item_id:null,contract_address:null,token_id:null,price_usd:We(o??0),category:"name",is_smart:!1}],purchase_type:"name",is_primary:!0,payment_type:"credits",value_credits:o??null,value_usd:We(o??0),transaction_hash:w.originTxHash??null,settlement:w.status}),l.invalidateQueries({queryKey:["usd-balance"]}),l.invalidateQueries({queryKey:["my-assets"]}),y(w.status==="registered"?"success":"pending")}catch(w){ce(kt(w)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"submit",error_code:$t(w),purchase_type:"name"});const F=w instanceof Se,O=w instanceof Ee;x(w instanceof Re?s("names.errorRouteCost"):F?s("names.errorNotRegistered"):O?s("names.errorSettlementUnknown"):(w==null?void 0:w.message)||s("names.errorGeneric")),p(F||O),y("error")}finally{L.current=!1}}}const M=c!=="success"&&c!=="pending",v=jt(h==null?void 0:h.providerType),W=v?2:1,B=v&&(g==="preparing"||g==="awaiting-confirmation"),T=B?1:W,J=B?s("names.confirming"):s("names.completing"),K=g==="registering"?s("names.processingRegistering"):null;return e.jsx(Mn,{onClick:E?void 0:r,role:"presentation",children:e.jsxs(Wn,{role:"dialog","aria-modal":"true","aria-label":s("names.buyTitle"),onClick:w=>w.stopPropagation(),children:[M&&e.jsxs(e.Fragment,{children:[e.jsxs(pe,{children:[e.jsx(ue,{children:c==="error"?s("names.errorTitle"):s("names.buyTitle")}),e.jsx(fe,{onClick:r,disabled:E,"aria-label":s("buyModal.close"),children:e.jsx(_,{name:"close"})})]}),e.jsxs(me,{children:[s("names.myCreditsBalance")," ",e.jsx(D,{})," ",he(d,b)]}),e.jsx(xe,{})]}),(c==="confirm"||c==="error")&&e.jsxs(e.Fragment,{children:[e.jsxs(ge,{children:[e.jsx(Oe,{"aria-hidden":!0,children:"@"}),e.jsxs(be,{children:[e.jsxs(ye,{children:[n,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(we,{children:s("names.subtitle")})]}),e.jsxs(ve,{children:[e.jsx(D,{}),P]})]}),c==="error"?e.jsxs(e.Fragment,{children:[e.jsxs(Ce,{children:[e.jsx(_,{name:"info","aria-hidden":!0}),e.jsx("span",{children:C})]}),S?e.jsx(je,{onClick:r,children:s("names.errorSpentDismiss")}):e.jsx(je,{onClick:()=>y("confirm"),children:s("names.tryAgain")})]}):e.jsxs(e.Fragment,{children:[e.jsxs(Un,{children:[e.jsx(Hn,{children:s("names.confirmTitle")}),e.jsx(Dn,{dangerouslySetInnerHTML:{__html:s("names.confirmBody",{name:`<b>@${ls(n)}</b>`})}}),e.jsxs(Gn,{children:[e.jsx(qn,{"aria-hidden":!0,children:"@"}),e.jsx(Vn,{value:f,onChange:w=>j(w.target.value.replace(/[^a-zA-Z0-9]/g,"")),placeholder:"yourname","aria-label":s("names.reenterAria"),autoComplete:"off",spellCheck:!1,style:{width:`${Math.max(f.length,8)}ch`}}),e.jsx(Zn,{children:".dcl.eth"})]})]}),G?e.jsxs(Ce,{"data-tone":"info","data-testid":"name-blocked-reason",children:[e.jsx(_,{name:"info","aria-hidden":!0}),e.jsx("span",{children:G})]}):null,e.jsx(je,{onClick:()=>void z(),disabled:!N||!h||$||R,children:s("names.buyCta")})]})]}),c==="completing"&&e.jsxs(Kn,{children:[e.jsx(Qn,{src:Ct,alt:"",width:61,height:61}),e.jsxs(Jn,{children:[e.jsx(Xn,{children:J}),e.jsxs(es,{children:[e.jsx(ts,{"aria-hidden":!0,children:e.jsx("span",{})}),e.jsx(ns,{"data-testid":"name-progress-count",children:`${T}/${W}`})]}),K?e.jsx(Yn,{children:K}):null]})]}),c==="pending"&&e.jsxs(e.Fragment,{children:[e.jsxs(pe,{children:[e.jsx(ue,{children:s("names.pendingHeaderTitle")}),e.jsx(fe,{onClick:r,"aria-label":s("buyModal.close"),children:e.jsx(_,{name:"close"})})]}),e.jsxs(me,{children:[s("names.myCreditsBalance")," ",e.jsx(D,{})," ",he(d,b)]}),e.jsx(xe,{}),e.jsxs(Ce,{"data-tone":"info",children:[e.jsx(_,{name:"info","aria-hidden":!0}),e.jsxs("span",{children:[e.jsx("b",{children:s("names.pendingBannerBold")})," ",s("names.pendingBannerRest")]})]}),e.jsxs(ge,{style:{marginTop:20},children:[e.jsx(Oe,{"aria-hidden":!0,children:"@"}),e.jsxs(be,{children:[e.jsxs(ye,{children:[n,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(we,{children:s("names.subtitle")})]}),e.jsxs(ve,{children:[e.jsx(D,{}),P]})]}),e.jsx(Ue,{children:e.jsx(He,{onClick:()=>{r(),m("/my-items")},children:s("names.myItems")})})]}),c==="success"&&e.jsxs(e.Fragment,{children:[e.jsxs(pe,{children:[e.jsx(ue,{children:s("names.successHeaderTitle")}),e.jsx(fe,{onClick:r,"aria-label":s("buyModal.close"),children:e.jsx(_,{name:"close"})})]}),e.jsxs(me,{children:[s("names.myCreditsBalance")," ",e.jsx(D,{})," ",he(d,b)]}),e.jsx(xe,{}),e.jsxs(ss,{children:[e.jsx(is,{"aria-hidden":!0,children:e.jsx(_,{name:"check"})}),e.jsxs(os,{children:[e.jsx("b",{children:s("names.successBannerBold")})," ",s("names.successBannerRest")]})]}),e.jsxs(ge,{style:{marginTop:20},children:[e.jsxs(Bn,{"data-testid":"name-success-tile",children:[e.jsx(Fn,{src:un,alt:"","aria-hidden":!0,width:47,height:47}),e.jsxs(Pn,{children:[e.jsx("span",{"aria-hidden":!0,children:n}),e.jsx(On,{src:An,alt:"","aria-hidden":!0,width:14,height:14})]})]}),e.jsxs(be,{children:[e.jsxs(ye,{children:[n,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(we,{children:s("names.subtitle")})]}),e.jsxs(ve,{children:[e.jsx(D,{}),P]})]}),e.jsxs(Ue,{children:[e.jsx(He,{onClick:()=>{r(),m("/my-items")},children:s("names.myItems")}),e.jsx(as,{href:Z.profileUrl,target:"_blank",rel:"noopener noreferrer",children:s("names.assignToAvatar")})]})]})]})})}function ls(n){return n.replace(/[&<>"']/g,o=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"})[o])}const cs="https://cdn.decentraland.org/@dcl/shop/1.13.1-35147466824.commit-691c71e/_assets/identity-icon-C8yAW_Gq.svg",ds="https://cdn.decentraland.org/@dcl/shop/1.13.1-35147466824.commit-691c71e/_assets/world-icon-6xQ-PmmW.svg",hs="https://cdn.decentraland.org/@dcl/shop/1.13.1-35147466824.commit-691c71e/_assets/invite-icon-Bz6lCTuB.svg",ps="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",us=i.div`
461
+ `;function rs({name:n,priceCredits:i,onClose:r}){const{session:h}=Ze(),{data:d,isError:b}=wt(h),l=vt(),m=Ve(),[c,y]=u.useState("confirm"),[f,j]=u.useState(""),[C,x]=u.useState(null),[S,p]=u.useState(!1),[g,I]=u.useState("preparing"),L=u.useRef(!1),N=f.trim().toLowerCase()===n.toLowerCase(),E=c==="completing",P=i!=null?$e(i):"—",$=i==null,k=d==null?void 0:d.credits,A=i!=null&&k!=null?i-k:0,R=A>0,G=$?s("names.priceUnavailable"):R?s("names.insufficientCredits",{credits:$e(A)}):null;u.useEffect(()=>{const w=O=>{O.key==="Escape"&&!E&&r()};document.addEventListener("keydown",w);const F=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",w),document.body.style.overflow=F}},[E,r]);async function z(){if(!(!h||!N||$||R||L.current)){L.current=!0,y("completing"),x(null),I("preparing");try{const w=await Sn({name:n,identity:h.identity,signer:h.signer,onProgress:I});ce("Shop Completed Purchase",{items:[{item_id:null,contract_address:null,token_id:null,price_usd:We(i??0),category:"name",is_smart:!1}],purchase_type:"name",is_primary:!0,payment_type:"credits",value_credits:i??null,value_usd:We(i??0),transaction_hash:w.originTxHash??null,settlement:w.status}),l.invalidateQueries({queryKey:["usd-balance"]}),l.invalidateQueries({queryKey:["my-assets"]}),y(w.status==="registered"?"success":"pending")}catch(w){ce(kt(w)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"submit",error_code:$t(w),purchase_type:"name"});const F=w instanceof Se,O=w instanceof Ee;x(w instanceof Re?s("names.errorRouteCost"):F?s("names.errorNotRegistered"):O?s("names.errorSettlementUnknown"):(w==null?void 0:w.message)||s("names.errorGeneric")),p(F||O),y("error")}finally{L.current=!1}}}const M=c!=="success"&&c!=="pending",v=jt(h==null?void 0:h.providerType),W=v?2:1,B=v&&(g==="preparing"||g==="awaiting-confirmation"),T=B?1:W,X=B?s("names.confirming"):s("names.completing"),Q=g==="registering"?s("names.processingRegistering"):null;return e.jsx(Mn,{onClick:E?void 0:r,role:"presentation",children:e.jsxs(Wn,{role:"dialog","aria-modal":"true","aria-label":s("names.buyTitle"),onClick:w=>w.stopPropagation(),children:[M&&e.jsxs(e.Fragment,{children:[e.jsxs(pe,{children:[e.jsx(ue,{children:c==="error"?s("names.errorTitle"):s("names.buyTitle")}),e.jsx(fe,{onClick:r,disabled:E,"aria-label":s("buyModal.close"),children:e.jsx(_,{name:"close"})})]}),e.jsxs(me,{children:[s("names.myCreditsBalance")," ",e.jsx(D,{})," ",he(d,b)]}),e.jsx(xe,{})]}),(c==="confirm"||c==="error")&&e.jsxs(e.Fragment,{children:[e.jsxs(ge,{children:[e.jsx(Oe,{"aria-hidden":!0,children:"@"}),e.jsxs(be,{children:[e.jsxs(ye,{children:[n,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(we,{children:s("names.subtitle")})]}),e.jsxs(ve,{children:[e.jsx(D,{}),P]})]}),c==="error"?e.jsxs(e.Fragment,{children:[e.jsxs(Ce,{children:[e.jsx(_,{name:"info","aria-hidden":!0}),e.jsx("span",{children:C})]}),S?e.jsx(je,{onClick:r,children:s("names.errorSpentDismiss")}):e.jsx(je,{onClick:()=>y("confirm"),children:s("names.tryAgain")})]}):e.jsxs(e.Fragment,{children:[e.jsxs(Un,{children:[e.jsx(Hn,{children:s("names.confirmTitle")}),e.jsx(Dn,{dangerouslySetInnerHTML:{__html:s("names.confirmBody",{name:`<b>@${ls(n)}</b>`})}}),e.jsxs(Gn,{children:[e.jsx(qn,{"aria-hidden":!0,children:"@"}),e.jsx(Vn,{value:f,onChange:w=>j(w.target.value.replace(/[^a-zA-Z0-9]/g,"")),placeholder:"yourname","aria-label":s("names.reenterAria"),autoComplete:"off",spellCheck:!1,style:{width:`${Math.max(f.length,8)}ch`}}),e.jsx(Zn,{children:".dcl.eth"})]})]}),G?e.jsxs(Ce,{"data-tone":"info","data-testid":"name-blocked-reason",children:[e.jsx(_,{name:"info","aria-hidden":!0}),e.jsx("span",{children:G})]}):null,e.jsx(je,{onClick:()=>void z(),disabled:!N||!h||$||R,children:s("names.buyCta")})]})]}),c==="completing"&&e.jsxs(Qn,{children:[e.jsx(Kn,{src:Ct,alt:"",width:61,height:61}),e.jsxs(Xn,{children:[e.jsx(Jn,{children:X}),e.jsxs(es,{children:[e.jsx(ts,{"aria-hidden":!0,children:e.jsx("span",{})}),e.jsx(ns,{"data-testid":"name-progress-count",children:`${T}/${W}`})]}),Q?e.jsx(Yn,{children:Q}):null]})]}),c==="pending"&&e.jsxs(e.Fragment,{children:[e.jsxs(pe,{children:[e.jsx(ue,{children:s("names.pendingHeaderTitle")}),e.jsx(fe,{onClick:r,"aria-label":s("buyModal.close"),children:e.jsx(_,{name:"close"})})]}),e.jsxs(me,{children:[s("names.myCreditsBalance")," ",e.jsx(D,{})," ",he(d,b)]}),e.jsx(xe,{}),e.jsxs(Ce,{"data-tone":"info",children:[e.jsx(_,{name:"info","aria-hidden":!0}),e.jsxs("span",{children:[e.jsx("b",{children:s("names.pendingBannerBold")})," ",s("names.pendingBannerRest")]})]}),e.jsxs(ge,{style:{marginTop:20},children:[e.jsx(Oe,{"aria-hidden":!0,children:"@"}),e.jsxs(be,{children:[e.jsxs(ye,{children:[n,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(we,{children:s("names.subtitle")})]}),e.jsxs(ve,{children:[e.jsx(D,{}),P]})]}),e.jsx(Ue,{children:e.jsx(He,{onClick:()=>{r(),m("/my-items")},children:s("names.myItems")})})]}),c==="success"&&e.jsxs(e.Fragment,{children:[e.jsxs(pe,{children:[e.jsx(ue,{children:s("names.successHeaderTitle")}),e.jsx(fe,{onClick:r,"aria-label":s("buyModal.close"),children:e.jsx(_,{name:"close"})})]}),e.jsxs(me,{children:[s("names.myCreditsBalance")," ",e.jsx(D,{})," ",he(d,b)]}),e.jsx(xe,{}),e.jsxs(ss,{children:[e.jsx(os,{"aria-hidden":!0,children:e.jsx(_,{name:"check"})}),e.jsxs(is,{children:[e.jsx("b",{children:s("names.successBannerBold")})," ",s("names.successBannerRest")]})]}),e.jsxs(ge,{style:{marginTop:20},children:[e.jsxs(Bn,{"data-testid":"name-success-tile",children:[e.jsx(Fn,{src:tn,alt:"","aria-hidden":!0,width:47,height:47}),e.jsxs(Pn,{children:[e.jsx("span",{"aria-hidden":!0,children:n}),e.jsx(On,{src:An,alt:"","aria-hidden":!0,width:14,height:14})]})]}),e.jsxs(be,{children:[e.jsxs(ye,{children:[n,e.jsx("span",{children:".dcl.eth"})]}),e.jsx(we,{children:s("names.subtitle")})]}),e.jsxs(ve,{children:[e.jsx(D,{}),P]})]}),e.jsxs(Ue,{children:[e.jsx(He,{onClick:()=>{r(),m("/my-items")},children:s("names.myItems")}),e.jsx(as,{href:Z.profileUrl,target:"_blank",rel:"noopener noreferrer",children:s("names.assignToAvatar")})]})]})]})})}function ls(n){return n.replace(/[&<>"']/g,i=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"})[i])}const cs="https://cdn.decentraland.org/@dcl/shop/1.13.1-35194712201.commit-05f9320/_assets/identity-icon-C8yAW_Gq.svg",ds="https://cdn.decentraland.org/@dcl/shop/1.13.1-35194712201.commit-05f9320/_assets/world-icon-6xQ-PmmW.svg",hs="https://cdn.decentraland.org/@dcl/shop/1.13.1-35194712201.commit-05f9320/_assets/invite-icon-Bz6lCTuB.svg",ps="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",us=o.div`
462
462
  width: 100%;
463
463
  min-width: 0;
464
- `,fs=i.nav`
464
+ `,fs=o.nav`
465
465
  display: flex;
466
466
  align-items: center;
467
467
  gap: 6px;
@@ -470,8 +470,8 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
470
470
  font-size: 12px;
471
471
  line-height: 1;
472
472
  color: ${t.colors.gray4};
473
- ${fn};
474
- `,ms=i.button`
473
+ ${nn};
474
+ `,ms=o.button`
475
475
  border: 0;
476
476
  background: none;
477
477
  padding: 0;
@@ -487,10 +487,10 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
487
487
  outline: 2px solid ${t.colors.white};
488
488
  outline-offset: 2px;
489
489
  }
490
- `,xs=i.span`
490
+ `,xs=o.span`
491
491
  font-weight: 700;
492
492
  color: ${t.colors.softWhite};
493
- `,gs=i.div`
493
+ `,gs=o.div`
494
494
  display: flex;
495
495
  flex-direction: column;
496
496
  gap: 48px;
@@ -500,7 +500,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
500
500
  gap: 32px;
501
501
  padding-bottom: 32px;
502
502
  }
503
- `,bs=i.div`
503
+ `,bs=o.div`
504
504
  position: relative;
505
505
  border: 1px solid ${t.colors.magenta};
506
506
  border-radius: 24px;
@@ -517,12 +517,12 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
517
517
  padding: 40px 20px;
518
518
  gap: 28px;
519
519
  }
520
- `,ys=i.div`
520
+ `,ys=o.div`
521
521
  display: flex;
522
522
  flex-direction: column;
523
523
  align-items: center;
524
524
  gap: 12px;
525
- `,ws=i.h1`
525
+ `,ws=o.h1`
526
526
  margin: 0;
527
527
  font-family: ${t.font.sans};
528
528
  font-weight: 600;
@@ -533,7 +533,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
533
533
  ${t.media.maxWidth("mobile")} {
534
534
  font-size: 26px;
535
535
  }
536
- `,vs=i.p`
536
+ `,vs=o.p`
537
537
  margin: 0;
538
538
  max-width: 760px;
539
539
  font-family: ${t.font.sans};
@@ -545,14 +545,14 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
545
545
  ${t.media.maxWidth("mobile")} {
546
546
  font-size: 16px;
547
547
  }
548
- `,js=i.div`
548
+ `,js=o.div`
549
549
  width: min(785px, 100%);
550
550
  display: flex;
551
551
  flex-direction: column;
552
552
  gap: 12px;
553
- `,Cs=i.div`
553
+ `,Cs=o.div`
554
554
  position: relative;
555
- `,$s=i("div",Yt("invalid"))`
555
+ `,$s=o("div",sn("invalid"))`
556
556
  display: flex;
557
557
  align-items: center;
558
558
  gap: 8px;
@@ -570,7 +570,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
570
570
  ${t.media.maxWidth("mobile")} {
571
571
  border-radius: 16px;
572
572
  }
573
- `,ks=i.span`
573
+ `,ks=o.span`
574
574
  position: absolute;
575
575
  left: -9999px;
576
576
  top: 0;
@@ -592,7 +592,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
592
592
  ${t.media.maxWidth("mobile")} {
593
593
  font-size: 16px;
594
594
  }
595
- `,Ss=i.div`
595
+ `,Ss=o.div`
596
596
  position: absolute;
597
597
  top: calc(100% + 8px);
598
598
  left: 0;
@@ -617,7 +617,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
617
617
  align-items: flex-start;
618
618
  flex-wrap: wrap;
619
619
  }
620
- `,Ye=i.a`
620
+ `,Ye=o.a`
621
621
  display: inline-flex;
622
622
  align-items: center;
623
623
  gap: 2px;
@@ -630,9 +630,9 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
630
630
  ${t.media.maxWidth("mobile")} {
631
631
  margin-left: 0;
632
632
  }
633
- `,Es=i(Ye)`
633
+ `,Es=o(Ye)`
634
634
  color: #ec303a;
635
- `,Rs=i.label`
635
+ `,Rs=o.label`
636
636
  flex: 1;
637
637
  min-width: 0;
638
638
  display: flex;
@@ -640,7 +640,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
640
640
  gap: 0;
641
641
  cursor: text;
642
642
  overflow: hidden;
643
- `,Ts=i.span`
643
+ `,Ts=o.span`
644
644
  flex: none;
645
645
  margin-right: 8px;
646
646
  font-family: ${t.font.sans};
@@ -652,7 +652,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
652
652
  ${t.media.maxWidth("mobile")} {
653
653
  font-size: 20px;
654
654
  }
655
- `,_s=i.input`
655
+ `,_s=o.input`
656
656
  flex: 0 1 auto;
657
657
  min-width: 0;
658
658
  max-width: 100%;
@@ -674,7 +674,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
674
674
  ${t.media.maxWidth("mobile")} {
675
675
  font-size: 16px;
676
676
  }
677
- `,Is=i.span`
677
+ `,Is=o.span`
678
678
  flex: none;
679
679
  /* Flush against the name: "yourname.dcl.eth" has to read as one address, and at 20px even a couple of
680
680
  pixels here look like a space someone typed by mistake. */
@@ -691,14 +691,14 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
691
691
  ${t.media.maxWidth("mobile")} {
692
692
  font-size: 16px;
693
693
  }
694
- `,Ls=i.span`
694
+ `,Ls=o.span`
695
695
  flex: none;
696
696
  font-family: ${t.font.sans};
697
697
  font-size: 14px;
698
698
  line-height: 1.43;
699
699
  color: ${t.colors.muted2};
700
700
  white-space: nowrap;
701
- `,et=i.button`
701
+ `,et=o.button`
702
702
  flex: none;
703
703
  display: inline-flex;
704
704
  align-items: center;
@@ -737,7 +737,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
737
737
  ${t.media.maxWidth("mobile")} {
738
738
  display: none;
739
739
  }
740
- `,Ns=i(et)`
740
+ `,Ns=o(et)`
741
741
  display: none;
742
742
 
743
743
  ${t.media.maxWidth("mobile")} {
@@ -746,7 +746,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
746
746
  height: 48px;
747
747
  border-radius: 12px;
748
748
  }
749
- `,As=i.span`
749
+ `,As=o.span`
750
750
  display: inline-flex;
751
751
  align-items: center;
752
752
  gap: 4px;
@@ -757,7 +757,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
757
757
  width: 13.26px;
758
758
  height: 14px;
759
759
  }
760
- `,zs=i.div`
760
+ `,zs=o.div`
761
761
  display: flex;
762
762
  align-items: center;
763
763
  gap: 8px;
@@ -776,7 +776,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
776
776
  height: 16px;
777
777
  flex: none;
778
778
  }
779
- `,se=i(zs)`
779
+ `,se=o(zs)`
780
780
  position: absolute;
781
781
  top: calc(100% + 8px);
782
782
  left: 0;
@@ -789,9 +789,9 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
789
789
  position: static;
790
790
  margin-top: 8px;
791
791
  }
792
- `,Ms=i(Ye)`
792
+ `,Ms=o(Ye)`
793
793
  color: inherit;
794
- `,Ws=i.section`
794
+ `,Ws=o.section`
795
795
  display: flex;
796
796
  flex-direction: column;
797
797
  gap: 48px;
@@ -801,12 +801,12 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
801
801
  gap: 32px;
802
802
  padding: 0 20px;
803
803
  }
804
- `,Bs=i.div`
804
+ `,Bs=o.div`
805
805
  display: flex;
806
806
  flex-direction: column;
807
807
  align-items: center;
808
808
  gap: 24px;
809
- `,Fs=i.h2`
809
+ `,Fs=o.h2`
810
810
  margin: 0;
811
811
  text-align: center;
812
812
  font-family: ${t.font.sans};
@@ -818,7 +818,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
818
818
  ${t.media.maxWidth("mobile")} {
819
819
  font-size: 22px;
820
820
  }
821
- `,Ps=i.p`
821
+ `,Ps=o.p`
822
822
  margin: 0;
823
823
  max-width: 907px;
824
824
  text-align: center;
@@ -831,7 +831,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
831
831
  ${t.media.maxWidth("mobile")} {
832
832
  font-size: 16px;
833
833
  }
834
- `,Os=i.div`
834
+ `,Os=o.div`
835
835
  display: grid;
836
836
  grid-template-columns: repeat(4, 1fr);
837
837
  gap: 24px;
@@ -843,7 +843,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
843
843
  ${t.media.maxWidth("mobile")} {
844
844
  grid-template-columns: 1fr;
845
845
  }
846
- `,ie=i.article`
846
+ `,oe=o.article`
847
847
  min-width: 0;
848
848
  display: flex;
849
849
  flex-direction: column;
@@ -860,17 +860,17 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
860
860
  gap: 20px;
861
861
  padding: 20px;
862
862
  }
863
- `,oe=i.img`
863
+ `,ie=o.img`
864
864
  display: block;
865
865
  align-self: flex-start;
866
866
  height: 55px;
867
867
  width: auto;
868
- `,ae=i.div`
868
+ `,ae=o.div`
869
869
  flex: 1;
870
870
  display: flex;
871
871
  flex-direction: column;
872
872
  gap: 12px;
873
- `,re=i.h3`
873
+ `,re=o.h3`
874
874
  margin: 0;
875
875
  font-family: ${t.font.sans};
876
876
  font-weight: 700;
@@ -878,17 +878,17 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
878
878
  line-height: 1.57;
879
879
  text-transform: uppercase;
880
880
  color: ${t.colors.white};
881
- `,le=i.p`
881
+ `,le=o.p`
882
882
  margin: 0;
883
883
  font-family: ${t.font.sans};
884
884
  font-weight: 400;
885
885
  font-size: 14px;
886
886
  line-height: 1.57;
887
887
  color: ${t.colors.media};
888
- `,Us=i.span`
888
+ `,Us=o.span`
889
889
  font-weight: 700;
890
890
  color: ${t.colors.white};
891
- `,De=i.a`
891
+ `,De=o.a`
892
892
  display: inline-flex;
893
893
  align-items: center;
894
894
  gap: 2px;
@@ -909,7 +909,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
909
909
  width: 13px;
910
910
  height: 13px;
911
911
  }
912
- `,Hs=i.span`
912
+ `,Hs=o.span`
913
913
  position: absolute;
914
914
  width: 1px;
915
915
  height: 1px;
@@ -919,7 +919,7 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
919
919
  clip: rect(0, 0, 0, 0);
920
920
  white-space: nowrap;
921
921
  border: 0;
922
- `,Ds="https://docs.decentraland.org/creator/worlds/about/",Gs="https://governance.decentraland.org";function Ge(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 qs({onBack:n}){Ke({title:s("seo.names.title"),description:s("seo.names.description")});const{session:o,signIn:r}=Ze(),h=En(),{data:d}=Qe(),b=d?Je(Q,d):null,[l,m]=u.useState(""),[c,y]=u.useState("idle"),[f,j]=u.useState(!1),[C,x]=u.useState(!1),[S,p]=u.useState(()=>{var v;return typeof window<"u"&&!!((v=window.matchMedia)!=null&&v.call(window,"(prefers-reduced-motion: reduce)").matches)});u.useEffect(()=>{var B;const v=(B=window.matchMedia)==null?void 0:B.call(window,"(prefers-reduced-motion: reduce)");if(!v)return;const W=T=>p(T.matches);return v.addEventListener("change",W),()=>v.removeEventListener("change",W)},[]);const g=s("names.placeholderExamples"),I=u.useMemo(()=>g.split(",").map(v=>v.trim()).filter(Boolean),[g]),N=Nn(I,!C&&!l&&!S)||s("names.inputPlaceholder"),E=u.useRef(null),[P,$]=u.useState(void 0);u.useLayoutEffect(()=>{E.current&&$(E.current.getBoundingClientRect().width)},[l,N]),u.useEffect(()=>{if(!Fe(l).ok){y(l.length===0?"idle":"invalid");return}y("checking");const W=new AbortController,B=setTimeout(()=>{(async()=>{try{const T=await wn(l,{signal:W.signal});y(T)}catch(T){if((T==null?void 0:T.name)==="AbortError")return;y("error")}})()},400);return()=>{clearTimeout(B),W.abort()}},[l]);const k=Fe(l),A=k.ok&&(c==="available"||c==="error"),R=h&&A,G=!h&&A;function z(){if(R){if(!o){r();return}j(!0)}}const M=e.jsxs(e.Fragment,{children:[s("names.claim"),b!=null?e.jsxs(As,{children:[e.jsx(D,{}),$e(b)]}):null]});return e.jsxs(us,{"data-testid":"names-page",children:[e.jsxs(fs,{"aria-label":s("names.breadcrumbAria"),children:[e.jsx(ms,{onClick:n,children:s("names.breadcrumbCollectibles")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(xs,{children:s("names.breadcrumbCurrent")})]}),e.jsxs(gs,{children:[e.jsxs(bs,{children:[e.jsxs(ys,{children:[e.jsx(ws,{children:s("names.heroTitle")}),e.jsx(vs,{children:s("names.heroSubtitle")})]}),e.jsxs(js,{children:[e.jsxs(Cs,{"data-testid":"names-input-wrap",children:[e.jsxs($s,{invalid:c==="taken",children:[e.jsxs(Rs,{children:[e.jsx(Ts,{"aria-hidden":!0,children:"@"}),e.jsx(_s,{value:l,onChange:v=>m(gn(v.target.value)),placeholder:N,"aria-label":s("names.inputAria"),autoComplete:"off",spellCheck:!1,maxLength:de,onFocus:()=>x(!0),style:{width:P!=null?`${P}px`:void 0}}),e.jsx(ks,{ref:E,"aria-hidden":!0,"data-placeholder":!l||void 0,children:l||N}),e.jsx(Is,{children:s("names.suffix")})]}),l.length>0?e.jsxs(Ls,{"aria-hidden":!0,children:[l.length,"/",de]}):null,e.jsx(et,{onClick:z,disabled:!R,"data-testid":"names-claim",children:M})]}),c==="taken"?e.jsxs(Ss,{role:"status","data-testid":"names-taken",children:[e.jsx(_,{name:"info",size:16,"aria-hidden":!0}),e.jsx("span",{children:s("names.taken")}),e.jsxs(Es,{href:Ge(l),target:"_blank",rel:"noopener noreferrer",children:[s("names.takenMakeOffer"),e.jsx(_,{name:"external-link",size:13,"aria-hidden":!0})]})]}):null,c==="checking"?e.jsx(se,{tone:"muted",role:"status","data-testid":"names-checking",children:s("names.checking")}):G?e.jsxs(se,{tone:"muted",role:"status","data-testid":"names-disabled",children:[e.jsx(_,{name:"info",size:16,"aria-hidden":!0}),e.jsx("span",{children:s("names.registrationDisabled")}),e.jsxs(Ms,{href:Ge(l),target:"_blank",rel:"noopener noreferrer",children:[s("names.registrationDisabledLink"),e.jsx(_,{name:"external-link",size:13,"aria-hidden":!0})]})]}):c==="error"?e.jsx(se,{tone:"muted",role:"status",children:s("names.checkError")}):c==="invalid"&&!k.ok&&k.reason==="too-short"?e.jsx(se,{tone:"muted",role:"status",children:s("names.tooShort",{min:Xe})}):null]}),e.jsx(Ns,{onClick:z,disabled:!R,children:M}),e.jsx(Hs,{role:"status","aria-live":"polite",children:c==="available"?s("names.available",{name:l}):""})]})]}),e.jsxs(Ws,{children:[e.jsxs(Bs,{children:[e.jsx(Fs,{children:s("names.whyTitle")}),e.jsx(Ps,{children:s("names.whyIntro")})]}),e.jsxs(Os,{children:[e.jsxs(ie,{children:[e.jsx(oe,{src:cs,alt:""}),e.jsxs(ae,{children:[e.jsx(re,{children:s("names.why1Title")}),e.jsx(le,{children:s("names.why1")})]})]}),e.jsxs(ie,{children:[e.jsx(oe,{src:ds,alt:""}),e.jsxs(ae,{children:[e.jsx(re,{children:s("names.why2Title")}),e.jsxs(le,{children:[s("names.why2")," ",e.jsx(Us,{children:s("names.why2Address")})]}),e.jsxs(De,{href:Ds,target:"_blank",rel:"noopener noreferrer",children:[s("names.learnMore"),e.jsx(_,{name:"external-link","aria-hidden":!0})]})]})]}),e.jsxs(ie,{children:[e.jsx(oe,{src:hs,alt:""}),e.jsxs(ae,{children:[e.jsx(re,{children:s("names.why3Title")}),e.jsx(le,{children:s("names.why3")})]})]}),e.jsxs(ie,{children:[e.jsx(oe,{src:ps,alt:""}),e.jsxs(ae,{children:[e.jsx(re,{children:s("names.why4Title")}),e.jsx(le,{children:s("names.why4")}),e.jsxs(De,{href:Gs,target:"_blank",rel:"noopener noreferrer",children:[s("names.learnMore"),e.jsx(_,{name:"external-link","aria-hidden":!0})]})]})]})]})]})]}),f?e.jsx(rs,{name:l,priceCredits:b,onClose:()=>j(!1)}):null]})}const Vs=i.p`
922
+ `,Ds="https://docs.decentraland.org/creator/worlds/about/",Gs="https://governance.decentraland.org";function Ge(n){const i=typeof window<"u"?window.location.hostname:"";return`${i.endsWith("decentraland.org")?"https://decentraland.org":i.endsWith("decentraland.today")?"https://decentraland.today":"https://decentraland.zone"}/marketplace/names/browse?search=${encodeURIComponent(n)}`}function qs({onBack:n}){Qe({title:s("seo.names.title"),description:s("seo.names.description")});const{session:i,signIn:r}=Ze(),h=En(),{data:d}=Ke(),b=d?Xe(K,d):null,[l,m]=u.useState(""),[c,y]=u.useState("idle"),[f,j]=u.useState(!1),[C,x]=u.useState(!1),[S,p]=u.useState(()=>{var v;return typeof window<"u"&&!!((v=window.matchMedia)!=null&&v.call(window,"(prefers-reduced-motion: reduce)").matches)});u.useEffect(()=>{var B;const v=(B=window.matchMedia)==null?void 0:B.call(window,"(prefers-reduced-motion: reduce)");if(!v)return;const W=T=>p(T.matches);return v.addEventListener("change",W),()=>v.removeEventListener("change",W)},[]);const g=s("names.placeholderExamples"),I=u.useMemo(()=>g.split(",").map(v=>v.trim()).filter(Boolean),[g]),N=Nn(I,!C&&!l&&!S)||s("names.inputPlaceholder"),E=u.useRef(null),[P,$]=u.useState(void 0);u.useLayoutEffect(()=>{E.current&&$(E.current.getBoundingClientRect().width)},[l,N]),u.useEffect(()=>{if(!Fe(l).ok){y(l.length===0?"idle":"invalid");return}y("checking");const W=new AbortController,B=setTimeout(()=>{(async()=>{try{const T=await wn(l,{signal:W.signal});y(T)}catch(T){if((T==null?void 0:T.name)==="AbortError")return;y("error")}})()},400);return()=>{clearTimeout(B),W.abort()}},[l]);const k=Fe(l),A=k.ok&&(c==="available"||c==="error"),R=h&&A,G=!h&&A;function z(){if(R){if(!i){r();return}j(!0)}}const M=e.jsxs(e.Fragment,{children:[s("names.claim"),b!=null?e.jsxs(As,{children:[e.jsx(D,{}),$e(b)]}):null]});return e.jsxs(us,{"data-testid":"names-page",children:[e.jsxs(fs,{"aria-label":s("names.breadcrumbAria"),children:[e.jsx(ms,{onClick:n,children:s("names.breadcrumbCollectibles")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(xs,{children:s("names.breadcrumbCurrent")})]}),e.jsxs(gs,{children:[e.jsxs(bs,{children:[e.jsxs(ys,{children:[e.jsx(ws,{children:s("names.heroTitle")}),e.jsx(vs,{children:s("names.heroSubtitle")})]}),e.jsxs(js,{children:[e.jsxs(Cs,{"data-testid":"names-input-wrap",children:[e.jsxs($s,{invalid:c==="taken",children:[e.jsxs(Rs,{children:[e.jsx(Ts,{"aria-hidden":!0,children:"@"}),e.jsx(_s,{value:l,onChange:v=>m(gn(v.target.value)),placeholder:N,"aria-label":s("names.inputAria"),autoComplete:"off",spellCheck:!1,maxLength:de,onFocus:()=>x(!0),style:{width:P!=null?`${P}px`:void 0}}),e.jsx(ks,{ref:E,"aria-hidden":!0,"data-placeholder":!l||void 0,children:l||N}),e.jsx(Is,{children:s("names.suffix")})]}),l.length>0?e.jsxs(Ls,{"aria-hidden":!0,children:[l.length,"/",de]}):null,e.jsx(et,{onClick:z,disabled:!R,"data-testid":"names-claim",children:M})]}),c==="taken"?e.jsxs(Ss,{role:"status","data-testid":"names-taken",children:[e.jsx(_,{name:"info",size:16,"aria-hidden":!0}),e.jsx("span",{children:s("names.taken")}),e.jsxs(Es,{href:Ge(l),target:"_blank",rel:"noopener noreferrer",children:[s("names.takenMakeOffer"),e.jsx(_,{name:"external-link",size:13,"aria-hidden":!0})]})]}):null,c==="checking"?e.jsx(se,{tone:"muted",role:"status","data-testid":"names-checking",children:s("names.checking")}):G?e.jsxs(se,{tone:"muted",role:"status","data-testid":"names-disabled",children:[e.jsx(_,{name:"info",size:16,"aria-hidden":!0}),e.jsx("span",{children:s("names.registrationDisabled")}),e.jsxs(Ms,{href:Ge(l),target:"_blank",rel:"noopener noreferrer",children:[s("names.registrationDisabledLink"),e.jsx(_,{name:"external-link",size:13,"aria-hidden":!0})]})]}):c==="error"?e.jsx(se,{tone:"muted",role:"status",children:s("names.checkError")}):c==="invalid"&&!k.ok&&k.reason==="too-short"?e.jsx(se,{tone:"muted",role:"status",children:s("names.tooShort",{min:Je})}):null]}),e.jsx(Ns,{onClick:z,disabled:!R,children:M}),e.jsx(Hs,{role:"status","aria-live":"polite",children:c==="available"?s("names.available",{name:l}):""})]})]}),e.jsxs(Ws,{children:[e.jsxs(Bs,{children:[e.jsx(Fs,{children:s("names.whyTitle")}),e.jsx(Ps,{children:s("names.whyIntro")})]}),e.jsxs(Os,{children:[e.jsxs(oe,{children:[e.jsx(ie,{src:cs,alt:""}),e.jsxs(ae,{children:[e.jsx(re,{children:s("names.why1Title")}),e.jsx(le,{children:s("names.why1")})]})]}),e.jsxs(oe,{children:[e.jsx(ie,{src:ds,alt:""}),e.jsxs(ae,{children:[e.jsx(re,{children:s("names.why2Title")}),e.jsxs(le,{children:[s("names.why2")," ",e.jsx(Us,{children:s("names.why2Address")})]}),e.jsxs(De,{href:Ds,target:"_blank",rel:"noopener noreferrer",children:[s("names.learnMore"),e.jsx(_,{name:"external-link","aria-hidden":!0})]})]})]}),e.jsxs(oe,{children:[e.jsx(ie,{src:hs,alt:""}),e.jsxs(ae,{children:[e.jsx(re,{children:s("names.why3Title")}),e.jsx(le,{children:s("names.why3")})]})]}),e.jsxs(oe,{children:[e.jsx(ie,{src:ps,alt:""}),e.jsxs(ae,{children:[e.jsx(re,{children:s("names.why4Title")}),e.jsx(le,{children:s("names.why4")}),e.jsxs(De,{href:Gs,target:"_blank",rel:"noopener noreferrer",children:[s("names.learnMore"),e.jsx(_,{name:"external-link","aria-hidden":!0})]})]})]})]})]})]}),f?e.jsx(rs,{name:l,priceCredits:b,onClose:()=>j(!1)}):null]})}const Vs=o.p`
923
923
  display: flex;
924
924
  align-items: center;
925
925
  gap: 10px;
@@ -935,5 +935,5 @@ import{r as u,b as Ve,j as e,u as dt}from"./react-BaEtM5XJ.js";import{c as Z,r a
935
935
  background: rgba(211, 51, 51, 0.1);
936
936
  color: ${t.colors.err};
937
937
  }
938
- `,qe=48,Zs=["all","on_sale","not_for_sale"],Ks=n=>n?"all":"on_sale";function gi({contracts:n,hideNames:o=!1,seo:r,lockStatus:h}={}){const[d]=dt(),b=Ve(),l=(d.get("q")??"").trim().toLowerCase(),m=(d.get("q")??"").trim();Ke(r??{title:m?s("seo.collectibles.searchTitle",{query:m}):s("seo.collectibles.title"),description:s("seo.collectibles.description")});const c=Ks(!!l),y=St(),f=y&&d.get("deals")==="true",j=u.useMemo(()=>({category:"all",status:c,subCategory:null,rarities:[],priceMin:"",priceMax:"",smart:!1,deals:!1,sort:f?"discount":"newest"}),[c,f]),[C,x]=Lt(j),{subCategory:S,rarities:p,priceMin:g,priceMax:I,smart:L,sort:N}=C,E=y&&C.deals,$=At.map(a=>a.key).filter(a=>!(o&&a==="names")).includes(C.category)?C.category:"all",k=h??(Zs.includes(C.status)?C.status:c);zt(`${$}:${S??""}`);const[A,R]=u.useState(!1);u.useEffect(()=>{if(!A)return;const a=ee=>{ee.key==="Escape"&&R(!1)};document.addEventListener("keydown",a);const H=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",a),document.body.style.overflow=H}},[A]);const G=n!==void 0&&n.length===0,z=k==="on_sale",M=g&&!Number.isNaN(Number(g))?Number(g):void 0,v=I&&!Number.isNaN(Number(I))?Number(I):void 0,W=Et(),B=S?en[S]:void 0,T=E?Mt:Wt,J=(T.find(a=>a.key===N)??T[0]).server,K={category:$,rarities:p.length?p:void 0,wearableCategories:B,minPriceCredits:M,maxPriceCredits:v,search:l||void 0,sortBy:J,isSmart:L||void 0,onSale:!0,discounted:E||void 0,listingType:W?void 0:"primary",contractAddresses:n!=null&&n.length?n:void 0},w={category:$,rarities:p.length?p:void 0,wearableCategories:B,search:l||void 0,sortBy:J,isWearableSmart:L||void 0,isOnSale:k==="not_for_sale"?!1:void 0,contractAddresses:n!=null&&n.length?n:void 0},{items:F,total:O,isLoading:U,isPlaceholderData:q,error:Te,hasNextPage:tt,isFetchingNextPage:_e,isFetchNextPageError:nt,fetchNextPage:st}=Xt(z?["shop-items",K]:["catalog-items",w],a=>z?_t({...K,first:qe,skip:a}):It({...w,first:qe,skip:a}),{enabled:$!=="names"&&!G}),X=O,{data:Ie,isError:it,isPending:ot}=Qe(),at=a=>Ie&&a.manaWei?Je(a.manaWei,Ie):null,rt=z&&ot&&F.some(a=>a.source==="legacy"),Le=U||q||rt,lt=U?15:Math.max(F.length,1),Ne=u.useRef(null);u.useEffect(()=>{U||q||!l||Ne.current===l||(Ne.current=l,ce("Shop Searched",{query:l,result_count:X}))},[l,U,q,X]);const Y=u.useRef("__init__");u.useEffect(()=>{if(U||q)return;const a=JSON.stringify({category:$,subCategory:S,rarities:p,min:M,max:v,sort:N,status:k,smart:L});if(Y.current==="__init__"||Y.current===a){Y.current=a;return}Y.current=a,ce("Shop Applied Filter",{filters:{category:$,sub_category:S,rarities:p,min_price_credits:M??null,max_price_credits:v??null,status:k,smart:L,sort:N},result_count:X})},[$,S,p,M,v,N,k,L,U,q,X]);function Ae(a){x({category:a,subCategory:null})}function ze(a){x({status:a})}function Me(a){x({rarities:p.includes(a)?p.filter(H=>H!==a):[...p,a]})}function ct(){x(j)}const V=[];(M!=null||v!=null)&&V.push({key:"price",label:s("filter.price"),onRemove:()=>{x({priceMin:"",priceMax:""})}});for(const a of Bt)p.includes(a)&&V.push({key:`rarity-${a}`,label:Rt(a),onRemove:()=>Me(a)});return L&&V.push({key:"smart",label:s("filter.smart"),onRemove:()=>x({smart:!1})}),E&&V.push({key:"deals",label:s("filter.deals"),onRemove:()=>x({deals:!1,sort:"newest"})}),k!==c&&V.push({key:"status",label:k==="all"?s("filter.statusAll"):k==="on_sale"?s("filter.onSale"):s("filter.notForSale"),onRemove:()=>ze(c)}),e.jsxs(Ft,{"data-testid":"browse",children:[$!=="names"&&e.jsxs(e.Fragment,{children:[A?e.jsx(Pt,{onClick:()=>R(!1),"aria-hidden":!0}):null,e.jsxs(Ot,{"data-open":A||void 0,"data-testid":"browse-sidebar",children:[e.jsxs(Ut,{children:[e.jsx(Ht,{children:s("assets.filters")}),e.jsx(Dt,{onClick:()=>R(!1),"aria-label":s("assets.closeFilters"),children:"✕"})]}),e.jsx(Gt,{children:e.jsx(qt,{category:$,subCategory:S,onCategory:Ae,onSub:a=>x({subCategory:a}),priceMin:g,priceMax:I,onPriceMin:a=>x({priceMin:a}),onPriceMax:a=>x({priceMax:a}),rarities:p,onToggleRarity:Me,status:k,onStatus:ze,hideNames:o,smart:L,onSmart:a=>x({smart:a}),deals:E,onDeals:y?a=>x(a?{deals:!0,sort:"discount"}:{deals:!1,sort:"newest"}):void 0})}),e.jsx(Vt,{children:e.jsx(Zt,{type:"button",onClick:()=>R(!1),children:s("assets.showItems")})})]})]}),e.jsx(Kt,{children:$==="names"?e.jsx(qs,{onBack:()=>Ae("all")}):e.jsxs(e.Fragment,{children:[e.jsx(Qt,{sort:N,sortOptions:T,onSort:a=>x({sort:a}),total:O,loading:U||q,query:l,onOpenFilters:()=>R(!0),chips:V,onClearChips:ct}),it&&z&&F.some(a=>a.source==="legacy")?e.jsx(Vs,{"data-variant":"warn",children:s("assets.marketUnavailable")}):null,Te?e.jsx(tn,{message:s("assets.loadError"),testId:"browse-error"}):null,!Le&&F.length===0&&!Te?e.jsx(Tt,{testId:"browse-empty",icon:Nt,title:s("assets.empty.title"),body:m?e.jsxs(e.Fragment,{children:[s("assets.empty.searchBefore"),e.jsx("b",{children:m}),s("assets.empty.searchAfter")]}):s("assets.empty.filters"),cta:{label:s("assets.empty.cta"),onClick:()=>b("/overview")}}):e.jsxs(e.Fragment,{children:[e.jsx(mn,{"data-testid":"grid",children:Le?e.jsx(Be,{count:lt}):e.jsxs(e.Fragment,{children:[F.map(a=>{if(!z)return e.jsx(te,{item:a,mode:"view"},ne(a));const H=a;if(H.source!=="legacy")return e.jsx(te,{item:a},ne(a));const ee=at(H);return ee==null?e.jsx(te,{item:a,mode:"view"},ne(a)):e.jsx(te,{item:{...H,priceCredits:ee}},ne(a))}),_e?e.jsx(Be,{count:6}):null]})}),e.jsx(Jt,{hasNextPage:tt,isFetching:_e,isError:nt,onLoadMore:()=>void st()})]})]})})]})}export{gi as Assets};
939
- //# sourceMappingURL=Assets-VVrgUxpf.js.map
938
+ `,qe=48,Zs=["all","on_sale","not_for_sale"],Qs=n=>n?"all":"on_sale";function vo({contracts:n,hideNames:i=!1,seo:r,lockStatus:h}={}){const[d]=dt(),b=Ve(),l=(d.get("q")??"").trim().toLowerCase(),m=(d.get("q")??"").trim();Qe(r??{title:m?s("seo.collectibles.searchTitle",{query:m}):s("seo.collectibles.title"),description:s("seo.collectibles.description")});const c=Qs(!!l),y=St(),f=y&&d.get("deals")==="true",j=u.useMemo(()=>({category:"all",status:c,subCategory:null,rarities:[],priceMin:"",priceMax:"",smart:!1,deals:!1,sort:f?"discount":"newest"}),[c,f]),[C,x]=Lt(j),{subCategory:S,rarities:p,priceMin:g,priceMax:I,smart:L,sort:N}=C,E=y&&C.deals,$=At.map(a=>a.key).filter(a=>!(i&&a==="names")).includes(C.category)?C.category:"all",k=h??(Zs.includes(C.status)?C.status:c);zt(`${$}:${S??""}`);const[A,R]=u.useState(!1);u.useEffect(()=>{if(!A)return;const a=ee=>{ee.key==="Escape"&&R(!1)};document.addEventListener("keydown",a);const H=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",a),document.body.style.overflow=H}},[A]);const G=n!==void 0&&n.length===0,z=k==="on_sale",M=g&&!Number.isNaN(Number(g))?Number(g):void 0,v=I&&!Number.isNaN(Number(I))?Number(I):void 0,W=Et(),B=S?Ht[S]:void 0,T=E?Mt:Wt,X=(T.find(a=>a.key===N)??T[0]).server,Q={category:$,rarities:p.length?p:void 0,wearableCategories:B,minPriceCredits:M,maxPriceCredits:v,search:l||void 0,sortBy:X,isSmart:L||void 0,onSale:!0,discounted:E||void 0,listingType:W?void 0:"primary",contractAddresses:n!=null&&n.length?n:void 0},w={category:$,rarities:p.length?p:void 0,wearableCategories:B,search:l||void 0,sortBy:X,isWearableSmart:L||void 0,isOnSale:k==="not_for_sale"?!1:void 0,contractAddresses:n!=null&&n.length?n:void 0},{items:F,total:O,isLoading:U,isPlaceholderData:q,error:Te,hasNextPage:tt,isFetchingNextPage:_e,isFetchNextPageError:nt,fetchNextPage:st}=Ut(z?["shop-items",Q]:["catalog-items",w],a=>z?_t({...Q,first:qe,skip:a}):It({...w,first:qe,skip:a}),{enabled:$!=="names"&&!G}),J=O,{data:Ie,isError:ot,isPending:it}=Ke(),at=a=>Ie&&a.manaWei?Xe(a.manaWei,Ie):null,rt=z&&it&&F.some(a=>a.source==="legacy"),Le=U||q||rt,lt=U?15:Math.max(F.length,1),Ne=u.useRef(null);u.useEffect(()=>{U||q||!l||Ne.current===l||(Ne.current=l,ce("Shop Searched",{query:l,result_count:J}))},[l,U,q,J]);const Y=u.useRef("__init__");u.useEffect(()=>{if(U||q)return;const a=JSON.stringify({category:$,subCategory:S,rarities:p,min:M,max:v,sort:N,status:k,smart:L});if(Y.current==="__init__"||Y.current===a){Y.current=a;return}Y.current=a,ce("Shop Applied Filter",{filters:{category:$,sub_category:S,rarities:p,min_price_credits:M??null,max_price_credits:v??null,status:k,smart:L,sort:N},result_count:J})},[$,S,p,M,v,N,k,L,U,q,J]);function Ae(a){x({category:a,subCategory:null})}function ze(a){x({status:a})}function Me(a){x({rarities:p.includes(a)?p.filter(H=>H!==a):[...p,a]})}function ct(){x(j)}const V=[];(M!=null||v!=null)&&V.push({key:"price",label:s("filter.price"),onRemove:()=>{x({priceMin:"",priceMax:""})}});for(const a of Bt)p.includes(a)&&V.push({key:`rarity-${a}`,label:Rt(a),onRemove:()=>Me(a)});return L&&V.push({key:"smart",label:s("filter.smart"),onRemove:()=>x({smart:!1})}),E&&V.push({key:"deals",label:s("filter.deals"),onRemove:()=>x({deals:!1,sort:"newest"})}),k!==c&&V.push({key:"status",label:k==="all"?s("filter.statusAll"):k==="on_sale"?s("filter.onSale"):s("filter.notForSale"),onRemove:()=>ze(c)}),e.jsxs(an,{"data-testid":"browse",children:[$!=="names"&&e.jsxs(e.Fragment,{children:[A?e.jsx(rn,{onClick:()=>R(!1),"aria-hidden":!0}):null,e.jsxs(ln,{"data-open":A||void 0,"data-testid":"browse-sidebar",children:[e.jsxs(cn,{children:[e.jsx(dn,{children:s("assets.filters")}),e.jsx(hn,{onClick:()=>R(!1),"aria-label":s("assets.closeFilters"),children:"✕"})]}),e.jsx(pn,{children:e.jsx(Ft,{category:$,subCategory:S,onCategory:Ae,onSub:a=>x({subCategory:a}),priceMin:g,priceMax:I,onPriceMin:a=>x({priceMin:a}),onPriceMax:a=>x({priceMax:a}),rarities:p,onToggleRarity:Me,status:k,onStatus:ze,hideNames:i,smart:L,onSmart:a=>x({smart:a}),deals:E,onDeals:y?a=>x(a?{deals:!0,sort:"discount"}:{deals:!1,sort:"newest"}):void 0})}),e.jsx(un,{children:e.jsx(fn,{type:"button",onClick:()=>R(!1),children:s("assets.showItems")})})]})]}),e.jsx(mn,{children:$==="names"?e.jsx(qs,{onBack:()=>Ae("all")}):e.jsxs(e.Fragment,{children:[e.jsx(Pt,{sort:N,sortOptions:T,onSort:a=>x({sort:a}),total:O,loading:U||q,query:l,onOpenFilters:()=>R(!0),chips:V,onClearChips:ct}),ot&&z&&F.some(a=>a.source==="legacy")?e.jsx(Vs,{"data-variant":"warn",children:s("assets.marketUnavailable")}):null,Te?e.jsx(Dt,{message:s("assets.loadError"),testId:"browse-error"}):null,!Le&&F.length===0&&!Te?e.jsx(Tt,{testId:"browse-empty",icon:Nt,title:s("assets.empty.title"),body:m?e.jsxs(e.Fragment,{children:[s("assets.empty.searchBefore"),e.jsx("b",{children:m}),s("assets.empty.searchAfter")]}):s("assets.empty.filters"),cta:{label:s("assets.empty.cta"),onClick:()=>b("/overview")}}):e.jsxs(e.Fragment,{children:[e.jsx(on,{"data-testid":"grid",children:Le?e.jsx(Be,{count:lt}):e.jsxs(e.Fragment,{children:[F.map(a=>{if(!z)return e.jsx(te,{item:a,mode:"view"},ne(a));const H=a;if(H.source!=="legacy")return e.jsx(te,{item:a},ne(a));const ee=at(H);return ee==null?e.jsx(te,{item:a,mode:"view"},ne(a)):e.jsx(te,{item:{...H,priceCredits:ee}},ne(a))}),_e?e.jsx(Be,{count:6}):null]})}),e.jsx(Ot,{hasNextPage:tt,isFetching:_e,isError:nt,onLoadMore:()=>void st()})]})]})})]})}export{vo as Assets};
939
+ //# sourceMappingURL=Assets-BrcTOhgS.js.map