PageSourceSearch

https://theroom44channel.com/_next/static/chunks/StreamingCard-Cj-tZheK.js

js theroom44channel.com collected 2026-10-02 14:24:49 UTC 2,214 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-hePW80VL.js";import{i as t,r as n}from"./framework-2k-VFE-j.js";import{t as r}from"./dayjs.min-BwWoeqYR.js";var i=e(t(),1),a=e(r(),1),o=n(),s=({article:e,isLarge:t=!0,darkMode:n=!1})=>{let r=(0,i.useMemo)(()=>e?.date?(0,a.default)(e.date).format(`YYYY MMM DD :: HH:mm`):(0,a.default)().format(`YYYY MMM DD :: HH:mm`),[e?.date]);return(0,o.jsxs)(`article`,{className:`group cursor-pointer ${t?`mb-8`:`mb-6`}`,children:[(0,o.jsxs)(`h3`,{className:`text-lg font-bold mb-4 flex items-center ${n?`text-white`:`text-gray-900`}`,children:[(0,o.jsx)(`span`,{className:`w-2 h-2 bg-red-600 rounded-full mr-2 animate-pulse`}),`Live`]}),(0,o.jsxs)(`div`,{className:`w-full`,children:[(0,o.jsx)(`div`,{className:`flex justify-center w-full`,children:(0,o.jsx)(`div`,{className:`w-full aspect-video bg-black rounded-lg overflow-hidden`,children:e?.stream_code&&e.status===`active`?(0,o.jsx)(`iframe`,{src:`https://customer-5q78guz1fiptgbkx.cloudflarestream.com/${e.url}/iframe?preload=true`,allow:`accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;`,className:`w-full h-full rounded-lg`,allowFullScreen:!0,sandbox:`allow-same-origin allow-scripts allow-presentation`,referrerPolicy:`strict-origin-when-cross-origin`,loading:`eager`,title:`Live stream: ${e.title||`วิดีโอไลฟ์สด`}`}):(0,o.jsx)(`div`,{className:`w-full h-full rounded-lg bg-gray-800 flex items-center justify-center`,children:(0,o.jsx)(`img`,{src:`/images/cover.jpg`,alt:`ไม่มีสตรีมในขณะนี้`,className:`w-full h-full object-cover`})})})}),(0,o.jsxs)(`div`,{className:`pt-4 mt-3`,children:[(0,o.jsxs)(`div`,{className:`flex items-center space-x-2 mb-2`,children:[(0,o.jsx)(`span`,{className:`text-red-600 text-xs font-semibold uppercase tracking-wide`,children:e?.title??`วิดีโอไลฟ์สด`}),(0,o.jsx)(`span`,{className:`text-xs ${n?`text-gray-400`:`text-gray-500`}`,children:r})]}),(0,o.jsx)(`p`,{className:`${n?`text-gray-300`:`text-gray-600`} ${t?`text-base`:`text-sm`}`,children:e?.description??`ไม่มีเนื้อหาที่กำลังไลฟ์ในขณะนี้`})]})]})]})};export{s as t};

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.