1$(document).ready(function() { 2 $(".catalog-list-element").on("click", ".button-filter", function(){ 3 _parent = $(this).parents(".catalog-list-element"); 4 if($(this).hasClass("active")){ 5 $(this).removeClass('active'); 6 history.pushState({}, '', window.pageUrl) 7 viewCatalog(); 8 }else{ 9 $('.button-filter.active', _parent).removeClass('active'); 10 $(this).addClass('active'); 11 history.pushState({}, $(this).text(), $(this).data('section-url')); 12 viewCatalog($(this).data('section-id')); 13 } 14 }); 15}); 16function viewCatalog(id = false){ 17 __parent = $(".item-views.catalog"); 18 if(!id)id = false; 19 __parent.animate({ 20 opacity: 0 21 },400, function() { 22 if(!id){ 23 $(".notview", __parent).removeClass('notview'); 24 }else{ 25 $(".items > div", __parent).addClass('notview'); 26 $(".item-element-href-"+id, __parent).removeClass('notview'); 27 } 28 __parent.animate({opacity: 1}, 200); 29 }); 30}
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.