@dcl/landing-site 0.5.1-24667963662.commit-e7db321 → 0.5.1-24671743849.commit-e464803

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 (183) hide show
  1. package/assets/{AnimatedBackground-DBObVbM7.js → AnimatedBackground-B-L76Zza.js} +2 -2
  2. package/assets/{AnimatedBackground-DBObVbM7.js.map → AnimatedBackground-B-L76Zza.js.map} +1 -1
  3. package/assets/{AnimatedSection-Dy2CqHWv.js → AnimatedSection-C7y4e9MO.js} +1 -1
  4. package/assets/{AnimatedSection-Dy2CqHWv.js.map → AnimatedSection-C7y4e9MO.js.map} +1 -1
  5. package/assets/{ArrowBackIosNew-ClpqCBiA.js → ArrowBackIosNew-m07XLZJ3.js} +1 -1
  6. package/assets/{ArrowBackIosNew-ClpqCBiA.js.map → ArrowBackIosNew-m07XLZJ3.js.map} +1 -1
  7. package/assets/{AuthorPage-pJ7qR6DU.js → AuthorPage-HEjEdZnQ.js} +1 -1
  8. package/assets/{AuthorPage-pJ7qR6DU.js.map → AuthorPage-HEjEdZnQ.js.map} +1 -1
  9. package/assets/{Badges-DLM7WLac.js → Badges-C3LP2L14.js} +1 -1
  10. package/assets/{Badges-DLM7WLac.js.map → Badges-C3LP2L14.js.map} +1 -1
  11. package/assets/{BlogLayout-DdVPRVwT.js → BlogLayout-DOXQWe4b.js} +1 -1
  12. package/assets/{BlogLayout-DdVPRVwT.js.map → BlogLayout-DOXQWe4b.js.map} +1 -1
  13. package/assets/{BlogPage-DJ5seXTi.js → BlogPage-BYou2PX1.js} +1 -1
  14. package/assets/{BlogPage-DJ5seXTi.js.map → BlogPage-BYou2PX1.js.map} +1 -1
  15. package/assets/{CTAButton-G_F6A2kc.js → CTAButton-DIvER7jP.js} +1 -1
  16. package/assets/{CTAButton-G_F6A2kc.js.map → CTAButton-DIvER7jP.js.map} +1 -1
  17. package/assets/{CardContent--XD8e3JI.js → CardContent-CTD4H4a5.js} +1 -1
  18. package/assets/{CardContent--XD8e3JI.js.map → CardContent-CTD4H4a5.js.map} +1 -1
  19. package/assets/{CardMedia-DlGw2npC.js → CardMedia-DkSJQ0Yc.js} +1 -1
  20. package/assets/{CardMedia-DlGw2npC.js.map → CardMedia-DkSJQ0Yc.js.map} +1 -1
  21. package/assets/{Carousel-GdhNbXzm.js → Carousel-Bz36sWAV.js} +1 -1
  22. package/assets/{Carousel-GdhNbXzm.js.map → Carousel-Bz36sWAV.js.map} +1 -1
  23. package/assets/{CategoryPage-DahoLfHy.js → CategoryPage-5N-S_EtG.js} +1 -1
  24. package/assets/{CategoryPage-DahoLfHy.js.map → CategoryPage-5N-S_EtG.js.map} +1 -1
  25. package/assets/{CircleAndArrow-C6RrImNk.js → CircleAndArrow-DDOq4aRv.js} +1 -1
  26. package/assets/{CircleAndArrow-C6RrImNk.js.map → CircleAndArrow-DDOq4aRv.js.map} +1 -1
  27. package/assets/{CircularProgress-DcmGIHDk.js → CircularProgress-DMJbftwB.js} +1 -1
  28. package/assets/{CircularProgress-DcmGIHDk.js.map → CircularProgress-DMJbftwB.js.map} +1 -1
  29. package/assets/{ContentCopy-DZXGXqqg.js → ContentCopy-Die7TKLF.js} +1 -1
  30. package/assets/{ContentCopy-DZXGXqqg.js.map → ContentCopy-Die7TKLF.js.map} +1 -1
  31. package/assets/{CreateEventPage-CLt56AWQ.js → CreateEventPage-DB5tddNm.js} +1 -1
  32. package/assets/{CreateEventPage-CLt56AWQ.js.map → CreateEventPage-DB5tddNm.js.map} +1 -1
  33. package/assets/{CreatorHubDownload-C7cTzZ_n.js → CreatorHubDownload-DVIZjVQI.js} +1 -1
  34. package/assets/{CreatorHubDownload-C7cTzZ_n.js.map → CreatorHubDownload-DVIZjVQI.js.map} +1 -1
  35. package/assets/{CreatorHubDownloadSuccess-DipAyW_h.js → CreatorHubDownloadSuccess-D0krvgHC.js} +1 -1
  36. package/assets/{CreatorHubDownloadSuccess-DipAyW_h.js.map → CreatorHubDownloadSuccess-D0krvgHC.js.map} +1 -1
  37. package/assets/DappsShell-DXZfdOqe.js +1 -0
  38. package/assets/DappsShell-DXZfdOqe.js.map +1 -0
  39. package/assets/{DownloadSuccessLayout-Di5Qa-ZM.js → DownloadSuccessLayout-B5KxILAh.js} +1 -1
  40. package/assets/{DownloadSuccessLayout-Di5Qa-ZM.js.map → DownloadSuccessLayout-B5KxILAh.js.map} +1 -1
  41. package/assets/{Grow-BmtKtm1i.js → Grow-BbhVo4-Q.js} +1 -1
  42. package/assets/{Grow-BmtKtm1i.js.map → Grow-BbhVo4-Q.js.map} +1 -1
  43. package/assets/HomePage-CSW35au2.js +3 -0
  44. package/assets/HomePage-CSW35au2.js.map +1 -0
  45. package/assets/{InviteFaqs-4RRixgP-.js → InviteFaqs-BZEDqRWz.js} +1 -1
  46. package/assets/{InviteFaqs-4RRixgP-.js.map → InviteFaqs-BZEDqRWz.js.map} +1 -1
  47. package/assets/{InvitePage-CtNmz2y6.js → InvitePage-CNSVnM5F.js} +2 -2
  48. package/assets/{InvitePage-CtNmz2y6.js.map → InvitePage-CNSVnM5F.js.map} +1 -1
  49. package/assets/{JumpInIcon-DGqWIU4o.js → JumpInIcon-DsVzhXWI.js} +1 -1
  50. package/assets/{JumpInIcon-DGqWIU4o.js.map → JumpInIcon-DsVzhXWI.js.map} +1 -1
  51. package/assets/{LegalPageLayout-l-OS4ZYa.js → LegalPageLayout-BGd6IPpz.js} +1 -1
  52. package/assets/{LegalPageLayout-l-OS4ZYa.js.map → LegalPageLayout-BGd6IPpz.js.map} +1 -1
  53. package/assets/{Link-B-065zLP.js → Link-C-K90yR0.js} +1 -1
  54. package/assets/{Link-B-065zLP.js.map → Link-C-K90yR0.js.map} +1 -1
  55. package/assets/{MenuItem-ChXNXZTb.js → MenuItem-DJBLDqfL.js} +1 -1
  56. package/assets/{MenuItem-ChXNXZTb.js.map → MenuItem-DJBLDqfL.js.map} +1 -1
  57. package/assets/{Paper-BJ-Nl60w.js → Paper-BcsxEQWA.js} +1 -1
  58. package/assets/{Paper-BJ-Nl60w.js.map → Paper-BcsxEQWA.js.map} +1 -1
  59. package/assets/{PostCard-DajPpr0c.js → PostCard-CalYnkvr.js} +1 -1
  60. package/assets/{PostCard-DajPpr0c.js.map → PostCard-CalYnkvr.js.map} +1 -1
  61. package/assets/{PostPage-DIcWHUae.js → PostPage-DYDVBmyR.js} +1 -1
  62. package/assets/{PostPage-DIcWHUae.js.map → PostPage-DYDVBmyR.js.map} +1 -1
  63. package/assets/{PostPage.styled-COnewpe7.js → PostPage.styled-B-fdiFDU.js} +3 -3
  64. package/assets/{PostPage.styled-COnewpe7.js.map → PostPage.styled-B-fdiFDU.js.map} +1 -1
  65. package/assets/{PreviewPage-Cn2WEC12.js → PreviewPage-BE7HyZTt.js} +1 -1
  66. package/assets/{PreviewPage-Cn2WEC12.js.map → PreviewPage-BE7HyZTt.js.map} +1 -1
  67. package/assets/{SEO-DlSMNiIG.js → SEO-P8y8JbS9.js} +1 -1
  68. package/assets/{SEO-DlSMNiIG.js.map → SEO-P8y8JbS9.js.map} +1 -1
  69. package/assets/{SearchPage-BsXG81Nf.js → SearchPage-BraoruXd.js} +1 -1
  70. package/assets/{SearchPage-BsXG81Nf.js.map → SearchPage-BraoruXd.js.map} +1 -1
  71. package/assets/{SignInRedirect-D3cos3JN.js → SignInRedirect-COcA7WhX.js} +1 -1
  72. package/assets/{SignInRedirect-D3cos3JN.js.map → SignInRedirect-COcA7WhX.js.map} +1 -1
  73. package/assets/{SignInRedirect-Q4rx62U6.js → SignInRedirect-CS5Xkoa_.js} +1 -1
  74. package/assets/{SignInRedirect-Q4rx62U6.js.map → SignInRedirect-CS5Xkoa_.js.map} +1 -1
  75. package/assets/{Skeleton-D8JfGaaX.js → Skeleton-o93N4ZZz.js} +1 -1
  76. package/assets/{Skeleton-D8JfGaaX.js.map → Skeleton-o93N4ZZz.js.map} +1 -1
  77. package/assets/{TwitterEmbed-DeMZkX3S.js → TwitterEmbed-C3w4WnFA.js} +1 -1
  78. package/assets/{TwitterEmbed-DeMZkX3S.js.map → TwitterEmbed-C3w4WnFA.js.map} +1 -1
  79. package/assets/{Video-CiAQnrOo.js → Video-DF4ljNzn.js} +1 -1
  80. package/assets/{Video-CiAQnrOo.js.map → Video-DF4ljNzn.js.map} +1 -1
  81. package/assets/WearablePreview-5JNPj6PX.js +4 -0
  82. package/assets/{WearablePreview-CFkTJn9i.js.map → WearablePreview-5JNPj6PX.js.map} +1 -1
  83. package/assets/{auto-track-_HUtnguT.js → auto-track-UkqTRxye.js} +1 -1
  84. package/assets/{auto-track-_HUtnguT.js.map → auto-track-UkqTRxye.js.map} +1 -1
  85. package/assets/{ccip-DNbAsZz-.js → ccip-cqtPy8Xz.js} +1 -1
  86. package/assets/{ccip-DNbAsZz-.js.map → ccip-cqtPy8Xz.js.map} +1 -1
  87. package/assets/{createSvgIcon-BLdKozgH.js → createSvgIcon-DH_tCoWL.js} +1 -1
  88. package/assets/{createSvgIcon-BLdKozgH.js.map → createSvgIcon-DH_tCoWL.js.map} +1 -1
  89. package/assets/{download-oFyIG5OP.js → download-DQLaB97z.js} +2 -2
  90. package/assets/{download-oFyIG5OP.js.map → download-DQLaB97z.js.map} +1 -1
  91. package/assets/{downloadWithIdentity-BYnQvFTU.js → downloadWithIdentity-dAd_6Xjv.js} +1 -1
  92. package/assets/{downloadWithIdentity-BYnQvFTU.js.map → downloadWithIdentity-dAd_6Xjv.js.map} +1 -1
  93. package/assets/{events.client-LWw5jd-t.js → events.client-DDwZtrCh.js} +1 -1
  94. package/assets/{events.client-LWw5jd-t.js.map → events.client-DDwZtrCh.js.map} +1 -1
  95. package/assets/{index-BCgaMgYt.js → index-71royYUE.js} +1 -1
  96. package/assets/{index-BCgaMgYt.js.map → index-71royYUE.js.map} +1 -1
  97. package/assets/{index-CM5Uohwh.js → index-B4ReIH01.js} +1 -1
  98. package/assets/{index-CM5Uohwh.js.map → index-B4ReIH01.js.map} +1 -1
  99. package/assets/{index-BLczpcuT.js → index-BQaEVpup.js} +1 -1
  100. package/assets/{index-BLczpcuT.js.map → index-BQaEVpup.js.map} +1 -1
  101. package/assets/{index-8P9wWk_Z.js → index-Bi1_667A.js} +1 -1
  102. package/assets/{index-8P9wWk_Z.js.map → index-Bi1_667A.js.map} +1 -1
  103. package/assets/{index-DVTinPKV.js → index-Bo0hqmw3.js} +1 -1
  104. package/assets/{index-DVTinPKV.js.map → index-Bo0hqmw3.js.map} +1 -1
  105. package/assets/{index-Czi9R2pR.js → index-BpUUMJJL.js} +2 -2
  106. package/assets/{index-Czi9R2pR.js.map → index-BpUUMJJL.js.map} +1 -1
  107. package/assets/{index-HZ_h_54S.js → index-BqghIvCc.js} +3 -3
  108. package/assets/{index-HZ_h_54S.js.map → index-BqghIvCc.js.map} +1 -1
  109. package/assets/{index-58xN71Vu.js → index-BsykSOSe.js} +1 -1
  110. package/assets/{index-58xN71Vu.js.map → index-BsykSOSe.js.map} +1 -1
  111. package/assets/{index-TaLrFo1W.js → index-BxxIREHz.js} +4 -4
  112. package/assets/{index-TaLrFo1W.js.map → index-BxxIREHz.js.map} +1 -1
  113. package/assets/{index-u4hJejM4.js → index-C2gGmY4r.js} +1 -1
  114. package/assets/{index-u4hJejM4.js.map → index-C2gGmY4r.js.map} +1 -1
  115. package/assets/{index-C1oFIVjZ.js → index-CM-Dg90Z.js} +1 -1
  116. package/assets/{index-C1oFIVjZ.js.map → index-CM-Dg90Z.js.map} +1 -1
  117. package/assets/{index-B5OoPTnM.js → index-CYTF85t8.js} +1 -1
  118. package/assets/{index-B5OoPTnM.js.map → index-CYTF85t8.js.map} +1 -1
  119. package/assets/{index-DbaTk9pY.js → index-CZS6DsWa.js} +1 -1
  120. package/assets/{index-DbaTk9pY.js.map → index-CZS6DsWa.js.map} +1 -1
  121. package/assets/{index-BrJrrR0-.js → index-C_C2-CZT.js} +1 -1
  122. package/assets/{index-BrJrrR0-.js.map → index-C_C2-CZT.js.map} +1 -1
  123. package/assets/{index-BqLCay_i.js → index-D1lz72ps.js} +1 -1
  124. package/assets/{index-BqLCay_i.js.map → index-D1lz72ps.js.map} +1 -1
  125. package/assets/{index-Bs8_TMuc.js → index-D7GZzk0M.js} +1 -1
  126. package/assets/{index-Bs8_TMuc.js.map → index-D7GZzk0M.js.map} +1 -1
  127. package/assets/{index-B9J5C5eN.js → index-DNCSZ9Ly.js} +1 -1
  128. package/assets/{index-B9J5C5eN.js.map → index-DNCSZ9Ly.js.map} +1 -1
  129. package/assets/{index-CREsCA81.js → index-DRcrw7Py.js} +1 -1
  130. package/assets/{index-CREsCA81.js.map → index-DRcrw7Py.js.map} +1 -1
  131. package/assets/{index-BQ4lI5xX.js → index-DaRevScO.js} +3 -3
  132. package/assets/{index-BQ4lI5xX.js.map → index-DaRevScO.js.map} +1 -1
  133. package/assets/{index-DfT-Sjnk.js → index-Dfjt7DKD.js} +1 -1
  134. package/assets/{index-DfT-Sjnk.js.map → index-Dfjt7DKD.js.map} +1 -1
  135. package/assets/{index-BqTu8LQP.js → index-DqPgEQko.js} +1 -1
  136. package/assets/{index-BqTu8LQP.js.map → index-DqPgEQko.js.map} +1 -1
  137. package/assets/{index-B7Bs_7eg.js → index-DsiqoitH.js} +1 -1
  138. package/assets/{index-B7Bs_7eg.js.map → index-DsiqoitH.js.map} +1 -1
  139. package/assets/{index-C5I7_h2M.js → index-LYkhcWuH.js} +1 -1
  140. package/assets/{index-C5I7_h2M.js.map → index-LYkhcWuH.js.map} +1 -1
  141. package/assets/{index-C8kkckun.js → index-Oqf5zL8M.js} +1 -1
  142. package/assets/{index-C8kkckun.js.map → index-Oqf5zL8M.js.map} +1 -1
  143. package/assets/{index-BeEdEvw9.js → index-bKbknVRg.js} +1 -1
  144. package/assets/{index-BeEdEvw9.js.map → index-bKbknVRg.js.map} +1 -1
  145. package/assets/{index-CXRPJhvA.js → index-ezM_J58e.js} +1 -1
  146. package/assets/{index-CXRPJhvA.js.map → index-ezM_J58e.js.map} +1 -1
  147. package/assets/{index-g0lykA2w.js → index-mXhpN3cS.js} +1 -1
  148. package/assets/{index-g0lykA2w.js.map → index-mXhpN3cS.js.map} +1 -1
  149. package/assets/{index-lCIXH0YF.js → index-n-p43kD4.js} +1 -1
  150. package/assets/{index-lCIXH0YF.js.map → index-n-p43kD4.js.map} +1 -1
  151. package/assets/{index-C6h0Y6Bf.js → index-ppzLK-bi.js} +1 -1
  152. package/assets/{index-C6h0Y6Bf.js.map → index-ppzLK-bi.js.map} +1 -1
  153. package/assets/{index-Ct6j5i60.js → index-pvI36Hvg.js} +1 -1
  154. package/assets/{index-Ct6j5i60.js.map → index-pvI36Hvg.js.map} +1 -1
  155. package/assets/{index-Dpp1tkiC.js → index-qFakdhOO.js} +1 -1
  156. package/assets/{index-Dpp1tkiC.js.map → index-qFakdhOO.js.map} +1 -1
  157. package/assets/{index-ZDIYW364.js → index-wq0aztJv.js} +1 -1
  158. package/assets/{index-ZDIYW364.js.map → index-wq0aztJv.js.map} +1 -1
  159. package/assets/{profile.client-Dv7yHizc.js → profile.client-CCf--pbP.js} +1 -1
  160. package/assets/{profile.client-Dv7yHizc.js.map → profile.client-CCf--pbP.js.map} +1 -1
  161. package/assets/{shared.styled-DZDSiscg.js → shared.styled-Csb0ydX4.js} +1 -1
  162. package/assets/{shared.styled-DZDSiscg.js.map → shared.styled-Csb0ydX4.js.map} +1 -1
  163. package/assets/{store-DytzPwIW.js → store-CbX2mp3S.js} +1 -1
  164. package/assets/{store-DytzPwIW.js.map → store-CbX2mp3S.js.map} +1 -1
  165. package/assets/{url-CwO7t7Da.js → url-DMbF6Zco.js} +1 -1
  166. package/assets/{url-CwO7t7Da.js.map → url-DMbF6Zco.js.map} +1 -1
  167. package/assets/{useAuthIdentity-BJka2D_h.js → useAuthIdentity-CIDWXFI8.js} +1 -1
  168. package/assets/{useAuthIdentity-BJka2D_h.js.map → useAuthIdentity-CIDWXFI8.js.map} +1 -1
  169. package/assets/{useCreatorHubDownload-htSWq2gm.js → useCreatorHubDownload-CQ5sircD.js} +1 -1
  170. package/assets/{useCreatorHubDownload-htSWq2gm.js.map → useCreatorHubDownload-CQ5sircD.js.map} +1 -1
  171. package/assets/{useInfiniteBlogPosts-b1i6T88U.js → useInfiniteBlogPosts-DspRbflz.js} +1 -1
  172. package/assets/{useInfiniteBlogPosts-b1i6T88U.js.map → useInfiniteBlogPosts-DspRbflz.js.map} +1 -1
  173. package/assets/{useSlot-DcCKMoK9.js → useSlot-BerGUD87.js} +1 -1
  174. package/assets/{useSlot-DcCKMoK9.js.map → useSlot-BerGUD87.js.map} +1 -1
  175. package/assets/{utils-DyplVMyL.js → utils-CYqFUJMv.js} +1 -1
  176. package/assets/{utils-DyplVMyL.js.map → utils-CYqFUJMv.js.map} +1 -1
  177. package/index.html +17 -17
  178. package/package.json +3 -3
  179. package/assets/DappsShell-Bq4UFy3b.js +0 -1
  180. package/assets/DappsShell-Bq4UFy3b.js.map +0 -1
  181. package/assets/HomePage-BWbNRRBq.js +0 -3
  182. package/assets/HomePage-BWbNRRBq.js.map +0 -1
  183. package/assets/WearablePreview-CFkTJn9i.js +0 -4
