PageSourceSearch

https://www.donaghadee-rugby.co.uk/_next/static/chunks/pages/news/article-37dbea863c2b01be.js

js donaghadee-rugby.co.uk collected 2026-10-02 21:54:22 UTC 5,432 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]="da033cf3-df21-5a1c-b55c-d6da331b4bc2")}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:()=>s,eE:()=>i,jf:()=>n,vO:()=>d,vX:()=>o});var r=a(82851);let l=(e,t)=>{let a=(0,r.get)(e,"news.loadingArticles",[]);return(0,r.includes)(a,t)},i=(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)},d=(e,t)=>{let a=(0,r.get)(e,"news.articles",[]);return(0,r.find)(a,{id:t})||{}},n=e=>(0,r.get)(e,"news.newsPageLoadingError"),s=(e,t)=>{let a=(0,r.get)(e,"news.newsArticlePageLoadingError");return(0,r.get)(a,t)}},27725:(e,t,a)=>{"use strict";a.d(t,{N:()=>d,f:()=>o});var r=a(18368),l=a(50022),i=a(53948);let o=(e,t,a,o)=>async d=>{try{d({type:i.CZ,payload:{clubId:e}}),d({type:i.Tm,payload:{clubId:e}});let n=new l.A(e,"news",t),s=await r.A.getPageData(n,a),{messages:p}=s.data;return d({type:i.Vv,payload:{clubId:e,messages:p,key:s.key.toString()}}),o||d({type:i.oh,payload:n.toString()}),{}}catch(a){let t=500;return a&&(t=a.errorStatusCode||t),d({type:i.DL,payload:{clubId:e,statusCode:t,error:a}}),{error:a}}},d=(e,t,a)=>async o=>{try{o({type:i.Fq,payload:{clubId:e,articleId:t}});let d=new l.A(e,"news_article",{id:t}),n=await r.A.getPageData(d,a);return o({type:i.xY,payload:{articleId:t,article:n.data}}),o({type:i.oh,payload:d.toString()}),{}}catch(r){let a=500;return r&&(a=r.errorStatusCode||a),o({type:i.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),i=a(53948);let o=(e,t,a)=>async o=>{try{o({type:i.ji,payload:{clubId:e,themeDraftId:t}});let d=new l.A(e,"homepage",{themeDraftId:t}),n=await r.A.getPageData(d,a);return await o({type:i.Z1,payload:{clubId:e,themeDraftId:t,pageData:n.data}}),o({type:i.oh,payload:d.toString()}),{}}catch(r){let a=500;return r&&(a=r.errorStatusCode||a),o({type:i.Cy,payload:{clubId:e,themeDraftId:t,statusCode:a,error:r}}),{error:r}}}},96507:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>f});var r=a(14232),l=a(2171),i=a(82851),o=a(27725),d=a(43594),n=a(11431),s=a(79722),p=a(71051),u=a(24980),c=a(81883),g=a(63851),y=a(82868),h=a(95435);function m(){return(m=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 w 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,i.get)(e,"title",(0,i.get)(t,"title","Loading"))};image=()=>{let{article:e,message:t}=this.props;return(0,i.get)(e,"image_url",(0,i.get)(t,"image"))};render(){let{loadingError:e,club:t,article:{author:a,body_html:l,documents:i,quote:o,quote_author:d,tagline:n,title:s,published:p,videos:u}={},isLoading:w,articleId:I,teamId:f}=this.props;if(e)return r.createElement(c.A,m({clubId:t.id},e,{reload:this.load}));let _=(0,h.A)(t,"news.article",{_title:s,id:I});return r.createElement(r.Fragment,null,r.createElement(y.A,{club:t,title:this.title(),description:n,routeParams:{_title:s,id:I},route:"news.article"}),r.createElement(g.A,{club:t,author:a,body:l,documents:i,quote:o,quoteAuthor:d,tagline:n,title:this.title(),image:this.image(),isLoading:w,shareProps:{description:n,imageUrl:this.image(),title:s,type:"article",url:_},articleId:I,teamId:f,published:p,videos:u}))}}w.getInitialProps=async({club:e,query:t,isServer:a,reduxStore:r,res:l,req:i})=>{let n=parseInt(t.id,10),p=(0,s.N2)(r.getState()),u={articleId:n,teamId:t.teamId?parseInt(t.teamId,10):null,activeSection:"news",namespacesRequired:["common"],pageType:"news.article",pageUid:`news.article.${n}`,themeDraftId:p};if(!a)return u;try{let[{error:t}]=await Promise.all([r.dispatch((0,o.N)(e.id,n,i)),r.dispatch((0,d.P)(e.id,p,i))]);return t&&t.errorStatusCode&&l&&(l.statusCode=t.errorStatusCode),u}catch(e){return u}},w.defaultProps={article:null,teamId:null,message:null,loadingError:null,themeDraftId:null};let I={loadArticle:o.N,loadHomepage:d.P},f=(0,l.Ng)((e,t)=>({article:(0,u.vO)(e,t.articleId),hasLoaded:(0,u.vX)(e,t.articleId),homepageHasLoaded:(0,p._j)(e,t.club.id),homepageIsLoading:(0,p.rM)(e,t.club.id),isLoading:(0,u.$q)(e,t.articleId),message:(0,n.I4)(e,`news-${t.articleId}`),loadingError:(0,u.Bt)(e,t.articleId),previouslyLoaded:(0,u.eE)(e,t.articleId)}),I)(w)}},e=>{e.O(0,[2909,2545,7315,6223,2186,3089,1325,6006,4725,1844,7985,3851,636,6593,8792],()=>e(e.s=6890)),_N_E=e.O()}]);
4//# debugId=da033cf3-df21-5a1c-b55c-d6da331b4bc2

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.