PageSourceSearch

https://www.is.fi/_next/static/chunks/pages/jsRedirect-5f8d4bd53a5ae0e9.js

js is.fi collected 2026-09-24 08:36:03 UTC 9,159 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7493],{4699:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>h,default:()=>d});var n=i(37876),s=i(95270),r=i.n(s),o=i(27964),u=i(14e3),a=i(14232),l=i(78101),c=i(19221),h=!0;let d=()=>{let e,t,i,s,h,d,f,_=(0,o.c)(12),p=(0,u.useRouter)(),[m,v]=(0,a.useState)(""),[y,S]=(0,a.useState)(null);_[0]!==p?(e=()=>{let e=new URLSearchParams(window.location.search),t=e.get("target"),i=e.get("refreshUserInfo"),n=window.location.hash,s="".concat(t).concat(n);"true"===i&&l.s.setItem(c.q,""),s.startsWith("/u/oma/tilaa")&&(window.location.href=s),s.startsWith("/")?p.replace(s):(v("Uudelleenohjauksen kohdetta ei voitu selvitt\xe4\xe4, joten uudelleenohjaus ei onnistu."),p.replace("/")),S(s)},t=[p],_[0]=p,_[1]=e,_[2]=t):(e=_[1],t=_[2]),(0,a.useEffect)(e,t),_[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,n.jsx)("h1",{children:"Uudelleenohjataan takaisin sivustolle"}),_[3]=i):i=_[3];let g=null!=y?y:"/";return _[4]!==g?(s=(0,n.jsxs)("p",{children:["Mik\xe4li t\xe4m\xe4 ei jostain syyst\xe4 onnistu ja t\xe4m\xe4 sivu j\xe4\xe4 n\xe4kyviin,"," ",(0,n.jsx)("a",{className:"text-nof-cta-base underline",href:g,children:"voit klikata t\xe4st\xe4 siirty\xe4ksesi sivustolle."})]}),_[4]=g,_[5]=s):s=_[5],_[6]!==m?(h=m&&(0,n.jsxs)("section",{children:[(0,n.jsx)("h2",{children:"Virhe"}),(0,n.jsx)("p",{children:m})]}),_[6]=m,_[7]=h):h=_[7],_[8]===Symbol.for("react.memo_cache_sentinel")?(d=(0,n.jsx)(r(),{id:"ce1d723556500055",children:".fade-in.jsx-ce1d723556500055{opacity:0;-webkit-animation:fadeIn 2s;animation:fadeIn 2s;-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@keyframes fadeIn{from{opacity:0}to{opacity:1}}"}),_[8]=d):d=_[8],_[9]!==s||_[10]!==h?(f=(0,n.jsxs)("article",{className:"fade-in text-nof-foreground-primary",children:[i,s,h,d]}),_[9]=s,_[10]=h,_[11]=f):f=_[11],f}},25949:(e,t,i)=>{"use strict";var n=i(99742);i(72552);var s=i(14232),r=s&&"object"==typeof s&&"default"in s?s:{default:s},o=void 0!==n&&n.env&&!0,u=function(e){return"[object String]"===Object.prototype.toString.call(e)},a=function(){function e(e){var t=void 0===e?{}:e,i=t.name,n=void 0===i?"stylesheet":i,s=t.optimizeForSpeed,r=void 0===s?o:s;l(u(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",l("boolean"==typeof r,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=r,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t,i=e.prototype;return i.setOptimizeForSpeed=function(e){l("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),l(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},i.isOptimizeForSpeed=function(){return this._optimizeForSpeed},i.inject=function(){var e=this;if(l(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,i){return"number"==typeof i?e._serverSheet.cssRules[i]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),i},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},i.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},i.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},i.insertRule=function(e,t){if(l(u(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var i=this.getSheet();"number"!=typeof t&&(t=i.cssRules.length);try{i.insertRule(e,t)}catch(e){return -1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},i.replaceRule=function(e,t){if(this._optimizeForSpeed){var i=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!i.cssRules[e])return e;i.deleteRule(e);try{i.insertRule(t,e)}catch(t){i.insertRule(this._deletedRulePlaceholder,e)}
1}else{var n=this._tags[e];l(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},i.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];l(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},i.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},i.cssRules=function(){var e=this;return this._tags.reduce(function(t,i){return i?t=t.concat(Array.prototype.map.call(e.getSheetForTag(i).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},i.makeStyleTag=function(e,t,i){t&&l(u(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var s=document.head||document.getElementsByTagName("head")[0];return i?s.insertBefore(n,i):s.appendChild(n),n},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function l(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,i=e.length;i;)t=33*t^e.charCodeAt(--i);return t>>>0},h={};function d(e,t){if(!t)return"jsx-"+e;var i=String(t),n=e+i;return h[n]||(h[n]="jsx-"+c(e+"-"+i)),h[n]}function f(e,t){var i=e+t;return h[i]||(h[i]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[i]}var _=function(){function e(e){var t=void 0===e?{}:e,i=t.styleSheet,n=void 0===i?null:i,s=t.optimizeForSpeed,r=void 0!==s&&s;this._sheet=n||new a({name:"styled-jsx",optimizeForSpeed:r}),this._sheet.inject(),n&&"boolean"==typeof r&&(this._sheet.setOptimizeForSpeed(r),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var i=this.getIdAndRules(e),n=i.styleId,s=i.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var r=s.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=r,this._instancesCounts[n]=1},t.remove=function(e){var t=this,i=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(i in this._instancesCounts,"styleId: `"+i+"` not found"),this._instancesCounts[i]-=1,this._instancesCounts[i]<1){var n=this._fromServer&&this._fromServer[i];n?(n.parentNode.removeChild(n),delete this._fromServer[i]):(this._indices[i].forEac
1h(function(e){return t._sheet.deleteRule(e)}),delete this._indices[i]),delete this._instancesCounts[i]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],i=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return i[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,i;return t=this.cssRules(),void 0===(i=e)&&(i={}),t.map(function(e){var t=e[0],n=e[1];return r.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:i.nonce?i.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,i=e.dynamic,n=e.id;if(i){var s=d(n,i);return{styleId:s,rules:Array.isArray(t)?t.map(function(e){return f(s,e)}):[f(s,t)]}}return{styleId:d(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),p=s.createContext(null);p.displayName="StyleSheetContext";var m=r.default.useInsertionEffect||r.default.useLayoutEffect,v=new _;function y(e){var t=v||s.useContext(p);return t&&m(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return d(e[0],e[1])}).join(" ")},t.style=y},56950:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/jsRedirect",function(){return i(4699)}])},72552:()=>{},95270:(e,t,i)=>{"use strict";e.exports=i(25949).style}},e=>{e.O(0,[4e3,6593,636,8792],()=>e(e.s=56950)),_N_E=e.O()}]);

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.