PageSourceSearch

https://boombam.app/assets/admin-BNf666Yj.js

js boombam.app collected 2026-10-04 13:34:41 UTC 4,530 bytes, 1 lines download raw bytes

1import{u,j as e,C as o,b as d,c_ as c,d as m,o as g,bt as i,s as r,L as t,e as j,B as n,X as h,q as x,U as f,bJ as N,bh as v,Z as y}from"./index-CuSEeJFb.js";function w(){var l;const{subscription:s}=u();if(!s||s.plan!=="admin")return e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 dark:bg-gray-900",children:e.jsx(o,{className:"w-full max-w-md",children:e.jsxs(d,{className:"text-center",children:[e.jsx(c,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),e.jsx(m,{className:"text-red-600",children:"Access Denied"}),e.jsx(g,{children:"This page is only accessible to system administrators."})]})})});const b=[{title:"System Monitor",description:"Real-time system health and performance metrics",icon:x,href:"/admin/system-monitor",color:"text-green-600",bgColor:"bg-green-50 dark:bg-green-900/20"},{title:"User Management",description:"Manage all users and organizations across the platform",icon:f,href:"/admin/user-management",color:"text-blue-600",bgColor:"bg-blue-50 dark:bg-blue-900/20"},{title:"Platform Config",description:"Configure global platform settings and features",icon:N,href:"/admin/platform-config",color:"text-purple-600",bgColor:"bg-purple-50 dark:bg-purple-900/20"},{title:"Main Dashboard",description:"Comprehensive admin analytics and oversight dashboard",icon:h,href:"/admin/dashboard",color:"text-orange-600",bgColor:"bg-orange-50 dark:bg-orange-900/20"},{title:"Database Management",description:"Database administration and maintenance tools",icon:v,href:"/admin/database-management",color:"text-indigo-600",bgColor:"bg-indigo-50 dark:bg-indigo-900/20"},{title:"Admin Tools",description:"Testing utilities and development tools",icon:y,href:"/admin/tools",color:"text-yellow-600",bgColor:"bg-yellow-50 dark:bg-yellow-900/20"},{title:"Data Retention",description:"Manage data lifecycle policies and automated cleanup",icon:i,href:"/admin/data-retention",color:"text-red-600",bgColor:"bg-red-50 dark:bg-red-900/20"}];return e.jsx("div",{className:"min-h-screen bg-gray-50 dark:bg-gray-900",children:e.jsxs("div",{className:"container mx-auto px-4 py-8",children:[e.jsxs("div",{className:"mb-8",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(i,{className:"h-8 w-8 text-red-600 animate-pulse"}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl font-bold text-gray-900 dark:text-white",children:"System Administration"}),e.jsx("p",{className:"text-gray-600 dark:text-gray-400",children:"Global platform management and oversight"})]})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs(r,{variant:"destructive",className:"animate-pulse",children:[e.jsx(i,{className:"h-3 w-3 mr-1"}),"Super Admin Access"]}),e.jsxs(r,{variant:"outline",children:["Organization ID: ",s.organizationId]}),e.jsxs(r,{variant:"outline",children:["Credits: ",(l=s.creditsBalance)==null?void 0:l.toLocaleString()]})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:b.map(a=>{const p=a.icon;return e.jsx(t,{href:a.href,children:e.jsxs(o,{className:"hover:shadow-lg transition-all duration-200 cursor-pointer group border-2 hover:border-red-200 dark:hover:border-red-800",children:[e.jsx(d,{className:"pb-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("div",{className:`p-2 rounded-lg ${a.bgColor}`,children:e.jsx(p,{className:`h-6 w-6 ${a.color}`})}),e.jsx(r,{variant:"secondary",className:"text-xs",children:"Admin"})]})}),e.jsxs(j,{children:[e.jsx(m,{className:"text-lg mb-2 group-hover:text-red-600 transition-colors",children:a.title}),e.jsx(g,{className:"text-sm",children:a.description})]})]})},a.href)})}),e.jsxs("div",{className:"mt-12",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 dark:text-white mb-4",children:"Quick Actions"}),e.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.jsx(t,{href:"/error-monitoring",children:e.jsxs(n,{variant:"outline",className:"text-red-600 border-red-200 hover:bg-red-50",children:[e.jsx(c,{className:"h-4 w-4 mr-2"}),"Error Monitoring"]})}),e.jsx(t,{href:"/ai-usage-analytics",children:e.jsxs(n,{variant:"outline",className:"text-blue-600 border-blue-200 hover:bg-blue-50",children:[e.jsx(h,{className:"h-4 w-4 mr-2"}),"AI Usage Analytics"]})}),e.jsx(t,{href:"/platform-health",children:e.jsxs(n,{variant:"outline",className:"text-green-600 border-green-200 hover:bg-green-50",children:[e.jsx(x,{className:"h-4 w-4 mr-2"}),"Platform Health"]})})]})]})]})})}export{w 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.