PageSourceSearch

https://www.brightcap.vc/_next/static/chunks/142134c01aaffce7.js?dpl=dpl_Dh1FSLTwYH6fo4gchpfrA3Jn9vNp

js brightcap.vc collected 2026-10-04 14:41:01 UTC 8,346 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,970223,e=>{"use strict";var t=e.i(920755),i=e.i(332753);let r={support_statement:"Supported by the European Investment Fund and Ministry of Economy of Bulgaria with recycled capital from the Joint European Resources for Micro to Medium Enterprises (JEREMIE) initiative.",copyright_text:"BrightCap Ventures. All rights reserved.",linkedin_url:"https://www.linkedin.com/company/brightcap-ventures",twitter_url:"https://twitter.com/brightcapvc"};async function n(){return(await l()).content}async function l(){try{let e=(0,t.createClient)(),[n,l,a,s]=await Promise.all([e.from("landing_page_content").select("content, properties").eq("section_key","footer").single(),e.from("footer_social_links").select("*").eq("is_visible",!0).order("display_order",{ascending:!0}),e.from("footer_partner_links").select("*").eq("is_visible",!0).order("display_order",{ascending:!0}),e.from("legal_documents").select("id, title, slug, display_order").eq("is_visible",!0).order("display_order",{ascending:!0})]),o={...r},d={...i.defaultSectionProperties.footer};return!n.error&&n.data&&(o=n.data.content,n.data.properties&&(d={...i.defaultSectionProperties.footer,...n.data.properties})),l.data&&!l.error&&(o.social_links=l.data),a.data&&!a.error&&(o.partner_links=a.data),s.data&&!s.error&&(o.legal_links=s.data),{content:o,properties:d}}catch(e){return console.error("Error in getFooterDataClient:",e),{content:r,properties:i.defaultSectionProperties.footer}}}e.s(["getFooterContentClient",()=>n,"getFooterDataClient",()=>l])},959312,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(618566),n=e.i(877446),l=e.i(846932),a=e.i(871689),s=e.i(505519),o=e.i(641451),d=e.i(920755),c=e.i(970223),u=e.i(918789),m=e.i(742531);function g(){let e=(0,r.useParams)(),[g,p]=(0,i.useState)(null),[f,h]=(0,i.useState)(void 0),x=e.slug!==f,[y,w]=(0,i.useState)(void 0),[v,j]=(0,i.useState)(""),[b,N]=(0,i.useState)(0),[_,k]=(0,i.useState)({top:6,height:20}),C=(0,i.useRef)(null),E=(0,i.useRef)(new Map),[S]=(0,i.useState)(()=>(0,d.createClient)()),F=(0,i.useCallback)(async()=>{w(await (0,c.getFooterContentClient)())},[]),L=(0,i.useCallback)(async()=>{let t=e.slug;if(!t)return;let{data:i,error:r}=await S.from("legal_documents").select("*").eq("slug",t).eq("is_visible",!0).single();r?(console.error("Error loading document:",r),p(null)):p(i),h(t)},[S,e.slug]);(0,i.useEffect)(()=>{L(),F()},[L,F]);let B=g?.content,M=(0,i.useMemo)(()=>{let e;if(!B)return[];let t=/^(#{1,3})\s+(.+)$/gm,i=[];for(;null!==(e=t.exec(B));){let t=e[1].length,r=e[2].trim(),n=r.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"");i.push({id:n,text:r,level:t})}return i},[B]);(0,i.useEffect)(()=>{if(0===M.length)return;let e=()=>{let e=window.scrollY+180,t=window.innerHeight,i=window.document.documentElement.scrollHeight;if(window.scrollY+t>=i-100&&M.length>0){let e=M[M.length-1];v!==e.id&&(j(e.id),N(M.length-1));return}let r=M[0]?.id||"",n=0;for(let t=0;t<M.length;t++){let i=M[t],l=window.document.getElementById(i.id);l&&e>=l.getBoundingClientRect().top+window.scrollY&&(r=i.id,n=t)}r!==v&&(j(r),N(n))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[M,v]),(0,i.useEffect)(()=>{let e=E.current.get(v),t=e?{top:e.offsetTop+6,height:Math.max(e.offsetHeight-12,20)}:{top:40*b+6,height:20};k(e=>e.top===t.top&&e.height===t.height?e:t)},[v,b,M]);let P=(0,i.useCallback)(e=>{let t=window.document.getElementById(e);if(t){let e=t.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:e-100,behavior:"smooth"})}},[]),R=(0,i.useMemo)(()=>({h1:({children:e,...i})=>{let r=String(e).toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"");return(0,t.jsx)("h1",{id:r,...i,children:e})},h2:({children:e,...i})=>{let r=String(e).toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"");return(0,t.jsx)("h2",{id:r,...i,children:e})},h3:({children:e,...i})=>{let r=String(e).toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"");return(0,t.jsx)("h3",{id:r,...i,children:e})}}),[]);return x?(0,t.jsxs)("div",{className:"bg-muted flex flex-col items-start relative w-full min-h-screen",children:[(0,t.jsx)(s.Navbar,{}),(0,t.jsx)("main",{className:"pt-16 w-full flex-1 flex items-center justify-center",children:(0,t.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-2 border-border border-t-brand"})}),(0,t.jsx)(o.Footer,{content:y})]}):g?(0,t.jsxs)("div",{className:"bg-muted flex flex-col items-start relative w-full min-h-screen",children:[(0,t.jsx)(s.Navbar,{}),(0,t.jsxs)("main",{className:"pt-16 w-full flex-1",children:[(0,t.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-6 lg:px-8",children:[(0,t.jsx)(l.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.3},className:"pt-12 sm:pt-16",children:(0,t.jsxs)(n.TransitionLink,{href:"/",className:"inline-flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors group",style:{fontFamily:"var(--font-heading)"},children:[(0,t.jsx)(a.ArrowLeft,{className:"w-4 h-4 group-hover:-translate-x-0.5 transition-transform"}),(0,t.jsx)("span",{className:"text-sm",children:"Back to Home"})]})}),(0,t.jsxs)(l.motion.div,{initial:{opacity:0,y:15},animate:{opacity:1,y:0},transition:{duration:.4,delay:.1},className:"pt-8 pb-8 border-b border-border",children:[(0,t.jsx)("h1",{className:"text-3xl sm:text-4xl font-bold text-foreground leading-tight tracking-tight",style:{fontFamily:"var(--font-heading)"},children:g.title}),(0,t.jsxs)("p",{className:"text-sm text-muted-foreground mt-3",style:{fontFamily:"var(--font-heading)"},children:["Last updated: ",new Date(g.updated_at).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})]})]})]}),(0,t.jsx)("div",{className:"w-full max-w-7xl mx-auto px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"lg:grid lg:grid-cols-[220px_1fr] lg:gap-16 xl:gap-20 py-10 sm:py-12",children:[M.length>0&&(0,t.jsx)(l.motion.aside,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5,delay:.3},className:"hidden lg:block",children:(0,t.jsxs)("nav",{className:"sticky top-28",children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-widest text-muted-foreground mb-5 pl-4",style:{fontFamily:"var(--font-heading)"},children:"On this page"}),(0,t.jsxs)("ul",{className:"relative",children:[(0,t.jsx)("div",{className:"absolute left-0 w-px bg-gray-200",style:{top:10,bottom:10}}),(0,t.jsx)(l.motion.div,{className:"absolute left-0 w-0.5 bg-brand rounded-full",initial:!1,animate:{top:_.top,height:_.height},transition:{type:"spring",stiffness:400,damping:35,mass:.8}}),M.map(e=>{let i=v===e.id;return(0,t.jsx)("li",{children:(0,t.jsx)("button",{ref:t=>{t&&E.current.set(e.id,t)},onClick:()=>P(e.id),className:"group relative w-full text-left transition-all duration-200",style:{fontFamily:"var(--font-heading)"},children:(0,t.jsx)("span",{className:`block py-2 text-[13px] leading-relaxed transition-all duration-200 ${i?"text-foreground font-medium pl-4":"text-muted-foreground hover:text-muted-foreground pl-4"}`,style:{paddingLeft:e.level>1?`${(e.level-1)*10+16}px`:void 0},children:e.text})})},e.id)})]})]})}),(0,t.jsx)(l.motion.article,{ref:C,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:0===M.length?"lg:col-span-2":"",children:(0,t.jsx)("div",{className:"article-content min-h-[50vh]",children:(0,t.jsx)(u.default,{remarkPlugins:[m.default],components:R,children:g.content})})})]})})]}),(0,t.jsx)(o.Footer,{content:y})]}):(0,t.jsxs)("div",{className:"bg-muted flex flex-col items-start relative w-full min-h-screen",children:[(0,t.jsx)(s.Navbar,{}),(0,t.jsx)("main",{className:"pt-16 w-full flex-1 flex items-center justify-center",children:(0,t.jsxs)("div",{className:"text-center px-4",children:[(0,t.jsx)("p",{className:"text-muted-foreground mb-4",style:{fontFamily:"var(--font-heading)"},children:"Document not found"}),(0,t.jsxs)(n.TransitionLink,{href:"/",className:"inline-flex items-center gap-2 text-sm text-foreground hover:text-brand transition-colors",style:{fontFamily:"var(--font-heading)"},children:[(0,t.jsx)(a.ArrowLeft,{className:"w-4 h-4"}),"Back to Home"]})]})}),(0,t.jsx)(o.Footer,{content:y})]})}e.s(["default",()=>g])}]);

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.