vendor: 2,368 bytes, lines 1-42
1+function($){'use strict';var Tab=function(element){this.element=$(element)} 2Tab.VERSION='3.3.6' 3Tab.TRANSITION_DURATION=150 4Tab.prototype.show=function(){var $this=this.element 5var $ul=$this.closest('ul:not(.dropdown-menu)') 6var selector=$this.data('target') 7if(!selector){selector=$this.attr('href') 8selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')} 9if($this.parent('li').hasClass('active'))return 10var $previous=$ul.find('.active:last a') 11var hideEvent=$.Event('hide.bs.tab',{relatedTarget:$this[0]}) 12var showEvent=$.Event('show.bs.tab',{relatedTarget:$previous[0]}) 13$previous.trigger(hideEvent) 14$this.trigger(showEvent) 15if(showEvent.isDefaultPrevented()||hideEvent.isDefaultPrevented())return 16var $target=$(selector) 17this.activate($this.closest('li'),$ul) 18this.activate($target,$target.parent(),function(){$previous.trigger({type:'hidden.bs.tab',relatedTarget:$this[0]}) 19$this.trigger({type:'shown.bs.tab',relatedTarget:$previous[0]})})} 20Tab.prototype.activate=function(element,container,callback){var $active=container.find('> .active') 21var transition=callback&&$.support.transition&&($active.length&&$active.hasClass('fade')||!!container.find('> .fade').length) 22function next(){$active.removeClass('active').find('> .dropdown-menu > .active').removeClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',!1) 23element.addClass('active').find('[data-toggle="tab"]').attr('aria-expanded',!0) 24if(transition){element[0].offsetWidth 25element.addClass('in')}else{element.removeClass('fade')} 26if(element.parent('.dropdown-menu').length){element.closest('li.dropdown').addClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',!0)} 27callback&&callback()} 28$active.length&&transition?$active.one('bsTransitionEnd',next).emulateTransitionEnd(Tab.TRANSITION_DURATION):next() 29$active.removeClass('in')} 30function Plugin(option){return this.each(function(){var $this=$(this) 31var data=$this.data('bs.tab') 32if(!data)$this.data('bs.tab',(data=new Tab(this))) 33if(typeof option=='string')data[option]()})} 34var old=$.fn.tab 35$.fn.tab=Plugin 36$.fn.tab.Constructor=Tab 37$.fn.tab.noConflict=function(){$.fn.tab=old 38return this} 39var clickHandler=function(e){e.preventDefault() 40Plugin.call($(this),'show')} 41$(document).on('click.bs.tab.data-api','[data-toggle="tab"]',clickHandler).on('click.bs.tab.data-api','[data-toggle="pill"]',clickHandler)}(jQuery) 42;
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.