1import{a as i,s as l,j as e,G as r,x as n}from"./index-DyPIjhZ1.js";import{T as c,S as o,f as d}from"./TvFrame-aiADM1Yd.js";import{T as x,a as m}from"./TvCarousel-B6C8MQGn.js";import"./Media-B0qP1f1y.js";function g(){const{data:t}=i({queryKey:["tv-big-prizes"],queryFn:async()=>{const{data:s,error:a}=await l.rpc("stream_big_prizes_unclaimed",{_limit:16,_min_value_pennies:1e3});if(a)throw a;return s??[]},refetchInterval:2e4,staleTime:5e3});return e.jsx(c,{title:"Big Prizes Still In Circulation",children:e.jsxs("div",{className:"flex h-full flex-col gap-6",children:[e.jsxs("div",{className:"shrink-0 text-center",children:[e.jsx("h1",{className:"text-7xl font-black uppercase leading-none tracking-[0.08em] text-white drop-shadow-[0_6px_24px_rgba(255,58,150,0.6)]",style:{fontFamily:"'Bebas Neue', 'Barlow', sans-serif",letterSpacing:"0.08em"},children:"Prizes Still Up For Grabs"}),e.jsx("div",{className:"mx-auto mt-3 h-1 w-64 rounded-full bg-gradient-to-r from-transparent via-[#ff3a96] to-transparent"})]}),e.jsx("div",{className:"min-h-0 flex-1",children:!t||t.length===0?e.jsx("div",{className:"flex h-full items-center justify-center text-4xl font-bold text-white/50",children:"All top prizes have been won ð"}):e.jsx(x,{items:t,getKey:s=>s.id,cardWidth:440,renderItem:s=>e.jsx(h,{p:s})})})]})})}function h({p:t}){return e.jsxs("div",{className:"flex h-[640px] flex-col overflow-hidden rounded-3xl border border-white/10 bg-white/5 backdrop-blur",children:[e.jsxs("div",{className:"relative shrink-0",children:[t.prize_image_url?e.jsx(m,{src:t.prize_image_url,alt:t.prize_label,aspect:"aspect-[4/3]"}):e.jsx("div",{className:"flex aspect-[4/3] items-center justify-center bg-black/40",children:e.jsx(r,{className:"h-24 w-24 text-white/30"})}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-1/3 bg-gradient-to-t from-black/80 to-transparent"}),e.jsx("div",{className:"absolute left-3 top-3",children:e.jsx(o,{section:t.site_section})}),t.is_chest&&e.jsxs("div",{className:"absolute right-3 top-3 flex items-center gap-1 rounded-full bg-amber-400 px-3 py-1 text-xs font-black uppercase tracking-widest text-black shadow-lg",children:[e.jsx(n,{className:"h-3 w-3"})," Chest"]})]}),e.jsxs("div",{className:"flex flex-1 flex-col justify-between gap-3 p-5",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-4xl font-black leading-none text-yellow-300 drop-shadow",children:d(t.value_pennies)}),e.jsx("div",{className:"mt-2 line-clamp-2 text-lg font-bold text-white/90",children:t.prize_label})]}),e.jsxs("div",{className:"rounded-xl border-4 border-[#ff3a96] bg-black/85 px-4 py-3 shadow-[0_0_28px_rgba(255,58,150,0.6)]",children:[e.jsx("div",{className:"text-sm font-black uppercase tracking-[0.2em] text-[#ff3a96]",children:"Giveaway"}),e.jsx("div",{className:"mt-1 line-clamp-3 text-2xl font-black uppercase leading-[1.05] tracking-wide text-white",children:t.competition_title})]})]})]})}export{g as component};
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.