1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[487],{46:(e,t,l)=>{l.d(t,{PodcastSlider:()=>v});var a=l(5155),r=l(2115),n=l(4495),s=l(7611),i=l(6766),o=l(1958),c=l(1275);let d=e=>{var t;let{items:l,onPlay:r}=e;return(0,a.jsxs)("div",{className:"w-full flex flex-col justify-between h-full md:max-w-[220px]",children:[(0,a.jsxs)("div",{className:"relative min-h-[93px] max-h-[93px] tablet:min-h-[124px] tablet:max-h-[124px] w-full",children:[(0,a.jsx)(i.default,{src:l.image,title:l.title,alt:l.title,fill:!0,className:"object-cover object-center rounded-t-[5px]"}),(0,a.jsx)("button",{type:"button",onClick:()=>r(l),"aria-label":"Play ".concat(l.title),className:"absolute inset-0 flex items-center justify-center",children:(0,a.jsx)(i.default,{src:o.default,alt:"Play",width:16,height:14,className:"h-6 w-6 tablet:h-6 tablet:w-5 "})})]}),(0,a.jsx)("p",{className:"p-2 font-semibold font-ibm-sans text-[14px] leading-4 bg-[#132428] text-white h-full",children:l.title}),(0,a.jsxs)("div",{className:"flex items-center justify-between px-2 rounded-b-[5px] bg-gradient-to-b from-[#385158] to-[#132428]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-[4px]",children:[(0,a.jsx)(i.default,{src:c.default,alt:"Play watch",width:8,height:9,className:"h-[8px] w-[9px] mt-[2px] 970:h-[6px] 970:w-[7px] 970:mt-[2px]"}),(0,a.jsx)("p",{className:"text-white font-integralCF font-bold text-[10px] leading-[14px]",children:"Watch"})]}),(0,a.jsx)("p",{className:"text-white font-ibm-sans text-[8px] leading-6",children:null!=(t=l.time)?t:"â"})]})]})};var u=l(7562),m=l(5559);let x=e=>{let{children:t,perPage:l=3,className:n="",title:s,isTablet:o,adsOn:c=!1}=e,d=t.length,x=Math.ceil(d/l),[h,p]=(0,r.useState)(0),b=0===h,g=h>=Math.max(0,x-1),f=(0,r.useMemo)(()=>{let e=[];for(let a=0;a<d;a+=l)e.push(t.slice(a,a+l));return e},[t,l,d]),v=o?d>3:d>4;return(0,a.jsx)("div",{className:"px-[15px] 970:p-0 clear-both ".concat(c?"1100:ml-auto":""),children:(0,a.jsxs)("div",{className:"relative 970:pr-3 1100:pr-0 ".concat(c?"xl:max-w-[940px]":""," ").concat(n),children:[(0,a.jsx)("div",{className:"overflow-hidden w-[460px] mr-3 ".concat(c?"970:w-full ml-auto":"970:w-[700px] ml-auto 1100:w-[930px]"),children:(0,a.jsx)("div",{className:"flex transition-transform duration-500 ease-out ",style:{transform:"translateX(-".concat(100*h,"%)")},children:f.map((e,t)=>{let l=e.length;return(0,a.jsx)("div",{className:"flex-shrink-0 grid grid-cols-2 w-full 970:flex ".concat(l>4?"justify-between gap-4 1100:justify-end ":"justify-end gap-4 1100:justify-end 1100:gap-4 "),children:e.map((e,t)=>(0,a.jsx)("div",{children:e},t))},t)})})}),v&&(0,a.jsx)("div",{className:"absolute top-4 1100:top-[40px] transform flex space-x-1 left-[6px]",children:f.map((e,t)=>(0,a.jsx)("button",{onClick:()=>p(t),className:"h-[7px] w-[7px] rounded-full ".concat(t===h?"bg-[#132428]":"bg-gray-300"),"aria-label":"Go to slide ".concat(t+1)},t))}),v&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{onClick:()=>{b||p(e=>e-1)},"aria-label":"Previous",disabled:b,className:"absolute h-[31px] w-[31px] flex items-center justify-center rounded-full bottom-[-45px] right-12\n ".concat(b?"bg-[#CCCCCC] text-gray-800 cursor-not-allowed ":"bg-[#132428] text-white hover:bg-gray-700 cursor-pointer"),children:(0,a.jsx)(i.default,{src:b?u.A:m.A,alt:"Previous",width:15,height:9,className:"w-[15px] h-[9px] object-contain ".concat(b?"":"rotate-180")})}),(0,a.jsx)("button",{onClick:()=>{g||p(e=>e+1)},"aria-label":"Next",disabled:g,className:"absolute h-[31px] w-[31px] flex items-center justify-center rounded-full bottom-[-45px] left-auto right-3\n ".concat(g?"bg-[#CCCCCC] text-gray-800 cursor-not-allowed":"bg-[#132428] text-white hover:bg-gray-700 cursor-pointer"),children:(0,a.jsx)(i.default,{src:g?u.A:m.A,alt:"Next",width:15,height:9,className:"w-[15px] h-[9px] object-contain ".concat(g?"rotate-180":"")})})]})]})})};var h=l(5993);function p(){return(0,a.jsxs)("div",{className:"overflow-hidden rounded-none rounded-bl-[5px] md:rounded-[5px]",children:[(0,a.jsxs)("div",{className:"lg:w-[120px] w-[184px]",children:[(0,a.jsxs)("div",{className:"bg-[#47003B] flex justify-center gap-1",children:[(0,a.jsxs)("p",{className:"font-rhode font-medium text-[18px] text-[#FFDEE4] uppercase pt-2 pb-1 leading-none text-center",children:["Sponsored",(0,a.jsx)("br",{})," Content"]}),(0,a.jsx)("div",{className:"lg:hidden block flex items-center",children:(0,a.jsx)(i.default,{src:h.default,alt:"BoyleSports",className:"h-[32px] w-auto object-contain ",priority:!0})})]}),(0,a.jsx)("div",{className:"bg-[#BB3B80] flex items-center justify-center p-1 hidden lg:flex",children:(0,a.jsx)(i.default,{src:h.default,alt:"BoyleSports",className:"h-[32px] w-auto object-contain",priority:!0})})]}),(0,a.jsx)("div",{className:"block lg:hidden bg-[#C04386] md:px-4 px-2.5 md:py-2 py-1
1w-[184px]",children:(0,a.jsx)("p",{className:"text-white italic text-[9px] lg:text-[13px] md:text-center text-left line-clamp-1",children:"In Partnership with BoyleSports"})})]})}function b(e){let{headTitle:t,adsOn:l,isSponsored:r=!1}=e;return(0,a.jsxs)("div",{className:"my-2 tablet:my-0 tablet:mt-2 border-t-[0.5px] flex items-end 1100:mb-[-26px] ".concat(r?"border-r-[0.5px] md:border-l-0 border-l-[0.5px] flex justify-between items-start":"border-x-[0.5px]"),children:[(0,a.jsx)("span",{className:"block font-rhode font-medium text-2xl 970:text-3xl uppercase leading-none pl-1 mt-3 mb-[-6px]",children:t}),r&&(0,a.jsx)("div",{className:"md:hidden block",children:(0,a.jsx)(p,{})})]})}let g={src:"/_next/static/media/a 12.c2e749e2.png",height:124,width:220,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAATlBMVEWBaE1bUEBYZmOxl4iZemGCe3KOXD+MjoeckolKUD9jWlSAg3vGjmuvgWyea0ihlVWbkFiTgnmvcLciQyesgHNYMxxsa1NGSFaTbUWwd58FwKEuAAAAAXRSTlP89O1mUQAAAAlwSFlzAAALEwAACxMBAJqcGAAAADRJREFUeJwFwQcCgCAMBLCDFjqUoaDg/z9qgkMkZTDQ+nuVkxNUdea6DfIFCw9FxHsNd7IfIc4BlRZeRbMAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},f=e=>{if(!e)return"";if(/^[a-zA-Z0-9_-]{11}$/.test(e))return e;try{var t;let l=new URL(e),a=l.searchParams.get("v");if(a)return a;if(l.hostname.includes("youtu.be"))return l.pathname.replace("/","");let r=l.pathname.split("/").filter(Boolean),n=r.findIndex(e=>"shorts"===e||"embed"===e);if(-1!==n&&r[n+1])return r[n+1];return null!=(t=r[r.length-1])?t:""}catch(e){return""}},v=e=>{let{attributes:t,iconBgColor:l,styles:i,header:o}=e,c=[{id:1,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show Norton Show Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:2,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:3,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:4,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:5,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:6,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:7,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:8,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:9,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:10,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{id:11,image:g,title:"Saoirse Ronan praised for comment that silenced men on Graham Norton Show",time:"33 mins",youtubeUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],[u,m]=(0,r.useState)(!1),[h,v]=(0,r.useState)(""),[w,y]=(0,r.useState)("youtube"),j=e=>{var t,l;let a=null!=(t=e.source)?t:"youtube";y(a),"youtube"===a?v(f(e.youtubeUrl)):v(null!=(l=e.videoId)?l:""),m(!0)};return(0,a.jsx)("div",{className:"w-full max-w-[1273px] mx-auto mb-18 xl:px-0 px-[15px] relative ",children:(0,a.jsxs)("div",{className:"md:border-l-[0.5px] border-l-none",children:[(0,a.jsx)(b,{headTitle:"Joe Tries",isSponsored:!0}),(0,a.jsx)("div",{className:"absolute bottom-0 left-[21px] 1280:left-[6px] md:block hidden",children:(0,a.jsx)(p,{})}),(0,a.jsx)(s.PlusLogicPagination,{perPage:4,className:"md:px-[15px] px-0 py-3 md:hidden md:pt-0",showTitle:!1,styles:i,header:o,children:c.map(e=>(0,a.jsx)(d,{items:e,onPlay:j},e.id))}),(0,a.jsx)("div",{className:"hidden [@media(min-width:768px)_and_(max-width:968px)]:block",children:(0,a.jsx)(x,{perPage:4,title:"Joe Tries",children:c.map(e=>(0,a.jsx)(d,{items:e,onPlay:j},e.id))})}),(0,a.jsx)("div",{className:"hidden 970:block 1100:hidden",children:(0,a.jsx)(x,{perPage:3,title:"Joe Tries",children:c.map(e=>(0,a.jsx)(d,{items:e,onPlay:j},e.id))})}),(0,a.jsx)("div",{className:"hidden 1100:block",children:(0,a.jsx)(x,{perPage:4,title:"Joe Tries",children:c.map(e=>(0,a.jsx)(d,{items:e,onPlay:j},e.id))})}),(0,a.jsx)(n.A,{open:u,onClose:()=>m(!1),source:w,videoId:h})]})})}},326:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/youtube.ee31d723.svg",height:21,width:29,blurWidth:0,blurHeight:0}},424:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/wikipedia.fc954995.svg",height:24,width:24,blurWidth:0,blurHeight:0}},613:(e,t,l)=>{l.r(t),l.d(t,{AdSlot:()=>n});var a=l(5155),r=l(2115);function n(e){let{placement:t,className:l,style:n,pathname:s}=e,i=(0,r.useMemo)(()=>t.key,[t.key]),o=(0,r.useRef)(!1),c=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=window,l=e.googletag=e.googletag||{cmd:[]};l.cmd||(l.cmd=[]),e.__gptSlotsById=e.__gptSlotsById||{};let a=t.sizes.split(",").map(e=>
1e.trim()).filter(Boolean).map(e=>{if("fluid"===e.toLowerCase())return"fluid";let[t,l]=e.split("x").map(e=>Number(e.trim()));return Number.isFinite(t)&&Number.isFinite(l)?[t,l]:[]}).filter(e=>"fluid"===e||Array.isArray(e)&&2===e.length),r=!1!==t.autoDisplay,n=!1!==t.lazyDisplay,s=!1,d=null;function u(){if(r&&(!n||o.current)){let e=document.getElementById(i);if(e){e.setAttribute("data-ad-ready","1");try{window.dispatchEvent(new CustomEvent("gpt:slot-defined",{detail:{id:i}}))}catch(e){}}}}return l.cmd.push(function(){if(s)return;let r=document.getElementById(i);if(r){if(r.setAttribute("data-ad-slot","1"),r.setAttribute("data-ad-ready","0"),!(l.pubads&&l.pubads().getSlots&&l.pubads().getSlots().some(e=>{var t;return(null==(t=e.getSlotElementId)?void 0:t.call(e))===i}))){let r=l.defineSlot(t.unit,a.length?a:void 0,i);if(!r)return;r.addService(l.pubads()),e.__gptSlotsById[i]=r}n&&c.current?d=function(e,t){var l;if(!("IntersectionObserver"in window))return t(),null;let a=new IntersectionObserver((e,l)=>{if(e.some(e=>e.isIntersecting||e.intersectionRatio>0))try{t()}finally{l.disconnect()}},{root:null,rootMargin:"200px 0px 0px 0px",threshold:[0,.01]});return a.observe(null!=(l=e.parentElement)?l:e),a}(c.current,()=>{o.current=!0,u()}):u()}}),()=>{if(s=!0,d){try{d.disconnect()}catch(e){}d=null}try{var t;let l=(e.__gptSlotsById||{})[i];l&&(null==(t=e.googletag)?void 0:t.destroySlots)&&e.googletag.destroySlots([l]),e.__gptSlotsById&&delete e.__gptSlotsById[i]}catch(e){}let l=document.getElementById(i);l&&l.removeAttribute("data-ad-ready")}},[s,t.key,t.unit,t.sizes,t.autoDisplay,t.lazyDisplay]),(0,a.jsx)("div",{ref:c,id:i,className:l,style:n,"data-ad-slot":"1","data-ad-ready":"0","data-unit":t.unit,"data-sizes":t.sizes,"aria-label":t.label||t.key})}},649:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/slider-3.e9def4a0.png",height:106,width:199,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAS1BMVEWi5lmlkX1KjjRTrCB8uD6q1XS+r4uAjUm6z5JuojBTjyuq6XPA3JZRpCObmU6rsFzCwaOWrVlukoBujFXI55SUsjZYTzWevz7Z6bCBg31ZAAAAEXRSTlP+/fT9+/rx/v379P71/v7++1zC5qoAAAAJcEhZcwAACxMAAAsTAQCanBgAAAArSURBVHicBcGFAQAgDAOwohvO8P8vJYEe5W4cQpymVZAgcxLCW/DK2YDOHxpqAVT5nJbJAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},754:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/not-found.f2d1c644.png",height:1124,width:2e3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAQlBMVEXNvrGuiHrh4/aokHqPZ2S8qJjJwLyflZDTz8rUwLzMuaTHt6WynYQaEA+daVZsYlzCsbhKPDwqKCOrlorSz9fDw9TpmebZAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAK0lEQVR4nAXBhQEAIAwDsLLBBNf/XyUBMmKwqrByQhdWeEoy79iI7ERvtQ8Q6AEVsHR9MwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4}},791:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/JOE-White-Logo.db901845.svg",height:48,width:72,blurWidth:0,blurHeight:0}},871:(e,t,l)=>{l.d(t,{Slider:()=>d});var a=l(5155),r=l(6766),n=l(2115),s=l(7562),i=l(5559),o=l(4072);function c(e){let{headTitle:t,adsOn:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"my-[10px] border-t-[0.5px] border-b-[0.5px] tablet:border-b-0 tablet:border-r-[0.5px] tablet:border-l-[0.5px] tablet:-mb-[24px] 1100:mb-2 text-[#132428] 1100:section-wide 1100:mx-0 1100:ml-auto 1100:mr-2 xl:max-w-full uppercase tablet:h-[34px]\n ".concat(l?"1100:max-w-[1100px]":"","\n \n "),children:(0,a.jsx)("span",{className:"block text-[22px] leading-6 tablet:text-[30px] mt-[6px] tablet:mt-3 mb-1 font-rhode font-medium text-[#132428] tablet:ml-[7px] ".concat(l?"":"xl:w-[1300px]"),children:t})})})}let d=e=>{let{children:t,perPage:l=3,className:d="",title:u,isTablet:m,adsOn:x=!1}=e,h=t.length,p=Math.ceil(h/l),[b,g]=(0,n.useState)(0),f=0===b,v=b>=Math.max(0,p-1),w=(0,n.useMemo)(()=>{let e=[];for(let a=0;a<h;a+=l)e.push(t.slice(a,a+l));return e},[t,l,h]),y=m?h>3:h>4;return(0,a.jsxs)("div",{className:"p-[15px] 970:p-0 clear-both ".concat(x?"1100:ml-auto":""),children:[(0,a.jsx)(c,{adsOn:x,headTitle:(0,o.z)(u,10)||"Joe Tries"}),(0,a.jsxs)("div",{className:"relative 970:px-0 section-wide ".concat(x?"xl:max-w-[940px]":""," ").concat(d),children:[(0,a.jsxs)("div",{className:"overflow-hidden w-[460px] mr-3 ".concat(x?"970:w-full ml-auto":"970:w-full ml-auto 1100:max-w-[1200px]"),children:[(0,a.jsx)("div",{className:"flex transition-transform duration-500 ease-out 970:mr-3 ".concat(x?"1100:-mr-1":""),style:{transform:"translateX(-".concat(100*b,"%)")},children:w.map((e,t)=>{let l=e.length>4?"justify-between gap-4 1100:justify-end ":"justify-end gap-4 ".concat(x?"1100:justify-start":"1100:justify-center 1100:gap-4 ");return(0,a.jsx)("div",{className:"flex-shrink-0 grid grid-cols-2 w-full 970:flex ".concat(l),children:e.map((e,t)=>(0,a.jsx)("div",{children:e},t))},t)})}),t.length>=5&&!x&&(0,a.jsx)("div",{className:"hidden 1100:block absolute right-0 top-0 h-full w-[13%] bg-white pointer-events-none"})]}),y&&(0,a.jsx)("div",{className:"absolute top-[40px] transform flex space-x-1 ".concat(x?"1100:top-0 1100:-translate-y-[26px] 1100:right-6":"1100:top-2"),children:w.map((e,t)=>(0,a.jsx)("button",{onClick:()=>g(t),className:"h-[7px] w-[7px] rounded-full ".concat(t===b?"bg-yellow-500":"bg-gray-300"),"aria-label":"Go to slide ".concat(t+1)},t))}),y&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{onClick:()=>{f||g(e=>e-1)},"aria-label":"Previous",disabled:f,className:"absolute h-[31px] w-[31px] bottom-0 flex items-center justify-center rounded-full\n ".concat(x?"1100:bottom-1/2 1100:-translate-x-[50px] 1100:mr-5":"1100:bottom-1/2 1100:left-3","\n ").concat(f?"bg-[#CCCCCC] text-gray-800 cursor-not-allowed ":"bg-[#132428] text-white hover:bg-gray-700 cursor-pointer"),children:(0,a.jsx)(r.default,{src:f?s.A:i.A,alt:"Previous",width:15,height:9,className:"w-[15px] h-[9px] object-contain ".concat(f?"":"rotate-180")}
1)}),(0,a.jsx)("button",{onClick:()=>{v||g(e=>e+1)},"aria-label":"Next",disabled:v,className:"absolute left-10 bottom-0 h-[31px] w-[31px] flex items-center justify-center rounded-full\n ".concat(x?"1100:bottom-1/2 1100:left-auto 1100:right-[-38px]":"1100:bottom-1/2 1100:left-auto 1100:right-22","\n ").concat(v?"bg-[#CCCCCC] text-gray-800 cursor-not-allowed":"bg-[#132428] text-white hover:bg-gray-700 cursor-pointer"),children:(0,a.jsx)(r.default,{src:v?s.A:i.A,alt:"Next",width:15,height:9,className:"w-[15px] h-[9px] object-contain ".concat(v?"rotate-180":"")})})]})]})]})}},949:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/headline-desktop.53240cae.png",height:235,width:420,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAQlBMVEWIYU5MOEO3T0amUFWBTDcpEQ9mJyQ4FRViRD58QTZAAgxRMiZZODXCRh6GCxF1SVm+XVNRERPtb22wYG3Sb35yGBxz88JPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAK0lEQVR4nAXBhQEAIAwDsLLBBNf/XyVBI+a7D8HrCDZDhCYVl/SQSwRs9Q8UFQEVbF7bqwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4}},1275:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/Play.831e31d6.svg",height:9,width:8,blurWidth:0,blurHeight:0}},1342:(e,t,l)=>{l.d(t,{SporcleEmbed:()=>s});var a=l(5155),r=l(2115),n=l(3554);let s=e=>{let{gid:t,fid:l}=e,s=(0,r.useMemo)(()=>"spFrame".concat(l),[l]),i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=setTimeout(()=>{var e,t;return null==(t=window.sporcleEmbed)||null==(e=t.init)?void 0:e.call(t)},80),t=setTimeout(()=>{var e,t;return null==(t=window.sporcleEmbed)||null==(e=t.init)?void 0:e.call(t)},400),l=e=>{let t;if("string"!=typeof e.origin||!e.origin.includes("sporcle.com"))return;let l=e.data;if("number"==typeof l)t=l;else if(l&&"object"==typeof l){var a,r;t=Number(null!=(r=null!=(a=l.height)?a:l.frameHeight)?r:l.spheight)}else if("string"==typeof l){let e=l.match(/(\d{2,5})/);e&&(t=Number(e[1]))}t&&t>=200&&t<=5e3&&i.current&&(i.current.style.height="".concat(t,"px"))};return window.addEventListener("message",l),()=>{clearTimeout(e),clearTimeout(t),window.removeEventListener("message",l)}},[t,l]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("iframe",{ref:i,id:s,src:"https://www.sporcle.com/framed/?v=10&pm&gid=".concat(t,"&fid=").concat(l),style:{width:"100%",minHeight:"".concat(700,"px"),border:"none",margin:0},scrolling:"auto",title:"Sporcle Quiz"}),(0,a.jsx)(n.default,{src:"https://www.sporcle.com/embed/embed.js?v=".concat(l),strategy:"afterInteractive",onLoad:()=>{var e,t;return null==(t=window.sporcleEmbed)||null==(e=t.init)?void 0:e.call(t)}})]})}},1905:(e,t,l)=>{l.r(t),l.d(t,{VideoCarousel:()=>y});var a=l(5155),r=l(2115),n=l(6766),s=l(1275),i=l(7684);let o={src:"/_next/static/media/single-video.dcab09e4.png",height:720,width:1280,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAZlBMVEWYoKF2e3+Eg4JwdGC5hIPOmVu4jCKqiYSDdXrAjTqosbeDdjy5s7PHpZeIh5How03x06u0fonirDP2wJa8l2zeqYmuf2eWhTbUmzEjIDNcan27gGvNqkGngleSbzGygzSUjoq1fkOzf/oCAAAACXBIWXMAAAsTAAALEwEAmpwYAAAANUlEQVR4nGMQl2GVkOOUZ2MQY2WRlVZk4WRg55WUYhcQFWJg4OJT4OAR5mfgZmZkYuAQFAEAO1ICU4iWYaIAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5};var c=l(2934);let d=e=>{let{title:t,thumbnailSrc:l,videoId:r,textColorVideoCarousel:d,source:u,onPlay:m,isVideo:x=!1}=e;return(0,a.jsxs)("div",{className:"w-[300px] tablet:w-[391px] 970:w-[461px]",style:{color:d},children:[(0,a.jsx)("div",{className:"relative cursor-pointer",children:l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{src:l||o,alt:t,title:t,width:300,height:200,className:"w-[300px] h-[158px] tablet:w-[391.15px] tablet:h-[205.3px] 970:w-[461px] 970:h-[242px] cursor-pointer"}),(0,a.jsx)("button",{type:"button",onClick:m,"aria-label":"Play ".concat(t),className:"absolute inset-0 grid place-items-center",children:(0,a.jsx)(n.default,{src:s.default,alt:"Play Img",title:"Play Img",width:38,height:44,className:"opacity-75 h-[44px] w-[38px] tablet:h-[37.33px] tablet:w-[32.34px] cursor-pointer"})})]}):(0,a.jsx)(i.A,{videoId:r,source:u,title:t,autoplay:!1,className:"w-[300px] h-[158px] tablet:w-[391.15px] tablet:h-[205.3px] 970:w-[461px] 970:h-[242px] curs
1or-pointer"})}),(0,a.jsx)("div",{className:"mt-3 mb-5 cursor-pointer",onClick:m,children:(0,a.jsx)("div",{className:"font-ibm-sans font-semibold text-[14px] leading-[18px] tablet:text-[13.58px] tablet:leading-[15.27px] 970:text-[16px] 970:leading-[18px] tablet:font-bold line-clamp-2",children:(0,c.Q)(t)})})]})};var u=l(7562),m=l(5559),x=l(6874),h=l.n(x),p=l(4072);let b=e=>{let{children:t,perPage:l=1.5,gapPx:s=16,className:i="",title:o,categoryImage:c,styles:d,isVideo:x=!1,textColorVideoCarousel:b}=e,g=t.length,f=(0,r.useRef)(null),[v,w]=(0,r.useState)(!0),[y,j]=(0,r.useState)(!1),A=()=>{let e=f.current;if(!e)return;let t=e.scrollLeft<=0,l=e.scrollLeft+e.clientWidth>=e.scrollWidth-1;w(t),j(l)},N=e=>{var t;let l=f.current;if(!l)return;let a=l.querySelector("[data-card]"),r=(null!=(t=null==a?void 0:a.offsetWidth)?t:300)+s;"next"!==e||y?"prev"!==e||v||l.scrollBy({left:-r,behavior:"smooth"}):l.scrollBy({left:r,behavior:"smooth"})};return(0,r.useEffect)(()=>{let e=f.current;if(!e)return;A();let t=()=>A();return e.addEventListener("scroll",t),()=>{e.removeEventListener("scroll",t)}},[]),(0,a.jsxs)("div",{className:"relative w-full ".concat(i),"data-per-page":l,children:[(0,a.jsxs)("div",{className:"tablet:flex tablet:flex-row",children:[(0,a.jsxs)("div",{className:"pl-[17px] mb-5 tablet:min-w-[110px] tablet:max-w-[110px] 970:min-w-[200px] 970:max-w-[200px]",children:[!x&&(0,a.jsx)(n.default,{src:c,alt:"Single video",title:"Logo of single video",width:43,height:43,className:"h-[43px] w-[43px] tablet:h-9 tablet:w-9 rounded-full 970:h-[43px] 970:w-[43px] object-cover "}),(0,a.jsx)("span",{className:"block uppercase font-rhode font-medium text-[28px] leading-[28px] tablet:text-[23.76px] tablet:leading-[23.76px] 970:text-[28px] 970:leading-[28px] ".concat(x?"":"mt-4 tablet:mt-[9px] 970:mt-4"),style:{color:b},children:(0,p.z)(o,40)})]}),(0,a.jsx)("div",{ref:f,className:" mx-auto max-w-[81.25rem] flex items-stretch px-4 overflow-x-auto overscroll-x-contain snap-x snap-mandatory scroll-px-4 no-scrollbar ",style:{columnGap:s},children:t.map((e,t)=>(0,a.jsx)("article",{"data-card":!0,className:"shrink-0 snap-start min-w-0",children:e},t))})]}),(0,a.jsxs)("div",{children:[g>1&&(0,a.jsx)("button",{onClick:()=>N("prev"),"aria-label":"Previous",disabled:v,className:"absolute bottom-4 flex items-center justify-center rounded-full\n ".concat(x?"h-[31px] w-[31px] right-[64px]":"h-[21px] w-[21px] right-10.5","\n ").concat(v?x?"bg-[#CCCCCC] text-gray-800 cursor-not-allowed border-none":"bg-white text-gray-800 opacity-50 cursor-not-allowed border border-[#132428]":x?"bg-[#FFC627] text-black hover:bg-[#ffdc6e] border-none":"bg-[#132428] text-black hover:bg-gray-700","\n ").concat(2===g?"xl:hidden":"","\n "),children:(0,a.jsx)(n.default,{src:x||v?u.A:m.A,alt:"Previous",width:10,height:6,className:"w-[10px] h-2 object-contain ".concat(x?"h-3.5 mr-[2px]":v?"":"rotate-180")})}),g>1&&(0,a.jsx)("button",{onClick:()=>N("next"),"aria-label":"Next",disabled:y,className:"absolute bottom-4 right-4 flex items-center justify-center rounded-full\n ".concat(x?"h-[31px] w-[31px] right-[24px]":"h-[21px] w-[21px] right-4","\n ").concat(y?x?"bg-[#CCCCCC] text-[#132428] cursor-not-allowed border-none":"bg-white text-[#132428] opacity-50 cursor-not-allowed border border-[#132428]":x?"bg-[#FFC627] text-black hover:bg-[#ffdc6e] border-none":"bg-[#132428] text-black hover:bg-gray-700","\n ").concat(2===g?"xl:hidden":"","\n "),children:(0,a.jsx)(n.default,{src:x||y?u.A:m.A,alt:"Next",width:10,height:6,className:"w-[10px] h-2 object-contain ".concat(x?"h-3.5 ml-[2px] rotate-180":y?"rotate-180":"")})}),!x&&(0,a.jsx)(h(),{href:"/videos",className:"absolute bottom-3 left-4 font-ibm-sans font-semibold text-[12px] leading-4 tablet:text-[10.18px] tablet:leading-[13.58px] 970:text-[12px] 970:leading-4 underline cursor-pointer",style:{color:b},children:"View all videos"})]})]})};var g=l(4495);let f={src:"/_next/static/media/logo-single-video.af71a66f.png",height:4096,width:4096,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAKlBMVEUVJSgSIycMHyYHGR0iMS+iqapueHowP0N7hYahiihdVyFhWyCNeiNcaGuADA9JAAAACXBIWXMAAAsTAAALEwEAmpwYAAAANUlEQVR4nCXKORIAMQgDwREL+P7/d114OxkFgp/QV0x4ZuZp0CJ6RHck5HvUkJir7oDZy3MBG7YAs5U4OygAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},v=e=>{let{title:t,thumbnailSrc:l,description:r,onPlay:o,videoId:d,source:u,categoryImage:m}=e;return(0,a.jsxs)("div",{className:"px-[15px] 970:px-[18px] py-3 tablet:py-[29px] 970:py-[11px] tablet:flex tablet:flex-row w-full justify-between max-w-[970px] mx-auto h-[400px] tablet:h-[216px] 970:h-[263px]",children:[(0,a.jsxs)("div",{className:"tablet:pr-3 cursor-pointer",children:[(0,a.jsx)(n.default,{src:m||f,alt:"Single video",title:"Logo of single video",width:43,height:43,className:"h-[43px] w-[43px] rounded-full 970:mt-[23px] object-cover cursor-pointer"}),(0,a.jsx)("span",{className:"block max-w-[357px] tablet:block text-white uppercase font-rhode font-medium text-[28px] leading-[28px] tablet:text-[32px] tablet:leading-[38px] 970:text-[36px] mt-4 tablet:mt-[9px] 970:mt-[22px]",children:(0,p.z)(t,20)}),(0,a.jsx)("p",{className:"hidden tablet:block font-semibold tablet:font-medium text-[14px] leading-[18px] 970:text-[16
1px] tablet:leading-4 970:leading-[18px] font-ibm-sans text-white mb-[6px] mt-[6px] 970:mt-3 970:mb-[26px] line-clamp-2 cursor-pointer",children:(null==r?void 0:r.length)>150?"".concat(r.slice(0,100),"â¦"):r}),(0,a.jsx)(h(),{href:"/videos",className:"text-white hidden tablet:block font-ibm-sans font-semibold text-[12px] leading-4 underline cursor-pointer",children:"View all videos"})]}),(0,a.jsx)("div",{onClick:l?o:void 0,className:"cursor-pointer mt-5 tablet:mt-0",children:l?(0,a.jsxs)("div",{className:"relative cursor-pointer",children:[(0,a.jsx)(n.default,{src:l,alt:t,title:t,width:500,height:200,className:"min-w-[344px] h-[181px] tablet:min-w-[297px] tablet:max-w-[297px] 970:min-w-[461px] 970:max-w-[461px] tablet:h-[156px] 970:h-[241px] object-cover cursor-pointer"}),(0,a.jsx)("button",{type:"button",onClick:o,"aria-label":"Play ".concat(t),className:"absolute inset-0 grid place-items-center",children:(0,a.jsx)(n.default,{src:s.default,alt:"Play Img",width:38,height:44,className:"opacity-75 h-[44px] w-[38px] tablet:h-[37.33px] tablet:w-[32.34px] cursor-pointer"})})]}):(0,a.jsx)(i.A,{videoId:d,source:u,autoplay:!1,title:t,className:"min-w-[344px] h-[181px] tablet:min-w-[297px] tablet:max-w-[297px] 970:min-w-[461px] 970:max-w-[461px] tablet:h-[156px] 970:h-[241px]"})}),(0,a.jsxs)("div",{className:"tablet:hidden flex flex-col max-w-[381px]",children:[(0,a.jsx)("p",{onClick:o,className:"font-semibold text-[14px] leading-[18px] font-ibm-sans mt-3 text-white mb-5 cursor-pointer line-clamp-2",children:(0,c.Q)(r)}),(0,a.jsx)(h(),{href:"/videos",className:"text-white font-ibm-sans font-semibold text-[12px] leading-4 underline cursor-pointer",children:"View all videos"})]})]})},w=e=>{let{title:t,thumbnailSrc:l,description:o,videoId:c,source:d,categoryImage:u,bbwAutoplay:m=!0,bbwPlayout:x,bbwEmbedBase:h}=e,[p,b]=(0,r.useState)(m);return(0,a.jsxs)("div",{className:"w-full max-w-[640px] tablet:p-[22px] 970:p-3 bg-[#F9F9FF] text-[#132428] clear-both",children:[o&&o.length>0&&(0,a.jsxs)("div",{className:"flex items-center gap-2 pb-1",children:[(0,a.jsx)("span",{className:"h-px bg-[#C8CDD0] flex-1"}),(0,a.jsx)("p",{className:"text-center text-[10px] leading-5 font-ibm-sans font-medium",children:(null==t?void 0:t.length)>15?"".concat(t.slice(0,15),"â¦"):t||"Videos from Joe"}),(0,a.jsx)("span",{className:"h-px bg-[#C8CDD0] flex-1"})]}),(0,a.jsx)("div",{className:"tablet:mt-0",children:p?(0,a.jsx)(i.A,{videoId:c,source:d,autoplay:m,title:t,className:"w-full aspect-video",bbwPlayout:x,bbwEmbedBase:h}):l?(0,a.jsxs)("div",{className:"relative cursor-pointer",onClick:()=>b(!0),children:[(0,a.jsx)(n.default,{src:l,alt:t,title:t,width:500,height:200,className:"w-full h-[210px] tablet:h-[346px] object-cover cursor-pointer"}),(0,a.jsx)("button",{type:"button","aria-label":"Play ".concat(t),className:"absolute inset-0 grid place-items-center",children:(0,a.jsx)(n.default,{src:s.default,alt:"Play Img",width:38,height:44,className:"opacity-75 h-[44px] w-[38px] tablet:h-[37.33px] tablet:w-[32.34px] cursor-pointer"})})]}):(0,a.jsx)(i.A,{videoId:c,source:d,autoplay:!1,title:t,className:"w-full h-auto aspect-video",bbwPlayout:x,bbwEmbedBase:h})}),o&&o.length>0&&(0,a.jsxs)("div",{className:"flex items-center gap-3 h-[68px] px-4 tablet:px-0",children:[(0,a.jsx)(n.default,{src:u||f,alt:"Single video",title:"Logo of single video",width:41,height:41,className:"h-[41px] w-[41px] rounded-full object-cover cursor-pointer"}),(0,a.jsx)("p",{className:"font-ibm-sans font-medium text-[15px] leading-[18px] cursor-pointer line-clamp-2",children:o})]})]})},y=e=>{var t,l,n,s;let{attributes:i,isArticle:o,isVideo:c=!1,styles:u,textColorVideoCarousel:m,bbwPlayoutCtp:x="joe_ie",bbwPlayoutAutoplay:h="joe_ie_auto_play"}=e;if(!(null==i||null==(t=i.videos)?void 0:t.length))return null;let p=null==(l=i.bbwAutoplay)||l?h:x,[y,j]=(0,r.useState)(null),A=e=>j({id:e,source:i.defaultSource}),N=i.bgColor&&""!==i.bgColor.trim()?i.bgColor:"multiple"===i.videoMode?"#00BF73":"#3AA8C1",C=i.categoryImage||f,k=e=>{var t,l,a;let r=null==(t=e.descriptionOverride)?void 0:t.trim(),n=null==(l=e.fetchedDescription)?void 0:l.trim(),s=null==(a=e.description)?void 0:a.toString().trim();return(r&&r.length?r:n&&n.length?n:s)||""},S=i.videos[0];return(0,a.jsxs)("div",{className:"max-w-[81.25rem] mx-auto flex clear-both",style:{background:o?"":"#00BF73"===N?"#132428":N},children:[(null==i?void 0:i.videoMode)==="multiple"&&i.videos.length>1?o?(0,a.jsx)("p",{className:"font-ibm-serif italic text-xl text-center w-full my-2 text-red-400",children:"Multiple videos not supported in articles"}):(0,a.jsx)(b,{perPage:1.5,title:i.carouselTitle||"Joe Video",categoryImage:C,className:"pt-[21px] pb-[39px] tablet:pt-4 tablet:pb-10 970:pt-6 970:pb-[47px]",styles:u,isVideo:c,textColorVideoCarousel:m,children:i.videos.map(e=>(0,a.jsx)(d,{title:e.titleOverride||e.title,thumbnailSrc:e.thumbnail,description:e.description,videoId:e.videoId,source:i.defaultSource,onPlay:()=>A(e.videoId),isVideo:c,textColorVideoCarousel:m},e.videoId))}):o?(0,a.jsx)(w,{categoryImage:C,title:i.carouselTitle||S.title,thumbnailSrc:S.thumbnail,description:k(S),videoId:S.videoId,source:i.defaultSource,bbwAutoplay:null==(n=i.bbwAutoplay)||n,bbwPlayout:p}):(0,a.jsx)(v,{categoryImage:C,title:i.carouselTitle||S.title,thumbnailSrc:S.thumbnail,description:k(S),videoId:S.videoId,source:i.defaultSource,onPlay:()=>A(S.videoId)}),(0,a.jsx)(g.A,{open:!!y,onClose:()=>j(null),source:(null==y?void 0:y.source)||"youtube",videoId:(null==y?void 0:y.id)||"",autoplay:"bluebillywig"!==i.defaultSource||null==(s=i.bbwAutoplay)||s,bbwPlayout:p})]})}},1958:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/Light-play.31578d56.svg",height:16,width:14,blurWidth:0,blurHeight:0}},2044:(e,t,l)=>{l.d(t,{default:()=>i});var a=l(5155),r=l(2115);async function n(){window.__gptLoaded||await new Promise((e,t)=>
1{if(document.querySelector('script[src*="googletagservices.com/tag/js/gpt.js"]')){window.__gptLoaded=!0,e();return}let l=document.createElement("script");l.async=!0,l.src="https://www.googletagservices.com/tag/js/gpt.js",l.onload=()=>{window.__gptLoaded=!0,e()},l.onerror=()=>t(Error("GPT load failed")),document.head.appendChild(l)})}function s(e,t,l){let a=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(t&&t.enabled&&e)return(async()=>{await n();let l=window;l.googletag=l.googletag||{cmd:[]},l.googletag.cmd||(l.googletag.cmd=[]),l.googletag.cmd.push(()=>{let r=l.googletag,n=document.getElementById(e);if(!n)return;n.setAttribute("data-ad-slot","1"),n.setAttribute("data-ad-ready","0");let s=r.defineSlot(t.unit,t.sizes.split(",").map(e=>e.trim()).filter(Boolean).map(e=>e.split("x").map(e=>parseInt(e,10))),e);s&&(t.targeting&&Object.entries(t.targeting).forEach(e=>{let[t,l]=e;return s.setTargeting(t,l)}),s.addService(r.pubads()),n.setAttribute("data-ad-ready","1"),a.current=s)})})(),()=>{try{var t;let e=window;(null==(t=e.googletag)?void 0:t.destroySlots)&&a.current&&e.googletag.destroySlots([a.current])}catch(e){}a.current=null;let l=document.getElementById(e);l&&l.removeAttribute("data-ad-ready")}},[t,e,l])}function i(e){let{isArticlePage:t=!1,position:l,desktop:r,mobile:n,pathname:i}=e,o=!!(null==r?void 0:r.enabled),c=!!(null==n?void 0:n.enabled);if(!o&&!c)return null;let d="min-h-[310px] 970:min-h-[304px] flex w-full items-center justify-center relative "+(t?"970:max-w-[627px]":"max-w-[970px]"),u=o?"ad-".concat(r.key,"-").concat(null!=l?l:"x"):"",m=c?"ad-".concat(n.key,"-").concat(null!=l?l:"x"):"";return s(u,r,i),s(m,n,i),(0,a.jsxs)(a.Fragment,{children:[c&&(0,a.jsx)("div",{className:"".concat(d," 970:hidden"),"data-placement-key":n.key,"data-ad-position":l,children:(0,a.jsx)("div",{id:m,"data-ad-slot":"1","data-ad-ready":"0",className:"w-full h-full flex items-center justify-center"})}),o&&(0,a.jsx)("div",{className:"".concat(d," hidden 970:flex"),"data-placement-key":r.key,"data-ad-position":l,children:(0,a.jsx)("div",{id:u,"data-ad-slot":"1","data-ad-ready":"0",className:"w-full h-full flex items-center justify-center"})})]})}},2121:(e,t,l)=>{l.d(t,{StickySideSkin:()=>n});var a=l(5155),r=l(613);let n=e=>{let{placement:t,pathname:l,className:n,sticky:s=!0}=e;return(null==t?void 0:t.enabled)?(0,a.jsx)("aside",{className:"hidden 970:block w-[299px] mx-auto 1100:mt-[59px] top-[1.875rem] \n ".concat(s?"sticky ":"","\n ").concat(n),"data-placement-key":t.key,children:(0,a.jsx)(r.AdSlot,{placement:t,className:"w-[299px] h-[600px] mx-auto flex items-center justify-center",style:{minWidth:"299px",maxWidth:"300px",minHeight:"600px",maxHeight:"600px"},pathname:l})}):null}},2382:(e,t,l)=>{l.d(t,{ContactForm:()=>u});var a=l(5155),r=l(2115);async function n(e){let t={fullName:e.full_name,email:e.email,phone:e.phone,company:e.company,reason:e.reason,subject:e.subject,message:e.message,userConsent:e.consent,fileUrl:e.fileUrl,site:e.site||"joe.co.uk",originUrl:e.originUrl,recaptchaToken:e.recaptchaToken||""},l=await fetch("https://data.joemedia.group/api/saveTicket",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok){let e=await l.text();throw Error("Submission failed: ".concat(e))}return await l.json()}function s(e){let{label:t,as:l="input",options:n,bgColor:s="#F9F9FF",textColor:i="#132428",id:o,...c}=e,d=(0,r.useId)(),u=o||d,m="w-full font-ibm-sans font-medium text-[12.35px] leading-[23px] border border-[#D1D1D6] rounded-[4.5px] p-2 focus:outline-none focus:border-[#007AFF] placeholder:text-[#999999] placeholder:font-ibm-sans placeholder:font-medium placeholder:text-[12.35px] placeholder:leading-[23px]",x={backgroundColor:s,color:i},h=t?(0,a.jsxs)("label",{htmlFor:u,className:"block font-ibm-sans font-medium text-[10px] leading-[12px] text-[#132428] mb-1",children:[t,c.required&&(0,a.jsx)("span",{className:"text-[#F55549] ml-0.5",children:"*"})]}):null;return"textarea"===l?(0,a.jsxs)("div",{children:[h,(0,a.jsx)("textarea",{id:u,...c,className:"".concat(m," max-h-[101px]"),style:x})]}):"select"===l&&n?(0,a.jsxs)("div",{className:"relative",children:[h,(0,a.jsx)("select",{id:u,...c,className:"".concat(m," appearance-none pr-8 !border-[#007AFF] cursor-pointer"),style:x,children:n.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,a.jsx)("svg",{width:"15",height:"8",viewBox:"0 0 15 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 w-3 h-3 text-[#132428]",children:(0,a.jsx)("path",{d:"M0.5 0.5L7.16667 7.16667L13.8333 0.5",stroke:"white",strokeLinecap:"round"})})]}):(0,a.jsxs)("div",{children:[h,(0,a.jsx)("input",{id:u,...c,className:m,style:x})]})}var i=l(1121);function o(e){let{onClose:t,siteName:l}=e;return(0,a.jsx)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center bg-[rgba(0,0,0,0.5)] backdrop-blur-sm transition-opacity duration-300",children:(0,a.jsxs)("div",{className:"bg-white p-8 rounded-lg shadow-lg max-w-md w-full text-center relative",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold mb-4",children:"Thank y
1ou!"}),(0,a.jsxs)("p",{className:"text-gray-700 mb-6",children:["Your submission has been received. ",(0,a.jsx)("br",{}),"Thanks for contacting ",(0,a.jsx)("strong",{children:l||"JOE"})," â our team will review your message and get back to you soon."]}),(0,a.jsx)("button",{onClick:t,className:"px-4 py-2 bg-[#132428] text-white rounded hover:bg-gray-800 transition",children:"Close"})]})})}var c=l(1890);async function d(e){try{var t;let l=(null==(t=window.__NEXT_DATA__)?void 0:t.basePath)||c.env.NEXT_PUBLIC_BASE_PATH||"",a=window.location.origin,r="".concat(a).concat(l,"/api/upload?fileName=").concat(encodeURIComponent(e.name),"&fileType=").concat(encodeURIComponent(e.type)),n=await fetch(r,{method:"GET",cache:"no-store"}),s=n.headers.get("content-type")||"";if(!n.ok||!s.includes("application/json")){let e=await n.text();return console.error("Presign error/non-JSON:",n.status,s,e.slice(0,200)),null}let{uploadURL:i,fileUrl:o}=await n.json(),d=await fetch(i,{method:"PUT",headers:{"Content-Type":e.type},body:e});if(!d.ok){let e=await d.text();return console.error("Upload failed:",d.status,e.slice(0,200)),null}return o||null}catch(e){return console.error("Error uploading file:",e),null}}let u=e=>{let{footerEventbackground:t,siteName:l}=e,[c,u]=(0,r.useState)(null),[m,x]=(0,r.useState)({full_name:"",email:"",phone:"",company:"",reason:"",subject:"",message:"",attachment:null,consent:!1,site:""}),h=(0,r.useRef)(null),p=()=>{x({full_name:"",email:"",phone:"",company:"",reason:"",subject:"",message:"",attachment:null,consent:!1,site:""}),u(null),h.current&&(h.current.value="")},[b,g]=(0,r.useState)(!1),[f,v]=(0,r.useState)(!1),[w,y]=(0,r.useState)(!1),[j,A]=(0,r.useState)(null);(0,r.useEffect)(()=>{g(0===Object.keys(function(e,t){let l={};return e.full_name||(l.full_name="Full Name is required"),e.email||(l.email="Email is required"),e.reason||(l.reason="Reason for Contact is required"),e.subject||(l.subject="Subject is required"),e.message||(l.message="Message is required"),e.consent||(l.consent="You must agree to the terms"),t||(l.recaptcha="Please complete the reCAPTCHA validation."),l}(m,c)).length)},[m,c]),(0,r.useEffect)(()=>{x(e=>({...e,site:window.location.hostname}))},[]);let N=e=>{let{name:t,value:l,type:a}=e.target,r="checkbox"===a&&e.target instanceof HTMLInputElement?e.target.checked:l;x(e=>({...e,[t]:r}))},C=async e=>{if(e.preventDefault(),A(null),!b)return A({type:"error",msg:"Please fill all required fields."});try{v(!0);let e=null;if(m.attachment&&!(e=await d(m.attachment)))throw Error("File upload failed");let t={...m,fileUrl:e,site:m.site||"joe.co.uk",originUrl:window.location.href,recaptchaToken:c};await n(t),y(!0),p()}catch(e){console.error("Error submitting form:",e),A({type:"error",msg:"Something went wrong. Please try again."})}finally{v(!1)}};return(0,a.jsxs)("section",{children:[(0,a.jsxs)("form",{onSubmit:C,className:"grid gap-3 md:gap4",children:[(0,a.jsx)("div",{className:"grid md:grid-cols-2 gap-3",children:(0,a.jsx)(s,{as:"select",name:"reason",id:"reason",value:m.reason,onChange:N,required:!0,options:[{value:"",label:"Which department is your message for? *"},{value:"Advertising Inquiries",label:"Advertising Inquiries"},{value:"Content Partnerships",label:"Content Partnerships"},{value:"Press/Media Requests",label:"Press/Media Requests"},{value:"General Feedback",label:"General Feedback"},{value:"Technical Support",label:"Technical Support"},{value:"Other",label:"Other"}],bgColor:"#007AFF",textColor:"#FFFFFF"})}),(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,a.jsx)(s,{label:"Full Name",name:"full_name",value:m.full_name,onChange:N,placeholder:"Full Name",required:!0}),(0,a.jsx)(s,{label:"Email Address",name:"email",type:"email",value:m.email,onChange:N,placeholder:"Email Address",required:!0})]}),(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,a.jsx)(s,{label:"Phone",name:"phone",value:m.phone,onChange:N,placeholder:"Phone"}),(0,a.jsx)(s,{label:"Company / Organisation",name:"company",value:m.company,onChange:N,placeholder:"Company / Organisation"})]}),(0,a.jsx)(s,{label:"Subject",name:"subject",value:m.subject,onChange:N,placeholder:"Subject",required:!0}),(0,a.jsx)(s,{as:"textarea",label:"Message",name:"message",value:m.message,onChange:N,placeholder:"Message",required:!0}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"attachment",className:"block font-ibm-sans font-medium text-[10px] leading-[12px] text-[#132428] mb
1-1",children:"File Upload"}),(0,a.jsx)("input",{id:"attachment",type:"file",ref:h,name:"attachment",onChange:e=>{var t;let l=null==(t=e.target.files)?void 0:t[0];if(l){if(!["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","image/jpeg","image/png"].includes(l.type))return A({type:"error",msg:"Invalid file type."});if(l.size>5242880)return A({type:"error",msg:"File too large (max 5MB)."});x(e=>({...e,attachment:l}))}},className:"w-full font-ibm-sans font-medium text-[12.35px] leading-[23px] text-[#999999] bg-[#F9F9FF] border border-[#D1D1D6] rounded-[4.5px] p-2 focus:outline-none focus:border-[#007AFF] cursor-pointer"})]}),(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)(i.A,{sitekey:"6LewgpMqAAAAAISs2MRMI1Idg1q6E807uP-Yn-bt",onChange:e=>u(e),"aria-label":"reCAPTCHA verification"}),(0,a.jsx)("p",{className:"italic font-ibm-sans text-[8px] text-[#132428] font-light leading-[25px]",children:"Please complete the reCAPTCHA validation."})]}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)("input",{id:"checkbox",type:"checkbox",name:"consent",checked:m.consent,onChange:N,required:!0}),(0,a.jsxs)("label",{className:"font-ibm-sans text-[8px] lg:text-[10px] text-[#132428] font-light leading-[25px]",htmlFor:"checkbox",children:["By submitting, you agree to our"," ",(0,a.jsx)("a",{href:"/terms-and-conditions",className:"underline hover:text-black",children:"User Agreement"})," ","and"," ",(0,a.jsx)("a",{href:"/privacy-policy",className:"underline hover:text-black",children:"Privacy Policy"}),"."]})]}),(null==j?void 0:j.type)==="error"&&(0,a.jsx)("p",{className:"text-sm text-red-600",children:j.msg}),(0,a.jsx)("button",{type:"submit",disabled:f,className:"flex items-center justify-center text-sm font-ibm-sans text-white font-semibold px-8 py-2.5 rounded-[4.41px] min-w-[115px] h-[40px] hover:bg-gray-800 disabled:opacity-50 cursor-pointer w-fit",style:{backgroundColor:t||"#132428"},children:f?"Submitting...":"Submit"})]}),w&&(0,a.jsx)(o,{onClose:()=>y(!1),siteName:l})]})}},2391:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/Ellipse.a0ab6701.svg",height:9,width:9,blurWidth:0,blurHeight:0}},2545:(e,t,l)=>{l.d(t,{Ay:()=>w});var a=l(5155),r=l(5695),n=l(2115),s=l(6874),i=l.n(s);let o={src:"/_next/static/media/podcast.8f848ee3.png",height:1800,width:1800,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAbFBMVEWHkpa4vr8wOShESCtxdXettLXexn7DyMe9olCFiYtybU9+emXDsHH12H+Xm5mSl6CfpafZvmpSW2dxd4CDhYFrdITEuIbDqmGlkE6If2DLuYCFjJf/4FfnxFvp0o9bYGLuuyjluTr/yizDztjSBi4NAAAACXBIWXMAABcSAAAXEgFnn9JSAAAAR0lEQVR4nCXGRwKAIAwEwEUJIaIUexf1/3/04JwGBKgIEF5mfSlmJOO1BHPjSUHUdmbsY+dJ1gPWtToOdYOirFy//LHGztMHbZADPwI+HUgAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},c=[{databaseId:10,label:"Video",url:"/video",childItems:{nodes:[{databaseId:101,label:"Weekly News Recap",url:"/video/weekly-news-recap",thumbnail:{url:o},description:"Catch up on the biggest headlines from the past week."},{databaseId:102,label:"Inside Parliament",url:"/video/inside-parliament",thumbnail:{url:o},description:"Exclusive behind-the-scenes look at the political heart of the UK."}]}},{databaseId:20,label:"Podcasts",url:"/podcasts",childItems:{nodes:[{databaseId:201,label:"Politics JOE Podcast",url:"/podcasts/politics-joe-podcast",thumbnail:{url:o},description:"Pull up a stool, pour yourself a cold one and laugh through the misery too."},{databaseId:202,label:"Unfiltered",url:"/podcasts/unfiltered",thumbnail:{url:o},description:"Revealing and candid conversations with a special guest each week."}]}},{databaseId:30,label:"Follow Us",url:"/follow-us",childItems:{nodes:[{databaseId:301,label:"Instagram",url:"https://instagram.com/joe",thumbnail:{url:o},description:"Follow our Instagram for daily news, memes, and behind-the-scenes content."},{databaseId:302,label:"Twitter",url:"https://twitter.com/joe",thumbnail:{url:o},description:"Stay up to date with the latest breaking news and live event coverage."}]}}];var d=l(6766),u=l(7525);let m=e=>{let{menuItems:t,dropDown:l,siteName:s,headerStyle:o,globalHoverColor:c}=e,m=(0,r.useRouter)();console.log(c);
1let[x,h]=(0,n.useState)(""),[p,b]=(0,n.useTransition)(),g=()=>{let e=x.trim();e&&!p&&b(()=>{m.push("/search?q=".concat(encodeURIComponent(e)))})};return(0,a.jsxs)("div",{className:"h-[234px] overflow-y-auto bg-white shadow-lg w-full 1100:max-w-[1100px] mx-auto flex border-x-[0.3px] border-[#7D7D7D] border-b-[0.3px]",children:[(0,a.jsx)("div",{className:"w-full flex px-5 py-[10px] justify-between gap-4",children:null==t?void 0:t.map(e=>{var t,l;return(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"block font-rhode text-[16px] leading-[1.1rem] font-medium mb-[3px] uppercase",children:e.label}),(0,a.jsx)("ul",{className:"font-ibm-sans text-[12px] leading-5",children:null==(l=e.childItems)||null==(t=l.nodes)?void 0:t.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:e.url,className:"hover:underline",children:e.label})},e.databaseId))})]},e.databaseId)})}),(0,a.jsx)("div",{className:"ml-auto flex flex-row min-h-full",children:(0,a.jsxs)("div",{className:"970:w-[332px] hidden xl:block border-[#7F7F7F80] border-l-[0.5px] h-full pl-4",children:[(0,a.jsxs)("h4",{className:"uppercase font-rhode text-[14px] leading-6 mt-[9px]",children:["Search ",s||"JOE"]}),(0,a.jsxs)("div",{className:"w-[303px] flex rounded-[5px] border border-[#132428] overflow-hidden text-[14px] leading-4 mt-2 mb-8",children:[(0,a.jsxs)("div",{className:"relative flex-1 ",children:[(0,a.jsx)(d.default,{src:u.A,alt:"Title Loop",title:"Title Loop","aria-hidden":"true",width:16,height:16,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2"}),(0,a.jsx)("input",{id:"sidebar-search",type:"text",placeholder:"Enter Search Terms","aria-label":"Search JOE",value:x,onChange:e=>h(e.target.value),onKeyDown:e=>{if("Enter"===e.key){if(e.repeat)return;e.preventDefault(),g()}"Escape"===e.key&&h("")},className:"h-[44px] w-full bg-white pl-9 pr-4 placeholder:text-[#7F7F7F] placeholder:text-[14px] placeholder:leading-4 focus:outline-none"})]}),(0,a.jsx)("button",{type:"button",onClick:g,disabled:p,className:"w-[44px] flex items-center justify-center transition-colors duration-200 ease-in-out cursor-pointer group disabled:opacity-60 hover:bg-[var(--hover-bg)]","aria-label":"Search",style:{background:(null==o?void 0:o.hamburgerColor)||"#FFFFFF","--hamburger-bg":(null==o?void 0:o.hamburgerColor)||"#FFC627","--hover-bg":c||"#8a2dc4"},children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"18",viewBox:"0 0 6 10",style:{color:(null==o?void 0:o.navbarBg)||"#FFFFFF"},fill:"none",className:"transition-colors duration-200 ease-in-out",children:(0,a.jsx)("path",{d:"M0.115458 0.102418C-0.0394622 0.240529 -0.0394622 0.464493 0.115457 0.602605L5.05195 4.99603L0.115457 9.39693C-0.0394622 9.53504 -0.0394622 9.75899 0.115458 9.89711C0.270378 10.0352 0.522978 10.0352 0.677898 9.89711L5.88495 5.24935C6.03987 5.11123 6.03987 4.88727 5.88495 4.74916L0.677898 0.101398C0.522978 -0.0367133 0.270378 -0.0367133 0.115458 0.102418Z",fill:"white",className:"group-hover:fill-[#FFC627]"})})})]}),(0,a.jsxs)("div",{className:"font-ibm-sans text-[14px] leading-5 font-semibold space-y-[2px]",children:[(0,a.jsx)(i(),{href:"/about",className:"block hover:underline focus:underline text-left",children:"About us"}),(0,a.jsx)(i(),{href:"/privacy-policy",className:"block hover:underline focus:underline text-left",children:"Privacy policy"}),(0,a.jsx)(i(),{href:"/cookie-policy",className:"block hover:underline focus:underline text-left",children:"Cookie policy"}),(0,a.jsx)(i(),{href:"/terms-and-conditions",className:"block hover:underline focus:underline text-left",children:"Terms & conditions"}),(0,a.jsx)(i(),{href:"/contact",className:"block hover:underline focus:underline text-left",children:"Contact us"})]})]})})]})},x=e=>{let{isOpen:t,onClose:l,data:r,siteName:n,headerStyle:s,globalHoverColor:i}=e;return t?(0,a.jsx)("div",{role:"menu","aria-labelledby":"mainnav-menu-toggle",className:" hidden tablet:block absolute left-0 right-0 top-full z-40",children:(0,a.jsx)("div",{tabIndex:-1,autoFocus:!0,onKeyDown:e=>{"Escape"===e.key&&l()},className:"origin-top transition-all duration-200 ease-out opacity-100 scale-y-100",style:{transformOrigin:"top"},children:(0,a.jsx)(m,{menuItems:r,dropDown:c,siteName:n,headerStyle:s,globalHoverColor:i})})}):null},h="dynamic-first"===l(1890).env.NEXT_PUBLIC_NAVBAR_PRIORITY,p=["cms.lov
1in.ie","lovin.ie","www.lovin.ie","staging.lovin.ie","www.joe.co.uk","joe.co.uk"],b=e=>{var t,l,r,n,s,i;let{color:o,hardCodedBackToTopAndHeaderButton:c}=e,d=null!=(l=null!=(t=null==c?void 0:c.background)?t:o)?l:"#FFC627",u=null!=(n=null!=(r=null==c?void 0:c.text)?r:o)?n:"#ffffff",m=null!=(s=null==c?void 0:c.hoverBackground)?s:d,x=null!=(i=null==c?void 0:c.hoverText)?i:u;return(0,a.jsx)("svg",{width:"16",height:"8",viewBox:"0 0 17 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Open menu",className:"bg-[var(--hamburger-bg)] text-[var(--hamburger-text)] group-hover:text-[var(--hover-text)] hover:bg-[var(--hover-bg)] transition-colors duration-200",style:{"--hamburger-bg":d,"--hamburger-text":u,"--hover-bg":m,"--hover-text":x},children:(0,a.jsx)("path",{d:"M15.882 0.953735H0.453024C0.202554 0.953735 0 0.74052 0 0.476867C0 0.213215 0.202554 0 0.453024 0H15.8798C16.1303 0 16.3328 0.213215 16.3328 0.476867C16.3328 0.74052 16.1303 0.953735 15.8798 0.953735H15.882ZM16.335 4.29868C16.335 4.03503 16.1324 3.82182 15.882 3.82182H0.453024C0.202554 3.82182 0 4.03503 0 4.29868C0 4.56234 0.202554 4.77555 0.453024 4.77555H15.8798C16.1303 4.77555 16.335 4.56234 16.335 4.29868ZM16.335 8.11821C16.335 7.85456 16.1324 7.64134 15.882 7.64134H0.453024C0.202554 7.64134 0 7.85456 0 8.11821C0 8.38186 0.202554 8.59508 0.453024 8.59508H15.8798C16.1303 8.59508 16.335 8.38186 16.335 8.11821Z",fill:"currentColor"})})},g=e=>{var t,l,r,n;let{color:s,hardCodedBackToTopAndHeaderButton:i}=e,o=null!=(t=null==i?void 0:i.background)?t:s,c=null!=(l=null==i?void 0:i.text)?l:s,d=null!=(r=null==i?void 0:i.hoverBackground)?r:o,u=null!=(n=null==i?void 0:i.hoverText)?n:c;return(0,a.jsxs)("svg",{width:"16",height:"12",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Close menu",className:"bg-[var(--hamburger-bg)] text-[var(--hamburger-text)] group-hover:text-[var(--hover-text)] hover:bg-[var(--hover-bg)] transition-colors duration-200",style:{"--hamburger-bg":o,"--hamburger-text":c,"--hover-bg":d,"--hover-text":u},children:[(0,a.jsx)("path",{d:"M18.0289 0.721131C18.4271 1.1194 18.4271 1.76512 18.0289 2.16339L2.16401 18.0283C1.76574 18.4265 1.12002 18.4265 0.721748 18.0283C0.323478 17.63 0.323479 16.9843 0.721748 16.586L16.5866 0.721132C16.9849 0.322863 17.6306 0.322861 18.0289 0.721131Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M18.0284 16.586L2.16351 0.72113C1.76524 0.322861 1.11952 0.322861 0.721253 0.72113C0.322983 1.1194 0.322985 1.76512 0.721254 2.16339L16.5861 18.0283C16.9844 18.4265 17.6301 18.4265 18.0284 18.0283C18.4266 17.63 18.4266 16.9843 18.0284 16.586Z",fill:"currentColor"})]})};function f(e){return/^https?:\/\//i.test(e)}function v(e){try{let t=new URL(e);if(t.hostname===window.location.hostname)return!0;return p.some(e=>t.hostname.toLowerCase()===e.toLowerCase())}catch(e){return!1}}function w(e){var t,l,s;let{activeIdx:o,isFooter:c,isArticle:d,items:u=[],secondaryMenu:m=[],adsOn:p=!1,styles:w,headerStyle:y,header:j,globalHoverColor:A,categoryColors:N,searchIconColor:C,siteName:k,hardCodedHover:S,hardCodedBackToTopAndHeaderButton:E}
1=e,[F,I]=(0,n.useState)(!1),[B,T]=(0,n.useState)(!1),[U,L]=(0,n.useState)(""),R=(0,r.useRouter)(),[P,_]=(0,n.useTransition)(),M=()=>{let e=U.trim();e&&!P&&_(()=>{R.push("/search?q=".concat(encodeURIComponent(e)))})},D=!!(null==w?void 0:w.rounding),H=c?"":(null==j||null==(t=j.colors)?void 0:t.headerBg)||"#132428",W=(0,r.usePathname)(),O=null==j||null==(s=j.colors)||null==(l=s.palette)?void 0:l.navbarBgActive;return(0,a.jsxs)("nav",{className:"w-full text-lg ".concat(c?"tablet:flex":""," z-40 ").concat(F?"relative":""),style:{background:(null==y?void 0:y.navbarBg)||"#132428"},children:[(0,a.jsxs)("div",{className:"mx-auto flex justify-between ".concat(c?" justify-center overflow-hidden ":""," ").concat(d?p?"max-w-[970px]":"max-w-[1100px]":p?"max-w-[970px]":"max-w-[81.25rem]"),children:[(0,a.jsxs)("div",{className:"flex overflow-hidden items-center",children:[(0,a.jsx)("div",{className:"flex items-center overflow-auto no-scrollbar ".concat(p?"tablet:max-w-lg 970:max-w-[800px]":"tablet:max-w-lg 970:max-w-full"," border-x-[--border-color] border-x-[0.3px] divi
1de-x-[0.3px] divide-[--border-color]"),children:u.map((e,t)=>{var l,r,n,s;let o=function(e){if(!e)return"#";if(e.startsWith("/"))return e;if(f(e)){if(v(e))try{let t=new URL(e);return"".concat(t.pathname||"/").concat(t.search||"").concat(t.hash||"")}catch(e){}return e}return e.startsWith("/")?e:"/".concat(e)}(e.url),c=o.replace(/^https?:\/\/[^/]+/i,"").replace(/^\/|\/$/g,"").toLowerCase(),d=null==N||null==(r=N.flat)||null==(l=r.call(N))?void 0:l.find(e=>e.slug.trim().toLowerCase()===c.trim().toLowerCase()),u=W.replace(/^\/|\/$/g,"").toLowerCase(),m=c.replace(/^category\//,"").toLowerCase(),x=u===m||u.startsWith("".concat(m,"/")),p=h&&0===t,b={bgColor:null!=(n=null==y?void 0:y.navbarBg)?n:"#132428",activeBg:h?(null==d?void 0:d.spotlightLight)||O||S||"":O||(null==d?void 0:d.spotlightLight)||S||"",hoverBg:h?(null==d?void 0:d.spotlightLight)||O||S||"":O||(null==d?void 0:d.spotlightLight)||S||"",fontColor:null!=(s=null==y?void 0:y.navbarText)?s:"#ffffff"},g={...{"--item-bg":x?b.activeBg:b.bgColor,"--item-fg":p&&x?"#000000":b.fontColor,"--item-bg-hover":b.hoverBg,"--item-fg-hover":p?"#000000":b.fontColor,"--border-color":H}},w=f(o)&&!v(o),j=["nav-item-spacing uppercase whitespace-nowrap px-2 970:px-[10px] pt-[6px] pb-[3px] font-rhode","text-[14px] leading-6 970:text-[16px] custom-font-weight-navbar","transition-colors duration-150","bg-[var(--item-bg)] text-[var(--item-fg)]","hover:bg-[var(--item-bg-hover)] hover:text-[var(--item-fg-hover)]"].filter(
1Boolean).join(" ");return w?(0,a.jsx)("a",{href:o||"#",rel:"noopener noreferrer",className:" ".concat(j," "),style:g,children:e.label},e.databaseId):(0,a.jsx)(i(),{href:o||"#",scroll:!1,prefetch:!0,className:j,style:g,children:e.label},e.databaseId)})}),!B&&!c&&(0,a.jsx)("button",{id:"mainnav-menu-toggle",type:"button",onClick:()=>I(e=>!e),onKeyDown:e=>"Escape"===e.key&&I(!1),"aria-haspopup":"menu","aria-expanded":F,"aria-label":F?"Close menu":"Open menu",style:{"--hamburger-bg":(null==E?void 0:E.background)||(null==y?void 0:y.hamburgerColor)||"#FFC627","--hamburger-text":(null==E?void 0:E.text)||"","--hover-bg":(null==E?void 0:E.hoverBackground)||A||"#8a2dc4","--hover-text":(null==E?void 0:E.hoverText)||A||"#8a2dc4"},className:"hidden tablet:flex mx-4 970:mx-2 items-center h-[27px] w-[27px] justify-center cursor-pointer group ".concat(D?"rounded-full":""," transition-colors duration-200 bg-[var(--hamburger-bg)] text-[var(--hamburger-text)] hover:text-[var(--hover-text)] hover:bg-[var(--hover-bg)]"),children:F?(0,a.jsx)("div",{className:"w-[16px] h-auto cursor-pointer",children:(0,a.jsx)(g,{color:(null==y?void 0:y.navbarBg)||"#ffffff",hardCodedBackToTopAndHeaderButton:E})}):(0,a.jsx)("div",{className:"w-[16px] h-auto ml-[1px]",children:(0,a.jsx)(b,{color:(null==y?void 0:y.navbarBg)||"#fff",hardCodedBackToTopAndHeaderButton:E})})})]}),!c&&(0,a.jsxs)("div",{className:"relative flex items-center tablet:ml-6 gap-10 mr-2 970:mr-0 970:ml-0 970:gap-0",children:[B&&(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{autoFocus:!0,value:U,onChange:e=>L(e.target.value),onKeyDown:e=>{if("Enter"===e.key){if(e.repeat)return;e.preventDefault(),M()}"Escape"===e.key&&(T(!1),L(""))},placeholder:"Searchâ¦",className:"rounded-[5px] w-[100px] 970:w-auto border z-50 bg-white p-1 pr-5 text-xs text-black placeholder-black/60 caret-black outline-none",style:{borderColor:C||"black"}}),(0,a.jsx)("button",{type:"button",className:"absolute right-1 top-1/2 -translate-y-1/2 text-md text-black/70 hover:text-black cursor-pointer",onClick:()=>{T(!1),L("")},children:"\xd7"})]}),!B&&(0,a.jsx)("button",{type:"button",className:"cursor-pointer",onClick:()=>{T(!0)},children:(0,a.jsx)("svg",{className:"hidden tablet:block ml-[10px] w-[15px] h-[15px]","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",children:(0,a.jsx)("path",{stroke:C||"black",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})})})]})]}),(0,a.jsx)(x,{data:u,isOpen:F,onClose:()=>I(!1),siteName:k,headerStyle:y,globalHoverColor:A}),F&&(0,a.jsx)("button",{"aria-label":"Close menu overlay",onClick:()=>I(!1),className:"fixed inset-0 z-30 cursor-default hover:cursor-pointer h-[115px]"}),F&&(0,a.jsx)("button",{"aria-label":"Close menu overlay",onClick:()=>I(!1),className:"fixed inset-0 z-30 cursor-default hover:cursor-pointer top-[152px]"})]})}},2641:(e,t,l)=>{l.d(t,{AutoResizingIframe:()=>n});var a=l(5155),r=l(2115);let n=e=>{let{src:t,title:l,initialHeight:n="100px"}=e,[s,i]=(0,r.useState)(n),[o,c]=(0,r.useState)(!0),d=(0,r.useRef)(null);return(0,r.useEffect)(()=>{c(!0),i(n);let e=e=>{if(e.data){let t=e.data,l=t.height||("number"==typeof t?t:null);l&&(i("".concat(l,"px")),c(!1))}};window.addEventListener("message",e);let t=setTimeout(()=>c(!1),2e3);return()=>{window.removeEventListener("message",e),clearTimeout(t)}},[t,n]),(0,a.jsxs)("div",{style:{width:"100%",minHeight:"10rem",position:"relative"},children:[o&&(0,a.jsx)("div",{style:{height:"150px",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,a.jsx)("span",{children:"Loading..."})}),(0,a.jsx)("iframe",{ref:d,src:t,title:l,width:"100%",height:s,onLoad:()=>c(!1),style:{border:"none",display:o?"none":"block",overflow:"hidden",marginBottom:"2rem"},scrolling:"yes"},t)]})}},2895:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/video-channel-img.541e5d91.png",height:220,width:220,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAABlBMVEUAv3IAv3Ncl9zsAAAAAXRSTlP9g+pWxwAAAAlwS
1FlzAAALEwAACxMBAJqcGAAAABNJREFUeJxjYGAEAwYozchIHgMACMEAP20RCKwAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},2934:(e,t,l)=>{l.d(t,{Q:()=>a});let a=(e,t)=>{if(!e)return"";let l=e.replace(/<script[\s\S]*?<\/script>/gi,"").replace(/<style[\s\S]*?<\/style>/gi,"").replace(/<\s*br\s*\/?>/gi,"\n").replace(/<\/\s*(p|div|section|article|header|footer|li|ul|ol|h[1-6]|tr)\s*>/gi,"\n").replace(/<\/\s*(td|th)\s*>/gi," ");return l=(l=function(e){let t=e.replace(/&(nbsp|amp|lt|gt|quot|#39);/g,e=>{var t;return null!=(t=r[e])?t:e});return(t=t.replace(/&#(\d+);/g,(e,t)=>{let l=Number(t);return Number.isFinite(l)?n(l):e})).replace(/&#x([0-9a-fA-F]+);/g,(e,t)=>{let l=parseInt(t,16);return Number.isFinite(l)?n(l):e})}(l=l.replace(/<\/?[^>]+>/g,""))).replace(/\r\n?/g,"\n").replace(/[ \t]+\n/g,"\n").replace(/\n{3,}/g,"\n\n").trim(),t&&l.length>t&&(l=l.slice(0,t).trimEnd()+"â¦"),l},r={" ":" ","&":"&","<":"<",">":">",""":'"',"'":"'"};function n(e){try{if(e<0||e>1114111)return"";return String.fromCodePoint(e)}catch(e){return""}}},3072:(e,t,l)=>{l.d(t,{A:()=>s});var a=l(5155),r=l(6874),n=l.n(r);function s(e){let{subcategories:t,parentLabel:l,isFooter:r,isArticle:s,adsOn:i=!1,submenuStyle:o,categoryColors:c}=e;return(0,a.jsx)("div",{className:"w-full font-ibm-sans ".concat(r?"flex":""),style:{background:(null==o?void 0:o.subnavbarBg)||"#132428",color:(null==o?void 0:o.subnavbarText)||"#FFF"},children:(0,a.jsx)("div",{className:"overflow-x-auto mx-auto flex flex-row py-[3px] tablet:py-1 px-[10px] lg:px-4 gap-[15px] lg:gap-6 no-scrollbar ".concat(s?i?"max-w-[970px]":"max-w-[1100px]":i?"max-w-[970px]":"max-w-[81.25rem]"," "),children:t.map(e=>(0,a.jsx)(n(),{href:e.href,className:"text-[10px] leading-6 font-bold whitespace-nowrap cursor-pointer hover:underline font-ibm",style:{color:(null==o?void 0:o.subnavbarText)||"#FFF"},children:e.label},e.href))})})}},3101:(e,t,l)=>{l.d(t,{default:()=>n});var a=l(5155),r=l(2115);function n(e){let{placeholder:t,onVisible:l,rootMargin:n="200px"}=e,s=(0,r.useRef)(null),[i,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!s.current||i)return;let e=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(o(!0),l())},{rootMargin:n});return e.observe(s.current),()=>e.disconnect()},[i]),(0,a.jsx)("div",{ref:s,children:t})}},3104:(e,t,l)=>{l.d(t,{ArticleTags:()=>i});var a=l(5155),r=l(6874),n=l.n(r),s=l(2934);let i=e=>{let{attributes:t,categoryData:l,tagTextColor:r,hardCodedBackToTopAndHeaderButton:i}=e,{dark:o,light:c}=l||null,d=null==i?void 0:i.hoverTextTag;return t&&t.length,(0,a.jsx)(a.Fragment,{children:t&&t.length>0&&(0,a.jsxs)("div",{className:"tablet:mx-auto mx-4 tablet:max-w-[617px] border-t-[1.5px] border-dotted mt-2 mb-4 clear-both ",children:[(0,a.jsx)("p",{className:"font-ibm-sans text-[12px] leading-[30px]",children:"Explore more on these topics:"}),(0,a.jsx)("div",{className:"flex flex-row gap-[10px] flex-wrap",children:t.map(e=>(0,a.jsx)(n(),{href:"".concat(e.uri),children:(0,a.jsx)("p",{className:"leading-[26px] text-[13px] rounded-[5px] px-[11px] py-[2.2px] font-ibm-serif font-semibold h-8 capitalize",style:{background:o||"#FFC627",color:r||c||"#132428"},onMouseEnter:e=>e.currentTarget.style.color=null!=d?d:"#ffffff",onMouseLeave:e=>e.currentTarget.style.color=r||c||"#132428",children:(0,s.Q)(e.name)})},e.id))})]})})}},3458:(e,t,l)=>{l.d(t,{Footer:()=>f});var a=l(5155),r=l(5695),n=l(2545),s=l(3072);l(2115);let i=e=>{var t,l,r,n,s,i;let{globalHoverState:o,globalBgState:c,footerTextColor:d,backToTopIconColor:u,footerEventbackground:m,hardCodedBackToTopAndHeaderButton:x}=e,h=null!=(t=null==x?void 0:x.background)?t:c,p=null!=(l=null==x?void 0:x.text)?l:u||m,b=null!=(n=null!=(r=null==x?void 0:x.hoverBackground)?r:o)?n:h,g=null!=(i=null!=(s=null==x?void 0:x.hoverText)?s:o)?i:p;return(0,a.jsxs)("div",{className:"flex flex-col 970:flex-row items-center text-white gap-[14px] border-y-[0.5px] border-white 970:border-none",children:[(0,a.jsx)("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},"aria-label":"Back to Top",className:"group mt-[22px] 970:mt-0 h-[40px] w-[40px] rounded-full flex items-center justify-center cursor-pointer transition-colors duration-200 bg-[var(--btt-bg)] hover:bg-[var(--btt-bg-hover)]",style:{"--btt-bg":h,"--btt-bg-hover":b},children:(0,a.jsx)("svg",{width:"14",height:"18",viewBox:"0 0 14 18",xmlns:"http://www.w3.org/2000/svg",className:"transition-colors duration-200 ease-in-out text-[var(--btt-fg)] group-hover:text-[var(--btt-fg-hover)]",style:{"--btt-fg":p,"--btt-fg-hover":g},children:(0,a.jsx)("path",{d:"M6.33348 0.259615L0.333483 5.79808C-0.0765165 6.15462 -0.113183 6.86077 0.243484 7.27269C0.60015 7.68462 1.28015 7.72615 1.66682 7.34538L6.00015 3.34385L6.00015 16.9615C6.00015 17.5362 6.44682 18 7.00015 18C7.55348 18 8.00015 17.5362 8.00015 16.9615L8.00015 3.34385L12.3335 7.34538C12.7201 7.72961 13.4001 7.67769 13.7568 7.26231C14.1135 6.85038 14.0768 6.15461 13.6668 5.79808L7.66682 0.259615C7.18015 -0.100386 6.74682 -0.0726932 6.33348 0.259615Z",fill:"currentColor"})})}),(0,a.jsx)("p",{className:"text-lg leading-6 font-semibold font-ibm-sans mb-[14px] 970:mb-0",style:{color:d},children:"Back to Top"})]})};var o=l(6766);let c={src:"/_next/static/media/JOE-Yellow-Logo.e7eeff85.svg",height:256,width:379,blurWidth:0,blurHeight:0},d=()=>new Date().getFullYear(),u=e=>{let{logoUrl:t,siteName:l,footerTextColor:r}=e;return(0,a.jsxs)("div",{className:"w-full section-narrow flex flex-col 970:flex-row-reverse items-center 970:items-end justify-center 970:justify-between py-6 space-y-[15px] 970:space-y-0",children:[(0,a.jsx)("div",{children:(0,a.jsx)(o.default,{src:t||c,alt:"Log JOE Yellow",width:76,height:52,className:"h-[52px] w-auto 970:h-[50px] 970:w-auto object-contain"})}),(0,a.jsx)("div",{children:(0,a.jsxs)("p",{className:"font-light font-ibm-sans text-[10px] leading-[25px]",style:{color:r},children:["\xa9 ",d()," ",l," or its affiliated companies. All rights reserved."]})})]})};var m=l(6874),x=l.n(m);function h(e){var t,l,r,n,s,i;let{title:o,items:c,socials:d,isLast:u,footerTextColor:m}=e,h=d?[{label:"Instagram",href:null!=(t=d.instagram)?t:""}
1,{label:"Facebook",href:null!=(l=d.facebook)?l:""},{label:"YouTube",href:null!=(r=d.youtube)?r:""},{label:"TikTok",href:null!=(n=d.tiktok)?n:""},{label:"X",href:null!=(s=d.x)?s:""},{label:"LinkedIn",href:null!=(i=d.linkedin)?i:""}].filter(e=>!!e.href):[],p="Follow"===o&&h.length>0?h:c;return(0,a.jsxs)("div",{className:"relative py-[10px] px-[18px] 970:pt-[11px] pl-[17px] pr-[26px] 970:pb-3 970:w-[142px] font-ibm-sans space-y-4",style:{color:m},children:[u&&(0,a.jsx)("div",{className:"absolute hidden 970:block top-0 right-0 h-[34px] border-r-[0.5px] border-[#FFF9D5]"}),(0,a.jsx)("p",{className:"font-bold text-[18px] leading-[28px]",children:o}),p.map(e=>(0,a.jsx)(x(),{href:e.href,className:"text-[14px] leading-[16px] flex hover:underline transition-colors duration-300 ease-in-out",target:e.href.startsWith("http")?"_blank":"_self",rel:e.href.startsWith("http")?"noopener noreferrer":void 0,children:e.label},e.label))]})}let p=e=>{let{globalHoverColor:t,globalBtnBgColor:l,globalBtnTextColor:r,globalBgState:n,logoUrl:s,footerEventbackground:o,footerTextColor:c,siteName:d,columns:m=[],backToTopIconColor:x,hardCodedBackToTopAndHeaderButton:p,socials:b}=e,g=b&&Object.values(b).some(e=>"string"==typeof e&&e.trim().length>0)?[m[0],{title:"Follow",items:[]},...m.slice(1)]:m;return(0,a.jsxs)("div",{className:"w-full flex flex-col",style:{background:o||"#132428"},children:[(0,a.jsxs)("div",{className:"section-narrow flex flex-col-reverse 970:flex 970:flex-row 970:divide-x-[0.4px] divide-[var(--page-bg)] border-t-[0.4px] 970:border-y-[0.4px]",style:{borderColor:c},children:[(0,a.jsxs)("div",{className:"px-4 relative 970:pt-[11px] 970:pl-[14px] 970:w-[512px] 970:pb-5 970:flex 970:flex-col 970:justify-between ",children:[(0,a.jsx)("p",{className:"hidden lg:block font-ibm-serif font-[700] text-[22.18px] leading-[25.46px]",style:{color:c},children:"Newsletter coming soon"}),(0,a.jsx)("div",{className:"absolute hidden 970:block top-0 left-0 h-[34px] border-r-[0.4px]",style:{borderColor:c}}),(0,a.jsx)("div",{}),(0,a.jsx)(i,{globalHoverState:t,backToTopIconColor:x,globalBgState:n,footerTextColor:c,footerEventbackground:o,hardCodedBackToTopAndHeaderButton:p})]}),(0,a.jsxs)("div",{className:"relative grid grid-cols-3 970:flex 970:flex-row divide-x-[0.4px] divide-[var(--page-bg)]",children:[(0,a.jsx)("div",{className:"absolute hidden tablet:block 970:hidden top-0 left-0 h-[34px] border-r-[0.4px]",style:{borderColor:c}}),(0,a.jsx)("div",{className:"absolute hidden tablet:block 970:hidden top-0 right-0 h-[34px] border-r-[0.4px]",style:{borderColor:c}}),g.map((e,t)=>(0,a.jsx)(h,{title:e.title,items:e.items,isLast:t===g.length-1,footerTextColor:c,socials:b},e.title))]})]}),(0,a.jsx)(u,{logoUrl:s,siteName:d,footerTextColor:c})]})};var b=l(3554),g=l(5636);let f=e=>{var t,l,i,o;let{footerMenu:c,isArticle:d,header:u,headerStyle:m,submenuStyle:x,globalHoverColor:h,globalBtnBgColor:f,globalBtnTextColor:v,globalBgState:w,logoUrl:y,categoryColors:j,footerEventbackground:A,footerTextColor:N,siteName:C,columns:k,backToTopIconColor:S,hardCodedBackToTopAndHeaderButton:E}=e,F=(0,r.usePathname)()||"/",I=(0,g.F)(F),B=c.findIndex(e=>{var t,l;let a=(0,g.F)(e.url);return"/"===a?"/"===I:!!I.startsWith(a)||(null!=(l=null==(t=e.childItems)?void 0:t.nodes)?l:[]).some(e=>I.startsWith((0,g.F)(e.url)))}),T=B>=0?c[B]:void 0,U=!!(null==T||null==(l=T.childItems)||null==(t=l.nodes)?void 0:t.length);return(0,a.jsxs)("footer",{children:[U&&(0,a.jsx)(s.A,{subcategories:(null!=(o=null==T||null==(i=T.childItems)?void 0:i.nodes)?o:[]).map(e=>({label:e.label,href:e.url})),parentLabel:null==T?void 0:T.label,isFooter:!0,submenuStyle:x,categoryColors:j}),(0,a.jsx)(n.Ay,{activeIdx:B,isFooter:!0,items:c,header:u,headerStyle:m,categoryColors:j,siteName:C}),(0,a.jsx)(p,{globalHoverColor:h,globalBtnBgColor:f,globalBtnTextColor:v,globalBgState:w,logoUrl:y,footerEventbackground:A,siteName:C,columns:k,footerTextColor:N,backToTopIconColor:S,hardCodedBackToTopAndHeaderButton:E,socials:u.socials}),(0,a.jsx)(b.default,{strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:' window._qevents = window._qevents || [];
1\n (function() {\n var elem = document.createElement(\'script\');\n elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";\n elem.async = true;\n elem.type = "text/javascript";\n var scpt = document.getElementsByTagName(\'script\')[0];\n scpt.parentNode.insertBefore(elem, scpt);\n })();\n window._qevents.push({\n qacct:"p-aJg-_1qde3AcM",\n uid:"__INSERT_EMAIL_HERE__"\n } ); '}}),(0,a.jsxs)("noscript",{children:["\xdf",(0,a.jsx)("div",{style:{display:"none"},children:(0,a.jsx)("img",{src:"//pixel.quantserve.com/pixel/p-aJg-_1qde3AcM.gif",height:"1",width:"1",alt:"Quantcast"})})]})]})}},3520:(e,t,l)=>{l.r(t),l.d(t,{LiveCenterAd:()=>u});var a=l(5155),r=l(2115),n=l(3554);let s="https://dbo.sonaserve.com/dbo-widget.js",i="dbo-offer-slot",o="dbo-offer-inline",c=/<dbo-widget[^>]*>\s*<\/dbo-widget>/i;function d(e,t){let l=document.createElement("div");l.className="".concat(t," my-4 w-full flex justify-center");let a=document.createElement("dbo-widget");return a.setAttribute("site-id",e),l.appendChild(a),l}let u=e=>{let{attributes:t}=e,{channelId:l,liveCenterUrl:u="",adDiv:m,adPath:x="",inlinePlacement:h,inlinePlacements:p}=t,{offerWidgetSiteIdPreview:b,offerWidgetAfterPost:g=1,offerWidgetHosts:f}=t,v=m||"lc-inline",w=(0,r.useMemo)(()=>{if(b)return(f&&f.length?f:["preview.joe.ie"]).includes(window.location.hostname)?b:void 0},[b,f]),y=(0,r.useMemo)(()=>{var e;return null!=(e=function(e){if(!e)return null;try{let t=new URL(e).pathname.split("/").filter(Boolean),l=t.indexOf("frame");if(l>=0&&t.length>l+1)return t[l+1]}catch(e){}return null}(u))?e:"joe-media-group"},[u]),j=(0,r.useRef)(null),A=(0,r.useRef)(null),N=(0,r.useRef)(null),C=(0,r.useRef)(null),k=(0,r.useRef)(null),S=(0,r.useRef)(null),E=(0,r.useRef)(!1);!function(e,t,l,a){(0,r.useEffect)(()=>{let t=(e,t)=>{if(e){e.innerHTML="",e.id=t,e.setAttribute("data-ad-slot","1");try{var l,a;null==(l=(a=window).requestAd)||l.call(a,t)}catch(e){}}};t(l.current,"".concat(e,"-top")),t(a.current,"".concat(e,"-bottom"))},[e,t,l,a])}(v,x,k,S),function(e,t,l,a,n){(0,r.useEffect)(()=>{let e="lc-css-link";if(!document.getElementById(e)){let t=document.createElement("link");t.id=e,t.rel="stylesheet",t.href="".concat("https://livecenter.norkon.net/","scripts/ncposts/ncposts-6.1.1.min.css"),document.head.appendChild(t)}let t="lc-ext-css";if(!document.getElementById(t)){let e=document.createElement("link");e.id=t,e.rel="stylesheet",e.href="https://livecentercdn.norkon.net/LiveCenter/ExtensionCss/".concat(a),document.head.appendChild(e)}},[a]),(0,r.useEffect)(()=>{let t=e.current;if(!t)return;let l=null!=n?n:[],a=(e,t,l)=>{e.innerHTML="",e.id=t,e.setAttribute("data-ad-slot","1");let a=window.googletag;if(a&&(null==l?void 0:l.unit)&&(null==l?void 0:l.sizes))a.cmd.push(()=>{let r=a.pubads().getSlots().find(e=>e.getSlotElementId()===t);if(r)try{a.destroySlots([r])}catch(e){}let n=a.defineSlot(l.unit,l.sizes.split(",").map(e=>e.trim()).filter(Boolean).map(e=>e.split("x").map(Number)),t);n&&(n.addService(a.pubads()),e.setAttribute("data-ad-ready","1"))});else try{var r,n;null==(r=(n=window).requestAd)||r.call(n,t)}catch(e){}},r=()=>{let e=t.querySelectorAll(".nc-post, .lc-post, .nc-timeline-post, .ncpost-list-post"),r=t.querySelectorAll(".inline-ad-slot").length;e.forEach((e,t)=>{var n;if((t+1)%2!=0)return;let s=e.nextElementSibling;if(s&&s.classList.contains("inline-ad-slot"))return;let i=function(e){if(0===e)return"in_article_1";if(1===e)return"in_article_2";if(2===e)return"in_article_3";let t=e-2;return 1===t?"in_article_rest":"in_article_rest_".concat(t)}(r),o=l.length>0?function(e,t){var l;let a=Math.min(e,t.length-1);return null!=(l=t[a])?l:null}(r,l):null;r++;let c=document.createElement("div");c.className="inline-ad-slot my-6 w-full flex justify-center items-center",c.style.minHeight="90px",null==(n=e.parentElement)||n.insertBefore(c,e.nextSibling),a(c,i,o)})};r();let s=new MutationObserver(()=>window.requestAnimationFrame(r));return s.observe(t,{childList:!0,subtree:!0}),()=>s.disconnect()},[t,l,e,n])}(N,v,x,y,null!=p?p:h?[h]:[]),function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,r.useEffect)(()=>
1{if(!t)return;let a=e.current;if(!a)return;let r=!1,n=null,u=()=>{if(a.querySelector(".".concat(i)))return;let e=d(t,i),r=a.querySelectorAll(".nc-post, .lc-post, .nc-timeline-post, .ncpost-list-post, .ncpost-pinned-post"),n=r.length>=l?r[l-1]:null;(null==n?void 0:n.parentElement)?n.parentElement.insertBefore(e,n.nextSibling):a.insertBefore(e,a.firstChild)},m=document.body,x=()=>{let e=document.createTreeWalker(m,NodeFilter.SHOW_TEXT),l=[],r=e.nextNode();for(;r;){let t=r;t.nodeValue&&c.test(t.nodeValue)&&l.push(t),r=e.nextNode()}l.forEach(e=>{var l;let a=(e.nodeValue||"").split(c),r=document.createDocumentFragment();a.forEach((e,l)=>{e&&r.appendChild(document.createTextNode(e)),l<a.length-1&&r.appendChild(d(t,o))}),null==(l=e.parentNode)||l.replaceChild(r,e)}),m.querySelector(".".concat(o))?m.querySelectorAll(".".concat(i)).forEach(e=>e.remove()):a&&u(),function(){if(document.querySelector('script[src="'.concat(s,'"]')))return;let e=document.createElement("script");e.src=s,e.defer=!0,document.head.appendChild(e)}()},h=()=>{r||(r=!0,window.__dboOfferVer=4,x(),(n=new MutationObserver(()=>window.requestAnimationFrame(x))).observe(m,{childList:!0,subtree:!0}))},p=e=>{e("addEventListener",2,(e,t)=>{t&&e&&("tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus)&&function(e){var t;if(!e)return!1;if(!1===e.gdprApplies)return!0;let l=null==(t=e.purpose)?void 0:t.consents;return!!(l&&l[1]&&l[2])}(e)&&h()})},b=()=>{let e=window.__tcfapi;return"function"==typeof e&&(p(e),!0)},g=0,f=0;return b()||(f=setInterval(()=>{(b()||++g>240)&&clearInterval(f)},500)),()=>{f&&clearInterval(f),null==n||n.disconnect()}},[e,t,l])}(j,w,g),(0,r.useEffect)(()=>{let e=A.current;if(!e)return;let t=t=>{let l=t.target.closest("a");if(l&&e.contains(l)){let e=l.getAttribute("href");if(e&&e.includes("?p=")){t.preventDefault();try{let e=new URL(l.href).searchParams.get("p");if(e){let t=document.getElementById(e);t&&(t.scrollIntoView({behavior:"smooth",block:"center"}),t.style.transition="background-color 0.5s",t.style.backgroundColor="#ffffcc",setTimeout(()=>{t.style.backgroundColor=""},1e3))}}catch(e){console.error("Error parsing key event link:",e)}}}};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}},[]);let F=()=>{if(!E.current&&window.NcPosts){if(!window.NcLiveCenterExtensions)return void setTimeout(F,200);if(N.current&&C.current&&A.current){E.current=!0,A.current.innerHTML="";try{window.NcPosts.start({channelId:Number(l),tenantKey:y,container:N.current,keyEventsContainer:A.current,extensionContainer:window.NcLiveCenterExtensions,showMoreElement:C.current,baseUrl:"https://livecenter.norkon.net/",wsBaseUrl:"wss://livecenterws.norkon.net/"})}catch(e){console.error("LiveCenter failed to start:",e),E.current=!1}}}};return(0,r.useEffect)(()=>{F()},[l,y]),(0,a.jsxs)("div",{ref:j,className:"article-right max-w-[345px] min-h-96 tablet:max-w-[615px] bg-gray-200 rounded-[5px] my-4 font-ibm-sans clear-both flex flex-col",children:[(0,a.jsx)("div",{id:"key-events-container",ref:A,className:"order-1 mb-4 w-full bg-white rounded-t-[5px]"}),(0,a.jsx)("div",{ref:k,className:"top-ad-slot order-2 my-4 w-full flex justify-center"}),(0,a.jsxs)("div",{className:"lc-feed-container order-3",children:[(0,a.jsx)("div",{id:"master-container",ref:N,style:{maxWidth:580}}),(0,a.jsx)("div",{style:{textAlign:"center"},children:(0,a.jsx)("button",{id:"lc-load-more",ref:C,className:"lc-load-more",children:"Load more"})})]}),(0,a.jsx)("div",{ref:S,className:"bottom-ad-slot order-4 mt-4 w-full flex justify-center"}),(0,a.jsx)(n.default,{src:"https://livecenter.norkon.net/scripts/ncposts/ncposts-6.1.1.min.js",strategy:"afterInteractive",onLoad:F}),(0,a.jsx)(n.default,{src:"https://livecentercdn.norkon.net/LiveCenter/ExtensionJs/".concat(y),strategy:"afterInteractive",onLoad:F})]})}},3531:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/Quiz-2.dae84161.svg",height:54,width:55,blurWidth:0,blurHeight:0}},3699:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/pinterest.46bd9067.svg",height:24,width:24,blurWidth:0,blurHeight:0}},3752:(e,t,l)=>{l.d(t,{default:()=>w});var a=l(5155),r=l(6766),n=l(2115);let s={src:"/_next/static/media/hamburger_mobile.9dc79f9e.svg",height:14,width:27,blurWidth:0,blurHeight:0};var i=l(6874),o=l.n(i);function c(e){var t,l;let{item:r}
1=e,[s,i]=(0,n.useState)(!1),c=null!=(l=null==r||null==(t=r.childItems)?void 0:t.nodes)?l:[],d="accordion-clip-".concat(r.databaseId);return(0,a.jsxs)("div",{className:"bg-transparent w-full flex flex-col text-[var(--page-bg)] border-b-[0.5px] border-white",children:[(0,a.jsxs)("div",{className:"w-full flex items-center justify-between py-[6px]",children:[(0,a.jsx)(o(),{href:r.url||"#",className:"text-left font-rhode font-medium text-[28px] uppercase translate-y-[3px]",children:r.label}),(0,a.jsx)("button",{onClick:()=>i(e=>!e),"aria-expanded":s,"aria-controls":"panel-".concat(r.databaseId),"aria-label":"Toggle ".concat(r.label," subcategories"),className:"p-1",children:(0,a.jsxs)("svg",{className:"w-4 h-[17px] mr-[19px] transform transition-transform ".concat(s?"rotate-180":""),viewBox:"0 0 17 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,a.jsx)("g",{clipPath:"url(#".concat(d,")"),children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8135 1.11378C17.0697 0.852971 17.0604 0.446292 16.7949 0.194327C16.5293 -0.0576376 16.1007 -0.0664785 15.8258 0.176645L8.37174 7.24934L1.17854 0.176645C0.903671 -0.0664783 0.47506 -0.0576374 0.209507 0.194327C-0.0560455 0.446292 -0.0653629 0.852972 0.190872 1.11378L8.37174 8.99983L16.8135 1.11378Z",fill:"white"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:d,children:(0,a.jsx)("rect",{width:"9",height:"17",fill:"white",transform:"translate(17) rotate(90)"})})})]})})]}),(0,a.jsx)("div",{id:"panel-".concat(r.databaseId),className:"overflow-hidden transition-all duration-300 \n ".concat(s?"max-h-[800px] opacity-100":"max-h-0 opacity-0"),children:(0,a.jsx)("div",{className:" pb-[13px] flex flex-col",children:c.length>0?(0,a.jsx)("ul",{className:"space-y-3",children:c.map(e=>{var t,l;return null==(l=e.childItems)||null==(t=l.nodes)||t.length,(0,a.jsx)("li",{children:(0,a.jsx)(o(),{href:e.url||"#",className:"block hover:underline text-left focus:underline focus:outline-none font-ibm-sans text-[14px] leading-[14px] font-medium",children:e.label})},e.databaseId)})}):null})})]})}var d=l(7525);let u=e=>{let{hdr:t,colors:l}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-[28px]",children:[(0,a.jsxs)("div",{className:"font-ibm-sans text-[16px] leading-[14px] space-y-3 text-left font-semibold",children:[(0,a.jsx)(o(),{href:(null==t?void 0:t.rightUrl1)||"/",className:"block hover:underline focus:underline",style:{color:(null==l?void 0:l.rightText1)||"#FFC627"},children:null==t?void 0:t.rightText1}),(0,a.jsx)(o(),{href:(null==t?void 0:t.rightUrl2)||"/",className:"block hover:underline focus:underline",style:{color:(null==l?void 0:l.rightText2)||"#FFC627"},children:null==t?void 0:t.rightText2})]}),(0,a.jsxs)("div",{className:"font-ibm-sans text-[var(--page-bg)] text-[14px] leading-[14px] space-y-3 font-normal",children:[(0,a.jsx)(o(),{href:"/about",className:"block hover:underline focus:underline text-left",children:"About us"}),(0,a.jsx)(o(),{href:"/privacy-policy",className:"block hover:underline focus:underline text-left",children:"Privacy policy"}),(0,a.jsx)(o(),{href:"/cookie-policy",className:"block hover:underline focus:underline text-left",children:"Cookie policy"}),(0,a.jsx)(o(),{href:"/terms-and-conditions",className:"block hover:underline focus:underline text-left",children:"Terms & conditions"}),(0,a.jsx)(o(),{href:"/contact",className:"block hover:underline focus:underline text-left",children:"Contact us"})]})]})};var m=l(7021),x=l(326);let h={src:"/_next/static/media/tiktok.81b04bd0.svg",height:21,width:19,blurWidth:0,blurHeight:0};var p=l(6416),b=l(3932);let g=e=>{var t,l,n,s,i;let{socials:c}=e,d=[{key:"facebook",label:"Facebook",href:null!=(t=null==c?void 0:c.facebook)?t:"",img:m.default,className:"h-[19px] w-[11px]"},{key:"instagram",label:"Instagram",href:null!=(l=null==c?void 0:c.instagram)?l:"",img:b.default,className:"h-[22px] w-[21px]"},{key:"tiktok",label:"TikTok",href:null!=(n=null==c?void 0:c.tiktok)?n:"",img:h,className:"h-5 w-[17px]"},{key:"youtube",label:"YouTube",href:null!=(s=null==c?void 0:c.youtube)?s:"",img:x.default,className:"h-5 w-[28px]"},{key:"x",label:"X",href:null!=(i=null==c?void 0:c.x)?i:"",img:p.default,className:"h-5 w-[23px]"}].filter(e=>!!e.href);return 0===d.length?null:(0,a.jsx)("div",{className:"flex flex-row justify-between my-4 w-[278px]",children:d.map(e=>(0,a.jsx)(o(),{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":e.label,title:e.label,className:"hover:opacity-80 transition-opacity",children:(0,a.jsx)(r.default,{src:e.img,alt:"".concat(e.label," icon"),width:24,height:24,className:e.className})},e.key))})};var f=l(5695);let v=e=>{var t;let{isOpen:l,isClosed:s,data:i,headerStyle:o,hdr:m,colors:x,siteName:h,footerSocials:p}
1=e,b=(0,f.useRouter)(),[v,w]=(0,n.useState)(""),[y,j]=(0,n.useTransition)(),A=null==x||null==(t=x.palette)?void 0:t.footerEventbackground,N=()=>{let e=v.trim();e&&!y&&j(()=>{b.push("/search?q=".concat(encodeURIComponent(e)))})};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{onClick:s,"aria-hidden":l?"false":"true",className:"fixed inset-0 z-50 tablet:hidden bottom-0 no-scrollbar transition-opacity duration-300 \n ".concat(l?"bg-black/50 opacity-100":"opacity-0 pointer-events-none")}),(0,a.jsx)("aside",{role:"dialog","aria-modal":"true",className:"fixed no-scrollbar tablet:hidden top-0 left-0 z-[9999] h-screen w-[313px] overflow-y-auto\n transform transition-transform duration-300 ease-out\n ".concat(l?"translate-x-0":"-translate-x-full"),style:{background:A},children:(0,a.jsxs)("div",{className:"grid gap-[28px] h-full grid-rows-[auto_auto_auto_1fr] [&>*:last-child]:self-end pl-4 pt-[21px] pb-4 transition-opacity duration-200 delay-150\n ".concat(l?"opacity-100":"opacity-0"),children:[(0,a.jsx)("button",{onClick:s,className:"text-white font-bold rounded-full w-[39px] h-[39px] flex justify-center items-center cursor-pointer",style:{background:(null==o?void 0:o.hamburgerColor)||"#132428"},"aria-label":"Close menu",title:"Close",children:(0,a.jsxs)("svg",{viewBox:"0 0 24 24",className:"w-8 h-8","aria-hidden":"true",fill:"none",style:{color:(null==o?void 0:o.navbarBg)||"#FFFFFF"},stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M6 6l12 12"}),(0,a.jsx)("path",{d:"M18 6l-12 12"})]})}),(0,a.jsx)("div",{children:Array.isArray(i)&&i.map(e=>{var t;let l=(null==(t=e.childItems)?void 0:t.nodes)?[...e.childItems.nodes]:[];return l.unshift({databaseId:-e.databaseId,label:"View all ".concat(e.label),url:e.url,childItems:{nodes:[]}}),(0,a.jsx)(c,{item:{...e,childItems:{nodes:l}}},e.databaseId)})}),(0,a.jsxs)("div",{className:"w-[278px] relative",children:[(0,a.jsx)(r.default,{src:d.A,alt:"Loop Img","aria-hidden":"true",width:16,height:16,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2"}),(0,a.jsx)("input",{id:"sidebar-search",type:"text",placeholder:"Search ".concat(h||"JOE"),"aria-label":"Search ".concat(h||"JOE"),value:v,onChange:e=>w(e.target.value),onKeyDown:e=>{if("Enter"===e.key){if(e.repeat)return;e.preventDefault(),N()}"Escape"===e.key&&w("")},className:"h-[38px] w-full bg-white rounded-[40px] pl-9 pr-10 text-[#132428] placeholder:text-[#132428] focus:outline-none"}),(0,a.jsx)("button",{type:"button","aria-label":"Submit search",onClick:N,disabled:y,className:"absolute right-2 top-1/2 -translate-y-1/2",children:(0,a.jsx)("div",{className:"w-7 h-7 pl-1 flex justify-center items-center rounded-full",style:{background:(null==o?void 0:o.hamburgerColor)||"#132428"},children:(0,a.jsxs)("svg",{viewBox:"0 0 24 24",className:"w-5 h-5",style:{color:(null==o?void 0:o.navbarBg)||"#FFFFFF"},"aria-hidden":"true",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M3 12h14"}),(0,a.jsx)("path",{d:"M12 6l6 6-6 6"})]})})})]}),(0,a.jsx)(u,{hdr:m,colors:x}),(0,a.jsx)("div",{}),(0,a.jsx)(g,{socials:p})]})})]})};function w(e){let{color:t,primaryMenu:l=[],headerStyle:i,hdr:o,colors:c,siteName:d,footerSocials:u}=e,[m,x]=(0,n.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{onClick:()=>x(!0),className:"flex lg:pt-[31px] w-[42px] h-[42px] items-center justify-center rounded-full ml-auto mt-2 tablet:hidden cursor-pointer",style:{background:(null==i?void 0:i.hamburgerColor)||"#132428"},children:(0,a.jsx)(r.default,{src:s,alt:"Joe media uk hamburger menu"})}),m&&(0,a.jsx)(v,{isOpen:m,isClosed:()=>x(!1),data:l,headerStyle:i,hdr:o,colors:c,siteName:d,footerSocials:u})]})}},3928:(e,t,l)=>{l.d(t,{Skyplayer:()=>i});var a=l(5155),r=l(2115);async function n(e){if(!(null==e?void 0:e.url))return;let t=e.url.replace(/^http:\/\//i,"https://");await new Promise((e,l)=>{if(document.querySelector('script[src="'.concat(t,'"]')))return e();let a=document.createElement("script");a.src=t,a.async=!0,a.onload=()=>e(),a.onerror=()=>l(Error("Failed to load script: ".concat(t))),document.head.appendChild(a)})}async function s(e,t,l){let a=new URLSearchParams({categories:t.join(","),domain:l}),r="".concat(e,"?").concat(a.toString()),n=await fetch(r,{credentials:"omit",cache:"no-store"});if(!n.ok)throw Error("Endpoint ".concat(e," returned ").concat(n.status));let s=await n.json(),i=null==s?void 0:s.zoneId;return"string"==typeof i&&i.trim()?i.trim():null}let i=e=>{let{decision:t,className:l}=e,i=(0,r.useRef)(!1);if(!t||!0!==t.allow)return null;let{containerId:o,peer39:c,endpoint:d,domainOverride:u,fluid:m,categories:x=[],overrideZoneId:h}=t;return(0,r.useEffect)(()=>
1{if(i.current)return;let e=document.getElementById(o);if(!e)return;let l=u||window.location.hostname,a=async()=>{try{await n(c);let t=null!=h?h:await s(d,x,l);if(!t)throw Error("Missing zoneId from endpoint response");let a=document.createElement("ins");a.setAttribute("data-fluid-zoneid",t),a.setAttribute("data-fluid-id",m.dataId),e.appendChild(a);let r=document.createElement("script");r.async=!0,r.src=m.src,e.appendChild(r),i.current=!0}catch(e){}};if(t.lazy){let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(t.disconnect(),a())},{rootMargin:"500px 0px"});return t.observe(e),()=>t.disconnect()}a()},[null==t?void 0:t.lazy,o,d,u,h,null==c?void 0:c.url,m.src,m.dataId,JSON.stringify((null==t?void 0:t.categories)||[])]),(0,a.jsx)("div",{id:o,className:" ".concat(null!=l?l:"")})}},3932:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/insta.9352f140.svg",height:23,width:23,blurWidth:0,blurHeight:0}},4072:(e,t,l)=>{l.d(t,{z:()=>a});let a=(e,t)=>{let l=(e||"").trim();return l.length>t?"".concat(l.slice(0,t),"..."):l}},4296:(e,t,l)=>{l.d(t,{BreakingNewsComponent:()=>i});var a=l(5155),r=l(6874),n=l.n(r),s=l(2934);let i=e=>{let{attributes:t,styles:l,settingsColor:r}=e,{label:i,articles:o}=t,c=(null==r?void 0:r.breakingBg)||"#BB3B80",d=[...o,...o,...o,...o,...o,...o,...o,...o];return(0,a.jsxs)("div",{className:"w-full overflow-hidden font-rhode ",style:{backgroundColor:c},role:"region","aria-label":"Breaking news",children:[(0,a.jsx)("div",{className:"relative pause-on-hover",children:(0,a.jsx)("div",{className:"marquee flex items-center gap-4 h-[37px] tablet:h-[44px] whitespace-nowrap",style:{animationDuration:"".concat(35,"s")},children:d.map((e,t)=>{let l=t>=o.length;return(0,a.jsxs)("div",{className:"flex items-center gap-4 text-[24px] leading-[24px] text-center font-medium pt-1 font-rhode","aria-hidden":l,children:[(0,a.jsx)("span",{className:"uppercase ",style:{color:(null==r?void 0:r.breakingHeadline)||"#FFC627"},children:i}),(0,a.jsx)(n(),{href:e.url,className:"focus:outline-none uppercase font-medium font-rhode hover:text-[#FBEECB]","aria-label":"Breaking news: ".concat(e.title),style:{color:(null==r?void 0:r.breakingText)||"#FFFFFF"},children:(0,s.Q)(e.title)})]},"".concat(t,"-").concat(e.url))})})}),(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n /* Move the track left by exactly half its own width, then loop */\n @keyframes marquee-scroll {\n 0% { transform: translateX(0); }\n 100% { transform: translateX(-30%); }\n }\n\n .marquee {\n /* The track is the width of all children; duplicating content\n makes it 2x the width of a single set, so -50% loops perfectly */\n width: max-content;\n animation-name: marquee-scroll;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n animation-play-state: running;\n }\n\n /* Respect users who prefer reduced motion */\n @media (prefers-reduced-motion: reduce) {\n .marquee {\n animation: none !important;\n transform: none !important;\n }\n }\n "}})]})}},4495:(e,t,l)=>{l.d(t,{A:()=>s});var a=l(5155),r=l(2115),n=l(7684);function s(e){let{open:t,onClose:l,source:s,videoId:i,spotifyUrl:o,autoplay:c=!0,bbwEmbedBase:d="https://greencastlemediagroup.bbvms.com",bbwPlayout:u}=e;if((0,r.useEffect)(()=>{if(!t)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[t]),!t)return null;let m="spotify"===s;return(0,a.jsx)("div",{className:"fixed inset-0 z-[1000] bg-black/70 backdrop-blur-sm flex items-center justify-center p-4",role:"dialog","aria-modal":"true",onClick:l,children:(0,a.jsxs)("div",{className:["relative w-full max-w-5xl bg-black rounded-xl overflow-hidden",m?"max-w-xl":"aspect-video"].join(" "),onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("button",{"aria-label":"Close",onClick:l,className:"absolute top-3 right-3 z-10 rounded-full bg-white/90 hover:bg-white px-3 py-1 text-black text-sm",children:"â"}),m?(0,a.jsx)("div",{className:"p-4 bg-black",children:o?(0,a.jsx)("iframe",{src:function(e){if(e.includes("open.spotify.com/embed/"))return e;try{let t=new URL(e);if(t.hostname.includes("open.spotify.com")){let e=t.pathname.split("/").filter(
1Boolean);if(e.length>=2){let[t,l]=e;return"https://open.spotify.com/embed/".concat(t,"/").concat(l)}}}catch(e){}return e}(o),width:"100%",height:"152",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy",className:"rounded"}):(0,a.jsx)("div",{className:"text-white text-sm p-6",children:"Missing spotifyUrl for spotify source."})}):(0,a.jsx)(n.A,{videoId:null!=i?i:"",source:s,autoplay:c,bbwEmbedBase:d,bbwPlayout:u,className:"w-full h-full"})]})})}},4537:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/all-videos-icon.2c62b9d2.svg",height:33,width:32,blurWidth:0,blurHeight:0}},4844:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/article.3aedcded.png",height:117,width:220,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAS1BMVEVzUz1hP1nExpzGq4zk04/ksYuzkG+bgDLBr1Gijj6MTWaupXGkgV/HvnyNaUiFbSe9qEOpnlPwxqGslUW4ZnOMaSukl2PelILy55vW58N0AAAAAXRSTlP9g+pWxwAAAAlwSFlzAAALEwAACxMBAJqcGAAAACxJREFUeJxjYBViFRfhYmRgEGORYGFm4+Fj4OQQ5mDi5RBgEGVn5+QWZOcHABhnAV2VFjYzAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},5024:(e,t,l)=>{l.d(t,{default:()=>o});var a=l(5155),r=l(5695),n=l(3072),s=l(2545),i=l(5636);function o(e){var t,l,o,c,d;let{primaryMenu:u=[],secondaryMenu:m=[],isArticle:x,adsOn:h=!1,styles:p,headerStyle:b,header:g,submenuStyle:f,globalHoverColor:v,categoryColors:w,searchData:y,initialQuery:j,searchIconColor:A,siteName:N,hardCodedHover:C,hardCodedBackToTopAndHeaderButton:k}=e,S=(0,r.usePathname)()||"/",E=(0,i.F)(S),F=u.findIndex(e=>{var t,l;let a=(0,i.F)(e.url);return"/"===a?"/"===E:!!E.startsWith(a)||(null!=(l=null==(t=e.childItems)?void 0:t.nodes)?l:[]).some(e=>E.startsWith((0,i.F)(e.url)))}),I=F>=0&&F<u.length?u[F]:null,B=!!(null==I||null==(l=I.childItems)||null==(t=l.nodes)?void 0:t.length);return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)(s.Ay,{activeIdx:F,items:u,secondaryMenu:m,isArticle:x,adsOn:h,styles:p,headerStyle:b,header:g,globalHoverColor:v,categoryColors:w,searchIconColor:A,siteName:N,hardCodedHover:C,hardCodedBackToTopAndHeaderButton:k}),B&&(0,a.jsx)(n.A,{subcategories:null!=(d=null==I||null==(c=I.childItems)||null==(o=c.nodes)?void 0:o.map(e=>({label:e.label,href:e.url||"#"})))?d:[],parentLabel:null==I?void 0:I.label,isArticle:x,adsOn:h,submenuStyle:f,categoryColors:w})]})}},5323:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/linkedin.7b5ce919.svg",height:24,width:24,blurWidth:0,blurHeight:0}},5339:(e,t,l)=>{l.r(t),l.d(t,{Slider:()=>d});var a=l(5155),r=l(6766),n=l(2115),s=l(7562),i=l(5559);function o(e){let{headTitle:t,adsOn:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"my-[10px] border-t-[0.5px] border-b-[0.5px] 1100:border-b-0 1100:border-r-[0.5px] 1100:border-l-[0.5px] text-[#132428] section-wide uppercase 660:h-6 970:h-[34px] ".concat(l?"":"xl:-mb-[24px]"," "),children:(0,a.jsx)("span",{className:"block text-[22px] leading-6 1100:text-[30px] mt-[6px] 1100:mt-3 mb-1 font-rhode font-medium text-[#132428] 1100:ml-[7px]",children:t})})})}var c=l(4072);let d=e=>{let{children:t,perPage:l=3,className:d="",title:u,isTablet:m,adsOn:x=!1}=e,h=t.length,p=Math.ceil(h/l),[b,g]=(0,n.useState)(0),f=0===b,v=b>=Math.max(0,p-1),w=(0,n.useMemo)(()=>{let e=[];for(let a=0;a<h;a+=l)e.push(t.slice(a,a+l));return e},[t,l,h]),y=m?h>3:h>4;return(0,a.jsxs)("div",{className:"p-[15px]",children:[(0,a.jsx)(o,{headTitle:(0,c.z)(u,15)||"Joe Tries",adsOn:x}),(0,a.jsxs)("div",{className:"relative 970:px-0 pb-20 section-narrow ".concat(d),children:[(0,a.jsx)("div",{className:"overflow-hidden",children:(0,a.jsx)("div",{className:"flex transition-transform duration-500 ease-out",style:{transform:"translateX(-".concat(100*b,"%)")},children:w.map((e,t)=>{let l=e.length;return(0,a.jsx)("div",{className:"flex-shrink-0 w-full flex ".concat(4===l?"justify-between":"justify-center gap-4"),children:e.map((e,t)=>(0,a.jsx)("div",{children:e},t))},t)})})}),y&&(0,a.jsx)("div",{className:"absolute bottom-8 left-1/2 transform -translate-x-1/2 flex space-x-1",children:w.map((e,t)=>(0,a.jsx)("button",{onClick:()=>g(t),className:"h-[7px] w-[7px] rounded-full ".concat(t===b?"bg-yellow-500":"bg-gray-300"),"aria-label":"Go to slide ".concat(t+1)},t))}),y&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{onClick:()=>{f||g(e=>e-1)},"aria-label":"Previous",disabled:f,className:"absolute bottom-8 right-12 h-[21px] w-[21px] flex items-center justify-center rounded-full\n ".concat(f?"bg-white text-gray-800 opacity-50 cursor-not-allowed border border-[#132428]":"bg-[#132428] text-white hover:bg-gray-700"),children:(0,a.jsx)(r.default,{src:f?s.A:i.A,alt:"Previous",width:10,height:6,className:"w-[10px] h-2 object-contain ".concat(f?"":"rotate-180")}
1)}),(0,a.jsx)("button",{onClick:()=>{v||g(e=>e+1)},"aria-label":"Next",disabled:v,className:"absolute bottom-8 right-4 h-[21px] w-[21px] flex items-center justify-center rounded-full\n ".concat(v?"bg-white text-[#132428] opacity-50 cursor-not-allowed border border-[#132428]":"bg-[#132428] text-white hover:bg-gray-700"),children:(0,a.jsx)(r.default,{src:v?s.A:i.A,alt:"Next",width:10,height:6,className:"w-[10px] h-2 object-contain ".concat(v?"rotate-180":"")})})]})]})]})}},5497:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/soundcloud.b2a9bc7c.svg",height:24,width:24,blurWidth:0,blurHeight:0}},5559:(e,t,l)=>{l.d(t,{A:()=>a});let a={src:"/_next/static/media/right-arrow.c607aec6.svg",height:10,width:6,blurWidth:0,blurHeight:0}},5633:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/myspace.b2ba1451.svg",height:24,width:24,blurWidth:0,blurHeight:0}},5636:(e,t,l)=>{l.d(t,{F:()=>a});let a=e=>{if(!e)return"/";try{return(new URL(e).pathname||"/").replace(/\/+$/,"")||"/"}catch(t){return e.replace(/^https?:\/\/[^/]+/,"").replace(/\/+$/,"")||"/"}}},5667:(e,t,l)=>{l.d(t,{PostTitle:()=>p});var a=l(5155),r=l(6766);let n={src:"/_next/static/media/share-icon.b259914d.svg",height:9,width:9,blurWidth:0,blurHeight:0},s={src:"/_next/static/media/copy-icon.8b4bfd00.svg",height:1080,width:1080,blurWidth:0,blurHeight:0};function i(e){let{fill:t="#132428",...l}=e;return(0,a.jsx)("svg",{viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...l,children:(0,a.jsx)("polygon",{points:"100,10 40,198 190,78 10,78 160,198",style:{fill:t}})})}function o(e){let{stars:t,total:l=5,filledColor:r,emptyColor:n,className:s}=e,o=Math.max(0,Math.min(t,l));return(0,a.jsx)("div",{className:s,role:"img","aria-label":"".concat(o," out of ").concat(l," stars"),children:Array.from({length:l}).map((e,t)=>(0,a.jsx)(i,{className:"w-4 h-4 ms-1 inline-block align-middle",fill:t<o?r:n},t))})}var c=l(2115);function d(e){var t,l,r,n;let{isOpen:s,onClose:i,children:o,categoryData:c}=e;return s?(0,a.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm",onClick:i,children:(0,a.jsxs)("div",{className:"p-6 rounded-2xl shadow-lg w-full max-w-md relative mx-2",style:{background:null!=(t=null==c?void 0:c.dark)?t:"black",color:null!=(l=null==c?void 0:c.light)?l:"white"},onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("button",{onClick:i,className:"absolute top-3 right-3 hover:text-gray-80 cursor-pointer",style:{background:null!=(r=null==c?void 0:c.dark)?r:"black",color:null!=(n=null==c?void 0:c.light)?n:"white"},children:"â"}),o]})}):null}var u=l(6416),m=l(7021),x=l(6874),h=l.n(x);let p=e=>{let{attributes:t,categoryData:l,isEntertainment:i,stars:x=4,title:p,adsOn:b}=e,{category:g,dark:f,medium:v,light:w}=l,[y,j]=(0,c.useState)(!1),A=(null!=p?p:"").trim()||" ",[N,C]=(0,c.useState)(""),[k,S]=(0,c.useState)(!1);(0,c.useEffect)(()=>{C(window.location.href)},[]);let E={twitter:"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(N),"&text=").concat(encodeURIComponent(null!=p?p:"")),facebook:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(N))};return(0,a.jsxs)("div",{className:"w-full 970:w-[658px] pt-[15px] 970:p-[21px] px-[15px] pb-2 mx-auto min-h-[163px] flex flex-col ".concat(b?" ":"1100:w-[640px]"," ").concat(i?"tablet:min-h-[254px]":"tablet:h-[203px]"),style:{backgroundColor:null!=f?f:void 0,color:"#FFFFFF"},children:[(0,a.jsxs)("div",{className:"flex items-start mb-4 flex-row justify-between",children:[(0,a.jsx)("span",{style:{color:null!=w?w:void 0},className:"fp-category uppercase text-[22px] leading-6 font-bold font-rhode",children:g}),(0,a.jsxs)("div",{onClick:()=>j(!0),className:"flex flex-row items-center gap-2 cursor-pointer",children:[(0,a.jsx)(r.default,{src:n,alt:"Share icon",title:"Share icon",width:9,height:9}),(0,a.jsx)("p",{style:{color:null!=w?w:void 0},className:"text-[10px] leading-4 font-medium font-ibm-sans",children:"Share"})]})]}),i&&(0,a.jsx)("div",{className:"flex items-center justify-center h-[33px] w-[118px] tablet:h-[21px] bg-gradient-to-r",style:{backgroundColor:null!=v?v:void 0,borderRadius:"5px"},children:(0,a.jsx)(o,{stars:x,total:5,filledColor:null!=f?f:"#FFD700",emptyColor:null!=w?w:"#D1D5DB",className:"flex items-center"})}),(0,a.jsx)("div",{className:"flex items-end h-auto mt-auto",children:(0,a.jsx)("h1",{className:"fp-title text-[26px] items-end leading-[28px] text-[var(--page-bg)] tablet:text-[36px] tablet:leading-10 pb-0 font-ibm-sans font-black tablet:line-clamp-3 line-clamp-7 max-w-[619px] ".concat(i?"mt-8":""),children:A})}),(0,a.jsxs)(d,{isOpen:y,onClose:()=>j(!1),categoryData:l,children:[(0,a.jsx)("p",{className:"text-xl font-ibm-sans font-semibold mb-4",children:"Share to:"}),(0,a.jsxs)("div",{className:"flex gap-3 mb-4 cursor-pointer",children:[(0,a.jsx)("div",{className:"p-4 w-16 h-16 rounded-lg flex items-center justify-center",style:{backgroundColor:null!=f?f:"black"},children:(0,a.jsx)(h(),{href:E.twitter,target:"_blank",className:"h-full w-full justify-center",children:(0,a.jsx)(r.default,{src:u.default,alt:"Logo",title:"X icon",width:20,height:20,className:"h-full w-auto"})})}),(0,a.jsx)("div",{className:" p-4 w-16 h-16 rounded-lg flex items-center justify-center",style:{backgroundColor:null!=f?f:"black"},children:(0,a.jsx)(h(),{href:E.facebook,target:"_blank",className:"h-full justify-center",children:(0,a.jsx)(r.default,{src:m.default,alt:"Logo",title:"Facebook icon",width:20,height:20,className:"h-full w-auto"})})}),(0,a.jsxs)("div",{onClick:()=>{navigator.clipboard.writeText(N),S(!0),setTimeout(()=>S(!1),1200)},className:"p-4 w-16 h-16 rounded-lg flex flex-col items-center justify-center cursor-pointer active:scale-95 transition",style:{backgroundColor:null!=f?f:"black"},children:[!k&&(0,a.jsx)(r.default,{src:s,alt:"Copy link",title:"Copy link",width:20,height:20,className:"h-full w-auto"}),k&&(0,a.jsx)("span",{className:"text-[10px] text-white mt-1 opacity-90",children:"Copied!"})]})]}),(0,a.jsx)("button",{onClick:()=>j(!1),className:"px-4 py-2 rounded-lg cursor-pointer",style:{backgroundColor:null!=w?w:void 0,color:null!=f?f:void 0},children:"Close"})]})]})}},5821:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/video-channels-icon.3a3d3119.svg",height:13,width:12,blurWidth:0,blurHeight:0}},5914:(e,t,l)=>{l.d(t,{default:()=>o});var a=l(5155),r=l(2115),n=l(5028),s=l(3101);let i=(0,n.default)(()=>Promise.resolve().then(l.bind(l,1905)).then(e=>
1e.VideoCarousel),{loadableGenerated:{webpack:()=>[1905]},ssr:!1});function o(e){let{attributes:t,isArticle:l,styles:n,isVideo:o=!1,textColorVideoCarousel:c,bbwPlayoutCtp:d,bbwPlayoutAutoplay:u}=e,[m,x]=(0,r.useState)(!1);return m?(0,a.jsx)(i,{attributes:t,isArticle:l,isVideo:o,styles:n,textColorVideoCarousel:c,bbwPlayoutCtp:d,bbwPlayoutAutoplay:u}):(0,a.jsx)(s.default,{onVisible:()=>{window.requestIdleCallback?requestIdleCallback(()=>x(!0),{timeout:1200}):setTimeout(()=>x(!0),180)},placeholder:(0,a.jsx)("div",{className:"w-full",style:{aspectRatio:"16 / 9",background:"rgba(0,0,0,0.06)",borderRadius:8},"aria-label":"Loading video carouselâ¦"})})}},5993:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/BoyleSports_logo.1809f0d8.svg",height:32,width:83,blurWidth:0,blurHeight:0}},6410:(e,t,l)=>{l.d(t,{StickyMobileSkin:()=>n});var a=l(5155),r=l(613);let n=e=>{let{placement:t,pathname:l}=e;return(0,a.jsx)("div",{className:"flex xl:hidden justify-center items-center w-full fixed bottom-0 left-0 h-20 shadow-lg z-50 p-2 bg-transparent",children:(0,a.jsx)(r.AdSlot,{placement:t,className:"w-full h-full",pathname:l})})}},6416:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/twitter.c794ad54.svg",height:21,width:25,blurWidth:0,blurHeight:0}},6441:(e,t,l)=>{l.d(t,{RightSkin:()=>n});var a=l(5155),r=l(613);let n=e=>{let{placement:t,pathname:l}=e;return(0,a.jsx)("div",{className:"h-[750px] hidden xl:flex justify-center w-[240px] relative",children:(0,a.jsx)(r.AdSlot,{placement:t,className:"w-[240px] h-full",pathname:l})})}},6532:(e,t,l)=>{l.d(t,{NewsletterSignupForm:()=>u});var a=l(5155),r=l(2115);let n=e=>{let{label:t,id:l,error:r,requiredMark:n,...s}=e;return(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("label",{className:"flex items-start cursor-pointer group",children:[(0,a.jsx)("div",{className:"flex items-center h-6",children:(0,a.jsx)("input",{id:l,name:l,type:"checkbox",className:" h-6 w-6 rounded-md border-2 border-gray-400 text-black bg-white/60 focus:ring-black focus:ring-offset-0 cursor-pointer transition-all duration-200 ease-in-out group-hover:border-gray-900 ",...s})}),(0,a.jsxs)("div",{className:"ml-4 text-base font-medium text-gray-900 leading-6 select-none group-hover:text-black transition-colors",children:[t," ",n&&(0,a.jsx)("span",{className:"text-red-600 relative -top-1",children:"*"})]})]}),r&&(0,a.jsxs)("p",{className:"text-xs text-red-600 font-bold ml-10 animate-in slide-in-from-top-1",children:["⢠",r]})]})},s=e=>{let{label:t,id:l,error:r,...n}=e;return(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:l,className:"block text-sm font-bold text-gray-900 tracking-wide ml-1",children:t}),(0,a.jsx)("div",{className:"relative",children:(0,a.jsx)("input",{id:l,name:l,"aria-invalid":!!r,className:"\n block w-full rounded-2xl border-0 py-4 px-5 text-gray-900 shadow-sm \n bg-white/50 \n ring-1 ring-inset ring-black/5 placeholder:text-gray-500 \n focus:ring-2 focus:ring-inset focus:ring-black focus:bg-white/80\n transition-all duration-200 ease-in-out\n ".concat(r?"ring-red-300 focus:ring-red-500 bg-red-50/50":"","\n "),...n})}),r&&(0,a.jsxs)("p",{className:"text-xs text-red-600 font-bold ml-1 flex items-center gap-1 animate-in slide-in-from-top-1",children:["⢠",r]})]})};var i=l(6874),o=l.n(i);let c=e=>{let{firstName:t}=e;return(0,a.jsx)("div",{className:"flex items-center justify-center p-4",children:(0,a.jsxs)("div",{className:"w-full max-w-2xl backdrop-blur-xl bg-white/30 rounded-3xl shadow-[0_20px_50px_rgba(0,0,0,0.2)] p-8 md:p-12 text-center space-y-8 animate-in fade-in zoom-in duration-500 border border-white/40",children:[(0,a.jsxs)("header",{className:"space-y-2",children:[(0,a.jsxs)("h2",{className:"text-3xl font-black text-gray-900 tracking-tight",children:["Almost there, ",t,"!"]}),(0,a.jsx)("p",{className:"text-gray-800 font-bold",children:"Confirm your subscription to Lovin Dublin below:"})]}),(0,a.jsx)("div",{className:"flex justify-center overflow-hidden rounded-2xl border border-white/20 shadow-inner bg-white/10 p-2",children:(0,a.jsx)("iframe",{src:"https://lovindublin.substack.com/embed",width:"480",height:"320",style:{border:"none",background:"white",borderRadius:"12px"},frameBorder:"0",scrolling:"no",title:"Substack Embed",className:"max-w-full"})}),(0,a.jsx)("div",{className:"pt-4",children:(0,a.jsx)(o(),{href:"/",className:"inline-block bg-[#240202] text-[#FFF9D5] px-10 py-4 rounded-full cursor-pointer font-black text-lg hover:scale-105 transition-transform active:scale-95 shadow-lg shadow-black/20",children:"Go back home"})})]})})};async function d(e){let t={firstName:e.firstName,lastName:e.lastName,preferences:e.preferences,originUrl:e.originUrl};try{let e=await fetch("https://data.joemedia.group/api/saveNewsletter",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)}),l=await e.text();if(!e.ok)throw console.error("API Error Log:",l),Error("Server Error (".concat(e.status,")"));try{return JSON.parse(l)}catch(e){return{success:!0,message:l}}}catch(e){throw console.error("Critical Fetch Error:",e.message),Error(e.message||"Connection failed.")}}let u=()=>{let[e,t]=(0,r.useState)(!1),[l,i]=(0,r.useState)({firstName:"",lastName:"",ageVerification:!1,termsAccepted:!1,preferences:"",partnerOptIn:!1,originUrl:"",site:"her"}),[o,u]=(0,r.useState)({}),[m,x]=(0,r.useState)("idle"),[h,p]=(0,r.useState)("");(0,r.useEffect)(()=>{t(!0),i(e=>({...e,originUrl:window.location.origin}))},[]);let b=e=>{let{name:t,value:l,type:a,checked:r}=e.target,n="checkbox"===a?r:l;i(e=>({...e,[t]:n})),o[t]&&u(e=>{let l={...e};return delete l[t],l})},g=e=>{let t={};return e.firstName.trim()||(t.firstName="First name is required"),e.lastName.trim()||(t.lastName="Last name is required"),e.preferences.trim()||(t.preferences="Please share your interests"),e.ageVerification||(t.ageVerification="You must confirm you are 25+ to join."),e.termsAccepted||(t.termsAccepted="You must accept the T&Cs and Privacy Policy."),t};async function f(e){e.preventDefault();let t=g(l);
1if(Object.keys(t).length>0){u(t),x("error");return}x("submitting"),p("");try{let e={firstName:l.firstName.trim(),lastName:l.lastName.trim(),preferences:l.preferences.trim(),originUrl:l.originUrl};await d(e),x("success")}catch(e){x("error"),p(e instanceof Error?e.message:"Submission failed.")}}return e?"success"===m?(0,a.jsx)(c,{firstName:l.firstName}):(0,a.jsx)("div",{className:"flex items-center justify-center bg-cover bg-center",children:(0,a.jsxs)("div",{className:"relative w-full max-w-3xl bg-white/30 backdrop-blur-xl rounded-3xl shadow-[0_20px_50px_rgba(0,0,0,0.15)] overflow-hidden border border-white/40 font-sans",children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-1.5 bg-gradient-to-r from-yellow-400/80 via-orange-400/80 to-red-400/80"}),(0,a.jsxs)("form",{onSubmit:f,className:"p-8 md:p-12 space-y-8",children:[(0,a.jsx)("header",{className:"space-y-2 text-center",children:(0,a.jsx)("h2",{className:"text-3xl font-extrabold tracking-tight text-gray-900",children:"Join LovinDublin "})}),(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[(0,a.jsx)(s,{label:"First Name",id:"firstName",name:"firstName",value:l.firstName,onChange:b,error:o.firstName,autoComplete:"given-name"}),(0,a.jsx)(s,{label:"Last Name",id:"lastName",name:"lastName",value:l.lastName,onChange:b,error:o.lastName,autoComplete:"family-name"})]}),(0,a.jsx)(s,{label:"Tell us what parts of Dublin you want to hear about most",id:"preferences",name:"preferences",value:l.preferences,onChange:b,error:o.preferences,placeholder:""}),(0,a.jsx)("hr",{className:"border-black/5 my-6"}),(0,a.jsxs)("div",{className:"space-y-5",children:[(0,a.jsx)(n,{label:(0,a.jsxs)(a.Fragment,{children:["I confirm I am ",(0,a.jsx)("span",{className:"font-bold",children:"25 years or older"}),"."]}),id:"ageVerification",name:"ageVerification",checked:l.ageVerification,onChange:b,error:o.ageVerification,requiredMark:!0}),(0,a.jsx)(n,{label:(0,a.jsxs)("span",{className:"text-gray-800",children:["I have read and accept Lovin's"," ",(0,a.jsx)("a",{href:"/terms-and-conditions",target:"_blank",rel:"noopener noreferrer",className:"font-bold underline hover:text-black transition-colors",onClick:e=>e.stopPropagation(),children:"Term and Conditions"})," ","and"," ",(0,a.jsx)("a",{href:"/privacy-policy",target:"_blank",rel:"noopener noreferrer",className:"font-bold underline hover:text-black transition-colors",onClick:e=>e.stopPropagation(),children:"Privacy Policy"})]}),id:"termsAccepted",name:"termsAccepted",checked:l.termsAccepted,onChange:b,error:o.termsAccepted,requiredMark:!0})]})]}),"error"===m&&h&&(0,a.jsx)("div",{className:"p-4 rounded-2xl bg-red-500/20 backdrop-blur-md border border-red-500/20 text-red-900 text-sm font-bold text-center animate-in fade-in slide-in-from-top-1",children:h}),(0,a.jsx)("button",{type:"submit",disabled:"submitting"===m,className:"w-full py-4 px-6 rounded-full text-white font-bold text-lg bg-gradient-to-r from-gray-900 to-black cursor-pointer shadow-lg shadow-black/20 hover:shadow-xl hover:from-gray-800 hover:to-gray-900 focus:ring-4 focus:ring-gray-300 focus:outline-none disabled:opacity-70 disabled:cursor-not-allowed transition-all transform active:scale-[0.98]",children:"submitting"===m?(0,a.jsxs)("span",{className:"flex items-center justify-center gap-2",children:[(0,a.jsxs)("svg",{className:"animate-spin h-5 w-5 text-white",viewBox:"0 0 24 24",children:[(0,a.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,a.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Sending..."]}):"Sign Up Now"})]})]})}):null}},6831:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/camera.5e27b748.png",height:9,width:11,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAJFBMVEWZmZmenp6Xl5eZmZmWlpaXl5eZmZmZmZlMaXGZmZl/f3+kpKSDKY/ZAAAAC3RSTlP9/V2heo3T8QDmBMb3ptUAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAzSURBVHicFcXHEcBADAOxJSVdYv/9eowPOBbyeczKzZomardKpJouNilfVwDG84e0BesDH4YA2ntNIEwAAAAASUVORK5CYII=",blurWidth:8,blurHeight:7}},6884:(e,t,l)=>{l.d(t,{TopStories:()=>h});var a=l(5155),r=l(2115);function n(e){let{label:t,className:l}=e;return(0,a.jsx)("div",{className:" ".concat(l),children:(0,a.jsx)("span",{className:"block pt-1",children:t})})}var s=l(6766),i=l(6874),o=l.n(i);let c={src:"/_next/static/media/lightining.f2b66c27.svg",height:10,width:16,blurWidth:0,blurHeight:0};function d(e){let{label:t,className:l="",bgColor:r,textColor:n}=e;return(0,a.jsx)("div",{className:"".concat(l),style:{background:r,color:n},children:t})}var u=l(4844),m=l(2934);function x(e){let{data:t,index:l,styles:r,settingsColor:n,fallbackImg:i}=e,x=t.published_at,h=!!x&&(new Date().getTime()-new Date(x).getTime())/36e5<48,p=!!(null==r?void 0:r.rounding),b=e=>p?e:"",g=!!(null==r?void 0:r.shadow);return(0,a.jsxs)(o(),{href:"".concat(t.url),className:"flex flex-col group relative ring-1 ring-black/5 cursor-pointer\n transition-all duration-300 ease-out transform-gpu will-change-transform\n hover:-translate-y-1 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-black/20\n motion-reduce:transition-none motion-reduce:transform-none\n ".concat(b("rounded-md"),"\n ").concat(g?"shadow-lg hover:shadow-2xl hover:ring-black/10":"","\n ").concat(0===l?"col
1-span-2 h-[344px] tablet:h-[138px] tablet:w-[198px] md:w-[220px] tablet:col-span-1 970:h-[154px]":"tablet:w-[198px] tablet:h-[138px] md:w-[217px] 970:h-[154px]"),style:{borderStyle:"solid",borderWidth:"0.5px",borderColor:null==n?void 0:n.topstoryBorderEnabled},children:[(0,a.jsxs)("div",{className:" h-6 tablet:min-h-[21.5px] 970:min-h-6 font-bold ".concat(b("rounded-t-md")," flex justify-between items-center ").concat(0===l?h?"pl-2":"px-[7px]":"px-[7px] lg:px-2 py-1"),style:{color:(null==n?void 0:n.topstoryHeaderText)||"#FFFFFF",background:(null==n?void 0:n.topstoryHeaderBg)||"#132428"},children:[(0,a.jsxs)("p",{className:"uppercase font-integralCF text-[12px] leading-[14px] tablet:text-[10px] tablet:leading-[12px] lg:text-[12px] 970:leading-[14px] ".concat(0===l?"my-1":""),children:["No.",l+1]}),(0,a.jsxs)("div",{className:"flex flex-row lg:gap-[7px] h-full items-center justify-center",children:[(0,a.jsx)(s.default,{alt:"stories photo",src:c,className:"mr-2 lg:mr-0"}),0===l&&h&&(0,a.jsx)(d,{bgColor:(null==n?void 0:n.topstoryHeaderBadgeBg)||"#FFC627",textColor:null==n?void 0:n.topstoryHeaderText,label:"NEW",className:" text-black text-center font-bold px-2 py-1 items-center ".concat(b("rounded-tr-md")," text-xs h-full hidden lg:flex my-0 ")})]})]}),(0,a.jsxs)("div",{className:"relative w-full ".concat(0===l?"h-48":"h-[88px]"," overflow-hidden tablet:hidden"),children:[(0,a.jsx)(s.default,{src:i||u.default,alt:"Article image",title:"Article Image",fill:!0,className:"object-cover",sizes:0===l?"100vw":"(max-width: 768px) 100vw, 50vw",quality:50}),0===l&&h&&(0,a.jsx)(d,{bgColor:(null==n?void 0:n.topstoryHeaderBadgeBg)||"#FFC627",textColor:null==n?void 0:n.topstoryHeaderText,label:"NEW",className:"bg-[#FFC627] w-[49px] text-black absolute font-bold z-10 px-2 py-[3px] text-[12px] left-0 bottom-0 ".concat(b("rounded-tr-md"))})]}),(0,a.jsxs)("div",{className:"pl-[9px] pr-[7px] lg:px-[10px] tablet:flex tablet:flex-col tablet:h-full tablet:justify-between pt-2 pb-1 lg:pb-1 box",children:[(0,a.jsx)("p",{className:"font-ibm-sans line-clamp-3 ".concat(0===l?"text-xl leading-[22px] tablet:text-[12px] lg:text-sm font-semibold tablet:leading-[14.4px] 970:leading-[16px]":"text-sm tablet:text-[12px] lg:text-sm font-semibold leading-[16px] tablet:leading-[14.4px] 970:leading-[16px]"),children:(0,m.Q)(t.title)}),(0,a.jsx)("p",{className:"font-ibm-sans font-normal my-1 lg:my-2 line-clamp-2 ".concat(0===l?"text-sm leading-[18px] tablet:text-[9px] lg:text-xs tablet:leading-[10.8px] 970:leading-3":" tablet:text-[9px] leading-[12px] text-xs lg:text-xs tablet:leading-[10.8px] 970:leading-3"),children:(0,m.Q)(t.title)})]}),(0,a.jsx)("div",{className:"px-2 py-1 mt-auto bg-gradient-to-r flex justify-between items-center tablet:h-[21.5px] lg:h-6 ".concat(b("rounded-b-md")),style:{background:(null==n?void 0:n.topstoryFooterBg)||"#132428",color:(null==n?void 0:n.topstoryFooterText)||"#FFFFFF"}})]})}function h(e){let{styles:t,settingsColor:l,fallbackImg:s,dataUrl:i}=e,[o,c]=(0,r.useState)(null);return((0,r.useEffect)(()=>{fetch(i||'https://cms.joe.co.uk/wp-json/jmg/v1/top-stories"').then(e=>e.json()).then(c).catch(()=>c([]))},[]),null===o)?(0,a.jsxs)("div",{className:"section-narrow lg:flex lg:flex-col p-[15px] lg:p-0",children:[(0,a.jsx)(n,{label:"Top Stories",className:"border-y-[0.5px] border-black text-[26px] leading-[24px] lg:text-[22px] py-1 mb-2 lg:mt-4 uppercase font-rhode text-[#132428] font-medium"}),(0,a.jsx)("p",{className:"h-48 text-sm text-gray-800 flex items-center justify-center",children:"Loading top storiesâ¦"})]}):0===o.length?(0,a.jsx)("p",{children:"No top stories available."}):(0,a.jsxs)("div",{className:" section-narrow lg:flex lg:flex-col p-[15px] 970:p-0 970:pb-4",children:[(0,a.jsx)(n,{label:"Top Stories",className:"border-y-[0.5px] border-black text-[26px] leading-[24px] lg:text-[22px] py-1 mb-2 lg:mt-4 uppercase font-rhode text-[#132428] font-medium"}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-[15px] tablet:hidden",children:o.slice(0,3).map((e,r)=>{var n;return(0,a.jsx)(x,{data:e,index:r,styles:t,settingsColor:l,fallbackImg:s}
1,null!=(n=e.id)?n:"".concat(e.title,"-").concat(r))})}),(0,a.jsx)("div",{className:"hidden 970:flex justify-between",children:o.map((e,r)=>{var n;return(0,a.jsx)(x,{data:e,index:r,styles:t,settingsColor:l,fallbackImg:s},null!=(n=e.id)?n:"".concat(e.title,"-").concat(r))})}),(0,a.jsx)("div",{className:"hidden tablet:flex 970:hidden justify-between",children:o.slice(0,3).map((e,r)=>{var n;return(0,a.jsx)(x,{data:e,index:r,styles:t,settingsColor:l,fallbackImg:s},null!=(n=e.id)?n:"".concat(e.title,"-").concat(r))})})]})}},7021:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/fb.abbd1995.svg",height:21,width:12,blurWidth:0,blurHeight:0}},7317:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/article-sport.2c104745.png",height:117,width:220,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAASFBMVEXKv8/kwsu+p6e7rqqDb2Y3P1ZhXWjPw7Snj5dtbozl0L/KqqKblZ9QXHWwn5s7SGf37+z44Mrj08rxzN+feWrbzt3Ao5Ht6dDNqmeNAAAACHRSTlP+/////////kgsYtwAAAAJcEhZcwAACxMAAAsTAQCanBgAAAArSURBVHicBcGHAQAgCAOwgoJ7r/8/NYEz187RgVj9ZlpAyiotnIfgrRRl+hePATg
1yov2IAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},7345:(e,t,l)=>{l.d(t,{LatestPodcastsCard:()=>c});var a=l(5155),r=l(2115),n=l(6766);let s={src:"/_next/static/media/latest-podcast.2aadd9c3.png",height:1e3,width:1e3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAaVBMVEU5PjaOl5mxu7w9oHpNYFg5jGsaKy9dX17E2NREim2dpaiFjJNnaGl1c3I/m3uVdpVIdWJ0engflWNGqoRASk1QUlFsdXFOiHO/oL7Ynt8sVkhQl3eCaoWbh6lquZuxda3TqdKntLUmi18IQLL3AAAACnRSTlP+/////v7+/v7+UVJe7AAAAAlwSFlzAAAXEgAAFxIBZ5/SUgAAAEZJREFUeJwFwQcCgCAMBLBrUVGmbPf6/yNNoLQmRcRQ/BIxjwjpqrMQDiGKtkcxoX7t1C71yNtxP+vcIRdj/GItBsgivcEPcf4DdicNtsIAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8};var i=l(1275),o=l(4495);let c=e=>{var t,l,c,d,u;let{attributes:m}=e,[x,h]=(0,r.useState)(!1),p=null!=(t=null==m?void 0:m.provider)?t:"",b=null==m?void 0:m.embedUrl,g="spotify"===p?b:void 0,f="youtube"===p?function(e){if(!e)return;let t=e.match(/youtube\.com\/embed\/([^?]+)/);return null==t?void 0:t[1]}(b):void 0,v=(0,r.useMemo)(()=>"spotify"===p?!!g:("youtube"===p||"bluebillywig"===p)&&(!!f||!!b),[p,g,f,b]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:" w-full mx-auto 970:min-w-[699px] 970:max-w-[699px] mt-3 shadow-md rounded-[5px] 1100:mr-2",children:[(0,a.jsx)("div",{className:" 970:hidden h-6 rounded-t-[5px] bg-[#132428] flex items-center pl-2 w-full",children:(0,a.jsx)("p",{className:" rounded-t-[5px] bg-[#132428] text-white font-integralCF font-bold text-[10px] leading-[14px]",children:"POLITICS JOE PODCAST"})}),(0,a.jsxs)("div",{className:"flex flex-row justify-betweeen min-w-full",children:[(0,a.jsxs)("div",{className:"w-full mb-2 flex flex-col justify-between",children:[(0,a.jsx)("div",{className:"hidden 970:flex h-6 rounded-tl-[5px] bg-[#132428] items-center pl-2 w-full",children:(0,a.jsx)("p",{className:" rounded-t-[5px] bg-[#132428] text-white font-integralCF font-bold text-[10px] leading-[14px]",children:"POLITICS JOE PODCAST"})}),(0,a.jsx)("p",{className:"p-[10px] font-ibm-serif font-medium text-[14px] tablet:text-[24px] leading-4 tablet:leading-[26px]",children:null==m?void 0:m.title}),(0,a.jsx)("p",{className:"p-[10px] line-clamp-3 font-ibm-sans text-[10px] tablet:text-[14px] leading-3 tablet:leading-[18px] font-normal mt-[7px]",children:null==m?void 0:m.excerpt}),(0,a.jsx)("div",{className:"grid gap-2.5 mt-5",children:(0,a.jsx)("div",{className:"flex flex-row justify-between items-center px-[10px]",children:(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)("button",{type:"button","aria-label":v?"Play ".concat(null!=(l=null==m?void 0:m.title)?l:"podcast"):"No playable source",disabled:!v,onClick:()=>h(!0),className:["h-5 w-5 tablet:h-9 tablet:w-9 rounded-full flex items-center justify-center",v?"bg-[#132428] cursor-pointer":"bg-gray-300 cursor-not-allowed"].join(" "),children:(0,a.jsx)(n.default,{src:i.default,alt:null!=(c=null==m?void 0:m.title)?c:"Play",title:null==m?void 0:m.title,height:8,width:8,className:"h-2 w-2 tablet:h-[7.22px] tablet:w-[7.22px] ml-[2px] tablet:ml-0 970:h-4 970:w-4 970:ml-[2px]"})}),(0,a.jsx)("p",{className:" ml-2 mr-1 text-[#132428] font-ibm-sans text-[8px] leading-6 tablet:text-[10px] tablet:leading-6",children:null!=(d=null==m?void 0:m.duration)?d:"40 min listen"}),(0,a.jsx)("p",{className:"text-[#132428] font-ibm-sans text-[8px] leading-6 tablet:text-[10px] tablet:leading-6",children:"⢠12th May 2025"})]})})})]}),(0,a.jsx)("div",{className:"relative min-w-[163px] max-w-[163px] min-h-[163px] max-h-[163px] 970:min-w-[234px] 970:max-w-[234px] 970:min-h-[234px] 970:max-h-[234px] rounded-br-[5px] overflow-hidden",children:(0,a.jsx)(n.default,{src:s,alt:null!=(u=null==m?void 0:m.title)?u:"",title:null==m?void 0:m.title,fill:!0,className:"object-cover rounded-br-[5px]"})})]})]}),(0,a.jsx)(o.A,{open:x,onClose:()=>h(!1),source:p,videoId:f,spotifyUrl:g})]})}},7525:(e,t,l)=>{l.d(t,{A:()=>a});let a={src:"/_next/static/media/black-loop.09d716ef.svg",height:16,width:16,blurWidth:0,blurHeight:0}},7562:(e,t,l)=>{l.d(t,{A:()=>a});let a={src:"/_next/static/media/left-arrow.7cffce96.svg",height:10,width:6,blurWidth:0,blurHeight:0}},7611:(e,t,l)=>{l.r(t),l.d(t,{PlusLogicPagination:()=>o});var a=l(5155),r=l(2115),n=l(4072),s=l(2934);function i(e){let{headTitle:t,line:l=!0,lessText:r=!1,adsOn:i,maxLength:o=10,full:c}=e,d=c?t:(0,n.z)(t,o),u=(0,s.Q)(d);u.length;let m=u.trim().split(/\s+/),x=m.filter(Boolean).length;return(0,a.jsxs)(a.Fragment,{children:[l&&(0,a.jsx)("div",{className:"h-[7px] bg-[var(--box-bg)] section-wide"}),(0,a.jsx)("div",{className:"my-[10px] border-[0.5px] border-b-0 section-wide uppercase h-[32px] flex items-end ".concat(i?"":"xl:-mb-6"),children:(0,a.jsx)("span",{className:"lh-crop leading-none ml-[7px] font-rhode font-medium flex items-end h-auto mt-auto ".concat(i?"text-3xl ":"text-2xl"," "),children:!i&&x>=2&&x<=3?2===x?(0,a.jsxs)("div",{className:"mt-4 ".concat(i?"flex flex-row ":"flex flex-row pt-2"),children:[m[0],!i&&(0,a.jsx)("div",{className:"ml-1 1100:hidden"}),(0,a.jsx)("br",{className:"1100:block hidden mt-[1px]"}),m[1]]}):void 0:u})})]})}let o=e=>{var t,l;let{children:n=[],perPage:s=4,loadMoreCount:o=4,className:c="",title:d,showTitle:u=!0,defaultClassName:m="grid grid-cols-2 gap-4",styles:x,adsOn:h,globalHoverColor:p,iconBgColor:b,header:g}=e,[f,v]=(0,r.useState)(s),w=!!(null==x?void 0:x.rounding),y=n.slice(0,f);return(0,a.jsxs)("div",{className:"".concat(c),children:[u&&(0,a.jsx)(i,{headTitle:null!=d?d:"Joe tires",full:!0,line:!1,adsOn:h}),(0,a.jsx)("div",{className:m,children:y.map((e,t)=>(0,a.jsx)("div",{children:e},t))}),f<n.length&&(0,a.jsx)("div",{className:"flex justify-center mt-6",children:(0,a.jsx)("button",{onClick:()=>{v(e=>Math.min(e+o,n.length))},className:" group w-10 h-10 cursor-pointer flex items-center justify-center ".concat(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return w?e:t}("rounded-full")),"aria-label":"Load more articles",style:{backgroundColor:null==g||null==(l=g.colors)||null==(t=l.palette)?void 0:t.footerEventbackground,"--hover-fg":null==x?void 0:x.pageBg,"--text-color":"#ffffff"},children:(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"transition-colors duration-200 ease-in-out text-[var(--text-color)] group-hover:text-[var(--hover-fg)]",children:(0,a.jsx)("path",{d:"M9 0C8.604 0 8.28 0.324 8.28 0.72V8.28H0.72C0.324 8.28 0 8.604 0 9C0 9.396 0.324 9.72 0.72 9.72H8.28V17.28C8.28 17.676 8.604 18 9 18C9.396 18 9.72 17.676 9.72 17.28V9.72H17.28C17.676 9.72 18 9.396 18 9C18 8.604 17.676 8.28 17.28 8.28H9.72V0.72C9.72 0.324 9.396 0 9 0Z",fill:"currentColor"})})})})]})}},7684:(e,t,l)=>{l.d(t,{A:()=>r});var a=l(5155);let r=e=>{let{videoId:t,source:l,title:r="Video player",autoplay:n=!1,className:s="w-full h-full",bbwEmbedBase:i="https://greencastlemediagroup.bbvms.com",bbwPlayout:o="default",includeReferrerHash:c=!0}=e;if(!t)return null;let d=l.toLowerCase(),u="bluebillywig"===d||"bbw"===d,m="";if("youtube"===d)m="https://www.youtube.com/embed/".concat(t,"?autoplay=").concat(+!!n,"&rel=0&playsinline=1");else if(u){let e=new URLSearchParams({inheritDimensions:"true",playsinline:"1"});n?(e.set("autoPlay","true"),e.set("autoMute","true"),e.set("autoplay","1"),e.set("muted","1")):(e.set("autoPlay","fal
1se"),e.set("autoplay","0")),m="".concat(i,"/p/").concat(o,"/c/").concat(t,".html?").concat(e.toString())}if(!m)return(0,a.jsx)("div",{className:"bg-gray-200 w-full h-full"});let x=u&&c&&!n?e=>{let t=e.currentTarget;if(t.src.includes("#!referrer="))return;let l=t.src,a=encodeURIComponent(window.location.href),r=encodeURIComponent(document.referrer||"");t.src="".concat(l,"#!referrer=").concat(a,"&realReferrer=").concat(r)}:void 0;return(0,a.jsx)("iframe",{className:s,src:m,onLoad:x,title:r,allow:"autoplay *; fullscreen *; picture-in-picture *",allowFullScreen:!0})}},8017:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/TrendingVideos.9c8915cf.png",height:162,width:300,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAM1BMVEVtbnQ0NDhnX0rJ1uQ+P0F7foKFiJNVUlZuZUqfprRiX2GUlJ1eXGO5xtamioeXmqiDam3MSER9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAKElEQVR4nAXBiQEAMAQAsVMU/feftgl+SnWXEy/ofcItZA2CzJZNzD4QMgDOW6X6KQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4}},8022:(e,t,l)=>{l.d(t,{TaboolaWidget:()=>i});var a=l(5155),r=l(2115),n=l(5695);function s(e){window._taboola=window._taboola||[];let t="tb_loader_script_".concat(e);if(document.getElementById(t))return;let l=document.createElement("script");l.async=!0,l.id=t,l.src="https://cdn.taboola.com/libtrc/".concat(e,"/loader.js"),(document.head||document.getElementsByTagName("head")[0]).appendChild(l)}function i(e){let{publisherId:t,containerId:l,placement:i,mode:o,targetType:c="mix",className:d}=e,u=(0,r.useRef)(null),m=(0,n.usePathname)();return(0,r.useEffect)(()=>{s(t)},[t]),(0,r.useEffect)(()=>{let e=u.current;if(!e)return;let a=!1;return(async()=>{window._taboola=window._taboola||[],s(t),e.innerHTML="";let r=window.__taboolaLastPath!==m,n=window.location.href,d=await function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6e3;return new Promise(t=>{let l=Date.now(),a=()=>{let r=Array.isArray(window._taboola),n=!!document.querySelector('script[src*="cdn.taboola.com/libtrc/"]');return r&&n?t(!0):Date.now()-l>e?t(!1):void setTimeout(a,50)};a()})}();!a&&d&&(r&&window.__taboolaLastPath&&window._taboola.push({notify:"newPageLoad"}),window._taboola.push({article:"auto",url:n}),window._taboola.push({mode:o,container:l,placement:i,target_type:c,url:n}),window._taboola.push({flush:!0}),window.__taboolaLastPath=m)})(),()=>{a=!0}},[m,t,l,i,o,c]),(0,a.jsx)("div",{id:l,ref:u,className:d})}},8030:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/Quiz-1.4febba7b.svg",height:57,width:37,blurWidth:0,blurHeight:0}},8333:(e,t,l)=>{l.d(t,{OcConnectWidget:()=>r});var a=l(2115);let r=e=>{let{slotId:t,className:l}=e;return t?a.createElement("oc-connect-widget",{"slot-id":t,class:l}):null}},8389:(e,t,l)=>{l.d(t,{TopSearch:()=>o});var a=l(5155),r=l(2115),n=l(5695),s=l(6766),i=l(7525);let o=e=>{var t;let{label:l,targetPath:o,queryParam:c="q",hoverStyle:d}=e,u=(0,n.useRouter)(),m=(0,n.useSearchParams)(),[x,h]=(0,r.useState)((null!=(t=m.get(c))?t:"").trim()),[p,b]=(0,r.useTransition)();(0,r.useEffect)(()=>{var e;h((null!=(e=m.get(c))?e:"").trim())},[m,c]);let g=()=>{let e=x.trim();e&&b(()=>{o?u.push("".concat(o,"?").concat(c,"=").concat(encodeURIComponent(e))):u.push("/search?q=".concat(encodeURIComponent(e),"&first=12"))})};return(0,a.jsxs)("section",{className:"section-wide p-[15px] 970:p-0 mx-auto mt-3 mb-none md:my-8",style:{"--hover-style":null!=d?d:"#111111"},children:[(0,a.jsx)("div",{className:"border-b-[0.5px]",children:(0,a.jsx)("span",{className:"block font-rhode font-medium text-[30px] leading-6 text-[#132428] text-center mb-7 uppercase",children:l})}),(0,a.jsx)("div",{className:"flex items-center justify-center py-6 tablet:py-12 w-full border-b-[0.5px] border-b-[#132428] mb-none md:mb-6",children:(0,a.jsxs)("div",{className:"flex flex-col tablet:flex-row items-center justify-center w-full space-y-5 tablet:space-y-0 mx-auto ",children:[(0,a.jsxs)("div",{className:"flex relative w-full tablet:w-[390px] ",children:[(0,a.jsx)(s.default,{src:i.A,alt:"Search",title:"Search",width:16,height:16,className:"pointer-events-none absolute left-5 top-1/2 -translate-y-1/2"}),(0,a.jsx)("input",{autoFocus:!0,value:x,onChange:e=>h(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),!e.repeat&&(p||g()))},placeholder:"Searchâ¦",disabled:p,className:"border-[0.5px] rounded-[5px] tablet:rounded-none tablet:rounded-l-[5px] h-11 w-full pl-12 pr-3 text-[#7F7F7F] text-[14px] leading-4 placeholder-[#7F7F7F]/60 caret-black outline-none focus:shadow-[0px_0px_4px_0px_#00000033] disabled:opacity-60 disabled:cursor-not-allowed"})]}),(0,a.jsx)("button",{onClick:()=>{p||g()},disabled:p,className:"h-11 px-4 w-full tablet:w-[94px] rounded-[5px] tablet:rounded-none tablet:rounded-r-[5px] bg-[#132428] text-white text-sm font-medium transition-colors cursor-pointer outline-none hover:bg-[var(--hover-style)] focu
1s:shadow-[0px_0px_4px_0px_#00000033] disabled:opacity-60 disabled:pointer-events-none disabled:cursor-not-allowed inline-flex items-center justify-center",children:p?"Searchingâ¦":"Search"})]})})]})}},8441:(e,t,l)=>{l.d(t,{UserGeneratedContentForm:()=>g});var a=l(5155),r=l(2115),n=l(2872),s=l(3176),i=l.n(s),o=l(5461);let c=e=>{let{label:t,onSign:l,required:n,error:s}=e,i=(0,r.useRef)(null),[c,d]=(0,r.useState)(""),[u,m]=(0,r.useState)(!1);return(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("label",{className:"block text-xs md:text-sm font-medium text-gray-700",children:[t,n?(0,a.jsx)("span",{className:"text-red-500 font-semibold",children:" *"}):null]}),(0,a.jsx)("div",{className:"border-2 border-gray-300 rounded-lg overflow-hidden",children:(0,a.jsx)(o.A,{ref:i,canvasProps:{className:"w-full h-40"}})}),(0,a.jsxs)("div",{className:"flex items-center gap-3 mt-2",children:[(0,a.jsx)("button",{type:"button",onClick:()=>{let e=i.current;if(m(!1),!e||e.isEmpty()){d(""),l("");return}let t=e.getCanvas().toDataURL("image/png");d(t),l(t),m(!0),window.setTimeout(()=>m(!1),2e3)},className:"px-4 py-2 bg-blue-600 text-white text-xs md:text-sm rounded hover:bg-blue-700",children:"Save"}),(0,a.jsx)("button",{type:"button",onClick:()=>{var e;null==(e=i.current)||e.clear(),d(""),m(!1),l("")},className:"px-4 py-2 bg-gray-600 text-white text-xs md:text-sm rounded hover:bg-gray-700",children:"Clear"}),u?(0,a.jsx)("span",{className:"text-xs md:text-sm text-green-700 font-medium",children:"Saved â"}):null]}),c?(0,a.jsx)("div",{className:"mt-2 rounded-lg border border-gray-200 p-3 bg-white",children:(0,a.jsx)("img",{src:c,alt:"Saved signature preview",className:"max-w-full h-20 object-contain"})}):null,n&&s&&!c?(0,a.jsx)("p",{className:"text-red-600 text-xs md:text-sm",children:s}):null]})},d={sec:"#132428",primary:"#FFC627",border:"rgba(19,36,40,0.18)"},u={firstName:"",lastName:"",preferredPronouns:"",email:"",homeAddress:"",dob:"",channelName:"",channelUrl:"",creditPreference:"",representative:"",location:"",ownership:"",signedAgreement:"",agreementDetails:"",digitalSignature:"",acceptTerms:!1},m=e=>{try{let t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}},x=e=>{let t={};return e.location||(t.location="Location is required"),e.channelName||(t.channelName="Channel Name is required"),e.channelUrl?m(e.channelUrl)||(t.channelUrl="Channel URL is invalid"):t.channelUrl="Channel URL is required",e.ownership||(t.ownership="Please select an option"),e.signedAgreement||(t.signedAgreement="Please select an option"),e.digitalSignature||(t.digitalSignature="Digital signature is required"),e.acceptTerms||(t.acceptTerms="You must accept the terms and conditions"),t},h=e=>({control:(t,l)=>({...t,borderRadius:12,minHeight:44,backgroundColor:"#fff",borderColor:e?"#ef4444":l.isFocused?d.primary:d.border,boxShadow:l.isFocused?e?"0 0 0 3px rgba(239, 68, 68, 0.22)":"0 0 0 3px rgba(255, 198, 39, 0.35)":"none",":hover":{borderColor:e?"#ef4444":d.primary}}),placeholder:e=>({...e,color:"rgba(19,36,40,0.45)"}),singleValue:e=>({...e,color:d.sec}),menu:e=>({...e,borderRadius:12,overflow:"hidden"}),option:(e,t)=>({...e,backgroundColor:t.isSelected?"rgba(255,198,39,0.35)":t.isFocused?"rgba(255,198,39,0.18)":"white",color:d.sec})}),p=e=>{let{title:t,description:l,children:r}=e;return(0,a.jsxs)("section",{className:"rounded-2xl border border-[#132428]/10 bg-white p-4 md:p-6 space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-base md:text-lg font-semibold text-[#132428]",children:t}),l?(0,a.jsx)("p",{className:"mt-1 text-sm text-[#132428]/70",children:l}):null]}),r]})},b=e=>{let{label:t,name:l,value:r,onChange:n,onBlur:s,type:i="text",placeholder:o,required:c,error:d,helperText:u}=e,m="".concat("mt-1 w-full rounded-xl border px-3 py-2.5 outline-none focus:ring-4 focus:ring-[#FFC627]/30"," ").concat(d?"border-red-400 focus:ring-red-200":"border-[#132428]/15");return(0,a.jsxs)("div",{className:"w-full space-y-1.5",children:[(0,a.jsxs)("label",{className:"flex items-center gap-2 text-xs md:text-sm font-medium text-[#132428]",children:[(0,a.jsx)("span",{children:t}),c?(0,a.jsx)("span",{className:"text-[#FFC627] font-semibold",children:"*"}):null]}),"textarea"===i?(0,a.jsx)("textarea",{name:l,value:r,onChange:n,onBlur:s,placeholder:o,className:"".concat(m," min-h-[110px]")}):(0,a.jsx)("input",{type:i,name:l,value:r,onChange:n,onBlur:s,placeholder:o,className:m}),u?(0,a.jsx)("p",{className:"text-xs md:text-sm text-[#132428]/60",children:u}):null,d?(0,a.jsx)("p",{className:"text-xs md:text-sm text-red-600",children:d}):null]})},g=()=>{var e;let t,[l,s]=(0,r.useState)(u),[o,m]=(0,r.useState)({}),[g,f]=(0,r.useState)(!1),[v,w]=(0,r.useState)(!1),[y,j]=(0,r.useState)({type:"",message:""}),A=(0,r.useRef)(null),N=(0,r.useMemo)(()=>i()().getData(),[]),C=(0,r.useMemo)(()=>x(l),[l]),k=0===Object.keys(C).length;Object.keys(C).length;let S=e=>g||!!o[e],E=e=>m(t=>({...t,[e]:!0})),F=e=>{let{name:t,value:l,type:a}=e.target,r="checked"in e.target&&e.target.checked;s(e=>({...e,[t]:"checkbox"===a?r:l}))},I=e=>{E(e.target.name)}
1,B=()=>{let e=["location","channelName","channelUrl","digitalSignature","acceptTerms"].find(e=>C[e]);if(!e)return;let t=document.querySelector('[name="'.concat(String(e),'"]'))||document.getElementById(String(e));if(t&&"function"==typeof t.focus)t.focus();else{var l;null==(l=A.current)||l.scrollIntoView({behavior:"smooth",block:"start"})}},T=async e=>{if(e.preventDefault(),f(!0),!k)return void B();let t={...l},a=localStorage.getItem("lastSubmission");if(a){let e=JSON.parse(a);if(e.payload===JSON.stringify(t)&&Date.now()-e.timestamp<3e5)return void j({type:"error",message:"Duplicate submission detected. Please try again later."})}w(!0);try{if(!(await fetch("https://data.joemedia.group/api/saveUGC",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})).ok)throw Error("Failed to submit the form");localStorage.setItem("lastSubmission",JSON.stringify({payload:JSON.stringify(t),timestamp:Date.now()})),j({type:"success",message:"Thank you! Your submission has been received. A member of our team will c
1ontact you shortly."}),s(u),m({}),f(!1)}catch(e){console.error("Error submitting form:",e),j({type:"error",message:"We encountered an issue. Please try again later."})}finally{w(!1)}},U=e=>S(e)?C[e]:"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:A}),(0,a.jsxs)("form",{onSubmit:T,className:"ugc-form space-y-5",children:[(0,a.jsxs)(p,{title:"Personal details",description:"So we can correctly identify and contact you.",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsx)(b,{label:"First Name",name:"firstName",value:l.firstName,onChange:F,onBlur:I,placeholder:"e.g. Alex"}),(0,a.jsx)(b,{label:"Last Name",name:"lastName",value:l.lastName,onChange:F,onBlur:I,placeholder:"e.g. Johnson"})]}),(0,a.jsx)(b,{label:"Preferred Pronouns",name:"preferredPronouns",value:l.preferredPronouns,onChange:F,onBlur:I,placeholder:"e.g. she/her"}),(0,a.jsx)(b,{label:"Email Address",name:"email",type:"email",value:l.email,onChange:F,onBlur:I,placeholder:"[email protected]"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsx)(b,{label:"Home Address",name:"homeAddress",value:l.homeAddress,onChange:F,onBlur:I,placeholder:"Street, City"}),(0,a.jsxs)("div",{className:"w-full space-y-1.5",children:[(0,a.jsxs)("label",{className:"flex items-center gap-2 text-xs md:text-sm font-medium text-[#132428]",children:[(0,a.jsx)("span",{children:"Location"}),(0,a.jsx)("span",{className:"text-[#FFC627] font-semibold",children:"*"})]}),(0,a.jsx)(n.Ay,{instanceId:"location",inputId:"location",name:"location",options:N,value:null!=(e=N.find(e=>e.value===l.location))?e:null,onChange:e=>{let t=e?e.value:"";s(e=>({...e,location:t})),E("location")},placeholder:"Select Country/City",className:"mt-1",classNamePrefix:"rs",styles:h(S("location")&&!!C.location)}),S("location")&&C.location&&(0,a.jsx)("p",{className:"text-xs md:text-sm text-red-600",children:C.location})]})]}),(0,a.jsx)(b,{label:"Date of Birth",name:"dob",type:"date",value:l.dob,onChange:F,onBlur:I})]}),(0,a.jsxs)(p,{title:"Channel details",description:"Tell us where the content is and how you'd like to be credited.",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsx)(b,{label:"Channel Name",name:"channelName",value:l.channelName,onChange:F,onBlur:I,required:!0,error:S("channelName")?C.channelName:"",placeholder:"e.g. MyYouTubeChannel"}),(0,a.jsx)(b,{label:"Channel URL",name:"channelUrl",type:"url",value:l.channelUrl,onChange:F,onBlur:I,required:!0,error:S("channelUrl")?C.channelUrl:"",placeholder:"https://youtube.com/...",helperText:"Paste the full URL (including https://)."})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsx)(b,{label:"How would you like us to credit you?",name:"creditPreference",value:l.creditPreference,onChange:F,onBlur:I,placeholder:"e.g. @handle, full name, etc."}),(0,a.jsx)(b,{label:"Which member of the Joe team have you been in contact with?",name:"representative",value:l.representative,onChange:F,onBlur:I,placeholder:"Optional"})]})]}),(0,a.jsxs)(p,{title:"Rights & agreement",description:"These answers help confirm you have permission.",children:[(0,a.jsxs)("div",{className:"w-full space-y-1.5",children:[(0,a.jsx)("label",{className:"text-xs md:text-sm font-medium text-[#132428]",children:"Do you film, create, and own all material on the Channel?"}),(0,a.jsxs)("select",{name:"ownership",value:l.ownership,onChange:F,onBlur:I,className:(t=!!U("ownership"),"mt-1 w-full rounded-xl border px-3 py-2.5 outline-none focus:ring-4 ".concat(t?"border-red-400 focus:ring-red-200":"border-[#132428]/15 focus:ring-[#FFC627]/30")),children:[(0,a.jsx)("option",{value:"",children:"Select"}),(0,a.jsx)("option",{value:"Yes I film, create and own all material on the Channel",children:"Yes I film, create and own all material on the Channel"}),(0,a.jsx)("option",{value:"No I do not film, create and own all material on the Channel",children:"No I do not film, create and own all material on the Channel"}),(0,a.jsx)("option",{value:"I film, create and own some of the material on the Channel",children:"I film, create and own some of the material on the Channel"})]}),U("ownership")?(0,a.jsx)("p",{className:"text-xs md:text-sm text-red-600",children:U("ownership")}):null]}),(0,a.jsxs)("div",{className:"w-full space-y-1.5",children:[(0,a.jsx)("label",{className:"text-xs md:text-sm font-medium text-[#132428]",children:"Have you signed an agreement or submitted elsewhere?"}),(0,a.jsxs)("select",{name:"signedAgreement",value:l.signedAgreement,onChange:F,onBlur:I,className:"mt-1 w-full rounded-xl border border-[#132428]/15 px-3 py-2.5 outline-none focus:ring-4 focus:ring-[#FFC627]/30",children:[(0,a.jsx)("option",{value:"",children:"Select"}),(0,a.jsx)("option",{value:"Yes",children:"Yes"}),(0,a.jsx)("option",{value:"No",children:"No"})]})]}),"Yes"===l.signedAgreement&&(0,a.jsxs)("div",{className:"rounded-xl border border-[#132428]/10 bg-[#132428]/[0.03] p-4 space-y-3",children:[(0,a.jsx)("p",{className:"text-sm text-[#132428]/80",children:"Please add the details so we can avoid rights conflicts."}),(0,a.jsx)(b,{label:"Agreement details",name:"agreementDetails",type:"textarea",value:l.agreementDetails,onChange:F,onBlur:I,placeholder:"Who was it submitted to, what was agreed, and include links if possible."})]}),(0,a.jsx)(c,{label:"Digital Signature",required:!0,error:S("digitalSignature")?C.digitalSignature:"",onSign:e=>{s(t=>({...t,digitalSignature:e})),E("digitalSignature")}}),(0,a.jsxs)("div",{className:"w-full space-y-1.5",children:[(0,a.jsxs)("label",{className:"flex items-center gap-3 text-xs md:text-sm font-medium text-[#132428]",children:[(0,a.jsx)("input",{type:"checkbox",name:"acceptTerms",checked:l.acceptTerms,onChange:e=>{F(e),E("acceptTerms")}}),"I accept the terms and conditions"]}),S("acceptTerms")&&C.acceptTerms&&(0,a.jsx)("p",{className:"text-xs md:text-sm text-red-600",children:C.acceptTerms})]})]}),(0,a.jsx)("div",{className:"pt-1",children:(0,a.jsxs)("div",{className:"rounded-2xl border border-[#132428]/10 bg-white p-4 md:p-5",children:[(0,a.jsx)("button",{type:"submit",disabled:v||!k,className:"w-full rounded-xl px-4 py-2.5 bg-[#132428] text-white hover:bg-[#0F1E21] disabled:opacity-60",children:v?"Submitting...":"Submit"}),(0,a.jsx)("p",{className:"mt-3 text-xs md:text-sm text-[#132428]/70",children:"By
1submitting, you confirm the information is accurate and you have the right to submit the content."})]})})]}),y.message&&(0,a.jsx)("div",{className:"fixed inset-0 bg-black/40 flex items-center justify-center z-50",children:(0,a.jsxs)("div",{className:"bg-white p-6 md:p-8 rounded-2xl shadow-xl text-center max-w-md w-full mx-4 border border-[#132428]/10",children:[(0,a.jsx)("h2",{className:"text-lg md:text-xl font-semibold mb-2",style:{color:"success"===y.type?d.sec:"#b91c1c"},children:"success"===y.type?"Submitted":"Something went wrong"}),(0,a.jsx)("p",{className:"text-[#132428]/80 mb-6",children:y.message}),(0,a.jsx)("button",{onClick:()=>j({type:"",message:""}),className:"w-full rounded-xl px-4 py-2.5 bg-[#132428] text-white hover:bg-[#0F1E21] focus:outline-none focus:ring-4 focus:ring-[#FFC627]/40",children:"Close"})]})})]})}},8986:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/Quiz-3.f71297bd.svg",height:59,width:37,blurWidth:0,blurHeight:0}},9365:(e,t,l)=>{l.d(t,{default:()=>o});var a=l(5155),r=l(2115),n=l(5028),s=l(3101);let i=(0,n.default)(()=>Promise.resolve().then(l.bind(l,3520)).then(e=>e.LiveCenterAd),{loadableGenerated:{webpack:()=>[3520]},ssr:!1});function o(e){let{attributes:t}=e,[l,n]=(0,r.useState)(!1);return l?(0,a.jsx)(i,{attributes:t}):(0,a.jsx)(s.default,{onVisible:()=>{window.requestIdleCallback?requestIdleCallback(()=>n(!0),{timeout:1200}):setTimeout(()=>n(!0),180)},placeholder:(0,a.jsx)("div",{className:"w-full",style:{minHeight:280,background:"rgba(0,0,0,0.04)",borderRadius:8},"aria-label":"Loading live moduleâ¦"})})}},9674:(e,t,l)=>{l.d(t,{LoadMorePagination:()=>n});var a=l(5155),r=l(2115);let n=e=>{let{children:t=[],perPage:l=5,loadMoreCount:n=5,className:s="",defaultClassName:i="",styles:o,header:c,showStatusText:d=!0}=e,[u,m]=(0,r.useState)(l),x=t.length;null==o||o.rounding;let h=(0,r.useMemo)(()=>t.slice(0,u),[t,u]);return(0,a.jsxs)("div",{className:s,children:[(0,a.jsx)("div",{className:i,children:h.map((e,t)=>(0,a.jsx)("div",{children:e},t))}),u<x&&(0,a.jsx)("div",{className:"flex items-center justify-start pl-1 mt-3",children:(0,a.jsx)("button",{type:"button",onClick:()=>{m(e=>Math.min(e+n,x))},className:"transition-colors duration-200 ease-in-out font-ibm-sans font-bold text-[14px] leading-6 p-[15px] bg-[#132428] text-white cursor-pointer rounded-[5px] mx-auto my-12",children:"Load More Episodes"})})]})}},9689:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let a={src:"/_next/static/media/JOE-logo-black.f01f4e3b.svg",height:250,width:375,blurWidth:0,blurHeight:0}}}]);
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.