PageSourceSearch

https://herpowerapp.com/assets/AdminVoiceNotes-CCTkuwyq.js

js herpowerapp.com collected 2026-10-09 22:04:09 UTC 1,593 bytes, 1 lines download raw bytes

1import{b as n,u as o,K as m,r as c,f as d,j as e,a2 as l,B as t,A as x}from"./index-DO0ZNUzu.js";import{A as u}from"./AdminCommunityVoiceNotes-CZa7sDdo.js";import{H as p}from"./house-CUUNLlcb.js";import"./textarea-CcV1k9Cd.js";import"./select-Tn3h6yZZ.js";import"./check-Cyw8qn0D.js";import"./table-CnjIDQIw.js";import"./square-BBuUZiRV.js";import"./loader-circle-CZ_geqae.js";import"./upload-5tqj8CNI.js";import"./trash-2-VtFXnL4x.js";const w=()=>{const s=n(),{user:a}=o(),{isAdmin:r,loading:i}=m();return c.useEffect(()=>{!i&&!r&&(s("/admin/dashboard"),d.error("Access denied. Admin privileges required."))},[r,i,s]),i||!a?e.jsx("div",{className:"min-h-screen flex items-center justify-center",children:e.jsx(l,{})}):e.jsx("div",{className:"min-h-screen bg-gradient-to-br from-background via-background to-primary/5",children:e.jsxs("div",{className:"container mx-auto px-4 py-8",children:[e.jsxs("div",{className:"flex items-center justify-between mb-8",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(t,{variant:"outline",size:"icon",onClick:()=>s("/admin/dashboard"),children:e.jsx(x,{className:"h-4 w-4"})}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl font-bold bg-gradient-to-r from-primary to-primary/60 bg-clip-text text-transparent",children:"Community Voice Notes"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Create and manage voice notes for the community"})]})]}),e.jsx(t,{variant:"outline",size:"icon",onClick:()=>s("/admin/dashboard"),children:e.jsx(p,{className:"h-4 w-4"})})]}),e.jsx(u,{})]})})};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.