@dcl/landing-site 0.5.1-24686484792.commit-e56f2bf → 0.5.1-24692282370.commit-1a6e5c1

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 (187) hide show
  1. package/assets/{AnimatedBackground-BbbuCmrW.js → AnimatedBackground-DVpktqVp.js} +2 -2
  2. package/assets/{AnimatedBackground-BbbuCmrW.js.map → AnimatedBackground-DVpktqVp.js.map} +1 -1
  3. package/assets/{AnimatedSection-CcAt5h6R.js → AnimatedSection-BLhE6NJp.js} +1 -1
  4. package/assets/{AnimatedSection-CcAt5h6R.js.map → AnimatedSection-BLhE6NJp.js.map} +1 -1
  5. package/assets/{ArrowBackIosNew-lqzUFZQL.js → ArrowBackIosNew-CCkNG9yi.js} +1 -1
  6. package/assets/{ArrowBackIosNew-lqzUFZQL.js.map → ArrowBackIosNew-CCkNG9yi.js.map} +1 -1
  7. package/assets/{AuthorPage-4inFQH2X.js → AuthorPage-D8_PRDI7.js} +1 -1
  8. package/assets/{AuthorPage-4inFQH2X.js.map → AuthorPage-D8_PRDI7.js.map} +1 -1
  9. package/assets/{Badges-DPcq_7dC.js → Badges-CoaVGqwO.js} +1 -1
  10. package/assets/{Badges-DPcq_7dC.js.map → Badges-CoaVGqwO.js.map} +1 -1
  11. package/assets/{BlogLayout-Bl9FID_L.js → BlogLayout-D9XGGawk.js} +1 -1
  12. package/assets/{BlogLayout-Bl9FID_L.js.map → BlogLayout-D9XGGawk.js.map} +1 -1
  13. package/assets/{BlogPage-4c8ZFzdw.js → BlogPage-CXKxWbag.js} +1 -1
  14. package/assets/{BlogPage-4c8ZFzdw.js.map → BlogPage-CXKxWbag.js.map} +1 -1
  15. package/assets/{CTAButton-D8_9d6Wu.js → CTAButton-BurlKFHL.js} +1 -1
  16. package/assets/{CTAButton-D8_9d6Wu.js.map → CTAButton-BurlKFHL.js.map} +1 -1
  17. package/assets/{CardContent-BQ0iSa2p.js → CardContent-BiDO6--E.js} +1 -1
  18. package/assets/{CardContent-BQ0iSa2p.js.map → CardContent-BiDO6--E.js.map} +1 -1
  19. package/assets/{CardMedia-B6PneSTk.js → CardMedia-P7V4G8Ao.js} +1 -1
  20. package/assets/{CardMedia-B6PneSTk.js.map → CardMedia-P7V4G8Ao.js.map} +1 -1
  21. package/assets/{Carousel-DJd7E-wq.js → Carousel-BR4vMJGd.js} +1 -1
  22. package/assets/{Carousel-DJd7E-wq.js.map → Carousel-BR4vMJGd.js.map} +1 -1
  23. package/assets/{CategoryPage-DNQI3nXz.js → CategoryPage-BPCoXot3.js} +1 -1
  24. package/assets/{CategoryPage-DNQI3nXz.js.map → CategoryPage-BPCoXot3.js.map} +1 -1
  25. package/assets/{CircleAndArrow-DIeWRbH9.js → CircleAndArrow-BuEJmlbN.js} +1 -1
  26. package/assets/{CircleAndArrow-DIeWRbH9.js.map → CircleAndArrow-BuEJmlbN.js.map} +1 -1
  27. package/assets/{CircularProgress-AsNM1BvH.js → CircularProgress-pomnkuJx.js} +1 -1
  28. package/assets/{CircularProgress-AsNM1BvH.js.map → CircularProgress-pomnkuJx.js.map} +1 -1
  29. package/assets/{ContentCopy-CDhBZqHF.js → ContentCopy-Dmqt7VDt.js} +1 -1
  30. package/assets/{ContentCopy-CDhBZqHF.js.map → ContentCopy-Dmqt7VDt.js.map} +1 -1
  31. package/assets/{CreateEventPage-NcQUT47j.js → CreateEventPage-Yf9dwFyI.js} +1 -1
  32. package/assets/CreateEventPage-Yf9dwFyI.js.map +1 -0
  33. package/assets/{CreatorHubDownload-y9x_B8ll.js → CreatorHubDownload-BmRXscv9.js} +1 -1
  34. package/assets/{CreatorHubDownload-y9x_B8ll.js.map → CreatorHubDownload-BmRXscv9.js.map} +1 -1
  35. package/assets/{CreatorHubDownloadSuccess-BP7MSbSp.js → CreatorHubDownloadSuccess-DUNF3ob1.js} +1 -1
  36. package/assets/{CreatorHubDownloadSuccess-BP7MSbSp.js.map → CreatorHubDownloadSuccess-DUNF3ob1.js.map} +1 -1
  37. package/assets/{DappsShell-HNAsXcn5.js → DappsShell-C8t4K0gM.js} +1 -1
  38. package/assets/{DappsShell-HNAsXcn5.js.map → DappsShell-C8t4K0gM.js.map} +1 -1
  39. package/assets/{DownloadSuccessLayout-COBp7A1N.js → DownloadSuccessLayout-BtszP84v.js} +1 -1
  40. package/assets/{DownloadSuccessLayout-COBp7A1N.js.map → DownloadSuccessLayout-BtszP84v.js.map} +1 -1
  41. package/assets/{Grow-eKASrvPe.js → Grow-BOVsEgO5.js} +1 -1
  42. package/assets/{Grow-eKASrvPe.js.map → Grow-BOVsEgO5.js.map} +1 -1
  43. package/assets/HomePage-Cuim8IQO.js +3 -0
  44. package/assets/HomePage-Cuim8IQO.js.map +1 -0
  45. package/assets/{InviteFaqs-BkOvxqyN.js → InviteFaqs-Dednx3YH.js} +1 -1
  46. package/assets/{InviteFaqs-BkOvxqyN.js.map → InviteFaqs-Dednx3YH.js.map} +1 -1
  47. package/assets/{InvitePage-D5lELZNP.js → InvitePage-Dh4saTGB.js} +2 -2
  48. package/assets/{InvitePage-D5lELZNP.js.map → InvitePage-Dh4saTGB.js.map} +1 -1
  49. package/assets/{JumpInIcon-bPOWl5ae.js → JumpInIcon-DubYMzvy.js} +1 -1
  50. package/assets/{JumpInIcon-bPOWl5ae.js.map → JumpInIcon-DubYMzvy.js.map} +1 -1
  51. package/assets/{LegalPageLayout-DeH35WpT.js → LegalPageLayout-hVF919wE.js} +1 -1
  52. package/assets/{LegalPageLayout-DeH35WpT.js.map → LegalPageLayout-hVF919wE.js.map} +1 -1
  53. package/assets/{Link-C3GGl2C6.js → Link-CUGXIwgr.js} +1 -1
  54. package/assets/{Link-C3GGl2C6.js.map → Link-CUGXIwgr.js.map} +1 -1
  55. package/assets/{MenuItem-B0piwgTa.js → MenuItem-DuGK0OxB.js} +1 -1
  56. package/assets/{MenuItem-B0piwgTa.js.map → MenuItem-DuGK0OxB.js.map} +1 -1
  57. package/assets/{Paper-BfSYUoim.js → Paper-eMTGRWtM.js} +1 -1
  58. package/assets/{Paper-BfSYUoim.js.map → Paper-eMTGRWtM.js.map} +1 -1
  59. package/assets/{PostCard-Zsk0_WYz.js → PostCard-kjSmPWWO.js} +1 -1
  60. package/assets/{PostCard-Zsk0_WYz.js.map → PostCard-kjSmPWWO.js.map} +1 -1
  61. package/assets/{PostPage-FBb63V37.js → PostPage-BlhpX6oD.js} +1 -1
  62. package/assets/{PostPage-FBb63V37.js.map → PostPage-BlhpX6oD.js.map} +1 -1
  63. package/assets/{PostPage.styled-B7Xofl3c.js → PostPage.styled-Po3WWoh-.js} +3 -3
  64. package/assets/{PostPage.styled-B7Xofl3c.js.map → PostPage.styled-Po3WWoh-.js.map} +1 -1
  65. package/assets/{PreviewPage-Dla6vQZW.js → PreviewPage-n3uTSCXI.js} +1 -1
  66. package/assets/{PreviewPage-Dla6vQZW.js.map → PreviewPage-n3uTSCXI.js.map} +1 -1
  67. package/assets/{SEO-CGGKu_zm.js → SEO-DwbA3w8I.js} +1 -1
  68. package/assets/{SEO-CGGKu_zm.js.map → SEO-DwbA3w8I.js.map} +1 -1
  69. package/assets/{SearchPage-ByMcz1c8.js → SearchPage-DI4jZ-5r.js} +1 -1
  70. package/assets/{SearchPage-ByMcz1c8.js.map → SearchPage-DI4jZ-5r.js.map} +1 -1
  71. package/assets/{SignInRedirect-Bxl1dwag.js → SignInRedirect-B5d-ThV0.js} +1 -1
  72. package/assets/{SignInRedirect-Bxl1dwag.js.map → SignInRedirect-B5d-ThV0.js.map} +1 -1
  73. package/assets/{SignInRedirect-BNwfxyGB.js → SignInRedirect-BG6hu62E.js} +1 -1
  74. package/assets/{SignInRedirect-BNwfxyGB.js.map → SignInRedirect-BG6hu62E.js.map} +1 -1
  75. package/assets/{Skeleton-BP1Os8gY.js → Skeleton-L6NTNEwq.js} +1 -1
  76. package/assets/{Skeleton-BP1Os8gY.js.map → Skeleton-L6NTNEwq.js.map} +1 -1
  77. package/assets/{TwitterEmbed-BbSYYog-.js → TwitterEmbed-NxuXdAtw.js} +1 -1
  78. package/assets/{TwitterEmbed-BbSYYog-.js.map → TwitterEmbed-NxuXdAtw.js.map} +1 -1
  79. package/assets/{Video--A0fBGqz.js → Video-DfjlIy5m.js} +1 -1
  80. package/assets/{Video--A0fBGqz.js.map → Video-DfjlIy5m.js.map} +1 -1
  81. package/assets/WearablePreview-DMBKL_Ll.js +4 -0
  82. package/assets/{WearablePreview-KunRQByO.js.map → WearablePreview-DMBKL_Ll.js.map} +1 -1
  83. package/assets/{auto-track-DJw7KsLA.js → auto-track-CGclljni.js} +1 -1
  84. package/assets/{auto-track-DJw7KsLA.js.map → auto-track-CGclljni.js.map} +1 -1
  85. package/assets/{ccip-EHA4QwVS.js → ccip-DAt5iVuT.js} +1 -1
  86. package/assets/{ccip-EHA4QwVS.js.map → ccip-DAt5iVuT.js.map} +1 -1
  87. package/assets/{createSvgIcon-CnAtXIjx.js → createSvgIcon-BhhLusxy.js} +1 -1
  88. package/assets/{createSvgIcon-CnAtXIjx.js.map → createSvgIcon-BhhLusxy.js.map} +1 -1
  89. package/assets/{download-Csh0UAX4.js → download-CvDMtlSB.js} +2 -2
  90. package/assets/{download-Csh0UAX4.js.map → download-CvDMtlSB.js.map} +1 -1
  91. package/assets/{downloadWithIdentity-imzC-1Iy.js → downloadWithIdentity-DCM4BBHV.js} +1 -1
  92. package/assets/{downloadWithIdentity-imzC-1Iy.js.map → downloadWithIdentity-DCM4BBHV.js.map} +1 -1
  93. package/assets/{events.client-BypQp_hx.js → events.client-PE8SGazl.js} +1 -1
  94. package/assets/events.client-PE8SGazl.js.map +1 -0
  95. package/assets/host_avatar-Gho9W3pF.webp +0 -0
  96. package/assets/host_scene-BStngEfA.webp +0 -0
  97. package/assets/{index-CqU_IKja.js → index-4jeILFtC.js} +1 -1
  98. package/assets/{index-CqU_IKja.js.map → index-4jeILFtC.js.map} +1 -1
  99. package/assets/{index-BzmWmDt2.js → index-B3vFLEhz.js} +1 -1
  100. package/assets/{index-BzmWmDt2.js.map → index-B3vFLEhz.js.map} +1 -1
  101. package/assets/{index-FcfsIuei.js → index-B4891LJN.js} +1 -1
  102. package/assets/{index-FcfsIuei.js.map → index-B4891LJN.js.map} +1 -1
  103. package/assets/{index-Hs2OtJ7_.js → index-B9yrTavV.js} +1 -1
  104. package/assets/{index-Hs2OtJ7_.js.map → index-B9yrTavV.js.map} +1 -1
  105. package/assets/{index-CJ9b6HdV.js → index-BLHhkq_E.js} +1 -1
  106. package/assets/{index-CJ9b6HdV.js.map → index-BLHhkq_E.js.map} +1 -1
  107. package/assets/{index-DV8UooZK.js → index-BMXADetK.js} +1 -1
  108. package/assets/{index-DV8UooZK.js.map → index-BMXADetK.js.map} +1 -1
  109. package/assets/{index-iTL2dY0l.js → index-BkJ8YBkm.js} +1 -1
  110. package/assets/{index-iTL2dY0l.js.map → index-BkJ8YBkm.js.map} +1 -1
  111. package/assets/{index-DwKCx_Fj.js → index-BlsbAsbV.js} +17 -17
  112. package/assets/{index-DwKCx_Fj.js.map → index-BlsbAsbV.js.map} +1 -1
  113. package/assets/{index-DUmIu2EK.js → index-BoINd_2w.js} +29 -29
  114. package/assets/{index-DUmIu2EK.js.map → index-BoINd_2w.js.map} +1 -1
  115. package/assets/{index-BtL1Whr6.js → index-C6X9yhDI.js} +1 -1
  116. package/assets/{index-BtL1Whr6.js.map → index-C6X9yhDI.js.map} +1 -1
  117. package/assets/{index-KkMZZ6nz.js → index-C6gBuUpB.js} +1 -1
  118. package/assets/{index-KkMZZ6nz.js.map → index-C6gBuUpB.js.map} +1 -1
  119. package/assets/{index-CfKiEnnb.js → index-CFdZJosQ.js} +1 -1
  120. package/assets/{index-CfKiEnnb.js.map → index-CFdZJosQ.js.map} +1 -1
  121. package/assets/{index-BKY10VNY.js → index-COhuG0UZ.js} +1 -1
  122. package/assets/{index-BKY10VNY.js.map → index-COhuG0UZ.js.map} +1 -1
  123. package/assets/{index-BVu5N7d0.js → index-CXg_mAxU.js} +1 -1
  124. package/assets/{index-BVu5N7d0.js.map → index-CXg_mAxU.js.map} +1 -1
  125. package/assets/{index-DW87VeBc.js → index-C_GsQ0sm.js} +1 -1
  126. package/assets/{index-DW87VeBc.js.map → index-C_GsQ0sm.js.map} +1 -1
  127. package/assets/{index-pguZ7Pr7.js → index-CaK85mwB.js} +2 -2
  128. package/assets/{index-pguZ7Pr7.js.map → index-CaK85mwB.js.map} +1 -1
  129. package/assets/{index-B-PLjKpI.js → index-CwtsGcw-.js} +1 -1
  130. package/assets/{index-B-PLjKpI.js.map → index-CwtsGcw-.js.map} +1 -1
  131. package/assets/index-D1E7QSbi.js +1 -0
  132. package/assets/index-D1E7QSbi.js.map +1 -0
  133. package/assets/{index-CC8b5SLA.js → index-DCRycbXf.js} +1 -1
  134. package/assets/{index-CC8b5SLA.js.map → index-DCRycbXf.js.map} +1 -1
  135. package/assets/{index-XwRFjo-F.js → index-DCk4IgWe.js} +3 -3
  136. package/assets/{index-XwRFjo-F.js.map → index-DCk4IgWe.js.map} +1 -1
  137. package/assets/{index-CsY_wahP.js → index-DNB0OcQp.js} +1 -1
  138. package/assets/{index-CsY_wahP.js.map → index-DNB0OcQp.js.map} +1 -1
  139. package/assets/{index-DJdpP3iF.js → index-DYASHZBv.js} +1 -1
  140. package/assets/{index-DJdpP3iF.js.map → index-DYASHZBv.js.map} +1 -1
  141. package/assets/{index-CXMTgMUj.js → index-DgH2pgVp.js} +1 -1
  142. package/assets/{index-CXMTgMUj.js.map → index-DgH2pgVp.js.map} +1 -1
  143. package/assets/{index-DIU7xr_7.js → index-DjSZxWiq.js} +1 -1
  144. package/assets/{index-DIU7xr_7.js.map → index-DjSZxWiq.js.map} +1 -1
  145. package/assets/{index-fmnLygLZ.js → index-DuA-Kgw5.js} +1 -1
  146. package/assets/{index-fmnLygLZ.js.map → index-DuA-Kgw5.js.map} +1 -1
  147. package/assets/{index-Bd63106P.js → index-DvGiXclv.js} +1 -1
  148. package/assets/{index-Bd63106P.js.map → index-DvGiXclv.js.map} +1 -1
  149. package/assets/{index-Bfn0rTR9.js → index-IqQ1Xbmj.js} +1 -1
  150. package/assets/{index-Bfn0rTR9.js.map → index-IqQ1Xbmj.js.map} +1 -1
  151. package/assets/{index-BO6ciUn8.js → index-Oddt0EKb.js} +1 -1
  152. package/assets/{index-BO6ciUn8.js.map → index-Oddt0EKb.js.map} +1 -1
  153. package/assets/{index-Bq7PojkE.js → index-_IheZrQS.js} +1 -1
  154. package/assets/{index-Bq7PojkE.js.map → index-_IheZrQS.js.map} +1 -1
  155. package/assets/{index-Dx9lzInm.js → index-behXzsxg.js} +1 -1
  156. package/assets/{index-Dx9lzInm.js.map → index-behXzsxg.js.map} +1 -1
  157. package/assets/{index-0VgKmd34.js → index-xHmg3xmQ.js} +1 -1
  158. package/assets/{index-0VgKmd34.js.map → index-xHmg3xmQ.js.map} +1 -1
  159. package/assets/{index-BaEE4ZXP.js → index-z5rocGN5.js} +1 -1
  160. package/assets/{index-BaEE4ZXP.js.map → index-z5rocGN5.js.map} +1 -1
  161. package/assets/{profile.client-BtZZbgxj.js → profile.client-S1Y6pP0E.js} +1 -1
  162. package/assets/{profile.client-BtZZbgxj.js.map → profile.client-S1Y6pP0E.js.map} +1 -1
  163. package/assets/{shared.styled-D8qloAmp.js → shared.styled-BEvUV04u.js} +1 -1
  164. package/assets/{shared.styled-D8qloAmp.js.map → shared.styled-BEvUV04u.js.map} +1 -1
  165. package/assets/{store-OyTPwmKI.js → store-BtCGqC_U.js} +1 -1
  166. package/assets/{store-OyTPwmKI.js.map → store-BtCGqC_U.js.map} +1 -1
  167. package/assets/{url-BHzlJYXC.js → url-DZWf7pg7.js} +1 -1
  168. package/assets/{url-BHzlJYXC.js.map → url-DZWf7pg7.js.map} +1 -1
  169. package/assets/{useAuthIdentity-D2zQ3q5X.js → useAuthIdentity-C7IfvUJD.js} +1 -1
  170. package/assets/{useAuthIdentity-D2zQ3q5X.js.map → useAuthIdentity-C7IfvUJD.js.map} +1 -1
  171. package/assets/{useCreatorHubDownload-Dp_zMaiv.js → useCreatorHubDownload-Ci_tHGLN.js} +1 -1
  172. package/assets/{useCreatorHubDownload-Dp_zMaiv.js.map → useCreatorHubDownload-Ci_tHGLN.js.map} +1 -1
  173. package/assets/{useInfiniteBlogPosts-B9Mv_Fup.js → useInfiniteBlogPosts-q1OZMXQO.js} +1 -1
  174. package/assets/{useInfiniteBlogPosts-B9Mv_Fup.js.map → useInfiniteBlogPosts-q1OZMXQO.js.map} +1 -1
  175. package/assets/{useSlot-DM_UQPu8.js → useSlot-BXUbg59Y.js} +1 -1
  176. package/assets/{useSlot-DM_UQPu8.js.map → useSlot-BXUbg59Y.js.map} +1 -1
  177. package/assets/{utils-CJGePSnj.js → utils-BmJLp6Wz.js} +1 -1
  178. package/assets/{utils-CJGePSnj.js.map → utils-BmJLp6Wz.js.map} +1 -1
  179. package/index.html +15 -15
  180. package/package.json +3 -3
  181. package/assets/CreateEventPage-NcQUT47j.js.map +0 -1
  182. package/assets/HomePage-CZwkfB5G.js +0 -3
  183. package/assets/HomePage-CZwkfB5G.js.map +0 -1
  184. package/assets/WearablePreview-KunRQByO.js +0 -4
  185. package/assets/events.client-BypQp_hx.js.map +0 -1
  186. package/assets/index-C1apFG92.js +0 -1
  187. package/assets/index-C1apFG92.js.map +0 -1
