import{B as f}from"./index-BRMV7KFd.js";import{y as v,i as d,A as y,o as n,e as o,f as u,F as c,B as g,n as i,g as B,l as C,t as m,C as p,v as D}from"./vendor-CI5NvTnj.js";function h(s){const t=s;t.__i18n=t.__i18n||[],t.__i18n.push({locale:"",resource:{cs:{home:a=>{const{normalize:e}=a;return e(["DomĹŻ"])}},sk:{home:a=>{const{normalize:e}=a;return e(["Domov"])}},pl:{home:a=>{const{normalize:e}=a;return e(["? na gĂłrÄ™?"])}},hu:{home:a=>{const{normalize:e}=a;return e(["KezdĹ‘lap"])}},de:{home:a=>{const{normalize:e}=a;return e(["Zuhause"])}},at:{home:a=>{const{normalize:e}=a;return e(["Zuhause"])}},ro:{home:a=>{const{normalize:e}=a;return e(["Pagina principalÄ"])}}}})}const N={key:0,class:"breadcrumb-nav","aria-label":"Breadcrumb navigation"},A=["aria-current"],L={class:"sr-only"},S=u("i",{class:"mi-home icon-20px d-inline"},null,-1),V={__name:"BaseBreadcrumb",props:{additionalClassName:{type:String,default:""},breadcrumbList:{type:Array,default:()=>[]}},setup(s){const{t}=v(),a=s,e=d(()=>[{name:t("home"),link:{name:"rootPath"}},...a.breadcrumbList]),k=d(()=>f.isDesktop()),z=_=>_+1===e.value.length?" active":"";return(_,w)=>{const b=y("router-link");return k.value?(n(),o("nav",N,[u("ol",{class:i(["breadcrumb items-center",s.additionalClassName])},[(n(!0),o(c,null,g(e.value,(l,r)=>(n(),o("li",{key:r,class:i(`breadcrumb-item${z(r)}`),"aria-current":r+1===e.value.length?"page":void 0},[r+1!==e.value.length?(n(),B(b,{key:0,to:l.link,class:i({"d-flex":r===0})},{default:C(()=>[r===0?(n(),o(c,{key:0},[u("span",L,m(l.name),1),S],64)):(n(),o(c,{key:1},[p(m(l.name),1)],64))]),_:2},1032,["to","class"])):(n(),o(c,{key:1},[p(m(l.name),1)],64))],10,A))),128))],2)])):D("",!0)}}};typeof h=="function"&&h(V);export{V as default};