import{M as p,aI as d,c as f,X as v,l,S as _,J as t,w as a,O as g,Q as V,_ as r,$ as s,P as h,m as b,Y as B}from"./index-9b57d2d5.js";import{V as S}from"./VToolbar-dc629630.js";import{V as T}from"./index-7f073286.js";import{a as $,V as n}from"./VTabs-a34a1f43.js";import"./VImg-601f5a2c.js";import"./VBtn-68192c05.js";import"./index-a0309372.js";import"./group-8817b070.js";import"./VProgressCircular-6b2fd430.js";import"./resizeObserver-a80b315a.js";import"./easing-c01f84ef.js";const k=V("div",{style:{height:"15px"}},null,-1),P=p({__name:"Settings",setup(w){const i=d(),c=f(()=>{var e,o;return(e=i.currentRoute.value.name)!=null&&e.toString().includes("forecast")?"forecast":(o=i.currentRoute.value.name)!=null&&o.toString().includes("core")?"core":"devices"});return(e,o)=>{const u=v("router-view");return l(),_("div",null,[t(S,{color:"transparent",title:g(h)("bp4")?e.$t("app.settings"):""},{append:a(()=>[t($,{"model-value":c.value,"align-tabs":"end",height:"100%"},{default:a(()=>[t(n,{value:"devices",to:{name:"devicessettings"}},{default:a(()=>[r(s(e.$t("settings.devices")),1)]),_:1}),t(n,{value:"forecast",to:{name:"forecastsettings"}},{default:a(()=>[r(s(e.$t("settings.forecast")),1)]),_:1}),t(n,{value:"core",to:{name:"coresettings"}},{default:a(()=>[r(s(e.$t("settings.core")),1)]),_:1})]),_:1},8,["model-value"])]),_:1},8,["title"]),t(T),k,t(u,null,{default:a(({Component:m})=>[(l(),b(B(m)))]),_:1})])}}});export{P as default};
