PageSourceSearch

https://www.pjfrfc.co.uk/_next/static/chunks/pages/news/article-faaf681134027b32.js

js pjfrfc.co.uk collected 2026-09-25 08:30:09 UTC 12,719 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a5ed4ddf-0ae5-5a79-9940-602949888350")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1750,7309],{6890:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/news/article",function(){return a(96507)}])},24980:(e,t,a)=>{"use strict";a.d(t,{$q:()=>l,Bt:()=>d,eE:()=>n,jf:()=>s,vO:()=>i,vX:()=>o});var r=a(82851);let l=(e,t)=>{let a=(0,r.get)(e,"news.loadingArticles",[]);return(0,r.includes)(a,t)},n=(e,t)=>{let a=(0,r.get)(e,"news.loadedArticles",[]);return(0,r.includes)(a,t)},o=(e,t)=>{let a=(0,r.get)(e,"news.hasAttemptedLoad",[]);return(0,r.includes)(a,t)},i=(e,t)=>{let a=(0,r.get)(e,"news.articles",[]);return(0,r.find)(a,{id:t})||{}},s=e=>(0,r.get)(e,"news.newsPageLoadingError"),d=(e,t)=>{let a=(0,r.get)(e,"news.newsArticlePageLoadingError");return(0,r.get)(a,t)}},27630:(e,t,a)=>{"use strict";a.d(t,{A:()=>E});var r=a(74055),l=a(35027),n=a(20008),o=a(47104),i=a(82851),s=a(14232),d=a(2171),m=a(34917),c=a(83392),p=a(53948),u=a(11431),h=a(83377);class g extends s.Component{componentDidMount(){this.loadIfRequired()}loadIfRequired=()=>{let{clubId:e,hasLoaded:t,loadData:a,messageId:r}=this.props;t||a(e,r)};renderItems=e=>{let{placement:t}=this.props;return e.map(e=>s.createElement(c.A,{message:e,placement:t,stacked:"tab-and-up",shadow:!1,key:e.id,imageProps:{style:{borderRadius:"10px"}},isV2:!0}))};renderPlaceholders=()=>[,,,].map(e=>s.createElement(h.A,{key:e,stacked:"never",shadow:!1}));render=()=>{let{relatedItems:e,hasLoaded:t,isLoading:a}=this.props,d=e.slice(0,3);return(0,i.isEmpty)(e)&&!a&&t?null:s.createElement(s.Fragment,null,s.createElement(r.A,{bottom:"20px",responsive:[{minWidth:"fullHeader",props:{bottom:"30px"}}]},s.createElement(l.A,{preset:"name",component:"div",size:16,color:"#000",responsive:[{minWidth:"fullHeader",props:{size:30}}]},s.createElement(m.x6,{i18nKey:"common:news_further_reading"},"Further Reading"))),s.createElement(n.A,{flexDirection:"column",style:{gap:"30px"}},s.createElement(o.A,{rowGap:"medium",responsive:[{minWidth:"fullHeader",props:{columns:"1fr 1fr 1fr",columnGap:"large"}}]},a||!t?this.renderPlaceholders():this.renderItems(d))))}}g.defaultProps={relatedItems:null};let E=(0,d.Ng)((e,t)=>({relatedItems:(0,u.BX)(e,t.messageId),hasLoaded:(0,u.kI)(e,t.messageId),isLoading:(0,u.Zv)(e)}),{loadData:(e,t)=>async r=>{try{r({type:p.kL,payload:{clubId:e,messageId:t}});let{makeIsomorphicApiRequest:l}=await Promise.all([a.e(8513),a.e(4471),a.e(981)]).then(a.bind(a,83362)),n=await l(`v2/club-website/${e}/related-content/${t}`),{data:o}=await n.json();return r({type:p.UX,payload:{clubId:e,messageId:t,data:o}}),{}}catch(l){let a=500;return l&&(a=l.errorStatusCode||a),r({type:p.Fn,payload:{clubId:e,messageId:t,statusCode:a,error:l}}),{error:l}}}})(g)},27725:(e,t,a)=>{"use strict";a.d(t,{N:()=>i,f:()=>o});var r=a(18368),l=a(50022),n=a(53948);let o=(e,t,a,o)=>async i=>{try{i({type:n.CZ,payload:{clubId:e}}),i({type:n.Tm,payload:{clubId:e}});let s=new l.A(e,"news",t),d=await r.A.getPageData(s,a),{messages:m}=d.data;return i({type:n.Vv,payload:{clubId:e,messages:m,key:d.key.toString()}}),o||i({type:n.oh,payload:s.toString()}),{}}catch(a){let t=500;return a&&(t=a.errorStatusCode||t),i({type:n.DL,payload:{clubId:e,statusCode:t,error:a}}),{error:a}}},i=(e,t,a)=>async o=>{try{o({type:n.Fq,payload:{clubId:e,articleId:t}});let i=new l.A(e,"news_article",{id:t}),s=await r.A.getPageData(i,a);return o({type:n.xY,payload:{articleId:t,article:s.data}}),o({type:n.oh,payload:i.toString()}),{}}catch(r){let a=500;return r&&(a=r.errorStatusCode||a),o({type:n.Wl,payload:{clubId:e,articleId:t,statusCode:a,error:r}}),{error:r}}}},43594:(e,t,a)=>{"use strict";a.d(t,{P:()=>o});var r=a(18368),l=a(50022),n=a(53948);let o=(e,t,a)=>async o=>{try{o({type:n.ji,payload:{clubId:e,themeDraftId:t}});let i=new l.A(e,"homepage",{themeDraftId:t}),s=await r.A.getPageData(i,a);return await o({type:n.Z1,payload:{clubId:e,themeDraftId:t,pageData:s.data}}),o({type:n.oh,payload:i.toString()}),{}}catch(r){let a=500;return r&&(a=r.errorStatusCode||a),o({type:n.Cy,payload:{clubId:e,themeDraftId:t,statusCode:a,error:r}}),{error:r}}}},44785:(e,t,a)=>{"use strict";a.d(t,{A:()=>
3o});var r=a(14232),l=a(18847);let n=a.n(l)()(()=>Promise.all([a.e(6736),a.e(4647)]).then(a.bind(a,36736)),{ssr:!1}),o=e=>r.createElement(n,e)},63851:(e,t,a)=>{"use strict";a.d(t,{A:()=>k});var r=a(74055),l=a(30842),n=a(47104),o=a(93052),i=a(12461),s=a(82851),d=a(14232),m=a(70564),c=a(49215),p=a(44785),u=a(70182),h=a(43665),g=a(35865),E=a(89015),A=a(27630),y=a(94280);a(70470);var w=a(66101),v=a(45939),b=a(65565);let f=()=>d.createElement(d.Fragment,null,d.createElement(v.A,{preset:"headline",fullWidth:!0}),d.createElement(r.A,{top:"large"},d.createElement(b.A,{preset:"title"}),d.createElement(b.A,{preset:"title",width:"80%"})),d.createElement(r.A,{top:"medium",component:"div"},d.createElement(b.A,{width:"30%"})),d.createElement(r.A,{top:"large"},d.createElement(b.A,null),d.createElement(b.A,{width:"70%"})),d.createElement(r.A,{top:"large"},d.createElement(b.A,null),d.createElement(b.A,null),d.createElement(b.A,null),d.createElement(b.A,null),d.createElement(b.A,null),d.createElement(b.A,null),d.createElement(b.A,{width:"60%"})));var I=a(35027);let P=({author:e,body:t})=>d.createElement(o.A,{bottom:"medium"},d.createElement(i.A,{fill:"#f8f8f8",radius:"16px",border:"1px solid #eee"},d.createElement(r.A,{all:"medium",component:"div"},d.createElement(I.A,{color:"black",size:20,weight:"bold"},t),e&&d.createElement(o.A,{top:"small",component:"div"},d.createElement(I.A,{color:"black"},`- ${e}`)))));P.defaultProps={author:null};var _=a(30029);let x=({author:e,body:t,club:a,documents:v,image:b,isLoading:I,tagline:x,title:k,shareProps:S,articleId:N,teamId:L,published:q,quote:C,quoteAuthor:T,sponsored:D,videos:R,renderSubheader:W,vimeoId:$})=>{let{advertisingTier:H,sportId:F}=a,O=(0,w.A)(),j=[{name:"News",route:"news",params:{},transKey:"news:latest_news"},{name:"Calendar",route:"calendar",params:{},transKey:"common:calendar"}],z=d.createElement(A.A,{key:`news-${N}`,clubId:a.id,messageId:`${D?"sponsored-content":"news"}-${N}`,placement:D?"sponsored-content":"news_article",includeMpu:!D});return d.createElement(d.Fragment,null,O?d.createElement(h.A,{name:"News",nameTransKey:"common:news_and_events",activeSection:"news",activeSectionTransKey:"news:latest_news",items:j}):d.createElement(g.A,{title:"News & Events",fullWidth:!1,borderBottom:"thinLightGrey"},d.createElement(r.A,{left:32,component:"div"},d.createElement(E.A,{links:j,activeSection:"News"}))),d.createElement(r.A,{horizontal:"medium",vertical:"medium",style:{background:"#fff"},responsive:[{maxWidth:"palm",props:{horizontal:"small"}}],component:"div"},d.createElement(l.A,{component:"div",maxWidth:1366,center:!0},!D&&d.createElement(r.A,{bottom:"medium"},d.createElement(m.A,{advertisingTier:H,pageType:"news.article",sportId:F,uid:N.toString()})),d.createElement(n.A,{className:"grid-news-article",columns:"1fr",columnGap:"medium",responsive:[{minWidth:"fullHeader",props:{columns:"minmax(auto, 970px) minmax(auto, 400px)",areas:"'content sidebar'"}}]},d.createElement(r.A,{component:"div",bottom:"medium",responsive:[{maxWidth:"lap",props:{bottom:"0px"}}]},I?d.createElement(f,null):d.createElement(c.A,{imageAlt:k,imageSrc:b,title:k,author:e,tagline:x,club:a,showHeaderImage:!0,shareProps:S,published:q,sponsored:D,renderSubheader:W,vimeoId:$,videoUrl:(0,s.isEmpty)(R)?null:R[0].url},C&&d.createElement(P,{author:T,body:C}),d.createElement("div",{className:"bbcode-content",dangerouslySetInnerHTML:{__html:t}}),d.createElement("div",{style:{clear:"both"}}),!(0,s.isEmpty)(R)&&R.slice(1).map(e=>{let t={autoplay:!1,controls:!0,aspectRatio:"16:9",poster:e.thumbnail,videoUrl:e.url};return d.createElement(r.A,{vertical:"medium",key:`videoPlayer${e.id}`},d.createElement(y.A,{videoOptions:t}))}),!(0,s.isEmpty)(v)&&d.createElement(o.A,{top:"medium"},d.createElement(n.A,{columns:"1fr",rowGap:"medium"},v.map(e=>d.createElement(u.A,{key:e.id,document:e,variant:"card"})))),d.createElement(p.A,{club:a,mediaType:"news",mediaId:N}))),d.createElement(_.A,{articleId:N,club:a,teamId:L})),z&&(O?d.createElement(r.A,{horizontal:"small",component:"div"},z):d.createElement(i.A,{borderTop:"1px solid #d9d9d9",style:{paddingTop:"30px",marginTop:"20px"},component:"div"},z)))))};x.defaultProps={author:null,teamId:null,body:null,documents:null,image:null,tagline:null,shareProps:null,published:null,quote:null,quoteAuthor:null,sponsored:!1,renderSubheader:()=>{},videos:null,vimeoId:null};let k=x},70564:(e,t,a)=>{"use strict";a.d(t,{A:()=>
3o});var r=a(14232),l=a(76603);let n=({advertisingTier:e,pageType:t,sportId:a,uid:n})=>r.createElement(l.A,null);n.defaultProps={uid:null};let o=n},83377:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var r=a(14232),l=a(12461),n=a(45939),o=a(74055),i=a(65565),s=a(69500);let d=({stacked:e})=>r.createElement(l.A,{radius:"rounded"},r.createElement(s.A,{stacked:e,renderImage:()=>r.createElement(n.A,{style:{borderRadius:"4px 4px 0 0"},preset:"card",fullWidth:!0}),renderBody:()=>r.createElement(r.Fragment,null,r.createElement(o.A,{bottom:"small",component:"div"},r.createElement(i.A,{preset:"tag--large",width:"20%"})),r.createElement(i.A,{preset:"subtitle--large",width:"100%"}),r.createElement(i.A,{preset:"subtitle--large",width:"75%"}),r.createElement(o.A,{top:"medium",component:"div"},r.createElement(i.A,{preset:"body--small",width:"30%"})))}));d.defaultProps={stacked:"always"};let m=d},96507:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>w});var r=a(14232),l=a(2171),n=a(82851),o=a(27725),i=a(43594),s=a(11431),d=a(79722),m=a(71051),c=a(24980),p=a(81883),u=a(63851),h=a(82868),g=a(95435);function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}a(70470),a(80597);class A extends r.Component{componentDidMount(){let{club:e,hasLoaded:t,loadingError:a,loadArticle:r,articleId:l}=this.props;t||a||r(e.id,l),this.loadHomepageIfRequired()}componentDidUpdate(e){let{articleId:t}=this.props,{articleId:a}=e;t!==a&&this.loadIfRequired()}loadIfRequired=()=>{let{isLoading:e,previouslyLoaded:t}=this.props;e||t||this.load()};loadHomepageIfRequired=()=>{let{club:e,homepageIsLoading:t,homepageHasLoaded:a,loadHomepage:r,themeDraftId:l}=this.props;t||a||r(e.id,l)};load=()=>{let{club:e,loadArticle:t,articleId:a}=this.props;t(e.id,a)};title=()=>{let{article:e,message:t}=this.props;return(0,n.get)(e,"title",(0,n.get)(t,"title","Loading"))};image=()=>{let{article:e,message:t}=this.props;return(0,n.get)(e,"image_url",(0,n.get)(t,"image"))};render(){let{loadingError:e,club:t,article:{author:a,body_html:l,documents:n,quote:o,quote_author:i,tagline:s,title:d,published:m,videos:c}={},isLoading:A,articleId:y,teamId:w}=this.props;if(e)return r.createElement(p.A,E({clubId:t.id},e,{reload:this.load}));let v=(0,g.A)(t,"news.article",{_title:d,id:y});return r.createElement(r.Fragment,null,r.createElement(h.A,{club:t,title:this.title(),description:s,routeParams:{_title:d,id:y},route:"news.article"}),r.createElement(u.A,{club:t,author:a,body:l,documents:n,quote:o,quoteAuthor:i,tagline:s,title:this.title(),image:this.image(),isLoading:A,shareProps:{description:s,imageUrl:this.image(),title:d,type:"article",url:v},articleId:y,teamId:w,published:m,videos:c}))}}A.getInitialProps=async({club:e,query:t,isServer:a,reduxStore:r,res:l,req:n})=>{let s=parseInt(t.id,10),m=(0,d.N2)(r.getState()),c={articleId:s,teamId:t.teamId?parseInt(t.teamId,10):null,activeSection:"news",namespacesRequired:["common"],pageType:"news.article",pageUid:`news.article.${s}`,themeDraftId:m};if(!a)return c;try{let[{error:t}]=await Promise.all([r.dispatch((0,o.N)(e.id,s,n)),r.dispatch((0,i.P)(e.id,m,n))]);return t&&t.errorStatusCode&&l&&(l.statusCode=t.errorStatusCode),c}catch(e){return c}},A.defaultProps={article:null,teamId:null,message:null,loadingError:null,themeDraftId:null};let y={loadArticle:o.N,loadHomepage:i.P},w=(0,l.Ng)((e,t)=>({article:(0,c.vO)(e,t.articleId),hasLoaded:(0,c.vX)(e,t.articleId),homepageHasLoaded:(0,m._j)(e,t.club.id),homepageIsLoading:(0,m.rM)(e,t.club.id),isLoading:(0,c.$q)(e,t.articleId),message:(0,s.I4)(e,`news-${t.articleId}`),loadingError:(0,c.Bt)(e,t.articleId),previouslyLoaded:(0,c.eE)(e,t.articleId)}),y)(A)}},e=>{e.O(0,[2909,2545,7315,6223,9588,3089,1325,6006,4725,1844,7229,99,636,6593,8792],()=>e(e.s=6890)),_N_E=e.O()}]);
4//# debugId=a5ed4ddf-0ae5-5a79-9940-602949888350

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.