PageSourceSearch

https://palloiirot.fi/_next/static/chunks/pages/joukkueyhteydet-88a33495429ac6ec.js

js palloiirot.fi collected 2026-10-01 16:25:25 UTC 6,600 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8653],{43938:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/joukkueyhteydet",function(){return n(61093)}])},37753:function(e,t,n){"use strict";var s=n(47568),i=n(70655),r=n(85893),o=n(59130),c=n(67294),a=n(64290),l=n(17280),u=n(29473),d=n(70167),h=n(11163),f=n(90028),p=n(42977),m=n(77104),x=n(61129),j=n.n(x);t.Z=(0,o.withTranslation)("common")((function(e){var t=e.subsitecontacts,n=e.siteroles,o=e.t,x=e.siteType,g=function(){Z(!1)},b=(0,c.useState)(t),_=b[0],v=b[1],y=(0,c.useState)(!1),I=y[0],Z=y[1],N=(0,c.useState)({}),k=N[0],L=N[1],w=(0,c.useState)({toggler:!1}),T=w[0],C=w[1],S=(0,c.useState)([]),E=S[0],H=S[1],M=(0,c.useContext)(a.Z).siteData,O=(0,h.useRouter)().query;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"form-group mb-2",style:{display:"inline-block"},children:(0,r.jsxs)("select",{className:"form-control",onChange:function(){var e=(0,s.Z)((function(e){return(0,i.__generator)(this,(function(t){return[2,P(e.target.value,x)]}))}));return function(t){return e.apply(this,arguments)}}(),children:[(0,r.jsx)("option",{value:"",children:o("selectRole")}),n.map((function(e){return(0,r.jsx)("option",{value:e.roleId,children:e.roleTitle},e.roleId)}))]})}),(0,r.jsx)("div",{className:"table-responsive text-left pb-3",children:(0,r.jsx)("table",{className:"table teamcontacts",children:(0,r.jsx)("tbody",{children:_.map((function(e){return(0,r.jsxs)(c.Fragment,{children:[(0,r.jsxs)("tr",{style:{color:"white",backgroundColor:"#343a40"},children:[(0,r.jsxs)("td",{children:[" ",e.sectionName,"  ",e.subsiteName]}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{children:o("personrole")}),(0,r.jsx)("td",{children:o("personname")})]}),e.officialList.map((function(t,n){return 0==n?(0,r.jsxs)("tr",{children:[(0,r.jsxs)("td",{colSpan:"2",rowSpan:e.officialList.length,children:[e.subsiteImageId&&(0,r.jsx)("img",{className:"card-img-top",onClick:function(){return t=e.subsiteImageId,n=e.subsiteImageExtension,H(["".concat(M.staticUrl,"/imagebank/").concat(t,"_huge").concat(n)]),void setTimeout((function(){C({toggler:!T.toggler})}),100);var t,n},src:"".concat(M.staticUrl,"/imagebank/").concat(e.subsiteImageId,"_medium").concat(e.subsiteImageExtension),style:{width:"200px",cursor:"pointer",marginBottom:e.subsiteEmail?"16px":"0"}}),e.subsiteEmail&&(0,r.jsx)("p",{children:e.subsiteEmail})]}),(0,r.jsx)("td",{children:(0,r.jsx)("a",{onClick:function(){return B(e.officialList[n])},children:e.officialList[n].role})}),(0,r.jsx)("td",{children:(0,r.jsx)("a",{onClick:function(){return B(e.officialList[n])},children:e.officialList[n].personName})})]},"".concat(e.subsiteId,"-").concat(t.personId,"-").concat(t.roleId)):(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("a",{onClick:function(){return B(e.officialList[n])},children:e.officialList[n].role})}),(0,r.jsx)("td",{children:(0,r.jsx)("a",{onClick:function(){return B(e.officialList[n])},children:e.officialList[n].personName})})]},"".concat(e.subsiteId,"-").concat(t.personId,"-").concat(t.roleId))}))]},e.subsiteId)}))})})}),(0,r.jsxs)(p.Z,{show:I,onHide:g,children:[(0,r.jsx)(p.Z.Header,{closeButton:!0,children:(0,r.jsx)(p.Z.Title,{children:k.title})}),(0,r.jsxs)(p.Z.Body,{children:[k.role?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:k.role}}):null,k.email?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:k.email}}):null,k.phone?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:k.phone}}):null,k.introduction?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:k.introduction}}):null,(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:k.body}})]}),(0,r.jsx)(p.Z.Footer,{children:(0,r.jsx)(m.Z,{variant:"secondary",onClick:g,children:o("closeModal")})})]}),(0,r.jsx)(j(),{type:"image",toggler:T.toggler,sources:E},E[0])]});function B(e){return F.apply(this,arguments)}function F(){return(F=(0,s.Z)((function(e){var t,n,s,r;return(0,i.__generator)(this,(function(i){return t=null,n=null,s=null,""!=e.email&&null!==e.email&&(r=e.email,e.email.indexOf("@")>-1&&(r="<a href='mailto:"+e.email+"'>"+e.email+"</a>"),t="<strong>"+o("email")+":</strong> "+r),""!=e.phone&&null!==e.phone&&(n="<strong>"+o("phone")+":</strong> <a href='tel:"+e.phone+"'>"+e.phone+"</a>"),null!==e.introduction&&(s="<p><i>"+e.introduction+"</i></p>"),L({title:e.personName,role:"<h4>"+e.role+"</h4>",email:t,phone:n,introduction:s}),Z(!0),[2]}))}
1))).apply(this,arguments)}function P(e,t){return q.apply(this,arguments)}function q(){return q=(0,s.Z)((function(e,t){var n,s,r,o;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return n=(0,l.Z)().origin,s=(0,d.Z)(),null,r=null,"section"!=t?[3,3]:(o=(0,f.Z)(O.section,M.sections),[4,u.Z.get("".concat(n,"/api/persons/subsitecontacts/section/").concat(o,"?roleId=").concat(e),s)]);case 1:return[4,i.sent().json()];case 2:return r=i.sent(),[3,6];case 3:return[4,u.Z.get("".concat(n,"/api/persons/subsitecontacts/site?roleId=").concat(e),s)];case 4:return[4,i.sent().json()];case 5:r=i.sent(),i.label=6;case 6:return v(r),[2]}}))})),q.apply(this,arguments)}}))},61093:function(e,t,n){"use strict";n.r(t);var s=n(47568),i=n(70655),r=n(85893),o=n(17280),c=n(1112),a=n(37753),l=n(19226),u=n(59130),d=n(67294),h=n(64290),f=n(29473),p=n(70167),m=n(2962),x=function(e){var t=e.subsitecontacts,n=e.siteroles,s=e.t,i=(0,d.useContext)(h.Z).siteData;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.PB,{title:"".concat(i.name," - ").concat(s("theOfficialsList")),openGraph:{title:"".concat(i.name," - ").concat(s("theOfficialsList"))}}),(0,r.jsxs)("div",{className:"sticky-top",children:[(0,r.jsx)(c.default,{}),(0,r.jsx)(l.default,{})]}),(0,r.jsx)("div",{className:"container pt-1 pb-4",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col-12 p-4",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsx)(a.Z,{siteType:"site",subsitecontacts:t,siteroles:n})})})})})]})};x.getInitialProps=function(){var e=(0,s.Z)((function(e){var t,n,s,r,c;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return e.context,t=e.req,n=(0,o.Z)(t).origin,s=(0,p.Z)(t),[4,f.Z.get("".concat(n,"/api/persons/subsitecontacts/site"),s)];case 1:return[4,i.sent().json()];case 2:return r=i.sent(),[4,f.Z.get("".concat(n,"/api/persons/roles/site"),s)];case 3:return[4,i.sent().json()];case 4:return c=i.sent(),[2,{subsitecontacts:r,siteroles:c}]}}))}));return function(t){return e.apply(this,arguments)}}(),t.default=(0,u.withTranslation)("common")(x)}},function(e){e.O(0,[385,1129,9454,1725,9226,9774,2888,179],(function(){return t=43938,e(e.s=t);var t}));var t=e.O();_N_E=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.