@dcl/shop 1.16.1-36006716283.commit-23b90f8 → 1.17.0

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 (245) hide show
  1. package/_assets/{Activity-gJhjE0zO.js → Activity-BDAitxSe.js} +4 -4
  2. package/_assets/{AnimatedBackground-Dw6CP921.js → AnimatedBackground-BPT-R1_3.js} +6 -6
  3. package/_assets/{Assets-0MCPFN5A.js → Assets-YB3gqw7Z.js} +3 -3
  4. package/_assets/{Cart-CnnwL0O9.js → Cart-BZ9KDQEQ.js} +2 -2
  5. package/_assets/{Collection-DhpUgB49.js → Collection-BEzvnJiR.js} +2 -2
  6. package/_assets/{CollectionCarousel-Bfd_a-Hy.js → CollectionCarousel-1U62GlSR.js} +3 -3
  7. package/_assets/{Confetti-LoSaZCWT.js → Confetti-B6oSR8ow.js} +4 -4
  8. package/_assets/{ConstantsUtil-BOe5LeF9.js → ConstantsUtil-02Z98pPd.js} +2 -2
  9. package/_assets/{ContentClient-Dnrpri5d.js → ContentClient-DRKnlFG4.js} +2 -2
  10. package/_assets/{Creator-B462Sw63.js → Creator-CjraeJsu.js} +2 -2
  11. package/_assets/{CreditPackPicker-DY3bnQZL.js → CreditPackPicker-BZziSdp5.js} +2 -2
  12. package/_assets/{CreditRate-Cstmz7Zh.js → CreditRate-avuRK-jH.js} +2 -2
  13. package/_assets/{DeploymentBuilder-CdaXbs6s.js → DeploymentBuilder-DrZ43REI.js} +2 -2
  14. package/_assets/{EmotePlaybackBar-DjSBRztl.js → EmotePlaybackBar-OvE8csVB.js} +3 -3
  15. package/_assets/{ErrorNotice-PsNuXhOs.js → ErrorNotice-DcMO5bfW.js} +2 -2
  16. package/_assets/{Event-DRhkBqKd.js → Event-C-SU8wO0.js} +2 -2
  17. package/_assets/{ExchangeController-4u1gt1F9.js → ExchangeController-BsAWvF-z.js} +2 -2
  18. package/_assets/{Faq-JFfC32xg.js → Faq-CnwUusBM.js} +2 -2
  19. package/_assets/{Filters-JaGrm3Ws.js → Filters-C0GaEoyc.js} +2 -2
  20. package/_assets/{GetCredits-BiGRj6jG.js → GetCredits-BMu5ywjd.js} +2 -2
  21. package/_assets/{Grow-CaK7k8kO.js → Grow-BoAIZnmF.js} +2 -2
  22. package/_assets/{HelpersUtil-CMELIUY8.js → HelpersUtil-7BUMaLLj.js} +2 -2
  23. package/_assets/{ItemDetail-Bgs5mBbE.js → ItemDetail-B2CA6Efg.js} +2 -2
  24. package/_assets/{LoadMore-DpKk2QwA.js → LoadMore-B-3r-ZWY.js} +2 -2
  25. package/_assets/{ManaPricingBanner-Obs541p-.js → ManaPricingBanner-Bo3hRH0s.js} +2 -2
  26. package/_assets/{ManaPricingBanner.styles-CR9FJ8gF.js → ManaPricingBanner.styles-Cjs8YkyN.js} +2 -2
  27. package/_assets/{MyAssets-DfdL71hu.js → MyAssets-nSoOwFbT.js} +2 -2
  28. package/_assets/{MyFavorites-CV-3ChJC.js → MyFavorites-B0ZXgMrd.js} +2 -2
  29. package/_assets/MyStore-DfX_q7UW.js +1630 -0
  30. package/_assets/{NetworkUtil-1WZAF-DF.js → NetworkUtil-8miI5YS1.js} +2 -2
  31. package/_assets/{NotFound-DfGIV8Mb.js → NotFound-DS4UWKxV.js} +2 -2
  32. package/_assets/{NotificationsBell-D3Lxuj1k.js → NotificationsBell-Bud0OzHB.js} +13 -13
  33. package/_assets/{OutfitDetail-BQbEbVAk.js → OutfitDetail-Cc6AzXUC.js} +2 -2
  34. package/_assets/{OutfitPreview-C8bqees3.js → OutfitPreview-B9kLHbqF.js} +2 -2
  35. package/_assets/{OutfitStudio-4zHnOaPl.js → OutfitStudio-iccmKn9G.js} +2 -2
  36. package/_assets/{PaymentMethodStep-BM1boTqM.js → PaymentMethodStep-Crc70JXF.js} +3 -3
  37. package/_assets/{SaleCountdown-JYFZpbfY.js → SaleCountdown-tgg5rYZS.js} +2 -2
  38. package/_assets/{Spinner-CKxIyt0J.js → Spinner-BI2pnHnk.js} +2 -2
  39. package/_assets/{StoreSettings-qdP6lST-.js → StoreSettings-CFMs82es.js} +2 -2
  40. package/_assets/{Success-BrT5BrXK.js → Success-BPaW4wD6.js} +2 -2
  41. package/_assets/{SwapController-CZm2YDNW.js → SwapController-58ZQJ_1X.js} +2 -2
  42. package/_assets/{Tooltip-BlpuIXVh.js → Tooltip-BIo3HKuG.js} +2 -2
  43. package/_assets/{TradeService-BFimKbMa.js → TradeService-Dsc1mpaP.js} +2 -2
  44. package/_assets/{W3MFrameProviderSingleton-B9jhafK8.js → W3MFrameProviderSingleton-BFY4-xeW.js} +4 -4
  45. package/_assets/{WebCryptoP256-DyBOhws5.js → WebCryptoP256-CB99ORDR.js} +2 -2
  46. package/_assets/{basic-DqGjVuaR.js → basic-CdYc4Tr0.js} +2 -2
  47. package/_assets/{biconomy-DHLXlfRj.js → biconomy-Def1lOEm.js} +2 -2
  48. package/_assets/{browseLayout.styles-DIGiWV7F.js → browseLayout.styles-BXGCQFcT.js} +2 -2
  49. package/_assets/{browser-K77EfAPY.js → browser-BX0XBm_z.js} +2 -2
  50. package/_assets/{browser-DdsJcRjd.js → browser-DEQDOIuL.js} +2 -2
  51. package/_assets/{browser-ponyfill-ChKOon3m.js → browser-ponyfill-BcpGyTE-.js} +2 -2
  52. package/_assets/{buy-LCbXghKJ.js → buy-cQMcQfO4.js} +2 -2
  53. package/_assets/{buy-gasless-C3eOK86l.js → buy-gasless-Csh9DBkB.js} +2 -2
  54. package/_assets/{ccip-Cv-mp4tU.js → ccip-BfASjPus.js} +2 -2
  55. package/_assets/{ccip-DUsCK3Kc.js → ccip-Zdwx5muQ.js} +2 -2
  56. package/_assets/{chains-D8y4gXiX.js → chains-D-cdgFrA.js} +2 -2
  57. package/_assets/{collectionPage.styles-sIfLLscr.js → collectionPage.styles-DEV__sk3.js} +6 -6
  58. package/_assets/{common-DTk7mBqU.js → common-BbV8rrew.js} +2 -2
  59. package/_assets/{controller-CurwucbY.js → controller-BkR3R9Mg.js} +3 -3
  60. package/_assets/{core-BAvyLd8-.js → core-CBBVOAuR.js} +5 -5
  61. package/_assets/{createSvgIcon-zpeijtJA.js → createSvgIcon-Cth-hh7l.js} +3 -3
  62. package/_assets/{crumbs.styles-CBNTPsg2.js → crumbs.styles-CjY4UM0w.js} +2 -2
  63. package/_assets/{custom-NfxJuEnZ.js → custom-BGLNayOO.js} +2 -2
  64. package/_assets/{data-capture-launpdlC.js → data-capture-DhZ_XJZp.js} +2 -2
  65. package/_assets/{dcl-schemas-f1eXO1GU.js → dcl-schemas-Y9IX8NxW.js} +2 -2
  66. package/_assets/{decimals-BDbysjfe.js → decimals-DBDuI7ZW.js} +2 -2
  67. package/_assets/{decimals-B4tUOh8A.js → decimals-DP9STkLa.js} +2 -2
  68. package/_assets/{detectExtension-BClWOU8O.js → detectExtension-BmgUuh4c.js} +2 -2
  69. package/_assets/{disposePreview-CSVbt13x.js → disposePreview-WF3Ir9YY.js} +2 -2
  70. package/_assets/{email-C4yrzmAs.js → email-s2w1RHpz.js} +2 -2
  71. package/_assets/{embedded-wallet-BdcCIIBd.js → embedded-wallet-DYdeVLuP.js} +2 -2
  72. package/_assets/{emotion-styled.browser.esm-D6jkoYJg.js → emotion-styled.browser.esm-BtfIhtDT.js} +2 -2
  73. package/_assets/{engine-COW4L8iR.js → engine-QJZE6lVD.js} +2 -2
  74. package/_assets/{errors-Dm4EoC4Y.js → errors-DlpQMGvm.js} +2 -2
  75. package/_assets/{estimate-l1-fee-EboVWWyS.js → estimate-l1-fee-BNoY_h3C.js} +2 -2
  76. package/_assets/{eth_estimateGas-CJyMOOot.js → eth_estimateGas-Db_JUyHC.js} +2 -2
  77. package/_assets/{eth_getStorageAt-ui_PKixC.js → eth_getStorageAt-B2Rd3N7V.js} +2 -2
  78. package/_assets/{eth_getTransactionCount-Dj28_iy3.js → eth_getTransactionCount-DwtFzPso.js} +2 -2
  79. package/_assets/{ethereum-BGb1a7hp.js → ethereum-BZvolZh7.js} +2 -2
  80. package/_assets/{ethers-CcJCydAy.js → ethers-ONPQNu2c.js} +2 -2
  81. package/_assets/{events-DHuHLZ4S.js → events-Cnxc3MZM.js} +2 -2
  82. package/_assets/{execute-DnYJEp-F.js → execute-CwECTiFh.js} +3 -3
  83. package/_assets/{extractIPFS-BI3ZnKbo.js → extractIPFS-RToz4ucY.js} +2 -2
  84. package/_assets/{features-ra_V-78r.js → features-BrF65X9Z.js} +2 -2
  85. package/_assets/{fetchTokenMetadata-CYzxKK8i.js → fetchTokenMetadata-Cu8uhPp4.js} +3 -3
  86. package/_assets/{field.styles-DACIGn9d.js → field.styles-UoeOVVP4.js} +2 -2
  87. package/_assets/{fortmatic-BiBc9r0q.js → fortmatic-DBQqmc33.js} +2 -2
  88. package/_assets/{get-bytecode-CgbygWsT.js → get-bytecode-B20_NVYR.js} +2 -2
  89. package/_assets/{get-ecosystem-wallet-info-DCLtxtNW.js → get-ecosystem-wallet-info-DvpaDCXi.js} +2 -2
  90. package/_assets/{getBalance-ePdVq27u.js → getBalance-BguIrnfm.js} +3 -3
  91. package/_assets/{getInstalledModules-B18lSHfW.js → getInstalledModules-CMJOAhYg.js} +2 -2
  92. package/_assets/{getNFT-DgCH8NJE.js → getNFT-CRKHqATA.js} +3 -3
  93. package/_assets/{getNFT-CSbyoA6G.js → getNFT-ZEWnX77c.js} +2 -2
  94. package/_assets/{grid.styles-BpLhTNUn.js → grid.styles-DRazCZQg.js} +2 -2
  95. package/_assets/{hashTypedData-CBZsjfgh.js → hashTypedData-CClBb_wd.js} +2 -2
  96. package/_assets/{hashTypedData-yVFcoY3P.js → hashTypedData-DDHunTFS.js} +2 -2
  97. package/_assets/{import-DmFgZBRj.js → import-Bkwnueek.js} +2 -2
  98. package/_assets/{in-app-wallet-calls-bLCqxMis.js → in-app-wallet-calls-BHr5SLHB.js} +2 -2
  99. package/_assets/{in-app-Zhq5hc62.js → in-app-xzDTDYAB.js} +2 -2
  100. package/_assets/{index-DlAQrjgf.js → index-6tB-8D8d.js} +2 -2
  101. package/_assets/{index-CSSwug2Y.js → index-B2_RriIz.js} +2 -2
  102. package/_assets/{index-D1lGKSqj.js → index-B8vpG_ve.js} +2 -2
  103. package/_assets/{index-Dkyel7t7.js → index-BAVmy8GP.js} +2 -2
  104. package/_assets/{index-Cq-WW6GQ.js → index-BGie1ELm.js} +2 -2
  105. package/_assets/{index-BLnkzKxg.js → index-BNCZbOa3.js} +2 -2
  106. package/_assets/{index-D0BnosOy.js → index-BPl_k_Km.js} +2 -2
  107. package/_assets/index-BR5nZSJU.css +1 -0
  108. package/_assets/{index-CD4YREg2.js → index-BRXP99SA.js} +2 -2
  109. package/_assets/{index-Df03K8QZ.js → index-BVNHdowJ.js} +2 -2
  110. package/_assets/{index-DW4PoyNN.js → index-B_9tW51r.js} +14 -14
  111. package/_assets/{index-D_8Btgsh.js → index-BroiUjH-.js} +2 -2
  112. package/_assets/{index-lOKR5VId.js → index-BwlQgcnw.js} +3 -3
  113. package/_assets/{index-Cw8VWMZY.js → index-C2ljwN3_.js} +2 -2
  114. package/_assets/{index-kkEG3ohk.js → index-C38zM6xC.js} +2 -2
  115. package/_assets/{index-CoCFM2rZ.js → index-C6vFwLXO.js} +2 -2
  116. package/_assets/{index-CCLoAj7O.js → index-C9Pokjg9.js} +2 -2
  117. package/_assets/{index-Bu2Oq1U8.js → index-CAxBC1Uk.js} +2 -2
  118. package/_assets/{index-DoGNrn0I.js → index-CCAaQhfo.js} +2 -2
  119. package/_assets/{index-tYHoqTKH.js → index-CDDb8L2e.js} +3 -3
  120. package/_assets/{index-BgsoIBBF.js → index-CEjaVDS2.js} +2 -2
  121. package/_assets/{index-BUsiRqXW.js → index-CF2NCCCk.js} +2 -2
  122. package/_assets/{index-uIbP2cI_.js → index-CNNwz-Ox.js} +2 -2
  123. package/_assets/{index-C5gf0rgL.js → index-CPY0doEH.js} +4 -4
  124. package/_assets/{index-Blxb8cZj.js → index-CZH9YSNz.js} +2 -2
  125. package/_assets/{index-BZ40RxzB.js → index-C_6_qdE8.js} +2 -2
  126. package/_assets/{index-DJ_ePno4.js → index-CerWtNQP.js} +2 -2
  127. package/_assets/{index-BF2zb2ia.js → index-Cf-K62h6.js} +2 -2
  128. package/_assets/{index-Co4bnQw6.js → index-CiAs8gu-.js} +2 -2
  129. package/_assets/{index-jBsq1W4A.js → index-ClZTLO9x.js} +2 -2
  130. package/_assets/{index-0y_JNyq9.js → index-ClZwHZ-1.js} +2 -2
  131. package/_assets/{index-BqZAU7Ma.js → index-CpCYnuUf.js} +2 -2
  132. package/_assets/{index-BfWLNN5E.js → index-Cq3MUpHI.js} +4 -4
  133. package/_assets/{index-xTgTGzPW.js → index-CvCN2utU.js} +2 -2
  134. package/_assets/{index-Cb17RYKj.js → index-CvYhbyB3.js} +2 -2
  135. package/_assets/{index-Yl2N2ol3.js → index-CzcXqzFr.js} +2 -2
  136. package/_assets/{index--vojXdap.js → index-D-4tfRXD.js} +3 -3
  137. package/_assets/{index-BG6ChhFb.js → index-D-MsTKOF.js} +2 -2
  138. package/_assets/{index-a_Ml1du_.js → index-D0TO84Sb.js} +2 -2
  139. package/_assets/{index-Bo9raNqf.js → index-D0rhkQNM.js} +3 -3
  140. package/_assets/{index-C8bcBFjT.js → index-D7hI7QCB.js} +2 -2
  141. package/_assets/{index-GWhbhd--.js → index-DC_HuNwa.js} +2 -2
  142. package/_assets/{index-DRMbHpFi.js → index-DSdsqACJ.js} +2 -2
  143. package/_assets/{index-cx2JGpr-.js → index-DWq9lH-h.js} +2 -2
  144. package/_assets/{index-CMoE-zu6.js → index-DYJorIz7.js} +2 -2
  145. package/_assets/{index-ChgzCx7J.js → index-DZCebOSV.js} +3 -3
  146. package/_assets/{index-CFxxckIM.js → index-DbEF7rCT.js} +4 -4
  147. package/_assets/{index-ChRees3-.js → index-DcsfuUaQ.js} +2 -2
  148. package/_assets/{index-DZ2ijypA.js → index-Dd4SOtlb.js} +2 -2
  149. package/_assets/{index-DCpUwoOZ.js → index-Dn_v-4rQ.js} +2 -2
  150. package/_assets/{index-CdSIZj-z.js → index-DoUCGGIP.js} +2 -2
  151. package/_assets/{index-FCFE1MyV.js → index-MYKbwgBa.js} +2 -2
  152. package/_assets/{index-BTTGRKzv.js → index-PWMb6ZOe.js} +2 -2
  153. package/_assets/{index-oYSDeZHR.js → index-RQBaPhZZ.js} +2 -2
  154. package/_assets/{index-DpPPUeRR.js → index-W9y3B94r.js} +2 -2
  155. package/_assets/{index-Dl28whiB.js → index-Ycu1Efd5.js} +2 -2
  156. package/_assets/{index-C2hoiOnF.js → index-ZFip7Qm5.js} +2 -2
  157. package/_assets/{index-D6pMz2cd.js → index-cMdIwdPB.js} +4 -4
  158. package/_assets/{index-BTM3r4gK.js → index-etSO6k1-.js} +2 -2
  159. package/_assets/{index-DeX0VO8c.js → index-f4XVR9Vu.js} +2 -2
  160. package/_assets/{index-CHtlwNi-.js → index-iFqEqotN.js} +2 -2
  161. package/_assets/{index-xSO91-1u.js → index-lppz8g54.js} +2 -2
  162. package/_assets/{index-D6JdbdsA.js → index-nl-8F_9V.js} +2 -2
  163. package/_assets/{index-CBURCD9J.js → index-qMZBZipv.js} +2 -2
  164. package/_assets/{index-BPR8NsDD.js → index-r7YKLeOf.js} +2 -2
  165. package/_assets/{index-CnuPQ9hC.js → index-vqD571_k.js} +2 -2
  166. package/_assets/{index-BMXO7W3r.js → index-xUBXenIa.js} +2 -2
  167. package/_assets/{index-C04lSlrD.js → index-z-rJW2w2.js} +2 -2
  168. package/_assets/{index.es-rJ81TjHc.js → index.es-BmLJs4Sf.js} +5 -5
  169. package/_assets/{index.es-C2iY2dL8.js → index.es-CYA-RWHm.js} +2 -2
  170. package/_assets/{index.es-D87GfgFQ.js → index.es-D45aSNIr.js} +2 -2
  171. package/_assets/{index.es-CHNZ2Uk-.js → index.es-Dm5j7t68.js} +2 -2
  172. package/_assets/items-empty-C-EnJrLW.js +2 -0
  173. package/_assets/{jump-Df8mOfq9.js → jump-Br9Dsy87.js} +2 -2
  174. package/_assets/{linkAccount-B0jvq68U.js → linkAccount-cYB7T4Tv.js} +2 -2
  175. package/_assets/{loader-logo-BkLUrS9z.js → loader-logo-D6wRaebi.js} +2 -2
  176. package/_assets/{localBatchGatewayRequest-DpHPWrEV.js → localBatchGatewayRequest-COaaXHV3.js} +2 -2
  177. package/_assets/{modal.styles--rb9_6NI.js → modal.styles-CLWgiYOt.js} +2 -2
  178. package/_assets/{native-DW1KbBdt.js → native-D0UXnlN2.js} +2 -2
  179. package/_assets/{networks-C1JkQjCS.js → networks-DOfb9fnb.js} +2 -2
  180. package/_assets/{onramp-sReTmYeH.js → onramp-DuzeTgkJ.js} +2 -2
  181. package/_assets/{openzeppelin-Lauv3VPr.js → openzeppelin-BYeG61g_.js} +2 -2
  182. package/_assets/{ownerOf-BOdzosAI.js → ownerOf-iXYBoNOp.js} +2 -2
  183. package/_assets/{parseNft-D8tStDvF.js → parseNft-CFjAUYrS.js} +3 -3
  184. package/_assets/{parseSignature-BDLIfdN1.js → parseSignature-Bz44eKqN.js} +4 -4
  185. package/_assets/{parseSignature-CAyxHhT-.js → parseSignature-DhzqF-CI.js} +2 -2
  186. package/_assets/{passkeys-C7NVp8o6.js → passkeys-DmPYPC4_.js} +2 -2
  187. package/_assets/{pay-with-exchange-BPWFq0Sh.js → pay-with-exchange-DgE3ADUi.js} +2 -2
  188. package/_assets/{prepare-contract-call-9Yd8RfRt.js → prepare-contract-call-UX6BV4kX.js} +2 -2
  189. package/_assets/{qr-overlay-BiVNJXsu.js → qr-overlay-BK6W2N1n.js} +4 -4
  190. package/_assets/{react-BMUOnEEj.js → react-C7jFYDiK.js} +2 -2
  191. package/_assets/{receive-CFw1Fe-g.js → receive-BPZlHFZz.js} +2 -2
  192. package/_assets/{resolveImplementation-BqK0GitS.js → resolveImplementation-CBX9bsBq.js} +2 -2
  193. package/_assets/{resume-buy-CUAA5GbJ.js → resume-buy-CF_A677G.js} +2 -2
  194. package/_assets/{resume-name-D9FG7R10.js → resume-name-DRIQjZDI.js} +2 -2
  195. package/_assets/{rpc-Vm-NVumT.js → rpc-CjoJTeFs.js} +2 -2
  196. package/_assets/{sales-empty-CNrEVuOC.js → sales-empty-CCIeKhF8.js} +2 -2
  197. package/_assets/{search-empty-CV_abtks.js → search-empty-Cv-A-bGM.js} +2 -2
  198. package/_assets/{secp256k1-BTkw91Eh.js → secp256k1-3HnIIFaB.js} +2 -2
  199. package/_assets/{secp256k1-Uteq3mDc.js → secp256k1-BC23J6L7.js} +2 -2
  200. package/_assets/{secp256k1-D6bZi4F3.js → secp256k1-H9BOWccb.js} +2 -2
  201. package/_assets/{send-eEkXQpS4.js → send-BvvSZGqL.js} +2 -2
  202. package/_assets/{send-batch-transaction-dnsa5i-G.js → send-batch-transaction-DWd-4a-P.js} +2 -2
  203. package/_assets/{send-eip712-transaction-Ctlxx78C.js → send-eip712-transaction-CV3wA8Tg.js} +3 -3
  204. package/_assets/{send-gasless-transaction-BYBkL2W1.js → send-gasless-transaction-CL7pL7R6.js} +3 -3
  205. package/_assets/{send-transaction-wnTH9Ois.js → send-transaction-BCsU6ARj.js} +3 -3
  206. package/_assets/{sendMetaTransaction-DP7QBVwJ.js → sendMetaTransaction-BYS3mpcN.js} +2 -2
  207. package/_assets/{sendRawTransaction-BCf9IAb9.js → sendRawTransaction-Ddvz0FY1.js} +4 -4
  208. package/_assets/{sentry-AHDJ5rD6.js → sentry-D0Tn9ys9.js} +3 -3
  209. package/_assets/{serializeTransaction-1MrnOdzj.js → serializeTransaction-D8NuHg0X.js} +2 -2
  210. package/_assets/{session-proposal-Ckx77e7p.js → session-proposal-BqkEkhl4.js} +2 -2
  211. package/_assets/{session-request-C9dPLCrY.js → session-request-CGDqRcgz.js} +3 -3
  212. package/_assets/{sha256-BFmSglv0.js → sha256-eeK7AQj_.js} +2 -2
  213. package/_assets/{sha3-D5evgfBi.js → sha3-xnrXfD_X.js} +2 -2
  214. package/_assets/signin-empty-BhQynyYC.js +2 -0
  215. package/_assets/{signing-ChKf3G93.js → signing-COt_6P6-.js} +4 -4
  216. package/_assets/{skeleton.styles-CxYIxZvg.js → skeleton.styles-BIRzF96I.js} +2 -2
  217. package/_assets/{socials-D8FJ_2bh.js → socials-FBZ8ufY2.js} +2 -2
  218. package/_assets/{styled-DebsgTan.js → styled-D5armwdx.js} +3 -3
  219. package/_assets/{swaps-DYZxayBC.js → swaps-BUkp_a-D.js} +2 -2
  220. package/_assets/{thirdweb-Dcspmb9e.js → thirdweb-Gp2Qqqv-.js} +4 -4
  221. package/_assets/{to-serializable-transaction-DGXTxFot.js → to-serializable-transaction-Dqzq4pvb.js} +3 -3
  222. package/_assets/{totalSupply-k5KATu1G.js → totalSupply-CuUUGFEf.js} +2 -2
  223. package/_assets/{trade-encoding-BdOKZFe9.js → trade-encoding-BULjvT7g.js} +2 -2
  224. package/_assets/{transaction-CAMhXwuR.js → transaction-BO1gVZ_X.js} +2 -2
  225. package/_assets/{transactionReceipt-BUFhNuka.js → transactionReceipt-BB3i5pIg.js} +2 -2
  226. package/_assets/{transactions-CL0A7v2J.js → transactions-C_RN2bX3.js} +2 -2
  227. package/_assets/{useInfiniteGrid-BJOH6EoQ.js → useInfiniteGrid-DvFwlZIH.js} +2 -2
  228. package/_assets/{useStore-Z4dQ8Aj_.js → useStore-pA_MeHwI.js} +3 -3
  229. package/_assets/{useTheme-DIa4vWp6.js → useTheme-B3x14PSR.js} +2 -2
  230. package/_assets/{utils-tYaQBEGO.js → utils-D_pHR6O7.js} +2 -2
  231. package/_assets/{verifyHash-D48j4cac.js → verifyHash-BQhqA-8D.js} +2 -2
  232. package/_assets/{w3m-modal-C7KR5IbE.js → w3m-modal-8HO4zh7L.js} +2 -2
  233. package/_assets/{w3m-modal-uZKS1tsX.js → w3m-modal-CL7Ujenr.js} +2 -2
  234. package/_assets/{wait-for-tx-receipt-DbASf0Bn.js → wait-for-tx-receipt-CPO1Z8xR.js} +2 -2
  235. package/_assets/{wallets-JtnX6fh3.js → wallets-Da574xT5.js} +6 -6
  236. package/_assets/{web-connector-LDUbHucK.js → web-connector-Cwgma0GW.js} +4 -4
  237. package/_assets/{writeContract-DYdhjqOO.js → writeContract-Dv21cURn.js} +2 -2
  238. package/_assets/{zora-sepolia-Ba20BvAw.js → zora-sepolia-9LItxCQr.js} +2 -2
  239. package/_assets/{zoraTestnet-DOF6cgjY.js → zoraTestnet-J8T9VM84.js} +2 -2
  240. package/index.html +12 -12
  241. package/package.json +2 -2
  242. package/_assets/MyStore-Cpl5KPnh.js +0 -1639
  243. package/_assets/index-CE1snlj6.css +0 -1
  244. package/_assets/items-empty-DI9kUavz.js +0 -2
  245. package/_assets/signin-empty-BMddZLGG.js +0 -2
