import{Kt as e,Q as t,Qt as n,R as r,X as i,Y as a,at as o,fr as s,lr as c,nn as l,or as u,r as d,st as f}from"./dist-CoD0k1Bd.js";import{n as p}from"./useAppearance-DS2tkt-f.js";import{t as m}from"./createLucideIcon-D0h14Jw-.js";import{t as h}from"./Heading-CCd5Tysh.js";import{t as g}from"./appearance-B6s7A8vg.js";var _=m(`monitor`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]),v=m(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),y=m(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),b={class:`inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800`},x=[`onClick`],S={class:`ml-1.5 text-sm`},C=f({__name:`AppearanceTabs`,setup(o){let{appearance:d,updateAppearance:f}=p(),m=[{value:`light`,Icon:y,label:`Light`},{value:`dark`,Icon:v,label:`Dark`},{value:`system`,Icon:_,label:`System`}];return(o,p)=>(e(),t(`div`,b,[(e(),t(r,null,n(m,({value:t,Icon:n,label:r})=>a(`button`,{key:t,onClick:e=>u(f)(t),class:c([`flex items-center rounded-md px-3.5 py-1.5 transition-colors`,u(d)===t?`bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100`:`text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60`])},[(e(),i(l(n),{class:`-ml-1 h-4 w-4`})),a(`span`,S,s(r),1)],10,x)),64))]))}}),w={class:`space-y-6`},T=f({layout:{breadcrumbs:[{title:`Pengaturan Tampilan`,href:g()}]},__name:`Appearance`,setup(n){return(n,i)=>(e(),t(r,null,[o(u(d),{title:`Pengaturan Tampilan`}),i[0]||=a(`h1`,{class:`sr-only`},`Pengaturan Tampilan`,-1),a(`div`,w,[o(h,{variant:`small`,title:`Pengaturan Tampilan`,description:`Sesuaikan tampilan aplikasi sesuai preferensi anda`}),o(C)])],64))}});export{T as default};