PageSourceSearch

https://allforgiveaways.com/assets/_classic-ComgO_RJ.js

js allforgiveaways.com collected 2026-10-08 00:08:32 UTC 2,759 bytes, 1 lines download raw bytes

1import{e as r,E as m,a as o,j as e,d as x,F as u,f as h,O as f,x as g,L as p,A as b}from"./index-DyPIjhZ1.js";const w=["New giveaways added every week — check back often!","Winners announced live — follow our ticker for instant updates!","Join the A4G community and start winning today!"];function y(){const c=r(m),{data:s}=o({queryKey:["classic-announcements"],queryFn:()=>c(),staleTime:6e4}),n=s&&s.messages.length>0?s.messages:w,a=[...n,...n];return e.jsxs("div",{className:"relative overflow-hidden",style:{background:"linear-gradient(90deg, #ff6a00 0%, #ff8a00 25%, #ffb347 50%, #ff8a00 75%, #ff6a00 100%)",backgroundSize:"200% 100%",animation:"ticker-gradient-shift 8s ease-in-out infinite"},children:[e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-[1px] bg-white/20"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-[1px] bg-black/10"}),e.jsx("div",{className:"flex items-center",children:e.jsx("div",{className:"relative flex-1 overflow-hidden py-2",children:e.jsx("ul",{className:"flex w-max items-center gap-10 whitespace-nowrap",style:{animation:"ticker-scroll 30s linear infinite"},children:a.map((t,i)=>e.jsxs("li",{className:"flex shrink-0 items-center gap-2",children:[e.jsx("span",{className:"inline-block h-1.5 w-1.5 shrink-0 rotate-45 rounded-sm bg-white/80",style:{boxShadow:"0 0 6px rgba(255,255,255,0.6)"}}),e.jsx("span",{className:"text-xs font-semibold text-white drop-shadow-sm",children:t})]},`${t}-${i}`))})})})]})}function v(){const{isAdmin:c,loading:s}=x(),n=r(u),a=o({queryKey:["classic-site-enabled"],queryFn:()=>n(),staleTime:6e4}),t=r(h),i=o({queryKey:["maintenance-access"],queryFn:()=>t(),staleTime:6e4});if(s||a.isLoading||i.isLoading)return e.jsx("div",{className:"min-h-screen bg-background"});const l=a.data?.enabled===!0,d=i.data?.allowed===!0;return!l&&!c&&!d?e.jsx(j,{}):e.jsxs("div",{"data-brand":"a4g",className:"min-h-screen bg-background text-foreground",children:[e.jsx(y,{}),e.jsx("div",{className:"px-4",children:e.jsx(f,{})})]})}function j(){return e.jsxs("div",{className:"mx-auto flex min-h-screen max-w-xl flex-col items-center justify-center px-4 text-center",children:[e.jsx(g,{className:"mb-4 h-10 w-10 text-primary"}),e.jsx("h1",{className:"text-arcade-title text-3xl",children:"Something new is coming"}),e.jsx("p",{className:"mt-3 text-muted-foreground",children:"We're building a simplified giveaways experience right here. In the meantime, head back to the Arcade and play."}),e.jsxs(p,{to:"/arcade",className:"mt-6 inline-flex items-center gap-2 rounded-full bg-gradient-arcade px-5 py-2.5 text-sm font-bold text-primary-foreground shadow-neon-pink",children:[e.jsx(b,{className:"h-4 w-4"})," Back to the Arcade"]})]})}export{v 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.