PageSourceSearch

https://eurogoos.eu/_next/static/immutable/chunks/0p8klwg5nugt6.js

js eurogoos.eu collected 2026-10-03 23:52:44 UTC 4,515 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,913683,e=>{"use strict";var t=e.i(40438),r=e.i(370993),s=e.i(116414);e.s(["default",0,()=>{let{setHeaderTheme:e}=(0,r.useHeaderTheme)();return(0,s.useEffect)(()=>{e("light")},[e]),(0,t.jsx)(s.default.Fragment,{})}])},287105,e=>{"use strict";var t=e.i(40438),r=e.i(116414);e.s(["default",0,function({wistiaId:e,start:s,end:l,poster:a,className:u="",overlayClassName:n="bg-black/30"}){let[i,o]=(0,r.useState)(!1),[c,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),h=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=setTimeout(()=>d(!0),1e3),t=setTimeout(()=>o(!0),3e3);return()=>{clearTimeout(e),clearTimeout(t)}},[e]),(0,r.useLayoutEffect)(()=>{let e=f.current,t=h.current;if(!e||!t)return;let r=()=>{let r,s,l=e.clientWidth,a=e.clientHeight;if(!l||!a)return;let u=16/9;l/a>16/9?(r=l,s=l/u):(s=a,r=a*u),t.style.width=`${r}px`,t.style.height=`${s}px`,t.style.left=`${(l-r)/2}px`,t.style.top=`${(a-s)/2}px`},s=new ResizeObserver(r);return s.observe(e),r(),()=>s.disconnect()},[c]);let m=new URLSearchParams({autoplay:"1",muted:"1",controlsVisibleOnLoad:"0",playbar:"0",smallPlayButton:"0",fullscreenButton:"0",volume:"0",loop:"true",endVideoBehavior:"loop",background:"true"});s&&m.set("time",`${s}s`);let b=`https://fast.wistia.net/embed/iframe/${e}?${m.toString()}`;return(0,t.jsxs)("div",{ref:f,className:`absolute inset-0 -z-10 overflow-hidden ${u}`,children:[(0,t.jsx)("div",{className:"bg-[url(/images/dot.png)] bg-repeat w-full h-full absolute z-10"}),a&&(0,t.jsx)("img",{src:a,alt:"","aria-hidden":"true",className:`absolute inset-0 h-full w-full object-cover
2            motion-reduce:block ${i?"hidden motion-safe:block":"block"}`}),c&&(0,t.jsx)("iframe",{ref:h,src:b,title:"Background video",frameBorder:"0",allow:"autoplay; encrypted-media; picture-in-picture",allowFullScreen:!1,tabIndex:-1,className:`scale-110 absolute pointer-events-none transition-opacity duration-700 motion-reduce:hidden ${i?"opacity-100":"opacity-0"}`,style:{width:0,height:0,left:0,top:0}}),n&&(0,t.jsx)("div",{className:`absolute inset-0 ${n}`,"aria-hidden":"true"})]})}])},558623,e=>{"use strict";var t=e.i(40438),r=e.i(530941),s=e.i(586074),l=e.i(639076);e.s(["SearchCard",0,e=>{let{card:a,link:u}=(0,s.default)({}),{className:n,doc:i,title:o}=e,{slug:c,title:d,collectionType:f,excerpt:h}=i||{},m=o||d,b="";return b="news"===f?`/news/${c}`:`/${c}`,(0,t.jsx)("article",{className:(0,r.cn)("group border border-gray-200 overflow-hidden bg-white hover:cursor-pointer drop-shadow",n),ref:a.ref,children:(0,t.jsxs)("div",{className:"p-4",children:[m&&(0,t.jsx)("h3",{className:"text-eurogoosBlue text-xl font-semibold",children:(0,t.jsx)(l.default,{className:"not-prose",href:b,ref:u.ref,children:m})}),h&&(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{children:h})})]})})}])},875675,e=>{"use strict";var t=e.i(40438),r=e.i(793479),s=e.i(110204),l=e.i(116414),a=e.i(30755);e.s(["Search",0,()=>{let e=(0,a.useSearchParams)(),[u,n]=(0,l.useState)(e?.get("q")||""),i=(0,a.useRouter)(),o=function(e,t=200){let[r,s]=(0,l.useState)(e);return(0,l.useEffect)(()=>{let r=setTimeout(()=>{s(e)},t);return()=>{clearTimeout(r)}},[e,t]),r}(u);return(0,l.useEffect)(()=>{i.push(`/search${o?`?q=${o}`:""}`)},[o,i]),(0,t.jsx)("div",{children:(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault()},children:[(0,t.jsx)(s.Label,{htmlFor:"search",className:"sr-only",children:"Search"}),(0,t.jsx)(r.Input,{id:"search",onChange:e=>{n(e.target.value)},placeholder:"Search",value:u}),(0,t.jsx)("button",{type:"submit",className:"sr-only",children:"submit"})]})})}],875675)},586074,e=>{"use strict";var t=e.i(30755),r=e.i(116414);e.s(["default",0,function({external:e=!1,newTab:s=!1,scroll:l=!0}){let a=(0,t.useRouter)(),u=(0,r.useRef)(null),n=(0,r.useRef)(null),i=(0,r.useRef)(0),o=(0,r.useRef)(!1),c=(0,r.useRef)(0),d=(0,r.useCallback)(e=>{if(e.target){let t=e.target,r=+new Date,s=t?.closest("a");c.current=e.button,s?o.current=!0:(o.current=!1,i.current=r)}},[a,u,n,i]),f=(0,r.useCallback)(t=>{if(n.current?.href){let r=new Date-i.current;n.current?.href&&r<=250&&!o.current&&0===c.current&&!t.ctrlKey&&(e?window.open(n.current.href,s?"_blank":"_self"):a.push(n.current.href,{scroll:l}))}},[a,u,n,i]);return(0,r.useEffect)(()=>{let e=u.current,t=new AbortController;return e&&(e.addEventListener("mousedown",d,{signal:t.signal}),e.addEventListener("mouseup",f,{signal:t.signal})),()=>{t.abort()}},[u,n,a]),{card:{ref:u},link:{ref:n}}}])}]);

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.