import{C as e,D as t,E as n,H as r,S as i,a,b as o,nt as s,o as c,x as l,yt as u}from"./app-r2SMcdpu.js";import{A as d}from"./lucide-vue-next-CyNvTAdo.js";var f={key:0,class:`relative overflow-hidden bg-gradient-to-r from-amber-500 via-orange-500 to-amber-500 text-white select-none`},p={class:`relative flex items-center justify-center gap-3 px-4 py-2.5 text-xs sm:text-sm font-semibold text-center`},m=t({__name:`DemoModeBanner`,setup(t){let m=a().props.is_demo_mode;return(t,a)=>(r(),l(c,{"enter-active-class":`transition ease-out duration-300`,"enter-from-class":`opacity-0 -translate-y-2`,"enter-to-class":`opacity-100 translate-y-0`},{default:s(()=>[u(m)?(r(),e(`div`,f,[a[1]||=o(`div`,{class:`absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent animate-pulse`},null,-1),o(`div`,p,[n(u(d),{class:`h-4 w-4 shrink-0 animate-pulse text-white`}),a[0]||=o(`span`,null,[o(`span`,{class:`font-extrabold uppercase tracking-wide`},`Mode Demo Aktif`),o(`span`,{class:`hidden sm:inline`},` — Semua operasi tambah, ubah, dan hapus data dinonaktifkan. Anda hanya dapat melihat data dan laporan.`),o(`span`,{class:`sm:hidden`},` — Hanya dapat melihat data.`)],-1)])])):i(``,!0)]),_:1}))}});export{m as t};