PageSourceSearch

https://baselian.in/wp-content/plugins/menu-doc-pro-1.2.5.4-mobile…/assets/js/sidebar.js?ver=1.1.6

js baselian.in collected 2026-10-10 02:38:57 UTC 1,552 bytes, 27 lines download raw bytes

1
2(function(){
3  function toggle(){
4    var wrap=document.getElementById('fs-vertical'); if(!wrap) return;
5    var body=document.body;
6    var collapsed=wrap.classList.toggle('is-collapsed');
7    if(collapsed){ body.classList.add('is-collapsed'); wrap.classList.remove('is-open'); }
8    else { body.classList.remove('is-collapsed'); wrap.classList.add('is-open'); }
9    try{localStorage.setItem('mdpCollapsed',collapsed?'1':'0');}catch(e){}
10    if(window.MDP_CFG && MDP_CFG.mobileOverlay){
11      var ov=document.getElementById('fs-mobile-overlay'); if(ov){
12        if(!collapsed){ ov.classList.add('is-active'); document.documentElement.style.overflow='hidden'; }
13        else { ov.classList.remove('is-active'); document.documentElement.style.overflow=''; }
14      }
15    }
16  }
17  function restore(){
18    try{ if(localStorage.getItem('mdpCollapsed')==='1'){ var wrap=document.getElementById('fs-vertical'); if(wrap){ wrap.classList.add('is-collapsed'); document.body.classList.add('is-collapsed'); } } }catch(e){}
19  }
20  document.addEventListener('DOMContentLoaded',function(){
21    restore();
22    var t=document.getElementById('fs-vertical-toggle');
23    if(t){ t.addEventListener('click',toggle); t.addEventListener('keypress',function(e){ if(e.key==='Enter'||e.key===' '){ e.preventDefault(); toggle(); } }); }
24    var ov=document.getElementById('fs-mobile-overlay');
25    if(ov){ ov.addEventListener('click', function(){ var w=document.getElementById('fs-vertical'); if(!w) return; if(!w.classList.contains('is-collapsed')){ toggle(); } }); }
26  });
27})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.