PageSourceSearch

https://www.hfrresort.com/wp-content/cache/autoptimize/js/autoptim…b015f2d62154ee408fe5d0c3e.js?ver=1790421822

js hfrresort.com collected 2026-09-26 12:52:47 UTC 1,673 bytes, 10 lines download raw bytes

1(function(){const siteNavigation=document.getElementById('site-navigation');if(!siteNavigation){return;}
2const button=siteNavigation.getElementsByTagName('button')[0];if('undefined'===typeof button){return;}
3const menu=siteNavigation.getElementsByTagName('ul')[0];if('undefined'===typeof menu){button.style.display='none';return;}
4if(!menu.classList.contains('nav-menu')){menu.classList.add('nav-menu');}
5button.addEventListener('click',function(){siteNavigation.classList.toggle('toggled');if(button.getAttribute('aria-expanded')==='true'){button.setAttribute('aria-expanded','false');}else{button.setAttribute('aria-expanded','true');}});document.addEventListener('click',function(event){const isClickInside=siteNavigation.contains(event.target);if(!isClickInside){siteNavigation.classList.remove('toggled');button.setAttribute('aria-expanded','false');}});const links=menu.getElementsByTagName('a');const linksWithChildren=menu.querySelectorAll('.menu-item-has-children > a, .page_item_has_children > a');for(const link of links){link.addEventListener('focus',toggleFocus,true);link.addEventListener('blur',toggleFocus,true);}
6for(const link of linksWithChildren){link.addEventListener('touchstart',toggleFocus,false);}
7function toggleFocus(){if(event.type==='focus'||event.type==='blur'){let self=this;while(!self.classList.contains('nav-menu')){if('li'===self.tagName.toLowerCase()){self.classList.toggle('focus');}
8self=self.parentNode;}}
9if(event.type==='touchstart'){const menuItem=this.parentNode;event.preventDefault();for(const link of menuItem.parentNode.children){if(menuItem!==link){link.classList.remove('focus');}}
10menuItem.classList.toggle('focus');}}}());

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.