PageSourceSearch

https://www.theleedsirishcentre.co.uk/_next/static/chunks/96651fb906f34989.js

js theleedsirishcentre.co.uk collected 2026-10-04 06:54:41 UTC 35,021 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72328,e=>{"use strict";var t=e.i(71164),i=e.i(38544),n=e.i(71645);function s(){t.hasReducedMotionListener.current||(0,i.initPrefersReducedMotion)();let[e]=(0,n.useState)(t.prefersReducedMotion.current);return e}e.s(["useReducedMotion",()=>s])},14544,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(46932),s=e.i(72328);function r({children:e,className:r="",delay:a=0,duration:l=.5,once:o=!0}){let c=(0,s.useReducedMotion)(),[d,m]=(0,i.useState)(null);return((0,i.useEffect)(()=>{m(window.matchMedia("(max-width: 767px)").matches)},[]),!0===c||!1!==d)?(0,t.jsx)("div",{className:r,children:e}):(0,t.jsx)(n.motion.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:o,margin:"-50px"},transition:{duration:l,delay:a,ease:"easeOut"},className:r,children:e})}e.s(["FadeIn",()=>r])},75157,e=>{"use strict";function t(...e){return e.filter(Boolean).join(" ")}e.s(["cn",()=>t])},93012,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(75157);let s={solid:"bg-lime-500 text-white border-transparent hover:bg-lime-600 hover:scale-105 shadow-lg hover:shadow-xl",outline:"border-2 border-slate-700 text-slate-800 bg-transparent hover:bg-slate-100 hover:border-lime-500","outline-light":"border-2 border-white/60 text-white bg-transparent hover:border-white hover:bg-white/10",ghost:"bg-transparent text-slate-700 hover:bg-slate-100"},r={sm:"px-4 py-2 text-sm rounded-none",md:"px-8 py-3 text-base rounded-none",lg:"px-10 py-4 text-lg rounded-none"},a=(0,i.forwardRef)(({variant:e="solid",size:a="md",className:l="",children:o,asChild:c,...d},m)=>{let h=(0,n.cn)("inline-flex items-center justify-center font-semibold transition-all duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2 disabled:opacity-50",s[e],r[a],l);return c&&(0,i.isValidElement)(o)?(0,i.cloneElement)(o,{className:(0,n.cn)(o.props?.className,h)}):(0,t.jsx)("button",{ref:m,className:h,type:"button",...d,children:o})});a.displayName="Button",e.s(["Button",0,a])},55077,e=>{e.v(JSON.parse('{"facilityTourVideoId":"kqGzF4aMNpM","mainFeaturedArticle":{"id":"letter-from-president-of-ireland","title":"A Letter from the President of Ireland","excerpt":"We were delighted to receive a letter from the President of Ireland, Uachtarán na hÉireann Catherine Connolly, following her recent visit to the Leeds Irish Centre.\\n\\nThe President wrote:\\n\\n“Liam, a chara,\\n\\nOn behalf of myself and my husband Brian, I would like to thank you most sincerely for your warm welcome at the Leeds Irish Centre when I visited in May.\\n\\nI was delighted to have the opportunity to visit the Centre and to see how it continues to serve as a hub for the thriving Irish community in Leeds. There was a marvellous atmosphere in the Centre, and I was very pleased to have the opportunity to meet so many of those active in the Irish community in Leeds and across the North of England and Scotland. It is wonderful to see that the Centre remains at the heart of the community in the city.\\n\\nI would be very grateful if you could convey our thanks and appreciation to all those involved in our visit, in particular to Tommy McLaughlin and the team, as well as to Rena Cosgrove and the rest of the committee.\\n\\nAg guí gach rath ar bhur n-obair leanúnach,\\n\\nYours sincerely,\\n\\nCatherine Connolly\\nUachtarán na hÉireann”","category":"Community","date":"July 2026","image":"/images/news/letter-from-president-connolly.webp"},"newsItems":[{"id":"15","title":"Irish Language Lessons Starting in York","excerpt":"Irish language lessons start on Thursday 17 September in York. If you would like to register, email Muireann for costs and further details of the class.","category":"Community","date":"Thursday 17 September 2026","image":"/images/news/NEWS.png","link":"mailto:[email protected]","linkText":"Email Muireann"},{"id":"14","title":"Tommy McLoughlin MBE marks 50 years as manager of Leeds Irish Centre","excerpt":"Tommy McLoughlin MBE has marked 50 years as manager of the Leeds Irish Centre, having led the venue since 1975 and becoming a central figure in the Yorkshire-Irish community. Now aged 84, he continues to play an active role, with tributes highlighting his impact in transforming the centre into a cultural hub, hosting major entertainers, and helping raise over £5 million for charities. Widely described as the \\"beating heart\\" of the community, McLoughlin reflected on his dedication, saying: \\"After my family, it\'s my life,\\" and remains committed to the centre\'s future despite having once planned to stay only a year.","category":"Featured","date":"2025","image":"/images/news/Tommy-McLoughlin.webp","link":"https://www.yorkshireeveningpost.co.uk/retro/evergreen-stalwart-celebrates-50-years-as-leeds-irish-centre-manager-5384969","linkText":"View Article"}
1,{"id":"13","title":"St Benedict’s Harps GAA Weekly Lotto","excerpt":"Support St Benedict’s Harps GAA by entering their weekly 4/36 lotto. The current jackpot is £15,000. Enter online for your chance to win and to view the latest draw information.","category":"Community","date":"July 2026","image":"/images/news/St-Benedicts-Harps-GAA-Weekly-Lotto.webp","imageFit":"contain","imageBackground":"white","link":"https://hub.klubfunder.com/StBenedictHarps/lotto/home","linkText":"Enter the Weekly Lotto"},{"id":"11","title":"Mount St. Mary\'s FC Looking for Players for the 2026/27 Season","excerpt":"Mount St. Mary\'s Football Club are looking for new players ahead of the 2026/27 season. The team plays Saturday afternoons in Division 2 of the West Yorkshire League and welcomes players interested in joining one of West Yorkshire\'s oldest amateur football clubs.","category":"Community","date":"2026/27 Season","image":"https://b8higatptu6wypsi.public.blob.vercel-storage.com/images/news/mount-st-marys-players-needed.webp","link":"sms:+447814705238?&body=Hi%20Andy%2C%20I%20saw%20the%20Mount%20St.%20Mary%E2%80%99s%20FC%20players%20needed%20notice%20on%20the%20Leeds%20Irish%20Centre%20website.%20I%E2%80%99m%20interested%20in%20joining%20for%20the%202026%2F27%20season.","linkText":"Message Andy"},{"id":"1","title":"Tour The Leeds Irish Centre Facilities","excerpt":"Please click on the video to see a showcase of all the wonderful facilities that the Leeds Irish Centre has to offer. Explore our spaces and discover what makes our community centre truly special.","category":"Featured","date":"February 2026","videoEmbed":"kqGzF4aMNpM","link":"#video-tour","linkText":"Watch Video Tour"},{"id":"2","title":"Membership Renewal","excerpt":"Membership renewal has ended until next year.","category":"Membership","date":"Until next year","image":"/images/news/NEWS.png","link":"/contact#member","linkText":"Learn About Membership"},{"id":"3","title":"Club Champions Campaign","excerpt":"We sat down with Rena Cosgrove and Tommy McLoughlin MBE to discuss the history and services of the centre, as well as their views for the direction of the club.","category":"Community","date":"February 2026","image":"/images/news/NEWS.png","link":"/about","linkText":"Learn About Our History"},{"id":"4","title":"Sam Maguire Cup Request","excerpt":"Does anyone have information about the Sam Maguire Cup visiting the Leeds Irish Centre (and the Harp Bar in town) in 1994 after Derry won the All-Ireland?","category":"Community","date":"February 2026","image":"/images/news/NEWS.png","link":null},{"id":"5","title":"Walking Football Comes to Leeds Irish Centre","excerpt":"Republic of Ireland Walking Football Association (ROIWFA) brings walking football to Leeds Irish Centre. Join us for this exciting new activity!","category":"Events","date":"February 2026","image":"/images/news/NEWS.png","link":"/directory","linkText":"View Full Directory"},{"id":"6","title":"Club Lotto","excerpt":"Enter our weekly club lotto for your chance to win. Support the Leeds Irish Centre while you play.","category":"Announcement","date":"Ongoing","image":"/images/news/NEWS.png","link":null},{"id":"7","title":"Irish Red Cross Thank You","excerpt":"A huge thank you from all of us at the Irish Red Cross for your tremendous support of the Creeslough Community Support Fund.","category":"Community","date":"February 2026","image":"/images/news/NEWS.png","link":null},{"id":"8","title":"Davitt Bar Quiz Returns","excerpt":"The very popular Quiz is starting again with a NEW quiz paper. Join us every week for great craic and competition.","category":"Events","date":"Weekly","image":"/images/news/NEWS.png","link":"/directory","linkText":"View Full Directory"},{"id":"9","title":"The Tuesday Club Returns","excerpt":"WE ARE BACK! Starting at 1pm, we are delighted to welcome back members of the Tuesday club for Afternoon Tea. Tables of 6, tea/coffee and a cake for just £2.","category":"Events","date":"Weekly - 1pm","image":"/images/news/NEWS.png","link":"/directory","linkText":"View Full Directory"}
1,{"id":"10","title":"50 Years in the Making","excerpt":"Get your copy of our commemorative book celebrating 50 years of the Leeds Irish Centre. £20 for a hardback copy, £10 for a paperback copy. Plus p&p.","category":"Announcement","date":"Available Now","image":"/images/news/NEWS.png","link":"/contact","linkText":"Order Book"},{"id":"12","title":"Interest in Author Talk: Jim Harvey – Grappling with Ghosts","excerpt":"Donegal-born author Jim Harvey has contacted the Leeds Irish Centre about a possible visit to talk about his memoir, Grappling with Ghosts. We are gauging interest in a talk in late October — please let us know by 31 July if you would like to attend.","category":"Community","date":"July 2026","image":"/images/news/NEWS.png","link":"/contact","linkText":"Register Your Interest","secondaryLink":"https://www.irishpost.com/entertainment/delivered-by-lamplight-in-old-rural-donegal-294957","secondaryLinkText":"Read Irish Post Article"}],"categories":[{"name":"All News","count":25,"slug":"all"},{"name":"Events","count":12,"slug":"events"},{"name":"Community","count":10,"slug":"community"},{"name":"Membership","count":4,"slug":"membership"},{"name":"Announcements","count":6,"slug":"announcements"}],"upcomingEvents":[{"id":"4","title":"Davitt Bar Quiz","date":"Weekly","time":"20:00","link":"/whats-on"},{"id":"6","title":"The Drifters","date":"Fri 26 Mar 2027","time":"20:00","link":"/whats-on"},{"id":"7","title":"The Drifters","date":"Sat 27 Mar 2027","time":"20:00","link":"/whats-on"},{"id":"20","title":"Bodega","date":"Thu 26 Nov 2026","time":"19:30","link":"/whats-on"},{"id":"8","title":"Westside Cowboy","date":"Fri 27 Nov 2026","time":"19:30","link":"/whats-on"},{"id":"9","title":"Ultimate Green Day x Ultimate Blink-182","date":"Sat 28 Nov 2026","time":"TBC","link":"/whats-on"},{"id":"10","title":"Kevin Isaac - Comedy Elvis","date":"Thu 30 Jul 2026","time":"20:00","link":"/whats-on"},{"id":"14","title":"Kennedy Caitlin","date":"Sat 11 Jul 2026","time":"21:00","link":"/whats-on"},{"id":"15","title":"Bad Ska","date":"Sat 8 Aug 2026","time":"21:00","link":"/whats-on"},{"id":"16","title":"Pure Barlow","date":"Sat 14 Nov 2026","time":"21:00","link":"/whats-on"},{"id":"81","title":"Andrew Cushin","date":"Wed 9 Dec 2026","time":"TBC","link":"/whats-on"},{"id":"54","title":"Christmas Party Night – Neil Diamond by Adam Press","date":"Fri 18 Dec 2026","time":"TBC","link":"/whats-on"},{"id":"17","title":"Dolly Parton Tribute","date":"Sat 19 Dec 2026","time":"21:00","link":"/whats-on"},{"id":"19","title":"The Scratch","date":"Sun 31 Jan 2027","time":"TBC","link":"/whats-on"},{"id":"79","title":"The Felice Brothers","date":"Wed 10 Feb 2027","time":"19:30","link":"/whats-on"},{"id":"78","title":"Protomartyr","date":"Thu 11 Feb 2027","time":"19:30","link":"/whats-on"},{"id":"75","title":"The Men They Couldn\'t Hang","date":"Thu 12 Nov 2026","time":"TBC","link":"/whats-on"},{"id":"76","title":"Abberettes Brunch Afternoon","date":"Sun 27 Sep 2026","time":"TBC","link":"/whats-on"},{"id":"83","title":"Local History & Author Talk – Bernard McGrath and James Harvey","date":"Mon 28 Sep 2026","time":"19:00","link":"/whats-on"},{"id":"77","title":"Effie Neil & Barry Doyle Carvery Afternoon","date":"Sun 13 Sep 2026","time":"TBC","link":"/whats-on"},{"id":"82","title":"We Are Scientists","date":"Mon 5 Oct 2026","time":"19:30","link":"/whats-on"},{"id":"47","title":"Halloween Party","date":"Sun 1 Nov 2026","time":"16:00","link":"/whats-on"},{"id":"84","title":"PARIS 75","date":"Wed 18 Nov 2026","time":"TBC","link":"/whats-on"}]}'))},77383,e=>{"use strict";var t=e.i(43476),i=e.i(57688),n=e.i(76520);function s({items:e}){let i=e.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.label,item:e.href?`https://www.theleedsirishcentre.co.uk${e.href}`:void 0}));return(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:i})}})}function r({imageSrc:e,imageAlt:r,breadcrumbItems:a,imageClassName:l="object-cover",unoptimized:o=!1,ariaLabel:c,children:d}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s,{items:a}),(0,t.jsxs)("section",{className:"relative h-[500px] md:h-[600px] flex items-center justify-center overflow-hidden pt-20","aria-label":c??void 0,children:[(0,t.jsxs)("div",{className:"absolute inset-0",children:[o?(0,t.jsx)("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${e})`},role:"img","aria-label":r}):(0,t.jsx)(i.default,{src:e,alt:r,fill:!0,className:l,priority:!0,sizes:"100vw"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black/70 to-black/50","aria-hidden":!0})]}),(0,t.jsx)("div",{className:"absolute top-8 left-6 md:left-8 z-10",children:(0,t.jsx)(n.Breadcrumb,{items:a,variant:"hero"})}),(0,t.jsx)("div",{className:"relative z-10 w-full flex flex-col items-center justify-center text-center px-6",children:d})]})]})}e.s(["PageHero",()=>r])},98837,1120,e=>{"use strict";var t=e.i(55077);function i(e){return/^(sms|tel|mailto):/i.test(e)}t.default.facilityTourVideoId;let n=t.default.mainFeaturedArticle??null,s=t.default.newsItems,r=t.default.categories,a=t.default.upcomingEvents;function l(){let e=[...s.filter(e=>e.link||e.featured)].sort((e,t)=>
1e.featured&&!t.featured?-1:!e.featured&&t.featured?1:0);return{featured:n??e[0]??null,supporting:n?e.slice(0,4):e.slice(1,5)}}e.s(["CATEGORIES",0,r,"MAIN_FEATURED_ARTICLE",0,n,"NEWS_ITEMS",0,s,"PLACEHOLDER_IMAGE",0,"/images/news/NEWS.png","UPCOMING_EVENTS",0,a,"getHomepageFeaturedNews",()=>l,"isNewsActionLink",()=>i],98837);var o=e.i(43476),c=e.i(71645);function d({text:e,className:t="text-slate-600 leading-relaxed whitespace-pre-line",collapsedClassName:i}){let[n,s]=(0,c.useState)(!1),r=e.split(/\n\n/)[0]??e,a=e.length>r.length,l=n||!a?e:r;return(0,o.jsxs)("div",{className:i,children:[(0,o.jsxs)("p",{className:t,children:[l,a&&!n&&(0,o.jsxs)(o.Fragment,{children:[" ",(0,o.jsx)("button",{type:"button",onClick:()=>s(!0),className:"inline font-semibold text-lime-600 hover:text-lime-700 underline-offset-2 hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2","aria-expanded":!1,children:"...more"})]})]}),a&&n&&(0,o.jsx)("button",{type:"button",onClick:()=>s(!1),className:"mt-3 text-sm font-semibold text-lime-600 hover:text-lime-700 underline-offset-2 hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2","aria-expanded":!0,children:"Show less"})]})}e.s(["ExpandableExcerpt",()=>d],1120)},95301,e=>{"use strict";var t=e.i(43476);function i({children:e,className:i=""}){return(0,t.jsx)("div",{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 ${i}`,children:e})}e.s(["Container",()=>i])},76520,e=>{"use strict";var t=e.i(43476),i=e.i(22016);function n({items:e,variant:n="hero",className:s=""}){let r="hero"===n,a=r?"text-white/90 text-sm":"text-slate-600 text-sm",l=r?"hover:text-[#a3d151] transition-colors":"hover:text-lime-600 transition-colors",o=r?"text-white/70 mx-2":"text-slate-400 mx-2",c=r?"text-white":"font-medium text-slate-900";return(0,t.jsx)("nav",{"aria-label":"Breadcrumb",className:s,children:(0,t.jsx)("ol",{className:"flex flex-wrap items-center gap-0",children:e.map((e,n)=>(0,t.jsxs)("li",{className:"flex items-center",children:[n>0&&(0,t.jsx)("span",{className:o,"aria-hidden":!0,children:"/"}),e.href?(0,t.jsx)(i.default,{href:e.href,className:`${a} ${l}`,children:e.label}):(0,t.jsx)("span",{className:`${a} ${c}`,"aria-current":"page",children:e.label})]},n))})})}e.s(["Breadcrumb",()=>n])},87307,e=>{"use strict";var t=e.i(43476);function i({children:e,className:i="",background:n,id:s}){return(0,t.jsx)("section",{id:s,className:`py-16 md:py-24 ${"muted"===n?"bg-slate-100":"accent"===n?"bg-lime-500/10":""} ${i}`,children:e})}e.s(["Section",()=>i])},53587,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(46932),s=e.i(72328),r=e.i(75157);let a={hidden:{},visible:{transition:{staggerChildren:.08,delayChildren:.05}}},l={hidden:{opacity:0,y:12},visible:{opacity:1,y:0,transition:{duration:.35}}},o=(0,i.createContext)(!1);function c({children:e,className:l=""}){let c=(0,s.useReducedMotion)(),[d,m]=(0,i.useState)(null);return((0,i.useEffect)(()=>{m(window.matchMedia("(max-width: 767px)").matches)},[]),!0===c||!1!==d)?(0,t.jsx)(o.Provider,{value:!1,children:(0,t.jsx)("div",{className:(0,r.cn)("grid",l),children:e})}):(0,t.jsx)(o.Provider,{value:!0,children:(0,t.jsx)(n.motion.div,{variants:a,initial:"hidden",animate:"visible",className:(0,r.cn)("grid",l),children:e})})}function d({children:e,className:s=""}){return(0,i.useContext)(o)?(0,t.jsx)(n.motion.div,{variants:l,className:s,children:e}):(0,t.jsx)("div",{className:s,children:e})}e.s(["StaggerChildren",()=>c,"StaggerItem",()=>d])},55436,e=>{"use strict";let t=(0,e.i(75254).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",()=>t],55436)},79434,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(18566),s=e.i(77383),r=e.i(98837),a=e.i(95301),l=e.i(87307),o=e.i(14544),c=e.i(53587),d=e.i(57688),m=e.i(1120);function h({item:e}){let i=e.image??r.PLACEHOLDER_IMAGE,n=i===r.PLACEHOLDER_IMAGE;return(0,t.jsxs)("article",{className:"rounded-none overflow-hidden bg-white border border-slate-200 shadow-md hover:shadow-xl transition-all duration-300",children:[(0,t.jsx)("div",{className:"relative w-full aspect-video bg-slate-800",children:(0,t.jsx)(d.default,{src:i,alt:n?"":e.title,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 80vw, 840p
1x",priority:!0})}),(0,t.jsxs)("div",{className:"p-6 md:p-8",children:[(0,t.jsx)("span",{className:"inline-block rounded-none bg-lime-green text-white px-4 py-2 text-sm font-semibold mb-4",children:e.category}),(0,t.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-slate-900 mb-3",children:e.title}),(0,t.jsx)("time",{dateTime:e.date,className:"block text-sm text-slate-600 mb-4",children:e.date}),(0,t.jsx)(m.ExpandableExcerpt,{text:e.excerpt}),e.link&&e.linkText&&(0,t.jsx)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex mt-4 rounded-none bg-lime-green text-white px-6 py-3 text-sm font-semibold hover:bg-lime-600 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2",children:e.linkText})]})]})}var u=e.i(22016),x=e.i(93012);function p({item:e}){let i=e.videoEmbed,n=e.image??r.PLACEHOLDER_IMAGE,s=n===r.PLACEHOLDER_IMAGE,a=e.imageFit??"cover",l="contain"===a&&"white"===e.imageBackground;return(0,t.jsxs)("article",{className:"rounded-none overflow-hidden bg-white border border-slate-200 shadow-md hover:shadow-xl transition-all duration-300",children:[i?(0,t.jsx)("div",{id:"video-tour",className:"relative w-full aspect-video bg-slate-800",children:(0,t.jsx)("iframe",{className:"absolute inset-0 w-full h-full",src:`https://www.youtube.com/embed/${i}`,title:e.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}):(0,t.jsx)("div",{className:`relative w-full aspect-video ${l?"bg-white":"bg-slate-800"}`,children:(0,t.jsx)(d.default,{src:n,alt:s?"":e.title,fill:!0,className:"contain"===a?"object-contain object-center":"object-cover",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 80vw, 840px",priority:!0})}),(0,t.jsxs)("div",{className:"p-6 md:p-8",children:[(0,t.jsx)("span",{className:"inline-block rounded-none bg-lime-green text-white px-4 py-2 text-sm font-semibold mb-4",children:e.category}),(0,t.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-slate-900 mb-3",children:e.title}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-4 text-sm text-slate-600 mb-4",children:[(0,t.jsx)("time",{dateTime:e.date,children:e.date}),e.readTime&&(0,t.jsxs)("span",{children:[e.readTime," read"]})]}),(0,t.jsx)("p",{className:"text-slate-600 line-clamp-4",children:e.excerpt}),e.link&&e.linkText||e.secondaryLink&&e.secondaryLinkText?(0,t.jsxs)("div",{className:"flex flex-wrap gap-3 mt-4",children:[e.link&&e.linkText&&(0,t.jsx)(x.Button,{asChild:!0,size:"md",children:(0,r.isNewsActionLink)(e.link)?(0,t.jsx)("a",{href:e.link,children:e.linkText}):e.link.startsWith("http://")||e.link.startsWith("https://")?(0,t.jsx)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",children:e.linkText}):(0,t.jsx)(u.default,{href:e.link,children:e.linkText})}),e.secondaryLink&&e.secondaryLinkText&&(0,t.jsx)(x.Button,{asChild:!0,size:"md",variant:"outline",children:(0,r.isNewsActionLink)(e.secondaryLink)?(0,t.jsx)("a",{href:e.secondaryLink,children:e.secondaryLinkText}):e.secondaryLink.startsWith("http://")||e.secondaryLink.startsWith("https://")?(0,t.jsx)("a",{href:e.secondaryLink,target:"_blank",rel:"noopener noreferrer",children:e.secondaryLinkText}):(0,t.jsx)(u.default,{href:e.secondaryLink,children:e.secondaryLinkText})})]}):null]})]})}function g({item:e}){let i=e.image??r.PLACEHOLDER_IMAGE,n=i===r.PLACEHOLDER_IMAGE,s=e.imageFit??"cover",a="contain"===s&&"white"===e.imageBackground;return(0,t.jsxs)("article",{className:"group rounded-none overflow-hidden bg-white border border-slate-200 shadow-md hover:shadow-xl hover:-translate-y-0.5 transition-all duration-300 flex flex-col md:flex-row",children:[(0,t.jsx)("div",{className:`relative w-full md:w-[180px] flex-shrink-0 aspect-square md:aspect-square ${a?"bg-white":"bg-slate-200"}`,children:(0,t.jsx)(d.default,{src:i,alt:n?"":e.title,fill:!0,className:"contain"===s?"object-contain object-center":"object-cover group-hover:scale-105 transition-transform duration-300",sizes:"(max-width: 768px) 100vw, 180px"})}),(0,t.jsxs)("div",{className:"p-5 md:p-6 flex flex-col flex-1 justify-center",children:[(0,t.jsx)("span",{className:"inline-block rounded-none bg-slate-200 text-slate-700 px-2 py-1 text-xs font-medium mb-2 w-fit",children:e.category}),(0,t.jsx)("h3",{className:"text-lg font-semibold text-slate-900 mb-1",children:e.title}),(0,t.jsx)("time",{className:"text-sm text-slate-600 mb-2",dateTime:e.date,children:e.date}),(0,t.jsx)("p",{className:"text-slate-600 text-sm line-clamp-3 mb-4 flex-1",children:e.excerpt}),e.link&&e.linkText||e.secondaryLink&&e.secondaryLinkText?(0,t.jsxs)("div",{className:"flex flex-wrap gap-x-4 gap-y-2",children:[e.link&&e.linkText&&((0,r.isNewsActionLink)(e.link)?(0,t.jsxs)("a",{href:e.link,className:"inline-flex items-center font-semibold text-lime-600 hover:text-lime-700 transition-colors",children:[e.linkText," →"]}):e.link.startsWith("http://")||e.link.startsWith("https://")?(0,t.jsxs)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center font-semibold text-lime-600 hover:text-lime-700 transition-colors",children:[e.linkText," →"]}):(0,t.jsxs)(u.default,{href:e.link,className:"inline-flex items-center font-semibold text-lime-600 hover:text-lime-700 transition-colors",children:[e.linkText," →"]})),e.secondaryLink&&e.secondaryLinkText&&((0,r.isNewsActionLink)(e.secondaryLink)?(0,t.jsxs)("a",{href:e.secondaryLink,className:"inline-flex items-center font-semibold text-lime-600 hover:text-lime-700 transition-colors",children:[e.secondaryLinkText," →"]}):e.secondaryLink.startsWith("http://")||e.secondaryLink.startsWith("https://")?(0,t.jsxs)("a",{href:e.secondaryLink,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center font-semibold text-lime-600 hover:text-lime-700 transition-colors",children:[e.secondaryLinkText," →"]}):(0,t.jsxs)(u.default,{href:e.secondaryLink,className:"inline-flex items-center font-semibold text-lime-600 hover:text-lime-700 transition-colors",children:[e.secondaryLinkText," →"]}))]}):null]})]})}var f=e.i(55436);
1function b({value:e,onChange:i}){return(0,t.jsx)("form",{onSubmit:e=>{e.preventDefault()},role:"search","aria-label":"Search news",children:(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("input",{type:"search",value:e,onChange:e=>i(e.target.value),placeholder:"Search...",className:"flex-1 rounded-none border-2 border-gray-200 px-4 py-3 text-sm focus:border-lime-green focus:ring-4 focus:ring-lime-green/10 focus:outline-none transition-all","aria-label":"Search news"}),(0,t.jsx)("button",{type:"submit",className:"rounded-none bg-lime-green px-4 py-3 text-white hover:bg-[#95c129] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2","aria-label":"Submit search",children:(0,t.jsx)(f.Search,{className:"w-5 h-5","aria-hidden":!0})})]})})}function y({categories:e}){return(0,t.jsx)("ul",{className:"space-y-2",role:"list",children:e.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)(u.default,{href:`/news?category=${e.slug}`,className:"flex items-center justify-between py-2 text-slate-700",children:[(0,t.jsx)("span",{children:e.name}),(0,t.jsx)("span",{className:"rounded-none bg-slate-200 px-2 py-0.5 text-xs font-medium text-slate-700",children:e.count})]})},e.slug))})}function w({events:e}){return(0,t.jsx)("ul",{className:"space-y-4",role:"list",children:e.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)(u.default,{href:e.link,className:"block group hover:bg-slate-50 -mx-2 px-2 py-2 transition-colors",children:[(0,t.jsx)("span",{className:"block rounded-none bg-lime-green/20 text-forest-green px-2 py-1 text-xs font-semibold w-fit mb-1",children:e.date}),(0,t.jsx)("span",{className:"font-semibold text-slate-900 group-hover:text-lime-600 transition-colors",children:e.title}),(0,t.jsx)("span",{className:"block text-sm text-slate-600",children:e.time})]})},e.id))})}var v=e.i(63526);function k(){let[e,n]=(0,i.useState)(null),[s,r]=(0,i.useState)(0),[a,l]=(0,i.useState)(""),[o,c]=(0,i.useState)(!1),[d,m]=(0,i.useState)(null),[h,x]=(0,i.useState)(!1);async function p(t){t.preventDefault();let i=a.trim();if(!i)return void m({text:"Please enter your email.",type:"error"});if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i))return void m({text:"Please enter a valid email.",type:"error"});if(!o)return void m({text:"Please agree to receive newsletters.",type:"error"});if(!e)return void m({text:"Please complete the verification.",type:"error"});x(!0),m(null);try{let t=await fetch("/api/newsletter-signup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:i,consent:!0,source:"news_sidebar",turnstileToken:e})}),s=await t.json();if(t.ok&&s.success)m({text:s.message??"Thanks for subscribing!",type:"success"}),l(""),c(!1),n(null),r(e=>e+1);else throw Error(s.message??"Signup failed")}catch{m({text:"Something went wrong. Please try again.",type:"error"})}finally{x(!1)}}return(0,t.jsxs)("form",{onSubmit:p,"aria-label":"Newsletter subscription",className:"space-y-3",children:[(0,t.jsx)("p",{className:"text-sm text-slate-600 mb-3",children:"Stay updated with our monthly newsletter"}),d&&(0,t.jsx)("p",{className:`text-sm font-medium ${"success"===d.type?"text-green-700":"text-red-600"}`,role:"status","aria-live":"polite",children:d.text}),(0,t.jsx)("input",{type:"email",value:a,onChange:e=>l(e.target.value),placeholder:"Your email",disabled:h,className:"w-full rounded-none border-2 border-gray-200 px-4 py-3 text-sm focus:border-lime-green focus:ring-4 focus:ring-lime-green/10 focus:outline-none disabled:opacity-60","aria-label":"Email address"}),(0,t.jsxs)("label",{className:"flex items-start gap-2 cursor-pointer group",children:[(0,t.jsx)("input",{type:"checkbox",checked:o,onChange:e=>c(e.target.checked),disabled:h,required:!0,className:"mt-0.5 w-4 h-4 rounded-none border-2 border-gray-300 accent-lime-green focus:ring-2 focus:ring-lime-500 focus:ring-offset-0 cursor-pointer","aria-label":"Consent to receive newsletters","aria-required":"true"}),(0,t.jsxs)("span",{className:"text-xs text-slate-600 group-hover:text-slate-900",children:["I agree to receive newsletters."," ",(0,t.jsx)(u.default,{href:"/privacy-policy",className:"text-forest-green underline hover:text-lime-600",target:"_blank",children:"Privacy Policy"})]})]}),(0,t.jsx)(v.TurnstileWidget,{resetKey:s,onSuccess:n,onExpire:()=>n(null)}),(0,t.jsx)("button",{type:"submit",disabled:!o||!e||h,className:"w-full rounded-none bg-[var(--forest-green)] py-3 px-4 text-white font-bold text-sm hover:bg-[#164230] disabled:opacity-60 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2",children:h?"Subscribing...":"Subscribe"})]})}function j({title:e,children:i,id:n}){return(0,t.jsxs)("div",{className:"rounded-none border border-slate-200 bg-white p-6 shadow-sm",children:[(0,t.jsx)("h2",{id:n,className:"text-lg font-bold text-slate-900 mb-4 pb-3 border-b border-slate-200",children:e}),i]})}function N({searchQuery:e="",onSearchChange:i}){return(0,t.jsxs)("aside",{className:"space-y-6 lg:sticky lg:top-24 lg:self-start","aria-label":"News sidebar",children:[(0,t.jsx)(j,{title:"Search News",id:"search-news",children:(0,t.jsx)(b,{value:e,onCh
1ange:i??(()=>{})})}),(0,t.jsx)(j,{title:"Categories",id:"categories",children:(0,t.jsx)(y,{categories:r.CATEGORIES})}),(0,t.jsx)(j,{title:"Upcoming Events",id:"upcoming-events",children:(0,t.jsx)(w,{events:r.UPCOMING_EVENTS})}),(0,t.jsx)(j,{title:"Newsletter",id:"newsletter",children:(0,t.jsx)(k,{})})]})}let C=r.NEWS_ITEMS.find(e=>e.featured),T=r.NEWS_ITEMS,S={all:"",events:"Events",community:"Community",membership:"Membership",announcements:"Announcement"};function L(){let e=(0,n.useSearchParams)().get("category"),[d,m]=(0,i.useState)(1),[u,x]=(0,i.useState)(""),f=(0,i.useRef)(null),b=function(e,t,i){let n=e;if(i&&"all"!==i){let e=S[i];e&&(n=n.filter(t=>t.category===e))}if(!t.trim())return n;let s=t.trim().toLowerCase();return n.filter(e=>e.title.toLowerCase().includes(s)||e.excerpt.toLowerCase().includes(s)||e.category.toLowerCase().includes(s))}(T,u,e),y=Math.ceil(b.length/6)||1,w=(d-1)*6,v=b.slice(w,w+6);(0,i.useEffect)(()=>{m(1)},[e]),(0,i.useEffect)(()=>{d>y&&y>=1&&m(1)},[d,y]);let k=e=>{m(e),f.current?.scrollIntoView({behavior:"smooth"})};return(0,t.jsxs)("main",{id:"main-content",children:[(0,t.jsxs)(s.PageHero,{imageSrc:"https://b8higatptu6wypsi.public.blob.vercel-storage.com/images/hero/Leeds-Irish-Centre-139.webp",imageAlt:"",ariaLabel:"News & Updates",imageClassName:"object-cover md:object-[center_40%]",breadcrumbItems:[{href:"/",label:"Home"},{label:"News & Updates"}],children:[(0,t.jsx)("h1",{className:"mb-6 max-w-[800px] text-[clamp(32px,6vw,72px)] font-black leading-[0.95] tracking-[-0.03em] text-white [text-shadow:0_4px_8px_rgba(0,0,0,0.5),0_8px_24px_rgba(0,0,0,0.4)]",children:"News & Updates"}),(0,t.jsx)("p",{className:"text-lg md:text-xl text-white/90 max-w-2xl [text-shadow:0_2px_8px_rgba(0,0,0,0.4)]",children:"Latest news, announcements, and community updates from Leeds Irish Centre."})]}),(0,t.jsx)(l.Section,{children:(0,t.jsx)(a.Container,{children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_380px] gap-8 lg:gap-12",children:[(0,t.jsxs)("div",{className:"space-y-8",children:[r.MAIN_FEATURED_ARTICLE&&(0,t.jsx)(o.FadeIn,{children:(0,t.jsx)(h,{item:r.MAIN_FEATURED_ARTICLE})}),C&&(0,t.jsx)(o.FadeIn,{children:(0,t.jsx)(p,{item:C})}),(0,t.jsxs)("div",{ref:f,children:[(0,t.jsxs)(o.FadeIn,{children:[(0,t.jsx)("h2",{className:"sr-only",children:"News feed"}),0===b.length?(0,t.jsx)("p",{className:"py-12 text-center text-slate-600",children:u.trim()?`No news found for "${u}". Try a different search term.`:e?"No news in this category yet.":"No news items to display."}):(0,t.jsx)(c.StaggerChildren,{className:"flex flex-col gap-6",children:v.map(e=>(0,t.jsx)(c.StaggerItem,{children:(0,t.jsx)(g,{item:e})},e.id))},`news-${d}-${u}-${e??"all"}`)]}),y>1&&(0,t.jsxs)("nav",{"aria-label":"News pagination",className:"flex flex-wrap items-center justify-center gap-2 pt-8",children:[(0,t.jsx)("button",{type:"button",onClick:()=>k(Math.max(1,d-1)),disabled:1===d,className:"rounded-none border-2 border-slate-200 px-4 py-2 text-sm font-semibold text-slate-700 hover:border-lime-500 hover:text-lime-600 disabled:opacity-50 disabled:cursor-not-allowed transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2",children:"Previous"}),(0,t.jsx)("ul",{className:"flex items-center gap-1",children:Array.from({length:y},(e,t)=>t+1).map(e=>(0,t.jsx)("li",{children:(0,t.jsx)("button",{type:"button",onClick:()=>k(e),className:`min-w-[40px] rounded-none px-3 py-2 text-sm font-semibold transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2 ${e===d?"bg-lime-green text-white":"border border-slate-200 text-slate-700 hover:border-lime-500 hover:text-lime-600"}`,children:e})},e))}),(0,t.jsx)("button",{type:"button",onClick:()=>k(Math.min(y,d+1)),disabled:d===y,className:"rounded-none border-2 border-slate-200 px-4 py-2 text-sm font-semibold text-slate-700 hover:border-lime-500 hover:text-lime-600 disabled:opacity-50 disabled:cursor-not-allowed transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2",children:"Next"})]})]})]}),(0,t.jsx)(o.FadeIn,{children:(0,t.jsx)(N,{searchQuery:u,onSearchChange:e=>{x(e),m(1)}})})]})})})]})}function E(){return(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)(I,{}),children:(0,t.jsx)(L,{})})}function I(){return(0,t.jsxs)("main",{id:"main-content",children:[(0,t.jsx)("section",{className:"page-header-section relative pt-20 h-[calc(40vh+5rem)] min-h-[calc(280px+5rem)] w-full overflow-hidden bg-slate-200 animate-pulse","aria-hidden":!0}),(0,t.jsx)(l.Section,{children:(0,t.jsx)(a.Container,{children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_380px] gap-8 lg:gap-12",children:[(0,t.jsx)("div",{className:"space-y-8 h-96 bg-slate-100 animate-pulse rounded"}),(0,t.jsx)("div",{className:"h-96 bg-slate-100 animate-pulse rounded hidden lg:block"})]})})})]})}e.s(["default",()=>E],79434)}]);

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.