// === OVERRIDE: loadHotTopics loads from MULTIPLE hashtags === // This file loaded AFTER app_v2.js, overrides the function async function loadHotTopics(){ const j=await fetch('/api/hot_topics').then(r=>r.json()).catch(()=>({topics:[]})); const el=document.getElementById('hot-topics');if(!el)return; const topics=j.topics||[]; el.innerHTML=topics.slice(0,18).map(t=>{ const topicText=t.topic||t.label.replace(/^#/,''); return``; }).join(''); // Load tin HOT = tổng hợp từ TOP 3 hashtag nóng nhất if(topics.length>=2){ loadMultiHashtag(topics.slice(0,3).map(t=>t.topic||t.label.replace(/^#/,''))); }else if(topics.length){ searchTopic(topics[0].topic||topics[0].label.replace(/^#/,'')); } } async function loadMultiHashtag(topicList){ const box=document.getElementById('hashtag-box');if(!box)return; box.innerHTML=`