PageSourceSearch

https://erl.gov.bd/widget-assets/js/LanguageSwitcherWidget

js erl.gov.bd collected 2026-10-08 08:47:26 UTC 942 bytes, 3 lines download raw bytes

1;((window,document)=>{ // LanguageSwitcherWidget
2function setCookie(e,t,n){var o=new Date,n=(o.setTime(o.getTime()+24*n*60*60*1e3),"expires="+o.toUTCString());document.cookie=e+"="+t+";"+n+";path=/"}function getCookie(e){var t=e+"=",n=document.cookie.split(";");for(let e=0;e<n.length;e++){var o=n[e].trim();if(0===o.indexOf(t))return o.substring(t.length,o.length)}return null}window.toggleLanguage=function(e,t){var t=document.getElementById(t),e=document.getElementById(e),n=t.value;console.log("current lang>>",n),"en"===n?(t.value="bn",e.textContent="●●●",e.setAttribute("data-type","bn"),setCookie("lang","bn",30)):(t.value="en",e.textContent="●●●",e.setAttribute("data-type","en"),setCookie("lang","en",30)),window.location.reload(),console.log("langInput.value>>",t.value)};let lang=document.querySelector(".language-switcher-widget>input").value;document.documentElement.setAttribute("lang",lang);
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.