1this.ckan.module('dashboard',function($){return{button:null,popover:null,searchTimeout:null,initialize:function(){$.proxyAll(this,/_on/);this.button=$('#followee-filter .btn').on('click',this._onShowFolloweeDropdown);var title=this.button.prop('title');this.button.popover=new bootstrap.Popover(document.querySelector('#followee-filter .btn'),{placement:'bottom',html:true,template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body followee-container"></div></div>',customClass:'popover-followee',sanitizeFn:function(content){return DOMPurify.sanitize(content,{ALLOWED_TAGS:["form","div","input","footer","header","h1","h2","h3","h4","small","span","strong","i",'a','li','ul','p']});},content:$('#followee-content').html()});this.button.prop('title',title);},_onShowFolloweeDropdown:function(){this.button.toggleClass('active');if(this.button.hasClass('active')){setTimeout(this._onInitSearch,100);} 2return false;},_onInitSearch:function(){var input=$('input',this.popover);if(!input.hasClass('inited')){input.on('keyup',this._onSearchKeyUp).addClass('inited');} 3input.focus();},_onSearchKeyUp:function(){clearTimeout(this.searchTimeout);this.searchTimeout=setTimeout(this._onSearchKeyUpTimeout,300);},_onSearchKeyUpTimeout:function(){this.popover=this.button.popover.tip;var input=$('input',this.popover);var q=input.val().toLowerCase();if(q){$('li',this.popover).hide();$('li.everything, [data-search^="'+q+'"]',this.popover).show();}else{$('li',this.popover).show();}}};});this.ckan.module('activity-stream',function($){return{initialize:function(){$('#activity_types_filter_select').on('change',this._onChangeActivityType);},_onChangeActivityType:function(event){url=$("#activity_types_filter_select option:selected").data('url');window.location=url;},};});
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.