@dcl/landing-site 0.0.1-23657442558.commit-435eab3 → 0.0.1-23658354807.commit-e695ac8
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-CYvnFuAP.js → AnimatedBackground-BH_AjnqQ.js} +2 -2
- package/assets/AnimatedBackground-BH_AjnqQ.js.map +1 -0
- package/assets/{CardMedia-Dn_1yf5f.js → CardMedia-CNDmKGwk.js} +1 -1
- package/assets/CardMedia-CNDmKGwk.js.map +1 -0
- package/assets/{FooterLanding-BYCeCiBr.js → FooterLanding-DYzI4pPY.js} +1 -1
- package/assets/FooterLanding-DYzI4pPY.js.map +1 -0
- package/assets/{LegalPageLayout-CA-MOUlJ.js → LegalPageLayout-Bmx2f7dQ.js} +1 -1
- package/assets/LegalPageLayout-Bmx2f7dQ.js.map +1 -0
- package/assets/{SignInRedirect-R0xh4Nh4.js → SignInRedirect-DFPVUUVg.js} +1 -1
- package/assets/SignInRedirect-DFPVUUVg.js.map +1 -0
- package/assets/{WearablePreview-BYZPTifP.js → WearablePreview-COzbSxYN.js} +1 -1
- package/assets/WearablePreview-COzbSxYN.js.map +1 -0
- package/assets/{add-DPiWnk4o.js → add-BczYlCv5.js} +1 -1
- package/assets/add-BczYlCv5.js.map +1 -0
- package/assets/{all-wallets-jWLRFgg8.js → all-wallets-WtFue3fI.js} +1 -1
- package/assets/all-wallets-WtFue3fI.js.map +1 -0
- package/assets/{app-store-IOQywyCL.js → app-store-BxZb_1M8.js} +1 -1
- package/assets/app-store-BxZb_1M8.js.map +1 -0
- package/assets/{apple-68JoH_5c.js → apple-CjT7RbME.js} +1 -1
- package/assets/apple-CjT7RbME.js.map +1 -0
- package/assets/{arrow-bottom-lG7X122r.js → arrow-bottom-4FmcypJQ.js} +1 -1
- package/assets/arrow-bottom-4FmcypJQ.js.map +1 -0
- package/assets/{arrow-bottom-circle-CRMqfqUN.js → arrow-bottom-circle-CXsF2I3S.js} +1 -1
- package/assets/arrow-bottom-circle-CXsF2I3S.js.map +1 -0
- package/assets/{arrow-left-Bv2jgvLH.js → arrow-left-BImXYn6U.js} +1 -1
- package/assets/arrow-left-BImXYn6U.js.map +1 -0
- package/assets/{arrow-right-CMrpY6jW.js → arrow-right-CHJc4WzS.js} +1 -1
- package/assets/arrow-right-CHJc4WzS.js.map +1 -0
- package/assets/{arrow-top-Cdg0S7uW.js → arrow-top-DovjH58u.js} +1 -1
- package/assets/arrow-top-DovjH58u.js.map +1 -0
- package/assets/{auto-track-D3wrsf3a.js → auto-track-LCtrzvEp.js} +1 -1
- package/assets/auto-track-LCtrzvEp.js.map +1 -0
- package/assets/{autoplay-DsVOy--c.js → autoplay-qioRTSgW.js} +1 -1
- package/assets/autoplay-qioRTSgW.js.map +1 -0
- package/assets/{bank-Y4ICxerj.js → bank-r0C0_RGk.js} +1 -1
- package/assets/bank-r0C0_RGk.js.map +1 -0
- package/assets/{basic-D7Il4b80.js → basic-DoZtdADf.js} +1 -1
- package/assets/basic-DoZtdADf.js.map +1 -0
- package/assets/{browser-DfLTrsKv.js → browser-CLFSxwU_.js} +1 -1
- package/assets/browser-CLFSxwU_.js.map +1 -0
- package/assets/{card-DRPjP4fT.js → card-gjAbVNVg.js} +1 -1
- package/assets/card-gjAbVNVg.js.map +1 -0
- package/assets/{ccip-BOoASBdu.js → ccip-Cs2-8_ok.js} +1 -1
- package/assets/ccip-Cs2-8_ok.js.map +1 -0
- package/assets/{checkmark-Cea2zEWd.js → checkmark-CgyA8OA7.js} +1 -1
- package/assets/checkmark-CgyA8OA7.js.map +1 -0
- package/assets/{checkmark-bold-d4-Fj-F3.js → checkmark-bold-CDzonXTF.js} +1 -1
- package/assets/checkmark-bold-CDzonXTF.js.map +1 -0
- package/assets/{chevron-bottom-DavJZ7N3.js → chevron-bottom-C5LFXYR3.js} +1 -1
- package/assets/chevron-bottom-C5LFXYR3.js.map +1 -0
- package/assets/{chevron-left-C_Hw8fus.js → chevron-left-Dl_DSL09.js} +1 -1
- package/assets/chevron-left-Dl_DSL09.js.map +1 -0
- package/assets/{chevron-right-DcNepqA3.js → chevron-right-B2iMupDM.js} +1 -1
- package/assets/chevron-right-B2iMupDM.js.map +1 -0
- package/assets/{chevron-top-DOnnhp0P.js → chevron-top-BRQrglLx.js} +1 -1
- package/assets/chevron-top-BRQrglLx.js.map +1 -0
- package/assets/{chrome-store-CgR-qlQ5.js → chrome-store-j0QHcvz5.js} +1 -1
- package/assets/chrome-store-j0QHcvz5.js.map +1 -0
- package/assets/{clock-Bo7xT59c.js → clock-DnqFpliA.js} +1 -1
- package/assets/clock-DnqFpliA.js.map +1 -0
- package/assets/{close-Bas20n3k.js → close-BW8HM0vc.js} +1 -1
- package/assets/close-BW8HM0vc.js.map +1 -0
- package/assets/{coinPlaceholder-zXo1UIaw.js → coinPlaceholder-D3Q_2Vnz.js} +1 -1
- package/assets/coinPlaceholder-D3Q_2Vnz.js.map +1 -0
- package/assets/{compass-YAtYlALr.js → compass-DQtQh5Fd.js} +1 -1
- package/assets/compass-DQtQh5Fd.js.map +1 -0
- package/assets/{copy-D5ojeU-9.js → copy-BqPAHBIq.js} +1 -1
- package/assets/copy-BqPAHBIq.js.map +1 -0
- package/assets/{core-CyswnR2y.js → core-DoE4v7_w.js} +5 -5
- package/assets/core-DoE4v7_w.js.map +1 -0
- package/assets/cursor-D7QROIqC.js +3 -0
- package/assets/cursor-D7QROIqC.js.map +1 -0
- package/assets/{cursor-transparent-BgE7Rtpz.js → cursor-transparent-I9qD1HcU.js} +1 -1
- package/assets/cursor-transparent-I9qD1HcU.js.map +1 -0
- package/assets/{desktop-BdAB2EC0.js → desktop-D06CYck7.js} +1 -1
- package/assets/desktop-D06CYck7.js.map +1 -0
- package/assets/{disconnect-DXF_VljU.js → disconnect-DuECek4L.js} +1 -1
- package/assets/disconnect-DuECek4L.js.map +1 -0
- package/assets/{discord-bfDqUOWC.js → discord-BXYIhoDM.js} +1 -1
- package/assets/discord-BXYIhoDM.js.map +1 -0
- package/assets/download-CLQcQusq.js +2 -0
- package/assets/download-CLQcQusq.js.map +1 -0
- package/assets/{download.types-DICgyaKG.js → download.types-DXNjUuQp.js} +1 -1
- package/assets/download.types-DXNjUuQp.js.map +1 -0
- package/assets/{etherscan-DQkLvBIy.js → etherscan-D8j2p5tH.js} +1 -1
- package/assets/etherscan-D8j2p5tH.js.map +1 -0
- package/assets/{exclamation-triangle-CUMF0W5Y.js → exclamation-triangle-BDd_YSmu.js} +1 -1
- package/assets/exclamation-triangle-BDd_YSmu.js.map +1 -0
- package/assets/{extension-DQP1ckZy.js → extension-cnEqQ1yY.js} +1 -1
- package/assets/extension-cnEqQ1yY.js.map +1 -0
- package/assets/{external-link-9Le-TzHn.js → external-link-CmFlcl7Y.js} +1 -1
- package/assets/external-link-CmFlcl7Y.js.map +1 -0
- package/assets/{facebook-CllxzjfU.js → facebook-BGz9ceDp.js} +1 -1
- package/assets/facebook-BGz9ceDp.js.map +1 -0
- package/assets/{farcaster-BFxjUxiI.js → farcaster-D4EbInUC.js} +1 -1
- package/assets/farcaster-D4EbInUC.js.map +1 -0
- package/assets/{filters-igKN7pRm.js → filters-U9zWe-dv.js} +1 -1
- package/assets/filters-U9zWe-dv.js.map +1 -0
- package/assets/{github-BuzRyr81.js → github-BwnJ4_Tw.js} +1 -1
- package/assets/github-BwnJ4_Tw.js.map +1 -0
- package/assets/{google-D536_SRJ.js → google-DFdfOlYV.js} +1 -1
- package/assets/google-DFdfOlYV.js.map +1 -0
- package/assets/{help-circle-BYUMAxgX.js → help-circle-ClDPGCNM.js} +1 -1
- package/assets/help-circle-ClDPGCNM.js.map +1 -0
- package/assets/hooks.module-Dz_XB4AG.js.map +1 -0
- package/assets/{id-IyoUNIG7.js → id-CVEEV5P3.js} +1 -1
- package/assets/id-CVEEV5P3.js.map +1 -0
- package/assets/{image-BMkCNBpN.js → image-B4kHWRvO.js} +1 -1
- package/assets/image-B4kHWRvO.js.map +1 -0
- package/assets/{index-DBS_df1P.js → index-BIiKvkqH.js} +2 -2
- package/assets/index-BIiKvkqH.js.map +1 -0
- package/assets/{index-DCm0cpWE.js → index-BSKH1f4F.js} +1 -1
- package/assets/index-BSKH1f4F.js.map +1 -0
- package/assets/{index-Csgvx0UQ.js → index-BwFdAxy9.js} +1 -1
- package/assets/index-BwFdAxy9.js.map +1 -0
- package/assets/{index-BgkGtQBL.js → index-C58cz8c7.js} +1 -1
- package/assets/index-C58cz8c7.js.map +1 -0
- package/assets/{index-BNs2v-1T.js → index-C8fM_5WQ.js} +1 -1
- package/assets/index-C8fM_5WQ.js.map +1 -0
- package/assets/{index-DZ4bDhA1.js → index-CCv7WeLP.js} +1 -1
- package/assets/index-CCv7WeLP.js.map +1 -0
- package/assets/{index-r18qw1mp.js → index-CEajtogo.js} +1 -1
- package/assets/index-CEajtogo.js.map +1 -0
- package/assets/{index-CwvhC3XY.js → index-CGCvheGi.js} +79 -79
- package/assets/index-CGCvheGi.js.map +1 -0
- package/assets/{index-BO3bzd2h.js → index-CP1V7_io.js} +1 -1
- package/assets/index-CP1V7_io.js.map +1 -0
- package/assets/{index-CSC9n2fJ.js → index-CkUgOBuZ.js} +2 -2
- package/assets/index-CkUgOBuZ.js.map +1 -0
- package/assets/{index-NgLnxYpy.js → index-Co5o4kNC.js} +2 -2
- package/assets/index-Co5o4kNC.js.map +1 -0
- package/assets/{index-BBPEbFlT.js → index-CvF9Rb56.js} +1 -1
- package/assets/index-CvF9Rb56.js.map +1 -0
- package/assets/{index-Bt2jXIjs.js → index-D6KjV6p4.js} +3 -3
- package/assets/index-D6KjV6p4.js.map +1 -0
- package/assets/index-D6ZMQedT.js.map +1 -0
- package/assets/{index-qaZMEqIj.js → index-D6_yiqF_.js} +3 -3
- package/assets/index-D6_yiqF_.js.map +1 -0
- package/assets/{index-DxORPjmW.js → index-DB4KxUK8.js} +1 -1
- package/assets/index-DB4KxUK8.js.map +1 -0
- package/assets/{index-D5mTl1Im.js → index-DLbfpB_l.js} +3 -3
- package/assets/index-DLbfpB_l.js.map +1 -0
- package/assets/{index-DrPYvtVf.js → index-DTEP60Z7.js} +1 -1
- package/assets/index-DTEP60Z7.js.map +1 -0
- package/assets/{index-CgaXTTOj.js → index-DiFn-Ues.js} +1 -1
- package/assets/index-DiFn-Ues.js.map +1 -0
- package/assets/{index-DoaGZy-D.js → index-DkC82Qq3.js} +1 -1
- package/assets/index-DkC82Qq3.js.map +1 -0
- package/assets/{index-DKN-aGC2.js → index-DoJrsvqV.js} +1 -1
- package/assets/index-DoJrsvqV.js.map +1 -0
- package/assets/index-Dr1-NFn7.js +1 -0
- package/assets/index-Dr1-NFn7.js.map +1 -0
- package/assets/{index-Bg_-jAf-.js → index-DrYqW_mc.js} +1 -1
- package/assets/index-DrYqW_mc.js.map +1 -0
- package/assets/{index-D7FErWQ6.js → index-Kl9lqIhB.js} +1 -1
- package/assets/index-Kl9lqIhB.js.map +1 -0
- package/assets/{index-BvPrP_kb.js → index-Pv7TzXSf.js} +1 -1
- package/assets/index-Pv7TzXSf.js.map +1 -0
- package/assets/{index-DsLpfqLF.js → index-cY16fPJ9.js} +1 -1
- package/assets/index-cY16fPJ9.js.map +1 -0
- package/assets/{index-2KYjUKrx.js → index-jmVkAn3V.js} +3 -3
- package/assets/index-jmVkAn3V.js.map +1 -0
- package/assets/{index-C_XR-pxH.js → index-jopxsqnB.js} +1 -1
- package/assets/index-jopxsqnB.js.map +1 -0
- package/assets/index-nibyPLVP.js.map +1 -0
- package/assets/index-wKfm7r6L.js +1 -0
- package/assets/index-wKfm7r6L.js.map +1 -0
- package/assets/{index.es-BlIlqooP.js → index.es-D_KVLw0o.js} +5 -5
- package/assets/index.es-D_KVLw0o.js.map +1 -0
- package/assets/{index.umd-C_QfsPJN.js → index.umd-CSluEYtT.js} +1 -1
- package/assets/index.umd-CSluEYtT.js.map +1 -0
- package/assets/{info-B9rpc1DX.js → info-D5-ExUNI.js} +1 -1
- package/assets/info-D5-ExUNI.js.map +1 -0
- package/assets/{info-circle-B44e-8gn.js → info-circle-C2XtIwRV.js} +1 -1
- package/assets/info-circle-C2XtIwRV.js.map +1 -0
- package/assets/inherits_browser-BlmhoU4v.js.map +1 -0
- package/assets/is-plan-event-enabled-DeNtQvA5.js.map +1 -0
- package/assets/{lightbulb-D7MIqKO0.js → lightbulb-EP-k9p0L.js} +1 -1
- package/assets/lightbulb-EP-k9p0L.js.map +1 -0
- package/assets/{mail-CskB2lNI.js → mail-CYWDw7sT.js} +1 -1
- package/assets/mail-CYWDw7sT.js.map +1 -0
- package/assets/{mobile-w7zP0tUZ.js → mobile-LnBG5WdG.js} +1 -1
- package/assets/mobile-LnBG5WdG.js.map +1 -0
- package/assets/{more-FviZA2zP.js → more-CUlRnsdE.js} +1 -1
- package/assets/more-CUlRnsdE.js.map +1 -0
- package/assets/{network-placeholder-CRkXjm2P.js → network-placeholder-DEFOwyXG.js} +1 -1
- package/assets/network-placeholder-DEFOwyXG.js.map +1 -0
- package/assets/{nftPlaceholder-CeAsWrId.js → nftPlaceholder-y8-2SfHh.js} +1 -1
- package/assets/nftPlaceholder-y8-2SfHh.js.map +1 -0
- package/assets/{node-CYxnN2Po.js → node-BquF0ZoL.js} +1 -1
- package/assets/node-BquF0ZoL.js.map +1 -0
- package/assets/{off-B7qKsRMs.js → off-Bmg2DJVN.js} +1 -1
- package/assets/off-Bmg2DJVN.js.map +1 -0
- package/assets/{play-store-DTGpFHme.js → play-store-BgYnKJZm.js} +1 -1
- package/assets/play-store-BgYnKJZm.js.map +1 -0
- package/assets/{plus-DEPzfy_x.js → plus-Bj7Zr4nz.js} +1 -1
- package/assets/plus-Bj7Zr4nz.js.map +1 -0
- package/assets/{qr-code-CB1fNk6g.js → qr-code-Dje5z7AJ.js} +1 -1
- package/assets/qr-code-Dje5z7AJ.js.map +1 -0
- package/assets/{recycle-horizontal-Czs62o1V.js → recycle-horizontal-L5-CFvVu.js} +1 -1
- package/assets/recycle-horizontal-L5-CFvVu.js.map +1 -0
- package/assets/{refresh-DP9sjRF6.js → refresh-B5s1b5Xw.js} +1 -1
- package/assets/refresh-B5s1b5Xw.js.map +1 -0
- package/assets/{reown-logo-Ba08IonY.js → reown-logo-CLdobzFm.js} +1 -1
- package/assets/reown-logo-CLdobzFm.js.map +1 -0
- package/assets/{search-DaZwjNzO.js → search-Bqfcdrxi.js} +1 -1
- package/assets/search-Bqfcdrxi.js.map +1 -0
- package/assets/{secp256k1-DBlGGLNL.js → secp256k1-C5qQ4FUv.js} +1 -1
- package/assets/secp256k1-C5qQ4FUv.js.map +1 -0
- package/assets/{secp256k1-_3IuN8n8.js → secp256k1-D6M1nsfk.js} +1 -1
- package/assets/secp256k1-D6M1nsfk.js.map +1 -0
- package/assets/{send-dd2TUNiX.js → send-DrmO9HIL.js} +1 -1
- package/assets/send-DrmO9HIL.js.map +1 -0
- package/assets/{swapHorizontal-DjuTXSNd.js → swapHorizontal-DSVKSSNs.js} +1 -1
- package/assets/swapHorizontal-DSVKSSNs.js.map +1 -0
- package/assets/{swapHorizontalBold-OeM0eWy3.js → swapHorizontalBold-ozFPFMxq.js} +1 -1
- package/assets/swapHorizontalBold-ozFPFMxq.js.map +1 -0
- package/assets/{swapHorizontalMedium-Dn43Ura8.js → swapHorizontalMedium-2AClXKVW.js} +1 -1
- package/assets/swapHorizontalMedium-2AClXKVW.js.map +1 -0
- package/assets/{swapHorizontalRoundedBold-ClMJXV_7.js → swapHorizontalRoundedBold-Dw--6duE.js} +1 -1
- package/assets/swapHorizontalRoundedBold-Dw--6duE.js.map +1 -0
- package/assets/{swapVertical-C1CBQj4F.js → swapVertical-CxFnK1UF.js} +1 -1
- package/assets/swapVertical-CxFnK1UF.js.map +1 -0
- package/assets/{swiper-react-DkRXQeaP.js → swiper-react-CrLD22Xk.js} +1 -1
- package/assets/swiper-react-CrLD22Xk.js.map +1 -0
- package/assets/{telegram-CUHvVcqJ.js → telegram-BmVZEQYk.js} +1 -1
- package/assets/telegram-BmVZEQYk.js.map +1 -0
- package/assets/{three-dots-B--1f-aJ.js → three-dots-BK6yc88b.js} +1 -1
- package/assets/three-dots-BK6yc88b.js.map +1 -0
- package/assets/{twitch-D5UR3bH_.js → twitch-CvA0WDHq.js} +1 -1
- package/assets/twitch-CvA0WDHq.js.map +1 -0
- package/assets/{twitterIcon-C4FaCE6I.js → twitterIcon-DYKNw1tz.js} +1 -1
- package/assets/twitterIcon-DYKNw1tz.js.map +1 -0
- package/assets/{useFormatMessage-BnXnxCX5.js → useFormatMessage-BfWgOhEa.js} +1 -1
- package/assets/useFormatMessage-BfWgOhEa.js.map +1 -0
- package/assets/{verify-CX6NFSd9.js → verify-eu0Y2qM8.js} +1 -1
- package/assets/verify-eu0Y2qM8.js.map +1 -0
- package/assets/{verify-filled-DZnZym2w.js → verify-filled-C_stgx5w.js} +1 -1
- package/assets/verify-filled-C_stgx5w.js.map +1 -0
- package/assets/{w3m-modal-C_X8MD6y.js → w3m-modal-CH0h68TV.js} +1 -1
- package/assets/w3m-modal-CH0h68TV.js.map +1 -0
- package/assets/{wallet-DQY7-bL-.js → wallet-Dx1z19Ro.js} +1 -1
- package/assets/wallet-Dx1z19Ro.js.map +1 -0
- package/assets/{wallet-placeholder-DFLdbuyq.js → wallet-placeholder-C4ASa1lL.js} +1 -1
- package/assets/wallet-placeholder-C4ASa1lL.js.map +1 -0
- package/assets/{walletconnect-CxDEJ_ge.js → walletconnect-b3lQy-21.js} +1 -1
- package/assets/walletconnect-b3lQy-21.js.map +1 -0
- package/assets/{warning-circle-CBjKcSTH.js → warning-circle-Byr0mazD.js} +1 -1
- package/assets/warning-circle-Byr0mazD.js.map +1 -0
- package/assets/{x-DlAP6FIW.js → x-BT7bQigU.js} +1 -1
- package/assets/x-BT7bQigU.js.map +1 -0
- package/index.html +4 -2
- package/landing_hero.webp +0 -0
- package/package.json +3 -3
- package/robots.txt +4 -0
- package/assets/cursor-Cxl4NS77.js +0 -3
- package/assets/download-B2bN5wzk.js +0 -2
- package/assets/index-D-85M8Ik.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BIiKvkqH.js","sources":["../../node_modules/@mui/system/esm/colorManipulator.js","../../node_modules/@mui/material/styles/cssUtils.js","../../node_modules/@mui/material/internal/svg-icons/Cancel.js","../../node_modules/@mui/material/Chip/chipClasses.js","../../node_modules/@mui/material/Chip/Chip.js","../../node_modules/@mui/material/CardActionArea/cardActionAreaClasses.js","../../node_modules/@mui/material/CardActionArea/CardActionArea.js","../../node_modules/@mui/material/Skeleton/skeletonClasses.js","../../node_modules/@mui/material/Skeleton/Skeleton.js","../../node_modules/decentraland-ui2/dist/components/Icon/LocationIcon.js","../../node_modules/decentraland-ui2/dist/components/EventCard/EventCard.styled.js","../../node_modules/decentraland-ui2/dist/components/EventCard/EventCard.js","../../node_modules/@mui/icons-material/PermIdentityRounded.js","../../node_modules/@mui/icons-material/SensorsRounded.js","../../node_modules/decentraland-ui2/dist/components/Badges/Badges.styled.js","../../node_modules/decentraland-ui2/dist/components/Badges/Badges.js","../../src/features/events/events.types.ts","../../src/features/events/events.helpers.ts","../../src/components/Home/WhatsOn/WhatsOnCard.tsx","../../src/components/Home/WhatsOn/WhatsOn.styled.ts","../../src/components/Home/WhatsOn/WhatsOn.tsx"],"sourcesContent":["import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/* eslint-disable @typescript-eslint/naming-convention */\nimport clamp from '@mui/utils/clamp';\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return clamp(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nexport function hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : _formatMuiErrorMessage(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : _formatMuiErrorMessage(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nexport const colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexport const private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexport function recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.indexOf('color') !== -1) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nexport function rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nexport function getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nexport function getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nexport function private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nexport function private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nexport function blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}","export function isUnitless(value) {\n return String(parseFloat(value)).length === String(value).length;\n}\n\n// Ported from Compass\n// https://github.com/Compass/compass/blob/master/core/stylesheets/compass/typography/_units.scss\n// Emulate the sass function \"unit\"\nexport function getUnit(input) {\n return String(input).match(/[\\d.\\-+]*\\s*(.*)/)[1] || '';\n}\n\n// Emulate the sass function \"unitless\"\nexport function toUnitless(length) {\n return parseFloat(length);\n}\n\n// Convert any CSS <length> or <percentage> value to any another.\n// From https://github.com/KyleAMathews/convert-css-length\nexport function convertLength(baseFontSize) {\n return (length, toUnit) => {\n const fromUnit = getUnit(length);\n\n // Optimize for cases where `from` and `to` units are accidentally the same.\n if (fromUnit === toUnit) {\n return length;\n }\n\n // Convert input length to pixels.\n let pxLength = toUnitless(length);\n if (fromUnit !== 'px') {\n if (fromUnit === 'em') {\n pxLength = toUnitless(length) * toUnitless(baseFontSize);\n } else if (fromUnit === 'rem') {\n pxLength = toUnitless(length) * toUnitless(baseFontSize);\n }\n }\n\n // Convert length in pixels to the output unit\n let outputLength = pxLength;\n if (toUnit !== 'px') {\n if (toUnit === 'em') {\n outputLength = pxLength / toUnitless(baseFontSize);\n } else if (toUnit === 'rem') {\n outputLength = pxLength / toUnitless(baseFontSize);\n } else {\n return length;\n }\n }\n return parseFloat(outputLength.toFixed(5)) + toUnit;\n };\n}\nexport function alignProperty({\n size,\n grid\n}) {\n const sizeBelow = size - size % grid;\n const sizeAbove = sizeBelow + grid;\n return size - sizeBelow < sizeAbove - size ? sizeBelow : sizeAbove;\n}\n\n// fontGrid finds a minimal grid (in rem) for the fontSize values so that the\n// lineHeight falls under a x pixels grid, 4px in the case of Material Design,\n// without changing the relative line height\nexport function fontGrid({\n lineHeight,\n pixels,\n htmlFontSize\n}) {\n return pixels / (lineHeight * htmlFontSize);\n}\n\n/**\n * generate a responsive version of a given CSS property\n * @example\n * responsiveProperty({\n * cssProperty: 'fontSize',\n * min: 15,\n * max: 20,\n * unit: 'px',\n * breakpoints: [300, 600],\n * })\n *\n * // this returns\n *\n * {\n * fontSize: '15px',\n * '@media (min-width:300px)': {\n * fontSize: '17.5px',\n * },\n * '@media (min-width:600px)': {\n * fontSize: '20px',\n * },\n * }\n * @param {Object} params\n * @param {string} params.cssProperty - The CSS property to be made responsive\n * @param {number} params.min - The smallest value of the CSS property\n * @param {number} params.max - The largest value of the CSS property\n * @param {string} [params.unit] - The unit to be used for the CSS property\n * @param {Array.number} [params.breakpoints] - An array of breakpoints\n * @param {number} [params.alignStep] - Round scaled value to fall under this grid\n * @returns {Object} responsive styles for {params.cssProperty}\n */\nexport function responsiveProperty({\n cssProperty,\n min,\n max,\n unit = 'rem',\n breakpoints = [600, 900, 1200],\n transform = null\n}) {\n const output = {\n [cssProperty]: `${min}${unit}`\n };\n const factor = (max - min) / breakpoints[breakpoints.length - 1];\n breakpoints.forEach(breakpoint => {\n let value = min + factor * breakpoint;\n if (transform !== null) {\n value = transform(value);\n }\n output[`@media (min-width:${breakpoint}px)`] = {\n [cssProperty]: `${Math.round(value * 10000) / 10000}${unit}`\n };\n });\n return output;\n}","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\"\n}), 'Cancel');","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getChipUtilityClass(slot) {\n return generateUtilityClass('MuiChip', slot);\n}\nconst chipClasses = generateUtilityClasses('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);\nexport default chipClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"avatar\", \"className\", \"clickable\", \"color\", \"component\", \"deleteIcon\", \"disabled\", \"icon\", \"label\", \"onClick\", \"onDelete\", \"onKeyDown\", \"onKeyUp\", \"size\", \"variant\", \"tabIndex\", \"skipFocusWhenDisabled\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport CancelIcon from '../internal/svg-icons/Cancel';\nimport useForkRef from '../utils/useForkRef';\nimport unsupportedProp from '../utils/unsupportedProp';\nimport capitalize from '../utils/capitalize';\nimport ButtonBase from '../ButtonBase';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport styled from '../styles/styled';\nimport chipClasses, { getChipUtilityClass } from './chipClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n size,\n color,\n iconColor,\n onDelete,\n clickable,\n variant\n } = ownerState;\n const slots = {\n root: ['root', variant, disabled && 'disabled', `size${capitalize(size)}`, `color${capitalize(color)}`, clickable && 'clickable', clickable && `clickableColor${capitalize(color)}`, onDelete && 'deletable', onDelete && `deletableColor${capitalize(color)}`, `${variant}${capitalize(color)}`],\n label: ['label', `label${capitalize(size)}`],\n avatar: ['avatar', `avatar${capitalize(size)}`, `avatarColor${capitalize(color)}`],\n icon: ['icon', `icon${capitalize(size)}`, `iconColor${capitalize(iconColor)}`],\n deleteIcon: ['deleteIcon', `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color)}`]\n };\n return composeClasses(slots, getChipUtilityClass, classes);\n};\nconst ChipRoot = styled('div', {\n name: 'MuiChip',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n const {\n color,\n iconColor,\n clickable,\n onDelete,\n size,\n variant\n } = ownerState;\n return [{\n [`& .${chipClasses.avatar}`]: styles.avatar\n }, {\n [`& .${chipClasses.avatar}`]: styles[`avatar${capitalize(size)}`]\n }, {\n [`& .${chipClasses.avatar}`]: styles[`avatarColor${capitalize(color)}`]\n }, {\n [`& .${chipClasses.icon}`]: styles.icon\n }, {\n [`& .${chipClasses.icon}`]: styles[`icon${capitalize(size)}`]\n }, {\n [`& .${chipClasses.icon}`]: styles[`iconColor${capitalize(iconColor)}`]\n }, {\n [`& .${chipClasses.deleteIcon}`]: styles.deleteIcon\n }, {\n [`& .${chipClasses.deleteIcon}`]: styles[`deleteIcon${capitalize(size)}`]\n }, {\n [`& .${chipClasses.deleteIcon}`]: styles[`deleteIconColor${capitalize(color)}`]\n }, {\n [`& .${chipClasses.deleteIcon}`]: styles[`deleteIcon${capitalize(variant)}Color${capitalize(color)}`]\n }, styles.root, styles[`size${capitalize(size)}`], styles[`color${capitalize(color)}`], clickable && styles.clickable, clickable && color !== 'default' && styles[`clickableColor${capitalize(color)})`], onDelete && styles.deletable, onDelete && color !== 'default' && styles[`deletableColor${capitalize(color)}`], styles[variant], styles[`${variant}${capitalize(color)}`]];\n }\n})(({\n theme,\n ownerState\n}) => {\n const textColor = theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300];\n return _extends({\n maxWidth: '100%',\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(13),\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: 32,\n color: (theme.vars || theme).palette.text.primary,\n backgroundColor: (theme.vars || theme).palette.action.selected,\n borderRadius: 32 / 2,\n whiteSpace: 'nowrap',\n transition: theme.transitions.create(['background-color', 'box-shadow']),\n // reset cursor explicitly in case ButtonBase is used\n cursor: 'unset',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n textDecoration: 'none',\n border: 0,\n // Remove `button` border\n padding: 0,\n // Remove `button` padding\n verticalAlign: 'middle',\n boxSizing: 'border-box',\n [`&.${chipClasses.disabled}`]: {\n opacity: (theme.vars || theme).palette.action.disabledOpacity,\n pointerEvents: 'none'\n },\n [`& .${chipClasses.avatar}`]: {\n marginLeft: 5,\n marginRight: -6,\n width: 24,\n height: 24,\n color: theme.vars ? theme.vars.palette.Chip.defaultAvatarColor : textColor,\n fontSize: theme.typography.pxToRem(12)\n },\n [`& .${chipClasses.avatarColorPrimary}`]: {\n color: (theme.vars || theme).palette.primary.contrastText,\n backgroundColor: (theme.vars || theme).palette.primary.dark\n },\n [`& .${chipClasses.avatarColorSecondary}`]: {\n color: (theme.vars || theme).palette.secondary.contrastText,\n backgroundColor: (theme.vars || theme).palette.secondary.dark\n },\n [`& .${chipClasses.avatarSmall}`]: {\n marginLeft: 4,\n marginRight: -4,\n width: 18,\n height: 18,\n fontSize: theme.typography.pxToRem(10)\n },\n [`& .${chipClasses.icon}`]: _extends({\n marginLeft: 5,\n marginRight: -6\n }, ownerState.size === 'small' && {\n fontSize: 18,\n marginLeft: 4,\n marginRight: -4\n }, ownerState.iconColor === ownerState.color && _extends({\n color: theme.vars ? theme.vars.palette.Chip.defaultIconColor : textColor\n }, ownerState.color !== 'default' && {\n color: 'inherit'\n })),\n [`& .${chipClasses.deleteIcon}`]: _extends({\n WebkitTapHighlightColor: 'transparent',\n color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : alpha(theme.palette.text.primary, 0.26),\n fontSize: 22,\n cursor: 'pointer',\n margin: '0 5px 0 -6px',\n '&:hover': {\n color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(theme.palette.text.primary, 0.4)\n }\n }, ownerState.size === 'small' && {\n fontSize: 16,\n marginRight: 4,\n marginLeft: -4\n }, ownerState.color !== 'default' && {\n color: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].contrastTextChannel} / 0.7)` : alpha(theme.palette[ownerState.color].contrastText, 0.7),\n '&:hover, &:active': {\n color: (theme.vars || theme).palette[ownerState.color].contrastText\n }\n })\n }, ownerState.size === 'small' && {\n height: 24\n }, ownerState.color !== 'default' && {\n backgroundColor: (theme.vars || theme).palette[ownerState.color].main,\n color: (theme.vars || theme).palette[ownerState.color].contrastText\n }, ownerState.onDelete && {\n [`&.${chipClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n }\n }, ownerState.onDelete && ownerState.color !== 'default' && {\n [`&.${chipClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette[ownerState.color].dark\n }\n });\n}, ({\n theme,\n ownerState\n}) => _extends({}, ownerState.clickable && {\n userSelect: 'none',\n WebkitTapHighlightColor: 'transparent',\n cursor: 'pointer',\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)\n },\n [`&.${chipClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n },\n '&:active': {\n boxShadow: (theme.vars || theme).shadows[1]\n }\n}, ownerState.clickable && ownerState.color !== 'default' && {\n [`&:hover, &.${chipClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette[ownerState.color].dark\n }\n}), ({\n theme,\n ownerState\n}) => _extends({}, ownerState.variant === 'outlined' && {\n backgroundColor: 'transparent',\n border: theme.vars ? `1px solid ${theme.vars.palette.Chip.defaultBorder}` : `1px solid ${theme.palette.mode === 'light' ? theme.palette.grey[400] : theme.palette.grey[700]}`,\n [`&.${chipClasses.clickable}:hover`]: {\n backgroundColor: (theme.vars || theme).palette.action.hover\n },\n [`&.${chipClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette.action.focus\n },\n [`& .${chipClasses.avatar}`]: {\n marginLeft: 4\n },\n [`& .${chipClasses.avatarSmall}`]: {\n marginLeft: 2\n },\n [`& .${chipClasses.icon}`]: {\n marginLeft: 4\n },\n [`& .${chipClasses.iconSmall}`]: {\n marginLeft: 2\n },\n [`& .${chipClasses.deleteIcon}`]: {\n marginRight: 5\n },\n [`& .${chipClasses.deleteIconSmall}`]: {\n marginRight: 3\n }\n}, ownerState.variant === 'outlined' && ownerState.color !== 'default' && {\n color: (theme.vars || theme).palette[ownerState.color].main,\n border: `1px solid ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.7)` : alpha(theme.palette[ownerState.color].main, 0.7)}`,\n [`&.${chipClasses.clickable}:hover`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity)\n },\n [`&.${chipClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.focusOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.focusOpacity)\n },\n [`& .${chipClasses.deleteIcon}`]: {\n color: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.7)` : alpha(theme.palette[ownerState.color].main, 0.7),\n '&:hover, &:active': {\n color: (theme.vars || theme).palette[ownerState.color].main\n }\n }\n}));\nconst ChipLabel = styled('span', {\n name: 'MuiChip',\n slot: 'Label',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n const {\n size\n } = ownerState;\n return [styles.label, styles[`label${capitalize(size)}`]];\n }\n})(({\n ownerState\n}) => _extends({\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n paddingLeft: 12,\n paddingRight: 12,\n whiteSpace: 'nowrap'\n}, ownerState.variant === 'outlined' && {\n paddingLeft: 11,\n paddingRight: 11\n}, ownerState.size === 'small' && {\n paddingLeft: 8,\n paddingRight: 8\n}, ownerState.size === 'small' && ownerState.variant === 'outlined' && {\n paddingLeft: 7,\n paddingRight: 7\n}));\nfunction isDeleteKeyboardEvent(keyboardEvent) {\n return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';\n}\n\n/**\n * Chips represent complex entities in small blocks, such as a contact.\n */\nconst Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiChip'\n });\n const {\n avatar: avatarProp,\n className,\n clickable: clickableProp,\n color = 'default',\n component: ComponentProp,\n deleteIcon: deleteIconProp,\n disabled = false,\n icon: iconProp,\n label,\n onClick,\n onDelete,\n onKeyDown,\n onKeyUp,\n size = 'medium',\n variant = 'filled',\n tabIndex,\n skipFocusWhenDisabled = false // TODO v6: Rename to `focusableWhenDisabled`.\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const chipRef = React.useRef(null);\n const handleRef = useForkRef(chipRef, ref);\n const handleDeleteIconClick = event => {\n // Stop the event from bubbling up to the `Chip`\n event.stopPropagation();\n if (onDelete) {\n onDelete(event);\n }\n };\n const handleKeyDown = event => {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target && isDeleteKeyboardEvent(event)) {\n // Will be handled in keyUp, otherwise some browsers\n // might init navigation\n event.preventDefault();\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n const handleKeyUp = event => {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target) {\n if (onDelete && isDeleteKeyboardEvent(event)) {\n onDelete(event);\n } else if (event.key === 'Escape' && chipRef.current) {\n chipRef.current.blur();\n }\n }\n if (onKeyUp) {\n onKeyUp(event);\n }\n };\n const clickable = clickableProp !== false && onClick ? true : clickableProp;\n const component = clickable || onDelete ? ButtonBase : ComponentProp || 'div';\n const ownerState = _extends({}, props, {\n component,\n disabled,\n size,\n color,\n iconColor: /*#__PURE__*/React.isValidElement(iconProp) ? iconProp.props.color || color : color,\n onDelete: !!onDelete,\n clickable,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const moreProps = component === ButtonBase ? _extends({\n component: ComponentProp || 'div',\n focusVisibleClassName: classes.focusVisible\n }, onDelete && {\n disableRipple: true\n }) : {};\n let deleteIcon = null;\n if (onDelete) {\n deleteIcon = deleteIconProp && /*#__PURE__*/React.isValidElement(deleteIconProp) ? ( /*#__PURE__*/React.cloneElement(deleteIconProp, {\n className: clsx(deleteIconProp.props.className, classes.deleteIcon),\n onClick: handleDeleteIconClick\n })) : /*#__PURE__*/_jsx(CancelIcon, {\n className: clsx(classes.deleteIcon),\n onClick: handleDeleteIconClick\n });\n }\n let avatar = null;\n if (avatarProp && /*#__PURE__*/React.isValidElement(avatarProp)) {\n avatar = /*#__PURE__*/React.cloneElement(avatarProp, {\n className: clsx(classes.avatar, avatarProp.props.className)\n });\n }\n let icon = null;\n if (iconProp && /*#__PURE__*/React.isValidElement(iconProp)) {\n icon = /*#__PURE__*/React.cloneElement(iconProp, {\n className: clsx(classes.icon, iconProp.props.className)\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n if (avatar && icon) {\n console.error('MUI: The Chip component can not handle the avatar ' + 'and the icon prop at the same time. Pick one.');\n }\n }\n return /*#__PURE__*/_jsxs(ChipRoot, _extends({\n as: component,\n className: clsx(classes.root, className),\n disabled: clickable && disabled ? true : undefined,\n onClick: onClick,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n ref: handleRef,\n tabIndex: skipFocusWhenDisabled && disabled ? -1 : tabIndex,\n ownerState: ownerState\n }, moreProps, other, {\n children: [avatar || icon, /*#__PURE__*/_jsx(ChipLabel, {\n className: clsx(classes.label),\n ownerState: ownerState,\n children: label\n }), deleteIcon]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Chip.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The Avatar element to display.\n */\n avatar: PropTypes.element,\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the chip will appear clickable, and will raise when pressed,\n * even if the onClick prop is not defined.\n * If `false`, the chip will not appear clickable, even if onClick prop is defined.\n * This can be used, for example,\n * along with the component prop to indicate an anchor Chip is clickable.\n * Note: this controls the UI and does not affect the onClick event.\n */\n clickable: PropTypes.bool,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'default'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Override the default delete icon element. Shown only if `onDelete` is set.\n */\n deleteIcon: PropTypes.element,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * Icon element.\n */\n icon: PropTypes.element,\n /**\n * The content of the component.\n */\n label: PropTypes.node,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * Callback fired when the delete icon is clicked.\n * If set, the delete icon will be shown.\n */\n onDelete: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * If `true`, allows the disabled chip to escape focus.\n * If `false`, allows the disabled chip to receive focus.\n * @default false\n */\n skipFocusWhenDisabled: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @ignore\n */\n tabIndex: PropTypes.number,\n /**\n * The variant to use.\n * @default 'filled'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined']), PropTypes.string])\n} : void 0;\nexport default Chip;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getCardActionAreaUtilityClass(slot) {\n return generateUtilityClass('MuiCardActionArea', slot);\n}\nconst cardActionAreaClasses = generateUtilityClasses('MuiCardActionArea', ['root', 'focusVisible', 'focusHighlight']);\nexport default cardActionAreaClasses;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"children\", \"className\", \"focusVisibleClassName\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport styled from '../styles/styled';\nimport cardActionAreaClasses, { getCardActionAreaUtilityClass } from './cardActionAreaClasses';\nimport ButtonBase from '../ButtonBase';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n focusHighlight: ['focusHighlight']\n };\n return composeClasses(slots, getCardActionAreaUtilityClass, classes);\n};\nconst CardActionAreaRoot = styled(ButtonBase, {\n name: 'MuiCardActionArea',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})(({\n theme\n}) => ({\n display: 'block',\n textAlign: 'inherit',\n borderRadius: 'inherit',\n // for Safari to work https://github.com/mui/material-ui/issues/36285.\n width: '100%',\n [`&:hover .${cardActionAreaClasses.focusHighlight}`]: {\n opacity: (theme.vars || theme).palette.action.hoverOpacity,\n '@media (hover: none)': {\n opacity: 0\n }\n },\n [`&.${cardActionAreaClasses.focusVisible} .${cardActionAreaClasses.focusHighlight}`]: {\n opacity: (theme.vars || theme).palette.action.focusOpacity\n }\n}));\nconst CardActionAreaFocusHighlight = styled('span', {\n name: 'MuiCardActionArea',\n slot: 'FocusHighlight',\n overridesResolver: (props, styles) => styles.focusHighlight\n})(({\n theme\n}) => ({\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit',\n opacity: 0,\n backgroundColor: 'currentcolor',\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.short\n })\n}));\nconst CardActionArea = /*#__PURE__*/React.forwardRef(function CardActionArea(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiCardActionArea'\n });\n const {\n children,\n className,\n focusVisibleClassName\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(CardActionAreaRoot, _extends({\n className: clsx(classes.root, className),\n focusVisibleClassName: clsx(focusVisibleClassName, classes.focusVisible),\n ref: ref,\n ownerState: ownerState\n }, other, {\n children: [children, /*#__PURE__*/_jsx(CardActionAreaFocusHighlight, {\n className: classes.focusHighlight,\n ownerState: ownerState\n })]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? CardActionArea.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default CardActionArea;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSkeletonUtilityClass(slot) {\n return generateUtilityClass('MuiSkeleton', slot);\n}\nconst skeletonClasses = generateUtilityClasses('MuiSkeleton', ['root', 'text', 'rectangular', 'rounded', 'circular', 'pulse', 'wave', 'withChildren', 'fitContent', 'heightAuto']);\nexport default skeletonClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"animation\", \"className\", \"component\", \"height\", \"style\", \"variant\", \"width\"];\nlet _ = t => t,\n _t,\n _t2,\n _t3,\n _t4;\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { keyframes, css } from '@mui/system';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha, unstable_getUnit as getUnit, unstable_toUnitless as toUnitless } from '../styles';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport { getSkeletonUtilityClass } from './skeletonClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n animation,\n hasChildren,\n width,\n height\n } = ownerState;\n const slots = {\n root: ['root', variant, animation, hasChildren && 'withChildren', hasChildren && !width && 'fitContent', hasChildren && !height && 'heightAuto']\n };\n return composeClasses(slots, getSkeletonUtilityClass, classes);\n};\nconst pulseKeyframe = keyframes(_t || (_t = _`\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.4;\n }\n\n 100% {\n opacity: 1;\n }\n`));\nconst waveKeyframe = keyframes(_t2 || (_t2 = _`\n 0% {\n transform: translateX(-100%);\n }\n\n 50% {\n /* +0.5s of delay between each loop */\n transform: translateX(100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n`));\nconst SkeletonRoot = styled('span', {\n name: 'MuiSkeleton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], ownerState.animation !== false && styles[ownerState.animation], ownerState.hasChildren && styles.withChildren, ownerState.hasChildren && !ownerState.width && styles.fitContent, ownerState.hasChildren && !ownerState.height && styles.heightAuto];\n }\n})(({\n theme,\n ownerState\n}) => {\n const radiusUnit = getUnit(theme.shape.borderRadius) || 'px';\n const radiusValue = toUnitless(theme.shape.borderRadius);\n return _extends({\n display: 'block',\n // Create a \"on paper\" color with sufficient contrast retaining the color\n backgroundColor: theme.vars ? theme.vars.palette.Skeleton.bg : alpha(theme.palette.text.primary, theme.palette.mode === 'light' ? 0.11 : 0.13),\n height: '1.2em'\n }, ownerState.variant === 'text' && {\n marginTop: 0,\n marginBottom: 0,\n height: 'auto',\n transformOrigin: '0 55%',\n transform: 'scale(1, 0.60)',\n borderRadius: `${radiusValue}${radiusUnit}/${Math.round(radiusValue / 0.6 * 10) / 10}${radiusUnit}`,\n '&:empty:before': {\n content: '\"\\\\00a0\"'\n }\n }, ownerState.variant === 'circular' && {\n borderRadius: '50%'\n }, ownerState.variant === 'rounded' && {\n borderRadius: (theme.vars || theme).shape.borderRadius\n }, ownerState.hasChildren && {\n '& > *': {\n visibility: 'hidden'\n }\n }, ownerState.hasChildren && !ownerState.width && {\n maxWidth: 'fit-content'\n }, ownerState.hasChildren && !ownerState.height && {\n height: 'auto'\n });\n}, ({\n ownerState\n}) => ownerState.animation === 'pulse' && css(_t3 || (_t3 = _`\n animation: ${0} 2s ease-in-out 0.5s infinite;\n `), pulseKeyframe), ({\n ownerState,\n theme\n}) => ownerState.animation === 'wave' && css(_t4 || (_t4 = _`\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: ${0} 2s linear 0.5s infinite;\n background: linear-gradient(\n 90deg,\n transparent,\n ${0},\n transparent\n );\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n `), waveKeyframe, (theme.vars || theme).palette.action.hover));\nconst Skeleton = /*#__PURE__*/React.forwardRef(function Skeleton(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSkeleton'\n });\n const {\n animation = 'pulse',\n className,\n component = 'span',\n height,\n style,\n variant = 'text',\n width\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n animation,\n component,\n variant,\n hasChildren: Boolean(other.children)\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(SkeletonRoot, _extends({\n as: component,\n ref: ref,\n className: clsx(classes.root, className),\n ownerState: ownerState\n }, other, {\n style: _extends({\n width,\n height\n }, style)\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Skeleton.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The animation.\n * If `false` the animation effect is disabled.\n * @default 'pulse'\n */\n animation: PropTypes.oneOf(['pulse', 'wave', false]),\n /**\n * Optional children to infer width and height from.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Height of the skeleton.\n * Useful when you don't want to adapt the skeleton to a text element but for instance a card.\n */\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The type of content that will be rendered.\n * @default 'text'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rectangular', 'rounded', 'text']), PropTypes.string]),\n /**\n * Width of the skeleton.\n * Useful when the skeleton is inside an inline element with no width of its own.\n */\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string])\n} : void 0;\nexport default Skeleton;","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nconst LocationIcon = React.memo((props) => {\n return (_jsx(SvgIcon, { ...props, children: _jsx(\"svg\", { width: \"16\", height: \"16\", viewBox: \"0 0 16 16\", xmlns: \"http://www.w3.org/2000/svg\", children: _jsxs(\"g\", { children: [_jsx(\"path\", { d: \"M0 0H16V16H0z\", fill: \"none\" }), _jsx(\"path\", { d: \"M8 3c2.21 0 4 1.82 4 4.063 0 1.497-1.333 3.698-4 6.604C5.333 10.76 4 8.56 4 7.063 4 4.82 5.79 3 8 3zm0 2.54c-.828 0-1.5.682-1.5 1.523 0 .842.672 1.524 1.5 1.524s1.5-.682 1.5-1.524c0-.841-.672-1.523-1.5-1.523z\", fill: props.htmlColor })] }) }) }));\n});\nexport { LocationIcon };\n//# sourceMappingURL=LocationIcon.js.map","import { Box, Card, CardActionArea, CardContent, CardMedia, Chip, Link, Skeleton, keyframes, styled } from '@mui/material';\nimport { hexToRgba } from '../../utils/colors';\nconst JUMP_IN_BUTTON_HEIGHT = 46;\nconst coinFlip = keyframes({\n '0%': { transform: 'perspective(800px) rotateX(0deg) rotateY(0deg)' },\n '15%': { transform: 'perspective(800px) rotateX(5deg) rotateY(1deg)' },\n '30%': { transform: 'perspective(800px) rotateX(4deg) rotateY(3deg)' },\n '50%': { transform: 'perspective(800px) rotateX(0deg) rotateY(5deg)' },\n '70%': { transform: 'perspective(800px) rotateX(-4deg) rotateY(3deg)' },\n '85%': { transform: 'perspective(800px) rotateX(-2deg) rotateY(1deg)' },\n '100%': { transform: 'perspective(800px) rotateX(0deg) rotateY(0deg)' }\n});\nconst EventCardContainer = styled(Card)(({ theme, withShadow }) => ({\n borderRadius: theme.spacing(2),\n boxSizing: 'border-box',\n minWidth: 400,\n maxWidth: 850,\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n height: '100%',\n backgroundColor: 'transparent',\n position: 'relative',\n overflow: 'hidden',\n transition: [\n theme.transitions.create('transform', {\n duration: theme.transitions.duration.complex\n }),\n theme.transitions.create('box-shadow', {\n duration: theme.transitions.duration.complex\n })\n ],\n [theme.breakpoints.up('sm')]: {\n '&:hover': {\n boxShadow: withShadow ? `0px 0px 20px 6px ${hexToRgba('#DD56FF', 0.37)}` : 'none',\n animation: `${coinFlip} 0.8s ease-in-out`,\n transition: [\n theme.transitions.create('transform', {\n duration: theme.transitions.duration.complex\n }),\n theme.transitions.create('box-shadow', {\n duration: theme.transitions.duration.complex\n })\n ].join(', ')\n }\n }\n}));\nconst EventCardActionArea = styled(CardActionArea)(({ theme }) => ({\n borderRadius: theme.spacing(2),\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n backgroundColor: 'transparent',\n '&:hover .MuiCardActionArea-focusHighlight': {\n opacity: 0\n }\n}));\nconst EventMediaContainer = styled(Box)({\n position: 'relative',\n width: '100%',\n overflow: 'hidden'\n});\nconst EventCardMedia = styled(CardMedia)(({ theme, imageHeight = 329, hoverHeight = 271 }) => ({\n height: imageHeight,\n width: '100%',\n borderRadius: `${theme.spacing(2)} ${theme.spacing(2)} 0 0`,\n backgroundSize: 'cover',\n [theme.breakpoints.up('sm')]: {\n transition: theme.transitions.create('height', {\n duration: theme.transitions.duration.complex\n }),\n '.MuiCardActionArea-root:hover &': {\n height: hoverHeight\n }\n }\n}));\nconst EventCardContent = styled(CardContent)(({ theme }) => ({\n backgroundColor: theme.palette.mode === 'dark' ? 'rgba(0, 0, 0, 0.4)' : 'rgba(255, 255, 255, 0.4)',\n borderRadius: `0 0 ${theme.spacing(2)} ${theme.spacing(2)}`,\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n width: '100%',\n position: 'relative',\n overflow: 'hidden',\n padding: theme.spacing(2),\n minHeight: 123,\n '&:last-child': {\n paddingBottom: theme.spacing(2)\n },\n [theme.breakpoints.down('sm')]: {\n minHeight: 149\n }\n}));\nconst BadgesContainer = styled(Box)(({ theme }) => ({\n position: 'absolute',\n top: theme.spacing(2),\n left: theme.spacing(2),\n right: theme.spacing(2),\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: theme.spacing(1),\n zIndex: 10,\n pointerEvents: 'none',\n '& > *': {\n pointerEvents: 'auto'\n }\n}));\nconst LeftBadge = styled(Box)(({ theme, transparent }) => ({\n ...(!transparent && {\n padding: theme.spacing(1, 1),\n minWidth: theme.spacing(4),\n height: theme.spacing(4),\n backgroundColor: theme.palette.background.default,\n borderRadius: theme.spacing(1),\n fontSize: theme.typography.subtitle1.fontSize,\n fontWeight: theme.typography.fontWeightBold\n }),\n maxWidth: '45%',\n color: theme.palette.text.primary,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n overflow: 'hidden',\n '& > *': {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n minWidth: 0,\n maxWidth: '100%'\n }\n}));\nconst SceneTitle = styled(Box)({\n '& .MuiTypography-root': {\n display: '-webkit-box',\n WebkitLineClamp: 2,\n WebkitBoxOrient: 'vertical',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n wordBreak: 'break-word'\n }\n});\nconst ContentContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n gap: theme.spacing(1)\n}));\nconst AvatarContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(1),\n alignItems: 'center',\n flex: '1 1 auto',\n maxWidth: '50%',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n maxWidth: '100%'\n }\n}));\nconst AvatarTextContainer = styled(Box)({\n flex: 1,\n minWidth: 0,\n overflow: 'hidden',\n '& .MuiTypography-root': {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n }\n});\nconst AvatarLink = styled(Link)(({ theme }) => ({\n textDecoration: 'none',\n fontWeight: theme.typography.fontWeightBold,\n '&:hover': {\n textDecoration: 'none'\n }\n}));\nconst AvatarAndLocationRow = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(1),\n alignItems: 'center',\n justifyContent: 'space-between',\n marginTop: 'auto',\n minWidth: 0,\n [theme.breakpoints.up('sm')]: {\n transition: theme.transitions.create('margin-bottom', {\n duration: theme.transitions.duration.complex\n }),\n '.MuiCardActionArea-root:hover &': {\n marginBottom: `calc(${JUMP_IN_BUTTON_HEIGHT}px + ${theme.spacing(2)})`\n }\n },\n [theme.breakpoints.down('sm')]: {\n marginBottom: 0\n }\n}));\nconst LocationChipContainer = styled(Box)(({ theme }) => ({\n flex: '1 1 auto',\n minWidth: 0,\n maxWidth: '50%',\n display: 'flex',\n justifyContent: 'flex-end',\n opacity: 0,\n height: 0,\n overflow: 'hidden',\n transform: 'translateX(20px)',\n transition: [\n theme.transitions.create('opacity', {\n duration: theme.transitions.duration.complex\n }),\n theme.transitions.create('height', {\n duration: theme.transitions.duration.complex\n }),\n theme.transitions.create('transform', {\n duration: theme.transitions.duration.complex\n })\n ].join(', '),\n '.MuiCardActionArea-root:hover &': {\n opacity: 1,\n height: 'auto',\n transform: 'translateX(0)'\n },\n [theme.breakpoints.down('xs')]: {\n display: 'none'\n }\n}));\nconst LocationChip = styled(Chip)(({ theme }) => ({\n backgroundColor: theme.palette.mode === 'dark' ? 'rgba(0, 0, 0, 0.4)' : 'rgba(255, 255, 255, 0.4)',\n color: theme.palette.text.primary,\n cursor: 'pointer',\n borderRadius: theme.spacing(1),\n maxWidth: '100%',\n '& .MuiChip-label': {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n },\n '& path:last-child': {\n fill: theme.palette.text.primary\n }\n}));\nconst JumpInButtonContainer = styled(Box)(({ theme }) => ({\n position: 'absolute',\n bottom: theme.spacing(2),\n left: theme.spacing(2),\n right: theme.spacing(2),\n opacity: 0,\n transform: `translateY(calc(100% + ${theme.spacing(2)}))`,\n transition: [\n theme.transitions.create('opacity', {\n duration: theme.transitions.duration.complex\n }),\n theme.transitions.create('transform', {\n duration: theme.transitions.duration.complex\n })\n ].join(', '),\n [theme.breakpoints.up('sm')]: {\n '.MuiCardActionArea-root:hover &': {\n opacity: 1,\n transform: 'translateY(0)'\n }\n },\n [theme.breakpoints.down('sm')]: {\n position: 'relative',\n opacity: 1,\n transform: 'none',\n bottom: 'auto',\n left: 'auto',\n right: 'auto',\n marginTop: theme.spacing(1)\n }\n}));\nconst SceneInfoContainer = styled(Box)({\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n width: '100%'\n});\nconst JumpInButton = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n gap: theme.spacing(1),\n width: '100%',\n height: JUMP_IN_BUTTON_HEIGHT,\n border: 'none',\n borderRadius: theme.spacing(2),\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText,\n fontSize: 16,\n fontWeight: theme.typography.fontWeightBold,\n textTransform: 'uppercase',\n cursor: 'pointer',\n '& svg': {\n width: 24,\n height: 24\n },\n '&:hover': {\n backgroundColor: theme.palette.primary.dark\n },\n '&:focus-visible': {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n '&:active': {\n backgroundColor: theme.palette.primary.dark\n }\n}));\nconst SkeletonImage = styled(Skeleton)({\n height: 329,\n width: '100%',\n borderRadius: 0,\n transform: 'none'\n});\nconst SkeletonTitle = styled(Skeleton)(({ theme }) => ({\n width: '60%',\n fontSize: '1.25rem',\n marginBottom: theme.spacing(6),\n borderRadius: theme.shape.borderRadius\n}));\nconst SkeletonAvatar = styled(Skeleton)(({ theme }) => ({\n width: theme.spacing(4),\n height: theme.spacing(4),\n flexShrink: 0\n}));\nconst SkeletonText = styled(Skeleton)(({ theme }) => ({\n height: 20,\n flex: 1,\n borderRadius: theme.shape.borderRadius\n}));\nexport { AvatarAndLocationRow, AvatarContainer, AvatarLink, AvatarTextContainer, BadgesContainer, ContentContainer, EventCardActionArea, EventCardContainer, EventCardContent, EventCardMedia, EventMediaContainer, JumpInButton, JumpInButtonContainer, LeftBadge, LocationChip, LocationChipContainer, SceneInfoContainer, SceneTitle, SkeletonAvatar, SkeletonImage, SkeletonText, SkeletonTitle };\n//# sourceMappingURL=EventCard.styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { memo, useCallback } from 'react';\nimport Typography from '@mui/material/Typography';\nimport { Box } from '@mui/material';\nimport { AvatarFace } from '../AvatarFace';\nimport { JumpInIcon, LocationIcon } from '../Icon';\nimport { AvatarAndLocationRow, AvatarContainer, AvatarLink, AvatarTextContainer, BadgesContainer, ContentContainer, EventCardActionArea, EventCardContainer, EventCardContent, EventCardMedia, EventMediaContainer, JumpInButton, JumpInButtonContainer, LeftBadge, LocationChip, LocationChipContainer, SceneInfoContainer, SceneTitle, SkeletonAvatar, SkeletonImage, SkeletonText, SkeletonTitle } from './EventCard.styled';\nconst EventCard = memo((props) => {\n const { image, sceneName, avatar, coordinates, withShadow, leftBadge, leftBadgeTransparent = false, onClick, redirectToAuth = false, hideLocation = false, loading = false } = props;\n const isWorld = coordinates?.includes('.dcl.eth');\n const jumpInUrl = isWorld ? `https://decentraland.org/jump?realm=${coordinates}` : `https://decentraland.org/jump?position=${coordinates}`;\n if (loading) {\n return (_jsx(EventCardContainer, { children: _jsxs(EventCardActionArea, { disabled: true, children: [_jsx(EventMediaContainer, { children: _jsx(SkeletonImage, { variant: \"rectangular\" }) }), _jsx(EventCardContent, { children: _jsxs(ContentContainer, { children: [_jsx(SkeletonTitle, { variant: \"rectangular\" }), _jsx(AvatarAndLocationRow, { children: _jsxs(AvatarContainer, { children: [_jsx(SkeletonAvatar, { variant: \"circular\" }), _jsx(SkeletonText, { variant: \"rectangular\" })] }) })] }) })] }) }));\n }\n const handleCardClick = useCallback(() => {\n if (onClick) {\n onClick();\n return;\n }\n if (redirectToAuth) {\n window.location.href = '/auth';\n return;\n }\n if (coordinates) {\n window.open(jumpInUrl, '_blank');\n }\n }, [onClick, redirectToAuth, coordinates, jumpInUrl]);\n return (_jsx(EventCardContainer, { withShadow: withShadow, children: _jsxs(EventCardActionArea, { onClick: handleCardClick, children: [leftBadge !== undefined && (_jsx(BadgesContainer, { children: _jsx(LeftBadge, { transparent: leftBadgeTransparent, children: _jsx(Box, { component: \"span\", children: leftBadge }) }) })), _jsx(EventMediaContainer, { children: _jsx(EventCardMedia, { image: image }) }), _jsxs(EventCardContent, { children: [_jsxs(SceneInfoContainer, { children: [_jsx(SceneTitle, { children: _jsx(Typography, { variant: \"h6\", component: \"div\", gutterBottom: true, children: sceneName }) }), (avatar || (coordinates && !hideLocation)) && (_jsxs(AvatarAndLocationRow, { children: [avatar && (_jsxs(AvatarContainer, { children: [_jsx(AvatarFace, { size: \"small\", avatar: avatar }), _jsx(AvatarTextContainer, { children: _jsxs(Typography, { variant: \"body2\", children: [\"by \", _jsx(AvatarLink, { href: `https://decentraland.org/profile/accounts/${avatar.ethAddress}`, children: avatar.name })] }) })] })), coordinates && !hideLocation && (_jsx(LocationChipContainer, { children: _jsx(LocationChip, { label: coordinates, size: \"small\", icon: _jsx(LocationIcon, {}) }) }))] }))] }), _jsx(JumpInButtonContainer, { children: _jsxs(JumpInButton, { children: [_jsx(\"span\", { children: \"JUMP IN\" }), _jsx(JumpInIcon, {})] }) })] })] }) }));\n});\nEventCard.displayName = 'EventCard';\nexport { EventCard };\n//# sourceMappingURL=EventCard.js.map","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 7c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4m6 5H6v-.99c.2-.72 3.3-2.01 6-2.01s5.8 1.29 6 2z\"\n}), 'PermIdentityRounded');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M8.54 8.54c.35.35.37.88.1 1.29C8.24 10.45 8 11.2 8 12c0 .8.24 1.55.64 2.17.27.41.24.95-.11 1.29-.43.43-1.17.4-1.51-.11C6.38 14.4 6 13.24 6 12c0-1.21.36-2.33.97-3.28.36-.54 1.11-.64 1.57-.18m6.92 6.92c.43.43 1.17.4 1.51-.11C17.62 14.4 18 13.24 18 12c0-1.24-.38-2.4-1.03-3.36-.34-.5-1.08-.54-1.51-.11-.35.35-.37.88-.11 1.29.41.63.65 1.38.65 2.18 0 .8-.24 1.55-.64 2.17-.27.41-.24.95.1 1.29M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6.32 8.32c.42.42 1.12.39 1.5-.08C21.18 16.53 22 14.36 22 12s-.82-4.53-2.18-6.24c-.37-.47-1.07-.5-1.5-.08-.36.36-.4.92-.08 1.32 1.1 1.37 1.76 3.11 1.76 5s-.66 3.63-1.76 5c-.32.39-.28.96.08 1.32M5.68 5.68c-.42-.42-1.12-.39-1.5.08C2.82 7.47 2 9.64 2 12s.82 4.53 2.18 6.24c.37.47 1.07.5 1.5.08.36-.36.4-.92.08-1.32C4.66 15.63 4 13.89 4 12s.66-3.63 1.76-5c.32-.39.28-.96-.08-1.32\"\n}), 'SensorsRounded');","import { keyframes, styled } from '@mui/material/styles';\nimport { Box, Typography } from '@mui/material';\nimport { gradient } from '../../theme/colors';\nconst NumberBadgeWrapper = styled(Box)(({ theme }) => ({\n width: 50,\n height: 50,\n borderRadius: theme.spacing(2),\n background: gradient.flare,\n padding: 3,\n [theme.breakpoints.down('sm')]: {\n width: 38,\n height: 38,\n borderRadius: theme.spacing(1.5)\n }\n}));\nconst NumberBadgeInner = styled(Box)(({ theme }) => ({\n width: '100%',\n height: '100%',\n borderRadius: theme.spacing(1.5),\n backgroundColor: theme.palette.background.default,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n fontSize: theme.typography.h6.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n color: theme.palette.text.primary,\n [theme.breakpoints.down('sm')]: {\n borderRadius: theme.spacing(1),\n fontSize: theme.typography.body2.fontSize\n }\n}));\nconst TextBadgeWrapper = styled(Box)(({ theme }) => ({\n background: gradient.cerise,\n borderRadius: 12,\n padding: theme.spacing(1, 1.5),\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center'\n}));\nconst TextBadgeLabel = styled(Typography)(({ theme }) => ({\n color: '#fff',\n fontWeight: theme.typography.fontWeightBold,\n fontSize: 20,\n textTransform: 'uppercase',\n letterSpacing: theme.typography.overline.letterSpacing,\n [theme.breakpoints.down('sm')]: {\n fontSize: 14\n }\n}));\nconst pulse = keyframes({\n '0%, 100%': { opacity: 1 },\n '50%': { opacity: 0.4 }\n});\nconst livePulse = keyframes({\n '0%, 100%': { transform: 'scale(1)' },\n '50%': { transform: 'scale(1.3)' }\n});\nconst LiveBadgeWrapper = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n gap: theme.spacing(0.5),\n height: 26,\n padding: theme.spacing(0, 1.5),\n backgroundColor: theme.palette.error.main,\n color: theme.palette.common.white,\n borderRadius: theme.spacing(1),\n fontSize: theme.typography.caption.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n textTransform: 'uppercase',\n lineHeight: 1,\n '& .MuiSvgIcon-root': {\n fontSize: 14,\n animation: `${livePulse} 1.5s ease-in-out infinite`\n }\n}));\nconst LiveBadgeDot = styled(Box)({\n width: 8,\n height: 8,\n borderRadius: '50%',\n backgroundColor: 'currentColor',\n animation: `${pulse} 1.5s ease-in-out infinite`\n});\nconst UserCountBadgeWrapper = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n gap: theme.spacing(0.75),\n height: 26,\n padding: theme.spacing(0, 1.5),\n backgroundColor: theme.palette.background.default,\n color: theme.palette.text.primary,\n borderRadius: theme.spacing(1),\n fontSize: theme.typography.caption.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n lineHeight: 1,\n '& .MuiSvgIcon-root': {\n fontSize: 14\n }\n}));\nconst UserCountDot = styled(Box)(({ theme }) => ({\n width: 8,\n height: 8,\n borderRadius: '50%',\n backgroundColor: theme.palette.success.main\n}));\nconst BadgeGroup = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n gap: theme.spacing(1)\n}));\nexport { BadgeGroup, LiveBadgeDot, LiveBadgeWrapper, NumberBadgeInner, NumberBadgeWrapper, TextBadgeLabel, TextBadgeWrapper, UserCountBadgeWrapper, UserCountDot };\n//# sourceMappingURL=Badges.styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { memo } from 'react';\nimport PermIdentityRoundedIcon from '@mui/icons-material/PermIdentityRounded';\nimport SensorsRoundedIcon from '@mui/icons-material/SensorsRounded';\nimport { LiveBadgeWrapper, NumberBadgeInner, NumberBadgeWrapper, TextBadgeLabel, TextBadgeWrapper, UserCountBadgeWrapper, UserCountDot } from './Badges.styled';\nconst NumberBadge = memo(({ value }) => (_jsx(NumberBadgeWrapper, { children: _jsx(NumberBadgeInner, { children: value }) })));\nNumberBadge.displayName = 'NumberBadge';\nconst TextBadge = memo(({ text }) => (_jsx(TextBadgeWrapper, { children: _jsx(TextBadgeLabel, { children: text }) })));\nTextBadge.displayName = 'TextBadge';\nconst LiveBadge = memo(() => (_jsxs(LiveBadgeWrapper, { children: [_jsx(SensorsRoundedIcon, {}), \"LIVE\"] })));\nLiveBadge.displayName = 'LiveBadge';\nconst UserCountBadge = memo(({ count }) => (_jsxs(UserCountBadgeWrapper, { children: [_jsx(UserCountDot, {}), _jsx(PermIdentityRoundedIcon, {}), count] })));\nUserCountBadge.displayName = 'UserCountBadge';\nexport { LiveBadge, NumberBadge, TextBadge, UserCountBadge };\n//# sourceMappingURL=Badges.js.map","interface EventEntry {\n id: string\n name: string\n image: string\n x: number\n y: number\n url: string\n live: boolean\n coordinates: [number, number]\n user: string\n}\n\ninterface EventsResponse {\n ok: boolean\n total: number\n data: EventEntry[]\n}\n\ninterface HotScene {\n id: string\n name: string\n baseCoords: [number, number]\n usersTotalCount: number\n parcels: Array<[number, number]>\n thumbnail: string\n}\n\nenum WhatsOnCardType {\n EVENT = 'event',\n PLACE = 'place'\n}\n\ninterface WhatsOn {\n type: WhatsOnCardType\n id: string\n title: string\n users: number\n image: string\n coordinates: string\n creatorAddress?: string\n creatorName?: string\n}\n\nexport { WhatsOnCardType }\nexport type { EventEntry, EventsResponse, HotScene, WhatsOn }\n","import { WhatsOnCardType } from './events.types'\nimport type { EventEntry, HotScene, WhatsOn } from './events.types'\n\nconst MIN_USERS = 5\nconst MAX_CARDS = 3\n\nfunction coordsKey(x: number, y: number): string {\n return `${x},${y}`\n}\n\nfunction findEventAtCoords(events: EventEntry[], parcels: Array<[number, number]>): EventEntry | undefined {\n const eventCoords = new Set(events.map(e => coordsKey(e.x, e.y)))\n for (const [px, py] of parcels) {\n const key = coordsKey(px, py)\n if (eventCoords.has(key)) {\n return events.find(e => coordsKey(e.x, e.y) === key)\n }\n }\n return undefined\n}\n\nfunction buildPlazaCard(scenesData: HotScene[]): WhatsOn {\n const plaza = scenesData.find(s => s.name.toLowerCase().includes('genesis plaza'))\n const plazaCoords = plaza ? coordsKey(plaza.baseCoords[0], plaza.baseCoords[1]) : '0,0'\n return {\n type: WhatsOnCardType.PLACE,\n id: plaza?.id ?? 'genesis-plaza',\n title: plaza?.name ?? 'Genesis Plaza',\n users: plaza?.usersTotalCount ?? 0,\n image: plaza?.thumbnail ?? '',\n coordinates: plazaCoords,\n creatorName: 'Decentraland Foundation'\n }\n}\n\nfunction buildWhatsOnCards(liveEvents: EventEntry[], hotScenes: HotScene[]): WhatsOn[] {\n const filteredScenes = hotScenes.filter(s => s.usersTotalCount >= MIN_USERS)\n const cards: WhatsOn[] = []\n const usedSceneIds = new Set<string>()\n const usedEventIds = new Set<string>()\n\n for (const scene of filteredScenes) {\n const matchedEvent = findEventAtCoords(liveEvents, scene.parcels)\n if (matchedEvent && !usedEventIds.has(matchedEvent.id)) {\n cards.push({\n type: WhatsOnCardType.EVENT,\n id: matchedEvent.id,\n title: matchedEvent.name,\n users: scene.usersTotalCount,\n image: matchedEvent.image,\n coordinates: coordsKey(matchedEvent.x, matchedEvent.y),\n creatorAddress: matchedEvent.user\n })\n usedSceneIds.add(scene.id)\n usedEventIds.add(matchedEvent.id)\n }\n }\n\n cards.sort((a, b) => b.users - a.users)\n\n const scenesWithoutEvents = filteredScenes.filter(s => !usedSceneIds.has(s.id)).sort((a, b) => b.usersTotalCount - a.usersTotalCount)\n\n for (const scene of scenesWithoutEvents) {\n const isGenesis = scene.name.toLowerCase().includes('genesis plaza')\n cards.push({\n type: WhatsOnCardType.PLACE,\n id: scene.id,\n title: scene.name,\n users: scene.usersTotalCount,\n image: scene.thumbnail,\n coordinates: coordsKey(scene.baseCoords[0], scene.baseCoords[1]),\n ...(isGenesis && { creatorName: 'Decentraland Foundation' })\n })\n }\n\n if (cards.length < MAX_CARDS) {\n const plazaCard = buildPlazaCard(hotScenes)\n const plazaAlreadyIncluded = cards.some(c => c.id === plazaCard.id)\n if (!plazaAlreadyIncluded) {\n cards.push(plazaCard)\n }\n }\n\n return cards.slice(0, MAX_CARDS)\n}\n\nexport { buildPlazaCard, buildWhatsOnCards, coordsKey, findEventAtCoords }\n","import { memo } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { BadgeGroup, EventCard, LiveBadge, UserCountBadge } from 'decentraland-ui2'\nimport { WhatsOnCardType } from '../../../features/events/events.types'\nimport type { WhatsOn } from '../../../features/events/events.types'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { assetUrl } from '../../../utils/assetUrl'\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 DCL_FOUNDATION_NAMES = ['decentraland foundation', 'decentraland', 'dcl']\n\nfunction isDclFoundation(name?: string): boolean {\n return !!name && DCL_FOUNDATION_NAMES.includes(name.toLowerCase())\n}\n\nconst WhatsOnCard = memo(({ card, loading }: { card?: WhatsOn; loading?: boolean }) => {\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 ...(isDclFoundation(card.creatorName) && {\n avatar: { snapshots: { face256: DCL_LOGO_URL, body: '' } }\n })\n } as Avatar\n }\n\n return (\n <EventCard\n loading={loading}\n image={card?.image ?? ''}\n sceneName={card?.title ?? ''}\n avatar={avatar as Avatar}\n coordinates={card?.coordinates}\n leftBadgeTransparent\n hideLocation\n leftBadge={\n card?.type === WhatsOnCardType.EVENT ? (\n <BadgeGroup>\n <LiveBadge />\n <UserCountBadge count={card.users} />\n </BadgeGroup>\n ) : card ? (\n <UserCountBadge count={card.users} />\n ) : undefined\n }\n />\n )\n})\n\nWhatsOnCard.displayName = 'WhatsOnCard'\n\nexport { WhatsOnCard }\n","import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst WhatsOnContainer = 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, 0)\n }\n}))\n\nconst SectionTitle = styled(Typography)({\n color: dclColors.neutral.white,\n fontWeight: 700,\n textAlign: 'center',\n fontSize: 'clamp(1.75rem, 3vw, 2.5rem)'\n})\n\nconst CardsGrid = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'center',\n gap: theme.spacing(3),\n width: '100%',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& > *': {\n flex: '0 1 510px',\n // Fix: prevent card from shrinking on hover by locking its height\n // after first render via min-height on the container\n minHeight: 452\n },\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarousel = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& .swiper': {\n paddingBottom: theme.spacing(5)\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& .swiper-slide': {\n padding: `0 ${theme.spacing(2)}`,\n boxSizing: 'border-box',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& > *': {\n maxWidth: '100%'\n }\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& .swiper-pagination': {\n bottom: '0 !important'\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& .swiper-pagination-bullet': {\n backgroundColor: 'rgba(255, 255, 255, 0.4)',\n opacity: 1,\n width: 8,\n height: 8\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& .swiper-pagination-bullet-active': {\n backgroundColor: dclColors.neutral.white\n }\n}))\n\nexport { CardsGrid, MobileCarousel, SectionTitle, WhatsOnContainer }\n","import { memo, useMemo } from 'react'\nimport 'swiper/css'\nimport 'swiper/css/pagination'\nimport { Autoplay, Pagination } from 'swiper/modules'\nimport { Swiper, SwiperSlide } from 'swiper/react'\nimport { AnimatedBackground } from 'decentraland-ui2'\nimport { useGetWhatsOnDataQuery } from '../../../features/events/events.client'\nimport { buildWhatsOnCards } from '../../../features/events/events.helpers'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { WhatsOnCard } from './WhatsOnCard'\nimport { CardsGrid, MobileCarousel, SectionTitle, WhatsOnContainer } from './WhatsOn.styled'\n\nconst LOADING_PLACEHOLDERS = [0, 1, 2]\n\nconst WhatsOn = memo(() => {\n const l = useFormatMessage()\n const { data, isLoading } = useGetWhatsOnDataQuery(undefined, { pollingInterval: 60000 })\n\n const cards = useMemo(() => {\n if (!data) return []\n return buildWhatsOnCards(data.liveEvents, data.hotScenes)\n }, [data])\n\n if (!isLoading && cards.length === 0) return null\n\n const cardElements = useMemo(\n () =>\n isLoading\n ? LOADING_PLACEHOLDERS.map(i => <WhatsOnCard key={i} loading />)\n : cards.map(card => <WhatsOnCard key={card.id} card={card} />),\n [isLoading, cards]\n )\n\n return (\n <WhatsOnContainer>\n <AnimatedBackground variant=\"absolute\" />\n <SectionTitle variant=\"h3\">{l('component.home.whats_on.title')}</SectionTitle>\n <CardsGrid>{cardElements}</CardsGrid>\n <MobileCarousel>\n <Swiper\n modules={[Pagination, Autoplay]}\n pagination={{ clickable: true }}\n autoplay={{ delay: 5000, disableOnInteraction: false }}\n loop\n slidesPerView={1}\n spaceBetween={16}\n >\n {isLoading\n ? LOADING_PLACEHOLDERS.map(i => (\n <SwiperSlide key={i}>\n <WhatsOnCard loading />\n </SwiperSlide>\n ))\n : cards.map(card => (\n <SwiperSlide key={card.id}>\n <WhatsOnCard card={card} />\n </SwiperSlide>\n ))}\n </Swiper>\n </MobileCarousel>\n </WhatsOnContainer>\n )\n})\n\nWhatsOn.displayName = 'WhatsOn'\n\nexport { WhatsOn }\n"],"names":["clampWrapper","value","min","max","clamp","hexToRgb","color","re","colors","n","index","decomposeColor","marker","type","_formatMuiErrorMessage","values","colorSpace","recomposeColor","i","alpha","getUnit","input","toUnitless","length","CancelIcon","createSvgIcon","_jsx","getChipUtilityClass","slot","generateUtilityClass","chipClasses","generateUtilityClasses","_excluded","useUtilityClasses","ownerState","classes","disabled","size","iconColor","onDelete","clickable","variant","slots","capitalize","composeClasses","ChipRoot","styled","props","styles","theme","textColor","_extends","ChipLabel","isDeleteKeyboardEvent","keyboardEvent","Chip","React.forwardRef","inProps","ref","useDefaultProps","avatarProp","className","clickableProp","ComponentProp","deleteIconProp","iconProp","label","onClick","onKeyDown","onKeyUp","tabIndex","skipFocusWhenDisabled","other","_objectWithoutPropertiesLoose","chipRef","React.useRef","handleRef","useForkRef","handleDeleteIconClick","event","handleKeyDown","handleKeyUp","component","ButtonBase","moreProps","deleteIcon","React.isValidElement","React.cloneElement","clsx","avatar","icon","_jsxs","getCardActionAreaUtilityClass","cardActionAreaClasses","CardActionAreaRoot","CardActionAreaFocusHighlight","CardActionArea","children","focusVisibleClassName","getSkeletonUtilityClass","_","t","_t","_t2","_t3","_t4","animation","hasChildren","width","height","pulseKeyframe","keyframes","waveKeyframe","SkeletonRoot","radiusUnit","radiusValue","css","Skeleton","style","LocationIcon","React","SvgIcon","JUMP_IN_BUTTON_HEIGHT","coinFlip","EventCardContainer","Card","withShadow","hexToRgba","EventCardActionArea","EventMediaContainer","Box","EventCardMedia","CardMedia","imageHeight","hoverHeight","EventCardContent","CardContent","BadgesContainer","LeftBadge","transparent","SceneTitle","ContentContainer","AvatarContainer","AvatarTextContainer","AvatarLink","Link","AvatarAndLocationRow","LocationChipContainer","LocationChip","JumpInButtonContainer","SceneInfoContainer","JumpInButton","SkeletonImage","SkeletonTitle","SkeletonAvatar","SkeletonText","EventCard","memo","image","sceneName","coordinates","leftBadge","leftBadgeTransparent","redirectToAuth","hideLocation","loading","jumpInUrl","handleCardClick","useCallback","Typography","AvatarFace","JumpInIcon","_interopRequireDefault","require$$0","PermIdentityRounded","default_1","_createSvgIcon","require$$1","_jsxRuntime","require$$2","SensorsRounded","NumberBadgeWrapper","gradient","NumberBadgeInner","TextBadgeWrapper","TextBadgeLabel","pulse","livePulse","LiveBadgeWrapper","UserCountBadgeWrapper","UserCountDot","BadgeGroup","NumberBadge","TextBadge","text","LiveBadge","SensorsRoundedIcon","UserCountBadge","count","PermIdentityRoundedIcon","WhatsOnCardType","MIN_USERS","MAX_CARDS","coordsKey","x","y","findEventAtCoords","events","parcels","eventCoords","e","px","py","key","buildPlazaCard","scenesData","plaza","s","plazaCoords","buildWhatsOnCards","liveEvents","hotScenes","filteredScenes","cards","usedSceneIds","usedEventIds","scene","matchedEvent","a","b","scenesWithoutEvents","isGenesis","plazaCard","c","DCL_LOGO_URL","assetUrl","DCL_FOUNDATION_NAMES","isDclFoundation","name","WhatsOnCard","card","profile","useGetProfileQuery","jsx","WhatsOnContainer","SectionTitle","dclColors.neutral","CardsGrid","MobileCarousel","LOADING_PLACEHOLDERS","WhatsOn","l","useFormatMessage","data","isLoading","useGetWhatsOnDataQuery","useMemo","cardElements","AnimatedBackground","Swiper","Pagination","Autoplay","SwiperSlide"],"mappings":"ujBAUA,SAASA,GAAaC,EAAOC,EAAM,EAAGC,EAAM,EAAG,CAMtC,OAAAC,GAAMH,EAAOC,EAAKC,CAAG,CAC9B,CAOO,SAASE,GAASC,EAAO,CACtBA,EAAAA,EAAM,MAAM,CAAC,EACf,MAAAC,EAAK,IAAI,OAAO,OAAOD,EAAM,QAAU,EAAI,EAAI,CAAC,IAAK,GAAG,EAC1D,IAAAE,EAASF,EAAM,MAAMC,CAAE,EAC3B,OAAIC,GAAUA,EAAO,CAAC,EAAE,SAAW,IACjCA,EAASA,EAAO,IAASC,GAAAA,EAAIA,CAAC,GAEzBD,EAAS,MAAMA,EAAO,SAAW,EAAI,IAAM,EAAE,IAAIA,EAAO,IAAI,CAACC,EAAGC,IAC9DA,EAAQ,EAAI,SAASD,EAAG,EAAE,EAAI,KAAK,MAAM,SAASA,EAAG,EAAE,EAAI,IAAM,GAAI,EAAI,GACjF,EAAE,KAAK,IAAI,CAAC,IAAM,EACrB,CAaO,SAASE,GAAeL,EAAO,CAEpC,G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CAACC,GAAa/B,EAAM,SAAW,EAAU,OAAA,KAE7C,MAAMkC,EAAeD,EAAA,QACnB,IACEF,EACIL,GAAqB,OAAUN,EAAA,IAAAJ,EAAA,CAAoB,QAAO,IAAV7N,CAAW,CAAE,EAC7D6M,EAAM,IAAYiB,GAAAG,EAAA,IAACJ,GAA0B,KAAAC,CAAT,EAAAA,EAAK,EAAgB,CAAE,EACjE,CAACc,EAAW/B,CAAK,CAAA,EAGnB,cACGqB,GACC,CAAA,SAAA,CAACD,EAAAA,IAAAe,GAAA,CAAmB,QAAQ,UAAW,CAAA,QACtCb,GAAa,CAAA,QAAQ,KAAM,SAAAM,EAAE,+BAA+B,EAAE,EAC/DR,EAAAA,IAACI,IAAW,SAAaU,CAAA,CAAA,QACxBT,GACC,CAAA,SAAAL,EAAA,IAACgB,GAAA,CACC,QAAS,CAACC,GAAYC,EAAQ,EAC9B,WAAY,CAAE,UAAW,EAAK,EAC9B,SAAU,CAAE,MAAO,IAAM,qBAAsB,EAAM,EACrD,KAAI,GACJ,cAAe,EACf,aAAc,GAEb,SAAAP,EACGL,GAAqB,IACnBvO,GAAAiO,EAAAA,IAACmB,IACC,SAACnB,EAAA,IAAAJ,EAAA,CAAY,QAAO,EAAC,CAAA,GADL7N,CAElB,CACD,EACD6M,EAAM,IAAIiB,GACPG,EAAA,IAAAmB,GAAA,CACC,SAACnB,EAAAA,IAAAJ,EAAA,CAAY,KAAAC,CAAY,CAAA,CAAA,EADTA,EAAK,EAEvB,CACD,CAAA,CAAA,EAET,CACF,CAAA,CAAA,CAEJ,CAAC,EAEDU,GAAQ,YAAc","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,j as e}from"./index-CwvhC3XY.js";import{L as a,S as o,a as n,P as t}from"./LegalPageLayout-CA-MOUlJ.js";const r=[{id:"definitions",label:"1. Definitions"},{id:"prohibited-content",label:"2. Prohibited Content"},{id:"gambling",label:"3. Gambling"},{id:"breaches-of-this-policy",label:"4. Breaches of this Policy"},{id:"age-restricted-content",label:"5. Age-Restricted Content"},{id:"user-representations-and-warranties",label:"6. User Representations and Warranties"},{id:"storage",label:"7. Storage"},{id:"limitations-to-liability",label:"8. Limitations to Liability"},{id:"changes-to-this-policy",label:"9. Changes to this Policy"}],s=i.memo(()=>e.jsxs(a,{title:"Content Policy",activeSlug:"/content",tableOfContents:r,children:[e.jsxs(o,{id:"definitions",children:[e.jsx(n,{children:"1. Definitions"}),e.jsx(t,{children:'"Content" shall mean any work of authorship, creative works, graphics, images, textures, photos, logos, video, audio, text and interactive features, including without limitation NFTs, submitted by the Users of Decentraland.'}),e.jsx(t,{children:`"Intellectual Property Rights" shall mean rights in, arising out of, or associated with intellectual property in any jurisdiction, including without limitation rights in or arising out of, or associated with (1) copyrights, mask work rights... (2) patents... (3) trademarks... (4) trade secrets... (5) a person's name, voice... (6) attribution and integrity... (7) internet domain names; (8) data and databases; and (9) similar proprietary rights arising under the laws of any jurisdiction`}),e.jsx(t,{children:'"NFT" means non-fungible token, including, LAND, Wearables and any other kind of NFTs available in Decentraland. All NFTs must comply with this Content Policy in accordance with section 12.4 of the Terms of Use.'})]}),e.jsxs(o,{id:"prohibited-content",children:[e.jsx(n,{children:"2. Prohibited Content"}),e.jsx(t,{children:"All Content uploaded, posted, created, displayed, transmitted or made available by the User through the Tools must not include:"}),e.jsx(t,{children:"2.1. Content involving illegality, such as piracy, criminal activity, terrorism, obscenity, child pornography, gambling (subject to Section 3 below), and illegal drug use."}),e.jsx(t,{children:"2.2. Content infringing third party Intellectual Property Rights."}),e.jsx(t,{children:"2.3. Cruel or hateful Content that could harm, harass, promote or condone violence against, or that is primarily intended to incite hatred of, animals, or individuals or groups based on race or ethnic origin, religion, nationality, disability, gender, age, veteran status, or sexual orientation/gender identity."}),e.jsx(t,{children:"2.4. Content that is libelous, false, inaccurate, misleading, or invades another person's privacy."}),e.jsx(t,{children:"2.5. Content that breaches the Privacy Policy or applicable data privacy laws."}),e.jsx(t,{children:"2.6. Content that promotes or could be construed as primarily intended to evade the limitations above."})]}),e.jsxs(o,{id:"gambling",children:[e.jsx(n,{children:"3. Gambling"}),e.jsx(t,{children:"If your Content involves gambling, the following shall apply: (i) if you reside in a jurisdiction which requires a license for online gambling, you must obtain such license prior to making your Content available; (ii) you must be in full compliance with the regulations of your country of residence; (iii) you must geo-block your Content for IPs from jurisdictions where online gambling is banned (including, without limitation, the United States of America, South Korea and China) and (iv) you must include in the terms and conditions of use of your Content (if any) a release from liability in favor of the Foundation and the DAO to the fullest extent allowed by applicable law vis a vis you and the users of your Content."})]}),e.jsxs(o,{id:"breaches-of-this-policy",children:[e.jsx(n,{children:"4. Breaches of this Policy"}),e.jsx(t,{children:"Any Content in infringement of Section 2, may be blocked and upon blocking shall not be available to other users of the Tools. Moreover, infringing Content may result in suspension of the Account, court orders, civil actions, injunctions, criminal prosecutions and other legal consequences brought by the Foundation, the DAO or third parties against the creator, distributor and/or user of said infringing Content. The User's Account may also be terminated in accordance with Section 15 of the Terms of Use."})]}),e.jsxs(o,{id:"age-restricted-content",children:[e.jsx(n,{children:"5. Age-Restricted Content"}),e.jsx(t,{children:"Any Content which qualifies as (i) intensely violent or graphic, (ii) gambling or (ii) sexually explicit, shall only be available to people aged 18 or older. If you upload, post, create, display, transmit or make available such Content on the Tools, you must provide sufficient warning as to this restriction. Failure to do so may result in termination of your Account pursuant to Section 15 of the Terms."})]}),e.jsxs(o,{id:"user-representations-and-warranties",children:[e.jsx(n,{children:"6. User Representations and Warranties"}),e.jsx(t,{children:"You represent and warrant that at any time you submit Content, you are at least the age of majority in the jurisdiction in which you reside and are the parent or legal guardian, or have all proper consents from the parent or legal guardian, of any minor who is depicted in or contributed to any Content you submit, and that, as to that Content, (a) you are the sole author and owner of the Intellectual Property Rights to such Content, or you have a lawful right to submit the Content, all without any obligation to obtain consent of any third party and without creating any obligation or liability for the Foundation; (b) the Content is accurate; (c) the Content does not and will not infringe any Intellectual Property Right of any third party; and (d) the User Content will not violate the Terms or this Content Policy, or cause injury or harm to any person."}),e.jsx(t,{children:"You expressly acknowledge and accept that the Content you submit will be accessible to and viewable by other users and waive any claim with regards to the Foundation, its directors, officers, employees and affiliates in connection with said third party access. You can withdraw your Content at any time you wish."}),e.jsx(t,{children:"Please remember that the Content that you submit will be accessible to and viewable by other users. Except as may be required to register and/or maintain your Account, do not submit personally identifiable information (e.g. first and last name together, password, phone number, address, credit or debit card number, medical information, e-mail address, or other contact information) on the Tools."}),e.jsx(t,{children:"By submitting, posting or displaying content, and or through Decentraland and/or the Marketplace, you grant us a worldwide, non-exclusive, royalty-free perpetual, irrevocable, transferable right and license (with the right to sublicense) to use, copy, reproduce, process, adapt, modify, publish, transmit, display, develop, improve, distribute such Content, promote Decentraland, activities, Events, in any and all media or distribution methods (now known or later developed). You further grant Decentraland, the DAO and/or the Foundation, the right to use your name and trademarks, if any, in connection with our use of your Content available at the Platform and/or the Marketplace, from time to time."})]}),e.jsxs(o,{id:"storage",children:[e.jsx(n,{children:"7. Storage"}),e.jsx(t,{children:'You acknowledge that due to the decentralized nature of Decentraland and of the blockchain technology, all Content and information submitted by you is not stored in a centralized server, but in several decentralized nodes (the "Nodes"). Thus, the Foundation or the DAO are not liable for any loss of content or information.'}),e.jsx(t,{children:"The Nodes recognize and accept that in the event of any court order relating to the blocking, suspension or deletion of any Content, they will abide by any such court order."})]}),e.jsxs(o,{id:"limitations-to-liability",children:[e.jsx(n,{children:"8. Limitations to Liability"}),e.jsx(t,{children:"The Foundation, its officers, employees, and the DAO are not responsible or liable for the Content, conduct, or services of users or third parties. The Foundation, its officers, employees and the DAO do not control or endorse the Content of communications between users or users' interactions with each other or the Tools."}),e.jsx(t,{children:"You acknowledge that you will be exposed to various aspects of the Tools involving the conduct, Content, and services of users, and that the Foundation does not control and is not responsible or liable for the quality, safety, legality, truthfulness or accuracy of any such user conduct, Content or user services. You acknowledge that the Foundation does not guarantee the accuracy of information submitted by any user of the Tools, nor any identity information about any user. Your interactions with other users and your use of Content are entirely at your own risk. The Foundation has no obligation to become involved in any dispute that you may have or claim to have with one or more users of the Tools, or in any manner in any resolution thereof."}),e.jsx(t,{children:"THE TOOLS MAY CONTAIN LINKS TO OR OTHERWISE ALLOW CONNECTIONS TO THIRD-PARTY WEBSITES, SERVERS, AND ONLINE SERVICES OR ENVIRONMENTS THAT ARE NOT OWNED OR CONTROLLED BY THE FOUNDATION. THE FOUNDATION, ITS OFFICERS, EMPLOYEES AND THE DAO ARE NOT RESPONSIBLE OR LIABLE FOR THE CONTENT, POLICIES OR PRACTICES OF ANY THIRD-PARTY WEBSITES, SERVERS OR ONLINE SERVICES OR ENVIRONMENTS. Please consult any applicable terms of use and privacy policies provided by the third party for such websites, servers or online services or environments."}),e.jsx(t,{children:'You acknowledge that the Content of the Tools is provided or made available to you under license from independent Content Providers, including other users of the Tools ("Content Providers"). You acknowledge and agree that except as expressly provided in this Agreement, the Intellectual Property Rights of other Content Providers in their respective Content are not licensed to you by your mere use of the Tools. You must obtain from the applicable Content Providers any necessary license rights in Content that you desire to use or access.'}),e.jsx(t,{children:"You copy and use Content at your own risk. You are solely responsible and liable for your use, reproduction, distribution, modification, display, or performance of any Content in violation of any Intellectual Property Rights. You agree that the Foundation will have no liability for, and you agree to defend, indemnify, and hold the Foundation harmless from, any claims, losses or damages arising out of or in connection with your use, reproduction, distribution, modification, display, or performance of any Content."})]}),e.jsxs(o,{id:"changes-to-this-policy",children:[e.jsx(n,{children:"9. Changes to this Policy"}),e.jsx(t,{children:"The DAO may change this Content Policy from time to time. All users have the obligation to be aware of the updated versions of this Policy."}),e.jsx(t,{children:e.jsx("a",{href:"https://governance.decentraland.org/proposal/?id=7e3f57c0-e0f2-11eb-a20f-d75df7f87ed8",target:"_blank",rel:"noopener noreferrer",children:"Approved by the DAO on Jul 16, 2021"})})]})]}));s.displayName="ContentPolicy";export{s as ContentPolicy};
|
|
1
|
+
import{r as i,j as e}from"./index-CGCvheGi.js";import{L as a,S as o,a as n,P as t}from"./LegalPageLayout-Bmx2f7dQ.js";const r=[{id:"definitions",label:"1. Definitions"},{id:"prohibited-content",label:"2. Prohibited Content"},{id:"gambling",label:"3. Gambling"},{id:"breaches-of-this-policy",label:"4. Breaches of this Policy"},{id:"age-restricted-content",label:"5. Age-Restricted Content"},{id:"user-representations-and-warranties",label:"6. User Representations and Warranties"},{id:"storage",label:"7. Storage"},{id:"limitations-to-liability",label:"8. Limitations to Liability"},{id:"changes-to-this-policy",label:"9. Changes to this Policy"}],s=i.memo(()=>e.jsxs(a,{title:"Content Policy",activeSlug:"/content",tableOfContents:r,children:[e.jsxs(o,{id:"definitions",children:[e.jsx(n,{children:"1. Definitions"}),e.jsx(t,{children:'"Content" shall mean any work of authorship, creative works, graphics, images, textures, photos, logos, video, audio, text and interactive features, including without limitation NFTs, submitted by the Users of Decentraland.'}),e.jsx(t,{children:`"Intellectual Property Rights" shall mean rights in, arising out of, or associated with intellectual property in any jurisdiction, including without limitation rights in or arising out of, or associated with (1) copyrights, mask work rights... (2) patents... (3) trademarks... (4) trade secrets... (5) a person's name, voice... (6) attribution and integrity... (7) internet domain names; (8) data and databases; and (9) similar proprietary rights arising under the laws of any jurisdiction`}),e.jsx(t,{children:'"NFT" means non-fungible token, including, LAND, Wearables and any other kind of NFTs available in Decentraland. All NFTs must comply with this Content Policy in accordance with section 12.4 of the Terms of Use.'})]}),e.jsxs(o,{id:"prohibited-content",children:[e.jsx(n,{children:"2. Prohibited Content"}),e.jsx(t,{children:"All Content uploaded, posted, created, displayed, transmitted or made available by the User through the Tools must not include:"}),e.jsx(t,{children:"2.1. Content involving illegality, such as piracy, criminal activity, terrorism, obscenity, child pornography, gambling (subject to Section 3 below), and illegal drug use."}),e.jsx(t,{children:"2.2. Content infringing third party Intellectual Property Rights."}),e.jsx(t,{children:"2.3. Cruel or hateful Content that could harm, harass, promote or condone violence against, or that is primarily intended to incite hatred of, animals, or individuals or groups based on race or ethnic origin, religion, nationality, disability, gender, age, veteran status, or sexual orientation/gender identity."}),e.jsx(t,{children:"2.4. Content that is libelous, false, inaccurate, misleading, or invades another person's privacy."}),e.jsx(t,{children:"2.5. Content that breaches the Privacy Policy or applicable data privacy laws."}),e.jsx(t,{children:"2.6. Content that promotes or could be construed as primarily intended to evade the limitations above."})]}),e.jsxs(o,{id:"gambling",children:[e.jsx(n,{children:"3. Gambling"}),e.jsx(t,{children:"If your Content involves gambling, the following shall apply: (i) if you reside in a jurisdiction which requires a license for online gambling, you must obtain such license prior to making your Content available; (ii) you must be in full compliance with the regulations of your country of residence; (iii) you must geo-block your Content for IPs from jurisdictions where online gambling is banned (including, without limitation, the United States of America, South Korea and China) and (iv) you must include in the terms and conditions of use of your Content (if any) a release from liability in favor of the Foundation and the DAO to the fullest extent allowed by applicable law vis a vis you and the users of your Content."})]}),e.jsxs(o,{id:"breaches-of-this-policy",children:[e.jsx(n,{children:"4. Breaches of this Policy"}),e.jsx(t,{children:"Any Content in infringement of Section 2, may be blocked and upon blocking shall not be available to other users of the Tools. Moreover, infringing Content may result in suspension of the Account, court orders, civil actions, injunctions, criminal prosecutions and other legal consequences brought by the Foundation, the DAO or third parties against the creator, distributor and/or user of said infringing Content. The User's Account may also be terminated in accordance with Section 15 of the Terms of Use."})]}),e.jsxs(o,{id:"age-restricted-content",children:[e.jsx(n,{children:"5. Age-Restricted Content"}),e.jsx(t,{children:"Any Content which qualifies as (i) intensely violent or graphic, (ii) gambling or (ii) sexually explicit, shall only be available to people aged 18 or older. If you upload, post, create, display, transmit or make available such Content on the Tools, you must provide sufficient warning as to this restriction. Failure to do so may result in termination of your Account pursuant to Section 15 of the Terms."})]}),e.jsxs(o,{id:"user-representations-and-warranties",children:[e.jsx(n,{children:"6. User Representations and Warranties"}),e.jsx(t,{children:"You represent and warrant that at any time you submit Content, you are at least the age of majority in the jurisdiction in which you reside and are the parent or legal guardian, or have all proper consents from the parent or legal guardian, of any minor who is depicted in or contributed to any Content you submit, and that, as to that Content, (a) you are the sole author and owner of the Intellectual Property Rights to such Content, or you have a lawful right to submit the Content, all without any obligation to obtain consent of any third party and without creating any obligation or liability for the Foundation; (b) the Content is accurate; (c) the Content does not and will not infringe any Intellectual Property Right of any third party; and (d) the User Content will not violate the Terms or this Content Policy, or cause injury or harm to any person."}),e.jsx(t,{children:"You expressly acknowledge and accept that the Content you submit will be accessible to and viewable by other users and waive any claim with regards to the Foundation, its directors, officers, employees and affiliates in connection with said third party access. You can withdraw your Content at any time you wish."}),e.jsx(t,{children:"Please remember that the Content that you submit will be accessible to and viewable by other users. Except as may be required to register and/or maintain your Account, do not submit personally identifiable information (e.g. first and last name together, password, phone number, address, credit or debit card number, medical information, e-mail address, or other contact information) on the Tools."}),e.jsx(t,{children:"By submitting, posting or displaying content, and or through Decentraland and/or the Marketplace, you grant us a worldwide, non-exclusive, royalty-free perpetual, irrevocable, transferable right and license (with the right to sublicense) to use, copy, reproduce, process, adapt, modify, publish, transmit, display, develop, improve, distribute such Content, promote Decentraland, activities, Events, in any and all media or distribution methods (now known or later developed). You further grant Decentraland, the DAO and/or the Foundation, the right to use your name and trademarks, if any, in connection with our use of your Content available at the Platform and/or the Marketplace, from time to time."})]}),e.jsxs(o,{id:"storage",children:[e.jsx(n,{children:"7. Storage"}),e.jsx(t,{children:'You acknowledge that due to the decentralized nature of Decentraland and of the blockchain technology, all Content and information submitted by you is not stored in a centralized server, but in several decentralized nodes (the "Nodes"). Thus, the Foundation or the DAO are not liable for any loss of content or information.'}),e.jsx(t,{children:"The Nodes recognize and accept that in the event of any court order relating to the blocking, suspension or deletion of any Content, they will abide by any such court order."})]}),e.jsxs(o,{id:"limitations-to-liability",children:[e.jsx(n,{children:"8. Limitations to Liability"}),e.jsx(t,{children:"The Foundation, its officers, employees, and the DAO are not responsible or liable for the Content, conduct, or services of users or third parties. The Foundation, its officers, employees and the DAO do not control or endorse the Content of communications between users or users' interactions with each other or the Tools."}),e.jsx(t,{children:"You acknowledge that you will be exposed to various aspects of the Tools involving the conduct, Content, and services of users, and that the Foundation does not control and is not responsible or liable for the quality, safety, legality, truthfulness or accuracy of any such user conduct, Content or user services. You acknowledge that the Foundation does not guarantee the accuracy of information submitted by any user of the Tools, nor any identity information about any user. Your interactions with other users and your use of Content are entirely at your own risk. The Foundation has no obligation to become involved in any dispute that you may have or claim to have with one or more users of the Tools, or in any manner in any resolution thereof."}),e.jsx(t,{children:"THE TOOLS MAY CONTAIN LINKS TO OR OTHERWISE ALLOW CONNECTIONS TO THIRD-PARTY WEBSITES, SERVERS, AND ONLINE SERVICES OR ENVIRONMENTS THAT ARE NOT OWNED OR CONTROLLED BY THE FOUNDATION. THE FOUNDATION, ITS OFFICERS, EMPLOYEES AND THE DAO ARE NOT RESPONSIBLE OR LIABLE FOR THE CONTENT, POLICIES OR PRACTICES OF ANY THIRD-PARTY WEBSITES, SERVERS OR ONLINE SERVICES OR ENVIRONMENTS. Please consult any applicable terms of use and privacy policies provided by the third party for such websites, servers or online services or environments."}),e.jsx(t,{children:'You acknowledge that the Content of the Tools is provided or made available to you under license from independent Content Providers, including other users of the Tools ("Content Providers"). You acknowledge and agree that except as expressly provided in this Agreement, the Intellectual Property Rights of other Content Providers in their respective Content are not licensed to you by your mere use of the Tools. You must obtain from the applicable Content Providers any necessary license rights in Content that you desire to use or access.'}),e.jsx(t,{children:"You copy and use Content at your own risk. You are solely responsible and liable for your use, reproduction, distribution, modification, display, or performance of any Content in violation of any Intellectual Property Rights. You agree that the Foundation will have no liability for, and you agree to defend, indemnify, and hold the Foundation harmless from, any claims, losses or damages arising out of or in connection with your use, reproduction, distribution, modification, display, or performance of any Content."})]}),e.jsxs(o,{id:"changes-to-this-policy",children:[e.jsx(n,{children:"9. Changes to this Policy"}),e.jsx(t,{children:"The DAO may change this Content Policy from time to time. All users have the obligation to be aware of the updated versions of this Policy."}),e.jsx(t,{children:e.jsx("a",{href:"https://governance.decentraland.org/proposal/?id=7e3f57c0-e0f2-11eb-a20f-d75df7f87ed8",target:"_blank",rel:"noopener noreferrer",children:"Approved by the DAO on Jul 16, 2021"})})]})]}));s.displayName="ContentPolicy";export{s as ContentPolicy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BSKH1f4F.js","sources":["../../src/pages/content/ContentPolicy.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { LegalPageLayout, Paragraph, Section, SectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'definitions', label: '1. Definitions' },\n { id: 'prohibited-content', label: '2. Prohibited Content' },\n { id: 'gambling', label: '3. Gambling' },\n { id: 'breaches-of-this-policy', label: '4. Breaches of this Policy' },\n { id: 'age-restricted-content', label: '5. Age-Restricted Content' },\n { id: 'user-representations-and-warranties', label: '6. User Representations and Warranties' },\n { id: 'storage', label: '7. Storage' },\n { id: 'limitations-to-liability', label: '8. Limitations to Liability' },\n { id: 'changes-to-this-policy', label: '9. Changes to this Policy' }\n]\n\nconst ContentPolicy = memo(() => (\n <LegalPageLayout title=\"Content Policy\" activeSlug=\"/content\" tableOfContents={TABLE_OF_CONTENTS}>\n <Section id=\"definitions\">\n <SectionTitle>1. Definitions</SectionTitle>\n <Paragraph>\n "Content" shall mean any work of authorship, creative works, graphics, images, textures, photos, logos, video, audio, text\n and interactive features, including without limitation NFTs, submitted by the Users of Decentraland.\n </Paragraph>\n <Paragraph>\n "Intellectual Property Rights" shall mean rights in, arising out of, or associated with intellectual property in any\n jurisdiction, including without limitation rights in or arising out of, or associated with (1) copyrights, mask work rights... (2)\n patents... (3) trademarks... (4) trade secrets... (5) a person's name, voice... (6) attribution and integrity... (7) internet\n domain names; (8) data and databases; and (9) similar proprietary rights arising under the laws of any jurisdiction\n </Paragraph>\n <Paragraph>\n "NFT" means non-fungible token, including, LAND, Wearables and any other kind of NFTs available in Decentraland. All NFTs\n must comply with this Content Policy in accordance with section 12.4 of the Terms of Use.\n </Paragraph>\n </Section>\n\n <Section id=\"prohibited-content\">\n <SectionTitle>2. Prohibited Content</SectionTitle>\n <Paragraph>\n All Content uploaded, posted, created, displayed, transmitted or made available by the User through the Tools must not include:\n </Paragraph>\n <Paragraph>\n 2.1. Content involving illegality, such as piracy, criminal activity, terrorism, obscenity, child pornography, gambling (subject to\n Section 3 below), and illegal drug use.\n </Paragraph>\n <Paragraph>2.2. Content infringing third party Intellectual Property Rights.</Paragraph>\n <Paragraph>\n 2.3. Cruel or hateful Content that could harm, harass, promote or condone violence against, or that is primarily intended to incite\n hatred of, animals, or individuals or groups based on race or ethnic origin, religion, nationality, disability, gender, age, veteran\n status, or sexual orientation/gender identity.\n </Paragraph>\n <Paragraph>2.4. Content that is libelous, false, inaccurate, misleading, or invades another person's privacy.</Paragraph>\n <Paragraph>2.5. Content that breaches the Privacy Policy or applicable data privacy laws.</Paragraph>\n <Paragraph>2.6. Content that promotes or could be construed as primarily intended to evade the limitations above.</Paragraph>\n </Section>\n\n <Section id=\"gambling\">\n <SectionTitle>3. Gambling</SectionTitle>\n <Paragraph>\n If your Content involves gambling, the following shall apply: (i) if you reside in a jurisdiction which requires a license for\n online gambling, you must obtain such license prior to making your Content available; (ii) you must be in full compliance with the\n regulations of your country of residence; (iii) you must geo-block your Content for IPs from jurisdictions where online gambling is\n banned (including, without limitation, the United States of America, South Korea and China) and (iv) you must include in the terms\n and conditions of use of your Content (if any) a release from liability in favor of the Foundation and the DAO to the fullest extent\n allowed by applicable law vis a vis you and the users of your Content.\n </Paragraph>\n </Section>\n\n <Section id=\"breaches-of-this-policy\">\n <SectionTitle>4. Breaches of this Policy</SectionTitle>\n <Paragraph>\n Any Content in infringement of Section 2, may be blocked and upon blocking shall not be available to other users of the Tools.\n Moreover, infringing Content may result in suspension of the Account, court orders, civil actions, injunctions, criminal\n prosecutions and other legal consequences brought by the Foundation, the DAO or third parties against the creator, distributor\n and/or user of said infringing Content. The User's Account may also be terminated in accordance with Section 15 of the Terms of\n Use.\n </Paragraph>\n </Section>\n\n <Section id=\"age-restricted-content\">\n <SectionTitle>5. Age-Restricted Content</SectionTitle>\n <Paragraph>\n Any Content which qualifies as (i) intensely violent or graphic, (ii) gambling or (ii) sexually explicit, shall only be available to\n people aged 18 or older. If you upload, post, create, display, transmit or make available such Content on the Tools, you must\n provide sufficient warning as to this restriction. Failure to do so may result in termination of your Account pursuant to Section 15\n of the Terms.\n </Paragraph>\n </Section>\n\n <Section id=\"user-representations-and-warranties\">\n <SectionTitle>6. User Representations and Warranties</SectionTitle>\n <Paragraph>\n You represent and warrant that at any time you submit Content, you are at least the age of majority in the jurisdiction in which you\n reside and are the parent or legal guardian, or have all proper consents from the parent or legal guardian, of any minor who is\n depicted in or contributed to any Content you submit, and that, as to that Content, (a) you are the sole author and owner of the\n Intellectual Property Rights to such Content, or you have a lawful right to submit the Content, all without any obligation to obtain\n consent of any third party and without creating any obligation or liability for the Foundation; (b) the Content is accurate; (c) the\n Content does not and will not infringe any Intellectual Property Right of any third party; and (d) the User Content will not violate\n the Terms or this Content Policy, or cause injury or harm to any person.\n </Paragraph>\n <Paragraph>\n You expressly acknowledge and accept that the Content you submit will be accessible to and viewable by other users and waive any\n claim with regards to the Foundation, its directors, officers, employees and affiliates in connection with said third party access.\n You can withdraw your Content at any time you wish.\n </Paragraph>\n <Paragraph>\n Please remember that the Content that you submit will be accessible to and viewable by other users. Except as may be required to\n register and/or maintain your Account, do not submit personally identifiable information (e.g. first and last name together,\n password, phone number, address, credit or debit card number, medical information, e-mail address, or other contact information) on\n the Tools.\n </Paragraph>\n <Paragraph>\n By submitting, posting or displaying content, and or through Decentraland and/or the Marketplace, you grant us a worldwide,\n non-exclusive, royalty-free perpetual, irrevocable, transferable right and license (with the right to sublicense) to use, copy,\n reproduce, process, adapt, modify, publish, transmit, display, develop, improve, distribute such Content, promote Decentraland,\n activities, Events, in any and all media or distribution methods (now known or later developed). You further grant Decentraland, the\n DAO and/or the Foundation, the right to use your name and trademarks, if any, in connection with our use of your Content available\n at the Platform and/or the Marketplace, from time to time.\n </Paragraph>\n </Section>\n\n <Section id=\"storage\">\n <SectionTitle>7. Storage</SectionTitle>\n <Paragraph>\n You acknowledge that due to the decentralized nature of Decentraland and of the blockchain technology, all Content and information\n submitted by you is not stored in a centralized server, but in several decentralized nodes (the "Nodes"). Thus, the\n Foundation or the DAO are not liable for any loss of content or information.\n </Paragraph>\n <Paragraph>\n The Nodes recognize and accept that in the event of any court order relating to the blocking, suspension or deletion of any Content,\n they will abide by any such court order.\n </Paragraph>\n </Section>\n\n <Section id=\"limitations-to-liability\">\n <SectionTitle>8. Limitations to Liability</SectionTitle>\n <Paragraph>\n The Foundation, its officers, employees, and the DAO are not responsible or liable for the Content, conduct, or services of users or\n third parties. The Foundation, its officers, employees and the DAO do not control or endorse the Content of communications between\n users or users' interactions with each other or the Tools.\n </Paragraph>\n <Paragraph>\n You acknowledge that you will be exposed to various aspects of the Tools involving the conduct, Content, and services of users, and\n that the Foundation does not control and is not responsible or liable for the quality, safety, legality, truthfulness or accuracy of\n any such user conduct, Content or user services. You acknowledge that the Foundation does not guarantee the accuracy of information\n submitted by any user of the Tools, nor any identity information about any user. Your interactions with other users and your use of\n Content are entirely at your own risk. The Foundation has no obligation to become involved in any dispute that you may have or claim\n to have with one or more users of the Tools, or in any manner in any resolution thereof.\n </Paragraph>\n <Paragraph>\n THE TOOLS MAY CONTAIN LINKS TO OR OTHERWISE ALLOW CONNECTIONS TO THIRD-PARTY WEBSITES, SERVERS, AND ONLINE SERVICES OR ENVIRONMENTS\n THAT ARE NOT OWNED OR CONTROLLED BY THE FOUNDATION. THE FOUNDATION, ITS OFFICERS, EMPLOYEES AND THE DAO ARE NOT RESPONSIBLE OR\n LIABLE FOR THE CONTENT, POLICIES OR PRACTICES OF ANY THIRD-PARTY WEBSITES, SERVERS OR ONLINE SERVICES OR ENVIRONMENTS. Please\n consult any applicable terms of use and privacy policies provided by the third party for such websites, servers or online services\n or environments.\n </Paragraph>\n <Paragraph>\n You acknowledge that the Content of the Tools is provided or made available to you under license from independent Content Providers,\n including other users of the Tools ("Content Providers"). You acknowledge and agree that except as expressly provided in\n this Agreement, the Intellectual Property Rights of other Content Providers in their respective Content are not licensed to you by\n your mere use of the Tools. You must obtain from the applicable Content Providers any necessary license rights in Content that you\n desire to use or access.\n </Paragraph>\n <Paragraph>\n You copy and use Content at your own risk. You are solely responsible and liable for your use, reproduction, distribution,\n modification, display, or performance of any Content in violation of any Intellectual Property Rights. You agree that the Foundation\n will have no liability for, and you agree to defend, indemnify, and hold the Foundation harmless from, any claims, losses or damages\n arising out of or in connection with your use, reproduction, distribution, modification, display, or performance of any Content.\n </Paragraph>\n </Section>\n\n <Section id=\"changes-to-this-policy\">\n <SectionTitle>9. Changes to this Policy</SectionTitle>\n <Paragraph>\n The DAO may change this Content Policy from time to time. All users have the obligation to be aware of the updated versions of this\n Policy.\n </Paragraph>\n <Paragraph>\n <a\n href=\"https://governance.decentraland.org/proposal/?id=7e3f57c0-e0f2-11eb-a20f-d75df7f87ed8\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n Approved by the DAO on Jul 16, 2021\n </a>\n </Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nContentPolicy.displayName = 'ContentPolicy'\n\nexport { ContentPolicy }\n"],"names":["TABLE_OF_CONTENTS","ContentPolicy","memo","jsxs","LegalPageLayout","Section","jsx","SectionTitle","Paragraph"],"mappings":"sHAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,cAAe,MAAO,gBAAiB,EAC7C,CAAE,GAAI,qBAAsB,MAAO,uBAAwB,EAC3D,CAAE,GAAI,WAAY,MAAO,aAAc,EACvC,CAAE,GAAI,0BAA2B,MAAO,4BAA6B,EACrE,CAAE,GAAI,yBAA0B,MAAO,2BAA4B,EACnE,CAAE,GAAI,sCAAuC,MAAO,wCAAyC,EAC7F,CAAE,GAAI,UAAW,MAAO,YAAa,EACrC,CAAE,GAAI,2BAA4B,MAAO,6BAA8B,EACvE,CAAE,GAAI,yBAA0B,MAAO,2BAA4B,CACrE,EAEMC,EAAg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KEY",e.ModalNotReady="MODAL_NOT_READY",e.MalformedResponse="MALFORMED_RESPONSE",e.InvalidArgument="INVALID_ARGUMENT",e.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",e.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",e))(U||{}),j=(e=>(e.SyncWeb3Method="SYNC_WEB3_METHOD",e.DuplicateIframe="DUPLICATE_IFRAME",e.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",e.DeprecationNotice="DEPRECATION_NOTICE",e.ProductAnnouncement="ANNOUNCEMENT",e))(j||{}),ve=(e=>(e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",e[e.MagicLinkExpired=-10001]="MagicLinkExpired",e[e.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",e[e.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",e[e.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",e[e.UpdateEmailFailed=-10004]="UpdateEmailFailed",e[e.UserRequestEditEmail=-10005]="UserRequestEditEmail",e[e.InactiveRecipient=-10010]="InactiveRecipient",e[e.AccessDeniedToUser=-10011]="AccessDeniedToUser",e[e.RedirectLoginComplete=-10015]="RedirectLoginComplete",e))(ve||{}),M=(e=>(e.MetaMask="metamask",e.CoinbaseWallet="coinbase_wallet",e))(M||{}),ae=(e=>(e.WalletSelected="wallet_selected",e.WalletConnected="wallet_connected",e.WalletRejected="wallet_rejected",e))(ae||{}),h=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e))(h||{}),k=(e=>(e.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",e.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",e.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",e.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",e.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",e.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",e.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",e))(k||{}),ce=(e=>(e.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",e))(ce||{}),ht=(e=>(e.UpdateEmail="update-email",e.MFA="mfa",e.Recovery="recovery",e))(ht||{}),pt=(e=>(e.Retry="retry",e))(pt||{}),mt=(e=>(e.EmailSent="email-sent",e.EmailNotDeliverable="email-not-deliverable",e))(mt||{}),X=(e=>(e.VerifyEmailOtp="verify-email-otp",e.Cancel="cancel",e))(X||{}),Et=(e=>(e.EmailOTPSent="email-otp-sent",e.InvalidEmailOtp="invalid-email-otp",e.ExpiredEmailOtp="expired-email-otp",e))(Et||{}),ge=(e=>(e.Retry="device-retry",e))(ge||{}),ft=(e=>(e.DeviceApproved="device-approved",e.DeviceNeedsApproval="device-needs-approval",e.DeviceVerificationLinkExpired="device-verification-link-expired",e.DeviceVerificationEmailSent="device-verification-email-sent",e))(ft||{}),b=(e=>(e.Retry="Recency/auth-factor-retry",e.Cancel="Recency/auth-factor-verification-cancel",e.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",e))(b||{}),gt=(e=>(e.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",e.PrimaryAuthFactorVerified="Recency/auth-factor-verified",e.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",e.EmailExpired="Recency/auth-factor-verification-email-expired",e.EmailSent="Recency/auth-factor-verification-email-sent",e.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",e))(gt||{}),P=(e=>(e.RetryWithNewEmail="UpdateEmail/retry-with-new-email",e.Cancel="UpdateEmail/new-email-verification-cancel",e.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",e))(P||{}),_t=(e=>(e.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",e.EmailUpdated="UpdateEmail/email-updated",e.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",e.EmailExpired="UpdateEmail/new-email-verification-email-expired",e.EmailSent="UpdateEmail/new-email-verification-email-sent",e.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",e.InvalidEmail="UpdateEmail/new-email-invalid",e.EmailAlreadyExists="UpdateEmail/new-email-already-exists",e))(_t||{}),vt=(e=>(e.Harmony="HARMONY",e))(vt||{}),It=(e=>(e.PhoneNumber="phone_number",e))(It||{}),Ee={VITE_BASE_URL:"https://cdn.decentraland.org/@dcl/landing-site/0.0.1-23657442558.commit-435eab3"},yt=Object.create,pe=Object.defineProperty,wt=Object.defineProperties,Rt=Object.getOwnPropertyDescriptor,$t=Object.getOwnPropertyDescriptors,Nt=Object.getOwnPropertyNames,Te=Object.getOwnPropertySymbols,At=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,Le=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ie=(e,t)=>{for(var r in t||(t={}))He.call(t,r)&&Le(e,r,t[r]);if(Te)for(var r of Te(t))Ot.call(t,r)&&Le(e,r,t[r]);return e},ye=(e,t)=>wt(e,$t(t)),Mt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Tt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Lt=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Nt(t))!He.call(e,n)&&n!==r&&pe(e,n,{get:()=>t[n],enumerable:!(i=Rt(t,n))||i.enumerable});return e},St=(e,t,r)=>(r=e!=null?yt(At(e)):{},Lt(!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),v=(e,t,r)=>new Promise((i,n)=>{var s=u=>{try{o(r.next(u))}catch(l){n(l)}},a=u=>{try{o(r.throw(u))}catch(l){n(l)}},o=u=>u.done?i(u.value):Promise.resolve(u.value).then(s,a);o((r=r.apply(e,t)).next())}),Ct=Mt((e,t)=>{var r=Object.prototype.hasOwnProperty,i="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(i=!1));function s(l,c,d){this.fn=l,this.context=c,this.once=d||!1}function a(l,c,d,f,_){if(typeof d!="function")throw new TypeError("The listener must be a function");var I=new s(d,f||l,_),$=i?i+c:c;return l._events[$]?l._events[$].fn?l._events[$]=[l._events[$],I]:l._events[$].push(I):(l._events[$]=I,l._eventsCount++),l}function o(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var l=[],c,d;if(this._eventsCount===0)return l;for(d in c=this._events)r.call(c,d)&&l.push(i?d.slice(1):d);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(c)):l},u.prototype.listeners=function(l){var c=i?i+l:l,d=this._events[c];if(!d)return[];if(d.fn)return[d.fn];for(var f=0,_=d.length,I=new Array(_);f<_;f++)I[f]=d[f].fn;return I},u.prototype.listenerCount=function(l){var c=i?i+l:l,d=this._events[c];return d?d.fn?1:d.length:0},u.prototype.emit=function(l,c,d,f,_,I){var $=i?i+l:l;if(!this._events[$])return!1;var p=this._events[$],L=arguments.length,C,y;if(p.fn){switch(p.once&&this.removeListener(l,p.fn,void 0,!0),L){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,c),!0;case 3:return p.fn.call(p.context,c,d),!0;case 4:return p.fn.call(p.context,c,d,f),!0;case 5:return p.fn.call(p.context,c,d,f,_),!0;case 6:return p.fn.call(p.context,c,d,f,_,I),!0}for(y=1,C=new Array(L-1);y<L;y++)C[y-1]=arguments[y];p.fn.apply(p.context,C)}else{var ut=p.length,V;for(y=0;y<ut;y++)switch(p[y].once&&this.removeListener(l,p[y].fn,void 0,!0),L){case 1:p[y].fn.call(p[y].context);break;case 2:p[y].fn.call(p[y].context,c);break;case 3:p[y].fn.call(p[y].context,c,d);break;case 4:p[y].fn.call(p[y].context,c,d,f);break;default:if(!C)for(V=1,C=new Array(L-1);V<L;V++)C[V-1]=arguments[V];p[y].fn.apply(p[y].context,C)}}return!0},u.prototype.on=function(l,c,d){return a(this,l,c,d,!1)},u.prototype.once=function(l,c,d){return a(this,l,c,d,!0)},u.prototype.removeListener=function(l,c,d,f){var _=i?i+l:l;if(!this._events[_])return this;if(!c)return o(this,_),this;var I=this._events[_];if(I.fn)I.fn===c&&(!f||I.once)&&(!d||I.context===d)&&o(this,_);else{for(var $=0,p=[],L=I.length;$<L;$++)(I[$].fn!==c||f&&!I[$].once||d&&I[$].context!==d)&&p.push(I[$]);p.length?this._events[_]=p.length===1?p[0]:p:o(this,_)}return this},u.prototype.removeAllListeners=function(l){var c;return l?(c=i?i+l:l,this._events[c]&&o(this,c)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=i,u.EventEmitter=u,typeof t<"u"&&(t.exports=u)});function bt(e){let t={exports:{}};return e(t,t.exports),t.exports}var Pt=Number.MAX_SAFE_INTEGER||9007199254740991,we={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Pt,MAX_SAFE_COMPONENT_LENGTH:16},kt=typeof dt=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},E=kt,ee=bt(function(e,t){let{MAX_SAFE_COMPONENT_LENGTH:r}=we,i=(t=e.exports={}).re=[],n=t.src=[],s=t.t={},a=0,o=(u,l,c)=>{let d=a++;E(d,l),s[u]=d,n[d]=l,i[d]=new RegExp(l,c?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION",`(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${n[s.NUMERICIDENTIFIER]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${n[s.NUMERICIDENTIFIERLOOSE]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASE",`(?:-(${n[s.PRERELEASEIDENTIFIER]}(?:\\.${n[s.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${n[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[s.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD",`(?:\\+(${n[s.BUILDIDENTIFIER]}(?:\\.${n[s.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${n[s.MAINVERSION]}${n[s.PRERELEASE]}?${n[s.BUILD]}?`),o("FULL",`^${n[s.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${n[s.MAINVERSIONLOOSE]}${n[s.PRERELEASELOOSE]}?${n[s.BUILD]}?`),o("LOOSE",`^${n[s.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${n[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${n[s.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:${n[s.PRERELEASE]})?${n[s.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:${n[s.PRERELEASELOOSE]})?${n[s.BUILD]}?)?)?`),o("XRANGE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAINLOOSE]}$`),o("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),o("COERCERTL",n[s.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${n[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",o("TILDE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${n[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",o("CARET",`^${n[s.LONECARET]}${n[s.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${n[s.LONECARET]}${n[s.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${n[s.GTLT]}\\s*(${n[s.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]}|${n[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${n[s.XRANGEPLAIN]})\\s+-\\s+(${n[s.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${n[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[s.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Se=/^[0-9]+$/,Be=(e,t)=>{let r=Se.test(e),i=Se.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},Ut=(e,t)=>Be(t,e),Dt={compareIdentifiers:Be,rcompareIdentifiers:Ut},{MAX_LENGTH:Ce,MAX_SAFE_INTEGER:re}=we,{re:be,t:Pe}=ee,{compareIdentifiers:H}=Dt,w=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>Ce)throw new TypeError(`version is longer than ${Ce} characters`);E("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?be[Pe.LOOSE]:be[Pe.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>re||this.major<0)throw new TypeError("Invalid major version");if(this.minor>re||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>re||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<re)return n}return i}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(E("SemVer.compare",this.version,this.options,e),!(e instanceof w)){if(typeof e=="string"&&e===this.version)return 0;e=new w(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof w||(e=new w(e,this.options)),H(this.major,e.major)||H(this.minor,e.minor)||H(this.patch,e.patch)}comparePre(e){if(e instanceof w||(e=new w(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],i=e.prerelease[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}compareBuild(e){e instanceof w||(e=new w(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}},Gt=(e,t,r)=>new w(e,r).compare(new w(t,r)),q=Gt,xt=(e,t,r)=>q(e,t,r)===0,Ft=xt,Wt=(e,t,r)=>q(e,t,r)!==0,jt=Wt,qt=(e,t,r)=>q(e,t,r)>0,Vt=qt,Ht=(e,t,r)=>q(e,t,r)>=0,Bt=Ht,Xt=(e,t,r)=>q(e,t,r)<0,Kt=Xt,Yt=(e,t,r)=>q(e,t,r)<=0,zt=Yt,Jt=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Ft(e,r,i);case"!=":return jt(e,r,i);case">":return Vt(e,r,i);case">=":return Bt(e,r,i);case"<":return Kt(e,r,i);case"<=":return zt(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}},fe=Jt,B=Symbol("SemVer ANY"),Q=class{static get ANY(){return B}constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof Q){if(e.loose===!!t.loose)return e;e=e.value}E("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===B?this.value="":this.value=this.operator+this.semver.version,E("comp",this)}parse(e){let t=this.options.loose?ke[Ue.COMPARATORLOOSE]:ke[Ue.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new w(r[2],this.options.loose):this.semver=B}toString(){return this.value}test(e){if(E("Comparator.test",e,this.options.loose),this.semver===B||e===B)return!0;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}return fe(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Q))throw new TypeError("a Comparator is required");if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""||new F(e.value,t).test(this.value);if(e.operator==="")return e.value===""||new F(this.value,t).test(e.semver);let r=!(this.operator!==">="&&this.operator!==">"||e.operator!==">="&&e.operator!==">"),i=!(this.operator!=="<="&&this.operator!=="<"||e.operator!=="<="&&e.operator!=="<"),n=this.semver.version===e.semver.version,s=!(this.operator!==">="&&this.operator!=="<="||e.operator!==">="&&e.operator!=="<="),a=fe(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),o=fe(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return r||i||n&&s||a||o}},{re:ke,t:Ue}=ee,F=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof F)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new F(e.raw,t);if(e instanceof Q)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let{loose:t}=this.options;e=e.trim();let r=t?N[R.HYPHENRANGELOOSE]:N[R.HYPHENRANGE];e=e.replace(r,ur(this.options.includePrerelease)),E("hyphen replace",e),e=e.replace(N[R.COMPARATORTRIM],Qt),E("comparator trim",e,N[R.COMPARATORTRIM]),e=(e=(e=e.replace(N[R.TILDETRIM],Zt)).replace(N[R.CARETTRIM],er)).split(/\s+/).join(" ");let i=t?N[R.COMPARATORLOOSE]:N[R.COMPARATOR];return e.split(" ").map(n=>tr(n,this.options)).join(" ").split(/\s+/).map(n=>cr(n,this.options)).filter(this.options.loose?n=>!!n.match(i):()=>!0).map(n=>new Q(n,this.options))}intersects(e,t){if(!(e instanceof F))throw new TypeError("a Range is required");return this.set.some(r=>De(r,t)&&e.set.some(i=>De(i,t)&&r.every(n=>i.every(s=>n.intersects(s,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(dr(this.set[t],e,this.options))return!0;return!1}},{re:N,t:R,comparatorTrimReplace:Qt,tildeTrimReplace:Zt,caretTrimReplace:er}=ee,De=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},tr=(e,t)=>(E("comp",e,t),e=nr(e,t),E("caret",e),e=rr(e,t),E("tildes",e),e=or(e,t),E("xrange",e),e=lr(e,t),E("stars",e),e),A=e=>!e||e.toLowerCase()==="x"||e==="*",rr=(e,t)=>e.trim().split(/\s+/).map(r=>ir(r,t)).join(" "),ir=(e,t)=>{let r=t.loose?N[R.TILDELOOSE]:N[R.TILDE];return e.replace(r,(i,n,s,a,o)=>{let u;return E("tilde",e,i,n,s,a,o),A(n)?u="":A(s)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:A(a)?u=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:o?(E("replaceTilde pr",o),u=`>=${n}.${s}.${a}-${o} <${n}.${+s+1}.0-0`):u=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,E("tilde return",u),u})},nr=(e,t)=>e.trim().split(/\s+/).map(r=>sr(r,t)).join(" "),sr=(e,t)=>{E("caret",e,t);let r=t.loose?N[R.CARETLOOSE]:N[R.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,o,u)=>{let l;return E("caret",e,n,s,a,o,u),A(s)?l="":A(a)?l=`>=${s}.0.0${i} <${+s+1}.0.0-0`:A(o)?l=s==="0"?`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:u?(E("replaceCaret pr",u),l=s==="0"?a==="0"?`>=${s}.${a}.${o}-${u} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}-${u} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o}-${u} <${+s+1}.0.0-0`):(E("no pr"),l=s==="0"?a==="0"?`>=${s}.${a}.${o}${i} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o} <${+s+1}.0.0-0`),E("caret return",l),l})},or=(e,t)=>(E("replaceXRanges",e,t),e.split(/\s+/).map(r=>ar(r,t)).join(" ")),ar=(e,t)=>{e=e.trim();let r=t.loose?N[R.XRANGELOOSE]:N[R.XRANGE];return e.replace(r,(i,n,s,a,o,u)=>{E("xRange",e,i,n,s,a,o,u);let l=A(s),c=l||A(a),d=c||A(o),f=d;return n==="="&&f&&(n=""),u=t.includePrerelease?"-0":"",l?i=n===">"||n==="<"?"<0.0.0-0":"*":n&&f?(c&&(a=0),o=0,n===">"?(n=">=",c?(s=+s+1,a=0,o=0):(a=+a+1,o=0)):n==="<="&&(n="<",c?s=+s+1:a=+a+1),n==="<"&&(u="-0"),i=`${n+s}.${a}.${o}${u}`):c?i=`>=${s}.0.0${u} <${+s+1}.0.0-0`:d&&(i=`>=${s}.${a}.0${u} <${s}.${+a+1}.0-0`),E("xRange return",i),i})},lr=(e,t)=>(E("replaceStars",e,t),e.trim().replace(N[R.STAR],"")),cr=(e,t)=>(E("replaceGTE0",e,t),e.trim().replace(N[t.includePrerelease?R.GTE0PRE:R.GTE0],"")),ur=e=>(t,r,i,n,s,a,o,u,l,c,d,f,_)=>`${r=A(i)?"":A(n)?`>=${i}.0.0${e?"-0":""}`:A(s)?`>=${i}.${n}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=A(l)?"":A(c)?`<${+l+1}.0.0-0`:A(d)?`<${l}.${+c+1}.0-0`:f?`<=${l}.${c}.${d}-${f}`:e?`<${l}.${c}.${+d+1}-0`:`<=${u}`}`.trim(),dr=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(E(e[i].semver),e[i].semver!==Q.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0},hr=(e,t,r)=>{try{t=new F(t,r)}catch{return!1}return t.test(e)},{MAX_LENGTH:pr}=we,{re:Ge,t:xe}=ee,mr=(e,t)=>{if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w)return e;if(typeof e!="string"||e.length>pr||!(t.loose?Ge[xe.LOOSE]:Ge[xe.FULL]).test(e))return null;try{return new w(e,t)}catch{return null}},Er=mr,{re:ie,t:ne}=ee,fr=(e,t)=>{if(e instanceof w)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;let r=null;if((t=t||{}).rtl){let i;for(;(i=ie[ne.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),ie[ne.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;ie[ne.COERCERTL].lastIndex=-1}else r=e.match(ie[ne.COERCE]);return r===null?null:Er(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};function gr(e){return String.fromCharCode(parseInt(e.slice(1),16))}function _r(e){return`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`}function vr(e){return btoa(encodeURIComponent(e).replace(/%[0-9A-F]{2}/g,gr))}function Ir(e){return decodeURIComponent(Array.from(atob(e),_r).join(""))}function Xe(e){return vr(JSON.stringify(e))}function yr(e){return JSON.parse(Ir(e))}function K(e){return typeof e>"u"}function wr(e){return e===null}function Ke(e){return wr(e)||K(e)}function Rr(e){return Ke(e)?!1:!K(e.jsonrpc)&&!K(e.id)&&(!K(e.result)||!K(e.error))}function $r(e){return Ke(e)?!1:typeof e=="number"&&Object.values(ve).includes(e)}function ue(e){if(!e)return!0;for(let t in e)if(Object.hasOwnProperty.call(e,t))return!1;return!0}var g={};function Ii(e,t){return Object.assign(g,t),e}var Nr={"magic-sdk":"magic-sdk","@magic-sdk/react-native":"magic-sdk-rn","@magic-sdk/react-native-bare":"magic-sdk-rn-bare","@magic-sdk/react-native-expo":"magic-sdk-rn-expo"},D=class extends Error{constructor(e,t){super(`Magic SDK Error: [${e}] ${t}`),this.code=e,this.rawMessage=t,this.__proto__=Error,Object.setPrototypeOf(this,D.prototype)}},de=class extends Error{constructor(e){super(),this.__proto__=Error;let t=Number(e?.code);this.rawMessage=e?.message||"Internal error",this.code=$r(t)?t:ve.InternalError,this.message=`Magic RPC Error: [${this.code}] ${this.rawMessage}`,this.data=e?.data||void 0,Object.setPrototypeOf(this,de.prototype)}},te=class{constructor(e,t){this.code=e,this.rawMessage=t,this.message=`Magic SDK Warning: [${e}] ${t}`}log(){console.warn(this.message)}},Ye=class extends Error{constructor(e,t,r,i){super(`Magic Extension Error (${e.name}): [${t}] ${r}`),this.code=t,this.rawMessage=r,this.data=i,this.__proto__=Error,Object.setPrototypeOf(this,Ye.prototype)}},Fe=class{constructor(e,t,r){this.code=t,this.rawMessage=r,this.message=`Magic Extension Warning (${e.name}): [${t}] ${r}`}log(){console.warn(this.message)}};function Ar(){return new D(U.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function Or(){return new D(U.ModalNotReady,"Modal is not ready.")}function Mr(){return new D(U.MalformedResponse,"Response from the Magic iframe is malformed.")}function Tr(e){return new D(U.ExtensionNotInitialized,`Extensions must be initialized with a Magic SDK instance before \`Extension.${e}\` can be accessed. Do not invoke \`Extension.${e}\` inside an extension constructor.`)}function Lr(e){let t=`Some extensions are incompatible with \`${g.sdkName}@${g.version}\`:`;return e.filter(r=>typeof r.compat<"u"&&r.compat!==null).forEach(r=>{let i=r.compat[g.sdkName];typeof i=="string"?t+=`
|
|
1
|
+
import{p as dt}from"./index-CGCvheGi.js";var U=(e=>(e.MissingApiKey="MISSING_API_KEY",e.ModalNotReady="MODAL_NOT_READY",e.MalformedResponse="MALFORMED_RESPONSE",e.InvalidArgument="INVALID_ARGUMENT",e.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",e.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",e))(U||{}),j=(e=>(e.SyncWeb3Method="SYNC_WEB3_METHOD",e.DuplicateIframe="DUPLICATE_IFRAME",e.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",e.DeprecationNotice="DEPRECATION_NOTICE",e.ProductAnnouncement="ANNOUNCEMENT",e))(j||{}),ve=(e=>(e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",e[e.MagicLinkExpired=-10001]="MagicLinkExpired",e[e.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",e[e.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",e[e.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",e[e.UpdateEmailFailed=-10004]="UpdateEmailFailed",e[e.UserRequestEditEmail=-10005]="UserRequestEditEmail",e[e.InactiveRecipient=-10010]="InactiveRecipient",e[e.AccessDeniedToUser=-10011]="AccessDeniedToUser",e[e.RedirectLoginComplete=-10015]="RedirectLoginComplete",e))(ve||{}),M=(e=>(e.MetaMask="metamask",e.CoinbaseWallet="coinbase_wallet",e))(M||{}),ae=(e=>(e.WalletSelected="wallet_selected",e.WalletConnected="wallet_connected",e.WalletRejected="wallet_rejected",e))(ae||{}),h=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e))(h||{}),k=(e=>(e.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",e.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",e.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",e.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",e.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",e.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",e.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",e))(k||{}),ce=(e=>(e.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",e))(ce||{}),ht=(e=>(e.UpdateEmail="update-email",e.MFA="mfa",e.Recovery="recovery",e))(ht||{}),pt=(e=>(e.Retry="retry",e))(pt||{}),mt=(e=>(e.EmailSent="email-sent",e.EmailNotDeliverable="email-not-deliverable",e))(mt||{}),X=(e=>(e.VerifyEmailOtp="verify-email-otp",e.Cancel="cancel",e))(X||{}),Et=(e=>(e.EmailOTPSent="email-otp-sent",e.InvalidEmailOtp="invalid-email-otp",e.ExpiredEmailOtp="expired-email-otp",e))(Et||{}),ge=(e=>(e.Retry="device-retry",e))(ge||{}),ft=(e=>(e.DeviceApproved="device-approved",e.DeviceNeedsApproval="device-needs-approval",e.DeviceVerificationLinkExpired="device-verification-link-expired",e.DeviceVerificationEmailSent="device-verification-email-sent",e))(ft||{}),b=(e=>(e.Retry="Recency/auth-factor-retry",e.Cancel="Recency/auth-factor-verification-cancel",e.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",e))(b||{}),gt=(e=>(e.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",e.PrimaryAuthFactorVerified="Recency/auth-factor-verified",e.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",e.EmailExpired="Recency/auth-factor-verification-email-expired",e.EmailSent="Recency/auth-factor-verification-email-sent",e.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",e))(gt||{}),P=(e=>(e.RetryWithNewEmail="UpdateEmail/retry-with-new-email",e.Cancel="UpdateEmail/new-email-verification-cancel",e.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",e))(P||{}),_t=(e=>(e.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",e.EmailUpdated="UpdateEmail/email-updated",e.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",e.EmailExpired="UpdateEmail/new-email-verification-email-expired",e.EmailSent="UpdateEmail/new-email-verification-email-sent",e.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",e.InvalidEmail="UpdateEmail/new-email-invalid",e.EmailAlreadyExists="UpdateEmail/new-email-already-exists",e))(_t||{}),vt=(e=>(e.Harmony="HARMONY",e))(vt||{}),It=(e=>(e.PhoneNumber="phone_number",e))(It||{}),Ee={VITE_BASE_URL:"https://cdn.decentraland.org/@dcl/landing-site/0.0.1-23658354807.commit-e695ac8"},yt=Object.create,pe=Object.defineProperty,wt=Object.defineProperties,Rt=Object.getOwnPropertyDescriptor,$t=Object.getOwnPropertyDescriptors,Nt=Object.getOwnPropertyNames,Te=Object.getOwnPropertySymbols,At=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,Le=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ie=(e,t)=>{for(var r in t||(t={}))He.call(t,r)&&Le(e,r,t[r]);if(Te)for(var r of Te(t))Ot.call(t,r)&&Le(e,r,t[r]);return e},ye=(e,t)=>wt(e,$t(t)),Mt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Tt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Lt=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Nt(t))!He.call(e,n)&&n!==r&&pe(e,n,{get:()=>t[n],enumerable:!(i=Rt(t,n))||i.enumerable});return e},St=(e,t,r)=>(r=e!=null?yt(At(e)):{},Lt(!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),v=(e,t,r)=>new Promise((i,n)=>{var s=u=>{try{o(r.next(u))}catch(l){n(l)}},a=u=>{try{o(r.throw(u))}catch(l){n(l)}},o=u=>u.done?i(u.value):Promise.resolve(u.value).then(s,a);o((r=r.apply(e,t)).next())}),Ct=Mt((e,t)=>{var r=Object.prototype.hasOwnProperty,i="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(i=!1));function s(l,c,d){this.fn=l,this.context=c,this.once=d||!1}function a(l,c,d,f,_){if(typeof d!="function")throw new TypeError("The listener must be a function");var I=new s(d,f||l,_),$=i?i+c:c;return l._events[$]?l._events[$].fn?l._events[$]=[l._events[$],I]:l._events[$].push(I):(l._events[$]=I,l._eventsCount++),l}function o(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var l=[],c,d;if(this._eventsCount===0)return l;for(d in c=this._events)r.call(c,d)&&l.push(i?d.slice(1):d);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(c)):l},u.prototype.listeners=function(l){var c=i?i+l:l,d=this._events[c];if(!d)return[];if(d.fn)return[d.fn];for(var f=0,_=d.length,I=new Array(_);f<_;f++)I[f]=d[f].fn;return I},u.prototype.listenerCount=function(l){var c=i?i+l:l,d=this._events[c];return d?d.fn?1:d.length:0},u.prototype.emit=function(l,c,d,f,_,I){var $=i?i+l:l;if(!this._events[$])return!1;var p=this._events[$],L=arguments.length,C,y;if(p.fn){switch(p.once&&this.removeListener(l,p.fn,void 0,!0),L){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,c),!0;case 3:return p.fn.call(p.context,c,d),!0;case 4:return p.fn.call(p.context,c,d,f),!0;case 5:return p.fn.call(p.context,c,d,f,_),!0;case 6:return p.fn.call(p.context,c,d,f,_,I),!0}for(y=1,C=new Array(L-1);y<L;y++)C[y-1]=arguments[y];p.fn.apply(p.context,C)}else{var ut=p.length,V;for(y=0;y<ut;y++)switch(p[y].once&&this.removeListener(l,p[y].fn,void 0,!0),L){case 1:p[y].fn.call(p[y].context);break;case 2:p[y].fn.call(p[y].context,c);break;case 3:p[y].fn.call(p[y].context,c,d);break;case 4:p[y].fn.call(p[y].context,c,d,f);break;default:if(!C)for(V=1,C=new Array(L-1);V<L;V++)C[V-1]=arguments[V];p[y].fn.apply(p[y].context,C)}}return!0},u.prototype.on=function(l,c,d){return a(this,l,c,d,!1)},u.prototype.once=function(l,c,d){return a(this,l,c,d,!0)},u.prototype.removeListener=function(l,c,d,f){var _=i?i+l:l;if(!this._events[_])return this;if(!c)return o(this,_),this;var I=this._events[_];if(I.fn)I.fn===c&&(!f||I.once)&&(!d||I.context===d)&&o(this,_);else{for(var $=0,p=[],L=I.length;$<L;$++)(I[$].fn!==c||f&&!I[$].once||d&&I[$].context!==d)&&p.push(I[$]);p.length?this._events[_]=p.length===1?p[0]:p:o(this,_)}return this},u.prototype.removeAllListeners=function(l){var c;return l?(c=i?i+l:l,this._events[c]&&o(this,c)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=i,u.EventEmitter=u,typeof t<"u"&&(t.exports=u)});function bt(e){let t={exports:{}};return e(t,t.exports),t.exports}var Pt=Number.MAX_SAFE_INTEGER||9007199254740991,we={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Pt,MAX_SAFE_COMPONENT_LENGTH:16},kt=typeof dt=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},E=kt,ee=bt(function(e,t){let{MAX_SAFE_COMPONENT_LENGTH:r}=we,i=(t=e.exports={}).re=[],n=t.src=[],s=t.t={},a=0,o=(u,l,c)=>{let d=a++;E(d,l),s[u]=d,n[d]=l,i[d]=new RegExp(l,c?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION",`(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})\\.(${n[s.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})\\.(${n[s.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${n[s.NUMERICIDENTIFIER]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${n[s.NUMERICIDENTIFIERLOOSE]}|${n[s.NONNUMERICIDENTIFIER]})`),o("PRERELEASE",`(?:-(${n[s.PRERELEASEIDENTIFIER]}(?:\\.${n[s.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${n[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[s.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD",`(?:\\+(${n[s.BUILDIDENTIFIER]}(?:\\.${n[s.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${n[s.MAINVERSION]}${n[s.PRERELEASE]}?${n[s.BUILD]}?`),o("FULL",`^${n[s.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${n[s.MAINVERSIONLOOSE]}${n[s.PRERELEASELOOSE]}?${n[s.BUILD]}?`),o("LOOSE",`^${n[s.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${n[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${n[s.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:\\.(${n[s.XRANGEIDENTIFIER]})(?:${n[s.PRERELEASE]})?${n[s.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[s.XRANGEIDENTIFIERLOOSE]})(?:${n[s.PRERELEASELOOSE]})?${n[s.BUILD]}?)?)?`),o("XRANGE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${n[s.GTLT]}\\s*${n[s.XRANGEPLAINLOOSE]}$`),o("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),o("COERCERTL",n[s.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${n[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",o("TILDE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${n[s.LONETILDE]}${n[s.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${n[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",o("CARET",`^${n[s.LONECARET]}${n[s.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${n[s.LONECARET]}${n[s.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${n[s.GTLT]}\\s*(${n[s.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${n[s.GTLT]}\\s*(${n[s.LOOSEPLAIN]}|${n[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${n[s.XRANGEPLAIN]})\\s+-\\s+(${n[s.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${n[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[s.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Se=/^[0-9]+$/,Be=(e,t)=>{let r=Se.test(e),i=Se.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},Ut=(e,t)=>Be(t,e),Dt={compareIdentifiers:Be,rcompareIdentifiers:Ut},{MAX_LENGTH:Ce,MAX_SAFE_INTEGER:re}=we,{re:be,t:Pe}=ee,{compareIdentifiers:H}=Dt,w=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>Ce)throw new TypeError(`version is longer than ${Ce} characters`);E("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?be[Pe.LOOSE]:be[Pe.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>re||this.major<0)throw new TypeError("Invalid major version");if(this.minor>re||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>re||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<re)return n}return i}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(E("SemVer.compare",this.version,this.options,e),!(e instanceof w)){if(typeof e=="string"&&e===this.version)return 0;e=new w(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof w||(e=new w(e,this.options)),H(this.major,e.major)||H(this.minor,e.minor)||H(this.patch,e.patch)}comparePre(e){if(e instanceof w||(e=new w(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],i=e.prerelease[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}compareBuild(e){e instanceof w||(e=new w(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(E("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r!==i)return H(r,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}},Gt=(e,t,r)=>new w(e,r).compare(new w(t,r)),q=Gt,xt=(e,t,r)=>q(e,t,r)===0,Ft=xt,Wt=(e,t,r)=>q(e,t,r)!==0,jt=Wt,qt=(e,t,r)=>q(e,t,r)>0,Vt=qt,Ht=(e,t,r)=>q(e,t,r)>=0,Bt=Ht,Xt=(e,t,r)=>q(e,t,r)<0,Kt=Xt,Yt=(e,t,r)=>q(e,t,r)<=0,zt=Yt,Jt=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Ft(e,r,i);case"!=":return jt(e,r,i);case">":return Vt(e,r,i);case">=":return Bt(e,r,i);case"<":return Kt(e,r,i);case"<=":return zt(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}},fe=Jt,B=Symbol("SemVer ANY"),Q=class{static get ANY(){return B}constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof Q){if(e.loose===!!t.loose)return e;e=e.value}E("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===B?this.value="":this.value=this.operator+this.semver.version,E("comp",this)}parse(e){let t=this.options.loose?ke[Ue.COMPARATORLOOSE]:ke[Ue.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new w(r[2],this.options.loose):this.semver=B}toString(){return this.value}test(e){if(E("Comparator.test",e,this.options.loose),this.semver===B||e===B)return!0;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}return fe(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Q))throw new TypeError("a Comparator is required");if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""||new F(e.value,t).test(this.value);if(e.operator==="")return e.value===""||new F(this.value,t).test(e.semver);let r=!(this.operator!==">="&&this.operator!==">"||e.operator!==">="&&e.operator!==">"),i=!(this.operator!=="<="&&this.operator!=="<"||e.operator!=="<="&&e.operator!=="<"),n=this.semver.version===e.semver.version,s=!(this.operator!==">="&&this.operator!=="<="||e.operator!==">="&&e.operator!=="<="),a=fe(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),o=fe(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return r||i||n&&s||a||o}},{re:ke,t:Ue}=ee,F=class{constructor(e,t){if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof F)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new F(e.raw,t);if(e instanceof Q)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let{loose:t}=this.options;e=e.trim();let r=t?N[R.HYPHENRANGELOOSE]:N[R.HYPHENRANGE];e=e.replace(r,ur(this.options.includePrerelease)),E("hyphen replace",e),e=e.replace(N[R.COMPARATORTRIM],Qt),E("comparator trim",e,N[R.COMPARATORTRIM]),e=(e=(e=e.replace(N[R.TILDETRIM],Zt)).replace(N[R.CARETTRIM],er)).split(/\s+/).join(" ");let i=t?N[R.COMPARATORLOOSE]:N[R.COMPARATOR];return e.split(" ").map(n=>tr(n,this.options)).join(" ").split(/\s+/).map(n=>cr(n,this.options)).filter(this.options.loose?n=>!!n.match(i):()=>!0).map(n=>new Q(n,this.options))}intersects(e,t){if(!(e instanceof F))throw new TypeError("a Range is required");return this.set.some(r=>De(r,t)&&e.set.some(i=>De(i,t)&&r.every(n=>i.every(s=>n.intersects(s,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new w(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(dr(this.set[t],e,this.options))return!0;return!1}},{re:N,t:R,comparatorTrimReplace:Qt,tildeTrimReplace:Zt,caretTrimReplace:er}=ee,De=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},tr=(e,t)=>(E("comp",e,t),e=nr(e,t),E("caret",e),e=rr(e,t),E("tildes",e),e=or(e,t),E("xrange",e),e=lr(e,t),E("stars",e),e),A=e=>!e||e.toLowerCase()==="x"||e==="*",rr=(e,t)=>e.trim().split(/\s+/).map(r=>ir(r,t)).join(" "),ir=(e,t)=>{let r=t.loose?N[R.TILDELOOSE]:N[R.TILDE];return e.replace(r,(i,n,s,a,o)=>{let u;return E("tilde",e,i,n,s,a,o),A(n)?u="":A(s)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:A(a)?u=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:o?(E("replaceTilde pr",o),u=`>=${n}.${s}.${a}-${o} <${n}.${+s+1}.0-0`):u=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,E("tilde return",u),u})},nr=(e,t)=>e.trim().split(/\s+/).map(r=>sr(r,t)).join(" "),sr=(e,t)=>{E("caret",e,t);let r=t.loose?N[R.CARETLOOSE]:N[R.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,o,u)=>{let l;return E("caret",e,n,s,a,o,u),A(s)?l="":A(a)?l=`>=${s}.0.0${i} <${+s+1}.0.0-0`:A(o)?l=s==="0"?`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:u?(E("replaceCaret pr",u),l=s==="0"?a==="0"?`>=${s}.${a}.${o}-${u} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}-${u} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o}-${u} <${+s+1}.0.0-0`):(E("no pr"),l=s==="0"?a==="0"?`>=${s}.${a}.${o}${i} <${s}.${a}.${+o+1}-0`:`>=${s}.${a}.${o}${i} <${s}.${+a+1}.0-0`:`>=${s}.${a}.${o} <${+s+1}.0.0-0`),E("caret return",l),l})},or=(e,t)=>(E("replaceXRanges",e,t),e.split(/\s+/).map(r=>ar(r,t)).join(" ")),ar=(e,t)=>{e=e.trim();let r=t.loose?N[R.XRANGELOOSE]:N[R.XRANGE];return e.replace(r,(i,n,s,a,o,u)=>{E("xRange",e,i,n,s,a,o,u);let l=A(s),c=l||A(a),d=c||A(o),f=d;return n==="="&&f&&(n=""),u=t.includePrerelease?"-0":"",l?i=n===">"||n==="<"?"<0.0.0-0":"*":n&&f?(c&&(a=0),o=0,n===">"?(n=">=",c?(s=+s+1,a=0,o=0):(a=+a+1,o=0)):n==="<="&&(n="<",c?s=+s+1:a=+a+1),n==="<"&&(u="-0"),i=`${n+s}.${a}.${o}${u}`):c?i=`>=${s}.0.0${u} <${+s+1}.0.0-0`:d&&(i=`>=${s}.${a}.0${u} <${s}.${+a+1}.0-0`),E("xRange return",i),i})},lr=(e,t)=>(E("replaceStars",e,t),e.trim().replace(N[R.STAR],"")),cr=(e,t)=>(E("replaceGTE0",e,t),e.trim().replace(N[t.includePrerelease?R.GTE0PRE:R.GTE0],"")),ur=e=>(t,r,i,n,s,a,o,u,l,c,d,f,_)=>`${r=A(i)?"":A(n)?`>=${i}.0.0${e?"-0":""}`:A(s)?`>=${i}.${n}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=A(l)?"":A(c)?`<${+l+1}.0.0-0`:A(d)?`<${l}.${+c+1}.0-0`:f?`<=${l}.${c}.${d}-${f}`:e?`<${l}.${c}.${+d+1}-0`:`<=${u}`}`.trim(),dr=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(E(e[i].semver),e[i].semver!==Q.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0},hr=(e,t,r)=>{try{t=new F(t,r)}catch{return!1}return t.test(e)},{MAX_LENGTH:pr}=we,{re:Ge,t:xe}=ee,mr=(e,t)=>{if(t&&typeof t=="object"||(t={loose:!!t,includePrerelease:!1}),e instanceof w)return e;if(typeof e!="string"||e.length>pr||!(t.loose?Ge[xe.LOOSE]:Ge[xe.FULL]).test(e))return null;try{return new w(e,t)}catch{return null}},Er=mr,{re:ie,t:ne}=ee,fr=(e,t)=>{if(e instanceof w)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;let r=null;if((t=t||{}).rtl){let i;for(;(i=ie[ne.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),ie[ne.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;ie[ne.COERCERTL].lastIndex=-1}else r=e.match(ie[ne.COERCE]);return r===null?null:Er(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};function gr(e){return String.fromCharCode(parseInt(e.slice(1),16))}function _r(e){return`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`}function vr(e){return btoa(encodeURIComponent(e).replace(/%[0-9A-F]{2}/g,gr))}function Ir(e){return decodeURIComponent(Array.from(atob(e),_r).join(""))}function Xe(e){return vr(JSON.stringify(e))}function yr(e){return JSON.parse(Ir(e))}function K(e){return typeof e>"u"}function wr(e){return e===null}function Ke(e){return wr(e)||K(e)}function Rr(e){return Ke(e)?!1:!K(e.jsonrpc)&&!K(e.id)&&(!K(e.result)||!K(e.error))}function $r(e){return Ke(e)?!1:typeof e=="number"&&Object.values(ve).includes(e)}function ue(e){if(!e)return!0;for(let t in e)if(Object.hasOwnProperty.call(e,t))return!1;return!0}var g={};function Ii(e,t){return Object.assign(g,t),e}var Nr={"magic-sdk":"magic-sdk","@magic-sdk/react-native":"magic-sdk-rn","@magic-sdk/react-native-bare":"magic-sdk-rn-bare","@magic-sdk/react-native-expo":"magic-sdk-rn-expo"},D=class extends Error{constructor(e,t){super(`Magic SDK Error: [${e}] ${t}`),this.code=e,this.rawMessage=t,this.__proto__=Error,Object.setPrototypeOf(this,D.prototype)}},de=class extends Error{constructor(e){super(),this.__proto__=Error;let t=Number(e?.code);this.rawMessage=e?.message||"Internal error",this.code=$r(t)?t:ve.InternalError,this.message=`Magic RPC Error: [${this.code}] ${this.rawMessage}`,this.data=e?.data||void 0,Object.setPrototypeOf(this,de.prototype)}},te=class{constructor(e,t){this.code=e,this.rawMessage=t,this.message=`Magic SDK Warning: [${e}] ${t}`}log(){console.warn(this.message)}},Ye=class extends Error{constructor(e,t,r,i){super(`Magic Extension Error (${e.name}): [${t}] ${r}`),this.code=t,this.rawMessage=r,this.data=i,this.__proto__=Error,Object.setPrototypeOf(this,Ye.prototype)}},Fe=class{constructor(e,t,r){this.code=t,this.rawMessage=r,this.message=`Magic Extension Warning (${e.name}): [${t}] ${r}`}log(){console.warn(this.message)}};function Ar(){return new D(U.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function Or(){return new D(U.ModalNotReady,"Modal is not ready.")}function Mr(){return new D(U.MalformedResponse,"Response from the Magic iframe is malformed.")}function Tr(e){return new D(U.ExtensionNotInitialized,`Extensions must be initialized with a Magic SDK instance before \`Extension.${e}\` can be accessed. Do not invoke \`Extension.${e}\` inside an extension constructor.`)}function Lr(e){let t=`Some extensions are incompatible with \`${g.sdkName}@${g.version}\`:`;return e.filter(r=>typeof r.compat<"u"&&r.compat!==null).forEach(r=>{let i=r.compat[g.sdkName];typeof i=="string"?t+=`
|
|
2
2
|
- Extension \`${r.name}\` supports version(s) \`${i}\``:i||(t+=`
|
|
3
3
|
- Extension \`${r.name}\` does not support ${g.platform} environments.`)}),new D(U.IncompatibleExtensions,t)}function Sr(e){let t=r=>{let i=r+1,n=i%10,s=i%100;return n===1&&s!==11?`${i}st`:n===2&&s!==12?`${i}nd`:n===3&&s!==13?`${i}rd`:`${i}th`};return new D(U.InvalidArgument,`Invalid ${t(e.argument)} argument given to \`${e.procedure}\`.
|
|
4
4
|
Expected: \`${e.expected}\`
|