PageSourceSearch

https://slamjam.com/cdn/shop/t/493/assets/drawer.min.js?v=35864350287444757951784710836

js slamjam.com collected 2026-09-24 08:50:16 UTC 1,350 bytes, 1 lines download raw bytes

1class Drawer{constructor(e){this.htmlElement=e,this.htmlElement.querySelector(".drawer__overlay").addEventListener("click",()=>this.htmlElement.close()),this.htmlElement.addEventListener("keyup",e=>"Escape"===e.code&&this.htmlElement.close())}setAccessibility(t){t.setAttribute("role","button"),t.setAttribute("aria-haspopup","dialog"),t.addEventListener("click",e=>{e.preventDefault(),this.htmlElement.open(t)}),t.addEventListener("keydown",e=>{"SPACE"===e.code.toUpperCase()&&(e.preventDefault(),this.htmlElement.open(t))})}open(){var e=this.htmlElement.querySelector('[id^="Details-"] summary');e&&!e.hasAttribute("role")&&this.setSummaryAccessibility(e),setTimeout(()=>{this.htmlElement.classList.add("animate","active")}),document.body.classList.add("lock-scroll"),document.body.classList.add("drawer-opened")}close(){this.htmlElement.classList.remove("active"),document.body.classList.remove("lock-scroll"),document.body.classList.remove("drawer-opened")}setSummaryAccessibility(e){e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),e.nextElementSibling.getAttribute("id")&&e.setAttribute("aria-controls",e.nextElementSibling.id),e.addEventListener("click",e=>{e.currentTarget.setAttribute("aria-expanded",!e.currentTarget.closest("details").hasAttribute("open"))}),e.parentElement.addEventListener("keyup",onKeyUpEscape)}}

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.