1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3750],{96643:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/novinky",function(){return t(8765)}])},8765:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return L},default:function(){return y}});var s=t(74512),r=t(60946),a=t(44229),i=t(5001),c=t.n(i),l=t(19291),o=t(28165),u=t(48033),d=t(67452),m=t(97939),f=t(3541),h=t(99268),p=t(15710),x=t(21402),w=t(42648),v="/api/news",_=function(e,n){var t=new URLSearchParams({offset:"".concat(e)});return null===n||0===e?"".concat(v,"?").concat(t.toString()):n.length<20?null:"".concat(v,"?").concat(t.toString())};var N=function(e){var n,t=e.news,a=e.prefixes,i=(0,f.Z)(e,["news","prefixes"]),c=(0,r.qM)().t,l=(0,p.g_)(_,{initialData:[t]}),o=l.data,u=l.error,d=l.size,v=l.setSize,N=!o&&!u,j=o?(n=[]).concat.apply(n,(0,h.Z)(o)):[];return j||N?(0,s.jsxs)("div",{children:[j.map((function(e){return(0,s.jsx)(x.Z,(0,m.Z)({news:e,prefix:a.newsList},i),e.id)})),(0,s.jsx)("div",{className:"TeamMatches__pagination",children:j&&void 0!==o?d>o.length?(0,s.jsx)(w.Z,{type:"button",variant:"dark-outline",disabled:!0,children:c("team.matches.loading")}):20*d>j.length?null:(0,s.jsx)(w.Z,{type:"button",variant:"dark-outline",onClick:function(){return v(d+1)},children:c("team.matches.more")}):null})]}):null};var j=function(e){var n=e.news,t=e.prefixes,a=(0,r.qM)().t;return(0,s.jsxs)(o.Z,{children:[(0,s.jsx)("h1",{children:a("news.list.title")}),(0,s.jsx)(N,{news:n,prefixes:t})]})},b=(function(){var e=(0,a.Z)(c().mark((function e(n){var t,s,r,a;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.locale,e.next=3,u.SZ.NewsListPage({union:"952bd190-5a28-473c-b845-b2b3a3166a08",locale:(0,d.Wh)(t),limit:20,offset:0});case 3:return s=e.sent,r=s.news,a=s.navigation,e.t0=a,e.t1=r,e.next=10,(0,l.F0)();case 10:return e.t2=e.sent,e.t3={navigation:e.t0,news:e.t1,partners:e.t2},e.abrupt("return",{props:e.t3});case 13:case"end":return e.stop()}}),e)})))}(),t(38501)),g=t(1211),Z=t(25933),L=!0;function y(e){var n=e.navigation,t=e.partners,a=e.news,i=(0,r.qM)().t;return(0,s.jsxs)(b.Z,{navigation:n,partners:t,children:[(0,s.jsx)(g.Z,{title:i("news.list.title")}),(0,s.jsx)(j,{news:a,prefixes:{newsList:Z.C.newsList}})]})}},21402:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var s=t(74512),r=t(89218),a=t.n(r),i=t(84906),c=t(20333),l=t(40841),o=t.n(l),u=t(89852);function d(e){var n=e.news,t=e.prefix,r=e.contentClassName,l=e.perexClassName,d=e.titleClassName,m=e.timeClassName,f=(0,i.K)(n.publishedAt),h=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"NewsListItem__thumbnail",children:[n.photoUrl&&(0,s.jsx)("img",{className:"NewsListItem__image",src:n.photoUrl,alt:n.title}),"952bd190-5a28-473c-b845-b2b3a3166a08"!==n.union.id&&(0,s.jsx)("div",{className:"NewsListItem__union",children:n.union.name})]}),(0,s.jsxs)("div",{className:o()("NewsListItem__content",r),children:[(0,s.jsx)("h3",{className:o()("NewsListItem__title",d),children:n.title}),(0,s.jsxs)("span",{className:o()("NewsListItem__subtitle",m),children:[(0,s.jsx)("span",{className:m,children:(0,s.jsx)(u.Z,{date:f,format:"dd/MM/yyyy, HH:mm"})}),n.categories.map((function(e){return e?(0,s.jsx)("span",{className:m,children:e.name},e.id):null}))]}),(0,s.jsx)("p",{className:o()("NewsListItem__perex",l),children:(0,c.$G)(n.perex,256)})]})]});return n.externalLink?(0,s.jsx)("a",{href:n.externalLink,target:"_blank",className:"NewsListItem",rel:"noreferrer",children:h}):(0,s.jsx)(a(),{href:"".concat(t,"/").concat(n.paths.active),children:(0,s.jsx)("a",{className:"NewsListItem",children:h})})}},99268:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var s=t(14298);var r=t(5539);var a=t(48641);function i(e){return function(e){if(Array.isArray(e))return(0,s.Z)(e)}(e)||(0,r.Z)(e)||(0,a.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}},function(e){e.O(0,[6102,861,8752,9774,2888,179],(function(){return n=96643,e(e.s=n);var n}));var n=e.O();_N_E=n}]); 2//# sourceMappingURL=novinky-f04d3766c24334d3.js.map
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.