1import{e as m,r as i,j as e,a}from"./index-lN6KuZcC.js";import{C as r}from"./CharactersGrid-DKWThbCm.js";import{T as o}from"./Tab-OgaAq7WP.js";import"./CharacterCard-N9VaH9C0.js";import"./characterTags-b1cUkVST.js";import"./CreatorInfo-DBl-C3sC.js";import"./CharacterPhotoAlbumPreview-DYv2CGWI.js";import"./CharacterPhoto-0U9qaltx.js";import"./CustomToast-Cn1xChzD.js";import"./chevron-right-Dp-srL8x.js";import"./CharacterActionButton-DFbYmixe.js";import"./useConfirmationDialog-QY-FgYBI.js";import"./Tooltip-lktENYwi.js";import"./useFetchMoreOnBottomReached-vCGwuSso.js";try{let n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="79c11acd-14e2-4dd0-ad0e-7a42443d85c8",n._sentryDebugIdIdentifier="sentry-dbid-79c11acd-14e2-4dd0-ad0e-7a42443d85c8")}catch{}const M=()=>{const{mainRef:n}=m(),[t,s]=i.useState("pending_approval"),[l,d]=i.useState(0),[p,c]=i.useState(0),[u,f]=i.useState(0);return e.jsxs("div",{className:"flex min-h-full w-full flex-col",children:[e.jsx("h1",{className:"p-5 text-center text-3xl font-semibold text-white",children:"Characters Moderation"}),e.jsx("div",{className:"flex w-full justify-center",children:e.jsxs("div",{className:"my-8 grid grid-cols-1 gap-2 lg:grid-cols-3",children:[e.jsx(o,{title:"Pending Approval",count:l,isSelected:t==="pending_approval",onClick:()=>s("pending_approval")}),e.jsx(o,{title:"Unlisted",count:p,isSelected:t==="link_only",onClick:()=>s("link_only")}),e.jsx(o,{title:"Private",count:u,isSelected:t==="private",onClick:()=>s("private")})]})}),e.jsx("div",{className:a({block:t==="pending_approval",hidden:t!=="pending_approval"}),children:e.jsx(r,{filter:{statusesIn:["under_review"],include_nsfw:!0},emptyMessage:"No characters are currently pending approval.",reviewModeEnabled:!0,onTotalCountChange:d,parentRef:n})}),e.jsx("div",{className:a({block:t==="link_only",hidden:t!=="link_only"}),children:e.jsx(r,{filter:{visibility:"link_only",statusesIn:["approved"],include_nsfw:!0},emptyMessage:"No unlisted characters found.",reviewModeEnabled:!0,onTotalCountChange:c,parentRef:n})}),e.jsx("div",{className:a({block:t==="private",hidden:t!=="private"}),children:e.jsx(r,{filter:{visibility:"private",statusesIn:["approved"],include_nsfw:!0},emptyMessage:"No private characters found.",reviewModeEnabled:!0,onTotalCountChange:f,parentRef:n})})]})};export{M as default}; 2//# sourceMappingURL=CharactersModeration-BiXYceew.js.map
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.