{"version":3,"file":"InteractiveSourceSearch.Dj11IORe.mjs","names":["useRef","useState","_Fragment","Icon","c","useState","useRef","c","useState","useRef","_Fragment","__esmMin","init_npm_react_18_3_1","ce","le","l","p","init_jsx_runtime","de","_e","addPropertyControls","init_framer_CaDWdxiz","ControlType","InteractiveAIChat","props","rootRef","scrollRef","variant","setVariant","isInView","setIsInView","messages","setMessages","inputText","setInputText","typingMsgId","setTypingMsgId","typingText","setTypingText","showSearching","setShowSearching","searchQueries","setSearchQueries","showActions","setShowActions","convoIndex","setConvoIndex","sendPulse","setSendPulse","drawerLevel","setDrawerLevel","withAlpha","match","color","alpha","forcedVariant","el","compute","w","ro","observer","entry","entries","cancelled","convo","CONVERSATIONS","sleep","r","ms","i","userId","prev","q","sq","aiId","m","parseInline","regex","nodes","lastIndex","key","text","full","citationColor","renderAI","lines","trimmed","line","isBullet","content","idx","textColor","hasInput","currentConvo","visibleSources","moreCount","isMobile","chatContent","Icon$1","mutedColor","borderColor","userBubbleBg","accentColor","src","Chip","focusRingColor","editorPanel","softBg","drawerTranslateY","c$2","chatBg","size","name","icon","label","rightIcon","init_InteractiveAIChat","InteractiveSourceAttribution","citations","paragraphs","references","activeIdx","setActiveIdx","cursorVisible","setCursorVisible","cursorPos","setCursorPos","cursorClick","setCursorClick","isNarrow","setIsNarrow","citationRefs","obs","e","getCitationPos","container","c","getIdlePos","pos","Paragraph","ReferenceItem","pdfBg","PdfBadge","pdfBadgeColor","active","c$1","ProseSection","TableSection","FigureSection","lastIdx","bars","barHeight","compact","badgeSize","mutedBar","onRef","rgba","citationNumber","number","widths","j","SectionCard","highlightBorder","title","children","isHighlighted","highlightIdx","highlightBg","gridTemplate","columns","col","rows","rIdx","isLast","row","cIdx","cell","h","chartBarColor","barLabels","caption","bgColor","input","g","b","init_InteractiveSourceAttribution","InteractiveSourceSearch","sources","searches","searchIndex","setSearchIndex","phase","setPhase","activeSourceIdx","setActiveSourceIdx","shownPapers","setShownPapers","resultCount","setResultCount","searchTime","setSearchTime","current","count","resultsVisible","bottomFadeMask","restingShadow","focusedShadow","pageBg","cardBg","Icon","subtleColor","isActive","isLibrary","s","chipBg","PaperCard","paper","openAccessColor","journalColor","ActionItem","init_InteractiveSourceSearch"],"sources":["https:/framerusercontent.com/modules/iVhNE13Vgr3BHDLECaS2/AHoKkGOMx702L5vR30pq/InteractiveAIChat.js","https:/framerusercontent.com/modules/qcOoIOXSPhBsZR3iOdfq/U7QOakj2EVMNIfro4SYN/InteractiveSourceAttribution.js","https:/framerusercontent.com/modules/cftqHRhnTWo4Ey8RoQwX/IndxHvP3mpZr7uLDGLn4/InteractiveSourceSearch.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useLayoutEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const CONVERSATIONS=[{user:\"What methods does Lemos et al. use?\",ai:\"Lemos et al. (2024) use a **mixed-methods** design: World Management Survey interviews paired with administrative data from **~1,800 schools** across six Indian states. Management practices are scored on a 1–5 scale across monitoring, incentives, and people dimensions (Bloom & Van Reenen, 2007). Want me to dig into the sampling strategy?\",subQueries:[\"Lemos 2024 methodology section\",\"World Management Survey design\",\"school management measurement scales\"],sources:[{title:\"Scientific Management for the World's Poor\",authors:\"Lemos et al.\",year:2024},{title:\"Measuring and Explaining Management Practices\",authors:\"Bloom & Van Reenen\",year:2007},{title:\"Improving Schooling Productivity in India\",authors:\"Muralidharan & Singh\",year:2020}],totalSources:9},{user:\"Compare findings on management quality across my library\",ai:\"Across your library, three patterns converge:\\n- Indian public schools lag **~2σ** behind high-income countries (Lemos et al., 2024)\\n- Private schools score **0.5 SD higher** than public peers (Muralidharan & Singh, 2020)\\n- State-level variation often exceeds country-level gaps (Jacob, 2015)\\n\\nThe open disagreement is whether monitoring or incentives drive the gap.\",subQueries:[\"management quality India findings\",\"public vs private school outcomes\",\"cross-country management comparisons\"],sources:[{title:\"Scientific Management for the World's Poor\",authors:\"Lemos et al.\",year:2024},{title:\"Improving Schooling Productivity in India\",authors:\"Muralidharan & Singh\",year:2020},{title:\"Policy Implementation in Indian Education\",authors:\"Jacob\",year:2015}],totalSources:12},{user:\"Which papers discuss sub-national policy variation?\",ai:\"Three papers in your library address this directly:\\n- **Jacob (2015)** treats sub-national governance as the primary unit of analysis\\n- **Kennedy (2017)** contrasts state-level reforms in Tamil Nadu and Bihar\\n- **Bloom et al. (2016)** argues neither India nor China has optimized state-level academic governance\\n\\nWant a side-by-side comparison?\",subQueries:[\"sub-national policy analysis\",\"Indian state education reforms\",\"Tamil Nadu vs Bihar governance\"],sources:[{title:\"Policy Implementation in Indian Education\",authors:\"Jacob\",year:2015},{title:\"Sub-national Governance in Indian Education\",authors:\"Kennedy\",year:2017},{title:\"Management as a Technology?\",authors:\"Bloom et al.\",year:2016}],totalSources:7}];export default function InteractiveAIChat(props){const{accentColor=\"rgb(50, 61, 214)\",focusRingColor=\"rgb(199, 210, 254)\",citationColor=\"rgb(51, 102, 204)\",textColor=\"rgb(30, 41, 56)\",mutedColor=\"rgb(105, 114, 130)\",subtleColor=\"rgb(152, 161, 174)\",borderColor=\"rgb(229, 231, 235)\",userBubbleBg=\"rgb(243, 244, 246)\",softBg=\"rgb(249, 250, 251)\",chatBg=\"rgb(249, 250, 251)\",forcedVariant=\"auto\"}=props;const rootRef=useRef(null);const scrollRef=useRef(null);const[variant,setVariant]=useState(\"desktop\");const[isInView,setIsInView]=useState(false);// Chat animation state\nconst[messages,setMessages]=useState([]);const[inputText,setInputText]=useState(\"\");const[typingMsgId,setTypingMsgId]=useState(null);const[typingText,setTypingText]=useState(\"\");const[showSearching,setShowSearching]=useState(false);const[searchQueries,setSearchQueries]=useState([]);const[showActions,setShowActions]=useState(false);const[convoIndex,setConvoIndex]=useState(0);const[sendPulse,setSendPulse]=useState(false);// Mobile drawer: 0 = hidden, 1 = peek, 2 = expanded\nconst[drawerLevel,setDrawerLevel]=useState(0);const withAlpha=(color,alpha)=>{const match=color.match(/\\d+(\\.\\d+)?/g);if(!match||match.length<3)return color;return`rgba(${match[0]}, ${match[1]}, ${match[2]}, ${alpha})`;};// Container width → variant\nuseLayoutEffect(()=>{if(forcedVariant!==\"auto\"){setVariant(forcedVariant);return;}const el=rootRef.current;if(!el)return;const compute=()=>{const w=el.offsetWidth;setVariant(w<640?\"mobile\":w<1024?\"tablet\":\"desktop\");};compute();if(typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(compute);ro.observe(el);return()=>ro.disconnect();},[forcedVariant]);// IntersectionObserver — trigger once\nuseEffect(()=>{if(!rootRef.current)return;if(typeof IntersectionObserver===\"undefined\"){setIsInView(true);return;}const observer=new IntersectionObserver(entries=>{for(const entry of entries){if(entry.isIntersecting){setIsInView(true);observer.disconnect();break;}}},{threshold:.2});observer.observe(rootRef.current);return()=>observer.disconnect();},[]);// Main animation sequence\nuseEffect(()=>{if(!isInView)return;let cancelled=false;const convo=CONVERSATIONS[convoIndex];const sleep=ms=>new Promise(r=>setTimeout(r,ms));const run=async()=>{// On mobile, bring up drawer first\nif(variant===\"mobile\"){await sleep(600);if(cancelled)return;setDrawerLevel(1);await sleep(500);if(cancelled)return;setDrawerLevel(2);await sleep(500);if(cancelled)return;}else{await sleep(850);if(cancelled)return;}// 1. Type question into input\nfor(let i=0;i<=convo.user.length;i++){if(cancelled)return;setInputText(convo.user.slice(0,i));await sleep(42+Math.random()*30);}await sleep(520);if(cancelled)return;// 2. Send\nsetSendPulse(true);await sleep(150);if(cancelled)return;const userId=`u-${convoIndex}-${Date.now()}`;setInputText(\"\");setMessages(prev=>[...prev,{id:userId,role:\"user\",text:convo.user}]);await sleep(220);setSendPulse(false);await sleep(500);if(cancelled)return;// 3. Deep search\nsetSearchQueries([]);setShowSearching(true);await sleep(260);if(cancelled)return;for(let q=0;q<convo.subQueries.length;q++){if(cancelled)return;setSearchQueries(prev=>[...prev,{text:convo.subQueries[q],done:false}]);await sleep(820);if(cancelled)return;setSearchQueries(prev=>prev.map((sq,i)=>i===q?{...sq,done:true}:sq));await sleep(140);if(cancelled)return;}await sleep(520);if(cancelled)return;setShowSearching(false);setSearchQueries([]);await sleep(280);if(cancelled)return;// 4. Stream AI response\nconst aiId=`a-${convoIndex}-${Date.now()}`;setTypingMsgId(aiId);setTypingText(\"\");setMessages(prev=>[...prev,{id:aiId,role:\"ai\",text:\"\"}]);for(let i=0;i<=convo.ai.length;i++){if(cancelled)return;setTypingText(convo.ai.slice(0,i));await sleep(16+Math.random()*11);}setMessages(prev=>prev.map(m=>m.id===aiId?{...m,text:convo.ai}:m));setTypingMsgId(null);setTypingText(\"\");await sleep(360);if(cancelled)return;setShowActions(true);// 5. Hold, then reset\nawait sleep(4400);if(cancelled)return;setShowActions(false);setMessages([]);if(variant===\"mobile\"){setDrawerLevel(0);await sleep(400);if(cancelled)return;}setConvoIndex(prev=>(prev+1)%CONVERSATIONS.length);};run();return()=>{cancelled=true;};},[convoIndex,isInView,variant]);// Auto-scroll chat\nuseEffect(()=>{if(scrollRef.current){scrollRef.current.scrollTop=scrollRef.current.scrollHeight;}},[messages,typingText,showSearching,searchQueries,showActions]);// Inline parser\nfunction parseInline(text){const regex=/(\\*\\*[^*]+\\*\\*)|(\\([A-Z][^()]{0,80}\\d{4}\\))|(\\[doc#[^\\]]+\\])/g;const nodes=[];let lastIndex=0;let match;let key=0;while((match=regex.exec(text))!==null){if(match.index>lastIndex){nodes.push(/*#__PURE__*/_jsx(\"span\",{children:text.slice(lastIndex,match.index)},key++));}const full=match[0];if(full.startsWith(\"**\")){nodes.push(/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:600},children:full.slice(2,-2)},key++));}else{nodes.push(/*#__PURE__*/_jsx(\"span\",{style:{color:citationColor,cursor:\"pointer\"},children:full},key++));}lastIndex=regex.lastIndex;}if(lastIndex<text.length){nodes.push(/*#__PURE__*/_jsx(\"span\",{children:text.slice(lastIndex)},key++));}return nodes;}function renderAI(text){const lines=text.split(\"\\n\");const nodes=[];lines.forEach((line,idx)=>{const trimmed=line.trimStart();const isBullet=trimmed.startsWith(\"- \");const content=isBullet?trimmed.slice(2):line;if(line===\"\"){nodes.push(/*#__PURE__*/_jsx(\"div\",{style:{height:3}},`b${idx}`));}else if(isBullet){nodes.push(/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:5,marginTop:idx===0?0:1},children:[/*#__PURE__*/_jsx(\"span\",{style:{flexShrink:0,lineHeight:1.5,color:textColor},children:\"•\"}),/*#__PURE__*/_jsx(\"span\",{children:parseInline(content)})]},`l${idx}`));}else{nodes.push(/*#__PURE__*/_jsx(\"div\",{style:{marginTop:idx===0?0:2},children:parseInline(content)},`l${idx}`));}});return /*#__PURE__*/_jsx(_Fragment,{children:nodes});}const hasInput=inputText.length>0;const currentConvo=CONVERSATIONS[convoIndex];const visibleSources=currentConvo.sources.slice(0,3);const moreCount=Math.max(0,currentConvo.totalSources-visibleSources.length);const isMobile=variant===\"mobile\";// ---- Shared chat content ----\nconst chatContent=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:6,padding:isMobile?\"7px 12px\":\"7px 10px\",flexShrink:0},children:[!isMobile&&/*#__PURE__*/_jsx(Icon,{name:\"chevrons-right\",size:11,color:mutedColor}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:10,fontWeight:500,flex:1,color:textColor},children:\"AI Chat\"}),/*#__PURE__*/_jsx(Icon,{name:\"clock\",size:11,color:mutedColor}),/*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:\"transparent\",border:`1px solid ${borderColor}`,width:18,height:18,borderRadius:4,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(Icon,{name:\"edit\",size:10,color:mutedColor})})]}),/*#__PURE__*/_jsxs(\"div\",{ref:scrollRef,style:{flex:1,overflowY:\"auto\",padding:\"8px 10px\",display:\"flex\",flexDirection:\"column\",gap:6},children:[messages.map(m=>{const isTypingThis=m.id===typingMsgId;const text=isTypingThis?typingText:m.text;if(m.role===\"user\"){return /*#__PURE__*/_jsx(\"div\",{style:{alignSelf:\"flex-end\",maxWidth:\"88%\",backgroundColor:userBubbleBg,color:textColor,borderRadius:\"10px 10px 2px 10px\",padding:\"5px 9px\",fontSize:9,lineHeight:1.4,animation:\"jenni-msg-in 0.28s cubic-bezier(0.2, 0.8, 0.3, 1)\"},children:text},m.id);}return /*#__PURE__*/_jsx(\"div\",{style:{alignSelf:\"stretch\",fontSize:9.5,lineHeight:1.55,animation:\"jenni-msg-in 0.28s cubic-bezier(0.2, 0.8, 0.3, 1)\"},children:renderAI(text)},m.id);}),showSearching&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:6,paddingTop:2,animation:\"jenni-msg-in 0.26s cubic-bezier(0.2, 0.8, 0.3, 1)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:mutedColor,fontSize:9},children:\"Searching your library…\"}),searchQueries.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:5,paddingLeft:4},children:searchQueries.map((sq,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:6,fontSize:8.75,color:sq.done?mutedColor:textColor,animation:\"jenni-msg-in 0.26s cubic-bezier(0.2, 0.8, 0.3, 1)\"},children:[sq.done?/*#__PURE__*/_jsx(Icon,{name:\"check\",size:10,color:accentColor}):/*#__PURE__*/_jsx(\"div\",{style:{width:10,height:10,borderRadius:\"50%\",border:`1.5px solid ${borderColor}`,borderTopColor:accentColor,animation:\"jenni-spin 0.75s linear infinite\",flexShrink:0,boxSizing:\"border-box\"}}),/*#__PURE__*/_jsx(\"span\",{children:sq.text})]},`${convoIndex}-q-${i}`))})]}),showActions&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:6,marginTop:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:5,color:mutedColor,fontSize:9,animation:\"jenni-msg-in 0.32s cubic-bezier(0.2, 0.8, 0.3, 1)\"},children:[/*#__PURE__*/_jsx(Icon,{name:\"book\",size:10,color:mutedColor}),/*#__PURE__*/_jsxs(\"span\",{children:[currentConvo.totalSources,\" sources from your library\"]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:3},children:[visibleSources.map((src,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:1,padding:\"5px 7px\",border:`1px solid ${borderColor}`,borderRadius:5,backgroundColor:\"white\",animation:`jenni-msg-in 0.34s cubic-bezier(0.2, 0.8, 0.3, 1) ${i*.11}s both`},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:9.5,fontWeight:600,color:textColor,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\",lineHeight:1.3},children:src.title}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:8.5,color:mutedColor},children:[src.authors,\" \\xb7 \",src.year]})]},`${convoIndex}-${i}`)),moreCount>0&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:9,color:mutedColor,padding:\"1px 3px\",animation:`jenni-msg-in 0.34s cubic-bezier(0.2, 0.8, 0.3, 1) ${visibleSources.length*.11}s both`},children:[\"+ \",moreCount,\" more\"]})]})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:4,padding:\"4px 10px 6px\",flexShrink:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:18,height:18,borderRadius:9,border:`1px solid ${borderColor}`,backgroundColor:\"white\",flexShrink:0},children:/*#__PURE__*/_jsx(Icon,{name:\"plus\",size:9,color:mutedColor})}),/*#__PURE__*/_jsx(Chip,{label:\"My library\",borderColor:borderColor,textColor:textColor,icon:\"book\",mutedColor:mutedColor}),/*#__PURE__*/_jsx(Chip,{label:\"Current document\",borderColor:borderColor,textColor:textColor,icon:\"doc\",rightIcon:\"x\",mutedColor:mutedColor})]}),/*#__PURE__*/_jsxs(\"div\",{style:{margin:\"0 10px 10px\",border:`1px solid ${hasInput?accentColor:borderColor}`,borderRadius:8,padding:\"7px 8px\",backgroundColor:\"white\",flexShrink:0,boxShadow:hasInput?`0 0 0 3px ${focusRingColor}`:\"none\",transition:\"border-color 0.2s ease, box-shadow 0.2s ease\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:9,color:textColor,minHeight:11,lineHeight:1.3,marginBottom:7,overflow:\"hidden\",whiteSpace:\"nowrap\",textOverflow:\"ellipsis\"},children:hasInput?/*#__PURE__*/_jsxs(_Fragment,{children:[inputText,/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",width:1.5,height:9,backgroundColor:accentColor,marginLeft:1,verticalAlign:\"middle\",animation:\"jenni-cursor 0.9s step-end infinite\"}})]}):/*#__PURE__*/_jsx(\"span\",{style:{color:mutedColor},children:\"Ask AI, use @ to mention PDFs or / for prompts\"})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:7},children:[/*#__PURE__*/_jsx(Icon,{name:\"paperclip\",size:12,color:mutedColor}),/*#__PURE__*/_jsx(Icon,{name:\"image\",size:12,color:mutedColor}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1}}),/*#__PURE__*/_jsx(Icon,{name:\"sliders\",size:12,color:mutedColor}),/*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:hasInput?accentColor:withAlpha(accentColor,.55),width:20,height:20,borderRadius:\"50%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transform:sendPulse?\"scale(0.88)\":\"scale(1)\",transition:\"background-color 0.2s ease, transform 0.15s ease\",flexShrink:0},children:/*#__PURE__*/_jsx(Icon,{name:\"arrow-up\",size:11,color:\"white\"})})]})]})]});// ---- Editor panel (placeholder lines) ----\nconst editorLines=[72,63,81,40,60];const editorLines2=[73,70,49,34,64,64];const editorLines3=[73,70,49,34,64,64];const editorPanel=/*#__PURE__*/_jsx(\"div\",{style:{flex:isMobile?undefined:1,width:isMobile?\"100%\":undefined,height:isMobile?\"100%\":undefined,backgroundColor:\"white\",borderRight:isMobile?\"none\":`1px solid ${borderColor}`,display:\"flex\",flexDirection:\"column\",minWidth:0,overflow:\"hidden\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,padding:isMobile?\"16px 20px\":\"16px 16px\",display:\"flex\",flexDirection:\"column\",gap:32,overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:isMobile?16:18,fontWeight:600,color:textColor,lineHeight:1.3},children:\"Paper Draft\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:editorLines.map((w,i)=>/*#__PURE__*/_jsx(\"div\",{style:{width:`${w}%`,height:10,backgroundColor:softBg,borderRadius:2}},`a${i}`))})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:editorLines2.map((w,i)=>/*#__PURE__*/_jsx(\"div\",{style:{width:`${w}%`,height:10,backgroundColor:softBg,borderRadius:2}},`b${i}`))}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:editorLines3.map((w,i)=>/*#__PURE__*/_jsx(\"div\",{style:{width:`${w}%`,height:10,backgroundColor:softBg,borderRadius:2}},`c${i}`))})]})});// ---- Drawer (mobile) ----\nconst drawerTranslateY=drawerLevel===0?\"100%\":drawerLevel===1?\"calc(100% - 48px)\":\"0%\";return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",backgroundColor:\"white\",boxSizing:\"border-box\",fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\",overflow:\"hidden\",fontSize:9,color:textColor,borderRadius:8,boxShadow:\"0 12px 24px -8px rgba(16, 24, 40, 0.08), 0 0 0 1px rgba(16, 24, 40, 0.04)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{height:28,padding:\"0 12px\",backgroundColor:softBg,borderBottom:`1px solid ${borderColor}`,display:\"flex\",alignItems:\"center\",gap:5,flexShrink:0},children:[\"rgb(238, 106, 95)\",\"rgb(245, 189, 79)\",\"rgb(97, 196, 84)\"].map((c,i)=>/*#__PURE__*/_jsx(\"div\",{style:{width:8,height:8,borderRadius:\"50%\",backgroundColor:c}},i))}),isMobile?/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,position:\"relative\",overflow:\"hidden\"},children:[editorPanel,/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:0,right:0,bottom:0,height:\"85%\",backgroundColor:\"white\",borderTop:`1px solid ${borderColor}`,borderRadius:\"16px 16px 0 0\",boxShadow:\"0 -8px 24px rgba(16, 24, 40, 0.10)\",transform:`translateY(${drawerTranslateY})`,transition:\"transform 0.55s cubic-bezier(0.32, 0.72, 0, 1)\",display:\"flex\",flexDirection:\"column\",overflow:\"hidden\",zIndex:2},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:36,height:4,borderRadius:2,backgroundColor:\"rgb(209, 213, 220)\",margin:\"8px auto 6px\",flexShrink:0}}),chatContent]})]}):/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,display:\"flex\",overflow:\"hidden\"},children:[editorPanel,/*#__PURE__*/_jsx(\"div\",{style:{width:variant===\"tablet\"?\"50%\":\"45%\",backgroundColor:chatBg,display:\"flex\",flexDirection:\"column\",flexShrink:0,overflow:\"hidden\"},children:chatContent})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes jenni-msg-in {\n                    from { opacity: 0; transform: translateY(4px); }\n                    to { opacity: 1; transform: translateY(0); }\n                }\n                @keyframes jenni-cursor {\n                    0%, 50% { opacity: 1; }\n                    51%, 100% { opacity: 0; }\n                }\n                @keyframes jenni-spin {\n                    from { transform: rotate(0deg); }\n                    to { transform: rotate(360deg); }\n                }\n            `})]});}// ---------- Small helper components ----------\nfunction Icon({name,size,color}){const paths={\"chevrons-right\":/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"polyline\",{points:\"13 17 18 12 13 7\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"6 17 11 12 6 7\"})]}),clock:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"10\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"12 6 12 12 16 14\"})]}),edit:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 20h9\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z\"})]}),plus:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"5\",x2:\"12\",y2:\"19\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"5\",y1:\"12\",x2:\"19\",y2:\"12\"})]}),x:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"line\",{x1:\"18\",y1:\"6\",x2:\"6\",y2:\"18\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"6\",y1:\"6\",x2:\"18\",y2:\"18\"})]}),check:/*#__PURE__*/_jsx(\"polyline\",{points:\"20 6 9 17 4 12\"}),doc:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"14 2 14 8 20 8\"})]}),book:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M4 19.5A2.5 2.5 0 0 1 6.5 17H20\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z\"})]}),paperclip:/*#__PURE__*/_jsx(\"path\",{d:\"M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48\"}),image:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"3\",width:\"18\",height:\"18\",rx:\"2\",ry:\"2\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"8.5\",cy:\"8.5\",r:\"1.5\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"21 15 16 10 5 21\"})]}),sliders:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"line\",{x1:\"4\",y1:\"21\",x2:\"4\",y2:\"14\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"4\",y1:\"10\",x2:\"4\",y2:\"3\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"21\",x2:\"12\",y2:\"12\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"8\",x2:\"12\",y2:\"3\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"20\",y1:\"21\",x2:\"20\",y2:\"16\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"20\",y1:\"12\",x2:\"20\",y2:\"3\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"1\",y1:\"14\",x2:\"7\",y2:\"14\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"9\",y1:\"8\",x2:\"15\",y2:\"8\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"17\",y1:\"16\",x2:\"23\",y2:\"16\"})]}),\"arrow-up\":/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"19\",x2:\"12\",y2:\"5\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"5 12 12 5 19 12\"})]})};return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flexShrink:0},children:paths[name]});}function Chip({label,borderColor,textColor,mutedColor,icon,rightIcon}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:4,padding:\"2px 7px\",borderRadius:10,border:`1px solid ${borderColor}`,fontSize:9,color:textColor,whiteSpace:\"nowrap\",backgroundColor:\"white\"},children:[icon&&/*#__PURE__*/_jsx(Icon,{name:icon,size:9,color:textColor}),/*#__PURE__*/_jsx(\"span\",{children:label}),rightIcon&&/*#__PURE__*/_jsx(Icon,{name:rightIcon,size:9,color:mutedColor})]});}addPropertyControls(InteractiveAIChat,{forcedVariant:{type:ControlType.Enum,title:\"Variant\",options:[\"auto\",\"desktop\",\"tablet\",\"mobile\"],optionTitles:[\"Auto\",\"Desktop\",\"Tablet\",\"Mobile\"],defaultValue:\"auto\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"rgb(50, 61, 214)\"},focusRingColor:{type:ControlType.Color,title:\"Focus Ring\",defaultValue:\"rgb(199, 210, 254)\"},citationColor:{type:ControlType.Color,title:\"Citation\",defaultValue:\"rgb(51, 102, 204)\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"rgb(30, 41, 56)\"},mutedColor:{type:ControlType.Color,title:\"Muted\",defaultValue:\"rgb(105, 114, 130)\"},subtleColor:{type:ControlType.Color,title:\"Subtle\",defaultValue:\"rgb(152, 161, 174)\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgb(229, 231, 235)\"},userBubbleBg:{type:ControlType.Color,title:\"User Bubble\",defaultValue:\"rgb(243, 244, 246)\"},softBg:{type:ControlType.Color,title:\"Soft BG\",defaultValue:\"rgb(249, 250, 251)\"},chatBg:{type:ControlType.Color,title:\"Chat BG\",defaultValue:\"rgb(249, 250, 251)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InteractiveAIChat\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InteractiveAIChat.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Interactive Source Attribution — Jenni AI Landing Page\n *\n * Demonstrates Jenni showing exactly where a quoted claim originated in\n * the source PDF. A cursor hops between citations (1)(2)(3) in a\n * literature review; each one lands on a different kind of PDF\n * content — a paragraph line in the Introduction, a row in the\n * Methodology table, a bar in the Results figure.\n *\n * Only begins animating once the component is scrolled into view.\n *\n * Responsive behaviour\n * ---------------------\n * Below ~480px wide the two panels stack vertically (document on top,\n * PDF underneath) instead of side-by-side. The decorative References\n * list is hidden, paragraph/section spacing is tightened, and the\n * chart shrinks a little so all three PDF cards still fit in the\n * available height.\n *\n * On tablet/desktop the left document panel takes ~36% of the\n * available width (clamped between 241 and 300px) rather than a\n * fixed 241px. A fixed sidebar made the PDF panel feel oversized at\n * tablet widths; a proportional split keeps the two panels visually\n * balanced across the whole non-narrow range while still preventing\n * the sidebar from ballooning on very wide containers.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function InteractiveSourceAttribution(props){const{accentColor=\"rgb(50, 61, 214)\",highlightBg=\"rgba(254, 240, 138, 0.95)\",highlightBorder=\"rgb(234, 179, 8)\",mutedBar=\"rgb(229, 231, 235)\",textColor=\"rgb(30, 41, 56)\",mutedColor=\"rgb(105, 114, 130)\",borderColor=\"rgb(229, 231, 235)\",pdfBg=\"rgb(249, 250, 251)\",pdfBadgeColor=\"rgb(220, 38, 38)\",chartBarColor=\"rgb(152, 161, 174)\"}=props;// Three citations, each landing on a different kind of PDF content.\nconst citations=[{number:1,label:\"1. Introduction\",type:\"prose\",bars:[1,1,.92],highlightIdx:[1,2]},{number:2,label:\"2. Methodology\",type:\"table\",columns:[\"Cohort\",\"N\",\"Δ HbA1c\"],rows:[[\"Ketogenic\",\"24\",\"−1.2%\"],[\"Low-fat\",\"26\",\"−0.4%\"],[\"Control\",\"25\",\"−0.1%\"]],highlightIdx:[0,1]},{number:3,label:\"3. Results\",type:\"figure\",bars:[.92,.38,.14],barLabels:[\"Keto\",\"LF\",\"Ctrl\"],caption:\"Fig. 1. HbA1c change by cohort at 12 weeks.\",highlightIdx:[0]}];const paragraphs=[{bars:[.9,.78,.72],citationIdx:0},{bars:[.85,.7,.52],citationIdx:1},{bars:[.92,.76,.58],citationIdx:2}];// Skeleton lines for the References list at the bottom of the editor.\n// Each entry is a hanging-indent stack — one near-full line + one shorter.\nconst references=[[1,.65],[.95,.58],[1,.72]];const[activeIdx,setActiveIdx]=useState(-1);const[cursorVisible,setCursorVisible]=useState(false);const[cursorPos,setCursorPos]=useState({x:500,y:330});const[cursorClick,setCursorClick]=useState(false);const[isInView,setIsInView]=useState(false);const[isNarrow,setIsNarrow]=useState(false);const rootRef=useRef(null);const citationRefs=useRef([]);// Viewport-triggered animation\nuseEffect(()=>{if(!rootRef.current)return;if(typeof IntersectionObserver===\"undefined\"){setIsInView(true);return;}const observer=new IntersectionObserver(entries=>{for(const entry of entries){if(entry.isIntersecting){setIsInView(true);observer.disconnect();break;}}},{threshold:.25});observer.observe(rootRef.current);return()=>observer.disconnect();},[]);// Width-based responsive mode. Uses ResizeObserver so the layout\n// responds to the component's actual rendered width, not the\n// window's — important inside Framer where the component can be\n// placed in containers of any size.\nuseEffect(()=>{if(!rootRef.current)return;if(typeof ResizeObserver===\"undefined\")return;const obs=new ResizeObserver(entries=>{for(const e of entries){setIsNarrow(e.contentRect.width<480);}});obs.observe(rootRef.current);return()=>obs.disconnect();},[]);const getCitationPos=idx=>{const el=citationRefs.current[idx];const container=rootRef.current;if(!el||!container)return null;const e=el.getBoundingClientRect();const c=container.getBoundingClientRect();// Offset the tip slightly past the badge center — the arrow's hotspot\n// is at the top-left, so we nudge x/y by a few px.\nreturn{x:e.left-c.left+e.width/2-3,y:e.top-c.top+e.height/2-3};};// Idle pose — previously hardcoded to (520, 320), which fell off\n// the canvas on mobile. Compute it from the container bounds so\n// the cursor always rests just inside the bottom-right corner.\nconst getIdlePos=()=>{const el=rootRef.current;if(!el)return{x:500,y:320};const r=el.getBoundingClientRect();return{x:Math.max(20,r.width-60),y:Math.max(20,r.height-50)};};useEffect(()=>{if(!isInView)return;let cancelled=false;const sleep=ms=>new Promise(r=>setTimeout(r,ms));const run=async()=>{setCursorPos(getIdlePos());setCursorVisible(false);setActiveIdx(-1);await sleep(500);if(cancelled)return;setCursorVisible(true);await sleep(300);if(cancelled)return;while(!cancelled){for(let i=0;i<citations.length;i++){if(cancelled)return;// Travel to the citation\nconst pos=getCitationPos(i);if(pos)setCursorPos(pos);await sleep(750);if(cancelled)return;// Click pulse, then highlight\nsetCursorClick(true);await sleep(110);if(cancelled)return;setActiveIdx(i);await sleep(140);setCursorClick(false);// Hold so the viewer can read the highlight\nawait sleep(1700);if(cancelled)return;}// Return cursor to idle pose, clear highlights, loop\nsetActiveIdx(-1);setCursorPos(getIdlePos());await sleep(900);if(cancelled)return;}};run();return()=>{cancelled=true;};},[isInView,isNarrow]);return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",borderRadius:4,overflow:\"hidden\",fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\",backgroundColor:\"white\",display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:\"rgb(243, 244, 246)\",padding:\"6px 12px\",display:\"flex\",gap:3,flexShrink:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:8,height:8,borderRadius:\"50%\",backgroundColor:\"rgba(238, 106, 95, 1)\"}}),/*#__PURE__*/_jsx(\"div\",{style:{width:8,height:8,borderRadius:\"50%\",backgroundColor:\"rgba(245, 189, 79, 1)\"}}),/*#__PURE__*/_jsx(\"div\",{style:{width:8,height:8,borderRadius:\"50%\",backgroundColor:\"rgba(97, 196, 84, 1)\"}})]}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,display:\"flex\",flexDirection:isNarrow?\"column\":\"row\",overflow:\"hidden\",minHeight:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{width:isNarrow?\"100%\":\"36%\",minWidth:isNarrow?undefined:241,maxWidth:isNarrow?undefined:300,backgroundColor:\"white\",padding:isNarrow?\"10px 14px\":16,display:\"flex\",flexDirection:\"column\",gap:isNarrow?10:22,borderRight:isNarrow?\"none\":`1px solid ${borderColor}`,borderBottom:isNarrow?`1px solid ${borderColor}`:\"none\",flexShrink:0,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:11,fontWeight:600,color:textColor},children:\"Literature Review\"}),paragraphs.map((p,i)=>/*#__PURE__*/_jsx(Paragraph,{bars:p.bars,citationNumber:citations[p.citationIdx].number,active:activeIdx===p.citationIdx,compact:isNarrow,onRef:el=>{citationRefs.current[p.citationIdx]=el;},accentColor:accentColor,textColor:textColor,mutedBar:mutedBar},i)),!isNarrow&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:10,paddingTop:4,borderTop:`1px solid ${borderColor}`},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:10,fontWeight:600,color:textColor,letterSpacing:.2,paddingTop:6},children:\"References\"}),references.map((widths,i)=>/*#__PURE__*/_jsx(ReferenceItem,{number:i+1,widths:widths,mutedBar:mutedBar,mutedColor:mutedColor},i))]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,backgroundColor:pdfBg,padding:isNarrow?10:12,display:\"flex\",flexDirection:\"column\",gap:isNarrow?6:8,overflow:\"hidden\",minHeight:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:5,justifyContent:\"start\",flexShrink:0},children:[/*#__PURE__*/_jsx(PdfBadge,{bgColor:pdfBadgeColor}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:9,color:textColor,fontWeight:500},children:\"Ketogenic Diets and Glycemic Control\"})]}),citations.map((c,i)=>{const active=activeIdx===i;if(c.type===\"prose\"){return /*#__PURE__*/_jsx(ProseSection,{title:c.label,bars:c.bars,highlightIdx:c.highlightIdx,active:active,compact:isNarrow,highlightBg:highlightBg,highlightBorder:highlightBorder,mutedBar:mutedBar,borderColor:borderColor,textColor:textColor},i);}if(c.type===\"table\"){return /*#__PURE__*/_jsx(TableSection,{title:c.label,columns:c.columns,rows:c.rows,highlightIdx:c.highlightIdx,active:active,compact:isNarrow,highlightBg:highlightBg,highlightBorder:highlightBorder,borderColor:borderColor,textColor:textColor,mutedColor:mutedColor},i);}return /*#__PURE__*/_jsx(FigureSection,{title:c.label,bars:c.bars,barLabels:c.barLabels,caption:c.caption,highlightIdx:c.highlightIdx,active:active,compact:isNarrow,highlightBg:highlightBg,highlightBorder:highlightBorder,borderColor:borderColor,textColor:textColor,mutedColor:mutedColor,chartBarColor:chartBarColor},i);})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:0,top:0,width:20,height:20,transform:`translate(${cursorPos.x}px, ${cursorPos.y}px) scale(${cursorClick?.85:1})`,transition:\"transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease\",opacity:cursorVisible?1:0,pointerEvents:\"none\",zIndex:10,filter:\"drop-shadow(0 2px 4px rgba(16, 24, 40, 0.25))\"},children:[/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5.5 3.5 L5.5 17.5 L9 14.5 L11.5 20 L14 19 L11.5 13.5 L17 13.5 Z\",fill:\"white\",stroke:\"rgb(30, 41, 56)\",strokeWidth:\"1.4\",strokeLinejoin:\"round\"})}),cursorClick&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:-4,top:-4,width:18,height:18,borderRadius:\"50%\",border:`2px solid ${accentColor}`,animation:\"jenni-ripple 0.55s ease-out\",pointerEvents:\"none\"}})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes jenni-ripple {\n                    from { transform: scale(0.5); opacity: 0.8; }\n                    to { transform: scale(2.3); opacity: 0; }\n                }\n            `})]});}function Paragraph({bars,citationNumber,active,compact,onRef,accentColor,textColor,mutedBar}){const lastIdx=bars.length-1;const barHeight=compact?6:8;const badgeSize=compact?14:16;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:compact?4:6},children:[bars.slice(0,lastIdx).map((w,i)=>/*#__PURE__*/_jsx(\"div\",{style:{width:`${w*100}%`,height:barHeight,backgroundColor:mutedBar,borderRadius:2}},i)),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:4},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:`${bars[lastIdx]*100}%`,height:barHeight,backgroundColor:mutedBar,borderRadius:2}}),/*#__PURE__*/_jsx(\"div\",{ref:onRef,style:{minWidth:badgeSize,height:badgeSize,borderRadius:4,backgroundColor:active?accentColor:\"rgb(243, 244, 246)\",color:active?\"white\":textColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:compact?8:9,fontWeight:600,padding:\"0 4px\",transition:\"background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease\",transform:active?\"scale(1.1)\":\"scale(1)\",boxShadow:active?`0 0 0 3px ${rgba(accentColor,.18)}`:\"none\"},children:citationNumber})]})]});}// One skeleton entry in the References list — numbered prefix + hanging-indent bars.\nfunction ReferenceItem({number,widths,mutedBar,mutedColor}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:6,alignItems:\"flex-start\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:9,color:mutedColor,fontWeight:600,minWidth:10,lineHeight:1,paddingTop:1,fontVariantNumeric:\"tabular-nums\"},children:[number,\".\"]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:4,flex:1},children:widths.map((w,j)=>/*#__PURE__*/_jsx(\"div\",{style:{width:`${w*100}%`,height:6,backgroundColor:mutedBar,borderRadius:2}},j))})]});}// Shared outer card used by all three PDF section types.\nfunction SectionCard({title,active,compact,highlightBorder,borderColor,textColor,children}){return /*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:\"white\",borderRadius:6,border:`1px solid ${active?highlightBorder:borderColor}`,padding:compact?6:8,display:\"flex\",flexDirection:\"column\",gap:compact?5:7,transition:\"border-color 0.3s ease, box-shadow 0.3s ease\",boxShadow:active?`0 0 0 3px ${rgba(highlightBorder,.2)}`:\"none\",flexShrink:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:9,color:textColor,fontWeight:600},children:title}),children]});}function ProseSection({title,bars,highlightIdx,active,compact,highlightBg,highlightBorder,mutedBar,borderColor,textColor}){return /*#__PURE__*/_jsx(SectionCard,{title:title,active:active,compact:compact,highlightBorder:highlightBorder,borderColor:borderColor,textColor:textColor,children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:compact?4:5},children:bars.map((w,i)=>{const isHighlighted=active&&highlightIdx.includes(i);return /*#__PURE__*/_jsx(\"div\",{style:{width:`${w*100}%`,height:compact?6:8,backgroundColor:isHighlighted?highlightBg:mutedBar,borderRadius:2,transition:\"background-color 0.35s ease\"}},i);})})});}function TableSection({title,columns,rows,highlightIdx,active,compact,highlightBg,highlightBorder,borderColor,textColor,mutedColor}){const gridTemplate=\"1.3fr 0.5fr 0.7fr\";return /*#__PURE__*/_jsx(SectionCard,{title:title,active:active,compact:compact,highlightBorder:highlightBorder,borderColor:borderColor,textColor:textColor,children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",border:`1px solid ${borderColor}`,borderRadius:3,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:gridTemplate,backgroundColor:\"rgb(249, 250, 251)\",borderBottom:`1px solid ${borderColor}`},children:columns.map((col,i)=>/*#__PURE__*/_jsx(\"div\",{style:{padding:compact?\"2px 5px\":\"3px 6px\",fontSize:8,fontWeight:700,color:mutedColor,letterSpacing:.3,textTransform:\"uppercase\",textAlign:i===0?\"left\":\"right\",borderRight:i<columns.length-1?`1px solid ${borderColor}`:\"none\",fontVariantNumeric:\"tabular-nums\"},children:col},i))}),rows.map((row,rIdx)=>{const isHighlighted=active&&highlightIdx.includes(rIdx);const isLast=rIdx===rows.length-1;return /*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:gridTemplate,backgroundColor:isHighlighted?highlightBg:\"white\",borderBottom:isLast?\"none\":`1px solid ${borderColor}`,transition:\"background-color 0.35s ease\"},children:row.map((cell,cIdx)=>/*#__PURE__*/_jsx(\"div\",{style:{padding:compact?\"3px 5px\":\"4px 6px\",fontSize:8.5,color:textColor,textAlign:cIdx===0?\"left\":\"right\",borderRight:cIdx<row.length-1?`1px solid ${borderColor}`:\"none\",fontVariantNumeric:\"tabular-nums\"},children:cell},cIdx))},rIdx);})]})});}function FigureSection({title,bars,barLabels,caption,highlightIdx,active,compact,highlightBg,highlightBorder,borderColor,textColor,mutedColor,chartBarColor}){const chartHeight=compact?40:56;return /*#__PURE__*/_jsxs(SectionCard,{title:title,active:active,compact:compact,highlightBorder:highlightBorder,borderColor:borderColor,textColor:textColor,children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"flex-end\",justifyContent:\"space-around\",height:chartHeight,padding:\"0 8px\",borderBottom:`1px solid ${mutedColor}`},children:bars.map((h,i)=>{const isHighlighted=active&&highlightIdx.includes(i);return /*#__PURE__*/_jsx(\"div\",{style:{width:compact?16:20,height:`${Math.max(h*100,4)}%`,backgroundColor:isHighlighted?highlightBg:chartBarColor,borderTop:isHighlighted?`1px solid ${highlightBorder}`:\"none\",borderLeft:isHighlighted?`1px solid ${highlightBorder}`:\"none\",borderRight:isHighlighted?`1px solid ${highlightBorder}`:\"none\",borderRadius:\"2px 2px 0 0\",transition:\"background-color 0.35s ease, border-color 0.35s ease, height 0.35s ease\"}},i);})}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"space-around\",padding:\"0 8px\"},children:barLabels.map((l,i)=>/*#__PURE__*/_jsx(\"div\",{style:{width:compact?16:20,fontSize:7.5,color:mutedColor,textAlign:\"center\",fontVariantNumeric:\"tabular-nums\"},children:l},i))}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:7.5,color:mutedColor,fontStyle:\"italic\",lineHeight:1.45,paddingTop:4,borderTop:`1px solid ${borderColor}`},children:caption})]});}function PdfBadge({bgColor}){return /*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:bgColor,color:\"white\",fontSize:7,fontWeight:700,letterSpacing:.4,padding:\"2px 4px\",borderRadius:2,lineHeight:1,fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\",flexShrink:0,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\"},children:\"PDF\"});}// Tiny helper — turns an rgb/rgba color string into one with the given alpha.\nfunction rgba(input,alpha){const match=input.match(/\\d+(\\.\\d+)?/g);if(!match||match.length<3)return input;const[r,g,b]=match;return`rgba(${r}, ${g}, ${b}, ${alpha})`;}addPropertyControls(InteractiveSourceAttribution,{accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"rgb(50, 61, 214)\"},highlightBg:{type:ControlType.Color,title:\"Highlight BG\",defaultValue:\"rgba(254, 240, 138, 0.95)\"},highlightBorder:{type:ControlType.Color,title:\"Highlight Border\",defaultValue:\"rgb(234, 179, 8)\"},mutedBar:{type:ControlType.Color,title:\"Muted Bar\",defaultValue:\"rgb(229, 231, 235)\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"rgb(30, 41, 56)\"},mutedColor:{type:ControlType.Color,title:\"Muted Text\",defaultValue:\"rgb(105, 114, 130)\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgb(229, 231, 235)\"},pdfBg:{type:ControlType.Color,title:\"PDF BG\",defaultValue:\"rgb(249, 250, 251)\"},pdfBadgeColor:{type:ControlType.Color,title:\"PDF Badge\",defaultValue:\"rgb(220, 38, 38)\"},chartBarColor:{type:ControlType.Color,title:\"Chart Bars\",defaultValue:\"rgb(152, 161, 174)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InteractiveSourceAttribution\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InteractiveSourceAttribution.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Interactive Source Search — Jenni AI Landing Page\n *\n * Only begins animating once it's scrolled into view.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function InteractiveSourceSearch(props){const{accentColor=\"rgb(50, 61, 214)\",focusRingColor=\"rgb(199, 210, 254)\",journalColor=\"rgb(22, 130, 93)\",openAccessColor=\"rgb(234, 88, 12)\",pageBg=\"rgba(255,255,255,0)\",textColor=\"rgb(30, 41, 56)\",mutedColor=\"rgb(105, 114, 130)\",subtleColor=\"rgb(152, 161, 174)\",borderColor=\"rgb(229, 231, 235)\",cardBg=\"rgb(255, 255, 255)\",chipBg=\"rgb(243, 244, 246)\"}=props;// Convert any color string that starts \"rgb(r, g, b)\" or \"rgba(r, g, b, a)\"\n// into an rgba() with the given alpha. Falls back to the original if we\n// can't parse it — keeps the component resilient to arbitrary user input.\nconst withAlpha=(color,alpha)=>{const match=color.match(/\\d+(\\.\\d+)?/g);if(!match||match.length<3)return color;return`rgba(${match[0]}, ${match[1]}, ${match[2]}, ${alpha})`;};const sources=[{name:\"My library\"},{name:\"Semantic Scholar\"},{name:\"PubMed\"},{name:\"arXiv\"},{name:\"CrossRef\"}];const searches=[{query:\"Ketogenic diet and longevity\",papers:[{type:\"Article\",title:\"Ketogenic diet improves mitochondrial function in aging mice models\",authors:\"Smith, Johnson, Patel, Lee\",journal:\"Cell Metabolism\",year:\"2023\",impactFactor:29,openAccess:true,abstract:\"We show that a 12-week cyclical ketogenic regimen restored mitochondrial respiratory capacity in aged murine hepatocytes, with β-hydroxybutyrate as the key eff...\"},{type:\"Review\",title:\"Caloric restriction vs ketogenic diet: a systematic meta-analysis\",authors:\"Chen, Park, Miyamoto, Rao\",journal:\"Nature Aging\",year:\"2024\",impactFactor:16.6,openAccess:true,abstract:\"Pooled data from 24 randomized controlled trials (n = 3,411) indicate ketogenic diets and caloric restriction produce comparable effects on markers of cell...\"},{type:\"Article\",title:\"β-hydroxybutyrate signaling and healthspan in model organisms\",authors:\"Veech, Newman, Verdin\",journal:\"Annual Review of Nutrition\",year:\"2022\",impactFactor:11.8,openAccess:false,abstract:\"Beyond its role as an energy substrate, β-hydroxybutyrate functions as a signaling metabolite regulating histone deacetylases and inflammasome activity...\"},{type:\"Article\",title:\"Time-restricted eating augments ketogenic metabolic adaptation in middle-aged adults\",authors:\"Varady, Cienfuegos, Gabel\",journal:\"Cell Reports Medicine\",year:\"2024\",impactFactor:11.7,openAccess:true,abstract:\"A 10-week randomized trial (n = 192) found that combining 16:8 time-restricted eating with a ketogenic diet produced 1.8\\xd7 greater reductions in visceral adip...\"},{type:\"Review\",title:\"Ketone bodies as epigenetic modulators in cellular senescence\",authors:\"Newman, Verdin, Shimazu\",journal:\"Cell Metabolism\",year:\"2023\",impactFactor:29,openAccess:false,abstract:\"β-hydroxybutyrate inhibits class I histone deacetylases at physiological concentrations, driving histone β-hydroxybutyrylation at loci regulating the senesce...\"}]},{query:\"Large language models in education\",papers:[{type:\"Article\",title:\"ChatGPT in higher education: a systematic review of adoption patterns\",authors:\"Kasneci, Se\\xdfler, K\\xfcchemann, Bannert\",journal:\"Learning and Individual Differences\",year:\"2023\",impactFactor:4.58,openAccess:true,abstract:\"We review 74 empirical studies on LLM integration in higher education, finding consistent gains in writing fluency and ideation but mixed effects on crit...\"},{type:\"Article\",title:\"LLMs for personalized learning pathways in STEM undergraduate courses\",authors:\"Nguyen, Rodriguez, Ahmed, Vasquez\",journal:\"Computers & Education\",year:\"2024\",impactFactor:11.2,openAccess:false,abstract:\"Across a 16-week field study with 1,284 undergraduates, an LLM-tutored cohort showed 23% faster mastery of calculus concepts compared to a control using t...\"},{type:\"Perspective\",title:\"Generative AI and the future of scholarly writing instruction\",authors:\"Ortega, Wei, Lindholm\",journal:\"Educational Review\",year:\"2024\",impactFactor:5.4,openAccess:true,abstract:\"We argue that instructor pedagogy, not the availability of generative tools themselves, is the strongest determinant of whether LLM use enhances or dim...\"},{type:\"Article\",title:\"Hallucination rates in AI-assisted student essay writing: a 2,400-sample audit\",authors:\"Alkaissi, McFarlane, Gupta\",journal:\"Computers & Education: Artificial Intelligence\",year:\"2024\",impactFactor:4.1,openAccess:true,abstract:\"Across 2,412 student essays produced with LLM assistance, 13.4% contained fabricated citations and 6.1% included unverifiable statistical claims, with detec...\"},{type:\"Perspective\",title:\"Authorship, authority, and the chatbot: rethinking academic integrity\",authors:\"Eaton, Mills, Cotton\",journal:\"Higher Education Research & Development\",year:\"2024\",impactFactor:2.7,openAccess:true,abstract:\"We argue that the binary of 'cheating' versus 'legitimate use' misframes the question. Instead, we propose a four-tier taxonomy of LLM integration that dist...\"}]},{query:\"CRISPR gene therapy ethics\",papers:[{type:\"Perspective\",title:\"Germline editing: where do we draw the line in 2024?\",authors:\"Baltimore, Doudna, Charo, Berg\",journal:\"Science\",year:\"2023\",impactFactor:56.9,openAccess:false,abstract:\"Fourteen years after the He Jiankui incident, international governance for heritable human genome editing remains fragmented. We survey existing framewo...\"},{type:\"Article\",title:\"Public perceptions of CRISPR technology across 16 countries\",authors:\"Huang, Zhou, Ivanov, Okonkwo\",journal:\"Nature Biotechnology\",year:\"2024\",impactFactor:46.9,openAccess:true,abstract:\"A survey of 31,200 respondents reveals a 22-point gap between support for somatic and germline applications, with religious affiliation and income as the...\"},{type:\"Review\",title:\"Equity in access to gene therapies: a global review\",authors:\"Mensah, Patel, Okeke\",journal:\"Bioethics\",year:\"2023\",impactFactor:3.1,openAccess:true,abstract:\"Current pricing of approved ex vivo gene therapies (median USD 2.1M per patient) places them out of reach for 94% of the global eligible population, rai...\"},{type:\"Article\",title:\"Somatic base-editing in sickle cell disease: 28-month follow-up of 31 patients\",authors:\"Frangoul, Altshuler, Mapara\",journal:\"New England Journal of Medicine\",year:\"2024\",impactFactor:158.5,openAccess:false,abstract:\"Thirty-one patients followed for a median of 28 months after CRISPR-Cas9 edited autologous cell infusion showed sustained fetal hemoglobin induction (mean 4...\"},{type:\"Perspective\",title:\"After He Jiankui: five years of international governance inertia\",authors:\"Lander, Baylis, Zhang\",journal:\"Nature\",year:\"2024\",impactFactor:50.5,openAccess:false,abstract:\"Five years after the births of Lulu and Nana, no binding international treaty governs heritable genome editing. We review proposals from the WHO, the Internat...\"}]}];const[searchIndex,setSearchIndex]=useState(0);const[inputText,setInputText]=useState(\"\");const[phase,setPhase]=useState(\"typing\");const[activeSourceIdx,setActiveSourceIdx]=useState(-1);const[shownPapers,setShownPapers]=useState(0);const[sendPulse,setSendPulse]=useState(false);const[resultCount,setResultCount]=useState(0);const[searchTime,setSearchTime]=useState(\"0.00\");const[isInView,setIsInView]=useState(false);const rootRef=useRef(null);// Trigger animation only when the component enters the viewport.\nuseEffect(()=>{if(!rootRef.current)return;if(typeof IntersectionObserver===\"undefined\"){setIsInView(true);return;}const observer=new IntersectionObserver(entries=>{for(const entry of entries){if(entry.isIntersecting){setIsInView(true);observer.disconnect();break;}}},{threshold:.25});observer.observe(rootRef.current);return()=>observer.disconnect();},[]);useEffect(()=>{if(!isInView)return;let cancelled=false;const current=searches[searchIndex];const sleep=ms=>new Promise(r=>setTimeout(r,ms));const run=async()=>{await sleep(650);if(cancelled)return;// 1. Type the query\nsetPhase(\"typing\");for(let i=0;i<=current.query.length;i++){if(cancelled)return;setInputText(current.query.slice(0,i));await sleep(38+Math.random()*28);}await sleep(450);if(cancelled)return;// Button pulse\nsetSendPulse(true);await sleep(140);setSendPulse(false);if(cancelled)return;// 2. Sources light up — gentler cadence\nsetPhase(\"searching\");setActiveSourceIdx(-1);for(let i=0;i<sources.length;i++){if(cancelled)return;setActiveSourceIdx(i);await sleep(230+Math.random()*110);}await sleep(450);if(cancelled)return;// 3. Show results — realistic count, gentler reveal\nsetPhase(\"results\");const count=15+Math.floor(Math.random()*12);setResultCount(count);setSearchTime((.4+Math.random()*.5).toFixed(2));setShownPapers(0);for(let i=1;i<=current.papers.length;i++){if(cancelled)return;setShownPapers(i);await sleep(420);}// 4. Pause and reset\nawait sleep(4e3);if(cancelled)return;setPhase(\"pause\");await sleep(320);if(cancelled)return;setInputText(\"\");setShownPapers(0);setActiveSourceIdx(-1);setSearchIndex(prev=>(prev+1)%searches.length);};run();return()=>{cancelled=true;};},[searchIndex,isInView]);const current=searches[searchIndex];const hasInput=inputText.length>0;const resultsVisible=phase===\"results\"||phase===\"pause\";// Gentle fade near the bottom to hint at more results below.\nconst bottomFadeMask=\"linear-gradient(to bottom, black 0%, black 72%, rgba(0,0,0,0.35) 92%, transparent 100%)\";// Resting shadow vs. focused shadow. Focused state keeps the resting\n// elevation shadow and adds a solid 3px light-indigo ring — cleaner\n// than a translucent tint (which reads muddy over white).\nconst restingShadow=\"0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06)\";const focusedShadow=`0 0 0 3px ${focusRingColor}, ${restingShadow}`;return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{width:\"100%\",height:\"100%\",backgroundColor:pageBg,boxSizing:\"border-box\",padding:20,display:\"flex\",flexDirection:\"column\",gap:12,fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\",overflow:\"hidden\",color:textColor},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,backgroundColor:cardBg,borderRadius:10,border:`1px solid ${hasInput?accentColor:borderColor}`,padding:\"8px 10px 8px 14px\",boxShadow:hasInput?focusedShadow:restingShadow,transition:\"border-color 0.2s ease, box-shadow 0.2s ease\",flexShrink:0},children:[/*#__PURE__*/_jsx(Icon,{name:\"search\",size:16,color:mutedColor}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,fontSize:13,color:textColor,minHeight:16,lineHeight:1.2,overflow:\"hidden\",whiteSpace:\"nowrap\",textOverflow:\"ellipsis\"},children:hasInput?/*#__PURE__*/_jsxs(_Fragment,{children:[inputText,/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",width:1.5,height:13,backgroundColor:accentColor,marginLeft:2,verticalAlign:\"middle\",animation:\"jenni-cursor 0.9s step-end infinite\"}})]}):/*#__PURE__*/_jsx(\"span\",{style:{color:subtleColor},children:\"Search across 248M+ academic sources…\"})}),/*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:hasInput?accentColor:withAlpha(accentColor,.45),color:\"white\",padding:\"6px 14px\",borderRadius:6,fontSize:11,fontWeight:500,transform:sendPulse?\"scale(0.95)\":\"scale(1)\",transition:\"background-color 0.2s ease, transform 0.15s ease\",flexShrink:0},children:\"Search\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:6,flexWrap:\"wrap\",fontSize:11,color:mutedColor,flexShrink:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:subtleColor,marginRight:2,fontSize:10},children:phase===\"searching\"?\"Searching\":resultsVisible?\"Searched\":\"Across\"}),sources.map((s,i)=>{const isActive=phase===\"searching\"&&i<=activeSourceIdx||resultsVisible;const isLibrary=s.name===\"My library\";return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:5,padding:\"3px 9px\",borderRadius:12,border:`1px solid ${isActive?subtleColor:borderColor}`,backgroundColor:isActive?chipBg:cardBg,color:isActive?textColor:mutedColor,transition:\"border-color 0.35s ease, background-color 0.35s ease, color 0.35s ease\",fontSize:10,fontWeight:500},children:[isLibrary&&/*#__PURE__*/_jsx(Icon,{name:\"book\",size:10,color:isActive?textColor:mutedColor}),s.name]},s.name);})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",flexShrink:0,opacity:resultsVisible?1:0,transition:\"opacity 0.45s ease\",height:14},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,color:mutedColor},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:600,color:textColor},children:resultCount.toLocaleString()}),\" \",\"results from 248M+ papers\"]}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,color:subtleColor},children:[searchTime,\"s\"]})]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,overflow:\"hidden\",display:\"flex\",flexDirection:\"column\",gap:8,WebkitMaskImage:bottomFadeMask,maskImage:bottomFadeMask},children:current.papers.slice(0,shownPapers).map((paper,i)=>/*#__PURE__*/_jsx(PaperCard,{paper:paper,textColor:textColor,mutedColor:mutedColor,subtleColor:subtleColor,borderColor:borderColor,cardBg:cardBg,chipBg:chipBg,journalColor:journalColor,openAccessColor:openAccessColor},`${searchIndex}-${i}`))}),/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes jenni-cursor { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }\n                @keyframes jenni-paper-in {\n                    from { opacity: 0; transform: translateY(14px); }\n                    to { opacity: 1; transform: translateY(0); }\n                }\n                @keyframes jenni-pulse {\n                    0%, 100% { transform: scale(1); opacity: 1; }\n                    50% { transform: scale(1.35); opacity: 0.55; }\n                }\n            `})]});}// ---------- Paper card (Jenni app-styled) ----------\nfunction PaperCard({paper,textColor,mutedColor,subtleColor,borderColor,cardBg,chipBg,journalColor,openAccessColor}){return /*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:cardBg,border:`1px solid ${borderColor}`,borderRadius:10,padding:\"10px 12px\",display:\"flex\",flexDirection:\"column\",gap:3,animation:\"jenni-paper-in 0.6s cubic-bezier(0.22, 0.61, 0.36, 1)\",boxShadow:\"0 1px 2px rgba(16, 24, 40, 0.04)\",flexShrink:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:6,marginBottom:1},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:10,color:subtleColor},children:paper.type}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1}}),/*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:chipBg,padding:\"2px 8px\",borderRadius:10,fontSize:9,display:\"flex\",alignItems:\"center\",gap:3},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:mutedColor},children:\"IF\"}),/*#__PURE__*/_jsx(\"span\",{style:{color:textColor,fontWeight:600},children:paper.impactFactor.toFixed(2)})]}),paper.openAccess&&/*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:chipBg,padding:\"2px 8px\",borderRadius:10,fontSize:9,display:\"flex\",alignItems:\"center\",gap:4,color:textColor,fontWeight:600,letterSpacing:.2},children:[/*#__PURE__*/_jsx(Icon,{name:\"unlock\",size:10,color:openAccessColor}),/*#__PURE__*/_jsx(\"span\",{children:\"OPEN ACCESS\"})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,fontWeight:500,color:textColor,lineHeight:1.35},children:paper.title}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:10,color:mutedColor,marginTop:1},children:paper.authors}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:10,marginTop:1},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:journalColor,fontWeight:500},children:paper.journal}),/*#__PURE__*/_jsx(\"span\",{style:{color:subtleColor},children:\" \\xb7 \"}),/*#__PURE__*/_jsx(\"span\",{style:{color:mutedColor},children:paper.year})]}),/*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:\"rgb(249, 250, 251)\",border:`1px solid ${borderColor}`,borderRadius:6,padding:\"7px 9px\",fontSize:10,color:mutedColor,lineHeight:1.45,marginTop:5,display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",overflow:\"hidden\"},children:[paper.abstract,\" \",/*#__PURE__*/_jsx(\"span\",{style:{color:textColor,fontWeight:600},children:\"See more\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:14,fontSize:10,color:textColor,marginTop:7},children:[/*#__PURE__*/_jsx(ActionItem,{icon:\"quote\",label:\"Cite\",color:textColor}),/*#__PURE__*/_jsx(ActionItem,{icon:\"file-text\",label:\"Open quote\",color:textColor}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:3},children:[/*#__PURE__*/_jsx(ActionItem,{icon:\"bookmark\",label:\"Save\",color:textColor}),/*#__PURE__*/_jsx(Icon,{name:\"chevron-down\",size:11,color:mutedColor})]})]})]});}function ActionItem({icon,label,color}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:4,color,fontWeight:500},children:[/*#__PURE__*/_jsx(Icon,{name:icon,size:11,color:color}),/*#__PURE__*/_jsx(\"span\",{children:label})]});}function Icon({name,size,color}){const paths={search:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"11\",cy:\"11\",r:\"8\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m21 21-4.35-4.35\"})]}),quote:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M3 21c3 0 7-1 7-8V5c0-1.25-.75-2-2-2H4c-1.25 0-2 .75-2 2v6c0 1.25.75 2 2 2h3c0 2-1 4-4 4v4Z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15 21c3 0 7-1 7-8V5c0-1.25-.75-2-2-2h-4c-1.25 0-2 .75-2 2v6c0 1.25.75 2 2 2h3c0 2-1 4-4 4v4Z\"})]}),\"file-text\":/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"14 2 14 8 20 8\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"8\",y1:\"13\",x2:\"14\",y2:\"13\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"8\",y1:\"17\",x2:\"14\",y2:\"17\"})]}),bookmark:/*#__PURE__*/_jsx(\"path\",{d:\"M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z\"}),\"chevron-down\":/*#__PURE__*/_jsx(\"polyline\",{points:\"6 9 12 15 18 9\"}),unlock:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"11\",width:\"18\",height:\"11\",rx:\"2\",ry:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M7 11V7a5 5 0 0 1 9.9-1\"})]}),book:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M4 19.5A2.5 2.5 0 0 1 6.5 17H20\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z\"})]})};return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flexShrink:0},children:paths[name]});}addPropertyControls(InteractiveSourceSearch,{accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"rgb(50, 61, 214)\"},focusRingColor:{type:ControlType.Color,title:\"Focus Ring\",defaultValue:\"rgb(199, 210, 254)\"},journalColor:{type:ControlType.Color,title:\"Journal\",defaultValue:\"rgb(22, 130, 93)\"},openAccessColor:{type:ControlType.Color,title:\"Open Access\",defaultValue:\"rgb(234, 88, 12)\"},pageBg:{type:ControlType.Color,title:\"Page BG\",defaultValue:\"rgba(255, 255, 255, 0)\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"rgb(30, 41, 56)\"},mutedColor:{type:ControlType.Color,title:\"Muted\",defaultValue:\"rgb(105, 114, 130)\"},subtleColor:{type:ControlType.Color,title:\"Subtle\",defaultValue:\"rgb(152, 161, 174)\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgb(229, 231, 235)\"},cardBg:{type:ControlType.Color,title:\"Card BG\",defaultValue:\"rgb(255, 255, 255)\"},chipBg:{type:ControlType.Color,title:\"Chip BG\",defaultValue:\"rgb(243, 244, 246)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InteractiveSourceSearch\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InteractiveSourceSearch.map"],"mappings":"A,8MAA4lF,SAAwBuB,EAAkB,EAAM,CAAC,GAAK,CAAC,cAAY,mBAAmB,iBAAe,qBAAqB,gBAAc,oBAAoB,YAAU,kBAAkB,aAAW,qBAAqB,cAAY,qBAAqB,cAAY,qBAAqB,eAAa,qBAAqB,SAAO,qBAAqB,SAAO,q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