1import{O as e}from"./DeIL3Ki_.js";import{D as t,E as n,Ht as r,On as i,Zn as a,_ as o,b as s,ct as c,g as l,it as u,k as d,mt as f,tr as p,tt as m,vn as h,wn as g,xt as _}from"./CaODJcyn.js";import{t as v}from"./DRBOcCBc.js";import{t as y}from"./C6akwycU.js";import{t as b}from"./BnDyZG10.js";import{t as x}from"./BDNMzG2s.js";var S=240,C=240,w={x:-300,y:-300,opacity:0},T={opacity:0,scale:1.15,rotation:-20},E={opacity:0,y:6},D=(e,t,n,r,i)=>{let a=(e+n)/2,o=(t+r)/2,s=n-e,c=r-t,l=Math.hypot(s,c)||1,u=Math.min(l*.25,75);return{x:a+-c/l*u*i,y:o+s/l*u*i}},O=(t,n={})=>{let{$gsap:i}=e(),{selector:a=`[data-blob-img]`,trigger:o}=n,s=null,l=null,d=e=>{let t=e.offsetWidth||S,n=e.offsetHeight||C,r=Array.from(document.querySelectorAll(a));if(!r.length)return;r.forEach(e=>{let t=e.querySelector(`[data-blob-image]`),n=e.querySelector(`[data-blob-label]`);i.set(t??e,T),n&&i.set(n,E)});let o=i.timeline({repeat:-1,repeatDelay:1}),c=-(t+60),l=-(n+60);r.forEach((r,i)=>{let{left:a,top:s,width:u,height:d}=r.getBoundingClientRect(),f=a+u/2-t/2,p=s+d/2-n/2,m=D(c,l,f,p,i%2==0?1:-1);o.to(e,{keyframes:[{x:m.x,y:m.y,ease:`sine.in`},{x:f,y:p,ease:`sine.out`}],duration:1.4}),i===0&&o.to(e,{opacity:.8,duration:.8,ease:`sine.out`},`<`);let h=r.querySelector(`[data-blob-image]`),g=r.querySelector(`[data-blob-label]`),_=h??r;o.to(_,{opacity:1,duration:.7,ease:`sine.out`},`-=0.4`),o.to(_,{rotation:0,duration:.9,ease:`wordPop`},`<`),g&&o.to(g,{opacity:1,y:0,duration:.5,ease:`sine.out`},`+=0.15`);let v=g?`+=1.0`:`+=1.2`;o.to(_,{...T,rotation:20,duration:.5,ease:`exit`},v),g&&o.to(g,{...E,duration:.4,ease:`exit`},`<`),c=f,l=p});let u=D(c,l,window.innerWidth+t,l,-1);o.to(e,{keyframes:[{x:u.x,y:u.y,ease:`sine.in`},{x:window.innerWidth+t,y:l,ease:`sine.out`}],duration:1.1}),o.to(e,{opacity:0,duration:.6,ease:`sine.in`},`<`),o.set(e,w),s=o};c(()=>{let e=t.value;if(!e)return;let n=e.offsetWidth||S,a=e.offsetHeight||C;i.set(e,{x:-(n+60),y:-(a+60),opacity:0}),o?l=r(o,t=>{t&&(l?.(),l=null,m(()=>d(e)))},{immediate:!0}):m(()=>d(e))}),u(()=>{l?.(),s?.kill(),l=null,s=null})},k={class:`relative`},A=Object.assign(d({__name:`SpotlightHeroAnimation`,props:{trigger:{type:Boolean,default:!1},size:{default:`md`},spotlightColor:{default:`bg-lime-500`}},setup(e){let t=e,n=h(null);O(n,{trigger:g(t,`trigger`)});let r=l(()=>t.size===`sm`?`w-32`:`w-50 lg:w-60`);return(t,c)=>(f(),s(`div`,null,[o(`div`,{ref_key:`spotlightRef`,ref:n,class:a([`fixed top-0 left-0 aspect-square blur-lg rounded-full pointer-events-none z-20 opacity-0`,[i(r),e.spotlightColor]])},null,2),o(`div`,k,[_(t.$slots,`default`)])]))}}),{__name:`AboutSpotlightHeroAnimation`}),j={class:`flex w-max items-center gap-2 rounded-full bg-white/80 pr-1 pl-3 py-1 text-xs font-normal tracking-normal backdrop-blur-sm md:text-sm lg:text-base`},M={class:`flex aspect-square size-5 shrink-0 items-center justify-center rounded-full bg-off-black-500 md:size-6`},N=d({__name:`KUICoreCalloutLabel`,props:{text:{},icon:{default:b.plus}},setup(e){return(r,i)=>{let a=y;return f(),s(`span`,j,[n(p(e.text)+` `,1),o(`span`,M,[t(a,{icon:e.icon,size:`sm`,class:`text-white`},null,8,[`icon`])])])}}}),P=Object.assign(N,{__name:`KUICoreCalloutLabel`}),F={"data-blob-img":``,class:`m-auto flex flex-col items-center`},I=Object.assign(d({__name:`SpotlightImage`,props:{src:{},label:{},imageClass:{}},setup(e){return(n,r)=>{let i=v,o=P;return f(),s(`div`,F,[t(i,{"data-blob-image":``,src:e.src,alt:``,class:a([`opacity-0`,[e.imageClass]])},null,8,[`src`,`class`]),t(o,{"data-blob-label":``,text:e.label,class:`opacity-0`},null,8,[`text`])])}}}),{__name:`AboutSpotlightImage`}),L={},R={class:`flow-root`},z={class:`fixed top-0 left-0 w-full min-h-dvh pt-[var(--unified-nav-height)] flex justify-center items-center z-20`},B={class:`bg-off-white-500 relative z-40 mt-[100dvh]`};function V(e,t){return f(),s(`div`,R,[o(`div`,z,[_(e.$slots,`hero`)]),o(`div`,B,[_(e.$slots,`default`)])])}var H=Object.assign(x(L,[[`render`,V]]),{__name:`KUIUnifiedLayoutPublicParallax`});export{I as n,A as r,H as t}; 2//# sourceMappingURL=BKZ1MD5l.js.map
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.