import{c,s as l,j as e,L as o}from"./index-BFpjkRLY.js";import{S as i}from"./SchemaMarkup-CCGxt7Le.js";/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const m=c("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);function d({items:t}){const r={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map((a,s)=>({"@type":"ListItem",position:s+1,name:a.label,item:a.path?`${l.domain}${a.path}`:void 0}))};return e.jsxs(e.Fragment,{children:[e.jsx(i,{schemas:[r]}),e.jsx("nav",{"aria-label":"Breadcrumb",className:"border-b border-gray-100 overflow-x-auto scrollbar-hide",style:{padding:"14px 0"},children:e.jsx("ol",{className:"flex items-center gap-1.5 text-sm whitespace-nowrap min-w-0",children:t.map((a,s)=>{const n=s===t.length-1;return e.jsxs("li",{className:"flex items-center gap-1.5 shrink-0",children:[s>0&&e.jsx(m,{size:14,className:"text-slate-300 shrink-0"}),n?e.jsx("span",{className:"text-slate-500","aria-current":"page",children:a.label}):e.jsx(o,{to:a.path,className:"text-teal hover:text-teal-700 transition-colors",children:a.label})]},a.label)})})})]})}export{d as B};