PageSourceSearch

https://www.kvik.fi/_next/static/chunks/5122.c68f40640baf65c2.js

js kvik.fi collected 2026-09-26 18:24:53 UTC 5,906 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5122],{5122:(e,t,r)=>{r.r(t),r.d(t,{IFrame:()=>s});var n=r(37876),i=r(43920),o=r(427);let s=e=>{let{headline:t,height:r,iFrameName:s,url:l,width:a}=e,{width:c=0}=(0,i.lW)();return(0,n.jsxs)(o.m,{className:"py-md",children:[t&&(0,n.jsx)("h2",{className:"text text-h2",children:t}),(0,n.jsx)("iframe",{src:l,style:{width:0===a||a>c?void 0:a,height:"".concat(r,"px")},id:"iFrameName-".concat(s),className:"w-full h-[100vh]"})]})}},7408:(e,t,r)=>{r.d(t,{H:()=>s});var n=r(14232),i=r(95398),o=r(24554);function s(e){let{inView:t,ref:r}=(0,i.Wx)({rootMargin:"-400px 0px 0px 0px"});return(0,n.useEffect)(()=>{if(t)0===(0,o.zs)()&&(0,o.iN)((0,o.O4)()),(0,o.Yl)(e),(0,o.eP)();else{if((0,o.el)(),!(0,o.Um)())return;0===(0,o.zs)()&&((0,o.Yl)((0,o.Um)()),(0,o.JF)())}},[t,e]),r}},43920:(e,t,r)=>{r.d(t,{lW:()=>i}),r(98398);var n=r(14232);r(34178),r(7408),r(66161),r(36358),r(63349),r(75747),r(96561);let i=e=>{let[t,r]=(0,n.useState)({width:(null==e?void 0:e.eager)?window.innerWidth:void 0,height:(null==e?void 0:e.eager)?window.innerHeight:void 0});return(0,n.useEffect)(()=>{let e=()=>{r({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),t}},95398:(e,t,r)=>{r.d(t,{Wx:()=>f,pL:()=>p});var n=r(14232);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new Map,l=new WeakMap,a=0,c=void 0;function u(e,t,r,n){if(void 0===r&&(r={}),void 0===n&&(n=c),void 0===window.IntersectionObserver&&void 0!==n){var i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var o=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var r;return t+"_"+("root"===t?(r=e.root)?(l.has(r)||(a+=1,l.set(r,a.toString())),l.get(r)):"0":e[t])}).toString(),r=s.get(t);if(!r){var n,i=new Map,o=new IntersectionObserver(function(t){t.forEach(function(t){var r,o=t.isIntersecting&&n.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(r=i.get(t.target))||r.forEach(function(e){e(o,t)})})},e);n=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:o,elements:i},s.set(t,r)}return r}(r),u=o.id,d=o.observer,h=o.elements,p=h.get(e)||[];return h.has(e)||h.set(e,p),p.push(t),d.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(h.delete(e),d.unobserve(e)),0===h.size&&(d.disconnect(),s.delete(u))}}var d=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function h(e){return"function"!=typeof e.children}var p=function(e){function t(t){var r;return(r=e.call(this,t)||this).node=null,r._unobserveCb=null,r.handleNode=function(e){r.node&&(r.unobserve(),e||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=e||null,r.observeNode()},r.handleChange=function(e,t){e&&r.props.triggerOnce&&r.unobserve(),h(r.props)||r.setState({inView:e,entry:t}),r.props.onChange&&r.props.onChange(e,t)},r.state={inView:!!t.initialInView,entry:void 0},r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var r=t.prototype;return r.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},r.componentWillUnmount=function(){this.unobserve(),this.node=null},r.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,r=e.root,n=e.rootMargin,i=e.trackVisibility,o=e.delay,s=e.fallbackInView;this._unobserveCb=u(this.node,this.handleChange,{threshold:t,root:r,rootMargin:n,trackVisibility:i,delay:o},s)}},r.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},r.render=function(){if(!h(this.props)){var e=this.state,t=e.inView,r=e.entry;return this.props.children({inView:t,entry:r,ref:this.handleNode})}var o=this.props,s=o.children,l=o.as,a=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(o,d);return n.createElement(l||"div",i({ref:this.handleNode},a),s)},t}(n.Component);function f(e){var t=void 0===e?{}:e,r=t.threshold,i=t.delay,o=t.trackVisibility,s=t.rootMargin,l=t.root,a=t.triggerOnce,c=t.skip,d=t.initialInView,h=t.fallbackInView,p=n.useRef(),f=n.useState({inView:!!d}),v=f[0],w=f[1],g=n.useCallback(function(e){void 0!==p.current&&(p.current(),p.current=void 0),!c&&e&&(p.current=u(e,function(e,t){w({inView:e,entry:t}),t.isIntersecting&&a&&p.current&&(p.current(),p.current=void 0)},{root:l,rootMargin:s,threshold:r,trackVisibility:o,delay:i},h))},[Array.isArray(r)?r.toString():r,l,s,a,c,o,h,i]);(0,n.useEffect)(function(){p.current||!v.entry||a||c||w({inView:!!d})});var b=[g,v.inView,v.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}p.displayName="InView",p.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},96561:(e,t,r)=>{r.d(t,{s:()=>o});var n=r(14232),i=r(42135);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50,t=(0,n.useRef)(0),[r,o]=(0,n.use
1State)(!0);return(0,i.ML)("scroll",()=>{let r=window.scrollY<t.current;(window.scrollY<=25||0==t.current)&&(t.current=window.scrollY,o(!0)),Math.abs(window.scrollY-t.current)<e||(t.current=window.scrollY,o(r))}),r}}}]);

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.