1import{a as J}from"./chunk-YOFHHUQE.js";import"./chunk-RJYBTLPW.js";import"./chunk-IWDOFJ6Q.js";import{A as F,B as R,D as h,Da as B,G as U,Ga as G,H as j,Ha as H,K as _,M as $,Q as c,R as D,Ra as b,V as y,X as K,Y as O,ca as W,f as x,g as M,h as m,ia as S,k as w,ka as T,l as i,p as g,r as z,t,w as A,ya as Y}from"./chunk-KEQDT2XX.js";import"./chunk-JJ75YLVJ.js";var $e=$('<span class="w-6 h-6 flex-shrink-0 flex items-center justify-center"><!></span>'),ce=$('<img class="w-6 h-6 flex-shrink-0" alt="">'),pe=$('<span class="truncate whitespace-nowrap"> </span>'),ue=$("<button><!> <!></button>"),fe=$('<div class="hidden md:block h-full w-[72px] relative svelte-13mlfqg"><div></div></div>'),de={hash:"svelte-13mlfqg",code:` 2 /* Ensure smooth transitions */div.svelte-13mlfqg {will-change:width;}`};function ve(q,p){U(p,!1),W(q,de);let E=x(),N=b(p,"pages",24,()=>[]),Q=b(p,"currentPath",8,"/"),k=b(p,"hostType",8,"prod"),I=b(p,"live",24,()=>({})),P="sidebar-scroll-position",u=x(!1),o=null,n=x();function V(){o&&(clearTimeout(o),o=null),m(u,!0)}function X(){o=setTimeout(()=>{m(u,!1)},300)}function Z(e){var a;(a=I())!=null&&a.pushEvent&&I().pushEvent("system:navigate_to",{path:e})}function ee(){t(n)&&sessionStorage.setItem(P,t(n).scrollTop.toString())}function te(){if(t(n)){let e=sessionStorage.getItem(P);e&&M(n,t(n).scrollTop=parseInt(e,10))}}function se(e){return`https://pursuitapp.b-cdn.net/block_party/assets/icons/${encodeURIComponent(e)}.svg`}function C(e){return e.startsWith("sf:")?e.slice(3):null}G(()=>{te()}),H(()=>{o&&clearTimeout(o)});function ae(e){return Q()===e}F(()=>A(k()),()=>{m(E,k()==="prod"?"bg-blue700":"bg-orange700")}),R(),B();var f=fe(),d=g(f);O(d,5,N,K,(e,a)=>{var r=ue(),L=g(r);{var le=s=>{var l=$e(),v=g(l);let ie=w(()=>C(t(a).icon));J(v,{get name(){return t(ie)},size:22}),i(l),c(s,l)},ne=s=>{var l=ce();h(v=>S(l,"src",v),[()=>se(t(a).icon)],w),c(s,l)};y(L,s=>{C(t(a).icon)?s(le):s(ne,!1)})}var oe=z(L,2);{var re=s=>{var l=pe(),v=g(l,!0);i(l),h(()=>D(v,t(a).name)),c(s,l)};y(oe,s=>{t(u)&&s(re)})}i(r),h(s=>{T(r,`text-white hover:text-gray-100 p-3 space-x-2 w-full transition-all duration-200 items-center flex rounded-full hover:bg-white/10 ${s!=null?s:""}`),S(r,"title",t(u)?void 0:t(a).name)},[()=>ae(t(a).path)?"bg-white/25":""],w),_("click",r,()=>Z(t(a).path)),c(e,r)}),i(d),Y(d,e=>m(n,e),()=>t(n)),i(f),h(()=>{var e,a;return T(d,`h-full overflow-y-auto pb-20 flex-col space-y-1 flex p-3 transition-all duration-300 ease-out z-20 ${(e=t(E))!=null?e:""} ${(a=t(u)?"w-64 absolute top-0 left-0 shadow-2xl":"w-[72px]")!=null?a:""} svelte-13mlfqg`)}),_("scroll",d,ee),_("mouseenter",f,V),_("mouseleave",f,X),c(q,f),j()}export{ve as default};
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.