@@ -1,1639 +0,0 @@
1
- import{r as C,j as e,L as re,u as Zt,f as Xt,N as es}from"./react-BMUOnEEj.js";import{c as q,bU as ts,w as B,cu as ss,cv as ns,s as r,t as i,z as os,a as s,I as z,ca as as,H as It,B as is,x as rs,cc as ls,cw as ds,a3 as cs,aE as Mt,aH as hs,$ as ps,cx as Ne,cy as Wt,O as ms,c9 as us,av as xs,aw as fs,ax as gs,as as ys,bO as bs,cz as ws}from"./index-DW4PoyNN.js";import{f as js,S as Ss}from"./SaleCountdown-JYFZpbfY.js";import{d as ks}from"./dcl-schemas-f1eXO1GU.js";import{t as $s,u as vs,C as Cs,M as As,i as Is}from"./ManaPricingBanner-Obs541p-.js";import{T as xe}from"./Tooltip-BlpuIXVh.js";import{m as Ms}from"./mana-matic-CEqvSwrJ.js";import{E as ot}from"./ErrorNotice-PsNuXhOs.js";import{u as Ws,L as Ls}from"./useStore-Z4dQ8Aj_.js";import{s as Ts}from"./signin-empty-BMddZLGG.js";import{g as Ps,R as zs,M as _s}from"./browseLayout.styles-DIGiWV7F.js";import"./sentry-AHDJ5rD6.js";import"./ethers-CcJCydAy.js";import"./intl-AKLEHPeO.js";import"./errors-Dm4EoC4Y.js";import"./sha3-D5evgfBi.js";import"./browser-K77EfAPY.js";import"./trade-encoding-BdOKZFe9.js";import"./sendMetaTransaction-DP7QBVwJ.js";import"./ManaPricingBanner.styles-CR9FJ8gF.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="8c1246a1-f22a-4828-8460-50754c811497",t._sentryDebugIdIdentifier="sentry-dbid-8c1246a1-f22a-4828-8460-50754c811497")}catch{}})();function _(t){try{return BigInt(t||"0")}catch{return 0n}}async function at(t){var o;const n=new URLSearchParams({seller:t.seller});t.from!=null&&n.set("from",String(t.from)),t.to!=null&&n.set("to",String(t.to));const a=await fetch(`${q.marketplaceServerUrl}/v1/sales/summary?${n.toString()}`);if(!a.ok)throw await((o=a.body)==null?void 0:o.cancel()),new Error(`fetchSalesSummary ${a.status}`);const{data:l}=await a.json();return l}function Fs(t){const n=new URLSearchParams;return t.seller&&n.set("seller",t.seller),t.contractAddress&&n.set("contractAddress",t.contractAddress),t.itemId!=null&&n.set("itemId",t.itemId),t.type&&n.set("type",t.type),t.from!=null&&n.set("from",String(t.from)),t.to!=null&&n.set("to",String(t.to)),n.set("first",String(t.first??100)),t.skip&&n.set("skip",String(t.skip)),n.set("sortBy","recently_sold"),n}async function Oe(t){var l;const n=await fetch(`${q.marketplaceServerUrl}/v1/sales?${Fs(t).toString()}`);if(!n.ok)throw await((l=n.body)==null?void 0:l.cancel()),new Error(`fetchSales ${n.status}`);const a=await n.json();return{data:a.data??[],total:a.total??0}}async function Ns(t){const{total:n}=await Oe({...t,first:1});return n}async function Es(t,{first:n,skip:a}){const{data:l,total:o}=await Oe({...t,first:n,skip:a});return{rows:l,total:o}}async function Os(t,{cap:n=5e3}={}){const l=[];let o=0;for(let h=0;h<n;h+=1e3){const f=Math.min(1e3,n-h),p=await Oe({...t,first:f,skip:h});if(o=p.total,l.push(...p.data),p.data.length<f||l.length>=o)break}return{rows:l,total:o,truncated:o>l.length}}const Ds=864e5;function it(t,n){return{current:t,previous:n,pct:n===0?null:(t-n)/n*100}}function Bs(t,n){const a=n===0n?null:Number((t-n)*10000n/n)/100;return{current:Number(t),previous:Number(n),pct:a}}function Rs(t,n=3){var f;const a=t.filter(Lt),l=new Map;for(const p of a){const y=p.buyer.toLowerCase();l.set(y,(l.get(y)??0)+1)}const o=[...l.entries()].sort((p,y)=>y[1]-p[1]||p[0].localeCompare(y[0])),h=o.filter(([,p])=>p>1).length;return{total:o.length,repeat:h,repeatPct:o.length===0?0:h/o.length*100,topSharePct:a.length===0?0:(((f=o[0])==null?void 0:f[1])??0)/a.length*100,top:o.slice(0,n).map(([p,y])=>({address:p,bought:y}))}}function Lt(t){return t.type==="mint"&&t.itemId!=null}function Hs(t,n){const a=t.filter(Lt),l=new Map;for(const o of a){const h=o.buyer.toLowerCase(),f=o.contractAddress.toLowerCase(),p=l.get(h)??{bought:0,items:new Set,collections:new Set,spentWei:0n,lastAt:0};p.bought+=1,p.items.add(`${f}-${o.itemId}`),p.collections.add(f),p.spentWei+=_(o.price),o.timestamp>p.lastAt&&(p.lastAt=o.timestamp),l.set(h,p)}return[...l.entries()].map(([o,h])=>({address:o,bought:h.bought,items:h.items.size,collections:h.collections.size,spentWei:h.spentWei,lastAt:h.lastAt})).sort((o,h)=>h.spentWei>o.spentWei?1:h.spentWei<o.spentWei?-1:h.bought-o.bought).slice(0,n)}function qs(t,n){if(t.length===0)return null;const a=t.reduce((l,o)=>o.timestamp>l?o.timestamp:l,0);return Math.max(0,Math.floor((n-a)/Ds))}function Us(t,n=5){return t.flatMap(a=>a.items.filter(l=>l.sold>0).map(l=>({key:l.key,contractAddress:a.contractAddress,itemId:l.itemId,name:l.name,thumbnail:l.thumbnail,rarity:l.rarity,collectionName:a.name,sold:l.sold,earnedWei:l.earnedWei}))).sort((a,l)=>l.sold-a.sold||(l.earnedWei>a.earnedWei?1:l.earnedWei<a.earnedWei?-1:0)||a.name.localeCompare(l.name)).slice(0,n)}const Me=100;async function Vs(t){const[{collections:n},a]=await Promise.all([ts(t,{first:100}),Gs(t)]),l=new Map(n.map(o=>[o.contractAddress.toLowerCase(),o.name]));return a.map(o=>{const h=(o.rarity??"common").toLowerCase(),f=Ks(h),p=Number(o.available??0);return{id:o.id,collectionId:o.contractAddress,collectionName:l.get(o.contractAddress.toLowerCase())??o.contractAddress,contractAddress:o.contractAddress,blockchainItemId:String(o.itemId??""),name:o.name,category:o.category,rarity:h,thumbnail:o.thumbnail??"",type:o.category==="emote"?"emote":"wearable",isPublished:!0,isApproved:!0,totalSupply:Math.max(0,f-p),maxSupply:f,remainingSupply:p,createdAt:o.createdAt?o.createdAt*1e3:void 0,minters:[]}})}function Ks(t){try{return ks.Rarity.getMaxSupply(t)}catch{return 0}}async function Gs(t){var a;const n=[];for(let l=0;;l+=Me){const o=new URLSearchParams({creator:t,first:String(Me),skip:String(l),includeSocialEmotes:"false"}),h=await fetch(`${q.marketplaceServerUrl}/v3/catalog/items?${o.toString()}`);if(!h.ok)throw await((a=h.body)==null?void 0:a.cancel()),new Error(`fetchPublicCatalogue ${h.status}`);const{data:f}=await h.json(),p=f??[];if(n.push(...p),p.length<Me)return n}}const Ee=864e5,fe=14;function Ys(t,n,a){const l=new Array(fe).fill(0),o=a-n*Ee,h=n*Ee/fe;for(const f of t)f.timestamp<o||f.timestamp>a||(l[Math.min(fe-1,Math.floor((f.timestamp-o)/h))]+=1);return l}function Qs({rows:t,total:n,truncated:a,mints:l,summary:o,catalogue:h,saleState:f,unreadable:p,days:y,now:L}){const m=new Map,T=new Map,F=new Map;for(const c of t){if(c.type!=="mint"||c.itemId==null)continue;const x=c.contractAddress.toLowerCase(),S=`${x}-${c.itemId}`;m.set(S,(m.get(S)??0)+1),T.set(S,(T.get(S)??0n)+_(c.price));const g=F.get(x)??[];g.push(c),F.set(x,g)}const I=t.reduce((c,x)=>x.timestamp<c?x.timestamp:c,L),N=Math.max(1,Math.ceil((L-I)/Ee)),E=y!=null&&!a?y:Math.max(y==null?fe:1,N),ne=new Map(((o==null?void 0:o.byItem)??[]).map(c=>[`${c.contractAddress.toLowerCase()}-${c.itemId}`,c.soldLifetime])),oe=new Map(((o==null?void 0:o.byCollection)??[]).map(c=>[c.contractAddress.toLowerCase(),c])),O=new Map;let G=0,U=0,A=0,v=0,j=0;for(const c of h){const x=c.contractAddress.toLowerCase(),S=f[`${c.contractAddress}-${c.blockchainItemId}`],g=c.remainingSupply<=0?"soldout":p!=null&&p.has(x)?"unknown":S!=null&&S.isOnSale?S.manaWei?"classic":"discounted":"unlisted";g==="soldout"?v+=1:g==="unlisted"?j+=1:g==="classic"?A+=1:g==="discounted"&&(U+=1);const k=O.get(x)??{contractAddress:x,collectionId:c.collectionId,name:c.collectionName,items:[],listed:0,classic:0,soldOut:0,sold:0,earningsWei:0n,createdAt:null,trend:[],claimed:0,runTotal:0,exhausted:!1},P=m.get(`${x}-${c.blockchainItemId}`)??0;k.items.push({key:`${x}-${c.blockchainItemId}`,itemId:c.blockchainItemId,name:c.name,thumbnail:c.thumbnail,rarity:c.rarity,left:c.remainingSupply,minted:c.totalSupply,sold:P,earnedWei:T.get(`${x}-${c.blockchainItemId}`)??0n,lifetimeSold:ne.get(`${x}-${c.blockchainItemId}`)??null,priceCredits:(S==null?void 0:S.priceCredits)??null,manaWei:(S==null?void 0:S.manaWei)??null,createdAt:c.createdAt??null,state:g}),k.sold+=P,k.claimed+=c.totalSupply,k.runTotal+=c.totalSupply+c.remainingSupply,G+=P,c.createdAt&&(k.createdAt==null||c.createdAt>k.createdAt)&&(k.createdAt=c.createdAt),g==="soldout"?k.soldOut+=1:g==="classic"?k.classic+=1:g==="discounted"&&(k.listed+=1),O.set(x,k)}for(const[c,x]of O){const S=F.get(c)??[],g=oe.get(c);x.earningsWei=g?_(g.earnedWei):S.reduce((k,P)=>k+_(P.price),0n),g&&(x.sold=g.sold),x.trend=Ys(S,E,L),x.exhausted=x.items.length>0&&x.soldOut===x.items.length,x.items.sort((k,P)=>P.sold-k.sold||k.name.localeCompare(P.name))}const w=[...O.values()].reduce((c,x)=>c+x.sold,0);return{collections:[...O.values()].sort((c,x)=>x.sold-c.sold||c.name.localeCompare(x.name)),sold:(o==null?void 0:o.total)??n,mints:(o==null?void 0:o.mints)??l,resales:o?o.resales:n-l,earningsWei:o?_(o.earnedWei):t.reduce((c,x)=>c+_(x.price),0n),partial:o?!1:a,breakdownPartial:a,fetched:t.length,unattributed:o?o.total-w:t.length-G,trendDays:E,unknownCollections:[...O.keys()].filter(c=>p==null?void 0:p.has(c)).length,royalties:o?{resales:o.royalties.resales,volumeWei:_(o.royalties.volumeWei)}:null,listed:U,neverListed:j,classic:A,soldOut:v}}const Js=new Map,J=864e5,Zs={"7d":7,"30d":30,all:null};function Xs(t,n,a){const l=a??(t==null?void 0:t.address),o=Zs[n],h=C.useMemo(()=>Math.floor(Date.now()/J)*J+J-1,[]),f=o?h-o*J:void 0,p=B({queryKey:["store-sales",l,n],enabled:!!l,queryFn:()=>Os({seller:l,from:f})}),y=B({queryKey:["store-summary",l,n],enabled:!!l,queryFn:()=>at({seller:l,from:f})}),L=o!=null?h-2*o*J:void 0,m=o!=null?h-o*J:void 0,T=B({queryKey:["store-summary-previous",l,n],enabled:!!l&&L!==void 0,queryFn:()=>at({seller:l,from:L,to:m})}),F=B({queryKey:["store-mints",l,n],enabled:!!l,queryFn:()=>Ns({seller:l,from:f,type:"mint"})}),I=B({queryKey:["store-catalogue",l,!!a],enabled:!!l&&(!!a||!!t),queryFn:()=>a?Vs(a):js(l,t.identity,{includeSoldOut:!0})}),N=C.useMemo(()=>[...new Set((I.data??[]).map(A=>A.contractAddress))],[I.data]),E=B({queryKey:["store-sale-state",l,N],enabled:N.length>0,queryFn:async()=>{const A=await Promise.allSettled(N.map(w=>ss(w))),v={},j=new Set;return A.forEach((w,c)=>{const x=N[c];if(w.status==="rejected"){j.add(x.toLowerCase());return}for(const[S,g]of Object.entries(w.value))v[`${x}-${S}`]=g}),{states:v,unreadable:j}}}),ne=B({queryKey:["store-saves",N,(I.data??[]).length],enabled:(I.data??[]).length>0,queryFn:async()=>{const A=(I.data??[]).map(w=>`${w.contractAddress.toLowerCase()}-${w.blockchainItemId}`),v=await Promise.allSettled(A.map(async w=>[w,(await ns(w)).count])),j=new Map;for(const w of v)w.status==="fulfilled"&&j.set(w.value[0],w.value[1]);return j}}),oe=C.useMemo(()=>{var A,v,j,w,c;return I.data?Qs({rows:((A=p.data)==null?void 0:A.rows)??[],total:((v=p.data)==null?void 0:v.total)??0,truncated:!!((j=p.data)!=null&&j.truncated),mints:F.data??0,summary:y.data??null,catalogue:I.data,saleState:((w=E.data)==null?void 0:w.states)??{},unreadable:(c=E.data)==null?void 0:c.unreadable,days:o,now:h}):null},[I.data,p.data,F.data,y.data,E.data,o,h]),O=C.useMemo(()=>{var A;return $s(I.data??[],(A=E.data)==null?void 0:A.states)},[I.data,E.data]),G=C.useMemo(()=>{var c,x,S;const A=Rs(((c=p.data)==null?void 0:c.rows)??[]),v=Hs(((x=p.data)==null?void 0:x.rows)??[]),j=qs(((S=p.data)==null?void 0:S.rows)??[],h),w=T.data;return{collectors:A,buyers:v,quietDays:j,sold:w&&y.data?it(y.data.total,w.total):null,earnings:w&&y.data?Bs(_(y.data.earnedWei),_(w.earnedWei)):null,royalties:w&&y.data?it(y.data.royalties.resales,w.royalties.resales):null}},[p.data,y.data,T.data,h]),U=ne.data??Js;return{stats:oe,trend:G,savesByKey:U,saleable:O,isLoading:I.isLoading||p.isLoading||y.isLoading,error:I.error??p.error??null}}const en=r.span`
2
- display: inline-flex;
3
- align-items: center;
4
- cursor: help;
5
- /* The glyph sits tight against its own box, so the figure beside it needs the gap from here. */
6
- margin-right: 3px;
7
-
8
- img {
9
- width: 1em;
10
- height: 1em;
11
- vertical-align: -0.125em;
12
- }
13
- `;function D({kind:t,className:n}){const a=t==="mana"?i("currency.polygonMana"):i("currency.credits");return e.jsx(xe,{content:a,children:e.jsx(en,{className:n,"aria-label":a,role:"img","data-kind":t,children:t==="mana"?e.jsx("img",{src:Ms,alt:"","aria-hidden":!0}):e.jsx(os,{className:"ccy-mark"})})})}const ie=864e5,H=Date.now(),tn=(t,n,a,l,o)=>({key:`0xmock${t}-${t}`,itemId:String(t),name:n,thumbnail:"",rarity:["epic","legendary","rare","mythic","unique"][t%5],left:l-a,minted:a,sold:Math.round(a/6),earnedWei:BigInt(Math.round(a/6)*(3+t%5))*10n**18n,lifetimeSold:a,priceCredits:o==="classic"?null:20+t*5,manaWei:o==="classic"?"5000000000000000000":null,createdAt:H-t*11*ie,state:o}),sn=[[0,1,1,2,3,3,5,6,8,9,11,13,16,21],[2,9,1,0,7,2,11,1,0,6,14,2,8,3],[18,16,14,11,9,8,6,5,3,2,2,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0]],nn=[{name:"Neon Runners",items:[["Neon Runner Boots",340,1e3,"discounted"],["Neon Runner Jacket",210,1e3,"discounted"],["Neon Runner Visor",95,1e3,"discounted"]],trend:0,earnings:1840,sold:128},{name:"Founders Edition",items:[["Founders Cloak",1,1,"soldout"],["Founders Crown",1,1,"soldout"]],trend:3,earnings:0,sold:0},{name:"Midnight Capsule",items:[["Midnight Scarf",0,500,"unlisted"],["Midnight Mittens",0,500,"unlisted"],["Midnight Parka",0,500,"unlisted"]],trend:3,earnings:0,sold:0},{name:"Classic Collection",items:[["Classic Tee",60,200,"classic"],["Classic Cap",44,200,"classic"]],trend:2,earnings:310,sold:12},{name:"Summer Drop",items:[["Summer Shades",480,1e3,"discounted"],["Summer Sandals",300,1e3,"discounted"]],trend:1,earnings:920,sold:71},{name:"Studio Basics",items:[["Studio Hoodie",12,100,"unknown"]],trend:3,earnings:0,sold:0}];function on(t,n){const a=t.items.map(([o,h,f,p],y)=>tn(n*10+y,o,h,f,p)),l=a.reduce((o,h)=>o+h.minted,0);return{contractAddress:`0xmock${n.toString().padStart(36,"0")}`,collectionId:`mock-${n}`,name:t.name,items:a,listed:a.filter(o=>o.state==="discounted").length,classic:a.filter(o=>o.state==="classic").length,soldOut:a.filter(o=>o.state==="soldout").length,sold:t.sold,earningsWei:BigInt(t.earnings)*10n**18n,createdAt:H-n*30*ie,trend:sn[t.trend],claimed:l,runTotal:a.reduce((o,h)=>o+h.minted+h.left,0),exhausted:a.length>0&&a.every(o=>o.state==="soldout")}}const De=(()=>{const t=nn.map(on);return{collections:t,sold:211,mints:198,resales:13,earningsWei:3070n*10n**18n,partial:!1,breakdownPartial:!1,fetched:211,unattributed:6,trendDays:30,unknownCollections:1,royalties:{resales:41,volumeWei:2140n*10n**18n},listed:t.reduce((n,a)=>n+a.listed,0),neverListed:t.reduce((n,a)=>n+a.items.filter(l=>l.state==="unlisted").length,0),classic:t.reduce((n,a)=>n+a.classic,0),soldOut:t.reduce((n,a)=>n+a.soldOut,0)}})(),an={total:74,repeat:29,repeatPct:39.19,topSharePct:21.3},rn=Array.from({length:12},(t,n)=>({address:`0x${(n+1).toString(16).repeat(40).slice(0,40)}`,bought:12-n,items:Math.max(1,8-n),collections:Math.max(1,5-Math.floor(n/2)),spentWei:BigInt(900-n*62)*10n**18n,lastAt:H-(n+1)*9*36e5})),rt=(t,n,a,l,o,h)=>({id:`mock-coupon-${t}`,signer:"0xmockcreator0000000000000000000000000001",chainId:137,network:"MATIC",checks:{uses:50,expiration:H+o,effective:H-l,salt:`0x${t.toString().repeat(64).slice(0,64)}`,contractSignatureIndex:0,signerSignatureIndex:0,allowedRoot:"0x",externalChecks:[],allowedProof:[]},couponManager:"0x6c956587d9fe70032781edcdc626310648575382",couponAddress:"0x4ee8f6b87f4917a3bbc7c8bb3a06db8555f83db9",discountType:1,discount:a*1e4,root:`0x${"44".repeat(32)}`,collections:[n],signature:`0x${"cd".repeat(65)}`,proof:[],createdAt:H-l,state:{uses:h,cancelled:!1,revoked:!1,checkedAt:H},status:"active"}),ln=[rt(1,`0xmock${"0".repeat(36)}`,25,3*ie,3*ie,18),rt(2,`0xmock${"1".padStart(36,"0")}`,15,12*36e5,9*ie,0)],dn=new Map(De.collections.flatMap(t=>t.items.map((n,a)=>[n.key,[41,3,128,0,17,6,92,1][a%8]]))),cn=De.collections.flatMap(t=>t.items.map(n=>[t.contractAddress,n])),hn=cn.slice(0,5).map(([t,n],a)=>({id:`mock-sale-${a}`,itemId:a===3?null:n.itemId,contractAddress:t,buyer:`0x${(a+3).toString(16).repeat(40).slice(0,40)}`,seller:"0xmockcreator0000000000000000000000000001",price:String(BigInt(40+a*17)*10n**18n),timestamp:H-(a===0?8*6e4:a*19*36e5),type:a===3?"order":"mint",network:"MATIC",tokenId:a===3?"1042":null})),pn=r.div`
14
- display: flex;
15
- flex-direction: column;
16
- gap: 22px;
17
-
18
- /* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. Every
19
- surface on this page is dark, so the whole page opts out once rather than each panel in turn. */
20
- .ccy-mark,
21
- .ccy {
22
- color: ${s.colors.softWhite};
23
- }
24
-
25
- /* MANA's mark is an image, not a masked glyph, so no colour reaches it: the token's own artwork is dark
26
- and vanished into every panel on this page. Driven to white instead. */
27
- [data-kind='mana'] img {
28
- filter: brightness(0) invert(1);
29
- }
30
- `,mn=r.header`
31
- display: flex;
32
- align-items: flex-start;
33
- justify-content: space-between;
34
- gap: 20px;
35
- flex-wrap: wrap;
36
- /* The rule that closes the identity block off from the figures under it. */
37
- padding-bottom: 24px;
38
- border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
39
- `,un=r.div`
40
- display: flex;
41
- align-items: center;
42
- gap: 12px;
43
- min-width: 0;
44
- `,xn=r.div`
45
- display: flex;
46
- flex-direction: column;
47
- align-items: flex-start;
48
- justify-content: center;
49
- gap: 4px;
50
- padding-bottom: 8px;
51
- min-width: 0;
52
- `,fn=r.span`
53
- flex: none;
54
- display: block;
55
- width: 84px;
56
- height: 84px;
57
- border-radius: 50%;
58
- background-color: rgba(0, 0, 0, 0.22);
59
- background-size: cover;
60
- background-position: center top;
61
- border: 2px solid rgba(252, 252, 252, 0.22);
62
-
63
- ${s.media.maxWidth("mobile")} {
64
- width: 56px;
65
- height: 56px;
66
- }
67
- `,gn=r.p`
68
- margin: 0;
69
- font-family: ${s.font.sans};
70
- font-size: 14px;
71
- font-weight: 600;
72
- line-height: 1.6;
73
- color: ${s.colors.softWhite};
74
- overflow: hidden;
75
- text-overflow: ellipsis;
76
- white-space: nowrap;
77
- max-width: 100%;
78
- `,yn=r.h1`
79
- margin: 0;
80
- font-family: ${s.font.sans};
81
- font-size: 32px;
82
- font-weight: 700;
83
- line-height: 1.2;
84
- letter-spacing: 0.46px;
85
- color: ${s.colors.white};
86
-
87
- ${s.media.maxWidth("mobile")} {
88
- font-size: 26px;
89
- }
90
- `,bn=r.div`
91
- display: flex;
92
- flex-direction: column;
93
- align-items: flex-start;
94
- gap: 8px;
95
- min-width: 0;
96
- `,lt=r.p`
97
- margin: 0;
98
- display: flex;
99
- align-items: center;
100
- gap: 12px;
101
- font-family: ${s.font.sans};
102
- font-size: 12px;
103
- line-height: 1;
104
- color: ${s.colors.softWhite};
105
- `,wn=r.div`
106
- display: flex;
107
- align-items: center;
108
- justify-content: flex-end;
109
- flex-wrap: wrap;
110
- gap: 12px;
111
-
112
- /* Two uppercase buttons that cannot shrink below their labels. On a phone they fit side by side in
113
- Inter with a few pixels to spare, and in any wider fallback font they did not: the second one ran
114
- 15px off a 390px screen. Wrapping puts it on its own line instead. */
115
- ${s.media.maxWidth("mobile")} {
116
- justify-content: flex-start;
117
- width: 100%;
118
- }
119
- `,jn=r.a`
120
- display: inline-flex;
121
- align-items: center;
122
- justify-content: center;
123
- gap: 8px;
124
- height: 46px;
125
- padding: 0 12px;
126
- border-radius: ${s.radius.card};
127
- color: ${s.colors.white};
128
- font-family: ${s.font.sans};
129
- font-size: 13px;
130
- font-weight: 600;
131
- line-height: 24px;
132
- letter-spacing: 0.46px;
133
- text-transform: uppercase;
134
- text-decoration: underline;
135
- white-space: nowrap;
136
-
137
- &:hover {
138
- color: ${s.colors.navViolet};
139
- }
140
- .ico {
141
- width: 22px;
142
- height: 22px;
143
- }
144
-
145
- ${s.media.maxWidth("mobile")} {
146
- padding: 0 8px;
147
- }
148
- `,Sn=r(re)`
149
- display: inline-flex;
150
- align-items: center;
151
- justify-content: center;
152
- gap: 8px;
153
- height: 46px;
154
- padding: 0 24px;
155
- border-radius: ${s.radius.card};
156
- background: ${s.colors.overlay};
157
- color: ${s.colors.white};
158
- font-family: ${s.font.sans};
159
- font-size: 13px;
160
- font-weight: 600;
161
- line-height: 24px;
162
- letter-spacing: 0.46px;
163
- text-transform: uppercase;
164
- text-decoration: none;
165
- white-space: nowrap;
166
- transition: background 0.15s ease;
167
-
168
- &:hover {
169
- background: ${s.colors.overlayHover};
170
- }
171
- &:focus-visible {
172
- outline: 2px solid ${s.colors.softWhite};
173
- outline-offset: 2px;
174
- }
175
- .ico {
176
- width: 20px;
177
- height: 20px;
178
- }
179
-
180
- ${s.media.maxWidth("mobile")} {
181
- padding: 0 16px;
182
- }
183
- `,kn=r.span`
184
- display: inline-flex;
185
- align-items: center;
186
- gap: 8px;
187
- margin-left: 12px;
188
- padding-left: 12px;
189
- border-left: 1px solid rgba(255, 255, 255, 0.3);
190
- `,$n=r.a`
191
- display: inline-flex;
192
- align-items: center;
193
- justify-content: center;
194
- color: ${s.colors.softWhite};
195
- transition: color 0.15s ease;
196
-
197
- &:hover {
198
- color: ${s.colors.navViolet};
199
- }
200
- .ico {
201
- width: 15px;
202
- height: 15px;
203
- }
204
- `,vn=r.div`
205
- display: flex;
206
- align-items: center;
207
- justify-content: space-between;
208
- gap: 16px;
209
- flex-wrap: wrap;
210
- `,Cn=r.h2`
211
- margin: 0;
212
- font-family: ${s.font.sans};
213
- font-size: 24px;
214
- font-weight: 700;
215
- line-height: 1.2;
216
- color: ${s.colors.white};
217
- `,An=r.div`
218
- display: flex;
219
- gap: 4px;
220
- padding: 4px;
221
- border-radius: ${s.radius.pill};
222
- background: rgba(0, 0, 0, 0.22);
223
- `,In=r.button`
224
- border: 0;
225
- cursor: pointer;
226
- font-family: ${s.font.sans};
227
- padding: 7px 15px;
228
- border-radius: ${s.radius.pill};
229
- font-size: 13px;
230
- font-weight: 600;
231
- color: rgba(252, 252, 252, 0.62);
232
- background: transparent;
233
- transition:
234
- color 0.15s ease,
235
- background 0.15s ease;
236
-
237
- &:hover {
238
- color: ${s.colors.softWhite};
239
- }
240
- &[aria-pressed='true'] {
241
- background: ${s.colors.softWhite};
242
- color: ${s.colors.text};
243
- }
244
- &:focus-visible {
245
- outline: 2px solid ${s.colors.softWhite};
246
- outline-offset: 2px;
247
- }
248
-
249
- @media (prefers-reduced-motion: reduce) {
250
- transition: none;
251
- }
252
- `,Tt=r.section`
253
- display: grid;
254
- /* Five tiles when the store has resales to report, four when it does not — auto-fit rather than a fixed
255
- count so neither case leaves a hole. */
256
- grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
257
- gap: 14px;
258
-
259
- ${s.media.maxWidth("lg")} {
260
- grid-template-columns: repeat(2, minmax(0, 1fr));
261
- }
262
- ${s.media.maxWidth("mobile")} {
263
- grid-template-columns: minmax(0, 1fr);
264
- }
265
- `,V=r.div`
266
- background: ${s.colors.overlay};
267
- color: ${s.colors.softWhite};
268
- border-radius: ${s.radius.modal};
269
- padding: 12px 24px;
270
- display: flex;
271
- flex-direction: column;
272
- gap: 12px;
273
- min-width: 0;
274
- /* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
275
- was chosen for a white card and disappears into this one. */
276
- .ccy-mark,
277
- .ccy {
278
- color: ${s.colors.softWhite};
279
- }
280
- `,Z=r.span`
281
- display: flex;
282
- align-items: center;
283
- justify-content: flex-start;
284
- gap: 8px;
285
- /* The tiles carrying a tooltip button stand 3px taller than the rest, and in a grid that is 3px of dead
286
- space under every other card. Held to the taller of the two. */
287
- min-height: 18px;
288
- font-family: ${s.font.sans};
289
- font-size: 12px;
290
- font-weight: 400;
291
- line-height: 1;
292
- letter-spacing: 1px;
293
- text-transform: uppercase;
294
- color: ${s.colors.gray4};
295
- `,X=r.span`
296
- /* Ahead of the label, as the design has it. Ordered rather than moved in the markup, because the mark is
297
- the last child in every tile and reordering five sets of markup would buy nothing. */
298
- order: -1;
299
- font-size: 16px;
300
- line-height: 1;
301
- filter: saturate(0.9);
302
- `,ee=r.span`
303
- display: flex;
304
- align-items: baseline;
305
- gap: 8px;
306
-
307
- /* The currency mark is a box, not a glyph with a baseline: sized to the digits' cap height and centred
308
- against them, rather than left to sit on the line's bottom edge. */
309
- [data-kind] {
310
- align-self: center;
311
- margin-right: 6px;
312
- }
313
- [data-kind] img,
314
- [data-kind] .ico {
315
- width: 0.74em;
316
- height: 0.74em;
317
- vertical-align: baseline;
318
- }
319
- font-family: ${s.font.sans};
320
- font-size: 32px;
321
- font-weight: 600;
322
- line-height: 1.235;
323
- letter-spacing: -0.02em;
324
- font-variant-numeric: tabular-nums;
325
- `,Mn=r.span`
326
- font-size: 20px;
327
- font-weight: 600;
328
- color: ${s.colors.gray4};
329
- margin-right: -2px;
330
- `,dt=r.span`
331
- font-size: 15px;
332
- font-weight: 600;
333
- letter-spacing: 0;
334
- color: ${s.colors.gray4};
335
- `,te=r.span`
336
- display: flex;
337
- align-items: center;
338
- flex-wrap: wrap;
339
- gap: 4px 6px;
340
- min-width: 0;
341
- min-height: 16px;
342
- font-family: ${s.font.sans};
343
- font-size: 12px;
344
- line-height: 1.35;
345
- color: ${s.colors.gray4};
346
- `,ct=r.span`
347
- display: inline-flex;
348
- align-items: center;
349
- gap: 4px;
350
- font-size: 11px;
351
- font-weight: 600;
352
- text-transform: uppercase;
353
- letter-spacing: 0.04em;
354
- color: ${s.colors.gray4};
355
- border: 1px dashed ${s.colors.cardLine};
356
- border-radius: ${s.radius.chip};
357
- padding: 1px 5px;
358
- `,K=r.section`
359
- display: flex;
360
- flex-direction: column;
361
- gap: 12px;
362
- padding: 16px;
363
- background: ${s.colors.overlayLight};
364
- color: ${s.colors.softWhite};
365
- border-radius: ${s.radius.banner};
366
- min-width: 0;
367
- /* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
368
- was chosen for a white card and disappears into this one. */
369
- .ccy-mark,
370
- .ccy {
371
- color: ${s.colors.softWhite};
372
- }
373
- `,ge=r.div`
374
- display: flex;
375
- align-items: baseline;
376
- justify-content: space-between;
377
- gap: 12px;
378
- `,me=r.h2`
379
- margin: 0;
380
- font-family: ${s.font.sans};
381
- font-size: 15px;
382
- font-weight: 700;
383
- letter-spacing: -0.01em;
384
- `;r.div`
385
- display: flex;
386
- align-items: center;
387
- gap: 12px;
388
- `;const Wn=r(Ps)`
389
- /* Direct child only: the menu's options are buttons as well, and a descendant rule turned them white
390
- on the white menu, which is a menu you cannot read. */
391
- > button {
392
- gap: 24px;
393
- height: 40px;
394
- padding: 4px 4px 4px 12px;
395
- background: transparent;
396
- border: 0.5px solid ${s.colors.white};
397
- border-radius: ${s.radius.btn};
398
- color: ${s.colors.white};
399
- font-size: 12px;
400
- font-weight: 500;
401
- text-transform: uppercase;
402
- letter-spacing: 0;
403
- }
404
- > button:hover {
405
- border-color: ${s.colors.softWhite};
406
- background: ${s.colors.glassFaint};
407
- color: ${s.colors.softWhite};
408
- }
409
- /* The chevron's colour is an inline style on the shared component, so a class cannot reach it — this
410
- is the one place that has to shout. */
411
- > button .ico {
412
- color: ${s.colors.softWhite} !important;
413
- }
414
- `,Ln=r.span`
415
- font-family: ${s.font.sans};
416
- font-size: 12px;
417
- color: ${s.colors.gray4};
418
- `,Pt="24px 56px minmax(170px, 1fr) minmax(236px, 1.34fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(150px, 1fr) 158px",zt=r.div`
419
- display: grid;
420
- grid-template-columns: ${Pt};
421
- align-items: center;
422
- gap: 12px;
423
- padding: 12px 24px 12px 12px;
424
- min-width: min-content;
425
- background: ${s.colors.overlayStrong};
426
- border-radius: ${s.radius.card} ${s.radius.card} 0 0;
427
- font-family: ${s.font.sans};
428
- font-size: 14px;
429
- color: ${s.colors.softWhite};
430
-
431
- /* Each label sits the way its column's content sits, so a header never points at the wrong figure. */
432
- > *:nth-child(4),
433
- > *:nth-child(5),
434
- > *:nth-child(6),
435
- > *:nth-child(7) {
436
- text-align: center;
437
- }
438
- /* The label sits over the middle of the action, not over its right edge: in the design both occupy the
439
- same box, so the header stretches across the track and centres inside it. */
440
- > *:last-child {
441
- justify-self: stretch;
442
- text-align: center;
443
- }
444
-
445
- ${s.media.maxWidth("mobile")} {
446
- display: none;
447
- }
448
- `,_t=r.div`
449
- display: flex;
450
- flex-direction: column;
451
- gap: 2px;
452
- min-width: 0;
453
- /*
454
- * The run scrolls sideways rather than crushing its own columns.
455
- *
456
- * The tracks need 1158px before the grid starts taking room from them, and the panel used to clip what
457
- * did not fit. It does not any more, and a clipped row is worse than a scrolling one: the action is the
458
- * last column, so on a 1024px tablet "Manage" simply left the screen with no way to reach it.
459
- */
460
- overflow-x: auto;
461
-
462
- > *:last-child {
463
- border-radius: 0 0 ${s.radius.card} ${s.radius.card};
464
- }
465
- `,Ft=r.div`
466
- display: grid;
467
- grid-template-columns: ${Pt};
468
- align-items: center;
469
- gap: 12px;
470
- padding: 12px 24px 12px 12px;
471
- min-width: min-content;
472
- background: ${s.colors.overlay};
473
-
474
- /* A fixed track keeps every row's action in the same place, centred under its column's label. */
475
- > *:last-child {
476
- justify-self: center;
477
- }
478
-
479
- /**
480
- * A collection with no copies left, set back from the ones that still have something to sell.
481
- *
482
- * Muted rather than faded: opacity would take the row's one action down with it, and a creator who wants
483
- * to look at a finished run should not have to fight the styling to click into it. The thumbnail loses
484
- * its colour, the figures lose their weight, and the row still reads.
485
- */
486
- &[data-exhausted] {
487
- background: rgba(0, 0, 0, 0.55);
488
- color: ${s.colors.gray4};
489
-
490
- [data-testid='store-collection-thumb'] img {
491
- filter: grayscale(0.75);
492
- opacity: 0.72;
493
- }
494
- /* The collection's own name follows the row; the action at the end keeps its colour, because a
495
- finished run is still one a creator opens, and a button that reads disabled invites nobody. */
496
- [data-testid='store-collection-name'] {
497
- color: inherit;
498
- }
499
- }
500
-
501
- /**
502
- * On a phone the seven columns become two rows: identity and figure on the first, the discount and the
503
- * action on the second. Placed explicitly rather than left to auto-flow, which dropped both of them
504
- * into the first two narrow tracks on top of each other.
505
- */
506
- /*
507
- * Three lines on a phone: who it is and what to do about it, then the two figures, then the discount.
508
- *
509
- * Every cell is placed explicitly rather than left to auto-flow, because the columns changed order once
510
- * already and an auto-placed grid answers that by putting a sparkline where a button used to be.
511
- */
512
- ${s.media.maxWidth("mobile")} {
513
- grid-template-columns: 24px 56px minmax(0, 1fr) auto;
514
- row-gap: 12px;
515
-
516
- > *:nth-child(1) {
517
- grid-area: 1 / 1;
518
- }
519
- > *:nth-child(2) {
520
- grid-area: 1 / 2;
521
- }
522
- /* The name takes the whole of its line. Sharing it with the action left "Founders Edition" as an
523
- ellipsis and a chip, which is the one cell on the row that has to be readable. */
524
- > *:nth-child(3) {
525
- grid-area: 1 / 3 / 1 / 5;
526
- }
527
- > *:nth-child(5) {
528
- grid-area: 2 / 1 / 2 / 3;
529
- justify-self: start;
530
- }
531
- > *:nth-child(6) {
532
- grid-area: 2 / 3;
533
- justify-self: start;
534
- }
535
- > *:nth-child(8) {
536
- grid-area: 2 / 4;
537
- justify-self: end;
538
- }
539
- > *:nth-child(4) {
540
- grid-area: 3 / 1 / 3 / 5;
541
- justify-self: start;
542
- align-items: flex-start;
543
- text-align: left;
544
- }
545
- }
546
- `,Tn=r.button`
547
- position: relative;
548
- display: grid;
549
- place-items: center;
550
- width: 24px;
551
- height: 24px;
552
- padding: 0;
553
- border: 0;
554
- border-radius: ${s.radius.btn};
555
- background: none;
556
- cursor: pointer;
557
- color: ${s.colors.gray4};
558
-
559
- &:hover {
560
- background: ${s.colors.glassFaint};
561
- color: ${s.colors.softWhite};
562
- }
563
- &:focus-visible {
564
- outline: 2px solid ${s.colors.navViolet};
565
- outline-offset: 2px;
566
- }
567
-
568
- /* A finger needs more than the 24px the glyph occupies, and the row has that much clear space around it. */
569
- &::after {
570
- content: '';
571
- position: absolute;
572
- inset: -10px;
573
- }
574
-
575
- .ico {
576
- width: 16px;
577
- height: 16px;
578
- transition: transform 0.18s ease;
579
- }
580
- &[aria-expanded='true'] .ico {
581
- transform: rotate(180deg);
582
- }
583
-
584
- @media (prefers-reduced-motion: reduce) {
585
- .ico {
586
- transition: none;
587
- }
588
- }
589
- `,Pn=r.span`
590
- width: 56px;
591
- height: 56px;
592
- border-radius: ${s.radius.btn};
593
- overflow: hidden;
594
- background: ${s.colors.overlayLight};
595
- `,zn=r.span`
596
- flex: none;
597
- display: inline-flex;
598
- align-items: center;
599
- font-family: ${s.font.sans};
600
- font-size: 10px;
601
- font-weight: 700;
602
- letter-spacing: 0.06em;
603
- text-transform: uppercase;
604
- padding: 3px 7px;
605
- border-radius: ${s.radius.pill};
606
- color: ${s.colors.gray4};
607
- background: ${s.colors.glassFaint};
608
- `,_n=r.span`
609
- display: flex;
610
- align-items: center;
611
- flex-wrap: wrap;
612
- gap: 4px 8px;
613
- min-width: 0;
614
-
615
- /*
616
- * The chip yields before the name does, which is the opposite of what it used to do.
617
- *
618
- * With a wide name column the name could ellipsise and keep "sold out" beside it. The columns are even
619
- * now, so that column is 176px, and yielding the name first left "Founders Ed…" next to a chip: the row
620
- * lost the one thing it has to say to save the one thing that repeats on every sold-out row.
621
- */
622
- a {
623
- min-width: 0;
624
- flex: 0 1 auto;
625
- }
626
- `,Fn=r.span`
627
- min-width: 0;
628
-
629
- a {
630
- display: block;
631
- color: inherit;
632
- text-decoration: none;
633
- font-family: ${s.font.sans};
634
- font-size: 14px;
635
- font-weight: 600;
636
- overflow: hidden;
637
- text-overflow: ellipsis;
638
- white-space: nowrap;
639
- }
640
- a:hover,
641
- a:focus-visible {
642
- text-decoration: underline;
643
- }
644
- `,Nn=r.span`
645
- display: block;
646
- font-family: ${s.font.sans};
647
- font-size: 12px;
648
- color: ${s.colors.gray4};
649
- overflow: hidden;
650
- text-overflow: ellipsis;
651
- white-space: nowrap;
652
- `;r.span`
653
- font-family: ${s.font.sans};
654
- font-size: 15px;
655
- font-weight: 700;
656
- font-variant-numeric: tabular-nums;
657
- text-align: right;
658
-
659
- small {
660
- display: block;
661
- font-size: 11px;
662
- font-weight: 500;
663
- color: ${s.colors.gray4};
664
- text-transform: uppercase;
665
- letter-spacing: 0.04em;
666
- }
667
-
668
- ${s.media.maxWidth("mobile")} {
669
- display: none;
670
- }
671
- `;const En=r.span`
672
- min-width: 0;
673
-
674
- ${s.media.maxWidth("mobile")} {
675
- display: none;
676
- }
677
- `,ht=r.svg`
678
- display: block;
679
- width: 100%;
680
- height: 34px;
681
- `,On=r.div`
682
- /* A shade deeper than the row it belongs to, not lighter. The rows carry their own dark fill now, and a
683
- translucent white panel between them read as a different surface breaking the run in half. */
684
- background: ${s.colors.overlayStrong};
685
- padding: 4px 24px 10px 48px;
686
-
687
- ${s.media.maxWidth("mobile")} {
688
- padding-left: 32px;
689
- }
690
- `,Dn=r.div`
691
- display: flex;
692
- flex-wrap: wrap;
693
- gap: 8px 26px;
694
- padding: 12px 0 13px;
695
- border-bottom: 1px solid ${s.colors.cardLine};
696
-
697
- span {
698
- display: flex;
699
- align-items: baseline;
700
- gap: 6px;
701
- font-family: ${s.font.sans};
702
- font-size: 11px;
703
- font-weight: 600;
704
- letter-spacing: 0.04em;
705
- text-transform: uppercase;
706
- color: ${s.colors.gray4};
707
- }
708
- b {
709
- /* The currency mark is its own inline-flex element, so the figure needs a row of its own or the two
710
- break onto separate lines. */
711
- display: inline-flex;
712
- align-items: center;
713
- gap: 3px;
714
- white-space: nowrap;
715
- font-size: 15px;
716
- font-weight: 700;
717
- letter-spacing: 0;
718
- text-transform: none;
719
- color: ${s.colors.softWhite};
720
- font-variant-numeric: tabular-nums;
721
- }
722
- `,Bn=r.div`
723
- display: grid;
724
- /* The stock track is fixed rather than max-content: each row is its own grid, so a content-sized last
725
- track let every row measure itself and none of them lined up. 124px clears the widest figure the page
726
- renders (105px) with room to spare, without leaving a hand's width between the bar and the number. */
727
- grid-template-columns: 40px minmax(0, 1fr) 72px 64px 152px 124px;
728
- align-items: center;
729
- gap: 22px;
730
- padding: 13px 0;
731
-
732
- > *:last-child {
733
- justify-self: end;
734
- }
735
-
736
- & + & {
737
- border-top: 1px solid ${s.colors.cardLine};
738
- }
739
-
740
- /*
741
- * Two lines on a phone: the item, then its figures under the name.
742
- *
743
- * Placed explicitly. With three tracks and six cells the browser auto-flowed the stock figure into the
744
- * 40px thumbnail track on the second row, where justify-self: end right-aligned 105px of text inside
745
- * 40px of column and pushed its left edge a pixel off the card.
746
- */
747
- ${s.media.maxWidth("mobile")} {
748
- grid-template-columns: 40px minmax(0, 1fr) auto;
749
- column-gap: 12px;
750
- row-gap: 8px;
751
-
752
- > *:nth-child(3) {
753
- grid-area: 2 / 2;
754
- justify-self: start;
755
- }
756
- > *:last-child {
757
- grid-area: 2 / 3;
758
- justify-self: end;
759
- }
760
- }
761
- `,Rn=r.span`
762
- display: block;
763
- width: 40px;
764
- height: 40px;
765
- border-radius: ${s.radius.btn};
766
- overflow: hidden;
767
- /* The rarity wash is a gradient of ALPHAS, drawn for a white card. Composited over a dark panel instead
768
- it turns muddy, so the base it was measured against is put back under it. */
769
- background-color: ${s.colors.white};
770
-
771
- img {
772
- width: 100%;
773
- height: 100%;
774
- object-fit: contain;
775
- }
776
- `,Hn=r.span`
777
- min-width: 0;
778
- display: flex;
779
- flex-direction: column;
780
- gap: 2px;
781
- `,qn=r.span`
782
- display: flex;
783
- align-items: center;
784
- gap: 6px;
785
- min-width: 0;
786
- `,Un=r.span`
787
- flex: none;
788
- display: inline-flex;
789
- align-items: center;
790
- height: 15px;
791
- padding: 0 6px;
792
- border-radius: 5px;
793
- font-family: ${s.font.sans};
794
- font-size: 9px;
795
- font-weight: 700;
796
- letter-spacing: 0.02em;
797
- text-transform: uppercase;
798
- color: ${s.colors.softWhite};
799
- `,Vn=r(re)`
800
- font-family: ${s.font.sans};
801
- font-size: 13px;
802
- color: inherit;
803
- text-decoration: none;
804
- overflow: hidden;
805
- text-overflow: ellipsis;
806
- white-space: nowrap;
807
-
808
- &:hover,
809
- &:focus-visible {
810
- text-decoration: underline;
811
- }
812
- `,Kn=r.span`
813
- font-family: ${s.font.sans};
814
- font-size: 13px;
815
- white-space: nowrap;
816
- font-weight: 600;
817
- font-variant-numeric: tabular-nums;
818
- text-align: right;
819
- color: ${s.colors.softWhite};
820
-
821
- small {
822
- color: ${s.colors.gray4};
823
- font-weight: 500;
824
- }
825
-
826
- ${s.media.maxWidth("mobile")} {
827
- text-align: left;
828
- }
829
- `,Gn=r.span`
830
- display: block;
831
- width: 96px;
832
- height: 6px;
833
- border-radius: 100px;
834
- /* White, not the near-black this started as: the track was a 10% dark fill chosen for a white card, and
835
- on the row's own dark surface it was the same colour as the row. */
836
- background: rgba(255, 255, 255, 0.1);
837
- overflow: hidden;
838
- /* Pushed to the end of its track, so it sits with the stock figure it measures rather than crowding the
839
- saves count next to it. */
840
- margin-left: auto;
841
-
842
- i {
843
- display: block;
844
- height: 6px;
845
- border-radius: 100px;
846
- background: ${s.colors.navViolet};
847
- }
848
-
849
- ${s.media.maxWidth("mobile")} {
850
- display: none;
851
- }
852
- `,Yn=r.span`
853
- font-family: ${s.font.sans};
854
- font-size: 11px;
855
- font-weight: 600;
856
- letter-spacing: 0.04em;
857
- text-transform: uppercase;
858
- white-space: nowrap;
859
- color: ${s.colors.gray4};
860
-
861
- &[data-state='soldout'] {
862
- color: ${s.colors.navViolet};
863
- }
864
- /* A listed item shows its price rather than a label, so it takes the ink prices take. */
865
- &[data-state='classic'],
866
- &[data-state='discounted'] {
867
- display: inline-flex;
868
- align-items: center;
869
- gap: 2px;
870
- font-size: 12px;
871
- letter-spacing: 0;
872
- text-transform: none;
873
- color: ${s.colors.softWhite};
874
- }
875
- `,Qn=r.span`
876
- display: flex;
877
- flex-direction: column;
878
- align-items: flex-end;
879
- gap: 4px;
880
- line-height: 1.25;
881
- `,Jn=r.span`
882
- font-size: 10px;
883
- font-weight: 600;
884
- letter-spacing: 0.04em;
885
- text-transform: uppercase;
886
- color: ${s.colors.gray4};
887
- margin-right: 4px;
888
- `,Zn=r.span`
889
- font-family: ${s.font.sans};
890
- font-size: 10px;
891
- opacity: 0.85;
892
- font-weight: 600;
893
- letter-spacing: 0.03em;
894
- text-transform: uppercase;
895
- white-space: nowrap;
896
- color: ${s.colors.gray4};
897
- `,Xn=r.span`
898
- font-family: ${s.font.sans};
899
- font-size: 11px;
900
- font-weight: 600;
901
- letter-spacing: 0.04em;
902
- text-transform: uppercase;
903
- white-space: nowrap;
904
- text-align: right;
905
- color: ${s.colors.gray4};
906
- font-variant-numeric: tabular-nums;
907
-
908
- b {
909
- color: ${s.colors.softWhite};
910
- font-weight: 700;
911
- }
912
- &[data-out='true'] {
913
- color: ${s.colors.navViolet};
914
- }
915
- `;r.div`
916
- display: grid;
917
- grid-template-columns: 3px minmax(0, 1fr) auto;
918
- gap: 12px;
919
- align-items: center;
920
- padding: 13px 18px;
921
- border-top: 1px solid ${s.colors.cardLine};
922
- `;r.span`
923
- align-self: stretch;
924
- border-radius: 2px;
925
- background: ${s.colors.cardLine};
926
-
927
- &[data-sev='act'] {
928
- background: ${s.colors.dclRed};
929
- }
930
- &[data-sev='soon'] {
931
- background: ${s.colors.flareAmber};
932
- }
933
- `;const pt=r.button`
934
- display: inline-grid;
935
- place-items: center;
936
- width: 16px;
937
- height: 16px;
938
- margin-left: 5px;
939
- padding: 0;
940
- border: 0;
941
- background: none;
942
- cursor: help;
943
- color: ${s.colors.gray4};
944
-
945
- &:hover,
946
- &:focus-visible {
947
- color: ${s.colors.softWhite};
948
- }
949
- .ico {
950
- width: 14px;
951
- height: 14px;
952
- }
953
- `;r.span`
954
- b {
955
- display: flex;
956
- align-items: center;
957
- font-family: ${s.font.sans};
958
- font-size: 13px;
959
- font-weight: 600;
960
- }
961
- span {
962
- display: block;
963
- margin-top: 2px;
964
- font-family: ${s.font.sans};
965
- font-size: 12px;
966
- color: ${s.colors.gray4};
967
- }
968
- `;r(re)`
969
- display: inline-block;
970
- margin-top: 4px;
971
- font-family: ${s.font.sans};
972
- font-size: 12px;
973
- font-weight: 600;
974
- color: ${s.colors.navViolet};
975
- text-decoration: none;
976
-
977
- &:hover,
978
- &:focus-visible {
979
- text-decoration: underline;
980
- }
981
- `;r.span`
982
- font-family: ${s.font.sans};
983
- font-size: 18px;
984
- font-weight: 700;
985
- font-variant-numeric: tabular-nums;
986
- `;const We=r.div`
987
- overflow-x: auto;
988
- `,Be=r.table`
989
- width: 100%;
990
- /* Fixed, so a page of short names and one of long ones lay their columns out identically — the widths
991
- come from the header row rather than from whatever this page happens to hold. */
992
- table-layout: fixed;
993
-
994
- thead th:nth-of-type(1) {
995
- width: 36%;
996
- }
997
- thead th:nth-of-type(2) {
998
- width: 24%;
999
- }
1000
- thead th:nth-of-type(3) {
1001
- width: 120px;
1002
- }
1003
- thead th:nth-of-type(4) {
1004
- width: 14%;
1005
- }
1006
- thead th:nth-of-type(5) {
1007
- width: 110px;
1008
- }
1009
- tbody td {
1010
- overflow: hidden;
1011
- text-overflow: ellipsis;
1012
- }
1013
- font-family: ${s.font.sans};
1014
- font-size: 13px;
1015
- min-width: 520px;
1016
-
1017
- /* The same band and the same separated rows the collections table wears, so the three tables on this
1018
- page read as siblings rather than as one design and two others. The 2px gap is a transparent border
1019
- over a clipped background, which is how a table draws the design's gaps without losing its columns. */
1020
- border-collapse: separate;
1021
- border-spacing: 0;
1022
-
1023
- thead th {
1024
- text-align: left;
1025
- padding: 12px 18px;
1026
- background: ${s.colors.overlayStrong};
1027
- font-size: 14px;
1028
- font-weight: 400;
1029
- color: ${s.colors.softWhite};
1030
- white-space: nowrap;
1031
- }
1032
- thead th:first-of-type {
1033
- border-radius: ${s.radius.card} 0 0 0;
1034
- }
1035
- thead th:last-of-type {
1036
- border-radius: 0 ${s.radius.card} 0 0;
1037
- }
1038
- tbody td {
1039
- padding: 12px 18px;
1040
- background: ${s.colors.overlay};
1041
- border-top: 2px solid transparent;
1042
- background-clip: padding-box;
1043
- vertical-align: middle;
1044
- }
1045
- tbody tr:last-of-type td:first-of-type {
1046
- border-radius: 0 0 0 ${s.radius.card};
1047
- }
1048
- tbody tr:last-of-type td:last-of-type {
1049
- border-radius: 0 0 ${s.radius.card} 0;
1050
- }
1051
- tbody tr:hover td {
1052
- background: ${s.colors.overlayHover};
1053
- }
1054
- td[data-money] {
1055
- text-align: right;
1056
- font-weight: 700;
1057
- font-variant-numeric: tabular-nums;
1058
- white-space: nowrap;
1059
- }
1060
- td[data-dim] {
1061
- color: ${s.colors.gray4};
1062
- font-variant-numeric: tabular-nums;
1063
- white-space: nowrap;
1064
- }
1065
- `,mt=r.span`
1066
- display: flex;
1067
- align-items: center;
1068
- gap: 10px;
1069
- min-width: 0;
1070
- color: inherit;
1071
- text-decoration: none;
1072
-
1073
- span {
1074
- overflow: hidden;
1075
- text-overflow: ellipsis;
1076
- white-space: nowrap;
1077
- }
1078
- &:hover span,
1079
- &:focus-visible span {
1080
- text-decoration: underline;
1081
- }
1082
- `,ut=r.span`
1083
- flex: none;
1084
- display: block;
1085
- width: 32px;
1086
- height: 32px;
1087
- border-radius: ${s.radius.chip};
1088
- overflow: hidden;
1089
- /* Same rarity wash, same reason it needs a white base under it — see ItemThumb. */
1090
- background-color: ${s.colors.white};
1091
-
1092
- img {
1093
- width: 100%;
1094
- height: 100%;
1095
- object-fit: contain;
1096
- }
1097
- `,xt=r.a`
1098
- max-width: 100%;
1099
- white-space: nowrap;
1100
- display: inline-flex;
1101
- align-items: center;
1102
- gap: 8px;
1103
- color: inherit;
1104
- text-decoration: none;
1105
-
1106
- &:hover,
1107
- &:focus-visible {
1108
- text-decoration: underline;
1109
- }
1110
- `,eo=r.span`
1111
- display: inline-flex;
1112
- align-items: center;
1113
- gap: 8px;
1114
-
1115
- i {
1116
- display: block;
1117
- width: 24px;
1118
- height: 24px;
1119
- border-radius: 50%;
1120
- background: #ededed;
1121
- }
1122
- b {
1123
- display: block;
1124
- width: 84px;
1125
- height: 10px;
1126
- border-radius: 100px;
1127
- background: #ededed;
1128
- }
1129
- `,ft=r.span`
1130
- flex: none;
1131
- display: block;
1132
- width: 24px;
1133
- height: 24px;
1134
- border-radius: 50%;
1135
- background-color: ${s.colors.overlayLight};
1136
- background-size: cover;
1137
- background-position: center top;
1138
- `,to=r.nav`
1139
- display: flex;
1140
- flex-wrap: wrap;
1141
- align-items: center;
1142
- justify-content: flex-end;
1143
- gap: 12px;
1144
- font-variant-numeric: tabular-nums;
1145
- `,Nt=`
1146
- display: inline-flex;
1147
- align-items: center;
1148
- justify-content: center;
1149
- width: 32px;
1150
- height: 32px;
1151
- padding: 0;
1152
- border: 0.5px solid rgba(255, 255, 255, 0.5);
1153
- border-radius: ${s.radius.btn};
1154
- background: transparent;
1155
- font-family: ${s.font.sans};
1156
- font-size: 13px;
1157
- font-weight: 600;
1158
- letter-spacing: 0.46px;
1159
- color: ${s.colors.softWhite};
1160
- cursor: pointer;
1161
-
1162
- &:hover:not(:disabled) {
1163
- border-color: ${s.colors.softWhite};
1164
- background: ${s.colors.glassFaint};
1165
- }
1166
- &:focus-visible {
1167
- outline: 2px solid ${s.colors.softWhite};
1168
- outline-offset: 2px;
1169
- }
1170
- &:disabled {
1171
- opacity: 0.35;
1172
- cursor: default;
1173
- }
1174
- `,gt=r.button`
1175
- ${Nt}
1176
- `,so=r.button`
1177
- ${Nt}
1178
-
1179
- /* The page you are on is the one solid control in the row, which is how the design marks it. */
1180
- &[aria-current='page'] {
1181
- background: ${s.colors.softWhite};
1182
- border-color: ${s.colors.softWhite};
1183
- color: ${s.colors.text};
1184
- cursor: default;
1185
- }
1186
- &[aria-current='page']:hover {
1187
- background: ${s.colors.softWhite};
1188
- color: ${s.colors.text};
1189
- }
1190
- `,no=r.span`
1191
- padding: 0 2px;
1192
- font-family: ${s.font.sans};
1193
- font-size: 12px;
1194
- color: ${s.colors.gray4};
1195
- `;r.span`
1196
- display: inline-flex;
1197
- align-items: center;
1198
- gap: 2px;
1199
- `;const oo=r.span`
1200
- font-size: 11px;
1201
- font-weight: 700;
1202
- letter-spacing: 0.04em;
1203
- text-transform: uppercase;
1204
- border-radius: ${s.radius.chip};
1205
- padding: 2px 7px;
1206
- white-space: nowrap;
1207
- color: ${s.colors.gray4};
1208
- background: ${s.colors.overlayLight};
1209
-
1210
- &[data-kind='mint'] {
1211
- color: ${s.colors.navViolet};
1212
- background: rgba(105, 31, 169, 0.1);
1213
- }
1214
- `;r.img`
1215
- width: 1em;
1216
- height: 1em;
1217
- vertical-align: -0.125em;
1218
- margin-right: 3px;
1219
- `;const ao=r.p`
1220
- margin: 0;
1221
- padding: 10px 14px;
1222
- border: 1px dashed rgba(252, 252, 252, 0.32);
1223
- border-radius: ${s.radius.btn};
1224
- font-family: ${s.font.sans};
1225
- font-size: 12px;
1226
- color: rgba(252, 252, 252, 0.72);
1227
- word-break: break-all;
1228
- `,io=r.button`
1229
- display: block;
1230
- width: 100%;
1231
- padding: 13px 18px;
1232
- border: 0;
1233
- border-top: 1px solid ${s.colors.cardLine};
1234
- background: none;
1235
- cursor: pointer;
1236
- font-family: ${s.font.sans};
1237
- font-size: 13px;
1238
- font-weight: 600;
1239
- color: ${s.colors.navViolet};
1240
-
1241
- &:hover {
1242
- background: ${s.colors.glassFaint};
1243
- }
1244
- &:focus-visible {
1245
- outline: 2px solid ${s.colors.navViolet};
1246
- outline-offset: -2px;
1247
- }
1248
- `;r.div`
1249
- display: flex;
1250
- flex-direction: column;
1251
- gap: 4px;
1252
- padding: 10px 18px 14px;
1253
- border-top: 1px solid ${s.colors.cardLine};
1254
- `;r.p`
1255
- margin: 0;
1256
- font-family: ${s.font.sans};
1257
- font-size: 11px;
1258
- line-height: 1.45;
1259
- color: ${s.colors.muted2};
1260
- `;const Et=`
1261
- background: linear-gradient(100deg, var(--skeleton-lo) 30%, var(--skeleton-hi) 50%, var(--skeleton-lo) 70%);
1262
- background-size: 200% 100%;
1263
- animation: shimmer 1.3s infinite linear;
1264
-
1265
- @media (prefers-reduced-motion: reduce) {
1266
- animation: none;
1267
- }
1268
- `,b=r.span`
1269
- display: block;
1270
- height: 12px;
1271
- border-radius: 100px;
1272
- ${Et}
1273
- `,ro=r.span`
1274
- display: block;
1275
- width: 40px;
1276
- height: 40px;
1277
- border-radius: ${s.radius.btn};
1278
- ${Et}
1279
- `,yt=r.div`
1280
- display: grid;
1281
- grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
1282
- align-items: center;
1283
- gap: 12px;
1284
- padding: 0 18px 10px;
1285
-
1286
- > *:last-child {
1287
- justify-self: end;
1288
- }
1289
- background: ${s.colors.overlayStrong};
1290
- border-radius: ${s.radius.card} ${s.radius.card} 0 0;
1291
- `,bt=r.div`
1292
- display: grid;
1293
- grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
1294
- align-items: center;
1295
- gap: 12px;
1296
- height: 57px;
1297
- padding: 0 18px;
1298
- background: ${s.colors.overlay};
1299
- border-top: 2px solid transparent;
1300
- background-clip: padding-box;
1301
-
1302
- > *:last-child {
1303
- justify-self: end;
1304
- }
1305
- `,ue=r.p`
1306
- margin: 0;
1307
- font-family: ${s.font.sans};
1308
- font-size: 13px;
1309
- color: ${s.colors.gray4};
1310
- `,lo=r(z)`
1311
- width: 16px;
1312
- height: 16px;
1313
- `,Le=r.span`
1314
- display: inline-flex;
1315
- align-items: center;
1316
- gap: 4px;
1317
- font-family: ${s.font.sans};
1318
- font-size: 12px;
1319
- font-weight: 600;
1320
- line-height: 1.3;
1321
- flex-wrap: wrap;
1322
- color: ${s.colors.gray4};
1323
-
1324
- &[data-dir='up'] {
1325
- color: ${s.colors.successBorder};
1326
- }
1327
- &[data-dir='down'] {
1328
- color: #ff6b6b;
1329
- }
1330
-
1331
- /* Grey whichever way the figure went: it is the label, not the reading. */
1332
- .delta__against {
1333
- font-size: 10px;
1334
- font-weight: 400;
1335
- color: ${s.colors.gray4};
1336
- }
1337
- .delta__arrow {
1338
- font-size: 10px;
1339
- line-height: 1;
1340
- }
1341
- `,co=r.div`
1342
- margin: 10px 0 -4px;
1343
- `,ho=r.h2`
1344
- margin: 0;
1345
- font-family: ${s.font.sans};
1346
- font-size: 19px;
1347
- font-weight: 700;
1348
- letter-spacing: -0.01em;
1349
- color: ${s.colors.softWhite};
1350
- `,po=r.p`
1351
- margin: 4px 0 0;
1352
- font-family: ${s.font.sans};
1353
- font-size: 13px;
1354
- color: rgba(252, 252, 252, 0.62);
1355
- `,mo=r.div`
1356
- display: grid;
1357
- grid-template-columns: repeat(auto-fit, minmax(210px, 300px));
1358
- gap: 14px;
1359
- align-items: start;
1360
-
1361
- ${s.media.maxWidth("mobile")} {
1362
- grid-template-columns: minmax(0, 1fr);
1363
- }
1364
- `,uo=r(Be)`
1365
- thead th:nth-of-type(1) {
1366
- width: 40%;
1367
- }
1368
- thead th:nth-of-type(2) {
1369
- width: 16%;
1370
- }
1371
- thead th:nth-of-type(3) {
1372
- width: 20%;
1373
- }
1374
- thead th:nth-of-type(4) {
1375
- width: 12%;
1376
- }
1377
- thead th:nth-of-type(5) {
1378
- width: 12%;
1379
- }
1380
- `;r.div`
1381
- display: grid;
1382
- grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
1383
- gap: 14px;
1384
- align-items: start;
1385
-
1386
- ${s.media.maxWidth("lg")} {
1387
- grid-template-columns: minmax(0, 1fr);
1388
- }
1389
- `;r.div`
1390
- display: flex;
1391
- flex-direction: column;
1392
- gap: 14px;
1393
- `;const Te=r.span`
1394
- display: inline-flex;
1395
- align-items: center;
1396
- justify-content: flex-end;
1397
-
1398
- [data-kind] img,
1399
- [data-kind] .ico {
1400
- vertical-align: baseline;
1401
- }
1402
- `,xo=r.span`
1403
- font-family: ${s.font.sans};
1404
- font-size: 14px;
1405
- font-weight: 600;
1406
- font-variant-numeric: tabular-nums;
1407
- white-space: nowrap;
1408
- text-align: center;
1409
-
1410
- /* One weight and one colour, as the design draws it: the pair is a single reading ("80 of 250"), and
1411
- dimming the denominator made the two halves look like different figures. */
1412
- small {
1413
- font-size: inherit;
1414
- font-weight: inherit;
1415
- }
1416
- `,fo=r.span`
1417
- display: flex;
1418
- flex-direction: column;
1419
- align-items: center;
1420
- justify-content: center;
1421
- gap: 4px;
1422
- min-width: 0;
1423
- font-family: ${s.font.sans};
1424
- font-size: 12px;
1425
- color: ${s.colors.gray4};
1426
- text-align: center;
1427
- `,go=r.span`
1428
- display: inline-flex;
1429
- flex-wrap: wrap;
1430
- justify-content: center;
1431
- gap: 8px;
1432
- `,yo=r(as)`
1433
- align-self: center;
1434
- gap: 4px;
1435
- padding: 2px 4px;
1436
- border: 0;
1437
- border-radius: 6px;
1438
- background: ${s.colors.saleTag};
1439
- line-height: 20px;
1440
-
1441
- b,
1442
- span {
1443
- font-size: 14px;
1444
- line-height: 20px;
1445
- }
1446
- `,bo=r(Ss)`
1447
- align-self: center;
1448
- gap: 4px;
1449
- padding: 4px 8px;
1450
- border-radius: 6px;
1451
- background: ${s.colors.glass};
1452
- color: ${s.colors.white};
1453
-
1454
- b {
1455
- color: ${s.colors.white};
1456
- font-size: 12px;
1457
- line-height: 16px;
1458
- }
1459
- `,wo=r.span`
1460
- color: ${s.colors.muted2};
1461
-
1462
- b {
1463
- font-weight: 600;
1464
- }
1465
- /* Whether it is selling faster carries the only colour in the cell, since it is the only judgement. */
1466
- &[data-dir='up'] b {
1467
- color: #2ecc71;
1468
- }
1469
- &[data-dir='down'] b {
1470
- color: #ff6b6b;
1471
- }
1472
- `,Pe=r.div`
1473
- display: flex;
1474
- align-items: center;
1475
- justify-content: space-between;
1476
- gap: 12px;
1477
- font-family: ${s.font.sans};
1478
- font-size: 13px;
1479
- color: ${s.colors.gray4};
1480
-
1481
- ${s.media.maxWidth("mobile")} {
1482
- flex-direction: column;
1483
- align-items: stretch;
1484
- }
1485
- `,jo=r.div`
1486
- display: flex;
1487
- align-items: center;
1488
- justify-content: space-between;
1489
- gap: 12px;
1490
-
1491
- ${s.media.maxWidth("mobile")} {
1492
- flex-wrap: wrap;
1493
- }
1494
- `,So=r.div`
1495
- display: flex;
1496
- align-items: center;
1497
- gap: 10px;
1498
- min-width: 0;
1499
- `,ko=r(It)`
1500
- display: inline-flex;
1501
- align-items: center;
1502
- justify-content: center;
1503
- gap: 8px;
1504
- height: 36px;
1505
- padding: 0 12px;
1506
- border: 0.5px solid ${s.colors.white};
1507
- border-radius: 12px;
1508
- background: transparent;
1509
- color: ${s.colors.softWhite};
1510
- font-size: 13px;
1511
- font-weight: 600;
1512
- letter-spacing: 0.46px;
1513
- text-transform: uppercase;
1514
-
1515
- &:hover:not(:disabled) {
1516
- background: ${s.colors.glassFaint};
1517
- color: ${s.colors.softWhite};
1518
- }
1519
- `,$o=r.span`
1520
- display: inline-flex;
1521
- align-items: center;
1522
- justify-content: center;
1523
- gap: 6px;
1524
- font-family: ${s.font.sans};
1525
- font-size: 14px;
1526
- font-weight: 600;
1527
- font-variant-numeric: tabular-nums;
1528
- white-space: nowrap;
1529
- `,vo=r.span`
1530
- display: inline-flex;
1531
- align-items: center;
1532
- justify-content: flex-end;
1533
- gap: 5px;
1534
- font-family: ${s.font.sans};
1535
- font-size: 13px;
1536
- font-variant-numeric: tabular-nums;
1537
- color: ${s.colors.gray4};
1538
- white-space: nowrap;
1539
-
1540
- .ico {
1541
- width: 14px;
1542
- height: 14px;
1543
- }
1544
- `,Ot=r.div`
1545
- display: grid;
1546
- grid-template-columns: repeat(2, minmax(0, 1fr));
1547
- gap: 14px;
1548
- /* Stretched rather than start-aligned: the sales rows carry a second line and the best sellers do not,
1549
- so the two will never end together on their own, and two cards of different heights side by side read
1550
- as one of them having failed to load. */
1551
-
1552
- ${s.media.maxWidth("lg")} {
1553
- grid-template-columns: minmax(0, 1fr);
1554
- }
1555
- `,wt=r.p`
1556
- margin: 2px 0 0;
1557
- font-family: ${s.font.sans};
1558
- font-size: 13px;
1559
- color: ${s.colors.gray4};
1560
- `,jt=r.div`
1561
- display: flex;
1562
- align-items: flex-start;
1563
- justify-content: space-between;
1564
- gap: 12px;
1565
- `,Co=r(re)`
1566
- display: inline-flex;
1567
- align-items: center;
1568
- gap: 6px;
1569
- flex: none;
1570
- color: ${s.colors.white};
1571
- font-family: ${s.font.sans};
1572
- font-size: 12px;
1573
- font-weight: 600;
1574
- letter-spacing: 0.04em;
1575
- text-transform: uppercase;
1576
- text-decoration: underline;
1577
-
1578
- &:hover {
1579
- color: ${s.colors.navViolet};
1580
- }
1581
- `,St=r.span`
1582
- display: inline-block;
1583
- min-width: 12px;
1584
- font-weight: 700;
1585
- font-variant-numeric: tabular-nums;
1586
- color: ${s.colors.gray4};
1587
- `,kt=r.span`
1588
- display: flex;
1589
- align-items: center;
1590
- gap: 12px;
1591
- min-width: 0;
1592
- `,Dt=`
1593
- thead th,
1594
- tbody td {
1595
- padding-left: 12px;
1596
- padding-right: 12px;
1597
- }
1598
- `,Ao=r(Be)`
1599
- min-width: 500px;
1600
- ${Dt}
1601
-
1602
- thead th:nth-of-type(1) {
1603
- width: 46%;
1604
- }
1605
- thead th:nth-of-type(2) {
1606
- width: 26%;
1607
- }
1608
- thead th:nth-of-type(3) {
1609
- width: 72px;
1610
- }
1611
- thead th:nth-of-type(4) {
1612
- width: 96px;
1613
- }
1614
- `,Io=r(Be)`
1615
- min-width: 580px;
1616
- ${Dt}
1617
-
1618
- thead th:nth-of-type(1) {
1619
- width: 34%;
1620
- }
1621
- thead th:nth-of-type(2) {
1622
- width: 22%;
1623
- }
1624
- thead th:nth-of-type(3) {
1625
- width: 70px;
1626
- }
1627
- thead th:nth-of-type(4) {
1628
- width: 140px;
1629
- }
1630
- thead th:nth-of-type(5) {
1631
- width: 76px;
1632
- }
1633
- `,Mo=r.span`
1634
- display: flex;
1635
- flex-direction: column;
1636
- gap: 3px;
1637
- min-width: 0;
1638
- `,Wo=["7d","30d","all"],ye=8,be=5,Bt="shop.my-store.sort",Lo=["sold","selling","newest","name"];function To(){try{const t=localStorage.getItem(Bt);return Lo.includes(t)?t:"sold"}catch{return"sold"}}function Po(t){try{localStorage.setItem(Bt,t)}catch{}}function zo(t,n){const a=[...t];return n==="name"?a.sort((l,o)=>l.name.localeCompare(o.name)):n==="newest"?a.sort((l,o)=>(o.createdAt??0)-(l.createdAt??0)):n==="selling"?a.sort((l,o)=>Number(l.exhausted)-Number(o.exhausted)||o.sold-l.sold||l.name.localeCompare(o.name)):a.sort((l,o)=>o.sold-l.sold||l.name.localeCompare(o.name))}function $t(t,n,a){return se(`/item/${t}/${n}`,a)}function se(t,n){return n?`${t}${t.includes("?")?"&":"?"}env=${n}`:t}function _o(t,n){if(n==null)return null;const a=t.minted-n;return a>0?a:null}const Fo={website:"website",twitter:"x-twitter",discord:"discord",facebook:"facebook"},we=5;function No(t,n){if(n<=5)return Array.from({length:n},(o,h)=>h);const a=[t-1,t,t+1].filter(o=>o>0&&o<n-1),l=[0];return a[0]>1&&l.push("gap"),l.push(...a),a[a.length-1]<n-2&&l.push("gap"),l.push(n-1),l}function ze({page:t,pages:n,onChange:a,name:l}){return n<=1?null:e.jsxs(to,{"aria-label":i("myStore.pagination"),children:[e.jsx(gt,{type:"button",onClick:()=>a(Math.max(0,t-1)),disabled:t===0,"aria-label":i("myStore.prev"),"data-testid":`store-${l}-prev`,children:e.jsx(z,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(90deg)"}})}),No(t,n).map((o,h)=>o==="gap"?e.jsx(no,{children:"…"},`gap-${h}`):e.jsx(so,{type:"button","aria-current":o===t?"page":void 0,onClick:()=>a(o),"data-testid":`store-${l}-page-${o+1}`,children:(o+1).toLocaleString()},o)),e.jsx(gt,{type:"button",onClick:()=>a(Math.min(n-1,t+1)),disabled:t>=n-1,"aria-label":i("myStore.next"),"data-testid":`store-${l}-next`,children:e.jsx(z,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(-90deg)"}})})]})}function Eo(t,n,a){var y,L;const l={"7d":7,"30d":30,all:null}[n],o=C.useMemo(()=>Math.floor(Date.now()/864e5)*864e5+864e5-1,[]),h=l?o-l*864e5:void 0,f=B({queryKey:["store-sales-page",t,n,a],enabled:!!t,placeholderData:m=>m,queryFn:()=>Es({seller:t,from:h},{first:we,skip:a*we})}),p=((y=f.data)==null?void 0:y.total)??0;return{rows:((L=f.data)==null?void 0:L.rows)??[],total:p,pages:Math.ceil(p/we)}}function vt(t){return B({queryKey:["store-buyers",t],enabled:t.length>0,staleTime:5*6e4,queryFn:()=>ws(t)})}function Ct(t,n){var l;const a=(l=n==null?void 0:n.get(t.toLowerCase()))==null?void 0:l.name;return a?Mt(a):bs(t)}function Oo(t){return q.previewHost&&t==="1"}function Do(t){if(!q.previewHost||!t)return null;const n=t.trim().toLowerCase();return/^0x[0-9a-f]{40}$/.test(n)?n:null}const Bo=25000n;function Ro(t){return t*Bo/1000000n}function R(t){const n=Number(t/10n**14n)/1e4;return n>=10?Math.round(n).toLocaleString():n.toFixed(2)}function At(t){const n=Math.max(1,Math.round((Date.now()-t)/6e4));if(n<60)return i("myStore.agoMinutes",{n});const a=Math.round(n/60);return a<24?i("myStore.agoHours",{n:a}):i("myStore.agoDays",{n:Math.round(a/24)})}function Ho({series:t}){const n=C.useId(),a=Math.max(...t,0),l=t.length>1?92/(t.length-1):0,o=p=>a===0?27:27-p/a*22,f=t.map((p,y)=>`${(2+y*l).toFixed(1)} ${o(p).toFixed(1)}`).join(" L ");return a===0?e.jsx(ht,{viewBox:"0 0 96 30",role:"img","aria-label":i("myStore.trendNone"),children:e.jsx("path",{d:"M2 27 L94 27",fill:"none",stroke:s.colors.cardLine,strokeWidth:"2",strokeLinecap:"round"})}):e.jsxs(ht,{viewBox:"0 0 96 30",role:"img","aria-label":i("myStore.trendAria",{n:a}),children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:n,gradientUnits:"userSpaceOnUse",x1:"78.9",y1:"-19.5",x2:"35.3",y2:"40.4",children:[e.jsx("stop",{stopColor:s.colors.dclRed}),e.jsx("stop",{offset:"1",stopColor:s.colors.flareAmber})]}),e.jsxs("linearGradient",{id:`${n}-fill`,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:s.colors.dclRed,stopOpacity:"0.26"}),e.jsx("stop",{offset:"1",stopColor:s.colors.dclRed,stopOpacity:"0"})]})]}),e.jsx("path",{d:`M ${f} L 94 29 L 2 29 Z`,fill:`url(#${n}-fill)`}),e.jsx("path",{d:`M ${f}`,fill:"none",stroke:`url(#${n})`,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function qo({collection:t,discount:n,savesByKey:a,open:l,onToggle:o,onManage:h,env:f}){var y,L;const p=`store-items-${t.contractAddress}`;return e.jsxs(e.Fragment,{children:[e.jsxs(Ft,{"data-testid":"store-collection","data-exhausted":t.exhausted||void 0,children:[e.jsx(Tn,{type:"button","aria-expanded":l,"aria-controls":p,"aria-label":i(l?"myStore.collapse":"myStore.expand",{name:t.name}),onClick:o,"data-testid":"store-collection-toggle",children:e.jsx(lo,{name:"chevron-down",className:"ico","aria-hidden":!0})}),e.jsx(Pn,{"data-testid":"store-collection-thumb",children:e.jsx(us,{contractAddress:t.contractAddress})}),e.jsxs(Fn,{children:[e.jsxs(_n,{children:[e.jsx(re,{to:se(`/collection/${t.contractAddress}`,f),"data-testid":"store-collection-name",children:t.name}),t.exhausted?e.jsx(zn,{"data-testid":"store-collection-soldout",children:i("myStore.collExhausted")}):null]}),e.jsxs(Nn,{children:[i("myStore.itemsCount",{count:t.items.length}),t.listed>0?` · ${i("myStore.listedCount",{count:t.listed})}`:"",!t.exhausted&&t.soldOut>0?` · ${i("myStore.soldOutCount",{count:t.soldOut})}`:""]})]}),e.jsx(fo,{"data-testid":"store-collection-discount",children:n?e.jsxs(e.Fragment,{children:[e.jsxs(go,{children:[e.jsx(yo,{pct:n.discount/1e4}),e.jsx(bo,{until:n.checks.expiration})]}),e.jsx(wo,{children:Is(n)?i("myStore.discountUsed",{used:((y=n.state)==null?void 0:y.uses)??0,total:n.checks.uses}):i("myStore.discountUsedUncapped",{used:((L=n.state)==null?void 0:L.uses)??0})})]}):i("myStore.noDiscountShort")}),e.jsxs(xo,{"data-testid":"store-collection-claimed",children:[t.claimed.toLocaleString(),e.jsxs("small",{children:["/",t.runTotal.toLocaleString()]})]}),e.jsxs($o,{"data-testid":"store-collection-earned",children:[e.jsx(D,{kind:"mana"}),R(t.earningsWei)]}),e.jsx(En,{children:e.jsx(Ho,{series:t.trend})}),e.jsxs(ko,{as:"a",href:`${q.builderUrl}/collections/${t.collectionId}`,target:"_blank",rel:"noopener noreferrer",onClick:h,"data-testid":"store-manage",children:[i("myStore.manage"),e.jsx(z,{name:"external-link",size:14,"aria-hidden":!0})]})]}),l?e.jsxs(On,{id:p,"data-testid":"store-items",children:[e.jsxs(Dn,{"data-testid":"store-collection-stats",children:[e.jsxs("span",{children:[e.jsxs("b",{children:[e.jsx(D,{kind:"mana"}),R(t.earningsWei)]}),i("myStore.collEarned")]}),e.jsxs("span",{children:[e.jsx("b",{children:t.sold.toLocaleString()}),i("myStore.collSold")]}),e.jsxs("span",{children:[e.jsx("b",{children:t.items.length}),i("myStore.collItems",{count:t.items.length})]}),e.jsxs("span",{children:[e.jsx("b",{children:t.listed+t.classic}),i("myStore.collListed")]})]}),t.items.map(m=>{const T=_o(m,m.lifetimeSold);return e.jsxs(Bn,{"data-testid":"store-item",children:[e.jsx(Rn,{style:{backgroundImage:Ne(m.rarity)},children:m.thumbnail?e.jsx("img",{src:m.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(Hn,{children:[e.jsx(Vn,{to:se(`/item/${t.contractAddress}/${m.itemId}`,f),title:m.name,children:m.name}),e.jsxs(qn,{children:[e.jsx(Un,{style:{background:gs(m.rarity)},title:fs(m.rarity),children:xs(m.rarity)}),e.jsx(Yn,{"data-state":m.state,children:m.state==="soldout"?null:m.state==="unlisted"?i("myStore.stateUnlisted"):m.state==="unknown"?i("myStore.stateUnknown"):e.jsxs(e.Fragment,{children:[e.jsx(Jn,{children:i("myStore.onSaleFor")}),m.manaWei?e.jsxs(e.Fragment,{children:[e.jsx(D,{kind:"mana"}),R(_(m.manaWei))]}):e.jsxs(e.Fragment,{children:[e.jsx(D,{kind:"credits"}),e.jsx(ys,{credits:m.priceCredits??0})]})]})})]})]}),e.jsxs(Kn,{children:[m.sold.toLocaleString(),e.jsxs("small",{children:[" ",i("myStore.sold")]})]}),e.jsxs(vo,{"data-testid":"store-item-saves",title:i("myStore.savesHint",{count:a.get(m.key)??0}),children:[e.jsx(z,{name:"heart",className:"ico","aria-hidden":!0}),(a.get(m.key)??0).toLocaleString()]}),e.jsx(Gn,{role:"progressbar","aria-valuemin":0,"aria-valuemax":m.minted+m.left,"aria-valuenow":m.minted,"aria-label":i("myStore.runAria",{minted:m.minted,total:m.minted+m.left}),children:e.jsx("i",{style:{width:`${Math.round(m.minted/Math.max(1,m.minted+m.left)*100)}%`}})}),e.jsxs(Qn,{title:m.lifetimeSold==null?void 0:i("myStore.runBreakdown",{total:m.minted+m.left,sold:m.lifetimeSold,sent:m.minted-m.lifetimeSold,left:m.left}),children:[e.jsx(Xn,{"data-out":m.left===0,"data-testid":"store-item-stock",children:Wt(m.left===0?"myStore.stockNone":"myStore.stockLeft",{b:F=>e.jsx("b",{children:F}),left:m.left.toLocaleString(),total:(m.minted+m.left).toLocaleString()})}),T?e.jsx(Zn,{"data-testid":"store-item-issued",children:i("myStore.sentDirectly",{count:T.toLocaleString()})}):null]})]},m.key)})]}):null]})}function _e(t){return!!t&&!(t.current===0&&t.previous===0)}function Fe({delta:t,period:n}){if(!t||t.current===0&&t.previous===0)return null;const a=n==="all"?"":i(`myStore.vs${n}`);if(t.pct===null)return e.jsxs(Le,{"data-dir":"new","data-testid":"store-delta",children:[i("myStore.deltaNew"),a?e.jsx("span",{className:"delta__against",children:a}):null]});const l=Math.round(t.pct);if(l===0)return e.jsxs(Le,{"data-dir":"flat","data-testid":"store-delta",children:[i("myStore.deltaFlat"),a?e.jsx("span",{className:"delta__against",children:a}):null]});const o=l>0,f=l>=1e3?i("myStore.deltaTimes",{times:Math.round(l/100+1).toLocaleString()}):`${Math.abs(l)}%`;return e.jsxs(Le,{"data-dir":o?"up":"down","data-testid":"store-delta","aria-label":i(o?"myStore.deltaUpAria":"myStore.deltaDownAria",{pct:f,against:a}),children:[e.jsx("span",{className:"delta__arrow","aria-hidden":!0,children:o?"▲":"▼"}),f,a?e.jsx("span",{className:"delta__against",children:a}):null]})}function Uo(){return e.jsxs("div",{"data-testid":"store-skeleton","aria-hidden":!0,children:[e.jsx(Tt,{children:[0,1,2,3].map(t=>e.jsxs(V,{children:[e.jsx(b,{style:{width:"46%"}}),e.jsx(b,{style:{width:"32%",height:38}}),e.jsx(b,{style:{width:"64%",height:15}})]},t))}),e.jsxs(K,{style:{marginTop:22},children:[e.jsxs(ge,{children:[e.jsx(b,{style:{width:96,height:14}}),e.jsx(b,{style:{width:120}})]}),e.jsxs(_t,{children:[e.jsxs(zt,{"aria-hidden":!0,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx(b,{style:{width:84,height:12}}),e.jsx(b,{style:{width:74,height:12}}),e.jsx(b,{style:{width:62,height:12}}),e.jsx(b,{style:{width:68,height:12}}),e.jsx(b,{style:{width:82,height:12}}),e.jsx(b,{style:{width:60,height:12}})]}),Array.from({length:ye},(t,n)=>e.jsxs(Ft,{children:[e.jsx("span",{}),e.jsx(ro,{}),e.jsx(b,{style:{width:"82%",height:14}}),e.jsx(b,{style:{width:"70%",height:20}}),e.jsx(b,{style:{width:72}}),e.jsx(b,{style:{width:76}}),e.jsx(b,{style:{height:20}}),e.jsx(b,{style:{width:96,height:32,borderRadius:8}})]},n))]}),e.jsx(io,{as:"div",children:e.jsx(b,{style:{width:150,height:13,margin:"0 auto"}})})]}),e.jsx(Ot,{style:{marginTop:22},children:[0,1].map(t=>e.jsxs(K,{children:[e.jsxs(ge,{children:[e.jsx(b,{style:{width:110,height:14}}),e.jsx(b,{style:{width:80}})]}),e.jsx(yt,{children:[0,1,2,3].map(n=>e.jsx(b,{style:{width:46,height:9}},n))}),Array.from({length:we},(n,a)=>e.jsxs(bt,{children:[e.jsx(b,{style:{width:"38%"}}),e.jsx(b,{style:{width:"24%"}}),e.jsx(b,{style:{width:56}}),e.jsx(b,{style:{width:64}})]},a))]},t))}),e.jsxs(K,{style:{marginTop:22},children:[e.jsxs(ge,{children:[e.jsx(b,{style:{width:104,height:14}}),e.jsx(b,{style:{width:90}})]}),e.jsx(yt,{children:[0,1,2,3,4].map(t=>e.jsx(b,{style:{width:46,height:9}},t))}),Array.from({length:be},(t,n)=>e.jsxs(bt,{children:[e.jsx(b,{style:{width:"30%"}}),e.jsx(b,{style:{width:"18%"}}),e.jsx(b,{style:{width:72,height:18}}),e.jsx(b,{style:{width:"14%"}}),e.jsx(b,{style:{width:54}})]},n))]})]})}function pa(){var et,tt;is({title:i("myStore.title"),noindex:!0});const{session:t,error:n,signIn:a}=rs(),[l]=Zt(),[o,h]=C.useState("30d"),[f,p]=C.useState(()=>new Set),[y,L]=C.useState(0),[m,T]=C.useState(0),[F,I]=C.useState(!1),[N,E]=C.useState(To),[ne,oe]=C.useState(0),[O,G]=C.useState(!1),U=ls(),A=ds(),v=Oo(l.get("mock")),j=Do(l.get("viewAs")),w=l.get("env"),c=Xt("/").replace(/\/$/,""),x=d=>`${c}${d}`,S=v||!!j;function g(d,$={}){S||ms(d,$)}const{data:k}=cs(j??(t==null?void 0:t.address)),P=j??(t==null?void 0:t.address),{data:Y}=Ws(P),Re=Ls.filter(d=>Y==null?void 0:Y.links[d]),He=(tt=(et=k==null?void 0:k.avatar)==null?void 0:et.snapshots)==null?void 0:tt.face256,qe=k!=null&&k.name?Mt(k.name):null,{stats:Rt,trend:Ue,savesByKey:Ht,saleable:Ve,isLoading:qt,error:Ut}=Xs(t,o,j),u=v?De:Rt,W=v?{...Ue,collectors:an,buyers:rn}:Ue,Vt=v?!1:qt,Kt=v?dn:Ht,je=Eo(j??(t==null?void 0:t.address),o,m),le=v?hn:je.rows,Gt=C.useMemo(()=>[...new Set(le.map(d=>d.buyer.toLowerCase()))].sort(),[le]),{data:de,isLoading:Yt}=vt(Gt),Se=Math.max(1,Math.ceil(W.buyers.length/be)),ce=Math.min(ne,Se-1),ke=C.useMemo(()=>W.buyers.slice(ce*be,(ce+1)*be),[W.buyers,ce]),Qt=C.useMemo(()=>ke.map(d=>d.address).sort(),[ke]),{data:he}=vt(Qt),{data:Jt}=vs(j??(t==null?void 0:t.address),U&&(!!t||!!j)),Ke=((u==null?void 0:u.collections)??[]).some(d=>d.exhausted),$e=N==="selling"&&!Ke?"sold":N,Ge=Math.max(1,Math.ceil(((u==null?void 0:u.collections.length)??0)/ye)),Ye=C.useMemo(()=>zo((u==null?void 0:u.collections)??[],$e),[u,$e]),ve=C.useMemo(()=>Us((u==null?void 0:u.collections)??[]),[u]),pe=Math.min(y,Ge-1),Qe=C.useMemo(()=>Ye.slice(pe*ye,(pe+1)*ye),[Ye,pe]);if(A==="off")return e.jsx(es,{to:"/",replace:!0});if(!t&&!j&&!v)return e.jsxs(hs,{children:[e.jsx(ps,{testId:"my-store-signin",icon:Ts,title:i("myStore.signInTitle"),body:i("myStore.signInBody"),cta:{label:i("storeSettings.signIn"),onClick:()=>a()},ctaVariant:"solid",fill:!0}),e.jsx(ot,{message:n})]});const Je=v?ln:Jt,Ce=new Map;for(const d of Je??[])if(!(d.status!=="active"&&d.status!=="scheduled"))for(const $ of d.collections)Ce.set($.toLowerCase(),d);const Ze=(Je??[]).filter(d=>d.status==="active"||d.status==="scheduled"),Xe=o==="7d"?7:o==="30d"?30:null,Ae=((u==null?void 0:u.collections)??[]).reduce((d,$)=>d+$.items.length,0);return e.jsx(zs,{children:e.jsx(_s,{children:e.jsxs(pn,{"data-testid":"my-store",children:[F&&t?e.jsx(Cs,{session:t,collections:Ve,onClose:()=>I(!1),source:"my_store",silent:S}):null,e.jsxs(mn,{children:[e.jsxs(un,{children:[e.jsx(fn,{style:He?{backgroundImage:`url(${He})`}:void 0,"data-testid":"store-avatar","aria-hidden":!0}),e.jsxs(xn,{children:[qe?e.jsx(gn,{children:qe}):null,e.jsxs(bn,{children:[e.jsx(yn,{children:i("myStore.title")}),u?e.jsxs(lt,{children:[i("myStore.summary",{collections:u.collections.length,items:Ae}),Re.length>0?e.jsx(kn,{"data-testid":"store-socials",children:Re.map(d=>e.jsx($n,{href:(Y==null?void 0:Y.links[d])??"",target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"social_link",link_type:d}),title:i(`creator.link.${d}`),"aria-label":i(`creator.link.${d}`),children:e.jsx(z,{name:Fo[d],className:"ico","aria-hidden":!0})},d))}):null]}):e.jsx(lt,{children:e.jsx(b,{style:{width:170,background:"rgba(252, 252, 252, 0.18)",animation:"none"}})})]})]})]}),e.jsxs(wn,{children:[P?e.jsxs(jn,{href:x(se(`/items/creator/${P}`,w)),target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"view_public_store"}),"data-testid":"store-view-public",children:[i("myStore.viewPublicStore"),e.jsx(z,{name:"external-link",className:"ico","aria-hidden":!0})]}):null,j?null:e.jsxs(Sn,{to:se("/store-settings",w),state:{from:"/my-store"},onClick:()=>g("Shop Clicked Store Action",{action:"edit_store"}),"data-testid":"store-edit",children:[e.jsx(z,{name:"pen",className:"ico","aria-hidden":!0}),i("myStore.editStore")]})]})]}),e.jsxs(vn,{children:[e.jsx(Cn,{children:i("myStore.performance")}),e.jsx(An,{role:"group","aria-label":i("myStore.period"),children:Wo.map(d=>e.jsx(In,{type:"button","aria-pressed":o===d,onClick:()=>{d!==o&&g("Shop Changed Store Period",{period:d,previous_period:o}),h(d),T(0)},"data-testid":`store-period-${d}`,children:i(`myStore.period${d}`)},d))})]}),j?e.jsx(ao,{"data-testid":"store-view-as",children:i("myStore.viewingAs",{address:j})}):null,e.jsx(ot,{message:Ut?i("myStore.error"):null,testId:"my-store-error"}),Vt||!u?e.jsx(Uo,{}):e.jsxs(e.Fragment,{children:[e.jsxs(Tt,{"aria-label":i("myStore.summaryAria"),children:[e.jsxs(V,{children:[e.jsxs(Z,{children:[i("myStore.tileSold"),e.jsx(X,{"aria-hidden":!0,children:"🛍️"})]}),e.jsx(ee,{children:e.jsx("span",{"data-testid":"store-sold",children:u.sold.toLocaleString()})}),e.jsxs(te,{children:[e.jsx(Fe,{delta:W.sold,period:o}),!_e(W.sold)&&(u.sold===0?i("myStore.tileSoldNone"):u.resales===0?i("myStore.tileSoldFootMintsOnly",{mints:u.mints}):i("myStore.tileSoldFoot",{mints:u.mints,resales:u.resales}))]})]}),e.jsxs(V,{children:[e.jsxs(Z,{children:[i("myStore.tileEarnings"),e.jsx(X,{"aria-hidden":!0,children:"💰"})]}),e.jsxs(ee,{children:[e.jsx(D,{kind:"mana"}),R(u.earningsWei),e.jsx(dt,{children:i("myStore.manaUnit")})]}),e.jsxs(te,{children:[e.jsx(Fe,{delta:W.earnings,period:o}),u.partial?e.jsxs(e.Fragment,{children:[e.jsx(ct,{children:i("myStore.estimate")})," ",i("myStore.tileEarningsPartial")]}):_e(W.earnings)?null:i("myStore.tileEarningsFoot")]})]}),e.jsxs(V,{children:[e.jsxs(Z,{children:[i("myStore.tileListed"),e.jsx(X,{"aria-hidden":!0,children:"🏷️"})]}),e.jsxs(ee,{children:[u.listed+u.classic,e.jsx(dt,{children:i("myStore.ofTotal",{n:Ae})})]}),e.jsx(te,{children:Ae===0?i("myStore.tileListedNone"):i("myStore.tileListedFoot",{count:u.neverListed})})]}),e.jsxs(V,{children:[e.jsxs(Z,{children:[i("myStore.tileDiscounts"),e.jsx(X,{"aria-hidden":!0,children:"🔥"})]}),e.jsx(ee,{"data-testid":"store-discounts",children:Ze.length}),e.jsx(te,{children:Ze.length>0?i("myStore.tileDiscountsFoot"):i("myStore.tileDiscountsNone")})]})]}),u.classic>0&&!O?e.jsx(As,{count:u.classic,reason:"discounts",to:se("/activity?section=listings",w),onDismiss:()=>{g("Shop Clicked Store Action",{action:"dismiss_pricing_banner",classic_items:u.classic}),G(!0)},onCta:()=>g("Shop Clicked Store Action",{action:"update_prices",classic_items:u.classic})}):null,e.jsxs(K,{"aria-labelledby":"store-coll-h",children:[e.jsxs(jo,{children:[e.jsx(me,{id:"store-coll-h",children:i("myStore.collectionsCount",{count:u.collections.length})}),e.jsxs(So,{children:[u.collections.length>1?e.jsx(Wn,{options:[{value:"sold",label:i("myStore.sortSold")},...Ke?[{value:"selling",label:i("myStore.sortSelling")}]:[],...u.collections.some(d=>d.createdAt)?[{value:"newest",label:i("myStore.sortNewest")}]:[],{value:"name",label:i("myStore.sortName")}],value:$e,onChange:d=>{g("Shop Sorted Store Collections",{sort:d}),E(d),Po(d)},align:"right",ariaLabel:i("myStore.sortBy"),className:"store-sort"}):null,v||U&&!j&&t&&Ve.length>0?e.jsxs(It,{variant:"red",size:"sm",onClick:()=>I(!0),"data-testid":"store-new-discount",children:[e.jsx("span",{"aria-hidden":!0,children:"🔥"}),i("myStore.newDiscount")]}):null]})]}),u.collections.length===0?e.jsx(ue,{children:i("myStore.noCollections")}):e.jsx(e.Fragment,{children:e.jsxs(_t,{children:[e.jsxs(zt,{"aria-hidden":!0,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{children:i("myStore.colCollection")}),e.jsx("span",{children:i("myStore.colDiscounts")}),e.jsx("span",{children:i("myStore.colClaimed")}),e.jsx("span",{children:i("myStore.colEarnings")}),e.jsx("span",{children:Xe?i("myStore.colTrend",{days:Xe}):i("myStore.colTrendAll")}),e.jsx("span",{children:i("myStore.colActions")})]}),Qe.map(d=>e.jsx(qo,{collection:d,discount:Ce.get(d.contractAddress)??null,savesByKey:Kt,env:w,open:f.has(d.contractAddress),onToggle:()=>{f.has(d.contractAddress)||g("Shop Expanded Store Collection",{contract_address:d.contractAddress,items:d.items.length,exhausted:d.exhausted,has_discount:Ce.has(d.contractAddress)}),p($=>{const M=new Set($);return M.delete(d.contractAddress)||M.add(d.contractAddress),M})},onManage:()=>g("Shop Clicked Store Action",{action:"manage_collection",contract_address:d.contractAddress})},d.contractAddress))]})}),u.collections.length>0?e.jsxs(Pe,{children:[e.jsxs("span",{"data-testid":"store-showing",children:[i("myStore.showingOf",{shown:Qe.length.toLocaleString(),total:u.collections.length.toLocaleString()}),u.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",i("myStore.soldPartial",{n:u.fetched.toLocaleString()})]}):null]}),e.jsx(ze,{page:pe,pages:Ge,onChange:d=>{g("Shop Paged Store Table",{table:"collections",page:d+1}),L(d)},name:"collections"})]}):null]}),e.jsxs(Ot,{children:[e.jsxs(K,{"aria-labelledby":"store-best-h",children:[e.jsx(jt,{children:e.jsxs("div",{children:[e.jsx(me,{id:"store-best-h",children:i("myStore.bestSellers")}),e.jsxs(wt,{children:[i("myStore.bestSellersSub",{n:ve.length}),u.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",i("myStore.soldPartial",{n:u.fetched.toLocaleString()})]}):null]})]})}),ve.length===0?e.jsx(ue,{children:i("myStore.noBestSellers")}):e.jsx(We,{children:e.jsxs(Ao,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:e.jsxs(kt,{children:[e.jsx(St,{"aria-hidden":!0,children:"#"}),i("myStore.colItem")]})}),e.jsx("th",{scope:"col",children:i("myStore.colCollection")}),e.jsx("th",{scope:"col",style:{textAlign:"center"},children:i("myStore.colSold")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:i("myStore.colEarnings")})]})}),e.jsx("tbody",{children:ve.map((d,$)=>e.jsxs("tr",{"data-testid":"store-best",children:[e.jsx("td",{children:e.jsxs(kt,{children:[e.jsx(St,{children:$+1}),e.jsxs(mt,{as:"a",href:x($t(d.contractAddress,d.itemId,w)),target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_item",table:"best_sellers",rank:$+1}),"data-testid":"store-best-item",children:[e.jsx(ut,{style:{backgroundImage:Ne(d.rarity)},children:d.thumbnail?e.jsx("img",{src:d.thumbnail,alt:"",loading:"lazy"}):null}),e.jsx("span",{children:d.name})]})]})}),e.jsx("td",{"data-dim":!0,children:d.collectionName}),e.jsx("td",{style:{textAlign:"center",fontWeight:600},"data-testid":"store-best-sold",children:d.sold.toLocaleString()}),e.jsx("td",{"data-money":!0,children:e.jsxs(Te,{children:[e.jsx(D,{kind:"mana"}),R(d.earnedWei)]})})]},d.key))})]})})]}),e.jsxs(K,{"aria-labelledby":"store-feed-h",children:[e.jsxs(jt,{children:[e.jsxs("div",{children:[e.jsx(me,{id:"store-feed-h",children:i("myStore.recentSales")}),e.jsx(wt,{children:i("myStore.recentSalesSub")})]}),e.jsxs(Co,{to:"/activity",onClick:()=>g("Shop Clicked Store Action",{action:"view_all_sales"}),children:[i("myStore.viewAll"),e.jsx(z,{name:"arrow-up-right",size:14,"aria-hidden":!0})]})]}),le.length===0?e.jsx(ue,{children:i("myStore.noSales")}):e.jsx(We,{children:e.jsxs(Io,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:i("myStore.colItem")}),e.jsx("th",{scope:"col",children:i("myStore.colCollection")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:i("myStore.colPrice")}),e.jsx("th",{scope:"col",children:i("myStore.colBuyer")}),e.jsx("th",{scope:"col",children:i("myStore.colDate")})]})}),e.jsx("tbody",{children:le.map(d=>{var st,nt;const $=u.collections.find(Ie=>Ie.contractAddress===d.contractAddress.toLowerCase()),M=$==null?void 0:$.items.find(Ie=>Ie.itemId===d.itemId),Q=de==null?void 0:de.get(d.buyer.toLowerCase()),ae=(nt=(st=Q==null?void 0:Q.avatar)==null?void 0:st.snapshots)==null?void 0:nt.face256;return e.jsxs("tr",{"data-testid":"store-sale",children:[e.jsx("td",{children:e.jsxs(mt,{as:d.itemId?"a":"span",...d.itemId?{href:x($t(d.contractAddress,d.itemId,w)),target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_item",table:"recent_sales"}),"data-testid":"store-sale-item"}:{},children:[e.jsx(ut,{style:{backgroundImage:Ne(M==null?void 0:M.rarity)},children:M!=null&&M.thumbnail?e.jsx("img",{src:M.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(Mo,{children:[e.jsx("span",{children:(M==null?void 0:M.name)??($==null?void 0:$.name)??d.itemId??i("myStore.unknownItem")}),e.jsx(xe,{content:i("myStore.kindHint"),children:e.jsx(oo,{"data-kind":d.type,"data-testid":"store-kind-hint",children:d.type==="mint"?i("myStore.kindMint"):i("myStore.kindResale")})})]})]})}),e.jsx("td",{"data-dim":!0,children:($==null?void 0:$.name)??"—"}),e.jsx("td",{"data-money":!0,children:e.jsxs(Te,{children:[e.jsx(D,{kind:"mana"}),R(_(d.price))]})}),e.jsx("td",{children:Yt?e.jsxs(eo,{"aria-hidden":!0,children:[e.jsx("i",{}),e.jsx("b",{})]}):e.jsxs(xt,{href:`${q.profileUrl}/${d.buyer}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_buyer",table:"recent_sales"}),"data-testid":"store-sale-buyer",children:[e.jsx(ft,{style:ae?{backgroundImage:`url(${ae})`}:void 0,"aria-hidden":!0}),Ct(d.buyer,de)]})}),e.jsx("td",{"data-dim":!0,children:At(d.timestamp)})]},d.id)})})]})}),je.pages>1?e.jsxs(Pe,{children:[e.jsx("span",{}),e.jsx(ze,{page:m,pages:je.pages,onChange:d=>{g("Shop Paged Store Table",{table:"recent_sales",page:d+1}),T(d)},name:"sales"})]}):null]})]}),e.jsxs(co,{children:[e.jsx(ho,{id:"store-audience-h",children:i("myStore.audience")}),e.jsx(po,{children:i("myStore.audienceSub")})]}),e.jsxs(mo,{children:[e.jsxs(V,{children:[e.jsxs(Z,{children:[e.jsxs("span",{children:[i("myStore.tileCollectors"),e.jsx(xe,{content:i("myStore.collectorsHint"),children:e.jsx(pt,{type:"button","aria-label":i("myStore.tileCollectors"),"data-testid":"store-collectors-hint",children:e.jsx(z,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(X,{"aria-hidden":!0,children:"👥"})]}),e.jsx(ee,{"data-testid":"store-collectors",children:W.collectors.total.toLocaleString()}),e.jsx(te,{children:W.collectors.total===0?i("myStore.tileCollectorsNone"):e.jsxs(e.Fragment,{children:[u.breakdownPartial?e.jsxs(e.Fragment,{children:[e.jsx(ct,{children:i("myStore.estimate")})," "]}):null,W.collectors.topSharePct>=50?i("myStore.tileCollectorsConcentrated",{pct:Math.floor(W.collectors.topSharePct)}):i("myStore.tileCollectorsFoot",{repeat:W.collectors.repeat,pct:Math.round(W.collectors.repeatPct)})]})})]}),u.royalties?e.jsxs(V,{children:[e.jsxs(Z,{children:[e.jsxs("span",{children:[i("myStore.tileRoyalties"),e.jsx(xe,{content:i("myStore.royaltiesHint"),children:e.jsx(pt,{type:"button","aria-label":i("myStore.tileRoyalties"),"data-testid":"store-royalties-hint",children:e.jsx(z,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(X,{"aria-hidden":!0,children:"🔁"})]}),e.jsxs(ee,{"data-testid":"store-royalties",children:[e.jsx(Mn,{children:"≈"}),e.jsx(D,{kind:"mana"}),R(Ro(u.royalties.volumeWei))]}),e.jsxs(te,{children:[e.jsx(Fe,{delta:W.royalties,period:o}),_e(W.royalties)?null:e.jsx("span",{children:Wt("myStore.tileRoyaltiesFoot",{m:d=>e.jsxs(e.Fragment,{children:[e.jsx(D,{kind:"mana"}),d]}),count:u.royalties.resales,volume:R(u.royalties.volumeWei)})})]})]}):null]}),e.jsxs(K,{"aria-labelledby":"store-buyers-h",children:[e.jsxs(ge,{children:[e.jsx(me,{id:"store-buyers-h",children:i("myStore.buyers")}),e.jsx(Ln,{children:i("myStore.buyersHint")})]}),W.buyers.length===0?e.jsx(ue,{"data-testid":"store-buyers-none",children:i("myStore.noBuyers")}):e.jsx(We,{children:e.jsxs(uo,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:i("myStore.colBuyer")}),e.jsx("th",{scope:"col",children:i("myStore.colItems")}),e.jsx("th",{scope:"col",children:i("myStore.colCollections")}),e.jsx("th",{scope:"col",children:i("myStore.colLast")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:i("myStore.colSpent")})]})}),e.jsx("tbody",{children:ke.map(d=>{var M,Q,ae;const $=(ae=(Q=(M=he==null?void 0:he.get(d.address))==null?void 0:M.avatar)==null?void 0:Q.snapshots)==null?void 0:ae.face256;return e.jsxs("tr",{"data-testid":"store-buyer",children:[e.jsx("td",{children:e.jsxs(xt,{href:`${q.profileUrl}/${d.address}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_buyer",table:"buyers"}),"data-testid":"store-buyer-name",children:[e.jsx(ft,{style:$?{backgroundImage:`url(${$})`}:void 0,"aria-hidden":!0}),Ct(d.address,he)]})}),e.jsx("td",{"data-dim":!0,children:i("myStore.buyerItems",{count:d.items})}),e.jsx("td",{"data-dim":!0,children:i("myStore.buyerCollections",{count:d.collections})}),e.jsx("td",{"data-dim":!0,children:At(d.lastAt)}),e.jsx("td",{"data-money":!0,children:e.jsxs(Te,{children:[e.jsx(D,{kind:"mana"}),R(d.spentWei)]})})]},d.address)})})]})}),Se>1?e.jsxs(Pe,{children:[e.jsx("span",{}),e.jsx(ze,{page:ce,pages:Se,onChange:d=>{g("Shop Paged Store Table",{table:"buyers",page:d+1}),oe(d)},name:"buyers"})]}):null]})]})]})})})}export{pa as MyStore,pa as default};
1639
- //# sourceMappingURL=MyStore-Cpl5KPnh.js.map