PageSourceSearch

https://bmet.gov.bd/widget-assets/js/MenusExpandableWidget

js bmet.gov.bd collected 2026-10-02 06:01:06 UTC 852 bytes, 3 lines download raw bytes

1;((window,document)=>{ // MenusExpandableWidget
2document.addEventListener("DOMContentLoaded",function(){let e=()=>window.innerWidth<=768;var n=document.querySelector(".menus-expandable-widget");let t=document.querySelector(".menus-expandable-widget .expand-btn"),i=document.querySelector(".menus-expandable-widget .menu-parent-unordered-list");if(e())return n.classList.remove("max-view");n.classList.add("max-view");let d=!1,l=()=>{if(!e()){let n=!1;[...i.children].forEach(e=>{(n=e.offsetTop===e.parentElement.offsetTop||d?n:!0)?e.style.display="none":e.style.display="flex"}),t.children[0].style.display="none",t.children[1].style.display="none",t.children[d?1:0].style.display="inline",t.style.visibility=n||d?"visible":"hidden"}};t.addEventListener("click",()=>{d=!d,l()}),window.addEventListener("resize",()=>{l()}),l()});
3})(_window,_document);

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.