import{U as u,c as l,bH as c,a0 as p,X as a,F as r,E as m,$ as d,Y as v,ak as g,W as f,aj as b}from"./index-B-lUZalq.js";import{T as h}from"./Toolbar-BvxWbi_E.js";import"./VToolbar-RljK0PC9.js";import"./VBtn-BPJ1JKW-.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const C=u({__name:"Settings",setup(y){const n=c(),t=l(()=>n.currentRoute.value.name?.toString().includes("player")?"players":n.currentRoute.value.name?.toString().includes("core")?"core":n.currentRoute.value.name?.toString().includes("frontend")?"frontend":"providers");return(e,o)=>{const i=g("router-view");return a(),p("div",null,[r(h,{icon:"mdi-cog-outline",title:e.$t("settings.settings"),"show-loading":!0,"menu-items":[{label:"settings.providers",icon:"mdi-apps",action:()=>{e.$router.push({name:"providersettings"})},active:t.value=="providers"},{label:"settings.players",icon:"mdi-speaker-multiple",action:()=>{e.$router.push({name:"playersettings"})},active:t.value=="players"},{label:"settings.core",icon:"mdi-engine",action:()=>{e.$router.push({name:"coresettings"})},active:t.value=="core"},{label:"settings.frontend",icon:"mdi-palette-advanced",action:()=>{e.$router.push({name:"frontendsettings"})},active:t.value=="frontend"}]},null,8,["title","menu-items"]),r(d),o[0]||(o[0]=m("div",{style:{height:"15px"}},null,-1)),r(i,{app:""},{default:v(({Component:s})=>[(a(),f(b(s)))]),_:1})])}}});export{C as default};