@@ -1 +1 @@
1
- import{s as i,v as a,a as r,w as g,j as e}from"./index-DUmIu2EK.js";import{r as s}from"./vendor-router-D_36sTKu.js";import{C as m}from"./Carousel-DJd7E-wq.js";import{A as h}from"./AnimatedSection-CcAt5h6R.js";import{c as x}from"./index-XwRFjo-F.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-Dp_zMaiv.js";import"./file-Cr_gl9BS.js";import"./url-BHzlJYXC.js";import"./index-BaEE4ZXP.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-D8_9d6Wu.js";import"./CircularProgress-AsNM1BvH.js";import"./Video--A0fBGqz.js";const f=i("section")(({theme:t})=>({display:"flex",flexDirection:"column",gap:"1em",width:"100%",marginTop:40,marginBottom:40,padding:0,position:"relative",[t.breakpoints.down("sm")]:{paddingLeft:t.spacing(4),paddingRight:t.spacing(4),overflow:"hidden"}})),b=i(a)(({theme:t})=>({textAlign:"center",fontSize:48,fontWeight:600,lineHeight:"77px",color:"#fcfcfc",marginTop:0,marginBottom:32,maxWidth:"80vw",marginLeft:"auto",marginRight:"auto","& span":{background:"linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},[t.breakpoints.down("sm")]:{fontSize:32,lineHeight:"40px",letterSpacing:"-0.64px"}})),u=i(r)(({theme:t})=>({display:"flex",flexDirection:"row",background:"#242129",borderRadius:24,width:"100%",height:"100%",padding:32,alignItems:"center",[t.breakpoints.down("md")]:{flexDirection:"column",height:"auto",width:"100%",padding:0}})),k=i(r,{shouldForwardProp:t=>t!=="bgImage"})(({theme:t,bgImage:o})=>({height:"100%",flexShrink:0,backgroundImage:`url(${o})`,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover",marginRight:24,width:"35%",minHeight:530,borderRadius:16,transition:"transform 0.3s ease-in-out","& img":{width:"100%",height:"100%",objectFit:"contain"},"@media (hover: hover)":{"&:hover":{transform:"scale(1.05)"}},[t.breakpoints.down("md")]:{height:223,minHeight:223,width:"100%",backgroundSize:"100%",borderRadius:"24px 24px 0 0",marginRight:0,position:"relative",overflow:"hidden","& img":{width:"auto",height:"100%",transform:"translate(-50%, -50%)",position:"absolute",left:"50%",top:"50%"}}})),j=i(r)(({theme:t})=>({display:"flex",flexDirection:"column",justifyContent:"flex-start",width:"calc(65% - 24px)",[t.breakpoints.down("md")]:{padding:"32px 0",margin:"0 8px 8px",width:"calc(100% - 16px)"}})),C=i(a)(({theme:t})=>({fontSize:24,fontWeight:600,lineHeight:"30px",marginBottom:8,[t.breakpoints.down("lg")]:{fontSize:20,lineHeight:"16px"}})),w=i(a)(({theme:t})=>({color:"#a09ba8",fontSize:18,fontWeight:400,lineHeight:"24px",marginBottom:16,marginTop:0,[t.breakpoints.down("lg")]:{fontSize:16}})),S=i(r)({display:"flex",flexDirection:"column"}),B=i(r)(({theme:t})=>({display:"flex",borderBottom:"none",height:24,marginBottom:24,[t.breakpoints.down("sm")]:{justifyContent:"center",marginBottom:24}})),c=i("button",{shouldForwardProp:t=>t!=="isActive"})(({theme:t,isActive:o})=>({background:"none",border:"none",borderBottom:o?"2px solid #fff":"2px solid transparent",color:o?"#fff":"#716b7c",textTransform:"uppercase",fontSize:14,lineHeight:"16px",padding:"0 0 8px",marginRight:24,fontWeight:o?600:500,cursor:"pointer",outline:"none","&:focus-visible":{outline:`2px solid ${t.palette.primary.main}`,outlineOffset:2},[t.breakpoints.down("sm")]:{padding:"8px 0 0",fontSize:16,marginRight:16}})),l=i(r)({borderRadius:16,background:"#43404a80",padding:"16px 24px",marginBottom:8,"&:last-child":{marginBottom:0}}),d=i(a)({fontSize:18,lineHeight:"20px",fontWeight:500,marginBottom:12}),T=i(a)({color:"#cfcdd4",fontSize:18,fontWeight:400,lineHeight:"24px",marginBottom:0}),v=i(r)({display:"flex",flexWrap:"wrap"}),y=i(r)({padding:"8px 16px",borderRadius:16,marginRight:8,marginBottom:8,background:"#43404a",fontSize:13,fontWeight:600,lineHeight:"normal",textTransform:"uppercase"}),z=i(r)(({theme:t})=>({display:"flex",flexWrap:"wrap",flexDirection:"row",[t.breakpoints.down("md")]:{flexDirection:"column"}})),R=i("a")({fontSize:16,lineHeight:"24px",fontWeight:500,textDecorationLine:"underline",color:"#ffa25a",width:"50%",marginBottom:8,display:"block","&:hover, &:active, &:visited, &:focus":{color:"#ffa25a"}}),p=s.memo(({tab:t})=>{const o=g();return e.jsxs(e.Fragment,{children:[e.jsxs(l,{children:[e.jsx(d,{children:t.descriptionTitle}),e.jsx(T,{children:t.descriptionSubTitle})]}),e.jsxs(l,{children:[e.jsx(d,{children:o("component.creators_landing.create.tab.required_skills")}),e.jsx(v,{children:t.skills.map(n=>e.jsx(y,{children:n},n))})]}),e.jsxs(l,{children:[e.jsx(d,{children:o("component.creators_landing.create.tab.useful_links")}),e.jsx(z,{children:t.links.map(n=>e.jsx(R,{href:n.url,target:"_blank",rel:"noopener noreferrer",children:n.label},n.url))})]})]})}),W=s.memo(({card:t})=>{const[o,n]=s.useState(t.tab1.title);return e.jsxs(u,{children:[e.jsx(k,{bgImage:t.imageBackground,children:e.jsx("img",{src:t.image,alt:t.title})}),e.jsxs(j,{children:[e.jsx(C,{children:t.title}),e.jsx(w,{children:t.description}),e.jsxs(S,{children:[t.tab2&&e.jsxs(B,{children:[e.jsx(c,{isActive:o===t.tab1.title,onClick:()=>n(t.tab1.title),children:t.tab1.title}),e.jsx(c,{isActive:o===t.tab2.title,onClick:()=>n(t.tab2.title),children:t.tab2.title})]}),o===t.tab1.title&&e.jsx(p,{tab:t.tab1}),t.tab2&&o===t.tab2.title&&e.jsx(p,{tab:t.tab2})]})]})]})}),H=t=>e.jsx(W,{card:t}),I=t=>t.id,X=s.memo(()=>{const t=g();return e.jsx(h,{children:e.jsxs(f,{children:[e.jsxs(b,{children:[t("component.creators_landing.create.title"),e.jsx("span",{children:t("component.creators_landing.create.title_highlight")}),t("component.creators_landing.create.title_second_part")]}),e.jsx(m,{items:x,renderItem:H,keyExtractor:I,slideWidth:1200,autoplayDelay:0})]})})});export{X as CreatorsCreate};
1
+ import{s as i,v as a,a as r,w as g,j as e}from"./index-BoINd_2w.js";import{r as s}from"./vendor-router-D_36sTKu.js";import{C as m}from"./Carousel-BR4vMJGd.js";import{A as h}from"./AnimatedSection-BLhE6NJp.js";import{c as x}from"./index-DCk4IgWe.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-Ci_tHGLN.js";import"./file-Cr_gl9BS.js";import"./url-DZWf7pg7.js";import"./index-z5rocGN5.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-BurlKFHL.js";import"./CircularProgress-pomnkuJx.js";import"./Video-DfjlIy5m.js";const f=i("section")(({theme:t})=>({display:"flex",flexDirection:"column",gap:"1em",width:"100%",marginTop:40,marginBottom:40,padding:0,position:"relative",[t.breakpoints.down("sm")]:{paddingLeft:t.spacing(4),paddingRight:t.spacing(4),overflow:"hidden"}})),b=i(a)(({theme:t})=>({textAlign:"center",fontSize:48,fontWeight:600,lineHeight:"77px",color:"#fcfcfc",marginTop:0,marginBottom:32,maxWidth:"80vw",marginLeft:"auto",marginRight:"auto","& span":{background:"linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},[t.breakpoints.down("sm")]:{fontSize:32,lineHeight:"40px",letterSpacing:"-0.64px"}})),u=i(r)(({theme:t})=>({display:"flex",flexDirection:"row",background:"#242129",borderRadius:24,width:"100%",height:"100%",padding:32,alignItems:"center",[t.breakpoints.down("md")]:{flexDirection:"column",height:"auto",width:"100%",padding:0}})),k=i(r,{shouldForwardProp:t=>t!=="bgImage"})(({theme:t,bgImage:o})=>({height:"100%",flexShrink:0,backgroundImage:`url(${o})`,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover",marginRight:24,width:"35%",minHeight:530,borderRadius:16,transition:"transform 0.3s ease-in-out","& img":{width:"100%",height:"100%",objectFit:"contain"},"@media (hover: hover)":{"&:hover":{transform:"scale(1.05)"}},[t.breakpoints.down("md")]:{height:223,minHeight:223,width:"100%",backgroundSize:"100%",borderRadius:"24px 24px 0 0",marginRight:0,position:"relative",overflow:"hidden","& img":{width:"auto",height:"100%",transform:"translate(-50%, -50%)",position:"absolute",left:"50%",top:"50%"}}})),j=i(r)(({theme:t})=>({display:"flex",flexDirection:"column",justifyContent:"flex-start",width:"calc(65% - 24px)",[t.breakpoints.down("md")]:{padding:"32px 0",margin:"0 8px 8px",width:"calc(100% - 16px)"}})),C=i(a)(({theme:t})=>({fontSize:24,fontWeight:600,lineHeight:"30px",marginBottom:8,[t.breakpoints.down("lg")]:{fontSize:20,lineHeight:"16px"}})),w=i(a)(({theme:t})=>({color:"#a09ba8",fontSize:18,fontWeight:400,lineHeight:"24px",marginBottom:16,marginTop:0,[t.breakpoints.down("lg")]:{fontSize:16}})),S=i(r)({display:"flex",flexDirection:"column"}),B=i(r)(({theme:t})=>({display:"flex",borderBottom:"none",height:24,marginBottom:24,[t.breakpoints.down("sm")]:{justifyContent:"center",marginBottom:24}})),c=i("button",{shouldForwardProp:t=>t!=="isActive"})(({theme:t,isActive:o})=>({background:"none",border:"none",borderBottom:o?"2px solid #fff":"2px solid transparent",color:o?"#fff":"#716b7c",textTransform:"uppercase",fontSize:14,lineHeight:"16px",padding:"0 0 8px",marginRight:24,fontWeight:o?600:500,cursor:"pointer",outline:"none","&:focus-visible":{outline:`2px solid ${t.palette.primary.main}`,outlineOffset:2},[t.breakpoints.down("sm")]:{padding:"8px 0 0",fontSize:16,marginRight:16}})),l=i(r)({borderRadius:16,background:"#43404a80",padding:"16px 24px",marginBottom:8,"&:last-child":{marginBottom:0}}),d=i(a)({fontSize:18,lineHeight:"20px",fontWeight:500,marginBottom:12}),T=i(a)({color:"#cfcdd4",fontSize:18,fontWeight:400,lineHeight:"24px",marginBottom:0}),v=i(r)({display:"flex",flexWrap:"wrap"}),y=i(r)({padding:"8px 16px",borderRadius:16,marginRight:8,marginBottom:8,background:"#43404a",fontSize:13,fontWeight:600,lineHeight:"normal",textTransform:"uppercase"}),z=i(r)(({theme:t})=>({display:"flex",flexWrap:"wrap",flexDirection:"row",[t.breakpoints.down("md")]:{flexDirection:"column"}})),R=i("a")({fontSize:16,lineHeight:"24px",fontWeight:500,textDecorationLine:"underline",color:"#ffa25a",width:"50%",marginBottom:8,display:"block","&:hover, &:active, &:visited, &:focus":{color:"#ffa25a"}}),p=s.memo(({tab:t})=>{const o=g();return e.jsxs(e.Fragment,{children:[e.jsxs(l,{children:[e.jsx(d,{children:t.descriptionTitle}),e.jsx(T,{children:t.descriptionSubTitle})]}),e.jsxs(l,{children:[e.jsx(d,{children:o("component.creators_landing.create.tab.required_skills")}),e.jsx(v,{children:t.skills.map(n=>e.jsx(y,{children:n},n))})]}),e.jsxs(l,{children:[e.jsx(d,{children:o("component.creators_landing.create.tab.useful_links")}),e.jsx(z,{children:t.links.map(n=>e.jsx(R,{href:n.url,target:"_blank",rel:"noopener noreferrer",children:n.label},n.url))})]})]})}),W=s.memo(({card:t})=>{const[o,n]=s.useState(t.tab1.title);return e.jsxs(u,{children:[e.jsx(k,{bgImage:t.imageBackground,children:e.jsx("img",{src:t.image,alt:t.title})}),e.jsxs(j,{children:[e.jsx(C,{children:t.title}),e.jsx(w,{children:t.description}),e.jsxs(S,{children:[t.tab2&&e.jsxs(B,{children:[e.jsx(c,{isActive:o===t.tab1.title,onClick:()=>n(t.tab1.title),children:t.tab1.title}),e.jsx(c,{isActive:o===t.tab2.title,onClick:()=>n(t.tab2.title),children:t.tab2.title})]}),o===t.tab1.title&&e.jsx(p,{tab:t.tab1}),t.tab2&&o===t.tab2.title&&e.jsx(p,{tab:t.tab2})]})]})]})}),H=t=>e.jsx(W,{card:t}),I=t=>t.id,X=s.memo(()=>{const t=g();return e.jsx(h,{children:e.jsxs(f,{children:[e.jsxs(b,{children:[t("component.creators_landing.create.title"),e.jsx("span",{children:t("component.creators_landing.create.title_highlight")}),t("component.creators_landing.create.title_second_part")]}),e.jsx(m,{items:x,renderItem:H,keyExtractor:I,slideWidth:1200,autoplayDelay:0})]})})});export{X as CreatorsCreate};
@@ -1 +1 @@
1
- {"version":3,"file":"index-BtL1Whr6.js","sources":["../../src/components/Create/CreateCards/CreateCards.styled.ts","../../src/components/Create/CreateCards/CreateCards.tsx"],"sourcesContent":["import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst CreateSection = styled('section')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: '1em',\n width: '100%',\n marginTop: 40,\n marginBottom: 40,\n padding: 0,\n position: 'relative',\n [theme.breakpoints.down('sm')]: {\n paddingLeft: theme.spacing(4),\n paddingRight: theme.spacing(4),\n overflow: 'hidden'\n }\n}))\n\nconst CreateTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 48,\n fontWeight: 600,\n lineHeight: '77px',\n color: '#fcfcfc',\n marginTop: 0,\n marginBottom: 32,\n maxWidth: '80vw',\n marginLeft: 'auto',\n marginRight: 'auto',\n ['& span']: {\n background: 'linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)',\n backgroundClip: 'text',\n ['WebkitBackgroundClip' as string]: 'text',\n ['WebkitTextFillColor' as string]: 'transparent'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 32,\n lineHeight: '40px',\n letterSpacing: '-0.64px'\n }\n}))\n\nconst CreateCardContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'row',\n background: '#242129',\n borderRadius: 24,\n width: '100%',\n height: '100%',\n padding: 32,\n alignItems: 'center',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n height: 'auto',\n width: '100%',\n padding: 0\n }\n}))\n\nconst CreateCardImage = styled(Box, {\n shouldForwardProp: prop => prop !== 'bgImage'\n})<{ bgImage: string }>(({ theme, bgImage }) => ({\n height: '100%',\n flexShrink: 0,\n backgroundImage: `url(${bgImage})`,\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n marginRight: 24,\n width: '35%',\n minHeight: 530,\n borderRadius: 16,\n transition: 'transform 0.3s ease-in-out',\n ['& img']: {\n width: '100%',\n height: '100%',\n objectFit: 'contain'\n },\n ['@media (hover: hover)']: {\n ['&:hover']: {\n transform: 'scale(1.05)'\n }\n },\n [theme.breakpoints.down('md')]: {\n height: 223,\n minHeight: 223,\n width: '100%',\n backgroundSize: '100%',\n borderRadius: '24px 24px 0 0',\n marginRight: 0,\n position: 'relative',\n overflow: 'hidden',\n ['& img']: {\n width: 'auto',\n height: '100%',\n transform: 'translate(-50%, -50%)',\n position: 'absolute',\n left: '50%',\n top: '50%'\n }\n }\n}))\n\nconst CreateCardInfo = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'flex-start',\n width: 'calc(65% - 24px)',\n [theme.breakpoints.down('md')]: {\n padding: '32px 0',\n margin: '0 8px 8px',\n width: 'calc(100% - 16px)'\n }\n}))\n\nconst CreateCardTitle = styled(Typography)(({ theme }) => ({\n fontSize: 24,\n fontWeight: 600,\n lineHeight: '30px',\n marginBottom: 8,\n [theme.breakpoints.down('lg')]: {\n fontSize: 20,\n lineHeight: '16px'\n }\n}))\n\nconst CreateCardDescription = styled(Typography)(({ theme }) => ({\n color: '#a09ba8',\n fontSize: 18,\n fontWeight: 400,\n lineHeight: '24px',\n marginBottom: 16,\n marginTop: 0,\n [theme.breakpoints.down('lg')]: {\n fontSize: 16\n }\n}))\n\nconst TabContainer = styled(Box)({\n display: 'flex',\n flexDirection: 'column'\n})\n\nconst TabButtons = styled(Box)(({ theme }) => ({\n display: 'flex',\n borderBottom: 'none',\n height: 24,\n marginBottom: 24,\n [theme.breakpoints.down('sm')]: {\n justifyContent: 'center',\n marginBottom: 24\n }\n}))\n\nconst TabButton = styled('button', {\n shouldForwardProp: prop => prop !== 'isActive'\n})<{ isActive: boolean }>(({ theme, isActive }) => ({\n background: 'none',\n border: 'none',\n borderBottom: isActive ? '2px solid #fff' : '2px solid transparent',\n color: isActive ? '#fff' : '#716b7c',\n textTransform: 'uppercase',\n fontSize: 14,\n lineHeight: '16px',\n padding: '0 0 8px',\n marginRight: 24,\n fontWeight: isActive ? 600 : 500,\n cursor: 'pointer',\n outline: 'none',\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n [theme.breakpoints.down('sm')]: {\n padding: '8px 0 0',\n fontSize: 16,\n marginRight: 16\n }\n}))\n\nconst TabInfoBlock = styled(Box)({\n borderRadius: 16,\n background: '#43404a80',\n padding: '16px 24px',\n marginBottom: 8,\n ['&:last-child']: {\n marginBottom: 0\n }\n})\n\nconst TabInfoTitle = styled(Typography)({\n fontSize: 18,\n lineHeight: '20px',\n fontWeight: 500,\n marginBottom: 12\n})\n\nconst TabInfoSubtitle = styled(Typography)({\n color: '#cfcdd4',\n fontSize: 18,\n fontWeight: 400,\n lineHeight: '24px',\n marginBottom: 0\n})\n\nconst SkillsContainer = styled(Box)({\n display: 'flex',\n flexWrap: 'wrap'\n})\n\nconst SkillBadge = styled(Box)({\n padding: '8px 16px',\n borderRadius: 16,\n marginRight: 8,\n marginBottom: 8,\n background: '#43404a',\n fontSize: 13,\n fontWeight: 600,\n lineHeight: 'normal',\n textTransform: 'uppercase'\n})\n\nconst LinksContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexWrap: 'wrap',\n flexDirection: 'row',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column'\n }\n}))\n\nconst LinkItem = styled('a')({\n fontSize: 16,\n lineHeight: '24px',\n fontWeight: 500,\n textDecorationLine: 'underline',\n color: '#ffa25a',\n width: '50%',\n marginBottom: 8,\n display: 'block',\n ['&:hover, &:active, &:visited, &:focus']: {\n color: '#ffa25a'\n }\n})\n\nexport {\n CreateCardContainer,\n CreateCardDescription,\n CreateCardImage,\n CreateCardInfo,\n CreateCardTitle,\n CreateSection,\n CreateTitle,\n LinkItem,\n LinksContainer,\n SkillBadge,\n SkillsContainer,\n TabButton,\n TabButtons,\n TabContainer,\n TabInfoBlock,\n TabInfoSubtitle,\n TabInfoTitle\n}\n","import { memo, useState } from 'react'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { Carousel } from '../../Carousel'\nimport { AnimatedSection } from '../AnimatedSection'\nimport { createCards } from '../data'\nimport type { CreateCardData, CreateCardTab } from '../data'\nimport {\n CreateCardContainer,\n CreateCardDescription,\n CreateCardImage,\n CreateCardInfo,\n CreateCardTitle,\n CreateSection,\n CreateTitle,\n LinkItem,\n LinksContainer,\n SkillBadge,\n SkillsContainer,\n TabButton,\n TabButtons,\n TabContainer,\n TabInfoBlock,\n TabInfoSubtitle,\n TabInfoTitle\n} from './CreateCards.styled'\n\ntype CreateTabContentProps = {\n tab: CreateCardTab\n}\n\nconst CreateTabContent = memo(({ tab }: CreateTabContentProps) => {\n const l = useFormatMessage()\n\n return (\n <>\n <TabInfoBlock>\n <TabInfoTitle>{tab.descriptionTitle}</TabInfoTitle>\n <TabInfoSubtitle>{tab.descriptionSubTitle}</TabInfoSubtitle>\n </TabInfoBlock>\n <TabInfoBlock>\n <TabInfoTitle>{l('component.creators_landing.create.tab.required_skills')}</TabInfoTitle>\n <SkillsContainer>\n {tab.skills.map(skill => (\n <SkillBadge key={skill}>{skill}</SkillBadge>\n ))}\n </SkillsContainer>\n </TabInfoBlock>\n <TabInfoBlock>\n <TabInfoTitle>{l('component.creators_landing.create.tab.useful_links')}</TabInfoTitle>\n <LinksContainer>\n {tab.links.map(link => (\n <LinkItem key={link.url} href={link.url} target=\"_blank\" rel=\"noopener noreferrer\">\n {link.label}\n </LinkItem>\n ))}\n </LinksContainer>\n </TabInfoBlock>\n </>\n )\n})\n\ntype CreateCardProps = {\n card: CreateCardData\n}\n\nconst CreateCard = memo(({ card }: CreateCardProps) => {\n const [activeTab, setActiveTab] = useState(card.tab1.title)\n\n return (\n <CreateCardContainer>\n <CreateCardImage bgImage={card.imageBackground}>\n <img src={card.image} alt={card.title} />\n </CreateCardImage>\n <CreateCardInfo>\n <CreateCardTitle>{card.title}</CreateCardTitle>\n <CreateCardDescription>{card.description}</CreateCardDescription>\n <TabContainer>\n {card.tab2 && (\n <TabButtons>\n <TabButton isActive={activeTab === card.tab1.title} onClick={() => setActiveTab(card.tab1.title)}>\n {card.tab1.title}\n </TabButton>\n <TabButton isActive={activeTab === card.tab2.title} onClick={() => setActiveTab(card.tab2!.title)}>\n {card.tab2.title}\n </TabButton>\n </TabButtons>\n )}\n {activeTab === card.tab1.title && <CreateTabContent tab={card.tab1} />}\n {card.tab2 && activeTab === card.tab2.title && <CreateTabContent tab={card.tab2} />}\n </TabContainer>\n </CreateCardInfo>\n </CreateCardContainer>\n )\n})\n\nconst renderCard = (card: CreateCardData) => <CreateCard card={card} />\nconst keyExtractor = (card: CreateCardData) => card.id\n\nconst CreatorsCreate = memo(() => {\n const l = useFormatMessage()\n return (\n <AnimatedSection>\n <CreateSection>\n <CreateTitle>\n {l('component.creators_landing.create.title')}\n <span>{l('component.creators_landing.create.title_highlight')}</span>\n {l('component.creators_landing.create.title_second_part')}\n </CreateTitle>\n <Carousel items={createCards} renderItem={renderCard} keyExtractor={keyExtractor} slideWidth={1200} autoplayDelay={0} />\n </CreateSection>\n </AnimatedSection>\n )\n})\n\nexport { CreatorsCreate }\n"],"names":["CreateSection","styled","theme","CreateTitle","Typography","CreateCardContainer","Box","CreateCardImage","prop","bgImage","CreateCardInfo","CreateCardTitle","CreateCardDescription","TabContainer","TabButtons","TabButton","isActive","TabInfoBlock","TabInfoTitle","TabInfoSubtitle","SkillsContainer","SkillBadge","LinksContainer","LinkItem","CreateTabContent","memo","tab","l","useFormatMessage","jsxs","Fragment","jsx","skill","link","CreateCard","card","activeTab","setActiveTab","useState","renderCard","keyExtractor","CreatorsCreate","AnimatedSection","Carousel","createCards"],"mappings":"qrBAEA,MAAMA,EAAgBC,EAAO,SAAS,EAAE,CAAC,CAAE,MAAAC,MAAa,CACtD,QAAS,OACT,cAAe,SACf,IAAK,MACL,MAAO,OACP,UAAW,GACX,aAAc,GACd,QAAS,EACT,SAAU,WACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,YAAaA,EAAM,QAAQ,CAAC,EAC5B,aAAcA,EAAM,QAAQ,CAAC,EAC7B,SAAU,QAAA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,MACb,QACCpB,EAAA,CAAU,SAAUqB,IAAcD,EAAK,KAAK,MAAO,QAAS,IAAME,EAAaF,EAAK,KAAM,KAAK,EAC7F,SAAAA,EAAK,KAAK,KAAA,CACb,CAAA,EACF,EAEDC,IAAcD,EAAK,KAAK,aAAUX,EAAA,CAAiB,IAAKW,EAAK,KAAM,EACnEA,EAAK,MAAQC,IAAcD,EAAK,KAAK,OAASJ,EAAAA,IAACP,EAAA,CAAiB,IAAKW,EAAK,IAAA,CAAM,CAAA,CAAA,CACnF,CAAA,CAAA,CACF,CAAA,EACF,CAEJ,CAAC,EAEKI,EAAcJ,GAAyBJ,EAAAA,IAACG,GAAW,KAAAC,CAAA,CAAY,EAC/DK,EAAgBL,GAAyBA,EAAK,GAE9CM,EAAiBhB,EAAAA,KAAK,IAAM,CAChC,MAAME,EAAIC,EAAA,EACV,OACEG,EAAAA,IAACW,EAAA,CACC,SAAAb,EAAAA,KAAC7B,EAAA,CACC,SAAA,CAAA6B,OAAC1B,EAAA,CACE,SAAA,CAAAwB,EAAE,yCAAyC,EAC5CI,EAAAA,IAAC,OAAA,CAAM,SAAAJ,EAAE,mDAAmD,CAAA,CAAE,EAC7DA,EAAE,qDAAqD,CAAA,EAC1D,EACAI,EAAAA,IAACY,EAAA,CAAS,MAAOC,EAAa,WAAYL,EAAY,aAAAC,EAA4B,WAAY,KAAM,cAAe,CAAA,CAAG,CAAA,CAAA,CACxH,CAAA,CACF,CAEJ,CAAC"}
1
+ {"version":3,"file":"index-C6X9yhDI.js","sources":["../../src/components/Create/CreateCards/CreateCards.styled.ts","../../src/components/Create/CreateCards/CreateCards.tsx"],"sourcesContent":["import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst CreateSection = styled('section')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: '1em',\n width: '100%',\n marginTop: 40,\n marginBottom: 40,\n padding: 0,\n position: 'relative',\n [theme.breakpoints.down('sm')]: {\n paddingLeft: theme.spacing(4),\n paddingRight: theme.spacing(4),\n overflow: 'hidden'\n }\n}))\n\nconst CreateTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 48,\n fontWeight: 600,\n lineHeight: '77px',\n color: '#fcfcfc',\n marginTop: 0,\n marginBottom: 32,\n maxWidth: '80vw',\n marginLeft: 'auto',\n marginRight: 'auto',\n ['& span']: {\n background: 'linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)',\n backgroundClip: 'text',\n ['WebkitBackgroundClip' as string]: 'text',\n ['WebkitTextFillColor' as string]: 'transparent'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 32,\n lineHeight: '40px',\n letterSpacing: '-0.64px'\n }\n}))\n\nconst CreateCardContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'row',\n background: '#242129',\n borderRadius: 24,\n width: '100%',\n height: '100%',\n padding: 32,\n alignItems: 'center',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n height: 'auto',\n width: '100%',\n padding: 0\n }\n}))\n\nconst CreateCardImage = styled(Box, {\n shouldForwardProp: prop => prop !== 'bgImage'\n})<{ bgImage: string }>(({ theme, bgImage }) => ({\n height: '100%',\n flexShrink: 0,\n backgroundImage: `url(${bgImage})`,\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n marginRight: 24,\n width: '35%',\n minHeight: 530,\n borderRadius: 16,\n transition: 'transform 0.3s ease-in-out',\n ['& img']: {\n width: '100%',\n height: '100%',\n objectFit: 'contain'\n },\n ['@media (hover: hover)']: {\n ['&:hover']: {\n transform: 'scale(1.05)'\n }\n },\n [theme.breakpoints.down('md')]: {\n height: 223,\n minHeight: 223,\n width: '100%',\n backgroundSize: '100%',\n borderRadius: '24px 24px 0 0',\n marginRight: 0,\n position: 'relative',\n overflow: 'hidden',\n ['& img']: {\n width: 'auto',\n height: '100%',\n transform: 'translate(-50%, -50%)',\n position: 'absolute',\n left: '50%',\n top: '50%'\n }\n }\n}))\n\nconst CreateCardInfo = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'flex-start',\n width: 'calc(65% - 24px)',\n [theme.breakpoints.down('md')]: {\n padding: '32px 0',\n margin: '0 8px 8px',\n width: 'calc(100% - 16px)'\n }\n}))\n\nconst CreateCardTitle = styled(Typography)(({ theme }) => ({\n fontSize: 24,\n fontWeight: 600,\n lineHeight: '30px',\n marginBottom: 8,\n [theme.breakpoints.down('lg')]: {\n fontSize: 20,\n lineHeight: '16px'\n }\n}))\n\nconst CreateCardDescription = styled(Typography)(({ theme }) => ({\n color: '#a09ba8',\n fontSize: 18,\n fontWeight: 400,\n lineHeight: '24px',\n marginBottom: 16,\n marginTop: 0,\n [theme.breakpoints.down('lg')]: {\n fontSize: 16\n }\n}))\n\nconst TabContainer = styled(Box)({\n display: 'flex',\n flexDirection: 'column'\n})\n\nconst TabButtons = styled(Box)(({ theme }) => ({\n display: 'flex',\n borderBottom: 'none',\n height: 24,\n marginBottom: 24,\n [theme.breakpoints.down('sm')]: {\n justifyContent: 'center',\n marginBottom: 24\n }\n}))\n\nconst TabButton = styled('button', {\n shouldForwardProp: prop => prop !== 'isActive'\n})<{ isActive: boolean }>(({ theme, isActive }) => ({\n background: 'none',\n border: 'none',\n borderBottom: isActive ? '2px solid #fff' : '2px solid transparent',\n color: isActive ? '#fff' : '#716b7c',\n textTransform: 'uppercase',\n fontSize: 14,\n lineHeight: '16px',\n padding: '0 0 8px',\n marginRight: 24,\n fontWeight: isActive ? 600 : 500,\n cursor: 'pointer',\n outline: 'none',\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n [theme.breakpoints.down('sm')]: {\n padding: '8px 0 0',\n fontSize: 16,\n marginRight: 16\n }\n}))\n\nconst TabInfoBlock = styled(Box)({\n borderRadius: 16,\n background: '#43404a80',\n padding: '16px 24px',\n marginBottom: 8,\n ['&:last-child']: {\n marginBottom: 0\n }\n})\n\nconst TabInfoTitle = styled(Typography)({\n fontSize: 18,\n lineHeight: '20px',\n fontWeight: 500,\n marginBottom: 12\n})\n\nconst TabInfoSubtitle = styled(Typography)({\n color: '#cfcdd4',\n fontSize: 18,\n fontWeight: 400,\n lineHeight: '24px',\n marginBottom: 0\n})\n\nconst SkillsContainer = styled(Box)({\n display: 'flex',\n flexWrap: 'wrap'\n})\n\nconst SkillBadge = styled(Box)({\n padding: '8px 16px',\n borderRadius: 16,\n marginRight: 8,\n marginBottom: 8,\n background: '#43404a',\n fontSize: 13,\n fontWeight: 600,\n lineHeight: 'normal',\n textTransform: 'uppercase'\n})\n\nconst LinksContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexWrap: 'wrap',\n flexDirection: 'row',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column'\n }\n}))\n\nconst LinkItem = styled('a')({\n fontSize: 16,\n lineHeight: '24px',\n fontWeight: 500,\n textDecorationLine: 'underline',\n color: '#ffa25a',\n width: '50%',\n marginBottom: 8,\n display: 'block',\n ['&:hover, &:active, &:visited, &:focus']: {\n color: '#ffa25a'\n }\n})\n\nexport {\n CreateCardContainer,\n CreateCardDescription,\n CreateCardImage,\n CreateCardInfo,\n CreateCardTitle,\n CreateSection,\n CreateTitle,\n LinkItem,\n LinksContainer,\n SkillBadge,\n SkillsContainer,\n TabButton,\n TabButtons,\n TabContainer,\n TabInfoBlock,\n TabInfoSubtitle,\n TabInfoTitle\n}\n","import { memo, useState } from 'react'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { Carousel } from '../../Carousel'\nimport { AnimatedSection } from '../AnimatedSection'\nimport { createCards } from '../data'\nimport type { CreateCardData, CreateCardTab } from '../data'\nimport {\n CreateCardContainer,\n CreateCardDescription,\n CreateCardImage,\n CreateCardInfo,\n CreateCardTitle,\n CreateSection,\n CreateTitle,\n LinkItem,\n LinksContainer,\n SkillBadge,\n SkillsContainer,\n TabButton,\n TabButtons,\n TabContainer,\n TabInfoBlock,\n TabInfoSubtitle,\n TabInfoTitle\n} from './CreateCards.styled'\n\ntype CreateTabContentProps = {\n tab: CreateCardTab\n}\n\nconst CreateTabContent = memo(({ tab }: CreateTabContentProps) => {\n const l = useFormatMessage()\n\n return (\n <>\n <TabInfoBlock>\n <TabInfoTitle>{tab.descriptionTitle}</TabInfoTitle>\n <TabInfoSubtitle>{tab.descriptionSubTitle}</TabInfoSubtitle>\n </TabInfoBlock>\n <TabInfoBlock>\n <TabInfoTitle>{l('component.creators_landing.create.tab.required_skills')}</TabInfoTitle>\n <SkillsContainer>\n {tab.skills.map(skill => (\n <SkillBadge key={skill}>{skill}</SkillBadge>\n ))}\n </SkillsContainer>\n </TabInfoBlock>\n <TabInfoBlock>\n <TabInfoTitle>{l('component.creators_landing.create.tab.useful_links')}</TabInfoTitle>\n <LinksContainer>\n {tab.links.map(link => (\n <LinkItem key={link.url} href={link.url} target=\"_blank\" rel=\"noopener noreferrer\">\n {link.label}\n </LinkItem>\n ))}\n </LinksContainer>\n </TabInfoBlock>\n </>\n )\n})\n\ntype CreateCardProps = {\n card: CreateCardData\n}\n\nconst CreateCard = memo(({ card }: CreateCardProps) => {\n const [activeTab, setActiveTab] = useState(card.tab1.title)\n\n return (\n <CreateCardContainer>\n <CreateCardImage bgImage={card.imageBackground}>\n <img src={card.image} alt={card.title} />\n </CreateCardImage>\n <CreateCardInfo>\n <CreateCardTitle>{card.title}</CreateCardTitle>\n <CreateCardDescription>{card.description}</CreateCardDescription>\n <TabContainer>\n {card.tab2 && (\n <TabButtons>\n <TabButton isActive={activeTab === card.tab1.title} onClick={() => setActiveTab(card.tab1.title)}>\n {card.tab1.title}\n </TabButton>\n <TabButton isActive={activeTab === card.tab2.title} onClick={() => setActiveTab(card.tab2!.title)}>\n {card.tab2.title}\n </TabButton>\n </TabButtons>\n )}\n {activeTab === card.tab1.title && <CreateTabContent tab={card.tab1} />}\n {card.tab2 && activeTab === card.tab2.title && <CreateTabContent tab={card.tab2} />}\n </TabContainer>\n </CreateCardInfo>\n </CreateCardContainer>\n )\n})\n\nconst renderCard = (card: CreateCardData) => <CreateCard card={card} />\nconst keyExtractor = (card: CreateCardData) => card.id\n\nconst CreatorsCreate = memo(() => {\n const l = useFormatMessage()\n return (\n <AnimatedSection>\n <CreateSection>\n <CreateTitle>\n {l('component.creators_landing.create.title')}\n <span>{l('component.creators_landing.create.title_highlight')}</span>\n {l('component.creators_landing.create.title_second_part')}\n </CreateTitle>\n <Carousel items={createCards} renderItem={renderCard} keyExtractor={keyExtractor} slideWidth={1200} autoplayDelay={0} />\n </CreateSection>\n </AnimatedSection>\n )\n})\n\nexport { CreatorsCreate }\n"],"names":["CreateSection","styled","theme","CreateTitle","Typography","CreateCardContainer","Box","CreateCardImage","prop","bgImage","CreateCardInfo","CreateCardTitle","CreateCardDescription","TabContainer","TabButtons","TabButton","isActive","TabInfoBlock","TabInfoTitle","TabInfoSubtitle","SkillsContainer","SkillBadge","LinksContainer","LinkItem","CreateTabContent","memo","tab","l","useFormatMessage","jsxs","Fragment","jsx","skill","link","CreateCard","card","activeTab","setActiveTab","useState","renderCard","keyExtractor","CreatorsCreate","AnimatedSection","Carousel","createCards"],"mappings":"qrBAEA,MAAMA,EAAgBC,EAAO,SAAS,EAAE,CAAC,CAAE,MAAAC,MAAa,CACtD,QAAS,OACT,cAAe,SACf,IAAK,MACL,MAAO,OACP,UAAW,GACX,aAAc,GACd,QAAS,EACT,SAAU,WACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,YAAaA,EAAM,QAAQ,CAAC,EAC5B,aAAcA,EAAM,QAAQ,CAAC,EAC7B,SAAU,QAAA,CAEd,EAAE,EAEIC,EAAcF,EAAOG,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CACrD,UAAW,SACX,SAAU,GACV,WAAY,IACZ,WAAY,OACZ,MAAO,UACP,UAAW,EACX,aAAc,GACd,SAAU,OACV,WAAY,OACZ,YAAa,OACZ,SAAW,CACV,WAAY,2DACZ,eAAgB,O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MAAQC,IAAcD,EAAK,KAAK,OAASJ,EAAAA,IAACP,EAAA,CAAiB,IAAKW,EAAK,IAAA,CAAM,CAAA,CAAA,CACnF,CAAA,CAAA,CACF,CAAA,EACF,CAEJ,CAAC,EAEKI,EAAcJ,GAAyBJ,EAAAA,IAACG,GAAW,KAAAC,CAAA,CAAY,EAC/DK,EAAgBL,GAAyBA,EAAK,GAE9CM,EAAiBhB,EAAAA,KAAK,IAAM,CAChC,MAAME,EAAIC,EAAA,EACV,OACEG,EAAAA,IAACW,EAAA,CACC,SAAAb,EAAAA,KAAC7B,EAAA,CACC,SAAA,CAAA6B,OAAC1B,EAAA,CACE,SAAA,CAAAwB,EAAE,yCAAyC,EAC5CI,EAAAA,IAAC,OAAA,CAAM,SAAAJ,EAAE,mDAAmD,CAAA,CAAE,EAC7DA,EAAE,qDAAqD,CAAA,EAC1D,EACAI,EAAAA,IAACY,EAAA,CAAS,MAAOC,EAAa,WAAYL,EAAY,aAAAC,EAA4B,WAAY,KAAM,cAAe,CAAA,CAAG,CAAA,CAAA,CACxH,CAAA,CACF,CAEJ,CAAC"}
@@ -1 +1 @@
1
- import{a as k,b as O}from"./index-pguZ7Pr7.js";import"./index-DUmIu2EK.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";function j(a,e){return Object.keys(e).reduce(function(i,t){if(t.startsWith(a)){var r=t.substr(a.length);i[r]=e[t]}return i},{})}function U(a,e){var i=document.createElement("a");i.href=e;var t=i.search.slice(1),r=t.split("&").reduce(function(v,P){var p=P.split("="),b=p[0],S=p[1];return v[b]=k(S),v},{}),s=[],m=r.ajs_uid,f=r.ajs_event,c=r.ajs_aid,n=O(a.options.useQueryString)?a.options.useQueryString:{},u=n.aid,l=u===void 0?/.+/:u,o=n.uid,A=o===void 0?/.+/:o;if(c){var _=Array.isArray(r.ajs_aid)?r.ajs_aid[0]:r.ajs_aid;l.test(_)&&a.setAnonymousId(_)}if(m){var d=Array.isArray(r.ajs_uid)?r.ajs_uid[0]:r.ajs_uid;if(A.test(d)){var h=j("ajs_trait_",r);s.push(a.identify(d,h))}}if(f){var y=Array.isArray(r.ajs_event)?r.ajs_event[0]:r.ajs_event,g=j("ajs_prop_",r);s.push(a.track(y,g))}return Promise.all(s)}export{U as queryString};
1
+ import{a as k,b as O}from"./index-CaK85mwB.js";import"./index-BoINd_2w.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";function j(a,e){return Object.keys(e).reduce(function(i,t){if(t.startsWith(a)){var r=t.substr(a.length);i[r]=e[t]}return i},{})}function U(a,e){var i=document.createElement("a");i.href=e;var t=i.search.slice(1),r=t.split("&").reduce(function(v,P){var p=P.split("="),b=p[0],S=p[1];return v[b]=k(S),v},{}),s=[],m=r.ajs_uid,f=r.ajs_event,c=r.ajs_aid,n=O(a.options.useQueryString)?a.options.useQueryString:{},u=n.aid,l=u===void 0?/.+/:u,o=n.uid,A=o===void 0?/.+/:o;if(c){var _=Array.isArray(r.ajs_aid)?r.ajs_aid[0]:r.ajs_aid;l.test(_)&&a.setAnonymousId(_)}if(m){var d=Array.isArray(r.ajs_uid)?r.ajs_uid[0]:r.ajs_uid;if(A.test(d)){var h=j("ajs_trait_",r);s.push(a.identify(d,h))}}if(f){var y=Array.isArray(r.ajs_event)?r.ajs_event[0]:r.ajs_event,g=j("ajs_prop_",r);s.push(a.track(y,g))}return Promise.all(s)}export{U as queryString};
@@ -1 +1 @@
1
- {"version":3,"file":"index-KkMZZ6nz.js","sources":["../../node_modules/@segment/analytics-next/dist/pkg/core/query-string/pickPrefix.js","../../node_modules/@segment/analytics-next/dist/pkg/core/query-string/index.js"],"sourcesContent":["/**\n * Returns an object containing only the properties prefixed by the input\n * string.\n * Ex: prefix('ajs_traits_', { ajs_traits_address: '123 St' })\n * will return { address: '123 St' }\n **/\nexport function pickPrefix(prefix, object) {\n return Object.keys(object).reduce(function (acc, key) {\n if (key.startsWith(prefix)) {\n var field = key.substr(prefix.length);\n acc[field] = object[key];\n }\n return acc;\n }, {});\n}\n//# sourceMappingURL=pickPrefix.js.map","import { pickPrefix } from './pickPrefix';\nimport { gracefulDecodeURIComponent } from './gracefulDecodeURIComponent';\nimport { isPlainObject } from '@segment/analytics-core';\nexport function queryString(analytics, query) {\n var a = document.createElement('a');\n a.href = query;\n var parsed = a.search.slice(1);\n var params = parsed.split('&').reduce(function (acc, str) {\n var _a = str.split('='), k = _a[0], v = _a[1];\n acc[k] = gracefulDecodeURIComponent(v);\n return acc;\n }, {});\n var calls = [];\n var ajs_uid = params.ajs_uid, ajs_event = params.ajs_event, ajs_aid = params.ajs_aid;\n var _a = isPlainObject(analytics.options.useQueryString)\n ? analytics.options.useQueryString\n : {}, _b = _a.aid, aidPattern = _b === void 0 ? /.+/ : _b, _c = _a.uid, uidPattern = _c === void 0 ? /.+/ : _c;\n if (ajs_aid) {\n var anonId = Array.isArray(params.ajs_aid)\n ? params.ajs_aid[0]\n : params.ajs_aid;\n if (aidPattern.test(anonId)) {\n analytics.setAnonymousId(anonId);\n }\n }\n if (ajs_uid) {\n var uid = Array.isArray(params.ajs_uid)\n ? params.ajs_uid[0]\n : params.ajs_uid;\n if (uidPattern.test(uid)) {\n var traits = pickPrefix('ajs_trait_', params);\n calls.push(analytics.identify(uid, traits));\n }\n }\n if (ajs_event) {\n var event_1 = Array.isArray(params.ajs_event)\n ? params.ajs_event[0]\n : params.ajs_event;\n var props = pickPrefix('ajs_prop_', params);\n calls.push(analytics.track(event_1, props));\n }\n return Promise.all(calls);\n}\n//# sourceMappingURL=index.js.map"],"names":["pickPrefix","prefix","object","acc","key","field","queryString","analytics","query","a","parsed","params","str","_a","k","v","gracefulDecodeURIComponent","calls","ajs_uid","ajs_event","ajs_aid","isPlainObject","_b","aidPattern","_c","uidPattern","anonId","uid","traits","event_1","props"],"mappings":"8RAMO,SAASA,EAAWC,EAAQC,EAAQ,CACvC,OAAO,OAAO,KAAKA,CAAM,EAAE,OAAO,SAAUC,EAAKC,EAAK,CAClD,GAAIA,EAAI,WAAWH,CAAM,EAAG,CACxB,IAAII,EAAQD,EAAI,OAAOH,EAAO,MAAM,EACpCE,EAAIE,CAAK,EAAIH,EAAOE,CAAG,CAC3B,CACA,OAAOD,CACX,EAAG,CAAA,CAAE,CACT,CCXO,SAASG,EAAYC,EAAWC,EAAO,CAC1C,IAAIC,EAAI,SAAS,cAAc,GAAG,EAClCA,EAAE,KAAOD,EACT,IAAIE,EAASD,EAAE,OAAO,MAAM,CAAC,EACzBE,EAASD,EAAO,MAAM,GAAG,EAAE,OAAO,SAAUP,EAAKS,EAAK,CACtD,IAAIC,EAAKD,EAAI,MAAM,GAAG,EAAGE,EAAID,EAAG,CAAC,EAAGE,EAAIF,EAAG,CAAC,EAC5C,OAAAV,EAAIW,CAAC,EAAIE,EAA2BD,CAAC,EAC9BZ,CACX,EAAG,CAAA,CAAE,EACDc,EAAQ,CAAA,EACRC,EAAUP,EAAO,QAASQ,EAAYR,EAAO,UAAWS,EAAUT,EAAO,QACzEE,EAAKQ,EAAcd,EAAU,QAAQ,cAAc,EACjDA,EAAU,QAAQ,eAClB,CAAA,EAAIe,EAAKT,EAAG,IAAKU,EAAaD,IAAO,OAAS,KAAOA,EAAIE,EAAKX,EAAG,IAAKY,EAAaD,IAAO,OAAS,KAAOA,EAChH,GAAIJ,EAAS,CACT,IAAIM,EAAS,MAAM,QAAQf,EAAO,OAAO,EACnCA,EAAO,QAAQ,CAAC,EAChBA,EAAO,QACTY,EAAW,KAAKG,CAAM,GACtBnB,EAAU,eAAemB,CAAM,CAEvC,CACA,GAAIR,EAAS,CACT,IAAIS,EAAM,MAAM,QAAQhB,EAAO,OAAO,EAChCA,EAAO,QAAQ,CAAC,EAChBA,EAAO,QACb,GAAIc,EAAW,KAAKE,CAAG,EAAG,CACtB,IAAIC,EAAS5B,EAAW,aAAcW,CAAM,EAC5CM,EAAM,KAAKV,EAAU,SAASoB,EAAKC,CAAM,CAAC,CAC9C,CACJ,CACA,GAAIT,EAAW,CACX,IAAIU,EAAU,MAAM,QAAQlB,EAAO,SAAS,EACtCA,EAAO,UAAU,CAAC,EAClBA,EAAO,UACTmB,EAAQ9B,EAAW,YAAaW,CAAM,EAC1CM,EAAM,KAAKV,EAAU,MAAMsB,EAASC,CAAK,CAAC,CAC9C,CACA,OAAO,QAAQ,IAAIb,CAAK,CAC5B","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"index-C6gBuUpB.js","sources":["../../node_modules/@segment/analytics-next/dist/pkg/core/query-string/pickPrefix.js","../../node_modules/@segment/analytics-next/dist/pkg/core/query-string/index.js"],"sourcesContent":["/**\n * Returns an object containing only the properties prefixed by the input\n * string.\n * Ex: prefix('ajs_traits_', { ajs_traits_address: '123 St' })\n * will return { address: '123 St' }\n **/\nexport function pickPrefix(prefix, object) {\n return Object.keys(object).reduce(function (acc, key) {\n if (key.startsWith(prefix)) {\n var field = key.substr(prefix.length);\n acc[field] = object[key];\n }\n return acc;\n }, {});\n}\n//# sourceMappingURL=pickPrefix.js.map","import { pickPrefix } from './pickPrefix';\nimport { gracefulDecodeURIComponent } from './gracefulDecodeURIComponent';\nimport { isPlainObject } from '@segment/analytics-core';\nexport function queryString(analytics, query) {\n var a = document.createElement('a');\n a.href = query;\n var parsed = a.search.slice(1);\n var params = parsed.split('&').reduce(function (acc, str) {\n var _a = str.split('='), k = _a[0], v = _a[1];\n acc[k] = gracefulDecodeURIComponent(v);\n return acc;\n }, {});\n var calls = [];\n var ajs_uid = params.ajs_uid, ajs_event = params.ajs_event, ajs_aid = params.ajs_aid;\n var _a = isPlainObject(analytics.options.useQueryString)\n ? analytics.options.useQueryString\n : {}, _b = _a.aid, aidPattern = _b === void 0 ? /.+/ : _b, _c = _a.uid, uidPattern = _c === void 0 ? /.+/ : _c;\n if (ajs_aid) {\n var anonId = Array.isArray(params.ajs_aid)\n ? params.ajs_aid[0]\n : params.ajs_aid;\n if (aidPattern.test(anonId)) {\n analytics.setAnonymousId(anonId);\n }\n }\n if (ajs_uid) {\n var uid = Array.isArray(params.ajs_uid)\n ? params.ajs_uid[0]\n : params.ajs_uid;\n if (uidPattern.test(uid)) {\n var traits = pickPrefix('ajs_trait_', params);\n calls.push(analytics.identify(uid, traits));\n }\n }\n if (ajs_event) {\n var event_1 = Array.isArray(params.ajs_event)\n ? params.ajs_event[0]\n : params.ajs_event;\n var props = pickPrefix('ajs_prop_', params);\n calls.push(analytics.track(event_1, props));\n }\n return Promise.all(calls);\n}\n//# sourceMappingURL=index.js.map"],"names":["pickPrefix","prefix","object","acc","key","field","queryString","analytics","query","a","parsed","params","str","_a","k","v","gracefulDecodeURIComponent","calls","ajs_uid","ajs_event","ajs_aid","isPlainObject","_b","aidPattern","_c","uidPattern","anonId","uid","traits","event_1","props"],"mappings":"8RAMO,SAASA,EAAWC,EAAQC,EAAQ,CACvC,OAAO,OAAO,KAAKA,CAAM,EAAE,OAAO,SAAUC,EAAKC,EAAK,CAClD,GAAIA,EAAI,WAAWH,CAAM,EAAG,CACxB,IAAII,EAAQD,EAAI,OAAOH,EAAO,MAAM,EACpCE,EAAIE,CAAK,EAAIH,EAAOE,CAAG,CAC3B,CACA,OAAOD,CACX,EAAG,CAAA,CAAE,CACT,CCXO,SAASG,EAAYC,EAAWC,EAAO,CAC1C,IAAIC,EAAI,SAAS,cAAc,GAAG,EAClCA,EAAE,KAAOD,EACT,IAAIE,EAASD,EAAE,OAAO,MAAM,CAAC,EACzBE,EAASD,EAAO,MAAM,GAAG,EAAE,OAAO,SAAUP,EAAKS,EAAK,CACtD,IAAIC,EAAKD,EAAI,MAAM,GAAG,EAAGE,EAAID,EAAG,CAAC,EAAGE,EAAIF,EAAG,CAAC,EAC5C,OAAAV,EAAIW,CAAC,EAAIE,EAA2BD,CAAC,EAC9BZ,CACX,EAAG,CAAA,CAAE,EACDc,EAAQ,CAAA,EACRC,EAAUP,EAAO,QAASQ,EAAYR,EAAO,UAAWS,EAAUT,EAAO,QACzEE,EAAKQ,EAAcd,EAAU,QAAQ,cAAc,EACjDA,EAAU,QAAQ,eAClB,CAAA,EAAIe,EAAKT,EAAG,IAAKU,EAAaD,IAAO,OAAS,KAAOA,EAAIE,EAAKX,EAAG,IAAKY,EAAaD,IAAO,OAAS,KAAOA,EAChH,GAAIJ,EAAS,CACT,IAAIM,EAAS,MAAM,QAAQf,EAAO,OAAO,EACnCA,EAAO,QAAQ,CAAC,EAChBA,EAAO,QACTY,EAAW,KAAKG,CAAM,GACtBnB,EAAU,eAAemB,CAAM,CAEvC,CACA,GAAIR,EAAS,CACT,IAAIS,EAAM,MAAM,QAAQhB,EAAO,OAAO,EAChCA,EAAO,QAAQ,CAAC,EAChBA,EAAO,QACb,GAAIc,EAAW,KAAKE,CAAG,EAAG,CACtB,IAAIC,EAAS5B,EAAW,aAAcW,CAAM,EAC5CM,EAAM,KAAKV,EAAU,SAASoB,EAAKC,CAAM,CAAC,CAC9C,CACJ,CACA,GAAIT,EAAW,CACX,IAAIU,EAAU,MAAM,QAAQlB,EAAO,SAAS,EACtCA,EAAO,UAAU,CAAC,EAClBA,EAAO,UACTmB,EAAQ9B,EAAW,YAAaW,CAAM,EAC1CM,EAAM,KAAKV,EAAU,MAAMsB,EAASC,CAAK,CAAC,CAC9C,CACA,OAAO,QAAQ,IAAIb,CAAK,CAC5B","x_google_ignoreList":[0,1]}
@@ -1 +1 @@
1
- import{j as e}from"./index-DUmIu2EK.js";import{r}from"./vendor-router-D_36sTKu.js";import{L as s,P as a,S as n,a as t}from"./LegalPageLayout-DeH35WpT.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:"allowable-usage",label:"1. Allowable Usage"},{id:"logo-and-name-ownership",label:"2. Logo and name ownership"},{id:"wearables-and-user-names",label:"3. Wearables and user names in Decentraland"},{id:"nfts-and-other-uses",label:"4. NFTs and other uses outside the Decentraland platform"},{id:"disclaimer",label:"5. Disclaimer"},{id:"press-releases",label:"6. Press Releases"},{id:"advertisements",label:"7. Advertisements"},{id:"the-name-decentraland",label:'8. The Name "Decentraland"'},{id:"the-logo-decentraland",label:'9. The Logo "Decentraland"'},{id:"additional-rules",label:"10. Additional Rules"}],l=r.memo(()=>e.jsxs(s,{title:"Terms of Use for Decentraland's Logo and Name",activeSlug:"/brand",tableOfContents:o,children:[e.jsx(a,{children:"Decentraland is a decentralized virtual world governed by its users and as such strongly supports user generated content (UGC). People may use the Decentraland logo and name in their creations within Decentraland, but must follow the following terms."}),e.jsxs(n,{id:"allowable-usage",children:[e.jsx(t,{children:"1. Allowable Usage"}),e.jsxs(a,{children:["Users shall comply with these terms as well as Decentraland's"," ",e.jsx("a",{href:"https://decentraland.org/terms/",target:"_blank",rel:"noopener noreferrer",children:"Terms of Use"})," ","and"," ",e.jsx("a",{href:"https://decentraland.org/content/",target:"_blank",rel:"noopener noreferrer",children:"Content Policy"})," ","in order to be allowed to use the Decentraland name and logo within Decentraland."]})]}),e.jsxs(n,{id:"logo-and-name-ownership",children:[e.jsx(t,{children:"2. Logo and name ownership"}),e.jsx(a,{children:"The Decentraland Foundation is the registered owner of the Decentraland name and logo, acting for the benefit of the DAO. This is because currently the DAO lacks formal legal status."})]}),e.jsxs(n,{id:"wearables-and-user-names",children:[e.jsx(t,{children:"3. Wearables and user names in Decentraland"}),e.jsx(a,{children:"Users may create wearables and names using the Decentraland logo and name on the Decentraland platform, provided that they don't violate the platform's Content Policy and Terms of Use. As far as the Decentraland Foundation is concerned, you are not prevented from monetizing or obtaining profits from the sale of said wearables or user names. The NFT must be unique in design."}),e.jsx(a,{children:"The Decentraland Foundation has the right to deny the use of the Decentraland name and logo at its sole discretion in any case and at any time."})]}),e.jsxs(n,{id:"nfts-and-other-uses",children:[e.jsx(t,{children:"4. NFTs and other uses outside the Decentraland platform"}),e.jsx(a,{children:"The Decentraland Foundation does not authorize the creation of NFTs using the Decentraland name or logo outside the Decentraland platform. The use of the Decentraland name or logo is not allowed in other virtual platforms different from Decentraland or in the real world."})]}),e.jsxs(n,{id:"disclaimer",children:[e.jsx(t,{children:"5. Disclaimer"}),e.jsx(a,{children:"In all written materials relating to your product, including websites, publications, etc. it must be made clear that you do not have any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation."})]}),e.jsxs(n,{id:"press-releases",children:[e.jsx(t,{children:"6. Press Releases"}),e.jsx(a,{children:"Any press releases that you distribute through social networks, media or news services should clearly state that you do not have any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation."})]}),e.jsxs(n,{id:"advertisements",children:[e.jsx(t,{children:"7. Advertisements"}),e.jsxs(a,{children:["Any paid advertisement that uses the Decentraland name or logo is generally not allowed and must first be approved by the Decentraland Foundation or the DAO. To seek such approval, you can send an email to:"," ",e.jsx("a",{href:"mailto:legal@decentraland.org",children:"legal@decentraland.org"})," or through a DAO proposal."]})]}),e.jsxs(n,{id:"the-name-decentraland",children:[e.jsx(t,{children:'8. The Name "Decentraland"'}),e.jsx(a,{children:`Subject to these terms you can use the name "Decentraland" to promote your game(s) or wearables as long as it doesn't confuse consumers and as long as it is not used as the name of an app or any kind of merchandise or product. In other words, you can refer to "Decentraland" as the name of the platform, and you can use the name to show your interest in or affection for the Decentraland platform.`})]}),e.jsxs(n,{id:"the-logo-decentraland",children:[e.jsx(t,{children:'9. The Logo "Decentraland"'}),e.jsxs(a,{children:["Subject to these terms, you are only allowed to use the logo design that is available at the following link"," ",e.jsx("a",{href:"https://decentraland.org/press/",target:"_blank",rel:"noopener noreferrer",children:"https://decentraland.org/press/"}),". The Decentraland Foundation or the DAO may alter the form of this design from time to time. You are allowed to resize the logo as long as you do not modify the proportions. But otherwise, you cannot modify the logo design in any way and must abide by these terms."]})]}),e.jsxs(n,{id:"additional-rules",children:[e.jsx(t,{children:"10. Additional Rules"}),e.jsx(a,{children:"THE USE OF DECENTRALAND LOGO AND NAME CANNOT BE ASSOCIATED WITH ANYTHING THAT VIOLATES THE RIGHTS OF OTHER THIRD PARTIES IP, CREATES BRAND CONFUSION, HAS HARMFUL OR OBJECTIONABLE ASPECTS OR DOES NOT COMPLY WITH APPLICABLE LAWS OR ANY OF DECENTRALAND GUIDELINES, TERMS OR RULES. THE DAO AND THE DECENTRALAND FOUNDATION HAVE THE RIGHT TO DECIDE (IN THEIR SOLE DISCRETION) WHETHER THE USE IS ACCEPTABLE."}),e.jsx(a,{children:"YOU MUST NOT USE THE DECENTRALAND NAME OR LOGO IN ANY MANNER THAT IS LIKELY TO HAVE AN ADVERSE EFFECT ON THE REPUTATION OF DECENTRALAND (AS THE DAO OR DECENTRALAND FOUNDATION MAY DETERMINE IN THEIR SOLE DISCRETION). YOU MAY NOT USE THE DECENTRALAND NAME OR LOGO IN ANY WAY THAT SUGGESTS THAT YOU ARE AFFILIATED WITH DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION, OR IN ANY WAY THAT SUGGESTS THAT DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION SPONSORS OR ENDORSES YOUR USAGE."}),e.jsx(a,{children:"These terms grant you permission to use the Decentraland trademarks only in the ways described above. The Decentraland Foundation or the DAO may withdraw or change this permission at any time for any reason."}),e.jsx(a,{children:"Other uses of the Decentraland logo and name require the express approval of the Decentraland Foundation or the DAO."})]})]}));l.displayName="BrandTerms";export{l as BrandTerms};
1
+ import{j as e}from"./index-BoINd_2w.js";import{r}from"./vendor-router-D_36sTKu.js";import{L as s,P as a,S as n,a as t}from"./LegalPageLayout-hVF919wE.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:"allowable-usage",label:"1. Allowable Usage"},{id:"logo-and-name-ownership",label:"2. Logo and name ownership"},{id:"wearables-and-user-names",label:"3. Wearables and user names in Decentraland"},{id:"nfts-and-other-uses",label:"4. NFTs and other uses outside the Decentraland platform"},{id:"disclaimer",label:"5. Disclaimer"},{id:"press-releases",label:"6. Press Releases"},{id:"advertisements",label:"7. Advertisements"},{id:"the-name-decentraland",label:'8. The Name "Decentraland"'},{id:"the-logo-decentraland",label:'9. The Logo "Decentraland"'},{id:"additional-rules",label:"10. Additional Rules"}],l=r.memo(()=>e.jsxs(s,{title:"Terms of Use for Decentraland's Logo and Name",activeSlug:"/brand",tableOfContents:o,children:[e.jsx(a,{children:"Decentraland is a decentralized virtual world governed by its users and as such strongly supports user generated content (UGC). People may use the Decentraland logo and name in their creations within Decentraland, but must follow the following terms."}),e.jsxs(n,{id:"allowable-usage",children:[e.jsx(t,{children:"1. Allowable Usage"}),e.jsxs(a,{children:["Users shall comply with these terms as well as Decentraland's"," ",e.jsx("a",{href:"https://decentraland.org/terms/",target:"_blank",rel:"noopener noreferrer",children:"Terms of Use"})," ","and"," ",e.jsx("a",{href:"https://decentraland.org/content/",target:"_blank",rel:"noopener noreferrer",children:"Content Policy"})," ","in order to be allowed to use the Decentraland name and logo within Decentraland."]})]}),e.jsxs(n,{id:"logo-and-name-ownership",children:[e.jsx(t,{children:"2. Logo and name ownership"}),e.jsx(a,{children:"The Decentraland Foundation is the registered owner of the Decentraland name and logo, acting for the benefit of the DAO. This is because currently the DAO lacks formal legal status."})]}),e.jsxs(n,{id:"wearables-and-user-names",children:[e.jsx(t,{children:"3. Wearables and user names in Decentraland"}),e.jsx(a,{children:"Users may create wearables and names using the Decentraland logo and name on the Decentraland platform, provided that they don't violate the platform's Content Policy and Terms of Use. As far as the Decentraland Foundation is concerned, you are not prevented from monetizing or obtaining profits from the sale of said wearables or user names. The NFT must be unique in design."}),e.jsx(a,{children:"The Decentraland Foundation has the right to deny the use of the Decentraland name and logo at its sole discretion in any case and at any time."})]}),e.jsxs(n,{id:"nfts-and-other-uses",children:[e.jsx(t,{children:"4. NFTs and other uses outside the Decentraland platform"}),e.jsx(a,{children:"The Decentraland Foundation does not authorize the creation of NFTs using the Decentraland name or logo outside the Decentraland platform. The use of the Decentraland name or logo is not allowed in other virtual platforms different from Decentraland or in the real world."})]}),e.jsxs(n,{id:"disclaimer",children:[e.jsx(t,{children:"5. Disclaimer"}),e.jsx(a,{children:"In all written materials relating to your product, including websites, publications, etc. it must be made clear that you do not have any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation."})]}),e.jsxs(n,{id:"press-releases",children:[e.jsx(t,{children:"6. Press Releases"}),e.jsx(a,{children:"Any press releases that you distribute through social networks, media or news services should clearly state that you do not have any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation."})]}),e.jsxs(n,{id:"advertisements",children:[e.jsx(t,{children:"7. Advertisements"}),e.jsxs(a,{children:["Any paid advertisement that uses the Decentraland name or logo is generally not allowed and must first be approved by the Decentraland Foundation or the DAO. To seek such approval, you can send an email to:"," ",e.jsx("a",{href:"mailto:legal@decentraland.org",children:"legal@decentraland.org"})," or through a DAO proposal."]})]}),e.jsxs(n,{id:"the-name-decentraland",children:[e.jsx(t,{children:'8. The Name "Decentraland"'}),e.jsx(a,{children:`Subject to these terms you can use the name "Decentraland" to promote your game(s) or wearables as long as it doesn't confuse consumers and as long as it is not used as the name of an app or any kind of merchandise or product. In other words, you can refer to "Decentraland" as the name of the platform, and you can use the name to show your interest in or affection for the Decentraland platform.`})]}),e.jsxs(n,{id:"the-logo-decentraland",children:[e.jsx(t,{children:'9. The Logo "Decentraland"'}),e.jsxs(a,{children:["Subject to these terms, you are only allowed to use the logo design that is available at the following link"," ",e.jsx("a",{href:"https://decentraland.org/press/",target:"_blank",rel:"noopener noreferrer",children:"https://decentraland.org/press/"}),". The Decentraland Foundation or the DAO may alter the form of this design from time to time. You are allowed to resize the logo as long as you do not modify the proportions. But otherwise, you cannot modify the logo design in any way and must abide by these terms."]})]}),e.jsxs(n,{id:"additional-rules",children:[e.jsx(t,{children:"10. Additional Rules"}),e.jsx(a,{children:"THE USE OF DECENTRALAND LOGO AND NAME CANNOT BE ASSOCIATED WITH ANYTHING THAT VIOLATES THE RIGHTS OF OTHER THIRD PARTIES IP, CREATES BRAND CONFUSION, HAS HARMFUL OR OBJECTIONABLE ASPECTS OR DOES NOT COMPLY WITH APPLICABLE LAWS OR ANY OF DECENTRALAND GUIDELINES, TERMS OR RULES. THE DAO AND THE DECENTRALAND FOUNDATION HAVE THE RIGHT TO DECIDE (IN THEIR SOLE DISCRETION) WHETHER THE USE IS ACCEPTABLE."}),e.jsx(a,{children:"YOU MUST NOT USE THE DECENTRALAND NAME OR LOGO IN ANY MANNER THAT IS LIKELY TO HAVE AN ADVERSE EFFECT ON THE REPUTATION OF DECENTRALAND (AS THE DAO OR DECENTRALAND FOUNDATION MAY DETERMINE IN THEIR SOLE DISCRETION). YOU MAY NOT USE THE DECENTRALAND NAME OR LOGO IN ANY WAY THAT SUGGESTS THAT YOU ARE AFFILIATED WITH DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION, OR IN ANY WAY THAT SUGGESTS THAT DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION SPONSORS OR ENDORSES YOUR USAGE."}),e.jsx(a,{children:"These terms grant you permission to use the Decentraland trademarks only in the ways described above. The Decentraland Foundation or the DAO may withdraw or change this permission at any time for any reason."}),e.jsx(a,{children:"Other uses of the Decentraland logo and name require the express approval of the Decentraland Foundation or the DAO."})]})]}));l.displayName="BrandTerms";export{l as BrandTerms};
@@ -1 +1 @@
1
- {"version":3,"file":"index-CfKiEnnb.js","sources":["../../src/pages/brand/BrandTerms.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { LegalPageLayout, Paragraph, Section, SectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'allowable-usage', label: '1. Allowable Usage' },\n { id: 'logo-and-name-ownership', label: '2. Logo and name ownership' },\n { id: 'wearables-and-user-names', label: '3. Wearables and user names in Decentraland' },\n { id: 'nfts-and-other-uses', label: '4. NFTs and other uses outside the Decentraland platform' },\n { id: 'disclaimer', label: '5. Disclaimer' },\n { id: 'press-releases', label: '6. Press Releases' },\n { id: 'advertisements', label: '7. Advertisements' },\n { id: 'the-name-decentraland', label: '8. The Name \"Decentraland\"' },\n { id: 'the-logo-decentraland', label: '9. The Logo \"Decentraland\"' },\n { id: 'additional-rules', label: '10. Additional Rules' }\n]\n\nconst BrandTerms = memo(() => (\n <LegalPageLayout title=\"Terms of Use for Decentraland's Logo and Name\" activeSlug=\"/brand\" tableOfContents={TABLE_OF_CONTENTS}>\n <Paragraph>\n Decentraland is a decentralized virtual world governed by its users and as such strongly supports user generated content (UGC). People\n may use the Decentraland logo and name in their creations within Decentraland, but must follow the following terms.\n </Paragraph>\n\n <Section id=\"allowable-usage\">\n <SectionTitle>1. Allowable Usage</SectionTitle>\n <Paragraph>\n Users shall comply with these terms as well as Decentraland&apos;s{' '}\n <a href=\"https://decentraland.org/terms/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Terms of Use\n </a>{' '}\n and{' '}\n <a href=\"https://decentraland.org/content/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Content Policy\n </a>{' '}\n in order to be allowed to use the Decentraland name and logo within Decentraland.\n </Paragraph>\n </Section>\n\n <Section id=\"logo-and-name-ownership\">\n <SectionTitle>2. Logo and name ownership</SectionTitle>\n <Paragraph>\n The Decentraland Foundation is the registered owner of the Decentraland name and logo, acting for the benefit of the DAO. This is\n because currently the DAO lacks formal legal status.\n </Paragraph>\n </Section>\n\n <Section id=\"wearables-and-user-names\">\n <SectionTitle>3. Wearables and user names in Decentraland</SectionTitle>\n <Paragraph>\n Users may create wearables and names using the Decentraland logo and name on the Decentraland platform, provided that they\n don&apos;t violate the platform&apos;s Content Policy and Terms of Use. As far as the Decentraland Foundation is concerned, you are\n not prevented from monetizing or obtaining profits from the sale of said wearables or user names. The NFT must be unique in design.\n </Paragraph>\n <Paragraph>\n The Decentraland Foundation has the right to deny the use of the Decentraland name and logo at its sole discretion in any case and\n at any time.\n </Paragraph>\n </Section>\n\n <Section id=\"nfts-and-other-uses\">\n <SectionTitle>4. NFTs and other uses outside the Decentraland platform</SectionTitle>\n <Paragraph>\n The Decentraland Foundation does not authorize the creation of NFTs using the Decentraland name or logo outside the Decentraland\n platform. The use of the Decentraland name or logo is not allowed in other virtual platforms different from Decentraland or in the\n real world.\n </Paragraph>\n </Section>\n\n <Section id=\"disclaimer\">\n <SectionTitle>5. Disclaimer</SectionTitle>\n <Paragraph>\n In all written materials relating to your product, including websites, publications, etc. it must be made clear that you do not have\n any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland\n Foundation.\n </Paragraph>\n </Section>\n\n <Section id=\"press-releases\">\n <SectionTitle>6. Press Releases</SectionTitle>\n <Paragraph>\n Any press releases that you distribute through social networks, media or news services should clearly state that you do not have any\n kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation.\n </Paragraph>\n </Section>\n\n <Section id=\"advertisements\">\n <SectionTitle>7. Advertisements</SectionTitle>\n <Paragraph>\n Any paid advertisement that uses the Decentraland name or logo is generally not allowed and must first be approved by the\n Decentraland Foundation or the DAO. To seek such approval, you can send an email to:{' '}\n <a href=\"mailto:legal@decentraland.org\">legal@decentraland.org</a> or through a DAO proposal.\n </Paragraph>\n </Section>\n\n <Section id=\"the-name-decentraland\">\n <SectionTitle>8. The Name &quot;Decentraland&quot;</SectionTitle>\n <Paragraph>\n Subject to these terms you can use the name &quot;Decentraland&quot; to promote your game(s) or wearables as long as it doesn&apos;t\n confuse consumers and as long as it is not used as the name of an app or any kind of merchandise or product. In other words, you can\n refer to &quot;Decentraland&quot; as the name of the platform, and you can use the name to show your interest in or affection for\n the Decentraland platform.\n </Paragraph>\n </Section>\n\n <Section id=\"the-logo-decentraland\">\n <SectionTitle>9. The Logo &quot;Decentraland&quot;</SectionTitle>\n <Paragraph>\n Subject to these terms, you are only allowed to use the logo design that is available at the following link{' '}\n <a href=\"https://decentraland.org/press/\" target=\"_blank\" rel=\"noopener noreferrer\">\n https://decentraland.org/press/\n </a>\n . The Decentraland Foundation or the DAO may alter the form of this design from time to time. You are allowed to resize the logo as\n long as you do not modify the proportions. But otherwise, you cannot modify the logo design in any way and must abide by these\n terms.\n </Paragraph>\n </Section>\n\n <Section id=\"additional-rules\">\n <SectionTitle>10. Additional Rules</SectionTitle>\n <Paragraph>\n THE USE OF DECENTRALAND LOGO AND NAME CANNOT BE ASSOCIATED WITH ANYTHING THAT VIOLATES THE RIGHTS OF OTHER THIRD PARTIES IP, CREATES\n BRAND CONFUSION, HAS HARMFUL OR OBJECTIONABLE ASPECTS OR DOES NOT COMPLY WITH APPLICABLE LAWS OR ANY OF DECENTRALAND GUIDELINES,\n TERMS OR RULES. THE DAO AND THE DECENTRALAND FOUNDATION HAVE THE RIGHT TO DECIDE (IN THEIR SOLE DISCRETION) WHETHER THE USE IS\n ACCEPTABLE.\n </Paragraph>\n <Paragraph>\n YOU MUST NOT USE THE DECENTRALAND NAME OR LOGO IN ANY MANNER THAT IS LIKELY TO HAVE AN ADVERSE EFFECT ON THE REPUTATION OF\n DECENTRALAND (AS THE DAO OR DECENTRALAND FOUNDATION MAY DETERMINE IN THEIR SOLE DISCRETION). YOU MAY NOT USE THE DECENTRALAND NAME\n OR LOGO IN ANY WAY THAT SUGGESTS THAT YOU ARE AFFILIATED WITH DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION, OR IN ANY WAY\n THAT SUGGESTS THAT DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION SPONSORS OR ENDORSES YOUR USAGE.\n </Paragraph>\n <Paragraph>\n These terms grant you permission to use the Decentraland trademarks only in the ways described above. The Decentraland Foundation or\n the DAO may withdraw or change this permission at any time for any reason.\n </Paragraph>\n <Paragraph>\n Other uses of the Decentraland logo and name require the express approval of the Decentraland Foundation or the DAO.\n </Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nBrandTerms.displayName = 'BrandTerms'\n\nexport { BrandTerms }\n"],"names":["TABLE_OF_CONTENTS","BrandTerms","memo","jsxs","LegalPageLayout","jsx","Paragraph","Section","SectionTitle"],"mappings":"yUAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,kBAAmB,MAAO,oBAAA,EAChC,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,2BAA4B,MAAO,6CAAA,EACzC,CAAE,GAAI,sBAAuB,MAAO,0DAAA,EACpC,CAAE,GAAI,aAAc,MAAO,eAAA,EAC3B,CAAE,GAAI,iBAAkB,MAAO,mBAAA,EAC/B,CAAE,GAAI,iBAAkB,MAAO,mBAAA,EAC/B,CAAE,GAAI,wBAAyB,MAAO,4BAAA,EACtC,CAAE,GAAI,wBAAyB,MAAO,4BAAA,EACtC,CAAE,GAAI,mBAAoB,MAAO,sBAAA,CACnC,EAEMC,EAAaC,EAAAA,KAAK,IACtBC,EAAAA,KAACC,EAAA,CAAgB,MAAM,gDAAgD,WAAW,SAAS,gBAAiBJ,EAC1G,SAAA,CAAAK,EAAAA,IAACC,GAAU,SAAA,4PAAA,CAGX,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,kBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,oBAAA,CAAkB,SAC/BF,EAAA,CAAU,SAAA,CAAA,gEAC0D,IACnED,EAAAA,IAAC,KAAE,KAAK,kCAAkC,OAAO,SAAS,IAAI,sBAAsB,SAAA,cAAA,CAEpF,EAAK,IAAI,MACL,IACJA,EAAAA,IAAC,KAAE,KAAK,oCAAoC,OAAO,SAAS,IAAI,sBAAsB,SAAA,gBAAA,CAEtF,EAAK,IAAI,mFAAA,CAAA,CAEX,CAAA,EACF,EAEAF,EA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Q,GAAG,wBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,4BAAA,CAAoC,SACjDF,EAAA,CAAU,SAAA,CAAA,8GACmG,IAC5GD,EAAAA,IAAC,KAAE,KAAK,kCAAkC,OAAO,SAAS,IAAI,sBAAsB,SAAA,iCAAA,CAEpF,EAAI,2QAAA,CAAA,CAIN,CAAA,EACF,EAEAF,EAAAA,KAACI,EAAA,CAAQ,GAAG,mBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,sBAAA,CAAoB,EAClCH,EAAAA,IAACC,GAAU,SAAA,kZAAA,CAKX,EACAD,EAAAA,IAACC,GAAU,SAAA,0eAAA,CAKX,EACAD,EAAAA,IAACC,GAAU,SAAA,iNAAA,CAGX,EACAD,EAAAA,IAACC,GAAU,SAAA,sHAAA,CAEX,CAAA,CAAA,CACF,CAAA,EACF,CACD,EAEDL,EAAW,YAAc"}
1
+ {"version":3,"file":"index-CFdZJosQ.js","sources":["../../src/pages/brand/BrandTerms.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { LegalPageLayout, Paragraph, Section, SectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'allowable-usage', label: '1. Allowable Usage' },\n { id: 'logo-and-name-ownership', label: '2. Logo and name ownership' },\n { id: 'wearables-and-user-names', label: '3. Wearables and user names in Decentraland' },\n { id: 'nfts-and-other-uses', label: '4. NFTs and other uses outside the Decentraland platform' },\n { id: 'disclaimer', label: '5. Disclaimer' },\n { id: 'press-releases', label: '6. Press Releases' },\n { id: 'advertisements', label: '7. Advertisements' },\n { id: 'the-name-decentraland', label: '8. The Name \"Decentraland\"' },\n { id: 'the-logo-decentraland', label: '9. The Logo \"Decentraland\"' },\n { id: 'additional-rules', label: '10. Additional Rules' }\n]\n\nconst BrandTerms = memo(() => (\n <LegalPageLayout title=\"Terms of Use for Decentraland's Logo and Name\" activeSlug=\"/brand\" tableOfContents={TABLE_OF_CONTENTS}>\n <Paragraph>\n Decentraland is a decentralized virtual world governed by its users and as such strongly supports user generated content (UGC). People\n may use the Decentraland logo and name in their creations within Decentraland, but must follow the following terms.\n </Paragraph>\n\n <Section id=\"allowable-usage\">\n <SectionTitle>1. Allowable Usage</SectionTitle>\n <Paragraph>\n Users shall comply with these terms as well as Decentraland&apos;s{' '}\n <a href=\"https://decentraland.org/terms/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Terms of Use\n </a>{' '}\n and{' '}\n <a href=\"https://decentraland.org/content/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Content Policy\n </a>{' '}\n in order to be allowed to use the Decentraland name and logo within Decentraland.\n </Paragraph>\n </Section>\n\n <Section id=\"logo-and-name-ownership\">\n <SectionTitle>2. Logo and name ownership</SectionTitle>\n <Paragraph>\n The Decentraland Foundation is the registered owner of the Decentraland name and logo, acting for the benefit of the DAO. This is\n because currently the DAO lacks formal legal status.\n </Paragraph>\n </Section>\n\n <Section id=\"wearables-and-user-names\">\n <SectionTitle>3. Wearables and user names in Decentraland</SectionTitle>\n <Paragraph>\n Users may create wearables and names using the Decentraland logo and name on the Decentraland platform, provided that they\n don&apos;t violate the platform&apos;s Content Policy and Terms of Use. As far as the Decentraland Foundation is concerned, you are\n not prevented from monetizing or obtaining profits from the sale of said wearables or user names. The NFT must be unique in design.\n </Paragraph>\n <Paragraph>\n The Decentraland Foundation has the right to deny the use of the Decentraland name and logo at its sole discretion in any case and\n at any time.\n </Paragraph>\n </Section>\n\n <Section id=\"nfts-and-other-uses\">\n <SectionTitle>4. NFTs and other uses outside the Decentraland platform</SectionTitle>\n <Paragraph>\n The Decentraland Foundation does not authorize the creation of NFTs using the Decentraland name or logo outside the Decentraland\n platform. The use of the Decentraland name or logo is not allowed in other virtual platforms different from Decentraland or in the\n real world.\n </Paragraph>\n </Section>\n\n <Section id=\"disclaimer\">\n <SectionTitle>5. Disclaimer</SectionTitle>\n <Paragraph>\n In all written materials relating to your product, including websites, publications, etc. it must be made clear that you do not have\n any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland\n Foundation.\n </Paragraph>\n </Section>\n\n <Section id=\"press-releases\">\n <SectionTitle>6. Press Releases</SectionTitle>\n <Paragraph>\n Any press releases that you distribute through social networks, media or news services should clearly state that you do not have any\n kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation.\n </Paragraph>\n </Section>\n\n <Section id=\"advertisements\">\n <SectionTitle>7. Advertisements</SectionTitle>\n <Paragraph>\n Any paid advertisement that uses the Decentraland name or logo is generally not allowed and must first be approved by the\n Decentraland Foundation or the DAO. To seek such approval, you can send an email to:{' '}\n <a href=\"mailto:legal@decentraland.org\">legal@decentraland.org</a> or through a DAO proposal.\n </Paragraph>\n </Section>\n\n <Section id=\"the-name-decentraland\">\n <SectionTitle>8. The Name &quot;Decentraland&quot;</SectionTitle>\n <Paragraph>\n Subject to these terms you can use the name &quot;Decentraland&quot; to promote your game(s) or wearables as long as it doesn&apos;t\n confuse consumers and as long as it is not used as the name of an app or any kind of merchandise or product. In other words, you can\n refer to &quot;Decentraland&quot; as the name of the platform, and you can use the name to show your interest in or affection for\n the Decentraland platform.\n </Paragraph>\n </Section>\n\n <Section id=\"the-logo-decentraland\">\n <SectionTitle>9. The Logo &quot;Decentraland&quot;</SectionTitle>\n <Paragraph>\n Subject to these terms, you are only allowed to use the logo design that is available at the following link{' '}\n <a href=\"https://decentraland.org/press/\" target=\"_blank\" rel=\"noopener noreferrer\">\n https://decentraland.org/press/\n </a>\n . The Decentraland Foundation or the DAO may alter the form of this design from time to time. You are allowed to resize the logo as\n long as you do not modify the proportions. But otherwise, you cannot modify the logo design in any way and must abide by these\n terms.\n </Paragraph>\n </Section>\n\n <Section id=\"additional-rules\">\n <SectionTitle>10. Additional Rules</SectionTitle>\n <Paragraph>\n THE USE OF DECENTRALAND LOGO AND NAME CANNOT BE ASSOCIATED WITH ANYTHING THAT VIOLATES THE RIGHTS OF OTHER THIRD PARTIES IP, CREATES\n BRAND CONFUSION, HAS HARMFUL OR OBJECTIONABLE ASPECTS OR DOES NOT COMPLY WITH APPLICABLE LAWS OR ANY OF DECENTRALAND GUIDELINES,\n TERMS OR RULES. THE DAO AND THE DECENTRALAND FOUNDATION HAVE THE RIGHT TO DECIDE (IN THEIR SOLE DISCRETION) WHETHER THE USE IS\n ACCEPTABLE.\n </Paragraph>\n <Paragraph>\n YOU MUST NOT USE THE DECENTRALAND NAME OR LOGO IN ANY MANNER THAT IS LIKELY TO HAVE AN ADVERSE EFFECT ON THE REPUTATION OF\n DECENTRALAND (AS THE DAO OR DECENTRALAND FOUNDATION MAY DETERMINE IN THEIR SOLE DISCRETION). YOU MAY NOT USE THE DECENTRALAND NAME\n OR LOGO IN ANY WAY THAT SUGGESTS THAT YOU ARE AFFILIATED WITH DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION, OR IN ANY WAY\n THAT SUGGESTS THAT DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION SPONSORS OR ENDORSES YOUR USAGE.\n </Paragraph>\n <Paragraph>\n These terms grant you permission to use the Decentraland trademarks only in the ways described above. The Decentraland Foundation or\n the DAO may withdraw or change this permission at any time for any reason.\n </Paragraph>\n <Paragraph>\n Other uses of the Decentraland logo and name require the express approval of the Decentraland Foundation or the DAO.\n </Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nBrandTerms.displayName = 'BrandTerms'\n\nexport { BrandTerms }\n"],"names":["TABLE_OF_CONTENTS","BrandTerms","memo","jsxs","LegalPageLayout","jsx","Paragraph","Section","SectionTitle"],"mappings":"yUAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,kBAAmB,MAAO,oBAAA,EAChC,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,2BAA4B,MAAO,6CAAA,EACzC,CAAE,GAAI,sBAAuB,MAAO,0DAAA,EACpC,CAAE,GAAI,aAAc,MAAO,eAAA,EAC3B,CAAE,GAAI,iB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X,CAAA,CAAA,CACF,CAAA,EACF,CACD,EAEDL,EAAW,YAAc"}
@@ -1 +1 @@
1
- import{s as t,a as g,v as G,z as H,w as z,M as B,N,p as T,Z as R,$ as U,a0 as $,q as D,t as y,O as i,j as o,P as s,V as F,a1 as V,a2 as b,a3 as X,a4 as C,a5 as q,a6 as k,a7 as K,U as Q,a8 as Y,a9 as Z,aa as _}from"./index-DUmIu2EK.js";import{r as p}from"./vendor-router-D_36sTKu.js";import{A as J}from"./AnimatedBackground-BbbuCmrW.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 oo=t(g)(({theme:e})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"100%",height:800,overflow:"hidden",[e.breakpoints.down("sm")]:{height:480}})),eo=t("img")(({theme:e})=>({position:"absolute",top:"calc(35% - 20px)",left:"50%",transform:"translateX(-50%)",width:"auto",pointerEvents:"none",[e.breakpoints.down("sm")]:{position:"absolute",top:"auto",bottom:-50,left:"50%",transform:"translateX(-50%)",width:"auto",height:"65%",minWidth:"auto",maxWidth:"none"}})),no=t(g)(({theme:e})=>({position:"relative",zIndex:1,display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(3),padding:e.spacing(10,8),[e.breakpoints.down("sm")]:{width:"100%",maxWidth:393,padding:e.spacing(6,2),gap:e.spacing(2)}})),to=t(G)(({theme:e})=>({color:H.white,fontWeight:600,fontSize:48,textAlign:"center",letterSpacing:-.5,[e.breakpoints.down("sm")]:{fontSize:32}})),ao=t(g)({display:"flex",alignItems:"center",gap:16,flexWrap:"wrap",justifyContent:"center",position:"relative",zIndex:1}),so=t("span")({display:"flex",alignItems:"center",gap:12,color:"#fff",fontSize:16,fontWeight:400,lineHeight:1.5,whiteSpace:"nowrap",minWidth:210}),lo=t("span")({width:1,height:20,backgroundColor:"rgba(255, 255, 255, 0.3)"}),io=t("span")(({theme:e})=>({display:"flex",gap:8,alignItems:"center","& a":{display:"flex",lineHeight:0},[e.breakpoints.down("sm")]:{"& a":{pointerEvents:"none",color:"inherit",textDecoration:"none"}}})),r=t("img")({width:24,height:24,filter:"brightness(0) invert(1)"});t("img")({width:32,height:32,filter:"brightness(0) invert(1)"});let v=null;const ro=p.memo(()=>{const e=z(),h=B(),{isDownloadModalOpen:O,closeDownloadModal:S,downloadModalProps:A,totalDownloads:I}=N(),[,n]=T(),[m,w]=R(async()=>U.get().getTotalDownloads(),[]),d=!w.loading&&w.loaded&&m?m:null;d&&(v=_(d));const f=$(d),M=f?_(f):v??"+400K",l=n?.os.name,u=!!n?.mobile,W=u&&l==="Android",[x,c]=p.useState(null),E=()=>W?o.jsx(b,{href:X,target:"_blank",rel:"noopener noreferrer",children:o.jsx(C,{src:q,alt:"Get it on Google Play"})}):o.jsx(b,{href:k.appStore,target:"_blank",rel:"noopener noreferrer",children:o.jsx(C,{src:s("/download-on-the-app-store.svg"),alt:"Download on the App Store"})}),L=p.useCallback(a=>{h(a),n&&(window.location.href=`/download_success?os=${n.os.name}`)},[h,n]),j=n?{[i.WINDOWS]:y,[i.MACOS]:D}[n.os.name]:null,P=()=>o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{display:"flex",gap:24,justifyContent:"center"},children:[o.jsxs(K,{href:n?`/download_success?os=${n.os.name}`:"/download","data-place":Q.LANDING_HERO,"data-event":"click",onClick:L,children:[e("page.download.download_for_short"),j?o.jsx("img",{src:j,alt:n?.os.name??"",width:32,height:32,style:{filter:"brightness(0) invert(1)"}}):o.jsx("span",{style:{display:"block",width:32,height:32,flexShrink:0}})]}),o.jsxs(Y,{href:k.epic,target:"_blank",rel:"noopener noreferrer",children:[e("page.download.download_on"),o.jsx("img",{src:s("/epic_icon.svg"),alt:"Epic Games",width:32,height:32,style:{filter:"brightness(0)"}})]})]}),o.jsxs(ao,{children:[o.jsxs(so,{children:[o.jsx(Z,{})," ",e("page.download.total_downloads",{downloads:M})]}),o.jsx(lo,{}),o.jsxs(io,{children:[l===i.MACOS&&o.jsx("a",{href:"/download_success?os=Windows",children:o.jsx(r,{src:y,alt:"Windows"})}),l===i.WINDOWS&&o.jsx("a",{href:"/download_success?os=macOS",children:o.jsx(r,{src:D,alt:"macOS"})}),!l&&o.jsx("span",{style:{display:"inline-block",width:24,height:24}}),o.jsx("a",{href:"#",onClick:a=>{a.preventDefault(),c("ios")},children:o.jsx(r,{src:s("/ios-logo.svg"),alt:"iOS"})}),o.jsx("a",{href:"#",onClick:a=>{a.preventDefault(),c("android")},children:o.jsx(r,{src:s("/google_play_icon.svg"),alt:"Android"})})]})]})]});return o.jsxs(oo,{children:[o.jsx(J,{variant:"absolute"}),o.jsxs(no,{children:[o.jsx(to,{variant:"h2",children:e("page.home.come_hang_out.title")}),u?E():P()]}),o.jsx(eo,{src:s("/come_hang_out_background.webp"),alt:"","aria-hidden":!0,width:1920,height:840,loading:"lazy"}),o.jsx(F,{open:O,onClose:S,...A}),x&&o.jsx(V,{open:!0,onClose:()=>c(null),os:x,i18n:{totalDownloads:`Total Downloads: ${I}`}})]})});ro.displayName="ComeHangOut";export{ro as ComeHangOut};
1
+ import{s as t,a as g,v as G,z as H,w as z,M as B,N,p as T,Z as R,$ as U,a0 as $,q as D,t as y,O as i,j as o,P as s,V as F,a1 as V,a2 as b,a3 as X,a4 as C,a5 as q,a6 as k,a7 as K,U as Q,a8 as Y,a9 as Z,aa as _}from"./index-BoINd_2w.js";import{r as p}from"./vendor-router-D_36sTKu.js";import{A as J}from"./AnimatedBackground-DVpktqVp.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 oo=t(g)(({theme:e})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"100%",height:800,overflow:"hidden",[e.breakpoints.down("sm")]:{height:480}})),eo=t("img")(({theme:e})=>({position:"absolute",top:"calc(35% - 20px)",left:"50%",transform:"translateX(-50%)",width:"auto",pointerEvents:"none",[e.breakpoints.down("sm")]:{position:"absolute",top:"auto",bottom:-50,left:"50%",transform:"translateX(-50%)",width:"auto",height:"65%",minWidth:"auto",maxWidth:"none"}})),no=t(g)(({theme:e})=>({position:"relative",zIndex:1,display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(3),padding:e.spacing(10,8),[e.breakpoints.down("sm")]:{width:"100%",maxWidth:393,padding:e.spacing(6,2),gap:e.spacing(2)}})),to=t(G)(({theme:e})=>({color:H.white,fontWeight:600,fontSize:48,textAlign:"center",letterSpacing:-.5,[e.breakpoints.down("sm")]:{fontSize:32}})),ao=t(g)({display:"flex",alignItems:"center",gap:16,flexWrap:"wrap",justifyContent:"center",position:"relative",zIndex:1}),so=t("span")({display:"flex",alignItems:"center",gap:12,color:"#fff",fontSize:16,fontWeight:400,lineHeight:1.5,whiteSpace:"nowrap",minWidth:210}),lo=t("span")({width:1,height:20,backgroundColor:"rgba(255, 255, 255, 0.3)"}),io=t("span")(({theme:e})=>({display:"flex",gap:8,alignItems:"center","& a":{display:"flex",lineHeight:0},[e.breakpoints.down("sm")]:{"& a":{pointerEvents:"none",color:"inherit",textDecoration:"none"}}})),r=t("img")({width:24,height:24,filter:"brightness(0) invert(1)"});t("img")({width:32,height:32,filter:"brightness(0) invert(1)"});let v=null;const ro=p.memo(()=>{const e=z(),h=B(),{isDownloadModalOpen:O,closeDownloadModal:S,downloadModalProps:A,totalDownloads:I}=N(),[,n]=T(),[m,w]=R(async()=>U.get().getTotalDownloads(),[]),d=!w.loading&&w.loaded&&m?m:null;d&&(v=_(d));const f=$(d),M=f?_(f):v??"+400K",l=n?.os.name,u=!!n?.mobile,W=u&&l==="Android",[x,c]=p.useState(null),E=()=>W?o.jsx(b,{href:X,target:"_blank",rel:"noopener noreferrer",children:o.jsx(C,{src:q,alt:"Get it on Google Play"})}):o.jsx(b,{href:k.appStore,target:"_blank",rel:"noopener noreferrer",children:o.jsx(C,{src:s("/download-on-the-app-store.svg"),alt:"Download on the App Store"})}),L=p.useCallback(a=>{h(a),n&&(window.location.href=`/download_success?os=${n.os.name}`)},[h,n]),j=n?{[i.WINDOWS]:y,[i.MACOS]:D}[n.os.name]:null,P=()=>o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{display:"flex",gap:24,justifyContent:"center"},children:[o.jsxs(K,{href:n?`/download_success?os=${n.os.name}`:"/download","data-place":Q.LANDING_HERO,"data-event":"click",onClick:L,children:[e("page.download.download_for_short"),j?o.jsx("img",{src:j,alt:n?.os.name??"",width:32,height:32,style:{filter:"brightness(0) invert(1)"}}):o.jsx("span",{style:{display:"block",width:32,height:32,flexShrink:0}})]}),o.jsxs(Y,{href:k.epic,target:"_blank",rel:"noopener noreferrer",children:[e("page.download.download_on"),o.jsx("img",{src:s("/epic_icon.svg"),alt:"Epic Games",width:32,height:32,style:{filter:"brightness(0)"}})]})]}),o.jsxs(ao,{children:[o.jsxs(so,{children:[o.jsx(Z,{})," ",e("page.download.total_downloads",{downloads:M})]}),o.jsx(lo,{}),o.jsxs(io,{children:[l===i.MACOS&&o.jsx("a",{href:"/download_success?os=Windows",children:o.jsx(r,{src:y,alt:"Windows"})}),l===i.WINDOWS&&o.jsx("a",{href:"/download_success?os=macOS",children:o.jsx(r,{src:D,alt:"macOS"})}),!l&&o.jsx("span",{style:{display:"inline-block",width:24,height:24}}),o.jsx("a",{href:"#",onClick:a=>{a.preventDefault(),c("ios")},children:o.jsx(r,{src:s("/ios-logo.svg"),alt:"iOS"})}),o.jsx("a",{href:"#",onClick:a=>{a.preventDefault(),c("android")},children:o.jsx(r,{src:s("/google_play_icon.svg"),alt:"Android"})})]})]})]});return o.jsxs(oo,{children:[o.jsx(J,{variant:"absolute"}),o.jsxs(no,{children:[o.jsx(to,{variant:"h2",children:e("page.home.come_hang_out.title")}),u?E():P()]}),o.jsx(eo,{src:s("/come_hang_out_background.webp"),alt:"","aria-hidden":!0,width:1920,height:840,loading:"lazy"}),o.jsx(F,{open:O,onClose:S,...A}),x&&o.jsx(V,{open:!0,onClose:()=>c(null),os:x,i18n:{totalDownloads:`Total Downloads: ${I}`}})]})});ro.displayName="ComeHangOut";export{ro as ComeHangOut};
@@ -1 +1 @@
1
- {"version":3,"file":"index-BKY10VNY.js","sources":["../../src/components/Home/ComeHangOut/ComeHangOut.styled.ts","../../src/components/Home/ComeHangOut/ComeHangOut.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst ComeHangOutContainer = styled(Box)(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'flex-start',\n width: '100%',\n height: 800,\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n height: 480\n }\n}))\n\nconst AvatarsImage = styled('img')(({ theme }) => ({\n position: 'absolute',\n top: 'calc(35% - 20px)',\n left: '50%',\n transform: 'translateX(-50%)',\n width: 'auto',\n pointerEvents: 'none',\n [theme.breakpoints.down('sm')]: {\n position: 'absolute',\n top: 'auto',\n bottom: -50,\n left: '50%',\n transform: 'translateX(-50%)',\n width: 'auto',\n height: '65%',\n minWidth: 'auto',\n maxWidth: 'none'\n }\n}))\n\nconst Content = styled(Box)(({ theme }) => ({\n position: 'relative',\n zIndex: 1,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(3),\n padding: theme.spacing(10, 8),\n [theme.breakpoints.down('sm')]: {\n width: '100%',\n maxWidth: 393,\n padding: theme.spacing(6, 2),\n gap: theme.spacing(2)\n }\n}))\n\nconst Title = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 48,\n textAlign: 'center',\n letterSpacing: -0.5,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst DownloadInfo = styled(Box)({\n display: 'flex',\n alignItems: 'center',\n gap: 16,\n flexWrap: 'wrap',\n justifyContent: 'center',\n position: 'relative',\n zIndex: 1\n})\n\nconst DownloadCounts = styled('span')({\n display: 'flex',\n alignItems: 'center',\n gap: 12,\n color: '#fff',\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n whiteSpace: 'nowrap',\n minWidth: 210\n})\n\nconst DownloadSeparator = styled('span')({\n width: 1,\n height: 20,\n backgroundColor: 'rgba(255, 255, 255, 0.3)'\n})\n\nconst PlatformIcons = styled('span')(({ theme }) => ({\n display: 'flex',\n gap: 8,\n alignItems: 'center',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& a': {\n display: 'flex',\n lineHeight: 0\n },\n [theme.breakpoints.down('sm')]: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& a': {\n pointerEvents: 'none',\n color: 'inherit',\n textDecoration: 'none'\n }\n }\n}))\n\nconst PlatformIcon = styled('img')({\n width: 24,\n height: 24,\n filter: 'brightness(0) invert(1)'\n})\n\nconst OsIcon = styled('img')({\n width: 32,\n height: 32,\n filter: 'brightness(0) invert(1)'\n})\n\nexport {\n AvatarsImage,\n ComeHangOutContainer,\n Content,\n DownloadCounts,\n DownloadInfo,\n DownloadSeparator,\n OsIcon,\n PlatformIcon,\n PlatformIcons,\n Title\n}\nexport { HangOutButton } from '../shared/HangOutButton.styled'\nexport {\n ComingSoonIcon,\n ComingSoonRow,\n ComingSoonText,\n GooglePlayButton,\n GooglePlayImage,\n MobileSubtitle,\n SendLinkButton\n} from '../shared/MobileCTA.styled'\n","import { memo, useCallback, useState } from 'react'\nimport { useAdvancedUserAgentData, useAsyncMemo } from '@dcl/hooks'\nimport { AnimatedBackground, DownloadModal, DownloadQRModal } from 'decentraland-ui2'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { useAnimatedCounter } from '../../../hooks/useAnimatedCounter'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport appleLogo from '../../../images/apple-logo.svg'\nimport microsoftLogo from '../../../images/microsoft-logo.svg'\nimport { DOWNLOAD_URLS } from '../../../modules/downloadConstants'\nimport { ExplorerDownloads } from '../../../modules/explorerDownloads'\nimport { formatToShorthand } from '../../../modules/number'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { OperativeSystem } from '../../../types/download.types'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { VerifiedIcon } from '../../Icon/VerifiedIcon'\nimport { DownloadButton, EpicButton } from '../Hero/Hero.styled'\nimport { GOOGLE_PLAY_MOBILE_URL, googlePlayBadge } from '../shared/googlePlay'\nimport {\n AvatarsImage,\n ComeHangOutContainer,\n Content,\n DownloadCounts,\n DownloadInfo,\n DownloadSeparator,\n GooglePlayButton,\n GooglePlayImage,\n PlatformIcon,\n PlatformIcons,\n Title\n} from './ComeHangOut.styled'\n\nlet cachedDownloadCounts: string | null = null\n\nconst ComeHangOut = memo(() => {\n const l = useFormatMessage()\n const onClickHandle = useTrackClick()\n const { isDownloadModalOpen, closeDownloadModal, downloadModalProps, totalDownloads } = useHangOutAction()\n const [, userAgentData] = useAdvancedUserAgentData()\n const [rawDownloads, rawDownloadsStatus] = useAsyncMemo(async () => ExplorerDownloads.get().getTotalDownloads(), [])\n\n const targetDownloads = !rawDownloadsStatus.loading && rawDownloadsStatus.loaded && rawDownloads ? rawDownloads : null\n if (targetDownloads) cachedDownloadCounts = formatToShorthand(targetDownloads)\n const animatedDownloads = useAnimatedCounter(targetDownloads)\n const downloadCountsFormatted = animatedDownloads ? formatToShorthand(animatedDownloads) : cachedDownloadCounts ?? '+400K'\n\n const currentOs = userAgentData?.os.name\n const isMobile = !!userAgentData?.mobile\n const isMobileAndroid = isMobile && currentOs === 'Android'\n\n // Mobile download modal for platform icon clicks\n const [mobileModalOs, setMobileModalOs] = useState<'ios' | 'android' | null>(null)\n\n const renderMobileContent = () => {\n if (isMobileAndroid) {\n return (\n <GooglePlayButton href={GOOGLE_PLAY_MOBILE_URL} target=\"_blank\" rel=\"noopener noreferrer\">\n <GooglePlayImage src={googlePlayBadge} alt=\"Get it on Google Play\" />\n </GooglePlayButton>\n )\n }\n\n return (\n <GooglePlayButton href={DOWNLOAD_URLS.appStore} target=\"_blank\" rel=\"noopener noreferrer\">\n <GooglePlayImage src={assetUrl('/download-on-the-app-store.svg')} alt=\"Download on the App Store\" />\n </GooglePlayButton>\n )\n }\n\n const handleDownloadClick = useCallback(\n (e: React.MouseEvent<HTMLElement>) => {\n onClickHandle(e)\n if (userAgentData) {\n window.location.href = `/download_success?os=${userAgentData.os.name}`\n }\n },\n [onClickHandle, userAgentData]\n )\n\n const osImage = userAgentData\n ? { [OperativeSystem.WINDOWS]: microsoftLogo, [OperativeSystem.MACOS]: appleLogo }[userAgentData.os.name]\n : null\n\n const renderDesktopContent = () => (\n <>\n <div style={{ display: 'flex', gap: 24, justifyContent: 'center' }}>\n <DownloadButton\n href={userAgentData ? `/download_success?os=${userAgentData.os.name}` : '/download'}\n data-place={SectionViewedTrack.LANDING_HERO}\n data-event=\"click\"\n onClick={handleDownloadClick}\n >\n {l('page.download.download_for_short')}\n {osImage ? (\n <img src={osImage} alt={userAgentData?.os.name ?? ''} width={32} height={32} style={{ filter: 'brightness(0) invert(1)' }} />\n ) : (\n <span style={{ display: 'block', width: 32, height: 32, flexShrink: 0 }} />\n )}\n </DownloadButton>\n <EpicButton href={DOWNLOAD_URLS.epic} target=\"_blank\" rel=\"noopener noreferrer\">\n {l('page.download.download_on')}\n <img src={assetUrl('/epic_icon.svg')} alt=\"Epic Games\" width={32} height={32} style={{ filter: 'brightness(0)' }} />\n </EpicButton>\n </div>\n <DownloadInfo>\n <DownloadCounts>\n <VerifiedIcon /> {l('page.download.total_downloads', { downloads: downloadCountsFormatted })}\n </DownloadCounts>\n <DownloadSeparator />\n <PlatformIcons>\n {currentOs === OperativeSystem.MACOS && (\n <a href=\"/download_success?os=Windows\">\n <PlatformIcon src={microsoftLogo} alt=\"Windows\" />\n </a>\n )}\n {currentOs === OperativeSystem.WINDOWS && (\n <a href=\"/download_success?os=macOS\">\n <PlatformIcon src={appleLogo} alt=\"macOS\" />\n </a>\n )}\n {!currentOs && <span style={{ display: 'inline-block', width: 24, height: 24 }} />}\n <a\n href=\"#\"\n onClick={e => {\n e.preventDefault()\n setMobileModalOs('ios')\n }}\n >\n <PlatformIcon src={assetUrl('/ios-logo.svg')} alt=\"iOS\" />\n </a>\n <a\n href=\"#\"\n onClick={e => {\n e.preventDefault()\n setMobileModalOs('android')\n }}\n >\n <PlatformIcon src={assetUrl('/google_play_icon.svg')} alt=\"Android\" />\n </a>\n </PlatformIcons>\n </DownloadInfo>\n </>\n )\n\n return (\n <ComeHangOutContainer>\n <AnimatedBackground variant=\"absolute\" />\n <Content>\n <Title variant=\"h2\">{l('page.home.come_hang_out.title')}</Title>\n {isMobile ? renderMobileContent() : renderDesktopContent()}\n </Content>\n <AvatarsImage src={assetUrl('/come_hang_out_background.webp')} alt=\"\" aria-hidden width={1920} height={840} loading=\"lazy\" />\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n {mobileModalOs && (\n <DownloadQRModal\n open\n onClose={() => setMobileModalOs(null)}\n os={mobileModalOs}\n i18n={{ totalDownloads: `Total Downloads: ${totalDownloads}` }}\n />\n )}\n </ComeHangOutContainer>\n )\n})\n\nComeHangOut.displayName = 'ComeHangOut'\n\nexport { ComeHangOut }\n"],"names":["ComeHangOutContainer","styled","Box","theme","AvatarsImage","Content","Title","Typography","dclColors.neutral","DownloadInfo","DownloadCounts","DownloadSeparator","PlatformIcons","PlatformIcon","cachedDownloadCounts","ComeHangOut","memo","l","useFormatMessage","onClickHandle","useTrackClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","totalDownloads","useHangOutAction","userAgentData","useAdvancedUserAgentData","rawDownloads","rawDownloadsStatus","useAsyncMemo","ExplorerDownloads","targetDownloads","formatToShorthand","animatedDownloads","useAnimatedCounter","downloadCountsFormatted","currentOs","isMobile","isMobileAndroid","mobileModalOs","setMobileModalOs","useState","renderMobileContent","jsx","GooglePlayButton","GOOGLE_PLAY_MOBILE_URL","GooglePlayImage","googlePlayBadge","DOWNLOAD_URLS","assetUrl","handleDownloadClick","useCallback","e","osImage","OperativeSystem","microsoftLogo","appleLogo","renderDesktopContent","jsxs","Fragment","DownloadButton","SectionViewedTrack","EpicButton","VerifiedIcon","AnimatedBackground","DownloadModal","DownloadQRModal"],"mappings":"+fAEA,MAAMA,GAAuBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACvD,SAAU,WACV,QAAS,OACT,cAAe,SACf,WAAY,SACZ,eAAgB,aAChB,MAAO,OACP,OAAQ,IACR,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,OAAQ,GAAA,CAEZ,EAAE,EAEIC,GAAeH,EAAO,KAAK,EAAE,CAAC,CAAE,MAAAE,MAAa,CACjD,SAAU,WACV,IAAK,mBACL,KAAM,MACN,UAAW,mBACX,MAAO,OACP,cAAe,OACf,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,WACV,IAAK,OACL,OAAQ,IACR,KAAM,MACN,UAAW,mBACX,MAAO,OACP,OAAQ,MACR,SAAU,OACV,SAAU,MAAA,CAEd,EAAE,EAEIE,GAAUJ,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CAC1C,SAAU,WACV,OAAQ,EACR,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,QAASA,EAAM,QAAQ,GAAI,CAAC,EAC5B,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,MAAO,OACP,SAAU,IACV,QAASA,EAAM,QAAQ,EAAG,CAAC,EAC3B,IAAKA,EAAM,QAAQ,CAAC,CAAA,CAExB,EAAE,EAEIG,GAAQL,EAAOM,CAAU,EAAE,CAAC,CAAE,MAAA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,CACxB,EAEA,eAAC5B,EAAA,CAAa,IAAKqC,EAAS,eAAe,EAAG,IAAI,KAAA,CAAM,CAAA,CAAA,EAE1DN,EAAAA,IAAC,IAAA,CACC,KAAK,IACL,QAASS,GAAK,CACZA,EAAE,eAAA,EACFZ,EAAiB,SAAS,CAC5B,EAEA,eAAC5B,EAAA,CAAa,IAAKqC,EAAS,uBAAuB,EAAG,IAAI,SAAA,CAAU,CAAA,CAAA,CACtE,CAAA,CACF,CAAA,CAAA,CACF,CAAA,EACF,EAGF,cACGlD,GAAA,CACC,SAAA,CAAA4C,EAAAA,IAACqB,EAAA,CAAmB,QAAQ,UAAA,CAAW,SACtC5D,GAAA,CACC,SAAA,CAAAuC,MAACtC,GAAA,CAAM,QAAQ,KAAM,SAAAW,EAAE,+BAA+B,EAAE,EACvDqB,EAAWK,EAAA,EAAwBe,EAAA,CAAqB,EAC3D,EACAd,EAAAA,IAACxC,GAAA,CAAa,IAAK8C,EAAS,gCAAgC,EAAG,IAAI,GAAG,cAAW,GAAC,MAAO,KAAM,OAAQ,IAAK,QAAQ,OAAO,QAC1HgB,EAAA,CAAc,KAAM7C,EAAqB,QAASC,EAAqB,GAAGC,EAAoB,EAC9FiB,GACCI,EAAAA,IAACuB,EAAA,CACC,KAAI,GACJ,QAAS,IAAM1B,EAAiB,IAAI,EACpC,GAAID,EACJ,KAAM,CAAE,eAAgB,oBAAoBhB,CAAc,EAAA,CAAG,CAAA,CAC/D,EAEJ,CAEJ,CAAC,EAEDT,GAAY,YAAc"}
1
+ {"version":3,"file":"index-COhuG0UZ.js","sources":["../../src/components/Home/ComeHangOut/ComeHangOut.styled.ts","../../src/components/Home/ComeHangOut/ComeHangOut.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst ComeHangOutContainer = styled(Box)(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'flex-start',\n width: '100%',\n height: 800,\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n height: 480\n }\n}))\n\nconst AvatarsImage = styled('img')(({ theme }) => ({\n position: 'absolute',\n top: 'calc(35% - 20px)',\n left: '50%',\n transform: 'translateX(-50%)',\n width: 'auto',\n pointerEvents: 'none',\n [theme.breakpoints.down('sm')]: {\n position: 'absolute',\n top: 'auto',\n bottom: -50,\n left: '50%',\n transform: 'translateX(-50%)',\n width: 'auto',\n height: '65%',\n minWidth: 'auto',\n maxWidth: 'none'\n }\n}))\n\nconst Content = styled(Box)(({ theme }) => ({\n position: 'relative',\n zIndex: 1,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(3),\n padding: theme.spacing(10, 8),\n [theme.breakpoints.down('sm')]: {\n width: '100%',\n maxWidth: 393,\n padding: theme.spacing(6, 2),\n gap: theme.spacing(2)\n }\n}))\n\nconst Title = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 48,\n textAlign: 'center',\n letterSpacing: -0.5,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst DownloadInfo = styled(Box)({\n display: 'flex',\n alignItems: 'center',\n gap: 16,\n flexWrap: 'wrap',\n justifyContent: 'center',\n position: 'relative',\n zIndex: 1\n})\n\nconst DownloadCounts = styled('span')({\n display: 'flex',\n alignItems: 'center',\n gap: 12,\n color: '#fff',\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 1.5,\n whiteSpace: 'nowrap',\n minWidth: 210\n})\n\nconst DownloadSeparator = styled('span')({\n width: 1,\n height: 20,\n backgroundColor: 'rgba(255, 255, 255, 0.3)'\n})\n\nconst PlatformIcons = styled('span')(({ theme }) => ({\n display: 'flex',\n gap: 8,\n alignItems: 'center',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& a': {\n display: 'flex',\n lineHeight: 0\n },\n [theme.breakpoints.down('sm')]: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& a': {\n pointerEvents: 'none',\n color: 'inherit',\n textDecoration: 'none'\n }\n }\n}))\n\nconst PlatformIcon = styled('img')({\n width: 24,\n height: 24,\n filter: 'brightness(0) invert(1)'\n})\n\nconst OsIcon = styled('img')({\n width: 32,\n height: 32,\n filter: 'brightness(0) invert(1)'\n})\n\nexport {\n AvatarsImage,\n ComeHangOutContainer,\n Content,\n DownloadCounts,\n DownloadInfo,\n DownloadSeparator,\n OsIcon,\n PlatformIcon,\n PlatformIcons,\n Title\n}\nexport { HangOutButton } from '../shared/HangOutButton.styled'\nexport {\n ComingSoonIcon,\n ComingSoonRow,\n ComingSoonText,\n GooglePlayButton,\n GooglePlayImage,\n MobileSubtitle,\n SendLinkButton\n} from '../shared/MobileCTA.styled'\n","import { memo, useCallback, useState } from 'react'\nimport { useAdvancedUserAgentData, useAsyncMemo } from '@dcl/hooks'\nimport { AnimatedBackground, DownloadModal, DownloadQRModal } from 'decentraland-ui2'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { useAnimatedCounter } from '../../../hooks/useAnimatedCounter'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport appleLogo from '../../../images/apple-logo.svg'\nimport microsoftLogo from '../../../images/microsoft-logo.svg'\nimport { DOWNLOAD_URLS } from '../../../modules/downloadConstants'\nimport { ExplorerDownloads } from '../../../modules/explorerDownloads'\nimport { formatToShorthand } from '../../../modules/number'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { OperativeSystem } from '../../../types/download.types'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { VerifiedIcon } from '../../Icon/VerifiedIcon'\nimport { DownloadButton, EpicButton } from '../Hero/Hero.styled'\nimport { GOOGLE_PLAY_MOBILE_URL, googlePlayBadge } from '../shared/googlePlay'\nimport {\n AvatarsImage,\n ComeHangOutContainer,\n Content,\n DownloadCounts,\n DownloadInfo,\n DownloadSeparator,\n GooglePlayButton,\n GooglePlayImage,\n PlatformIcon,\n PlatformIcons,\n Title\n} from './ComeHangOut.styled'\n\nlet cachedDownloadCounts: string | null = null\n\nconst ComeHangOut = memo(() => {\n const l = useFormatMessage()\n const onClickHandle = useTrackClick()\n const { isDownloadModalOpen, closeDownloadModal, downloadModalProps, totalDownloads } = useHangOutAction()\n const [, userAgentData] = useAdvancedUserAgentData()\n const [rawDownloads, rawDownloadsStatus] = useAsyncMemo(async () => ExplorerDownloads.get().getTotalDownloads(), [])\n\n const targetDownloads = !rawDownloadsStatus.loading && rawDownloadsStatus.loaded && rawDownloads ? rawDownloads : null\n if (targetDownloads) cachedDownloadCounts = formatToShorthand(targetDownloads)\n const animatedDownloads = useAnimatedCounter(targetDownloads)\n const downloadCountsFormatted = animatedDownloads ? formatToShorthand(animatedDownloads) : cachedDownloadCounts ?? '+400K'\n\n const currentOs = userAgentData?.os.name\n const isMobile = !!userAgentData?.mobile\n const isMobileAndroid = isMobile && currentOs === 'Android'\n\n // Mobile download modal for platform icon clicks\n const [mobileModalOs, setMobileModalOs] = useState<'ios' | 'android' | null>(null)\n\n const renderMobileContent = () => {\n if (isMobileAndroid) {\n return (\n <GooglePlayButton href={GOOGLE_PLAY_MOBILE_URL} target=\"_blank\" rel=\"noopener noreferrer\">\n <GooglePlayImage src={googlePlayBadge} alt=\"Get it on Google Play\" />\n </GooglePlayButton>\n )\n }\n\n return (\n <GooglePlayButton href={DOWNLOAD_URLS.appStore} target=\"_blank\" rel=\"noopener noreferrer\">\n <GooglePlayImage src={assetUrl('/download-on-the-app-store.svg')} alt=\"Download on the App Store\" />\n </GooglePlayButton>\n )\n }\n\n const handleDownloadClick = useCallback(\n (e: React.MouseEvent<HTMLElement>) => {\n onClickHandle(e)\n if (userAgentData) {\n window.location.href = `/download_success?os=${userAgentData.os.name}`\n }\n },\n [onClickHandle, userAgentData]\n )\n\n const osImage = userAgentData\n ? { [OperativeSystem.WINDOWS]: microsoftLogo, [OperativeSystem.MACOS]: appleLogo }[userAgentData.os.name]\n : null\n\n const renderDesktopContent = () => (\n <>\n <div style={{ display: 'flex', gap: 24, justifyContent: 'center' }}>\n <DownloadButton\n href={userAgentData ? `/download_success?os=${userAgentData.os.name}` : '/download'}\n data-place={SectionViewedTrack.LANDING_HERO}\n data-event=\"click\"\n onClick={handleDownloadClick}\n >\n {l('page.download.download_for_short')}\n {osImage ? (\n <img src={osImage} alt={userAgentData?.os.name ?? ''} width={32} height={32} style={{ filter: 'brightness(0) invert(1)' }} />\n ) : (\n <span style={{ display: 'block', width: 32, height: 32, flexShrink: 0 }} />\n )}\n </DownloadButton>\n <EpicButton href={DOWNLOAD_URLS.epic} target=\"_blank\" rel=\"noopener noreferrer\">\n {l('page.download.download_on')}\n <img src={assetUrl('/epic_icon.svg')} alt=\"Epic Games\" width={32} height={32} style={{ filter: 'brightness(0)' }} />\n </EpicButton>\n </div>\n <DownloadInfo>\n <DownloadCounts>\n <VerifiedIcon /> {l('page.download.total_downloads', { downloads: downloadCountsFormatted })}\n </DownloadCounts>\n <DownloadSeparator />\n <PlatformIcons>\n {currentOs === OperativeSystem.MACOS && (\n <a href=\"/download_success?os=Windows\">\n <PlatformIcon src={microsoftLogo} alt=\"Windows\" />\n </a>\n )}\n {currentOs === OperativeSystem.WINDOWS && (\n <a href=\"/download_success?os=macOS\">\n <PlatformIcon src={appleLogo} alt=\"macOS\" />\n </a>\n )}\n {!currentOs && <span style={{ display: 'inline-block', width: 24, height: 24 }} />}\n <a\n href=\"#\"\n onClick={e => {\n e.preventDefault()\n setMobileModalOs('ios')\n }}\n >\n <PlatformIcon src={assetUrl('/ios-logo.svg')} alt=\"iOS\" />\n </a>\n <a\n href=\"#\"\n onClick={e => {\n e.preventDefault()\n setMobileModalOs('android')\n }}\n >\n <PlatformIcon src={assetUrl('/google_play_icon.svg')} alt=\"Android\" />\n </a>\n </PlatformIcons>\n </DownloadInfo>\n </>\n )\n\n return (\n <ComeHangOutContainer>\n <AnimatedBackground variant=\"absolute\" />\n <Content>\n <Title variant=\"h2\">{l('page.home.come_hang_out.title')}</Title>\n {isMobile ? renderMobileContent() : renderDesktopContent()}\n </Content>\n <AvatarsImage src={assetUrl('/come_hang_out_background.webp')} alt=\"\" aria-hidden width={1920} height={840} loading=\"lazy\" />\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n {mobileModalOs && (\n <DownloadQRModal\n open\n onClose={() => setMobileModalOs(null)}\n os={mobileModalOs}\n i18n={{ totalDownloads: `Total Downloads: ${totalDownloads}` }}\n />\n )}\n </ComeHangOutContainer>\n )\n})\n\nComeHangOut.displayName = 'ComeHangOut'\n\nexport { ComeHangOut }\n"],"names":["ComeHangOutContainer","styled","Box","theme","AvatarsImage","Content","Title","Typography","dclColors.neutral","DownloadInfo","DownloadCounts","DownloadSeparator","PlatformIcons","PlatformIcon","cachedDownloadCounts","ComeHangOut","memo","l","useFormatMessage","onClickHandle","useTrackClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","totalDownloads","useHangOutAction","userAgentData","useAdvancedUserAgentData","rawDownloads","rawDownloadsStatus","useAsyncMemo","ExplorerDownloads","targetDownloads","formatToShorthand","animatedDownloads","useAnimatedCounter","downloadCountsFormatted","currentOs","isMobile","isMobileAndroid","mobileModalOs","setMobileModalOs","useState","renderMobileContent","jsx","GooglePlayButton","GOOGLE_PLAY_MOBILE_URL","GooglePlayImage","googlePlayBadge","DOWNLOAD_URLS","assetUrl","handleDownloadClick","useCallback","e","osImage","OperativeSystem","microsoftLogo","appleLogo","renderDesktopContent","jsxs","Fragment","DownloadButton","SectionViewedTrack","EpicButton","VerifiedIcon","AnimatedBackground","DownloadModal","DownloadQRModal"],"mappings":"+fAEA,MAAMA,GAAuBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACvD,SAAU,WACV,QAAS,OACT,cAAe,SACf,WAAY,SACZ,eAAgB,aAChB,MAAO,OACP,OAAQ,IACR,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,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DqB,EAAWK,EAAA,EAAwBe,EAAA,CAAqB,EAC3D,EACAd,EAAAA,IAACxC,GAAA,CAAa,IAAK8C,EAAS,gCAAgC,EAAG,IAAI,GAAG,cAAW,GAAC,MAAO,KAAM,OAAQ,IAAK,QAAQ,OAAO,QAC1HgB,EAAA,CAAc,KAAM7C,EAAqB,QAASC,EAAqB,GAAGC,EAAoB,EAC9FiB,GACCI,EAAAA,IAACuB,EAAA,CACC,KAAI,GACJ,QAAS,IAAM1B,EAAiB,IAAI,EACpC,GAAID,EACJ,KAAM,CAAE,eAAgB,oBAAoBhB,CAAc,EAAA,CAAG,CAAA,CAC/D,EAEJ,CAEJ,CAAC,EAEDT,GAAY,YAAc"}
@@ -1 +1 @@
1
- import{s as t,a as o,v as s,w as l,j as n,B as i}from"./index-DUmIu2EK.js";import{r as c}from"./vendor-router-D_36sTKu.js";import{V as d}from"./Video--A0fBGqz.js";import{A as p}from"./AnimatedSection-CcAt5h6R.js";import{e as g}from"./index-XwRFjo-F.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-Dp_zMaiv.js";import"./file-Cr_gl9BS.js";import"./url-BHzlJYXC.js";import"./index-BaEE4ZXP.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-D8_9d6Wu.js";import"./CircularProgress-AsNM1BvH.js";const m="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24686484792.commit-e56f2bf/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-BoINd_2w.js";import{r as c}from"./vendor-router-D_36sTKu.js";import{V as d}from"./Video-DfjlIy5m.js";import{A as p}from"./AnimatedSection-BLhE6NJp.js";import{e as g}from"./index-DCk4IgWe.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-Ci_tHGLN.js";import"./file-Cr_gl9BS.js";import"./url-DZWf7pg7.js";import"./index-z5rocGN5.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-BurlKFHL.js";import"./CircularProgress-pomnkuJx.js";const m="https://cdn.decentraland.org/@dcl/landing-site/0.5.1-24692282370.commit-1a6e5c1/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-BVu5N7d0.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,IAA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I,EAAG,GAAI,MAAA,CAAO,EACrD,SAAA,CAAAG,EAAE,sDAAsD,EACzDE,EAAAA,IAACM,EAAA,CACC,QAAQ,YACR,UAAU,IACV,KAAMR,EAAE,oDAAoD,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-CXg_mAxU.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,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AA,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 +1 @@
1
- import{_ as f,a as v,c as _,b as p}from"./vendor-intl-D2lXWsDp.js";import{l as N,g as k,u as j,r as y,c as P,C as z,d as C,e as b,i as F,m as L,b as S,f as R,P as B,h as Q,j as W,k as G,n as T,o as U}from"./index-pguZ7Pr7.js";import{i as V}from"./is-plan-event-enabled-DeNtQvA5.js";import"./index-DUmIu2EK.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 D(i){return i.toLowerCase().replace(".","").replace(/\s+/g,"-")}function E(i,t){return t===void 0&&(t=!1),t?btoa(i).replace(/=/g,""):void 0}function H(i){return("Integration"in i?i.Integration:i).prototype.name}function J(i,t,n){var e,a;try{var r=((a=(e=window?.performance)===null||e===void 0?void 0:e.getEntriesByName(i,"resource"))!==null&&a!==void 0?a:[])[0];r&&t.stats.gauge("legacy_destination_time",Math.round(r.duration),_([n],r.duration<100?["cached"]:[],!0))}catch{}}function K(i,t,n){var e;if("Integration"in i){var a={user:function(){return n.user()},addIntegration:function(){}};i(a),e=i.Integration}else e=i;var r=new e(t);return r.analytics=n,r}function X(i,t,n,e){return f(this,void 0,void 0,function(){var a,r,o,u,s,l;return v(this,function(d){switch(d.label){case 0:a=D(t),r=E(a,e),o=k(),u="".concat(o,"/integrations/").concat(r??a,"/").concat(n,"/").concat(r??a,".dynamic.js.gz"),d.label=1;case 1:return d.trys.push([1,3,,4]),[4,N(u)];case 2:return d.sent(),J(u,i,t),[3,4];case 3:throw s=d.sent(),i.stats.gauge("legacy_destination_time",-1,["plugin:".concat(t),"failed"]),s;case 4:return l=window["".concat(a,"Deps")],[4,Promise.all(l.map(function(m){return N(o+m+".gz")}))];case 5:return d.sent(),window["".concat(a,"Loader")](),[2,window["".concat(a,"Integration")]]}})})}function Y(i,t,n){return f(this,void 0,void 0,function(){var e,a,r,o;return v(this,function(u){return e=k(),a=D(i),r=E(i,n),o="".concat(e,"/integrations/").concat(r??a,"/").concat(t,"/").concat(r??a,".dynamic.js.gz"),[2,j(o)]})})}function Z(i){var t,n,e,a;return(a=(n=(t=i?.versionSettings)===null||t===void 0?void 0:t.override)!==null&&n!==void 0?n:(e=i?.versionSettings)===null||e===void 0?void 0:e.version)!==null&&a!==void 0?a:"latest"}var $=function(i,t){var n,e=t.type,a=t.bundlingStatus,r=t.versionSettings,o=a!=="unbundled"&&(e==="browser"||((n=r?.componentTypes)===null||n===void 0?void 0:n.includes("browser")));return!i.startsWith("Segment")&&i!=="Iterable"&&o},q=function(i,t){var n=t.All===!1&&t[i]===void 0;return t[i]===!1||n};function x(i,t){return f(this,void 0,void 0,function(){var n,e=this;return v(this,function(a){switch(a.label){case 0:return n=[],P()?[2,t]:[4,W(function(){return t.length>0&&U()},function(){return f(e,void 0,void 0,function(){var r,o,u;return v(this,function(s){switch(s.label){case 0:return r=t.pop(),r?[4,G(r,i)]:[2];case 1:return o=s.sent(),u=o instanceof T,u||n.push(r),[2]}})})})];case 1:return a.sent(),n.map(function(r){return t.pushWithBackoff(r)}),[2,t]}})})}var tt=function(){function i(t,n,e,a,r,o){a===void 0&&(a={});var u=this;this.options={},this.type="destination",this.middleware=[],this.initializePromise=R(),this.flushing=!1,this.name=t,this.version=n,this.settings=p({},a),this.disableAutoISOConversion=r.disableAutoISOConversion||!1,this.integrationSource=o,this.settings.type&&this.settings.type==="browser"&&delete this.settings.type,this.initializePromise.promise.then(function(s){return u._initialized=s},function(){}),this.options=r,this.buffer=r.disableClientPersistence?new B(4,[]):new Q(4,"".concat(e,":dest-").concat(t)),this.scheduleFlush()}return i.prototype.isLoaded=function(){return!!this._ready},i.prototype.ready=function(){var t=this;return this.initializePromise.promise.then(function(){var n;return(n=t.onReady)!==null&&n!==void 0?n:Promise.resolve()})},i.prototype.load=function(t,n){var e;return f(this,void 0,void 0,function(){var a,r,o,u=this;return v(this,function(s){switch(s.label){case 0:if(this._ready||this.onReady!==void 0)return[2];s.label=1;case 1:return s.trys.push([1,5,,6]),(e=this.integrationSource)!==null&&e!==void 0?(r=e,[3,4]):[3,2];case 2:return[4,X(t,this.name,this.version,this.options.obfuscate)];case 3:r=s.sent(),s.label=4;case 4:return a=r,this.integration=K(a,this.settings,n),[3,6];case 5:throw o=s.sent(),y(t,{integrationName:this.name,methodName:"load",type:"classic",didError:!0}),o;case 6:this.onReady=new Promise(function(l){var d=function(){u._ready=!0,l(!0)};u.integration.once("ready",d)}),this.integration.on("initialize",function(){u.initializePromise.resolve(!0)});try{y(t,{integrationName:this.name,methodName:"initialize",type:"classic"}),this.integration.initialize()}catch(l){throw y(t,{integrationName:this.name,methodName:"initialize",type:"classic",didError:!0}),this.initializePromise.resolve(!1),l}return[2]}})})},i.prototype.unload=function(t,n){return Y(this.name,this.version,this.options.obfuscate)},i.prototype.addMiddleware=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this.middleware=(t=this.middleware).concat.apply(t,n)},i.prototype.shouldBuffer=function(t){return t.event.type!=="page"&&(P()||this._ready!==!0||this._initialized!==!0)},i.prototype.send=function(t,n,e){var a,r;return f(this,void 0,void 0,function(){var o,u,s,l,d,m;return v(this,function(h){switch(h.label){case 0:return this.shouldBuffer(t)?(this.buffer.push(t),this.scheduleFlush(),[2,t]):(o=(r=(a=this.options)===null||a===void 0?void 0:a.plan)===null||r===void 0?void 0:r.track,u=t.event.event,o&&u&&this.name!=="Segment.io"&&(s=o[u],V(o,s)?t.updateEvent("integrations",p(p({},t.event.integrations),s?.integrations)):(t.updateEvent("integrations",p(p({},t.event.integrations),{All:!1,"Segment.io":!0})),t.cancel(new z({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"}))),s?.enabled&&s?.integrations[this.name]===!1&&t.cancel(new z({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"}))),[4,C(this.name,t.event,this.middleware)]);case 1:if(l=h.sent(),l===null)return[2,t];d=new n(l,{traverse:!this.disableAutoISOConversion}),y(t,{integrationName:this.name,methodName:e,type:"classic"}),h.label=2;case 2:return h.trys.push([2,5,,6]),this.integration?[4,this.integration.invoke.call(this.integration,e,d)]:[3,4];case 3:h.sent(),h.label=4;case 4:return[3,6];case 5:throw m=h.sent(),y(t,{integrationName:this.name,methodName:e,type:"classic",didError:!0}),m;case 6:return[2,t]}})})},i.prototype.track=function(t){return f(this,void 0,void 0,function(){return v(this,function(n){return[2,this.send(t,b.Track,"track")]})})},i.prototype.page=function(t){var n;return f(this,void 0,void 0,function(){return v(this,function(e){switch(e.label){case 0:return!((n=this.integration)===null||n===void 0)&&n._assumesPageview&&!this._initialized&&this.integration.initialize(),[4,this.initializePromise.promise];case 1:return e.sent(),[2,this.send(t,b.Page,"page")]}})})},i.prototype.identify=function(t){return f(this,void 0,void 0,function(){return v(this,function(n){return[2,this.send(t,b.Identify,"identify")]})})},i.prototype.alias=function(t){return f(this,void 0,void 0,function(){return v(this,function(n){return[2,this.send(t,b.Alias,"alias")]})})},i.prototype.group=function(t){return f(this,void 0,void 0,function(){return v(this,function(n){return[2,this.send(t,b.Group,"group")]})})},i.prototype.scheduleFlush=function(){var t=this;this.flushing||setTimeout(function(){return f(t,void 0,void 0,function(){var n;return v(this,function(e){switch(e.label){case 0:return P()||this._ready!==!0||this._initialized!==!0?(this.scheduleFlush(),[2]):(this.flushing=!0,n=this,[4,x(this,this.buffer)]);case 1:return n.buffer=e.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}})})},Math.random()*5e3)},i}();function dt(i,t,n,e,a,r){var o,u;if(n===void 0&&(n={}),e===void 0&&(e={}),F())return[];t.plan&&(e=e??{},e.plan=t.plan);var s=(u=(o=t.middlewareSettings)===null||o===void 0?void 0:o.routingRules)!==null&&u!==void 0?u:[],l=t.integrations,d=e.integrations,m=L(t,e??{}),h=r?.reduce(function(c,w){var g;return p(p({},c),(g={},g[H(w)]=w,g))},{}),O=new Set(_(_([],Object.keys(l).filter(function(c){return $(c,l[c])}),!0),Object.keys(h||{}).filter(function(c){return S(l[c])||S(d?.[c])}),!0));return Array.from(O).filter(function(c){return!q(c,n)}).map(function(c){var w=l[c],g=Z(w),I=new tt(c,g,i,m[c],e,h?.[c]),A=s.filter(function(M){return M.destinationName===c});return A.length>0&&a&&I.addMiddleware(a),I})}export{tt as LegacyDestination,dt as ajsDestinations};
1
+ import{_ as f,a as v,c as _,b as p}from"./vendor-intl-D2lXWsDp.js";import{l as N,g as k,u as j,r as y,c as P,C as z,d as C,e as b,i as F,m as L,b as S,f as R,P as B,h as Q,j as W,k as G,n as T,o as U}from"./index-CaK85mwB.js";import{i as V}from"./is-plan-event-enabled-DeNtQvA5.js";import"./index-BoINd_2w.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 D(i){return i.toLowerCase().replace(".","").replace(/\s+/g,"-")}function E(i,t){return t===void 0&&(t=!1),t?btoa(i).replace(/=/g,""):void 0}function H(i){return("Integration"in i?i.Integration:i).prototype.name}function J(i,t,n){var e,a;try{var r=((a=(e=window?.performance)===null||e===void 0?void 0:e.getEntriesByName(i,"resource"))!==null&&a!==void 0?a:[])[0];r&&t.stats.gauge("legacy_destination_time",Math.round(r.duration),_([n],r.duration<100?["cached"]:[],!0))}catch{}}function K(i,t,n){var e;if("Integration"in i){var a={user:function(){return n.user()},addIntegration:function(){}};i(a),e=i.Integration}else e=i;var r=new e(t);return r.analytics=n,r}function X(i,t,n,e){return f(this,void 0,void 0,function(){var a,r,o,u,s,l;return v(this,function(d){switch(d.label){case 0:a=D(t),r=E(a,e),o=k(),u="".concat(o,"/integrations/").concat(r??a,"/").concat(n,"/").concat(r??a,".dynamic.js.gz"),d.label=1;case 1:return d.trys.push([1,3,,4]),[4,N(u)];case 2:return d.sent(),J(u,i,t),[3,4];case 3:throw s=d.sent(),i.stats.gauge("legacy_destination_time",-1,["plugin:".concat(t),"failed"]),s;case 4:return l=window["".concat(a,"Deps")],[4,Promise.all(l.map(function(m){return N(o+m+".gz")}))];case 5:return d.sent(),window["".concat(a,"Loader")](),[2,window["".concat(a,"Integration")]]}})})}function Y(i,t,n){return f(this,void 0,void 0,function(){var e,a,r,o;return v(this,function(u){return e=k(),a=D(i),r=E(i,n),o="".concat(e,"/integrations/").concat(r??a,"/").concat(t,"/").concat(r??a,".dynamic.js.gz"),[2,j(o)]})})}function Z(i){var t,n,e,a;return(a=(n=(t=i?.versionSettings)===null||t===void 0?void 0:t.override)!==null&&n!==void 0?n:(e=i?.versionSettings)===null||e===void 0?void 0:e.version)!==null&&a!==void 0?a:"latest"}var $=function(i,t){var n,e=t.type,a=t.bundlingStatus,r=t.versionSettings,o=a!=="unbundled"&&(e==="browser"||((n=r?.componentTypes)===null||n===void 0?void 0:n.includes("browser")));return!i.startsWith("Segment")&&i!=="Iterable"&&o},q=function(i,t){var n=t.All===!1&&t[i]===void 0;return t[i]===!1||n};function x(i,t){return f(this,void 0,void 0,function(){var n,e=this;return v(this,function(a){switch(a.label){case 0:return n=[],P()?[2,t]:[4,W(function(){return t.length>0&&U()},function(){return f(e,void 0,void 0,function(){var r,o,u;return v(this,function(s){switch(s.label){case 0:return r=t.pop(),r?[4,G(r,i)]:[2];case 1:return o=s.sent(),u=o instanceof T,u||n.push(r),[2]}})})})];case 1:return a.sent(),n.map(function(r){return t.pushWithBackoff(r)}),[2,t]}})})}var tt=function(){function i(t,n,e,a,r,o){a===void 0&&(a={});var u=this;this.options={},this.type="destination",this.middleware=[],this.initializePromise=R(),this.flushing=!1,this.name=t,this.version=n,this.settings=p({},a),this.disableAutoISOConversion=r.disableAutoISOConversion||!1,this.integrationSource=o,this.settings.type&&this.settings.type==="browser"&&delete this.settings.type,this.initializePromise.promise.then(function(s){return u._initialized=s},function(){}),this.options=r,this.buffer=r.disableClientPersistence?new B(4,[]):new Q(4,"".concat(e,":dest-").concat(t)),this.scheduleFlush()}return i.prototype.isLoaded=function(){return!!this._ready},i.prototype.ready=function(){var t=this;return this.initializePromise.promise.then(function(){var n;return(n=t.onReady)!==null&&n!==void 0?n:Promise.resolve()})},i.prototype.load=function(t,n){var e;return f(this,void 0,void 0,function(){var a,r,o,u=this;return v(this,function(s){switch(s.label){case 0:if(this._ready||this.onReady!==void 0)return[2];s.label=1;case 1:return s.trys.push([1,5,,6]),(e=this.integrationSource)!==null&&e!==void 0?(r=e,[3,4]):[3,2];case 2:return[4,X(t,this.name,this.version,this.options.obfuscate)];case 3:r=s.sent(),s.label=4;case 4:return a=r,this.integration=K(a,this.settings,n),[3,6];case 5:throw o=s.sent(),y(t,{integrationName:this.name,methodName:"load",type:"classic",didError:!0}),o;case 6:this.onReady=new Promise(function(l){var d=function(){u._ready=!0,l(!0)};u.integration.once("ready",d)}),this.integration.on("initialize",function(){u.initializePromise.resolve(!0)});try{y(t,{integrationName:this.name,methodName:"initialize",type:"classic"}),this.integration.initialize()}catch(l){throw y(t,{integrationName:this.name,methodName:"initialize",type:"classic",didError:!0}),this.initializePromise.resolve(!1),l}return[2]}})})},i.prototype.unload=function(t,n){return Y(this.name,this.version,this.options.obfuscate)},i.prototype.addMiddleware=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this.middleware=(t=this.middleware).concat.apply(t,n)},i.prototype.shouldBuffer=function(t){return t.event.type!=="page"&&(P()||this._ready!==!0||this._initialized!==!0)},i.prototype.send=function(t,n,e){var a,r;return f(this,void 0,void 0,function(){var o,u,s,l,d,m;return v(this,function(h){switch(h.label){case 0:return this.shouldBuffer(t)?(this.buffer.push(t),this.scheduleFlush(),[2,t]):(o=(r=(a=this.options)===null||a===void 0?void 0:a.plan)===null||r===void 0?void 0:r.track,u=t.event.event,o&&u&&this.name!=="Segment.io"&&(s=o[u],V(o,s)?t.updateEvent("integrations",p(p({},t.event.integrations),s?.integrations)):(t.updateEvent("integrations",p(p({},t.event.integrations),{All:!1,"Segment.io":!0})),t.cancel(new z({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"}))),s?.enabled&&s?.integrations[this.name]===!1&&t.cancel(new z({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"}))),[4,C(this.name,t.event,this.middleware)]);case 1:if(l=h.sent(),l===null)return[2,t];d=new n(l,{traverse:!this.disableAutoISOConversion}),y(t,{integrationName:this.name,methodName:e,type:"classic"}),h.label=2;case 2:return h.trys.push([2,5,,6]),this.integration?[4,this.integration.invoke.call(this.integration,e,d)]:[3,4];case 3:h.sent(),h.label=4;case 4:return[3,6];case 5:throw m=h.sent(),y(t,{integrationName:this.name,methodName:e,type:"classic",didError:!0}),m;case 6:return[2,t]}})})},i.prototype.track=function(t){return f(this,void 0,void 0,function(){return v(this,function(n){return[2,this.send(t,b.Track,"track")]})})},i.prototype.page=function(t){var n;return f(this,void 0,void 0,function(){return v(this,function(e){switch(e.label){case 0:return!((n=this.integration)===null||n===void 0)&&n._assumesPageview&&!this._initialized&&this.integration.initialize(),[4,this.initializePromise.promise];case 1:return e.sent(),[2,this.send(t,b.Page,"page")]}})})},i.prototype.identify=function(t){return f(this,void 0,void 0,function(){return v(this,function(n){return[2,this.send(t,b.Identify,"identify")]})})},i.prototype.alias=function(t){return f(this,void 0,void 0,function(){return v(this,function(n){return[2,this.send(t,b.Alias,"alias")]})})},i.prototype.group=function(t){return f(this,void 0,void 0,function(){return v(this,function(n){return[2,this.send(t,b.Group,"group")]})})},i.prototype.scheduleFlush=function(){var t=this;this.flushing||setTimeout(function(){return f(t,void 0,void 0,function(){var n;return v(this,function(e){switch(e.label){case 0:return P()||this._ready!==!0||this._initialized!==!0?(this.scheduleFlush(),[2]):(this.flushing=!0,n=this,[4,x(this,this.buffer)]);case 1:return n.buffer=e.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}})})},Math.random()*5e3)},i}();function dt(i,t,n,e,a,r){var o,u;if(n===void 0&&(n={}),e===void 0&&(e={}),F())return[];t.plan&&(e=e??{},e.plan=t.plan);var s=(u=(o=t.middlewareSettings)===null||o===void 0?void 0:o.routingRules)!==null&&u!==void 0?u:[],l=t.integrations,d=e.integrations,m=L(t,e??{}),h=r?.reduce(function(c,w){var g;return p(p({},c),(g={},g[H(w)]=w,g))},{}),O=new Set(_(_([],Object.keys(l).filter(function(c){return $(c,l[c])}),!0),Object.keys(h||{}).filter(function(c){return S(l[c])||S(d?.[c])}),!0));return Array.from(O).filter(function(c){return!q(c,n)}).map(function(c){var w=l[c],g=Z(w),I=new tt(c,g,i,m[c],e,h?.[c]),A=s.filter(function(M){return M.destinationName===c});return A.length>0&&a&&I.addMiddleware(a),I})}export{tt as LegacyDestination,dt as ajsDestinations};