PageSourceSearch

https://www.mustakari.fi/_next/static/chunks/pages/arkisto/jaosto/…/uutisarkisto-b8562a2522b49009.js

js mustakari.fi collected 2026-10-02 22:51:38 UTC 4,694 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5853],{29827:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/arkisto/jaosto/[sectionId]/kausi/[seasonId]/joukkueet/[subsiteId]/uutisarkisto",function(){return n(75446)}])},4821:function(t,e,n){"use strict";var s=n(85893),r=n(59130),c=n(41664),i=n.n(c),a=n(15177),o=n(11163);e.Z=(0,r.withTranslation)("common")((function(t){var e=t.newslist,n=t.t,r=(0,o.useRouter)(),c=(0,a.Z)(r.query),u=c.href,l=c.linkAs;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"table-responsive text-left pb-3",children:(0,s.jsxs)("table",{className:"table table-hover",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{scope:"col",width:"200",children:n("newsDate")}),(0,s.jsx)("th",{scope:"col",children:n("newsTitle")}),(0,s.jsx)("th",{scope:"col",children:n("category")})]})}),(0,s.jsx)("tbody",{children:e.length?e.map((function(t){var e="".concat(u,"uutiset/[newsId]/[slug]"),r="".concat(l,"uutiset/").concat(t.id,"/").concat(t.slug),c=n("anews");return 2===t.type&&(e="".concat(u,"ottelut/[newsId]?tab=prepuff"),r="".concat(l,"ottelut/").concat(t.id,"?tab=prepuff"),c=n("gamePrepuff")),3===t.type&&(e="".concat(u,"ottelut/[newsId]?tab=report"),r="".concat(l,"ottelut/").concat(t.id,"?tab=report"),c=n("gameReport")),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:(0,s.jsx)(i(),{href:e,as:r,children:(0,s.jsx)("a",{children:t.date})})}),(0,s.jsx)("td",{children:(0,s.jsx)(i(),{href:e,as:r,children:(0,s.jsx)("a",{children:t.title})})}),(0,s.jsx)("td",{children:(0,s.jsx)(i(),{href:e,as:r,children:(0,s.jsx)("a",{children:c})})})]},t.id)})):(0,s.jsx)("tr",{children:(0,s.jsx)("td",{colSpan:"10",children:n("noNews")})})})]})})})}))},75446:function(t,e,n){"use strict";n.r(e);var s=n(47568),r=n(70655),c=n(85893),i=n(17280),a=n(29473),o=n(4821),u=n(59130),l=n(67294),d=n(70167),h=n(11163),f=n(69913),j=n(89230).default,p=n(5299).default,x=n(67221).default,b=function(t){var e=t.news,n=t.siteData,u=t.t,b=(0,l.useState)(e),m=b[0],w=b[1],v=(0,l.useState)(0),g=v[0],Z=v[1],_=(0,l.useState)(6===e.length),N=_[0],y=_[1],k=(0,h.useRouter)().query,I=(0,f.Z)(n,k.subsiteId,null);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"sticky-top",children:[(0,c.jsx)(j,{}),(0,c.jsx)(p,{})]}),(0,c.jsx)(x,{teamTitle:I}),(0,c.jsx)("section",{className:"sectionhighlightedheader",children:(0,c.jsx)("div",{className:"container pt-4 pb-2",children:(0,c.jsx)("h1",{className:"mb-3",children:u("newsArchive")})})}),(0,c.jsxs)("section",{id:"page-content",children:[(0,c.jsx)("div",{className:"container pt-1 pb-4",children:(0,c.jsx)(o.Z,{newslist:m})}),N?(0,c.jsx)("div",{className:"row",children:(0,c.jsx)("div",{className:"col-12 text-center",children:(0,c.jsx)("button",{type:"button",className:"btn btn-highlighted w-auto my-4",onClick:(0,s.Z)((function(){return(0,r.__generator)(this,(function(t){return[2,E()]}))})),children:u("newsArchiveLoadmore")})})}):null]})]});function E(){return q.apply(this,arguments)}function q(){return(q=(0,s.Z)((function(){var t,e,n,s,c;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return t=g+6,e=(0,d.Z)(),n=(0,i.Z)().origin,[4,a.Z.get("".concat(n,"/api/news/newslist/subsite/").concat(k.subsiteId,"?start=").concat(t,"&archive=true"),e)];case 1:return[4,r.sent().json()];case 2:return s=r.sent(),c=m.concat(s),w(c),Z(t),y(6===s.length),[2]}}))}))).apply(this,arguments)}};b.getInitialProps=function(){var t=(0,s.Z)((function(t,e){var n,s;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return n=(0,i.Z)(t.req).origin,s=(0,d.Z)(t.req),[4,a.Z.get("".concat(n,"/api/news/newslist/subsite/").concat(t.query.subsiteId,"?archive=true"),s)];case 1:return[4,r.sent().json()];case 2:return[2,{news:r.sent(),siteData:e,namespacesRequired:["common"]}]}}))}));return function(e,n){return t.apply(this,arguments)}}(),e.default=(0,u.withTranslation)("common")(b)},1329:function(t,e,n){"use strict";function s(t,e){var n=null;return t.forEach((function(t){t.id==e&&(n=t.name)})),n}n.d(e,{Z:function(){return s}})},69913:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var s=n(1329),r=n(55223),c=n(90028);function i(t,e,n){var i=t.name;if(n){var a=(0,c.Z)(n,t.sections);i=i+" - "+(0,s.Z)(t.sections,a)}return e&&(i=i+" - "+(0,r.Z)(t.sections,e)),i}},55223:function(t,e,n){"use strict";function s(t,e){var n=null;return t.forEach((function(t){t.sectionSubsiteId==e&&(n=t.name),t.subsiteGroups.forEach((function(t){t.subsites.forEac
1h((function(t){t.id==e&&(n=t.name)}))}))})),n}n.d(e,{Z:function(){return s}})}},function(t){t.O(0,[6261,9415,9774,2888,179],(function(){return e=29827,t(t.s=e);var e}));var e=t.O();_N_E=e}]);

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.