1import{j as a}from"./app-CYNscnFw.js";import{r as l}from"./index-REljOqL0.js";import{A as r}from"./AdminLayout-C-LvtZfW.js";import"./index-DB8x9uVZ.js";import"./music-2-bjHzdRfv.js";const s=({replay:r})=>r?a.jsx("div",{className:"mt-12 mb-8 flex flex-col gap-6 w-full",children:a.jsxs(l.Card,{className:"p-6 shadow-lg",children:[a.jsxs("div",{className:"flex items-center justify-between border-b pb-4 mb-6",children:[a.jsx(l.Typography,{variant:"h5",color:"blue-gray",children:"Detail Replay Siaran"}),a.jsx(l.Button,{variant:"outlined",style:{backgroundColor:"#F9ED0D",color:"#222",fontWeight:"bold"},onClick:()=>window.location.href="/dashboard/replay",children:"â Kembali"})]}),a.jsxs(l.CardBody,{children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsx(l.Typography,{variant:"small",color:"blue-gray",className:"font-bold mb-1",children:"ID Replay"}),a.jsx(l.Typography,{className:"text-sm text-gray-700",children:r.id_replay})]}),a.jsxs("div",{children:[a.jsx(l.Typography,{variant:"small",color:"blue-gray",className:"font-bold mb-1",children:"Judul"}),a.jsx(l.Typography,{className:"text-sm text-gray-700",children:r.judul})]}),a.jsxs("div",{children:[a.jsx(l.Typography,{variant:"small",color:"blue-gray",className:"font-bold mb-1",children:"Tanggal"}),a.jsx(l.Typography,{className:"text-sm text-gray-700",children:r.tanggal})]}),a.jsxs("div",{children:[a.jsx(l.Typography,{variant:"small",color:"blue-gray",className:"font-bold mb-1",children:"Program"}),a.jsx(l.Typography,{className:"text-sm text-gray-700",children:r.program?r.program.nama_program:"-"})]})]}),a.jsxs("div",{className:"mt-8",children:[a.jsx(l.Typography,{variant:"small",color:"blue-gray",className:"font-bold mb-3",children:"Audio Replay"}),r.audio?a.jsxs("audio",{controls:!0,className:"w-full",children:[a.jsx("source",{src:r.audio}),"Your browser does not support the audio element."]}):a.jsx(l.Typography,{className:"text-sm text-gray-700",children:"Tidak ada file audio"})]})]})]})}):a.jsx("div",{className:"p-8",children:a.jsx("div",{className:"text-center text-gray-500",children:"Data replay siaran tidak ditemukan."})});s.layout=l=>a.jsx(r,{menu:"replay/detail",children:l});export{s as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.