{"version":3,"file":"SubstackFeed.CEepiERV.mjs","names":["React.useState","React.useRef","p"],"sources":["https:/framerusercontent.com/modules/DV9MhSOzgh8Y7HCIfMov/XLHAUFaGalqcyTIKvD0x/SubstackFeed.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";// ─── Helpers ─────────────────────────────────────────────────────────────────\nfunction formatDate(dateStr){return new Date(dateStr).toLocaleDateString(\"en-US\",{year:\"numeric\",month:\"long\",day:\"numeric\"});}function stripHtml(html){return html.replace(/<[^>]*>/g,\"\").slice(0,160)+\"…\";}function extractImage(post){if(post.thumbnail?.startsWith(\"http\"))return post.thumbnail;if(post.enclosure?.link)return post.enclosure.link;const match=(post.content||post.description||\"\").match(/<img[^>]+src=[\"']([^\"']+)[\"']/);return match?match[1]:\"\";}function sanitizeFilename(title){return title.replace(/[^a-z0-9\\s\\-_]/gi,\"\").replace(/\\s+/g,\"-\").toLowerCase()||\"download\";}async function downloadPdf(url,title){try{const response=await fetch(url);const blob=await response.blob();const blobUrl=window.URL.createObjectURL(blob);const link=document.createElement(\"a\");link.href=blobUrl;link.download=`${sanitizeFilename(title)}.pdf`;document.body.appendChild(link);link.click();document.body.removeChild(link);window.URL.revokeObjectURL(blobUrl);}catch(err){// Fallback if blob fetch fails (e.g. CORS)\nwindow.open(url,\"_blank\",\"noreferrer\");}}// ─── Styles ───────────────────────────────────────────────────────────────────\nfunction makeStyles(props){const{layout,borderStyle,mutedColor,bgColor,gap,fontFamily,textColor,accentColor}=props;const isGrid=layout===\"grid\";const isCard=borderStyle===\"card\";const isDivider=borderStyle===\"divider\";return{wrap:{width:\"100%\",fontFamily,color:textColor,display:\"flex\",flexDirection:\"column\",gap,position:\"relative\"},filterBar:{display:\"flex\",flexDirection:\"column\",gap:8,paddingBottom:24,paddingTop:24,position:\"sticky\",zIndex:10},searchInput:{flex:1,minWidth:100,padding:\"12px 16px\",borderRadius:999,border:`1px solid #E5E5E5`,fontSize:\"1.2em\",letterSpacing:\"0.02em\",fontFamily,color:textColor,background:\"#FAFAFA\",outline:\"none\",boxSizing:\"border-box\"},filterBtn:active=>({padding:\"12px 16px\",borderRadius:999,border:`1px solid ${active?accentColor:\"#E5E5E5\"}`,background:active?accentColor:\"#FAFAFA\",color:active?\"#ffffff\":mutedColor,fontSize:\"1.2em\",fontWeight:500,letterSpacing:\"0.02em\",cursor:\"pointer\",whiteSpace:\"nowrap\",transition:\"all 0.15s\"}),posts:{display:\"flex\",flexDirection:isGrid?\"row\":\"column\",flexWrap:isGrid?\"wrap\":undefined,gap},card:{flex:isGrid?\"1 1 280px\":undefined,display:\"flex\",flexDirection:isGrid?\"column\":\"row\",alignItems:\"stretch\",gap:16,paddingBottom:!isGrid?gap:0,borderBottom:isDivider&&!isGrid?`1px solid ${textColor}, opacity 0.20`:\"none\",background:isCard?bgColor:\"transparent\",borderRadius:isCard?12:0,border:isCard?`1px solid ${mutedColor}`:undefined,overflow:\"hidden\"},thumbWrap:{flex:.5,overflow:\"hidden\",borderRadius:isCard?0:6,minHeight:200},thumb:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"},body:{display:\"flex\",flexDirection:\"column\",gap:6,padding:isCard?16:0,flex:1,textWrap:\"balance\"},meta:{display:\"flex\",gap:8,fontSize:\"0.8rem\",letterSpacing:\"0.08em\",textTransform:\"uppercase\",fontWeight:500},title:{fontSize:\"2em\",fontWeight:400,lineHeight:1.4,letterSpacing:\"-0.02em\",transition:\"color 0.2s\",textWrap:\"balance\"},excerpt:{fontSize:\"1.2em\",lineHeight:1.4},button:{marginTop:16,alignSelf:\"flex-start\",padding:\"12px 16px\",background:\"#01A6FE\",color:\"#ffffff\",fontSize:\"0.75rem\",fontWeight:900,letterSpacing:\"0.04em\",textTransform:\"uppercase\",borderRadius:999,cursor:\"pointer\"},empty:{padding:\"40px 0\",fontSize:\"0.875rem\",color:mutedColor,textAlign:\"center\"},skeletonLine:(w,h,opacity)=>({height:h,width:w,background:`${mutedColor}${opacity}`,borderRadius:4})};}// ─── Component ───────────────────────────────────────────────────────────────\nexport default function SubstackFeed(props){const{substackUrl,postsToShow,showThumbnail,showExcerpt,showAuthor,showDate,showButton,accentColor,textColor,mutedColor,fontFamily,filterKeyword,filterLabels,showFilterUI,requireEmail,manualItems}=props;const[posts,setPosts]=React.useState([]);const[loading,setLoading]=React.useState(true);const[error,setError]=React.useState(\"\");const getInitialHash=()=>{if(typeof window===\"undefined\")return\"\";return decodeURIComponent(window.location.hash.replace(\"#\",\"\"));};const isSlugHash=hash=>{if(!hash)return false;return(manualItems||[]).some(m=>m.slug===hash);};const[activeFilter,setActiveFilter]=React.useState(()=>{const hash=getInitialHash();return isSlugHash(hash)?\"\":hash;});const[liveSearch,setLiveSearch]=React.useState(\"\");const[emailingPdf,setEmailingPdf]=React.useState(null);const[email,setEmail]=React.useState(\"\");const[submitting,setSubmitting]=React.useState(false);const[highlightedSlug,setHighlightedSlug]=React.useState(\"\");const cardRefs=React.useRef({});const s=makeStyles(props);React.useEffect(()=>{if(typeof window===\"undefined\")return;const currentHash=decodeURIComponent(window.location.hash.replace(\"#\",\"\"));if(isSlugHash(currentHash)&&!activeFilter)return;if(activeFilter){window.history.replaceState(null,\"\",`#${encodeURIComponent(activeFilter)}`);}else{window.history.replaceState(null,\"\",window.location.pathname+window.location.search);}},[activeFilter]);React.useEffect(()=>{if(typeof window===\"undefined\")return;const onHashChange=()=>{const hash=decodeURIComponent(window.location.hash.replace(\"#\",\"\"));if(isSlugHash(hash)){setHighlightedSlug(hash);setTimeout(()=>{cardRefs.current[hash]?.scrollIntoView({behavior:\"smooth\",block:\"center\"});},100);}else{setActiveFilter(hash);}};window.addEventListener(\"hashchange\",onHashChange);return()=>window.removeEventListener(\"hashchange\",onHashChange);},[manualItems]);React.useEffect(()=>{if(typeof window===\"undefined\")return;if(loading)return;const hash=decodeURIComponent(window.location.hash.replace(\"#\",\"\"));if(!hash)return;if(isSlugHash(hash)&&cardRefs.current[hash]){setHighlightedSlug(hash);setTimeout(()=>{cardRefs.current[hash]?.scrollIntoView({behavior:\"smooth\",block:\"center\"});},100);}},[loading,manualItems]);const handleEmailSubmit=async(url,title)=>{if(!email)return;setSubmitting(true);try{await fetch(\"https://script.google.com/macros/s/AKfycbyoqfum96tu4zmReNgomT_ZuOT6c3A7OWXLCOZDvP5daE_kJU9C2Fmt_gTuZz2sjcHK1w/exec\",{method:\"POST\",mode:\"no-cors\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({email,source:title,url:url})});}catch(err){// Fail silently, still let them download\n}await downloadPdf(url,title);setEmail(\"\");setEmailingPdf(null);setSubmitting(false);};const filterButtons=filterLabels?filterLabels.split(\",\").map(f=>f.trim()).filter(Boolean):[];React.useEffect(()=>{if(!substackUrl)return;setLoading(true);setError(\"\");fetch(`https://api.rss2json.com/v1/api.json?rss_url=${encodeURIComponent(substackUrl)}`).then(r=>r.json()).then(data=>{if(data.status!==\"ok\")throw new Error(\"Feed error\");setPosts(data.items||[]);}).catch(()=>setError(\"Couldn't load feed. Check the Substack URL.\")).finally(()=>setLoading(false));},[substackUrl,postsToShow]);if(loading){return /*#__PURE__*/_jsx(\"div\",{style:s.wrap,children:/*#__PURE__*/_jsx(\"div\",{style:s.posts,children:Array.from({length:postsToShow}).map((_,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{...s.card,opacity:1-i*.2},children:[showThumbnail&&/*#__PURE__*/_jsx(\"div\",{style:{...s.thumbWrap,background:`${mutedColor}66`}}),/*#__PURE__*/_jsxs(\"div\",{style:{...s.body,gap:8},children:[/*#__PURE__*/_jsx(\"div\",{style:s.skeletonLine(\"65%\",14,\"66\")}),/*#__PURE__*/_jsx(\"div\",{style:s.skeletonLine(\"90%\",20,\"44\")}),showExcerpt&&/*#__PURE__*/_jsx(\"div\",{style:s.skeletonLine(\"80%\",14,\"33\")})]})]},i))})});}if(error){return /*#__PURE__*/_jsx(\"div\",{style:{padding:24,color:\"#ef4444\",fontFamily,fontSize:\"0.8rem\"},children:error});}const combined=[...posts.map(p=>({title:p.title,slug:\"\",link:p.link,pubDate:p.pubDate,description:p.description,thumbnail:extractImage(p),author:p.author,itemType:\"article\"})),...(manualItems||[]).map(m=>({title:m.title,slug:m.slug||\"\",link:m.url,pubDate:m.date,description:m.description,thumbnail:m.thumbnail,author:\"Brainforest Association\",itemType:m.type}))].sort((a,b)=>{if(highlightedSlug){if(a.slug===highlightedSlug)return-1;if(b.slug===highlightedSlug)return 1;}return new Date(b.pubDate).getTime()-new Date(a.pubDate).getTime();});const filtered=combined.filter(post=>{const title=post.title.toLowerCase();const desc=(post.description||\"\").toLowerCase();const matchesPropKeyword=!filterKeyword||title.includes(filterKeyword.toLowerCase())||post.itemType.toLowerCase()===filterKeyword.toLowerCase();const q=liveSearch.toLowerCase();const matchesSearch=!q||title.includes(q)||desc.includes(q);const matchesButton=!activeFilter||post.itemType.toLowerCase()===activeFilter.toLowerCase()||title.includes(activeFilter.toLowerCase());return matchesPropKeyword&&matchesSearch&&matchesButton;}).slice(0,liveSearch||activeFilter?undefined:postsToShow);return /*#__PURE__*/_jsxs(\"div\",{style:s.wrap,children:[showFilterUI&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"sticky\",top:60,zIndex:10},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,maskImage:\"linear-gradient(white, white, transparent)\",WebkitMaskImage:\"linear-gradient(white, white, transparent)\",backdropFilter:\"blur(15px)\",WebkitBackdropFilter:\"blur(15px)\",pointerEvents:\"none\",zIndex:-1}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:\"linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%)\",pointerEvents:\"none\",zIndex:-1}}),/*#__PURE__*/_jsxs(\"div\",{style:s.filterBar,children:[/*#__PURE__*/_jsx(\"input\",{type:\"text\",placeholder:\"Search articles…\",value:liveSearch,onChange:e=>setLiveSearch(e.target.value),style:s.searchInput}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"div\",{style:s.filterBtn(!activeFilter),onClick:()=>setActiveFilter(\"\"),children:\"All\"}),filterButtons.map(label=>/*#__PURE__*/_jsx(\"div\",{style:s.filterBtn(activeFilter===label),onClick:()=>setActiveFilter(activeFilter===label?\"\":label),children:label},label))]})]})]}),/*#__PURE__*/_jsx(\"div\",{style:s.posts,children:filtered.length===0?/*#__PURE__*/_jsx(\"div\",{style:s.empty,children:\"No articles found.\"}):filtered.map(post=>{const image=post.thumbnail;const isHighlighted=highlightedSlug===post.slug&&!!post.slug;return /*#__PURE__*/_jsx(\"div\",{ref:el=>{if(post.slug)cardRefs.current[post.slug]=el;},onClick:async()=>{if(post.itemType===\"article\"){window.open(post.link,\"_blank\",\"noreferrer\");}else if(requireEmail){setEmailingPdf(post.link);}else{await downloadPdf(post.link,post.title);}},style:{cursor:\"pointer\",color:isHighlighted?\"#ffffff\":\"inherit\",transition:\"background 0.6s ease, padding 0.6s ease\",background:isHighlighted?accentColor:\"transparent\",borderRadius:isHighlighted?12:0,padding:isHighlighted?16:0,scrollMarginTop:100},children:/*#__PURE__*/_jsxs(\"div\",{style:s.card,children:[showThumbnail&&image&&/*#__PURE__*/_jsx(\"div\",{style:s.thumbWrap,children:/*#__PURE__*/_jsx(\"img\",{src:image,alt:post.title,style:s.thumb})}),/*#__PURE__*/_jsxs(\"div\",{style:s.body,children:[(showDate||showAuthor)&&/*#__PURE__*/_jsxs(\"div\",{style:{...s.meta,color:isHighlighted?\"#ffffff\":mutedColor},children:[showDate&&/*#__PURE__*/_jsx(\"span\",{children:formatDate(post.pubDate)}),showDate&&showAuthor&&/*#__PURE__*/_jsx(\"span\",{children:\"\\xb7\"}),showAuthor&&post.author&&/*#__PURE__*/_jsx(\"span\",{children:post.author})]}),/*#__PURE__*/_jsx(\"div\",{style:{...s.title,color:isHighlighted?\"#ffffff\":textColor},onMouseEnter:e=>e.target.style.color=isHighlighted?\"#ffffff\":accentColor,onMouseLeave:e=>e.target.style.color=isHighlighted?\"#ffffff\":textColor,children:post.title}),showExcerpt&&post.description&&/*#__PURE__*/_jsx(\"div\",{style:{...s.excerpt,color:isHighlighted?\"#ffffff\":mutedColor},children:stripHtml(post.description)}),emailingPdf===post.link?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12,marginTop:16},children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",placeholder:\"you@email.com\",value:email,onChange:e=>setEmail(e.target.value),onClick:e=>e.stopPropagation(),onKeyDown:e=>{e.stopPropagation();if(e.key===\"Enter\"){handleEmailSubmit(post.link,post.title);}},autoFocus:true,style:{...s.excerpt,color:textColor,padding:\"12px 16px\",borderRadius:999,border:\"1px solid #E5E5E5\",fontFamily,background:\"#FAFAFA\",outline:\"none\",boxSizing:\"border-box\",maxWidth:320,width:\"100%\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8},children:[/*#__PURE__*/_jsx(\"div\",{onClick:e=>{e.stopPropagation();handleEmailSubmit(post.link,post.title);},style:{...s.button,marginTop:0,opacity:submitting||!email?.5:1,cursor:submitting?\"wait\":\"pointer\"},children:submitting?\"Sending…\":\"Download Now\"}),/*#__PURE__*/_jsx(\"div\",{onClick:e=>{e.stopPropagation();setEmailingPdf(null);setEmail(\"\");},style:{...s.button,marginTop:0,background:\"transparent\",color:mutedColor,border:`1px solid ${mutedColor}`},children:\"Cancel\"})]})]}):showButton&&/*#__PURE__*/_jsx(\"div\",{style:s.button,children:post.itemType===\"article\"?\"Read Article\":\"Download Report\"})]})]})},post.link);})})]});}SubstackFeed.defaultProps={substackUrl:\"https://stratechery.com/feed\",layout:\"list\",postsToShow:20,borderStyle:\"divider\",gap:24,showThumbnail:true,showExcerpt:true,showDate:true,showAuthor:false,accentColor:\"#01A6FE\",textColor:\"#111111\",mutedColor:\"#888888\",bgColor:\"#ffffff\",fontFamily:\"inherit\",filterKeyword:\"\",manualItems:[],filterLabels:\"\",showFilterUI:true,requireEmail:true};addPropertyControls(SubstackFeed,{substackUrl:{type:ControlType.String,title:\"Substack URL\",placeholder:\"https://you.substack.com/feed\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"list\",\"grid\"],optionTitles:[\"List\",\"Grid\"]},postsToShow:{type:ControlType.Number,title:\"Posts\",min:1,max:50,step:1},borderStyle:{type:ControlType.Enum,title:\"Style\",options:[\"none\",\"divider\",\"card\"],optionTitles:[\"None\",\"Dividers\",\"Cards\"]},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:80,step:4},showFilterUI:{type:ControlType.Boolean,title:\"Show Filters\"},requireEmail:{type:ControlType.Boolean,title:\"Require Email\"},filterLabels:{type:ControlType.String,title:\"Filter Buttons\",placeholder:\"Learning Series, Venture Program\"},filterKeyword:{type:ControlType.String,title:\"Pre-filter\"},manualItems:{type:ControlType.Array,title:\"Reports & PDFs\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\"},slug:{type:ControlType.String,title:\"Slug\",placeholder:\"q1-2026-outlook\"},description:{type:ControlType.String,title:\"Description\"},thumbnail:{type:ControlType.Image,title:\"Thumbnail\"},url:{type:ControlType.File,title:\"PDF\",allowedFileTypes:[\"pdf\"]},date:{type:ControlType.String,title:\"Date\",placeholder:\"2026-01-15\"},type:{type:ControlType.Enum,title:\"Type\",options:[\"reports\",\"whitepaper\"],optionTitles:[\"Reports\",\"Whitepaper\"]}}}},showThumbnail:{type:ControlType.Boolean,title:\"Thumbnail\"},showButton:{type:ControlType.Boolean,title:\"Button\"},showExcerpt:{type:ControlType.Boolean,title:\"Excerpt\"},showDate:{type:ControlType.Boolean,title:\"Date\"},showAuthor:{type:ControlType.Boolean,title:\"Author\"},accentColor:{type:ControlType.Color,title:\"Accent\"},textColor:{type:ControlType.Color,title:\"Text\"},mutedColor:{type:ControlType.Color,title:\"Muted\"},bgColor:{type:ControlType.Color,title:\"Card BG\"},fontFamily:{type:ControlType.String,title:\"Font\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SubstackFeed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SubstackFeed.map"],"mappings":"8MACA,SAAS,EAAW,EAAQ,CAAC,OAAO,IAAI,KAAK,EAAQ,CAAC,mBAAmB,QAAQ,CAAC,KAAK,UAAU,MAAM,OAAO,IAAI,UAAU,CAAC,CAAE,SAAS,EAAU,EAAK,CAAC,OAAO,EAAK,QAAQ,WAAW,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,IAAK,SAAS,EAAa,EAAK,CAAC,GAAG,EAAK,WAAW,WAAW,OAAO,CAAC,OAAO,EAAK,UAAU,GAAG,EAAK,WAAW,KAAK,OAAO,EAAK,UAAU,KAAK,IAAM,GAAO,EAAK,SAAS,EAAK,aAAa,IAAI,MAAM,gCAAgC,CAAC,OAAO,EAAM,EAAM,GAAG,GAAI,SAAS,EAAiB,EAAM,CAAC,OAAO,EAAM,QAAQ,mBAAmB,GAAG,CAAC,QAAQ,OAAO,IAAI,CAAC,aAAa,EAAE,WAAY,eAAe,EAAY,EAAI,EAAM,CAAC,GAAG,CAAiC,IAAM,EAAK,MAA5B,MAAM,MAAM,EAAI,EAA2B,MAAM,CAAO,EAAQ,EAAO,IAAI,gBAAgB,EAAK,CAAO,EAAK,SAAS,cAAc,IAAI,CAAC,EAAK,KAAK,EAAQ,EAAK,SAAS,GAAG,EAAiB,EAAM,CAAC,MAAM,SAAS,KAAK,YAAY,EAAK,CAAC,EAAK,OAAO,CAAC,SAAS,KAAK,YAAY,EAAK,CAAC,EAAO,IAAI,gBAAgB,EAAQ,MAAY,CACp8B,EAAO,KAAK,EAAI,SAAS,aAAa,EACtC,SAAS,EAAW,EAAM,CAAC,GAAK,CAAC,SAAO,cAAY,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