PageSourceSearch

https://cancersupportyorkshire.org.uk/content/themes/csy/assets//js/navigation.min.js?ver=20151215

js cancersupportyorkshire.org.uk collected 2026-10-04 02:00:01 UTC 1,895 bytes, 1 lines download raw bytes

1!function(){var a,t,e,s,n,l=document.getElementById("site-navigation");if(l&&void 0!==(a=l.getElementsByTagName("button")[0]))if(t=l.getElementsByTagName("ul")[0],body=document.getElementsByTagName("body")[0],void 0!==t){for(t.setAttribute("aria-expanded","false"),-1===t.className.indexOf("nav-menu")&&(t.className+=" nav-menu"),a.onclick=function(){var e;-1!==l.className.indexOf("toggled")?(l.className=l.className.replace(" toggled",""),body.className=body.className.replace(" fix",""),a.setAttribute("aria-expanded","false"),t.setAttribute("aria-expanded","false"),(e=document.getElementById("empty-item"))&&t.removeChild(e)):(l.className+=" toggled",body.className+=" fix",a.setAttribute("aria-expanded","true"),t.setAttribute("aria-expanded","true"),(e=document.createElement("li")).className+="empty top-level",e.setAttribute("id","empty-item"),t.appendChild(e))},s=0,n=(e=t.getElementsByTagName("a")).length;s<n;s++)e[s].addEventListener("focus",o,!0),e[s].addEventListener("blur",o,!0);window.onresize=function(){-1!==l.className.indexOf("toggled")&&(l.className=l.className.replace(" toggled",""),a.setAttribute("aria-expanded","false"),t.setAttribute("aria-expanded","false"))};var i,d,c=l.querySelectorAll(".menu-item-has-children > a, .page_item_has_children > a");if("ontouchstart"in window)for(i=function(e){var a,t=this.parentNode;if(t.classList.contains("focus"))t.classList.remove("focus");else{for(e.preventDefault(),a=0;a<t.parentNode.children.length;++a)t!==t.parentNode.children[a]&&t.parentNode.children[a].classList.remove("focus");t.classList.add("focus")}},d=0;d<c.length;++d)c[d].addEventListener("touchstart",i,!1)}else a.style.display="none";function o(){for(var e=this;-1===e.className.indexOf("nav-menu");)"li"===e.tagName.toLowerCase()&&(-1!==e.className.indexOf("focus")?e.className=e.className.replace(" focus",""):e.className+=" focus"),e=e.parentElement}}();

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.