PageSourceSearch

https://www.ppv.fi/_next/static/chunks/pages/[section]/lomakkeet-ba781e85285df853.js

js ppv.fi collected 2026-10-02 23:35:23 UTC 4,600 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2257],{29932:function(n,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[section]/lomakkeet",function(){return r(66706)}])},22993:function(n,e,r){"use strict";r.d(e,{Z:function(){return x}});var t=r(85893),s=r(41664),i=r.n(s),c=r(11163),a=r(45827),o=r(62255),u=r(68496),l=r(59130),d=r(13588);function f(n){var e="\xe0\xe1\xe2\xe4\xe6\xe3\xe5\u0101\u0103\u0105\xe7\u0107\u010d\u0111\u010f\xe8\xe9\xea\xeb\u0113\u0117\u0119\u011b\u011f\u01f5\u1e27\xee\xef\xed\u012b\u012f\xec\u0142\u1e3f\xf1\u0144\u01f9\u0148\xf4\xf6\xf2\xf3\u0153\xf8\u014d\xf5\u0151\u1e55\u0155\u0159\xdf\u015b\u0161\u015f\u0219\u0165\u021b\xfb\xfc\xf9\xfa\u016b\u01d8\u016f\u0171\u0173\u1e83\u1e8d\xff\xfd\u017e\u017a\u017c\xb7/_,:;",r=new RegExp(e.split("").join("|"),"g");return n.toString().toLowerCase().replace(/\s+/g,"-").replace(r,(function(n){return"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(e.indexOf(n))})).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function m(n){var e=n.children,r=n.eventKey,s=(0,u.n)(r,(function(){}));return(0,t.jsx)("button",{type:"button",className:"btn btn-info btn-block",onClick:s,children:e})}var x=(0,l.withTranslation)("common")((function(n){var e=n.forms,r=n.t,s=(0,c.useRouter)().query,u=(0,d.Z)(s);return(0,t.jsx)("div",{children:e.length?e.map((function(n){return(0,t.jsx)("div",{style:{margin:"10px"},children:(0,t.jsx)(a.Z,{children:(0,t.jsxs)(o.Z,{children:[(0,t.jsxs)(o.Z.Header,{children:[(0,t.jsxs)(m,{eventKey:n.id,children:[" ",n.title]}),(0,t.jsxs)("div",{children:[n.expireDate?(0,t.jsxs)("div",{style:{margin:"10px 2px"},children:[(0,t.jsx)("i",{className:"far fa-calendar-alt"}),"\xa0",r("formCloses")," ",n.expireDate]}):null,n.maxAnswers?(0,t.jsxs)("div",{style:{margin:"10px 2px"},children:[(0,t.jsx)("i",{className:"fas fa-braille"}),"\xa0",r("formPlaces")," ",n.maxAnswers]}):null,(0,t.jsxs)("div",{style:{margin:"10px 2px"},children:[(0,t.jsx)("i",{className:"fas fa-link"}),"\xa0",(0,t.jsx)(i(),{href:"".concat(u.href,"lomakkeet/[formId]/[slug]"),as:"".concat(u.linkAs,"lomakkeet/").concat(n.id,"/").concat(f(n.title)),children:(0,t.jsx)("a",{children:r("formOpen")})})]})]})]}),(0,t.jsx)(a.Z.Collapse,{eventKey:n.id,children:(0,t.jsx)(o.Z.Body,{children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:n.description}})})})]})})},n.id)})):(0,t.jsx)("h4",{children:r("noForms")})})}))},66706:function(n,e,r){"use strict";r.r(e);var t=r(47568),s=r(70655),i=r(85893),c=r(17280),a=r(1112),o=(r(69623),r(29473)),u=(r(79548),r(67294),r(70167)),l=r(19226),d=r(22993),f=r(43908),m=r(11163),x=r(59130),h=r(2962),p=r(69913),j=function(n){var e=n.forms,r=n.siteData,t=n.t,s=(0,m.useRouter)().query,c=(0,p.Z)(r,null,s.section);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(h.PB,{title:"".concat(c," - ").concat(t("forms")),openGraph:{title:"".concat(c," - ").concat(t("forms"))}}),(0,i.jsxs)("div",{className:"sticky-top",children:[(0,i.jsx)(a.default,{}),(0,i.jsx)(l.default,{})]}),(0,i.jsx)("section",{id:"page-content",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"row",children:(0,i.jsx)("div",{className:"col-md-8 order-1 order-md-0 py-4",style:{margin:"0 auto"},children:(0,i.jsx)(d.Z,{forms:e})})})})})]})};j.getInitialProps=function(){var n=(0,t.Z)((function(n,e){var r,t,i,a,l;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return r=n.req,t=n.query,i=(0,c.Z)(r).origin,a=(0,u.Z)(r),l=(0,f.Z)(t.section,e.sections),[4,o.Z.get("".concat(i,"/api/forms/subsite/").concat(l),a)];case 1:return[4,s.sent().json()];case 2:return[2,{forms:s.sent(),siteData:e,namespacesRequired:["common"]}]}}))}));return function(e,r){return n.apply(this,arguments)}}(),e.default=(0,x.withTranslation)("common")(j)},1329:function(n,e,r){"use strict";function t(n,e){var r=null;return n.forEach((function(n){n.id==e&&(r=n.name)})),r}r.d(e,{Z:function(){return t}})},69913:function(n,e,r){"use strict";r.d(e,{Z:function(){return c}});var t=r(1329),s=r(55223),i=r(90028);function c(n,e,r){var c=n.name;if(r){var a=(0,i.Z)(r,n.sections);c=c+" - "+(0,t.Z)(n.sections,a)}return e&&(c=c+" - "+(0,s.Z)(n.sections,e)),c}},43908:function(n,e,r){"use strict";r.d(e,{Z:function(){return s}});var t=r(828);function s(n,e){var r=null;return Object.entries(e).forEach((function(e){var s=(0,t.Z)(e,2),i=(s[0],s[1]);i.url==n&&(r=i.sectionSubsiteId)})),r}}},function(n){n.O(0,[6261,385,1440,1725,9226,9623,9774,2888,179],(function(){return e=29932,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.