{"version":3,"file":"ListOfUiSections-6I2gol8L.js","sources":["../../../node_modules/@mui/icons-material/esm/AutoFixHigh.js","../../../node_modules/@mui/icons-material/esm/Filter1.js","../../../node_modules/@mui/icons-material/esm/Group.js","../../../node_modules/@mui/icons-material/esm/Lightbulb.js","../../../node_modules/@mui/icons-material/esm/Store.js","../../../node_modules/@mui/icons-material/esm/Warning.js","../../../frontend/src/Components/UiSection/UiSection.tsx","../../../frontend/src/Utils/Users/customUi.ts","../../../frontend/src/Components/Entities/Home/SpaceInfoBox/SpaceInfoBox.tsx","../../../frontend/src/Components/Entities/Home/SpaceSponsor/SpaceSponsor.tsx","../../../frontend/src/Components/Entities/Home/SpaceAffiliatesList/Affiliate.tsx","../../../frontend/src/Components/Entities/Home/SpaceAffiliatesList/AffiliatesModal.tsx","../../../frontend/src/Components/Entities/Home/SpaceAffiliatesList/SpaceAffiliatesList.tsx","../../../frontend/src/Components/Entities/Home/Header.tsx","../../../frontend/src/Components/MessagingBloc/MessagingBloc.tsx","../../../frontend/src/Components/Entities/About/SpaceStats.tsx","../../../frontend/src/Utils/UiSections.ts","../../../frontend/src/Components/UiSection/CommunicationListOfCards.tsx","../../../frontend/src/Components/UiSection/ListOfUiSections.tsx"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M7.5 5.6 10 7 8.6 4.5 10 2 7.5 3.4 5 2l1.4 2.5L5 7zm12 9.8L17 14l1.4 2.5L17 19l2.5-1.4L22 19l-1.4-2.5L22 14zM22 2l-2.5 1.4L17 2l1.4 2.5L17 7l2.5-1.4L22 7l-1.4-2.5zm-7.63 5.29a.996.996 0 0 0-1.41 0L1.29 18.96c-.39.39-.39 1.02 0 1.41l2.34 2.34c.39.39 1.02.39 1.41 0L16.7 11.05c.39-.39.39-1.02 0-1.41zm-1.03 5.49-2.12-2.12 2.44-2.44 2.12 2.12z\"\n}), 'AutoFixHigh');","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3zm11 10h2V5h-4v2h2zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2m0 16H7V3h14z\"\n}), 'Filter1');","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5\"\n}), 'Group');","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7\"\n}), 'Lightbulb');","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M20 4H4v2h16zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6zm-9 4H6v-4h6z\"\n}), 'Store');","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z\"\n}), 'Warning');","import React from 'react';\nimport { Box, Button, Container, Grid2 as Grid, Typography } from '@mui/material';\n\nimport { cloudinaryImageUrl } from '../../Services/Cloudinary';\nimport BaseImage from '../DesignSystem/BaseImage/BaseImage';\nimport VideoEmbed from '../DesignSystem/VideoEmbed';\nimport { HtmlToMUIMapper } from '../../Utils';\nimport { UiSection as UiSectionTypes } from '../../Utils/Types/UiSection';\n\nexport interface UiSectionProps {\n section?: UiSectionTypes;\n backgroundColor: string;\n titleTypographyComponent?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n children?: React.ReactNode;\n}\n\nfunction UiSection({\n section,\n backgroundColor,\n titleTypographyComponent = 'h2',\n children,\n ...rest\n}: UiSectionProps) {\n const {\n title = null,\n content = null,\n cta_label: ctaLabel = null,\n cta_url: ctaUrl = null,\n picture = null,\n video_embed: videoUrl = null,\n alignment,\n } = section || {};\n const pictureUrl = cloudinaryImageUrl(picture?.s3_key, 'h_460,q_auto:low,c_fill', picture?.title);\n const hasPictureOrVideo = !!pictureUrl || !!videoUrl;\n const isCentered = alignment === 'center';\n\n const renderPictureOrVideo = () => {\n if (videoUrl) {\n return ;\n }\n return ;\n };\n\n const ctaButton = ctaLabel && ctaUrl && (\n \n );\n\n // Build layout based on alignment\n const gridDirection = alignment === 'right' ? 'row-reverse' : 'row';\n const contentWidth = hasPictureOrVideo && !isCentered ? 7 : 12;\n const justifyContent = isCentered ? 'center' : 'flex-start';\n\n return (\n \n \n \n \n {title && (\n \n {title}\n \n )}\n\n {/* For centered layout, render media between title and content */}\n {hasPictureOrVideo && isCentered && (\n {renderPictureOrVideo()}\n )}\n\n \n\n {ctaButton && (\n \n {ctaButton}\n \n )}\n \n\n {/* For left/right layout, render media in its own column */}\n {hasPictureOrVideo && !isCentered && (\n {renderPictureOrVideo()}\n )}\n \n\n {children}\n \n \n );\n}\n\nexport default UiSection;\n","import { Space } from '../Types/Space';\n\nconst isSDO = (space: Space) => {\n return space.slug === window.runtimeEnv?.REACT_APP_SDO_SPACE_SLUG;\n};\n\nexport default {\n isSDO,\n};\n","import React from 'react';\nimport { Box, Card, Grid2 as Grid, Link as MuiLink, Typography } from '@mui/material';\nimport GroupIcon from '@mui/icons-material/Group';\nimport { FormattedMessage } from 'react-intl';\nimport { Link } from 'react-router-dom';\n\nimport CustomIcon from '../../../DesignSystem/CustomIcon';\nimport customUi from '../../../../Utils/Users/customUi';\nimport { Icons } from '../../../../Themes';\nimport { HtmlToMUIMapper } from '../../../../Utils';\n\nfunction MetaInfo({ icon, label }: any) {\n return (\n \n {icon}\n \n {label}\n \n \n );\n}\n\nfunction SpaceInfoBox({ space, title, content, enabled, isMobile, isFetching }: any) {\n if (isFetching) {\n return ;\n }\n\n if (!enabled) {\n return ;\n }\n\n return (\n \n \n \n {title}\n \n \n \n {!customUi.isSDO(space) && space.users_count > 0 && (\n \n \n }\n icon={}\n />\n \n )}\n\n {space.ideas_count > 0 && (\n \n \n }\n icon={}\n />\n \n )}\n \n\n \n \n \n\n \n \n \n \n \n \n );\n}\n\nexport default SpaceInfoBox;\n","import React from 'react';\nimport { Box, Button, Card, Typography } from '@mui/material';\nimport { styled } from '@mui/material/styles';\nimport { FormattedMessage } from 'react-intl';\nimport PropTypes from 'prop-types';\n\nimport CloudinaryImage from '../../../DesignSystem/CloudinaryImage';\n\nconst LOGO_HEIGHT = 38;\n\nconst StyledCard = styled(Card)(({ theme: { breakpoints, spacing } }: any) => ({\n padding: spacing(2, 3),\n display: 'flex',\n alignItems: 'center',\n [breakpoints.down('sm')]: {\n flexDirection: 'column',\n },\n}));\n\nconst StyledCloudinaryImage = styled(CloudinaryImage)(\n ({ theme: { breakpoints, spacing } }: any) => ({\n marginRight: 'auto',\n [breakpoints.down('sm')]: {\n margin: spacing(2, 0),\n },\n }),\n);\n\nfunction SpaceSponsor({ sponsor }: any) {\n return (\n \n \n \n \n \n \n\n \n\n \n \n );\n}\n\nSpaceSponsor.propTypes = {\n sponsor: PropTypes.shape({\n name: PropTypes.string,\n slug: PropTypes.string,\n brand_logo: PropTypes.shape({\n s3_key: PropTypes.string,\n }),\n }).isRequired,\n};\n\nexport default SpaceSponsor;\n","import React from 'react';\nimport { Box, CardActionArea, Typography } from '@mui/material';\nimport PropTypes from 'prop-types';\n\nimport CloudinaryImage from '../../../DesignSystem/CloudinaryImage';\n\nconst LOGO_WIDTH = 80;\nconst LOGO_HEIGHT = 32;\n\nfunction Affiliate({ affiliate }: any) {\n return (\n \n \n \n \n \n\n \n \n {affiliate.name}\n \n \n {affiliate.entity_type}\n \n \n \n \n );\n}\n\nAffiliate.propTypes = {\n affiliate: PropTypes.shape({\n name: PropTypes.string,\n slug: PropTypes.string,\n brand_logo: PropTypes.shape({\n s3_key: PropTypes.string,\n }),\n }).isRequired,\n};\nexport default Affiliate;\n","import { Box } from '@mui/material';\nimport React from 'react';\n\nimport Dialog from '../../../DesignSystem/Dialog';\nimport Affiliate from './Affiliate';\n\nfunction AffiliatesModal({ affiliates, open, onClose, title }: any) {\n return (\n \n {affiliates.map((affiliate: any, index: any, list: any) => (\n \n \n \n ))}\n \n );\n}\n\nexport default AffiliatesModal;\n","import React, { useState } from 'react';\nimport { Link as FakeLink, Card } from '@mui/material';\nimport { styled } from '@mui/material/styles';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport PropTypes from 'prop-types';\nimport { shuffle, orderBy } from 'lodash';\n\nimport Affiliate from './Affiliate';\nimport AffiliatesModal from './AffiliatesModal';\n\nconst StyledCard = styled(Card)(({ theme }: any) => ({\n padding: theme.spacing(3),\n marginTop: theme.spacing(2),\n display: 'flex',\n alignItems: 'center',\n '& >:not(:last-child)': {\n marginRight: theme.spacing(1),\n },\n [theme.breakpoints.down('sm')]: {\n flexDirection: 'column',\n '& >:not(:last-child)': {\n marginRight: 0,\n marginBottom: theme.spacing(1),\n },\n },\n '& .MuiCardActionArea-focusHighlight, & .MuiTouchRipple-root': {\n borderRadius: theme.shape.borderRadius * 2,\n },\n}));\n\nconst StyledFakeLink = styled(FakeLink)(({ theme }) => ({\n marginLeft: 'auto',\n flexShrink: 0,\n [theme.breakpoints.down('sm')]: {\n margin: `${theme.spacing(3)} auto 0`,\n },\n}));\n\nfunction SpaceAffiliatesList({ affiliates = [] }) {\n const intl = useIntl();\n const [modalOpen, setmodalOpen] = useState(false);\n\n if (!affiliates.length) return null;\n\n return (\n <>\n \n {shuffle(affiliates)\n .slice(0, 3)\n .map((affiliate) => (\n \n ))}\n\n {affiliates.length > 3 && (\n setmodalOpen(true)}\n color=\"primary\"\n component=\"button\"\n variant=\"body1\"\n underline=\"none\"\n >\n \n \n )}\n \n\n setmodalOpen(false)}\n title={intl.formatMessage({ id: 'SPACE.HOME.AFFILIATES.AFFILIATED' })}\n />\n \n );\n}\n\nSpaceAffiliatesList.propTypes = {\n affiliates: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string,\n slug: PropTypes.string,\n brand_logo: PropTypes.shape({\n s3_key: PropTypes.string,\n }),\n }).isRequired,\n ),\n};\n\nexport default SpaceAffiliatesList;\n","import React from 'react';\nimport { useTheme } from '@mui/material/styles';\nimport { Box, Container, Theme } from '@mui/material';\n\nimport { Images } from '../../../Themes';\nimport SpaceInfoBox from './SpaceInfoBox';\nimport SpaceSponsor from './SpaceSponsor';\nimport SpaceAffiliatesList from './SpaceAffiliatesList/SpaceAffiliatesList';\nimport { cloudinaryImageUrl } from '../../../Services/Cloudinary';\nimport useWidth from '../../../Hooks/useWidth';\n\nconst HEADER_HEIGHT = 460;\nconst MOBILE_HEADER_HEIGHT = 230;\n\nfunction Header({\n space,\n title,\n content,\n enabled,\n backgroundColor,\n showCoverOnly = false,\n isFetching,\n}: any) {\n const theme = useTheme() as Theme;\n const pictureUrl = cloudinaryImageUrl(space.banner_picture?.s3_key, 'h_460,q_auto,c_fill');\n const pictureOrPlaceholder = pictureUrl || Images.entities.defaultBanner;\n const isMobile = useWidth('down', 'sm');\n\n return (\n \n \n\n {!showCoverOnly && (\n \n \n {space.sponsor && (\n \n \n \n )}\n\n \n \n \n \n )}\n \n );\n}\n\nexport default Header;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { Box, Button, Card, CardContent, Typography } from '@mui/material';\nimport PropTypes from 'prop-types';\nimport { FormattedMessage } from 'react-intl';\nimport { ReactSVG } from 'react-svg';\nimport { useModal } from 'mui-modal-provider';\n\nimport Analytics from '../../Services/AnalyticsService';\nimport { Icons } from '../../Themes';\nimport { Categories, postTypePlural } from '../../Utils/Types/Posts';\nimport { HtmlToMUIMapper } from '../../Utils';\nimport useSpace from '../../Hooks/useSpace';\nimport useCurrentUser from '../../Hooks/useCurrentUser';\nimport EntitySubscriptionModal from '../EntitySubscriptionModal';\n\nfunction MessagingBloc({\n spaceSlug,\n postType,\n ctaLabel,\n ctaUrl,\n content = null,\n}: {\n spaceSlug: string;\n postType: 'demand' | 'anomaly';\n content?: string | null;\n ctaLabel?: string | null;\n ctaUrl?: string | null;\n}) {\n const { space } = useSpace();\n const { isLoggedIn } = useCurrentUser();\n const defaultUrl = `/${spaceSlug}/${postTypePlural(postType)}/new`;\n const { showModal } = useModal();\n const handleClick = (e: Event) => {\n if (!ctaLabel && isLoggedIn && !space.entity_subscription) {\n showModal(EntitySubscriptionModal, { customRedirectTo: defaultUrl });\n return e.preventDefault();\n }\n\n Analytics.track('Home', `${postType} - Create Post`);\n };\n\n const buttonText = ctaLabel || (\n \n );\n\n return (\n \n \n \n \n \n\n \n \n \n \n \n\n \n {buttonText}\n \n \n \n );\n}\n\nMessagingBloc.propTypes = {\n spaceSlug: PropTypes.string.isRequired,\n postType: PropTypes.oneOf(Categories.MESSAGING).isRequired,\n};\n\nexport default MessagingBloc;\n","import React from 'react';\nimport { useIntl } from 'react-intl';\nimport { Box, Grid2 as Grid, Paper, Theme, Typography } from '@mui/material';\nimport { People as PeopleIcon, Campaign as CampaignIcon } from '@mui/icons-material';\nimport { useTheme } from '@mui/material/styles';\n\nimport { Icons } from '../../../Themes';\nimport CustomIcon from '../../DesignSystem/CustomIcon';\n\nconst STAT_DIMENSIONS = 48;\nconst ICON_SIZE = 22;\n\nfunction SpaceStats({ space }: any) {\n const theme = useTheme() as Theme;\n const intl = useIntl();\n\n const spaceStats: Record[] = [\n {\n icon: ,\n label: intl.formatMessage(\n { id: 'SPACE.ABOUT.STATS.SUBSCRIBED_CITIZENS' },\n { count: space.users_count },\n ),\n value: space.users_count,\n },\n {\n icon: ,\n label: intl.formatMessage({ id: 'SPACE.ABOUT.STATS.CITIZENS_IDEAS_COUNT' }),\n value: space.ideas_count,\n },\n {\n icon: ,\n label: intl.formatMessage({ id: 'SPACE.ABOUT.STATS.IDEAS_DONE_COUNT' }),\n value: space.ideas_done_count,\n },\n {\n icon: ,\n label: intl.formatMessage(\n { id: 'SPACE.ABOUT.STATS.RESPONSES_FROM_ADMIN_COUNT' },\n { spaceName: space.name },\n ),\n value: space.notes_from_admin_count,\n },\n {\n icon: ,\n label: intl.formatMessage(\n { id: 'SPACE.ABOUT.STATS.POSTS_FROM_ADMIN_COUNT' },\n { count: space.consultations_count },\n ),\n value: space.consultations_count,\n },\n ];\n\n const hasStats = spaceStats.filter((stat) => !!stat.value).length > 0;\n\n if (!hasStats) {\n return null;\n }\n\n return (\n \n \n {spaceStats\n .filter((stat) => !!stat.value)\n .map((stat) => (\n \n \n {stat.icon}\n \n \n \n {stat.value}\n \n \n \n {stat.label}\n \n \n ))}\n \n \n );\n}\n\nexport default SpaceStats;\n","import React from 'react';\nimport { UiSectionComponentName } from './Types/UiSection';\nimport { snakeCase } from 'lodash';\nimport {\n AutoFixHigh,\n Campaign,\n Email,\n Filter1,\n Folder,\n HistoryEdu,\n Lightbulb,\n Store,\n Warning,\n} from '@mui/icons-material';\n\nexport const getSectionBackgroundColor = (theme: any, index: number) => {\n if (index % 2 === 0) {\n return 'transparent';\n }\n\n return index % 4 === 1 ? theme.palette.secondary.light : theme.palette.primary.light;\n};\n\ntype SectionField =\n | 'title'\n | 'content'\n | 'alignment'\n | 'media'\n | 'cta_label'\n | 'cta_url'\n | 'communication_type';\n\nexport const sectionFields: Record = {\n anomalyForm: ['content', 'cta_label', 'cta_url'],\n customBlock: ['title', 'content', 'media', 'cta_label', 'cta_url', 'alignment'],\n demandForm: ['content'],\n featuredConsultations: ['title', 'content'],\n featuredNews: ['title', 'content', 'communication_type'],\n folders: ['title', 'content'],\n kpis: ['title', 'content'],\n latestIdeas: ['title', 'content'],\n spaceInfo: ['title', 'content'],\n};\n\nexport const sectionIcons: Record = {\n spaceInfo: Store,\n customBlock: AutoFixHigh,\n folders: Folder,\n featuredConsultations: Campaign,\n featuredNews: HistoryEdu,\n latestIdeas: Lightbulb,\n kpis: Filter1,\n demandForm: Email,\n anomalyForm: Warning,\n};\n\nexport const uiSectionComponentTitleId = (componentName: UiSectionComponentName) => {\n return `UI_SECTION.FORM.ITEMS.${snakeCase(componentName).toUpperCase()}.TITLE`;\n};\nexport const uiSectionComponentDescriptionId = (componentName: UiSectionComponentName) => {\n return `UI_SECTION.FORM.ITEMS.${snakeCase(componentName).toUpperCase()}.DESCRIPTION`;\n};\n","import React from 'react';\n\nimport ListOfCards from '../Entities/ListOfCards/ListOfCards';\nimport { Space } from '../../Utils/Types/Space';\nimport { CommunicationType, UiSection } from '../../Utils/Types/UiSection';\nimport { Categories, PostType, Types } from '../../Utils/Types/Posts';\n\ninterface CommunicationListOfCardsProps {\n space: Space;\n uiSection: UiSection;\n}\n\ntype Config = {\n postsTypes: PostType[];\n extraParams?: Record;\n};\n\nconst ConfigMapping: Record = {\n all: {\n postsTypes: Categories.COMMUNICATION,\n },\n pinned: {\n postsTypes: Categories.COMMUNICATION,\n extraParams: {\n 'filter[is_pinned]': true,\n },\n },\n article: {\n postsTypes: [Types.ARTICLE],\n },\n event: {\n postsTypes: [Types.EVENT],\n },\n};\n\nexport default function CommunicationListOfCards({\n space,\n uiSection,\n}: CommunicationListOfCardsProps) {\n return (\n 1}\n {...ConfigMapping[uiSection.communication_type]}\n />\n );\n}\n","import React from 'react';\nimport { useTheme } from '@mui/material/styles';\nimport { Box, Container, Skeleton } from '@mui/material';\n\nimport appsignal from '../../Services/ErrorReportingService';\nimport UiSection from '../../Components/UiSection';\nimport Header from '../../Components/Entities/Home/Header';\nimport MessagingBloc from '../../Components/MessagingBloc';\nimport ListOfCards from '../../Components/Entities/ListOfCards/ListOfCards';\nimport SpaceStats from '../../Components/Entities/About/SpaceStats';\nimport Posts from '../../Components/PostList/Posts';\nimport { Categories, Types } from '../../Utils/Types/Posts';\nimport useSpace from '../../Hooks/useSpace';\nimport useApiQuery from '../../Hooks/useApiQuery';\nimport queriesConfig from '../../Services/queriesConfig';\nimport FoldersLayer from '../../Components/Entities/FoldersLayer';\nimport { getSectionBackgroundColor } from '../../Utils/UiSections';\nimport { Page } from '../../Utils/Types/UiSection';\nimport CommunicationListOfCards from './CommunicationListOfCards';\n\nfunction UiSectionSkeletonWrapper({ backgroundColor }: { backgroundColor: string }) {\n return (\n \n \n \n \n \n \n );\n}\n\nfunction ListOfUiSections({ page }: { page: Page }) {\n const { space } = useSpace();\n const theme = useTheme();\n\n const { data: uiSections = [], isLoading } = useApiQuery({\n query: queriesConfig.getUiSections(page, { enabled: true }),\n });\n\n if (isLoading) {\n return Array.from({ length: 3 }, (_, index) => (\n \n ));\n }\n\n return uiSections.map((section, index) => {\n const componentName = section.component_name;\n const backgroundColor = getSectionBackgroundColor(theme, index);\n\n switch (componentName) {\n case 'anomalyForm':\n return (\n \n \n \n );\n\n case 'customBlock':\n return ;\n\n case 'demandForm':\n return (\n \n \n \n );\n\n case 'featuredConsultations':\n return (\n \n 1}\n extraParams={{\n 'filter[is_pinned]': true,\n }}\n />\n \n );\n\n case 'featuredNews':\n return (\n \n \n \n );\n\n case 'folders':\n return (\n \n \n \n );\n\n case 'kpis':\n return (\n \n \n \n );\n\n case 'latestIdeas':\n return (\n \n \n \n );\n\n case 'spaceInfo':\n return (\n \n );\n\n default:\n appsignal.sendError(new Error(`Component ${componentName} not found in ${page} page`));\n return null;\n }\n });\n}\n\nexport default ListOfUiSections;\n"],"names":["AutoFixHigh","createSvgIcon","_jsx","Filter1","GroupIcon","Lightbulb","Store","Warning","UiSection","_ref","section","backgroundColor","_ref$titleTypographyC","titleTypographyComponent","children","rest","_objectWithoutProperties","_excluded","_ref2","_ref2$title","title","_ref2$content","content","_ref2$cta_label","cta_label","ctaLabel","_ref2$cta_url","cta_url","ctaUrl","_ref2$picture","picture","_ref2$video_embed","video_embed","videoUrl","alignment","pictureUrl","cloudinaryImageUrl","s3_key","hasPictureOrVideo","isCentered","renderPictureOrVideo","React","createElement","VideoEmbed","src","rounded","BaseImage","ratio","alt","ctaButton","Button","variant","color","href","gridDirection","contentWidth","justifyContent","Box","_extends","sx","wordBreak","py","Container","maxWidth","Grid","container","spacing","alignItems","direction","size","md","xs","Typography","component","gutterBottom","align","HtmlToMUIMapper","display","mt","isSDO","space","_window$runtimeEnv","slug","window","runtimeEnv","REACT_APP_SDO_SPACE_SLUG","customUi","MetaInfo","icon","label","gap","fontWeight","SpaceInfoBox","enabled","isMobile","isFetching","Card","height","padding","textAlign","mb","users_count","FormattedMessage","id","values","count","ideas_count","CustomIcon","Icons","misc","bulb","MuiLink","to","concat","Link","underline","LOGO_HEIGHT","StyledCard","styled","_ref$theme","theme","breakpoints","_defineProperty","down","flexDirection","StyledCloudinaryImage","CloudinaryImage","_ref3","_ref3$theme","marginRight","margin","SpaceSponsor","_ref5","_sponsor$brand_logo","sponsor","mr","publicId","brand_logo","name","transformation","shareable_url","propTypes","PropTypes","shape","string","isRequired","LOGO_WIDTH","Affiliate","_affiliate$brand_logo","affiliate","CardActionArea","borderRadius","flexGrow","flexShrink","px","width","entity_type","AffiliatesModal","affiliates","open","onClose","Dialog","map","index","list","key","length","marginTop","marginBottom","StyledFakeLink","FakeLink","marginLeft","SpaceAffiliatesList","_ref5$affiliates","intl","useIntl","_useState","useState","_useState2","_slicedToArray","modalOpen","setmodalOpen","Fragment","shuffle","slice","onClick","orderBy","formatMessage","arrayOf","HEADER_HEIGHT","MOBILE_HEADER_HEIGHT","Header","_space$banner_picture","_space$included","_ref$showCoverOnly","showCoverOnly","useTheme","banner_picture","pictureOrPlaceholder","Images","entities","defaultBanner","useWidth","palette","grey","backgroundImage","backgroundPosition","backgroundSize","pb","included","MessagingBloc","spaceSlug","postType","_ref$content","_useSpace","useSpace","_useCurrentUser","useCurrentUser","isLoggedIn","defaultUrl","postTypePlural","_useModal","useModal","showModal","handleClick","e","entity_subscription","EntitySubscriptionModal","customRedirectTo","preventDefault","Analytics","track","buttonText","toUpperCase","CardContent","ReactSVG","posts","types","oneOf","Categories","MESSAGING","STAT_DIMENSIONS","ICON_SIZE","SpaceStats","spaceStats","PeopleIcon","fontSize","value","status","concretized","ideas_done_count","chat","spaceName","notes_from_admin_count","CampaignIcon","consultations_count","hasStats","filter","stat","Paper","background","my","getSectionBackgroundColor","secondary","light","primary","sectionFields","anomalyForm","customBlock","demandForm","featuredConsultations","featuredNews","folders","kpis","latestIdeas","spaceInfo","sectionIcons","Folder","Campaign","HistoryEdu","Email","uiSectionComponentTitleId","componentName","snakeCase","uiSectionComponentDescriptionId","ConfigMapping","all","postsTypes","COMMUNICATION","pinned","extraParams","article","Types","ARTICLE","event","EVENT","CommunicationListOfCards","uiSection","ListOfCards","viewAllHref","viewAllEnabled","communications_count","communication_type","UiSectionSkeletonWrapper","Skeleton","mx","ListOfUiSections","page","_useApiQuery","useApiQuery","query","queriesConfig","getUiSections","_useApiQuery$data","data","uiSections","isLoading","Array","from","_","component_name","queryKey","CONSULTATION","trackingProps","category","FoldersLayer","Posts","IDEA","analyticsTitle","limit","hideButtons","appsign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