@@ -1 +1 @@
1
- import{j as e}from"./index-BQ4lI5xX.js";import{r as t}from"./vendor-router-D_36sTKu.js";import{L as s,P as r,S as i,a,B as n}from"./LegalPageLayout-l-OS4ZYa.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const o=[{id:"general-provisions",label:"1. General Provisions"},{id:"how-it-works",label:"2. How It Works"},{id:"rewards-structure",label:"3. Rewards Structure"},{id:"reward-distribution",label:"4. Reward Distribution and Delivery"},{id:"program-abuse",label:"5. Program Abuse and Disqualification"},{id:"email-notifications",label:"6. Email Notifications"},{id:"changes-and-termination",label:"7. Changes and Termination"},{id:"miscellaneous",label:"8. Miscellaneous"}],l=t.memo(()=>e.jsxs(s,{title:"Referral",activeSlug:"/referral-terms",tableOfContents:o,children:[e.jsx(r,{children:"Referral Program – Terms and Conditions"}),e.jsxs(i,{id:"general-provisions",children:[e.jsx(a,{children:"1. General Provisions"}),e.jsx(r,{children:'1.1. This Referral Program ("Program") is open to all registered users of Decentraland platform who are in good standing and comply with our general Terms of Service.'}),e.jsx(r,{children:"1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use, Privacy Policy, and Content Policy."}),e.jsx(r,{children:"1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion."})]}),e.jsxs(i,{id:"how-it-works",children:[e.jsx(a,{children:"2. How It Works"}),e.jsx(r,{children:'2.1. To refer a new user, share your unique referral link. A referred user ("Referee") will be considered valid if the following conditions are met:'}),e.jsxs(n,{children:[e.jsx("li",{children:"The Referee successfully creates an account on our platform using a referral link."}),e.jsx("li",{children:"The Referee downloads and installs Decentraland's desktop client."}),e.jsx("li",{children:"The Referee jumps into Genesis City via the desktop client three (3) different days."})]}),e.jsx(r,{children:"2.2. Only referrals meeting those criteria will count towards your reward tally."}),e.jsx(r,{children:'2.3. Every successful referral should count and be displayed in a counter under the "Referral Rewards" section.'})]}),e.jsxs(i,{id:"rewards-structure",children:[e.jsx(a,{children:"3. Rewards Structure"}),e.jsx(r,{children:'Rewards are granted based on the number of valid referrals you accumulate in the "Referral Rewards" section. Each reward tier is cumulative and unlocks sequentially:'}),e.jsxs(n,{children:[e.jsx("li",{children:"5 Friends Joined: EPIC Bottoms Wearable + Starter Community Recruiter Badge"}),e.jsx("li",{children:"10 Friends Joined: EPIC Jacket Wearable + Bronze Community Recruiter Badge"}),e.jsx("li",{children:"20 Friends Joined: LEGENDARY Handwear Wearable"}),e.jsx("li",{children:"25 Friends Joined: LEGENDARY Emote + Silver Community Recruiter Badge"}),e.jsx("li",{children:"30 Friends Joined: EXOTIC Shoes Wearable"}),e.jsx("li",{children:"50 Friends Joined: EXOTIC Hair Wearable + Gold Community Recruiter Badge"}),e.jsx("li",{children:'60 Friends Joined: MYTHIC "Companion-style" Wearable'}),e.jsx("li",{children:"75 Friends Joined: MYTHIC Looping Emote+ Platinum Community Recruiter Badge"}),e.jsx("li",{children:"100 Friends Joined: IRL Swag Pack + Digital Twin Wearable + Diamond Community Recruiter Badge"})]})]}),e.jsxs(i,{id:"reward-distribution",children:[e.jsx(a,{children:"4. Reward Distribution and Delivery"}),e.jsx(r,{children:"4.1. Digital rewards (Wearables, Emotes, badges, and Credits) will be automatically credited to your account within 3 business days of reaching a reward tier."}),e.jsx(r,{children:"4.2. IRL rewards require contact through the designated email or the email address you share for such purpose."}),e.jsx(r,{children:"4.3. We commit to delivering the Rewards in accordance with the rarity levels of the Wearables as stated in the Program. However, we do not guarantee the delivery of a specific Wearable within a given rarity category, as each Wearable is subject to availability and are traded on the Marketplace."})]}),e.jsxs(i,{id:"program-abuse",children:[e.jsx(a,{children:"5. Program Abuse and Disqualification"}),e.jsx(r,{children:"We reserve the right to disqualify participants who attempt to game, abuse, or manipulate the referral system, including but not limited to creating fake accounts, using bots, or violating the platform's Terms of Service."})]}),e.jsxs(i,{id:"email-notifications",children:[e.jsx(a,{children:"6. Email Notifications"}),e.jsx(r,{children:'6.1. By participating in the Program, you consent to receive email notifications related to "Referral Program."'}),e.jsx(r,{children:"6.2. The Decentraland Foundation may add additional email notification categories in the future."})]}),e.jsxs(i,{id:"changes-and-termination",children:[e.jsx(a,{children:"7. Changes and Termination"}),e.jsx(r,{children:"We reserve the right to modify or terminate this Program at any time without prior notice. Any changes will be effective immediately upon posting an updated version of these Terms and Conditions."})]}),e.jsxs(i,{id:"miscellaneous",children:[e.jsx(a,{children:"8. Miscellaneous"}),e.jsx(r,{children:"7.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation in the Program."}),e.jsx(r,{children:"7.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation."}),e.jsxs(r,{children:["7.3. For any questions regarding the Referral Program, please contact our support team via the platform or at"," ",e.jsx("a",{href:"mailto:support@decentraland.org",children:"support@decentraland.org"}),"."]}),e.jsx(r,{children:"Updated August 18, 2025"})]})]}));l.displayName="ReferralTerms";export{l as ReferralTerms};
1
+ import{j as e}from"./index-DaRevScO.js";import{r as t}from"./vendor-router-D_36sTKu.js";import{L as s,P as r,S as i,a,B as n}from"./LegalPageLayout-BGd6IPpz.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const o=[{id:"general-provisions",label:"1. General Provisions"},{id:"how-it-works",label:"2. How It Works"},{id:"rewards-structure",label:"3. Rewards Structure"},{id:"reward-distribution",label:"4. Reward Distribution and Delivery"},{id:"program-abuse",label:"5. Program Abuse and Disqualification"},{id:"email-notifications",label:"6. Email Notifications"},{id:"changes-and-termination",label:"7. Changes and Termination"},{id:"miscellaneous",label:"8. Miscellaneous"}],l=t.memo(()=>e.jsxs(s,{title:"Referral",activeSlug:"/referral-terms",tableOfContents:o,children:[e.jsx(r,{children:"Referral Program – Terms and Conditions"}),e.jsxs(i,{id:"general-provisions",children:[e.jsx(a,{children:"1. General Provisions"}),e.jsx(r,{children:'1.1. This Referral Program ("Program") is open to all registered users of Decentraland platform who are in good standing and comply with our general Terms of Service.'}),e.jsx(r,{children:"1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use, Privacy Policy, and Content Policy."}),e.jsx(r,{children:"1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion."})]}),e.jsxs(i,{id:"how-it-works",children:[e.jsx(a,{children:"2. How It Works"}),e.jsx(r,{children:'2.1. To refer a new user, share your unique referral link. A referred user ("Referee") will be considered valid if the following conditions are met:'}),e.jsxs(n,{children:[e.jsx("li",{children:"The Referee successfully creates an account on our platform using a referral link."}),e.jsx("li",{children:"The Referee downloads and installs Decentraland's desktop client."}),e.jsx("li",{children:"The Referee jumps into Genesis City via the desktop client three (3) different days."})]}),e.jsx(r,{children:"2.2. Only referrals meeting those criteria will count towards your reward tally."}),e.jsx(r,{children:'2.3. Every successful referral should count and be displayed in a counter under the "Referral Rewards" section.'})]}),e.jsxs(i,{id:"rewards-structure",children:[e.jsx(a,{children:"3. Rewards Structure"}),e.jsx(r,{children:'Rewards are granted based on the number of valid referrals you accumulate in the "Referral Rewards" section. Each reward tier is cumulative and unlocks sequentially:'}),e.jsxs(n,{children:[e.jsx("li",{children:"5 Friends Joined: EPIC Bottoms Wearable + Starter Community Recruiter Badge"}),e.jsx("li",{children:"10 Friends Joined: EPIC Jacket Wearable + Bronze Community Recruiter Badge"}),e.jsx("li",{children:"20 Friends Joined: LEGENDARY Handwear Wearable"}),e.jsx("li",{children:"25 Friends Joined: LEGENDARY Emote + Silver Community Recruiter Badge"}),e.jsx("li",{children:"30 Friends Joined: EXOTIC Shoes Wearable"}),e.jsx("li",{children:"50 Friends Joined: EXOTIC Hair Wearable + Gold Community Recruiter Badge"}),e.jsx("li",{children:'60 Friends Joined: MYTHIC "Companion-style" Wearable'}),e.jsx("li",{children:"75 Friends Joined: MYTHIC Looping Emote+ Platinum Community Recruiter Badge"}),e.jsx("li",{children:"100 Friends Joined: IRL Swag Pack + Digital Twin Wearable + Diamond Community Recruiter Badge"})]})]}),e.jsxs(i,{id:"reward-distribution",children:[e.jsx(a,{children:"4. Reward Distribution and Delivery"}),e.jsx(r,{children:"4.1. Digital rewards (Wearables, Emotes, badges, and Credits) will be automatically credited to your account within 3 business days of reaching a reward tier."}),e.jsx(r,{children:"4.2. IRL rewards require contact through the designated email or the email address you share for such purpose."}),e.jsx(r,{children:"4.3. We commit to delivering the Rewards in accordance with the rarity levels of the Wearables as stated in the Program. However, we do not guarantee the delivery of a specific Wearable within a given rarity category, as each Wearable is subject to availability and are traded on the Marketplace."})]}),e.jsxs(i,{id:"program-abuse",children:[e.jsx(a,{children:"5. Program Abuse and Disqualification"}),e.jsx(r,{children:"We reserve the right to disqualify participants who attempt to game, abuse, or manipulate the referral system, including but not limited to creating fake accounts, using bots, or violating the platform's Terms of Service."})]}),e.jsxs(i,{id:"email-notifications",children:[e.jsx(a,{children:"6. Email Notifications"}),e.jsx(r,{children:'6.1. By participating in the Program, you consent to receive email notifications related to "Referral Program."'}),e.jsx(r,{children:"6.2. The Decentraland Foundation may add additional email notification categories in the future."})]}),e.jsxs(i,{id:"changes-and-termination",children:[e.jsx(a,{children:"7. Changes and Termination"}),e.jsx(r,{children:"We reserve the right to modify or terminate this Program at any time without prior notice. Any changes will be effective immediately upon posting an updated version of these Terms and Conditions."})]}),e.jsxs(i,{id:"miscellaneous",children:[e.jsx(a,{children:"8. Miscellaneous"}),e.jsx(r,{children:"7.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation in the Program."}),e.jsx(r,{children:"7.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation."}),e.jsxs(r,{children:["7.3. For any questions regarding the Referral Program, please contact our support team via the platform or at"," ",e.jsx("a",{href:"mailto:support@decentraland.org",children:"support@decentraland.org"}),"."]}),e.jsx(r,{children:"Updated August 18, 2025"})]})]}));l.displayName="ReferralTerms";export{l as ReferralTerms};
@@ -1 +1 @@
1
- {"version":3,"file":"index-DfT-Sjnk.js","sources":["../../src/pages/referral-terms/ReferralTerms.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { BulletList, LegalPageLayout, Paragraph, Section, SectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'general-provisions', label: '1. General Provisions' },\n { id: 'how-it-works', label: '2. How It Works' },\n { id: 'rewards-structure', label: '3. Rewards Structure' },\n { id: 'reward-distribution', label: '4. Reward Distribution and Delivery' },\n { id: 'program-abuse', label: '5. Program Abuse and Disqualification' },\n { id: 'email-notifications', label: '6. Email Notifications' },\n { id: 'changes-and-termination', label: '7. Changes and Termination' },\n { id: 'miscellaneous', label: '8. Miscellaneous' }\n]\n\nconst ReferralTerms = memo(() => (\n <LegalPageLayout title=\"Referral\" activeSlug=\"/referral-terms\" tableOfContents={TABLE_OF_CONTENTS}>\n <Paragraph>Referral Program &ndash; Terms and Conditions</Paragraph>\n\n <Section id=\"general-provisions\">\n <SectionTitle>1. General Provisions</SectionTitle>\n <Paragraph>\n 1.1. This Referral Program (&quot;Program&quot;) is open to all registered users of Decentraland platform who are in good standing\n and comply with our general Terms of Service.\n </Paragraph>\n <Paragraph>\n 1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use,\n Privacy Policy, and Content Policy.\n </Paragraph>\n <Paragraph>\n 1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion.\n </Paragraph>\n </Section>\n\n <Section id=\"how-it-works\">\n <SectionTitle>2. How It Works</SectionTitle>\n <Paragraph>\n 2.1. To refer a new user, share your unique referral link. A referred user (&quot;Referee&quot;) will be considered valid if the\n following conditions are met:\n </Paragraph>\n <BulletList>\n <li>The Referee successfully creates an account on our platform using a referral link.</li>\n <li>The Referee downloads and installs Decentraland&apos;s desktop client.</li>\n <li>The Referee jumps into Genesis City via the desktop client three (3) different days.</li>\n </BulletList>\n <Paragraph>2.2. Only referrals meeting those criteria will count towards your reward tally.</Paragraph>\n <Paragraph>\n 2.3. Every successful referral should count and be displayed in a counter under the &quot;Referral Rewards&quot; section.\n </Paragraph>\n </Section>\n\n <Section id=\"rewards-structure\">\n <SectionTitle>3. Rewards Structure</SectionTitle>\n <Paragraph>\n Rewards are granted based on the number of valid referrals you accumulate in the &quot;Referral Rewards&quot; section. Each reward\n tier is cumulative and unlocks sequentially:\n </Paragraph>\n <BulletList>\n <li>5 Friends Joined: EPIC Bottoms Wearable + Starter Community Recruiter Badge</li>\n <li>10 Friends Joined: EPIC Jacket Wearable + Bronze Community Recruiter Badge</li>\n <li>20 Friends Joined: LEGENDARY Handwear Wearable</li>\n <li>25 Friends Joined: LEGENDARY Emote + Silver Community Recruiter Badge</li>\n <li>30 Friends Joined: EXOTIC Shoes Wearable</li>\n <li>50 Friends Joined: EXOTIC Hair Wearable + Gold Community Recruiter Badge</li>\n <li>60 Friends Joined: MYTHIC &quot;Companion-style&quot; Wearable</li>\n <li>75 Friends Joined: MYTHIC Looping Emote+ Platinum Community Recruiter Badge</li>\n <li>100 Friends Joined: IRL Swag Pack + Digital Twin Wearable + Diamond Community Recruiter Badge</li>\n </BulletList>\n </Section>\n\n <Section id=\"reward-distribution\">\n <SectionTitle>4. Reward Distribution and Delivery</SectionTitle>\n <Paragraph>\n 4.1. Digital rewards (Wearables, Emotes, badges, and Credits) will be automatically credited to your account within 3 business days\n of reaching a reward tier.\n </Paragraph>\n <Paragraph>4.2. IRL rewards require contact through the designated email or the email address you share for such purpose.</Paragraph>\n <Paragraph>\n 4.3. We commit to delivering the Rewards in accordance with the rarity levels of the Wearables as stated in the Program. However, we\n do not guarantee the delivery of a specific Wearable within a given rarity category, as each Wearable is subject to availability and\n are traded on the Marketplace.\n </Paragraph>\n </Section>\n\n <Section id=\"program-abuse\">\n <SectionTitle>5. Program Abuse and Disqualification</SectionTitle>\n <Paragraph>\n We reserve the right to disqualify participants who attempt to game, abuse, or manipulate the referral system, including but not\n limited to creating fake accounts, using bots, or violating the platform&apos;s Terms of Service.\n </Paragraph>\n </Section>\n\n <Section id=\"email-notifications\">\n <SectionTitle>6. Email Notifications</SectionTitle>\n <Paragraph>\n 6.1. By participating in the Program, you consent to receive email notifications related to &quot;Referral Program.&quot;\n </Paragraph>\n <Paragraph>6.2. The Decentraland Foundation may add additional email notification categories in the future.</Paragraph>\n </Section>\n\n <Section id=\"changes-and-termination\">\n <SectionTitle>7. Changes and Termination</SectionTitle>\n <Paragraph>\n We reserve the right to modify or terminate this Program at any time without prior notice. Any changes will be effective immediately\n upon posting an updated version of these Terms and Conditions.\n </Paragraph>\n </Section>\n\n <Section id=\"miscellaneous\">\n <SectionTitle>8. Miscellaneous</SectionTitle>\n <Paragraph>\n 7.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation\n in the Program.\n </Paragraph>\n <Paragraph>\n 7.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation.\n </Paragraph>\n <Paragraph>\n 7.3. For any questions regarding the Referral Program, please contact our support team via the platform or at{' '}\n <a href=\"mailto:support@decentraland.org\">support@decentraland.org</a>.\n </Paragraph>\n <Paragraph>Updated August 18, 2025</Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nReferralTerms.displayName = 'ReferralTerms'\n\nexport { ReferralTerms }\n"],"names":["TABLE_OF_CONTENTS","ReferralTerms","memo","jsxs","LegalPageLayout","jsx","Paragraph","Section","SectionTitle","BulletList"],"mappings":"gVAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,qBAAsB,MAAO,uBAAA,EACnC,CAAE,GAAI,eAAgB,MAAO,iBAAA,EAC7B,CAAE,GAAI,oBAAqB,MAAO,sBAAA,EAClC,CAAE,GAAI,sBAAuB,MAAO,qCAAA,EACpC,CAAE,GAAI,gBAAiB,MAAO,uCAAA,EAC9B,CAAE,GAAI,sBAAuB,MAAO,wBAAA,EACpC,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,gBAAiB,MAAO,kBAAA,CAChC,EAEMC,EAAgBC,EAAAA,KAAK,IACzBC,EAAAA,KAACC,EAAA,CAAgB,MAAM,WAAW,WAAW,kBAAkB,gBAAiBJ,EAC9E,SAAA,CAAAK,EAAAA,IAACC,GAAU,SAAA,yCAAA,CAA6C,EAExDH,EAAAA,KAACI,EAAA,CAAQ,GAAG,qBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,uBAAA,CAAqB,EACnCH,EAAAA,IAACC,GAAU,SAAA,wKAAA,CAGX,EACAD,EAAAA,IAACC,GAAU,SAAA,uKAAA,CAGX,EACAD,EAAAA,IAACC,GAAU,SAAA,qHAAA,CAEX,CAAA,EACF,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,eACV,SAAA,CAAAF,EAAAA,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,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,gBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,uCAAA,CAAqC,EACnDH,EAAAA,IAACC,GAAU,SAAA,+NAAA,CAGX,CAAA,EACF,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,sBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,wBAAA,CAAsB,EACpCH,EAAAA,IAACC,GAAU,SAAA,iHAAA,CAEX,EACAD,EAAAA,IAACC,GAAU,SAAA,kGAAA,CAAgG,CAAA,EAC7G,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,0BACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,4BAAA,CAA0B,EACxCH,EAAAA,IAACC,GAAU,SAAA,qMAAA,CAGX,CAAA,EACF,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,gBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,kBAAA,CAAgB,EAC9BH,EAAAA,IAACC,GAAU,SAAA,qJAAA,CAGX,EACAD,EAAAA,IAACC,GAAU,SAAA,kHAAA,CAEX,SACCA,EAAA,CAAU,SAAA,CAAA,gHACqG,IAC9GD,EAAAA,IAAC,IAAA,CAAE,KAAK,kCAAkC,SAAA,2BAAwB,EAAI,GAAA,EACxE,EACAA,EAAAA,IAACC,GAAU,SAAA,yBAAA,CAAuB,CAAA,CAAA,CACpC,CAAA,EACF,CACD,EAEDL,EAAc,YAAc"}
1
+ {"version":3,"file":"index-Dfjt7DKD.js","sources":["../../src/pages/referral-terms/ReferralTerms.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { BulletList, LegalPageLayout, Paragraph, Section, SectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'general-provisions', label: '1. General Provisions' },\n { id: 'how-it-works', label: '2. How It Works' },\n { id: 'rewards-structure', label: '3. Rewards Structure' },\n { id: 'reward-distribution', label: '4. Reward Distribution and Delivery' },\n { id: 'program-abuse', label: '5. Program Abuse and Disqualification' },\n { id: 'email-notifications', label: '6. Email Notifications' },\n { id: 'changes-and-termination', label: '7. Changes and Termination' },\n { id: 'miscellaneous', label: '8. Miscellaneous' }\n]\n\nconst ReferralTerms = memo(() => (\n <LegalPageLayout title=\"Referral\" activeSlug=\"/referral-terms\" tableOfContents={TABLE_OF_CONTENTS}>\n <Paragraph>Referral Program &ndash; Terms and Conditions</Paragraph>\n\n <Section id=\"general-provisions\">\n <SectionTitle>1. General Provisions</SectionTitle>\n <Paragraph>\n 1.1. This Referral Program (&quot;Program&quot;) is open to all registered users of Decentraland platform who are in good standing\n and comply with our general Terms of Service.\n </Paragraph>\n <Paragraph>\n 1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use,\n Privacy Policy, and Content Policy.\n </Paragraph>\n <Paragraph>\n 1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion.\n </Paragraph>\n </Section>\n\n <Section id=\"how-it-works\">\n <SectionTitle>2. How It Works</SectionTitle>\n <Paragraph>\n 2.1. To refer a new user, share your unique referral link. A referred user (&quot;Referee&quot;) will be considered valid if the\n following conditions are met:\n </Paragraph>\n <BulletList>\n <li>The Referee successfully creates an account on our platform using a referral link.</li>\n <li>The Referee downloads and installs Decentraland&apos;s desktop client.</li>\n <li>The Referee jumps into Genesis City via the desktop client three (3) different days.</li>\n </BulletList>\n <Paragraph>2.2. Only referrals meeting those criteria will count towards your reward tally.</Paragraph>\n <Paragraph>\n 2.3. Every successful referral should count and be displayed in a counter under the &quot;Referral Rewards&quot; section.\n </Paragraph>\n </Section>\n\n <Section id=\"rewards-structure\">\n <SectionTitle>3. Rewards Structure</SectionTitle>\n <Paragraph>\n Rewards are granted based on the number of valid referrals you accumulate in the &quot;Referral Rewards&quot; section. Each reward\n tier is cumulative and unlocks sequentially:\n </Paragraph>\n <BulletList>\n <li>5 Friends Joined: EPIC Bottoms Wearable + Starter Community Recruiter Badge</li>\n <li>10 Friends Joined: EPIC Jacket Wearable + Bronze Community Recruiter Badge</li>\n <li>20 Friends Joined: LEGENDARY Handwear Wearable</li>\n <li>25 Friends Joined: LEGENDARY Emote + Silver Community Recruiter Badge</li>\n <li>30 Friends Joined: EXOTIC Shoes Wearable</li>\n <li>50 Friends Joined: EXOTIC Hair Wearable + Gold Community Recruiter Badge</li>\n <li>60 Friends Joined: MYTHIC &quot;Companion-style&quot; Wearable</li>\n <li>75 Friends Joined: MYTHIC Looping Emote+ Platinum Community Recruiter Badge</li>\n <li>100 Friends Joined: IRL Swag Pack + Digital Twin Wearable + Diamond Community Recruiter Badge</li>\n </BulletList>\n </Section>\n\n <Section id=\"reward-distribution\">\n <SectionTitle>4. Reward Distribution and Delivery</SectionTitle>\n <Paragraph>\n 4.1. Digital rewards (Wearables, Emotes, badges, and Credits) will be automatically credited to your account within 3 business days\n of reaching a reward tier.\n </Paragraph>\n <Paragraph>4.2. IRL rewards require contact through the designated email or the email address you share for such purpose.</Paragraph>\n <Paragraph>\n 4.3. We commit to delivering the Rewards in accordance with the rarity levels of the Wearables as stated in the Program. However, we\n do not guarantee the delivery of a specific Wearable within a given rarity category, as each Wearable is subject to availability and\n are traded on the Marketplace.\n </Paragraph>\n </Section>\n\n <Section id=\"program-abuse\">\n <SectionTitle>5. Program Abuse and Disqualification</SectionTitle>\n <Paragraph>\n We reserve the right to disqualify participants who attempt to game, abuse, or manipulate the referral system, including but not\n limited to creating fake accounts, using bots, or violating the platform&apos;s Terms of Service.\n </Paragraph>\n </Section>\n\n <Section id=\"email-notifications\">\n <SectionTitle>6. Email Notifications</SectionTitle>\n <Paragraph>\n 6.1. By participating in the Program, you consent to receive email notifications related to &quot;Referral Program.&quot;\n </Paragraph>\n <Paragraph>6.2. The Decentraland Foundation may add additional email notification categories in the future.</Paragraph>\n </Section>\n\n <Section id=\"changes-and-termination\">\n <SectionTitle>7. Changes and Termination</SectionTitle>\n <Paragraph>\n We reserve the right to modify or terminate this Program at any time without prior notice. Any changes will be effective immediately\n upon posting an updated version of these Terms and Conditions.\n </Paragraph>\n </Section>\n\n <Section id=\"miscellaneous\">\n <SectionTitle>8. Miscellaneous</SectionTitle>\n <Paragraph>\n 7.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation\n in the Program.\n </Paragraph>\n <Paragraph>\n 7.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation.\n </Paragraph>\n <Paragraph>\n 7.3. For any questions regarding the Referral Program, please contact our support team via the platform or at{' '}\n <a href=\"mailto:support@decentraland.org\">support@decentraland.org</a>.\n </Paragraph>\n <Paragraph>Updated August 18, 2025</Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nReferralTerms.displayName = 'ReferralTerms'\n\nexport { ReferralTerms }\n"],"names":["TABLE_OF_CONTENTS","ReferralTerms","memo","jsxs","LegalPageLayout","jsx","Paragraph","Section","SectionTitle","BulletList"],"mappings":"gVAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,qBAAsB,MAAO,uBAAA,EACnC,CAAE,GAAI,eAAgB,MAAO,iBAAA,EAC7B,CAAE,GAAI,oBAAqB,MAAO,sBAAA,EAClC,CAAE,GAAI,sBAAuB,MAAO,qCAAA,EACpC,CAAE,GAAI,gBAAiB,MAAO,uCAAA,EAC9B,CAAE,GAAI,sBAAuB,MAAO,wBAAA,EACpC,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,gBAAiB,MAAO,kBAAA,CAChC,EAEMC,EAAgBC,EAAAA,KAAK,IACzBC,EAAAA,KAACC,EAAA,CAAgB,MAAM,WAAW,WAAW,kBAAkB,gBAAiBJ,EAC9E,SAAA,CAAAK,EAAAA,IAACC,GAAU,SAAA,yCAAA,CAA6C,EAExDH,EAAAA,KAACI,EAAA,CAAQ,GAAG,qBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,uBAAA,CAAqB,EACnCH,E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}from"./vendor-router-D_36sTKu.js";import"./vendor-ua-D7qqAxdq.js";import{LandingFooter as ee}from"./index-BCgaMgYt.js";import{u as te,a as se,g as oe,A as W,c as ae}from"./downloadWithIdentity-BYnQvFTU.js";import{t as ne}from"./file-Cr_gl9BS.js";import{F as m,a as re}from"./url-CwO7t7Da.js";import{D as ce,a as de,b as ie,c as le,d as pe,e as we,H as ue}from"./DownloadSuccessLayout-Di5Qa-ZM.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-intl-D2lXWsDp.js";import"./useAuthIdentity-BJka2D_h.js";import"./index-g0lykA2w.js";import"./CardContent--XD8e3JI.js";import"./Paper-BJ-Nl60w.js";import"./CardMedia-DlGw2npC.js";const ge="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24667963662.commit-e7db321/assets/macos_launcher-tAnkzoV6.webp",me="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24667963662.commit-e7db321/assets/macos_launching_decentraland-D20EhlLN.webp",fe="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24667963662.commit-e7db321/assets/macos_recent_download-BanUqEgV.webp",De="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24667963662.commit-e7db321/assets/windows_downloads_folder-BjMDtSd-.webp",Se="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24667963662.commit-e7db321/assets/windows_launching_decentraland-Bg5TsdCP.webp",he="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24667963662.commit-e7db321/assets/windows_setup-Dzomx64Q.webp",Oe=new Set(["amd64","arm64"]),h="downloadSuccess:autoDownloadKey",xe="downloadSuccess:triggered",ye=o.memo(()=>{const[O]=Z(),{intl:x}=$(),{isInitialized:y,track:A}=q(),i=te(),l=se(),[_,p]=o.useState(!1),[j,f]=o.useState(null),[T,w]=o.useState(!1),D=o.useRef(!1),I=o.useRef(i),L=o.useRef(l),u=o.useRef(y),g=o.useRef(A);I.current=i,L.current=l,u.current=y,g.current=A;const U=O.get("os")||"",n={windows:r.WINDOWS,macos:r.MACOS}[U.toLowerCase()]??r.MACOS,b=n===r.WINDOWS?"amd64":"arm64",C=O.get("arch")||b,c=Oe.has(C)?C:b,v=n===r.WINDOWS?Y:Q,M=n===r.WINDOWS?m[n]?.amd64:m[n]?.[c],e=o.useCallback((t,s)=>x.formatMessage({id:t},s),[x]),E=e("page.download.success.subtitle_action_exploring"),k=o.useMemo(()=>{const t=s=>a.jsx("span",{children:s});return{[r.WINDOWS]:[{title:e("page.download.success.steps.windows.step1.title"),text:e("page.download.success.steps.windows.step1.text",{span:t}),image:De},{title:e("page.download.success.steps.windows.step2.title"),text:e("page.download.success.steps.windows.step2.text",{span:t}),image:he},{title:e("page.download.success.steps.windows.step3.title"),text:e("page.download.success.steps.windows.step3.text",{span:t}),image:Se}],[r.MACOS]:[{title:e("page.download.success.steps.macOS.step1.title"),text:e("page.download.success.steps.macOS.step1.text",{span:t}),image:fe},{title:e("page.download.success.steps.macOS.step2.title"),text:e("page.download.success.steps.macOS.step2.text",{span:t}),image:ge},{title:e("page.download.success.steps.macOS.step3.title"),text:e("page.download.success.steps.macOS.step3.text",{span:t}),image:me}]}},[e]),B=k[n]||k[r.MACOS];o.useEffect(()=>{let t=!1;const s=`${n}:${c}`,N=()=>window.history.state&&typeof window.history.state=="object"?window.history.state:{};return(async()=>{const d=`${xe}:${s}`;if(sessionStorage.getItem(d)){w(!0);return}if(N()[h]===s){w(!0);return}p(!0),f(null),w(!1),u.current&&g.current(S.DOWNLOAD_STARTED);const{url:H,filename:z}=await ae({os:n,arch:c,fallbackLinks:m,getIdentityId:I.current});if(t)return;const R=N();if(R[h]!==s&&window.history.replaceState({...R,[h]:s},"",window.location.href),t)return;sessionStorage.setItem(d,"1");const V=re(H,{[W]:L.current});ne(V),w(!0),u.current&&g.current(S.DOWNLOAD_SUCCESS,{filename:z})})().catch(d=>{t||(console.error("Download error:",d),f(d instanceof Error?d.message:"Download failed"),u.current&&g.current(S.DOWNLOAD_FAILED))}).finally(()=>{t||p(!1)}),()=>{t=!0}},[n,c]);const F=o.useCallback(async t=>{if(t.preventDefault(),!D.current){D.current=!0,p(!0);try{await oe({os:n,arch:c,fallbackLinks:m,queryParams:{[W]:l},getIdentityId:i})}catch(s){console.error("Download error:",s),f(s instanceof Error?s.message:"Download failed")}finally{D.current=!1,p(!1)}}},[n,c,l,i]),P=_||!j&&!T,K=_?a.jsxs(ce,{children:[a.jsx(G,{size:"huge"}),a.jsxs(de,{children:[a.jsx(ie,{variant:"h6",children:e("page.download.downloading")}),a.jsx(le,{children:a.jsx(pe,{})})]})]}):void 0;return a.jsx(we,{loading:P,backdropContent:K,osIcon:v,title:e("page.download.success.title"),subtitle:e("page.download.success.subtitle",{action:E}),steps:B,renderCardOverlay:(t,s)=>s===0&&E==="exploring"?a.jsx(ue,{}):null,footer:a.jsx(J,{variant:"body1",children:e("page.download.success.footer",{link:a.jsx("a",{href:M,onClick:F,"data-event":X.DOWNLOAD,children:e("page.download.success.footer_link_label")})})}),afterContent:a.jsx(ee,{})})});ye.displayName="DownloadSuccess";export{ye as DownloadSuccess};
1
+ import{x as $,ar as q,O as r,t as Y,q as Q,ad as S,j as a,L as G,v as J,U as X}from"./index-DaRevScO.js";import{r as o,b as Z}from"./vendor-router-D_36sTKu.js";import"./vendor-ua-D7qqAxdq.js";import{LandingFooter as ee}from"./index-71royYUE.js";import{u as te,a as se,g as oe,A as W,c as ae}from"./downloadWithIdentity-dAd_6Xjv.js";import{t as ne}from"./file-Cr_gl9BS.js";import{F as m,a as re}from"./url-DMbF6Zco.js";import{D as ce,a as de,b as ie,c as le,d as pe,e as we,H as ue}from"./DownloadSuccessLayout-B5KxILAh.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-intl-D2lXWsDp.js";import"./useAuthIdentity-CIDWXFI8.js";import"./index-mXhpN3cS.js";import"./CardContent-CTD4H4a5.js";import"./Paper-BcsxEQWA.js";import"./CardMedia-DkSJQ0Yc.js";const ge="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24671743849.commit-e464803/assets/macos_launcher-tAnkzoV6.webp",me="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24671743849.commit-e464803/assets/macos_launching_decentraland-D20EhlLN.webp",fe="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24671743849.commit-e464803/assets/macos_recent_download-BanUqEgV.webp",De="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24671743849.commit-e464803/assets/windows_downloads_folder-BjMDtSd-.webp",Se="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24671743849.commit-e464803/assets/windows_launching_decentraland-Bg5TsdCP.webp",he="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24671743849.commit-e464803/assets/windows_setup-Dzomx64Q.webp",Oe=new Set(["amd64","arm64"]),h="downloadSuccess:autoDownloadKey",xe="downloadSuccess:triggered",ye=o.memo(()=>{const[O]=Z(),{intl:x}=$(),{isInitialized:y,track:A}=q(),i=te(),l=se(),[_,p]=o.useState(!1),[j,f]=o.useState(null),[T,w]=o.useState(!1),D=o.useRef(!1),I=o.useRef(i),L=o.useRef(l),u=o.useRef(y),g=o.useRef(A);I.current=i,L.current=l,u.current=y,g.current=A;const U=O.get("os")||"",n={windows:r.WINDOWS,macos:r.MACOS}[U.toLowerCase()]??r.MACOS,C=n===r.WINDOWS?"amd64":"arm64",E=O.get("arch")||C,c=Oe.has(E)?E:C,v=n===r.WINDOWS?Y:Q,M=n===r.WINDOWS?m[n]?.amd64:m[n]?.[c],e=o.useCallback((t,s)=>x.formatMessage({id:t},s),[x]),k=e("page.download.success.subtitle_action_exploring"),b=o.useMemo(()=>{const t=s=>a.jsx("span",{children:s});return{[r.WINDOWS]:[{title:e("page.download.success.steps.windows.step1.title"),text:e("page.download.success.steps.windows.step1.text",{span:t}),image:De},{title:e("page.download.success.steps.windows.step2.title"),text:e("page.download.success.steps.windows.step2.text",{span:t}),image:he},{title:e("page.download.success.steps.windows.step3.title"),text:e("page.download.success.steps.windows.step3.text",{span:t}),image:Se}],[r.MACOS]:[{title:e("page.download.success.steps.macOS.step1.title"),text:e("page.download.success.steps.macOS.step1.text",{span:t}),image:fe},{title:e("page.download.success.steps.macOS.step2.title"),text:e("page.download.success.steps.macOS.step2.text",{span:t}),image:ge},{title:e("page.download.success.steps.macOS.step3.title"),text:e("page.download.success.steps.macOS.step3.text",{span:t}),image:me}]}},[e]),B=b[n]||b[r.MACOS];o.useEffect(()=>{let t=!1;const s=`${n}:${c}`,N=()=>window.history.state&&typeof window.history.state=="object"?window.history.state:{};return(async()=>{const d=`${xe}:${s}`;if(sessionStorage.getItem(d)){w(!0);return}if(N()[h]===s){w(!0);return}p(!0),f(null),w(!1),u.current&&g.current(S.DOWNLOAD_STARTED);const{url:H,filename:z}=await ae({os:n,arch:c,fallbackLinks:m,getIdentityId:I.current});if(t)return;const R=N();if(R[h]!==s&&window.history.replaceState({...R,[h]:s},"",window.location.href),t)return;sessionStorage.setItem(d,"1");const V=re(H,{[W]:L.current});ne(V),w(!0),u.current&&g.current(S.DOWNLOAD_SUCCESS,{filename:z})})().catch(d=>{t||(console.error("Download error:",d),f(d instanceof Error?d.message:"Download failed"),u.current&&g.current(S.DOWNLOAD_FAILED))}).finally(()=>{t||p(!1)}),()=>{t=!0}},[n,c]);const F=o.useCallback(async t=>{if(t.preventDefault(),!D.current){D.current=!0,p(!0);try{await oe({os:n,arch:c,fallbackLinks:m,queryParams:{[W]:l},getIdentityId:i})}catch(s){console.error("Download error:",s),f(s instanceof Error?s.message:"Download failed")}finally{D.current=!1,p(!1)}}},[n,c,l,i]),P=_||!j&&!T,K=_?a.jsxs(ce,{children:[a.jsx(G,{size:"huge"}),a.jsxs(de,{children:[a.jsx(ie,{variant:"h6",children:e("page.download.downloading")}),a.jsx(le,{children:a.jsx(pe,{})})]})]}):void 0;return a.jsx(we,{loading:P,backdropContent:K,osIcon:v,title:e("page.download.success.title"),subtitle:e("page.download.success.subtitle",{action:k}),steps:B,renderCardOverlay:(t,s)=>s===0&&k==="exploring"?a.jsx(ue,{}):null,footer:a.jsx(J,{variant:"body1",children:e("page.download.success.footer",{link:a.jsx("a",{href:M,onClick:F,"data-event":X.DOWNLOAD,children:e("page.download.success.footer_link_label")})})}),afterContent:a.jsx(ee,{})})});ye.displayName="DownloadSuccess";export{ye as DownloadSuccess};
@@ -1 +1 @@
1
- {"version":3,"file":"index-BqTu8LQP.js","sources":["../../src/images/download/macos_launcher.webp","../../src/images/download/macos_launching_decentraland.webp","../../src/images/download/macos_recent_download.webp","../../src/images/download/windows_downloads_folder.webp","../../src/images/download/windows_launching_decentraland.webp","../../src/images/download/windows_setup.webp","../../src/pages/DownloadSuccess/DownloadSuccess.tsx"],"sourcesContent":["export default \"__VITE_ASSET__DStHG5Mc__\"","export default \"__VITE_ASSET__DWimWUWi__\"","export default \"__VITE_ASSET__vWVoSUUz__\"","export default \"__VITE_ASSET__DhYSbSkN__\"","export default \"__VITE_ASSET__BgHKSzHv__\"","export default \"__VITE_ASSET__BQKnEWYh__\"","import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'\nimport { useSearchParams } from 'react-router-dom'\nimport { useAnalytics, useTranslation } from '@dcl/hooks'\nimport { Logo, Typography } from 'decentraland-ui2'\nimport { LandingFooter } from '../../components/LandingFooter'\nimport { ANON_USER_ID_PARAM, useAnonUserId } from '../../hooks/useAnonUserId'\nimport { useGetIdentityId } from '../../hooks/useGetIdentityId'\nimport appleLogo from '../../images/apple-logo.svg'\nimport macOsLauncher from '../../images/download/macos_launcher.webp'\nimport macOsLaunchingDecentraland from '../../images/download/macos_launching_decentraland.webp'\nimport macOsRecentDownload from '../../images/download/macos_recent_download.webp'\nimport windowsDownloadsFolder from '../../images/download/windows_downloads_folder.webp'\nimport windowsLaunchingDecentraland from '../../images/download/windows_launching_decentraland.webp'\nimport windowsSetup from '../../images/download/windows_setup.webp'\nimport microsoftLogo from '../../images/microsoft-logo.svg'\nimport { calculateDownloadUrl, getDownloadLinkWithIdentity } from '../../modules/downloadWithIdentity'\nimport { triggerFileDownload } from '../../modules/file'\nimport { SectionViewedTrack, SegmentEvent } from '../../modules/segment'\nimport { FALLBACK_CDN_RELEASE_LINKS, addQueryParamsToUrlString } from '../../modules/url'\nimport { Architecture, OperativeSystem } from '../../types/download.types'\nimport { DownloadSuccessLayout } from './DownloadSuccessLayout'\nimport type { DownloadSuccessStep, DownloadSuccessStepsWithOs } from './DownloadSuccess.types'\nimport {\n DownloadBackdropContent,\n DownloadBackdropText,\n DownloadDetailContainer,\n DownloadProgressBar,\n DownloadProgressContainer,\n HighlightAnimation\n} from './DownloadSuccess.styled'\n\nconst VALID_ARCHS = new Set<string>(['amd64', 'arm64'])\nconst AUTO_DOWNLOAD_HISTORY_STATE_KEY = 'downloadSuccess:autoDownloadKey'\nconst AUTO_DOWNLOAD_SESSION_KEY = 'downloadSuccess:triggered'\n\nconst DownloadSuccess = memo(() => {\n const [searchParams] = useSearchParams()\n const { intl } = useTranslation()\n const { isInitialized, track } = useAnalytics()\n const getIdentityId = useGetIdentityId()\n const anonUserId = useAnonUserId()\n\n const [isDownloading, setIsDownloading] = useState(false)\n const [downloadError, setDownloadError] = useState<string | null>(null)\n const [isFileSaved, setIsFileSaved] = useState(false)\n const downloadingRef = useRef(false)\n const getIdentityIdRef = useRef(getIdentityId)\n const anonUserIdRef = useRef(anonUserId)\n const isInitializedRef = useRef(isInitialized)\n const trackRef = useRef(track)\n getIdentityIdRef.current = getIdentityId\n anonUserIdRef.current = anonUserId\n isInitializedRef.current = isInitialized\n trackRef.current = track\n\n const rawOs = searchParams.get('os') || ''\n const osMap: Record<string, OperativeSystem> = {\n windows: OperativeSystem.WINDOWS,\n macos: OperativeSystem.MACOS\n }\n const clientOS = osMap[rawOs.toLowerCase()] ?? OperativeSystem.MACOS\n const defaultArch = clientOS === OperativeSystem.WINDOWS ? 'amd64' : 'arm64'\n const rawArch = searchParams.get('arch') || defaultArch\n const clientArch = (VALID_ARCHS.has(rawArch) ? rawArch : defaultArch) as Architecture\n\n const osIcon = clientOS === OperativeSystem.WINDOWS ? microsoftLogo : appleLogo\n const osLink =\n clientOS === OperativeSystem.WINDOWS ? FALLBACK_CDN_RELEASE_LINKS[clientOS]?.amd64 : FALLBACK_CDN_RELEASE_LINKS[clientOS]?.[clientArch]\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const l = useCallback((id: string, values?: Record<string, any>) => intl.formatMessage({ id }, values), [intl])\n\n const productAction = l('page.download.success.subtitle_action_exploring') as string\n\n const steps: DownloadSuccessStepsWithOs = useMemo(() => {\n const spanTag = (chunks: React.ReactNode) => <span>{chunks}</span>\n\n return {\n [OperativeSystem.WINDOWS]: [\n {\n title: l('page.download.success.steps.windows.step1.title'),\n text: l('page.download.success.steps.windows.step1.text', { span: spanTag }),\n image: windowsDownloadsFolder\n },\n {\n title: l('page.download.success.steps.windows.step2.title'),\n text: l('page.download.success.steps.windows.step2.text', { span: spanTag }),\n image: windowsSetup\n },\n {\n title: l('page.download.success.steps.windows.step3.title'),\n text: l('page.download.success.steps.windows.step3.text', { span: spanTag }),\n image: windowsLaunchingDecentraland\n }\n ],\n [OperativeSystem.MACOS]: [\n {\n title: l('page.download.success.steps.macOS.step1.title'),\n text: l('page.download.success.steps.macOS.step1.text', { span: spanTag }),\n image: macOsRecentDownload\n },\n {\n title: l('page.download.success.steps.macOS.step2.title'),\n text: l('page.download.success.steps.macOS.step2.text', { span: spanTag }),\n image: macOsLauncher\n },\n {\n title: l('page.download.success.steps.macOS.step3.title'),\n text: l('page.download.success.steps.macOS.step3.text', { span: spanTag }),\n image: macOsLaunchingDecentraland\n }\n ]\n }\n }, [l])\n\n const currentSteps: DownloadSuccessStep[] = steps[clientOS] || steps[OperativeSystem.MACOS]\n\n useEffect(() => {\n let cancelled = false\n const autoDownloadKey = `${clientOS}:${clientArch}`\n\n const getHistoryState = (): Record<string, unknown> =>\n window.history.state && typeof window.history.state === 'object' ? (window.history.state as Record<string, unknown>) : {}\n\n const startDownload = async () => {\n const sessionKey = `${AUTO_DOWNLOAD_SESSION_KEY}:${autoDownloadKey}`\n if (sessionStorage.getItem(sessionKey)) {\n setIsFileSaved(true)\n return\n }\n\n const historyState = getHistoryState()\n\n if (historyState[AUTO_DOWNLOAD_HISTORY_STATE_KEY] === autoDownloadKey) {\n setIsFileSaved(true)\n return\n }\n\n setIsDownloading(true)\n setDownloadError(null)\n setIsFileSaved(false)\n\n if (isInitializedRef.current) {\n trackRef.current(SegmentEvent.DOWNLOAD_STARTED)\n }\n\n const { url, filename } = await calculateDownloadUrl({\n os: clientOS,\n arch: clientArch,\n fallbackLinks: FALLBACK_CDN_RELEASE_LINKS,\n getIdentityId: getIdentityIdRef.current\n })\n\n if (cancelled) return\n\n const latestHistoryState = getHistoryState()\n if (latestHistoryState[AUTO_DOWNLOAD_HISTORY_STATE_KEY] !== autoDownloadKey) {\n window.history.replaceState(\n {\n ...latestHistoryState,\n [AUTO_DOWNLOAD_HISTORY_STATE_KEY]: autoDownloadKey\n },\n '',\n window.location.href\n )\n }\n\n if (cancelled) return\n\n sessionStorage.setItem(sessionKey, '1')\n const downloadUrl = addQueryParamsToUrlString(url, { [ANON_USER_ID_PARAM]: anonUserIdRef.current })\n triggerFileDownload(downloadUrl)\n setIsFileSaved(true)\n\n if (isInitializedRef.current) {\n trackRef.current(SegmentEvent.DOWNLOAD_SUCCESS, { filename })\n }\n }\n\n startDownload()\n .catch(error => {\n if (cancelled) return\n console.error('Download error:', error)\n setDownloadError(error instanceof Error ? error.message : 'Download failed')\n if (isInitializedRef.current) {\n trackRef.current(SegmentEvent.DOWNLOAD_FAILED)\n }\n })\n .finally(() => {\n if (!cancelled) {\n setIsDownloading(false)\n }\n })\n\n return () => {\n cancelled = true\n }\n }, [clientOS, clientArch])\n\n const handleDownloadClick = useCallback(\n async (event: React.MouseEvent<HTMLAnchorElement>) => {\n event.preventDefault()\n if (downloadingRef.current) return\n downloadingRef.current = true\n setIsDownloading(true)\n\n try {\n await getDownloadLinkWithIdentity({\n os: clientOS,\n arch: clientArch,\n fallbackLinks: FALLBACK_CDN_RELEASE_LINKS,\n queryParams: { [ANON_USER_ID_PARAM]: anonUserId },\n getIdentityId\n })\n } catch (error) {\n console.error('Download error:', error)\n setDownloadError(error instanceof Error ? error.message : 'Download failed')\n } finally {\n downloadingRef.current = false\n setIsDownloading(false)\n }\n },\n [clientOS, clientArch, anonUserId, getIdentityId]\n )\n\n const showBackdrop = isDownloading || (!downloadError && !isFileSaved)\n\n const backdropContent = isDownloading ? (\n <DownloadBackdropContent>\n <Logo size=\"huge\" />\n <DownloadDetailContainer>\n <DownloadBackdropText variant=\"h6\">{l('page.download.downloading')}</DownloadBackdropText>\n <DownloadProgressContainer>\n <DownloadProgressBar />\n </DownloadProgressContainer>\n </DownloadDetailContainer>\n </DownloadBackdropContent>\n ) : undefined\n\n return (\n <DownloadSuccessLayout\n loading={showBackdrop}\n backdropContent={backdropContent}\n osIcon={osIcon}\n title={l('page.download.success.title')}\n subtitle={l('page.download.success.subtitle', { action: productAction })}\n steps={currentSteps}\n renderCardOverlay={(_step, index) => (index === 0 && productAction === 'exploring' ? <HighlightAnimation /> : null)}\n footer={\n <Typography variant=\"body1\">\n {l('page.download.success.footer', {\n link: (\n <a href={osLink} onClick={handleDownloadClick} data-event={SectionViewedTrack.DOWNLOAD}>\n {l('page.download.success.footer_link_label')}\n </a>\n )\n })}\n </Typography>\n }\n afterContent={<LandingFooter />}\n />\n )\n})\n\nDownloadSuccess.displayName = 'DownloadSuccess'\n\nexport { DownloadSuccess }\n"],"names":["macOsLauncher","macOsLaunchingDecentraland","macOsRecentDownload","windowsDownloadsFolder","windowsLaunchingDecentraland","windowsSetup","VALID_ARCHS","AUTO_DOWNLOAD_HISTORY_STATE_KEY","AUTO_DOWNLOAD_SESSION_KEY","DownloadSuccess","memo","searchParams","useSearchParams","intl","useTranslation","isInitialized","track","useAnalytics","getIdentityId","useGetIdentityId","anonUserId","useAnonUserId","isDownloading","setIsDownloading","useState","downloadError","setDownloadError","isFileSaved","setIsFileSaved","downloadingRef","useRef","getIdentityIdRef","anonUserIdRef","isInitializedRef","trackRef","rawOs","clientOS","OperativeSystem","defaultArch","rawArch","clientArch","osIcon","microsoftLogo","appleLogo","osLink","FALLBACK_CDN_RELEASE_LINKS","l","useCallback","id","values","productAction","steps","useMemo","spanTag","chunks","jsx","currentSteps","useEffect","cancelled","autoDownloadKey","getHistoryState","sessionKey","SegmentEvent","url","filename","calculateDownloadUrl","latestHistoryState","downloadUrl","addQueryParamsToUrlString","ANON_USER_ID_PARAM","triggerFileDownload","error","handleDownloadClick","event","getDownloadLinkWithIdentity","showBackdrop","backdropContent","jsxs","DownloadBackdropContent","Logo","DownloadDetailContainer","DownloadBackdropText","DownloadProgressContainer","DownloadProgressBar","DownloadSuccessLayout","_step","index","HighlightAnimation","Typography","SectionViewedTrack","LandingFooter"],"mappings":"0zBAAA,MAAAA,GAAe,sHCAfC,GAAe,oICAfC,GAAe,6HCAfC,GAAe,gICAfC,GAAe,sICAfC,GAAe,qHC+BTC,GAAc,IAAI,IAAY,CAAC,QAAS,OAAO,CAAC,EAChDC,EAAkC,kCAClCC,GAA4B,4BAE5BC,GAAkBC,EAAAA,KAAK,IAAM,CACjC,KAAM,CAACC,CAAY,EAAIC,EAAA,EACjB,CAAE,KAAAC,CAAA,EAASC,EAAA,EACX,CAAE,cAAAC,EAAe,MAAAC,CAAA,EAAUC,EAAA,EAC3BC,EAAgBC,GAAA,EAChBC,EAAaC,GAAA,EAEb,CAACC,EAAeC,CAAgB,EAAIC,EAAAA,SAAS,EAAK,EAClD,CAACC,EAAeC,CAAgB,EAAIF,EAAAA,SAAwB,IAAI,EAChE,CAACG,EAAaC,CAAc,EAAIJ,EAAAA,SAAS,EAAK,EAC9CK,EAAiBC,EAAAA,OAAO,EAAK,EAC7BC,EAAmBD,EAAAA,OAAOZ,CAAa,EACvCc,EAAgBF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K,KAAK,MAAA,CAAO,SACjBC,GAAA,CACC,SAAA,CAAAzB,MAAC0B,GAAA,CAAqB,QAAQ,KAAM,SAAAnC,EAAE,2BAA2B,EAAE,EACnES,EAAAA,IAAC2B,GAAA,CACC,SAAA3B,EAAAA,IAAC4B,GAAA,CAAA,CAAoB,CAAA,CACvB,CAAA,CAAA,CACF,CAAA,CAAA,CACF,EACE,OAEJ,OACE5B,EAAAA,IAAC6B,GAAA,CACC,QAAST,EACT,gBAAAC,EACA,OAAAnC,EACA,MAAOK,EAAE,6BAA6B,EACtC,SAAUA,EAAE,iCAAkC,CAAE,OAAQI,EAAe,EACvE,MAAOM,EACP,kBAAmB,CAAC6B,EAAOC,IAAWA,IAAU,GAAKpC,IAAkB,YAAcK,EAAAA,IAACgC,GAAA,CAAA,CAAmB,EAAK,KAC9G,OACEhC,EAAAA,IAACiC,EAAA,CAAW,QAAQ,QACjB,WAAE,+BAAgC,CACjC,KACEjC,EAAAA,IAAC,IAAA,CAAE,KAAMX,EAAQ,QAAS4B,EAAqB,aAAYiB,EAAmB,SAC3E,SAAA3C,EAAE,yCAAyC,CAAA,CAC9C,CAAA,CAEH,EACH,EAEF,mBAAe4C,GAAA,CAAA,CAAc,CAAA,CAAA,CAGnC,CAAC,EAEDjF,GAAgB,YAAc"}
1
+ {"version":3,"file":"index-DqPgEQko.js","sources":["../../src/images/download/macos_launcher.webp","../../src/images/download/macos_launching_decentraland.webp","../../src/images/download/macos_recent_download.webp","../../src/images/download/windows_downloads_folder.webp","../../src/images/download/windows_launching_decentraland.webp","../../src/images/download/windows_setup.webp","../../src/pages/DownloadSuccess/DownloadSuccess.tsx"],"sourcesContent":["export default \"__VITE_ASSET__DStHG5Mc__\"","export default \"__VITE_ASSET__DWimWUWi__\"","export default \"__VITE_ASSET__vWVoSUUz__\"","export default \"__VITE_ASSET__DhYSbSkN__\"","export default \"__VITE_ASSET__BgHKSzHv__\"","export default \"__VITE_ASSET__BQKnEWYh__\"","import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'\nimport { useSearchParams } from 'react-router-dom'\nimport { useAnalytics, useTranslation } from '@dcl/hooks'\nimport { Logo, Typography } from 'decentraland-ui2'\nimport { LandingFooter } from '../../components/LandingFooter'\nimport { ANON_USER_ID_PARAM, useAnonUserId } from '../../hooks/useAnonUserId'\nimport { useGetIdentityId } from '../../hooks/useGetIdentityId'\nimport appleLogo from '../../images/apple-logo.svg'\nimport macOsLauncher from '../../images/download/macos_launcher.webp'\nimport macOsLaunchingDecentraland from '../../images/download/macos_launching_decentraland.webp'\nimport macOsRecentDownload from '../../images/download/macos_recent_download.webp'\nimport windowsDownloadsFolder from '../../images/download/windows_downloads_folder.webp'\nimport windowsLaunchingDecentraland from '../../images/download/windows_launching_decentraland.webp'\nimport windowsSetup from '../../images/download/windows_setup.webp'\nimport microsoftLogo from '../../images/microsoft-logo.svg'\nimport { calculateDownloadUrl, getDownloadLinkWithIdentity } from '../../modules/downloadWithIdentity'\nimport { triggerFileDownload } from '../../modules/file'\nimport { SectionViewedTrack, SegmentEvent } from '../../modules/segment'\nimport { FALLBACK_CDN_RELEASE_LINKS, addQueryParamsToUrlString } from '../../modules/url'\nimport { Architecture, OperativeSystem } from '../../types/download.types'\nimport { DownloadSuccessLayout } from './DownloadSuccessLayout'\nimport type { DownloadSuccessStep, DownloadSuccessStepsWithOs } from './DownloadSuccess.types'\nimport {\n DownloadBackdropContent,\n DownloadBackdropText,\n DownloadDetailContainer,\n DownloadProgressBar,\n DownloadProgressContainer,\n HighlightAnimation\n} from './DownloadSuccess.styled'\n\nconst VALID_ARCHS = new Set<string>(['amd64', 'arm64'])\nconst AUTO_DOWNLOAD_HISTORY_STATE_KEY = 'downloadSuccess:autoDownloadKey'\nconst AUTO_DOWNLOAD_SESSION_KEY = 'downloadSuccess:triggered'\n\nconst DownloadSuccess = memo(() => {\n const [searchParams] = useSearchParams()\n const { intl } = useTranslation()\n const { isInitialized, track } = useAnalytics()\n const getIdentityId = useGetIdentityId()\n const anonUserId = useAnonUserId()\n\n const [isDownloading, setIsDownloading] = useState(false)\n const [downloadError, setDownloadError] = useState<string | null>(null)\n const [isFileSaved, setIsFileSaved] = useState(false)\n const downloadingRef = useRef(false)\n const getIdentityIdRef = useRef(getIdentityId)\n const anonUserIdRef = useRef(anonUserId)\n const isInitializedRef = useRef(isInitialized)\n const trackRef = useRef(track)\n getIdentityIdRef.current = getIdentityId\n anonUserIdRef.current = anonUserId\n isInitializedRef.current = isInitialized\n trackRef.current = track\n\n const rawOs = searchParams.get('os') || ''\n const osMap: Record<string, OperativeSystem> = {\n windows: OperativeSystem.WINDOWS,\n macos: OperativeSystem.MACOS\n }\n const clientOS = osMap[rawOs.toLowerCase()] ?? OperativeSystem.MACOS\n const defaultArch = clientOS === OperativeSystem.WINDOWS ? 'amd64' : 'arm64'\n const rawArch = searchParams.get('arch') || defaultArch\n const clientArch = (VALID_ARCHS.has(rawArch) ? rawArch : defaultArch) as Architecture\n\n const osIcon = clientOS === OperativeSystem.WINDOWS ? microsoftLogo : appleLogo\n const osLink =\n clientOS === OperativeSystem.WINDOWS ? FALLBACK_CDN_RELEASE_LINKS[clientOS]?.amd64 : FALLBACK_CDN_RELEASE_LINKS[clientOS]?.[clientArch]\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const l = useCallback((id: string, values?: Record<string, any>) => intl.formatMessage({ id }, values), [intl])\n\n const productAction = l('page.download.success.subtitle_action_exploring') as string\n\n const steps: DownloadSuccessStepsWithOs = useMemo(() => {\n const spanTag = (chunks: React.ReactNode) => <span>{chunks}</span>\n\n return {\n [OperativeSystem.WINDOWS]: [\n {\n title: l('page.download.success.steps.windows.step1.title'),\n text: l('page.download.success.steps.windows.step1.text', { span: spanTag }),\n image: windowsDownloadsFolder\n },\n {\n title: l('page.download.success.steps.windows.step2.title'),\n text: l('page.download.success.steps.windows.step2.text', { span: spanTag }),\n image: windowsSetup\n },\n {\n title: l('page.download.success.steps.windows.step3.title'),\n text: l('page.download.success.steps.windows.step3.text', { span: spanTag }),\n image: windowsLaunchingDecentraland\n }\n ],\n [OperativeSystem.MACOS]: [\n {\n title: l('page.download.success.steps.macOS.step1.title'),\n text: l('page.download.success.steps.macOS.step1.text', { span: spanTag }),\n image: macOsRecentDownload\n },\n {\n title: l('page.download.success.steps.macOS.step2.title'),\n text: l('page.download.success.steps.macOS.step2.text', { span: spanTag }),\n image: macOsLauncher\n },\n {\n title: l('page.download.success.steps.macOS.step3.title'),\n text: l('page.download.success.steps.macOS.step3.text', { span: spanTag }),\n image: macOsLaunchingDecentraland\n }\n ]\n }\n }, [l])\n\n const currentSteps: DownloadSuccessStep[] = steps[clientOS] || steps[OperativeSystem.MACOS]\n\n useEffect(() => {\n let cancelled = false\n const autoDownloadKey = `${clientOS}:${clientArch}`\n\n const getHistoryState = (): Record<string, unknown> =>\n window.history.state && typeof window.history.state === 'object' ? (window.history.state as Record<string, unknown>) : {}\n\n const startDownload = async () => {\n const sessionKey = `${AUTO_DOWNLOAD_SESSION_KEY}:${autoDownloadKey}`\n if (sessionStorage.getItem(sessionKey)) {\n setIsFileSaved(true)\n return\n }\n\n const historyState = getHistoryState()\n\n if (historyState[AUTO_DOWNLOAD_HISTORY_STATE_KEY] === autoDownloadKey) {\n setIsFileSaved(true)\n return\n }\n\n setIsDownloading(true)\n setDownloadError(null)\n setIsFileSaved(false)\n\n if (isInitializedRef.current) {\n trackRef.current(SegmentEvent.DOWNLOAD_STARTED)\n }\n\n const { url, filename } = await calculateDownloadUrl({\n os: clientOS,\n arch: clientArch,\n fallbackLinks: FALLBACK_CDN_RELEASE_LINKS,\n getIdentityId: getIdentityIdRef.current\n })\n\n if (cancelled) return\n\n const latestHistoryState = getHistoryState()\n if (latestHistoryState[AUTO_DOWNLOAD_HISTORY_STATE_KEY] !== autoDownloadKey) {\n window.history.replaceState(\n {\n ...latestHistoryState,\n [AUTO_DOWNLOAD_HISTORY_STATE_KEY]: autoDownloadKey\n },\n '',\n window.location.href\n )\n }\n\n if (cancelled) return\n\n sessionStorage.setItem(sessionKey, '1')\n const downloadUrl = addQueryParamsToUrlString(url, { [ANON_USER_ID_PARAM]: anonUserIdRef.current })\n triggerFileDownload(downloadUrl)\n setIsFileSaved(true)\n\n if (isInitializedRef.current) {\n trackRef.current(SegmentEvent.DOWNLOAD_SUCCESS, { filename })\n }\n }\n\n startDownload()\n .catch(error => {\n if (cancelled) return\n console.error('Download error:', error)\n setDownloadError(error instanceof Error ? error.message : 'Download failed')\n if (isInitializedRef.current) {\n trackRef.current(SegmentEvent.DOWNLOAD_FAILED)\n }\n })\n .finally(() => {\n if (!cancelled) {\n setIsDownloading(false)\n }\n })\n\n return () => {\n cancelled = true\n }\n }, [clientOS, clientArch])\n\n const handleDownloadClick = useCallback(\n async (event: React.MouseEvent<HTMLAnchorElement>) => {\n event.preventDefault()\n if (downloadingRef.current) return\n downloadingRef.current = true\n setIsDownloading(true)\n\n try {\n await getDownloadLinkWithIdentity({\n os: clientOS,\n arch: clientArch,\n fallbackLinks: FALLBACK_CDN_RELEASE_LINKS,\n queryParams: { [ANON_USER_ID_PARAM]: anonUserId },\n getIdentityId\n })\n } catch (error) {\n console.error('Download error:', error)\n setDownloadError(error instanceof Error ? error.message : 'Download failed')\n } finally {\n downloadingRef.current = false\n setIsDownloading(false)\n }\n },\n [clientOS, clientArch, anonUserId, getIdentityId]\n )\n\n const showBackdrop = isDownloading || (!downloadError && !isFileSaved)\n\n const backdropContent = isDownloading ? (\n <DownloadBackdropContent>\n <Logo size=\"huge\" />\n <DownloadDetailContainer>\n <DownloadBackdropText variant=\"h6\">{l('page.download.downloading')}</DownloadBackdropText>\n <DownloadProgressContainer>\n <DownloadProgressBar />\n </DownloadProgressContainer>\n </DownloadDetailContainer>\n </DownloadBackdropContent>\n ) : undefined\n\n return (\n <DownloadSuccessLayout\n loading={showBackdrop}\n backdropContent={backdropContent}\n osIcon={osIcon}\n title={l('page.download.success.title')}\n subtitle={l('page.download.success.subtitle', { action: productAction })}\n steps={currentSteps}\n renderCardOverlay={(_step, index) => (index === 0 && productAction === 'exploring' ? <HighlightAnimation /> : null)}\n footer={\n <Typography variant=\"body1\">\n {l('page.download.success.footer', {\n link: (\n <a href={osLink} onClick={handleDownloadClick} data-event={SectionViewedTrack.DOWNLOAD}>\n {l('page.download.success.footer_link_label')}\n </a>\n )\n })}\n </Typography>\n }\n afterContent={<LandingFooter />}\n />\n )\n})\n\nDownloadSuccess.displayName = 'DownloadSuccess'\n\nexport { DownloadSuccess }\n"],"names":["macOsLauncher","macOsLaunchingDecentraland","macOsRecentDownload","windowsDownloadsFolder","windowsLaunchingDecentraland","windowsSetup","VALID_ARCHS","AUTO_DOWNLOAD_HISTORY_STATE_KEY","AUTO_DOWNLOAD_SESSION_KEY","DownloadSuccess","memo","searchParams","useSearchParams","intl","useTranslation","isInitialized","track","useAnalytics","getIdentityId","useGetIdentityId","anonUserId","useAnonUserId","isDownloading","setIsDownloading","useState","downloadError","setDownloadError","isFileSaved","setIsFileSaved","downloadingRef","useRef","getIdentityIdRef","anonUserIdRef","isInitializedRef","trackRef","rawOs","clientOS","OperativeSystem","defaultArch","rawArch","clientArch","osIcon","microsoftLogo","appleLogo","osLink","FALLBACK_CDN_RELEASE_LINKS","l","useCallback","id","values","productAction","steps","useMemo","spanTag","chunks","jsx","currentSteps","useEffect","cancelled","autoDownloadKey","getHistoryState","sessionKey","SegmentEvent","url","filename","calculateDownloadUrl","latestHistoryState","downloadUrl","addQueryParamsToUrlString","ANON_USER_ID_PARAM","triggerFileDownload","error","handleDownloadClick","event","getDownloadLinkWithIdentity","showBackdrop","backdropContent","jsxs","DownloadBackdropContent","Logo","DownloadDetailContainer","DownloadBackdropText","DownloadProgressContainer","DownloadProgressBar","DownloadSuccessLayout","_step","index","HighlightAnimation","Typography","SectionViewedTrack","LandingFooter"],"mappings":"0zBAAA,MAAAA,GAAe,sHCAfC,GAAe,oICAfC,GAAe,6HCAfC,GAAe,gICAfC,GAAe,sICAfC,GAAe,qHC+BTC,GAAc,IAAI,IA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,EAEF,mBAAe4C,GAAA,CAAA,CAAc,CAAA,CAAA,CAGnC,CAAC,EAEDjF,GAAgB,YAAc"}
@@ -1 +1 @@
1
- import{s as o,a as i,v as r,w as e,j as t,L as a,B as p}from"./index-BQ4lI5xX.js";import{L as c}from"./Link-B-065zLP.js";import"./vendor-router-D_36sTKu.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const g=o(i)(({theme:n})=>({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",maxWidth:724,textAlign:"center",marginTop:n.spacing(24),marginLeft:"auto",marginRight:"auto",marginBottom:n.spacing(24),padding:`0 ${n.spacing(5)}`,[n.breakpoints.down("sm")]:{marginTop:n.spacing(12),marginBottom:n.spacing(12),maxWidth:"100%"}})),m=o(r)(({theme:n})=>({fontSize:20,fontWeight:400,marginBottom:n.spacing(5),color:n.palette.text.secondary,[n.breakpoints.down("sm")]:{fontSize:16}})),d=o(c)({textDecoration:"underline"}),l=o(i)(({theme:n})=>({marginBottom:n.spacing(4)})),x=o(r)(({theme:n})=>({fontSize:40,fontWeight:600,marginBottom:n.spacing(2),[n.breakpoints.down("sm")]:{fontSize:32}})),f="https://dcl.gg/press",s="press@decentraland.org",y=()=>{const n=e();return t.jsxs(g,{children:[t.jsx(l,{children:t.jsx(a,{size:"huge"})}),t.jsx(x,{variant:"h1",children:n("index.press.title")}),t.jsxs(m,{children:[n("index.press.page_description"),t.jsx(d,{href:`mailto:${s}`,children:s}),"."]}),t.jsx(p,{variant:"contained",component:"a",target:"_blank",rel:"noopener noreferrer",href:f,children:n("index.press.download_button")})]})};export{y as PressPage};
1
+ import{s as o,a as i,v as r,w as e,j as t,L as a,B as p}from"./index-DaRevScO.js";import{L as c}from"./Link-C-K90yR0.js";import"./vendor-router-D_36sTKu.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const g=o(i)(({theme:n})=>({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",maxWidth:724,textAlign:"center",marginTop:n.spacing(24),marginLeft:"auto",marginRight:"auto",marginBottom:n.spacing(24),padding:`0 ${n.spacing(5)}`,[n.breakpoints.down("sm")]:{marginTop:n.spacing(12),marginBottom:n.spacing(12),maxWidth:"100%"}})),m=o(r)(({theme:n})=>({fontSize:20,fontWeight:400,marginBottom:n.spacing(5),color:n.palette.text.secondary,[n.breakpoints.down("sm")]:{fontSize:16}})),d=o(c)({textDecoration:"underline"}),l=o(i)(({theme:n})=>({marginBottom:n.spacing(4)})),x=o(r)(({theme:n})=>({fontSize:40,fontWeight:600,marginBottom:n.spacing(2),[n.breakpoints.down("sm")]:{fontSize:32}})),f="https://dcl.gg/press",s="press@decentraland.org",y=()=>{const n=e();return t.jsxs(g,{children:[t.jsx(l,{children:t.jsx(a,{size:"huge"})}),t.jsx(x,{variant:"h1",children:n("index.press.title")}),t.jsxs(m,{children:[n("index.press.page_description"),t.jsx(d,{href:`mailto:${s}`,children:s}),"."]}),t.jsx(p,{variant:"contained",component:"a",target:"_blank",rel:"noopener noreferrer",href:f,children:n("index.press.download_button")})]})};export{y as PressPage};
@@ -1 +1 @@
1
- {"version":3,"file":"index-B7Bs_7eg.js","sources":["../../src/pages/press/PressPage.styled.ts","../../src/pages/press/PressPage.tsx"],"sourcesContent":["import { Box, Link, Typography, styled } from 'decentraland-ui2'\n\nconst PressContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n flexDirection: 'column',\n maxWidth: 724,\n textAlign: 'center',\n marginTop: theme.spacing(24),\n marginLeft: 'auto',\n marginRight: 'auto',\n marginBottom: theme.spacing(24),\n padding: `0 ${theme.spacing(5)}`,\n [theme.breakpoints.down('sm')]: {\n marginTop: theme.spacing(12),\n marginBottom: theme.spacing(12),\n maxWidth: '100%'\n }\n}))\n\nconst PressDescription = styled(Typography)(({ theme }) => ({\n fontSize: 20,\n fontWeight: 400,\n marginBottom: theme.spacing(5),\n color: theme.palette.text.secondary,\n [theme.breakpoints.down('sm')]: {\n fontSize: 16\n }\n}))\n\nconst PressEmailLink = styled(Link)({\n textDecoration: 'underline'\n})\n\nconst PressLogoWrapper = styled(Box)(({ theme }) => ({\n marginBottom: theme.spacing(4)\n}))\n\nconst PressTitle = styled(Typography)(({ theme }) => ({\n fontSize: 40,\n fontWeight: 600,\n marginBottom: theme.spacing(2),\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nexport { PressContainer, PressDescription, PressEmailLink, PressLogoWrapper, PressTitle }\n","import { Button, Logo } from 'decentraland-ui2'\nimport { useFormatMessage } from '../../hooks/adapters/useFormatMessage'\nimport { PressContainer, PressDescription, PressEmailLink, PressLogoWrapper, PressTitle } from './PressPage.styled'\n\nconst PRESS_KIT_URL = 'https://dcl.gg/press'\nconst PRESS_EMAIL = 'press@decentraland.org'\n\nconst PressPage = () => {\n const l = useFormatMessage()\n\n return (\n <PressContainer>\n <PressLogoWrapper>\n <Logo size=\"huge\" />\n </PressLogoWrapper>\n <PressTitle variant=\"h1\">{l('index.press.title')}</PressTitle>\n <PressDescription>\n {l('index.press.page_description')}\n <PressEmailLink href={`mailto:${PRESS_EMAIL}`}>{PRESS_EMAIL}</PressEmailLink>.\n </PressDescription>\n <Button variant=\"contained\" {...{ component: 'a', target: '_blank', rel: 'noopener noreferrer' }} href={PRESS_KIT_URL}>\n {l('index.press.download_button')}\n </Button>\n </PressContainer>\n )\n}\n\nexport { PressPage }\n"],"names":["PressContainer","styled","Box","theme","PressDescription","Typography","PressEmailLink","Link","PressLogoWrapper","PressTitle","PRESS_KIT_URL","PRESS_EMAIL","PressPage","l","useFormatMessage","jsx","Logo","Button"],"mappings":"4UAEA,MAAMA,EAAiBC,EAAOC,CAAG,EAA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A,CAAAS,EAAE,8BAA8B,QAChCP,EAAA,CAAe,KAAM,UAAUK,CAAW,GAAK,SAAAA,EAAY,EAAiB,GAAA,EAC/E,QACCM,EAAA,CAAO,QAAQ,YAAkB,UAAW,IAAK,OAAQ,SAAU,IAAK,sBAAyB,KAAMP,EACrG,SAAAG,EAAE,6BAA6B,CAAA,CAClC,CAAA,EACF,CAEJ"}
1
+ {"version":3,"file":"index-DsiqoitH.js","sources":["../../src/pages/press/PressPage.styled.ts","../../src/pages/press/PressPage.tsx"],"sourcesContent":["import { Box, Link, Typography, styled } from 'decentraland-ui2'\n\nconst PressContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n flexDirection: 'column',\n maxWidth: 724,\n textAlign: 'center',\n marginTop: theme.spacing(24),\n marginLeft: 'auto',\n marginRight: 'auto',\n marginBottom: theme.spacing(24),\n padding: `0 ${theme.spacing(5)}`,\n [theme.breakpoints.down('sm')]: {\n marginTop: theme.spacing(12),\n marginBottom: theme.spacing(12),\n maxWidth: '100%'\n }\n}))\n\nconst PressDescription = styled(Typography)(({ theme }) => ({\n fontSize: 20,\n fontWeight: 400,\n marginBottom: theme.spacing(5),\n color: theme.palette.text.secondary,\n [theme.breakpoints.down('sm')]: {\n fontSize: 16\n }\n}))\n\nconst PressEmailLink = styled(Link)({\n textDecoration: 'underline'\n})\n\nconst PressLogoWrapper = styled(Box)(({ theme }) => ({\n marginBottom: theme.spacing(4)\n}))\n\nconst PressTitle = styled(Typography)(({ theme }) => ({\n fontSize: 40,\n fontWeight: 600,\n marginBottom: theme.spacing(2),\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nexport { PressContainer, PressDescription, PressEmailLink, PressLogoWrapper, PressTitle }\n","import { Button, Logo } from 'decentraland-ui2'\nimport { useFormatMessage } from '../../hooks/adapters/useFormatMessage'\nimport { PressContainer, PressDescription, PressEmailLink, PressLogoWrapper, PressTitle } from './PressPage.styled'\n\nconst PRESS_KIT_URL = 'https://dcl.gg/press'\nconst PRESS_EMAIL = 'press@decentraland.org'\n\nconst PressPage = () => {\n const l = useFormatMessage()\n\n return (\n <PressContainer>\n <PressLogoWrapper>\n <Logo size=\"huge\" />\n </PressLogoWrapper>\n <PressTitle variant=\"h1\">{l('index.press.title')}</PressTitle>\n <PressDescription>\n {l('index.press.page_description')}\n <PressEmailLink href={`mailto:${PRESS_EMAIL}`}>{PRESS_EMAIL}</PressEmailLink>.\n </PressDescription>\n <Button variant=\"contained\" {...{ component: 'a', target: '_blank', rel: 'noopener noreferrer' }} href={PRESS_KIT_URL}>\n {l('index.press.download_button')}\n </Button>\n </PressContainer>\n )\n}\n\nexport { PressPage }\n"],"names":["PressContainer","styled","Box","theme","PressDescription","Typography","PressEmailLink","Link","PressLogoWrapper","PressTitle","PRESS_KIT_URL","PRESS_EMAIL","PressPage","l","useFormatMessage","jsx","Logo","Button"],"mappings":"4UAEA,MAAMA,EAAiBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACjD,QAAS,OACT,eAAgB,SAChB,WAAY,SACZ,cAAe,SACf,SAAU,IACV,UAAW,SACX,UAAWA,EAAM,QAAQ,EAAE,EAC3B,WAAY,OACZ,YAAa,OACb,aAAcA,EAAM,QAAQ,EAAE,EAC9B,QAAS,KAAKA,EAAM,QAAQ,CAAC,CAAC,GAC9B,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,UAAWA,EAAM,QAAQ,EAAE,EAC3B,aAAcA,EAAM,QAAQ,EAAE,EAC9B,SAAU,MAAA,CAEd,EAAE,EAEIC,EAAmBH,EAAOI,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CAC1D,SAAU,GACV,WAAY,IACZ,aAAcA,EAAM,QAAQ,CAAC,EAC7B,MAAOA,EAAM,QAAQ,KAAK,UAC1B,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,EAAA,CAEd,EAAE,EAEIG,EAAiBL,EAAOM,CAAI,EAAE,CAClC,eAAgB,WAClB,CAAC,EAEKC,EAAmBP,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACnD,aAAcA,EAAM,QAAQ,CAAC,CAC/B,EAAE,EAEIM,EAAaR,EAAOI,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CACpD,SAAU,GACV,WAAY,IACZ,aAAcA,EAAM,QAAQ,CAAC,EAC7B,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,EAAA,CAEd,EAAE,EC1CIO,EAAgB,uBAChBC,EAAc,yBAEdC,EAAY,IAAM,CACtB,MAAMC,EAAIC,EAAA,EAEV,cACGd,EAAA,CACC,SAAA,CAAAe,MAACP,EAAA,CACC,SAAAO,EAAAA,IAACC,EAAA,CAAK,KAAK,OAAO,EACpB,QACCP,EAAA,CAAW,QAAQ,KAAM,SAAAI,EAAE,mBAAmB,EAAE,SAChDT,EAAA,CACE,SAAA,CAAAS,EAAE,8BAA8B,QAChCP,EAAA,CAAe,KAAM,UAAUK,CAAW,GAAK,SAAAA,EAAY,EAAiB,GAAA,EAC/E,QACCM,EAAA,CAAO,QAAQ,YAAkB,UAAW,IAAK,OAAQ,SAAU,IAAK,sBAAyB,KAAMP,EACrG,SAAAG,EAAE,6BAA6B,CAAA,CAClC,CAAA,EACF,CAEJ"}
@@ -1 +1 @@
1
- import{s as i,a as s,v as r,z as n,w as d,X as c,M as g,j as t,Y as p,U as m}from"./index-BQ4lI5xX.js";import{r as k}from"./vendor-router-D_36sTKu.js";import{C as y}from"./Carousel-GdhNbXzm.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const u=i(s)({width:"100%",background:"radial-gradient(ellipse at 110% 50%, rgba(148,37,205,1) 0%, rgba(104,20,155,1) 100%)"}),x=i(s)(({theme:e})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(4),padding:`${e.spacing(10)} 0`,width:"100%",maxWidth:1920,margin:"0 auto",overflow:"hidden",[e.breakpoints.down("sm")]:{padding:`${e.spacing(6)} 0`}})),h=i(r)(({theme:e})=>({color:n.white,fontWeight:600,fontSize:48,textAlign:"center",[e.breakpoints.down("sm")]:{fontSize:32}})),b=i("img")({width:"100%",height:"100%",objectFit:"cover",display:"block"}),f=i("img")({display:"block",width:"100%",maxWidth:358,margin:"0 auto",borderRadius:16,objectFit:"cover"}),w=p.cards,j=k.memo(()=>{const e=d(),o=c("(max-width: 599px)"),l=g();return t.jsx(u,{children:t.jsxs(x,{children:[t.jsx(h,{variant:"h3",children:e("page.home.weekly_rituals.title")}),t.jsx(y,{items:w,keyExtractor:a=>a.id,slideAspectRatio:"750 / 370",renderItem:a=>t.jsx("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",draggable:!1,style:{display:"block",height:"100%"},"data-place":m.LANDING_WEEKLY_RITUALS,"data-event":"click","data-card":a.id,onClick:l,children:o?t.jsx(f,{src:a.mobileImageUrl,alt:e(a.titleKey),loading:"lazy",draggable:!1}):t.jsx(b,{src:a.imageUrl,alt:e(a.titleKey),loading:"lazy",draggable:!1})})})]})})});j.displayName="WeeklyRituals";export{j as WeeklyRituals};
1
+ import{s as i,a as s,v as r,z as n,w as d,X as c,M as g,j as t,Y as p,U as m}from"./index-DaRevScO.js";import{r as k}from"./vendor-router-D_36sTKu.js";import{C as y}from"./Carousel-Bz36sWAV.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const u=i(s)({width:"100%",background:"radial-gradient(ellipse at 110% 50%, rgba(148,37,205,1) 0%, rgba(104,20,155,1) 100%)"}),x=i(s)(({theme:e})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(4),padding:`${e.spacing(10)} 0`,width:"100%",maxWidth:1920,margin:"0 auto",overflow:"hidden",[e.breakpoints.down("sm")]:{padding:`${e.spacing(6)} 0`}})),h=i(r)(({theme:e})=>({color:n.white,fontWeight:600,fontSize:48,textAlign:"center",[e.breakpoints.down("sm")]:{fontSize:32}})),b=i("img")({width:"100%",height:"100%",objectFit:"cover",display:"block"}),f=i("img")({display:"block",width:"100%",maxWidth:358,margin:"0 auto",borderRadius:16,objectFit:"cover"}),w=p.cards,j=k.memo(()=>{const e=d(),o=c("(max-width: 599px)"),l=g();return t.jsx(u,{children:t.jsxs(x,{children:[t.jsx(h,{variant:"h3",children:e("page.home.weekly_rituals.title")}),t.jsx(y,{items:w,keyExtractor:a=>a.id,slideAspectRatio:"750 / 370",renderItem:a=>t.jsx("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",draggable:!1,style:{display:"block",height:"100%"},"data-place":m.LANDING_WEEKLY_RITUALS,"data-event":"click","data-card":a.id,onClick:l,children:o?t.jsx(f,{src:a.mobileImageUrl,alt:e(a.titleKey),loading:"lazy",draggable:!1}):t.jsx(b,{src:a.imageUrl,alt:e(a.titleKey),loading:"lazy",draggable:!1})})})]})})});j.displayName="WeeklyRituals";export{j as WeeklyRituals};
@@ -1 +1 @@
1
- {"version":3,"file":"index-C5I7_h2M.js","sources":["../../src/components/Home/WeeklyRituals/WeeklyRituals.styled.ts","../../src/components/Home/WeeklyRituals/WeeklyRituals.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst WeeklyRitualsOuter = styled(Box)({\n width: '100%',\n background: 'radial-gradient(ellipse at 110% 50%, rgba(148,37,205,1) 0%, rgba(104,20,155,1) 100%)'\n})\n\nconst WeeklyRitualsContainer = styled(Box)(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(4),\n padding: `${theme.spacing(10)} 0`,\n width: '100%',\n maxWidth: 1920,\n margin: '0 auto',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0`\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 48,\n textAlign: 'center',\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst CardImage = styled('img')({\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n display: 'block'\n})\n\nconst MobileCardImage = styled('img')({\n display: 'block',\n width: '100%',\n maxWidth: 358,\n margin: '0 auto',\n borderRadius: 16,\n objectFit: 'cover'\n})\n\nexport { CardImage, MobileCardImage, SectionTitle, WeeklyRitualsContainer, WeeklyRitualsOuter }\n","import { memo } from 'react'\nimport { useMediaQuery } from 'decentraland-ui2'\nimport { weeklyRitualsContent } from '../../../data/static-content'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { Carousel } from '../../Carousel'\nimport { CardImage, MobileCardImage, SectionTitle, WeeklyRitualsContainer, WeeklyRitualsOuter } from './WeeklyRituals.styled'\n\nconst cards = weeklyRitualsContent.cards\n\nconst WeeklyRituals = memo(() => {\n const l = useFormatMessage()\n const isMobile = useMediaQuery('(max-width: 599px)')\n const onClickHandle = useTrackClick()\n\n return (\n <WeeklyRitualsOuter>\n <WeeklyRitualsContainer>\n <SectionTitle variant=\"h3\">{l('page.home.weekly_rituals.title')}</SectionTitle>\n <Carousel\n items={cards}\n keyExtractor={card => card.id}\n slideAspectRatio=\"750 / 370\"\n renderItem={card => (\n <a\n href={card.link}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n draggable={false}\n style={{ display: 'block', height: '100%' }}\n data-place={SectionViewedTrack.LANDING_WEEKLY_RITUALS}\n data-event=\"click\"\n data-card={card.id}\n onClick={onClickHandle}\n >\n {isMobile ? (\n <MobileCardImage src={card.mobileImageUrl} alt={l(card.titleKey)} loading=\"lazy\" draggable={false} />\n ) : (\n <CardImage src={card.imageUrl} alt={l(card.titleKey)} loading=\"lazy\" draggable={false} />\n )}\n </a>\n )}\n />\n </WeeklyRitualsContainer>\n </WeeklyRitualsOuter>\n )\n})\n\nWeeklyRituals.displayName = 'WeeklyRituals'\n\nexport { WeeklyRituals }\n"],"names":["WeeklyRitualsOuter","styled","Box","WeeklyRitualsContainer","theme","SectionTitle","Typography","dclColors.neutral","CardImage","MobileCardImage","cards","weeklyRitualsContent","WeeklyRituals","memo","l","useFormatMessage","isMobile","useMediaQuery","onClickHandle","useTrackClick","jsx","jsxs","Carousel","card","SectionViewedTrack"],"mappings":"iXAEA,MAAMA,EAAqBC,EAAOC,CAAG,EAAE,CACrC,MAAO,OACP,WAAY,sFACd,CAAC,EAEKC,EAAyBF,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAE,MAAa,CACzD,SAAU,WACV,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,QAAS,GAAGA,EAAM,QAAQ,EAAE,CAAC,KAC7B,MAAO,OACP,SAAU,KACV,OAAQ,SACR,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAAS,GAAGA,EAAM,QAAQ,CAAC,CAAC,IAAA,CAEhC,EAAE,EAEIC,EAAeJ,EAAOK,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CACtD,MAAOG,EAAkB,MACzB,WAAY,IACZ,SAAU,GACV,UAAW,SACX,CAACH,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,EAAA,CAEd,EAAE,EAEII,EAAYP,EAAO,KAAK,EAAE,CAC9B,MAAO,OACP,OAAQ,OACR,UAAW,QACX,QAAS,OACX,CAAC,EAEKQ,EAAkBR,EAAO,KAAK,EAAE,CACpC,QAAS,QACT,MAAO,OACP,SAAU,IACV,OAAQ,SACR,aAAc,GACd,UAAW,OACb,CAAC,ECtCKS,EAAQC,EAAqB,MAE7BC,EAAgBC,EAAAA,KAAK,IAAM,CAC/B,MAAMC,EAAIC,EAAA,EACJC,EAAWC,EAAc,oBAAoB,EAC7CC,EAAgBC,EAAA,EAEtB,OACEC,EAAAA,IAACpB,EAAA,CACC,SAAAqB,EAAAA,KAAClB,EAAA,CACC,SAAA,CAAAiB,MAACf,EAAA,CAAa,QAAQ,KAAM,SAAAS,EAAE,gCAAgC,EAAE,EAChEM,EAAAA,IAACE,EAAA,CACC,MAAOZ,EACP,gBAAsBa,EAAK,GAC3B,iBAAiB,YACjB,WAAYA,GACVH,EAAAA,IAAC,IAAA,CACC,KAAMG,EAAK,KACX,OAAO,SACP,IAAI,sBACJ,UAAW,GACX,MAAO,CAAE,QAAS,QAAS,OAAQ,MAAA,EACnC,aAAYC,EAAmB,uBAC/B,aAAW,QACX,YAAWD,EAAK,GAChB,QAASL,EAER,SAAAF,EACCI,EAAAA,IAACX,EAAA,CAAgB,IAAKc,EAAK,eAAgB,IAAKT,EAAES,EAAK,QAAQ,EAAG,QAAQ,OAAO,UAAW,EAAA,CAAO,EAEnGH,EAAAA,IAACZ,EAAA,CAAU,IAAKe,EAAK,SAAU,IAAKT,EAAES,EAAK,QAAQ,EAAG,QAAQ,OAAO,UAAW,EAAA,CAAO,CAAA,CAAA,CAE3F,CAAA,CAEJ,CAAA,CACF,CAAA,CACF,CAEJ,CAAC,EAEDX,EAAc,YAAc"}
1
+ {"version":3,"file":"index-LYkhcWuH.js","sources":["../../src/components/Home/WeeklyRituals/WeeklyRituals.styled.ts","../../src/components/Home/WeeklyRituals/WeeklyRituals.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst WeeklyRitualsOuter = styled(Box)({\n width: '100%',\n background: 'radial-gradient(ellipse at 110% 50%, rgba(148,37,205,1) 0%, rgba(104,20,155,1) 100%)'\n})\n\nconst WeeklyRitualsContainer = styled(Box)(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(4),\n padding: `${theme.spacing(10)} 0`,\n width: '100%',\n maxWidth: 1920,\n margin: '0 auto',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0`\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 48,\n textAlign: 'center',\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst CardImage = styled('img')({\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n display: 'block'\n})\n\nconst MobileCardImage = styled('img')({\n display: 'block',\n width: '100%',\n maxWidth: 358,\n margin: '0 auto',\n borderRadius: 16,\n objectFit: 'cover'\n})\n\nexport { CardImage, MobileCardImage, SectionTitle, WeeklyRitualsContainer, WeeklyRitualsOuter }\n","import { memo } from 'react'\nimport { useMediaQuery } from 'decentraland-ui2'\nimport { weeklyRitualsContent } from '../../../data/static-content'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { Carousel } from '../../Carousel'\nimport { CardImage, MobileCardImage, SectionTitle, WeeklyRitualsContainer, WeeklyRitualsOuter } from './WeeklyRituals.styled'\n\nconst cards = weeklyRitualsContent.cards\n\nconst WeeklyRituals = memo(() => {\n const l = useFormatMessage()\n const isMobile = useMediaQuery('(max-width: 599px)')\n const onClickHandle = useTrackClick()\n\n return (\n <WeeklyRitualsOuter>\n <WeeklyRitualsContainer>\n <SectionTitle variant=\"h3\">{l('page.home.weekly_rituals.title')}</SectionTitle>\n <Carousel\n items={cards}\n keyExtractor={card => card.id}\n slideAspectRatio=\"750 / 370\"\n renderItem={card => (\n <a\n href={card.link}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n draggable={false}\n style={{ display: 'block', height: '100%' }}\n data-place={SectionViewedTrack.LANDING_WEEKLY_RITUALS}\n data-event=\"click\"\n data-card={card.id}\n onClick={onClickHandle}\n >\n {isMobile ? (\n <MobileCardImage src={card.mobileImageUrl} alt={l(card.titleKey)} loading=\"lazy\" draggable={false} />\n ) : (\n <CardImage src={card.imageUrl} alt={l(card.titleKey)} loading=\"lazy\" draggable={false} />\n )}\n </a>\n )}\n />\n </WeeklyRitualsContainer>\n </WeeklyRitualsOuter>\n )\n})\n\nWeeklyRituals.displayName = 'WeeklyRituals'\n\nexport { WeeklyRituals }\n"],"names":["WeeklyRitualsOuter","styled","Box","WeeklyRitualsContainer","theme","SectionTitle","Typography","dclColors.neutral","CardImage","MobileCardImage","cards","weeklyRitualsContent","WeeklyRituals","memo","l","useFormatMessage","isMobile","useMediaQuery","onClickHandle","useTrackClick","jsx","jsxs","Carousel","card","SectionViewedTrack"],"mappings":"iXAEA,MAAMA,EAAqBC,EAAOC,CAAG,EAAE,CACrC,MAAO,OACP,WAAY,sFACd,CAAC,EAEKC,EAAyBF,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAE,MAAa,CACzD,SAAU,WACV,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,QAAS,GAAGA,EAAM,QAAQ,EAAE,CAAC,KAC7B,MAAO,OACP,SAAU,KACV,OAAQ,SACR,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAAS,GAAGA,EAAM,QAAQ,CAAC,CAAC,IAAA,CAEhC,EAAE,EAEIC,EAAeJ,EAAOK,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CACtD,MAAOG,EAAkB,MACzB,WAAY,IACZ,SAAU,GACV,UAAW,SACX,CAACH,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,EAAA,CAEd,EAAE,EAEII,EAAYP,EAAO,KAAK,EAAE,CAC9B,MAAO,OACP,OAAQ,OACR,UAAW,QACX,QAAS,OACX,CAAC,EAEKQ,EAAkBR,EAAO,KAAK,EAAE,CACpC,QAAS,QACT,MAAO,OACP,SAAU,IACV,OAAQ,SACR,aAAc,GACd,UAAW,OACb,CAAC,ECtCKS,EAAQC,EAAqB,MAE7BC,EAAgBC,EAAAA,KAAK,IAAM,CAC/B,MAAMC,EAAIC,EAAA,EACJC,EAAWC,EAAc,oBAAoB,EAC7CC,EAAgBC,EAAA,EAEtB,OACEC,EAAAA,IAACpB,EAAA,CACC,SAAAqB,EAAAA,KAAClB,EAAA,CACC,SAAA,CAAAiB,MAACf,EAAA,CAAa,QAAQ,KAAM,SAAAS,EAAE,gCAAgC,EAAE,EAChEM,EAAAA,IAACE,EAAA,CACC,MAAOZ,EACP,gBAAsBa,EAAK,GAC3B,iBAAiB,YACjB,WAAYA,GACVH,EAAAA,IAAC,IAAA,CACC,KAAMG,EAAK,KACX,OAAO,SACP,IAAI,sBACJ,UAAW,GACX,MAAO,CAAE,QAAS,QAAS,OAAQ,MAAA,EACnC,aAAYC,EAAmB,uBAC/B,aAAW,QACX,YAAWD,EAAK,GAChB,QAASL,EAER,SAAAF,EACCI,EAAAA,IAACX,EAAA,CAAgB,IAAKc,EAAK,eAAgB,IAAKT,EAAES,EAAK,QAAQ,EAAG,QAAQ,OAAO,UAAW,EAAA,CAAO,EAEnGH,EAAAA,IAACZ,EAAA,CAAU,IAAKe,EAAK,SAAU,IAAKT,EAAES,EAAK,QAAQ,EAAG,QAAQ,OAAO,UAAW,EAAA,CAAO,CAAA,CAAA,CAE3F,CAAA,CAEJ,CAAA,CACF,CAAA,CACF,CAEJ,CAAC,EAEDX,EAAc,YAAc"}
@@ -1 +1 @@
1
- import{s as n,a as c,v as C,z as f,M as v,j as o,U as w,P as k,w as y,ae as M,u as j,N as A,V as E}from"./index-BQ4lI5xX.js";import{r as d}from"./vendor-router-D_36sTKu.js";import{C as b}from"./Carousel-GdhNbXzm.js";import{u as L}from"./profile.client-Dv7yHizc.js";import{E as D,B,L as N,U as W}from"./Badges-DLM7WLac.js";import{A as G}from"./AnimatedBackground-DBObVbM7.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./JumpInIcon-DGqWIU4o.js";import"./createSvgIcon-BLdKozgH.js";import"./useSlot-DcCKMoK9.js";import"./CardContent--XD8e3JI.js";import"./Paper-BJ-Nl60w.js";import"./Skeleton-D8JfGaaX.js";import"./CardMedia-DlGw2npC.js";import"./Link-B-065zLP.js";const I=n(c)(({theme:e})=>({width:"100%",padding:e.spacing(10,8),display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(6),position:"relative",overflow:"hidden",[e.breakpoints.down("sm")]:{padding:e.spacing(6,2)}})),O=n(C)(({theme:e})=>({color:f.white,fontWeight:700,textAlign:"center",position:"relative",zIndex:10,fontSize:48,[e.breakpoints.down("sm")]:{fontSize:32}})),u=62,z=n(c)(({theme:e})=>({display:"flex",gap:e.spacing(3),justifyContent:"center",width:"100%",position:"relative",zIndex:10,"& > *":{flex:"1 1 0",minWidth:0,maxWidth:850,"&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *":{minHeight:427}},"& .MuiCard-root":{containerType:"inline-size",overflow:"hidden",height:"min(62.5cqw + 130px, 427px)"},"& .MuiCardActionArea-root":{height:"100%"},"&& .MuiCardMedia-root":{height:"min(62.5cqw, 297px)",transition:"height 0.3s ease"},"&& .MuiCardActionArea-root:hover .MuiCardMedia-root":{height:`min(calc(62.5cqw - ${u}px), ${297-u}px)`},"& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)":{maxWidth:"100%"},[e.breakpoints.down("sm")]:{display:"none"}})),P=n(c)(({theme:e})=>({display:"none",width:"100%",position:"relative",zIndex:10,[e.breakpoints.down("sm")]:{display:"block"}})),T=n("div")({borderRadius:16,overflow:"hidden",display:"flex",flexDirection:"column","&& .MuiCardContent-root":{backgroundColor:"rgba(0, 0, 0, 0.6)"},"&& .MuiCard-root":{minWidth:0,maxWidth:"100%"},"&& .MuiTypography-h6":{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",WebkitLineClamp:"unset",WebkitBoxOrient:"unset"}}),H=k("/dcl-logo.svg").replace(/^http:\/\//,"https://"),s=d.memo(({card:e,loading:a})=>{const i=v(),{data:l}=L(e?.creatorAddress,{skip:!e?.creatorAddress});let r=l?.avatars?.[0];return!r&&e?.creatorName&&(r={name:e.creatorName,ethAddress:"",...e.isGenesisPlaza&&{avatar:{snapshots:{face256:H,body:""}}}}),o.jsx(T,{"data-place":w.LANDING_EXPLORE,"data-event":"click","data-card":e?.title,onClick:i,children:o.jsx(D,{loading:a,image:e?.image??"",sceneName:e?.title??"",avatar:r,coordinates:e?.coordinates,leftBadgeTransparent:!0,hideLocation:!0,leftBadge:e?o.jsxs(B,{children:[o.jsx(N,{}),o.jsx(W,{count:e.users})]}):void 0})})});s.displayName="ExploreCard";const S=[0,1,2],U=d.memo(()=>{const e=y(),{data:a,isLoading:i}=M(),{isConnected:l}=j(),{handleClick:p,isDownloadModalOpen:r,closeDownloadModal:h,downloadModalProps:x}=A(),m=d.useCallback(t=>{l||(t.preventDefault(),t.stopPropagation(),p(t))},[l,p]);if(!i&&a.length===0)return null;const g=d.useMemo(()=>i?S.map(t=>o.jsx(s,{loading:!0},t)):a.map(t=>o.jsx(s,{card:t},t.id)),[i,a]);return o.jsxs(I,{children:[o.jsx(G,{variant:"absolute"}),o.jsx(O,{variant:"h3",children:e("page.home.explore.title")}),o.jsx(z,{onClickCapture:m,children:g}),o.jsx(P,{onClickCapture:m,children:i?o.jsx(s,{loading:!0}):a.length>0&&o.jsx(b,{items:a,renderItem:t=>o.jsx(s,{card:t}),keyExtractor:t=>t.id,autoplayDelay:5e3})}),o.jsx(E,{open:r,onClose:h,...x})]})});U.displayName="Explore";export{U as Explore};
1
+ import{s as n,a as c,v as C,z as f,M as v,j as o,U as w,P as k,w as y,ae as M,u as j,N as A,V as E}from"./index-DaRevScO.js";import{r as d}from"./vendor-router-D_36sTKu.js";import{C as b}from"./Carousel-Bz36sWAV.js";import{u as L}from"./profile.client-CCf--pbP.js";import{E as D,B,L as N,U as W}from"./Badges-C3LP2L14.js";import{A as G}from"./AnimatedBackground-B-L76Zza.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./JumpInIcon-DsVzhXWI.js";import"./createSvgIcon-DH_tCoWL.js";import"./useSlot-BerGUD87.js";import"./CardContent-CTD4H4a5.js";import"./Paper-BcsxEQWA.js";import"./Skeleton-o93N4ZZz.js";import"./CardMedia-DkSJQ0Yc.js";import"./Link-C-K90yR0.js";const I=n(c)(({theme:e})=>({width:"100%",padding:e.spacing(10,8),display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(6),position:"relative",overflow:"hidden",[e.breakpoints.down("sm")]:{padding:e.spacing(6,2)}})),O=n(C)(({theme:e})=>({color:f.white,fontWeight:700,textAlign:"center",position:"relative",zIndex:10,fontSize:48,[e.breakpoints.down("sm")]:{fontSize:32}})),u=62,z=n(c)(({theme:e})=>({display:"flex",gap:e.spacing(3),justifyContent:"center",width:"100%",position:"relative",zIndex:10,"& > *":{flex:"1 1 0",minWidth:0,maxWidth:850,"&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *":{minHeight:427}},"& .MuiCard-root":{containerType:"inline-size",overflow:"hidden",height:"min(62.5cqw + 130px, 427px)"},"& .MuiCardActionArea-root":{height:"100%"},"&& .MuiCardMedia-root":{height:"min(62.5cqw, 297px)",transition:"height 0.3s ease"},"&& .MuiCardActionArea-root:hover .MuiCardMedia-root":{height:`min(calc(62.5cqw - ${u}px), ${297-u}px)`},"& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)":{maxWidth:"100%"},[e.breakpoints.down("sm")]:{display:"none"}})),P=n(c)(({theme:e})=>({display:"none",width:"100%",position:"relative",zIndex:10,[e.breakpoints.down("sm")]:{display:"block"}})),T=n("div")({borderRadius:16,overflow:"hidden",display:"flex",flexDirection:"column","&& .MuiCardContent-root":{backgroundColor:"rgba(0, 0, 0, 0.6)"},"&& .MuiCard-root":{minWidth:0,maxWidth:"100%"},"&& .MuiTypography-h6":{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",WebkitLineClamp:"unset",WebkitBoxOrient:"unset"}}),H=k("/dcl-logo.svg").replace(/^http:\/\//,"https://"),s=d.memo(({card:e,loading:a})=>{const i=v(),{data:l}=L(e?.creatorAddress,{skip:!e?.creatorAddress});let r=l?.avatars?.[0];return!r&&e?.creatorName&&(r={name:e.creatorName,ethAddress:"",...e.isGenesisPlaza&&{avatar:{snapshots:{face256:H,body:""}}}}),o.jsx(T,{"data-place":w.LANDING_EXPLORE,"data-event":"click","data-card":e?.title,onClick:i,children:o.jsx(D,{loading:a,image:e?.image??"",sceneName:e?.title??"",avatar:r,coordinates:e?.coordinates,leftBadgeTransparent:!0,hideLocation:!0,leftBadge:e?o.jsxs(B,{children:[o.jsx(N,{}),o.jsx(W,{count:e.users})]}):void 0})})});s.displayName="ExploreCard";const S=[0,1,2],U=d.memo(()=>{const e=y(),{data:a,isLoading:i}=M(),{isConnected:l}=j(),{handleClick:p,isDownloadModalOpen:r,closeDownloadModal:h,downloadModalProps:x}=A(),m=d.useCallback(t=>{l||(t.preventDefault(),t.stopPropagation(),p(t))},[l,p]);if(!i&&a.length===0)return null;const g=d.useMemo(()=>i?S.map(t=>o.jsx(s,{loading:!0},t)):a.map(t=>o.jsx(s,{card:t},t.id)),[i,a]);return o.jsxs(I,{children:[o.jsx(G,{variant:"absolute"}),o.jsx(O,{variant:"h3",children:e("page.home.explore.title")}),o.jsx(z,{onClickCapture:m,children:g}),o.jsx(P,{onClickCapture:m,children:i?o.jsx(s,{loading:!0}):a.length>0&&o.jsx(b,{items:a,renderItem:t=>o.jsx(s,{card:t}),keyExtractor:t=>t.id,autoplayDelay:5e3})}),o.jsx(E,{open:r,onClose:h,...x})]})});U.displayName="Explore";export{U as Explore};
@@ -1 +1 @@
1
- {"version":3,"file":"index-C8kkckun.js","sources":["../../src/components/Home/Explore/Explore.styled.ts","../../src/components/Home/Explore/ExploreCard.tsx","../../src/components/Home/Explore/Explore.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst ExploreContainer = styled(Box)(({ theme }) => ({\n width: '100%',\n padding: theme.spacing(10, 8),\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(6),\n position: 'relative',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: theme.spacing(6, 2)\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 700,\n textAlign: 'center',\n position: 'relative',\n zIndex: 10,\n fontSize: 48,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst JUMP_IN_HEIGHT = 62\n\nconst CardsGrid = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(3),\n justifyContent: 'center',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n /* eslint-disable @typescript-eslint/naming-convention */\n '& > *': {\n flex: '1 1 0',\n minWidth: 0,\n maxWidth: 850,\n '&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *': {\n minHeight: 427\n }\n },\n '& .MuiCard-root': {\n containerType: 'inline-size',\n overflow: 'hidden',\n height: 'min(62.5cqw + 130px, 427px)'\n },\n '& .MuiCardActionArea-root': {\n height: '100%'\n },\n '&& .MuiCardMedia-root': {\n height: 'min(62.5cqw, 297px)',\n transition: 'height 0.3s ease'\n },\n '&& .MuiCardActionArea-root:hover .MuiCardMedia-root': {\n height: `min(calc(62.5cqw - ${JUMP_IN_HEIGHT}px), ${297 - JUMP_IN_HEIGHT}px)`\n },\n // Expand avatar container so the \"by\" label is not truncated\n // (targets the inner Box wrapping the AvatarFace inside EventCard)\n '& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)': {\n maxWidth: '100%'\n },\n /* eslint-enable @typescript-eslint/naming-convention */\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarousel = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n }\n}))\n\nconst CardWrapper = styled('div')({\n borderRadius: 16,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n // Override ui2's 0.4 opacity to 0.6\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCardContent-root': {\n backgroundColor: 'rgba(0, 0, 0, 0.6)'\n },\n // Force card to respect container width on small screens\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCard-root': {\n minWidth: 0,\n maxWidth: '100%'\n },\n /* eslint-disable @typescript-eslint/naming-convention */\n '&& .MuiTypography-h6': {\n display: 'block',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n WebkitLineClamp: 'unset',\n WebkitBoxOrient: 'unset'\n }\n /* eslint-enable @typescript-eslint/naming-convention */\n})\n\nexport { CardWrapper, CardsGrid, ExploreContainer, MobileCarousel, SectionTitle }\n","import { memo } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { BadgeGroup, EventCard, LiveBadge, UserCountBadge } from 'decentraland-ui2'\nimport type { ExploreItem } from '../../../features/events/events.types'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { CardWrapper } from './Explore.styled'\n\n// AvatarFace only passes through URLs starting with https://, otherwise it\n// prepends peer.decentraland.org. In prod assetUrl gives https://cdn..., in\n// dev we force https by replacing the protocol.\nconst DCL_LOGO_URL = assetUrl('/dcl-logo.svg').replace(/^http:\\/\\//, 'https://')\n\nconst ExploreCard = memo(({ card, loading }: { card?: ExploreItem; loading?: boolean }) => {\n const onClickHandle = useTrackClick()\n const { data: profile } = useGetProfileQuery(card?.creatorAddress, { skip: !card?.creatorAddress })\n const fetchedAvatar = profile?.avatars?.[0]\n\n let avatar: Avatar | undefined = fetchedAvatar as Avatar | undefined\n if (!avatar && card?.creatorName) {\n avatar = {\n name: card.creatorName,\n ethAddress: '',\n ...(card.isGenesisPlaza && {\n avatar: { snapshots: { face256: DCL_LOGO_URL, body: '' } }\n })\n } as Avatar\n }\n\n return (\n <CardWrapper data-place={SectionViewedTrack.LANDING_EXPLORE} data-event=\"click\" data-card={card?.title} onClick={onClickHandle}>\n <EventCard\n loading={loading}\n image={card?.image ?? ''}\n sceneName={card?.title ?? ''}\n avatar={avatar}\n coordinates={card?.coordinates}\n leftBadgeTransparent\n hideLocation\n leftBadge={\n card ? (\n <BadgeGroup>\n <LiveBadge />\n <UserCountBadge count={card.users} />\n </BadgeGroup>\n ) : undefined\n }\n />\n </CardWrapper>\n )\n})\n\nExploreCard.displayName = 'ExploreCard'\n\nexport { ExploreCard }\n","import { memo, useCallback, useMemo } from 'react'\nimport { AnimatedBackground, DownloadModal } from 'decentraland-ui2'\nimport { useGetExploreDataQuery } from '../../../features/events/events.client'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport { useWalletAddress } from '../../../hooks/useWalletAddress'\nimport { Carousel } from '../../Carousel/Carousel'\nimport { ExploreCard } from './ExploreCard'\nimport { CardsGrid, ExploreContainer, MobileCarousel, SectionTitle } from './Explore.styled'\n\nconst LOADING_PLACEHOLDERS = [0, 1, 2]\n\nconst Explore = memo(() => {\n const l = useFormatMessage()\n const { data: cards, isLoading } = useGetExploreDataQuery()\n const { isConnected } = useWalletAddress()\n const { handleClick, isDownloadModalOpen, closeDownloadModal, downloadModalProps } = useHangOutAction()\n\n // Intercept card clicks when not signed in → show download modal instead\n const handleCardClick = useCallback(\n (e: React.MouseEvent) => {\n if (!isConnected) {\n e.preventDefault()\n e.stopPropagation()\n handleClick(e)\n }\n },\n [isConnected, handleClick]\n )\n\n if (!isLoading && cards.length === 0) return null\n\n const cardElements = useMemo(\n () =>\n isLoading\n ? LOADING_PLACEHOLDERS.map(i => <ExploreCard key={i} loading />)\n : cards.map(card => <ExploreCard key={card.id} card={card} />),\n [isLoading, cards]\n )\n\n return (\n <ExploreContainer>\n <AnimatedBackground variant=\"absolute\" />\n <SectionTitle variant=\"h3\">{l('page.home.explore.title')}</SectionTitle>\n <CardsGrid onClickCapture={handleCardClick}>{cardElements}</CardsGrid>\n <MobileCarousel onClickCapture={handleCardClick}>\n {isLoading ? (\n <ExploreCard loading />\n ) : (\n cards.length > 0 && (\n <Carousel items={cards} renderItem={card => <ExploreCard card={card} />} keyExtractor={card => card.id} autoplayDelay={5000} />\n )\n )}\n </MobileCarousel>\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n </ExploreContainer>\n )\n})\n\nExplore.displayName = 'Explore'\n\nexport { Explore }\n"],"names":["ExploreContainer","styled","Box","theme","SectionTitle","Typography","dclColors.neutral","JUMP_IN_HEIGHT","CardsGrid","MobileCarousel","CardWrapper","DCL_LOGO_URL","assetUrl","ExploreCard","memo","card","loading","onClickHandle","useTrackClick","profile","useGetProfileQuery","avatar","jsx","SectionViewedTrack","EventCard","jsxs","BadgeGroup","LiveBadge","UserCountBadge","LOADING_PLACEHOLDERS","Explore","l","useFormatMessage","cards","isLoading","useGetExploreDataQuery","isConnected","useWalletAddress","handleClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","useHangOutAction","handleCardClick","useCallback","e","cardElements","useMemo","i","AnimatedBackground","Carousel","DownloadModal"],"mappings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MZ,EAAqB,QAASC,EAAqB,GAAGC,CAAA,CAAoB,CAAA,EACjG,CAEJ,CAAC,EAEDX,EAAQ,YAAc"}
1
+ {"version":3,"file":"index-Oqf5zL8M.js","sources":["../../src/components/Home/Explore/Explore.styled.ts","../../src/components/Home/Explore/ExploreCard.tsx","../../src/components/Home/Explore/Explore.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst ExploreContainer = styled(Box)(({ theme }) => ({\n width: '100%',\n padding: theme.spacing(10, 8),\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(6),\n position: 'relative',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: theme.spacing(6, 2)\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 700,\n textAlign: 'center',\n position: 'relative',\n zIndex: 10,\n fontSize: 48,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst JUMP_IN_HEIGHT = 62\n\nconst CardsGrid = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(3),\n justifyContent: 'center',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n /* eslint-disable @typescript-eslint/naming-convention */\n '& > *': {\n flex: '1 1 0',\n minWidth: 0,\n maxWidth: 850,\n '&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *': {\n minHeight: 427\n }\n },\n '& .MuiCard-root': {\n containerType: 'inline-size',\n overflow: 'hidden',\n height: 'min(62.5cqw + 130px, 427px)'\n },\n '& .MuiCardActionArea-root': {\n height: '100%'\n },\n '&& .MuiCardMedia-root': {\n height: 'min(62.5cqw, 297px)',\n transition: 'height 0.3s ease'\n },\n '&& .MuiCardActionArea-root:hover .MuiCardMedia-root': {\n height: `min(calc(62.5cqw - ${JUMP_IN_HEIGHT}px), ${297 - JUMP_IN_HEIGHT}px)`\n },\n // Expand avatar container so the \"by\" label is not truncated\n // (targets the inner Box wrapping the AvatarFace inside EventCard)\n '& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)': {\n maxWidth: '100%'\n },\n /* eslint-enable @typescript-eslint/naming-convention */\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarousel = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n }\n}))\n\nconst CardWrapper = styled('div')({\n borderRadius: 16,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n // Override ui2's 0.4 opacity to 0.6\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCardContent-root': {\n backgroundColor: 'rgba(0, 0, 0, 0.6)'\n },\n // Force card to respect container width on small screens\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCard-root': {\n minWidth: 0,\n maxWidth: '100%'\n },\n /* eslint-disable @typescript-eslint/naming-convention */\n '&& .MuiTypography-h6': {\n display: 'block',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n WebkitLineClamp: 'unset',\n WebkitBoxOrient: 'unset'\n }\n /* eslint-enable @typescript-eslint/naming-convention */\n})\n\nexport { CardWrapper, CardsGrid, ExploreContainer, MobileCarousel, SectionTitle }\n","import { memo } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { BadgeGroup, EventCard, LiveBadge, UserCountBadge } from 'decentraland-ui2'\nimport type { ExploreItem } from '../../../features/events/events.types'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { CardWrapper } from './Explore.styled'\n\n// AvatarFace only passes through URLs starting with https://, otherwise it\n// prepends peer.decentraland.org. In prod assetUrl gives https://cdn..., in\n// dev we force https by replacing the protocol.\nconst DCL_LOGO_URL = assetUrl('/dcl-logo.svg').replace(/^http:\\/\\//, 'https://')\n\nconst ExploreCard = memo(({ card, loading }: { card?: ExploreItem; loading?: boolean }) => {\n const onClickHandle = useTrackClick()\n const { data: profile } = useGetProfileQuery(card?.creatorAddress, { skip: !card?.creatorAddress })\n const fetchedAvatar = profile?.avatars?.[0]\n\n let avatar: Avatar | undefined = fetchedAvatar as Avatar | undefined\n if (!avatar && card?.creatorName) {\n avatar = {\n name: card.creatorName,\n ethAddress: '',\n ...(card.isGenesisPlaza && {\n avatar: { snapshots: { face256: DCL_LOGO_URL, body: '' } }\n })\n } as Avatar\n }\n\n return (\n <CardWrapper data-place={SectionViewedTrack.LANDING_EXPLORE} data-event=\"click\" data-card={card?.title} onClick={onClickHandle}>\n <EventCard\n loading={loading}\n image={card?.image ?? ''}\n sceneName={card?.title ?? ''}\n avatar={avatar}\n coordinates={card?.coordinates}\n leftBadgeTransparent\n hideLocation\n leftBadge={\n card ? (\n <BadgeGroup>\n <LiveBadge />\n <UserCountBadge count={card.users} />\n </BadgeGroup>\n ) : undefined\n }\n />\n </CardWrapper>\n )\n})\n\nExploreCard.displayName = 'ExploreCard'\n\nexport { ExploreCard }\n","import { memo, useCallback, useMemo } from 'react'\nimport { AnimatedBackground, DownloadModal } from 'decentraland-ui2'\nimport { useGetExploreDataQuery } from '../../../features/events/events.client'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport { useWalletAddress } from '../../../hooks/useWalletAddress'\nimport { Carousel } from '../../Carousel/Carousel'\nimport { ExploreCard } from './ExploreCard'\nimport { CardsGrid, ExploreContainer, MobileCarousel, SectionTitle } from './Explore.styled'\n\nconst LOADING_PLACEHOLDERS = [0, 1, 2]\n\nconst Explore = memo(() => {\n const l = useFormatMessage()\n const { data: cards, isLoading } = useGetExploreDataQuery()\n const { isConnected } = useWalletAddress()\n const { handleClick, isDownloadModalOpen, closeDownloadModal, downloadModalProps } = useHangOutAction()\n\n // Intercept card clicks when not signed in → show download modal instead\n const handleCardClick = useCallback(\n (e: React.MouseEvent) => {\n if (!isConnected) {\n e.preventDefault()\n e.stopPropagation()\n handleClick(e)\n }\n },\n [isConnected, handleClick]\n )\n\n if (!isLoading && cards.length === 0) return null\n\n const cardElements = useMemo(\n () =>\n isLoading\n ? LOADING_PLACEHOLDERS.map(i => <ExploreCard key={i} loading />)\n : cards.map(card => <ExploreCard key={card.id} card={card} />),\n [isLoading, cards]\n )\n\n return (\n <ExploreContainer>\n <AnimatedBackground variant=\"absolute\" />\n <SectionTitle variant=\"h3\">{l('page.home.explore.title')}</SectionTitle>\n <CardsGrid onClickCapture={handleCardClick}>{cardElements}</CardsGrid>\n <MobileCarousel onClickCapture={handleCardClick}>\n {isLoading ? (\n <ExploreCard loading />\n ) : (\n cards.length > 0 && (\n <Carousel items={cards} renderItem={card => <ExploreCard card={card} />} keyExtractor={card => card.id} autoplayDelay={5000} />\n )\n )}\n </MobileCarousel>\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n </ExploreContainer>\n )\n})\n\nExplore.displayName = 'Explore'\n\nexport { Explore }\n"],"names":["ExploreContainer","styled","Box","theme","SectionTitle","Typography","dclColors.neutral","JUMP_IN_HEIGHT","CardsGrid","MobileCarousel","CardWrapper","DCL_LOGO_URL","assetUrl","ExploreCard","memo","card","loading","onClickHandle","useTrackClick","profile","useGetProfileQuery","avatar","jsx","SectionViewedTrack","EventCard","jsxs","BadgeGroup","LiveBadge","UserCountBadge","LOADING_PLACEHOLDERS","Explore","l","useFormatMessage","cards","isLoading","useGetExploreDataQuery","isConnected","useWalletAddress","handleClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","useHangOutAction","handleCardClick","useCallback","e","cardElements","useMemo","i","AnimatedBackground","Carousel","DownloadModal"],"mappings":"iyBAEA,MAAMA,EAAmBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACnD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X,EAAQ,YAAc"}
@@ -1 +1 @@
1
- import{_ as f,a as v}from"./vendor-intl-D2lXWsDp.js";import{i as b,g as M,l as _}from"./index-Czi9R2pR.js";import"./index-BQ4lI5xX.js";import"./vendor-router-D_36sTKu.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-ua-D7qqAxdq.js";function I(o,w,h){var i;return f(this,void 0,void 0,function(){var s,l,c,d,a,g=this;return v(this,function(m){switch(m.label){case 0:return b()?[2,[]]:(s=M(),l=(i=w.enabledMiddleware)!==null&&i!==void 0?i:{},c=Object.entries(l).filter(function(r){r[0];var e=r[1];return e}).map(function(r){var e=r[0];return e}),d=c.map(function(r){return f(g,void 0,void 0,function(){var e,n,u,p;return v(this,function(t){switch(t.label){case 0:e=r.replace("@segment/",""),n=e,h&&(n=btoa(e).replace(/=/g,"")),u="".concat(s,"/middleware/").concat(n,"/latest/").concat(n,".js.gz"),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,_(u)];case 2:return t.sent(),[2,window["".concat(e,"Middleware")]];case 3:return p=t.sent(),o.log("error",p),o.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(d)]);case 1:return a=m.sent(),a=a.filter(Boolean),[2,a]}})})}export{I as remoteMiddlewares};
1
+ import{_ as f,a as v}from"./vendor-intl-D2lXWsDp.js";import{i as b,g as M,l as _}from"./index-BpUUMJJL.js";import"./index-DaRevScO.js";import"./vendor-router-D_36sTKu.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-ua-D7qqAxdq.js";function I(o,w,h){var i;return f(this,void 0,void 0,function(){var s,l,c,d,a,g=this;return v(this,function(m){switch(m.label){case 0:return b()?[2,[]]:(s=M(),l=(i=w.enabledMiddleware)!==null&&i!==void 0?i:{},c=Object.entries(l).filter(function(r){r[0];var e=r[1];return e}).map(function(r){var e=r[0];return e}),d=c.map(function(r){return f(g,void 0,void 0,function(){var e,n,u,p;return v(this,function(t){switch(t.label){case 0:e=r.replace("@segment/",""),n=e,h&&(n=btoa(e).replace(/=/g,"")),u="".concat(s,"/middleware/").concat(n,"/latest/").concat(n,".js.gz"),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,_(u)];case 2:return t.sent(),[2,window["".concat(e,"Middleware")]];case 3:return p=t.sent(),o.log("error",p),o.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(d)]);case 1:return a=m.sent(),a=a.filter(Boolean),[2,a]}})})}export{I as remoteMiddlewares};
@@ -1 +1 @@
1
- {"version":3,"file":"index-BeEdEvw9.js","sources":["../../node_modules/@segment/analytics-next/dist/pkg/plugins/remote-middleware/index.js"],"sourcesContent":["import { __awaiter, __generator } from \"tslib\";\nimport { isServer } from '../../core/environment';\nimport { loadScript } from '../../lib/load-script';\nimport { getNextIntegrationsURL } from '../../lib/parse-cdn';\nexport function remoteMiddlewares(ctx, settings, obfuscate) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var path, remoteMiddleware, names, scripts, middleware;\n var _this = this;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (isServer()) {\n return [2 /*return*/, []];\n }\n path = getNextIntegrationsURL();\n remoteMiddleware = (_a = settings.enabledMiddleware) !== null && _a !== void 0 ? _a : {};\n names = Object.entries(remoteMiddleware)\n .filter(function (_a) {\n var _ = _a[0], enabled = _a[1];\n return enabled;\n })\n .map(function (_a) {\n var name = _a[0];\n return name;\n });\n scripts = names.map(function (name) { return __awaiter(_this, void 0, void 0, function () {\n var nonNamespaced, bundleName, fullPath, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n nonNamespaced = name.replace('@segment/', '');\n bundleName = nonNamespaced;\n if (obfuscate) {\n bundleName = btoa(nonNamespaced).replace(/=/g, '');\n }\n fullPath = \"\".concat(path, \"/middleware/\").concat(bundleName, \"/latest/\").concat(bundleName, \".js.gz\");\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, loadScript(fullPath)\n // @ts-ignore\n ];\n case 2:\n _a.sent();\n // @ts-ignore\n return [2 /*return*/, window[\"\".concat(nonNamespaced, \"Middleware\")]];\n case 3:\n error_1 = _a.sent();\n ctx.log('error', error_1);\n ctx.stats.increment('failed_remote_middleware');\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n }); });\n return [4 /*yield*/, Promise.all(scripts)];\n case 1:\n middleware = _b.sent();\n middleware = middleware.filter(Boolean);\n return [2 /*return*/, middleware];\n }\n });\n });\n}\n//# sourceMappingURL=index.js.map"],"names":["remoteMiddlewares","ctx","settings","obfuscate","_a","__awaiter","path","remoteMiddleware","names","scripts","middleware","_this","__generator","_b","isServer","getNextIntegrationsURL","enabled","name","nonNamespaced","bundleName","fullPath","error_1","loadScript"],"mappings":"wTAIO,SAASA,EAAkBC,EAAKC,EAAUC,EAAW,CACxD,IAAIC,EACJ,OAAOC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CAC/C,IAAIC,EAAMC,EAAkBC,EAAOC,EAASC,EACxCC,EAAQ,KACZ,OAAOC,EAAY,KAAM,SAAUC,EAAI,CACnC,OAAQA,EAAG,MAAK,CACZ,IAAK,GACD,OAAIC,EAAQ,EACD,CAAC,EAAc,EAAE,GAE5BR,EAAOS,EAAsB,EAC7BR,GAAoBH,EAAKF,EAAS,qBAAuB,MAAQE,IAAO,OAASA,EAAK,CAAA,EACtFI,EAAQ,OAAO,QAAQD,CAAgB,EAClC,OAAO,SAAUH,EAAI,CACdA,EAAG,CAAC,MAAGY,EAAUZ,EAAG,CAAC,EAC7B,OAAOY,CACX,CAAC,EACI,IAAI,SAAUZ,EAAI,CACnB,IAAIa,EAAOb,EAAG,CAAC,EACf,OAAOa,CACX,CAAC,EACDR,EAAUD,EAAM,IAAI,SAAUS,EAAM,CAAE,OAAOZ,EAAUM,EAAO,OAAQ,OAAQ,UAAY,CACtF,IAAIO,EAAeC,EAAYC,EAAUC,EACzC,OAAOT,EAAY,KAAM,SAAUR,EAAI,CACnC,OAAQA,EAAG,MAAK,CACZ,IAAK,GACDc,EAAgBD,EAAK,QAAQ,YAAa,EAAE,EAC5CE,EAAaD,EACTf,IACAgB,EAAa,KAAKD,CAAa,EAAE,QAAQ,KAAM,EAAE,GAErDE,EAAW,GAAG,OAAOd,EAAM,cAAc,EAAE,OAAOa,EAAY,UAAU,EAAE,OAAOA,EAAY,QAAQ,EACrGf,EAAG,MAAQ,EACf,IAAK,GACD,OAAAA,EAAG,KAAK,KAAK,CAAC,EAAG,EAAC,CAAI,CAAC,CAAC,EACjB,CAAC,EAAakB,EAAWF,CAAQ,CAE5E,EACgC,IAAK,GACD,OAAAhB,EAAG,KAAI,EAEA,CAAC,EAAc,OAAO,GAAG,OAAOc,EAAe,YAAY,CAAC,CAAC,EACxE,IAAK,GACD,OAAAG,EAAUjB,EAAG,KAAI,EACjBH,EAAI,IAAI,QAASoB,CAAO,EACxBpB,EAAI,MAAM,UAAU,0BAA0B,EACvC,CAAC,EAAa,CAAC,EAC1B,IAAK,GAAG,MAAO,CAAC,CAAC,CACjD,CACwB,CAAC,CACL,CAAC,CAAG,CAAC,EACE,CAAC,EAAa,QAAQ,IAAIQ,CAAO,CAAC,GAC7C,IAAK,GACD,OAAAC,EAAaG,EAAG,KAAI,EACpBH,EAAaA,EAAW,OAAO,OAAO,EAC/B,CAAC,EAAcA,CAAU,CACpD,CACQ,CAAC,CACL,CAAC,CACL","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index-bKbknVRg.js","sources":["../../node_modules/@segment/analytics-next/dist/pkg/plugins/remote-middleware/index.js"],"sourcesContent":["import { __awaiter, __generator } from \"tslib\";\nimport { isServer } from '../../core/environment';\nimport { loadScript } from '../../lib/load-script';\nimport { getNextIntegrationsURL } from '../../lib/parse-cdn';\nexport function remoteMiddlewares(ctx, settings, obfuscate) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var path, remoteMiddleware, names, scripts, middleware;\n var _this = this;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (isServer()) {\n return [2 /*return*/, []];\n }\n path = getNextIntegrationsURL();\n remoteMiddleware = (_a = settings.enabledMiddleware) !== null && _a !== void 0 ? _a : {};\n names = Object.entries(remoteMiddleware)\n .filter(function (_a) {\n var _ = _a[0], enabled = _a[1];\n return enabled;\n })\n .map(function (_a) {\n var name = _a[0];\n return name;\n });\n scripts = names.map(function (name) { return __awaiter(_this, void 0, void 0, function () {\n var nonNamespaced, bundleName, fullPath, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n nonNamespaced = name.replace('@segment/', '');\n bundleName = nonNamespaced;\n if (obfuscate) {\n bundleName = btoa(nonNamespaced).replace(/=/g, '');\n }\n fullPath = \"\".concat(path, \"/middleware/\").concat(bundleName, \"/latest/\").concat(bundleName, \".js.gz\");\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, loadScript(fullPath)\n // @ts-ignore\n ];\n case 2:\n _a.sent();\n // @ts-ignore\n return [2 /*return*/, window[\"\".concat(nonNamespaced, \"Middleware\")]];\n case 3:\n error_1 = _a.sent();\n ctx.log('error', error_1);\n ctx.stats.increment('failed_remote_middleware');\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n }); });\n return [4 /*yield*/, Promise.all(scripts)];\n case 1:\n middleware = _b.sent();\n middleware = middleware.filter(Boolean);\n return [2 /*return*/, middleware];\n }\n });\n });\n}\n//# sourceMappingURL=index.js.map"],"names":["remoteMiddlewares","ctx","settings","obfuscate","_a","__awaiter","path","remoteMiddleware","names","scripts","middleware","_this","__generator","_b","isServer","getNextIntegrationsURL","enabled","name","nonNamespaced","bundleName","fullPath","error_1","loadScript"],"mappings":"wTAIO,SAASA,EAAkBC,EAAKC,EAAUC,EAAW,CACxD,IAAIC,EACJ,OAAOC,EAAU,KAAM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AAM,UAAU,0BAA0B,EACvC,CAAC,EAAa,CAAC,EAC1B,IAAK,GAAG,MAAO,CAAC,CAAC,CACjD,CACwB,CAAC,CACL,CAAC,CAAG,CAAC,EACE,CAAC,EAAa,QAAQ,IAAIQ,CAAO,CAAC,GAC7C,IAAK,GACD,OAAAC,EAAaG,EAAG,KAAI,EACpBH,EAAaA,EAAW,OAAO,OAAO,EAC/B,CAAC,EAAcA,CAAU,CACpD,CACQ,CAAC,CACL,CAAC,CACL","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- import{s as t,a as o,v as s,w as l,j as n,B as i}from"./index-BQ4lI5xX.js";import{r as c}from"./vendor-router-D_36sTKu.js";import{V as d}from"./Video-CiAQnrOo.js";import{A as p}from"./AnimatedSection-Dy2CqHWv.js";import{e as g}from"./index-HZ_h_54S.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./useCreatorHubDownload-htSWq2gm.js";import"./file-Cr_gl9BS.js";import"./url-CwO7t7Da.js";import"./index-g0lykA2w.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-G_F6A2kc.js";import"./CircularProgress-DcmGIHDk.js";const m="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24667963662.commit-e7db321/assets/background_video_studios-B3uNUHPl.mp4",f=t("section")(({theme:e})=>({height:"80vh",width:"100%",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",[e.breakpoints.down("sm")]:{height:"auto",padding:`0 ${e.spacing(4)}`}})),h=t(o)({position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:0,overflow:"hidden","&::after":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"linear-gradient(270deg, rgba(22,21,24,0) 0%, rgba(22,21,24,0.94) 27.27%, #161518 50.52%, rgba(22,21,24,0.92) 76.08%, rgba(22,21,24,0) 100%)"},"& video":{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}}),x=t(o)({position:"relative",zIndex:1,display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center"}),u=t(s)(({theme:e})=>({fontSize:40,fontWeight:700,lineHeight:"48px",maxWidth:700,color:"#fff","& span":{background:"linear-gradient(287deg, #ff2d55 5.21%, #ffbc5b 56.5%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},[e.breakpoints.down("sm")]:{fontSize:24,lineHeight:"normal"}})),b=t(s)(({theme:e})=>({textShadow:"0px 4px 20px rgba(0, 0, 0, 0.55)",fontSize:20,fontWeight:600,lineHeight:"normal",color:"#fff",marginTop:16,[e.breakpoints.down("sm")]:{fontSize:18,lineHeight:"24px"}})),_=t(o)({display:"flex",flexWrap:"wrap",justifyContent:"center",marginTop:42}),j=t(o)({paddingLeft:16,paddingRight:8,borderRadius:100,marginBottom:8,marginRight:8,background:"#fff",border:"1px solid #f3f2f5",fontSize:14,fontWeight:600,lineHeight:"normal",position:"relative",height:36,color:"#43404a",display:"flex",alignItems:"center"}),k=t(o)(({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",marginTop:70,[e.breakpoints.down("md")]:{flexDirection:"column",margin:0,marginTop:28}})),a=t(o)(({theme:e})=>({display:"flex",alignItems:"center",color:"#fff",textAlign:"center",fontSize:20,fontWeight:600,lineHeight:"48px","& a":{marginLeft:16},[e.breakpoints.down("md")]:{flexDirection:"column"},[e.breakpoints.down("sm")]:{fontSize:18,width:"100%","& a":{marginLeft:0,width:"100%",marginTop:16}}})),P=c.memo(()=>{const e=l();return n.jsx(p,{children:n.jsxs(f,{children:[n.jsx(h,{children:n.jsx(d,{loop:!0,muted:!0,autoPlay:!0,playsInline:!0,width:1352,height:534,source:m})}),n.jsxs(x,{children:[n.jsxs(u,{children:[e("component.creators_landing.earn.title")," ",e("component.creators_landing.earn.second_title"),n.jsx("span",{children:e("component.creators_landing.earn.title_highlight")})]}),n.jsxs(b,{children:[e("component.creators_landing.earn.subtitle"),n.jsx(_,{children:g.map(r=>n.jsx(j,{children:r},r))})]}),n.jsxs(k,{children:[n.jsxs(a,{sx:{marginRight:{xs:0,md:"80px"}},children:[e("component.creators_landing.earn.browse_creator_label"),n.jsx(i,{variant:"contained",component:"a",href:e("component.creators_landing.earn.browse_creator_url"),target:"_blank",rel:"noopener noreferrer",children:e("component.creators_landing.earn.browse_creator_button")})]}),n.jsxs(a,{sx:{marginTop:{xs:"33px",md:0}},children:[e("component.creators_landing.earn.are_you_creator_label"),n.jsx(i,{variant:"outlined",component:"a",href:e("component.creators_landing.earn.are_you_creator_url"),target:"_blank",rel:"noopener noreferrer",sx:{backgroundColor:"#fff",color:"#43404a","&:hover":{backgroundColor:"#e0e0e0"}},children:e("component.creators_landing.earn.are_you_creator_button")})]})]})]})]})})});export{P as CreatorsEarn};
1
+ import{s as t,a as o,v as s,w as l,j as n,B as i}from"./index-DaRevScO.js";import{r as c}from"./vendor-router-D_36sTKu.js";import{V as d}from"./Video-DF4ljNzn.js";import{A as p}from"./AnimatedSection-C7y4e9MO.js";import{e as g}from"./index-BqghIvCc.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./useCreatorHubDownload-CQ5sircD.js";import"./file-Cr_gl9BS.js";import"./url-DMbF6Zco.js";import"./index-mXhpN3cS.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-DIvER7jP.js";import"./CircularProgress-DMJbftwB.js";const m="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24671743849.commit-e464803/assets/background_video_studios-B3uNUHPl.mp4",f=t("section")(({theme:e})=>({height:"80vh",width:"100%",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",[e.breakpoints.down("sm")]:{height:"auto",padding:`0 ${e.spacing(4)}`}})),h=t(o)({position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:0,overflow:"hidden","&::after":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"linear-gradient(270deg, rgba(22,21,24,0) 0%, rgba(22,21,24,0.94) 27.27%, #161518 50.52%, rgba(22,21,24,0.92) 76.08%, rgba(22,21,24,0) 100%)"},"& video":{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}}),x=t(o)({position:"relative",zIndex:1,display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center"}),u=t(s)(({theme:e})=>({fontSize:40,fontWeight:700,lineHeight:"48px",maxWidth:700,color:"#fff","& span":{background:"linear-gradient(287deg, #ff2d55 5.21%, #ffbc5b 56.5%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},[e.breakpoints.down("sm")]:{fontSize:24,lineHeight:"normal"}})),b=t(s)(({theme:e})=>({textShadow:"0px 4px 20px rgba(0, 0, 0, 0.55)",fontSize:20,fontWeight:600,lineHeight:"normal",color:"#fff",marginTop:16,[e.breakpoints.down("sm")]:{fontSize:18,lineHeight:"24px"}})),_=t(o)({display:"flex",flexWrap:"wrap",justifyContent:"center",marginTop:42}),j=t(o)({paddingLeft:16,paddingRight:8,borderRadius:100,marginBottom:8,marginRight:8,background:"#fff",border:"1px solid #f3f2f5",fontSize:14,fontWeight:600,lineHeight:"normal",position:"relative",height:36,color:"#43404a",display:"flex",alignItems:"center"}),k=t(o)(({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",marginTop:70,[e.breakpoints.down("md")]:{flexDirection:"column",margin:0,marginTop:28}})),a=t(o)(({theme:e})=>({display:"flex",alignItems:"center",color:"#fff",textAlign:"center",fontSize:20,fontWeight:600,lineHeight:"48px","& a":{marginLeft:16},[e.breakpoints.down("md")]:{flexDirection:"column"},[e.breakpoints.down("sm")]:{fontSize:18,width:"100%","& a":{marginLeft:0,width:"100%",marginTop:16}}})),P=c.memo(()=>{const e=l();return n.jsx(p,{children:n.jsxs(f,{children:[n.jsx(h,{children:n.jsx(d,{loop:!0,muted:!0,autoPlay:!0,playsInline:!0,width:1352,height:534,source:m})}),n.jsxs(x,{children:[n.jsxs(u,{children:[e("component.creators_landing.earn.title")," ",e("component.creators_landing.earn.second_title"),n.jsx("span",{children:e("component.creators_landing.earn.title_highlight")})]}),n.jsxs(b,{children:[e("component.creators_landing.earn.subtitle"),n.jsx(_,{children:g.map(r=>n.jsx(j,{children:r},r))})]}),n.jsxs(k,{children:[n.jsxs(a,{sx:{marginRight:{xs:0,md:"80px"}},children:[e("component.creators_landing.earn.browse_creator_label"),n.jsx(i,{variant:"contained",component:"a",href:e("component.creators_landing.earn.browse_creator_url"),target:"_blank",rel:"noopener noreferrer",children:e("component.creators_landing.earn.browse_creator_button")})]}),n.jsxs(a,{sx:{marginTop:{xs:"33px",md:0}},children:[e("component.creators_landing.earn.are_you_creator_label"),n.jsx(i,{variant:"outlined",component:"a",href:e("component.creators_landing.earn.are_you_creator_url"),target:"_blank",rel:"noopener noreferrer",sx:{backgroundColor:"#fff",color:"#43404a","&:hover":{backgroundColor:"#e0e0e0"}},children:e("component.creators_landing.earn.are_you_creator_button")})]})]})]})]})})});export{P as CreatorsEarn};
@@ -1 +1 @@
1
- {"version":3,"file":"index-CXRPJhvA.js","sources":["../../src/videos/background_video_studios.mp4","../../src/components/Create/Earn/Earn.styled.ts","../../src/components/Create/Earn/Earn.tsx"],"sourcesContent":["export default \"__VITE_ASSET__DU026neQ__\"","import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst EarnSection = styled('section')(({ theme }) => ({\n height: '80vh',\n width: '100%',\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n height: 'auto',\n padding: `0 ${theme.spacing(4)}`\n }\n}))\n\nconst EarnBackground = styled(Box)({\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n zIndex: 0,\n overflow: 'hidden',\n ['&::after']: {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n background:\n 'linear-gradient(270deg, rgba(22,21,24,0) 0%, rgba(22,21,24,0.94) 27.27%, #161518 50.52%, rgba(22,21,24,0.92) 76.08%, rgba(22,21,24,0) 100%)'\n },\n ['& video']: {\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n objectPosition: 'center'\n }\n})\n\nconst EarnContent = styled(Box)({\n position: 'relative',\n zIndex: 1,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n textAlign: 'center'\n})\n\nconst EarnTitle = styled(Typography)(({ theme }) => ({\n fontSize: 40,\n fontWeight: 700,\n lineHeight: '48px',\n maxWidth: 700,\n color: '#fff',\n ['& span']: {\n background: 'linear-gradient(287deg, #ff2d55 5.21%, #ffbc5b 56.5%)',\n backgroundClip: 'text',\n ['WebkitBackgroundClip' as string]: 'text',\n ['WebkitTextFillColor' as string]: 'transparent'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 24,\n lineHeight: 'normal'\n }\n}))\n\nconst EarnSubtitle = styled(Typography)(({ theme }) => ({\n textShadow: '0px 4px 20px rgba(0, 0, 0, 0.55)',\n fontSize: 20,\n fontWeight: 600,\n lineHeight: 'normal',\n color: '#fff',\n marginTop: 16,\n [theme.breakpoints.down('sm')]: {\n fontSize: 18,\n lineHeight: '24px'\n }\n}))\n\nconst SkillsContainer = styled(Box)({\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'center',\n marginTop: 42\n})\n\nconst SkillBadge = styled(Box)({\n paddingLeft: 16,\n paddingRight: 8,\n borderRadius: 100,\n marginBottom: 8,\n marginRight: 8,\n background: '#fff',\n border: '1px solid #f3f2f5',\n fontSize: 14,\n fontWeight: 600,\n lineHeight: 'normal',\n position: 'relative',\n height: 36,\n color: '#43404a',\n display: 'flex',\n alignItems: 'center'\n})\n\nconst EarnActions = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n marginTop: 70,\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n margin: 0,\n marginTop: 28\n }\n}))\n\nconst EarnActionBlock = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n color: '#fff',\n textAlign: 'center',\n fontSize: 20,\n fontWeight: 600,\n lineHeight: '48px',\n ['& a']: {\n marginLeft: 16\n },\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 18,\n width: '100%',\n ['& a']: {\n marginLeft: 0,\n width: '100%',\n marginTop: 16\n }\n }\n}))\n\nexport { EarnActionBlock, EarnActions, EarnBackground, EarnContent, EarnSection, EarnSubtitle, EarnTitle, SkillBadge, SkillsContainer }\n","import { memo } from 'react'\nimport { Button } from 'decentraland-ui2'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport earnVideo from '../../../videos/background_video_studios.mp4'\nimport { Video } from '../../Video'\nimport { AnimatedSection } from '../AnimatedSection'\nimport { earnSkills } from '../data'\nimport {\n EarnActionBlock,\n EarnActions,\n EarnBackground,\n EarnContent,\n EarnSection,\n EarnSubtitle,\n EarnTitle,\n SkillBadge,\n SkillsContainer\n} from './Earn.styled'\n\nconst CreatorsEarn = memo(() => {\n const l = useFormatMessage()\n return (\n <AnimatedSection>\n <EarnSection>\n <EarnBackground>\n <Video loop muted autoPlay playsInline width={1352} height={534} source={earnVideo} />\n </EarnBackground>\n <EarnContent>\n <EarnTitle>\n {l('component.creators_landing.earn.title')} {l('component.creators_landing.earn.second_title')}\n <span>{l('component.creators_landing.earn.title_highlight')}</span>\n </EarnTitle>\n <EarnSubtitle>\n {l('component.creators_landing.earn.subtitle')}\n <SkillsContainer>\n {earnSkills.map(skill => (\n <SkillBadge key={skill}>{skill}</SkillBadge>\n ))}\n </SkillsContainer>\n </EarnSubtitle>\n <EarnActions>\n <EarnActionBlock sx={{ marginRight: { xs: 0, md: '80px' } }}>\n {l('component.creators_landing.earn.browse_creator_label')}\n <Button\n variant=\"contained\"\n component=\"a\"\n href={l('component.creators_landing.earn.browse_creator_url')}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n {l('component.creators_landing.earn.browse_creator_button')}\n </Button>\n </EarnActionBlock>\n <EarnActionBlock sx={{ marginTop: { xs: '33px', md: 0 } }}>\n {l('component.creators_landing.earn.are_you_creator_label')}\n <Button\n variant=\"outlined\"\n component=\"a\"\n href={l('component.creators_landing.earn.are_you_creator_url')}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n sx={{ backgroundColor: '#fff', color: '#43404a', ['&:hover']: { backgroundColor: '#e0e0e0' } }}\n >\n {l('component.creators_landing.earn.are_you_creator_button')}\n </Button>\n </EarnActionBlock>\n </EarnActions>\n </EarnContent>\n </EarnSection>\n </AnimatedSection>\n )\n})\n\nexport { CreatorsEarn }\n"],"names":["earnVideo","EarnSection","styled","theme","EarnBackground","Box","EarnContent","EarnTitle","Typography","EarnSubtitle","SkillsContainer","SkillBadge","EarnActions","EarnActionBlock","CreatorsEarn","memo","l","useFormatMessage","jsx","AnimatedSection","jsxs","Video","earnSkills","skill","Button"],"mappings":"6pBAAA,MAAAA,EAAe,+HCETC,EAAcC,EAAO,SAAS,EAAE,CAAC,CAAE,MAAAC,MAAa,CACpD,OAAQ,OACR,MAAO,OACP,SAAU,WACV,QAAS,OACT,cAAe,SACf,WAAY,SACZ,eAAgB,SAChB,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,OAAQ,OACR,QAAS,KAAKA,EAAM,QAAQ,CAAC,CAAC,EAAA,CAElC,EAAE,EAEIC,EAAiBF,EAAOG,CAAG,EAAE,CACjC,SAAU,WACV,IAAK,EACL,KAAM,EACN,MAAO,OACP,OAAQ,OACR,OAAQ,EACR,SAAU,SACT,WAAa,CACZ,QAAS,KACT,SAAU,WACV,IAAK,EACL,KAAM,EACN,MAAO,OACP,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AAoD,EAC5D,OAAO,SACP,IAAI,sBAEH,WAAE,uDAAuD,CAAA,CAAA,CAC5D,EACF,EACAI,EAAAA,KAACP,EAAA,CAAgB,GAAI,CAAE,UAAW,CAAE,GAAI,OAAQ,GAAI,CAAA,CAAE,EACnD,SAAA,CAAAG,EAAE,uDAAuD,EAC1DE,EAAAA,IAACM,EAAA,CACC,QAAQ,WACR,UAAU,IACV,KAAMR,EAAE,qDAAqD,EAC7D,OAAO,SACP,IAAI,sBACJ,GAAI,CAAE,gBAAiB,OAAQ,MAAO,UAAY,UAAY,CAAE,gBAAiB,UAAU,EAE1F,WAAE,wDAAwD,CAAA,CAAA,CAC7D,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CACF,CAEJ,CAAC"}
1
+ {"version":3,"file":"index-ezM_J58e.js","sources":["../../src/videos/background_video_studios.mp4","../../src/components/Create/Earn/Earn.styled.ts","../../src/components/Create/Earn/Earn.tsx"],"sourcesContent":["export default \"__VITE_ASSET__DU026neQ__\"","import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst EarnSection = styled('section')(({ theme }) => ({\n height: '80vh',\n width: '100%',\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n height: 'auto',\n padding: `0 ${theme.spacing(4)}`\n }\n}))\n\nconst EarnBackground = styled(Box)({\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n zIndex: 0,\n overflow: 'hidden',\n ['&::after']: {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n background:\n 'linear-gradient(270deg, rgba(22,21,24,0) 0%, rgba(22,21,24,0.94) 27.27%, #161518 50.52%, rgba(22,21,24,0.92) 76.08%, rgba(22,21,24,0) 100%)'\n },\n ['& video']: {\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n objectPosition: 'center'\n }\n})\n\nconst EarnContent = styled(Box)({\n position: 'relative',\n zIndex: 1,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n textAlign: 'center'\n})\n\nconst EarnTitle = styled(Typography)(({ theme }) => ({\n fontSize: 40,\n fontWeight: 700,\n lineHeight: '48px',\n maxWidth: 700,\n color: '#fff',\n ['& span']: {\n background: 'linear-gradient(287deg, #ff2d55 5.21%, #ffbc5b 56.5%)',\n backgroundClip: 'text',\n ['WebkitBackgroundClip' as string]: 'text',\n ['WebkitTextFillColor' as string]: 'transparent'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 24,\n lineHeight: 'normal'\n }\n}))\n\nconst EarnSubtitle = styled(Typography)(({ theme }) => ({\n textShadow: '0px 4px 20px rgba(0, 0, 0, 0.55)',\n fontSize: 20,\n fontWeight: 600,\n lineHeight: 'normal',\n color: '#fff',\n marginTop: 16,\n [theme.breakpoints.down('sm')]: {\n fontSize: 18,\n lineHeight: '24px'\n }\n}))\n\nconst SkillsContainer = styled(Box)({\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'center',\n marginTop: 42\n})\n\nconst SkillBadge = styled(Box)({\n paddingLeft: 16,\n paddingRight: 8,\n borderRadius: 100,\n marginBottom: 8,\n marginRight: 8,\n background: '#fff',\n border: '1px solid #f3f2f5',\n fontSize: 14,\n fontWeight: 600,\n lineHeight: 'normal',\n position: 'relative',\n height: 36,\n color: '#43404a',\n display: 'flex',\n alignItems: 'center'\n})\n\nconst EarnActions = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n marginTop: 70,\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n margin: 0,\n marginTop: 28\n }\n}))\n\nconst EarnActionBlock = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n color: '#fff',\n textAlign: 'center',\n fontSize: 20,\n fontWeight: 600,\n lineHeight: '48px',\n ['& a']: {\n marginLeft: 16\n },\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 18,\n width: '100%',\n ['& a']: {\n marginLeft: 0,\n width: '100%',\n marginTop: 16\n }\n }\n}))\n\nexport { EarnActionBlock, EarnActions, EarnBackground, EarnContent, EarnSection, EarnSubtitle, EarnTitle, SkillBadge, SkillsContainer }\n","import { memo } from 'react'\nimport { Button } from 'decentraland-ui2'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport earnVideo from '../../../videos/background_video_studios.mp4'\nimport { Video } from '../../Video'\nimport { AnimatedSection } from '../AnimatedSection'\nimport { earnSkills } from '../data'\nimport {\n EarnActionBlock,\n EarnActions,\n EarnBackground,\n EarnContent,\n EarnSection,\n EarnSubtitle,\n EarnTitle,\n SkillBadge,\n SkillsContainer\n} from './Earn.styled'\n\nconst CreatorsEarn = memo(() => {\n const l = useFormatMessage()\n return (\n <AnimatedSection>\n <EarnSection>\n <EarnBackground>\n <Video loop muted autoPlay playsInline width={1352} height={534} source={earnVideo} />\n </EarnBackground>\n <EarnContent>\n <EarnTitle>\n {l('component.creators_landing.earn.title')} {l('component.creators_landing.earn.second_title')}\n <span>{l('component.creators_landing.earn.title_highlight')}</span>\n </EarnTitle>\n <EarnSubtitle>\n {l('component.creators_landing.earn.subtitle')}\n <SkillsContainer>\n {earnSkills.map(skill => (\n <SkillBadge key={skill}>{skill}</SkillBadge>\n ))}\n </SkillsContainer>\n </EarnSubtitle>\n <EarnActions>\n <EarnActionBlock sx={{ marginRight: { xs: 0, md: '80px' } }}>\n {l('component.creators_landing.earn.browse_creator_label')}\n <Button\n variant=\"contained\"\n component=\"a\"\n href={l('component.creators_landing.earn.browse_creator_url')}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n {l('component.creators_landing.earn.browse_creator_button')}\n </Button>\n </EarnActionBlock>\n <EarnActionBlock sx={{ marginTop: { xs: '33px', md: 0 } }}>\n {l('component.creators_landing.earn.are_you_creator_label')}\n <Button\n variant=\"outlined\"\n component=\"a\"\n href={l('component.creators_landing.earn.are_you_creator_url')}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n sx={{ backgroundColor: '#fff', color: '#43404a', ['&:hover']: { backgroundColor: '#e0e0e0' } }}\n >\n {l('component.creators_landing.earn.are_you_creator_button')}\n </Button>\n </EarnActionBlock>\n </EarnActions>\n </EarnContent>\n </EarnSection>\n </AnimatedSection>\n )\n})\n\nexport { CreatorsEarn }\n"],"names":["earnVideo","EarnSection","styled","theme","EarnBackground","Box","EarnContent","EarnTitle","Typography","EarnSubtitle","SkillsContainer","SkillBadge","EarnActions","EarnActionBlock","CreatorsEarn","memo","l","useFormatMessage","jsx","AnimatedSection","jsxs","Video","earnSkills","skill","Button"],"mappings":"6pBAAA,MAAAA,EAAe,+HCETC,EAAcC,EAAO,SAAS,EAAE,CAAC,CAAE,MAAAC,MAAa,CACpD,OAAQ,OACR,MAAO,OACP,SAAU,WACV,QAAS,OACT,cAAe,SACf,WAAY,SACZ,eAAgB,SAChB,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,OAAQ,OACR,QAAS,KAAKA,EAAM,QAAQ,CAAC,CAAC,EAAA,CAElC,EAAE,EAEIC,EAAiBF,EAAOG,CAAG,EAAE,CACjC,SAAU,WACV,IAAK,EACL,KAAM,EACN,MAAO,OACP,OAAQ,OACR,OAAQ,EACR,SAAU,SACT,WAAa,CACZ,QAAS,KACT,SAAU,WACV,IAAK,EACL,KAAM,EACN,MAAO,OACP,OAAQ,OACR,WACE,6IAAA,EAEH,UAAY,CACX,MAAO,OACP,OAAQ,OACR,UAAW,QACX,eAAgB,QAAA,CAEpB,CAAC,EAEKC,EAAcJ,EAAOG,CAAG,EAAE,CAC9B,SAAU,WACV,OAAQ,EACR,QAAS,OACT,cAAe,SACf,WAAY,SACZ,UAAW,QACb,CAAC,EAEKE,EAAYL,EAAOM,CAAU,EAAE,CAAC,CAAE,MAAAL,MAAa,CACnD,SAA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