1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2454,3991,4448,5622,5771,6163,8196,8843,9242,9261,9383],{13730:(e,t,i)=>{i.d(t,{A:()=>s});var a=i(66352),n=i(71924),o=i(44258);let r=n.Ay.div.withConfig({componentId:"sc-a7acd454-0"})(["display:flex;justify-content:center;justify-items:center;min-height:250px;margin-bottom:20px;@media (max-width:","){min-height:50px;margin-bottom:0;}&.desktop_banner{@media (max-width:754px){display:none;}}&.mobile_banner{@media (min-width:755px){display:none;}}.topbar{margin:auto;display:flex;justify-self:center;justify-content:center;justify-items:center;@media (max-width:","){max-width:100vw;overflow-x:hidden;}}"],o.KL.large,o.KL.large);var l=i(54533);let s=({type:e,className:t,queryId:i})=>"Commercial"===e?null:(0,a.jsx)(r,{className:t,children:(0,a.jsx)(l.default,{className:"topbar",id:i?`leaderboard${i}`:"leaderboard",width:"100%",height:"200"})})},19261:(e,t,i)=>{i.r(t),i.d(t,{default:()=>l});var a=i(66352),n=i(23421),o=i.n(n);let r=i(71924).Ay.div.withConfig({componentId:"sc-da3d1c53-0"})(["display:flex;justify-content:center;max-width:95vw;.fb-post{max-width:95vw !important;margin:auto;height:100%;display:flex;justify-content:space-around;padding-bottom:2rem;}"]),l=({url:e})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o(),{async:!0,defer:!0,src:"https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"}),(0,a.jsx)(r,{children:(0,a.jsx)("div",{className:"fb-post","data-href":e})})]})},22620:(e,t,i)=>{i.d(t,{A:()=>l});var a=i(66352),n=i(71924);let o=n.Ay.div.withConfig({componentId:"sc-327b0689-0"})([""]),r=n.Ay.div.withConfig({componentId:"sc-327b0689-1"})(["max-width:975px;margin:1rem auto;@media (max-width:1150px){max-width:95vw;}"]),l=({children:e})=>(0,a.jsx)(o,{children:(0,a.jsx)(r,{children:e})})},26163:(e,t,i)=>{i.r(t),i.d(t,{default:()=>r});var a=i(66352),n=i(23421),o=i.n(n);let r=({id:e,contentUrl:t})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o(),{type:"text/javascript",src:"https://widgets.outbrain.com/outbrain.js",onLoad:()=>{console.log("OutBrain script loaded successfully"),console.log(`OutBrain widget ${e} ready with URL: ${t||window.location.href}`)},onError:e=>{console.error("OutBrain script failed to load:",e)}}),(0,a.jsx)("div",{className:"OUTBRAIN","data-ob-contenturl":t||window.location.href,"data-widget-id":e,"data-ob-installation-key":"TINDL20J008H0160OJOC02CF5"})]})},28843:(e,t,i)=>{i.r(t),i.d(t,{default:()=>o});var a=i(66352),n=i(95132);let o=({url:e})=>{let t=e?e.replace(/^https?:\/\/(www\.)?x\.com/,"https://twitter.com"):void 0;return((0,n.useEffect)(()=>{let e=document.createElement("script");e.src="https://platform.twitter.com/widgets.js",e.async=!0,document.body.appendChild(e)},[]),t)?(0,a.jsx)("blockquote",{className:"twitter-tweet",children:(0,a.jsx)("a",{href:t})}):null}},29242:(e,t,i)=>{i.r(t),i.d(t,{default:()=>c});var a=i(66352),n=i(98445),o=i(71924),r=i(44258);let l=o.Ay.div.withConfig({componentId:"sc-ea66bbed-0"})(["margin:0;border-left:3px solid ",";blockquote{margin:0;margin-left:17px;}p{font-family:",";font-size:25px;font-style:normal;font-weight:400;line-height:38px;letter-spacing:0em;text-align:left;margin:0;color:",";@media (max-width:","){font-size:36px;line-height:54px;margin:30px 0 17px;}}"],e=>e.theme.default.color.primary,({theme:e})=>e.default.fontFamily.secondaryFont,e=>e.theme.default.color.text.dark,r.KL.medium),s=o.Ay.h1.withConfig({componentId:"sc-ea66bbed-1"})(["font-size:80px;font-style:italic;font-weight:700;line-height:30px;letter-spacing:0em;text-align:left;margin:0;margin-top:48px;color:",";"],e=>e.theme.default.color.primary),d=o.Ay.p.withConfig({componentId:"sc-ea66bbed-2"})(["font-family:",";font-size:20px;font-style:italic;font-weight:700;line-height:30px;letter-spacing:0em;text-align:left;color:",";"],({theme:e})=>e.default.fontFamily.secondaryFont,e=>e.theme.default.color.primary),c=({data:e})=>{let{markup:t,cite:i}=e;return t&&i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s,{children:"â"}),(0,a.jsx)(l,{children:(0,n.Ay)(t)}),(0,a.jsx)(d,{children:i})]}):null}},44448:(e,t,i)=>{i.r(t),i.d(t,{default:()=>L});var a=i(66352),n=i(95132),o=i(71924),r=i(44258);let l=o.Ay.div.withConfig({componentId:"sc-b1394fa6-0"})(["position:relative;"]),s=o.Ay.input.withConfig({componentId:"sc-b1394fa6-1"})(["position:absolute;width:1px;height:1px;opacity:0;margin:0;pointer-events:none;&:focus-visible ~ .gal-body .gal-slide,&:focus-visible ~ .gal-lb .gal-lb-slide img{outline:3px solid #4d90fe;outline-offset:-3px;}"]),d=o.Ay.p.withConfig({componentId:"sc-b1394fa6-2"})(["color:"," !important;font-family:"," !important;margin-bottom:0 !important;font-weight:400 !important;text-align:left;line-height:16px;font-size:12px !important;margin-top:12px !important;"],({theme:e})=>e.default.color.text.darkGrey,({theme:e})=>e.default.fontFamily.secondaryFont),c=o.Ay.div.withConfig({componentId:"sc-b1394fa6-3"})([""]),m=o.Ay.div.withConfig({componentId:"sc-b1394fa6-4"})(["display:grid;grid-template-columns:2fr 200px;column-gap:10px;row-gap:0.5rem;justify-content:space-between;
1height:",";margin-top:",";@media (max-width:","){grid-template-columns:2fr 200px;height:450px;}@media (max-width:","){height:340px;grid-template-columns:1fr;}"],({$hero:e})=>e?"500px":"350px",({$hero:e})=>e?"32px":"0",r.KL.medium,r.KL.medium),p=o.Ay.div.withConfig({componentId:"sc-b1394fa6-5"})(["display:grid;grid-template-columns:1fr;overflow:hidden;row-gap:10px;@media (max-width:","){grid-template-columns:1fr;column-gap:10px;justify-content:space-around;}@media (max-width:","){grid-template-columns:1fr 1fr 1fr;height:90px;column-gap:10px;justify-content:space-around;}"],r.KL.medium,r.KL.medium),h=o.Ay.div.withConfig({componentId:"sc-b1394fa6-6"})(["overflow:hidden;position:relative;background-position:center;background-repeat:no-repeat,repeat;background-size:cover;display:flex;background-color:rgba(88,88,88,0.7);align-items:center;height:",";border-radius:16px;@media (max-width:","){height:450px;}@media (max-width:","){height:250px;}"],({$hero:e})=>e?"500px":"350px",r.KL.medium,r.KL.medium),g=o.Ay.img.withConfig({componentId:"sc-b1394fa6-7"})(["object-fit:contain;object-position:center;width:100%;height:100%;max-width:100%;max-height:100%;"]),f=o.Ay.label.withConfig({componentId:"sc-b1394fa6-8"})(["max-height:100%;overflow:hidden;background-image:",";background-position:center;background-repeat:no-repeat,repeat;background-size:contain;cursor:pointer;background-color:rgba(185,185,185,0.7);border-radius:16px;"],({$image:e})=>e&&`url(${e})`),u=o.Ay.label.withConfig({componentId:"sc-b1394fa6-9"})(["max-height:100%;overflow:hidden;background:",";background-position:center;background-repeat:no-repeat,repeat;background-size:cover;cursor:pointer;color:white;text-align:center;display:flex;justify-content:center;align-items:center;background-color:rgba(185,185,185,0.7);border-radius:16px;p{margin:auto;position:absolute;@media (max-width:","){}}"],({$image:e})=>e&&`linear-gradient(rgba(0, 0, 0, 0.753), rgba(0, 0, 0, 0.692)), url(${e})`,r.KL.medium),x=o.Ay.div.withConfig({componentId:"sc-b1394fa6-10"})(["justify-content:space-between;margin:auto 0;width:100%;z-index:10;position:absolute;"]),y=o.Ay.button.withConfig({componentId:"sc-b1394fa6-11"})(["border:0;background-color:rgba(88,88,88,0.7);padding:0.5rem;cursor:pointer;display:flex;align-items:center;&[data-disabled]{cursor:not-allowed;svg{fill:#a3a3a3;}}&:disabled{cursor:not-allowed;svg{fill:#a3a3a3;}}svg{font-size:3rem;fill:white;@media (max-width:","){font-size:1.8rem;}}"],r.KL.medium),w=o.Ay.div.withConfig({componentId:"sc-b1394fa6-12"})(["position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,0.9);flex-direction:column;"]),b=o.Ay.label.withConfig({componentId:"sc-b1394fa6-13"})(["position:absolute;inset:0;cursor:zoom-out;"]),j=o.Ay.label.withConfig({componentId:"sc-b1394fa6-14"})(["position:absolute;top:16px;right:16px;z-index:2;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:white;background:rgba(88,88,88,0.7);border-radius:50%;svg{font-size:1.6rem;fill:white;}"]),v=o.Ay.div.withConfig({componentId:"sc-b1394fa6-15"})(["position:relative;z-index:1;width:100%;height:100%;"]),k=o.Ay.div.withConfig({componentId:"sc-b1394fa6-16"})(["position:absolute;inset:0;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px 64px;box-sizing:border-box;"]),C=o.Ay.label.withConfig({componentId:"sc-b1394fa6-17"})(["position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:white;&[data-prev]{left:12px;}&[data-next]{right:12px;}&[data-disabled]{cursor:default;opacity:0.3;}svg{font-size:2.4rem;fill:white;}"]),A=o.Ay.img.withConfig({componentId:"sc-b1394fa6-18"})(["max-width:100%;max-height:80vh;object-fit:contain;"]),I=o.Ay.p.withConfig({componentId:"sc-b1394fa6-19"})(["color:white;font-family:",";font-size:13px;text-align:center;margin:0;max-width:800px;"],({theme:e})=>e.default.fontFamily.secondaryFont);var $=i(62373),_=i(83911),F=i(59085);let z=e=>"string"==typeof e?e:"",S=e=>z(e?.data?.caption),L=({data:e,hero:t})=>{let{gallery:i}=e,{publication:o}=(0,n.useContext)(F.I),r="gal"+(0,n.useId)().replace(/[^a-zA-Z0-9]/g,""),L=(0,n.useRef)(null),N=(0,n.useRef)(null);if((0,n.useEffect)(()=>{let e=N.current;if(!e)return;let t=t=>{"Escape"===t.key&&e.checked&&(e.checked=!1)},i=()=>{e.checked&&L.current?.querySelector('input[type="radio"]:checked')?.focus()};return document.addEventListener("keydown",t),e.addEventListener("change",i
1),()=>{document.removeEventListener("keydown",t),e.removeEventListener("change",i)}},[]),!i||0===i.length)return null;let E=i.length,T=E>1;return(0,a.jsxs)(l,{ref:L,className:r,children:[i.map((e,t)=>(0,a.jsx)(s,{type:"radio",name:r,id:`${r}-s${t}`,defaultChecked:0===t,"aria-label":`Image ${t+1} of ${E}`},`r${t}`)),T&&(0,a.jsx)(s,{as:"input",ref:N,type:"checkbox",id:`${r}-lb`,"aria-label":"Open full-screen gallery"}),(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:((e,t)=>{let i=[`.${e} .gal-slide{display:none}`,`.${e} .gal-ctrl{display:none}`,`.${e} .gal-cap{display:none}`,`.${e} .gal-lb-slide{display:none}`,`.${e} .gal-lb{display:none}`];for(let a=0;a<t;a++)i.push(`#${e}-s${a}:checked~.gal-body .gal-slide.s${a}{display:block}`),i.push(`#${e}-s${a}:checked~.gal-body .gal-ctrl.ctrl${a}{display:flex}`),i.push(`#${e}-s${a}:checked~.gal-caps .gal-cap.cap${a}{display:block}`),i.push(`#${e}-s${a}:checked~.gal-lb .gal-lb-slide.lb${a}{display:flex}`);return i.push(`#${e}-lb:checked~.gal-lb{display:flex}`),i.join("")})(r,E)}}),(0,a.jsxs)(m,{className:"gal-body",$hero:t,children:[(0,a.jsxs)(h,{$hero:t,children:[i.map((e,t)=>(0,a.jsx)(g,{className:`gal-slide s${t}`,src:`${(0,_.Th)(o,e.data?.url)}`,alt:S(e)||`Gallery image ${t+1}`},`m${t}`)),i.map((e,t)=>(0,a.jsxs)(x,{className:`gal-ctrl ctrl${t}`,children:[t>0?(0,a.jsx)(y,{as:"label",htmlFor:`${r}-s${t-1}`,"aria-label":"Previous image",children:(0,a.jsx)($.qX,{})}):(0,a.jsx)(y,{as:"span","data-disabled":!0,"aria-hidden":"true",children:(0,a.jsx)($.qX,{})}),t<E-1?(0,a.jsx)(y,{as:"label",htmlFor:`${r}-s${t+1}`,"aria-label":"Next image",children:(0,a.jsx)($.BJ,{})}):(0,a.jsx)(y,{as:"span","data-disabled":!0,"aria-hidden":"true",children:(0,a.jsx)($.BJ,{})})]},`c${t}`))]}),(0,a.jsxs)(p,{children:[i[1]&&(0,a.jsx)(f,{htmlFor:`${r}-s1`,"aria-label":"View image 2",$image:`${(0,_.$n)(o,i[1].data?.url)}`}),i[2]&&(0,a.jsx)(f,{htmlFor:`${r}-s2`,"aria-label":"View image 3",$image:`${(0,_.$n)(o,i[2].data?.url)}`}),T&&(0,a.jsx)(u,{htmlFor:`${r}-lb`,"aria-label":"View all images full screen",$image:i[3]&&`${(0,_.$n)(o,i[3].data?.url)}`,children:E>3&&(0,a.jsxs)("p",{children:[" ","+ ",E-3," ",(0,a.jsx)("br",{}),"(View All)"]})})]})]}),(0,a.jsx)(c,{className:"gal-caps",children:i.map((e,t)=>(0,a.jsx)(d,{className:`gal-cap cap${t}`,children:S(e)},`cap${t}`))}),T&&(0,a.jsxs)(w,{className:"gal-lb",role:"dialog","aria-label":"Image gallery",children:[(0,a.jsx)(b,{htmlFor:`${r}-lb`,"aria-label":"Close gallery"}),(0,a.jsx)(j,{htmlFor:`${r}-lb`,"aria-label":"Close gallery",children:(0,a.jsx)($.zh,{})}),(0,a.jsx)(v,{children:i.map((e,t)=>{let i,n;return(0,a.jsxs)(k,{className:`gal-lb-slide lb${t}`,children:[t>0?(0,a.jsx)(C,{"data-prev":!0,htmlFor:`${r}-s${t-1}`,"aria-label":"Previous image",children:(0,a.jsx)($.qX,{})}):(0,a.jsx)(C,{"data-prev":!0,"data-disabled":!0,"aria-hidden":"true",children:(0,a.jsx)($.qX,{})}),(0,a.jsx)(A,{src:e?.data?.url,alt:S(e)||`Gallery image ${t+1}`}),(i=S(e),n=z(e?.data?.copyright),(i||n)&&(0,a.jsxs)(I,{children:[i,n?` ${n}`:""]})),t<E-1?(0,a.jsx)(C,{"data-next":!0,htmlFor:`${r}-s${t+1}`,"aria-label":"Next image",children:(0,a.jsx)($.BJ,{})}):(0,a.jsx)(C,{"data-next":!0,"data-disabled":!0,"aria-hidden":"true",children:(0,a.jsx)($.BJ,{})})]},`lb${t}`)})})]})]})}},53991:(e,t,i)=>{i.r(t),i.d(t,{default:()=>d});var a=i(66352),n=i(71924);let o=n.Ay.div.withConfig({componentId:"sc-263851c1-0"})(["position:relative;width:100%;padding-bottom:56.25%;iframe{border-radius:16px;}"]),r=n.Ay.iframe.withConfig({componentId:"sc-263851c1-1"})(["position:absolute;top:0;left:0;width:100%;height:100%;border:0;"]),l=n.Ay.p.withConfig({componentId:"sc-263851c1-2"})(["font-family:",";font-size:15px;font-weight:400;line-height:17px;letter-spacing:0em;text-align:left;color:",";"],({theme:e})=>e.default.fontFamily.secondaryFont,({theme:e})=>e.default.color.text.medium);var s=i(98445);let d=({data:e})=>e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{children:(0,a.jsx)(r,{src:`https://www.youtube.com/embed/${e.id}`,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"})}),(0,a.jsx)(l,{children:e.localCaption&&(0,s.Ay)(e.localCaption)})]}):null},55771:(e,t,i)=>{i.r(t),i.d(t,{default:()=>t4});var a=i(66352),n=i(64028),o=i(59085),r=i(88609),l=i(95132),s=i(28942),d=i(71924);let c=d.Ay.article.withConfig({componentId:"sc-d7b4874f-0"})(["display:flex;flex-direction:column;"]);var m=i(3075),p=i.n(m),h=i(22620),g=i(26163),f=i(33958);let u=d.Ay.div.withConfig({componentId:"sc-e861299a-0"})(["@media (max-width:1150px){display:none;}"]),x=d.Ay.div.withConfig({componentId:"sc-e861299a-1"})(["min-height:270px;min-width:300px;"]),y=d.Ay.div.withConfig({componentId:"sc-e861299a-2"})(["min-height:620px;min-width:300px;",""],({$sticky:e})=>e&&` 2 position: sticky; 3 top: 150px; 4 `);var w=i(54533);let b=d.Ay.div.withConfig({componentId:"sc-9bcd462b-0"})(["width:100%;display:flex;justify-content:center;justify-items:center;height:270px;position:relative;"]),j=d.Ay.div.withConfig({componentId:"sc-9bcd462b-1"})(["position:absolute;"]),v=({className:e,id:t})=>(0,a.jsx)(b,{children:(0,a.jsx)(j,{children:(0,a.jsx)(w.default,{className:e,id:t,width:"100%",height:"200"})})});var k=i(90508);let C=["mpu2","sticky-mpu"],A=({sidebarContent:e,type:t})=>{let{isDisableOutbrain:i,refactoredArticle:n}=(0,l.useContext)(k.k);if(!e||"Service"===t||"Commercial"===t)return null;let o=[...C];return(0,a.jsx)(u,{children:e.map((e,t)=>{if("MostPopular"===e.type)return(0,a.jsx)(f.A,{},t);if("Outbrain"===e.type&&!i)return(0,a.jsx)(x,{children:(0,a.jsx)(g.default,{id:"AR_2",contentUrl:n?.url})},t);
4if("Ad"===e.type){let e=o.shift();return e?(0,a.jsx)(y,{$sticky:"sticky-mpu"===e,children:(0,a.jsx)(v,{className:"article_sidebar",id:e})},t):null}return null})})};var I=i(44258),$=i(94596);let _=d.Ay.div.withConfig({componentId:"sc-da88b5c9-0"})(["width:659px;word-wrap:break-word;text-overflow:ellipsis;@media (max-width:1150px){width:95vw;}"]),F=d.Ay.div.withConfig({componentId:"sc-da88b5c9-1"})(["grid-template-columns:1fr 300px;display:grid;margin-top:1rem;column-gap:1rem;@media (max-width:1150px){grid-template-columns:1fr;}li{padding:5px 0;}a{margin-right:0;color:",";&:hover{color:",";text-decoration:underline;}}"],({theme:e})=>e.default.color.primary,({theme:e})=>(0,$.N)(.2,e.default.color.primary));d.Ay.div.withConfig({componentId:"sc-da88b5c9-2"})(["width:659px;margin:1rem auto;position:relative;height:540px;@media (max-width:","){width:95vw;height:212px;}"],I.KL.large),d.Ay.div.withConfig({componentId:"sc-da88b5c9-3"})(["margin:1rem auto;position:relative;height:400px;display:flex;flex-direction:column;@media (max-width:","){width:95vw;height:212px;}p{color:",";display:flex;font-family:",";font-style:normal;font-weight:400;letter-spacing:0em;text-align:left;font-size:15px !important;}"],I.KL.large,({theme:e})=>e.default.color.text.medium,({theme:e})=>e.default.fontFamily.secondaryFont);var z=i(98445);let S="transparent url(/icons/related-links.svg) no-repeat",L=d.Ay.div.withConfig({componentId:"sc-20976669-0"})(["ul{padding:0;list-style:none;}li{position:relative;padding-bottom:22px;padding-left:31px;font-size:15px;font-family:",';font-weight:400;text-decoration:underline;&:before{content:" ";width:19px;height:19px;display:block;background:',";background-size:19px;border-radius:50%;position:absolute;left:2px;top:0;z-index:2;.article-climate &{background:",";}.article-sgi &{background:",';}}&:after{content:"";display:block;position:absolute;width:1px;height:100%;background:',";left:11px;top:0;}&:last-child{padding-bottom:0;&:after{display:none;}}a:hover{color:",";}}"],({theme:e})=>e.default.fontFamily.secondaryFont,S,S,S,e=>e.theme.default.color.primary,e=>e.theme.default.color.primary),N=({keypoints:e,title:t})=>e&&0!==e.length?(0,a.jsxs)(a.Fragment,{children:[t&&t,(0,a.jsx)(L,{children:(0,z.Ay)(e)})]}):null,E=d.Ay.div.withConfig({componentId:"sc-67cf36c1-0"})(["max-width:65vw;margin:1rem auto;scroll-behavior:smooth;@media (max-width:","){max-width:95vw;}"],I.KL.medium);var T=i(82454),K=i(55488),O=i.n(K),B=i(58196),D=i(29242),P=i(21366),U=i(19261),H=i(85622),J=i(79383),R=i(28843),V=i(72048),q=i(55618);let M=d.Ay.div.withConfig({componentId:"sc-d0b7a8ab-0"})(["border-radius:12px;font-family:",";background-color:white;padding:1rem;p,img{margin:20px 0 0;}@media (max-width:","){width:100%;}"],({theme:e})=>e.default.fontFamily.secondaryFont,I.KL.medium),G=d.Ay.div.withConfig({componentId:"sc-d0b7a8ab-1"})(["display:flex;span{color:",";}p{margin:0;}.date_wrapper{display:flex;align-items:center;}"],({theme:e})=>e.default.color.primary),X=({post:e})=>{if(!e)return null;let t=e.data.extra.authorName;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O(),{id:"caf98f43e60f646b",children:".video_wrapper.jsx-caf98f43e60f646b{height:310px}@media(max-width:820px){.video_wrapper.jsx-caf98f43e60f646b{height:170px}}"}),(0,a.jsxs)(M,{id:`post-${e?.data?.id}`,children:[(0,q.m)(new Date((e.data.scheduleTime>0?e.data.scheduleTime:e.data.created)*1e3),{addSuffix:!0}),(0,a.jsx)("h2",{className:"jsx-caf98f43e60f646b",children:e.data.title}),e.postJson.map((e,t)=>e?.type==="markup"?(0,a.jsx)(l.Fragment,{children:(0,z.Ay)(e.data.markup)},t):e?.type==="twitter"?(0,a.jsx)(R.default,{url:e.data.url},t):e?.type==="facebook"?(0,a.jsx)(U.default,{url:e.data.url},t):e?.type==="tiktok"?(0,a.jsx)(J.default,{url:e.data.url},t):e?.type==="video-dm"?(0,a.jsx)("div",{className:"jsx-caf98f43e60f646b video_wrapper",children:(0,a.jsx)(P.A,{data:e.data,post:!0})},t):e?.type==="instagram"?(0,a.jsx)("div",{className:"jsx-caf98f43e60f646b",children:(0,a.jsx)(H.default,{url:e?.data.url},t)},t):e?.type==="blockquote"?(0,a.jsx)(D.default,{data:e?.data},t):e?.type==="image"?(0,a.jsx)(B.default,{image:e.data},t):void 0),(0,a.jsx)(T.default,{direction:"horizontal"}),(0,a.jsxs)(G,{children:[t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{className:"jsx-caf98f43e60f646b",children:["by ",(0,a.jsx)("span",{className:"jsx-caf98f43e60f646b",children:t})]}),(0,a.jsx)(T.default,{direction:"verticle"})]}),(0,a.jsx)("div",{className:"jsx-caf98f43e60f646b date_wrapper",children:(0,a.jsx)(V.A,{time:new Date(1e3*parseInt(e.data.scheduleTime>0?e.data.scheduleTime:e.data.created)),type:"long"})})]})]})]})},Y=d.Ay.div.withConfig({componentId:"sc-f0cb55bc-0"})(["background-color:",";padding:1rem;"],({theme:e})=>e.default.color.backgrounds.light),W=d.Ay.div.withConfig({componentId:"sc-f0cb55bc-1"})(["display:flex;margin-top:20px;@media (max-width:","){justify-content:space-between;}button{font-size:11px;gap:4px;}"],I.KL.medium),Z=d.Ay.div.withConfig({componentId:"sc-f0cb55bc-2"})(["display:flex;justify-content:center;@media (max-width:","){width:100%;}"],I.KL.medium);var Q=i(28865),ee=i(62373);let et=({id:e})=>{let[t,i]=(0,l.useState)([]),[o,r]=(0,l.useState)(0),[s,d]=(0,l.useState)(0),[c,m]=(0,l.useState)(1),p=(0,l.useCallback)(async()=>{let t=await n.A.get(`/api/liveblog?id=${e}&offset=${o}`);m(t.data.data.status),d(t.data.paging.postsIds.length),i([]),i(t.data.posts)},[e,o]);return((0,l.useEffect)(()=>{p()},[p]),(0,l.useEffect)(()=>{let e=setInterval(()=>{p()},6e4);return()=>clearInterval(e)},[p]),t)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Y,{children:t?.map((e,i)=>(0,a.jsxs)("div",{children:[(0,a.jsx)(X,{post:e}),i!==t.length-1&&(0,a.jsx)(Z,{children:(0,a.jsx)(T.default,{direction:"verticle"})})]},i))}),(0,a.jsxs)(W,{children:[(0,a.jsx)(Q.A,{disabled:0===o,buttonStyles:"pagination",handleClick:()=>{o>0&&r(o-10)},lefticon:(0,a.jsx)(ee.nX,{}),children:1===c?"Latest updates":"Older updates"}),"\xa0 \xa0",(0,a.jsx)(Q.A,{disabled:o+10>s,buttonStyles:"pagination",handleClick:()=>{o+10<s&&r(o+10)},icon:(0,a.jsx)(ee.if,{}),children:1===c?"Older updates":"Latest updates"})]})]}):null},ei=({isLiveBlog:e,liveblog:t})=>e?(0,a.jsx)("div",{children:(0,a.jsxs)(E,{children:[(0,a.jsx)(N,{title:t?.liveblogKeypointsTitle,keypoints:t?.liveblogKeypoints}),(0,a.jsx)(et,{id:t.liveblog})]})}):null,ea=({type:e})=>{let{isDisableOutbrain:t,refactoredArticle:i}=(0,l.useContext)(k.k);return"Service"===e||"Commercial"===e||t?null:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(h.A,{children:(0,a.jsx)(g.default,{id:"AR_1",contentUrl:i?.url})})})};var en=i(90725);let eo=d.Ay.a.withConfig({componentId:"sc-8a5dd0d9-0"})(["cursor:pointer;svg{font-size:22px;width:25px;}"]);var er=i(88283),el=i(23986),es=i(63662);
4let ed={twitter:i(29383).A,email:el.A,facebook:es.A,whatsApp:ee.Ec},ec=({url:e,type:t,nativeSharingUrl:i,nativeSharingTitle:n,nativeSharingText:o})=>{let{nativeSharing:r}=(0,er.Y0)(),s=(0,en.A)();return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(eo,{onClick:()=>void("email"===t?window.location.assign(e):s(e)),children:(0,l.createElement)(ed[t])})})},em=d.Ay.div.withConfig({componentId:"sc-8af06e33-0"})(["display:flex;flex-direction:column;width:max-content;@media (max-width:","){}"],I.KL.medium),ep=d.Ay.span.withConfig({componentId:"sc-8af06e33-1"})(["font-family:",";font-size:12px;font-weight:800;@media (max-width:","){}"],({theme:e})=>e.default.fontFamily.primaryFont,I.KL.medium),eh=d.Ay.div.withConfig({componentId:"sc-8af06e33-2"})(["display:flex;justify-content:space-between;@media (max-width:","){}"],I.KL.medium),eg=()=>{let{screenSize:e}=(0,er.Y0)(),{refactoredArticle:t}=(0,l.useContext)(k.k),{path:i,title:n,publications:o,titleSocial:r}=t,s=o[0];return(0,a.jsxs)(em,{children:[(0,a.jsx)(ep,{children:"SPREAD THE NEWS"}),(0,a.jsxs)(eh,{children:[(0,a.jsx)(ec,{type:"email",url:`mailto:?subject=${n}&body=${encodeURIComponent(s.url+i)}`}),(0,a.jsx)(ec,{type:"twitter",url:`https://twitter.com/intent/tweet?text=${n}%20${s.url}${i}`,nativeSharingUrl:`${s.url}${i}`,nativeSharingTitle:n,nativeSharingText:r}),(0,a.jsx)(ec,{type:"facebook",url:`https://www.facebook.com/sharer/sharer.php?u=${s.url}${i}`}),e.medium&&(0,a.jsx)(ec,{type:"whatsApp",url:`whatsapp://send?text=${n} ${s.url}${i}`,nativeSharingUrl:`${s.url}${i}`,nativeSharingTitle:n,nativeSharingText:r})]})]})},ef=d.Ay.div.withConfig({componentId:"sc-114ea3d7-0"})(["border-top:",";border-bottom:",";padding:20px 0;display:grid;grid-template-columns:5fr 1fr;a{word-break:normal;margin:0;text-transform:capitalize;color:",";}"],({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>e.default.color.text.dark),eu=d.Ay.div.withConfig({componentId:"sc-114ea3d7-1"})(["@media (max-width:","){max-width:95vw;}"],I.KL.medium),ex=d.Ay.span.withConfig({componentId:"sc-114ea3d7-2"})(["p{font-family:",";font-size:12px;font-weight:800;line-height:12px;text-transform:uppercase;margin:5px 0;}span{word-break:normal !important;margin-left:0;margin-right:8px;color:",";font-family:",";font-weight:600;}"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.fontFamily.primaryFont),ey=d.Ay.a.withConfig({componentId:"sc-114ea3d7-3"})(["margin-right:10px;margin-left:10px;font-size:14px;cursor:pointer;align-items:center;display:flex;&:hover{text-decoration:underline;}"]),ew=d.Ay.span.withConfig({componentId:"sc-114ea3d7-4"})(["font-size:0.8rem;margin:auto 0;svg{font-size:20px;width:25px;height:25px;}"]),eb=({tags:e})=>e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O(),{id:"5602dc6642f8b95e",children:".tag_wrapper.jsx-5602dc6642f8b95e{display:flex;flex-wrap:wrap;grid-row:2}@media(max-width:820px){.tag_wrapper.jsx-5602dc6642f8b95e{grid-template-columns:1fr}}"}),(0,a.jsx)("div",{className:"jsx-5602dc6642f8b95e",children:(0,a.jsx)(eu,{children:(0,a.jsxs)(ef,{children:[(0,a.jsxs)(ex,{children:[(0,a.jsx)("p",{className:"jsx-5602dc6642f8b95e more_about",children:"More About:"}),(0,a.jsx)("div",{className:"jsx-5602dc6642f8b95e tag_wrapper",children:e.map((e,t)=>(0,a.jsx)(ey,{href:e.path,children:(0,a.jsx)("span",{className:"jsx-5602dc6642f8b95e",children:e.name})},t))})]}),(0,a.jsx)(ew,{children:(0,a.jsx)(eg,{})})]})})})]}):null,ej=(e,t=94)=>{if(!e)return"";if(/[?&]width=/.test(e))return e;let i=e.includes("?")?"&":"?";return`${e}${i}width=${t}&height=${t}&crop=1:1,smart&quality=75`},ev=d.Ay.img.withConfig({componentId:"sc-98bca559-0"})(["height:47px;width:47px;object-fit:cover;margin-right:1rem;"]),ek=d.Ay.div.withConfig({componentId:"sc-98bca559-1"})(["height:47px;width:47px;background-color:",";margin-right:1rem;color:white;font-size:24px;display:flex;align-content:center;align-items:center;justify-content:center;"],e=>e.theme.default.color.primary),eC=({authors:e,user:t})=>{let{screenSize:i}=(0,er.Y0)(),[n,o]=(0,l.useState)(!1);if(t)return(0,a.jsx)(ek,{children:t});if(i.medium||!e)return null;let{imageUrl:r}=e[0];return!r||n?null:(0,a.jsx)(ev,{src:ej(r),alt:"",loading:"lazy",onError:()=>o(!0)})},eA=d.Ay.div.withConfig({componentId:"sc-beb6913f-0"})(["border-top:1px solid ",";background-color:",";padding:10px;margin-top:22px;p{font-family:",";font-size:16px;font-style:normal;font-weight:400;line-height:30px;letter-spacing:0em;text-align:left;margin-top:8px;max-width:85%;}.author{color:",";font-weight:600;}"],({theme:e})=>e.default.color.text.medium,({theme:e})=>e.default.color.backgrounds.light,({theme:e})=>e.default.fontFamily.secondaryFont,({theme:e})=>e.default.color.primary),eI=d.Ay.div.withConfig({componentId:"sc-beb6913f-1"})(["display:grid;column-gap:15px;grid-template-columns:48px 1fr;row-gap:0.4rem;"]);var e$=i(78901);let e_=d.Ay.button.withConfig({componentId:"sc-fe7964c-0"})(["font-family:",";font-size:15px;font-style:normal;font-weight:900;line-height:18px;letter-spacing:0.05em;text-align:left;color:",";text-transform:uppercase;border:0;background:0;align-items:center;display:flex;cursor:pointer;"],({theme:e})=>e.default.fontFamily.secondaryFont,({theme:e})=>e.default.color.primary),eF=({comment:e})=>{let{timestamp:t,id:i}=e,{session:r}=(0,l.useContext)(e$.cy),{publication:s,config:d}=(0,l.useContext)(o.I),[c,m]=(0,l.useState)(e?.users),[p,h]=(0,l.useState)(e?.users);p!==e?.users&&(h(e?.users),m(e?.users));let g=async()=>{try{let a={timestamp:t,flag:s,id:i,users:e?.users?[...e?.users,r?.username]:[r?.username]};await n.A.post("/api/comment/flag",a),await n.A.post("/api/ses",{from:d.your_story,to:d.your_story,body:`<body><h1>A user has flagged a comment: ${d.pub}</h1><br/><p>Comment information:</p><p>name:${e.author}</p><p>email: ${e?.authorEmail}</p> <a href="${d.url+e?.articleUrl}">${d.url+e?.articleUrl}</a><br/>
4<br/><p>Story:</p></body> `,subject:`new story for ${d.pub}`}),c?m([...c,r?.username]):m([r?.username])}catch(e){console.log(e)}};return r?e.users&&e.users.length>3?(0,a.jsx)(e_,{children:"Flagged"}):c&&c.includes(r?.username)?(0,a.jsx)(e_,{children:"You have already flagged this comment"}):(0,a.jsxs)(e_,{onClick:()=>g(),children:["Report comment",(0,a.jsx)(ee.Lz,{})]}):null},ez=({comment:e})=>{let{body:t,author:i,timestamp:n}=e;return(0,a.jsxs)(eA,{children:[(0,a.jsxs)(eI,{children:[(0,a.jsx)(eC,{user:i&&i.charAt(0)?i.charAt(0):"U"}),(0,a.jsxs)("div",{children:["By ",(0,a.jsx)("span",{className:"author",children:i}),(0,a.jsx)(V.A,{time:new Date(n)}),(0,a.jsx)("p",{children:t})]})]}),(0,a.jsx)(eF,{comment:e})]})},eS=({comments:e,userId:t})=>(0,a.jsx)(a.Fragment,{children:e.map((e,i)=>e.users&&e.users.length>=3?null:(0,a.jsx)(ez,{userId:t,comment:e},i))});var eL=i(89897),eN=i(50279),eE=i(85345);let eT=d.Ay.div.withConfig({componentId:"sc-8d98c0a7-0"})(["margin-bottom:20px;scroll-margin-top:140px;h3{color:",";font-family:",";font-size:32px;font-weight:800;line-height:40px;margin-bottom:8px;}span{color:",";font-family:",";font-size:16px;font-weight:400;line-height:24px;margin-bottom:8px;}.button_wrapper{display:flex;justify-content:flex-end;margin-top:10px;}"],({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.fontFamily.secondaryFont),eK=({addComment:e,session:t,body:i,handleBodyChange:n,cancelPost:o,commentCount:r})=>(0,a.jsxs)(eT,{id:"comments",children:[(0,a.jsx)("h3",{children:"Comments"}),t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eN.A,{handleChange:n,value:i,type:"comment",placeholder:"Insert your comment"}),(0,a.jsxs)("div",{className:"button_wrapper",children:[(0,a.jsx)(Q.A,{disabled:""===i,handleClick:o,buttonStyles:"frost",children:"Cancel"}),"\xa0",(0,a.jsx)(Q.A,{disabled:""===i,handleClick:e,buttonStyles:"primary",children:"Post"})]})]}):(0,a.jsxs)(eE.DF,{className:"no-comment-container",children:[(0,a.jsx)("p",{children:r>0?`This article has ${r} comment${r>1?"s":""}.`:"This article has no comments yet. Be the first to leave a comment."}),(0,a.jsx)(eL.A,{className:"comment-login",type:"login",children:"Comment"})]})]});var eO=i(89615);let eB=({id:e,comments:t,commentCount:i,setComments:n,addComment:r})=>{let{refactoredArticle:s}=(0,l.useContext)(k.k),{publication:d}=(0,l.useContext)(o.I),c=(0,eO.useRouter)(),{session:m,attributes:p}=(0,l.useContext)(e$.cy),[h,g]=(0,l.useState)(""),f=(0,l.useCallback)(async()=>{try{if(["77a309dd-0b3e-4ed1-9efb-87b07fdaffd3","a53176ee-037f-4a98-83eb-2b460975fd72","94ff9c24-835b-4c2a-9140-d14cd191cf63"].includes(m?.username))return;{let i={title:s.title,publication:d,author:p?p[2].Value:"",authorid:m?.username,authorEmail:p.filter(e=>"email"===e.Name)[0].Value,body:h,timestamp:Date.now(),id:e,users:[],articleUrl:c.asPath};n([i,...t]),await r(i,e),g("")}}catch(e){console.log({err:e})}},[m,p,h,e,r,d,s,c.asPath,t,n]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eK,{cancelPost:()=>{g("")},session:m,handleBodyChange:e=>{g(e.target.value)},body:h,addComment:f,commentCount:i??0}),(0,a.jsx)(eS,{userId:m?.username,comments:t})]})},eD=d.Ay.div.withConfig({componentId:"sc-e7d5012b-0"})(["max-width:65vw;margin:auto;@media (max-width:1150px){max-width:100%;}"]);d.Ay.img.withConfig({componentId:"sc-e7d5012b-1"})(["object-fit:cover;width:100%;max-height:500px;"]);var eP=i(53991);let eU=({hero:e,isHeroOverride:t,isHero:i})=>{switch(e.type){case"dailymotion":return(0,a.jsx)(P.A,{data:e.data});case"youtube":case"video-youtube":return(0,a.jsx)(eP.default,{data:e.data});case"image":return(0,a.jsx)(B.default,{image:e.data,isHeroOverride:t,isHero:i});default:return null}},eH=({type:e,dailyMotion:t,hero:i,isHeroOverride:n,isVideo:o})=>"Commercial"===e||t||o?null:(0,a.jsx)("div",{children:(0,a.jsx)(eD,{children:(0,a.jsx)(eU,{isHeroOverride:n,hero:i,isHero:!0})})}),eJ=p()(()=>Promise.resolve().then(i.bind(i,76972)),{loadableGenerated:{webpack:()=>[76972]}}),eR=({comments:e,commentCount:t,setComments:i,addComment:n,articleId:o})=>{let{refactoredArticle:r,memoizedArticleBody:s,isHeroOverride:d}=(0,l.useContext)(k.k),{articleBody:c,isVideo:m,hero:p,sidebar:g,type:f,liveblog:u,isLiveBlog:x,id:y,showComments:w,topics:b,dailyMotion:j}=r,v=(0,l.useMemo)(()=>(e=>{if(!e)return e;let t=0,i=-1,a=-1;e.forEach((e,n)=>
4{e?.type==="markup"&&(a=n,5===(t+=1)&&(i=n))});let n=[...e];return n.splice((-1!==i?i:a)+1,0,{type:"newsletter-signup",data:{}}),n})(s),[s]);return(0,a.jsx)(h.A,{children:(0,a.jsxs)(F,{children:[(0,a.jsxs)(_,{children:[p&&(0,a.jsx)(eH,{type:f,isVideo:m,hero:p,isHeroOverride:d,dailyMotion:j}),(0,a.jsx)(eJ,{body:v,type:f,className:"article-body"}),(0,a.jsx)(ei,{liveblog:u,isLiveBlog:x}),(0,a.jsx)(eb,{tags:b}),w&&(0,a.jsx)(eB,{id:o,comments:e,commentCount:t,setComments:i,addComment:n}),(0,a.jsx)(ea,{type:f})]}),(0,a.jsx)(A,{sidebarContent:g&&g,type:f})]})})},eV="viewed-articles";function eq(){let e=localStorage.getItem(eV);if(!e)return[];let t=JSON.parse(e);if(!Array.isArray(t))return localStorage.removeItem(eV),[];let i=new Date(Date.now()-864e5),a=t.filter(e=>new Date(e.dateViewed)>i);return localStorage.setItem(eV,JSON.stringify(a)),a}function eM(e){let t=eq();t.some(t=>t.id===e)||t.push({id:e,dateViewed:new Date().toISOString()}),localStorage.setItem(eV,JSON.stringify(t))}function eG(e,t){let i=eq(),a=e.filter(e=>e.id!==t&&!i.some(t=>t.id===e.id));return a.length>0?a:(localStorage.removeItem(eV),eM(t),e.filter(e=>e.id!==t))}let eX=()=>{let{screenSize:e}=(0,er.Y0)();return(0,a.jsxs)(eY,{children:[(0,a.jsx)(eW,{children:"SPREAD THE NEWS"}),(0,a.jsxs)(eZ,{children:[(0,a.jsx)(ec,{type:"email",url:""}),(0,a.jsx)(ec,{type:"twitter",url:""}),(0,a.jsx)(ec,{type:"facebook",url:""}),e.medium&&(0,a.jsx)(ec,{type:"whatsApp",url:""})]})]})},eY=d.Ay.div.withConfig({componentId:"sc-8248d40-0"})(["display:flex;flex-direction:column;width:max-content;@media (max-width:","){}"],I.KL.medium),eW=d.Ay.span.withConfig({componentId:"sc-8248d40-1"})(["font-family:",";font-size:12px;font-weight:800;@media (max-width:","){}"],({theme:e})=>e.default.fontFamily.primaryFont,I.KL.medium),eZ=d.Ay.div.withConfig({componentId:"sc-8248d40-2"})(["display:flex;justify-content:space-between;@media (max-width:","){}"],I.KL.medium),eQ=({title:e,lead:t,path:i})=>{let n=i.split("/").slice(0,-1).filter(Boolean).map(e=>e.replace(/-/g," ").toUpperCase()),o=t.replace(/<[^>]*>/g,"");return(0,a.jsxs)(e8,{children:[(0,a.jsx)(e0,{}),(0,a.jsx)(e9,{}),(0,a.jsx)(e1,{"aria-label":"Breadcrumb",children:n.map((e,t)=>(0,a.jsx)(e2,{$isLast:t===n.length-1,children:e},t))}),(0,a.jsx)(e6,{children:e}),(0,a.jsx)(e4,{children:o}),(0,a.jsx)(e5,{children:(0,a.jsx)(e3,{children:(0,a.jsx)(eX,{})})})]})},e0=d.Ay.div.withConfig({componentId:"sc-cde6db2e-0"})(["display:flex;justify-content:center;align-items:center;background:white;height:250px;margin-bottom:31px;@media (max-width:","){height:100px;}"],I.KL.large),e1=d.Ay.nav.withConfig({componentId:"sc-cde6db2e-1"})(["margin-bottom:32px;@media (max-width:","){margin-bottom:24px;}"],I.KL.medium),e2=d.Ay.span.withConfig({componentId:"sc-cde6db2e-2"})(["font-size:12px;line-height:12px;font-weight:800;color:",";font-family:",";text-transform:uppercase;&:after{color:",';font-size:12px;content:"\\5C";margin-left:16px;margin-right:16px;font-weight:800;text-decoration:initial;}',""],({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.text.dark,({$isLast:e})=>e&&` 5 &:after { 6 content: ""; 7 } 8 `),e6=d.Ay.h1.withConfig({componentId:"sc-cde6db2e-3"})(["font-size:52px;font-weight:800;line-height:60px;margin:0 0 24px;color:black;@media (max-width:","){font-size:24px;line-height:32px;}"],I.KL.medium),e4=d.Ay.p.withConfig({componentId:"sc-cde6db2e-4"})(["font-size:20px;color:gray;margin-bottom:24px;"]),e5=d.Ay.div.withConfig({componentId:"sc-cde6db2e-5"})(["border-top:",";border-bottom:",";padding:10px 0;display:flex;align-items:center;justify-content:end;@media (max-width:","){}"],({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>`1px solid ${e.default.color.text.light}`,I.KL.medium),e3=d.Ay.div.withConfig({componentId:"sc-cde6db2e-6"})(["font-size:1rem;svg{font-size:1.4rem;&:hover{path{fill:",";}}}"],({theme:e})=>e.default.color.primary),e9=d.Ay.div.withConfig({componentId:"sc-cde6db2e-7"})(["height:21.5px;"]),e8=d.Ay.div.withConfig({componentId:"sc-cde6db2e-8"})([".br{height:21.5px;}
8"]),e7=e=>`flow_swipe_articles_${e}`,te=e=>`flow_swipe_articles_expiry_${e}`,tt=async({currentArticleId:e,setNextArticle:t,publication:i,sectionId:a})=>{let n=localStorage.getItem(e7(i)),o=localStorage.getItem(te(i)),r=Date.now();if(n&&o&&r<parseInt(o)){let i=JSON.parse(n);if((i=eG(i,e)).length>0)return void t(i[0])}try{let n=await fetch(`/api/flow_swipe?publication=${i}&number=${a}`),o=await n.json();if(o.articles?.length>0){let a=eG(o.articles,e);a.length>0&&(localStorage.setItem(e7(i),JSON.stringify(a)),localStorage.setItem(te(i),(r+18e5).toString()),t(a[0]))}}catch(e){console.error("Error fetching swipe articles:",e)}},ti=d.Ay.div.withConfig({componentId:"sc-8b206261-0"})(["position:fixed;right:0;width:100vw;height:100%;background:white;color:black;display:flex;flex-direction:column;transition:transform 0.25s ease-out;transform:translateX(100%);pointer-events:",";z-index:900;@media (min-width:768px){display:none;}"],({$active:e})=>e?"auto":"none"),ta=d.Ay.div.withConfig({componentId:"sc-8b206261-1"})(["max-width:95vw;margin:1rem auto;"]),tn=d.Ay.div.withConfig({componentId:"sc-8b206261-2"})(["margin:2rem auto;width:100%;"]),to=d.Ay.button.withConfig({componentId:"sc-8b206261-3"})(["top:50vh;transform:translateY(-50%);right:100%;position:fixed;padding:0.85rem 0 0.85rem 0.85rem;font-size:1rem;display:flex;align-items:center;gap:0.5rem;background:black;color:white;border:none;border-radius:99999px 0 0 99999px;z-index:999;box-shadow:0 4px 12px rgba(0,0,0,0.2);cursor:pointer;transition:background 0.2s ease;height:86px;opacity:50%;&:hover{background:#333;}"]),tr="swipe-overlay",tl=()=>{let e=(0,eO.useRouter)(),{refactoredArticle:t}=(0,l.useContext)(k.k),{publication:i,config:n}=(0,l.useContext)(o.I),r=Number(t?.hierarchy[0]?.hierarchy[0]?.id),s=Number(t?.id),[d,c]=(0,l.useState)(null);return((0,l.useEffect)(()=>{s&&(eM(s),tt({currentArticleId:s,setNextArticle:c,publication:i,sectionId:r}))},[s,i,r]),(0,l.useEffect)(()=>{if(d?.path){if(e.prefetch(d.path),!document.querySelector(`link[rel="prefetch"][href="${d.path}"]`)){let e=document.createElement("link");e.rel="prefetch",e.href=d.path,document.head.appendChild(e)}let t=document.createElement("script");t.type="speculationrules",t.textContent=JSON.stringify({prefetch:[{source:"list",urls:[`${d.path}`],eagerness:"immediate"}]}),document.head.appendChild(t)}},[d?.path,e]),(0,l.useEffect)(()=>(e=>{let t=0,i=0,a=0,n=!1,o=document.getElementById(tr);if(!o)return;let r=e=>{t=e.changedTouches[0].screenX,i=e.changedTouches[0].screenY,n=!1},l=e=>{a=e.changedTouches[0].screenX;let r=t-a;Math.abs(r)>Math.abs(i-e.changedTouches[0].screenY)&&(n=!0,e.preventDefault(),o&&(o.style.transform=`translateX(${Math.max(100-r/(.5*window.innerWidth)*100,0)}%)`))},s=()=>{let i=t-a;if(o&&n)if(i>50){var r,l;o.style.transform="translateX(0)",r=()=>{e&&(document.startViewTransition?document.startViewTransition(()=>{window.location.href=e}):window.location.href=e)},l={timeout:200},"requestIdleCallback"in window?window.requestIdleCallback(r,l):setTimeout(r,l?.timeout||100)}else o.style.transform="translateX(100%)"};return document.addEventListener("touchstart",r,{passive:!0}),document.addEventListener("touchmove",l,{passive:!1}),document.addEventListener("touchend",s),()=>{document.removeEventListener("touchstart",r),document.removeEventListener("touchmove",l),document.removeEventListener("touchend",s)}})(d?.path||null),[d]),d?.path)?(0,a.jsx)(ti,{id:tr,$active:!0,children:(0,a.jsx)(ta,{children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eQ,{title:d.title,lead:d.standfirst,path:d.path}),(0,a.jsx)(tn,{children:(0,a.jsx)(B.default,{image:{url:d.imageUrl},isHeroOverride:!0})}),(0,a.jsx)(to,{onClick:()=>{let e=document.getElementById(tr);e&&d?.path&&(e.style.transform="translateX(0)",setTimeout(()=>{document.startViewTransition?document.startViewTransition(()=>{window.location.href=d.path}):window.location.href=d.path},250))},id:"next-article-button",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"white",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M13.172 12l-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"})})})]})})}):null};var ts=i(41566),td=i(13730),tc=i(24307);let tm=d.Ay.div.withConfig({componentId:"sc-330a30a2-0"})(["margin:1rem 0;"]),tp=d.Ay.span.withConfig({componentId:"sc-330a30a2-1"})(["font-size:12px;margin:0;color:",";"],({theme:e})=>e.default.color.text.medium),th=d.Ay.video.withConfig({componentId:"sc-330a30a2-2"})([""]),tg=d.Ay.video.withConfig({componentId:"sc-330a30a2-3"})(["position:fixed;height:200px;width:350px;top:0;right:100px;@media (max-width:","){height:100px;width:150px;right:5px;z-index:10000;}"],I.KL.medium),tf=({url:e,caption:t})=>{let i=(0,l.useRef)(void 0),n=function(e,t="0px"){let[i,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let i=new IntersectionObserver(([e])=>{a(e.isIntersecting)},{rootMargin:t});return e.current&&i.observe(e.current),()=>{i.disconnect()}},[e,t]),i}(i,"0px"),o=(0,er.zz)();return e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tm,{children:(0,a.jsx)(th,{ref:i,src:e,width:"100%",height:"100%",controls:!0,autoPlay:!0,muted:!0,loop:!0})}),(0,a.jsx)(tp,{children:t}),!n&&o&&(0,a.jsx)(tg,{src:e,controls:!0,autoPlay:!0,muted:!0}
8)]}):null},tu=({hero:e})=>{switch(e.type){case"jw_player":return(0,a.jsx)(tf,{url:e?.data?.extra?.sources?.[6]?.file,caption:e?.data?.extra?.truncatedTitle});case"youtube":case"video-youtube":return(0,a.jsx)(eP.default,{data:e.data});default:return null}};var tx=i(44448),ty=i(48186),tw=i.n(ty);let tb=d.Ay.div.withConfig({componentId:"sc-74044ea4-0"})(["display:flex;align-items:center;padding:0 0 0.4rem 0;font-size:13px;color:",";font-family:",";a{color:",";font-family:",";font-size:12px;font-style:normal;font-weight:600;line-height:16px;&:hover{text-decoration:underline;}}p{font-size:13px;margin:0;}"],({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.fontFamily.primaryFont),tj=()=>{let{refactoredArticle:e}=(0,l.useContext)(k.k),{authors:t}=e,{screenSize:i}=(0,er.Y0)();if(!t)return null;let{path:n,name:o,jobTitle:r}=t[0];return(0,a.jsx)(tb,{children:(0,a.jsxs)("div",{className:"name_wrapper",children:[(0,a.jsx)("span",{children:"By\xa0"}),(0,a.jsx)(tw(),{href:n||"/",children:o})," \xa0",r&&(0,a.jsxs)(a.Fragment,{children:[" | \xa0 ",r," \xa0 |"]})]})})},tv=d.Ay.div.withConfig({componentId:"sc-e0007040-0"})(["font-family:",";display:flex;align-items:flex-start;justify-content:center;flex-direction:column;font-size:12px;"],({theme:e})=>e.default.fontFamily.primaryFont),tk=d.Ay.div.withConfig({componentId:"sc-e0007040-1"})(["color:",";"],({theme:e})=>e.default.color.text.dark),tC=d.Ay.span.withConfig({componentId:"sc-2492ccf7-0"})(["display:flex;padding:0.4rem 0 0 0;flex-direction:column;"]);var tA=i(15630);let tI=({authors:e,title:t,path:i,publications:n})=>{if(!e)return null;let{twitter:o,email:r}=e[0];return n[0],(0,a.jsxs)(tC,{children:[o&&(0,a.jsx)(tA.A,{type:"twitter",url:`https://x.com/${o}`,text:"@"+o}),r&&(0,a.jsx)(tA.A,{type:"email",url:`mailto:${r}`,text:r})]})},t$=d.Ay.img.withConfig({componentId:"sc-c7a96709-0"}
8)(["height:47px;width:47px;object-fit:cover;margin-right:1rem;border-radius:50%;"]),t_=({authors:e})=>{let{screenSize:t}=(0,er.Y0)(),[i,n]=(0,l.useState)(!1);if(t.medium||!e||e.length>1)return null;let{imageUrl:o}=e[0];return!o||i?null:(0,a.jsx)(t$,{src:ej(o),alt:"",loading:"lazy",onError:()=>n(!0)})},tF=()=>{let{refactoredArticle:e}=(0,l.useContext)(k.k),{path:t,title:i,datePreference:n,authors:o,updated:r,publications:s,articleTypes:d,overrideDate:c,publish:m}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t_,{authors:o}),(0,a.jsxs)(tv,{children:[(0,a.jsx)(tj,{}),(0,a.jsx)(tk,{children:(0,a.jsx)(V.A,{type:d&&d[0]?.name==="Commercial"?"short":"long",time:new Date(1e3*parseInt("vanityDate"===n?c:m))})}),(0,a.jsx)(tI,{authors:o,publications:s,path:t,title:i})]})]})},tz=d.Ay.nav.withConfig({componentId:"sc-6561a039-0"})(["margin-bottom:32px;@media (max-width:","){margin-bottom:24px;}a{font-size:12px;line-height:12px;font-weight:800;color:",";font-family:",";text-transform:uppercase;&:after{color:",';font-size:12px;content:"\\5C";margin-left:16px;margin-right:16px;font-weight:800;text-decoration:initial;}&:last-child{color:',';&:after{content:"";}}}'],I.KL.medium,({theme:e})=>e.default.sectionBrand?.accent??e.default.color.text.dark,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.sectionBrand?.accent??e.default.color.text.dark,({theme:e})=>e.default.sectionBrand?.accent??e.default.color.text.dark),tS=({hierarchy:e})=>e?(0,a.jsx)(tz,{"aria-label":"Breadcrumb",children:e.map(({path:e,name:t},i)=>(0,a.jsx)(tw(),{href:e,children:t},i))}):null,tL=d.Ay.a.withConfig({componentId:"sc-52be3e4e-0"})(["display:inline-flex;align-items:center;flex-shrink:0;img{display:block;height:36px;width:auto;}@media (max-width:","){img{height:30px;}}"],I.KL.medium),tN=()=>{let{refactoredArticle:e}=(0,l.useContext)(k.k),t=e?.publications?.[0]?.url?.replace(/\/+$/,"");return t?(0,a.jsx)(tL,{href:`https://google.com/preferences/source?q=${encodeURIComponent(t)}`,target:"_blank",rel:"noopener","aria-label":"Add as a preferred source on Google",children:(0,a.jsx)("img",{src:"/images/google-preferred-source-light.png",srcSet:"/images/google-preferred-source-light.png 1x, /images/[email protected] 2x",alt:"Add as a preferred source on Google",width:338,height:107})}):null},tE=d.Ay.div.withConfig({componentId:"sc-21169bd3-0"})(["background-color:",";height:100%;p{margin:10px 0 32px 0;color:",";font-family:",";font-size:20px;font-weight:500;line-height:24px;@media (max-width:","){font-size:20px;margin:12px 0 24px 0;}}"],({$isVideo:e,theme:t,$gallery:i})=>e&&t.default.color.backgrounds.light||i&&t.default.color.backgrounds.light,({theme:e})=>e.default.color.text.medium,({theme:e})=>e.default.fontFamily.primaryFont,I.KL.medium),tT=d.Ay.h1.withConfig({componentId:"sc-21169bd3-1"})(["color:",";font-family:",";font-weight:800;line-height:60px;font-size:52px;margin:0 0 32px 0;text-align:left !important;@media (max-width:","){font-size:24px;margin:0 0 24px 0;line-height:32px;}"],({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.sectionBrand?.headlineFont??e.default.fontFamily.primaryFont,I.KL.medium),tK=d.Ay.div.withConfig({componentId:"sc-21169bd3-2"})(["font-size:1rem;svg{font-size:1.4rem;&:hover{path{fill:",";}}}"],({theme:e})=>e.default.color.primary),tO=d.Ay.div.withConfig({componentId:"sc-21169bd3-3"})(["border-top:",";border-bottom:",";padding:10px 0;display:flex;align-items:center;justify-content:space-between;@media (max-width:","){flex-direction:column;align-items:stretch;}"],({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>`1px solid ${e.default.color.text.light}`,I.KL.medium),tB=d.Ay.div.withConfig({componentId:"sc-21169bd3-4"})(["display:flex;"]),tD=d.Ay.div.withConfig({componentId:"sc-21169bd3-5"})(["width:975px;margin:1rem auto;position:relative;height:540px;@media (max-width:","){width:95vw;height:212px;}"],I.KL.large),tP=d.Ay.div.withConfig({componentId:"sc-21169bd3-6"})(["display:inline-flex;font-family:",";border:0;background:",";font-size:14px;font-weight:600;line-height:24px;padding:8px 20px;border-radius:24px;color:",";&.comments-mobile{display:none;}&.comments-desktop{display:inline-flex;}@media (max-width:","){order:3;width:100%;display:block;justify-content:center;margin-top:12px;&.comments-mobile{display:flex;}&.comments-desktop{display:none;}}"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.primary,({theme:e})=>e.default.color.backgrounds.white,I.KL.medium),tU=d.Ay.img.withConfig({componentId:"sc-16f14ed4-0"}
8)(["height:49px;object-fit:contain;"]),tH=(0,d.AH)(["display:flex;a{font-size:13px;text-transform:uppercase;font-family:",";font-weight:900;margin-right:10px;align-self:center;}@media (max-width:","){display:none;}"],({theme:e})=>e.default.fontFamily.secondaryFont,I.KL.medium),tJ=(0,d.AH)(["display:none;@media (max-width:","){display:flex;flex-direction:column;border-top:",";a{font-size:13px;text-transform:uppercase;font-family:",";font-weight:900;margin-right:10px;text-align:left;margin:8px 0;}img{margin-bottom:10px;margin-right:auto;justify-self:flex-start;}}"],I.KL.medium,({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>e.default.fontFamily.secondaryFont),tR=d.Ay.div.withConfig({componentId:"sc-16f14ed4-1"})([""," ",""],({$type:e})=>"desktop"===e&&tH,({$type:e})=>"mobile"===e&&tJ);var tV=i(81916);let tq=({type:e})=>{let{refactoredArticle:t}=(0,l.useContext)(k.k),{sponsorPrefix:i,sponsorImage:n,sponsorURL:o}=t;return n&&n.data&&n.data.url&&o?(0,a.jsxs)(tR,{$type:e,children:[i&&(0,a.jsxs)("a",{target:"_blank",href:(0,tV.m)(i.url),rel:"noreferrer",children:[" ",i.name]}),(0,a.jsx)("a",{target:"_blank",href:(0,tV.m)(o),rel:"noreferrer",children:(0,a.jsx)(tU,{src:n.data.url,alt:"Sponsor logo"})})]}):null},tM=d.Ay.div.withConfig({componentId:"sc-d4197ecc-0"})(["width:112px;height:24px;border-radius:24px;background:",";background-size:200% 100%;animation:shimmer 1.2s infinite linear;display:inline-block;@keyframes shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}"],({theme:e})=>` 9 linear-gradient( 10 90deg, 11 ${e.default.color.primary} 0%, 12 ${e.default.color.primary} 40%, 13 rgba(255,255,255,0.3) 50%, 14 ${e.default.color.primary} 60%, 15 ${e.default.color.primary} 100% 16 ) 17 `),tG=d.Ay.div.withConfig({componentId:"sc-d4197ecc-1"})(["display:flex;align-items:center;justify-content:space-between;width:100%;@media (max-width:","){flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;}"],I.KL.medium),tX=d.Ay.div.withConfig({componentId:"sc-d4197ecc-2"})(["display:flex;align-items:center;gap:16px;@media (max-width:","){margin-left:auto;gap:12px;}"],I.KL.medium),tY=({commentCount:e})=>{let{leaderboard:t}=(0,l.useContext)(ts.kA),{refactoredArticle:i,isHeroOverride:n}=(0,l.useContext)(k.k),{title:o,type:r,isYoutube:s,lead:d,hero:c,isVideo:m,dailyMotion:p,hierarchy:h,showComments:g}=i,f=g&&"number"!=typeof e,u=g&&"number"==typeof e;return(0,a.jsx)(tE,{$gallery:c?.data.bundle==="gallery",$isVideo:m||p,children:(0,a.jsxs)(tc.A,{children:[t&&(0,a.jsx)(td.A,{type:r}),(0,a.jsx)("br",{}),(0,a.jsx)(tS,{hierarchy:h}),(0,a.jsx)(tT,{children:o}),(0,a.jsx)("div",{style:{textAlign:"left",marginBottom:"16px"},children:d&&(0,z.Ay)(d)}),"Service"!==r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tO,{children:(0,a.jsxs)(tG,{children:[(0,a.jsx)(tB,{children:(0,a.jsx)(tF,{})}),(0,a.jsx)(tq,{type:"desktop"}),(0,a.jsxs)(tX,{children:[u&&(0,a.jsx)(tP,{className:"comments-desktop",as:"a",href:"#comments",children:e>0?`View ${e} comment${e>1?"s":""}`:"Leave a comment"}),f&&(0,a.jsx)(tP,{className:"comments-desktop",as:"a",href:"#comments",tabIndex:-1,"aria-hidden":"true",children:(0,a.jsx)(tM,{})}),(0,a.jsx)(tN,{}),(0,a.jsx)(tK,{children:(0,a.jsx)(eg,{})})]})]})}),(0,a.jsx)(tq,{type:"mobile"}),u&&(0,a.jsx)(tP,{className:"comments-mobile",as:"a",href:"#comments",children:e>0?`View ${e} comment${e>1?"s":""}`:"Leave a comment"}),f&&(0,a.jsx)(tP,{className:"comments-mobile",as:"a",href:"#comments",tabIndex:-1,"aria-hidden":"true",children:(0,a.jsx)(tM,{})})]}),"Commercial"===r&&(0,a.jsxs)(a.Fragment,{children:[c?.type==="dailymotion"&&(0,a.jsx)(tD,{children:(0,a.jsx)(P.A,{isHero:!0,data:c.data})}),c?.type==="image"&&(0,a.jsx)(B.default,{type:"commerical",image:c.data})]}),m&&(0,a.jsx)(tu,{hero:c}),p&&(0,a.jsx)(tD,{children:(0,a.jsx)(P.A,{data:c.data,isHero:!0})}),c?.data.bundle==="gallery"&&(0,a.jsx)(tx.default,{hero:!0,data:c.data})]})})};var tW=i(28597),tZ=i(47653),tQ=i(43524),t0=i.n(tQ),t1=i(15383);let t2=({canonicalUrl:e})=>{let{refactoredArticle:t}=(0,l.useContext)(k.k),{publication:i,config:n}=(0,l.useContext)(o.I),{url:r,path:s,meta_title:d,title:c,images:m,section:p,body:h,keywords:g,description:f,datePublished:u,dateModified:x,authorName:y,authors:w,publisherName:b,dateCreated:j,breadCrumbs:v,site_name:C,openGraphImages:A,sectionName:I,tags:$,chartBeatName:_,chartBeatAuthor:F,titleSocial:z,structuredDataMetaTitle:S,premium:L}=t,N=i||"",E=`https://www.${i}${s}`,T=w?.map(e=>e.path?`https://www.${i}${e.path.startsWith("/")?e.path:`/${e.path}`}`:void 0)??[];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t1.A,{}),(0,a.jsx)(t0(),{children:(0,tZ.U)({title:d,description:f,robotsProps:{maxImagePreview:"large",maxSnippet:-1,maxVideoPreview:-1},openGraph:{title:z,description:f,url:E,site_name:C,type:"article",images:A,article:{publishedTime:u,modifiedTime:x,section:I,tags:$,authors:T.filter(e=>!!e)}}})}),(0,a.jsx)(tW.aE,{scriptKey:"newsarticle",data:{"@context":"https://schema.org","@type":"NewsArticle",url:E,mainEntityOfPage:{"@type":"WebPage","@id":E},headline:S.replace(/"/g,""),image:m,articleSection:p,keywords:g,datePublished:u,dateCreated:j||u,dateModified:x||u,author:w&&w.length?w.map((e,t)=>T[t]?{"@type":"Person",name:e.name,url:T[t]}:{"@type":"Person",name:e.name}):{"@type":"Person",name:y},publisher:{"@type":"Organization",name:b,url:`https://www.${i}`,logo:{"@type":"ImageObject",url:`https://www.${i}${{"petersfieldpost.co.uk":"/images/logos/peters.png","farnhamherald.com":"/images/logos/FarnhamHerald.jpg","altonherald.com":"/images/logos/AltonHerald.png","bordonherald.com":"/images/logos/bordan_herald.png","haslemereherald.com":"/images/logos/haslemere_herald.png","liphookherald.com":"/images/logos/lipton.png","abergavennychronicle.com":"/images/logos/abergavennychronicle_2.png","monmouthshirebeacon.co.uk":"/images/logos/monmouthshirebeacon.jpg","chepstowbeacon.co.uk":"/images/logos/chepstowbeacon.jpg","brecon-radnor.co.uk":"/images/logos/brecon_radnor.jpg","cambrian-news.co.uk":"/images/logos/cambrian_news.jpg","tenby-today.co.uk":"/images/logos/tenby_today.jpg","narberth-and-whitland-today.co.uk":"/images/logos/narberth_and_whitland_today.jpg","pembroke-today.co.uk":"/images/logos/pembroke.jpg","theforester.co.uk":"/images/logos/theforester.jpg","rossgazette.com":"/images/logos/rossgazette.jpg","theforestreview.co.uk":"/images/logos/theforestreview_2.jpg","tavistock-today.co.uk":"/images/logos/TavistockTimes1.jpg","middevonadvertiser.co.uk":"/images/logos/MidDevonAdvertiser.jpg","dawlish-today.co.uk":"/images/logos/DawlishGazette.jpg","teignmouth-today.co.uk":"/images/logos/TeignmouthPost.jpg","dartmouth-today.co.uk":"/images/logos/DartmouthChronicle.jpg","ivybridge-today.co.uk":"/images/logos/Ivybridge&SouthBrentGazette.
17jpg","kingsbridge-today.co.uk":"/images/logos/kingsbridge-today.jpg","southhams-today.co.uk":"/images/logos/south-hams-gazette.jpg","totnes-today.co.uk":"/images/logos/TotnesTimes.jpg","tamarvalleytimes.co.uk":"/images/logos/tamarvalleytimes.jpg","okehampton-today.co.uk":"/images/logos/okehampton-today.jpg","creditoncourier.co.uk":"/images/logos/creditoncourier.jpg","iomtoday.co.im":"/images/logos/iom_logo.jpg","mnrjournal.co.uk":"/images/logos/mnr.jpg","wsfp.co.uk":"/images/logos/west_sumerset.jpg","wellington-today.co.uk":"/images/logos/wellington.jpg","holsworthy-today.co.uk":"/images/logos/holsworth.jpg","cornish-times.co.uk":"/images/logos/cornish_times.jpg","thepost.uk.com":"/images/logos/cornish.jpg","bude-today.co.uk":"/images/logos/Bude.jpg","wokingnewsandmail.co.uk":"/images/logos/Bude.jpg"}[N]}`}},description:f,articleBody:f.replaceAll('"',"")}}),(0,a.jsx)(tW.gk,{items:v}),(0,a.jsxs)(t0(),{children:[(0,a.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:` 18 (function() { 19 /** CONFIGURATION START **/ 20 var _sf_async_config = window._sf_async_config = (window._sf_async_config || {}); 21 _sf_async_config.uid = 65613; 22 _sf_async_config.domain = ${JSON.stringify(i)} 23 _sf_async_config.flickerControl = false; 24 _sf_async_config.useCanonical = true; 25 _sf_async_config.useCanonicalDomain = true; 26 _sf_async_config.sections = ${JSON.stringify(_)}; 27 _sf_async_config.authors = ${JSON.stringify(F)}; 28 _sf_async_config.title = ${JSON.stringify(c)}; 29 _sf_async_config.pagetype = 'article'; 30 _sf_async_config.path = ${JSON.stringify(r)}; 31 /** CONFIGURATION END **/ 32 function loadChartbeat() { 33 var e = document.createElement('script'); 34 var n = document.getElementsByTagName('script')[0]; 35 e.type = 'text/javascript'; 36 e.async = true; 37 e.src = '//static.chartbeat.com/js/chartbeat.js'; 38 n.parentNode.insertBefore(e, n); 39 } 40 loadChartbeat(); 41 })(); 42 `}}),(0,a.jsx)("script",{async:!0,src:"//static.chartbeat.com/js/chartbeat_mab.js"}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:` 43 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 44 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 45 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
46 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 47 })(window,document,'script','dataLayer','${n.gtm_id}'); 48 `}}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:` 49 window.dataLayer = window.dataLayer || []; 50 function gtag(){dataLayer.push(arguments);} 51 gtag('js', new Date()); 52 53 gtag('config', '${n.region}'); 54`}}),(0,a.jsx)("script",{async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${n.region}`})]})]})};var t6=i(65636);let t4=({article:e,menus:t})=>{let{publication:i}=(0,l.useContext)(o.I),d=(e?.data?.hierarchy??[]).map(e=>e?.path),[m,p]=(0,l.useState)([]),[h,g]=(0,l.useState)(void 0),f=(0,l.useCallback)(async e=>{try{let t=await n.A.get(`/api/comment/get?id=${e}`);if(200===t.status){let e=t.data,i=e.filter(e=>!Array.isArray(e.users)||e.users.length<3);p(e),g(i.length)}}catch(e){}},[]),u=(0,l.useCallback)(async(e,t)=>{try{await n.A.post("/api/comment/post",e),f(t)}catch(e){console.log({err:e})}},[f]);if((0,l.useEffect)(()=>{e?.data?.id&&f(e.data.id)},[e?.data?.id,f]),!e)return null;let x=e?.data.extra?.canonicalUrl,y=!!x&&/^https?:\/\//i.test(x),w=x||e?.data.path,b=e?.data.publications?.[0]?.url?.replace(/\/+$/,""),j=y?x:b?`${b}${w}`:`https://www.${i}${w}`;return(0,a.jsx)(t6.e,{publication:i,paths:d,children:(0,a.jsx)(s.A,{data:t,title:e?.data.title,canonicalUrl:j,children:(0,a.jsxs)(k.B,{publication:i,article:e,children:[(0,a.jsx)(r.A,{id:"wp"}),(0,a.jsx)(t2,{canonicalUrl:j}),(0,a.jsxs)(c,{children:[(0,a.jsx)(tY,{commentCount:h}),(0,a.jsx)(eR,{comments:m,commentCount:h,setComments:p,addComment:u,articleId:e?.data?.id}),(0,a.jsx)(tl,{})]})]})})})}},58196:(e,t,i)=>{i.r(t),i.d(t,{default:()=>p});var a=i(66352),n=i(95132),o=i(71924),r=i(44258);let l=o.Ay.img.withConfig({componentId:"sc-6afba44e-0"})(["object-fit:contain;width:100%;border-radius:16px;margin-top:",";aspect-ratio:",";background-color:",";"],({$image_type:e})=>"commerical"===e&&"45px",({$isHero:e})=>e?"3 / 2":"auto",({$isHero:e})=>e?"rgba(185, 185, 185, 0.7)":"transparent"),s=o.Ay.div.withConfig({componentId:"sc-6afba44e-1"})(["color:",";font-family:",";font-style:normal;font-weight:400;text-align:left;line-height:16px;font-size:12px !important;p{margin:8px 0 0 0;}@media (max-width:","){display:flex;flex-direction:column;}"],({theme:e})=>e.default.color.text.darkGrey,({theme:e})=>e.default.fontFamily.secondaryFont,r.KL.medium);o.Ay.span.withConfig({componentId:"sc-6afba44e-2"})(["font-family:",";margin:0;font-size:15px !important;font-style:italic;font-weight:400;letter-spacing:0em;text-align:left;@media (max-width:","){line-height:15px !important;}"],({theme:e})=>e.default.fontFamily.secondaryFont,r.KL.medium);var d=i(83911),c=i(59085),m=i(90508);let p=({type:e,image:t,isHeroOverride:i,isHero:o=!1})=>{let r,{publication:p}=(0,n.useContext)(c.I),{refactoredArticle:h}=(0,n.useContext)(m.k),g=t?t.url:"/images/placeholder.jpg",f=t?.extra?.sizes?.Freeform,u=!!f?.trimData&&0===f.trimData.top&&0===f.trimData.right&&0===f.trimData.bottom&&0===f.trimData.left,x=void 0!==f&&!u;r=o&&x?{...t?.extra?.sizes?.Freeform,name:"Freeform"}:t?.crop&&t?.crop?.name?{...t.crop,name:t.crop.name}:{...t?.extra?.sizes?.threebytwo,name:"threebytwo"};let y=t?.caption,w=t?.description,b=t?.credit,j=t?.copyright,v=t?.localCopyright,k=t?.localCaption?t?.localCaption:"",C=k&&/<\/?[a-z][\s\S]*>/i.test(k),A=y&&/<\/?[a-z][\s\S]*>/i.test(y),I=!!(t?.extra?.imageSize?.width&&t?.extra?.imageSize?.height)&&t?.extra?.imageSize.height>t?.extra?.imageSize.width,$=o&&I&&!x||i;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l,{$image_type:e,$isHero:o,srcSet:` 55 ${$?(0,d.OE)(p,g,r,!0):(0,d.bu)(p,g,r,!0)} 540w, 56 ${$?(0,d.OE)(p,g,r,!0):(0,d.bu)(p,g,r,!1)} 840w, 57 `,src:$?(0,d.OE)(p,g,r,!0):(0,d.bu)(p,g,r),alt:w||(o?h?.title:void 0),fetchPriority:o?"high":void 0,loading:o?"eager":void 0}),(0,a.jsxs)(s,{children:[k?C?(0,a.jsx)(a.Fragment,{children:k.replace(/<[^>]*>?/gm,"")}):k:y&&A?y.replace(/<[^>]*>?/gm,""):y,(0,a.jsxs)("span",{children:[b&&(0,a.jsxs)(a.Fragment,{children:["Credit by (",b,")"]}),j&&(0,a.jsxs)(a.Fragment,{children:[" (",j,")"]}),v&&!j&&(0,a.jsxs)(a.Fragment,{children:[" (",v,")"]})]})]})]})}},65636:(e,t,i)=>{i.d(t,{e:()=>r});var a=i(66352),n=i(71924),o=i(56542);let r=({publication:e,paths:t,children:i})=>{let r=(0,o.TE)(e,t);return r?(0,a.jsx)(n.NP,{theme:e=>(e=>({...e,default:{...e.default,sectionBrand:r}}))(e),children:i}):(0,a.jsx)(a.Fragment,{children:i})}},79383:(e,t,i)=>{i.r(t),i.d(t,{default:()=>l});var a=i(66352),n=i(23421),o=i.n(n),r=i(95132);let l=({url:e})=>{let t,[i,n]=(0,r.useState)(!1),l=(0,r.useRef)(null);if((0,r.useEffect)(()=>{i&&e&&window.tiktokEmbed?.load&&window.tiktokEmbed.load()},[e,i]),!e)return null;let s=(t=e.match(/\/video\/(\d+)/))?t[1]:"";return s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o(),{id:"tiktok-embed-script",src:"https://www.tiktok.com/embed.js",strategy:"lazyOnload",onLoad:()=>n(!0)}),(0,a.jsx)("blockquote",{ref:l,className:"tiktok-embed",cite:e,"data-vi
57deo-id":s,style:{minWidth:"100%"},children:(0,a.jsx)("section",{children:(0,a.jsx)("a",{target:"_blank",rel:"noreferrer",href:e})})})]}):null}},82454:(e,t,i)=>{i.r(t),i.d(t,{default:()=>o});var a=i(66352);let n=i(71924).Ay.hr.withConfig({componentId:"sc-4bb3e467-0"})(["border:none;border-left:",";height:1rem;width:",";border-bottom:",";margin:",";"],({theme:e,$direction:t})=>"verticle"===t&&`1px solid ${e.default.color.text.light}`,({$direction:e})=>"horizontal"===e&&"100%",({theme:e,$direction:t})=>"horizontal"===t&&`1px solid ${e.default.color.text.light}`,({$direction:e})=>"verticle"===e&&"auto 0.4rem"),o=({direction:e})=>(0,a.jsx)(n,{$direction:e})},85622:(e,t,i)=>{i.r(t),i.d(t,{default:()=>s});var a=i(66352),n=i(23421),o=i.n(n),r=i(95132);let l=i(71924).Ay.div.withConfig({componentId:"sc-5cbb771d-0"})(["display:flex;justify-content:center;width:100%;"]),s=({url:e})=>{let t=e?e.replace("/reels/","/reel/").replace(/\/$/,""):"";return((0,r.useEffect)(()=>{window.instgrm?.Embeds&&window.instgrm.Embeds.process()},[t]),e)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o(),{async:!0,defer:!0,src:"https://www.instagram.com/embed.js"}),(0,a.jsx)(l,{children:(0,a.jsx)("blockquote",{className:"instagram-media","data-instgrm-captioned":!0,"data-instgrm-permalink":`${t}/?utm_source=ig_embed&utm_campaign=loading`,"data-instgrm-version":"14",style:{minWidth:"100%"},children:(0,a.jsx)("a",{href:`${t}/?utm_source=ig_embed&utm_campaign=loading`,target:"_blank",rel:"noreferrer"})})})]}):null}},88609:(e,t,i)=>{i.d(t,{A:()=>s});var a=i(66352),n=i(25582),o=i(41566),r=i(35514),l=i(95132);let s=({id:e})=>{let{isLoading:t}=(0,r.N)(),{disableAllAds:i}=(0,l.useContext)(o.kA);return((0,l.useEffect)(()=>{t||!e||i||n.V.showSlot(e)},[t,e,i]),i)?null:(0,a.jsx)("div",{id:e})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.