1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8134],{91617:function(e,t,n){n.d(t,{Vh:function(){return i.useLogoHover},cT:function(){return a.useSound}}),n(48050),n(74267),n(35544),n(60575),n(20185),n(11367);var a=n(85515);n(60803);var i=n(34582)},56357:function(e,t,n){n.d(t,{CookieBanner:function(){return u}});var a=n(27573),i=n(36857),l=n(98882),r=n(53528),o=n(10607),s=n(60803);let c="text-16 lg:text-18 font-bold leading-[1.2] underline underline-offset-2 can-hover:hover:opacity-70 transition-opacity";function u(){let{state:e,accept:t,decline:n}=(0,s.useCookieConsent)();return(0,a.jsx)(l.M,{children:"pending"===e&&(0,a.jsx)(r.E.aside,{role:"region","aria-label":"Cookie consent",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.25,ease:"easeOut",delay:.15},className:"fixed bottom-5 lg:bottom-9 inset-x-0 z-40 site-px",children:(0,a.jsxs)("div",{className:"bg-white text-offblack rounded-md lg:rounded-2.5 p-2.5 lg:py-4 lg:px-4.5 shadow-[0_0_44px_rgba(0,0,0,0.35)] flex flex-col gap-5 lg:flex-row lg:items-center lg:justify-between lg:gap-10",children:[(0,a.jsx)("p",{className:"text-16 lg:text-18 leading-[1.3]",children:"Our website uses cookies to ensure you get the best experience."}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between lg:justify-start gap-x-5 gap-y-2.5 lg:gap-5 shrink-0",children:[(0,a.jsx)(i.Link,{href:"/privacy-and-cookies",className:c,children:"Cookie Policy"}),(0,a.jsxs)("button",{type:"button",onClick:n,className:(0,o.Z)(c,"whitespace-nowrap"),children:["Decline",(0,a.jsx)("span",{className:"hidden lg:inline",children:"\xa0All"})]}),(0,a.jsxs)("button",{type:"button",onClick:t,className:(0,o.Z)(c,"whitespace-nowrap"),children:["Accept",(0,a.jsx)("span",{className:"hidden lg:inline",children:"\xa0All"})]})]})]})})})}},55846:function(e,t,n){n.d(t,{FadeInView:function(){return o}});var a=n(27573),i=n(7653),l=n(23607),r=n(53528);function o(e){let{as:t="div",children:n,delay:o=.2,duration:s=.6,className:c,style:u,y:d,once:h=!1,initialDelay:m}=e,f=(0,l.J)(),[p,g]=(0,i.useState)(!1),x=(0,i.useRef)(!1),v=(0,i.useRef)(!1),w=r.E[t],y=(0,i.useCallback)(e=>{e&&!x.current&&(x.current=!0,"undefined"!=typeof document&&document.documentElement.hasAttribute("data-vt")&&e.getBoundingClientRect().top<window.innerHeight&&g(!0))},[]),b=f||p,j=v.current||null==m?o:m;return(0,a.jsx)(w,{ref:y,initial:!b&&{opacity:0,...null!=d&&{y:d}},whileInView:{opacity:1,...null!=d&&{y:0}},viewport:{once:h},transition:b?{duration:0}:{duration:s,delay:j,ease:"easeOut"},onAnimationComplete:()=>{v.current=!0},className:c,style:u,children:n})}},68700:function(e,t,n){n.d(t,{LogoLoopOverlay:function(){return s}});var a=n(27573),i=n(7653),l=n(10607),r=n(91617);let o=Array.from({length:8},(e,t)=>"/logos/yung-".concat(t+1,".svg"));function s(){let{isHovered:e}=(0,r.Vh)(),[t,n]=(0,i.useState)(!1),[s,c]=(0,i.useState)(0),[u]=(0,i.useState)(()=>{let e=[...o];for(let t=e.length-1;t>0;t--){let n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e});(0,i.useEffect)(()=>{let e,t=!1,a=()=>{t||Promise.all(u.map(e=>{let t=new Image;return t.src=e,t}).map(e=>new Promise(t=>{if(e.complete)return t();e.onload=()=>t(),e.onerror=()=>t()}))).then(()=>{t||n(!0)})},i=()=>{if(t)return;let n=window;if("function"==typeof n.requestIdleCallback){let t=n.requestIdleCallback(a,{timeout:2e3});e=()=>{var e;return null===(e=n.cancelIdleCallback)||void 0===e?void 0:e.call(n,t)}}else{let t=window.setTimeout(a,0);e=()=>window.clearTimeout(t)}};if("complete"===document.readyState)i();else{let t=()=>i();window.addEventListener("load",t,{once:!0}),e=()=>window.removeEventListener("load",t)}return()=>{t=!0,null==e||e()}},[u]);let d=(0,i.useRef)(0);(0,i.useEffect)(()=>{if(!t||!e)return;d.current=0,c(0);let n=window.setInterval(()=>{d.current=(d.current+1)%8,c(d.current)},120);return()=>window.clearInterval(n)},[t,e]);let h=t&&e;return(0,a.jsx)("div",{"aria-hidden":"true",className:(0,l.Z)("fixed inset-0 z-50 pointer-events-none overflow-hidden",h?"visible":"invisible"),children:t&&u.map((e,t)=>(0,a.jsxs)("div",{className:(0,l.Z)("absolute inset-0 flex items-center justify-center",t===s?"opacity-100":"opacity-0"),children:[(0,a.jsx)("img",{src:e,alt:"",draggable:!1,
1className:"hidden lg:block shrink-0 w-screen h-auto select-none"}),(0,a.jsx)("img",{src:e,alt:"",draggable:!1,className:"lg:hidden shrink-0 w-[88vh] max-w-none h-auto rotate-90 select-none"})]},e))})}},96645:function(e,t,n){n.d(t,{SoundToggle:function(){return h}});var a=n(27573),i=n(10607),l=n(7653),r=n(23607),o=n(53528),s=n(85515),c=n(60803);let u=[{x:15,h:8,idleDelay:0,waveDur:.85,waveDelay:0,waveMin:.35},{x:19,h:15,idleDelay:.2,waveDur:.7,waveDelay:.18,waveMin:.4},{x:23,h:26,idleDelay:.4,waveDur:1,waveDelay:.05,waveMin:.45},{x:27,h:12,idleDelay:.6,waveDur:.65,waveDelay:.28,waveMin:.4},{x:31,h:15,idleDelay:.8,waveDur:.8,waveDelay:.12,waveMin:.35},{x:35,h:10,idleDelay:1,waveDur:.9,waveDelay:.32,waveMin:.3}],d="Enable Sound";function h(){let{state:e,hydrated:t,toggle:n}=(0,s.useSound)(),{state:h}=(0,c.useCookieConsent)(),[m,f]=(0,l.useState)(null),[p,g]=(0,l.useState)(""),x=(0,l.useRef)(new Set),v=(0,l.useRef)(null),w=(0,r.J)();(0,l.useEffect)(()=>{t&&("idle"===e?(f(d),g(d)):x.current.add(e))},[t]),(0,l.useEffect)(()=>{if(!t||"on"!==e&&"off"!==e||x.current.has(e))return;x.current.add(e);let n="on"===e?"Sound On":"Sound Off";f(n),g(n),v.current&&clearTimeout(v.current),v.current=setTimeout(()=>f(null),3e3)},[e,t]),(0,l.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]);let y="on"===e?"Turn sound off":"off"===e?"Turn sound on":"Enable audio",b=null!==m;return t?(0,a.jsx)("div",{className:"pointer-events-none sticky bottom-0 z-50 h-0",children:(0,a.jsxs)("button",{type:"button",onClick:n,"aria-label":y,"aria-pressed":"on"===e,"data-sound-state":e,className:(0,i.Z)("sound-toggle pointer-events-auto","absolute right-4 lg:right-10","pending"===h?"bottom-[140px] lg:bottom-[112px]":"bottom-4 lg:bottom-9","h-12 rounded-md bg-black text-white border border-white","flex items-center overflow-hidden","transition-[bottom,opacity] duration-300 ease-out","can-hover:hover:opacity-90"),children:[(0,a.jsxs)(o.E.span,{"aria-hidden":"true",initial:!1,animate:{maxWidth:b?240:0,opacity:b?1:0,paddingLeft:b?15:0},transition:w?{duration:0}:{type:"spring",stiffness:400,damping:36},className:(0,i.Z)("min-w-0 whitespace-nowrap uppercase overflow-hidden","text-12 leading-[1.3] tracking-[0.02em]","grid"),children:[(0,a.jsx)("span",{className:"[grid-area:1/1] invisible",children:d}),(0,a.jsx)("span",{className:"[grid-area:1/1]",children:p})]}),(0,a.jsx)("svg",{viewBox:"0 0 50 50",className:"size-12 shrink-0","aria-hidden":"true",focusable:"false",children:u.map((e,t)=>(0,a.jsx)("rect",{x:e.x-1,y:25-e.h/2,width:2,height:e.h,rx:1,fill:"currentColor",className:"sound-bar",style:{"--bar-min":(2/e.h).toFixed(3),"--idle-delay":"".concat(e.idleDelay,"s"),"--wave-dur":"".concat(e.waveDur,"s"),"--wave-delay":"".concat(e.waveDelay,"s"),"--wave-min":e.waveMin}},t))})]})}):null}},7434:function(e,t,n){n.d(t,{StudioNote:function(){return x}});var a=n(27573),i=n(7653),l=n(90379),r=n(18256),o=n(97044),s=n(53528),c=n(98882),u=n(74070),d=n(43506),h=n(10607);let m={studio:u.Zi,insight:u.ek,dev:u.d$},f={studio:"Studio note",insight:"Insight note",dev:"Development note"},p={hidden:{},visible:{transition:{staggerChildren:.02}},exit:{opacity:0,transition:{duration:.3,ease:[.16,1,.3,1]}}},g={hidden:{y:"100%"},visible:{y:"0%",transition:{duration:.4,ease:[.16,1,.3,1]}},exit:{}};function x(e){let{variant:t,text:n,className:u}=e,[x,v]=(0,i.useState)(!1),w=(0,d.N)(t),y=m[w],b=(0,d.N)(n).split(" "),{dots:j,glowShadow:N}=function(e){let t=(0,l.c)(0);(0,i.useEffect)(()=>{if(!e){t.set(0);return}let n=(0,r.j)(t,[0,3,3,0,0],{duration:3,repeat:1/0,ease:"easeInOut",times:[0,.3,.45,.75,1]});return()=>n.stop()},[e,t]);let n=(0,o.H)(t,[0,.8,1],[0,0,1]),a=(0,o.H)(t,[.8,1.5,2],[0,0,1]),s=(0,o.H)(t,[1.5,2.2,3],[0,0,1]),c=(0,o.H)(t,[0,1.5,3],[0,0,1]);return{dots:[n,a,s],glowShadow:(0,o.H)(c,e=>e<.15?"none":"0 0 ".concat(3*e,"px ").concat(1*e,"px rgba(246, 255, 139, ").concat(.8*e,")"))}}(!x);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("aside",{className:(0,h.Z)("hidden lg:flex flex-col gap-4 border-l border-dolly pl-5",u),"aria-label":f[w],children:[(0,a.jsx)(y,{className:"size-8 text-paper"}),(0,a.jsx)("p",{className:"font-mono text-16 text-dolly tracking-[-0.01em] leading-[1.4]",children:n})]}),(0,a.jsxs)("aside",{className:(0,h.Z)("lg:hidden relative",u),"aria-label":f[w],children:[(0,a.jsx)(s.E.div,{className:"absolute left-0 top-1 w-px bg-dolly origin-top",animate:{height:x?"100%":"1.125rem"},transition:{duration:.4,ease:[.16,1,.3,1]},style:{boxShadow:x?"none":N},"aria-hidden":"true"}),(0,a.jsx)(c.M,{children:!x&&(0,a.jsx)(s.E.div,{className:"absolute left-0 flex flex-col gap-[0.188rem]",style:{to
1p:"calc(0.25rem + 1.125rem + 0.25rem)"},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},"aria-hidden":"true",children:j.map((e,t)=>(0,a.jsx)(s.E.div,{className:"w-px h-[0.125rem] bg-dolly",style:{opacity:e,boxShadow:N}},t))})}),(0,a.jsx)("button",{type:"button",onClick:()=>v(e=>!e),className:"pl-5","aria-expanded":x,"aria-label":x?"Collapse note":"Expand note",children:(0,a.jsx)(y,{className:"size-6 text-paper"})}),(0,a.jsx)("div",{className:"pl-5",children:(0,a.jsx)(c.M,{children:x&&(0,a.jsx)(s.E.div,{className:"overflow-hidden",initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.4,ease:[.16,1,.3,1]},children:(0,a.jsx)(s.E.p,{className:"font-mono text-12 text-dolly tracking-[-0.01em] leading-[1.4] mt-3.5 flex flex-wrap",variants:p,initial:"hidden",animate:"visible",exit:"exit",children:b.map((e,t)=>(0,a.jsx)("span",{className:"inline-block overflow-hidden",children:(0,a.jsxs)(s.E.span,{className:"inline-block",variants:g,children:[e,"\xa0"]})},t))})})})})]})]})}},18094:function(e,t,n){n.d(t,{useInViewAutoplay:function(){return i}});var a=n(7653);function i(e,t){let n=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var a;let i=n.current;if(!i||!e)return;let l=null===(a=e.plugins())||void 0===a?void 0:a[t];if(!l)return;let r=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting?l.play(0):l.stop()},{threshold:0});return r.observe(i),()=>r.disconnect()},[e,t]),n}},33160:function(e,t,n){function a(e){if(!e)return"#";if("mailto"===e.type)return e.email?e.subject?"mailto:".concat(e.email,"?subject=").concat(encodeURIComponent(e.subject)):"mailto:".concat(e.email):"#";if("external"===e.type)return e.url||"#";let t=i(e.internalPage);if(e.query&&"#"!==t){let n=e.query.trim().replace(/^\?+/,"");if(n)return"".concat(t,"?").concat(n)}return t}function i(e){if(!e)return"/";let{_type:t,slug:n}=e;return"homePage"===t?"/":"launchedPage"===t?"/launched":"upcomingPage"===t?"/upcoming":"rdPage"===t?"/rd":"memosPage"===t?"/memos":"studioPage"===t?"/studio":"contactPage"===t?"/contact":"launched"===t&&(null==n?void 0:n.current)?"/launched/".concat(n.current):"memo"===t&&(null==n?void 0:n.current)?"/memos/".concat(n.current):"legalPage"===t&&(null==n?void 0:n.current)?"/".concat(n.current):"/"}n.d(t,{c:function(){return i},g:function(){return a}})}}]);
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.