import{a as u}from"/build/_shared/chunk-3NEASJTC.js";import{$ as i,R as d,X as c,aa as b,n as g}from"/build/_shared/chunk-QHBIDS7S.js";import{c as s,j as f}from"/build/_shared/chunk-OFAZKNI3.js";import{b as o}from"/build/_shared/chunk-JP7ZSRVB.js";import{f as r}from"/build/_shared/chunk-ZSCMMWXX.js";var n=r(o());function m(e){return(0,n.jsxs)(i,{component:"span",p:0,style:{color:e.color,fontWeight:e.bold?"700":"500"},children:[e.to&&(0,n.jsx)(f,{className:e.className,prefetch:"intent",style:{color:"inherit",textDecoration:"none",padding:0,cursor:"pointer"},to:e.to,children:(0,n.jsx)(n.Fragment,{children:e.children})}),e.href&&(0,n.jsx)(b,{"aria-label":"Opens in a new tab",className:e.className,"data-testid":e["data-testid"],href:e.href,rel:"noreferrer",style:{color:"inherit",textDecoration:"none",padding:0},tabIndex:e.tabIndex,target:"_blank",children:e.children})]})}var h=m;var l=r(o()),L=e=>(0,l.jsx)("svg",{fill:"none",height:"24",viewBox:"0 0 12 24",width:"12",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M9.705 7.41L8.295 6L2.295 12L8.295 18L9.705 16.59L5.125 12L9.705 7.41Z",fill:"#707371"})}),x=L;var y="/build/_assets/styles-ZX5AUBML.css";var t=r(o()),_=()=>[{rel:"stylesheet",href:y}];function p({breadcrumb:e}){let w=g(`(max-width: ${u.MOBILE})`),S=s();if(!e.length)return(0,t.jsx)(t.Fragment,{});let[a]=e.slice(-1);return(0,t.jsxs)(c,{className:"breadcrumb-container",children:[w&&(0,t.jsx)(d,{"data-testid":"back-button",variant:"subtle",onClick:()=>S(-1),children:(0,t.jsx)(x,{})}),e.slice(0,-1).map(({name:v,path:k},I)=>(0,t.jsx)(h,{to:k,children:(0,t.jsxs)(c,{gap:4,children:[(0,t.jsx)(i,{c:"accents-neural.2",component:"p",children:v}),(0,t.jsx)(i,{c:"accents-neutral.2",component:"p",children:"/"})]})},I)),(a==null?void 0:a.name)&&(0,t.jsx)(i,{c:"inactive.1",component:"p",lineClamp:1,children:a.name})]})}var R=p;export{h as a,_ as b,R as c};
