PageSourceSearch

https://licadult-yi7u8hmt.manus.space/assets/LicensingCenter-DYUgjWvF.js

js licadult-yi7u8hmt.manus.space collected 2026-10-03 05:03:20 UTC 8,709 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-data-BPJuoJcs.js";import{r as i}from"./vendor-react-CU7rr1tN.js";import{t as o}from"./index-CHz8h08U.js";import{B as h}from"./button-CnD1Sg_H.js";import{I as u}from"./input-BgHAdU2r.js";import{h as b,i as f,s as C,f as j,q as g}from"./vendor-icons-Lj8ZKsqD.js";const x={approved:"text-emerald-300 bg-emerald-300/10",pending:"text-amber-200 bg-amber-300/10",submitted:"text-sky-200 bg-sky-300/10",drafted:"text-white/55 bg-white/[0.06]",action_required:"text-[#ff9b8a] bg-[#f06c5b]/10",rejected:"text-red-200 bg-red-300/10",expired:"text-red-200 bg-red-300/10"};function A(){const s=o.moderation.queue.useQuery(void 0,{retry:!1}),[n,c]=i.useState(""),[r,p]=i.useState("provider"),[l,m]=i.useState("drafted"),d=o.moderation.upsertLicense.useMutation({onSuccess:()=>{c(""),s.refetch()}});return s.error?e.jsx(L,{"data-loc":"client/src/pages/LicensingCenter.tsx:15"}):e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"min-h-screen bg-[#0b0a0c] text-white",children:[e.jsx("header",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"border-b border-white/[0.08]",children:e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"container flex h-[76px] items-center justify-between",children:[e.jsxs("a",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",href:"/admin/moderation",className:"flex items-center gap-2 text-sm text-white/60 hover:text-white",children:[e.jsx(b,{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"h-4 w-4"})," CEO control room"]}),e.jsxs("span",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"font-display font-semibold",children:["Licensing center",e.jsx("span",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"text-[#f06c5b]",children:"."})]})]})}),e.jsxs("main",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"container py-12",children:[e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"flex flex-col justify-between gap-5 lg:flex-row lg:items-end",children:[e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",children:[e.jsx("p",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"text-[11px] font-bold uppercase tracking-[0.2em] text-[#f06c5b]",children:"Founder-controlled compliance"}),e.jsx("h1",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"font-display mt-3 text-5xl font-semibold tracking-[-0.055em]",children:"Know what is approved."}),e.jsx("p",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"mt-4 max-w-2xl text-sm leading-6 text-white/45",children:"Track content rights, provider agreements, performer records, verification, payments, streaming, and device integrations. A record 
1is not a license until the issuing party approves it."})]}),e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"rounded-[16px] border border-white/10 bg-white/[0.03] px-4 py-3 text-xs text-white/45",children:[e.jsx("span",{"data-loc":"client/src/pages/LicensingCenter.tsx:16",className:"font-semibold text-white/75",children:"Christopher Foster"}),e.jsx("br",{"data-loc":"client/src/pages/LicensingCenter.tsx:16"}),"Founder & owner approval required"]})]}),e.jsxs("section",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"mt-10 grid gap-4 lg:grid-cols-[.75fr_1.25fr]",children:[e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"rounded-[22px] border border-white/10 bg-[#171217] p-6",children:[e.jsx("h2",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"text-lg font-semibold",children:"Add a tracked requirement"}),e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"mt-5 space-y-3",children:[e.jsx(u,{"data-loc":"client/src/pages/LicensingCenter.tsx:17",value:n,onChange:t=>c(t.target.value),placeholder:"Provider or requirement",className:"h-11 border-white/10 bg-white/[0.04] text-white"}),e.jsx("select",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",value:r,onChange:t=>p(t.target.value),className:"h-11 w-full rounded-xl border border-white/10 bg-[#1a151b] px-3 text-sm text-white/70",children:["content","provider","performer","age_verification","privacy","terms","payment","streaming","device"].map(t=>e.jsx("option",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",value:t,children:t.replaceAll("_"," ")},t))}),e.jsx("select",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",value:l,onChange:t=>m(t.target.value),className:"h-11 w-full rounded-xl border border-white/10 bg-[#1a151b] px-3 text-sm text-white/70",children:["drafted","submitted","pending","approved","rejected","expired","action_required"].map(t=>e.jsx("option",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",value:t,children:t.replaceAll("_"," ")},t))}),e.jsx(h,{"data-loc":"client/src/pages/LicensingCenter.tsx:17",onClick:()=>n.trim()&&d.mutate({provider:n,category:r,status:l}),disabled:!n.trim()||d.isPending,className:"h-11 w-full rounded-full bg-[#f06c5b] font-bold text-[#160b0b]",children:"Track requirement"})]})]}),e.jsx("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",children:e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"grid gap-3 sm:grid-cols-2",children:[(s.data?.licenses??[]).map(t=>e.jsxs("article",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"rounded-[18px] border border-white/[0.08] bg-white/[0.03] p-5",children:[e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"flex items-start justify-between gap-3",children:[e.jsx(f,{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"h-5 w-5 text-[#f06c5b]"}),e.jsx("span",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:`rounded-full px-2.5 py-1 text-[9px] font-bold uppercase tracking-[0.12em] ${x[t.status]??x.drafted}`,children:t.status.replaceAll("_"," ")})]}),e.jsx("h3",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"mt-5 font-semibold text-white/90",children:t.provider}),e.jsx("p",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"mt-1 text-[10px] uppercase tracking-[0.14em] text-white/35",children:t.category.replaceAll("_"," ")}),t.notes&&e.jsx("p",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"mt-3 text-xs leading-5 text-white/45",children:t.notes})]},t.id)),!s.isLoading&&(s.data?.licenses??[]).length===0&&e.jsx("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:17",className:"col-span-full rounded-[20px] border border-dashed border-white/10 p-10 text-center text-sm text-white/40",children:"No tracked license records yet."})]})})]}),e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:18",className:"mt-8 grid gap-3 sm:grid-cols-3",children:[e.jsx(a,{"data-loc":"client/src/pages/LicensingCenter.tsx:18",icon:C,title:"Ap
1proved",text:"Written grant received and recorded"}),e.jsx(a,{"data-loc":"client/src/pages/LicensingCenter.tsx:18",icon:j,title:"Pending",text:"Application submitted; access not activated"}),e.jsx(a,{"data-loc":"client/src/pages/LicensingCenter.tsx:18",icon:g,title:"Action required",text:"Founder decision, terms, payment, or documents needed"})]})]})]})}function a({icon:s,title:n,text:c}){return e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:22",className:"flex gap-3 rounded-[16px] border border-white/[0.08] bg-white/[0.025] p-4",children:[e.jsx(s,{"data-loc":"client/src/pages/LicensingCenter.tsx:22",className:"h-4 w-4 text-[#f06c5b]"}),e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:22",children:[e.jsx("p",{"data-loc":"client/src/pages/LicensingCenter.tsx:22",className:"text-xs font-semibold",children:n}),e.jsx("p",{"data-loc":"client/src/pages/LicensingCenter.tsx:22",className:"mt-1 text-[11px] text-white/40",children:c})]})]})}function L(){return e.jsx("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:23",className:"grid min-h-screen place-items-center bg-[#0b0a0c] p-6 text-center text-white",children:e.jsxs("div",{"data-loc":"client/src/pages/LicensingCenter.tsx:23",children:[e.jsx(g,{"data-loc":"client/src/pages/LicensingCenter.tsx:23",className:"mx-auto h-8 w-8 text-[#f06c5b]"}),e.jsx("h1",{"data-loc":"client/src/pages/LicensingCenter.tsx:23",className:"mt-4 font-display text-2xl font-semibold",children:"Founder access required"}),e.jsx("p",{"data-loc":"client/src/pages/LicensingCenter.tsx:23",className:"mt-2 text-sm text-white/45",children:"The licensing center is private."}),e.jsx("a",{"data-loc":"client/src/pages/LicensingCenter.tsx:23",href:"/",className:"mt-6 inline-flex text-sm font-semibold text-[#ff9b8a]",children:"Return home"})]})})}export{A 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.