PageSourceSearch

https://deepc.ai/assets/InsightDetail-CWCD6Mqr.js

js deepc.ai collected 2026-09-25 14:55:29 UTC 5,119 bytes, 12 lines download raw bytes

1import{j as t}from"./react-vendor-DkA7xE2p.js";import{L as c,k as u,l as g,N as l,h as i,S as p,m as x,n as m,o as s,H as v,F as y}from"./index-Cw9LQMk_.js";import{B as j,N as f,E as _,W as h,a as b}from"./EvidenceTemplate-CcdkZua6.js";import{W as N}from"./WhitepaperCanvas-BhHcdxC1.js";import"./supabase-vendor-DRR_Es6B.js";import"./tanstack-vendor-BzDmRgfF.js";import"./button-Ba4UPuY-.js";import"./map-pin-ZlzgrZCO.js";import"./HubSpotForm-DlwSHyna.js";import"./lock-lAXWrUbW.js";import"./WorkflowAnimation-AOfmpLPk.js";import"./index-CVEz8c4_.js";import"./input-DPxmBCV5.js";import"./label-DWpkIEQj.js";import"./textarea-Bo3Aypkc.js";import"./checkbox-B-0M19AT.js";import"./index-N56A4yWE.js";import"./check-BSXFL5MA.js";import"./circle-check-CqHxZfqc.js";function w({item:n}){const a=n.blocks;return a?t.jsxs("div",{className:"wp-reader-viewport",style:{minHeight:"100vh",background:"#52525b",padding:"24px 0",display:"flex",flexDirection:"column",alignItems:"center",position:"relative"},children:[t.jsx(c,{to:"/",style:{position:"fixed",top:16,left:20,zIndex:10,color:"#fff",fontSize:14,textDecoration:"none",opacity:.85},children:"← deepc"}),t.jsx("style",{children:`
2        .wp-reader-viewport .wp-print {
3          display: flex;
4          flex-direction: column;
5          align-items: center;
6          gap: 24px;
7        }
8        .wp-reader-viewport .wp-print .page {
9          box-shadow: 0 8px 30px rgba(0,0,0,.4);
10        }
11      `}),t.jsx(N,{doc:a})]}):t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-neutral-800 text-white",children:t.jsxs("div",{className:"text-center",children:[t.jsx("p",{className:"text-lg",children:"No document content"}),t.jsx(c,{to:"/",className:"mt-4 inline-block text-sm underline opacity-80",children:"← deepc"})]})})}const R=({namespace:n})=>{const{slug:a}=u(),{data:e,isLoading:o}=g(a);if(!a)return t.jsx(l,{to:"/insights",replace:!0});if(!o&&e){const d=e.kind==="event";if(d&&n!=="event")return t.jsx(l,{to:i(e),replace:!0});if(!d&&n==="event")return t.jsx(l,{to:i(e),replace:!0})}const r=e==null?void 0:e.kind;return e&&r==="whitepaper"?t.jsxs(t.Fragment,{children:[t.jsx(p,{collectionKey:x(r),item:{title:e.title,summary:e.summary,subtitle:e.subtitle,category:e.category,author_name:e.author_name,event_starts_at:e.event_starts_at,itemImage:e.cover_image_url},path:i(e),ogType:"article",titleOverride:e.seo_title??void 0,descriptionOverride:e.seo_description??void 0}),t.jsx(m,{children:t.jsx("meta",{name:"robots",content:e.listed?"index, follow":"noindex, nofollow"})}),t.jsx(m,{children:t.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"TechArticle",headline:e.title,description:e.summary??e.subtitle??void 0,image:e.cover_image_url??void 0,datePublished:e.published_at??void 0,author:e.author_name?{"@type":"Person",name:e.author_name}:{"@type":"Organization",name:"deepc"},publisher:{"@type":"Organization",name:"deepc",logo:{"@type":"ImageObject",url:`${s}/favicon.svg`}},mainEntityOfPage:`${s}${i(e)}`})})}),t.jsx(w,{item:e})]}):t.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e&&r&&t.jsxs(t.Fragment,{children:[t.jsx(p,{collectionKey:x(r),item:{title:e.title,summary:e.summary,subtitle:e.subtitle,category:e.category,author_name:e.author_name,event_starts_at:e.event_starts_at,itemImage:e.cover_image_url},path:i(e),ogType:"article",titleOverride:e.seo_title??void 0,descriptionOverride:e.seo_description??void 0}),t.jsx(m,{children:t.jsx("script",{type:"application/ld+json",children:JSON.stringify(r==="event"?{"@context":"https://schema.org","@type":"Event",name:e.title,description:e.summary??e.subtitle??void 0,startDate:e.event_starts_at??void 0,image:e.cover_image_url??void 0,url:`${s}${i(e)}`,organizer:{"@type":"Organization",name:"deepc",url:s}}:{"@context":"https://schema.org","@type":r==="news"?"NewsArticle":"Article",headline:e.title,description:e.summary??e.subtitle??void 0,image:e.cover_image_url??void 0,datePublished:e.published_at??void 0,author:e.author_name?{"@type":"Person",name:e.author_name}:{"@type":"Organization",name:"deepc"},publisher:{"@type":"Organization",name:"deepc",logo:{"@type":"ImageObject",url:`${s}/favicon.svg`}},mainEntityOfPage:`${s}${i(e)}`})})})]}),t.jsx(v,{theme:"light"}),t.jsxs("main",{children:[o&&t.jsx("div",{className:"container py-32 text-sm text-foreground
11/60",children:"Loading…"}),!o&&!e&&t.jsxs("div",{className:"container py-32 text-center",children:[t.jsx("p",{className:"eyebrow",children:"Not found"}),t.jsxs("h1",{className:"display mt-3 text-3xl",children:["This ",n==="event"?"event":"insight"," doesn't exist."]}),t.jsx(c,{to:"/insights",className:"text-sm text-primary mt-6 inline-block",children:"← All insights"})]}),e&&t.jsxs(t.Fragment,{children:[e.kind==="blog"&&t.jsx(j,{item:e}),e.kind==="news"&&t.jsx(f,{item:e}),e.kind==="event"&&t.jsx(_,{item:e}),e.kind==="webinar"&&t.jsx(h,{item:e}),e.kind==="evidence"&&t.jsx(b,{item:e}),e.kind==="other"&&t.jsx(h,{item:e})]})]}),t.jsx(y,{})]})};export{R as default};
12//# sourceMappingURL=InsightDetail-CWCD6Mqr.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.