@dcl/landing-site 0.5.1-24671743849.commit-e464803 → 0.5.1-24676306976.commit-32f8f97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{AnimatedBackground-B-L76Zza.js → AnimatedBackground-dcjrq3Hb.js} +2 -2
- package/assets/{AnimatedBackground-B-L76Zza.js.map → AnimatedBackground-dcjrq3Hb.js.map} +1 -1
- package/assets/{AnimatedSection-C7y4e9MO.js → AnimatedSection-DcOoZ95V.js} +1 -1
- package/assets/{AnimatedSection-C7y4e9MO.js.map → AnimatedSection-DcOoZ95V.js.map} +1 -1
- package/assets/{ArrowBackIosNew-m07XLZJ3.js → ArrowBackIosNew-Dn-9PDt-.js} +1 -1
- package/assets/{ArrowBackIosNew-m07XLZJ3.js.map → ArrowBackIosNew-Dn-9PDt-.js.map} +1 -1
- package/assets/{AuthorPage-HEjEdZnQ.js → AuthorPage-f97GOPMA.js} +1 -1
- package/assets/{AuthorPage-HEjEdZnQ.js.map → AuthorPage-f97GOPMA.js.map} +1 -1
- package/assets/{Badges-C3LP2L14.js → Badges-BpJgPUyV.js} +1 -1
- package/assets/{Badges-C3LP2L14.js.map → Badges-BpJgPUyV.js.map} +1 -1
- package/assets/{BlogLayout-DOXQWe4b.js → BlogLayout-fQyF80O7.js} +1 -1
- package/assets/{BlogLayout-DOXQWe4b.js.map → BlogLayout-fQyF80O7.js.map} +1 -1
- package/assets/{BlogPage-BYou2PX1.js → BlogPage-D-7bU7Ll.js} +1 -1
- package/assets/{BlogPage-BYou2PX1.js.map → BlogPage-D-7bU7Ll.js.map} +1 -1
- package/assets/{CTAButton-DIvER7jP.js → CTAButton-BrHntZLo.js} +1 -1
- package/assets/{CTAButton-DIvER7jP.js.map → CTAButton-BrHntZLo.js.map} +1 -1
- package/assets/{CardContent-CTD4H4a5.js → CardContent-BIfXh0wk.js} +1 -1
- package/assets/{CardContent-CTD4H4a5.js.map → CardContent-BIfXh0wk.js.map} +1 -1
- package/assets/{CardMedia-DkSJQ0Yc.js → CardMedia-BH9g0LEk.js} +1 -1
- package/assets/{CardMedia-DkSJQ0Yc.js.map → CardMedia-BH9g0LEk.js.map} +1 -1
- package/assets/{Carousel-Bz36sWAV.js → Carousel-DvX_HfdZ.js} +1 -1
- package/assets/{Carousel-Bz36sWAV.js.map → Carousel-DvX_HfdZ.js.map} +1 -1
- package/assets/{CategoryPage-5N-S_EtG.js → CategoryPage-CH1WRgbC.js} +1 -1
- package/assets/{CategoryPage-5N-S_EtG.js.map → CategoryPage-CH1WRgbC.js.map} +1 -1
- package/assets/{CircleAndArrow-DDOq4aRv.js → CircleAndArrow-5tP5OYot.js} +1 -1
- package/assets/{CircleAndArrow-DDOq4aRv.js.map → CircleAndArrow-5tP5OYot.js.map} +1 -1
- package/assets/{CircularProgress-DMJbftwB.js → CircularProgress-Bi5r1ZmM.js} +1 -1
- package/assets/{CircularProgress-DMJbftwB.js.map → CircularProgress-Bi5r1ZmM.js.map} +1 -1
- package/assets/{ContentCopy-Die7TKLF.js → ContentCopy-oX-8qyhW.js} +1 -1
- package/assets/{ContentCopy-Die7TKLF.js.map → ContentCopy-oX-8qyhW.js.map} +1 -1
- package/assets/{CreateEventPage-DB5tddNm.js → CreateEventPage-nDxfw2qB.js} +1 -1
- package/assets/{CreateEventPage-DB5tddNm.js.map → CreateEventPage-nDxfw2qB.js.map} +1 -1
- package/assets/{CreatorHubDownload-DVIZjVQI.js → CreatorHubDownload-LwI4JZRK.js} +1 -1
- package/assets/{CreatorHubDownload-DVIZjVQI.js.map → CreatorHubDownload-LwI4JZRK.js.map} +1 -1
- package/assets/{CreatorHubDownloadSuccess-D0krvgHC.js → CreatorHubDownloadSuccess-mbihmO3P.js} +1 -1
- package/assets/{CreatorHubDownloadSuccess-D0krvgHC.js.map → CreatorHubDownloadSuccess-mbihmO3P.js.map} +1 -1
- package/assets/{DappsShell-DXZfdOqe.js → DappsShell-D7P6uq6M.js} +1 -1
- package/assets/{DappsShell-DXZfdOqe.js.map → DappsShell-D7P6uq6M.js.map} +1 -1
- package/assets/{DownloadSuccessLayout-B5KxILAh.js → DownloadSuccessLayout-BzbsrQCo.js} +1 -1
- package/assets/{DownloadSuccessLayout-B5KxILAh.js.map → DownloadSuccessLayout-BzbsrQCo.js.map} +1 -1
- package/assets/{Grow-BbhVo4-Q.js → Grow-DI7E9jMT.js} +1 -1
- package/assets/{Grow-BbhVo4-Q.js.map → Grow-DI7E9jMT.js.map} +1 -1
- package/assets/{HomePage-CSW35au2.js → HomePage-CIPkOlhD.js} +2 -2
- package/assets/{HomePage-CSW35au2.js.map → HomePage-CIPkOlhD.js.map} +1 -1
- package/assets/{InviteFaqs-BZEDqRWz.js → InviteFaqs-BX1-mTcI.js} +1 -1
- package/assets/{InviteFaqs-BZEDqRWz.js.map → InviteFaqs-BX1-mTcI.js.map} +1 -1
- package/assets/{InvitePage-CNSVnM5F.js → InvitePage-DzjBtcFR.js} +2 -2
- package/assets/{InvitePage-CNSVnM5F.js.map → InvitePage-DzjBtcFR.js.map} +1 -1
- package/assets/{JumpInIcon-DsVzhXWI.js → JumpInIcon-XhbTBoY-.js} +1 -1
- package/assets/{JumpInIcon-DsVzhXWI.js.map → JumpInIcon-XhbTBoY-.js.map} +1 -1
- package/assets/{LegalPageLayout-BGd6IPpz.js → LegalPageLayout-PNgx2stH.js} +1 -1
- package/assets/{LegalPageLayout-BGd6IPpz.js.map → LegalPageLayout-PNgx2stH.js.map} +1 -1
- package/assets/{Link-C-K90yR0.js → Link-BXRsbP2-.js} +1 -1
- package/assets/{Link-C-K90yR0.js.map → Link-BXRsbP2-.js.map} +1 -1
- package/assets/{MenuItem-DJBLDqfL.js → MenuItem-Clk60JBW.js} +1 -1
- package/assets/{MenuItem-DJBLDqfL.js.map → MenuItem-Clk60JBW.js.map} +1 -1
- package/assets/{Paper-BcsxEQWA.js → Paper-ECb0Xsu2.js} +1 -1
- package/assets/{Paper-BcsxEQWA.js.map → Paper-ECb0Xsu2.js.map} +1 -1
- package/assets/{PostCard-CalYnkvr.js → PostCard-f81875cD.js} +1 -1
- package/assets/{PostCard-CalYnkvr.js.map → PostCard-f81875cD.js.map} +1 -1
- package/assets/{PostPage-DYDVBmyR.js → PostPage-Cs4pLVTx.js} +1 -1
- package/assets/{PostPage-DYDVBmyR.js.map → PostPage-Cs4pLVTx.js.map} +1 -1
- package/assets/{PostPage.styled-B-fdiFDU.js → PostPage.styled-VLSekVON.js} +3 -3
- package/assets/{PostPage.styled-B-fdiFDU.js.map → PostPage.styled-VLSekVON.js.map} +1 -1
- package/assets/{PreviewPage-BE7HyZTt.js → PreviewPage-cynFTjak.js} +1 -1
- package/assets/{PreviewPage-BE7HyZTt.js.map → PreviewPage-cynFTjak.js.map} +1 -1
- package/assets/{SEO-P8y8JbS9.js → SEO-YDqyOXs4.js} +1 -1
- package/assets/{SEO-P8y8JbS9.js.map → SEO-YDqyOXs4.js.map} +1 -1
- package/assets/{SearchPage-BraoruXd.js → SearchPage-DVmJu_R7.js} +1 -1
- package/assets/{SearchPage-BraoruXd.js.map → SearchPage-DVmJu_R7.js.map} +1 -1
- package/assets/{SignInRedirect-COcA7WhX.js → SignInRedirect-CBRz5buy.js} +1 -1
- package/assets/{SignInRedirect-COcA7WhX.js.map → SignInRedirect-CBRz5buy.js.map} +1 -1
- package/assets/{SignInRedirect-CS5Xkoa_.js → SignInRedirect-D4M7f1v0.js} +1 -1
- package/assets/{SignInRedirect-CS5Xkoa_.js.map → SignInRedirect-D4M7f1v0.js.map} +1 -1
- package/assets/{Skeleton-o93N4ZZz.js → Skeleton-DqCnSDlA.js} +1 -1
- package/assets/{Skeleton-o93N4ZZz.js.map → Skeleton-DqCnSDlA.js.map} +1 -1
- package/assets/{TwitterEmbed-C3w4WnFA.js → TwitterEmbed-CeWfRgEL.js} +1 -1
- package/assets/{TwitterEmbed-C3w4WnFA.js.map → TwitterEmbed-CeWfRgEL.js.map} +1 -1
- package/assets/{Video-DF4ljNzn.js → Video-CuR4cgxQ.js} +1 -1
- package/assets/{Video-DF4ljNzn.js.map → Video-CuR4cgxQ.js.map} +1 -1
- package/assets/{WearablePreview-5JNPj6PX.js → WearablePreview-BeBKKCQq.js} +1 -1
- package/assets/{WearablePreview-5JNPj6PX.js.map → WearablePreview-BeBKKCQq.js.map} +1 -1
- package/assets/{auto-track-UkqTRxye.js → auto-track-BrVpOTAy.js} +1 -1
- package/assets/{auto-track-UkqTRxye.js.map → auto-track-BrVpOTAy.js.map} +1 -1
- package/assets/{ccip-cqtPy8Xz.js → ccip-bYpzfsa2.js} +1 -1
- package/assets/{ccip-cqtPy8Xz.js.map → ccip-bYpzfsa2.js.map} +1 -1
- package/assets/{createSvgIcon-DH_tCoWL.js → createSvgIcon-MBeMKPZF.js} +1 -1
- package/assets/{createSvgIcon-DH_tCoWL.js.map → createSvgIcon-MBeMKPZF.js.map} +1 -1
- package/assets/{download-DQLaB97z.js → download-rD4GIwoM.js} +2 -2
- package/assets/{download-DQLaB97z.js.map → download-rD4GIwoM.js.map} +1 -1
- package/assets/{downloadWithIdentity-dAd_6Xjv.js → downloadWithIdentity-BJa06ukv.js} +1 -1
- package/assets/{downloadWithIdentity-dAd_6Xjv.js.map → downloadWithIdentity-BJa06ukv.js.map} +1 -1
- package/assets/{events.client-DDwZtrCh.js → events.client-BFY0iJFt.js} +1 -1
- package/assets/{events.client-DDwZtrCh.js.map → events.client-BFY0iJFt.js.map} +1 -1
- package/assets/{index-bKbknVRg.js → index-45xDJN7P.js} +1 -1
- package/assets/{index-bKbknVRg.js.map → index-45xDJN7P.js.map} +1 -1
- package/assets/{index-D1lz72ps.js → index-B0nEp5pe.js} +1 -1
- package/assets/{index-D1lz72ps.js.map → index-B0nEp5pe.js.map} +1 -1
- package/assets/{index-DsiqoitH.js → index-B87wYcCv.js} +1 -1
- package/assets/{index-DsiqoitH.js.map → index-B87wYcCv.js.map} +1 -1
- package/assets/{index-BpUUMJJL.js → index-B8Zt542v.js} +2 -2
- package/assets/{index-BpUUMJJL.js.map → index-B8Zt542v.js.map} +1 -1
- package/assets/{index-ppzLK-bi.js → index-BMdtB9Qi.js} +1 -1
- package/assets/{index-ppzLK-bi.js.map → index-BMdtB9Qi.js.map} +1 -1
- package/assets/index-BRS077OT.js +1 -0
- package/assets/{index-DqPgEQko.js.map → index-BRS077OT.js.map} +1 -1
- package/assets/{index-BxxIREHz.js → index-B_5wi7CL.js} +4 -4
- package/assets/{index-BxxIREHz.js.map → index-B_5wi7CL.js.map} +1 -1
- package/assets/{index-CYTF85t8.js → index-Bh2xF13d.js} +1 -1
- package/assets/{index-CYTF85t8.js.map → index-Bh2xF13d.js.map} +1 -1
- package/assets/{index-CM-Dg90Z.js → index-Bi70CJ5H.js} +1 -1
- package/assets/{index-CM-Dg90Z.js.map → index-Bi70CJ5H.js.map} +1 -1
- package/assets/{index-ezM_J58e.js → index-BmfSApNy.js} +1 -1
- package/assets/{index-ezM_J58e.js.map → index-BmfSApNy.js.map} +1 -1
- package/assets/{index-C2gGmY4r.js → index-BrHnK0XL.js} +1 -1
- package/assets/{index-C2gGmY4r.js.map → index-BrHnK0XL.js.map} +1 -1
- package/assets/{index-B4ReIH01.js → index-C59PJ30r.js} +1 -1
- package/assets/{index-B4ReIH01.js.map → index-C59PJ30r.js.map} +1 -1
- package/assets/{index-qFakdhOO.js → index-C8J0j1MA.js} +1 -1
- package/assets/{index-qFakdhOO.js.map → index-C8J0j1MA.js.map} +1 -1
- package/assets/{index-DRcrw7Py.js → index-CVkIGuJf.js} +1 -1
- package/assets/{index-DRcrw7Py.js.map → index-CVkIGuJf.js.map} +1 -1
- package/assets/{index-DaRevScO.js → index-Cjx-6-Fc.js} +37 -37
- package/assets/index-Cjx-6-Fc.js.map +1 -0
- package/assets/{index-CZS6DsWa.js → index-CucSFK-C.js} +1 -1
- package/assets/{index-CZS6DsWa.js.map → index-CucSFK-C.js.map} +1 -1
- package/assets/{index-71royYUE.js → index-CvqSSkkA.js} +1 -1
- package/assets/{index-71royYUE.js.map → index-CvqSSkkA.js.map} +1 -1
- package/assets/{index-Dfjt7DKD.js → index-D-pfpn_u.js} +1 -1
- package/assets/{index-Dfjt7DKD.js.map → index-D-pfpn_u.js.map} +1 -1
- package/assets/{index-BsykSOSe.js → index-D66EdcHn.js} +1 -1
- package/assets/{index-BsykSOSe.js.map → index-D66EdcHn.js.map} +1 -1
- package/assets/{index-Bi1_667A.js → index-D8eIOYu-.js} +1 -1
- package/assets/{index-Bi1_667A.js.map → index-D8eIOYu-.js.map} +1 -1
- package/assets/{index-D7GZzk0M.js → index-DA6agk-w.js} +1 -1
- package/assets/{index-D7GZzk0M.js.map → index-DA6agk-w.js.map} +1 -1
- package/assets/{index-C_C2-CZT.js → index-DKVTiJAQ.js} +1 -1
- package/assets/{index-C_C2-CZT.js.map → index-DKVTiJAQ.js.map} +1 -1
- package/assets/{index-DNCSZ9Ly.js → index-DO6Sw93x.js} +1 -1
- package/assets/{index-DNCSZ9Ly.js.map → index-DO6Sw93x.js.map} +1 -1
- package/assets/{index-BqghIvCc.js → index-DTGLVE4U.js} +3 -3
- package/assets/{index-BqghIvCc.js.map → index-DTGLVE4U.js.map} +1 -1
- package/assets/{index-n-p43kD4.js → index-DlTsCRKG.js} +1 -1
- package/assets/{index-n-p43kD4.js.map → index-DlTsCRKG.js.map} +1 -1
- package/assets/{index-Oqf5zL8M.js → index-DvZ_ojLV.js} +1 -1
- package/assets/{index-Oqf5zL8M.js.map → index-DvZ_ojLV.js.map} +1 -1
- package/assets/{index-LYkhcWuH.js → index-DzuMEVEG.js} +1 -1
- package/assets/{index-LYkhcWuH.js.map → index-DzuMEVEG.js.map} +1 -1
- package/assets/{index-BQaEVpup.js → index-Ehyw5K2U.js} +1 -1
- package/assets/{index-BQaEVpup.js.map → index-Ehyw5K2U.js.map} +1 -1
- package/assets/{index-wq0aztJv.js → index-HwZ6yI5O.js} +1 -1
- package/assets/{index-wq0aztJv.js.map → index-HwZ6yI5O.js.map} +1 -1
- package/assets/{index-Bo0hqmw3.js → index-JMsb3O6_.js} +1 -1
- package/assets/{index-Bo0hqmw3.js.map → index-JMsb3O6_.js.map} +1 -1
- package/assets/{index-pvI36Hvg.js → index-LdEjKMJm.js} +1 -1
- package/assets/{index-pvI36Hvg.js.map → index-LdEjKMJm.js.map} +1 -1
- package/assets/{index-mXhpN3cS.js → index-ixBvnV4g.js} +1 -1
- package/assets/{index-mXhpN3cS.js.map → index-ixBvnV4g.js.map} +1 -1
- package/assets/{profile.client-CCf--pbP.js → profile.client-BWiq_PR5.js} +1 -1
- package/assets/{profile.client-CCf--pbP.js.map → profile.client-BWiq_PR5.js.map} +1 -1
- package/assets/{shared.styled-Csb0ydX4.js → shared.styled-0h-n1b2G.js} +1 -1
- package/assets/{shared.styled-Csb0ydX4.js.map → shared.styled-0h-n1b2G.js.map} +1 -1
- package/assets/{store-CbX2mp3S.js → store-CvBDcx_Y.js} +1 -1
- package/assets/{store-CbX2mp3S.js.map → store-CvBDcx_Y.js.map} +1 -1
- package/assets/{url-DMbF6Zco.js → url-N3MWyY77.js} +1 -1
- package/assets/{url-DMbF6Zco.js.map → url-N3MWyY77.js.map} +1 -1
- package/assets/{useAuthIdentity-CIDWXFI8.js → useAuthIdentity-BqEUIFS1.js} +1 -1
- package/assets/{useAuthIdentity-CIDWXFI8.js.map → useAuthIdentity-BqEUIFS1.js.map} +1 -1
- package/assets/{useCreatorHubDownload-CQ5sircD.js → useCreatorHubDownload-DKX_IEAb.js} +1 -1
- package/assets/{useCreatorHubDownload-CQ5sircD.js.map → useCreatorHubDownload-DKX_IEAb.js.map} +1 -1
- package/assets/{useInfiniteBlogPosts-DspRbflz.js → useInfiniteBlogPosts-NFRpaD6I.js} +1 -1
- package/assets/{useInfiniteBlogPosts-DspRbflz.js.map → useInfiniteBlogPosts-NFRpaD6I.js.map} +1 -1
- package/assets/{useSlot-BerGUD87.js → useSlot-BHWpNc8A.js} +1 -1
- package/assets/{useSlot-BerGUD87.js.map → useSlot-BHWpNc8A.js.map} +1 -1
- package/assets/{utils-CYqFUJMv.js → utils-BrNrgyfy.js} +1 -1
- package/assets/{utils-CYqFUJMv.js.map → utils-BrNrgyfy.js.map} +1 -1
- package/index.html +15 -15
- package/package.json +3 -3
- package/assets/index-DaRevScO.js.map +0 -1
- package/assets/index-DqPgEQko.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-n-p43kD4.js","sources":["../../src/pages/ethics/CodeOfEthics.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { BulletList, LegalPageLayout, Paragraph, Section, SectionTitle, SubsectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'code-of-ethics', label: '1. Decentraland\\u2019s Code of Ethics' },\n { id: 'policies-and-principles', label: '2. Policies and Principles' },\n { id: 'standard-of-conduct', label: '2.1 Standard of Conduct', depth: 1 },\n { id: 'compliance-with-law', label: '2.2 Compliance with Law', depth: 1 },\n { id: 'financial-recordkeeping', label: '2.3 Financial Recordkeeping/Management', depth: 1 },\n { id: 'reporting', label: '2.4 Reporting', depth: 1 },\n { id: 'monitoring-and-controlling', label: '2.5 Monitoring and controlling', depth: 1 },\n { id: 'employees', label: '2.6 Employees', depth: 1 },\n { id: 'equal-opportunity-employment', label: '2.7 Equal Opportunity Employment', depth: 1 },\n { id: 'health-and-safety', label: '2.8 Health and Safety in the Workplace', depth: 1 },\n { id: 'no-violence', label: '2.9 No Violence', depth: 1 },\n { id: 'drugs-and-alcohol', label: '2.10 Drugs and Alcohol', depth: 1 },\n { id: 'the-environment', label: '2.11 The Environment', depth: 1 },\n { id: 'records-and-reports', label: '2.12 Records and Reports', depth: 1 },\n { id: 'confidentiality', label: '2.13 Confidentiality', depth: 1 },\n { id: 'compliance-team', label: '3. The Compliance Team' },\n { id: 'implementation', label: '4. Implementation \\u2013 Training Procedures' },\n { id: 'business-partners', label: '5. Treatment of Business Partners and Third Parties/Conflicts of Interest' },\n { id: 'shareholders', label: '5.1 Shareholders', depth: 1 },\n { id: 'competition', label: '5.2 Competition', depth: 1 },\n { id: 'business-integrity-gifts', label: '5.3 Business Integrity \\u2013 Gifts', depth: 1 },\n { id: 'conflicts-of-interests', label: '5.4 Conflicts of Interests', depth: 1 },\n { id: 'public-activities', label: '5.5 Public Activities', depth: 1 },\n { id: 'contracts', label: '5.6 Contracts', depth: 1 },\n { id: 'know-your-client', label: '5.7 Know your client', depth: 1 },\n { id: 'basic-rules-of-conduct', label: '6. Basic Rules of Conducts on Risk Matters' },\n { id: 'breaches-to-the-code', label: '7. Breaches to the Code' }\n]\n\nconst CodeOfEthics = memo(() => (\n <LegalPageLayout title=\"Code of Ethics\" activeSlug=\"/ethics\" tableOfContents={TABLE_OF_CONTENTS}>\n <Section id=\"code-of-ethics\">\n <SectionTitle>1. Decentraland's Code of Ethics</SectionTitle>\n <Paragraph>\n This Code of Ethics applies to Decentraland and all of its affiliates or subsidiaries (the "Decentraland Group"). Our\n Values of integrity, responsibility, respect and pioneering are the simplest statement of who we are. They govern everything we do.\n Our reputation as a company that the users can trust is our most valuable asset, and it is up to all of us to make sure that we\n continually earn that trust. All of our communications and other interactions with our users should increase their trust in us,\n that's why we publish this externally and expect all others who work with us to set themselves equally high principles.\n </Paragraph>\n </Section>\n\n <Section id=\"policies-and-principles\">\n <SectionTitle>2. Policies and Principles</SectionTitle>\n <Paragraph>\n These Policies and Principles we are talking about the ethical behaviors and guides that we all need to follow when working for\n Decentraland. They are mandatory for us, but we also publish them externally on our website in support of transparency. Compliance\n with these principles is an essential part of the way we conduct business. The Decentraland Compliance Team is responsible for\n guarantying the application of these Policies and Principles throughout the company. Keeping in mind the following Policies and\n Principles will help us to achieve the highest standards of compliance.\n </Paragraph>\n\n <SubsectionTitle id=\"standard-of-conduct\">2.1 Standard of Conduct</SubsectionTitle>\n <Paragraph>\n We conduct all our operations and transactions with honesty, integrity and openness, and with respect for the human rights and\n interests of our employees and of all of those with whom we interact.\n </Paragraph>\n\n <SubsectionTitle id=\"compliance-with-law\">2.2 Compliance with Law</SubsectionTitle>\n <Paragraph>\n Decentraland Group and its employees are required to know, respect and comply the laws and regulations of the countries in which we\n operate. Every employee shall act ethically and in compliance with applicable laws and regulations while carrying out the\n Decentraland's business. Decentraland has a zero tolerance policy for violations of applicable laws.\n </Paragraph>\n\n <SubsectionTitle id=\"financial-recordkeeping\">2.3 Financial Recordkeeping/Management</SubsectionTitle>\n <Paragraph>\n All relevant transactions must be approved by the Compliance Team before being implemented. The accounting and cash handling\n procedures must be followed in order to avoid operational and legal risks.\n </Paragraph>\n\n <SubsectionTitle id=\"reporting\">2.4 Reporting</SubsectionTitle>\n <Paragraph>\n Any breaches of this Code must be reported to the Compliance Team, to the email account{' '}\n <a href=\"mailto:compliance@decentraland.org\">compliance@decentraland.org</a>. Provision has been made for employees to be able to\n report in confidence and no employee will suffer as a consequence of doing so no matter who he/she is reporting (even a superior).\n Decentraland aims to encourage employees to report potential breaches of the Codes of Ethics, not only once the act is committed.\n </Paragraph>\n\n <SubsectionTitle id=\"monitoring-and-controlling\">2.5 Monitoring and controlling</SubsectionTitle>\n <Paragraph>\n Although we respect your privacy please be aware that for personal business you should use your personal devices. Decentraland will\n monitor and control the use of Decentraland's property, which includes, but is not limited to, computer, tablet, cell phone and\n email accounts provided to you. All devices provided by Decentraland have a monitoring software to prevent the commission of illegal\n acts. Random checks will be made on all Decentraland's devices\n </Paragraph>\n\n <SubsectionTitle id=\"employees\">2.6 Employees</SubsectionTitle>\n <Paragraph>\n Decentraland is committed to a working environment that promotes diversity and equal opportunity and where there is mutual trust,\n respect for human rights and no discrimination. We are committed to working with employees to develop and enhance each\n individual's skills and capabilities, respect them, and maintain good communication with them. This Code of Ethics will be\n annexed to all employments agreements.\n </Paragraph>\n\n <SubsectionTitle id=\"equal-opportunity-employment\">2.7 Equal Opportunity Employment</SubsectionTitle>\n <Paragraph>\n Employment here is based exclusively upon individual merit and qualifications directly related to professional competence in the\n area where each employee is specialized. We strictly prohibit unlawful discrimination, harassment, bullying in any form –\n verbal, physical, or visual or any other characteristics protected by law (such as race, sex, marital status, medical condition,\n etc.). We also make all reasonable accommodations to meet our obligations under laws protecting the rights of the disabled.\n </Paragraph>\n\n <SubsectionTitle id=\"health-and-safety\">2.8 Health and Safety in the Workplace</SubsectionTitle>\n <Paragraph>\n We are committed to a safe work environment, and we strongly procure full compliance with health and safety regulation. All\n employees will be receive training concerning safety procedures and fire drills. Furthermore, we encourage a healthy diet for our\n employees and we make available fruit and vegetables for snacking in the workplace.\n </Paragraph>\n\n <SubsectionTitle id=\"no-violence\">2.9 No Violence</SubsectionTitle>\n <Paragraph>\n We are committed to a violence-free work environment, and we have zero tolerance for any level of violence, harassment or any other\n inappropriate behavior in the workplace.\n </Paragraph>\n\n <SubsectionTitle id=\"drugs-and-alcohol\">2.10 Drugs and Alcohol</SubsectionTitle>\n <Paragraph>\n Substance abuse is incompatible with the health and safety of our employees, and we don't permit it. Consumption of alcohol is\n banned at our offices, except for special events, where all employees should use a good judgment and never drink in a way that leads\n to impaired performance or inappropriate behavior, endangers the safety of others, or violates the law. Illegal drugs in our offices\n are strictly prohibited.\n </Paragraph>\n\n <SubsectionTitle id=\"the-environment\">2.11 The Environment</SubsectionTitle>\n <Paragraph>\n Decentraland is committed to promote environmental care, increase understanding of environmental issues and disseminate good\n practice inside the company with recycling procedures.\n </Paragraph>\n\n <SubsectionTitle id=\"records-and-reports\">2.12 Records and Reports</SubsectionTitle>\n <Paragraph>\n Open and effective cooperation requires correct and truthful reporting. This applies equally to the relationship with shareholders,\n employees, customers and the Decentraland Group as well as with the public and any governmental offices such as, for instance,\n supervisory authorities.\n </Paragraph>\n\n <SubsectionTitle id=\"confidentiality\">2.13 Confidentiality</SubsectionTitle>\n <Paragraph>\n Confidentiality must be maintained with regard to internal corporate matters which have not been made known to the public. We\n respect and protect the data privacy and security of the information that we received from any third party.\n </Paragraph>\n </Section>\n\n <Section id=\"compliance-team\">\n <SectionTitle>3. The Compliance Team</SectionTitle>\n <Paragraph>\n The Compliance Team has a duty of supervision. The members of the Compliance Team must be diligent, proactive and ethical\n individuals whose role is to make sure that the Company is conducting its business in full compliance with this Code of Ethics and\n the applicable law.\n </Paragraph>\n </Section>\n\n <Section id=\"implementation\">\n <SectionTitle>4. Implementation – Training Procedures</SectionTitle>\n <Paragraph>\n Decentraland shall conduct regular training procedures to make sure that everyone knows and understands the Code of Ethics. Our\n employees are the face of our Company and we train them to respect the Company's principles and standards not only while\n working but also in their own life.\n </Paragraph>\n </Section>\n\n <Section id=\"business-partners\">\n <SectionTitle>5. Treatment of Business Partners and Third Parties/Conflicts of Interest</SectionTitle>\n\n <SubsectionTitle id=\"shareholders\">5.1 Shareholders</SubsectionTitle>\n <Paragraph>\n Decentraland will conduct its operations in accordance with internationally accepted principles of good corporate governance. We\n will provide timely, regular and reliable information on our activities, structure, financial situation and performance to all\n shareholders anytime they need it and also be in accordance between all the companies in the Decentraland Group.\n </Paragraph>\n\n <SubsectionTitle id=\"competition\">5.2 Competition</SubsectionTitle>\n <Paragraph>\n Decentraland companies and employees will conduct their operations in accordance with the principles of fair competition and all\n applicable regulations. Every employee must comply with the laws of fair competition. Employees shall seek guidance from the legal\n department of their particular company within the Decentraland Group when in doubt.\n </Paragraph>\n\n <SubsectionTitle id=\"business-integrity-gifts\">5.3 Business Integrity – Gifts</SubsectionTitle>\n <Paragraph>\n Decentraland does not give or receive, whether directly or indirectly, bribes or other improper payments or advantages for business\n or financial gain. One of our principles is to avoid corruption, that's why no employee may offer, give or receive any gift or\n payment which is, or may be construed as being, a bribe. Any demand for, or offer of, a bribe must be rejected immediately and\n reported to the Compliance Team. In cases of doubt, the recipient should be asked to obtain prior permission from the Compliance\n Team.\n </Paragraph>\n\n <SubsectionTitle id=\"conflicts-of-interests\">5.4 Conflicts of Interests</SubsectionTitle>\n <Paragraph>\n All employees and service providers working for Decentraland are expected to avoid personal activities and financial interests which\n could conflict with their responsibilities to the Company. No employee may directly or indirectly, neither in his/her country nor\n abroad, offer or grant unlawful benefits in connection with his/her business dealings.\n </Paragraph>\n\n <SubsectionTitle id=\"public-activities\">5.5 Public Activities</SubsectionTitle>\n <Paragraph>\n Decentraland will co-operate with governments and other organizations, both directly and through bodies such as trade associations,\n in the development of proposed legislation and other regulations which may affect legitimate business interests.\n </Paragraph>\n\n <SubsectionTitle id=\"contracts\">5.6 Contracts</SubsectionTitle>\n <Paragraph>\n Inclusion of the Code of Ethics as an annex to all contracts of the company will be mandatory. All new contractors and partners will\n need to sign statement acknowledging and accepting the contents of the Code of Ethics to be sure that they know and respect our\n standards.\n </Paragraph>\n\n <SubsectionTitle id=\"know-your-client\">5.7 Know your client</SubsectionTitle>\n <Paragraph>\n Before entering into any contract a Know Your Client form should be completed by the relevant party. This should provide for the\n identification of directors, shareholders and final economic beneficiaries and this allows the company to have a real record of who\n are we dealing with.\n </Paragraph>\n </Section>\n\n <Section id=\"basic-rules-of-conduct\">\n <SectionTitle>6. Basic Rules of Conducts on Risk Matters</SectionTitle>\n <Paragraph>\n Decentraland and its employees will ensure that Decentraland does not receive the proceeds of criminal activities. All employees\n must be alert to the suspicious transactions such as when third parties (i) make or ask for payments in a form outside the ordinary\n course of business; (ii) split payments from several companies to our company; (iii) make or ask for payments in cash when they are\n usually made by check or wire transfer; or (iv) make or ask for payments in advance when are not customary or required by contract.\n </Paragraph>\n <Paragraph>Employees involved in engaging or contracting with third parties such as new clients or investors must:</Paragraph>\n <BulletList>\n <li>\n Ensure that the third parties in question are subject to screening to assess their identity and legitimacy before contracts are\n signed or transactions occur;\n </li>\n <li>\n Carefully consider if it is necessary to consult with the Company's Compliance Team before deciding whether to do business\n with the third party.\n </li>\n <li>\n Certain decisions that could involve risks pursuant to the risk matters mentioned should be backed by legal opinions issued by\n attorneys of the relevant jurisdiction.\n </li>\n </BulletList>\n </Section>\n\n <Section id=\"breaches-to-the-code\">\n <SectionTitle>7. Breaches to the Code</SectionTitle>\n <Paragraph>\n Breaching the Code of Ethics could have very serious consequences for Decentraland and for individuals involved. Where illegal\n conduct is involved, these could include significant fines for Decentraland, imprisonment for individuals and significant damage to\n our reputation.\n </Paragraph>\n <Paragraph>\n Regardless of the sanctions imposed by the law, any employee guilty of a violation of the law or of this Code of Ethics while\n carrying out the Decentraland Group's business will be subject to disciplinary measures up to and including termination when\n applicable.\n </Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nCodeOfEthics.displayName = 'CodeOfEthics'\n\nexport { CodeOfEthics }\n"],"names":["TABLE_OF_CONTENTS","CodeOfEthics","memo","jsxs","LegalPageLayout","Section","jsx","SectionTitle","Paragraph","SubsectionTitle","BulletList"],"mappings":"4VAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,iBAAkB,MAAO,kCAAA,EAC/B,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,sBAAuB,MAAO,0BAA2B,MAAO,CAAA,EACtE,CAAE,GAAI,sBAAuB,MAAO,0BAA2B,MAAO,CAAA,EACtE,CAAE,GAAI,0BAA2B,MAAO,yCAA0C,MAAO,CAAA,EACzF,CAAE,GAAI,YAAa,MAAO,gBAAiB,MAAO,CAAA,EAClD,CAAE,GAAI,6BAA8B,MAAO,iCAAkC,MAAO,CAAA,EACpF,CAAE,GAAI,YAAa,MAAO,gBAAiB,MAAO,CAAA,EAClD,CAAE,GAAI,+BAAgC,MAAO,mCAAoC,MAAO,CAAA,EACxF,CAAE,GAAI,oBAAqB,MAAO,yCAA0C,MAAO,CAAA,EACnF,CAAE,GAAI,cAAe,MAAO,kBAAmB,MAAO,CAAA,EACtD,CAAE,GAAI,oBAAqB,MAAO,yBAA0B,MAAO,CAAA,EACnE,CAAE,GAAI,kBAAmB,MAAO,uBAAwB,MAAO,CAAA,EAC/D,CAAE,GAAI,sBAAuB,MAAO,2BAA4B,MAAO,CAAA,EACvE,CAAE,GAAI,kBAAmB,MAAO,uBAAwB,MAAO,CAAA,EAC/D,CAAE,GAAI,kBAAmB,MAAO,wBAAA,EAChC,CAAE,GAAI,iBAA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EAAAA,IAACE,GAAU,SAAA,8gBAAA,CAKX,EACAF,EAAAA,IAACE,GAAU,SAAA,yGAAA,CAAuG,SACjHE,EAAA,CACC,SAAA,CAAAJ,EAAAA,IAAC,MAAG,SAAA,+JAAA,CAGJ,EACAA,EAAAA,IAAC,MAAG,SAAA,kJAAA,CAGJ,EACAA,EAAAA,IAAC,MAAG,SAAA,wKAAA,CAGJ,CAAA,CAAA,CACF,CAAA,EACF,EAEAH,EAAAA,KAACE,EAAA,CAAQ,GAAG,uBACV,SAAA,CAAAC,EAAAA,IAACC,GAAa,SAAA,yBAAA,CAAuB,EACrCD,EAAAA,IAACE,GAAU,SAAA,oRAAA,CAIX,EACAF,EAAAA,IAACE,GAAU,SAAA,wQAAA,CAIX,CAAA,CAAA,CACF,CAAA,EACF,CACD,EAEDP,EAAa,YAAc"}
|
|
1
|
+
{"version":3,"file":"index-DlTsCRKG.js","sources":["../../src/pages/ethics/CodeOfEthics.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { BulletList, LegalPageLayout, Paragraph, Section, SectionTitle, SubsectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'code-of-ethics', label: '1. Decentraland\\u2019s Code of Ethics' },\n { id: 'policies-and-principles', label: '2. Policies and Principles' },\n { id: 'standard-of-conduct', label: '2.1 Standard of Conduct', depth: 1 },\n { id: 'compliance-with-law', label: '2.2 Compliance with Law', depth: 1 },\n { id: 'financial-recordkeeping', label: '2.3 Financial Recordkeeping/Management', depth: 1 },\n { id: 'reporting', label: '2.4 Reporting', depth: 1 },\n { id: 'monitoring-and-controlling', label: '2.5 Monitoring and controlling', depth: 1 },\n { id: 'employees', label: '2.6 Employees', depth: 1 },\n { id: 'equal-opportunity-employment', label: '2.7 Equal Opportunity Employment', depth: 1 },\n { id: 'health-and-safety', label: '2.8 Health and Safety in the Workplace', depth: 1 },\n { id: 'no-violence', label: '2.9 No Violence', depth: 1 },\n { id: 'drugs-and-alcohol', label: '2.10 Drugs and Alcohol', depth: 1 },\n { id: 'the-environment', label: '2.11 The Environment', depth: 1 },\n { id: 'records-and-reports', label: '2.12 Records and Reports', depth: 1 },\n { id: 'confidentiality', label: '2.13 Confidentiality', depth: 1 },\n { id: 'compliance-team', label: '3. The Compliance Team' },\n { id: 'implementation', label: '4. Implementation \\u2013 Training Procedures' },\n { id: 'business-partners', label: '5. Treatment of Business Partners and Third Parties/Conflicts of Interest' },\n { id: 'shareholders', label: '5.1 Shareholders', depth: 1 },\n { id: 'competition', label: '5.2 Competition', depth: 1 },\n { id: 'business-integrity-gifts', label: '5.3 Business Integrity \\u2013 Gifts', depth: 1 },\n { id: 'conflicts-of-interests', label: '5.4 Conflicts of Interests', depth: 1 },\n { id: 'public-activities', label: '5.5 Public Activities', depth: 1 },\n { id: 'contracts', label: '5.6 Contracts', depth: 1 },\n { id: 'know-your-client', label: '5.7 Know your client', depth: 1 },\n { id: 'basic-rules-of-conduct', label: '6. Basic Rules of Conducts on Risk Matters' },\n { id: 'breaches-to-the-code', label: '7. Breaches to the Code' }\n]\n\nconst CodeOfEthics = memo(() => (\n <LegalPageLayout title=\"Code of Ethics\" activeSlug=\"/ethics\" tableOfContents={TABLE_OF_CONTENTS}>\n <Section id=\"code-of-ethics\">\n <SectionTitle>1. Decentraland's Code of Ethics</SectionTitle>\n <Paragraph>\n This Code of Ethics applies to Decentraland and all of its affiliates or subsidiaries (the "Decentraland Group"). Our\n Values of integrity, responsibility, respect and pioneering are the simplest statement of who we are. They govern everything we do.\n Our reputation as a company that the users can trust is our most valuable asset, and it is up to all of us to make sure that we\n continually earn that trust. All of our communications and other interactions with our users should increase their trust in us,\n that's why we publish this externally and expect all others who work with us to set themselves equally high principles.\n </Paragraph>\n </Section>\n\n <Section id=\"policies-and-principles\">\n <SectionTitle>2. Policies and Principles</SectionTitle>\n <Paragraph>\n These Policies and Principles we are talking about the ethical behaviors and guides that we all need to follow when working for\n Decentraland. They are mandatory for us, but we also publish them externally on our website in support of transparency. Compliance\n with these principles is an essential part of the way we conduct business. The Decentraland Compliance Team is responsible for\n guarantying the application of these Policies and Principles throughout the company. Keeping in mind the following Policies and\n Principles will help us to achieve the highest standards of compliance.\n </Paragraph>\n\n <SubsectionTitle id=\"standard-of-conduct\">2.1 Standard of Conduct</SubsectionTitle>\n <Paragraph>\n We conduct all our operations and transactions with honesty, integrity and openness, and with respect for the human rights and\n interests of our employees and of all of those with whom we interact.\n </Paragraph>\n\n <SubsectionTitle id=\"compliance-with-law\">2.2 Compliance with Law</SubsectionTitle>\n <Paragraph>\n Decentraland Group and its employees are required to know, respect and comply the laws and regulations of the countries in which we\n operate. Every employee shall act ethically and in compliance with applicable laws and regulations while carrying out the\n Decentraland's business. Decentraland has a zero tolerance policy for violations of applicable laws.\n </Paragraph>\n\n <SubsectionTitle id=\"financial-recordkeeping\">2.3 Financial Recordkeeping/Management</SubsectionTitle>\n <Paragraph>\n All relevant transactions must be approved by the Compliance Team before being implemented. The accounting and cash handling\n procedures must be followed in order to avoid operational and legal risks.\n </Paragraph>\n\n <SubsectionTitle id=\"reporting\">2.4 Reporting</SubsectionTitle>\n <Paragraph>\n Any breaches of this Code must be reported to the Compliance Team, to the email account{' '}\n <a href=\"mailto:compliance@decentraland.org\">compliance@decentraland.org</a>. Provision has been made for employees to be able to\n report in confidence and no employee will suffer as a consequence of doing so no matter who he/she is reporting (even a superior).\n Decentraland aims to encourage employees to report potential breaches of the Codes of Ethics, not only once the act is committed.\n </Paragraph>\n\n <SubsectionTitle id=\"monitoring-and-controlling\">2.5 Monitoring and controlling</SubsectionTitle>\n <Paragraph>\n Although we respect your privacy please be aware that for personal business you should use your personal devices. Decentraland will\n monitor and control the use of Decentraland's property, which includes, but is not limited to, computer, tablet, cell phone and\n email accounts provided to you. All devices provided by Decentraland have a monitoring software to prevent the commission of illegal\n acts. Random checks will be made on all Decentraland's devices\n </Paragraph>\n\n <SubsectionTitle id=\"employees\">2.6 Employees</SubsectionTitle>\n <Paragraph>\n Decentraland is committed to a working environment that promotes diversity and equal opportunity and where there is mutual trust,\n respect for human rights and no discrimination. We are committed to working with employees to develop and enhance each\n individual's skills and capabilities, respect them, and maintain good communication with them. This Code of Ethics will be\n annexed to all employments agreements.\n </Paragraph>\n\n <SubsectionTitle id=\"equal-opportunity-employment\">2.7 Equal Opportunity Employment</SubsectionTitle>\n <Paragraph>\n Employment here is based exclusively upon individual merit and qualifications directly related to professional competence in the\n area where each employee is specialized. We strictly prohibit unlawful discrimination, harassment, bullying in any form –\n verbal, physical, or visual or any other characteristics protected by law (such as race, sex, marital status, medical condition,\n etc.). We also make all reasonable accommodations to meet our obligations under laws protecting the rights of the disabled.\n </Paragraph>\n\n <SubsectionTitle id=\"health-and-safety\">2.8 Health and Safety in the Workplace</SubsectionTitle>\n <Paragraph>\n We are committed to a safe work environment, and we strongly procure full compliance with health and safety regulation. All\n employees will be receive training concerning safety procedures and fire drills. Furthermore, we encourage a healthy diet for our\n employees and we make available fruit and vegetables for snacking in the workplace.\n </Paragraph>\n\n <SubsectionTitle id=\"no-violence\">2.9 No Violence</SubsectionTitle>\n <Paragraph>\n We are committed to a violence-free work environment, and we have zero tolerance for any level of violence, harassment or any other\n inappropriate behavior in the workplace.\n </Paragraph>\n\n <SubsectionTitle id=\"drugs-and-alcohol\">2.10 Drugs and Alcohol</SubsectionTitle>\n <Paragraph>\n Substance abuse is incompatible with the health and safety of our employees, and we don't permit it. Consumption of alcohol is\n banned at our offices, except for special events, where all employees should use a good judgment and never drink in a way that leads\n to impaired performance or inappropriate behavior, endangers the safety of others, or violates the law. Illegal drugs in our offices\n are strictly prohibited.\n </Paragraph>\n\n <SubsectionTitle id=\"the-environment\">2.11 The Environment</SubsectionTitle>\n <Paragraph>\n Decentraland is committed to promote environmental care, increase understanding of environmental issues and disseminate good\n practice inside the company with recycling procedures.\n </Paragraph>\n\n <SubsectionTitle id=\"records-and-reports\">2.12 Records and Reports</SubsectionTitle>\n <Paragraph>\n Open and effective cooperation requires correct and truthful reporting. This applies equally to the relationship with shareholders,\n employees, customers and the Decentraland Group as well as with the public and any governmental offices such as, for instance,\n supervisory authorities.\n </Paragraph>\n\n <SubsectionTitle id=\"confidentiality\">2.13 Confidentiality</SubsectionTitle>\n <Paragraph>\n Confidentiality must be maintained with regard to internal corporate matters which have not been made known to the public. We\n respect and protect the data privacy and security of the information that we received from any third party.\n </Paragraph>\n </Section>\n\n <Section id=\"compliance-team\">\n <SectionTitle>3. The Compliance Team</SectionTitle>\n <Paragraph>\n The Compliance Team has a duty of supervision. The members of the Compliance Team must be diligent, proactive and ethical\n individuals whose role is to make sure that the Company is conducting its business in full compliance with this Code of Ethics and\n the applicable law.\n </Paragraph>\n </Section>\n\n <Section id=\"implementation\">\n <SectionTitle>4. Implementation – Training Procedures</SectionTitle>\n <Paragraph>\n Decentraland shall conduct regular training procedures to make sure that everyone knows and understands the Code of Ethics. Our\n employees are the face of our Company and we train them to respect the Company's principles and standards not only while\n working but also in their own life.\n </Paragraph>\n </Section>\n\n <Section id=\"business-partners\">\n <SectionTitle>5. Treatment of Business Partners and Third Parties/Conflicts of Interest</SectionTitle>\n\n <SubsectionTitle id=\"shareholders\">5.1 Shareholders</SubsectionTitle>\n <Paragraph>\n Decentraland will conduct its operations in accordance with internationally accepted principles of good corporate governance. We\n will provide timely, regular and reliable information on our activities, structure, financial situation and performance to all\n shareholders anytime they need it and also be in accordance between all the companies in the Decentraland Group.\n </Paragraph>\n\n <SubsectionTitle id=\"competition\">5.2 Competition</SubsectionTitle>\n <Paragraph>\n Decentraland companies and employees will conduct their operations in accordance with the principles of fair competition and all\n applicable regulations. Every employee must comply with the laws of fair competition. Employees shall seek guidance from the legal\n department of their particular company within the Decentraland Group when in doubt.\n </Paragraph>\n\n <SubsectionTitle id=\"business-integrity-gifts\">5.3 Business Integrity – Gifts</SubsectionTitle>\n <Paragraph>\n Decentraland does not give or receive, whether directly or indirectly, bribes or other improper payments or advantages for business\n or financial gain. One of our principles is to avoid corruption, that's why no employee may offer, give or receive any gift or\n payment which is, or may be construed as being, a bribe. Any demand for, or offer of, a bribe must be rejected immediately and\n reported to the Compliance Team. In cases of doubt, the recipient should be asked to obtain prior permission from the Compliance\n Team.\n </Paragraph>\n\n <SubsectionTitle id=\"conflicts-of-interests\">5.4 Conflicts of Interests</SubsectionTitle>\n <Paragraph>\n All employees and service providers working for Decentraland are expected to avoid personal activities and financial interests which\n could conflict with their responsibilities to the Company. No employee may directly or indirectly, neither in his/her country nor\n abroad, offer or grant unlawful benefits in connection with his/her business dealings.\n </Paragraph>\n\n <SubsectionTitle id=\"public-activities\">5.5 Public Activities</SubsectionTitle>\n <Paragraph>\n Decentraland will co-operate with governments and other organizations, both directly and through bodies such as trade associations,\n in the development of proposed legislation and other regulations which may affect legitimate business interests.\n </Paragraph>\n\n <SubsectionTitle id=\"contracts\">5.6 Contracts</SubsectionTitle>\n <Paragraph>\n Inclusion of the Code of Ethics as an annex to all contracts of the company will be mandatory. All new contractors and partners will\n need to sign statement acknowledging and accepting the contents of the Code of Ethics to be sure that they know and respect our\n standards.\n </Paragraph>\n\n <SubsectionTitle id=\"know-your-client\">5.7 Know your client</SubsectionTitle>\n <Paragraph>\n Before entering into any contract a Know Your Client form should be completed by the relevant party. This should provide for the\n identification of directors, shareholders and final economic beneficiaries and this allows the company to have a real record of who\n are we dealing with.\n </Paragraph>\n </Section>\n\n <Section id=\"basic-rules-of-conduct\">\n <SectionTitle>6. Basic Rules of Conducts on Risk Matters</SectionTitle>\n <Paragraph>\n Decentraland and its employees will ensure that Decentraland does not receive the proceeds of criminal activities. All employees\n must be alert to the suspicious transactions such as when third parties (i) make or ask for payments in a form outside the ordinary\n course of business; (ii) split payments from several companies to our company; (iii) make or ask for payments in cash when they are\n usually made by check or wire transfer; or (iv) make or ask for payments in advance when are not customary or required by contract.\n </Paragraph>\n <Paragraph>Employees involved in engaging or contracting with third parties such as new clients or investors must:</Paragraph>\n <BulletList>\n <li>\n Ensure that the third parties in question are subject to screening to assess their identity and legitimacy before contracts are\n signed or transactions occur;\n </li>\n <li>\n Carefully consider if it is necessary to consult with the Company's Compliance Team before deciding whether to do business\n with the third party.\n </li>\n <li>\n Certain decisions that could involve risks pursuant to the risk matters mentioned should be backed by legal opinions issued by\n attorneys of the relevant jurisdiction.\n </li>\n </BulletList>\n </Section>\n\n <Section id=\"breaches-to-the-code\">\n <SectionTitle>7. Breaches to the Code</SectionTitle>\n <Paragraph>\n Breaching the Code of Ethics could have very serious consequences for Decentraland and for individuals involved. Where illegal\n conduct is involved, these could include significant fines for Decentraland, imprisonment for individuals and significant damage to\n our reputation.\n </Paragraph>\n <Paragraph>\n Regardless of the sanctions imposed by the law, any employee guilty of a violation of the law or of this Code of Ethics while\n carrying out the Decentraland Group's business will be subject to disciplinary measures up to and including termination when\n applicable.\n </Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nCodeOfEthics.displayName = 'CodeOfEthics'\n\nexport { CodeOfEthics }\n"],"names":["TABLE_OF_CONTENTS","CodeOfEthics","memo","jsxs","LegalPageLayout","Section","jsx","SectionTitle","Paragraph","SubsectionTitle","BulletList"],"mappings":"4VAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,iBAAkB,MAAO,kCAAA,EAC/B,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,sBAAuB,MAAO,0BAA2B,MAAO,CAAA,EACtE,CAAE,GAAI,sBAAuB,MAAO,0BAA2B,MAAO,CAAA,EACtE,CAAE,GAAI,0BAA2B,MAAO,yCAA0C,MAAO,CAAA,EACzF,CAAE,GAAI,YAAa,MAAO,gBAAiB,MAAO,CAAA,EAClD,CAAE,GAAI,6BAA8B,MAAO,iCAAkC,MAAO,CAAA,EACpF,CAAE,GAAI,YAAa,MAAO,gBAAiB,MAAO,CAAA,EAClD,CAAE,GAAI,+BAAgC,MAAO,mCAAoC,MAAO,CAAA,EACxF,CAAE,GAAI,oBAAqB,MAAO,yCAA0C,MAAO,CAAA,EACnF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AAA,IAACG,EAAA,CAAgB,GAAG,YAAY,SAAA,gBAAa,EAC7CH,EAAAA,IAACE,GAAU,SAAA,iRAAA,CAIX,EAEAF,EAAAA,IAACG,EAAA,CAAgB,GAAG,mBAAmB,SAAA,uBAAoB,EAC3DH,EAAAA,IAACE,GAAU,SAAA,2RAAA,CAIX,CAAA,EACF,EAEAL,EAAAA,KAACE,EAAA,CAAQ,GAAG,yBACV,SAAA,CAAAC,EAAAA,IAACC,GAAa,SAAA,4CAAA,CAA0C,EACxDD,EAAAA,IAACE,GAAU,SAAA,8gBAAA,CAKX,EACAF,EAAAA,IAACE,GAAU,SAAA,yGAAA,CAAuG,SACjHE,EAAA,CACC,SAAA,CAAAJ,EAAAA,IAAC,MAAG,SAAA,+JAAA,CAGJ,EACAA,EAAAA,IAAC,MAAG,SAAA,kJAAA,CAGJ,EACAA,EAAAA,IAAC,MAAG,SAAA,wKAAA,CAGJ,CAAA,CAAA,CACF,CAAA,EACF,EAEAH,EAAAA,KAACE,EAAA,CAAQ,GAAG,uBACV,SAAA,CAAAC,EAAAA,IAACC,GAAa,SAAA,yBAAA,CAAuB,EACrCD,EAAAA,IAACE,GAAU,SAAA,oRAAA,CAIX,EACAF,EAAAA,IAACE,GAAU,SAAA,wQAAA,CAIX,CAAA,CAAA,CACF,CAAA,EACF,CACD,EAEDP,EAAa,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as n,a as c,v as C,z as f,M as v,j as o,U as w,P as k,w as y,ae as M,u as j,N as A,V as E}from"./index-
|
|
1
|
+
import{s as n,a as c,v as C,z as f,M as v,j as o,U as w,P as k,w as y,ae as M,u as j,N as A,V as E}from"./index-Cjx-6-Fc.js";import{r as d}from"./vendor-router-D_36sTKu.js";import{C as b}from"./Carousel-DvX_HfdZ.js";import{u as L}from"./profile.client-BWiq_PR5.js";import{E as D,B,L as N,U as W}from"./Badges-BpJgPUyV.js";import{A as G}from"./AnimatedBackground-dcjrq3Hb.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./JumpInIcon-XhbTBoY-.js";import"./createSvgIcon-MBeMKPZF.js";import"./useSlot-BHWpNc8A.js";import"./CardContent-BIfXh0wk.js";import"./Paper-ECb0Xsu2.js";import"./Skeleton-DqCnSDlA.js";import"./CardMedia-BH9g0LEk.js";import"./Link-BXRsbP2-.js";const I=n(c)(({theme:e})=>({width:"100%",padding:e.spacing(10,8),display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(6),position:"relative",overflow:"hidden",[e.breakpoints.down("sm")]:{padding:e.spacing(6,2)}})),O=n(C)(({theme:e})=>({color:f.white,fontWeight:700,textAlign:"center",position:"relative",zIndex:10,fontSize:48,[e.breakpoints.down("sm")]:{fontSize:32}})),u=62,z=n(c)(({theme:e})=>({display:"flex",gap:e.spacing(3),justifyContent:"center",width:"100%",position:"relative",zIndex:10,"& > *":{flex:"1 1 0",minWidth:0,maxWidth:850,"&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *":{minHeight:427}},"& .MuiCard-root":{containerType:"inline-size",overflow:"hidden",height:"min(62.5cqw + 130px, 427px)"},"& .MuiCardActionArea-root":{height:"100%"},"&& .MuiCardMedia-root":{height:"min(62.5cqw, 297px)",transition:"height 0.3s ease"},"&& .MuiCardActionArea-root:hover .MuiCardMedia-root":{height:`min(calc(62.5cqw - ${u}px), ${297-u}px)`},"& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)":{maxWidth:"100%"},[e.breakpoints.down("sm")]:{display:"none"}})),P=n(c)(({theme:e})=>({display:"none",width:"100%",position:"relative",zIndex:10,[e.breakpoints.down("sm")]:{display:"block"}})),T=n("div")({borderRadius:16,overflow:"hidden",display:"flex",flexDirection:"column","&& .MuiCardContent-root":{backgroundColor:"rgba(0, 0, 0, 0.6)"},"&& .MuiCard-root":{minWidth:0,maxWidth:"100%"},"&& .MuiTypography-h6":{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",WebkitLineClamp:"unset",WebkitBoxOrient:"unset"}}),H=k("/dcl-logo.svg").replace(/^http:\/\//,"https://"),s=d.memo(({card:e,loading:a})=>{const i=v(),{data:l}=L(e?.creatorAddress,{skip:!e?.creatorAddress});let r=l?.avatars?.[0];return!r&&e?.creatorName&&(r={name:e.creatorName,ethAddress:"",...e.isGenesisPlaza&&{avatar:{snapshots:{face256:H,body:""}}}}),o.jsx(T,{"data-place":w.LANDING_EXPLORE,"data-event":"click","data-card":e?.title,onClick:i,children:o.jsx(D,{loading:a,image:e?.image??"",sceneName:e?.title??"",avatar:r,coordinates:e?.coordinates,leftBadgeTransparent:!0,hideLocation:!0,leftBadge:e?o.jsxs(B,{children:[o.jsx(N,{}),o.jsx(W,{count:e.users})]}):void 0})})});s.displayName="ExploreCard";const S=[0,1,2],U=d.memo(()=>{const e=y(),{data:a,isLoading:i}=M(),{isConnected:l}=j(),{handleClick:p,isDownloadModalOpen:r,closeDownloadModal:h,downloadModalProps:x}=A(),m=d.useCallback(t=>{l||(t.preventDefault(),t.stopPropagation(),p(t))},[l,p]);if(!i&&a.length===0)return null;const g=d.useMemo(()=>i?S.map(t=>o.jsx(s,{loading:!0},t)):a.map(t=>o.jsx(s,{card:t},t.id)),[i,a]);return o.jsxs(I,{children:[o.jsx(G,{variant:"absolute"}),o.jsx(O,{variant:"h3",children:e("page.home.explore.title")}),o.jsx(z,{onClickCapture:m,children:g}),o.jsx(P,{onClickCapture:m,children:i?o.jsx(s,{loading:!0}):a.length>0&&o.jsx(b,{items:a,renderItem:t=>o.jsx(s,{card:t}),keyExtractor:t=>t.id,autoplayDelay:5e3})}),o.jsx(E,{open:r,onClose:h,...x})]})});U.displayName="Explore";export{U as Explore};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-Oqf5zL8M.js","sources":["../../src/components/Home/Explore/Explore.styled.ts","../../src/components/Home/Explore/ExploreCard.tsx","../../src/components/Home/Explore/Explore.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst ExploreContainer = styled(Box)(({ theme }) => ({\n width: '100%',\n padding: theme.spacing(10, 8),\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(6),\n position: 'relative',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: theme.spacing(6, 2)\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 700,\n textAlign: 'center',\n position: 'relative',\n zIndex: 10,\n fontSize: 48,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst JUMP_IN_HEIGHT = 62\n\nconst CardsGrid = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(3),\n justifyContent: 'center',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n /* eslint-disable @typescript-eslint/naming-convention */\n '& > *': {\n flex: '1 1 0',\n minWidth: 0,\n maxWidth: 850,\n '&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *': {\n minHeight: 427\n }\n },\n '& .MuiCard-root': {\n containerType: 'inline-size',\n overflow: 'hidden',\n height: 'min(62.5cqw + 130px, 427px)'\n },\n '& .MuiCardActionArea-root': {\n height: '100%'\n },\n '&& .MuiCardMedia-root': {\n height: 'min(62.5cqw, 297px)',\n transition: 'height 0.3s ease'\n },\n '&& .MuiCardActionArea-root:hover .MuiCardMedia-root': {\n height: `min(calc(62.5cqw - ${JUMP_IN_HEIGHT}px), ${297 - JUMP_IN_HEIGHT}px)`\n },\n // Expand avatar container so the \"by\" label is not truncated\n // (targets the inner Box wrapping the AvatarFace inside EventCard)\n '& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)': {\n maxWidth: '100%'\n },\n /* eslint-enable @typescript-eslint/naming-convention */\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarousel = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n }\n}))\n\nconst CardWrapper = styled('div')({\n borderRadius: 16,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n // Override ui2's 0.4 opacity to 0.6\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCardContent-root': {\n backgroundColor: 'rgba(0, 0, 0, 0.6)'\n },\n // Force card to respect container width on small screens\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCard-root': {\n minWidth: 0,\n maxWidth: '100%'\n },\n /* eslint-disable @typescript-eslint/naming-convention */\n '&& .MuiTypography-h6': {\n display: 'block',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n WebkitLineClamp: 'unset',\n WebkitBoxOrient: 'unset'\n }\n /* eslint-enable @typescript-eslint/naming-convention */\n})\n\nexport { CardWrapper, CardsGrid, ExploreContainer, MobileCarousel, SectionTitle }\n","import { memo } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { BadgeGroup, EventCard, LiveBadge, UserCountBadge } from 'decentraland-ui2'\nimport type { ExploreItem } from '../../../features/events/events.types'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { CardWrapper } from './Explore.styled'\n\n// AvatarFace only passes through URLs starting with https://, otherwise it\n// prepends peer.decentraland.org. In prod assetUrl gives https://cdn..., in\n// dev we force https by replacing the protocol.\nconst DCL_LOGO_URL = assetUrl('/dcl-logo.svg').replace(/^http:\\/\\//, 'https://')\n\nconst ExploreCard = memo(({ card, loading }: { card?: ExploreItem; loading?: boolean }) => {\n const onClickHandle = useTrackClick()\n const { data: profile } = useGetProfileQuery(card?.creatorAddress, { skip: !card?.creatorAddress })\n const fetchedAvatar = profile?.avatars?.[0]\n\n let avatar: Avatar | undefined = fetchedAvatar as Avatar | undefined\n if (!avatar && card?.creatorName) {\n avatar = {\n name: card.creatorName,\n ethAddress: '',\n ...(card.isGenesisPlaza && {\n avatar: { snapshots: { face256: DCL_LOGO_URL, body: '' } }\n })\n } as Avatar\n }\n\n return (\n <CardWrapper data-place={SectionViewedTrack.LANDING_EXPLORE} data-event=\"click\" data-card={card?.title} onClick={onClickHandle}>\n <EventCard\n loading={loading}\n image={card?.image ?? ''}\n sceneName={card?.title ?? ''}\n avatar={avatar}\n coordinates={card?.coordinates}\n leftBadgeTransparent\n hideLocation\n leftBadge={\n card ? (\n <BadgeGroup>\n <LiveBadge />\n <UserCountBadge count={card.users} />\n </BadgeGroup>\n ) : undefined\n }\n />\n </CardWrapper>\n )\n})\n\nExploreCard.displayName = 'ExploreCard'\n\nexport { ExploreCard }\n","import { memo, useCallback, useMemo } from 'react'\nimport { AnimatedBackground, DownloadModal } from 'decentraland-ui2'\nimport { useGetExploreDataQuery } from '../../../features/events/events.client'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport { useWalletAddress } from '../../../hooks/useWalletAddress'\nimport { Carousel } from '../../Carousel/Carousel'\nimport { ExploreCard } from './ExploreCard'\nimport { CardsGrid, ExploreContainer, MobileCarousel, SectionTitle } from './Explore.styled'\n\nconst LOADING_PLACEHOLDERS = [0, 1, 2]\n\nconst Explore = memo(() => {\n const l = useFormatMessage()\n const { data: cards, isLoading } = useGetExploreDataQuery()\n const { isConnected } = useWalletAddress()\n const { handleClick, isDownloadModalOpen, closeDownloadModal, downloadModalProps } = useHangOutAction()\n\n // Intercept card clicks when not signed in → show download modal instead\n const handleCardClick = useCallback(\n (e: React.MouseEvent) => {\n if (!isConnected) {\n e.preventDefault()\n e.stopPropagation()\n handleClick(e)\n }\n },\n [isConnected, handleClick]\n )\n\n if (!isLoading && cards.length === 0) return null\n\n const cardElements = useMemo(\n () =>\n isLoading\n ? LOADING_PLACEHOLDERS.map(i => <ExploreCard key={i} loading />)\n : cards.map(card => <ExploreCard key={card.id} card={card} />),\n [isLoading, cards]\n )\n\n return (\n <ExploreContainer>\n <AnimatedBackground variant=\"absolute\" />\n <SectionTitle variant=\"h3\">{l('page.home.explore.title')}</SectionTitle>\n <CardsGrid onClickCapture={handleCardClick}>{cardElements}</CardsGrid>\n <MobileCarousel onClickCapture={handleCardClick}>\n {isLoading ? (\n <ExploreCard loading />\n ) : (\n cards.length > 0 && (\n <Carousel items={cards} renderItem={card => <ExploreCard card={card} />} keyExtractor={card => card.id} autoplayDelay={5000} />\n )\n )}\n </MobileCarousel>\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n </ExploreContainer>\n )\n})\n\nExplore.displayName = 'Explore'\n\nexport { Explore }\n"],"names":["ExploreContainer","styled","Box","theme","SectionTitle","Typography","dclColors.neutral","JUMP_IN_HEIGHT","CardsGrid","MobileCarousel","CardWrapper","DCL_LOGO_URL","assetUrl","ExploreCard","memo","card","loading","onClickHandle","useTrackClick","profile","useGetProfileQuery","avatar","jsx","SectionViewedTrack","EventCard","jsxs","BadgeGroup","LiveBadge","UserCountBadge","LOADING_PLACEHOLDERS","Explore","l","useFormatMessage","cards","isLoading","useGetExploreDataQuery","isConnected","useWalletAddress","handleClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","useHangOutAction","handleCardClick","useCallback","e","cardElements","useMemo","i","AnimatedBackground","Carousel","DownloadModal"],"mappings":"iyBAEA,MAAMA,EAAmBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACnD,MAAO,OACP,QAASA,EAAM,QAAQ,GAAI,CAAC,EAC5B,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,SAAU,WACV,SAAU,SACV,CAACA,EA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AAa,oBAAAC,EAAqB,mBAAAC,EAAoB,mBAAAC,CAAA,EAAuBC,EAAA,EAG/EC,EAAkBC,EAAAA,YACrBC,GAAwB,CAClBT,IACHS,EAAE,eAAA,EACFA,EAAE,gBAAA,EACFP,EAAYO,CAAC,EAEjB,EACA,CAACT,EAAaE,CAAW,CAAA,EAG3B,GAAI,CAACJ,GAAaD,EAAM,SAAW,EAAG,OAAO,KAE7C,MAAMa,EAAeC,EAAAA,QACnB,IACEb,EACIL,EAAqB,OAASP,EAAAA,IAACT,EAAA,CAAoB,QAAO,IAAVmC,CAAW,CAAE,EAC7Df,EAAM,IAAIlB,GAAQO,EAAAA,IAACT,GAA0B,KAAAE,CAAA,EAATA,EAAK,EAAgB,CAAE,EACjE,CAACmB,EAAWD,CAAK,CAAA,EAGnB,cACGjC,EAAA,CACC,SAAA,CAAAsB,EAAAA,IAAC2B,EAAA,CAAmB,QAAQ,UAAA,CAAW,QACtC7C,EAAA,CAAa,QAAQ,KAAM,SAAA2B,EAAE,yBAAyB,EAAE,EACzDT,EAAAA,IAACd,EAAA,CAAU,eAAgBmC,EAAkB,SAAAG,EAAa,EAC1DxB,EAAAA,IAACb,EAAA,CAAe,eAAgBkC,EAC7B,SAAAT,EACCZ,MAACT,EAAA,CAAY,QAAO,EAAA,CAAC,EAErBoB,EAAM,OAAS,GACbX,EAAAA,IAAC4B,EAAA,CAAS,MAAOjB,EAAO,WAAYlB,GAAQO,EAAAA,IAACT,EAAA,CAAY,KAAAE,CAAA,CAAY,EAAI,aAAcA,GAAQA,EAAK,GAAI,cAAe,IAAM,EAGnI,QACCoC,EAAA,CAAc,KAAMZ,EAAqB,QAASC,EAAqB,GAAGC,CAAA,CAAoB,CAAA,EACjG,CAEJ,CAAC,EAEDX,EAAQ,YAAc"}
|
|
1
|
+
{"version":3,"file":"index-DvZ_ojLV.js","sources":["../../src/components/Home/Explore/Explore.styled.ts","../../src/components/Home/Explore/ExploreCard.tsx","../../src/components/Home/Explore/Explore.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst ExploreContainer = styled(Box)(({ theme }) => ({\n width: '100%',\n padding: theme.spacing(10, 8),\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(6),\n position: 'relative',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: theme.spacing(6, 2)\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 700,\n textAlign: 'center',\n position: 'relative',\n zIndex: 10,\n fontSize: 48,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst JUMP_IN_HEIGHT = 62\n\nconst CardsGrid = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(3),\n justifyContent: 'center',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n /* eslint-disable @typescript-eslint/naming-convention */\n '& > *': {\n flex: '1 1 0',\n minWidth: 0,\n maxWidth: 850,\n '&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *': {\n minHeight: 427\n }\n },\n '& .MuiCard-root': {\n containerType: 'inline-size',\n overflow: 'hidden',\n height: 'min(62.5cqw + 130px, 427px)'\n },\n '& .MuiCardActionArea-root': {\n height: '100%'\n },\n '&& .MuiCardMedia-root': {\n height: 'min(62.5cqw, 297px)',\n transition: 'height 0.3s ease'\n },\n '&& .MuiCardActionArea-root:hover .MuiCardMedia-root': {\n height: `min(calc(62.5cqw - ${JUMP_IN_HEIGHT}px), ${297 - JUMP_IN_HEIGHT}px)`\n },\n // Expand avatar container so the \"by\" label is not truncated\n // (targets the inner Box wrapping the AvatarFace inside EventCard)\n '& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)': {\n maxWidth: '100%'\n },\n /* eslint-enable @typescript-eslint/naming-convention */\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarousel = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n }\n}))\n\nconst CardWrapper = styled('div')({\n borderRadius: 16,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n // Override ui2's 0.4 opacity to 0.6\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCardContent-root': {\n backgroundColor: 'rgba(0, 0, 0, 0.6)'\n },\n // Force card to respect container width on small screens\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCard-root': {\n minWidth: 0,\n maxWidth: '100%'\n },\n /* eslint-disable @typescript-eslint/naming-convention */\n '&& .MuiTypography-h6': {\n display: 'block',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n WebkitLineClamp: 'unset',\n WebkitBoxOrient: 'unset'\n }\n /* eslint-enable @typescript-eslint/naming-convention */\n})\n\nexport { CardWrapper, CardsGrid, ExploreContainer, MobileCarousel, SectionTitle }\n","import { memo } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { BadgeGroup, EventCard, LiveBadge, UserCountBadge } from 'decentraland-ui2'\nimport type { ExploreItem } from '../../../features/events/events.types'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { CardWrapper } from './Explore.styled'\n\n// AvatarFace only passes through URLs starting with https://, otherwise it\n// prepends peer.decentraland.org. In prod assetUrl gives https://cdn..., in\n// dev we force https by replacing the protocol.\nconst DCL_LOGO_URL = assetUrl('/dcl-logo.svg').replace(/^http:\\/\\//, 'https://')\n\nconst ExploreCard = memo(({ card, loading }: { card?: ExploreItem; loading?: boolean }) => {\n const onClickHandle = useTrackClick()\n const { data: profile } = useGetProfileQuery(card?.creatorAddress, { skip: !card?.creatorAddress })\n const fetchedAvatar = profile?.avatars?.[0]\n\n let avatar: Avatar | undefined = fetchedAvatar as Avatar | undefined\n if (!avatar && card?.creatorName) {\n avatar = {\n name: card.creatorName,\n ethAddress: '',\n ...(card.isGenesisPlaza && {\n avatar: { snapshots: { face256: DCL_LOGO_URL, body: '' } }\n })\n } as Avatar\n }\n\n return (\n <CardWrapper data-place={SectionViewedTrack.LANDING_EXPLORE} data-event=\"click\" data-card={card?.title} onClick={onClickHandle}>\n <EventCard\n loading={loading}\n image={card?.image ?? ''}\n sceneName={card?.title ?? ''}\n avatar={avatar}\n coordinates={card?.coordinates}\n leftBadgeTransparent\n hideLocation\n leftBadge={\n card ? (\n <BadgeGroup>\n <LiveBadge />\n <UserCountBadge count={card.users} />\n </BadgeGroup>\n ) : undefined\n }\n />\n </CardWrapper>\n )\n})\n\nExploreCard.displayName = 'ExploreCard'\n\nexport { ExploreCard }\n","import { memo, useCallback, useMemo } from 'react'\nimport { AnimatedBackground, DownloadModal } from 'decentraland-ui2'\nimport { useGetExploreDataQuery } from '../../../features/events/events.client'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport { useWalletAddress } from '../../../hooks/useWalletAddress'\nimport { Carousel } from '../../Carousel/Carousel'\nimport { ExploreCard } from './ExploreCard'\nimport { CardsGrid, ExploreContainer, MobileCarousel, SectionTitle } from './Explore.styled'\n\nconst LOADING_PLACEHOLDERS = [0, 1, 2]\n\nconst Explore = memo(() => {\n const l = useFormatMessage()\n const { data: cards, isLoading } = useGetExploreDataQuery()\n const { isConnected } = useWalletAddress()\n const { handleClick, isDownloadModalOpen, closeDownloadModal, downloadModalProps } = useHangOutAction()\n\n // Intercept card clicks when not signed in → show download modal instead\n const handleCardClick = useCallback(\n (e: React.MouseEvent) => {\n if (!isConnected) {\n e.preventDefault()\n e.stopPropagation()\n handleClick(e)\n }\n },\n [isConnected, handleClick]\n )\n\n if (!isLoading && cards.length === 0) return null\n\n const cardElements = useMemo(\n () =>\n isLoading\n ? LOADING_PLACEHOLDERS.map(i => <ExploreCard key={i} loading />)\n : cards.map(card => <ExploreCard key={card.id} card={card} />),\n [isLoading, cards]\n )\n\n return (\n <ExploreContainer>\n <AnimatedBackground variant=\"absolute\" />\n <SectionTitle variant=\"h3\">{l('page.home.explore.title')}</SectionTitle>\n <CardsGrid onClickCapture={handleCardClick}>{cardElements}</CardsGrid>\n <MobileCarousel onClickCapture={handleCardClick}>\n {isLoading ? (\n <ExploreCard loading />\n ) : (\n cards.length > 0 && (\n <Carousel items={cards} renderItem={card => <ExploreCard card={card} />} keyExtractor={card => card.id} autoplayDelay={5000} />\n )\n )}\n </MobileCarousel>\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n </ExploreContainer>\n )\n})\n\nExplore.displayName = 'Explore'\n\nexport { Explore }\n"],"names":["ExploreContainer","styled","Box","theme","SectionTitle","Typography","dclColors.neutral","JUMP_IN_HEIGHT","CardsGrid","MobileCarousel","CardWrapper","DCL_LOGO_URL","assetUrl","ExploreCard","memo","card","loading","onClickHandle","useTrackClick","profile","useGetProfileQuery","avatar","jsx","SectionViewedTrack","EventCard","jsxs","BadgeGroup","LiveBadge","UserCountBadge","LOADING_PLACEHOLDERS","Explore","l","useFormatMessage","cards","isLoading","useGetExploreDataQuery","isConnected","useWalletAddress","handleClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","useHangOutAction","handleCardClick","useCallback","e","cardElements","useMemo","i","AnimatedBackground","Carousel","DownloadModal"],"mappings":"iyBAEA,MAAMA,EAAmBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACnD,MAAO,OACP,QAASA,EAAM,QAAQ,GAAI,CAAC,EAC5B,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,SAAU,WACV,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAASA,EAAM,QAAQ,EAAG,CA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/EC,EAAkBC,EAAAA,YACrBC,GAAwB,CAClBT,IACHS,EAAE,eAAA,EACFA,EAAE,gBAAA,EACFP,EAAYO,CAAC,EAEjB,EACA,CAACT,EAAaE,CAAW,CAAA,EAG3B,GAAI,CAACJ,GAAaD,EAAM,SAAW,EAAG,OAAO,KAE7C,MAAMa,EAAeC,EAAAA,QACnB,IACEb,EACIL,EAAqB,OAASP,EAAAA,IAACT,EAAA,CAAoB,QAAO,IAAVmC,CAAW,CAAE,EAC7Df,EAAM,IAAIlB,GAAQO,EAAAA,IAACT,GAA0B,KAAAE,CAAA,EAATA,EAAK,EAAgB,CAAE,EACjE,CAACmB,EAAWD,CAAK,CAAA,EAGnB,cACGjC,EAAA,CACC,SAAA,CAAAsB,EAAAA,IAAC2B,EAAA,CAAmB,QAAQ,UAAA,CAAW,QACtC7C,EAAA,CAAa,QAAQ,KAAM,SAAA2B,EAAE,yBAAyB,EAAE,EACzDT,EAAAA,IAACd,EAAA,CAAU,eAAgBmC,EAAkB,SAAAG,EAAa,EAC1DxB,EAAAA,IAACb,EAAA,CAAe,eAAgBkC,EAC7B,SAAAT,EACCZ,MAACT,EAAA,CAAY,QAAO,EAAA,CAAC,EAErBoB,EAAM,OAAS,GACbX,EAAAA,IAAC4B,EAAA,CAAS,MAAOjB,EAAO,WAAYlB,GAAQO,EAAAA,IAACT,EAAA,CAAY,KAAAE,CAAA,CAAY,EAAI,aAAcA,GAAQA,EAAK,GAAI,cAAe,IAAM,EAGnI,QACCoC,EAAA,CAAc,KAAMZ,EAAqB,QAASC,EAAqB,GAAGC,CAAA,CAAoB,CAAA,EACjG,CAEJ,CAAC,EAEDX,EAAQ,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as i,a as s,v as r,z as n,w as d,X as c,M as g,j as t,Y as p,U as m}from"./index-
|
|
1
|
+
import{s as i,a as s,v as r,z as n,w as d,X as c,M as g,j as t,Y as p,U as m}from"./index-Cjx-6-Fc.js";import{r as k}from"./vendor-router-D_36sTKu.js";import{C as y}from"./Carousel-DvX_HfdZ.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const u=i(s)({width:"100%",background:"radial-gradient(ellipse at 110% 50%, rgba(148,37,205,1) 0%, rgba(104,20,155,1) 100%)"}),x=i(s)(({theme:e})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(4),padding:`${e.spacing(10)} 0`,width:"100%",maxWidth:1920,margin:"0 auto",overflow:"hidden",[e.breakpoints.down("sm")]:{padding:`${e.spacing(6)} 0`}})),h=i(r)(({theme:e})=>({color:n.white,fontWeight:600,fontSize:48,textAlign:"center",[e.breakpoints.down("sm")]:{fontSize:32}})),b=i("img")({width:"100%",height:"100%",objectFit:"cover",display:"block"}),f=i("img")({display:"block",width:"100%",maxWidth:358,margin:"0 auto",borderRadius:16,objectFit:"cover"}),w=p.cards,j=k.memo(()=>{const e=d(),o=c("(max-width: 599px)"),l=g();return t.jsx(u,{children:t.jsxs(x,{children:[t.jsx(h,{variant:"h3",children:e("page.home.weekly_rituals.title")}),t.jsx(y,{items:w,keyExtractor:a=>a.id,slideAspectRatio:"750 / 370",renderItem:a=>t.jsx("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",draggable:!1,style:{display:"block",height:"100%"},"data-place":m.LANDING_WEEKLY_RITUALS,"data-event":"click","data-card":a.id,onClick:l,children:o?t.jsx(f,{src:a.mobileImageUrl,alt:e(a.titleKey),loading:"lazy",draggable:!1}):t.jsx(b,{src:a.imageUrl,alt:e(a.titleKey),loading:"lazy",draggable:!1})})})]})})});j.displayName="WeeklyRituals";export{j as WeeklyRituals};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-DzuMEVEG.js","sources":["../../src/components/Home/WeeklyRituals/WeeklyRituals.styled.ts","../../src/components/Home/WeeklyRituals/WeeklyRituals.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst WeeklyRitualsOuter = styled(Box)({\n width: '100%',\n background: 'radial-gradient(ellipse at 110% 50%, rgba(148,37,205,1) 0%, rgba(104,20,155,1) 100%)'\n})\n\nconst WeeklyRitualsContainer = styled(Box)(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(4),\n padding: `${theme.spacing(10)} 0`,\n width: '100%',\n maxWidth: 1920,\n margin: '0 auto',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0`\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 48,\n textAlign: 'center',\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst CardImage = styled('img')({\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n display: 'block'\n})\n\nconst MobileCardImage = styled('img')({\n display: 'block',\n width: '100%',\n maxWidth: 358,\n margin: '0 auto',\n borderRadius: 16,\n objectFit: 'cover'\n})\n\nexport { CardImage, MobileCardImage, SectionTitle, WeeklyRitualsContainer, WeeklyRitualsOuter }\n","import { memo } from 'react'\nimport { useMediaQuery } from 'decentraland-ui2'\nimport { weeklyRitualsContent } from '../../../data/static-content'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { Carousel } from '../../Carousel'\nimport { CardImage, MobileCardImage, SectionTitle, WeeklyRitualsContainer, WeeklyRitualsOuter } from './WeeklyRituals.styled'\n\nconst cards = weeklyRitualsContent.cards\n\nconst WeeklyRituals = memo(() => {\n const l = useFormatMessage()\n const isMobile = useMediaQuery('(max-width: 599px)')\n const onClickHandle = useTrackClick()\n\n return (\n <WeeklyRitualsOuter>\n <WeeklyRitualsContainer>\n <SectionTitle variant=\"h3\">{l('page.home.weekly_rituals.title')}</SectionTitle>\n <Carousel\n items={cards}\n keyExtractor={card => card.id}\n slideAspectRatio=\"750 / 370\"\n renderItem={card => (\n <a\n href={card.link}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n draggable={false}\n style={{ display: 'block', height: '100%' }}\n data-place={SectionViewedTrack.LANDING_WEEKLY_RITUALS}\n data-event=\"click\"\n data-card={card.id}\n onClick={onClickHandle}\n >\n {isMobile ? (\n <MobileCardImage src={card.mobileImageUrl} alt={l(card.titleKey)} loading=\"lazy\" draggable={false} />\n ) : (\n <CardImage src={card.imageUrl} alt={l(card.titleKey)} loading=\"lazy\" draggable={false} />\n )}\n </a>\n )}\n />\n </WeeklyRitualsContainer>\n </WeeklyRitualsOuter>\n )\n})\n\nWeeklyRituals.displayName = 'WeeklyRituals'\n\nexport { WeeklyRituals }\n"],"names":["WeeklyRitualsOuter","styled","Box","WeeklyRitualsContainer","theme","SectionTitle","Typography","dclColors.neutral","CardImage","MobileCardImage","cards","weeklyRitualsContent","WeeklyRituals","memo","l","useFormatMessage","isMobile","useMediaQuery","onClickHandle","useTrackClick","jsx","jsxs","Carousel","card","SectionViewedTrack"],"mappings":"iXAEA,MAAMA,EAAqBC,EAAOC,CAAG,EAAE,CACrC,MAAO,OACP,WAAY,sFACd,CAAC,EAEKC,EAAyBF,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAE,MAAa,CACzD,SAAU,WACV,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,QAAS,GAAGA,EAAM,QAAQ,EAAE,CAAC,KAC7B,MAAO,OACP,SAAU,KACV,OAAQ,SACR,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAAS,GAAGA,EAAM,QAAQ,CAAC,CAAC,IAAA,CAEhC,EAAE,EAEIC,EAAeJ,EAAOK,CA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J,CAAC,EAEDX,EAAc,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as Q,C as K,D as X,T as Wt,aL as $t,_ as J,c as u,i as Lt,h as Dt,e as Ht,j as n,E as B,G as Y,s as i,l as it,aM as Pt,at as Nt,u as Ft,a as f,v as D,B as ut,x as tt}from"./index-DaRevScO.js";import{r}from"./vendor-router-D_36sTKu.js";import"./vendor-ua-D7qqAxdq.js";import{M as zt,a as Bt}from"./MenuItem-DJBLDqfL.js";import{u as Ut}from"./useSlot-BerGUD87.js";import{P as qt}from"./Paper-BcsxEQWA.js";import{C as Vt}from"./CircularProgress-DMJbftwB.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-intl-D2lXWsDp.js";import"./Grow-BbhVo4-Q.js";function Gt(t){return Q("MuiCollapse",t)}K("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Zt=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Ot=t=>{const{orientation:e,classes:o}=t,s={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return Y(s,Gt,o)},Qt=i("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[o.orientation],o.state==="entered"&&e.entered,o.state==="exited"&&!o.in&&o.collapsedSize==="0px"&&e.hidden]}})(({theme:t,ownerState:e})=>u({height:0,overflow:"hidden",transition:t.transitions.create("height")},e.orientation==="horizontal"&&{height:"auto",width:0,transition:t.transitions.create("width")},e.state==="entered"&&u({height:"auto",overflow:"visible"},e.orientation==="horizontal"&&{width:"auto"}),e.state==="exited"&&!e.in&&e.collapsedSize==="0px"&&{visibility:"hidden"})),Kt=i("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})(({ownerState:t})=>u({display:"flex",width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),Xt=i("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})(({ownerState:t})=>u({width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),gt=r.forwardRef(function(e,o){const s=X({props:e,name:"MuiCollapse"}),{addEndListener:c,children:l,className:p,collapsedSize:d="0px",component:g,easing:R,in:x,onEnter:h,onEntered:S,onEntering:v,onExit:b,onExited:C,onExiting:y,orientation:m="vertical",style:M,timeout:j=$t.standard,TransitionComponent:H=Wt}=s,et=J(s,Zt),T=u({},s,{orientation:m,collapsedSize:d}),I=Ot(T),P=Lt(),nt=Dt(),E=r.useRef(null),N=r.useRef(),_=typeof d=="number"?`${d}px`:d,k=m==="horizontal",F=k?"width":"height",U=r.useRef(null),It=Ht(o,U),W=a=>w=>{if(a){const A=U.current;w===void 0?a(A):a(A,w)}},ot=()=>E.current?E.current[k?"clientWidth":"clientHeight"]:0,Et=W((a,w)=>{E.current&&k&&(E.current.style.position="absolute"),a.style[F]=_,h&&h(a,w)}),At=W((a,w)=>{const A=ot();E.current&&k&&(E.current.style.position="");const{duration:z,easing:q}=it({style:M,timeout:j,easing:R},{mode:"enter"});if(j==="auto"){const rt=P.transitions.getAutoHeightDuration(A);a.style.transitionDuration=`${rt}ms`,N.current=rt}else a.style.transitionDuration=typeof z=="string"?z:`${z}ms`;a.style[F]=`${A}px`,a.style.transitionTimingFunction=q,v&&v(a,w)}),Rt=W((a,w)=>{a.style[F]="auto",S&&S(a,w)}),kt=W(a=>{a.style[F]=`${ot()}px`,b&&b(a)}),Mt=W(C),Tt=W(a=>{const w=ot(),{duration:A,easing:z}=it({style:M,timeout:j,easing:R},{mode:"exit"});if(j==="auto"){const q=P.transitions.getAutoHeightDuration(w);a.style.transitionDuration=`${q}ms`,N.current=q}else a.style.transitionDuration=typeof A=="string"?A:`${A}ms`;a.style[F]=_,a.style.transitionTimingFunction=z,y&&y(a)}),_t=a=>{j==="auto"&&nt.start(N.current||0,a),c&&c(U.current,a)};return n.jsx(H,u({in:x,onEnter:Et,onEntered:Rt,onEntering:At,onExit:kt,onExited:Mt,onExiting:Tt,addEndListener:_t,nodeRef:U,timeout:j==="auto"?null:j},et,{children:(a,w)=>n.jsx(Qt,u({as:g,className:B(I.root,p,{entered:I.entered,exited:!x&&_==="0px"&&I.hidden}[a]),style:u({[k?"minWidth":"minHeight"]:_},M),ref:It},w,{ownerState:u({},T,{state:a}),children:n.jsx(Kt,{ownerState:u({},T,{state:a}),className:I.wrapper,ref:E,children:n.jsx(Xt,{ownerState:u({},T,{state:a}),className:I.wrapperInner,children:l})})}))}))});gt.muiSupportAuto=!0;const ht=r.createContext({});function Jt(t){return Q("MuiAccordion",t)}const V=K("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),Yt=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],te=t=>{const{classes:e,square:o,expanded:s,disabled:c,disableGutters:l}=t;return Y({root:["root",!o&&"rounded",s&&"expanded",c&&"disabled",!l&&"gutters"],region:["region"]},Jt,e)},ee=i(qt,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[{[`& .${V.region}`]:e.region},e.root,!o.square&&e.rounded,!o.disableGutters&&e.gutters]}})(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{position:"relative",transition:t.transitions.create(["margin"],e),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(t.vars||t).palette.divider,transition:t.transitions.create(["opacity","background-color"],e)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${V.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${V.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}},({theme:t})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${V.expanded}`]:{margin:"16px 0"}}}]})),ne=r.forwardRef(function(e,o){const s=X({props:e,name:"MuiAccordion"}),{children:c,className:l,defaultExpanded:p=!1,disabled:d=!1,disableGutters:g=!1,expanded:R,onChange:x,square:h=!1,slots:S={},slotProps:v={},TransitionComponent:b,TransitionProps:C}=s,y=J(s,Yt),[m,M]=Pt({controlled:R,default:p,name:"Accordion",state:"expanded"}),j=r.useCallback(k=>{M(!m),x&&x(k,!m)},[m,x,M]),[H,...et]=r.Children.toArray(c),T=r.useMemo(()=>({expanded:m,disabled:d,disableGutters:g,toggle:j}),[m,d,g,j]),I=u({},s,{square:h,disabled:d,disableGutters:g,expanded:m}),P=te(I),nt=u({transition:b},S),E=u({transition:C},v),[N,_]=Ut("transition",{elementType:gt,externalForwardedProps:{slots:nt,slotProps:E},ownerState:I});return n.jsxs(ee,u({className:B(P.root,l),ref:o,ownerState:I,square:h},y,{children:[n.jsx(ht.Provider,{value:T,children:H}),n.jsx(N,u({in:m,timeout:"auto"},_,{children:n.jsx("div",{"aria-labelledby":H.props.id,id:H.props["aria-controls"],role:"region",className:P.region,children:et})}))]}))});function oe(t){return Q("MuiAccordionDetails",t)}K("MuiAccordionDetails",["root"]);const se=["className"],re=t=>{const{classes:e}=t;return Y({root:["root"]},oe,e)},ie=i("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({padding:t.spacing(1,2,2)})),ae=r.forwardRef(function(e,o){const s=X({props:e,name:"MuiAccordionDetails"}),{className:c}=s,l=J(s,se),p=s,d=re(p);return n.jsx(ie,u({className:B(d.root,c),ref:o,ownerState:p},l))});function ce(t){return Q("MuiAccordionSummary",t)}const L=K("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),le=["children","className","expandIcon","focusVisibleClassName","onClick"],de=t=>{const{classes:e,expanded:o,disabled:s,disableGutters:c}=t;return Y({root:["root",o&&"expanded",s&&"disabled",!c&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!c&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]},ce,e)},pe=i(Nt,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],e),[`&.${L.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${L.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${L.disabled})`]:{cursor:"pointer"},variants:[{props:o=>!o.disableGutters,style:{[`&.${L.expanded}`]:{minHeight:64}}}]}}),ue=i("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,e)=>e.content})(({theme:t})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),[`&.${L.expanded}`]:{margin:"20px 0"}}}]})),ge=i("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,e)=>e.expandIconWrapper})(({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${L.expanded}`]:{transform:"rotate(180deg)"}})),he=r.forwardRef(function(e,o){const s=X({props:e,name:"MuiAccordionSummary"}),{children:c,className:l,expandIcon:p,focusVisibleClassName:d,onClick:g}=s,R=J(s,le),{disabled:x=!1,disableGutters:h,expanded:S,toggle:v}=r.useContext(ht),b=m=>{v&&v(m),g&&g(m)},C=u({},s,{expanded:S,disabled:x,disableGutters:h}),y=de(C);return n.jsxs(pe,u({focusRipple:!1,disableRipple:!0,disabled:x,component:"div","aria-expanded":S,className:B(y.root,l),focusVisibleClassName:B(y.focusVisible,d),onClick:b,ref:o,ownerState:C},R,{children:[n.jsx(ue,{className:y.content,ownerState:C,children:c}),p&&n.jsx(ge,{className:y.expandIconWrapper,ownerState:C,children:p})]}))});function me({type:t="text/javascript",async:e=!0,...o}){const s=document.createElement("script");return Object.assign(s,{type:t,async:e,...o}),document.body.appendChild(s),s}function mt(){const t=typeof window<"u"?window:null;return t&&typeof t.Intercom=="function"}function at(t){return(...e)=>{if(!t){console.warn("Intercom app id empty. Check that the environment is properly set");return}if(!mt()){console.warn("Intercom called before injection");return}window.Intercom(...e)}}class st{constructor(){}static getInstance(){return this.instance||(this.instance=new st),this.instance}get appId(){return this._appId}set appId(e){this._appId=e}get settings(){return this._settings}set settings(e){if(this._settings=e,e&&typeof window<"u"){const o=window;o.intercomSettings=e}}init(e,o){this.appId=e,this.client=at(e),o&&(this.settings=o)}inject(){return new Promise((e,o)=>{if(mt())return e();const s=me({src:`https://widget.intercom.io/widget/${this._appId}`});s.addEventListener("load",()=>e(),!0),s.addEventListener("error",()=>o(new Error("Failed to load Intercom script")),!0)}).then(()=>{if(!this._appId)throw new Error("No AppId defined");this.client=at(this._appId)})}render(e={}){if(!this.client)throw new Error("Client not initialized");this.client("reattach_activator"),this.client("update",{...e,app_id:this._appId})}unmount(){if(!this.client)throw new Error("Client not initialized");this.client("shutdown")}}const fe={},xe={alignment:"right"},Ce=({appId:t,data:e=fe,settings:o=xe})=>{const s=r.useMemo(()=>st.getInstance(),[]),{address:c}=Ft();return r.useEffect(()=>{s.appId||s.init(t,o);const l={...e,...c?{Wallet:c}:{}};return(async()=>{try{await s.inject(),s.render(l)}catch(d){const g=d instanceof Error?d.message:"Unknown error";console.error("Could not render intercom",g)}})(),()=>{try{s.unmount()}catch{}}},[t,e,c,o,s]),r.useEffect(()=>{s.settings=o},[o,s]),null},we=i(f)(({theme:t})=>({display:"flex",justifyContent:"space-between",alignItems:"flex-start",position:"relative",minHeight:"100vh",padding:t.spacing(15,2.5,2.5),[t.breakpoints.down("sm")]:{flexDirection:"column",alignItems:"center",padding:t.spacing(10,0,0)}})),be=i(f)(({theme:t})=>({flex:"0 1 300px",marginLeft:t.spacing(6),[t.breakpoints.down("md")]:{marginLeft:t.spacing(5)},[t.breakpoints.down("sm")]:{flex:"0 1 auto",marginLeft:0,width:"100%",padding:`0 ${t.spacing(2)}`}})),ye=i(f)(({theme:t})=>({gap:t.spacing(1),[t.breakpoints.down("sm")]:{maxWidth:380}})),Se=i(D)(({theme:t})=>({fontSize:30,fontWeight:600,lineHeight:"36px",[t.breakpoints.down("sm")]:{fontSize:24,lineHeight:"29px"}})),je=i(D)(({theme:t})=>({fontSize:14,fontWeight:500,lineHeight:"24px",color:"rgba(252, 252, 252, 0.8)",[t.breakpoints.down("sm")]:{fontSize:12,lineHeight:"18px"}})),ve=i(f)(({theme:t})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"baseline",[t.breakpoints.down("sm")]:{"& > h2":{width:200}}})),Ie=i(f)(({theme:t})=>({padding:`${t.spacing(1.5)} ${t.spacing(2)} ${t.spacing(1.5)} 0`,[t.breakpoints.down("sm")]:{display:"flex",flexDirection:"row"}})),ct=i(ut)(({theme:t,active:e})=>({display:"flex",justifyContent:"center",alignItems:"center",gap:t.spacing(1),height:40,borderRadius:8,background:e?"#ffffff":"transparent",backgroundImage:"none",color:e?"#161518":"#cfcdd4",textTransform:"none",fontSize:14,fontWeight:600,lineHeight:"17px",paddingLeft:t.spacing(2),paddingRight:t.spacing(2),marginBottom:t.spacing(1),"&:hover":{background:e?"#ffffff":"rgba(255, 255, 255, 0.1)",backgroundImage:"none"},"& svg":{height:20,width:20}})),Ee=i(f)(({theme:t})=>({flex:1,marginTop:t.spacing(2.25),marginLeft:t.spacing(10),[t.breakpoints.down("sm")]:{marginTop:0,marginLeft:0,maxWidth:375,width:"100%"}})),ft=i(f)(({theme:t})=>({gap:t.spacing(1)})),xt=i(D)(({theme:t})=>({fontSize:22,fontWeight:600,lineHeight:"27px",[t.breakpoints.down("sm")]:{fontSize:20,lineHeight:"24px"}})),Ae=i(D)({fontSize:14,fontWeight:500,lineHeight:"24px",color:"rgba(252, 252, 252, 0.8)","& a":{color:"inherit",textDecoration:"underline"}}),Ct=i(ne)(({theme:t})=>({marginBottom:t.spacing(1),minWidth:661,maxWidth:661,minHeight:64,background:"#331636",backgroundImage:"none",borderRadius:"27px !important",padding:`${t.spacing(1.5)} ${t.spacing(2)}`,boxShadow:"none",cursor:"pointer",transition:"background 0.2s ease","&:hover":{background:"#3d1a41",backgroundImage:"none"},"&:before":{display:"none"},"&.Mui-expanded":{margin:`0 0 ${t.spacing(1)} 0`,minHeight:"unset",background:"#3d1a41",backgroundImage:"none"},[t.breakpoints.down("sm")]:{minWidth:"unset",maxWidth:"100%",width:"100%"}})),wt=i(he)({"& .MuiAccordionSummary-content":{margin:0,alignItems:"center",justifyContent:"space-between"},"& .MuiAccordionSummary-expandIconWrapper":{display:"none"},"&:hover":{backgroundColor:"transparent"},minHeight:40,padding:0,"&.Mui-expanded":{minHeight:40},"& svg":{height:40,minHeight:40,width:40,minWidth:40,flexShrink:0}}),bt=i(ae)(({theme:t})=>({padding:`${t.spacing(1)} 0 0 ${t.spacing(3)}`,whiteSpace:"pre-line","& p":{fontSize:14,lineHeight:"22px",color:"rgba(252, 252, 252, 0.8)"},"& a":{color:"#FCFCFC",textDecoration:"underline"}})),yt=i(D)({fontSize:16,fontWeight:300,lineHeight:"24px",marginLeft:24}),St=i(f)(({theme:t})=>({marginTop:t.spacing(2)})),Re=i(f)(({theme:t})=>({display:"none",[t.breakpoints.down("sm")]:{display:"flex"}})),ke=i(f)(({theme:t})=>({display:"flex",marginRight:t.spacing(6.25),minWidth:173,alignItems:"flex-start",[t.breakpoints.down("sm")]:{display:"none"}})),jt=r.memo(function({isOpen:e,...o}){const s=r.useId();return n.jsxs("svg",{width:"72",height:"72",viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:e?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s ease"},...o,children:[n.jsx("circle",{opacity:e?"1":"0.2",cx:"36",cy:"36",r:"35",stroke:"white",fill:e?"white":"none",strokeWidth:"2"}),n.jsx("g",{clipPath:`url(#${s})`,children:n.jsx("path",{d:"M45 33.0022L42.885 30.8872L36 37.7572L29.115 30.8872L27 33.0022L36 42.0022L45 33.0022Z",fill:e?"#242129":"white"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:s,children:n.jsx("rect",{width:"36",height:"36",fill:"white",transform:"translate(54 18) rotate(90)"})})})]})}),Me=r.memo(function({dark:e,...o}){return n.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",xmlns:"http://www.w3.org/2000/svg",...o,children:n.jsx("path",{d:"M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM11 17H9V15H11V17ZM13.07 9.25L12.17 10.17C11.45 10.9 11 11.5 11 13H9V12.5C9 11.4 9.45 10.4 10.17 9.67L11.41 8.41C11.78 8.05 12 7.55 12 7C12 5.9 11.1 5 10 5C8.9 5 8 5.9 8 7H6C6 4.79 7.79 3 10 3C12.21 3 14 4.79 14 7C14 7.88 13.64 8.68 13.07 9.25Z",fill:e?"#161518":"#FCFCFC"})})}),Te=r.memo(function(e){return n.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className,children:[n.jsx("circle",{cx:"8",cy:"8.5",r:"8",fill:"#34CE76"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.913 5.04734C12.1879 5.31166 12.1965 5.7488 11.9322 6.0237L6.73377 11.43C6.42328 11.7529 5.90817 11.758 5.59142 11.4412L3.6267 9.47652C3.35704 9.20685 3.35704 8.76963 3.6267 8.49997C3.89637 8.2303 4.33359 8.2303 4.60326 8.49997L6.14897 10.0457L10.9367 5.06648C11.201 4.79158 11.6381 4.78301 11.913 5.04734Z",fill:"white"})]})}),_e=r.memo(function(e){return n.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className,children:[n.jsx("circle",{cx:"8",cy:"8.5",r:"8",fill:"#FF2D55"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.40745 5.995C7.40745 5.66789 7.67293 5.40242 8.00003 5.40242C8.32714 5.40242 8.59261 5.66789 8.59261 5.995V8.36531C8.59261 8.69242 8.32714 8.95789 8.00003 8.95789C7.67293 8.95789 7.40745 8.69242 7.40745 8.36531V5.995ZM7.40746 10.1431C7.40746 9.81595 7.67294 9.55047 8.00004 9.55047C8.32715 9.55047 8.59262 9.81595 8.59262 10.1431C8.59262 10.4702 8.32715 10.7356 8.00004 10.7356C7.67294 10.7356 7.40746 10.4702 7.40746 10.1431ZM13.2531 11.5374C13.1174 11.7774 12.8531 11.9208 12.5461 11.9208H3.45358C3.14662 11.9208 2.88233 11.7774 2.74722 11.5374C2.68323 11.4248 2.59908 11.1955 2.7573 10.9347L7.30297 3.39831C7.57971 2.93966 8.41999 2.93966 8.69672 3.39831L13.243 10.9347C13.4006 11.1955 13.3171 11.4248 13.2531 11.5374Z",fill:"white"})]})}),We=r.memo(function(e){return n.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className,children:[n.jsx("circle",{cx:"8",cy:"8.5",r:"8",fill:"#FEA217"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.40745 5.995C7.40745 5.66789 7.67293 5.40242 8.00003 5.40242C8.32714 5.40242 8.59261 5.66789 8.59261 5.995V8.36531C8.59261 8.69242 8.32714 8.95789 8.00003 8.95789C7.67293 8.95789 7.40745 8.69242 7.40745 8.36531V5.995ZM7.40746 10.1431C7.40746 9.81595 7.67294 9.55047 8.00004 9.55047C8.32715 9.55047 8.59262 9.81595 8.59262 10.1431C8.59262 10.4702 8.32715 10.7356 8.00004 10.7356C7.67294 10.7356 7.40746 10.4702 7.40746 10.1431ZM13.2531 11.5374C13.1174 11.7774 12.8531 11.9208 12.5461 11.9208H3.45358C3.14662 11.9208 2.88233 11.7774 2.74722 11.5374C2.68323 11.4248 2.59908 11.1955 2.7573 10.9347L7.30297 3.39831C7.57971 2.93966 8.41999 2.93966 8.69672 3.39831L13.243 10.9347C13.4006 11.1955 13.3171 11.4248 13.2531 11.5374Z",fill:"white"})]})}),$e=r.memo(function({dark:e,...o}){return n.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:n.jsx("path",{d:"M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM17.46 7.12L14.68 8.27C14.17 6.91 13.1 5.83 11.73 5.33L12.88 2.55C14.98 3.35 16.65 5.02 17.46 7.12ZM10 13C8.34 13 7 11.66 7 10C7 8.34 8.34 7 10 7C11.66 7 13 8.34 13 10C13 11.66 11.66 13 10 13ZM7.13 2.54L8.3 5.32C6.92 5.82 5.83 6.91 5.32 8.29L2.54 7.13C3.35 5.02 5.02 3.35 7.13 2.54ZM2.54 12.87L5.32 11.72C5.83 13.1 6.91 14.18 8.29 14.68L7.12 17.46C5.02 16.65 3.35 14.98 2.54 12.87ZM12.88 17.46L11.73 14.68C13.1 14.17 14.18 13.09 14.68 11.71L17.46 12.88C16.65 14.98 14.98 16.65 12.88 17.46Z",fill:e?"#161518":"#FCFCFC"})})}),$="component.landing.help.faq_section",Le=({isActive:t})=>{const{t:e}=tt(),[o,s]=r.useState(!1),c=r.useMemo(()=>{const l=Number(e(`${$}.item_count`));return Array.from({length:l},(p,d)=>({question:e(`${$}.item_${d}_question`),answer:e(`${$}.item_${d}_answer`)}))},[e]);return t?n.jsxs("div",{children:[n.jsxs(ft,{children:[n.jsx(xt,{children:e(`${$}.title`)}),n.jsxs(Ae,{children:[e(`${$}.paragraph`)," ",n.jsxs("a",{href:"https://docs.decentraland.org/faqs/decentraland-101",children:[e(`${$}.cta_link`),"."]})]})]}),n.jsx(St,{children:c.map((l,p)=>n.jsxs(Ct,{expanded:o===p,onChange:(d,g)=>s(g?p:!1),children:[n.jsxs(wt,{children:[n.jsx(yt,{children:l.question}),n.jsx(jt,{isOpen:o===p})]}),n.jsx(bt,{children:l.answer})]},p))})]}):null};var Z=(t=>(t.OK="ok",t.DOWN="down",t.SLOW="slow",t.UNKNOWN="unknown",t))(Z||{});const De=8e3,He=async t=>{const e=new AbortController,o=setTimeout(()=>e.abort(),De);try{return(await fetch(t,{signal:e.signal})).ok?{status:"ok"}:{status:"down"}}catch{return{status:"down"}}finally{clearTimeout(o)}},Pe=(t,e)=>{const o=Object.values(t);return o.every(s=>s==="ok")?{status:"ok",color:"green",text:e("component.landing.help.dropdown.status.all_operational")}:o.every(s=>s==="down")?{status:"down",color:"red",text:e("component.landing.help.dropdown.status.shutdown")}:{status:"slow",color:"orange",text:e("component.landing.help.dropdown.status.warning")}},lt=r.memo(function({status:e}){switch(e){case Z.OK:return n.jsx(Te,{});case Z.DOWN:return n.jsx(_e,{});case Z.SLOW:return n.jsx(We,{});default:return n.jsx("span",{children:"❔"})}}),dt=i(f)({display:"flex",alignItems:"center"}),Ne=i(f)({display:"flex",alignItems:"center",marginRight:8}),Fe=i(f)(({statusColor:t})=>({backgroundColor:t==="green"?"#34CE76":t==="orange"?"#FEA217":t==="red"?"#FF2D55":"#1f2937",color:"#fff",padding:"10px 16px",fontWeight:"bold",borderRadius:"4px 4px 0 0"})),ze=i(zt)({display:"flex",alignItems:"center",gap:8,pointerEvents:"none"}),Be=i(ut)(({theme:t})=>({color:t.palette.text.primary,textTransform:"none",fontSize:14,fontWeight:600})),Ue=i(D)({fontSize:14,marginLeft:8}),qe=i(f)({padding:"10px 16px",display:"flex",alignItems:"center",justifyContent:"flex-end","& a":{color:"#9ca3af",textDecoration:"none",fontSize:14,"&:hover":{textDecoration:"underline"}}}),vt=r.memo(function({serviceList:e}){const{t:o}=tt(),[s,c]=r.useState({}),[l,p]=r.useState(!0),[d,g]=r.useState(null),R=!!d;r.useEffect(()=>{let h=!1;return(async()=>{const v=await Promise.all(e.map(b=>He(b.url).then(C=>({name:b.name,status:C.status}))));if(!h){const b=v.reduce((C,{name:y,status:m})=>(C[y]=m,C),{});c(b),p(!1)}})(),()=>{h=!0}},[e]);const x=r.useMemo(()=>Pe(s,o),[s,o]);return l?n.jsx(dt,{children:n.jsx(Vt,{size:20})}):n.jsxs(dt,{children:[n.jsx(Ne,{children:n.jsx(lt,{status:x.status})}),n.jsx(Be,{onClick:h=>g(h.currentTarget),children:o("component.landing.help.dropdown.title")}),n.jsxs(Bt,{anchorEl:d,open:R,onClose:()=>g(null),slotProps:{paper:{sx:{backgroundColor:"#280d2be5",backgroundImage:"none",border:"1px solid #444444",mt:1}}},children:[n.jsx(Fe,{statusColor:x.color,children:x.text}),Object.entries(s).map(([h,S])=>n.jsxs(ze,{children:[n.jsx(lt,{status:S}),n.jsx(Ue,{children:h})]},h)),n.jsx(qe,{children:n.jsx("a",{href:"https://status.decentraland.org/",target:"_blank",rel:"noopener noreferrer",children:o("component.landing.help.dropdown.cta")})})]})]})});var O=(t=>(t.FAQ="faq",t.SUPPORT_UPDATES="support updates",t))(O||{});const Ve=({activeTab:t,setTab:e,serviceList:o})=>{const{t:s}=tt(),c=r.useCallback(l=>()=>{e(l)},[e]);return n.jsxs(be,{children:[n.jsxs(ye,{children:[n.jsxs(ve,{children:[n.jsx(Se,{variant:"h2",children:s("component.landing.help.center.title")}),n.jsx(Re,{children:n.jsx(vt,{serviceList:o})})]}),n.jsx(je,{children:s("component.landing.help.center.paragraph")})]}),n.jsxs(Ie,{children:[n.jsxs(ct,{active:t==="faq",onClick:c("faq"),children:[n.jsx(Me,{dark:t==="faq"}),s("component.landing.help.center.faq_button_label")]}),n.jsxs(ct,{active:t==="support updates",onClick:c("support updates"),children:[n.jsx($e,{dark:t==="support updates"}),s("component.landing.help.center.support_updates_button_label")]})]})]})},G="component.landing.help.support_updates_section",Ge=({isActive:t})=>{const{t:e}=tt(),[o,s]=r.useState(!1),c=r.useMemo(()=>{const l=Number(e(`${G}.item_count`));return Array.from({length:l},(p,d)=>({question:e(`${G}.item_${d}_question`),answer:e(`${G}.item_${d}_answer`)}))},[e]);return t?n.jsxs("div",{children:[n.jsx(ft,{children:n.jsx(xt,{children:e(`${G}.title`)})}),n.jsx(St,{children:c.map((l,p)=>n.jsxs(Ct,{expanded:o===p,onChange:(d,g)=>s(g?p:!1),children:[n.jsxs(wt,{children:[n.jsx(yt,{children:l.question}),n.jsx(jt,{isOpen:o===p})]}),n.jsx(bt,{children:l.answer})]},p))})]}):null},Ze="z0h94kay",Oe={alignment:"right"},pt=[{name:"Catalyst EC1",url:"https://peer-ec1.decentraland.org/about"},{name:"Catalyst Interconnected",url:"https://interconnected.online/about"},{name:"Catalyst Decentral",url:"https://peer.decentral.io/about"},{name:"Catalyst Melonwave",url:"https://peer.melonwave.com/about"},{name:"Catalyst Kyllian",url:"https://peer.kyllian.me/about"},{name:"Catalyst UADevops",url:"https://peer.uadevops.com/about"},{name:"Catalyst DCLNodes",url:"https://peer.dclnodes.io/about"},{name:"Catalyst AP1",url:"https://peer-ap1.decentraland.org/about"},{name:"Catalyst EU1",url:"https://peer-eu1.decentraland.org/about"},{name:"Marketplace",url:"https://marketplace-api.decentraland.org/ping"},{name:"Chat",url:"https://peer-wc1.decentraland.org/about"},{name:"Builder",url:"https://builder-api.decentraland.org/v1/info"},{name:"Places",url:"https://places.decentraland.org/api/status"},{name:"Events",url:"https://events.decentraland.org/api/status"}],cn=()=>{const[t,e]=r.useState(O.FAQ);return n.jsxs(n.Fragment,{children:[n.jsxs(we,{children:[n.jsx(Ve,{activeTab:t,setTab:e,serviceList:pt}),n.jsxs(Ee,{children:[n.jsx(Le,{isActive:t===O.FAQ}),n.jsx(Ge,{isActive:t===O.SUPPORT_UPDATES})]}),n.jsx(ke,{children:n.jsx(vt,{serviceList:pt})})]}),n.jsx(Ce,{appId:Ze,settings:Oe})]})};export{cn as HelpPage};
|
|
1
|
+
import{A as Q,C as K,D as X,T as Wt,aL as $t,_ as J,c as u,i as Lt,h as Dt,e as Ht,j as n,E as B,G as Y,s as i,l as it,aM as Pt,at as Nt,u as Ft,a as f,v as D,B as ut,x as tt}from"./index-Cjx-6-Fc.js";import{r}from"./vendor-router-D_36sTKu.js";import"./vendor-ua-D7qqAxdq.js";import{M as zt,a as Bt}from"./MenuItem-Clk60JBW.js";import{u as Ut}from"./useSlot-BHWpNc8A.js";import{P as qt}from"./Paper-ECb0Xsu2.js";import{C as Vt}from"./CircularProgress-Bi5r1ZmM.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-intl-D2lXWsDp.js";import"./Grow-DI7E9jMT.js";function Gt(t){return Q("MuiCollapse",t)}K("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Zt=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Ot=t=>{const{orientation:e,classes:o}=t,s={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return Y(s,Gt,o)},Qt=i("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[o.orientation],o.state==="entered"&&e.entered,o.state==="exited"&&!o.in&&o.collapsedSize==="0px"&&e.hidden]}})(({theme:t,ownerState:e})=>u({height:0,overflow:"hidden",transition:t.transitions.create("height")},e.orientation==="horizontal"&&{height:"auto",width:0,transition:t.transitions.create("width")},e.state==="entered"&&u({height:"auto",overflow:"visible"},e.orientation==="horizontal"&&{width:"auto"}),e.state==="exited"&&!e.in&&e.collapsedSize==="0px"&&{visibility:"hidden"})),Kt=i("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})(({ownerState:t})=>u({display:"flex",width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),Xt=i("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})(({ownerState:t})=>u({width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),gt=r.forwardRef(function(e,o){const s=X({props:e,name:"MuiCollapse"}),{addEndListener:c,children:l,className:p,collapsedSize:d="0px",component:g,easing:R,in:x,onEnter:h,onEntered:S,onEntering:v,onExit:b,onExited:C,onExiting:y,orientation:m="vertical",style:M,timeout:j=$t.standard,TransitionComponent:H=Wt}=s,et=J(s,Zt),T=u({},s,{orientation:m,collapsedSize:d}),I=Ot(T),P=Lt(),nt=Dt(),E=r.useRef(null),N=r.useRef(),_=typeof d=="number"?`${d}px`:d,k=m==="horizontal",F=k?"width":"height",U=r.useRef(null),It=Ht(o,U),W=a=>w=>{if(a){const A=U.current;w===void 0?a(A):a(A,w)}},ot=()=>E.current?E.current[k?"clientWidth":"clientHeight"]:0,Et=W((a,w)=>{E.current&&k&&(E.current.style.position="absolute"),a.style[F]=_,h&&h(a,w)}),At=W((a,w)=>{const A=ot();E.current&&k&&(E.current.style.position="");const{duration:z,easing:q}=it({style:M,timeout:j,easing:R},{mode:"enter"});if(j==="auto"){const rt=P.transitions.getAutoHeightDuration(A);a.style.transitionDuration=`${rt}ms`,N.current=rt}else a.style.transitionDuration=typeof z=="string"?z:`${z}ms`;a.style[F]=`${A}px`,a.style.transitionTimingFunction=q,v&&v(a,w)}),Rt=W((a,w)=>{a.style[F]="auto",S&&S(a,w)}),kt=W(a=>{a.style[F]=`${ot()}px`,b&&b(a)}),Mt=W(C),Tt=W(a=>{const w=ot(),{duration:A,easing:z}=it({style:M,timeout:j,easing:R},{mode:"exit"});if(j==="auto"){const q=P.transitions.getAutoHeightDuration(w);a.style.transitionDuration=`${q}ms`,N.current=q}else a.style.transitionDuration=typeof A=="string"?A:`${A}ms`;a.style[F]=_,a.style.transitionTimingFunction=z,y&&y(a)}),_t=a=>{j==="auto"&&nt.start(N.current||0,a),c&&c(U.current,a)};return n.jsx(H,u({in:x,onEnter:Et,onEntered:Rt,onEntering:At,onExit:kt,onExited:Mt,onExiting:Tt,addEndListener:_t,nodeRef:U,timeout:j==="auto"?null:j},et,{children:(a,w)=>n.jsx(Qt,u({as:g,className:B(I.root,p,{entered:I.entered,exited:!x&&_==="0px"&&I.hidden}[a]),style:u({[k?"minWidth":"minHeight"]:_},M),ref:It},w,{ownerState:u({},T,{state:a}),children:n.jsx(Kt,{ownerState:u({},T,{state:a}),className:I.wrapper,ref:E,children:n.jsx(Xt,{ownerState:u({},T,{state:a}),className:I.wrapperInner,children:l})})}))}))});gt.muiSupportAuto=!0;const ht=r.createContext({});function Jt(t){return Q("MuiAccordion",t)}const V=K("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),Yt=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],te=t=>{const{classes:e,square:o,expanded:s,disabled:c,disableGutters:l}=t;return Y({root:["root",!o&&"rounded",s&&"expanded",c&&"disabled",!l&&"gutters"],region:["region"]},Jt,e)},ee=i(qt,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[{[`& .${V.region}`]:e.region},e.root,!o.square&&e.rounded,!o.disableGutters&&e.gutters]}})(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{position:"relative",transition:t.transitions.create(["margin"],e),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(t.vars||t).palette.divider,transition:t.transitions.create(["opacity","background-color"],e)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${V.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${V.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}},({theme:t})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${V.expanded}`]:{margin:"16px 0"}}}]})),ne=r.forwardRef(function(e,o){const s=X({props:e,name:"MuiAccordion"}),{children:c,className:l,defaultExpanded:p=!1,disabled:d=!1,disableGutters:g=!1,expanded:R,onChange:x,square:h=!1,slots:S={},slotProps:v={},TransitionComponent:b,TransitionProps:C}=s,y=J(s,Yt),[m,M]=Pt({controlled:R,default:p,name:"Accordion",state:"expanded"}),j=r.useCallback(k=>{M(!m),x&&x(k,!m)},[m,x,M]),[H,...et]=r.Children.toArray(c),T=r.useMemo(()=>({expanded:m,disabled:d,disableGutters:g,toggle:j}),[m,d,g,j]),I=u({},s,{square:h,disabled:d,disableGutters:g,expanded:m}),P=te(I),nt=u({transition:b},S),E=u({transition:C},v),[N,_]=Ut("transition",{elementType:gt,externalForwardedProps:{slots:nt,slotProps:E},ownerState:I});return n.jsxs(ee,u({className:B(P.root,l),ref:o,ownerState:I,square:h},y,{children:[n.jsx(ht.Provider,{value:T,children:H}),n.jsx(N,u({in:m,timeout:"auto"},_,{children:n.jsx("div",{"aria-labelledby":H.props.id,id:H.props["aria-controls"],role:"region",className:P.region,children:et})}))]}))});function oe(t){return Q("MuiAccordionDetails",t)}K("MuiAccordionDetails",["root"]);const se=["className"],re=t=>{const{classes:e}=t;return Y({root:["root"]},oe,e)},ie=i("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({padding:t.spacing(1,2,2)})),ae=r.forwardRef(function(e,o){const s=X({props:e,name:"MuiAccordionDetails"}),{className:c}=s,l=J(s,se),p=s,d=re(p);return n.jsx(ie,u({className:B(d.root,c),ref:o,ownerState:p},l))});function ce(t){return Q("MuiAccordionSummary",t)}const L=K("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),le=["children","className","expandIcon","focusVisibleClassName","onClick"],de=t=>{const{classes:e,expanded:o,disabled:s,disableGutters:c}=t;return Y({root:["root",o&&"expanded",s&&"disabled",!c&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!c&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]},ce,e)},pe=i(Nt,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],e),[`&.${L.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${L.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${L.disabled})`]:{cursor:"pointer"},variants:[{props:o=>!o.disableGutters,style:{[`&.${L.expanded}`]:{minHeight:64}}}]}}),ue=i("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,e)=>e.content})(({theme:t})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),[`&.${L.expanded}`]:{margin:"20px 0"}}}]})),ge=i("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,e)=>e.expandIconWrapper})(({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${L.expanded}`]:{transform:"rotate(180deg)"}})),he=r.forwardRef(function(e,o){const s=X({props:e,name:"MuiAccordionSummary"}),{children:c,className:l,expandIcon:p,focusVisibleClassName:d,onClick:g}=s,R=J(s,le),{disabled:x=!1,disableGutters:h,expanded:S,toggle:v}=r.useContext(ht),b=m=>{v&&v(m),g&&g(m)},C=u({},s,{expanded:S,disabled:x,disableGutters:h}),y=de(C);return n.jsxs(pe,u({focusRipple:!1,disableRipple:!0,disabled:x,component:"div","aria-expanded":S,className:B(y.root,l),focusVisibleClassName:B(y.focusVisible,d),onClick:b,ref:o,ownerState:C},R,{children:[n.jsx(ue,{className:y.content,ownerState:C,children:c}),p&&n.jsx(ge,{className:y.expandIconWrapper,ownerState:C,children:p})]}))});function me({type:t="text/javascript",async:e=!0,...o}){const s=document.createElement("script");return Object.assign(s,{type:t,async:e,...o}),document.body.appendChild(s),s}function mt(){const t=typeof window<"u"?window:null;return t&&typeof t.Intercom=="function"}function at(t){return(...e)=>{if(!t){console.warn("Intercom app id empty. Check that the environment is properly set");return}if(!mt()){console.warn("Intercom called before injection");return}window.Intercom(...e)}}class st{constructor(){}static getInstance(){return this.instance||(this.instance=new st),this.instance}get appId(){return this._appId}set appId(e){this._appId=e}get settings(){return this._settings}set settings(e){if(this._settings=e,e&&typeof window<"u"){const o=window;o.intercomSettings=e}}init(e,o){this.appId=e,this.client=at(e),o&&(this.settings=o)}inject(){return new Promise((e,o)=>{if(mt())return e();const s=me({src:`https://widget.intercom.io/widget/${this._appId}`});s.addEventListener("load",()=>e(),!0),s.addEventListener("error",()=>o(new Error("Failed to load Intercom script")),!0)}).then(()=>{if(!this._appId)throw new Error("No AppId defined");this.client=at(this._appId)})}render(e={}){if(!this.client)throw new Error("Client not initialized");this.client("reattach_activator"),this.client("update",{...e,app_id:this._appId})}unmount(){if(!this.client)throw new Error("Client not initialized");this.client("shutdown")}}const fe={},xe={alignment:"right"},Ce=({appId:t,data:e=fe,settings:o=xe})=>{const s=r.useMemo(()=>st.getInstance(),[]),{address:c}=Ft();return r.useEffect(()=>{s.appId||s.init(t,o);const l={...e,...c?{Wallet:c}:{}};return(async()=>{try{await s.inject(),s.render(l)}catch(d){const g=d instanceof Error?d.message:"Unknown error";console.error("Could not render intercom",g)}})(),()=>{try{s.unmount()}catch{}}},[t,e,c,o,s]),r.useEffect(()=>{s.settings=o},[o,s]),null},we=i(f)(({theme:t})=>({display:"flex",justifyContent:"space-between",alignItems:"flex-start",position:"relative",minHeight:"100vh",padding:t.spacing(15,2.5,2.5),[t.breakpoints.down("sm")]:{flexDirection:"column",alignItems:"center",padding:t.spacing(10,0,0)}})),be=i(f)(({theme:t})=>({flex:"0 1 300px",marginLeft:t.spacing(6),[t.breakpoints.down("md")]:{marginLeft:t.spacing(5)},[t.breakpoints.down("sm")]:{flex:"0 1 auto",marginLeft:0,width:"100%",padding:`0 ${t.spacing(2)}`}})),ye=i(f)(({theme:t})=>({gap:t.spacing(1),[t.breakpoints.down("sm")]:{maxWidth:380}})),Se=i(D)(({theme:t})=>({fontSize:30,fontWeight:600,lineHeight:"36px",[t.breakpoints.down("sm")]:{fontSize:24,lineHeight:"29px"}})),je=i(D)(({theme:t})=>({fontSize:14,fontWeight:500,lineHeight:"24px",color:"rgba(252, 252, 252, 0.8)",[t.breakpoints.down("sm")]:{fontSize:12,lineHeight:"18px"}})),ve=i(f)(({theme:t})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"baseline",[t.breakpoints.down("sm")]:{"& > h2":{width:200}}})),Ie=i(f)(({theme:t})=>({padding:`${t.spacing(1.5)} ${t.spacing(2)} ${t.spacing(1.5)} 0`,[t.breakpoints.down("sm")]:{display:"flex",flexDirection:"row"}})),ct=i(ut)(({theme:t,active:e})=>({display:"flex",justifyContent:"center",alignItems:"center",gap:t.spacing(1),height:40,borderRadius:8,background:e?"#ffffff":"transparent",backgroundImage:"none",color:e?"#161518":"#cfcdd4",textTransform:"none",fontSize:14,fontWeight:600,lineHeight:"17px",paddingLeft:t.spacing(2),paddingRight:t.spacing(2),marginBottom:t.spacing(1),"&:hover":{background:e?"#ffffff":"rgba(255, 255, 255, 0.1)",backgroundImage:"none"},"& svg":{height:20,width:20}})),Ee=i(f)(({theme:t})=>({flex:1,marginTop:t.spacing(2.25),marginLeft:t.spacing(10),[t.breakpoints.down("sm")]:{marginTop:0,marginLeft:0,maxWidth:375,width:"100%"}})),ft=i(f)(({theme:t})=>({gap:t.spacing(1)})),xt=i(D)(({theme:t})=>({fontSize:22,fontWeight:600,lineHeight:"27px",[t.breakpoints.down("sm")]:{fontSize:20,lineHeight:"24px"}})),Ae=i(D)({fontSize:14,fontWeight:500,lineHeight:"24px",color:"rgba(252, 252, 252, 0.8)","& a":{color:"inherit",textDecoration:"underline"}}),Ct=i(ne)(({theme:t})=>({marginBottom:t.spacing(1),minWidth:661,maxWidth:661,minHeight:64,background:"#331636",backgroundImage:"none",borderRadius:"27px !important",padding:`${t.spacing(1.5)} ${t.spacing(2)}`,boxShadow:"none",cursor:"pointer",transition:"background 0.2s ease","&:hover":{background:"#3d1a41",backgroundImage:"none"},"&:before":{display:"none"},"&.Mui-expanded":{margin:`0 0 ${t.spacing(1)} 0`,minHeight:"unset",background:"#3d1a41",backgroundImage:"none"},[t.breakpoints.down("sm")]:{minWidth:"unset",maxWidth:"100%",width:"100%"}})),wt=i(he)({"& .MuiAccordionSummary-content":{margin:0,alignItems:"center",justifyContent:"space-between"},"& .MuiAccordionSummary-expandIconWrapper":{display:"none"},"&:hover":{backgroundColor:"transparent"},minHeight:40,padding:0,"&.Mui-expanded":{minHeight:40},"& svg":{height:40,minHeight:40,width:40,minWidth:40,flexShrink:0}}),bt=i(ae)(({theme:t})=>({padding:`${t.spacing(1)} 0 0 ${t.spacing(3)}`,whiteSpace:"pre-line","& p":{fontSize:14,lineHeight:"22px",color:"rgba(252, 252, 252, 0.8)"},"& a":{color:"#FCFCFC",textDecoration:"underline"}})),yt=i(D)({fontSize:16,fontWeight:300,lineHeight:"24px",marginLeft:24}),St=i(f)(({theme:t})=>({marginTop:t.spacing(2)})),Re=i(f)(({theme:t})=>({display:"none",[t.breakpoints.down("sm")]:{display:"flex"}})),ke=i(f)(({theme:t})=>({display:"flex",marginRight:t.spacing(6.25),minWidth:173,alignItems:"flex-start",[t.breakpoints.down("sm")]:{display:"none"}})),jt=r.memo(function({isOpen:e,...o}){const s=r.useId();return n.jsxs("svg",{width:"72",height:"72",viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:e?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s ease"},...o,children:[n.jsx("circle",{opacity:e?"1":"0.2",cx:"36",cy:"36",r:"35",stroke:"white",fill:e?"white":"none",strokeWidth:"2"}),n.jsx("g",{clipPath:`url(#${s})`,children:n.jsx("path",{d:"M45 33.0022L42.885 30.8872L36 37.7572L29.115 30.8872L27 33.0022L36 42.0022L45 33.0022Z",fill:e?"#242129":"white"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:s,children:n.jsx("rect",{width:"36",height:"36",fill:"white",transform:"translate(54 18) rotate(90)"})})})]})}),Me=r.memo(function({dark:e,...o}){return n.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",xmlns:"http://www.w3.org/2000/svg",...o,children:n.jsx("path",{d:"M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM11 17H9V15H11V17ZM13.07 9.25L12.17 10.17C11.45 10.9 11 11.5 11 13H9V12.5C9 11.4 9.45 10.4 10.17 9.67L11.41 8.41C11.78 8.05 12 7.55 12 7C12 5.9 11.1 5 10 5C8.9 5 8 5.9 8 7H6C6 4.79 7.79 3 10 3C12.21 3 14 4.79 14 7C14 7.88 13.64 8.68 13.07 9.25Z",fill:e?"#161518":"#FCFCFC"})})}),Te=r.memo(function(e){return n.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className,children:[n.jsx("circle",{cx:"8",cy:"8.5",r:"8",fill:"#34CE76"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.913 5.04734C12.1879 5.31166 12.1965 5.7488 11.9322 6.0237L6.73377 11.43C6.42328 11.7529 5.90817 11.758 5.59142 11.4412L3.6267 9.47652C3.35704 9.20685 3.35704 8.76963 3.6267 8.49997C3.89637 8.2303 4.33359 8.2303 4.60326 8.49997L6.14897 10.0457L10.9367 5.06648C11.201 4.79158 11.6381 4.78301 11.913 5.04734Z",fill:"white"})]})}),_e=r.memo(function(e){return n.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className,children:[n.jsx("circle",{cx:"8",cy:"8.5",r:"8",fill:"#FF2D55"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.40745 5.995C7.40745 5.66789 7.67293 5.40242 8.00003 5.40242C8.32714 5.40242 8.59261 5.66789 8.59261 5.995V8.36531C8.59261 8.69242 8.32714 8.95789 8.00003 8.95789C7.67293 8.95789 7.40745 8.69242 7.40745 8.36531V5.995ZM7.40746 10.1431C7.40746 9.81595 7.67294 9.55047 8.00004 9.55047C8.32715 9.55047 8.59262 9.81595 8.59262 10.1431C8.59262 10.4702 8.32715 10.7356 8.00004 10.7356C7.67294 10.7356 7.40746 10.4702 7.40746 10.1431ZM13.2531 11.5374C13.1174 11.7774 12.8531 11.9208 12.5461 11.9208H3.45358C3.14662 11.9208 2.88233 11.7774 2.74722 11.5374C2.68323 11.4248 2.59908 11.1955 2.7573 10.9347L7.30297 3.39831C7.57971 2.93966 8.41999 2.93966 8.69672 3.39831L13.243 10.9347C13.4006 11.1955 13.3171 11.4248 13.2531 11.5374Z",fill:"white"})]})}),We=r.memo(function(e){return n.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className,children:[n.jsx("circle",{cx:"8",cy:"8.5",r:"8",fill:"#FEA217"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.40745 5.995C7.40745 5.66789 7.67293 5.40242 8.00003 5.40242C8.32714 5.40242 8.59261 5.66789 8.59261 5.995V8.36531C8.59261 8.69242 8.32714 8.95789 8.00003 8.95789C7.67293 8.95789 7.40745 8.69242 7.40745 8.36531V5.995ZM7.40746 10.1431C7.40746 9.81595 7.67294 9.55047 8.00004 9.55047C8.32715 9.55047 8.59262 9.81595 8.59262 10.1431C8.59262 10.4702 8.32715 10.7356 8.00004 10.7356C7.67294 10.7356 7.40746 10.4702 7.40746 10.1431ZM13.2531 11.5374C13.1174 11.7774 12.8531 11.9208 12.5461 11.9208H3.45358C3.14662 11.9208 2.88233 11.7774 2.74722 11.5374C2.68323 11.4248 2.59908 11.1955 2.7573 10.9347L7.30297 3.39831C7.57971 2.93966 8.41999 2.93966 8.69672 3.39831L13.243 10.9347C13.4006 11.1955 13.3171 11.4248 13.2531 11.5374Z",fill:"white"})]})}),$e=r.memo(function({dark:e,...o}){return n.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:n.jsx("path",{d:"M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM17.46 7.12L14.68 8.27C14.17 6.91 13.1 5.83 11.73 5.33L12.88 2.55C14.98 3.35 16.65 5.02 17.46 7.12ZM10 13C8.34 13 7 11.66 7 10C7 8.34 8.34 7 10 7C11.66 7 13 8.34 13 10C13 11.66 11.66 13 10 13ZM7.13 2.54L8.3 5.32C6.92 5.82 5.83 6.91 5.32 8.29L2.54 7.13C3.35 5.02 5.02 3.35 7.13 2.54ZM2.54 12.87L5.32 11.72C5.83 13.1 6.91 14.18 8.29 14.68L7.12 17.46C5.02 16.65 3.35 14.98 2.54 12.87ZM12.88 17.46L11.73 14.68C13.1 14.17 14.18 13.09 14.68 11.71L17.46 12.88C16.65 14.98 14.98 16.65 12.88 17.46Z",fill:e?"#161518":"#FCFCFC"})})}),$="component.landing.help.faq_section",Le=({isActive:t})=>{const{t:e}=tt(),[o,s]=r.useState(!1),c=r.useMemo(()=>{const l=Number(e(`${$}.item_count`));return Array.from({length:l},(p,d)=>({question:e(`${$}.item_${d}_question`),answer:e(`${$}.item_${d}_answer`)}))},[e]);return t?n.jsxs("div",{children:[n.jsxs(ft,{children:[n.jsx(xt,{children:e(`${$}.title`)}),n.jsxs(Ae,{children:[e(`${$}.paragraph`)," ",n.jsxs("a",{href:"https://docs.decentraland.org/faqs/decentraland-101",children:[e(`${$}.cta_link`),"."]})]})]}),n.jsx(St,{children:c.map((l,p)=>n.jsxs(Ct,{expanded:o===p,onChange:(d,g)=>s(g?p:!1),children:[n.jsxs(wt,{children:[n.jsx(yt,{children:l.question}),n.jsx(jt,{isOpen:o===p})]}),n.jsx(bt,{children:l.answer})]},p))})]}):null};var Z=(t=>(t.OK="ok",t.DOWN="down",t.SLOW="slow",t.UNKNOWN="unknown",t))(Z||{});const De=8e3,He=async t=>{const e=new AbortController,o=setTimeout(()=>e.abort(),De);try{return(await fetch(t,{signal:e.signal})).ok?{status:"ok"}:{status:"down"}}catch{return{status:"down"}}finally{clearTimeout(o)}},Pe=(t,e)=>{const o=Object.values(t);return o.every(s=>s==="ok")?{status:"ok",color:"green",text:e("component.landing.help.dropdown.status.all_operational")}:o.every(s=>s==="down")?{status:"down",color:"red",text:e("component.landing.help.dropdown.status.shutdown")}:{status:"slow",color:"orange",text:e("component.landing.help.dropdown.status.warning")}},lt=r.memo(function({status:e}){switch(e){case Z.OK:return n.jsx(Te,{});case Z.DOWN:return n.jsx(_e,{});case Z.SLOW:return n.jsx(We,{});default:return n.jsx("span",{children:"❔"})}}),dt=i(f)({display:"flex",alignItems:"center"}),Ne=i(f)({display:"flex",alignItems:"center",marginRight:8}),Fe=i(f)(({statusColor:t})=>({backgroundColor:t==="green"?"#34CE76":t==="orange"?"#FEA217":t==="red"?"#FF2D55":"#1f2937",color:"#fff",padding:"10px 16px",fontWeight:"bold",borderRadius:"4px 4px 0 0"})),ze=i(zt)({display:"flex",alignItems:"center",gap:8,pointerEvents:"none"}),Be=i(ut)(({theme:t})=>({color:t.palette.text.primary,textTransform:"none",fontSize:14,fontWeight:600})),Ue=i(D)({fontSize:14,marginLeft:8}),qe=i(f)({padding:"10px 16px",display:"flex",alignItems:"center",justifyContent:"flex-end","& a":{color:"#9ca3af",textDecoration:"none",fontSize:14,"&:hover":{textDecoration:"underline"}}}),vt=r.memo(function({serviceList:e}){const{t:o}=tt(),[s,c]=r.useState({}),[l,p]=r.useState(!0),[d,g]=r.useState(null),R=!!d;r.useEffect(()=>{let h=!1;return(async()=>{const v=await Promise.all(e.map(b=>He(b.url).then(C=>({name:b.name,status:C.status}))));if(!h){const b=v.reduce((C,{name:y,status:m})=>(C[y]=m,C),{});c(b),p(!1)}})(),()=>{h=!0}},[e]);const x=r.useMemo(()=>Pe(s,o),[s,o]);return l?n.jsx(dt,{children:n.jsx(Vt,{size:20})}):n.jsxs(dt,{children:[n.jsx(Ne,{children:n.jsx(lt,{status:x.status})}),n.jsx(Be,{onClick:h=>g(h.currentTarget),children:o("component.landing.help.dropdown.title")}),n.jsxs(Bt,{anchorEl:d,open:R,onClose:()=>g(null),slotProps:{paper:{sx:{backgroundColor:"#280d2be5",backgroundImage:"none",border:"1px solid #444444",mt:1}}},children:[n.jsx(Fe,{statusColor:x.color,children:x.text}),Object.entries(s).map(([h,S])=>n.jsxs(ze,{children:[n.jsx(lt,{status:S}),n.jsx(Ue,{children:h})]},h)),n.jsx(qe,{children:n.jsx("a",{href:"https://status.decentraland.org/",target:"_blank",rel:"noopener noreferrer",children:o("component.landing.help.dropdown.cta")})})]})]})});var O=(t=>(t.FAQ="faq",t.SUPPORT_UPDATES="support updates",t))(O||{});const Ve=({activeTab:t,setTab:e,serviceList:o})=>{const{t:s}=tt(),c=r.useCallback(l=>()=>{e(l)},[e]);return n.jsxs(be,{children:[n.jsxs(ye,{children:[n.jsxs(ve,{children:[n.jsx(Se,{variant:"h2",children:s("component.landing.help.center.title")}),n.jsx(Re,{children:n.jsx(vt,{serviceList:o})})]}),n.jsx(je,{children:s("component.landing.help.center.paragraph")})]}),n.jsxs(Ie,{children:[n.jsxs(ct,{active:t==="faq",onClick:c("faq"),children:[n.jsx(Me,{dark:t==="faq"}),s("component.landing.help.center.faq_button_label")]}),n.jsxs(ct,{active:t==="support updates",onClick:c("support updates"),children:[n.jsx($e,{dark:t==="support updates"}),s("component.landing.help.center.support_updates_button_label")]})]})]})},G="component.landing.help.support_updates_section",Ge=({isActive:t})=>{const{t:e}=tt(),[o,s]=r.useState(!1),c=r.useMemo(()=>{const l=Number(e(`${G}.item_count`));return Array.from({length:l},(p,d)=>({question:e(`${G}.item_${d}_question`),answer:e(`${G}.item_${d}_answer`)}))},[e]);return t?n.jsxs("div",{children:[n.jsx(ft,{children:n.jsx(xt,{children:e(`${G}.title`)})}),n.jsx(St,{children:c.map((l,p)=>n.jsxs(Ct,{expanded:o===p,onChange:(d,g)=>s(g?p:!1),children:[n.jsxs(wt,{children:[n.jsx(yt,{children:l.question}),n.jsx(jt,{isOpen:o===p})]}),n.jsx(bt,{children:l.answer})]},p))})]}):null},Ze="z0h94kay",Oe={alignment:"right"},pt=[{name:"Catalyst EC1",url:"https://peer-ec1.decentraland.org/about"},{name:"Catalyst Interconnected",url:"https://interconnected.online/about"},{name:"Catalyst Decentral",url:"https://peer.decentral.io/about"},{name:"Catalyst Melonwave",url:"https://peer.melonwave.com/about"},{name:"Catalyst Kyllian",url:"https://peer.kyllian.me/about"},{name:"Catalyst UADevops",url:"https://peer.uadevops.com/about"},{name:"Catalyst DCLNodes",url:"https://peer.dclnodes.io/about"},{name:"Catalyst AP1",url:"https://peer-ap1.decentraland.org/about"},{name:"Catalyst EU1",url:"https://peer-eu1.decentraland.org/about"},{name:"Marketplace",url:"https://marketplace-api.decentraland.org/ping"},{name:"Chat",url:"https://peer-wc1.decentraland.org/about"},{name:"Builder",url:"https://builder-api.decentraland.org/v1/info"},{name:"Places",url:"https://places.decentraland.org/api/status"},{name:"Events",url:"https://events.decentraland.org/api/status"}],cn=()=>{const[t,e]=r.useState(O.FAQ);return n.jsxs(n.Fragment,{children:[n.jsxs(we,{children:[n.jsx(Ve,{activeTab:t,setTab:e,serviceList:pt}),n.jsxs(Ee,{children:[n.jsx(Le,{isActive:t===O.FAQ}),n.jsx(Ge,{isActive:t===O.SUPPORT_UPDATES})]}),n.jsx(ke,{children:n.jsx(vt,{serviceList:pt})})]}),n.jsx(Ce,{appId:Ze,settings:Oe})]})};export{cn as HelpPage};
|