PageSourceSearch

https://hillsborolighthouse.org/Themes/BW/js/bootstrap-tab.js

js hillsborolighthouse.org collected 2026-09-25 04:47:13 UTC 1,335 bytes, 1 lines download raw bytes

1!function(f){var d=function(a){this.element=f(a)};d.prototype={constructor:d,show:function(){var a=this.element,k=a.closest("ul:not(.dropdown-menu)"),l=a.attr("data-target"),c,m,b;if(!l){l=a.attr("href");l=l&&l.replace(/.*(?=#[^\s]*$)/,"")}if(a.parent("li").hasClass("active")){return}c=k.find(".active:last a")[0];b=f.Event("show",{relatedTarget:c});a.trigger(b);if(b.isDefaultPrevented()){return}m=f(l);this.activate(a.parent("li"),k);this.activate(m,m.parent(),function(){a.trigger({type:"shown",relatedTarget:c})})},activate:function(j,k,a){var l=k.find("> .active"),b=a&&f.support.transition&&l.hasClass("fade");function c(){l.removeClass("active").find("> .dropdown-menu > .active").removeClass("active");j.addClass("active");if(b){j[0].offsetWidth;j.addClass("in")}else{j.removeClass("fade")}if(j.parent(".dropdown-menu")){j.closest("li.dropdown").addClass("active")}a&&a()}b?l.one(f.support.transition.end,c):c();l.removeClass("in")}};var e=f.fn.tab;f.fn.tab=function(a){return this.each(function(){var b=f(this),c=b.data("tab");if(!c){b.data("tab",(c=new d(this)))}if(typeof a=="string"){c[a]()}})};f.fn.tab.Constructor=d;f.fn.tab.noConflict=function(){f.fn.tab=e;return this};f(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(a){a.preventDefault();f(this).tab("show")})}(window.jQuery);

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.