"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["9798"],{81398:function(e,t,i){i.r(t),i.d(t,{default:()=>C});var a={};i.r(a),i.d(a,{Heading:()=>P,RelatedAsset:()=>A});var o={};i.r(o),i.d(o,{Heading:()=>L,RelatedAsset:()=>_});var n={};i.r(n),i.d(n,{Heading:()=>R,RelatedAsset:()=>z});var d=i(52322),r=i(56111),l=i(73302),s=i(3488),p=i(81924),m=i(53896),h=i(72300),c=i(72204),g=i(72649),x=i(79916),f=i(38664),u=i(95204),y=i(79644),b=i(78943),w=i(41549),Z=i(46423),v=i(57046);let A=b.ZP.aside.withConfig({componentId:"sc-c8170ed7-0"})(["border:1px solid ",";border-left-color:",";border-left-width:4px;border-radius:0 4px 4px 0;clear:both;margin-bottom:24px;position:relative;z-index:1;@media ","{padding:8px 16px 4px;}&&{@media ","{border-color:"," transparent ",";border-radius:0;border-width:3px 0 1px;float:right;width:",";&:not(:first-child){margin:32px 0 8px 20px;}&:first-child{margin:8px 0 32px 20px;}}@media ","{width:",";}.featureArticle &{@media ","{left:",";margin-left:-6.25%;width:",";}@media ","{left:",";margin-left:-13%;width:",";}}}","{row-gap:18px;}","{margin-left:0;margin-top:8px;padding-left:0;}","{padding-left:0;li{margin-bottom:0;}a{color:",";text-decoration:none;&:hover{color:",";text-decoration:underline;text-underline-offset:unset;}}}","{font-family:",";font-size:13px;line-height:16px;}","{max-width:100%;}"," ","{position:relative;}","{padding-bottom:16px;}","{font-size:16px;line-height:20px;margin-top:0;padding:0;@media ","{font-size:20px;line-height:24px;}}"],e=>e.theme.colorLightAccent,e=>e.theme.colorBrand,y.Z.query.smallMax,y.Z.query.medium,e=>e.theme.colorBrand,e=>e.theme.colorLightAccent,y.Z.columnWidth(6,12),y.Z.query.large,y.Z.columnWidth(5,12),y.Z.query.medium,y.Z.columnOffset(1,10),y.Z.columnWidth(4,10),y.Z.query.large,y.Z.columnOffset(1,6),y.Z.columnWidth(3,6),v.StoryTile,Z.ZV,f.ZD,e=>e.theme.colorLabelTag,e=>e.theme.colorLabelTag,f.ck,e=>e.theme.fontPrimary,w.B,v.StoryTile,w.B,v.Summary,v.Headline,y.Z.query.medium),P=b.ZP.h2.withConfig({componentId:"sc-c8170ed7-1"})(["&&{color:",";font-family:",";font-size:16px;font-weight:bold;letter-spacing:1.5px;line-height:16px;margin-top:0;padding:8px 0;text-transform:uppercase;@media ","{font-size:18px;line-height:24px;}}"],e=>e.theme.colorBrand,e=>e.theme.fontPrimary,y.Z.query.medium),_=b.ZP.aside.withConfig({componentId:"sc-2f2d06de-0"})(["border:1px solid ",";padding:8px;@media ","{padding:16px;}","{margin-top:0;}","{padding-left:0;}","{font-family:",";font-size:13px;line-height:16px;}& + &{margin-top:0;position:relative;top:-1px;}"],e=>e.theme.colorLightAccent,y.Z.query.medium,u.Headline,f.ZD,f.ck,e=>e.theme.fontPrimary),L=b.ZP.h2.withConfig({componentId:"sc-2f2d06de-1"})(["&&{display:none;}"]),z=(0,b.ZP)(A).withConfig({componentId:"sc-948f5eb7-0"})(["","{padding-bottom:16px;}","{font-size:16px;line-height:20px;margin-top:0;padding:0;a{&:hover{text-decoration:underline 1px;text-underline-offset:3px;}}@media ","{font-size:20px;line-height:24px;}}"],u.Summary,u.Headline,y.Z.query.medium),R=(0,b.ZP)(P).withConfig({componentId:"sc-948f5eb7-1"})(["&&{padding:12px 0 16px;}"]);var S=i(8598);let H={large:{aspectRatio:"16x9",width:297},medium:{aspectRatio:"16x9",width:301},small:{aspectRatio:"16x9",width:543}},q={medium:{aspectRatio:"3x2",width:168},small:{aspectRatio:"1x1",width:96}},C=({relatedEntity:e})=>{let t,{brand:{shortSiteName:i}}=(0,r.Z)(),f=(0,x.Un)((0,m.TH)().pathname),u=f===g.AX,y=f===g.zE,b=a;if(u&&(b=o),y&&(b=n),!e)return null;let w={headlineSizes:l.Mo.XS_S_S,imagePositions:u?"left":"top",imageSizes:u?q:H,showLabel:!0,showOpinionLayout:!0,showPrimaryTag:!u};switch(e?.asset?.type){case h.tP.bespoke:case h.tP.collection:t="Related";break;case h.tP.gallery:t="Gallery";break;case h.tP.video:t="Related Video";break;default:t="Related Article"}e.entity.heading&&(t=e.entity.heading);let Z=(0,S.n)(e);return(0,d.jsxs)(b.RelatedAsset,{className:"noPrint","data-testid":"related-story",children:[(0,d.jsx)(b.Heading,{"data-testid":"related-story-heading",children:t}),(0,d.jsx)(s.Z,{asset:Z,displayOptions:w,linkAttributes:{onClick:()=>{(0,p.I5)((0,c._W)(Z.urls,i))}},position:1})]})}},8598:function(e,t,i){i.d(t,{n:()=>a});let a=e=>{let{asset:t,entity:i}=e;return{...t,headlines:{...t.headlines,headline:i?.overrides?.headline||t.headlines.headline},images:i?.overrides?.images||t.images,overview:{...t.overview,about:i?.overrides?.about||t.overview?.about}}}}}]);