1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2162],{92029:function(e,t,s){var n=s(67294);t.Z=function(e){var t=(0,n.useRef)(e);return(0,n.useEffect)((function(){t.current=e}),[e]),t}},78146:function(e,t,s){s.d(t,{Z:function(){return r}});var n=s(67294),a=s(92029);function r(e){var t=(0,a.Z)(e);return(0,n.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}},60930:function(e,t,s){s.d(t,{Z:function(){return a}});var n=Function.prototype.bind.call(Function.prototype.call,[].slice);function a(e,t){return n(e.querySelectorAll(t))}},19973:function(e,t,s){var n=s(85893),a=s(67294),r=s(61129),c=s.n(r);t.Z=function(e){var t=e.children,s=function(e){l({toggler:!i.toggler,slide:e})},r=(0,a.useState)({toggler:!1,slide:1}),i=r[0],l=r[1],o=(0,a.useState)([]),d=o[0],m=o[1],u=(0,a.useState)(0),h=u[0],x=u[1];return(0,a.useEffect)((function(){var e=[],t=1;document.querySelectorAll(".lightboxWrapper img").forEach((function(s){var n=s.getAttribute("src");n&&n.length&&(s.setAttribute("data-img-index",t++),e.push(n.replace("_big","_huge").replace("_medium","_huge").replace("_thumb","_huge")))})),e.length>0&&(m(e),x(1))}),[]),(0,n.jsxs)("div",{className:"lightboxWrapper",onClick:function(e){if("IMG"===e.target.tagName&&"A"!==e.target.parentNode.tagName&&e.target.hasAttribute("data-img-index")){var t=parseInt(e.target.getAttribute("data-img-index"));s(t)}},children:[t,(0,n.jsx)(c(),{type:"image",toggler:i.toggler,sources:d,slide:i.slide},h)]})}},77429:function(e,t,s){s.d(t,{Z:function(){return f}});var n=s(85893),a=s(67294),r=s(64290),c=s(59130),i=(0,c.withTranslation)("common")((function(e){var t=e.game,s=e.t,c=(0,a.useContext)(r.Z).siteData;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"card",children:[(0,n.jsx)("div",{className:"card-header",children:s("statsTitle")}),(0,n.jsxs)("div",{className:"card-body",children:[(0,n.jsxs)("div",{className:"row text-center align-items-center",children:[(0,n.jsx)("div",{className:"col-4",children:t.awayGame?t.gameGuestteam:(0,n.jsx)("img",{src:"".concat(c.staticUrl,"/logos/logo-300.png"),width:"60"})}),(0,n.jsx)("div",{className:"col-4",children:(0,n.jsx)("h3",{children:t.result})}),(0,n.jsx)("div",{className:"col-4",children:t.awayGame?(0,n.jsx)("img",{src:"".concat(c.staticUrl,"/logos/logo-300.png"),width:"60"}):t.gameGuestteam})]}),(0,n.jsxs)("div",{className:"row",children:[(0,n.jsx)("div",{className:"col-3"}),(0,n.jsx)("div",{className:"col-6",style:{textAlign:"center"},children:t.periodResults.map((function(e,s){return(0,n.jsx)("span",{className:"badge result ml-2",children:e},"".concat(t.gameId,"-").concat(s))}))}),(0,n.jsx)("div",{className:"col-3"})]}),t.gameStats.length?(0,n.jsx)("table",{className:"table text-center text-md-left my-3",children:(0,n.jsx)("tbody",{children:t.gameStats.map((function(e){return(0,n.jsxs)("tr",{style:{color:e.opponentStat?"red":""},children:[(0,n.jsxs)("td",{children:[e.time,"'"]}),(0,n.jsx)("td",{children:e.statType}),(0,n.jsx)("td",{children:e.name})]},e.id)}))})}):null]})]})})})),l=s(56841),o=s(2016),d=s(16539),m=s(67908),u=s(19973),h=(s(11163),s(52217)),x=s(56201),f=(0,c.withTranslation)("common")((function(e){var t=e.game,s=e.gamesList,c=e.siteType,f=e.t,g=e.activeTab,p=e.shareUrl,j=(0,a.useContext)(r.Z).siteData,v=new Date(t.gameDate),N=(0,h.Z)(t.subsiteId,j.sections);return g=null!==g&&void 0!==g?g:"prepuff",(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("section",{id:"games",children:(0,n.jsx)("div",{className:"container py-4",children:(0,n.jsx)("div",{className:"col-12 my-1",children:(0,n.jsxs)("div",{className:"row d-flex align-items-center",children:[(0,n.jsx)("div",{className:"col-12 col-sm-5 col-lg-2 ",children:(0,n.jsxs)("div",{className:"row",children:[(0,n.jsx)("div",{className:"col-4 event-day p-2 m-0 text-center",children:v.getDate()}),(0,n.jsx)("div",{className:"col-8 event-month p-2 m-0 text-center",children:f("shortMonthts.".concat(v.getMonth()))}),(0,n.jsxs)("div",{className:"col-12 event-time p-2 m-0 text-center",children:[(0,n.jsx)("i",{className:"fas fa-clock"}),t.time]})]})}),(0,n.jsx)("div",{className:"col-1 col-sm-1 col-lg-1 text-right text-lg-center"}),(0,n.jsxs)("div",{className:"col-12 col-sm-6 col-lg-9 mt-2",children:[t.subsiteName,", ",t.league,(0,n.jsxs)("h2",{children:[(0,m.Z)(j.shortName,t,N,t.subsiteNameIsPrimary,t.subsiteName),"\xa0\xa0",t.result?t.result:""]}),t.gamePlace]})]})})})}),(0,n.jsxs)(l.Z.Container,{id:"left-tabs",defaultActiveKey:g,children:[(0,n.jsx)("section",{id:"raports-menu",children:(0,n.jsxs)(o.Z,{activeKey:g,as:"ul",className:"nav nav-pills pt-2 p-0 d-flex justify-content-center",variant:"pills",children:[(0,n.jsx)(o.Z.Item,{as:"li",children:(0,n.jsx)(o.Z.Link,{eventKey:"prepuff",children:f("sportTexts.".concat(N,".competitionPrepuff"))})}),(0,n.jsx)(o.Z.Item,{as:"li",children:(0,n.jsx)(o.Z.Link,{eventKey:"report",children:f("sportTexts.".concat(N,".competitionReport"))})})]})}),(0,n.jsx)("section",{id:"page-content",children:(0,n.jsx)("div",{className:"container",children:(0,n.jsxs)("div",{className:"row",children:[(0,n.jsx)("div",{className:"col-md-8 order-0 order-md-0 order-sm-0 py-4",children:(0,n.jsxs)(l.Z.Content,{className:"tab-content",children:[(0,n.jsxs)(l.Z.Pane,{eventKey:"prepuff",children:[(0,n.jsxs)(u.Z,{children:[t.gamePrepuffTitle?(0,n.jsx)("h1",{className:"mb-3",children:t.gamePrepuffTitle}):null,t.prepuffImage?(0,n.jsx)("img",{className:"img-fluid mb-5",src:t.prepuffImage}):null,(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t.gamePrepuff}})]}),(0,n.jsx)(x.Z,{shareUrl:p+"?tab=prepuff"})]},"1"),(0,n.jsxs)(l.Z.Pane,{eventKey:"report",children:[(0,n.jsxs)(u.Z,{children:[(0,n.jsx)("h1",{className:"mb-3",children:t.gamePublicnewsTitle}),t.publicnewsImage?(0,n.jsx)("img",{className:"img-fluid mb-5",src:t.publicnewsImage}):null,(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t.gamePublicnews}})]}),(0,n.jsx)(x.Z,{shareUrl:p+"?tab=report"})]},"2")]})}),(0,n.jsxs)("div",{className:"col-md-4 order-1 order-md-1 order-sm-1 py-4 statistics",children:[t.result?(0,n.jsx)(i,{game:t}):null,(0,n.jsx)("div",{className:"col-12 pelit pb-4 mt-4",children:(0,n.jsx)(d.Z,{games:s,siteType:c,gamesportType:N})})]})]})})})]})]})}))},83593:function(e,t,s){var n=s(85893),a=s(41664),r=s.n(a),c=s(59130);t.Z=(0,c.withTranslation)("common")((function(e){var t=e.linkHref,s=e.linkAs,a=e.day,c=e.month,i=e.time,l=e.title,o=(e.subt
1itle,e.place),d=e.description,m=e.result,u=e.t,h="";return""!=m&&null!==m&&void 0!==m&&(h="<span class='event-result'>"+m+"</span><br />"),(0,n.jsx)(r(),{href:t,as:s,children:(0,n.jsx)("a",{children:(0,n.jsxs)("div",{className:"row mb-3 d-flex align-items-center ",children:[(0,n.jsxs)("div",{className:"col-4 col-md-3",children:[(0,n.jsxs)("div",{className:"row",children:[(0,n.jsx)("div",{className:"col-5 event-day p-2 m-0 text-center",children:a}),(0,n.jsx)("div",{className:"col-7 event-month p-2 m-0 text-center",children:u("shortMonthts.".concat(c))})]}),(0,n.jsx)("div",{className:"row",children:(0,n.jsxs)("div",{className:"col-12 event-time p-2 m-0 text-center",children:[(0,n.jsx)("i",{className:"fas fa-clock"})," ",i]})})]}),(0,n.jsxs)("div",{className:"col-8 col-md-9",children:[(0,n.jsx)("span",{className:"event-descr",children:d}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:"event-title",children:l}),(0,n.jsx)("br",{}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:h}}),(0,n.jsx)("span",{className:"event-place",children:o})]})]})})})}))},16539:function(e,t,s){var n=s(85893),a=s(41664),r=s.n(a),c=s(67294),i=s(64290),l=s(13588),o=s(11163),d=s(59130),m=s(52217),u=s(83593),h=s(15268),x=s(67908);t.Z=(0,d.withTranslation)("common")((function(e){var t,s=e.games,a=e.siteType,d=e.t,f=e.gamesportType,g=(0,c.useContext)(i.Z).siteData,p=(0,o.useRouter)().query,j=(0,l.Z)(p),v=(0,o.useRouter)(),N=(0,l.Z)(v.query),b=N.href,Z=N.linkAs,y=null!==(t=p.section)&&void 0!==t?t:"",w=null;return w="site"==a||"section"==a?(0,h.Z)(y,g.sections):(0,m.Z)(p.subsiteId,g.sections),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"row",children:(0,n.jsx)("h4",{className:"text-black mb-3",children:d("sportTexts.".concat(f,".nextGamesTitle"))})}),s.length?s.map((function(e){var t=new Date(e.gameDate),s=function(e,t){var s={href:"",as:""};return"site"==a?e.isJopoxSite?(s.href="/ottelut/[gameId]",s.as="/ottelut/".concat(t.gameId)):(s.href="/ottelut/[gameId]/[gamesection]",s.as="/ottelut/".concat(t.gameId,"/").concat(t.sectionUrl)):(s.href=j.href+"ottelut/[gameId]",s.as=j.linkAs+"ottelut/".concat(t.gameId)),s}(g,e),r=t.getMonth(),c=t.getDate(),i=e.gameTime,l="".concat(e.subSiteName,", ").concat(e.leagueName),o=(0,x.Z)(g.shortName,e,w,e.subsiteNameIsPrimary,e.subsiteName),d="".concat(e.leagueName," , ").concat(e.subsiteName),m=e.gamePlace;return(0,n.jsx)(u.Z,{linkHref:s.href,linkAs:s.as,day:c,time:i,month:r,title:o,subtitle:l,description:d,place:m,result:""},e.gameId)})):(0,n.jsx)("div",{className:"mb-5",children:d("sportTexts.".concat(f,".noCompetitions"))}),(0,n.jsx)(r(),{href:b+"ottelut",as:Z+"ottelut",children:(0,n.jsx)("a",{className:"btn btn-highlighted w-auto mt-4",children:d("sportTexts.".concat(w,".competitionList"))})})]})}))},56201:function(e,t,s){var n=s(85893),a=s(16573),r=s(1020),c=s(46616),i=s(12834),l=s(69275),o=s(89674),d=s(26377);t.Z=function(e){var t=e.shareUrl;return(0,n.jsxs)("div",{children:[(0,n.jsx)(a.Z,{url:t,children:(0,n.jsx)(r.Z,{round:!0,size:36})}),(0,n.jsx)(c.Z,{url:t,children:(0,n.jsx)("img",{src:"/images/x_logo.png"})}),(0,n.jsx)(i.Z,{url:t,children:(0,n.jsx)(l.Z,{round:!0,size:36})}),(0,n.jsx)(o.Z,{url:t,children:(0,n.jsx)(d.Z,{round:!0,size:36})})]})}},67908:function(e,t,s){function n(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(1===s)return t.gameHometeam;var r,c,i="";n&&a?i=(a+" "+(null!==(c=t.gameHometeam)&&void 0!==c?c:"")).trim():i=(e+" "+(null!==(r=t.gameHometeam)&&void 0!==r?r:"")).trim();return t.awayGame?"".concat(t.gameGuestteam," - ").concat(i," "):" ".concat(i," - ").concat(t.gameGuestteam)}s.d(t,{Z:function(){return n}})},41068:function(e,t,s){var n,a=s(1368),r=s(38321),c=s(44036),i=s.n(c),l=s(67294),o=s(16592),d=s(93825),m=s(34509),u=["className","children"],h=((n={})[o.d0]="show",n[o.cn]="show",n),x=l.forwardRef((function(e,t){var s=e.className,n=e.children,c=(0,r.Z)(e,u),x=(0,l.useCallback)((function(e){(0,m.Z)(e),c.onEnter&&c.onEnter(e)}),[c]);return l.createElement(o.ZP,(0,a.Z)({ref:t,addEndListener:d.Z},c,{onEnter:x}),(function(e,t){return l.cloneElement(n,(0,a.Z)({},t,{className:i()("fade",s,n.props.className,h[e])}))}))}));x.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},x.displayName="Fade",t.Z=x},48358:function(e,t,s){var n=s(1368),a=s(38321),r=s(67294),c=s(16833),i=["as","disabled","onKeyDown"];function l(e){return!e||"#"===e.trim()}var o=r.forwardRef((function(e,t){var s=e.as,o=void 0===s?"a":s,d=e.disabled,m=e.onKeyDown,u=(0,a.Z)(e,i),h=function(e){var t=u.href,s=u.onClick;(d||l(t))&&e.preventDefault(),d?e.stopPropagation():s&&s(e)};return l(u.href)&&(u.role=u.role||"button",u.href=u.href||"#"),d&&(u.tabIndex=-1,u["aria-disabled"]=!0),r.createElement(o,(0,n.Z)({ref:t},u,{onClick:h,onKeyDown:(0,c.Z)((function(e){" "===e.key&&(e.preventDefault(),h(e))}),m)}))}));o.displayName="SafeAnchor",t.Z=o},42473:function(e){var t=function(){};e.exports=t}
1,78660:function(e,t,s){function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}s.d(t,{Z:function(){return a}})}}]);
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.