import{j as e}from"./vendor-ui-CUslpDkL.js";import{L as r}from"./vendor-react-Dg0Tra3e.js";import{y as o,z as m}from"./index-CJqEbhJN.js";function p({items:a}){const n={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.what-anime.com/"},...a.map((t,s)=>({"@type":"ListItem",position:s+2,name:t.label,...t.href&&{item:`https://www.what-anime.com${t.href}`}}))]};return e.jsxs(e.Fragment,{children:[e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}}),e.jsxs("nav",{"aria-label":"Breadcrumb",className:"flex items-center gap-1 text-sm text-muted-foreground mb-4",children:[e.jsx(r,{to:"/",className:"hover:text-primary transition-colors flex items-center gap-1","aria-label":"Home",children:e.jsx(o,{className:"w-4 h-4"})}),a.map((t,s)=>e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(m,{className:"w-4 h-4"}),t.href?e.jsx(r,{to:t.href,className:"hover:text-primary transition-colors",children:t.label}):e.jsx("span",{className:"text-foreground font-medium","aria-current":"page",children:t.label})]},s))]})]})}export{p as S};