PageSourceSearch

https://www.cornish-times.co.uk/_next/static/chunks/8420-702f57d61f370ed1.js

js cornish-times.co.uk collected 2026-10-01 11:32:33 UTC 61,193 bytes, 28 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8420],{15630:(e,t,o)=>{o.d(t,{A:()=>i.A});var i=o(6422)},25338:(e,t,o)=>{o.d(t,{E:()=>a});var i=o(41957);let n=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,a=e=>i.Yj().matches(n,{message:e,excludeEmptyString:!0})},33958:(e,t,o)=>{o.d(t,{A:()=>x});var i=o(66352),n=o(59085),a=o(57267),r=o(83911),s=o(64028),c=o(95132),l=o(71924),d=o(44258);let h=l.Ay.div.withConfig({componentId:"sc-3aabfdb4-0"})(["margin:24px 0;"]),m=l.Ay.span.withConfig({componentId:"sc-3aabfdb4-1"})(["display:block;margin-bottom:16px;font-family:",";font-size:12px;font-weight:800;line-height:12px;text-transform:uppercase;"],({theme:e})=>e.default.fontFamily.primaryFont),p=l.Ay.ul.withConfig({componentId:"sc-3aabfdb4-2"})(["display:grid;grid-template-columns:1fr;row-gap:16px;margin:0;padding:0;list-style:none;"]),u=l.Ay.li.withConfig({componentId:"sc-3aabfdb4-3"})(["list-style:none;display:flex;"]),g=l.Ay.a.withConfig({componentId:"sc-3aabfdb4-4"})(["display:flex;width:100%;cursor:pointer;text-decoration:none;background:",";border-radius:20px;span{font-family:",";font-size:14px;font-weight:700;line-height:16px;margin:12px;color:",";&:hover{color:",";text-decoration:underline;}}"],({theme:e})=>e.default.color.backgrounds.offWhite,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.color.primary),f=l.Ay.img.withConfig({componentId:"sc-3aabfdb4-5"})(["object-fit:cover;width:127px;height:96px;border-radius:20px 0 0 20px;@media (max-width:","){border-radius:20px 20px 0 0;width:100%;height:100%;}"],d.KL.medium),x=()=>{let[e,t]=(0,c.useState)(null),{publication:o}=(0,c.useContext)(n.I),l=(0,c.useCallback)(async()=>{try{let e=await s.A.get(`/api/most_popular?publication=${o}&number=5`);e?.status!==404&&Array.isArray(e.data)?t(e.data):t(null)}catch(e){console.error("Error fetching data:",e),t(null)}},[o]);return((0,c.useEffect)(()=>
1{l()},[l]),e)?(0,i.jsxs)(h,{children:[(0,i.jsx)(m,{className:"topics-title",children:"Most popular"}),(0,i.jsx)(p,{children:e&&e?.map(e=>{if(!e||!e.path||!e.hero||!e.hierarchy)return null;let t=e.hero[0].data.url?e.hero[0].data.url:e.hierarchy&&e.hierarchy[0]?.name&&(0,a.d)(e.hierarchy[0]?.name);return(0,i.jsx)(u,{children:(0,i.jsxs)(g,{href:e.path,children:[t&&(0,i.jsx)(f,{src:(0,r.ar)(o,t,3),alt:e.title,loading:"lazy",decoding:"async"}),(0,i.jsx)("span",{children:e.title})]})},e.path)})})]}):null}},38420:(e,t,o)=>{o.d(t,{A:()=>to});var i=o(66352);let n=["abergavennychronicle.com","altonherald.com","bordonherald.com","brecon-radnor.co.uk","bude-today.co.uk","cambrian-news.co.uk","chepstowbeacon.co.uk","cornish-times.co.uk","creditoncourier.co.uk","dartmouth-today.co.uk","dawlish-today.co.uk","farnhamherald.com","haslemereherald.com","holsworthy-today.co.uk","iomtoday.co.im","ivybridge-today.co.uk","kingsbridge-today.co.uk","liphookherald.com","middevonadvertiser.co.uk","mnrjournal.co.uk","monmouthshirebeacon.co.uk","narberth-and-whitland-today.co.uk","okehampton-today.co.uk","pembroke-today.co.uk","petersfieldpost.co.uk","rossgazette.com","southhams-today.co.uk","tamarvalleytimes.co.uk","tavistock-today.co.uk","teignmouth-today.co.uk","tenby-today.co.uk","theforestreview.co.uk","thepost.uk.com","totnes-today.co.uk","voicenewspapers.co.uk","wellington-today.co.uk","wokingnewsandmail.co.uk","wsfp.co.uk"];var a=o(59085),r=o(59067),s=o(59701),c=o(43524),l=o.n(c),d=o(95132),h=o(71924),m=o(44258);let p=h.Ay.footer.withConfig({componentId:"sc-b6f968ec-0"})(["display:grid;cursor:default;grid-template-columns:1fr 1fr 2fr;padding:32px 52px 0px 52px;font-size:14px;font-weight:400;line-height:16px;background:",";font-family:",";border-top:",";@media (max-width:","){grid-template-columns:1fr;padding:16px;}",""],({theme:e})=>e.default.sectionBrand?e.default.sectionBrand.headerBg:e.default.color.backgrounds.white,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>`1px solid ${e.default.color.primary}`,m.KL.medium,({theme:e})=>e.default.sectionBrand&&(0,h.AH)(["color:",";a,p,span,address,li,h1,h2,h3,h4{color:",";}svg{fill:",';}svg path[fill]:not([fill="none"]){fill:',";}svg path[stroke]{stroke:",";}"],e.default.color.text.white,e.default.color.text.white,e.default.color.text.white,e.default.color.text.white,e.default.color.text.white)),u=h.Ay.div.withConfig({componentId:"sc-b6f968ec-1"})(["max-width:70%;text-align:left;address{font-style:normal;}.contact-link{display:flex;align-items:center;}"]),g=h.Ay.div.withConfig({componentId:"sc-b6f968ec-2"})(["display:flex;@media (max-width:","){ margin:20px 0 20px 0;}.newsletter-footer{margin:0;padding:0;background-color:",";.newsletter_card{padding:16px 20px;}}"],m.KL.medium,({theme:e})=>e.default.sectionBrand?e.default.sectionBrand.headerBg:e.default.color.backgrounds.white),f=h.Ay.div.withConfig({componentId:"sc-b6f968ec-3"})(["display:flex;padding:0;flex-direction:column;@media (max-width:","){flex-direction:row;}"],m.KL.medium),x=h.Ay.div.withConfig({componentId:"sc-b6f968ec-4"})(["max-width:100%;width:100%;margin-bottom:32px;#logo{max-width:250px;margin:0;}@media (max-width:","){margin:0 auto;width:100%;#logo{margin:0 auto;}}"],m.KL.medium),y=h.Ay.div.withConfig({componentId:"sc-b6f968ec-5"})(["background:",";display:flex;padding:12px 52px 32px;font-family:",";font-style:normal;font-weight:400;line-height:16px;",""],({theme:e})=>e.default.sectionBrand?e.default.sectionBrand.headerBg:e.default.color.backgrounds.white,({theme:e})=>e.default.fontFamily.secondaryFont,({theme:e})=>e.default.sectionBrand&&(0,h.AH)(["color:",";a,p,span,address,li,h1,h2,h3,h4{color:",";}svg{fill:",';}svg path[fill]:not([fill="none"]){fill:',";}svg path[stroke]{stroke:",";}"],e.default.color.text.white,e.default.color.text.white,e.default.color.text.white,e.default.color.text.white,e.default.color.text.white)),w=h.Ay.div.withConfig({componentId:"sc-b6f968ec-6"})(["background:",";"],({theme:e})=>e.default.sectionBrand?e.default.sectionBrand.headerBg:e.default.color.backgrounds.white),b=h.Ay.div.withConfig({componentId:"sc-b6f968ec-7"})(["width:calc(100% - 104px);border-top:",";margin:0 auto;background:",";"],({theme:e})=>`1px solid ${e.default.color.text.dark}`,({theme:e})=>e.default.sectionBrand?e.default.sectionBrand.headerBg:e.default.color.backgrounds.white),j=h.Ay.div.withConfig({componentId:"sc-b6f968ec-8"})(["display:flex;@media (max-width:","){padding-top:26px;}"],m.KL.medium),k=h.Ay.div.withConfig({componentId:"sc-b6f968ec-9"})(["margin-right:auto;@media (max-width:","){margin:0;}"],m.KL.medium),v=h.Ay.p.withConfig({componentId:"sc-b6f968ec-10"})(["padding-bottom:8px;font-size:12px;font-style:normal;font-weight:800;line-height:12px;text-transform:uppercase;"]),_=h.Ay.div.withConfig({componentId:"sc-b6f968ec-11"})(["display:flex;justify-content:flex-start;a{padding-right:8px;}"]),F=h.Ay.div.withConfig({componentId:"sc-b6f968ec-12"})(["display:flex;flex-direction:column;padding:0 50px;.footer-menu{list-style-type:none;padding:0;margin:0;li{margin:4px 0;&:hover{text-decoration:underline;}}}@media (max-width:","){padding:16px 0 0 0;}"],m.KL.medium),C=h.Ay.div.withConfig({componentId:"sc-b6f968ec-13"})(["display:inline-flex;padding-bottom:8px;svg{margin-right:10px;}"]),A=h.Ay.p.withConfig({componentId:"sc-b6f968ec-14"})(["font-size:12px;"]);var I=o(88283);let $={"abergavennychronicle.com":{i:"40365",c:"64041",c1:"Abergavenny_Chronicle_Online"},"altonherald.com":{i:"40366",c:"64042",c1:"Alton_Herald_Online"},"bordonherald.com":{i:"40367",c:"64043",c1:"Bordon_Herald_Online"},"brecon-radnor.co.uk":{i:"40368",c:"64044",c1:"Brecon_&_Radnor_Express_Online"},"bude-today.co.uk":{i:"40369",c:"64045",c1:"Bude_&_Stratton_Post_Online"},"cambrian-news.co.uk":{i:"40370",c:"64046",c1:"Cambrian_News_Online"},"chepstowbeacon.co.uk":{i:"40371",c:"64047",c1:"Chepstow_Beacon_Online"},"thepost.uk.com":{i:"40372",c:"64048",c1:"Cornish_&_Devon_Post_Online"}
1,"cornish-times.co.uk":{i:"40373",c:"64049",c1:"Cornish_Times_Online"},"creditoncourier.co.uk":{i:"40374",c:"64050",c1:"Crediton_Courier_Online"},"dartmouth-today.co.uk":{i:"40375",c:"64051",c1:"Dartmouth_Chronicle_Online"},"dawlish-today.co.uk":{i:"40376",c:"64052",c1:"Dawlish_Gazette_Online"},"farnhamherald.com":{i:"40377",c:"64053",c1:"Farnham_Herald_Online"},"theforestreview.co.uk":{i:"40378",c:"64054",c1:"Forest_of_Dean_&_Wye_Valley_Review_Online"},"haslemereherald.com":{i:"40379",c:"64055",c1:"Haslemere_Herald_Online"},"holsworthy-today.co.uk":{i:"40380",c:"64056",c1:"Holsworthy_Post_Online"},"ivybridge-today.co.uk":{i:"40381",c:"64057",c1:"Ivybridge_&_South_Brent_Gazette_Online"},"kingsbridge-today.co.uk":{i:"40382",c:"64058",c1:"Kingsbridge_&_Salcombe_Gazette_Online"},"liphookherald.com":{i:"40383",c:"64059",c1:"Liphook_Herald_Online"},"middevonadvertiser.co.uk":{i:"40384",c:"64060",c1:"Mid_Devon_Advertiser_Online"},"mnrjournal.co.uk":{i:"40385",c:"64061",c1:"Midsomer_Norton_&_Radstock_Journal_Online"},"monmouthshirebeacon.co.uk":{i:"40386",c:"64062",c1:"Monmouthshire_Beacon_Online"},"narberth-and-whitland-today.co.uk":{i:"40387",c:"64063",c1:"Narbeth_&_Whitland_Observer_Online"},"okehampton-today.co.uk":{i:"40388",c:"64064",c1:"Okehampton_Times_Online"},"pembroke-today.co.uk":{i:"40389",c:"64065",c1:"Pembroke_&_Pembroke_Dock_Observer_Online"},"petersfieldpost.co.uk":{i:"40390",c:"64066",c1:"Petersfield_post_Online"},"southhams-today.co.uk":{i:"40391",c:"64067",c1:"South_Hams_Gazette_Online"},"tamarvalleytimes.co.uk":{i:"40402",c:"64078",c1:"Tamar_Valley_Times_Online"},"tavistock-today.co.uk":{i:"40392",c:"64068",c1:"Tavistock_Times_Gazette_Online"},"teignmouth-today.co.uk":{i:"40393",c:"64069",c1:"Teignmouth_Post_Online"},"tenby-today.co.uk":{i:"40394",c:"64070",c1:"Tenby_Observer_Online"},"theforester.co.uk":{i:"40395",c:"64071",c1:"The_Forester_Online"},"rossgazette.com":{i:"40396",c:"64072",c1:"The_Ross_Gazette_Online"},"totnes-today.co.uk":{i:"40397",c:"64073",c1:"Totnes_Times_Online"},"voicenewspapers.co.uk":{i:"40398",c:"64074",c1:"Voice_Online"},"wellington-today.co.uk":{i:"40399",c:"64075",c1:"Wellington_Weekly_News_Online"},"wsfp.co.uk":{i:"40400",c:"64076",c1:"West_Somerset_Free_Press_Online"},"wokingnewsandmail.co.uk":{i:"40401",c:"64077",c1:"Woking_News_&_Mail_Online"}},L=()=>{let{publication:e}=(0,d.useContext)(a.I),[t,o]=(0,d.useState)(null),n=$[e];return((0,d.useEffect)(()=>{let e,t;if(!n)return;let i=new URL("https://inviso.rampanel.com/ram/Inviso");i.searchParams.set("i",n.i),i.searchParams.set("c",n.c),i.searchParams.set("t","6"),i.searchParams.set("cg","0"),i.searchParams.set("r","0"),i.searchParams.set("rdir","1"),i.searchParams.set("c0","Iliffe_Media_Ltd"),i.searchParams.set("c1",n.c1),i.searchParams.set("cb",(e=Date.now(),t=Math.floor(1e4*Math.random()),`${e}_${t}`)),o(e=>e??i.toString())},[n]),n)?t?(0,i.jsx)("img",{style:{display:"none"},src:t,alt:"","aria-hidden":"true"}):null:(console.warn(`No Inviso tracking pixel configuration found for publication: ${e}`),null)};var B=o(15630),D=o(89615);let z=()=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",version:"1.1",width:"200",height:"70",viewBox:"0 0 255 115",children:[(0,i.jsx)("defs",{children:(0,i.jsx)("style",{children:`
2          .st0 {
3            fill: #231f20;
4          }
5          .st1 {
6            fill: #33559d;
7          }
8        `})}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"st1",d:"M49.3,91.5h-15.6c.9-2.4,1.6-4.3,1.9-6,.4-1.7.5-3.9.5-6.7v-30l-2.9.2c-.5,0-1,.2-1.6.5-.6.3-1.2.9-1.9,1.6-.7.7-1.3,1.4-1.8,2-.5.6-1.1,1.4-2,2.6-.8,1.2-1.4,2-1.7,2.5-.3.5-.9,1.4-1.8,2.7-.9,1.3-1.4,2.1-1.4,2.2l-.7-.2,2.6-15.3h37.1l2.6,15.3-.7.2c-.1-.2-.5-.7-1.1-1.7-.6-1-1.1-1.6-1.3-2-.2-.4-.7-1-1.3-2-.6-.9-1.1-1.6-1.5-2.1-.4-.5-.8-1.1-1.4-1.8-.6-.8-1.1-1.4-1.5-1.8-.4-.4-.9-.9-1.4-1.3-.5-.5-1-.8-1.4-1-.4-.2-.8-.3-1.2-.4l-2.9-.2v30c0,2.8.2,5,.5,6.6.3,1.7,1,3.6,1.9,5.9h0Z"}),(0,i.jsx)("path",{className:"st1",d:"M88.7,92.4c-6.6,0-12.1-2.2-16.6-6.5-4.5-4.4-6.7-9.8-6.7-16.3s2.2-11.9,6.7-16.3c4.5-4.4,10-6.6,16.6-6.6s12.1,2.2,16.6,6.6c4.5,4.4,6.7,9.9,6.7,16.3s-2.2,11.9-6.7,16.3c-4.5,4.4-10,6.5-16.6,6.5ZM88.7,91c4,0,6.9-1.9,8.8-5.8,1.9-3.8,2.9-9.1,2.9-15.7s-.9-11.8-2.8-15.7c-1.9-3.9-4.8-5.8-8.8-5.8s-7,1.9-8.9,5.8c-1.9,3.9-2.9,9.1-2.9,15.7s.9,11.8,2.9,15.7c1.9,3.8,4.9,5.8,8.9,5.8Z"}),(0,i.jsx)("path",{className:"st1",d:"M115.6,91.4c.9-2.1,1.5-4,1.9-5.6.3-1.6.5-3.7.5-6.4v-19.7c0-2.7-.2-4.8-.5-6.4-.3-1.6-1-3.4-1.9-5.6h0c2-.1,4.7-.2,8.2-.2,3.5,0,6.7-.1,9.5-.1,8.2,0,14.6,1.9,19.2,5.7,4.7,3.8,7,9.3,7,16.3s-2.3,12.5-6.8,16.4-11,5.8-19.4,5.8h-17.7ZM133.5,90c5.4,0,9.2-1.6,11.3-4.9,2.1-3.2,3.2-8.2,3.2-14.9s-1.1-12.8-3.4-16.3-6.1-5.2-11.3-5.1c-1,0-2.5.1-4.4.3v40.6c1.8.2,3.3.2,4.7.2Z"}),(0,i.jsx)("path",{className:"st1",d:"M169.3,91.5h-11c2.3-2.3,4.5-6.1,6.4-11.3l11.8-32.8h6.1l12,33.1c1.7,4.8,3.6,8.4,5.6,10.9h0c0,.1-17.9.1-17.9.1h0c2.4-3.3,2.8-7.3,1.1-12.1l-1.6-4.4h-13.7l-1.1,2.9c-2.2,6.2-1.4,10.7,2.3,13.5h0ZM1
875.1,55.7l-6.5,17.8h12.7l-6.2-17.8Z"}),(0,i.jsx)("path",{className:"st1",d:"M207.2,91.4c.9-1.9,1.6-3.6,1.9-5,.4-1.4.5-3.3.5-5.7v-10.2l-7-12.8c-1.6-2.9-2.8-5.1-3.8-6.5-.9-1.4-2-2.5-3.2-3.5v-.2h19.1v.2c-1,.8-1.6,2.2-1.8,3.9-.2,1.8.3,3.9,1.4,6.5l5.5,10,4.7-8.5c2.6-4.7,2.1-8.7-1.6-12h0c0-.1,12.5-.1,12.5-.1h0c-1.7,1.4-3.2,2.9-4.4,4.5-1.2,1.6-2.5,3.7-4,6.3l-6.7,12.1v10.2c0,2.4.2,4.3.5,5.7.3,1.4,1,3.1,1.9,5h0c0,.1-15.6.1-15.6.1h0Z"})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"st0",d:"M58.9,37.8c.4-.7.6-1.3.7-1.8.1-.5.2-1.2.2-2.2v-8.1c0-.9,0-1.6-.2-2.2s-.3-1.1-.7-1.8h0s4.3,0,4.3,0h0c-.4.7-.6,1.3-.7,1.8-.1.5-.2,1.2-.2,2.2v8.1c0,.9,0,1.6.2,2.2.1.5.3,1.1.7,1.8h0s-4.3,0-4.3,0h0Z"}),(0,i.jsx)("path",{className:"st0",d:"M75.6,26.1h-.2c-.7-1.5-1.5-2.6-2.2-3.2-.7-.6-1.5-1-2.4-1s-1.3.2-1.8.7c-.4.4-.6,1-.6,1.8s0,.8.2,1.1c.2.4.3.6.5.9s.5.5.9.7c.4.3.7.5,1,.6.3.1.6.3,1.2.6.6.3,1,.5,1.3.7s.7.4,1.2.7c.4.3.8.7,1,1,.2.3.5.7.6,1.2.2.5.3,1,.3,1.6,0,1.6-.5,2.7-1.6,3.5-1.1.8-2.5,1.2-4.1,1.2s-3-.3-4.5-.9l-.4-4.1h.2c.8,1.5,1.7,2.7,2.6,3.4s1.8,1.1,2.8,1.1,1.7-.3,2.2-.9c.5-.6.8-1.3.8-2.1s-.3-1.7-.9-2.3c-.6-.6-1.4-1.2-2.5-1.7-.5-.2-.8-.4-1-.5-.2-.1-.5-.3-.9-.5-.4-.2-.7-.4-.9-.6-.2-.2-.4-.4-.7-.6-.3-.3-.5-.5-.6-.8-.1-.3-.2-.6-.3-.9-.1-.4-.2-.7-.2-1.1,0-1.4.5-2.5,1.5-3.2,1-.7,2.2-1,3.6-1s2.4.2,3.6.6l.4,4Z"}),(0,i.jsx)("path",{className:"st0",d:"M79.4,37.9h0c.4-.7.6-1.3.7-1.8.1-.5.2-1.2.2-2.1v-8.1c0-.9,0-1.6-.2-2.1-.1-.5-.4-1.1-.7-1.8h0s4.3,0,4.3,0h0c-.4.7-.6,1.3-.7,1.8-.1.5-.2,1.2-.2,2.2v11.8h3.3c1.5-.2,3.1-1.5,4.8-4.1h.2c0,0-1,4.4-1,4.4h-10.7Z"}),(0,i.jsx)("path",{className:"st0",d:"M104.2,37.9h-11.3c.6-1.4.9-2.6.9-3.7v-8.7c0-.7,0-1.3-.2-1.8-.1-.5-.4-1.1-.7-1.9h0s10.2,0,10.2,0l.9,3.9h-.2c-.1,0-.5-.5-1.2-1.3-.6-.7-1.1-1.3-1.5-1.6s-.7-.5-1-.6l-3.7-.2v7.4h1.9c.2,0,.5,0,.8-.3.3-.2.5-.4.7-.5s.4-.5.7-.8c.3-.3.5-.6.6-.7h.2v5h-.2c0,0-.3-.3-.6-.6s-.5-.6-.7-.8c-.2-.2-.4-.4-.7-.5-.3-.2-.6-.3-.8-.3h-1.9v7.6l3.9-.2c.6,0,1.2-.3,1.8-.7.6-.5,1.1-.9,1.6-1.4s.9-1.1,1.4-1.8h.2c0,0-1,4.4-1,4.4Z"}),(0,i.jsx)("path",{className:"st0",d:"M120.4,38.2c-2.1,0-4-.8-5.7-2.5-1.7-1.6-2.5-3.6-2.5-5.9s.8-4.2,2.5-5.9c1.7-1.7,3.6-2.5,5.7-2.5s2.7.4,4,1.1c1.3.7,2.3,1.8,3.1,3.1.8,1.3,1.2,2.7,1.2,4.2s-.4,2.9-1.2,4.2c-.8,1.3-1.8,2.3-3.1,3s-2.6,1.1-4,1.1ZM120.4,37.8c1.8,0,3.2-.7,4.1-2.2.9-1.4,1.4-3.4,1.4-5.8s-.5-4.3-1.4-5.8c-.9-1.5-2.3-2.2-4.1-2.2s-3.2.7-4.1,2.2c-.9,1.5-1.4,3.4-1.4,5.8s.5,4.3,1.4,5.7c.9,1.5,2.3,2.2,4.1,2.2Z"}),(0,i.jsx)("path",{className:"st0",d:"M135.6,37.9h-4.3c.4-.7.6-1.3.7-1.8.1-.5.2-1.2.2-2.1v-8.1c0-.9,0-1.6-.2-2.1-.1-.5-.4-1.1-.7-1.8h0s10.8,0,10.8,0l.9,3.9h-.2c-.2-.2-.6-.6-1.2-1.3s-1.1-1.2-1.5-1.6-.8-.6-1.1-.6l-4.4-.2v7.3h2.3c.2,0,.5,0,.8-.3.3-.2.5-.4.7-.6.2-.2.4-.5.7-.8s.5-.6.6-.7h.2v5h-.2c0,0-.3-.3-.6-.6-.3-.4-.5-.6-.7-.8-.2-.2-.4-.4-.7-.5-.3-.2-.6-.3-.8-.3h-2.3v4.1c0,.9,0,1.6.2,2.2.1.5.3,1.1.7,1.8h0Z"}),(0,i.jsx)("path",{className:"st0",d:"M149.7,37.9h0c.6-.8.9-1.5,1.1-2.1.2-.6.3-1.3.3-2.3v-8.6c0-.7-.2-1.3-.4-1.7s-.6-.9-1.2-1.4h0s4,0,4,0l5.7,12.5,5.4-12.5h3.9c-.6.6-1,1.1-1.3,1.6-.2.5-.3,1.2-.3,2.1v8.4c0,.9,0,1.6.2,2.2.1.5.3,1.1.7,1.8h0s-4.3,0-4.3,0h0c.4-.7.6-1.3.7-1.8.1-.5.2-1.2.2-2.1v-10.4l-6,13.9h-.5l-6.4-14v10.1c0,1,.2,1.8.4,2.3.2.6.6,1.2,1.3,2h0s-3.5,0-3.5,0Z"}),(0,i.jsx)("path",{className:"st0",d:"M173,37.9h-3c.5-.6.9-1.1,1.1-1.6.3-.5.6-1.3,1-2.2l4.7-12.5h.4l4.8,12.7c.6,1.6,1.3,2.8,2,3.5h0s-4.4,0-4.4,0h0c.2-.3.3-.8.3-1.5,0-.7-.2-1.4-.5-2.2l-.9-2.4h-5.2l-.5,1.2c-.8,2-.7,3.6,0,4.8h0ZM176,25l-2.4,6.4h4.8l-2.4-6.4Z"}),(0,i.jsx)("path",{className:"st0",d:"M187.9,24.1v9.4c0,1,.2,1.8.4,2.3.2.6.6,1.2,1.2,2h0s-3.4,0-3.4,0h0c.5-.8.9-1.5,1.1-2,.2-.6.3-1.4.3-2.3v-8.6c0-.7-.2-1.3-.4-1.7s-.7-.9-1.3-1.4h0s3.5,0,3.5,0l9.2,12.5v-8.1c0-1-.2-1.7-.3-2.3-.2-.6-.5-1.3-1.1-2h0s3.2,0,3.2,0h0c-.5.8-.9,1.5-1.1,2.1-.2.6-.3,1.3-.3,2.3v11.7h-.8c0,0-10.2-13.8-10.2-13.8Z"})]})]}),N=h.Ay.a.withConfig({componentId:"sc-d641331c-0"})(["height:auto;width:auto;max-height:200px;display:flex;justify-content:center;svg{@media (min-width:","){width:230px;height:100px;}}"],m.KL.large),O=h.Ay.a.withConfig({componentId:"sc-d641331c-1"})(["height:100%;display:flex;align-items:center;"]),E=h.Ay.img.withConfig({componentId:"sc-d641331c-2"})(["width:350px;height:85px;object-fit:contain;margin:0 auto;cursor:pointer;@media (max-width:","){width:250px;margin:auto;height:70px;}@media (max-width:","){width:220px;margin:auto;height:70px;}"],m.KL.large,m.KL.small),M=h.Ay.img.withConfig({componentId:"sc-d641331c-3"})(["height:56px;width:auto;
8max-width:200px;object-fit:contain;margin:0 auto;cursor:pointer;@media (max-width:","){height:44px;}"],m.KL.large),P=()=>{let e=(0,D.useRouter)(),{publication:t}=(0,d.useContext)(a.I),o=(0,h.DP)(),n=o?.default?.sectionBrand?.logo==="gef",r="string"==typeof e?.query?.domain&&e?.query?.domain,s={"petersfieldpost.co.uk":"/images/logos/peters.jpg","farnhamherald.com":"/images/logos/FarnhamHerald.jpg","altonherald.com":"/images/logos/AltonHerald.jpg","bordonherald.com":"/images/logos/bordan_herald.jpg","haslemereherald.com":"/images/logos/haslemere_herald.jpg","liphookherald.com":"/images/logos/lipton.jpg","abergavennychronicle.com":"/images/logos/abergavennychronicle_2.jpg","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.jpg","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","voicenewspapers.co.uk":"/images/logos/voice.jpg","mnrjournal.co.uk":"/images/logos/mnr.jpg","wokingnewsandmail.co.uk":"/images/logos/woking.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"};return t?(0,i.jsx)(i.Fragment,{children:n?(0,i.jsx)(O,{href:"/gef",children:(0,i.jsx)(M,{src:"/images/logos/gef_logo.png",alt:"Gef",id:"logo",loading:"eager",fetchPriority:"high"})}):"iomtoday.co.im"===t?(0,i.jsx)(N,{href:"/",target:"_self",children:(0,i.jsx)(z,{})}):(0,i.jsx)(O,{href:"/",children:(0,i.jsx)(E,{src:r?r?"petersfieldherald.com"===r?"/images/logos/peters.jpg":s[r]:"":s[t],alt:r||t,id:"logo",loading:"eager",fetchPriority:"high"})})}):null};var K=o(23986);let S=()=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("path",{d:"M18.1182 14.702L14 15.5C11.2183 14.1038 9.50001 12.5 8.50001 10L9.26996 5.8699L7.81453 2H4.06361C2.93606 2 2.04815 2.93178 2.21655 4.04668C2.63696 6.83 3.87654 11.8765 7.50001 15.5C11.3052 19.3052 16.7857 20.9564 19.802 21.6127C20.9668 21.8662 22 20.9575 22 19.7655V16.1812L18.1182 14.702Z",stroke:"#272727",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});var T=o(40831),H=o(40019),Z=o(56542);let R=({footer:e,contactDetails:t})=>{let{screenSize:o}=(0,I.Y0)(),n=(0,h.DP)(),a=(0,H.g)(),r=(0,Z.Q$)(n?.default?.sectionBrand,t);if(!e)return null;let s=e?.menu?e.menu:[],c=e=>{if(e)return(0,i.jsxs)(i.Fragment,{children:[e,(0,i.jsx)("br",{})]})},l=r.facebook||r.twitter?"Follow us":"";return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(p,{children:[(0,i.jsx)(x,{children:(0,i.jsx)(P,{})}),(0,i.jsxs)(F,{id:"footer-menu",children:[(0,i.jsx)(v,{children:"Further Links"}),(0,i.jsx)("ul",{className:"footer-menu",children:s&&s.length>0&&s.map((e,t)=>(0,i.jsx)("li",{children:(0,i.jsx)("a",{href:e.path,id:e.id,children:e.title})},t))})]}),a&&(0,i.jsx)(g,{children:(0,i.jsx)(T.default,{className:"newsletter-footer"})}),(0,i.jsx)(f,{children:t&&(0,i.jsxs)(j,{children:[(0,i.jsx)(u,{children:(0,i.jsxs)("div",{children:[(0,i.jsx)(v,{children:"Contact"}),(0,i.jsxs)("address",{children:[c(t?.buildingName),c(t?.streetAddress),c(t?.town),c(t?.county),c(t?.country),c(t?.postcode),(0,i.jsx)("br",{}),t?.phone&&(0,i.jsxs)(C,{children:[(0,i.jsx)(S,{}),"Tel:"," ",(0,i.jsx)("a",{href:`tel:${t?.phone.replace(/\s/g,"")}`,target:"_blank",rel:"noreferrer",children:t?.phone}),(0,i.jsx)("br",{})]}),t?.email&&(0,i.jsxs)(C,{children:[(0,i.jsx)(K.A,{}),(0,i.jsx)("a",{href:`mailto:${t?.email}`,target:"_blank",rel:"noreferrer",children:t?.email})]})]})]})}),(0,i.jsxs)(k,{children:[l&&(0,i.jsx)(v,{children:l}
8),(0,i.jsxs)(_,{children:[r.facebook&&(0,i.jsx)(B.A,{dark:!0,type:"facebook",url:r.facebook}),r.twitter&&(0,i.jsx)(B.A,{dark:!0,type:"twitter",url:r.twitter})]})]})]})}),(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:`
9                var _comscore = _comscore || [];
10                _comscore.push({ c1: "2", c2: "22002390",  options: {
11                   enableFirstPartyCookie: true
12                   } });
13                (function() {
14                  var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
15                  s.src = "https://sb.scorecardresearch.com/cs/22002390/beacon.js";
16                  el.parentNode.insertBefore(s, el);
17                })();
18  `}}),(0,i.jsx)("noscript",{children:(0,i.jsx)("img",{src:"https://sb.scorecardresearch.com/p?c1=2&c2=22002390&cv=4.4.0&cj=1",alt:""})}),(0,i.jsx)(L,{})]})})},q=({footer:e,contactDetails:t})=>{let{publication:o,config:n}=(0,d.useContext)(a.I),{screenSize:r}=(0,I.Y0)(),s=(0,h.DP)(),c=(0,H.g)(),l=(0,Z.Q$)(s?.default?.sectionBrand,t);if(!e)return null;let m=e?.menu?e.menu:[],$=e=>{if(e)return(0,i.jsxs)(i.Fragment,{children:[e,(0,i.jsx)("br",{})]})},D=l.facebook||l.twitter?"Follow us":"";return(0,i.jsx)(i.Fragment,{children:r.medium?(0,i.jsx)(R,{footer:e,contactDetails:t}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(p,{children:[(0,i.jsxs)(f,{children:[(0,i.jsx)(x,{children:(0,i.jsx)(P,{})}),t&&(0,i.jsxs)(j,{children:[(0,i.jsx)(u,{children:(0,i.jsxs)("div",{children:[(0,i.jsx)(v,{children:"Contact"}),(0,i.jsxs)("address",{children:[$(t?.buildingName),$(t?.streetAddress),$(t?.town),$(t?.county),$(t?.country),$(t?.postcode),(0,i.jsx)("br",{}),t?.phone&&(0,i.jsxs)(C,{children:[(0,i.jsx)(S,{}),"Tel:"," ",(0,i.jsx)("a",{href:`tel:${t?.phone.replace(/\s/g,"")}`,target:"_blank",rel:"noreferrer",children:t?.phone}),(0,i.jsx)("br",{})]}),t?.email&&(0,i.jsxs)(C,{children:[(0,i.jsx)(K.A,{}),(0,i.jsx)("a",{href:`mailto:${t?.email}`,target:"_blank",rel:"noreferrer",className:"contact-link",children:t?.email})]})]})]})}),(0,i.jsxs)(k,{children:[D&&(0,i.jsx)(v,{children:D}),(0,i.jsxs)(_,{children:[l.facebook&&(0,i.jsx)(B.A,{dark:!0,type:"facebook",url:l.facebook}),l.twitter&&(0,i.jsx)(B.A,{dark:!0,type:"twitter",url:l.twitter})]})]})]})]}),(0,i.jsxs)(F,{id:"footer-menu",children:[(0,i.jsx)(v,{children:"Further Links"}),(0,i.jsx)("ul",{className:"footer-menu",children:m&&m.length>0&&m.map((e,t)=>(0,i.jsx)("li",{children:(0,i.jsx)("a",{href:e.path,id:e.id,children:e.title},t)},t))})]}),c&&(0,i.jsx)(g,{children:(0,i.jsx)(T.default,{className:"newsletter-footer"})}),(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:`
19              var _comscore = _comscore || [];
20              _comscore.push({ c1: "2", c2: "22002390",  options: {
21                 enableFirstPartyCookie: true
22                 } });
23              (function() {
24                var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
25                s.src = "https://sb.scorecardresearch.com/cs/22002390/beacon.js";
26                el.parentNode.insertBefore(s, el);
27              })();
28`}}),(0,i.jsx)("noscript",{children:(0,i.jsx)("img",{src:"https://sb.scorecardresearch.com/p?c1=2&c2=22002390&cv=4.4.0&cj=1",alt:""})}),(0,i.jsx)(L,{})]}),(0,i.jsx)(w,{children:(0,i.jsx)(b,{})}),(0,i.jsx)(y,{children:(0,i.jsxs)(A,{children:["\xa9 ",new Date().getFullYear()," – Iliffe Media Group Ltd, Winship Road, Milton, Cambridge, CB24 6PP"]})})]})})},G=h.Ay.div.withConfig({componentId:"sc-4cf32cc-0"})(["display:flex;align-items:center;justify-content:center;height:48px;padding-left:18px;padding-right:18px;border-bottom:",";a{display:flex;align-items:center;}",""],({theme:e})=>`1px solid ${e.default.color.text.dark}`,({theme:e})=>e.default.sectionBrand&&(0,h.AH)(["background:",";"],e.default.sectionBrand.headerBg)),W=h.Ay.div.withConfig({componentId:"sc-4cf32cc-1"})(["position:relative;@media (max-width:","){display:none;}"],m.KL.large),V=(0,h.AH)(["visibility:hidden;opacity:0;transition:opacity 0.15s ease 0.2s,visibility 0s linear 0.35s;"]),Y=(0,h.AH)(["visibility:visible;opacity:1;transition:opacity 0.15s ease,visibility 0s linear 0s;"]),U=h.Ay.div.withConfig({componentId:"sc-4cf32cc-2"})(["display:flex;"," position:absolute;top:55px;left:0;width:100%;height:55px;padding-left:5px;background-color:",";border-bottom:",";
28a{display:flex;align-items:center;}"],V,({theme:e})=>e.default.color.backgrounds.offWhite,({theme:e})=>`1px solid ${e.default.color.text.dark}`),Q=h.Ay.div.withConfig({componentId:"sc-4cf32cc-3"})(["display:flex;align-items:center;align-self:stretch;&:hover > ",",&:focus-within > ","{","}"],U,U,Y),J=h.Ay.div.withConfig({componentId:"sc-4cf32cc-4"})(["display:flex;"," position:absolute;top:48px;left:0;width:100%;padding:0 52px 0 45px;height:55px;background-color:",";border-bottom:",";a{display:flex;align-items:center;}"],V,({theme:e})=>e.default.color.backgrounds.offWhite,({theme:e})=>`1px solid ${e.default.color.text.dark}`),X=h.Ay.div.withConfig({componentId:"sc-4cf32cc-5"})(["display:flex;align-items:center;align-self:stretch;&:hover > ",",&:focus-within > ","{","}"],J,J,Y);h.Ay.div.withConfig({componentId:"sc-4cf32cc-6"})(["padding-right:25px;display:grid;grid-template-columns:1fr 1fr;column-gap:25px;"]);let ee=h.Ay.div.withConfig({componentId:"sc-4cf32cc-7"})(["padding:0 0.6rem;display:flex;"]),et=h.Ay.p.withConfig({componentId:"sc-4cf32cc-8"})(["cursor:pointer;font-size:12px;font-style:normal;font-weight:800;line-height:12px;text-transform:uppercase;letter-spacing:0.5px;margin:auto 0;text-align:center;vertical-align:middle;color:",";border-bottom:",";&:hover{color:",";}"],({theme:e,$selected:t,$branded:o})=>o?e.default.color.secondary:e.default.sectionBrand?t?e.default.sectionBrand.accent:e.default.color.text.white:t?e.default.color.primary:"inherit",({theme:e,$selected:t})=>t&&`2px solid ${e.default.sectionBrand?e.default.sectionBrand.accent:e.default.color.primary}`,({theme:e})=>e.default.sectionBrand?e.default.sectionBrand.accent:e.default.color.primary),eo=h.Ay.p.withConfig({componentId:"sc-4cf32cc-9"})(["cursor:pointer;font-size:12px;font-style:normal;font-weight:800;line-height:12px;text-transform:uppercase;margin:1rem 15px;border-bottom:",";color:",";&:hover{color:",";}"],({theme:e,$selected:t})=>t&&`2px solid ${e.default.color.primary}`,({theme:e,$selected:t})=>t&&e.default.color.primary,({theme:e})=>e.default.color.primary),ei=({items:e})=>e?(0,i.jsx)(U,{children:e.map((e,t)=>(0,i.jsx)("a",{href:e.path,children:(0,i.jsx)(ee,{children:(0,i.jsx)(eo,{children:e.title})})},t))}):null,en=({items:e})=>e?(0,i.jsx)(J,{children:e.map((e,t)=>{let o=e.children??[];return(0,i.jsxs)(Q,{children:[(0,i.jsx)("a",{href:e.path,children:(0,i.jsx)(ee,{children:(0,i.jsx)(eo,{children:e.title})})}),o.length>0&&(0,i.jsx)(ei,{items:o})]},t)})}):null,ea=({menu:e})=>{let t=(0,s.useRouter)(),{config:o,publication:n}=(0,d.useContext)(a.I);return((0,d.useRef)(((e,t)=>{try{if("string"!=typeof e?.query?.seconday_route)return null;if("string"==typeof t.twitter)return`https://twitter.com/${t.facebook}`;if(void 0===t.twitter[e?.query?.seconday_route])return null;else return`https://twitter.com/${t.twitter[e?.query?.seconday_route]}`}catch(e){return null}})(t,o)),(0,d.useRef)(((e,t)=>{try{if("string"!=typeof e?.query?.seconday_route)return null;if("string"==typeof t.facebook)return`https://www.facebook.com/${t.facebook}`;if(void 0===t.facebook[e?.query?.seconday_route])return null;else return t.facebook[e?.query?.seconday_route]}catch(e){return null}})(t,o)),t.pathname.startsWith("/search"),e)?(0,i.jsx)(G,{children:e?.map((e,o)=>{let a,r,s,c,l=e.children?.length>0,d="more"===e.title,h=(0,i.jsx)(ee,{children:(0,i.jsx)(et,{$selected:(a=e.path.substring(e.path.indexOf("/")+1),r=t.asPath.substring(t.asPath.indexOf("/")+1),s=t.asPath.substring(t.asPath.indexOf("/")+1,t.asPath.lastIndexOf("/")),c=r.split("/"),t.asPath===e.path||c[0]===a||a===r||a===s||0===r.length&&"/"===a||""===r&&""===a||void 0===r&&""===a),$branded:!!(0,Z.Hh)(n,e.path),...d?{tabIndex:0}:{},children:e.title})});return(0,i.jsxs)(X,{children:[d?h:(0,i.jsx)("a",{href:e.path,children:h}),l&&(0,i.jsx)(en,{items:e.children})]},o)})}):(0,i.jsx)(i.Fragment,{})},er=({menu:e})=>(0,i.jsx)(W,{children:(0,i.jsx)(ea,{menu:e})});var es=o(62373);let ec=(0,h.i7)(["from{opacity:0;}to{opacity:1;}"]),el=h.Ay.details.withConfig({componentId:"sc-4a2a8bb4-0"})(["display:flex;align-items:center;"]),ed=h.Ay.summary.withConfig({componentId:"sc-4a2a8bb4-1"})(["list-style:none;display:flex;align-items:center;justify-content:center;width:20px;height:20px;cursor:pointer;padding:0;&::-webkit-details-marker{display:none;}"]),eh=h.Ay.span.withConfig({componentId:"sc-4a2a8bb4-2"})(['position:relative;display:block;width:20px;height:2px;background:currentColor;transition:background 0.2s ease;&::before,&::after{content:"";position:absolute;
28left:0;width:20px;height:2px;background:currentColor;transition:transform 0.2s ease;}&::before{top:-6px;}&::after{top:6px;}details[open] &{background:transparent;}details[open] &::before{transform:translateY(6px) rotate(45deg);}details[open] &::after{transform:translateY(-6px) rotate(-45deg);}']),em=h.Ay.div.withConfig({componentId:"sc-4a2a8bb4-3"})(["display:flex;flex-direction:column;@media (max-width:","){a{min-height:40px;display:flex;align-items:center;}}"],m.KL.medium),ep=h.Ay.div.withConfig({componentId:"sc-4a2a8bb4-4"})(["details:not([open]) > &{display:none;}position:absolute;right:0px;top:86px;z-index:1000;padding:3rem 0;background-color:white;width:100%;transition:max-height 0.05s ease-in;animation:"," 0.2s linear;display:flex;justify-content:flex-start;align-content:flex-start;flex-direction:row;border-bottom:",";border-top:",";margin-top:16px;@media (max-width:","){top:71px;padding:0;height:calc(100vh - 51px);overflow-y:scroll;flex-direction:column;border:0;margin-top:0;a{display:flex;min-height:40px;align-items:center;}}"],ec,({theme:e})=>`1px solid ${e.default.color.text.dark}`,({theme:e})=>`1px solid ${e.default.color.text.dark}`,m.KL.large),eu=h.Ay.section.withConfig({componentId:"sc-4a2a8bb4-5"})(["display:grid;grid-template-columns:repeat(3,200px);gap:15px 10px;margin:0 auto;@media (min-width:","){margin:0 0 0 auto;}@media (max-width:","){gap:0px;display:flex;flex-direction:column;width:calc(100vw - 2rem);margin:0 auto;border-bottom:",";}"],m.KL.large,m.KL.medium,({theme:e})=>`1px solid ${e.default.color.text.dark}`),eg=h.Ay.div.withConfig({componentId:"sc-4a2a8bb4-6"})(["display:flex;flex-direction:column;margin:0 auto;max-width:300px;width:100%;.topics-title{display:none;}@media (max-width:","){display:none;}"],m.KL.large),ef=h.Ay.p.withConfig({componentId:"sc-4a2a8bb4-7"})(["font-family:",";font-size:12px;font-style:normal;font-weight:800;line-height:12px;text-transform:uppercase;"],({theme:e})=>e.default.fontFamily.primaryFont),ex=h.Ay.details.withConfig({componentId:"sc-4a2a8bb4-8"})(["@media (min-width:769px){summary{pointer-events:none;}summary a{pointer-events:auto;}}"]),ey=h.Ay.section.withConfig({componentId:"sc-4a2a8bb4-9"})(["details:not([open]) > &{display:none;}display:flex;flex-direction:column;@media (max-width:","){padding:5px 0;}"],m.KL.medium),ew=h.Ay.div.withConfig({componentId:"sc-4a2a8bb4-10"})(["width:100%;padding:13px 0;display:flex;justify-content:space-between;list-style:none;&::-webkit-details-marker{display:none;}@media (max-width:","){margin-bottom:0;padding:0;}"],m.KL.medium),eb=h.Ay.a.withConfig({componentId:"sc-4a2a8bb4-11"})(["font-size:12px;font-family:",";font-style:normal;font-weight:800;line-height:12px;text-transform:uppercase;cursor:pointer;&:hover{color:",";border-bottom:",";}"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.primary,({theme:e})=>`1px solid ${e.default.color.primary}`),ej=h.Ay.a.withConfig({componentId:"sc-4a2a8bb4-12"})(["padding:5px 0;text-decoration:none;font-size:14px;font-style:normal;font-weight:400;line-height:16px;font-family:",";cursor:pointer;&:hover{color:",";}"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.primary),ek=(0,h.Ay)(es.zA).withConfig({componentId:"sc-4a2a8bb4-13"})(["transition:transform 0.4s ease;margin-left:auto;font-size:1.2rem;margin-right:1rem;cursor:pointer;details[open] &{transform:rotate(180deg);}@media (min-width:769px){display:none;}@media (max-width:","){font-size:1.4rem;padding:0.1rem;line-height:22px;line-height:22px;height:22px;margin:auto;margin-right:0;}"],m.KL.medium);h.Ay.hr.withConfig({componentId:"sc-4a2a8bb4-14"})(["width:100%;height:1px;border:0;margin:auto 0 1rem 0;background-color:",";"],({theme:e})=>`${e.default.color.text.light}`);let ev=h.Ay.div.withConfig({componentId:"sc-4a2a8bb4-15"})(["display:none;padding:10px 10px 0 10px;margin-bottom:36px;margin-top:25px;@media (max-width:","){display:block;}"],m.KL.medium),e_=()=>(0,i.jsx)(ed,{"aria-label":"Menu",children:(0,i.jsx)(eh,{"aria-hidden":"true"})}),eF=h.Ay.div.withConfig({componentId:"sc-92f39598-0"})(["display:flex;justify-content:flex-end;align-items:center;button{padding-right:15px;}@media (min-width:","){display:none;}"],m.KL.large);h.Ay.div.withConfig({componentId:"sc-92f39598-1"})(["display:flex;margin-left:0;"]),h.Ay.div.withConfig({componentId:"sc-92f39598-2"})(["width:10px;height:100%;"]);var eC=o(48186),eA=o.n(eC),eI=o(65914),e$=o(3069),eL=o(71181),eB=o(85345);let eD=()=>(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("g",{id:"icon/user",children:(0,i.jsx)("path",{id:"Vector",d:"M4.271 18.3457C4.271 18.3457 6.50002 15.5 12 15.5C17.5 15.5 19.7291 18.3457 19.7291 18.3457M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM12 12C13.6569 12 15 10.6569 15 9C15 7.34315 13.6569 6 12 6C10.3431 6 9 7.34315 9 9C9 10.6569 10.3431 12 12 12Z",stroke:"#272727",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),ez=(0,h.Ay)(eD).withConfig({componentId:"sc-52ef998c-0"})(["font-size:35px;margin:auto 0;color:",";"],({theme:e})=>e.default.color.text.medium);h.Ay.div.withConfig({componentId:"sc-52ef998c-1"})(["position:relative;display:flex;align-items:center;"]);let eN=h.Ay.div.withConfig({componentId:"sc-52ef998c-2"})(["border:0;background:0;text-transform:uppercase;display:flex;justify-content:center;align-content:center;padding:10px;border-bottom:",";cursor:pointer;color:",";"],({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>e.default.color.primary),eO=h.Ay.div.withConfig({componentId:"sc-52ef998c-3"})(["border:0;background:0;text-transform:uppercase;display:flex;justify-content:center;align-content:center;padding:10px;border-bottom:",";text-transform:uppercase;cursor:pointer;color:red;"],({theme:e})=>`1px solid ${e.default.color.text.light}`),eE=({mobile:e,className:t,children:o})=>e?(0,i.jsx)(i.Fragment,{children:o}):(0,i.jsx)(eB.wk,{className:t,children:o}),eM=({mobile:e=!1})=>{let{isLoggedIn:t}=(0,eL.w)();return((0,d.useEffect)(()=>{(0,e$.iH)()},[]),t)?(0,i.jsx)(eE,{mobile:e,className:"piano-auth",children:(0,i.jsx)(eI.A,{Icon:ez,arrow:!1,type:"auth",children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(eA(),{href:"/account",children:(0,i.jsx)(eN,{
28children:"Account"})}),(0,i.jsx)(eO,{onClick:()=>(0,e$.kv)(),children:"Log out"})]})})}):(0,i.jsx)(eE,{mobile:e,children:(0,i.jsx)(eB.az,{type:"button",className:"piano-auth","aria-label":e?"Log in":void 0,onClick:()=>(0,e$.vY)(),children:e?(0,i.jsx)(eD,{}):"Log in"})})},eP=()=>(0,H.g)()?(0,i.jsx)(eF,{children:(0,i.jsx)(eM,{mobile:!0})}):null;var eK=o(72048);let eS=h.Ay.img.withConfig({componentId:"sc-6ccefd92-0"})(["height:30px;width:30px;margin:auto 0.2rem;"]),eT=h.Ay.div.withConfig({componentId:"sc-6ccefd92-1"})([""]),eH=h.Ay.a.withConfig({componentId:"sc-6ccefd92-2"})(["display:flex;align-items:center;text-transform:uppercase;font-size:10px;margin:0 11px 0 25px;cursor:pointer;color:",";@media (max-width:","){display:none;}"],({theme:e})=>e.default.sectionBrand?e.default.color.text.white:e.default.color.text.dark,m.KL.large),eZ=h.Ay.div.withConfig({componentId:"sc-6ccefd92-3"})(["color:",";"],({theme:e})=>e.default.sectionBrand?e.default.color.text.white:e.default.color.text.dark),eR=new Set(["brecon-radnor.co.uk","bude-today.co.uk","chepstowbeacon.co.uk","cornish-times.co.uk","creditoncourier.co.uk","dartmouth-today.co.uk","dawlish-today.co.uk","holsworthy-today.co.uk","ivybridge-today.co.uk","kingsbridge-today.co.uk","narberth-and-whitland-today.co.uk","pembroke-today.co.uk","southhams-today.co.uk","tamarvalleytimes.co.uk","teignmouth-today.co.uk","tenby-today.co.uk","theforester.co.uk","theforestreview.co.uk","thepost.uk.com","totnes-today.co.uk","voicenewspapers.co.uk"]),eq=({weather:e})=>{let{publication:t}=(0,d.useContext)(a.I),o=eR.has(t)?"/weather-forecasts":"/weather";return e?(0,i.jsxs)(eH,{href:o,children:[(0,i.jsx)(eK.A,{type:"day",time:new Date((e?.current?.last_updated_epoch??e?.location?.localtime_epoch)*1e3)}),(0,i.jsx)(eS,{src:e.current?.condition?.icon,alt:e.current?.condition?.text}),(0,i.jsx)(eT,{children:(0,i.jsxs)(eZ,{children:[e.current?.temp_c,(0,i.jsx)("span",{children:"℃"})]})})]}):null},eG=h.Ay.div.withConfig({componentId:"sc-72ef6fed-0"})(["display:grid;grid-template-rows:70px;grid-template-columns:0.4fr 2fr 0.4fr;border-bottom:",";padding:0 16px;@media (min-width:","){display:grid;grid-template-rows:85px;grid-template-columns:1fr 2fr 1fr 55px;justify-content:space-between;position:relative;}@media (min-width:","){border-bottom:0;padding:0 52px;}",""],({theme:e})=>`1px solid ${e.default.color.text.dark}`,m.KL.medium,m.KL.large,({theme:e})=>e.default.sectionBrand&&(0,h.AH)(["background:",";color:",";a,p,span,button{color:",";}svg{fill:",";color:",";}"],e.default.sectionBrand.headerBg,e.default.color.text.white,e.default.color.text.white,e.default.color.text.white,e.default.color.text.white)),eW=h.Ay.div.withConfig({componentId:"sc-72ef6fed-1"})(["display:flex;align-items:center;justfify-content:flex-start;"]),eV=h.Ay.div.withConfig({componentId:"sc-72ef6fed-2"})(["display:none;@media (min-width:","){margin:auto 0;display:flex;justify-content:end;}@media (min-width:","){padding-top:10px;}"],m.KL.medium,m.KL.large),eY=({menuItems:e})=>(0,i.jsx)(em,{children:e?.map((e,t)=>(0,i.jsx)(ew,{children:(0,i.jsx)(eb,{href:e.path,children:e.title})},t))}),eU=({menuItem:e})=>e.children&&e.children.length>0?(0,i.jsxs)(ex,{open:!0,children:[(0,i.jsxs)(ew,{as:"summary",children:[(0,i.jsx)(eb,{href:e.path,children:e.title}),(0,i.jsx)(ek,{"aria-hidden":"true"})]}),(0,i.jsx)(ey,{children:e.children.map((e,t)=>(0,i.jsx)(ej,{href:e.path,children:e.title},t))})]}):(0,i.jsx)(ew,{children:(0,i.jsx)(eb,{href:e.path,children:e.title})});var eQ=o(3075),eJ=o.n(eQ);let eX=(0,h.i7)(["from{opacity:0;transform:scale(0.95);}to{opacity:1;transform:scale(1);}"]),e0=(0,h.i7)(["from{opacity:1;transform:scale(1);}to{opacity:0;transform:scale(0.95);}"]);(0,h.Ay)(es.fU).withConfig({componentId:"sc-7e9d0458-0"})(["margin:auto;font-size:1.8rem;color:#606163;fill:#606163;"]);let e1=h.Ay.button.withConfig({componentId:"sc-7e9d0458-1"})(["background:",";border:none;font-size:1.8rem;margin:auto 0 auto 10px;padding:0;display:flex;align-items:center;cursor:pointer;svg{width:16px;height:16px;}",""],({theme:e})=>e.default.sectionBrand?"transparent":"white",({theme:e})=>
28e.default.sectionBrand&&(0,h.AH)(["svg path{fill:",";}"],e.default.color.text.white)),e2=h.Ay.div.withConfig({componentId:"sc-7e9d0458-2"})(["display:flex;width:100%;div{","}@media (max-width:","){display:none;}"],({$isVisible:e})=>(0,h.AH)(["display:",";animation:"," 0.3s ease-in-out;"],e?"block":"none",e?eX:e0),m.KL.medium),e4=h.Ay.div.withConfig({componentId:"sc-7e9d0458-3"})(["display:flex;width:100%;@media (min-width:","){display:none;}"],m.KL.medium),e5=()=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:(0,i.jsx)("path",{d:"M9.08 0.440002C4.56875 0.440002 0.919998 4.08875 0.919998 8.6C0.919998 13.1113 4.56875 16.76 9.08 16.76C10.6906 16.76 12.1812 16.2875 13.445 15.485L19.34 21.38L21.38 19.34L15.56 13.535C16.6062 12.1625 17.24 10.4619 17.24 8.6C17.24 4.08875 13.5912 0.440002 9.08 0.440002ZM9.08 2.36C12.5356 2.36 15.32 5.14438 15.32 8.6C15.32 12.0556 12.5356 14.84 9.08 14.84C5.62437 14.84 2.84 12.0556 2.84 8.6C2.84 5.14438 5.62437 2.36 9.08 2.36Z",fill:"#272727"})}),e3=eJ()(()=>o.e(3303).then(o.bind(o,23303)),{loadableGenerated:{webpack:()=>[23303]},ssr:!1}),e6=()=>{let e=(0,s.useRouter)(),[t,o]=(0,d.useState)(""),[n,a]=(0,d.useState)(!1),{screenSize:r}=(0,I.Y0)();(0,d.useEffect)(()=>{let t=()=>{o(""),a(!1)};return e.events.on("routeChangeComplete",t),()=>{e.events.off("routeChangeComplete",t)}},[e]);let c=e=>{o(e.target.value)},l=async o=>{o.preventDefault();let i=t.trim();if(!i)return;let n=encodeURIComponent(i),a=e.asPath,r=`/search?search=${n}`;a.startsWith("/search")?(await e.replace(r),window.location.reload()):await e.push(r)};return(0,i.jsxs)("form",{onSubmit:l,children:[(0,i.jsxs)(e4,{children:[(0,i.jsx)(e3,{handleChange:c,value:t,placeholder:"Search"})," ",(0,i.jsx)(e1,{type:"submit",children:(0,i.jsx)(e5,{})})]}),(0,i.jsxs)(e2,{$isVisible:n,children:[n&&(0,i.jsx)(e3,{handleChange:c,value:t,placeholder:"Search"}),(0,i.jsx)(e1,{type:"button",onClick:()=>{a(!n)},children:(0,i.jsx)(e5,{})})]})]})};var e9=o(33958);let e8=({fullMenu:e,showPopular:t=!1})=>(0,i.jsxs)(ep,{children:[(0,i.jsx)(ev,{children:(0,i.jsx)(e6,{})}),(0,i.jsx)(eu,{children:(e=>{let t=e?.menu;if(!Array.isArray(t))return[];let o=[],i=[];return t.forEach(e=>{e.children?o.push(e):i.push(e)}),o.splice(2,0,i),o})(e).map((e,t)=>2===t?(0,i.jsx)(eY,{menuItems:e},t):(0,i.jsx)(eU,{menuItem:e},t))}),t&&(0,i.jsxs)(eg,{children:[(0,i.jsx)(ef,{children:"Popular reads"}),(0,i.jsx)(e9.A,{})]})]}),e7=({fullMenu:e,weather:t,headerNav:o})=>{let n=(0,d.useRef)(null),[a,r]=(0,d.useState)(!1),s=(0,D.useRouter)(),c=(0,H.g)();return(0,d.useEffect)(()=>{let e=()=>{n.current&&(n.current.open=!1)};return s.events.on("routeChangeStart",e),()=>{s.events.off("routeChangeStart",e)}},[s]),(0,i.jsxs)(eG,{children:[(0,i.jsxs)(eW,{children:[(0,i.jsxs)(el,{ref:n,onToggle:e=>{e.currentTarget.open&&r(!0)},children:[(0,i.jsx)(e_,{}),(0,i.jsx)(e8,{fullMenu:e,showPopular:a})]}),(0,i.jsx)(eq,{weather:t})]}),(0,i.jsx)(P,{}),(0,i.jsx)(eV,{children:(0,i.jsx)(e6,{})}),(0,i.jsx)(eP,{}),c&&(0,i.jsx)(eM,{})]})},te=h.Ay.nav.withConfig({componentId:"sc-10a19c43-0"})(["background:",";position:sticky;top:0;z-index:1000 !important;width:100%;"],({theme:e})=>e.default.sectionBrand?.headerBg??"white"),tt=({fullMenu:e,menu:t,weather:o,headerNav:n})=>(0,i.jsxs)(te,{"aria-label":"Primary",children:[(0,i.jsx)(e7,{fullMenu:e,weather:o,headerNav:n}),(0,i.jsx)(er,{menu:t})]}),to=({content:e="",children:t,favicon:o,canonicalUrl:c,title:h,data:m,header_nav:p,mainStyle:u})=>{let{query:g}=(0,s.useRouter)(),{publication:f,config:x}=(0,d.useContext)(a.I),y=(0,r.E)(),{primary_route:w}=g,b=o??x?.favicon??"/favicons/favicon.ico",[j,k]=(0,d.useState)(null);(0,d.useEffect)(()=>{(async()=>{if(f)try{let e=await fetch(`/api/weather_nav?publication=${f}`);if(!e.ok){console.error(`API request failed with status: ${e.status}`),k(null);return}let t=await e.json();k(t)}catch(e){console.error("Error fetching weather nav data:",e),k(null)}})()},[f]);let v=f&&n.includes(f)&&!y;return(0,i.jsxs)("div",{style:{background:"white"},children:[(0,i.jsxs)(l(),{children:[(0,i.jsx)("link",{rel:"canonical",href:c||""}),c&&(0,i.jsx)("meta",{name:"parsely-network-canonical",content:c}),(0,i.jsx)("script",{async:!0,id:"ebx",src:"//applets.ebxcdn.com/ebx.js"}),v&&(0,i.jsx)("script",{async:!0,src:`https://functions.adnami.io/api/macro/adsm.macro.${f}.js`}),(0,i.jsx)("title",{children:`${h||f} | ${x.pub?x.pub:w||"local news"}`}),(0,i.jsx)("link",{rel:"icon",href:b}),(0,i.jsx)("meta",{name:"view-transition",content:"same-origin"}),(0,i.jsx)("meta",{name:"google-site-verification",content:f})," "]}),(0,i.jsx)("a",{href:"#main-content",className:"skip-link",children:"Skip to main content"}),(0,i.jsx)(tt,{fullMenu:m?.full_nav,weather:j,menu:m?.nav_bar.menu,headerNav:m?.header_nav?.menu}),(0,i.jsx)("main",{id:"main-content",style:{minHeight:850,background:"white",...u},children:t}),(0,i.jsx)(q,{footer:m?.footer,contactDetails:m?.contactDetails})]})}},40019:(e,t,o)=>{o.d(t,{g:()=>r});var i=o(95132),n=o(59085),a=o(73475);let r=()=>{let{config:e}=(0,i.useContext)(n.I);return null!=(0,a.c)(e)}},40551:(e,t,o)=>{o.d(t,{A:()=>c});var i=o(66352),n=o(4113),a=o(71924),r=o(44258);let s=a.Ay.div.withConfig({componentId:"sc-cecfe61a-0"})(["padding:1.5rem;background:",";border-radius:16px;display:grid;row-gap:12px;@media (max-width:","){padding:1rem;}.tab{font-family:",";font-size:12px;font-style:normal;font-weight:800;line-height:12px;text-transform:uppercase;color:",";text-align:center;}"],({theme:e})=>e.default.color.background,r.KL.medium,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.primary),c=({title:e,tab:t,children:o,className:a})=>(0,i.jsxs)(s,{className:a,children:[t&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("span",{className:"tab",children:t})}),e&&(0,i.jsx)(n.A,{type:"card",children:e}),o]})},40831:(e,t,o)=>{o.r(t),o.d(t,{default:()=>v});var i=o(66352),n=o(95132),a=o(49843),r=o(71924),s=o(44258);let c=r.Ay.div.withConfig({componentId:"sc-624f2feb-0"})(["background-color:",";border-radius:12px;padding:16px 20px;margin-top:20px;@media (max-width:","){padding:14px 16px;}.newsletter_card{display:flex;flex-direction:column;align-items:stretch;box-shadow:none;margin:0;padding:0;}.checkbox{margin-top:8px;label{font-family:",";font-size:12px;font-style:normal;font-weight:400;line-height:16px;margin-left:6px;color:",';}a{text-decoration:underline;}}input[type="text"],input[type="email"]{height:44px;border-radius:4px;}',""],({theme:e})=>e.default.color.background,s.KL.medium,({theme:e})=>e.default.fontFamily.secondaryFont,({theme:e})=>e.default.color.text.light,({theme:e})=>e.default.sectionBrand&&(0,r.AH)([".newsletter_card,.newsletter_card span,.newsletter_card p,.newsletter_card label{color:",";}"],e.default.color.text.dark)),l=r.Ay.span.withConfig({componentId:"sc-624f2feb-1"})(["font-family:",";font-size:18px;font-style:normal;font-weight:700;line-height:24px;margin-bottom:10px;text-align:left;"],({theme:e})=>e.default.sectionBrand?.headlineFont??e.default.fontFamily.primaryFont),d=r.Ay.div.withConfig({componentId:"sc-624f2feb-2"})(["display:flex;flex-direction:row;align-items:flex-start;gap:10px;> div{flex:1;}"]),h=r.Ay.div.withConfig({componentId:"sc-624f2feb-3"})(["display:flex;flex-direction:column;@media (max-width:","){grid-template-columns:1fr;row-gap:10px;}"],s.KL.medium);r.Ay.form.withConfig({componentId:"sc-624f2feb-4"})([""]);let m=r.Ay.button.withConfig({componentId:"sc-624f2feb-5"})(["background-color:",";color:",";height:44px;flex-shrink:0;align-items:center;border:0;width:100px;border-radius:24px;
28cursor:pointer;font-family:",";font-size:16px;font-style:normal;font-weight:600;line-height:24px;&:hover{background-color:#216ca8;}&:focus{background-color:#014984;}&:disabled{cursor:not-allowed;}",""],({theme:e})=>e.default.color.primary,({theme:e})=>e.default.color.text.white,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.sectionBrand&&(0,r.AH)(["background-color:",";&:hover,&:focus{background-color:",";}"],e.default.sectionBrand.accent,e.default.sectionBrand.accent));r.Ay.h4.withConfig({componentId:"sc-624f2feb-6"})(["text-transform:uppercase;font-family:Lato;font-size:13px;font-style:normal;font-weight:900;line-height:30px;letter-spacing:0.05em;text-align:left;margin:0;color:",";"],({theme:e})=>e.default.color.primary);var p=o(64028),u=o(14),g=o(41957),f=o(25338),x=o(37763),y=o(74079),w=o(40551),b=o(59085),j=o(40019);let k=g.Ik().shape({email:(0,f.E)("Invalid email").required("Required")}),v=({type:e="",hideNewsLetter:t=!1,className:o})=>{let{publication:r,config:s}=(0,n.useContext)(b.I),[g,f]=(0,n.useState)({error:"",success:!1});return!(0,j.g)()||t||"Commercial"===e?null:(0,i.jsx)(c,{className:o,children:(0,i.jsx)(w.A,{className:"newsletter_card",children:(0,i.jsxs)(h,{className:"grid_container",children:[(0,i.jsx)(l,{children:g.success?"Thanks for signing up to our newsletter!":"Get your latest local news for free in your email inbox"}),!g.success&&(0,i.jsx)(u.l1,{initialValues:{email:"",marketTo:!1},onSubmit:async e=>{try{await p.A.post("/api/newsletter",{email:e.email,publication:r,marketTo:e.marketTo}),f({error:"",success:!0})}catch(e){console.log(e),f({error:"Sorry, something went wrong. Please try again later.",success:!1})}},validationSchema:k,children:({values:e,handleChange:t,handleBlur:o,handleSubmit:n,touched:r,errors:c,isSubmitting:l})=>(0,i.jsxs)(u.lV,{onSubmit:n,children:[(0,i.jsxs)(d,{children:[(0,i.jsx)(x.A,{inputStyles:"form",name:"email",value:e.email,handleChange:t,onBlur:o,placeholder:"Enter your email address",bottom_error:r.email&&c.email||""!==g.error&&g.error}),(0,i.jsx)(m,{type:"submit",disabled:(0,y.I)(c)||""===e.email||l,children:"Submit"})]}),(0,i.jsx)(a.A,{className:"checkbox",name:"marketTo",value:e.marketTo,handleChange:t,label:`I'd also like to receive offers & updates from ${s.pub}. <a href="/privacy">Privacy notice</a>`})]})})]})})})}},49843:(e,t,o)=>{o.d(t,{A:()=>l});var i=o(66352),n=o(95132),a=o(71924);let r=a.Ay.div.withConfig({componentId:"sc-32fdef65-0"})(['display:flex;align-items:flex-start;input[type="checkbox"]{margin-top:2px;flex-shrink:0;}']),s=a.Ay.label.withConfig({componentId:"sc-32fdef65-1"})(["font-family:",";font-size:12px;font-style:normal;font-weight:400;line-height:16px;a{color:",";}"],({theme:e})=>e.default.fontFamily.secondaryFont,({theme:e})=>e.default.color.primary);var c=o(98445);let l=({label:e,handleChange:t,value:o,checked:a,name:l,id:d,className:h})=>{let m=(0,n.useId)(),p=d??m;return(0,i.jsxs)(r,{className:h,children:[(0,i.jsx)("input",{id:p,name:l,onChange:t,value:o,checked:a,type:"checkbox"}),(0,i.jsxs)(s,{htmlFor:p,children:[" ",(0,i.jsx)("span",{children:(0,c.Ay)(e)})]})]})}},56542:(e,t,o)=>{o.d(t,{Hh:()=>a,Q$:()=>s,TE:()=>r,Tq:()=>n});let i={"iomtoday.co.im":{gef:{accent:"#C80015",headerBg:"#000000",logo:"gef",headlineFont:"'Oswald', 'Nunito', sans-serif",newsletterTag:"Newsletter - GEF",social:{facebook:"https://www.facebook.com/gefmongooseiom",twitter:"https://twitter.com/GefMongooseIOM",instagram:"https://www.instagram.com/gefmongooseiom/",youtube:"https://www.youtube.com/channel/UClKDCmlC5gou_qlrcV0KQSg"}}}},n=e=>(e??"").replace(/^\/+/,"").replace(/\/+$/,"").toLowerCase(),a=(e,t)=>{if(!e)return null;let o=i[e];if(!o)return null;let a=n(t);return o[a]?o[a]:o[a.split("/").pop()??""]??null},r=(e,t)=>{for(let o of t){let t=a(e,o);if(t)return t}return null},s=(e,t)=>({facebook:e?.social?.facebook??t?.facebook,twitter:e?.social?.twitter??t?.twitter})},57267:(e,t,o)=>{o.d(t,{d:()=>i});let i=e=>"Home"===e?"/images/cat_images/News.jpg":"Sport"===e?"/images/cat_images/Sport.jpg":"Opinion"===e?"/images/cat_images/Opinion.jpg":"999"===e?"/images/cat_images/999.jpg":"Business"===e?"/images/cat_images/Business.jpg":"Courts"===e?"/images/cat_images/Courts.jpg":"Education"===e?"/images/cat_images/Education.jpg":"Health"===e?"/images/cat_images/Health.jpg":"Planning"===e?"/images/cat_images/Planning.jpg":"Politics"===e?"/images/cat_images/Politics.jpg":"Bowls"===e?"/images/cat_images/Bowls.jpg":"Cricket"===e?"/images/cat_images/Cricket.jpg":"Football"===e?"/images/cat_images/Football.jpg":"Golf"===e?"/images/cat_images/Golf.jpg":"Rugby"===e?"/images/cat_images/Rugby.jpg":"/images/cat_images/News.jpg"},59067:(e,t,o)=>{o.d(t,{E:()=>a});var i=o(95132),n=o(56339);let a=()=>"subscribed"===(0,i.useContext)(n.k)},65914:(e,t,o)=>{o.d(t,{A:()=>f});var i=o(66352),n=o(95132),a=o(71924),r=o(62373),s=o(44258);let c=a.Ay.details.withConfig({componentId:"sc-54c591da-0"})(["position:relative;"]),l=a.Ay.p.withConfig({componentId:"sc-54c591da-1"})(["background-color:",";transition:background-color 0.4s ease;padding:10px;white-space:nowrap;cursor:pointer;list-style:none;&::-webkit-details-marker{display:none;}
28details[open] &{color:",";}@media (max-width:","){padding:0;}"],({theme:e,$type:t})=>"form"===t&&e.default.color.backgrounds.light,({theme:e})=>e.default.color.primary,s.KL.large),d=(0,a.Ay)(r.HB).withConfig({componentId:"sc-54c591da-2"})(["transition:transform 0.4s ease;margin:auto 0px auto auto;font-size:1.2rem;cursor:pointer;details[open] &{transform:rotate(90deg);}"]);var h=o(85260);let m=(0,a.AH)(["grid-template-columns:1fr;width:250px;right:0;position:absolute;display:grid;z-index:2000;background:#f7f7f7;box-shadow:0px 4px 4px rgba(0,0,0,0.25);margin:5px;margin-left:10px;margin-right:10px;padding:13px 0;top:40px;grid-template-rows:1fr 1fr 1fr;font-family:",";font-size:13px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:0em;text-align:left;@media (max-width:","){grid-template-columns:1fr;width:100%;margin:0;right:0;padding:20px 0;top:50px;}"],({theme:e})=>e.default.fontFamily.secondaryFont,s.KL.medium),p=(0,a.AH)(["right:0;position:absolute;display:grid;z-index:2000;min-width:100px;background:white;box-shadow:0px 4px 4px rgba(0,0,0,0.25);top:65px;font-family:",";font-size:13px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:0em;text-align:left;@media (max-width:","){grid-template-columns:1fr;width:100%;margin:0;right:0;padding:20px 0;top:50px;@media (max-width:","){right:-10px;top:70px;padding:0;}}"],({theme:e})=>e.default.fontFamily.secondaryFont,s.KL.medium,s.KL.medium),u=a.Ay.div.withConfig({componentId:"sc-164c4c84-0"})(["details:not([open]) > &{display:none;}"," ",""],({$col:e})=>1===e&&m,({$type:e})=>"auth"===e&&p),g=({children:e,type:t,col:o})=>(0,i.jsx)(u,{$type:t,$col:o,children:e}),f=({title:e,children:t,arrow:o=!0,Icon:a,col:r,value:s,type:m="form"})=>{let p,u=(0,n.useRef)(null),f=function(e){let[t,o]=(0,n.useState)(void 0),[i,a]=(0,n.useState)(e);return e!==i&&(o(i),a(e)),t}(s),x=(p=(0,n.useRef)(!1),(0,n.useEffect)(()=>{setTimeout(()=>{p.current=!0})},[]),p),y=()=>{u.current&&(u.current.open=!1)};return(0,h.A)(u,y),(0,n.useEffect)(()=>{f!==s&&x.current&&y()},[s,f,x]),(0,i.jsxs)(c,{ref:u,children:[(0,i.jsx)(l,{as:"summary",$type:m,children:(0,i.jsxs)("span",{style:{display:"flex",alignContent:"center"},children:[" ",e&&e,a&&(0,i.jsx)(a,{}),o&&(0,i.jsx)(d,{})]})}),(0,i.jsx)(g,{col:r,type:m,children:t})]})}},71181:(e,t,o)=>{o.d(t,{w:()=>s});var i=o(95132),n=o(3069),a=o(15554),r=o(56339);let s=()=>{let e=(0,i.useContext)(r.k),[t,o]=(0,i.useState)(null!=e||(0,n.Lt)()),[s,c]=(0,i.useState)("subscribed"===e),[l,d]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=!0,t=0,i=(0,n.nk)(i=>{if(!e)return;let r=++t;o(i),d(!0),i?(0,n.iZ)().then(o=>{if(!e||r!==t)return;if("unknown"===o){(0,a.TG)()||(0,a.RW)("registered");return}let i="granted"===o;c(i),(0,a.RW)(i?"subscribed":"registered")}):(c(!1),(0,a.Y4)())});return()=>{e=!1,i()}},[]),{isLoggedIn:t,isSubscribed:s,ready:l}}},83911:(e,t,o)=>{o.d(t,{$n:()=>s,OE:()=>c,Th:()=>r,ar:()=>l,bu:()=>a});var i=o(18706);let n={Freeform:"Freeform",onebyone:"1:1",fivebyeight:"5:8",fourbyfive:"4:5",threebytwo:"3:2",eightbyfive:"8:5",fivebythree:"5:3",twobyone:"2:1"},a=(e,t,o,a,r)=>{try{if(1===r)return`${t}?${(0,i.ey)(o)}width=950&height=6450&crop=950:645`;if(!o)return a?`${t}?width=455&height=350&crop=455:350`:`${t}?width=752&height=500&crop=752:500`;let e=a?455:752;if(!o?.cropData){let n=a?350:500;return`${t}?${(0,i.ey)(o)}width=${e}&height=${n}&crop=${e}:${n}`}try{let a=((e,t,o,i)=>{let a=n[e];if("Freeform"===a)return Math.round(i/o*t);let[r,s]=a.split(":").map(Number);return Math.round(t*s/r)})(o.name,e,o.cropData.width,o.cropData.height);return`${t}?${(0,i.ey)(o)}width=${e}&height=${a}&crop=${e}:${a}`}catch(e){if(console.error("Error generating image URL:",e),a)return`${t}?${(0,i.ey)(o)}width=455&height=350&crop=455:350`;return`${t}?${(0,i.ey)(o)}width=752&height=500&crop=752:500`}}catch{return t}},r=(e,t,o,i,n)=>{try{if(1===n)return`${t}?width=950`;if(i)return`${t}?width=455`;return`${t}?width=752`}catch{return t}},s=(e,t)=>{try{return`${t}?width=209`}catch{return t}},c=(e,t,o={},i,n)=>{try{if(1===n)return`${t}?width=950`;if(i)return`${t}?width=455`;return`${t}?width=669`}catch{return t}},l=(e,t,o,i,n,a)=>{try{let e=`${t}?width=209&height=145&crop=240:145,smart&quality=75`,r=`${t}?width=96&height=64&crop=64:96,smart&quality=75`,s=`${t}?width=209&height=145&crop=240:145,smart&quality=75`,c=`${t}?width=${3===o?209:119}&height=${3===o?140:79}${3===o?"&crop=209:145,smart":"&crop=119:79,smart"}&quality=75`;if(!0===a)return r;if("job"===n)return t;if(2===o&&!1===a)return e;return i?s:c}catch{return t}}},85260:(e,t,o)=>{o.d(t,{A:()=>n});var i=o(95132);let n=function(e,t){let o=o=>{e.current&&!e.current.contains(o.target)&&t(o)};(0,i.useEffect)(()=>(document.addEventListener("mousedown",o),document.addEventListener("touchstart",o),()=>{document.removeEventListener("mousedown",o),document.removeEventListener("touchstart",o)}))}},85345:(e,t,o)=>{o.d(t,{DF:()=>a,az:()=>r,wk:()=>s});var i=o(71924),n=o(44258);let a=i.Ay.div.withConfig({componentId:"sc-c4fa2bbc-0"})(["display:flex;flex-direction:column;margin-bottom:12px;.comment-login{font-family:",";border:0;background:",";font-size:14px;font-weight:600;line-height:24px;padding:8px 20px;border-radius:24px;color:",";align-self:flex-end;margin-top:8px;}"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.primary,({theme:e})=>e.default.color.backgrounds.white),r=i.Ay.button.withConfig({componentId:"sc-c4fa2bbc-1"})(["font-family:",";font-size:12px;font-style:normal;cursor:pointer;font-style:normal;font-weight:800;line-height:12px;text-transform:uppercase;background:none;border:0px;color:",";"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.text.dark),s=i.Ay.div.withConfig({componentId:"sc-c4fa2bbc-2"})(["display:flex;align-items:center;justify-content:flex-end;padding-top:10px;@media (max-width:","){display:none;}"],n.KL.large)}}]);

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.