1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2'use strict';Drupal.behaviors.topMenu={attach:function attach(context){if(context.doctype){var windowWidth=window.innerWidth;var topMenu=context.getElementById('top-menu-container');var topSearchMenuLink=context.querySelector('.top-menu-search-link');var mobileSearchMenuLink=context.querySelector('.main-menu__item.mobile-only');var serversearchblockclass='top-search-block';var searchBlock=topMenu.getElementsByClassName(serversearchblockclass)[0];if(windowWidth>'959'&&topSearchMenuLink&&searchBlock)topSearchMenuLink.addEventListener('click',function topMenuSearchClick(){searchBlock.classList.toggle('show-search');},false);else{if(windowWidth<'960'&&mobileSearchMenuLink&&searchBlock)mobileSearchMenuLink.addEventListener('click',function mobileMenuSearchClick(){searchBlock.classList.toggle('show-search');},false);}}}};;
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.