1import{n as x,r as u,j as e,B as a,L as c,T as g,a2 as f,G as b,x as v,bz as w}from"./index-DyPIjhZ1.js";import{M as l}from"./message-circle-question-mark--JGrUe-7.js";import{T as j}from"./tv-BpInP5Wu.js";import{T as y,F as N}from"./trending-up-BXztqJyX.js";import{S as k}from"./star-CHa3B_rW.js";import{C}from"./copy-DewpQEJf.js";import{E as S}from"./external-link-BMmKdAoP.js";const M=[["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M12 21v-9",key:"17s77i"}],["path",{d:"M12 8V3",key:"13r4qs"}],["path",{d:"M17 16h4",key:"h1uq16"}],["path",{d:"M19 12V3",key:"o1uvq1"}],["path",{d:"M19 21v-5",key:"qua636"}],["path",{d:"M3 14h4",key:"bcjad9"}],["path",{d:"M5 10V3",key:"cb8scm"}],["path",{d:"M5 21v-7",key:"1w1uti"}]],d=x("sliders-vertical",M),A=[{path:"/tv",label:"Auto / Director (main)",description:"Primary browser-source URL. Follows director mode or auto-rotates through all scenes.",icon:j,tag:"Use this in OBS"},{path:"/tv/director",label:"Director control panel",description:"Switch between auto-rotate and director mode, pin scenes, set featured competition.",icon:d,tag:"Admin only"},{path:"/tv/wins",label:"Live Wins",description:"Real-time winners feed with £10+ big-win takeover animation.",icon:g},{path:"/tv/ending-soon",label:"Ending Soon",description:"Countdowns for competitions closest to sell-out.",icon:f},{path:"/tv/big-prizes",label:"Big Prizes",description:"Highest-value unclaimed instant wins still in circulation.",icon:b},{path:"/tv/just-added",label:"Just Added",description:"Newest competitions across Arcade and Classic.",icon:v},{path:"/tv/question",label:"Question of the Day",description:"Bright animated backdrop with a fun question prompting the chat to comment.",icon:l,tag:"Manage in Questions"},{path:"/tv/booster",label:"Sales Booster",description:"Full-screen takeover spotlighting a competition that needs more ticket sales â big CTA, live progress bar and impactful countdown. Automatically picks the best candidate.",icon:y,tag:"Auto-picked"},{path:"/tv/england",label:"Come On England!",description:"Match-day scene with live England World Cup score (or kick-off countdown), team badges, an animated St George's flag backdrop and a chat CTA.",icon:N,tag:"Live scores"},{path:"/tv/featured/:id",label:"Featured Competition",description:"Full-screen showcase for a single competition. Pin one from the Director panel.",icon:k}];function z(){const i=typeof window<"u"?window.location.origin:"",[m,n]=u.useState(null),h=async s=>{try{await navigator.clipboard.writeText(s),n(s),setTimeout(()=>n(t=>t===s?null:t),1500)}catch{}};return e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsxs("div",{className:"mb-6",children:[e.jsx("h1",{className:"text-arcade-title text-2xl",children:"A4G NOW â TV Pages"}),e.jsxs("p",{className:"mt-2 text-sm text-muted-foreground",children:["Full-screen 1920Ã1080 pages built for Streamlabs / OBS browser sources. All routes are excluded from search engines (",e.jsx("code",{children:"noindex, nofollow"}),") and skip the age gate. Add"," ",e.jsxs("span",{className:"font-mono text-foreground",children:[i,"/tv"]})," as a browser source for the main stream, then control what's on-air from the Director panel."]}),e.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:e.jsx(a,{asChild:!0,size:"sm",variant:"secondary",className:"gap-1.5",children:e.jsxs(c,{to:"/admin/tv-questions",children:[e.jsx(l,{className:"h-3.5 w-3.5"})," Manage Questions of the Day"]})})})]}),e.jsx("div",{className:"space-y-3",children:A.map(s=>{const t=`${i}${s.path}`,p=s.icon,o=s.path.includes(":"),r=m===t;return e.jsxs("div",{className:"rounded-xl border border-border bg-card p-4 shadow-sm",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary",children:e.jsx(p,{className:"h-5 w-5"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("h3",{className:"text-base font-bold",children:s.label}),s.tag&&e.jsx("span",{className:"rounded-full bg-primary/15 px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-primary",children:s.tag})]}),e.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:s.description}),e.jsx("div",{className:"mt-2 break-all rounded-md bg-muted/50 px-2 py-1.5 font-mono text-xs text-foreground
1/80",children:t})]})]}),e.jsxs("div",{className:"mt-3 flex flex-wrap gap-2",children:[e.jsxs(a,{size:"sm",variant:"outline",className:"gap-1.5",onClick:()=>h(t),disabled:o,title:o?"Dynamic route â pin a competition first":"Copy URL",children:[r?e.jsx(w,{className:"h-3.5 w-3.5"}):e.jsx(C,{className:"h-3.5 w-3.5"}),r?"Copied":"Copy URL"]}),o?e.jsx(a,{asChild:!0,size:"sm",variant:"secondary",className:"gap-1.5",children:e.jsxs(c,{to:"/tv/director",children:[e.jsx(d,{className:"h-3.5 w-3.5"})," Pin from Director"]})}):e.jsx(a,{asChild:!0,size:"sm",variant:"secondary",className:"gap-1.5",children:e.jsxs("a",{href:s.path,target:"_blank",rel:"noopener noreferrer",children:[e.jsx(S,{className:"h-3.5 w-3.5"})," Open in new tab"]})})]})]},s.path)})}),e.jsxs("div",{className:"mt-6 rounded-xl border border-dashed border-border bg-muted/20 p-4 text-xs text-muted-foreground",children:[e.jsx("p",{className:"font-semibold text-foreground",children:"Streamlabs / OBS setup"}),e.jsxs("ol",{className:"mt-2 list-decimal space-y-1 pl-4",children:[e.jsx("li",{children:"Add a new Browser Source."}),e.jsxs("li",{children:["Paste one of the URLs above (usually ",e.jsxs("span",{className:"font-mono",children:[i,"/tv"]}),")."]}),e.jsxs("li",{children:["Set Width to ",e.jsx("span",{className:"font-mono",children:"1920"})," and Height to ",e.jsx("span",{className:"font-mono",children:"1080"}),"."]}),e.jsx("li",{children:'Enable "Shutdown source when not visible" and "Refresh browser when scene becomes active".'}),e.jsx("li",{children:"Control what's on-air live from the Director panel."})]})]})]})}export{z 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.