1import"jquery";window.$=window.jQuery=jQuery;import"@hotwired/turbo-rails";document.addEventListener("turbo:load",(()=>{document.querySelectorAll(".sortable").forEach((e=>{new Sortable(e,{animation:150,onEnd:e=>{console.log(`Item ${e.oldIndex} moved to ${e.newIndex}`)}})}))})),document.addEventListener("turbo:load",(()=>{const e=document.querySelector("form");e&&e.addEventListener("submit",(()=>{setTimeout((()=>{const e=document.querySelector("#search-results");e&&e.scrollIntoView({behavior:"smooth"})}),500)}))})),document.addEventListener("turbo:load",(function(){const e=document.querySelectorAll(".alphabet-nav-item"),t=document.querySelectorAll(".network-item");e.forEach((o=>{o.addEventListener("click",(function(o){o.preventDefault();const s=this.dataset.letter.toLowerCase();this.classList.contains("bg-rose-100")?(this.classList.remove("bg-rose-100"),t.forEach((e=>e.classList.remove("hidden")))):(e.forEach((e=>e.classList.remove("bg-rose-100"))),this.classList.add("bg-rose-100"),t.forEach((e=>{e.querySelector(".network-sort-key").textContent.trim().charAt(0).toLowerCase()!==s?e.classList.add("hidden"):e.classList.remove("hidden")})))}))}))})),document.addEventListener("turbo:load",(()=>{const e=document.getElementById("mobile-bar"),t=document.getElementById("mobile-menu");e.addEventListener("click",(function(){t.classList.toggle("hidden"),t.classList.contains("hidden")?(t.classList.add("animate-slideUp"),t.classList.remove("animate-slideDown")):(t.classList.add("animate-slideDown"),t.classList.remove("animate-slideUp"))})),window.addEventListener("resize",(function(){window.innerWidth>=768&&(t.classList.remove("animate-slideDown","animate-slideUp"),t.classList.contains("hidden")||t.classList.add("hidden"))}))})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("#flash-messages > div").forEach((e=>{setTimeout((()=>{e.style.opacity="0",setTimeout((()=>{e.remove()}),300)}),2e3)}));document.querySelectorAll(".close-flash").forEach((e=>{e.addEventListener("click",(function(){const e=this.parentElement;e.style.opacity="0",setTimeout((()=>{e.remove()}),300)}))}))}));
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.