import{_}from"./AppFooter-DN0r4-En.js";import{d as v,u as b,N as g,cd as k,c as u,a as e,w as t,H as x,F as m,o as r,I as w,O as o,P as d,ce as y,e as s,r as C,cf as S,s as T,t as n,c3 as N,cg as B,f as c,aV as D,ch as I,b as R,ac as U}from"./index-lT0LPxUj.js";const z={class:"ma-2"},O=v({__name:"Settings",setup(A){const l=b(),p=()=>{D(()=>l.updateTheme())},f=g(()=>Object.values(k)),V=[{icon:"mdi:mdi-white-balance-sunny",title:"light",value:"light"},{icon:"mdi:mdi-weather-night",title:"dark",value:"dark"},{icon:"mdi:mdi-desktop-tower-monitor",title:"system",value:"auto"}];return(F,i)=>(r(),u(m,null,[e(x,{class:"fill-height"},{default:t(()=>[e(w,{class:"align-center"},{default:t(()=>[e(o,{class:"ma-auto my-1","max-width":"400"},{default:t(()=>[e(o,{flat:"",title:"App settings"},{default:t(()=>[e(o,{flat:"",subtitle:"Theme"},{default:t(()=>[e(d,null,{default:t(()=>[e(y,{"onUpdate:modelValue":[p,i[0]||(i[0]=a=>s(l).state.theme=a)],hint:"Customize the app with light and dark themes.","persistent-hint":"",modelValue:s(l).state.theme},{default:t(()=>[(r(),u(m,null,C(V,(a,h)=>e(I,{key:h,value:a.value,"true-icon":"mdi:mdi-checkbox-marked-circle-outline"},{label:t(()=>[e(R,{icon:a.icon,class:"mx-2"},null,8,["icon"]),c(" "+n(U(a.title)),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{flat:"",subtitle:"General"},{default:t(()=>[e(d,null,{default:t(()=>[e(S,{density:"compact","false-icon":"mdi:mdi-close-circle",hint:"Developer mode enables features that are still in development.",label:"Developer mode","persistent-hint":"","true-icon":"mdi:mdi-checkbox-marked-circle",modelValue:s(l).state.devMode,"onUpdate:modelValue":i[1]||(i[1]=a=>s(l).state.devMode=a)},{label:t(({label:a})=>[T("div",z,n(a),1)]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{flat:"",subtitle:"Simulators"},{default:t(()=>[e(d,null,{default:t(()=>[e(N,{items:f.value,chips:"","item-value":"id",label:"Visible simulators",multiple:"",modelValue:s(l).state.simulatorVisible,"onUpdate:modelValue":i[2]||(i[2]=a=>s(l).state.simulatorVisible=a),variant:"outlined"},{chip:t(({item:a})=>[e(B,{"prepend-icon":a.value+":logo",color:"grey",label:"",variant:"outlined"},{default:t(()=>[c(n(a.title),1)]),_:2},1032,["prepend-icon"])]),_:1},8,["items","modelValue"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(_)],64))}});export{O as default};
