"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6883],{55001:function(t,e,n){n.d(e,{Fg:function(){return c},Qx:function(){return o},R7:function(){return l},VX:function(){return d},j1:function(){return m},oC:function(){return p}});var a=n(82729),r=n(7259),i=n(72660);function _templateObject(){let t=(0,a._)(["\n "," {\n padding: 0.5rem 0;\n }\n &[data-show-full='true'] {\n padding: 0;\n }\n"]);return _templateObject=function(){return t},t}function _templateObject1(){let t=(0,a._)(["\n display: block;\n margin-bottom: 1rem;\n "," {\n margin-bottom: 0.5rem;\n }\n\n .related-post {\n pointer-events: none;\n color: ",";\n font-weight: 600;\n letter-spacing: 0;\n line-height: 31px;\n\n "," {\n font-size: 14px;\n line-height: 22px;\n }\n }\n"]);return _templateObject1=function(){return t},t}function _templateObject2(){let t=(0,a._)(["\n margin: 1rem 0 0;\n "," {\n margin: 0.5rem 0 0;\n }\n &[data-show-full='true'] {\n margin: 0;\n "," {\n .related-article-card[data-size='md'] {\n padding-top: 0.5rem;\n }\n }\n }\n\n .content .author {\n flex: 1;\n .avatar {\n width: 32px;\n height: 32px;\n }\n }\n"]);return _templateObject2=function(){return t},t}function _templateObject3(){let t=(0,a._)(["\n padding: 0;\n cursor: pointer;\n .content .inner-content .text {\n -webkit-line-clamp: 2;\n }\n"]);return _templateObject3=function(){return t},t}function _templateObject4(){let t=(0,a._)(["\n width: 100%;\n padding: 1rem 0;\n padding: 1rem 1rem 0;\n "," {\n padding: 1rem 0 0;\n }\n background: white;\n"]);return _templateObject4=function(){return t},t}function _templateObject5(){let t=(0,a._)(["\n width: 100%;\n "," {\n width: calc(100% + 2rem);\n margin-right: -1rem;\n margin-left: -1rem;\n }\n padding: 1rem 0;\n padding: 0.5rem 0;\n background: ",";\n"]);return _templateObject5=function(){return t},t}let o=i.ZP.div.withConfig({componentId:"sc-e7d1e6ab-0"})(_templateObject(),r.M.mbUp),c=i.ZP.a.withConfig({componentId:"sc-e7d1e6ab-1"})(_templateObject1(),r.M.mbDown,t=>{var e;return null===(e=t.theme)||void 0===e?void 0:e.colors.secondaryBase},r.M.mbDown),l=i.ZP.div.withConfig({componentId:"sc-e7d1e6ab-2"})(_templateObject2(),r.M.mbDown,r.M.mbUp),d=i.ZP.div.withConfig({componentId:"sc-e7d1e6ab-3"})(_templateObject3()),m=i.ZP.div.withConfig({componentId:"sc-e7d1e6ab-4"})(_templateObject4(),r.M.mbUp),p=i.ZP.div.withConfig({componentId:"sc-e7d1e6ab-5"})(_templateObject5(),r.M.mbDown,t=>{var e;return null===(e=t.theme)||void 0===e?void 0:e.colors.neutral50})},8428:function(t,e,n){n.d(e,{Z:function(){return RelatedPosts}});var a=n(35944),r=n(13023),i=n(92935),o=n(5152),c=n.n(o),l=n(86896),d=n(2251),m=n(95386),p=n(55001),u=n(24612);let s=c()(()=>Promise.resolve().then(n.bind(n,20877)).then(t=>t.ArticleCardWrapper),{loadableGenerated:{webpack:()=>[20877]}}),RelatedPosts=t=>{let{className:e,title:n,articles:o=[],isMobile:c,articleType:h}=t,{formatMessage:b}=(0,l.Z)(),{locale:g}=(0,m.h)(),f=h||u.Yx.articleType;return(0,a.tZ)(p.Qx,{"data-show-full":f!==u.Iq.ArticleType3,className:e,children:(0,a.BX)(a.HY,{children:[(0,a.tZ)(r.T,{size:c?"xs":"md",color:"#8C8C8C",type:"bold",style:{textTransform:"uppercase",...c?{}:{fontSize:18}},children:n||b({id:o.length>1?"articlePage.relatedPostsSectionTitle.many":"articlePage.relatedPostsSectionTitle.one"})}),(0,a.tZ)(p.R7,{"data-show-full":f!==u.Iq.ArticleType3,children:o.map((t,e)=>f===u.Iq.ArticleType3?(0,a.tZ)(p.Fg,{href:t.permalink,"data-event-category":"Related Article","data-event-action":"Click ".concat(e+1),"data-event-label":"https://".concat(d.domainLocales[g]).concat(t.permalink),style:{cursor:"pointer"},children:(0,a.tZ)(i.H,{className:"related-post",tag:"h5",as:"h3",children:t.postTitle})},"related-article-".concat(e)):(0,a.tZ)(p.VX,{children:(0,a.tZ)("a",{"data-event-category":"Further Article","data-event-action":"Click","data-event-label":"https://".concat(d.domainLocales[g]).concat(t.permalink),children:(0,a.tZ)(s,{article:t,className:"related-article-card",type:"author",size:c?"sm":"md",authorImageWrapProps:{width:32,height:32},dataEventActionForBanner:"Article Image Click",dataEventActionForTitle:"Article Title Click",dataEventCategoryForBanner:"Further Article",dataEventCategoryForTitle:"Further Article",dataEventLabelForBanner:"https://".concat(d.domainLocales[g]).concat(t.permalink),dataEventLabelForBookmark:"https://".concat(d.domainLocales[g]).concat(t.permalink),dataEventLabelForCategory:"https://".concat(d.domainLocales[g]).concat(t.category.permalink),dataEventLabelForTitle:"https://".concat(d.domainLocales[g]).concat(t.permalink)})})},"injected-article-".concat(e)))})]})})}},36883:function(t,e,n){n.r(e),n.d(e,{ArticleBottomContainer:function(){return ArticleBottomContainer}});var a=n(35944),r=n(8428),i=n(20254);let ArticleBottomContainer=t=>{let{isMobile:e,relatedArticles:n}=t;return(null==n?void 0:n.length)?(0,a.BX)(i.Sr,{children:[(0,a.tZ)(i.IW,{type:"solid"}),(0,a.tZ)(r.Z,{isMobile:e,articles:null==n?void 0:n.filter(t=>t.id)}),(0,a.tZ)(i.IW,{type:"solid"})]}):null}}}]);