1jQuery(function(n){"use strict";const t=n(".resources-callout").not(".locations");t.each(function(){function c(t,i){t.each(function(){const t=n(this),r=t.data("tags"),f=r?r.split(","):[];let u=!0;for(const n in i)if(i[n].length>0){const t=i[n].every(n=>f.includes(n));if(!t){u=!1;break}}u?t.addClass("show").removeClass("hide"):t.addClass("hide").removeClass("show")});l(t)}const i=n(this),t=i.find(".re-filters");function l(n){n.filter(".show").length===0?i.find(".no-results-message").length||i.append('<div class="container container-sm"><div class="row"><div class="col-12"><p class="no-results-message">We don\'t have resources that exactly match your selected filters at the moment. Please check back soon because we publish new resources consistently.<\/p><\/div><\/div><\/div>'):i.find(".no-results-message").remove()}function f(n,t,i,r,u){u[n]||(u[n]=[]);u[n]=i?[t]:u[n].filter(n=>n!==t);c(r,u)}function s(i,r){t.find(".selectBind").each(function(){const t=n(this),u=t.find(".dropdown-toggle"),e=t.find(".dropdown-menu");e.find(".dropdown-item").on("click",function(){let t=n(this).text(),e=n(this).data("filter");u.find(".text").text(t);f("dropdown",e,!0,i,r)})})}if(!t.length)return;const e=t.find(".aFilter"),o=t.find(".cl-dropdown .dropdown-menu .dropdown-item"),h=t.find(".rReset"),r=i.find(".swiper-slide");let u={};e.on("click",function(){let t=n(this),i=t.data("filter"),e=t.toggleClass("active").hasClass("active");f("button",i,e,r,u)});o.on("click",function(){let t=n(this),e=t.data("filter"),i=t.closest(".dropdown-menu"),o=i.data("target");i.find(".dropdown-item.active").each(function(){n(this).removeClass("active")});let s=t.toggleClass("active").hasClass("active");f(o,e,s,r,u)});h.on("click",function(){u={};e.removeClass("active");o.removeClass("active");r.removeClass("hide").addClass("show");t.find(".dropdown-toggle").each(function(){let t=n(this),i=t.data("text");t.find(".text").text(i)});s(r,u)});s(r,u)})}); 2//# sourceMappingURL=/sb/nmap/resource-filtersJS.js.v639266061970476967
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.