PageSourceSearch

https://production.assets.hyperpad.com/assets/AdminReviewsIndex-XBDOHSGE.js

js hyperpad.com collected 2026-09-24 19:51:29 UTC 2,069 bytes, 2 lines download raw bytes

1import{c as h}from"/assets/chunk-7L5LGEZY.js";import{a as p}from"/assets/chunk-7AE2KGNK.js";import{a as c,b as w}from"/assets/chunk-NESVKY2P.js";import"/assets/chunk-EWY47VPN.js";import"/assets/chunk-T5UAOGWK.js";import{a as d,b as u}from"/assets/chunk-7WSJ55YL.js";import"/assets/chunk-NDJXAGYJ.js";import"/assets/chunk-HLAJWP6G.js";import"/assets/chunk-GW5C5P7G.js";import{b as s}from"/assets/chunk-YTQUU6A2.js";import{k as n,m,u as l}from"/assets/chunk-YGNFM6WR.js";import"/assets/chunk-RQKCK5XP.js";import"/assets/chunk-2GSQMO5K.js";import"/assets/chunk-HRMUJI4G.js";import"/assets/chunk-P6RAE5QN.js";import"/assets/chunk-DZLEZB65.js";import"/assets/chunk-G3HLGEGV.js";import"/assets/chunk-K7GVSPCM.js";import"/assets/chunk-4Z4DMVOV.js";import{a as o}from"/assets/chunk-J3IT7JTE.js";import{c as a}from"/assets/chunk-3P2IUJ3S.js";var r=a(o()),v=({rating:e})=>(0,r.jsx)("div",{className:"inline-flex items-center gap-0.5 text-amber-500",children:Array.from({length:5},(t,i)=>(0,r.jsx)(m,{className:`h-3.5 w-3.5 ${i<e?"fill-current":"opacity-30"}`},i))}),g=[{header:"Quote",cell:e=>(0,r.jsx)("a",{href:`/admin/reviews/${e.id}/edit`,className:"text-sm text-hyperpad-green hover:underline",children:h(e.quote,80)})},{header:"Author",cell:e=>e.author_name??"\u2014"},{header:"Role",cell:e=>e.author_role??"\u2014"},{header:"Rating",cell:e=>(0,r.jsx)(v,{rating:e.rating})},{header:"Position",cell:e=>e.position},{header:"Featured",cell:e=>e.featured?(0,r.jsx)(p,{variant:"warning",children:"Featured"}):"\u2014"}],R=({reviews:e,pagination:t})=>{let{destroy:i}=s("/admin/reviews");return(0,r.jsxs)(d,{children:[(0,r.jsx)(u,{title:"Reviews",description:"Customer testimonials shown on the marketing site.",actions:(0,r.jsx)(l,{asChild:!0,children:(0,r.jsxs)("a",{href:"/admin/reviews/new",children:[(0,r.jsx)(n,{className:"h-4 w-4"})," New Review"]})})}),(0,r.jsx)(w,{rows:e,columns:g,basePath:"/admin/reviews",resourceName:"review",onDelete:async f=>{await i(f),window.location.reload()}}),(0,r.jsx)(c,{pagination:t,resourceLabel:"reviews"})]})},_=R;export{_ as default};
2

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.