PageSourceSearch

https://virkistys.fi/_next/static/chunks/9623-81a71010f303f080.js

js virkistys.fi collected 2026-10-02 22:35:57 UTC 5,820 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9623],{69623:function(e,s,n){n.r(s),n.d(s,{default:function(){return j}});var l=n(85893),i=n(41664),c=n.n(i),r=n(11163),t=n(67294),a=n(64290),o=n(55223),u=n(59130),d=n(13588),h=n(52217),m=n(66261);n(84598);var x=n(38430),j=(0,u.withTranslation)("common")((function(e){e.props;var s,n=e.t,i=e.isSubsiteFrontPage,u=function(e,s){return 1===e.menuType?(0,l.jsx)(c(),{href:"".concat(g,"sivut/[navMenuId]/[slug]"),as:"".concat(b,"sivut/").concat(e.id,"/").concat(e.slug),children:(0,l.jsxs)("a",{children:[e.title,s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"drop-icon ",children:"\u25be"}),(0,l.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:"menu-".concat(e.id),children:"\u25be"})]}):null]})}):3===e.menuType?(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("a",{target:"_blank",href:e.url,children:[e.title,s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"drop-icon ",children:"\u25be"}),(0,l.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:"menu-".concat(e.id),children:"\u25be"})]}):null]})}):(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("a",{children:[e.title,s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"drop-icon ",children:"\u25be"}),(0,l.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:"menu-".concat(e.id),children:"\u25be"})]}):null]})})},j=(0,r.useRouter)().query,f=(0,r.useRouter)(),p=(0,d.Z)(f.query),g=p.href,b=p.linkAs,k=(0,t.useContext)(a.Z).siteData,N=(0,h.Z)(j.subsiteId,k.sections);s=(0,o.Z)(k.sections,j.subsiteId);var y,v=k.subsiteMenus[j.subsiteId],F=null!==(y=k.subsiteSomeLinks[j.subsiteId])&&void 0!==y?y:[];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("nav",{className:"menu menu-primary",children:[(0,l.jsxs)("label",{htmlFor:"subsitemenu",id:"toggle-menu",className:"toggleMenu",children:[s,(0,l.jsx)("span",{className:"drop-icon",children:"\u25be"})]}),(0,l.jsx)("input",{type:"checkbox",id:"subsitemenu",className:"toggler"}),(0,l.jsxs)("ul",{className:"main-menu clearfix",children:[(0,l.jsx)("li",{children:(0,l.jsx)(c(),{href:"".concat(g),as:"".concat(b),children:(0,l.jsx)("a",{children:(0,l.jsx)("i",{className:"fas fa-home"})})})}),(0,l.jsxs)("li",{children:[(0,l.jsxs)("a",{children:[s,(0,l.jsx)("span",{className:"drop-icon",children:"\u25be"}),(0,l.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:"subsitemenu1",children:"\u25be"})]}),(0,l.jsx)("input",{type:"checkbox",id:"subsitemenu1",className:"toggler"}),(0,l.jsxs)("ul",{className:"sub-menu",children:[v&&v.length>0?v.map((function(e){return(0,l.jsxs)("li",{children:[u(e,e.children&&e.children.length>0),e.children&&e.children.length>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"drop-icon ",children:"\u25be"}),(0,l.jsx)("label",{title:"Toggle Drop-down",className:"drop-icon",htmlFor:"menu-".concat(e.id),children:"\u25be"}),(0,l.jsx)("input",{className:"toggler",type:"checkbox",id:"menu-".concat(e.id)}),(0,l.jsx)("ul",{className:"sub-menu",children:e.children.map((function(e){return(0,l.jsx)("li",{children:u(e,!1)},e.id)}))})]}):null]},e.id)})):null,(0,l.jsx)("li",{children:(0,l.jsx)(c(),{href:"".concat(g,"uutisarkisto"),as:"".concat(b,"uutisarkisto"),children:(0,l.jsx)("a",{children:n("subsiteNewsList")})})}),(0,l.jsx)("li",{children:(0,l.jsx)(c(),{href:"".concat(g,"ottelut"),as:"".concat(b,"ottelut"),children:(0,l.jsx)("a",{children:n("sportTexts.".concat(N,".subsiteCompetitionlist"))})})}),(0,l.jsx)("li",{children:(0,l.jsx)(c(),{href:"".concat(g,"lomakkeet"),as:"".concat(b,"lomakkeet"),children:(0,l.jsx)("a",{children:n("queriesListing")})})}),(0,l.jsx)("li",{children:(0,l.jsx)(c(),{href:"".concat(g,"materiaalipankki"),as:"".concat(b,"materiaalipankki"),children:(0,l.jsx)("a",{children:n("documents")})})}),(0,l.jsx)("li",{children:(0,l.jsx)(c(),{href:"".concat(g,"tietosuojaseloste"),as:"".concat(b,"tietosuojaseloste"),children:(0,l.jsx)("a",{children:n("dataPrivacy")})})})]})]}),(0,l.jsx)("li",{children:i?(0,l.jsx)(m.rU,{to:"players",spy:!0,smooth:!0,duration:500,style:{cursor:"pointer"},children:n("sportTexts.".concat(N,".subsiteTeamlist"))}):(0,l.jsx)(c(),{href:"".concat(g),as:"".concat(b,"#team"),children:(0,l.jsx)("a",{children:n("sportTexts.".concat(N,".subsiteTeamlist"))})})}),(0,l.jsx)("li",{children:i?(0,l.jsx)(m.rU,{to:"officials",spy:!0,smooth:!0,duration:500,style:{cursor:"pointer"},children:n("subsiteOfficialslist")}):(0,l.jsx)(c(),{href:"".concat(g),as:"".concat(b,"#officials"),children:(0,l.jsx)("a",{children:n("subsiteOfficialslist")})})}),(0,l.jsxs)("li",{className:"menu-somelinks",children:[F&&F.length?(0,l.jsx)("div",{className:"menu-somelinks-container",children:F.map((function(e){return(0,x.Z)(e)}))}):null,k.lockerRoomUrl?(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferrer nofollow",href:"".concat(k.lockerRoomUrl),style:{display:"inline-block"},children:(0,l.jsx)("i",{className:"fas fa-user-lock"})}):null]})]})]}),(0,l.jsx)("nav",{className:"menu menu-login",children:k.lockerRoomUrl?(0,l.jsxs)("a",{target:"_blank",className:"main-menu clearfix toggleMenu",rel:"noopener noreferrer nofollow",id:"toggle-menu",href:"".concat(k.lockerRoomUrl),style:{display:"block"},children:[n("login"),(0,l.jsx)("i",{style:{float:"right"},className:"fas fa-user-lock"})]}):null})]})}))},55223:function(e,s,n){function l(e,s){var n=null;return e.forEach((function(e){e.sectionSubsiteId==s&&(n=e.name),e.subsiteGroups.forEach((function(e){e.subsites.forEac
1h((function(e){e.id==s&&(n=e.name)}))}))})),n}n.d(s,{Z:function(){return l}})},52217:function(e,s,n){function l(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 l}})}}]);

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.