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AA,SAAAjB,UAAA,mCAAAC,SAAA,IAAAlC,EAAA0B,GAAA,SAAAO,UAAA,oCAAAC,SAAA,MAAAY,GAAA,MAAAL,CAAAA,EAAAK,EAAAJ,MAAA,SAAAD,EAAAiB,KAAA,MAAA1D,EAAA0B,GAAA,SAAAO,UAAA,0CAAAC,SAAA,GAAAlC,EAAA0B,GAAA,OAAAQ,SAAA,MAAAY,GAAA,MAAAzD,CAAAA,EAAAyD,EAAAJ,MAAA,SAAArD,EAAA4E,WAAA,cAAAnB,GAAA,MAAAF,CAAAA,EAAAE,EAAAJ,MAAA,SAAAE,EAAAsB,QAAA,MAAAlE,EAAAkD,IAAA,SAAAjB,UAAA,mCAAAC,SAAA,CAAAY,EAAAJ,MAAA,CAAAwB,QAAA,uBAAA3F,EAAA,OAAAqB,GAAA0C,GAAA5C,EAAAZ,MAAA,OAAAkB,EAAA0B,GAAA,SAAAO,UAAA,UAAAC,SAAA,GAAAlC,EAAAkD,IAAA,YAAA4C,QAAA,WAAAvD,EAAA,CAAAD,EAAA,uBAAAvC,EAAAkC,UAAA,sDAAAC,SAAA,CAAAnC,EAAA,GAAAC,EAAA0B,GAAA,SAAAC,IAAA,8BAAAG,IAAA,sBAAA9B,EAAA0B,GAAA,EAAAZ,EAAA,CAAAsB,SAAA1C,CAAA,MAAAA,IAAA,kBAAAyE,QAAAM,OAAA,GAAAJ,IAAA,CAAA7F,EAAA8F,IAAA,CAAA9F,EAAA,UAAA+F,kBAAA,CAAAC,QAAA","sources":["webpack://_N_E/./adapters/cloudinary/ImageFactory.js","webpack://_N_E/./components/ArticleListCarousel/ArticleListCarousel.js","webpack://_N_E/./components/ArticleList/ArticlelistBlock.js","webpack://_N_E/"],"sourcesContent":["export function buildContentfullImageUrl(assetUrl, transformations) {\n return transformations ? 'https:'+ assetUrl + \"?\" + transformations : 'https:'+ assetUrl; \n}\n\nexport function buildContentfullImageUrlByHeight(assetUrl, height = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?h=\"+ height ;\n}\n\nexport function buildContentfullImageUrlByWidth(assetUrl, width = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?w=\"+ width ; \n}\n\nexport function imageContentfullSrc(assetUrl, transformations) {\n return buildContentfullImageUrl(assetUrl, transformations);\n}\n\nexport function imageContentfullDpr(assetUrl, transformations = '') {\n if (!transformations) {\n return buildContentfullImageUrl(assetUrl);\n }\n\n return buildContentfullImageUrl(assetUrl, transformations)\n}\n\n\nexport default {\n buildContentfullImageUrl,\n buildContentfullImageUrlByHeight,\n buildContentfullImageUrlByWidth,\n imageContentfullDpr,\n imageContentfullSrc,\n};\n","import React from 'react'\nimport Slider from 'react-slick'\nimport LazyLoad from 'react-lazyload'\nimport { ArticleShareConstants, ComponentFactoryConstants } from '../../adapters/helpers/Constants'\nimport { optimizeImage } from '../../adapters/helpers/pagespeedHelper'\nimport ImageFactory from '../../adapters/cloudinary/ImageFactory'\nexport default function ArticleListCarousel(props) {\n const videoSettings = {\n dots: false,\n speed: 1000,\n autoplay: false,\n lazyLoad: true,\n responsive: [\n {\n settings: {\n dots: false,\n slidesToShow: 1,\n },\n breakpoint: 992,\n },\n ],\n slidesToShow: 1,\n accessibility: true,\n slidesToScroll: 1,\n nextArrow: {'CarouselBlockConstants.rightArrow'},\n prevArrow: {'CarouselBlockConstants.leftArrow'},\n }\n return (\n
\n \n {props.articles.map((article, i) => {\n const overview = article?.fields?.articleOverview\n const thumbnail = overview?.fields?.thumbnailImage\n const contentThumbnail = thumbnail?.fields?.asset?.fields?.file?.url\n return (\n \n
\n {!!contentThumbnail && (\n \n {`${overview?.fields?.title}`}\n \n }\n >\n \n \n \n\n {contentThumbnail && (\n {`${overview?.fields?.title}\n )}\n \n \n )}\n
\n\n
\n
{overview?.fields?.title}
\n
\n

{overview?.fields?.description}

\n
\n {!!overview?.fields?.readTime &&
{overview.fields.readTime} min read
}\n
\n \n )\n })}\n
\n
\n )\n}\n","import React, { useState } from 'react'\nimport dynamic from 'next/dynamic'\nimport LazyLoad from 'react-lazyload'\nimport PropTypes from 'prop-types'\nimport { stripHtml } from '../../adapters/helpers/Utils'\nimport ImageFactory from '../../adapters/cloudinary/ImageFactory'\nimport Block from '../../adapters/helpers/Block'\nimport { ComponentFactoryConstants } from '../../adapters/helpers/Constants'\nimport { optimizeImage } from '../../adapters/helpers/pagespeedHelper'\nimport ArticleListCarousel from '../ArticleListCarousel/ArticleListCarousel'\nconst MarkdownText = dynamic(() => import('../MarkdownText/MarkdownText'))\nconst Heading = dynamic(() => import('../Heading/Heading'))\nconst Icon = dynamic(() => import('../Icon/Icon'))\n\nconst IArticleListProps = {\n contentType: PropTypes.oneOf([ComponentFactoryConstants.ArticleListBlock]),\n classNames: PropTypes.string,\n className: PropTypes.string,\n name: PropTypes.string,\n title: PropTypes.string,\n description: PropTypes.string,\n anchorId: PropTypes.string,\n category: PropTypes.object,\n articles: PropTypes.array,\n articleList: PropTypes.array,\n ctaLabel: PropTypes.string,\n ctaLink: PropTypes.object,\n isCategoryLanding: PropTypes.bool,\n categories: PropTypes.arrayOf(PropTypes.object),\n}\n\nexport default function ArticleListBlock(props) {\n const { extraAttributes } = props\n\n const block = new Block(props)\n const fields = block.getFields()\n const categoryName = fields?.category?.fields?.name || ''\n\n let articles = []\n let isCategoryLanding = false\n\n if (categoryName && extraAttributes?.articles) {\n articles = extraAttributes?.articles[categoryName]\n } else {\n articles = fields?.articleList\n isCategoryLanding = true\n }\n\n return articles && articles.length > 0 ? : null\n}\n\nArticleListBlock.propTypes = {\n extraAttributes: PropTypes.object,\n document: PropTypes.shape({\n fields: PropTypes.exact(IArticleListProps),\n }),\n}\n\nexport function ArticleList(props) {\n const { classNames, className = classNames } = props\n const { title, anchorId, articles, isCategoryLanding, ctaLabel, description } = props\n const [showMore, setShowMore] = useState(true)\n\n const variationB = articles.length <= 2\n\n return (\n
\n \n {title}\n \n {console.log(\"description\",description)}\n \n\n
\n
    \n {articles\n .filter((res, index) => (showMore ? index < 6 : index < articles.length))\n .map((article, i) => {\n const overview = article?.fields?.articleOverview\n const thumbnail = overview?.fields?.thumbnailImage\n const contentThumbnail = thumbnail?.fields?.asset?.fields?.file?.url\n return (\n
  • \n \n
    \n {!!contentThumbnail && (\n \n {`${overview?.fields?.title}`}\n \n }\n >\n \n {variationB && }\n\n \n \n\n {contentThumbnail && (\n {`${overview?.fields?.title}\n )}\n \n \n )}\n
    \n\n
    \n
    {overview?.fields?.title}
    \n
    \n

    {overview?.fields?.description}

    \n
    \n {!!overview?.fields?.readTime &&
    {overview.fields.readTime} min read
    }\n
    \n \n
  • \n )\n })}\n
