module.exports=[34042,a=>{"use strict";let b=(0,a.i(77022).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);a.s(["ChevronLeft",()=>b],34042)},12700,a=>{"use strict";var b=a.i(73356),c=a.i(44770),d=a.i(71835),e=a.i(1244),f=a.i(34042);function g(){let a=(0,d.useParams)().slug,[g,h]=(0,c.useState)(null),[i,j]=(0,c.useState)(!0);return((0,c.useEffect)(()=>{fetch(`https://api.hadith.gading.dev/books/${a}?range=1-50`).then(a=>a.json()).then(a=>{h(a.data),j(!1),window.scrollTo(0,0)}).catch(()=>j(!1))},[a]),i)?(0,b.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-white dark:bg-[#0b0f1a]",children:(0,b.jsx)("div",{className:"w-12 h-12 border-4 border-purple-500/20 border-t-purple-500 rounded-full animate-spin"})}):g?(0,b.jsx)("main",{className:"min-h-screen bg-white dark:bg-[#0b0f1a] pb-32 font-sans transition-colors duration-300",children:(0,b.jsxs)("div",{className:"mx-auto max-w-5xl px-6 pt-10",children:[(0,b.jsx)("div",{className:"flex items-center mb-8",children:(0,b.jsxs)(e.default,{href:"/hadist",className:"group flex items-center gap-2 text-slate-500 hover:text-purple-500 dark:text-slate-400 dark:hover:text-purple-400 transition-all font-bold text-sm",children:[(0,b.jsx)("div",{className:"w-8 h-8 rounded-full bg-slate-100 dark:bg-slate-800 flex items-center justify-center group-hover:scale-110 transition-transform shadow-sm",children:(0,b.jsx)(f.ChevronLeft,{size:18})}),(0,b.jsx)("span",{children:"Kembali ke Koleksi"})]})}),(0,b.jsxs)("header",{className:"relative mb-16 p-10 md:p-16 rounded-[3rem] text-center overflow-hidden shadow-2xl bg-gradient-to-br from-purple-600 to-indigo-900 group",children:[(0,b.jsx)("div",{className:"absolute inset-0 bg-[url('https://www.transparenttextures.com/patterns/islamic-art.png')] opacity-20"}),(0,b.jsx)("div",{className:"absolute inset-0 bg-black/20 backdrop-blur-[1px]"}),(0,b.jsxs)("div",{className:"relative z-10 flex flex-col items-center",children:[(0,b.jsx)("p",{className:"text-purple-200 font-black text-[10px] uppercase tracking-[0.5em] mb-4",children:"HamzQuran Hadist Kit"}),(0,b.jsx)("h1",{className:"text-4xl md:text-6xl font-black text-white mb-4 tracking-tighter uppercase drop-shadow-lg",children:g.name}),(0,b.jsx)("div",{className:"px-6 py-2 rounded-full bg-white/10 backdrop-blur-md border border-white/20 shadow-xl",children:(0,b.jsxs)("p",{className:"text-sm font-bold text-purple-100 uppercase tracking-widest",children:["Total ",g.available," Hadits"]})})]})]}),(0,b.jsx)("div",{className:"space-y-8",children:g.hadiths.map(a=>(0,b.jsxs)("div",{className:"p-8 md:p-12 rounded-[2.5rem] bg-white dark:bg-[#111827]/40 border border-gray-100 dark:border-white/5 transition-all hover:border-purple-500/30 shadow-sm hover:shadow-xl group",children:[(0,b.jsxs)("div",{className:"flex items-center gap-4 mb-10",children:[(0,b.jsx)("div",{className:"w-10 h-10 rounded-xl bg-purple-500/10 dark:bg-purple-500/20 flex items-center justify-center text-purple-600 dark:text-purple-400 font-black text-xs shadow-inner",children:a.number}),(0,b.jsx)("div",{className:"h-px flex-1 bg-gradient-to-r from-purple-500/20 to-transparent"})]}),(0,b.jsx)("p",{className:"text-right text-3xl md:text-4xl leading-[4.5rem] md:leading-[6.5rem] text-gray-900 dark:text-white font-arabic antialiased mb-10",dir:"rtl",children:a.arab}),(0,b.jsx)("div",{className:"space-y-4 border-t border-gray-100 dark:border-white/5 pt-8",children:(0,b.jsx)("p",{className:"text-gray-600 dark:text-gray-300 text-base md:text-lg leading-relaxed font-medium",children:a.id})})]},a.number))})]})}):(0,b.jsx)("div",{className:"p-20 text-center dark:text-white",children:"Gagal memuat hadits."})}a.s(["default",()=>g])}];

//# sourceMappingURL=my-quran-app_55c410c3._.js.map