1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9218],{50213:function(e,a,t){"use strict";t.r(a);var n,r=t(17674),l=t(50029),s=t(87794),i=t.n(s),u=t(68115);t(67294);var o=t(19039),c=t(76321),d=t(7305),g=t(17592),v=t(57088),y=t(85893),PlayerSinglePage=function(e){var a=e.lang,t=e.country,n=e.statusCode,r=e.slug,l=e.headerData,s=e.gameWeeksData,i=e.blocksData,u=e.playersData,p=e.singlePlayer,_=e.shareImage,f=e.activeSinglePlayer;if(200!==n)return(0,y.jsx)(c.Z,{statusCode:n});var h={};if(_){var m,P=null==i?void 0:i.find(function(e){var a;return(null==e?void 0:null===(a=e.image)||void 0===a?void 0:a.id)===parseInt(_)});h.url=(0,v.Z)("beyondstats-player",{slug:r,image:_,lang:a,country:t}),h.images=[{url:null==P?void 0:null===(m=P.image)||void 0===m?void 0:m.url,alt:"".concat(g.Z.t("microsoft_page_title")," | LALIGA")}]}return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d.Z,{title:g.Z.t("microsoft_page_title"),description:g.Z.t("microsoft_page_description"),routeName:"beyondstats-player",routeParams:{slug:r},openGraph:h}),(0,y.jsx)(o.Z,{headerData:l,gameWeeksData:s,blocksData:i,playersData:u,activePlayers:!0,singlePlayer:p,activeSinglePlayer:f})]})};PlayerSinglePage.getInitialProps=(n=(0,l.Z)(i().mark(function _callee(e,a,t){var n,l,s,o,c,d,g,v,y,p,_,f,h,m,P;return i().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return n=e.res,s=(l=e.query).slug,o=null==l?void 0:l.image,c=200,i.prev=4,i.next=7,Promise.all([u.wh(e).then(function(e){return null==e?void 0:e.beyond_stats_header}),u.F2(e).then(function(e){return null==e?void 0:e.beyond_stats_gameweeks}),u.qo({q:null},e).then(function(e){return null==e?void 0:e.beyond_stats_players})]);case 7:if(h=i.sent,d=(m=(0,r.Z)(h,3))[0],g=m[1],!(p=null===(f=v=m[2])||void 0===f?void 0:f.find(function(e){return(null==e?void 0:e.slug)===s}))){i.next=20;break}return i.next=16,u.Ye({player:null===(P=p)||void 0===P?void 0:P.id,limit:10},e).then(function(e){return null==e?void 0:e.beyond_stats_blocks});case 16:y=i.sent,_=p.id,i.next=21;break;case 20:c=404;case 21:i.next=27;break;case 23:i.prev=23,i.t0=i.catch(4),n&&(n.statusCode=i.t0.code),c=i.t0.code;case 27:return i.abrupt("return",{lang:a,country:t,statusCode:c,slug:s,headerData:d,gameWeeksData:g,blocksData:y,playersData:v,singlePlayer:p,shareImage:o,activeSinglePlayer:_});case 28:case"end":return i.stop()}},_callee,null,[[4,23]])})),function(e,a,t){return n.apply(this,arguments)}),a.default=PlayerSinglePage},66207:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/beyondstats-old/player-single",function(){return t(50213)}])}},function(e){e.O(0,[5895,33,958,6957,1202,3456,9774,2888,179],function(){return e(e.s=66207)}),_N_E=e.O()}]);
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.