PageSourceSearch

https://www.vaalikone.fi/_next/static/chunks/167.990ab0c99176470f.js

js vaalikone.fi collected 2026-10-02 11:37:32 UTC 1,461 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[167],{63167:(e,t,l)=>{l.r(t),l.d(t,{default:()=>d});var n=l(6029),r=l(81278),s=l(70949),a=l(60209),u=l(19173),i=l(85711),o=l(15804);let h=(e,t)=>(e=Math.ceil(e),Math.floor(Math.random()*((t=Math.floor(t))-e)+e)),d=e=>{let{electionId:t,brand:l}=e,{area:d,questionThemes:c,updateArea:p,addQuestionThemes:f}=(0,u.rP)(),{setAllAnswers:k,setIsAnswering:m}=(0,a.t)(),y=(0,r.useRouter)();return(0,n.jsxs)(s.QW,{onClick:()=>{let e=null!=d?d:(e=>{let{municipalities:t}=(0,i.sO)(e).metadata,l=t[h(0,t.length)];return{label:l.name,value:l.id}})(t),n=c.length?c:(e=>{let{themes:t}=(0,i.sO)(e),l=[],n=h(1,t.length+1),r=0;for(;r<n;){let e=t[h(0,t.length)].id;l.includes(e)||(l.push(e),r+=1)}return l.sort((e,t)=>e-t)})(t),r=((e,t,l,n)=>{let{electionMachineQuestions:r,metadata:{answerOptions:s,municipalities:a}}=(0,i.sO)(n);return r.filter(t=>t.brand.includes(e)).sort((e,t)=>e.order-t.order).filter(e=>{let n=l.includes(e.theme),r=a.find(e=>{let{id:l}=e;return l===t.value});return(0,i.qI)(e)&&r?n&&(0,o.A)({municipality:r,question:e}):n}).map(e=>({questionId:e.id,answer:s[h(0,s.length)].value}))})(l,e,n,t);p(e,t,l),f(n),m(!0),k(r,t,l),y.push("/".concat(t,"/").concat(l,"/tulokset"))},style:{margin:"20px auto",width:"100%"},children:["Hypp\xe4\xe4 tuloksiin",(0,n.jsx)("br",{}),(0,n.jsx)("span",{style:{color:"teal"},children:"(T\xe4m\xe4 nappi n\xe4kyy vain kehitysymp\xe4rist\xf6ss\xe4)"})]})}}}]);

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.