import{o,c as h,j as e,H as m,L as p}from"./index-D-pl_72i.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 d=o("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);function u({items:a=[],compactOnMobile:r=!1}){if(!a.length)return null;const n={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:a.map((t,s)=>({"@type":"ListItem",position:s+1,name:t.label,item:t.path?`${h.domain}${t.path}`:void 0}))},l=t=>!r||a.length<=2?!1:t>0&&t<a.length-1;return e.jsxs(e.Fragment,{children:[e.jsx(m,{children:e.jsx("script",{type:"application/ld+json",children:JSON.stringify(n)})}),e.jsx("nav",{"aria-label":"Breadcrumb",className:"bg-warm-gray border-b border-gray-200",children:e.jsx("div",{className:"container-width px-4 py-2.5 sm:py-3",children:e.jsx("ol",{className:"flex flex-wrap items-center gap-1 text-sm",children:a.map((t,s)=>{const c=s===a.length-1,i=l(s);return e.jsxs("li",{className:`flex items-center gap-1 ${i?"hidden sm:flex":""}`,children:[s>0&&e.jsx(d,{className:"w-3.5 h-3.5 text-gray-400 flex-shrink-0"}),c?e.jsx("span",{className:"text-graphite font-medium","aria-current":"page",children:t.label}):e.jsx(p,{to:t.path,className:"text-sky-accent hover:text-steel-blue transition-colors",children:t.label})]},s)})})})})]})}export{u as B};