{"version":3,"file":"index.D9XwHPhP.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/tags/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/tags/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/tags/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/links-seo/components/links/styled.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/links-seo/components/links/index.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/links-seo/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-common/components/others/links-seo/views/desktop/index.js"],"sourcesContent":["import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst Placeholder = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Placeholder\"\n})([\n `&::after{clear:both;content:'';display:table;}&.is-single{`,\n `}`\n], FlexMixin({\n justify: 'center'\n}));\nconst RelatedList = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"RelatedList\"\n})([\n `a:not(:last-child){`,\n `}a{`,\n ` display:inline-block;color:`,\n `;`,\n ` text-decoration:none;}&.is-multiple{`,\n ` a:not(:last-child){`,\n `}a{width:20%;}}`\n], Margin({\n right: '28px'\n}), FontMixin({\n size: 'medium',\n weight: 'light',\n height: 'base'\n}), (props)=>props.theme.colors.text.dark, Margin({\n bottom: '8px'\n}), FlexMixin({\n wrap: true\n}), Margin({\n right: '0'\n}));\n\nexport { Placeholder, RelatedList };\n","import { jsx } from 'react/jsx-runtime';\nimport Anchor from '@babylon/ui-kit-base/components/others/anchor';\nimport InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport { nullsToUndefined } from '@babylon/ui-kit-helpers/null';\nimport { Children } from 'react';\nimport { Placeholder, RelatedList } from './styled.js';\n\nconst TagsDesktop = (props)=>{\n const { items = [], className } = props;\n return /*#__PURE__*/ jsx(Placeholder, {\n \"data-testid\": \"Tags\",\n className: className,\n children: /*#__PURE__*/ jsx(RelatedList, {\n className: className,\n children: Children.toArray(items.map((item)=>/*#__PURE__*/ jsx(Anchor, {\n \"data-testid\": \"link\",\n ...item,\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: nullsToUndefined(item).content\n })\n })))\n })\n });\n};\n\nexport { TagsDesktop as default };\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport TagsDesktop from './views/desktop/index.js';\nimport TagsMobile from './views/mobile/index.js';\n\nconst Tags = generateViewsComponent(TagsDesktop, TagsMobile);\n\nexport { Tags as default };\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst RelatedTitle = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"RelatedTitle\"\n})([\n ``,\n ` color:`,\n `;`,\n ``\n], FontMixin({\n size: 'base',\n weight: 'medium',\n height: 'medium'\n}), ({ theme })=>theme.colors.grays.darker, Margin({\n bottom: '8px'\n}));\nconst RelatedList = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"RelatedList\"\n})([\n ``\n]);\nconst RelatedListWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"RelatedListWrapper\"\n})([\n `&:not(:last-child){border-bottom:1px solid `,\n `;`,\n ` `,\n `}`\n], ({ theme })=>theme.colors.grays.light, Margin({\n bottom: '16px'\n}), Padding({\n bottom: '8px'\n}));\n\nexport { RelatedList, RelatedListWrapper, RelatedTitle };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport Tags from '@babylon/ui-kit-structures/components/others/tags';\nimport { RelatedListWrapper, RelatedTitle, RelatedList } from './styled.js';\n\nconst Links = ({ items })=>{\n if (items.length > 1) {\n return items.map((item)=>/*#__PURE__*/ jsxs(RelatedListWrapper, {\n children: [\n /*#__PURE__*/ jsx(RelatedTitle, {\n \"data-testid\": \"items\",\n children: item.title\n }),\n /*#__PURE__*/ jsx(RelatedList, {\n children: /*#__PURE__*/ jsx(Tags, {\n items: item.items\n }, item.title)\n })\n ]\n }, genKey(item.title)));\n }\n return items.map((item)=>/*#__PURE__*/ jsx(RelatedListWrapper, {\n children: /*#__PURE__*/ jsx(RelatedList, {\n children: /*#__PURE__*/ jsx(Tags, {\n items: item.items,\n className: item.items.length <= 8 ? 'is-single' : 'is-multiple'\n }, item.title)\n })\n }, genKey(item.title)));\n};\n\nexport { Links as default };\n","import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst Placeholder = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Placeholder\"\n})([\n ``,\n ` &::after{clear:both;content:'';display:table;}`\n], Margin({\n bottom: '40px'\n}));\nconst LinksWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"LinksWrapper\"\n})([\n ``,\n ` `,\n ``\n], FlexMixin({\n direction: 'column'\n}), Padding({\n all: '20px'\n}));\nconst Description = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Description\"\n})([\n `color:`,\n `;`,\n ` `,\n ` `,\n ` border-bottom:1px solid `,\n `;`\n], ({ theme })=>theme.colors.grays.darker, FontMixin({\n size: 'medium',\n height: 'medium'\n}), Padding({\n bottom: '16px'\n}), Margin({\n bottom: '16px'\n}), ({ theme })=>theme.colors.grays.light);\n\nexport { Description, LinksWrapper, Placeholder };\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport Title from '@babylon/ui-kit-base/components/text/title/views/desktop';\nimport { Container } from '@babylon/ui-kit-styles/common/mixins/container.styled';\nimport Links from '../../components/links/index.js';\nimport { Placeholder, LinksWrapper, Description } from './styled.js';\n\nconst LinksSEODesktop = ({ props })=>{\n const { title, items = [], description } = props ?? {};\n if (!items?.length) return null;\n return items?.length > 0 && /*#__PURE__*/ jsx(Container, {\n \"data-testid\": \"LinksSeo\",\n children: /*#__PURE__*/ jsxs(Placeholder, {\n children: [\n /*#__PURE__*/ jsx(Title, {\n ...title\n }),\n /*#__PURE__*/ jsxs(LinksWrapper, {\n children: [\n description && /*#__PURE__*/ jsx(Description, {\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: description.content\n })\n }),\n /*#__PURE__*/ jsx(Links, {\n items: items\n })\n ]\n })\n ]\n })\n });\n};\n\nexport { LinksSEODesktop as default };\n"],"names":["Placeholder","styled","FlexMixin","RelatedList","Margin","FontMixin","props","TagsDesktop","items","className","jsx","Children","item","Anchor","InnerMarkdownHTML","nullsToUndefined","Tags","generateViewsComponent","TagsMobile","RelatedTitle","theme","RelatedListWrapper","Padding","Links","jsxs","genKey","LinksWrapper","Description","LinksSEODesktop","title","description","Container","Title"],"mappings":"6IAIA,MAAMA,EAA4BC,EAAO,IAAI,WAAW,CACpD,YAAa,aACjB,CAAC,EAAE,CACC,6DACA,GACJ,EAAGC,EAAU,CACT,QAAS,QACb,CAAC,CAAC,EACIC,EAA4BF,EAAO,IAAI,WAAW,CACpD,YAAa,aACjB,CAAC,EAAE,CACC,sBACA,MACA,+BACA,IACA,wCACA,uBACA,iBACJ,EAAGG,EAAO,CACN,MAAO,MACX,CAAC,EAAGC,EAAU,CACV,KAAM,SACN,OAAQ,QACR,OAAQ,MACZ,CAAC,EAAIC,GAAQA,EAAM,MAAM,OAAO,KAAK,KAAMF,EAAO,CAC9C,OAAQ,KACZ,CAAC,EAAGF,EAAU,CACV,KAAM,EACV,CAAC,EAAGE,EAAO,CACP,MAAO,GACX,CAAC,CAAC,EC3BIG,EAAeD,GAAQ,CACzB,KAAM,CAAE,MAAAE,EAAQ,CAAA,EAAI,UAAAC,CAAS,EAAKH,EAClC,OAAq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