1import{C as e,Dt as t,E as n,Gt as r,M as i,R as a,T as o,W as s,at as c,b as l,et as u,ft as d,m as f,q as p,x as m,yt as h}from"./C4GJIgZ1.js";import{t as g}from"./BR5_fy1H.js";import{n as _}from"./Dbmx7r_d.js";import{o as v}from"#entry";import{t as y}from"./DPazREa9.js";import{t as b}from"./CX0HdhKp.js";t(),i(),c();var x={class:`breadcrumb`},S={key:1,class:`breadcrumb-current-location`},C={__name:`LayoutBreadcrumb`,props:[`device`,`page`,`pageName`,`popStage`,`currentManufacturerName`,`currentSeriesName`],setup(t){let i=t,c=d([]),C=v(),w=y(),T=_().locale.value,E=(e,t)=>e.find(e=>e.name===t),D=(e,t)=>e.find(e=>e.id===t),O=(e,t=``)=>{c.value.push({urlText:e,url:t})};return a(()=>{if((i.page===`content`||i.page===`overview`||i.page===`account`)&&O(i.pageName),i.page===`pop`){if(i.popStage===`category`)O(i.pageName);else{let e=C.categories[i.pageName.toLowerCase()];if(O(i.pageName,w.getPopUrl(e.url,T)),i.popStage===`manufacturer`)O(i.currentManufacturerName);else if(i.currentManufacturerName){let t=E(e.manufacturers,i.currentManufacturerName);O(i.currentManufacturerName,w.getPopUrl(t.url,T))}i.popStage===`series`&&O(i.currentSeriesName)}}if(i.page===`pdp`){let e=C.categories[i.device.category.toLowerCase()];O(i.device.category,w.getPopUrl(e.url,T));let t=D(e.manufacturers,i.device.manufacturerId);O(i.device.manufacturer,w.getPopUrl(t.url,T));let n=D(t.series,i.device.seriesId);O(i.device.series,w.getPopUrl(n.url,T)),O(i.device.name)}}),(t,i)=>{let a=g,d=b;return s(),e(`ul`,x,[l(`li`,null,[n(a,{to:`/`,title:t.$t(`NAVIGATION_START`),tabindex:`-1`},{default:u(()=>[o(r(t.$t(`NAVIGATION_START`)),1)]),_:1},8,[`title`])]),(s(!0),e(f,null,p(h(c),(t,i)=>(s(),e(`li`,null,[n(d,{class:`breadcrumb__divider`}),i<h(c).length-1?(s(),m(a,{key:0,to:t.url,tabindex:`-1`},{default:u(()=>[o(r(t.urlText),1)]),_:2},1032,[`to`])):(s(),e(`span`,S,r(t.urlText),1))]))),256))])}}};export{C as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.