PageSourceSearch

https://theaviaryhotel.com/wp-content/plugins/wp-hotel-booking/ass…/dist/js/frontend/sort-by.min.js?ver=2.3.4

js theaviaryhotel.com collected 2026-10-07 11:59:19 UTC 697 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",()=>{(()=>{const e=document.querySelector(".sort-by-wrapper");if(!e)return;const t=e.querySelector(".toggle"),r=e.querySelector("ul").querySelectorAll("li");[...r].map(e=>{e.addEventListener("click",function(o){[...r].map(e=>{e.classList.remove("active")}),e.classList.add("active"),t.innerHTML=e.innerHTML})})})(),(()=>{const e=document.querySelector(".sort-by-wrapper");e&&(document.querySelector("#hb-form-search-page")||[...e.querySelector("ul").querySelectorAll("li")].map(e=>{e.addEventListener("click",function(t){const r=new URL(window.location.href);r.searchParams.set("sort_by",e.getAttribute("data-value")),window.location.href=r})}))})()});

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.