';}else if(xmlhttp.readyState==1){lokLS.innerHTML='Loading...
';lokLS.removeAttribute("class");}else if(xmlhttp.readyState==4&&xmlhttp.status==200){lokLS.innerHTML=xmlhttp.responseText;lokLS.removeAttribute("class");}};xmlhttp.open("GET",uriLS+"?cari="+str,true);xmlhttp.send();tamperDataLS=str;}textInput.onkeyup=function(e){clearTimeout(timerLS);timerLS=setTimeout(function(){var re=/^[a-zA-Z0-9+]+$/;var string_find=textInput.value;var res=string_find.replace(/ /g,"+");var has=re.test(res);if(res.length==0){lokLS.innerHTML="";lokLS.classList.add("hidden-tab");return;}else if(!has){return false;}else if(has){showResult(res);}},1000);};function gantiHalaman(a){var id=a.getAttribute("data-id");var xmlhttp;if(window.XMLHttpRequest){xmlhttp=new XMLHttpRequest();}else{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4&&xmlhttp.status==200){lokLS.innerHTML=xmlhttp.responseText;}};xmlhttp.open("GET",uriLS+"?cari="+tamperDataLS+"&page="+id,true);xmlhttp.send();}function closeResult(){textInput.value="";lokLS.innerHTML="";lokLS.classList.add("hidden-tab");}var timerSF;function v_js_scroll_focus(){clearTimeout(timerSF);timerSF=setTimeout(function(){if(document.documentElement.scrollTop>0){localStorage.setItem(document.URL,document.documentElement.scrollTop);}else{localStorage.removeItem(document.URL);}},5);};function v_js_scroll_focus_once(){if(localStorage.getItem(document.URL)!=null){document.documentElement.scrollTop=localStorage.getItem(document.URL);}};var scroll=document.getElementById("scroll");function v_js_scroll_button(){if(document.documentElement.scrollTop >= 600){scroll.classList.remove("hidden-tab");}else{scroll.classList.add("hidden-tab");}}scroll.onclick=function(){document.documentElement.scrollTop=0;if(document.getElementById("sidebar-block")){document.getElementById("sidebar-block").removeAttribute("style");}};function showMore(a){var id=a.getAttribute("data-id");var tp=a.getAttribute("tipe");var pg=a.getAttribute("pag");var incrj=parseInt(pg)+1;a.setAttribute("pag",incrj);if(tp==2){var menu3="data-respon";}else if(tp==1){var menu3="data-respon-art";}var lokRes=document.getElementById(menu3+id);loadRespon(tp,id,lokRes,"?tipe="+tp+"&id="+id+"&page="+pg);}function loadRespon(tp,id,element,url){var xmlhttp;if(window.XMLHttpRequest){xmlhttp=new XMLHttpRequest();}else{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4&&xmlhttp.status==200){var datanya=xmlhttp.responseText;element.innerHTML+=datanya;var lastdata=datanya.substr(datanya.length-1);if(lastdata==" "){if(tp==2){var menu6="tombol-response";}else if(tp==1){var menu6="tombol-response-art";}document.getElementById(menu6+id).innerHTML="";}else{if(tp==2){var menu7="jum-res";}else if(tp==1){var menu7="jum-res-art";}var lokJum=document.getElementById(menu7+id);lokJum.innerHTML=Math.abs(parseInt(lokJum.innerHTML-10));}}};xmlhttp.open("GET","https://pasuh.com/respon-tampil.html"+url,true);xmlhttp.send();}function cp_clipboard_pre(id){var cp_txt=document.getElementById("pre"+id).innerText;const txtArea=document.createElement("textarea");txtArea.textContent=cp_txt;document.body.append(txtArea);txtArea.select();txtArea.setSelectionRange(0,99999);document.execCommand("copy");alert("Copied to clipboard success");document.body.removeChild(txtArea);}var src_source=document.getElementsByTagName("source");function v_js_load_media_source(){var i;for(i=0;i