PageSourceSearch

https://yolkstudio.com/_next/static/chunks/98553cc864aa2605.js?dpl=dpl_9vZCahb99ifA9HWjTo1zngR2iHr7

js yolkstudio.com collected 2026-10-06 13:04:39 UTC 46,398 bytes, 13 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75696,e=>{"use strict";var t=e.i(61745),r=e.i(43476);function a({locale:e,...a}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...a})}e.s(["default",()=>a])},51734,e=>{"use strict";var t=e.i(43476);let r=({fill:e="#fff",width:r=32,height:a=38,className:n,...l})=>(0,t.jsx)("svg",{width:r,height:a,viewBox:"0 0 32 38",className:n,...l,children:(0,t.jsx)("path",{fill:e,d:"M27.586 17.985c-2.438 0-4.415 2.034-4.415 4.543 0 2.51 1.977 4.544 4.415 4.544 2.438 0 4.414-2.034 4.414-4.544s-1.976-4.543-4.414-4.543ZM30.839.43V0H18.66v.43c6.534 0 3.972 8.662 3.972 8.662l-2.143 6.51L15.158 4.95S12.858.43 16.36.43V0H0v.43c1.045.108 2.77.538 4.234 3.336l11.917 24.426c-1.463 5.381-2.77 4.359-2.979 3.552-.366-1.13-1.15-1.99-2.3-2.53-2.247-1.022-4.86 0-5.905 2.314-.941 2.313 0 5.004 2.247 6.08 1.516.699 3.868.43 5.018-.538 1.202-1.023 2.718-3.12 4.338-8.501l6.534-19.315C25.874 2.475 27.074.43 30.839.43Z"})});var a=e.i(60649),n=e.i(96553),l=e.i(71645),i=e.i(44705),o=e.i(43911),s=e.i(51360),c=e.i(22016);let u=({item:e,isLast:r,onCloseAction:a,isMobile:n=!1,variant:l="light"})=>{let{title:i,href:o}=e;return(0,t.jsx)(c.default,{href:o,className:(0,s.cn)("flex w-full lg:w-auto",n||"dark"===l?"text-black":"text-white"),"data-mobile-menu-item":n?"":void 0,onClick:a,children:(0,t.jsx)("span",{className:(0,s.cn)(n?"text-4xl capitalize":"text-medium lg:px-6 xl:px-8 2xl:px-10",r?"last:lg:pr-0 last:xl:pr-0 last:2xl:pr-0":'lg:after:bg-yolk-orange lg:relative lg:after:absolute lg:after:top-1/2 lg:after:right-0 lg:after:h-4 lg:after:w-px lg:after:-translate-y-1/2 lg:after:transform-[rotate(12deg)] lg:after:content-[""]'),children:i})},i)},d=({fill:e="var(--color-yolk-orange)",width:r=24,height:a=20,className:n,...l})=>(0,t.jsx)("svg",{width:r,height:a,viewBox:"0 0 24 20",className:n,...l,children:(0,t.jsx)("path",{fill:e,d:"M7.125 0c-3.3 0-6 2.7-6 6v.25L0 7.75a3.6 3.6 0 0 0 1.125.563v2.468c-.61.551-1 1.34-1 2.219 0 .879.39 1.668 1 2.219V18c0 1.094.906 2 2 2h18c1.094 0 2-.906 2-2v-2.781c.61-.551 1-1.34 1-2.219 0-.879-.39-1.668-1-2.219V8.312c.398-.12.77-.296 1.125-.562l-1.125-1.531V6c0-3.3-2.7-6-6-6h-10Zm0 2h1c0 .55.45 1 1 1s1-.45 1-1h7c2.219 0 4 1.781 4 4v.5a2.2 2.2 0 0 1-.719-.375l-.531-.375-.594.344-.75.437a2.17 2.17 0 0 1-2.25 0l-.75-.437-.468-.281-.5.218-1.438.75a2.21 2.21 0 0 1-1.969 0l-1.469-.75-.5-.219-.468.282-.75.437c-.7.418-1.551.418-2.25 0l-.75-.437-.594-.344-.531.375a2.2 2.2 0 0 1-.719.375V6c0-2.219 1.781-4 4-4Zm0 1c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1Zm4 0c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1ZM4.281 8l.406.25A4.19 4.19 0 0 0 9 8.25l.281-.188.969.5c1.18.59 2.57.59 3.75 0l.969-.5.281.188a4.19 4.19 0 0 0 4.313 0l.406-.25c.375.18.758.293 1.156.375V10h-18V8.375A5 5 0 0 0 4.281 8Zm-1.156 4h18c.566 0 1 .434 1 1 0 .566-.434 1-1 1h-18c-.566 0-1-.434-1-1 0-.566.434-1 1-1Zm0 4h18v2h-18v-2Z"})});var p=e.i(37122),m=e.i(18566);e.i(14096);var g=e.i(65747),h=e.i(40462);e.s(["NavigationWrapper",0,({menuLinks:e,mobileSubLinks:c})=>{let f=(0,a.useIsLg)(),[y,v]=(0,l.useState)(!1),[w,b]=(0,l.useState)(!1),x=c.filter(e=>"secondary"!==e.column),E=c.filter(e=>"secondary"===e.column),S=(0,m.usePathname)(),k="/"===S||"/en"===S||"/cs"===S,j=/\/work\/[^/]+$/.test(S)||/\/blog(\/[^/]+)?$/.test(S),T="down"!==(()=>{let[e,t]=(0,l.useState)("up");return(0,l.useEffect)(()=>{let r=window.scrollY,a=()=>{let a=window.scrollY,n=a>r?"down":"up";n!==e&&(a-r>5||a-r<-5)&&t(n),r=a>0?a:0};return window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a)}},[e]),e})(),L=!T&&y,C=()=>{v(!1)},M=e=>{C(),k&&(e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}))};(0,l.useEffect)(()=>{L&&C()},[T,L]);let{ref:P}=(0,n.useCloseOnOutsideClickOrEscape)(()=>{C()}),A=(0,l.useRef)(null),N=(0,l.useRef)(null);(({isOpen:e,onCloseComplete:t})=>{(0,g.useGSAP)(()=>{let r=document.querySelector('[data-mobile-menu="wrapper"]'),a=document.querySelector('[data-mobile-menu="background"]'),n=document.querySelector('[data-mobile-menu="content"]');if(!r||!a||!n)return;let l=h.gsap.utils.toArray("[data-mobile-menu-item]",n),i=h.gsap.utils.toArray('[data-mobile-menu-sub-item="true"]',n),o=n.querySelector('[data-mobile-menu-line="true"]'),s=n.querySelector('[data-mobile-menu-footer="true"]');if(window.matchMedia("(min-width: 1024px)").matches){h.gsap.set(r,{pointerEvents:"none"}),h.gsap.set(a,{scaleY:0,transformOrigin:"top center"}),h.gsap.set(n,{opacity:0,visibility:"hidden"});return}let c=h.gsap.timeline();return e?(h.gsap.set(r,{pointerEvents:"auto"}),h.gsap.set(a,{transformOrigin:"top center"}),h.gsap.set(n,{opacity:0,visibility:"hidden"}),h.gsap.set(l,{x:40,opacity:0,visibility:"hidden"}),h.gsap.set(i,{y:24,opacity:0,visibility:"hidden"}),h.gsap.set(o,{scaleX:0,transformOrigin:"left center"}),h.gsap.set(s,{y:16,opacity:0,visibility:"hidden"}),c.fromTo(a,{scaleY:0},{scaleY:1,duration:.45,ease:"power1.out"}
1),c.to(n,{opacity:1,visibility:"visible",duration:.2},"-=0.1"),c.to(l,{x:0,opacity:1,visibility:"visible",duration:.35,stagger:.05,ease:"power1.out"},"-=0.05"),c.to(i,{y:0,opacity:1,visibility:"visible",duration:.3,stagger:.04,ease:"power1.out"},"-=0.05"),c.to(o,{scaleX:1,duration:.3,ease:"power1.out"},"-=0.1"),c.to(s,{y:0,opacity:1,visibility:"visible",duration:.25,ease:"power1.out"},"-=0.05")):(h.gsap.set(r,{pointerEvents:"none"}),h.gsap.set(a,{transformOrigin:"top center"}),c.to(l,{x:40,opacity:0,visibility:"hidden",duration:.2,stagger:.03,ease:"power1.in"}),c.to(i,{y:24,opacity:0,visibility:"hidden",duration:.18,stagger:.03,ease:"power1.in"},0),c.to(o,{scaleX:0,duration:.2,ease:"power1.in"},0),c.to(s,{y:16,opacity:0,visibility:"hidden",duration:.18,ease:"power1.in"},0),c.to(n,{opacity:0,visibility:"hidden",duration:.15},"-=0.1"),c.to(a,{scaleY:0,duration:.4,ease:"power1.in"},0)),!e&&t&&c.eventCallback("onComplete",t),()=>c.kill()},{dependencies:[e,t]})})({isOpen:y,onCloseComplete:()=>{b(!1)}}),(0,l.useEffect)(()=>{f?b(!1):y&&b(!0)},[y,f]),(0,l.useEffect)(()=>{let e=f?A.current:N.current;return f&&y&&v(!1),e&&(y?(0,o.disableBodyScroll)(e):(0,o.enableBodyScroll)(e)),()=>{(0,o.clearAllBodyScrollLocks)()}},[y,f]);let Y=({iconFill:e})=>(0,t.jsx)("button",{type:"button",className:"lg:hidden","aria-label":"Mobile menu toggle",onClick:()=>{v(!y)},children:y?(0,t.jsx)(p.CrossIcon,{fill:e}):(0,t.jsx)(d,{fill:e})});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-nav-bar":"true","data-close-disabled":y&&!f?"true":void 0,className:(0,s.cn)("relative flex h-14 w-full flex-col items-center transition-transform duration-300 ease-in-out lg:h-16 lg:flex-row",j?"bg-white text-black":"bg-black text-white",T?"translate-y-0":"-translate-y-full"),ref:P,children:(0,t.jsx)("div",{"data-animate":!0,className:`relative z-10 flex h-full w-full -translate-y-20 items-center opacity-0 ${j?"bg-white":"bg-black"}`,children:(0,t.jsxs)("div",{className:"container-wrapper flex w-full items-center justify-between gap-14",children:[(0,t.jsx)(i.Link,{href:"/",className:"flex w-6 items-end gap-2","aria-label":"Yolk Studio home",onClick:M,children:(0,t.jsx)(r,{fill:j?"#000":"#fff"})}),(0,t.jsx)("nav",{ref:A,className:(0,s.cn)("absolute top-full left-0 -z-10 flex w-full flex-col items-center overflow-hidden transition-all duration-500 ease-in-out lg:static lg:z-auto lg:ml-auto lg:flex lg:max-h-none lg:w-auto lg:flex-row lg:overflow-visible lg:bg-transparent lg:py-0",y&&!f?"hidden":y?"lg:absolute lg:top-full lg:left-0 lg:z-auto lg:h-full lg:w-full lg:pt-0":"h-0 py-0 lg:h-full lg:max-h-[unset]"),children:(0,t.jsx)("div",{className:"flex h-full flex-col items-center px-6 pt-0 lg:flex-row lg:px-0",children:e.map((r,a)=>{let n=e.length-1===a;return(0,t.jsx)(u,{item:r,isLast:n,onCloseAction:C,variant:j?"dark":"light"},r.title)})})}),(0,t.jsx)(Y,{iconFill:j?"#000":void 0})]})})}),w&&!f&&(0,t.jsxs)("nav",{ref:N,"data-mobile-menu":"wrapper",className:"pointer-events-none fixed inset-0 z-50 flex flex-col lg:hidden","aria-hidden":!y,children:[(0,t.jsx)("div",{"data-mobile-menu":"background",className:"bg-yolk-orange absolute inset-0 origin-top scale-y-0"}),(0,t.jsxs)("div",{"data-mobile-menu":"content",className:"container-wrapper invisible relative z-10 flex h-full w-full flex-col opacity-0",children:[(0,t.jsx)("div",{className:"relative z-10 flex h-14 w-full items-center",children:(0,t.jsxs)("div",{className:"flex w-full items-center justify-between gap-14",children:[(0,t.jsx)(i.Link,{href:"/",className:"flex w-6 items-end gap-2","aria-label":"Yolk Studio home",onClick:M,children:(0,t.jsx)(r,{fill:"bg-black"})}),(0,t.jsx)(Y,{iconFill:"bg-yolk-orange"})]})}),(0,t.jsxs)("div",{className:"ms:gap-y-2 mm:gap-y-3 ml:gap-y-4 ms:mt-12 mm:mt-14 ml:mt-18 flex flex-1 flex-col pb-5",children:[e.map(({title:r,href:a},n)=>{let l=e.length-1===n;return(0,t.jsx)(u,{item:{title:r,href:a},isLast:l,onCloseAction:C,isMobile:!0},r)}),(0,t.jsx)("div",{"data-mobile-menu-line":"true",className:"mt-auto h-px w-full bg-black"}),(0,t.jsxs)("div",{className:"mt-4 grid grid-cols-2 gap-x-20 gap-y-4",children:[(0,t.jsx)("div",{className:"flex flex-col gap-y-4",children:x.map(({title:e,href:r})=>(0,t.jsx)(i.Link,{href:r,onClick:C,"data-mobile-menu-sub-item":"true",children:e},e))}),(0,t.jsx)("div",{className:"flex flex-col gap-y-4",children:E.map(({title:e,href:r})=>(0,t.jsx)(i.Link,{href:r,onClick:C,"data-mobile-menu-sub-item":"true",children:e},e))})]}),(0,t.jsxs)("div",{"data-mobile-menu-footer":"true",className:"ms:mt-5 mm:mt-6 ml:mt-10",children:["© 2016 – ",new Date().getFullYear()," Yolk Studio"]})]})]})]})]})}],51734)},68290,e=>{"use strict";var t=e.i(43476),r=e.i(18566),a=e.i(65747);e.i(14096);var n=e.i(40462),l=e.i(71645),i=e.i(83495),o=e.i(96261);let s="55% bottom",c="90% bottom",u=.4,d=.55,p=0,m=0,g=0,h=0,f="top bottom-=10%",y="top bottom",v="bottom bottom",w="bottom bottom",b="power1.inOut";function x(e,t,r,a,l,o,b,x,E){let S=[],k=[];n.gsap.set(e,{scale:1});let j=o.getBoundingClientRect(),T=(l.getBoundingClientRect().height||window.innerHeight)/j.height,L=e.getBoundingClientRect(),C=(j.left+j.width/2-L.left)/L.width*100,M=(j.top+j.height/2-L.top)/L.height*100;n.gsap.set(e,{scale:T,y:"mobile"===b?p:m,transformOrigin:`${C}% ${M}%`});let P=n.gsap.to(e,{scale:"mobile"===b?u:d,y:"mobile"===b?g:h,ease:"none",scrollTrigger:{trigger:t,start:"mobile"===b?f:y,end:"mobile"===b?v:w,scrub:.5,invalidateOnRefresh:!0}});S.push(P);let A=Array.from(document.querySelectorAll('[data-intro-hero="line"]')).filter(e=>null!==e.offsetParent),N=n.gsap.timeline({scrollTrigger:{trigger:t,start:s,end:c,scrub:.6}});if(A.forEach((e,t)=>{let r=e.dataset.lineDir;N.fromTo(e,{yPercent:0},{yPercent:"down"===r?-200:200,ease:"none",immediateRender:!1},.03*t)}),S.push(...N.getChildren(!1,!0,!1)),a){let e=n.gsap.to(a,{opacity:0,ease:"none",scrollTrigger:{trigger:t,start:"90% bottom",end:"bottom 70%",scrub:.5}});S.push(e)}let Y=document.querySelector('[data-intro-hero="bottom-bar-mobile"]');
1if(Y){let e=n.gsap.to(Y,{opacity:0,ease:"none",scrollTrigger:{trigger:t,start:s,end:c,scrub:.5}});S.push(e)}let q=n.gsap.to(r,{opacity:1,ease:"none",scrollTrigger:{trigger:t,start:"70% bottom",end:"bottom bottom",scrub:.5}});S.push(q);let _=o.querySelector("video"),R=document.querySelector('[data-manifesto="section"]');if(R){let e=i.ScrollTrigger.create({trigger:R,start:"top top",onEnter:()=>{l.style.display="none",l.style.pointerEvents="none",E(!0),_?.pause()},onLeaveBack:()=>{l.style.display="",l.style.pointerEvents="auto",E(!1),_?.play().catch(()=>{})}});k.push(e)}return i.ScrollTrigger.refresh(),()=>{N.scrollTrigger?.kill(),N.kill(),S.forEach(e=>{e.scrollTrigger?.kill(),e.kill()}),k.forEach(e=>e.kill())}}e.s(["Providers",0,({children:e})=>{let s,c,u,d,p;return s=(0,r.usePathname)(),(0,a.useGSAP)(()=>{n.gsap.utils.toArray("[data-animate]:not([data-animate-stagger-container] [data-animate])").forEach(e=>{let t=e.getAttribute("data-animate-start")||"center bottom";n.gsap.to(e,{scrollTrigger:{trigger:e,start:t},opacity:1,duration:.8,y:0,x:0,scale:1,ease:"power1.out"})}),n.gsap.utils.toArray("[data-animate-stagger-container='true']").forEach(e=>{let t=n.gsap.utils.toArray("[data-animate]",e),r=parseFloat(e.getAttribute("data-animate-stagger")||"0.2"),a=e.getAttribute("data-animate-start")||"center bottom";n.gsap.to(t,{scrollTrigger:{trigger:e,start:a},opacity:1,duration:.8,y:0,x:0,scale:1,ease:"power1.out",stagger:isNaN(r)?.2:r})})},{dependencies:[s]}),c=(0,r.usePathname)(),u=(0,l.useRef)(null),(0,a.useGSAP)(()=>{n.gsap.registerPlugin(i.ScrollTrigger,o.SplitText);let e=[],t=[],r=null,a=new WeakSet,l=()=>{t.forEach(e=>{e.scrollTrigger?.kill(),e.kill()}),t=[],e.forEach(e=>e.revert()),e=[]},s=new Set(["text-large","text-medium-3","text-medium-2","text-medium","text-small-2","text-small"]),c=(e,t,r="0.12em",a=`-${r}`)=>{e.forEach(e=>{let n=e.parentElement;n?.classList.contains(t)&&(n.style.paddingTop=r,n.style.marginTop=a,n.style.paddingBottom=r,n.style.marginBottom=a)})},d=()=>{let r;l(),r=(r,l,i,o)=>{if(e.push(l),a.has(r))return void n.gsap.set(i,{y:"0%",opacity:1});n.gsap.set(i,{y:o??"130%",opacity:0}
1);let s=n.gsap.to(i,{y:"0%",opacity:1,duration:.75,stagger:.1,ease:"power3.out",scrollTrigger:{trigger:r,start:"top 90%",once:!0,onEnter:()=>a.add(r)}});t.push(s)},n.gsap.utils.toArray('[data-split-text="letter"]').forEach(e=>{let t=o.SplitText.create(e,{type:"chars",charsClass:"char",mask:"chars",aria:"hidden"});c(t.chars,"char-mask"),r(e,t,t.chars)}),n.gsap.utils.toArray('[data-split-text="word"]').forEach(e=>{let t=o.SplitText.create(e,{type:"words",wordsClass:"word",aria:"hidden"});r(e,t,t.words)}),n.gsap.utils.toArray('[data-split-text="line"]').forEach(e=>{let t=o.SplitText.create(e,{type:"lines",linesClass:"line",mask:"lines",aria:"hidden"}),{pad:a,marginVert:n}=(e=>{let t=window.matchMedia("(max-width: 1023px)").matches,{classList:r}=e;return[...s].some(e=>r.contains(e))?t?{pad:"0.18em",marginVert:"-10px"}:{pad:"0.12em",marginVert:"0px"}:t?{pad:"0.14em",marginVert:"-10px"}:{pad:"0.12em",marginVert:"-0.18em"}})(e);c(t.lines,"line-mask",a,n),r(e,t,t.lines,window.matchMedia("(max-width: 1023px)").matches?"112%":"130%")}),i.ScrollTrigger.refresh()},p=(e,t)=>{null!==r&&window.clearTimeout(r),r=window.setTimeout(()=>{r=null,d(),t&&(u.current=window.innerWidth)},e)},m=()=>{let e=window.innerWidth;u.current!==e&&(u.current=e,p(500,!0))},g=()=>{let e=window.visualViewport;if(!e)return;let t=Math.round(e.width),r=u.current;(null===r||t!==r)&&p(250,!0)},h=!1;return document.fonts.ready.then(()=>{h||p(0,!0)}),u.current=window.innerWidth,d(),window.addEventListener("resize",m),window.visualViewport?.addEventListener("resize",g),()=>{h=!0,window.removeEventListener("resize",m),window.visualViewport?.removeEventListener("resize",g),null!==r&&window.clearTimeout(r),l(
1)}},[c]),d=(0,r.usePathname)(),(0,a.useGSAP)(()=>{let e;if("/"!==d)return;n.gsap.registerPlugin(i.ScrollTrigger);let t=document.querySelector('[data-intro-hero="fixed-layer"]'),r=document.querySelector('[data-intro-hero="placeholder"]'),a=document.querySelector('[data-intro-hero="scene-wrapper"]'),l=document.querySelector('[data-intro-hero="spacer"]'),o=document.querySelector('[data-intro-hero="overlay"]'),s=document.querySelector('[data-intro-hero="bottom-bar"]'),c=document.querySelector('[data-card-index="0"]'),u=Array.from(document.querySelectorAll('[data-intro-hero="line"]'));if(!t||!r||!a||!l||!o||!c)return;window.matchMedia("(max-width: 767px)").matches&&(t.style.height=`${t.getBoundingClientRect().height}px`,t.style.bottom="auto",r.style.height=`${r.getBoundingClientRect().height}px`);let p=!0,m=()=>{t.style.display="",t.style.pointerEvents="auto",p=!0},g=()=>{t.style.display="none",t.style.pointerEvents="none",p=!1};i.ScrollTrigger.create({trigger:r,start:"top bottom",onEnter:m,onLeave:g,onEnterBack:m,onLeaveBack:g});let h=document.querySelector("[data-nav-bar]"),f=document.querySelector("[data-nav-bar] [data-animate]");f&&n.gsap.killTweensOf(f);let y=c.querySelector("video[loop]"),v=!1,w=()=>{v||y?.play().catch(()=>{})};y&&(y.play().catch(()=>{}),y.addEventListener("pause",w));let E=u.filter(e=>e.getBoundingClientRect().width>0),S="function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,k=window.scrollY>5||S;k||E.forEach(e=>{let t=e.dataset.lineDir;n.gsap.set(e,{clearProps:"transform"}),n.gsap.set(e,{yPercent:"down"===t?-200:200,opacity:1})});let j=n.gsap.timeline({delay:.1*!k,paused:k});k||E.forEach((e,t)=>{j.to(e,{yPercent:0,duration:1,ease:"power3.out"},0===t?0:"<0.12")});let T=0,L=Array.from(document.querySelectorAll('[data-intro-hero="subtitle-word"]')).filter(e=>e.getBoundingClientRect().width>0),C=document.querySelector('[data-intro-hero="bar-line"]'),M=document.querySelector('[data-intro-hero="bar-explore"]'),P=document.querySelector('[data-intro-hero="bar-explore-mobile"]');if(k?(n.gsap.set(E,{clearProps:"transform"}),n.gsap.set(E,{yPercent:0,opacity:1}),n.gsap.set(L,{yPercent:0,opacity:1}),C&&n.gsap.set(C,{scaleX:1,transformOrigin:"left center",opacity:1}),T=M?.offsetWidth??0,M&&n.gsap.set(M,{width:T,overflow:"visible",opacity:1}),P&&n.gsap.set(P,{opacity:1})):(n.gsap.set(L,{yPercent:110,opacity:1}),C&&n.gsap.set(C,{scaleX:0,transformOrigin:"left center",opacity:1}),T=M?.offsetWidth??0,M&&n.gsap.set(M,{width:0,overflow:"hidden",opacity:0}),P&&n.gsap.set(P,{opacity:0})),e=n.gsap.timeline({paused:!0}),k)h&&n.gsap.set(h,{backgroundColor:"transparent",opacity:1}),f&&n.gsap.set(f,{opacity:1,y:0});else{let t=1.1+.12*Math.max(0,E.length-1)+.15;h&&(n.gsap.set(h,{backgroundColor:"transparent"}),n.gsap.set(h,{opacity:1,delay:t})),f&&n.gsap.to(f,{opacity:1,y:0,duration:.8,ease:"none",delay:t}),e=n.gsap.timeline({delay:t}
1),L.forEach((t,r)=>{e.to(t,{yPercent:0,duration:.5,ease:"power3.out"},.04*r)}),C&&e.to(C,{scaleX:1,duration:.8,ease:"power1.inOut"},">+0"),M&&T&&n.gsap.to(M,{width:T,opacity:1,overflow:"visible",duration:1,ease:b,delay:t+3.1}),P&&n.gsap.to(P,{opacity:1,duration:1,ease:b,delay:t+3.1})}let A=!1,N=()=>{if(k||A||j.progress()>=1)return;A=!0,j.kill(),e.kill(),E.forEach(e=>{n.gsap.to(e,{yPercent:0,duration:.3,ease:"power2.out"})}),n.gsap.to(L,{yPercent:0,duration:1,ease:"power2.out"}),C&&n.gsap.to(C,{scaleX:1,duration:1,ease:"power2.out"});let t=C?.querySelector(".rounded-full");t&&n.gsap.to(t,{opacity:1,duration:.5,ease:"power1.out"}),M&&n.gsap.to(M,{width:T,opacity:1,overflow:"visible",duration:1,ease:"power2.out"}),P&&n.gsap.to(P,{opacity:1,duration:1,ease:"power2.out"}),window.removeEventListener("scroll",N),window.removeEventListener("wheel",N),window.removeEventListener("touchmove",N)};window.addEventListener("scroll",N,{passive:!0}),window.addEventListener("wheel",N,{passive:!0}),window.addEventListener("touchmove",N,{passive:!0}),j.eventCallback("onComplete",()=>{window.removeEventListener("scroll",N),window.removeEventListener("wheel",N),window.removeEventListener("touchmove",N)});let Y=0;k||(Y=requestAnimationFrame(()=>{if(window.scrollY>5&&!A&&1>j.progress()){A=!0,j.kill(),e.kill(),n.gsap.set(E,{clearProps:"transform"}),n.gsap.set(E,{yPercent:0,opacity:1}),n.gsap.set(L,{yPercent:0,opacity:1}),C&&n.gsap.set(C,{scaleX:1,transformOrigin:"left center",opacity:1}),M&&n.gsap.set(M,{width:T,overflow:"visible",opacity:1}),P&&n.gsap.set(P,{opacity:1}),h&&n.gsap.set(h,{backgroundColor:"transparent",opacity:1}),f&&n.gsap.set(f,{opacity:1,y:0});let t=C?.querySelector(".rounded-full");t&&n.gsap.set(t,{opacity:1}),window.removeEventListener("scroll",N),window.removeEventListener("wheel",N),window.removeEventListener("touchmove",N)}}));let q=C?.querySelector(".rounded-full"),_=c.querySelector("video:not([loop])"),R=c.querySelector("video[loop]"),O=0,F=null,I=null;if(q&&C&&_&&R){let t=document.createElement("div");t.style.cssText="position:absolute;inset:-16px 0;cursor:pointer;z-index:10;",C.style.position="relative",C.appendChild(t),q.style.position="absolute",q.style.right="auto",q.style.top="50%",q.style.transform="translateY(-50%)",q.style.left="0%",q.style.opacity="0",q.style.cursor="grab",q.style.zIndex="11",e.to(q,{opacity:1,duration:.3,ease:"power1.out"},"<");let r=!1,a=!1,n=-1,l=()=>{if(n>=0)return n;let e=_.duration,t=R.duration;return e&&t&&isFinite(e)&&isFinite(t)?n=e/(e+t):.5},i=e=>{let t=C.getBoundingClientRect(),r=Math.min(Math.max((e-t.left)/t.width,0),1),n=l();if(r<=n){let e=_.duration-0;_.currentTime=0+r/n*e,a&&(a=!1,c.dispatchEvent(new Event("intro:show-preroll")))}else R.currentTime=(r-n)/(1-n)*R.duration,a||(a=!0,c.dispatchEvent(new Event("intro:show-loop")));q.style.left=`${100*r}%`},o=e=>{r=!0,f=!1,y=0,v=-1,q.style.cursor="grabbing",i(e.clientX),_.pause(),R.pause()},s=e=>{r&&i(e.clientX)},u=()=>{r&&(r=!1,q.style.cursor="grab",a?R.play().catch(()=>{}):_.play().catch(()=>{}))},d=e=>{r=!0,f=!1,y=0,v=-1,i(e.touches[0].clientX),_.pause(),R.pause()},m=e=>{r&&i(e.touches[0].clientX)},g=()=>{r&&(r=!1,a?R.play().catch(()=>{}):_.play().catch(()=>{}))};t.addEventListener("mousedown",o),q.addEventListener("mousedown",o),document.addEventListener("mousemove",s),document.addEventListener("mouseup",u),t.addEventListener("touchstart",d,{passive:!0}),q.addEventListener("touchstart",d,{passive:!0}),document.addEventListener("touchmove",m,{passive:!0}),document.addEventListener("touchend",g),F=()=>{a=!0,c.dispatchEvent(new Event("intro:show-loop"))},_.addEventListener("ended",F);let h=!1,f=!1,y=0,v=0,w=!1,b=()=>{if(r){O=requestAnimationFrame(b);return}if(!p){w=!0,O=requestAnimationFrame(b);return}if(w&&(w=!1,f=!1,y=0,v=-1),f){O=requestAnimationFrame(b);return}!h&&_.currentTime>.1&&(h=!0);let e=l();if(!a)if(_.ended||h&&_.paused&&!r)a=!0;else{let t=_.duration;if(t){let r=t-0,a=r>0?(_.currentTime-0)/r:1;q.style.left=`${Math.min(a*e*100,100*e)}%`}}if(a){let t=R.duration;if(t){let r=R.currentTime;if(v>=0&&r<v-.5&&y++,v=r,y>=1){f=!0,q.style.left="100%",O=requestAnimationFrame(b);return}q.style.left=`${Math.min(100*(e+r/t*(1-e)),100)}%`}}O=requestAnimationFrame(b)};O=requestAnimationFrame(b),I=()=>{t.removeEventListener("mousedown",o),q.removeEventListener("mousedown",o),document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",u),t.removeEventListener("touchstart",d),q.removeEventListener("touchstart",d),document.removeEventListener("touchmove",m),document.removeEventListener("touchend",g),t.remove()}}
1let V=n.gsap.matchMedia();return V.add("(min-width: 768px)",()=>{let e=x(a,l,o,s,t,c,"desktop",()=>v,e=>{v=e});return()=>{e?.()}}),V.add("(max-width: 767px)",()=>{let e=x(a,l,o,s,t,c,"mobile",()=>v,e=>{v=e});return()=>{e?.()}}),()=>{V.revert(),O&&cancelAnimationFrame(O),Y&&cancelAnimationFrame(Y),I?.(),y?.removeEventListener("pause",w),_&&F&&_.removeEventListener("ended",F),window.removeEventListener("scroll",N),window.removeEventListener("wheel",N),window.removeEventListener("touchmove",N)}},[d]),(0,l.useEffect)(()=>{if("/"!==d)return;let e=document.querySelectorAll('[data-intro-hero="line"]');if(0===e.length||"1"===e[0].style.opacity)return;n.gsap.registerPlugin(i.ScrollTrigger),e.forEach(e=>{n.gsap.set(e,{clearProps:"transform"}),n.gsap.set(e,{yPercent:0,opacity:1})}),document.querySelectorAll('[data-intro-hero="subtitle-word"]').forEach(e=>{n.gsap.set(e,{yPercent:0,opacity:1})});let t=document.querySelector('[data-intro-hero="bar-line"]');t&&n.gsap.set(t,{scaleX:1,transformOrigin:"left center",opacity:1});let r=document.querySelector('[data-intro-hero="bar-explore"]');r&&n.gsap.set(r,{clearProps:"width",overflow:"visible",opacity:1});let a=document.querySelector('[data-intro-hero="bar-explore-mobile"]');a&&n.gsap.set(a,{opacity:1});let l=document.querySelector("[data-nav-bar]");l&&n.gsap.set(l,{backgroundColor:"transparent",opacity:1});let o=document.querySelector("[data-nav-bar] [data-animate]");o&&n.gsap.set(o,{opacity:1,y:0});let s=t?.querySelector(".rounded-full");s&&n.gsap.set(s,{opacity:1})},[d]),p=(0,r.usePathname)(),(0,a.useGSAP)(()=>{n.gsap.utils.toArray("[data-animate-line]").forEach(e=>{let t=e.getAttribute("data-animate-line-start")||"center bottom",r=parseFloat(e.getAttribute("data-animate-line-duration")||"0.6"),a=window.matchMedia("(min-width: 1024px)").matches,l=e.parentElement?.querySelector("[data-animate-line-dot]");if(a){let a=e.getBoundingClientRect().width;if(n.gsap.set(e,{scaleX:0,transformOrigin:"left center"}),l){n.gsap.set(l,{x:0,opacity:1});let i=n.gsap.timeline({scrollTrigger:{trigger:e,start:t}});i.to(e,{scaleX:1,duration:r,ease:"power1.out"},0),i.to(l,{x:a,duration:r,ease:"power1.out"},0)}else n.gsap.to(e,{scrollTrigger:{trigger:e,start:t},scaleX:1,duration:r,ease:"power1.out"})}else n.gsap.set(e,{scaleY:0,transformOrigin:"top center"}),n.gsap.to(e,{scrollTrigger:{trigger:e,start:t},scaleY:1,duration:r,ease:"power1.out"})})},{dependencies:[p]}),(0,l.useEffect)(()=>{let e,t,r=document.querySelector("main");if(!r)return;let a=()=>i.ScrollTrigger.refresh(),n=[];document.fonts.ready.then(a);let l="complete"===document.readyState,o=()=>{l=!0,a(),u()};l?(n.push(setTimeout(a,100)),n.push(setTimeout(()=>u(),100))):window.addEventListener("load",o);let s=window.innerWidth,c=()=>{d.disconnect(),clearTimeout(e),clearTimeout(t),clearTimeout(p)},u=()=>{clearTimeout(t),t=setTimeout(c,3e3)},d=new ResizeObserver(()=>{let t=window.innerWidth;t===s&&l?u():(s=t,clearTimeout(e),e=setTimeout(a,400),l&&u())});d.observe(r);let p=setTimeout(c,6e4);return()=>
1{window.removeEventListener("load",o),n.forEach(clearTimeout),clearTimeout(e),c()}},[]),(0,l.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,t.jsx)(t.Fragment,{children:e})}],68290)},23916,e=>{"use strict";var t=e.i(43476),r=e.i(75696),r=r;e.s(["NextIntlProvider",0,({children:e,messages:a,locale:n})=>(0,t.jsx)(r.default,{messages:a,locale:n,timeZone:"Europe/Prague",children:e})],23916)},34378,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.i(14096);var a=e.i(40462),n=e.i(83495),l=e.i(48148);let i=({showScore:e=!0,isPlaying:a=!1,isMobile:n=!1,onClose:i})=>{let o=(0,l.useTranslations)("EasterEgg"),s=(0,r.useRef)(null),c=(0,r.useRef)(null),u=(0,r.useRef)(0),d=(0,r.useRef)("sans-serif"),p=(0,r.useRef)({playerY:.5,aiY:.5,aiTargetY:.5,aiFrameCounter:0,ballX:.5,ballY:.5,ballVx:n?4:10.4,ballVy:0,playerScore:0,aiScore:0,ballSpeed:n?4:10.4,running:!1,won:!1,winner:"",particles:[],goalFlashTimer:0,lastTime:performance.now(),gamePhase:"waiting"}),[m,g]=(0,r.useState)({player:0,ai:0}),[h,f]=(0,r.useState)(!1),y=(0,r.useRef)(!1),[v,w]=(0,r.useState)(!1);(0,r.useEffect)(()=>{y.current=h},[h]);let b=(0,r.useCallback)((e=1)=>{let t=p.current;t.ballX=.5,t.ballY=.5;let r=.8*Math.random()-.4;t.ballVx=t.ballSpeed*e*Math.cos(r),t.ballVy=t.ballSpeed*Math.sin(r)},[]),x=(0,r.useCallback)(e=>{let t=s.current;if(!t)return;let r=t.getBoundingClientRect(),a=(e-r.top)/r.height;p.current.playerY=Math.max(0,Math.min(1,a))},[]),E=(0,r.useCallback)((e,t,r,a,n,l)=>{let i=t.split(" "),o="",s=a,c=[];for(let t of i){let r=o?`${o} ${t}`:t;e.measureText(r).width>n&&o?(c.push(o),o=t):o=r}for(let t of(c.push(o),s=a-(c.length-1)*l/2,c))e.fillText(t,r,s),s+=l},[]),S=(0,r.useCallback)(()=>{let e=s.current;if(!e)return;let t=e.getContext("2d");if(!t)return;let r=p.current,a=e.width,l=e.height,i=l*(n?.3:.15),c=performance.now(),m=c-r.lastTime;r.lastTime=c;let h=Math.min(m,33.33)/16.67;if(("won"===r.gamePhase||y.current)&&(r.won=!0,!r.winner&&(r.playerScore>=3||r.aiScore>=3)&&(r.winner=r.playerScore>=r.aiScore?"player":"ai")),t.save(),t.fillStyle="#ff5d1c",t.globalAlpha=1,t.fillRect(0,0,a,l),t.restore(),r.running&&!r.won&&"playing"===r.gamePhase){if(r.aiFrameCounter++,r.aiFrameCounter%8==0){if(r.ballVx>0){let e=(1-r.ballX)*a/Math.abs(r.ballVx),t=r.ballY+r.ballVy/l*e*.7;r.aiTargetY=t+(Math.random()-.5)*.06}else r.aiTargetY=.5+(r.ballY-.5)*.3;r.aiTargetY=Math.max(i/2/l,Math.min(1-i/2/l,r.aiTargetY))}r.aiY+=(r.aiTargetY-r.aiY)*.02*h,r.aiY=Math.max(i/2/l,Math.min(1-i/2/l,r.aiY)),r.ballX+=r.ballVx/a*h,r.ballY+=r.ballVy/l*h,(r.ballY*l<=12||r.ballY*l>=l-12)&&(r.ballVy*=-1,r.ballY=Math.max(12/l,Math.min(1-12/l,r.ballY)));let e=r.ballX*a,t=r.ballY*l,o=r.playerY*l-i/2;if(e-12<=40&&e+12>=28&&t>=o&&t<=o+i&&r.ballVx<0){let e=(t-o)/i-.5;r.ballVx=1.1*Math.abs(r.ballVx),r.ballVy=e*r.ballSpeed*2,r.ballX=53/a}let s=a-28-12,c=r.aiY*l-i/2;if(e+12>=s&&e-12<=a-28&&t>=c&&t<=c+i&&r.ballVx>0){let e=(t-c)/i-.5;r.ballVx=-(1.1*Math.abs(r.ballVx)),r.ballVy=e*r.ballSpeed*2,r.ballX=(s-12-1)/a}if(r.ballX*a<0)r.aiScore++,r.ballSpeed+=n?.1:.35,g({player:r.playerScore,ai:r.aiScore}),r.aiScore>=3?(r.won=!0,r.gamePhase="won",r.winner="ai",r.running=!1,f(!0)):b(-1);else if(r.ballX*a>a)if(r.playerScore++,r.ballSpeed+=n?.1:.35,g({player:r.playerScore,ai:r.aiScore}),r.playerScore>=3){r.won=!0,r.gamePhase="won",r.winner="player",r.running=!1;for(let e=0;e<5;e++)setTimeout(()=>{r.won&&r.particles.push(...function(e,t,r=30){return Array.from({length:r},()=>{let r=Math.random()*Math.PI*2,a=1+4*Math.random(),n=60+40*Math.random();return{x:e,y:t,vx:Math.cos(r)*a,vy:Math.sin(r)*a,maxLife:n,life:n,size:2+3*Math.random()}})}(a*(.2+.6*Math.random()),l*(.2+.4*Math.random())))},300*e);f(!0)}else r.goalFlashTimer=90,b(1);r.goalFlashTimer>0&&r.goalFlashTimer--}t.save(),t.fillStyle="#000";let v=r.playerY*l-i/2;t.fillRect(28,v,12,i);let w=r.aiY*l-i/2;if(t.fillRect(a-28-12,w,12,i),t.restore(),r.won||"playing"!==r.gamePhase||(t.save(),t.fillStyle="#000",t.beginPath(),t.arc(r.ballX*a,r.ballY*l,12,0,2*Math.PI),t.fill(),t.restore()),r.goalFlashTimer>0&&!r.won){t.save(),t.globalAlpha=Math.min(r.goalFlashTimer/30,1),t.fillStyle="#000";let e=n?Math.min(.1*a,60):Math.min(.14*a,110);t.font=`400 ${e}px ${d.current}`,t.textAlign="center",E(t,o("goal"),a/2,l/2+20,.85*a,1.2*e),t.restore(
1)}if(r.particles.length>0&&(t.save(),r.particles=r.particles.filter(e=>{if(e.x+=e.vx,e.y+=e.vy,e.vy+=.04,e.life--,e.life<=0)return!1;let r=e.life/e.maxLife;return t.globalAlpha=r,t.fillStyle="#000",t.beginPath(),t.arc(e.x,e.y,Math.max(.1,e.size*r),0,2*Math.PI),t.fill(),!0}),t.restore()),r.won){t.save(),t.globalAlpha=1,t.fillStyle="#000";let e=n?Math.min(.07*a,48):Math.min(.1*a,80);t.font=`400 ${e}px ${d.current}`,t.textAlign="center",E(t,"player"===r.winner?o("wellPlayed"):o("youLost"),a/2,l/2+10,.85*a,1.2*e),t.restore()}if("ready"===r.gamePhase&&!r.won){t.save(),t.globalAlpha=1,t.fillStyle="#000";let e=n?Math.min(.1*a,60):Math.min(.14*a,110);t.font=`400 ${e}px ${d.current}`,t.textAlign="center",E(t,o("ready")||"Ready?",a/2,l/2+20,.85*a,1.2*e),t.restore()}u.current=requestAnimationFrame(S)},[b,o,n,E]),k=(0,r.useCallback)(()=>{let e=s.current,t=c.current;if(!e||!t)return;let r=window.devicePixelRatio||1,a=t.getBoundingClientRect();e.width=a.width*r,e.height=a.height*r,e.style.width=`${a.width}px`,e.style.height=`${a.height}px`;let n=e.getContext("2d");n&&n.scale(r,r),e.width=a.width,e.height=a.height},[]),j=(0,r.useCallback)(()=>{let e=p.current;e.playerScore=0,e.aiScore=0,e.ballSpeed=n?4:10.4,e.lastTime=performance.now(),e.won=!1,e.winner="",e.particles=[],e.goalFlashTimer=0,e.playerY=.5,e.aiY=.5,g({player:0,ai:0}),f(!1),b(1),e.gamePhase="ready",e.running=!0,u.current&&cancelAnimationFrame(u.current),k(),u.current=requestAnimationFrame(S),setTimeout(()=>{"ready"===e.gamePhase&&(e.gamePhase="playing",b(1))},2e3)},[b,S,k,n]);(0,r.useEffect)(()=>{let e=getComputedStyle(document.documentElement).getPropertyValue("--font-pp-mori").trim();e&&(d.current=e)},[]),(0,r.useEffect)(()=>{let e=p.current;a?"waiting"===e.gamePhase&&j():(e.gamePhase="waiting",e.running=!1)},[a,j]),(0,r.useEffect)(()=>{let e=()=>k();return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[k]),(0,r.useEffect)(()=>()=>{u.current&&cancelAnimationFrame(u.current)},[]);let T=(0,r.useCallback)(()=>{j()},[j]);return(0,t.jsx)("div",{className:"relative z-0 bg-yolk-orange min-h-dvh",style:{touchAction:n?"none":"auto"},children:(0,t.jsxs)("div",{ref:c,className:"relative flex items-center justify-center h-dvh",onMouseMove:e=>x(e.clientY),onTouchMove:e=>{e.preventDefault(),e.touches[0]&&x(e.touches[0].clientY)},children:[(0,t.jsx)("canvas",{ref:s,className:"absolute inset-0 h-full w-full"}),(0,t.jsxs)("div",{className:`absolute top-[40px] left-1/2 -translate-x-1/2 text-6xl text-black transition-opacity duration-300 pointer-events-none ${e?"opacity-100":"opacity-0"}`,style:{fontFamily:d.current},children:[m.player," — ",m.ai]}),h&&(0,t.jsxs)("button",{onClick:T,className:"absolute bottom-[20%] left-1/2 z-10 flex -translate-x-1/2 cursor-pointer items-center gap-2 text-lg text-black transition-opacity hover:opacity-70",children:[o("playAgain"),(0,t.jsx)("span",{className:"ml-1",children:"→"})]}),n&&i&&(0,t.jsx)("button",{onClick:i,className:"absolute top-[16px] right-[16px] z-30 flex h-[44px] w-[44px] items-center justify-center text-black","aria-label":"Close game",children:(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]})})};e.s(["EasterEggWrapper",0,({footer:e})=>{let l=(0,r.useRef)(null),o=(0,r.useRef)(0),s=(0,r.useRef)(0),c=(0,r.useRef)(!1),u=(0,r.useRef)(!1),d=(0,r.useRef)(null),p=(0,r.useRef)(!1),m=(0,r.useRef)(!1),g=(0,r.useRef)(null),h=(0,r.useRef)(!1),[f,y]=(0,r.useState)(!1),[v,w]=(0,r.useState)(!1),[b,x]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=()=>{let e=document.documentElement.scrollHeight-window.innerHeight;p.current=window.scrollY>=e-5};return window.addEventListener("scroll",e,{passive:!0}),e(),()=>window.removeEventListener("scroll",e)},[]),(0,r.useEffect)(()=>{let e=window.matchMedia("(pointer: coarse) and (hover: none)").matches;x(e),h.current=e;let t=window.matchMedia("(pointer: coarse) and (hover: none)"),r=e=>{x(e.matches),h.current=e.matches};return t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[]),(0,r.useEffect)(()=>{let e=()=>{o.current=0,m.current=!1,p.current=!1};return n.ScrollTrigger.addEventListener("refresh",e),()=>n.ScrollTrigger.removeEventListener("refresh",e)},[]);let E=(0,r.useCallback)(()=>{let e=l.current;e&&!m.current&&(m.current=!0,g.current&&g.current.kill(),g.current=a.gsap.timeline().set(e,{visibility:"visible"}).to(e,{yPercent:93,duration:.35,ease:"back.out(3)"}).to(e,{yPercent:100,duration:.4,ease:"power2.in"}).set(e,{visibility:"hidden"}))},[]),S=(0,r.useCallback)(e=>{let t=l.current;t&&(g.current&&g.current.kill(),d.current&&d.current.kill(),u.current=!0,1===e&&a.gsap.set(t,{visibility:"visible"}),d.current=a.gsap.to(t,{yPercent:100*(1!==e),duration:1===e?.6:.8,ease:1===e?"back.out(1.4)":"elastic.out(1, 0.4)",onUpdate:()=>{s.current=1-a.gsap.getProperty(t,"yPercent")/100},onComplete:()=>{u.current=!1,s.current=e,1===e?(c.current=!0,y(!0),w(!0)):(c.current=!1,y(!1),w(!1),o.current=0,m.current=!1,a.gsap.set(t,{visibility:"hidden"}))}}))},[]),k=(0,r.useCallback)(()=>S(0),[S]);return(0,r.useEffect)(()=>
1{if(b)return v?(document.body.style.overflow="hidden",document.body.style.touchAction="none"):(document.body.style.overflow="",document.body.style.touchAction=""),()=>{document.body.style.overflow="",document.body.style.touchAction=""}},[b,v]),(0,r.useEffect)(()=>{let e=l.current;if(!e)return;u.current||c.current||a.gsap.set(e,{yPercent:100});let t=null,r=()=>{!u.current&&c.current&&s.current>0&&s.current<1&&S(+(s.current>=.3))},n=(t,r)=>{!u.current&&c.current&&(d.current&&(d.current.kill(),u.current=!1),s.current=Math.max(0,s.current-t*(r?.0015:28e-5)),a.gsap.set(e,{yPercent:(1-s.current)*100}),s.current<.7&&(c.current=!1,S(0)))},i=e=>{if((c.current||u.current)&&e.preventDefault(),!u.current){if(c.current)return void(e.deltaY<0?(n(Math.abs(e.deltaY),!1),t&&clearTimeout(t),t=setTimeout(r,200)):e.deltaY>0&&s.current<1&&S(1));if(e.deltaY>0&&p.current){o.current+=e.deltaY,o.current>=250&&!m.current&&E(),o.current>=500&&(e.preventDefault(),o.current=0,S(1));return}e.deltaY<0&&(o.current=Math.max(0,o.current-Math.abs(e.deltaY)),o.current<250&&(m.current=!1)),p.current||(o.current=0,m.current=!1)}},g=null,f=e=>{e.touches[0]&&(g=e.touches[0].clientY)},y=e=>{if(null===g||!e.touches[0]||u.current||!p.current&&!c.current||h.current&&c.current)return;let t=e.touches[0].clientY,r=g-t;if(g=t,c.current&&r<0){n(Math.abs(r),!0),s.current>0&&e.preventDefault();return}if(r>0&&p.current&&!c.current){o.current+=r,o.current>=250&&!m.current&&E(),o.current>=500&&(e.preventDefault(),o.current=0,S(1));return}r<0&&(o.current=Math.max(0,o.current-Math.abs(r)),o.current<250&&(m.current=!1)),p.current||(o.current=0,m.current=!1)},v=()=>{g=null,r()};return document.addEventListener("wheel",i,{passive:!1}),document.addEventListener("touchstart",f,{passive:!0}),document.addEventListener("touchmove",y,{passive:!1}),document.addEventListener("touchend",v,{passive:!0}),()=>{document.removeEventListener("wheel",i),document.removeEventListener("touchstart",f),document.removeEventListener("touchmove",y),document.removeEventListener("touchend",v),t&&clearTimeout(t)}},[S,E]),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"relative z-10",children:e}),(0,t.jsx)("div",{ref:l,className:"pointer-events-none invisible fixed inset-0 z-60",children:(0,t.jsx)("div",{className:"pointer-events-auto h-full w-full",children:(0,t.jsx)(i,{showScore:f,isPlaying:v,isMobile:b,onClose:k})})})]})}],34378)},3681,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(48148),n=e.i(95246),l=e.i(51360);let i="cookie_consent";function o(e){document.cookie=`${i}=${e}; path=/; max-age=31536000; SameSite=Lax`}function s(){let e=(0,a.useTranslations)("CookieConsent"),[s,c]=(0,r.useState)(!1);(0,r.useEffect)(()=>{!function(){if("undefined"==typeof document)return null;let e=document.cookie.match(RegExp(`(?:^|; )${i}=([^;]*)`));return e?e[1]:null}()&&c(!0)},[]);let u=(0,r.useCallback)(()=>{o("accepted"),c(!1),window.dispatchEvent(new CustomEvent("cookie-consent-change",{detail:"accepted"}))},[]),d=(0,r.useCallback)(()=>{o("rejected"),c(!1),window.dispatchEvent(new CustomEvent("cookie-consent-change",{detail:"rejected"}))},[]);return s?(0,t.jsxs)("div",{role:"dialog","aria-label":e("ariaLabel"),className:(0,l.cn)("fixed bottom-0 left-0 right-0 z-[9999] bg-black","animate-[slideUp_0.4s_ease-out_forwards]"),children:[(0,t.jsxs)("div",{className:(0,l.cn)("hidden lg:flex items-center justify-between","px-[38px] py-5"),style:{background:"linear-gradient(90deg, rgba(255, 93, 28, 0.15) 0%, rgba(0, 0, 0, 0.98) 50%, rgba(0, 0, 0, 0.98) 100%)"},children:[(0,t.jsx)("p",{className:"text-small-2 text-white/80 max-w-[400px] 2xl:max-w-[500px]",children:e.rich("message",{link:e=>(0,t.jsx)("a",{href:"/cookie-policy",className:"text-yolk-orange underline underline-offset-4 hover:no-underline",children:e})})}),(0,t.jsxs)("div",{className:"flex items-center gap-8 2xl:gap-12",children:[(0,t.jsx)("button",{onClick:d,className:"text-small-2 text-white/50 hover:text-white/80 transition-colors cursor-pointer",children:e("reject")}),(0,t.jsxs)("button",{onClick:u,className:"flex items-center gap-3 group cursor-pointer",children:[(0,t.jsx)("span",{className:"font-secondary text-[18px] 2xl:text-[22px] text-white leading-none",children:e("accept")}),(0,t.jsx)(n.ArrowIcon,{width:16,height:13,className:"transition-transform duration-300 group-hover:translate-x-1"})]})]})]}),(0,t.jsxs)("div",{className:(0,l.cn)("lg:hidden flex flex-col gap-8","px-5 pt-6 pb-8"),style:{background:"linear-gradient(270deg, rgba(0, 0, 0, 0.98) 0%, rgba(255, 93, 28, 0.22) 100%)"},children:[(0,t.jsx)("p",{className:"text-small-2 text-white/80",children:e.rich("message",{link:e=>(0,t.jsx)("a",{href:"/cookie-policy",className:"text-yolk-orange underline underline-offset-4 hover:no-underline",children:e})})}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-6",children:[(0,t.jsx)("button",{onClick:d,className:"text-small-2 text-white/50 hover:text-white/80 transition-colors cursor-pointer",children:e("reject")}),(0,t.jsxs)("button",{onClick:u,className:"flex items-center gap-3 group cursor-pointer",children:[(0,t.jsx)("span",{className:"font-secondary text-[20px] text-white leading-none",children:e("accept")}),(0,t.jsx)(n.ArrowIcon,{width:16,height:13,className:"transition-transform duration-300 group-hover:translate-x-1"})]})]})]})]}):null}e.s(["CookieConsent",()=>s])},8341,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0});var a={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return l}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let l="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return w},handleClientScriptLoad:function(){return f},initScriptLoader:function(){return y}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let l=e.r(55682),i=e.r(90809),o=e.r(43476),s=l._(e.r(74080)),c=i._(e.r(71645)),u=e.r(42732),d=e.r(22737),p=e.r(8341),m=new Map,g=new Set,h=e=>{let{src:t,id:r,onLoad:a=()=>{},onReady:n=null,dangerouslySetInnerHTML:l,children:i="",strategy:o="afterInteractive",onError:c,stylesheets:u}=e,p=r||t;if(p&&g.has(p))return;if(m.has(t)){g.add(p),m.get(t).then(a,c);return}let h=()=>{n&&n(),g.add(p)},f=document.createElement("script"),y=new Promise((e,t)=>{f.addEventListener("load",function(t){e(),a&&a.call(this,t),h()}),f.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});l?(f.innerHTML=l.__html||"",h()):i?(f.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",h()):t&&(f.src=t,m.set(t,y)),(0,d.setAttributesFromProps)(f,e),"w
1orker"===o&&f.setAttribute("type","text/partytown"),f.setAttribute("data-nscript",o),u&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(u),document.body.appendChild(f)};function f(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>h(e))}):h(e)}function y(e){e.forEach(f),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");g.add(t)})}function v(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:n=null,strategy:l="afterInteractive",onError:i,stylesheets:d,...m}=e,{updateScripts:f,scripts:y,getIsSsr:v,appDir:w,nonce:b}=(0,c.useContext)(u.HeadManagerContext);b=m.nonce||b;let x=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;x.current||(n&&e&&g.has(e)&&n(),x.current=!0)},[n,t,r]);let E=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!E.current){if("afterInteractive"===l)h(e);else"lazyOnload"===l&&("complete"===document.readyState?(0,p.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>h(e))}));E.current=!0}},[e,l]),("beforeInteractive"===l||"worker"===l)&&(f?(y[l]=(y[l]||[]).concat([{id:t,src:r,onLoad:a,onReady:n,onError:i,...m,nonce:b}]),f(y)):v&&v()?g.add(t||r):v&&!v()&&h({...e,nonce:b})),w){if(d&&d.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===l)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...m,id:t}])})`}});else return s.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin}),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...m,id:t}])})`}});"afterInteractive"===l&&r&&s.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let w=v;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3303,(e,t,r)=>{t.exports=e.r(79520)},67530,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(3303);function n(){let[e,n]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{n(function(){if("undefined"==typeof document)return!1;let e=document.cookie.match(RegExp("(?:^|; )cookie_consent=([^;]*)"));return e?.[1]==="accepted"}());let e=e=>{n("accepted"===e.detail)};return window.addEventListener("cookie-consent-change",e),()=>window.removeEventListener("cookie-consent-change",e)},[]),e)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{async:!0,src:"https://analytics.apps.yolkone.com/script.js","data-website-id":"290b4101-4af8-4a5b-b93a-8435cec56b2c"}),(0,t.jsx)(a.default,{id:"salespanel-settings",strategy:"beforeInteractive",children:`window.salespanelSettings = {
2                    "sp_cookie_only_tracking": false,
3                    "sp_vh_with_cookie": true
4                }`}),(0,t.jsx)(a.default,{id:"salespanel-tracking",strategy:"afterInteractive",children:`(function(e, f, g, h, i){
5                    $salespanel = window.$salespanel || (window.$salespanel = []);
6                    __sp = i;
7                    var a=f.createElement(g);
8                    a.type="text/javascript";
9                    a.async=1;
10                    a.src=("https:" == f.location.protocol ? "https://" : "http://") + h;
11                    var b = f.getElementsByTagName(g)[0];
12                    b.parentNode.insertBefore(a,b);
13                })(window, document, "script", "salespanel.io/src/js/11c9aafc-9dd6-4373-b2aa-b34da8f5434d/sp-vh.js", "11c9aafc-9dd6-4373-b2aa-b34da8f5434d");`})]}):null}e.s(["TrackingScripts",()=>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.