\n
\n {isCategoryLanding && showMore && articles.length>6 && (\n
\n {\n setShowMore(!showMore)\n }}\n data-action-detail={ctaLabel}\n className={'ob-article-list__see-more-button event_button_click'}\n >\n {ctaLabel}\n Downarrow\n \n
\n )}\n \n
\n )\n}\n\nArticleList.propTypes = IArticleListProps\n","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[806],{42456:function(e,i,l){function n(e,i){return i?\"https:\"+e+\"?\"+i:\"https:\"+e}i.ZP={buildContentfullImageUrl:n,buildContentfullImageUrlByHeight:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"auto\";return\"https:\"+e+\"?h=\"+i},buildContentfullImageUrlByWidth:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"auto\";return\"https:\"+e+\"?w=\"+i},imageContentfullDpr:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return i?n(e,i):n(e)},imageContentfullSrc:function(e,i){return n(e,i)}}},70806:function(e,i,l){l.r(i),l.d(i,{ArticleList:function(){return O},default:function(){return w}});var n=l(930),t=l.n(n),a=l(67294),r=l(5152),s=l.n(r),d=l(1216),o=l(8996),c=(l(42456),l(40483)),u=l(24036),f=l(19271),m=l(46066),g=l(85893);function v(e,i){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),l.push.apply(l,n)}return l}function b(e){for(var i=1;i0?(0,g.jsx)(O,j(j({},a),{},{anchorId:t.getAnchorId(),articles:s,isCategoryLanding:d})):null}function O(e){var i=e.classNames,l=e.className,n=void 0===l?i:l,t=e.title,r=e.anchorId,s=e.articles,c=e.isCategoryLanding,m=e.ctaLabel,v=e.description,b=(0,a.useState)(!0),p=b[0],j=b[1],w=s.length<=2;return(0,g.jsxs)(\"div\",{className:\"alp ob-article-list ob-additional-reading \".concat(c?\"ob-article-list--landing\":\"\",\" \").concat(w?\"ob-additional-reading--wide\":\"\",\" \").concat(n||\"\"),id:\"\".concat(r),children:[(0,g.jsx)(x,{className:\"ob-additional-reading__heading\",tag:c?\"h3\":\"h2\",children:t}),console.log(\"description\",v),(0,g.jsx)(_,{className:\"artilce-list-description\",value:v}),(0,g.jsx)(\"div\",{className:\"ob-additional-reading__articles\",children:(0,g.jsx)(\"ul\",{className:\"ob-additional-reading__list\",children:s.filter((function(e,i){return p?i<6:i6&&(0,g.jsx)(\"div\",{className:\"ob-line\",children:(0,g.jsxs)(\"button\",{onClick:function(){j(!p)},\"data-action-detail\":m,className:\"ob-article-list__see-more-button event_button_click\",children:[m,(0,g.jsx)(\"img\",{src:\"/static/images/downicon.png\",alt:\"Downarrow\"})]})}),(0,g.jsx)(h,{articles:s})]})}}}]);"],"names":["self","webpackChunk_N_E","push","e","i","l","n","ZP","buildContentfullImageUrl","buildContentfullImageUrlByHeight","arguments","length","buildContentfullImageUrlByWidth","imageContentfullDpr","imageContentfullSrc","r","d","ArticleList","O","default","w","t","a","s","o","c","u","f","m","g","v","Object","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","apply","b","forEach","getOwnPropertyDescriptors","defineProperties","defineProperty","h","dots","speed","autoplay","lazyLoad","responsive","settings","slidesToShow","breakpoint","accessibility","slidesToScroll","nextArrow","jsx","src","Jf","rightArrow","alt","prevArrow","leftArrow","className","children","Z","articles","map","p","j","_","x","fields","articleOverview","N","thumbnailImage","y","asset","file","url","jsxs","linkDataActionDetail","href","aricleOverviewLink","slug","offset","placeholder","concat","title","height","media","a9","mediaLower","srcSet","H","description","readTime","Promise","all","then","bind","loadableGenerated","webpack","resolve","extraAttributes","getFields","category","name","articleList","anchorId","getAnchorId","isCategoryLanding","classNames","ctaLabel","useState","id","tag","console","log","value","k","P","Vt","mediaUpper","onClick"],"sourceRoot":""}