import{c as e,bs as t}from"./vendor-core-Di0OO4oJ.js";import{l as u,B as o}from"./index-CeAbLubS.js";function a(){const a=u(),l=e(()=>o),{showMenuButton:n,showFastEnter:r,showRefreshButton:s,showCrumbs:h,showLanguage:i}=t(a),d=e=>{var t,u;return null!=(u=null==(t=l.value[e])?void 0:t.enabled)&&u},v=e=>l.value[e],g=e(()=>d("menuButton")&&n.value),c=e(()=>d("refreshButton")&&s.value),f=e(()=>d("fastEnter")&&r.value),w=e(()=>d("breadcrumb")&&h.value),b=e(()=>d("globalSearch")),S=e(()=>d("fullscreen")),m=e(()=>d("notification")),F=e(()=>d("chat")),B=e(()=>d("language")&&i.value),E=e(()=>d("settings")),j=e(()=>d("themeToggle")),C=e(()=>{const e=v("fastEnter");return(null==e?void 0:e.minWidth)||1200}),p=()=>Object.keys(l.value).filter(e=>{var t;return null==(t=l.value[e])?void 0:t.enabled}),M=()=>Object.keys(l.value).filter(e=>{var t;return!(null==(t=l.value[e])?void 0:t.enabled)});return{headerBarConfig:l,shouldShowMenuButton:g,shouldShowRefreshButton:c,shouldShowFastEnter:f,shouldShowBreadcrumb:w,shouldShowGlobalSearch:b,shouldShowFullscreen:S,shouldShowNotification:m,shouldShowChat:F,shouldShowLanguage:B,shouldShowSettings:E,shouldShowThemeToggle:j,fastEnterMinWidth:C,isFeatureEnabled:d,isFeatureActive:e=>d(e),getFeatureConfig:v,getFeatureInfo:e=>v(e),getEnabledFeatures:p,getDisabledFeatures:M,getActiveFeatures:()=>p(),getInactiveFeatures:()=>M()}}export{a as u};
