function loadMoreData(){var e,t,n;window.loadStatus||(document.getElementById("loadingTxt").style.display="flex",window.loadStatus=!0,e=window.list_page,e=Number(e),(n=document.querySelectorAll(".content.category_list").length)<e?(e=window.list_id,t=window.list_type,sionname=`list_${n=n+1}_`+e,sessionStorage.getItem(sionname)?(document.getElementById("loadingTxt").insertAdjacentHTML("beforebegin",sessionStorage.getItem(sionname)),window.loadStatus=!1,document.getElementById("loadingTxt").style.display="none",getFastItmImg(),getFastResImg()):getFetch(`/list/loadmore/${e}/${t}/`+n).then(e=>{e=atob(e.content),e=decodeURIComponent(e);document.getElementById("loadingTxt").insertAdjacentHTML("beforebegin",e),window.loadStatus=!1,document.getElementById("loadingTxt").style.display="none",sessionStorage.setItem(sionname,e),getFastItmImg(),getFastResImg()})):document.getElementById("loadingTxt").style.display="none")}window.addEventListener("scroll",function(){window.innerHeight+window.scrollY>=document.body.offsetHeight-1&&loadMoreData()});