1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9415],{67221:function(e,s,n){n.r(s);var t=n(85893),i=n(67294),a=n(64290),c=n(59130),o=n(11163),r=n(97081);n(41664);s.default=(0,c.withTranslation)("common")((function(e){var s=e.t,n=(0,i.useContext)(a.Z).siteData,c=(0,o.useRouter)().query;if(!c.sectionId||!c.seasonId)return null;var l=n.sections.find((function(e){return e.id==c.sectionId})),u=l.seasons.find((function(e){return e.id==c.seasonId})).seasonData,d="";return"subsiteId"in c&&(d=(0,r.Z)(c.subsiteId,u.subsiteGroups)),(0,t.jsx)("header",{children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"col-12 mt-2",children:(0,t.jsx)("div",{className:"alert alert-danger",children:(0,t.jsxs)("span",{style:{color:"#6c757d"},children:[s("browsingArchive")," ",l.name," / ",u.seasonName," / ",d]})})})})})}))},89230:function(e,s,n){n.r(s),n.d(s,{default:function(){return x}});var t=n(85893),i=n(64290),a=n(67294),c=n(41664),o=n.n(c),r=(n(55e3),n(59130)),l=n(79548),u=n(10055),d=n(11163),h=n(15311),m=(0,r.withTranslation)("common")((function(e){e.frontPageText;var s=e.t,n=((0,a.useContext)(l.OO).i18n.language,(0,a.useContext)(i.Z).siteData),c=(0,d.useRouter)().query;if(!c.sectionId||!c.seasonId)return null;var r=n.sections.find((function(e){return e.id==c.sectionId})).seasons.find((function(e){return e.id==c.seasonId})).seasonData.subsiteGroups;return(0,t.jsxs)("nav",{className:"menu menu-common",children:[(0,t.jsxs)("label",{htmlFor:"teamsmenu",id:"toggle-menu",className:"toggleMenu",children:[(0,t.jsx)("img",{src:"".concat(n.staticUrl,"/logos/logo-300.png"),style:{height:"40px",width:"40px"},className:"mr-2",alt:""}),s("siteMenu"),(0,t.jsx)("span",{className:"drop-icon",children:"\u25be"})]}),(0,t.jsx)("input",{type:"checkbox",className:"toggler",id:"teamsmenu"}),(0,t.jsxs)("ul",{className:"main-menu clearfix",children:[(0,t.jsx)("li",{children:(0,t.jsx)(o(),{href:"/",children:(0,t.jsxs)("button",{className:"nav-button",children:[(0,t.jsx)("i",{className:"fas fa-sign-out-alt rotate-180"}),"\xa0",s("leaveArchive")]})})}),(0,t.jsx)("li",{children:(0,t.jsx)(o(),{href:"/arkisto/jaosto/[sectionId]/kausi/[seasonId]",as:"/arkisto/jaosto/".concat(c.sectionId,"/kausi/").concat(c.seasonId),children:(0,t.jsx)("a",{children:s("seasonFrontpage")})})}),r.map((function(e,n){return(0,t.jsxs)("li",{children:[(0,t.jsxs)("a",{href:"#",children:[r.length>1?e.title:s("subsiteListing"),(0,t.jsx)("span",{className:"drop-icon",children:"\u25be"}),(0,t.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:"group_"+n,children:"\u25be"})]}),(0,t.jsx)("input",{type:"checkbox",id:"group_"+n}),(0,t.jsx)("ul",{className:"sub-menu",children:e.subsites.map((function(e){return(0,t.jsx)("li",{children:e.isLink?(0,t.jsx)("a",{href:e.url,target:"_blank",children:e.name}):(0,t.jsx)(o(),{href:"/arkisto/jaosto/[sectionId]/kausi/[seasonId]/joukkueet/[subsiteId]",as:"/arkisto/jaosto/".concat(c.sectionId,"/kausi/").concat(c.seasonId,"/joukkueet/").concat(e.id),children:(0,t.jsx)("a",{children:e.name})})},e.id)}))})]},e.title)})),(0,t.jsx)(h.Z,{}),(0,t.jsx)("li",{children:(0,t.jsx)(u.Z,{})})]})]})})),x=((0,r.withTranslation)("common")((function(e){var s=e.sections,n=e.t;return(0,t.jsxs)("nav",{className:"menu menu-common",children:[(0,t.jsxs)("label",{htmlFor:"section-menu",className:"toggleMenu",children:["Jaostovalikko ",(0,t.jsx)("span",{className:"drop-icon",children:"\u25be"})]}),(0,t.jsx)("span",{children:n("archiveView")}),(0,t.jsx)("input",{type:"checkbox",id:"section-menu",className:"toggler"}),(0,t.jsxs)("ul",{className:"main-menu clearfix",children:[(0,t.jsx)("li",{children:(0,t.jsx)(o(),{href:"/",children:(0,t.jsx)("a",{children:n("clubfrontPage")})})}),s.map((function(e){return 0!==e.portalType?function(e){return(0,t.jsxs)("li",{children:[(0,t.jsx)(o(),{href:"/[section]",as:"/".concat(e.url),children:(0,t.jsxs)("a",{children:[e.name,(0,t.jsx)("span",{className:"drop-icon",children:"\u25be"})]})}),(0,t.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:"section-".concat(e.id),children:"\u25be"}),(0,t.jsx)("input",{type:"checkbox",className:"toggler",id:"section-".concat(e.id)}),e.subsiteGroups.length>0?(0,t.jsx)("ul",{className:"sub-menu",children:e.subsiteGroups.length>1?e.subsiteGroups.map((function(s,n){return(0,t.jsxs)("li",{children:[(0,t.jsxs)("a",{href:"#",children:[s.title,(0,t.jsx)("span",{className:"drop-icon",children:"\u25be"}),(0,t.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:e.id+"_group_"+n,children:"\u25be"})]}),(0,t.jsx)("input",{type:"checkbox",id:e.id+"_group_"+n}),(0,t.jsx)("ul",{className:"sub-menu",children:s.subsites.map((function(s){return(0,t.jsx)("li",{children:s.isLink?(0,t.jsx)("a",{href:s.url,target:"_blank",children:s.name}):(0,t.jsx)(o(),{href:"/[section]/joukkueet/[subsiteId]",as:"/".concat(e.url,"/joukkueet/").concat(s.id),children:(0,t.jsx)("a",{children:s.name})})},s.id)}))})]},s.title)})):e.subsiteGroups[0].subsites.map((function(s){return(0,t.jsx)("li",{children:s.isLink?(0,t.jsx)("a",{href:s.url,target:"_blank",children:s.name}):(0,t.jsx)(o(),{href:"/[section]/joukkueet/[subsiteId]",as:"/".concat(e.url,"/joukkueet/").concat(s.id),children:(0,t.jsx)("a",{children:s.name})})},s.id)}))}):null]},e.id)}(e):null})),(0,t.jsx)("li",{children:(0,t.jsx)(u.Z,{})})]})]})})),(0,r.withTranslation)("common")((function(e){var s=e.subsiteGroups,n=e.t,c=((0,a.useContext)(i.Z).siteData,(0,t.jsx)(m,{frontPageText:n("clubfrontPage"),subsiteGroups:s}));return(0,t.jsx)(t.Fragment,{children:c})})))},5299:function(e,s,n){n.r(s);var t=n(85893),i=n(41664),a=n.n(i),c=n(11163),o=n(67294),r=n(64290),l=n(59130),u=n(15177),d=n(52217),h=n(66261);s.default=(0,l.withTranslation)("common")((function(e){var s=e.t,n=e.isSubsiteFrontPage,i=(0,c.useRouter)().query,l=(0,c.useRouter)(),m=(0,u.Z)(l.query),x=m.href,j=m.linkAs,f=(0,o.useContext)(r.Z).siteData,p=(0,d.Z)(i.subsiteId,f.sections);return(0,t.jsxs)("nav",{className:"menu menu-primary",children:[(0,t.jsxs)("label",{htmlFor:"subsitemenu",id:"toggle-menu",className:"toggleMenu",children:[s("frontPage"),(0,t.jsx)("span",{className:"drop-icon",children:"\u25be"})]}),(0,t.jsx)("input",{type:"checkbox",id:"subsitemenu",className:"toggler"}),(0,t.jsxs)("ul",{className:"main-menu clearfix",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a(),{href:"".concat(x),as:"".concat(j),children:(0,t.jsxs)("a",{children:[(0,t.jsx)("i",{className:"fas fa-home"})," ",s("frontPage")]})})}),(0,t.jsx)("li",{children:i.subsiteId?n?(0,t.jsx)(h.rU,{to:"players",spy:!0,smooth:!0,duration:500,style:{cursor:"pointer"},children:s("sportTexts.".concat(p,".subsiteTeamlist"))}):(0,t.jsx)(a(),{href:"".concat(x),as:"".concat(j,"#team"),children:(0,t.jsx)("a",{children:s("sportTexts.".concat(p,".subsiteTeamlist"))})}):null}),(0,t.jsx)("li",{children:n?(0,t.jsx)(h.rU,{to:"officials",spy:!0,smooth:!0,duration:500,style:{cursor:"pointer"},children:s("subsiteOfficialslist")}):(0,t.jsx)(a(),{href:"".concat(x),as:"".concat(j,"#officials"),children:(0,t.jsx)("a",{children:s("subsiteOfficialslist")})})}),(0,t.jsx)("li",{children:(0,t.jsx)(a(),{href:"".concat(x,"uutisarkisto"),as:"".concat(j,"uutisarkisto"),children:(0,t.jsx)("a",{children:s("subsiteNewsList")})})}),(0,t.jsx)("li",{children:(0,t.jsx)(a(),{href:"".concat(x,"ottelut"),as:"".concat(j,"ottelut"),children:(0,t.jsx)("a",{children:s("sportTexts.".concat(p,".subsiteCompetitionlist"))})})})]})]})}))},10055:function(e,s,n){var t=n(85893),i=n(64290),a=n(67294),c=n(59130),o=n(55e3);s.Z=function(e){var s=(0,a.useContext)(i.Z).siteData;return s.languages.length<2?null:(0,t.jsx)(t.Fragment,{children:s.languages.map((function(e){return(0,t.jsx)("img",{alt:o.Z[e].name,src:"/images/lang_".concat(e,".png"),style:{cursor:"pointer"}
1,onClick:function(s){c.i18n.changeLanguage(o.Z[e].code,(function(){window.location.href=window.location.href}))}},e)}))})}},15311:function(e,s,n){var t=n(85893),i=n(64290),a=n(11163),c=n(67294),o=n(59130);s.Z=(0,o.withTranslation)("common")((function(e){for(var s=e.t,n=function(e,s){r.push("/arkisto/jaosto/[sectionId]/kausi/[seasonId]","/arkisto/jaosto/".concat(e,"/kausi/").concat(s))},o=(0,c.useContext)(i.Z).siteData,r=(0,a.useRouter)(),l=!1,u=0;u<o.sections.length;u++)if(o.sections[u].seasons.length){l=!0;break}return l?((0,c.useEffect)((function(){var e=document.getElementById("seasonMenu").getBoundingClientRect();window.innerWidth-e.right<300&&Array.from(document.getElementsByClassName("section-seasons")).forEach((function(e){e.classList.add("left-sub-menu")}))}),[]),(0,t.jsxs)("li",{id:"seasonMenu",style:{marginLeft:"1rem"},children:[(0,t.jsxs)("button",{className:"nav-button",onClick:function(){document.getElementById("archivemenu").checked=!document.getElementById("archivemenu").checked},children:[(0,t.jsx)("i",{className:"fas fa-history leave"}),"\xa0",s("archive"),(0,t.jsx)("span",{className:"drop-icon",children:"\u25be"}),(0,t.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:"archivemenu",children:"\u25be"})]}),(0,t.jsx)("input",{type:"checkbox",id:"archivemenu"}),(0,t.jsx)("ul",{className:"sub-menu",children:1==o.sections.length?o.sections[0].seasons.map((function(e){return(0,t.jsx)("li",{children:(0,t.jsx)("a",{rel:"nofollow",style:{cursor:"pointer"},onClick:function(){return n(o.sections[0].id,e.id)},children:e.name})},e.id)})):o.sections.map((function(e){return e.seasons.length?function(e){return(0,t.jsxs)("li",{children:[(0,t.jsxs)("a",{href:"#",children:[e.name,(0,t.jsx)("span",{className:"drop-icon",children:"\u25be"}),(0,t.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:"archivemenu-".concat(e.id),children:"\u25be"})]}),(0,t.jsx)("input",{type:"checkbox",id:"archivemenu-".concat(e.id)}),(0,t.jsx)("ul",{className:"sub-menu section-seasons",children:e.seasons.map((function(s){return(0,t.jsx)("li",{children:(0,t.jsx)("a",{rel:"nofollow",style:{cursor:"pointer"},onClick:function(){return n(e.id,s.id)},children:s.name})},s.id)}))})]},e.id)}(e):function(e){return 0==e.portalType?null:(0,t.jsx)("li",{children:(0,t.jsx)("a",{className:"disabled",href:"#",children:e.name})},e.id)}(e)}))})]})):null}))},15177:function(e,s,n){function t(e){var s="/arkisto/jaosto/[sectionId]/kausi/[seasonId]/",n="/arkisto/jaosto/".concat(e.sectionId,"/kausi/").concat(e.seasonId,"/");return"subsiteId"in e&&(s+="joukkueet/[subsiteId]/",n+="joukkueet/".concat(e.subsiteId,"/")),{href:s,linkAs:n}}n.d(s,{Z:function(){return t}})},97081:function(e,s,n){function t(e,s){for(var n=0;n<s.length;n++)for(var t=0;t<s[n].subsites.length;t++)if(s[n].subsites[t].id==e)return s[n].subsites[t].name;return""}n.d(s,{Z:function(){return t}})},52217:function(e,s,n){function t(e,s){var n=0;return s.forEach((function(s){s.subsiteGroups.forEach((function(s){s.subsites.forEach((function(s){s.id==e&&(n=s.sportType)}))}))})),n}n.d(s,{Z:function(){return t}})}}]);
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.