1function selectSuggestFlyoutSearch(e,o,t){e.stopPropagation(),$("#flyoutSearchField").val(o),$("#overlaySearchInputTopicId").val(t),$("#globalAutocompleteResults, #globalAutocompleteResults .autocomplete-results-box").removeClass("show"),doSearchFlyoutSearch()}function doSearchFlyoutSearch(){var e=$("#flyoutSearchField").val();if(void 0!==e&&""!==e){var o="#/q="+(e=encodeURIComponent(e))+"&sort=score%20desc&locale="+flyoutSearchLang;if(window.location.assign(flyoutSearchPageUrl+o),flyoutSearchPageUrl===window.location.pathname){var t=getUrlParamsWebsiteSearch(o);doSearchWebsiteSearch(t,"","")}}}function checkGlobalAutoCompleteResults(){$("#flyoutSearchField").closest(".mega-menu-content").css("min-height",$("#flyoutSearchField").closest(".flyout").height())}$(document).ready(function(){var e=function(){$("#globalAutocompleteResults").removeClass("show")};$("#flyoutSearchField").on("click focus",function(e){e.stopPropagation();var o=$("#flyoutSearchField").val();void 0!==o&&""!==o&&o.length>2?($("#globalAutocompleteResults .direct-links").removeClass("show"),$("#globalAutocompleteResults").addClass("show")):($("#globalAutocompleteResults, #globalAutocompleteResults .direct-links").addClass("show"),$("#globalAutocompleteResults .search-proddb-links").removeClass("show"),$("#globalAutocompleteResults .search-suggestions").removeClass("show"))}),$.widget("custom.flyoutSearchSuggestcomplete",$.ui.autocomplete,{_create:function(){this.element;this._super()},_renderMenu:function(e,o){var t=this;$("#globalAutocompleteResults .direct-links").removeClass("show");var l=o[0].directLinks,s=$("#suggest-proddb-links-flyout");$(s).empty(),l.length>0?($.each(l,function(e,o){t._renderItemData(s,o)}),$("#globalAutocompleteResults .search-proddb-links").addClass("show")):$("#globalAutocompleteResults .search-proddb-links").removeClass("show");var a=o[1].websites,c=$("#suggest-suggestions-flyout");$(c).empty(),a.length>0&&$.each(a,function(e,o){t._renderItemData(c,o)}),a.length>0?$("#globalAutocompleteResults .search-suggestions").addClass("show"):$("#globalAutocompleteResults .search-suggestions").removeClass("show"),checkGlobalAutoCompleteResults()},_renderItem:function(e,o){var t="";if(o.hasOwnProperty("url"))t='<li><a href="'+o.url+'">'+o.title+"</a></li>";else{var l="";o.hasOwnProperty("id")&&(l=o.id),t='<li><a href="javascript:void(0)" onclick="selectSuggestFlyoutSearch(event, \''+o.title+"', '"+l+"')\">"+o.title+"</a></li>"}return checkGlobalAutoCompleteResults(),$(t).appendTo(e)}}),$("#flyoutSearchField").flyoutSearchSuggestcomplete({minLength:3,appendTo:"#globalAutocompleteResults",source:function(e,o){$.ajax({url:"/handleWebsiteSuggest?q="+encodeURIComponent(e.term)+"&rows=5&locale="+flyoutSearchLang+"&csrf-token="+flyoutSearchCsrfToken,type:"post",success:function(e){o(e)}})}}),$(document).on("click",function(o){$(o.target).closest("#flyoutSearchForm, #globalAutocompleteResults").length||e()}),$("#globalAutocompleteResults").on("click",function(e){e.stopPropagation()}),$("#flyoutSearchField").on("focusout",function(o){var t=$("#flyoutSearchField").val();null!=t&&""!=t||"flyoutSearchField"!=o.target.id&&e()}),$("#flyoutSearchForm").submit(function(e){return e.preventDefault(),doSearchFlyoutSearch(),!1}),$(".flyout-margin .btn-clear-search").on("click",function(){checkGlobalAutoCompleteResults()})});
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.