import{R as t}from"./vendor-CWL149Ps.js";import{ag as s,a4 as e,a5 as a,a3 as i,bf as l,b2 as o,aW as r,a2 as c}from"./vendor-BXdGExd0.js";const n={class:"flex flex-col justify-center"},m={class:"text-sm text-white"},p={key:0,class:"text-xs text-[#999999] mt-1"},x={class:"flex items-center"},f=s({__name:"SettingItem",props:{title:{},subtitle:{default:""},showArrow:{type:Boolean,default:!0}},emits:["click"],setup(s,{emit:f}){const u=f,b=()=>{u("click")};return(f,u)=>(r(),e("div",{class:"h-[44px] flex items-center justify-between px-4 bg-[#1D1E22] cursor-pointer active:bg-[#292B32] transition-colors",onClick:b},[a("div",n,[a("span",m,l(s.title),1),s.subtitle?(r(),e("span",p,l(s.subtitle),1)):i("",!0)]),a("div",x,[o(f.$slots,"trailing",{},()=>[s.showArrow?(r(),c(t,{key:0})):i("",!0)])])]))}});export{f as _};
