PageSourceSearch

https://funder-connections-hub.lovable.app/assets/insights._slug-W5gBddLp.js

js funder-connections-hub.lovable.app collected 2026-10-03 03:27:18 UTC 4,964 bytes, 8 lines download raw bytes

1import{j as e,N as p,F as h,m}from"./index-DuPvnNGQ.js";import{P as f}from"./index-CNIK1K94.js";import{p as g}from"./portableTextComponents-BJ7G9uRd.js";import{h as y}from"./news-01-B3cG8VGi.js";const i="#6E1445",u="#FBF6EF",j="#F1C84D",s="Figtree, system-ui, sans-serif";function w({children:t}){return e.jsx("span",{style:{alignSelf:"flex-start",border:`1px solid ${i}`,borderRadius:4,padding:"6px 12px",color:i,fontFamily:s,fontWeight:600,fontSize:15,letterSpacing:"1.8px",textTransform:"uppercase",lineHeight:1.2},children:t})}function F({children:t}){return e.jsxs("div",{className:"news-two-col",style:{display:"flex",gap:0,alignItems:"flex-start"},children:[e.jsx("div",{className:"news-spacer","aria-hidden":"true",style:{flex:"0 0 0px"}}),e.jsx("div",{style:{flex:"1 0 0",minWidth:0,maxWidth:850,display:"flex",flexDirection:"column",gap:24},children:t})]})}function W(t,r){switch(t.type){case"h2":return e.jsx("h2",{style:{margin:0,fontFamily:s,fontWeight:700,fontSize:40,lineHeight:1.12,color:i},children:t.text},r);case"p":return e.jsx("p",{style:{margin:0,fontFamily:s,fontWeight:400,fontSize:20,lineHeight:1.4,color:i},children:t.text},r);case"quote":return e.jsxs("div",{style:{borderLeft:`4px solid ${j}`,paddingLeft:46,margin:"8px 0"},children:[e.jsxs("p",{style:{margin:0,fontFamily:s,fontWeight:700,fontSize:31,lineHeight:1.22,color:i},children:["“",t.text,"”"]}),t.attribution&&e.jsxs("cite",{style:{display:"block",margin:"16px 0 0",fontFamily:s,fontWeight:500,fontSize:16,color:i,fontStyle:"normal"},children:["— ",t.attribution]})]},r);case"image":return e.jsxs("figure",{style:{margin:"8px 0"},children:[e.jsx("img",{src:t.src,alt:t.alt,style:{width:"100%",height:420,objectFit:"cover",display:"block",borderRadius:10}}),t.caption?e.jsx("figcaption",{style:{marginTop:12,fontFamily:s,fontWeight:400,fontSize:15,fontStyle:"italic",color:i},children:t.caption}):null]},r);case"richText":return e.jsx("div",{children:e.jsx(f,{value:t.content,components:g})},r)}}function v({title:t,date:r,author:a,eyebrow:n="News",heroImage:l,heroAlt:d,heroCaption:o,standfirst:c,blocks:x}){return e.jsxs("div",{style:{background:u,minHeight:"100vh",overflowX:"hidden"},className:"news-article-page",children:[e.jsx("style",{children:`
2        @media (max-width: 899px) {
3          .news-article-page .news-two-col { flex-direction: column !important; }
4          .news-article-page .news-spacer { display: none !important; }
5          .news-article-page h1 { font-size: 36px !important; }
6          .news-article-page h2 { font-size: 28px !important; }
7        }
8      `}),e.jsx(p,{}),e.jsx("main",{children:e.jsxs("article",{children:[e.jsx("section",{style:{maxWidth:1440,margin:"0 auto",padding:"180px 50px 30px"},children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:24,maxWidth:900},children:[e.jsx(w,{children:n}),e.jsx("h1",{style:{margin:0,fontFamily:s,fontWeight:700,fontSize:56,letterSpacing:"-0.56px",lineHeight:1.06,color:i},children:t}),e.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:20,alignItems:"center",fontFamily:s,fontWeight:500,fontSize:16,color:i},children:[e.jsx("span",{children:r}),a?e.jsxs(e.Fragment,{children:[e.jsx("span",{"aria-hidden":"true",style:{opacity:.5},children:"•"}),e.jsxs("span",{children:["By ",a]})]}):null]})]})}),e.jsx("section",{style:{maxWidth:1440,margin:"0 auto",padding:"20px 50px 30px"},children:e.jsxs("figure",{style:{margin:0},children:[e.jsx("img",{src:l,alt:d,style:{width:"100%",height:520,objectFit:"cover",display:"block"}}),o?e.jsx("figcaption",{style:{marginTop:12,fontFamily:s,fontWeight:400,fontSize:15,fontStyle:"italic",color:i},children:o}):null]})}),c?e.jsx("section",{style:{maxWidth:1440,margin:"0 auto",padding:"20px 50px 20px"},children:e.jsxs("div",{className:"news-two-col",style:{display:"flex",gap:0,alignItems:"flex-start"},children:[e.jsx("div",{className:"news-spacer","aria-hidden":"true",style:{flex:"0 0 0px"}}),e.jsx("div",{style:{flex:"1 0 0",minWidth:0},children:e.jsx("p",{style:{margin:0,maxWidth:850,fontFamily:s,fontWeight:500,fontSize:27,lineHeight:1.32,color:i},children:c})})]})}):null,e.jsx("section",{style:{maxWidth:1440,margin:"0 auto",padding:"30px 50px 60px"},children:e.jsx(F,{children:x.map(W)})})]})}),e.jsx(h,{})]})}function N(){const t=m.useLoaderData(),r=t?.content?.find(n=>n._type==="blockIntroduction")?.text??"",a=(t?.content??[]).flatMap(n=>n._type==="blockIntroduction"?[]:n._type==="blockText"?[{type:"richText",content:n.content??[]}]:n._type==="blockQuote"?[{type:"quote",text:n.quote?.[0]?.children?.map(l=>l.text).join("")??"",attribution:n.attribution??void 0}]:[]);return e.jsx(v,{title:t?.heroTitle??"",date:t?.publishedAt?new Date(t.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"}):"",author:t?.author,eyebrow:t?.heroTag??"News",heroImage:t?.heroBanner?.url??y,heroAlt:t?.heroBanner?.alt??"Funders Together brand visual",standfirst:r,blocks:a})}
8export{N as component};

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.