import{B as e,E as t,F as n,Ft as r,H as i,It as a,Mt as o,Q as s,U as c,W as l,Z as u,_t as d,at as f,d as p,ft as m,ht as h,jt as g,mt as _,ot as v,pt as y,s as b,st as x}from"./BA99CCI5.js";import"./xihTtKlq.js";import"./DGo8yE5j.js";import{t as S}from"./DKiI-c2_2.js";var C=l(`<div class="px-4 py-2 md:px-12"><!></div> <div class="mx-4 border-b border-neutral-200 md:mx-8 dark:border-neutral-800"></div>`,1),w=l(`<div class="mx-4 border-b border-neutral-200 md:mx-8 dark:border-neutral-800"></div>`),T=l(`<div class="mx-4 border-t border-neutral-200 md:mx-8 dark:border-neutral-800"></div>`),E=l(`<div><!> <div class="px-4 py-3 md:px-12 md:py-4"><div class="flex flex-col gap-3 md:flex-row md:items-center md:justify-between md:gap-4"><div class="min-w-0 [&amp;_h1]:text-base [&amp;_h1]:font-semibold [&amp;_h1]:md:text-xl [&amp;_p]:text-xs [&amp;_p]:md:text-sm"><!></div> <div class="border-t border-neutral-200 pt-3 md:border-0 md:pt-0 dark:border-neutral-800"><div class="flex flex-shrink-0 flex-wrap items-center gap-2"><!></div></div></div></div> <!></div>`);function D(l,D){o(D,!1);let O=h(),k=h(),A=h(),j=b(D,`position`,8,`top`),M=b(D,`variant`,8,`default`),N=b(D,`breadcrumbItems`,24,()=>[]),P=b(D,`breadcrumbCurrent`,8,``),F=b(D,`stickyBreadcrumb`,8,!0);f(()=>u(M()),()=>{d(O,M()==="default"?`bg-neutral-50 dark:bg-neutral-900`:M()===`blur`?`backdrop-blur-sm bg-neutral-50/50 dark:bg-neutral-900/50`:``)}),f(()=>u(N()),()=>{d(k,N().length>0)}),f(()=>(u(j()),s(k),u(F())),()=>{d(A,j()===`bottom`?`bottom-0`:s(k)&&!F()?`top-[-37px]`:`top-0`)}),v(),p();var I=E(),L=m(I),R=e=>{var t=C(),n=y(t),o=m(n);S(o,{get items(){return N()},get current(){return P()}}),a(n),r(2),i(e,t)};e(L,e=>{s(k)&&e(R)});var z=_(L,2),B=m(z),V=m(B),H=m(V);n(H,D,`left`,{},null),a(V);var U=_(V,2),W=m(U),G=m(W);n(G,D,`right`,{},null),a(W),a(U),a(B),a(z);var K=_(z,2),q=t=>{var n=c(),r=y(n),a=e=>{var t=w();i(e,t)},o=e=>{var t=T();i(e,t)};e(r,e=>{j()===`top`?e(a):e(o,-1)}),i(t,n)};e(K,e=>{M()==="default"&&e(q)}),a(I),x(()=>t(I,1,`sticky z-10 -mx-4 md:-mx-8 ${s(O)??``} ${s(A)??``}`)),i(l,I),g()}export{D as t};