`:"
",s+=`
${o}
${e.title||""}
`)}),t.insertAdjacentHTML("beforeend",s))}function appendPCNews(e){var n,t=document.querySelector(".pc-list .list-container");t&&(n="",e.forEach(e=>{var t,o,s;e&&e.newsId&&(t=addTrackingToNewLink(`/${e.newsId}/index.html`),o=e.coverImage?`
`:"",s=e.publishTime||(new Date).toLocaleString(),n+=`
${o}
`)}),t.insertAdjacentHTML("beforeend",n),updatePCLoadMoreButton())}function resetHomeInfiniteScroll(){var e;isDestroyed||(loadedNewsIds.clear(),hasMoreData=!(isLoading=!1),lastScrollTop=lastRequestTime=consecutiveEmptyResponses=0,isPCDevice()?(e=document.querySelector(".pc-list .list-container"))&&(e.innerHTML=""):(e=document.querySelector(".list"))&&(e.innerHTML='Trending
'),loadMoreNews(!1),updatePCLoadMoreButton())}function stopHomeInfiniteScroll(){isLoading=hasMoreData=!1}function resumeHomeInfiniteScroll(){isDestroyed||(hasMoreData=!0,consecutiveEmptyResponses=0,isLoading)||loadMoreNews(!1)}function getHomeInfiniteScrollStatus(){return{isLoading:isLoading,hasMoreData:hasMoreData,loadedCount:loadedNewsIds.size,consecutiveEmptyResponses:consecutiveEmptyResponses,isDestroyed:isDestroyed}}