1import{d as g,at as f,j as p,an as m,az as v,ae as s,aq as i,ah as o,aB as h,aS as b,aD as n,bb as k,aC as y,ar as _,ai as $}from"./index-BWMC8nQi.js";const C=g({name:"CBaseToggleNavigation",props:{items:{default:()=>({}),required:!0,type:Object}},setup(a){const c=m(),l=v(),{pushGaEvent:r}=f();return{itemWidth:p(()=>`calc(100% / ${Object.keys(a.items).length}`),switchState:e=>{a.items[e].active||r({category:"account",action:"tab navigation offer list",label:e==="offers"?"active offers":"inactive offers"}),Object.keys(a.items).forEach(t=>{a.items[t].active=t===e,t===e&&(a.items[t].isUpdated=!1)}),c.dispatch("ApplicationStore/postBroadcastMessage",{component:"CBaseToggleNavigation",eventName:"clickNavigation",page:l.name,data:{clickedElement:e}})}}}}),N={class:"d-flex"},S=["onClick","id","title"],B={class:"label"};function j(a,c,l,r,d,u){return s(),i("div",{class:n(a.$options.name)},[o("nav",null,[o("ul",N,[(s(!0),i(h,null,b(a.items,(e,t)=>(s(),i("li",{class:n(["d-flex align-items-center",{active:e.active,isUpdated:e.isUpdated}]),onClick:w=>a.switchState(t),id:e.label,key:"toggleNavigation_"+t,style:k({width:a.itemWidth}),title:`${e.label} anzeigen`},[e.icon?(s(),i("span",{key:0,class:n(["icon",[`icon-${e.icon}`]])},null,2)):y("",!0),o("span",B,_(e.label),1)],14,S))),128))])])],2)}const E=$(C,[["render",j]]);export{E as default};
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.