PageSourceSearch

https://www.visordown.com/themes/custom/base_theme/js/dist/main-menu.min.js?tm6vai

js visordown.com collected 2026-10-02 03:13:44 UTC 1,693 bytes, 2 lines download raw bytes

1((e,t)=>{e.behaviors.cmg_menu={attach:function(e,n){t("menu-bar","#menu-bar",e).forEach(function(r){var n=0,i=r.querySelector(".main-navigation"),e=r.querySelector(".menu-button"),o=document.querySelector("#header"),t=i.querySelectorAll(".dd"),a=i.querySelectorAll(".dd-sub"),c=(i.querySelectorAll(".dd, .dd-sub"),o.querySelector("#action-bar")),s=1024,u="visible";function d(){Array.from(t).forEach(function(e){f(e)})}function l(){Array.from(a).forEach(function(e){f(e)})}function m(e){e.classList.add("hover")}function f(e){e.classList.remove("hover")}window.innerWidth<=s&&i.prepend(c),Array.from(a).forEach(function(e){e.addEventListener("mouseover",function(){window.innerWidth>s&&(clearTimeout(n),l(),m(this))}),e.addEventListener("mouseleave",function(){clearTimeout(n),n=setTimeout(function(e){f(e)},1250,this)})}),Array.from(t).forEach(function(e){e.addEventListener("mouseover",function(){clearTimeout(n),d(),window.innerWidth>s&&m(this)}),e.addEventListener("mouseleave",function(){clearTimeout(n),l(),n=setTimeout(function(e){f(e)},1250,this)}),e.addEventListener("touchstart",function(){l(),d(),window.innerWidth>s&&(clearTimeout(n),m(this),setTimeout(function(e){f(e)},12500,this))},{passive:!0})}),e.addEventListener("click",function(){Array(r,i).forEach(function(e){e.classList.contains(u)?e.classList.remove(u):e.classList.add(u)})}),window.addEventListener("resize",function(e){var n=o.querySelector("#action-bar"),t=n.parentElement;e.target.innerWidth<=s&&t.className!==i.className?(d(),i.prepend(n)):e.target.innerWidth>s&&t.className===i.className&&(o.prepend(n),i.classList.remove(u),r.classList.remove(u))})})}}})(Drupal,once);
2//# sourceMappingURL=main-menu.min.js.map

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.