PageSourceSearch

https://www.kutatasi-kozpont.hu/_next/static/chunks/5491.88b486d75bae985e.js

js kutatasi-kozpont.hu collected 2026-10-04 06:53:48 UTC 5,838 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5491],{65069:(e,t,n)=>{n.d(t,{Es:()=>c,N$:()=>a,PT:()=>d,s7:()=>v,w8:()=>h});var i=n(83095),r=n.n(i),o=n(14232),s=n(37876);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var c=o.useLayoutEffect;function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(0,o.useState)(t),i=n[0],r=n[1];return(0,o.useEffect)(function(){if(window.matchMedia){var t=window.matchMedia(e);return r(t.matches),t.addListener(n),function(){t.removeListener(n)}}function n(e){r(e.matches)}},[e]),i}var d=function(e){return function(t){var n=a("(max-width: 375px)"),i=a("(max-width: 479px)"),r=a("(max-width: 767px)"),o=a("(max-width: 991px)"),u=a("(max-width: 1023px)");return(0,s.jsx)(e,l({isXSmall:n,isSmall:i,isMedium:r,isLarge:o,isXLarge:u},t))}},f=[],m={currentProductIndex:0},p=function(e){m=l(l({},m),e),f.forEach(function(e){e(m)})},v=function(){var e=(0,o.useState)()[1];return(0,o.useEffect)(function(){f.push(e)},[]),[m,p]},h=function(){var e=(0,o.useRef)(!1);return[function(){if(!("u"<typeof document)){var t=document.documentElement,n=document.body;if((null==n?void 0:n.style)&&!e.current){var i=window.innerWidth-t.clientWidth,r=parseInt(window.getComputedStyle(n).getPropertyValue("padding-right"))||0;Object.assign(t.style,{position:"relative",overflow:"hidden"}),Object.assign(n.style,{position:"relative",overflow:"hidden",paddingRight:"".concat(r+i,"px")}),e.current=!0}}},function(){if(!("u"<typeof document)){var t=document.documentElement,n=document.body;(null==n?void 0:n.style)&&e.current&&(Object.assign(t.style,{position:"",overflow:""}),Object.assign(n.style,{position:"",overflow:"",paddingRight:""}),e.current=!1)}}]}},65491:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var i=n(22983),r=n.n(i),o=n(14232),s=n(65069);let u={default:{stickyMenuSection:"absolute right-0 top-[7.6rem] z-[999] mt-0 ",stickyMenuImage:"flex items-center justify-end p-0.5",stickyMenuCta:"flex items-center",stickyMenuButton:"bg-transparent border-none w-[6.3rem] h-[7.3rem] rounded-full focus:outline-none text-center",stickyMenuButtonImage:"w-[5.3rem] h-[5.3rem] mx-auto",stickyMenuPopup:"absolute top-0 right-0 bg-white shadow-xl rounded-lg p-4 w-64",stickyMenuClose:"absolute top-2 right-2 text-xl bg-transparent border-none cursor-pointer",stickyMenuPopupList:"mt-8",stickyMenuPopupListVertical:"flex flex-col gap-2 divide-y divide-[#002D72]",stickyMenuPopupItem:"w-full",stickyMenuPopupLink:"flex items-center justify-between w-full px-4 py-2 rounded hover:bg-gray-100 transition-colors",stickyMenuPopupMarker:"w-2 h-2 rounded-full bg-blue-500 ml-2",isActive:"bg-blue-100 font-bold",scrolledTop:"border-t-2 border-[#002D72]"}};var l=n(37876);let c=function(e){var t=e.items,n=e.onClose;return(0,l.jsx)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center",children:(0,l.jsxs)("div",{className:"bg-white rounded-lg shadow-md p-3 relative w-[95vw]",children:[(0,l.jsx)("button",{className:"absolute top-1 right-1 text-[#002D72] hover:text-[#002D72] text-[40px] p-1",onClick:n,"aria-label":"Close Menu",children:"✕"}),(0,l.jsx)("ul",{className:"divide-y divide-[#979797]",children:t.map(function(e,t){return(0,l.jsx)("li",{className:"text-right font-medium",children:(0,l.jsx)("button",{className:"w-full text-right text-[28px] leading-[32px] text-[#002D72] font-normal ".concat(0===t?"pt-6 pb-2 p-2":"p-2"),onClick:e.onClick,children:e.label})},t)})})]})})};var a=n(86364);let d=(0,s.PT)(function(e){var t,n,i,s,d,f=e.isXSmall,m=e.isSmall,p=(0,o.useState)(!1),v=p[0],h=p[1],b=(0,o.useState)(!1),g=(b[0],b[1]),y=null==e||null==(t=e.document)?void 0:t.fields,w=(0,o.useRef)(null),x=(0,o.useState)(""),j=(x[0],x[1]),k=(0,o.useState)(!0),M=(k[0],k[1]);(0,o.useEffect)(function(){window.addEventListener("scroll",function(){e&&clearTimeout(e),e=setTimeout(function(){w.current&&g(w.current.getBoundingClientRect().bottom>0)},100)});var e,t=function(e){var t=document.getElementById(e);return!!t&&t.getBoundingClientRect().top<=500},n=function(){M(100>=(window.pageYOffset||document.documentElement.scrollTop))},i=function(){n(),(null==y?void 0:y.classData)&&Object.values(y.classData).forEac
1h(function(e){t(e)&&j(e)})};return n(),window.addEventListener("scroll",i),function(){window.removeEventListener("scroll",i)}},[null==y?void 0:y.classData]);var O=(null==y?void 0:y.classData)?Object.entries(y.classData).map(function(e){var t=r()(e,2),n=t[0],i=t[1];return{label:n,onClick:function(){j(i);var e=document.getElementById("".concat(i));e&&e.scrollIntoView({behavior:"smooth"}),h(!1)}}}):[],E=(null==y?void 0:y.className)&&u[y.className]?u[y.className]:u.default,N=function(e){return E[e]||""};return(0,l.jsx)("section",{ref:w,className:N("stickyMenuSection"),children:(0,l.jsx)("div",{className:N("stickyMenuDefault"),children:(!!f||!!m)&&(0,l.jsx)("div",{className:N("stickyMenuImage"),children:(0,l.jsxs)("div",{className:N("stickyMenuCta"),children:[!v&&(0,l.jsx)("button",{className:N("stickyMenuButton"),onClick:function(){return h(!0)},children:(0,l.jsx)("img",{className:N("stickyMenuButtonImage"),src:null!=(n=null==y||null==(i=y.mobileButtonAsset)||null==(s=i.fields)||null==(d=s.file)?void 0:d.url)?n:"",alt:a.Dc.stickyMenuHamburger})}),v&&(0,l.jsx)(c,{items:O,onClose:function(){return h(!1)}})]})})})})})}}]);

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.