PageSourceSearch

https://delphigrc.org/assets/Reports-CRW_8H-9.js

js delphigrc.org collected 2026-09-25 20:48:15 UTC 5,455 bytes, 1 lines download raw bytes

1import{r as e,j as s,L as t}from"./vendor-react-BH6F5oQJ.js";import{u as a,a as r,H as l,h as i,f as n,b as d,d as o,g as c,I as m,A as p,i as x}from"./index-C_oSc_qP.js";import"./vendor-ui-B4WC06Sp.js";import"./vendor-icons-CaI5__By.js";import"./vendor-query-CC4VRGyP.js";import"./vendor-supabase-COwyE4EW.js";const h="https://delphigrc.org",u=()=>{const{articles:u,loading:g}=a({mode:"light"}),[j,f]=e.useState("All"),y=e.useMemo(()=>u.filter(e=>"published"===e.status&&"report"===e.publication_type),[u]),b=e.useMemo(()=>"All"===j?y:y.filter(e=>{var s;return r(null==(s=e.template_settings)?void 0:s.category,j)}),[y,j]),v=e.useMemo(()=>({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:h},{"@type":"ListItem",position:2,name:"Reports",item:`${h}/reports`}]}),[]),N=e.useMemo(()=>({"@context":"https://schema.org","@type":"ItemList",name:"Delphi Global Reports",itemListElement:b.slice(0,10).map((e,s)=>({"@type":"ListItem",position:s+1,url:`${h}/research/${e.slug||e.id}`,name:e.title}))}),[b]);return s.jsxs("div",{className:"flex min-h-screen flex-col",children:[s.jsxs(l,{children:[s.jsx("title",{children:"Reports | Delphi Global Research Center"}),s.jsx("meta",{name:"description",content:"Access in-depth reports and strategic analyses on Eurasian security, geopolitics, and policy trends."}),s.jsx("meta",{property:"og:title",content:"Reports | Delphi Global Research Center"}),s.jsx("meta",{property:"og:description",content:"In-depth reports and strategic analyses on Eurasian security and policy trends."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{property:"og:url",content:`${h}/reports`}),s.jsx("meta",{property:"og:site_name",content:"Delphi Global Research Center"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("meta",{name:"twitter:title",content:"Reports | Delphi Global Research Center"}),s.jsx("meta",{name:"twitter:description",content:"In-depth reports and strategic analyses on Eurasian security and policy trends."}),s.jsx("link",{rel:"canonical",href:`${h}/reports`}),s.jsx("script",{type:"application/ld+json",children:JSON.stringify(v)}),N.itemListElement.length>0&&s.jsx("script",{type:"application/ld+json",children:JSON.stringify(N)})]}),s.jsx("main",{className:"flex-1 py-12",children:s.jsxs("div",{className:"container",children:[s.jsxs("div",{className:"mb-12",children:[s.jsx("h1",{className:"mb-4 font-heading text-4xl font-bold text-foreground md:text-5xl",children:"Reports"}),s.jsx("p",{className:"text-lg text-muted-foreground",children:"In-depth research reports and strategic assessments on Eurasian security."})]}),s.jsx("div",{className:"mb-8 flex flex-wrap gap-2",children:i.map(e=>s.jsx(n,{variant:j===e?"default":"outline",onClick:()=>f(e),className:"transition-all",children:e},e))}),g&&s.jsx("div",{className:"flex flex-col gap-4",children:[1,2,3].map(e=>s.jsx("div",{className:"rounded-lg border border-border bg-card",children:s.jsxs("div",{className:"flex flex-col md:flex-row",children:[s.jsx("div",{className:"md:w-64 flex-shrink-0 h-48 bg-muted animate-pulse rounded-t-lg md:rounded-l-lg md:rounded-tr-none"}),s.jsxs("div",{className:"flex-1 p-6 space-y-4",children:[s.jsx("div",{className:"h-4 w-20 bg-muted animate-pulse rounded"}),s.jsx("div",{className:"h-8 bg-muted animate-pulse rounded"}),s.jsx("div",{className:"h-4 bg-muted animate-pulse rounded w-3/4"}),s.jsx("div",{className:"h-4 bg-muted animate-pulse rounded w-1/2"})]})]})},e))}),!g&&s.jsx("div",{className:"flex flex-col gap-4",children:b.map((e,a)=>{var r,l;return s.jsx("div",{className:"animate-fade-up",style:{animationDelay:.05*a+"s"},children:s.jsx("div",{className:"rounded-lg border border-border bg-card hover:shadow-lg transition-shadow",children:s.jsxs("div",{className:"flex flex-col md:flex-row",children:[e.featured_image_url&&s.jsx(t,{to:`/research/${e.slug}`,className:"md:w-64 flex-shrink-0",children:s.jsx("img",{src:c(e.featured_image_url,{width:m.listThumb}),srcSet:d(e.featured_image_url,o.listThumb),sizes:"(max-width: 768px) 100vw, 256px",alt:e.title,loading:"lazy",decoding:"async",width:512,height:288,className:"w-full h-48 md:h-full object-cover rounded-t-lg md:rounded-l-lg md:rounded-tr-none"})}),s.jsxs("div",{className:"flex-1 p-6 flex flex-col justify-between",children:[s.jsxs("div",{children:[s.jsx("div",{className:"mb-2",children:s.jsx("span",{className:"inline-block px-3 py-1 text-xs font-medium rounded-full bg-primary/10 text-primary",children:(null==(r=e.template_settings)?void 0:r.category)||"General"})}),s.jsx(t,{to:`/research/${e.slug}`,children:s.jsx("h3",{className:"text-2xl font-bold mb-2 text-foreground hover:text-primary transition-colors",children:e.title})}),e.summary&&s.jsx("p",{className:"text-muted-foreground mb-4 line-clamp-2",children:e.summary})]}),s.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[s.jsx(p,{articleId:e.id}),s.jsx("span",{children:"•"}),s.jsx(x,{date:e.published_at||e.created_at,locale:"ka-GE"}),(null==(l=e.template_settings)?void 0:l.readTime)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{children:"•"}),s.jsx("span",{children:e.template_settings.readTime})]})]})]})]})})},e.id)})}),!g&&0===b.length&&s.jsx("div",{className:"py-12 text-center",children:s.jsx("p",{className:"text-muted-foreground",children:"No reports found in this category."})})]})})]})};export{u 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.