PageSourceSearch

https://njs.fi/_next/static/chunks/pages/organisaatio-7154be11b2547c25.js

js njs.fi collected 2026-10-01 16:25:30 UTC 4,415 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4193],{17813:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/organisaatio",function(){return t(33674)}])},31984:function(n,e,t){"use strict";t.d(e,{Z:function(){return h}});var i=t(47568),r=t(70655),o=t(85893),s=t(67294),a=t(64290),l=function(n){var e=n.official,t=(n.personId,n.personType,n.onEventClick),i=(0,s.useContext)(a.Z).siteData;return(0,o.jsx)("div",{className:"col-12 col-sm-6 col-md-3 p-2 player d-flex flex-column",role:"button",children:(0,o.jsxs)("a",{onClick:function(){return t(e)},children:[(0,o.jsxs)("div",{className:"col p-0",children:[e.imageId?(0,o.jsx)("img",{src:"".concat(i.staticUrl,"/imagebank/").concat(e.imageId,"_big").concat(e.imageExtension)}):(0,o.jsx)("img",{src:"/images/pelaajasiluetti.png",alt:""}),(0,o.jsx)("div",{className:"position-absolute player-number px-3 py-2",style:{textAlign:"left"},children:e.role})]}),(0,o.jsx)("div",{className:"col py-2 justify-content-center player-name",children:e.personName})]})})},c=t(59130),u=t(42977),d=t(77104),h=(0,c.withTranslation)("common")((function(n){var e=n.officials,t=n.t,a=n.hideTitle,c=function(){p(!1)},h=(0,s.useState)(!1),f=h[0],p=h[1],m=(0,s.useState)({}),x=m[0],j=m[1];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("section",{className:"sectionhighlightedheader",children:a?null:(0,o.jsx)("div",{className:"container pt-4 pb-2",children:(0,o.jsx)("h1",{className:"mb-3",children:t("theOfficialsList")})})}),(0,o.jsx)("section",{id:"page-content",children:(0,o.jsx)("div",{className:"container pt-1 pb-4",children:(0,o.jsx)("div",{className:"row",children:e.map((function(n){return(0,o.jsx)(l,{official:n,onEventClick:g,personId:n.personId,personType:"official"},"".concat(n.personId,"-").concat(n.role))}))})})}),(0,o.jsxs)(u.Z,{show:f,onHide:c,children:[(0,o.jsx)(u.Z.Header,{closeButton:!0,children:(0,o.jsx)(u.Z.Title,{children:x.title})}),(0,o.jsxs)(u.Z.Body,{children:[x.role?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.role}}):null,x.email?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.email}}):null,x.phone?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.phone}}):null,x.introduction?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.introduction}}):null,(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.body}})]}),(0,o.jsx)(u.Z.Footer,{children:(0,o.jsx)(d.Z,{variant:"secondary",onClick:c,children:t("closeModal")})})]})]});function g(n){return v.apply(this,arguments)}function v(){return(v=(0,i.Z)((function(n){var e,i,o,s;return(0,r.__generator)(this,(function(r){return e=null,i=null,o=null,""!=n.email&&null!==n.email&&(s=n.email,n.email.indexOf("@")>-1&&(s="<a href='mailto:"+n.email+"'>"+n.email+"</a>"),e="<strong>"+t("email")+":</strong> "+s),null!==n.phone&&(i="<strong>"+t("phone")+":</strong> <a href='tel:"+n.phone+"'>"+n.phone+"</a>"),null!==n.introduction&&(o="<p><i>"+n.introduction+"</i></p>"),j({title:n.personName,role:"<h4>"+n.role+"</h4>",email:e,phone:i,introduction:o}),p(!0),[2]}))}))).apply(this,arguments)}}))},33674:function(n,e,t){"use strict";t.r(e);var i=t(47568),r=t(70655),o=t(85893),s=t(17280),a=t(29473),l=t(31984),c=t(43908),u=t(2962),d=t(59130),h=t(70167),f=t(1112).default,p=t(19226).default,m=function(n){var e=n.officials,t=n.siteData,i=n.t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(u.PB,{title:"".concat(t.name," - ").concat(i("organisationListing")),openGraph:{title:"".concat(t.name," - ").concat(i("organisationListing"))}}),(0,o.jsxs)("div",{className:"sticky-top",children:[(0,o.jsx)(f,{}),(0,o.jsx)(p,{})]}),(0,o.jsx)(l.Z,{officials:e,hideTitle:!0})]})};m.getInitialProps=function(){var n=(0,i.Z)((function(n,e){var t,i,o;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return t=(0,s.Z)(n.req).origin,i=(0,h.Z)(n.req),o=(0,c.Z)("",e.sections),[4,a.Z.get("".concat(t,"/api/persons/").concat(o,"/officials"),i)];case 1:return[4,r.sent().json()];case 2:return[2,{officials:r.sent(),siteData:e}]}}))}));return function(e,t){return n.apply(this,arguments)}}(),e.default=(0,d.withTranslation)("common")(m)},43908:function(n,e,t){"use strict";t.d(e,{Z:function(){return r}});var i=t(828);function r(n,e){var t=null;return Object.entries(e).forEach((function(e){var r=(0,i.Z)(e,2),o=(r[0],r[1]);o.url==n&&(t=o.sectionSubsiteId)})),t}}
1},function(n){n.O(0,[385,9454,1725,9226,9774,2888,179],(function(){return e=17813,n(n.s=e);var e}));var e=n.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.