1/*! 2 * Bootstrap v3.0.3 (http://getbootstrap.com) 3 * Copyright 2013 Twitter, Inc. 4 * Licensed under http://www.apache.org/licenses/LICENSE-2.0 5 */ 6 7if("undefined"==typeof jQuery)throw Error("Bootstrap requires jQuery"); 8+function(b){b.fn.emulateTransitionEnd=function(c){var f=!1,a=this;b(this).one(b.support.transition.end,function(){f=!0});return setTimeout(function(){f||b(a).trigger(b.support.transition.end)},c),this};b(function(){var c=b.support,f;a:{f=document.createElement("bootstrap");var a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},d;for(d in a)if(void 0!==f.style[d]){f={end:a[d]};break a}f=void 0}c.transition= 9f})}(jQuery); 10+function(b){var c=function(a){b(a).on("click",'[data-dismiss="alert"]',this.close)};c.prototype.close=function(a){function d(){h.trigger("closed.bs.alert").remove()}var e=b(this),c=e.attr("data-target");c||(c=e.attr("href"),c=c&&c.replace(/.*(?=#[^\s]*$)/,""));var h=b(c);a&&a.preventDefault();h.length||(h=e.hasClass("alert")?e:e.parent());h.trigger(a=b.Event("close.bs.alert"));a.isDefaultPrevented()||(h.removeClass("in"),b.support.transition&&h.hasClass("fade")?h.one(b.support.transition.end,d).emulateTransitionEnd(150): 11d())};var f=b.fn.alert;b.fn.alert=function(a){return this.each(function(){var d=b(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this));"string"==typeof a&&e[a].call(d)})};b.fn.alert.Constructor=c;b.fn.alert.noConflict=function(){return b.fn.alert=f,this};b(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',c.prototype.close)}(jQuery); 12+function(b){var c=function(a,d){this.$element=b(a);this.options=b.extend({},c.DEFAULTS,d)};c.DEFAULTS={loadingText:"loading..."};c.prototype.setState=function(a){var b=this.$element,e=b.is("input")?"val":"html",c=b.data();a+="Text";c.resetText||b.data("resetText",b[e]());b[e](c[a]||this.options[a]);setTimeout(function(){"loadingText"==a?b.addClass("disabled").attr("disabled","disabled"):b.removeClass("disabled").removeAttr("disabled")},0)};c.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'), 13b=!0;if(a.length){var e=this.$element.find("input");"radio"===e.prop("type")&&(e.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active"));b&&e.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var f=b.fn.button;b.fn.button=function(a){return this.each(function(){var d=b(this),e=d.data("bs.button"),g="object"==typeof a&&a;e||d.data("bs.button",e=new c(this,g));"toggle"==a?e.toggle():a&&e.setState(a)})}; 14b.fn.button.Constructor=c;b.fn.button.noConflict=function(){return b.fn.button=f,this};b(document).on("click.bs.button.data-api","[data-toggle^=button]",function(a){var d=b(a.target);d.hasClass("btn")||(d=d.closest(".btn"));d.button("toggle");a.preventDefault()})}(jQuery); 15+function(b){var c=function(a,d){this.$element=b(a);this.$indicators=this.$element.find(".carousel-indicators");this.options=d;this.paused=this.sliding=this.interval=this.$active=this.$items=null;"hover"==this.options.pause&&this.$element.on("mouseenter",b.proxy(this.pause,this)).on("mouseleave",b.proxy(this.cycle,this))};c.DEFAULTS={interval:5E3,pause:"hover",wrap:!0};c.prototype.cycle=function(a){return a||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&& 16(this.interval=setInterval(b.proxy(this.next,this),this.options.interval)),this};c.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)};c.prototype.to=function(a){var d=this,e=this.getActiveIndex();return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){d.to(a)}):e==a?this.pause().cycle():this.slide(a>e?"next":"prev",b(this.$items[a]))}; 17c.prototype.pause=function(a){return a||(this.paused=!0),this.$element.find(".next, .prev").length&&b.support.transition.end&&(this.$element.trigger(b.supp
17ort.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};c.prototype.next=function(){return this.sliding?void 0:this.slide("next")};c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")};c.prototype.slide=function(a,d){var e=this.$element.find(".item.active"),c=d||e[a](),h=this.interval,k="next"== 18a?"left":"right",l="next"==a?"first":"last",f=this;if(!c.length){if(!this.options.wrap)return;c=this.$element.find(".item")[l]()}this.sliding=!0;h&&this.pause();l=b.Event("slide.bs.carousel",{relatedTarget:c[0],direction:k});if(!c.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var a=b(f.$indicators.children()[f.getActiveIndex()]);a&&a.addClass("active")})),b.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(l), 19l.isDefaultPrevented())return;c.addClass(a);c[0].offsetWidth;e.addClass(k);c.addClass(k);e.one(b.support.transition.end,function(){c.removeClass([a,k].join(" ")).addClass("active");e.removeClass(["active",k].join(" "));f.sliding=!1;setTimeout(function(){f.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(l),l.isDefaultPrevented())return;e.removeClass("active");c.addClass("active");this.sliding=!1;this.$element.trigger("slid.bs.carousel")}return h&& 20this.cycle(),this}};var f=b.fn.carousel;b.fn.carousel=function(a){return this.each(function(){var d=b(this),e=d.data("bs.carousel"),g=b.extend({},c.DEFAULTS,d.data(),"object"==typeof a&&a),h="string"==typeof a?a:g.slide;e||d.data("bs.carousel",e=new c(this,g));"number"==typeof a?e.to(a):h?e[h]():g.interval&&e.pause().cycle()})};b.fn.carousel.Constructor=c;b.fn.carousel.noConflict=function(){return b.fn.carousel=f,this};b(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(a){var d, 21e=b(this),c=b(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));d=b.extend({},c.data(),e.data());var h=e.attr("data-slide-to");h&&(d.interval=!1);c.carousel(d);(h=e.attr("data-slide-to"))&&c.data("bs.carousel").to(h);a.preventDefault()});b(window).on("load",function(){b('[data-ride="carousel"]').each(function(){var a=b(this);a.carousel(a.data())})})}(jQuery); 22+function(b){var c=function(a,d){this.$element=b(a);this.options=b.extend({},c.DEFAULTS,d);this.transitioning=null;this.options.parent&&(this.$parent=b(this.options.parent));this.options.toggle&&this.toggle()};c.DEFAULTS={toggle:!0};c.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"};c.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var a=b.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){if((a=this.$parent&& 23this.$parent.find("> .panel > .in"))&&a.length){var d=a.data("bs.collapse");if(d&&d.transitioning)return;a.collapse("hide");d||a.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0);this.transitioning=1;a=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto");this.transitioning=0;this.$element.trigger("shown.bs.collapse")};if(!b.support.transition)return a.call(this);d=b.camelCase(["scroll",e].join("-"));this.$element.one(b.support.transition.end, 24b.proxy(a,this)).emulateTransitionEnd(350)[e](this.$element[0][d])}}};c.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var a=b.Event("hide.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){a=this.dimension();this.$element[a](this.$element[a]())[0].offsetHeight;this.$element.addClass("collapsing").removeClass("collapse").removeClass("in");this.transitioning=1;var d=function(){this.transitioning=0;this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")}; 25return b.support.transition?(this.$element[a](0).one(b.support.transition.end,b.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}};c.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var f=b.fn.collapse;b.fn.collapse=function(a){return this.each(function(){var d=b(this),e=d.data("bs.collapse"),g=b.extend({},c.DEFAULTS,d.data(),"object"==typeof a&&a);e||d.data("bs.collapse",e=new c(this,g));"string"==typeof a&&e[a]()})};b.fn.collapse.Constructor=c;b.fn.collapse.noConflict= 26function(){return b.fn.collapse=f,this};b(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(a){var d,e=b(this);a=e.attr("data-target")||a.preventDefault()||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"");d=b(a);var c=(a=d.data("bs.collapse"))?"toggle":e.data(),h=e.attr("data-parent"),k=h&&b(h);a&&a.transitioning||(k&&k.find('[data-toggle=collapse][data-parent="'+h+'"]').not(e).addClass("collapsed"),e[d.hasClass("in")?"addClass":"removeClass"]("collapsed"));d.collapse(c)})}(jQuery);
27+function(b){function c(){b(a).remove();b(d).each(function(a){var d=f(b(this));d.hasClass("open")&&(d.trigger(a=b.Event("hide.bs.dropdown")),a.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function f(a){var d=a.attr("data-target");d||(d=a.attr("href"),d=d&&/#/.test(d)&&d.replace(/.*(?=#[^\s]*$)/,""));return(d=d&&b(d))&&d.length?d:a.parent()}var a=".dropdown-backdrop",d="[data-toggle=dropdown]",e=function(a){b(a).on("click.bs.dropdown",this.toggle)};e.prototype.toggle= 28function(a){var d=b(this);if(!d.is(".disabled, :disabled")){var e=f(d),g=e.hasClass("open");if(c(),!g){if("ontouchstart"in document.documentElement&&!e.closest(".navbar-nav").length&&b('<div class="dropdown-backdrop"/>').insertAfter(b(this)).on("click",c),e.trigger(a=b.Event("show.bs.dropdown")),a.isDefaultPrevented())return;e.toggleClass("open").trigger("shown.bs.dropdown");d.focus()}return!1}};e.prototype.keydown=function(a){if(/(38|40|27)/.test(a.keyCode)){var e=b(this);if(a.preventDefault(),a.stopPropagation(), 29!e.is(".disabled, :disabled")){var c=f(e),g=c.hasClass("open");if(!g||g&&27==a.keyCode)return 27==a.which&&c.find(d).focus(),e.click();e=b("[role=menu] li:not(.divider):visible a",c);e.length&&(c=e.index(e.filter(":focus")),38==a.keyCode&&0<c&&c--,40==a.keyCode&&c<e.length-1&&c++,~c||(c=0),e.eq(c).focus())}}};var g=b.fn.dropdown;b.fn.dropdown=function(a){return this.each(function(){var d=b(this),c=d.data("bs.dropdown");c||d.data("bs.dropdown",c=new e(this));"string"==typeof a&&c[a].call(d)})};b.fn.dropdown.Constructor= 30e;b.fn.dropdown.noConflict=function(){return b.fn.dropdown=g,this};b(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",d,e.prototype.toggle).on("keydown.bs.dropdown.data-api",d+", [role=menu]",e.prototype.keydown)}(jQuery); 31+function(b){var c=function(a,d){this.options=d;this.$element=b(a);this.$backdrop=this.isShown=null;this.options.remote&&this.$element.load(this.options.remote)};c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};c.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)};c.prototype.show=function(a){var d=this,e=b.Event("show.bs.modal",{relatedTarget:a});this.$element.trigger(e);this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]', 32b.proxy(this.hide,this)),this.backdrop(function(){var e=b.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(document.body);d.$element.show();e&&d.$element[0].offsetWidth;d.$element.addClass("in").attr("aria-hidden",!1);d.enforceFocus();var c=b.Event("shown.bs.modal",{relatedTarget:a});e?d.$element.find(".modal-dialog").one(b.support.transition.end,function(){d.$element.focus().trigger(c)}).emulateTransitionEnd(300):d.$element.focus().trigger(c)}))};c.prototype.hide= 33function(a){a&&a.preventDefault();a=b.Event("hide.bs.modal");this.$element.trigger(a);this.isShown&&!a.isDefaultPrevented()&&(this.isShown=!1,this.escape(),b(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),b.support.transition&&this.$element.hasClass("fade")?this.$element.one(b.support.transition.end,b.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())};c.prototype.enforceFocus=function(){b(document).off("focusin.bs.modal").on("focusin.bs.modal", 34b.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))};c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",b.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")};c.prototype.hideModal=function(){var a=this;this.$element.hide();this.backdrop(function(){a.removeBackdrop();a.$element.trigger("hidden.bs.modal")})};c.prototype.removeBackdrop= 35function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};c.prototype.backdrop=function(a){var d=this.$element.hasClass("fade")?"fade":"";
35if(this.isShown&&this.options.backdrop){var e=b.support.transition&&d;if(this.$backdrop=b('<div class="modal-backdrop '+d+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",b.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)), 36e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),a)e?this.$backdrop.one(b.support.transition.end,a).emulateTransitionEnd(150):a()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),b.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(b.support.transition.end,a).emulateTransitionEnd(150):a()):a&&a()};var f=b.fn.modal;b.fn.modal=function(a,d){return this.each(function(){var e=b(this),g=e.data("bs.modal"),h=b.extend({},c.DEFAULTS,e.data(),"object"==typeof a&& 37a);g||e.data("bs.modal",g=new c(this,h));"string"==typeof a?g[a](d):h.show&&g.show(d)})};b.fn.modal.Constructor=c;b.fn.modal.noConflict=function(){return b.fn.modal=f,this};b(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(a){var d=b(this),e=d.attr("href"),c=b(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),e=c.data("modal")?"toggle":b.extend({remote:!/#/.test(e)&&e},c.data(),d.data());a.preventDefault();c.modal(e,this).one("hide",function(){d.is(":visible")&&d.focus()})}); 38b(document).on("show.bs.modal",".modal",function(){b(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){b(document.body).removeClass("modal-open")})}(jQuery); 39+function(b){var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null;this.init("tooltip",a,b)};c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1};c.prototype.init=function(a,d,e){this.enabled=!0;this.type=a;this.$element=b(d);this.options=this.getOptions(e);a=this.options.trigger.split(" "); 40for(d=a.length;d--;)if(e=a[d],"click"==e)this.$element.on("click."+this.type,this.options.selector,b.proxy(this.toggle,this));else if("manual"!=e){var c="hover"==e?"mouseleave":"blur";this.$element.on(("hover"==e?"mouseenter":"focus")+"."+this.type,this.options.selector,b.proxy(this.enter,this));this.$element.on(c+"."+this.type,this.options.selector,b.proxy(this.leave,this))}this.options.selector?this._options=b.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};c.prototype.getDefaults= 41function(){return c.DEFAULTS};c.prototype.getOptions=function(a){return a=b.extend({},this.getDefaults(),this.$element.data(),a),a.delay&&"number"==typeof a.delay&&(a.delay={show:a.delay,hide:a.delay}),a};c.prototype.getDelegateOptions=function(){var a={},d=this.getDefaults();return this._options&&b.each(this._options,function(b,c){d[b]!=c&&(a[b]=c)}),a};c.prototype.enter=function(a){var d=a instanceof this.constructor?a:b(a.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type); 42return clearTimeout(d.timeout),d.hoverState="in",d.options.delay&&d.options.delay.show?(d.timeout=setTimeout(function(){"in"==d.hoverState&&d.show()},d.options.delay.show),void 0):d.show()};c.prototype.leave=function(a){var d=a instanceof this.constructor?a:b(a.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(d.timeout),d.hoverState="out",d.options.delay&&d.options.delay.hide?(d.timeout=setTimeout(function(){"out"==d.hoverState&&d.hide()},d.options.delay.hide), 43void 0):d.hide()};c.prototype.show=function(){var a=b.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled&&(this.$element.trigger(a),!a.isDefaultPrevented())){var d=this.tip();this.setContent();this.options.animation&&d.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,d[0],this.$element[0]):this.options.placement,e=/\s?auto?\s?/i,c=e.test(a);c&&(a=a.replace(e,"")||"top");d.detach().css({top:0,left:0,display:"block"}).addClass(a);this.options.container? 44d.appendTo(this.options.container):d.insertAfter(this.$element);var e=this.getPosition(),h=d[0].offsetWidth,f=d[0].offsetHeight;if(c){var l=this.$element.parent(),c=a,m=document.documentElement.scrollTop||document.body.scrollTop,n="body"==this.options.container?window.innerWidth:l.outerWidth(),p="body"==this.options.container?window.innerHeight:l.outerHeight(),l="body"==this.options.container?0:l.offset().left,a="bottom"==a&&e.top+e.height+f-m>p?"top":"top"==a&&0>e.top-m-f?"bottom":"right"==a&&e.right+ 45h>n?"left":"left"==a&&e.left-h<l?"right":a;d.removeClass(c).addClass(a)}d=this.getCalculatedOffset(a,e,h,f);this.applyPlacement(d,a);this.$element.trigger("shown.bs."+this.type)}};c.prototype.applyPlacement=function(a,b){var e,c=this.tip(),h=c[0].offsetWidth,f=c[0].offsetHeight,l=parseInt(c.css("margin-top"),10),m=parseInt(c.css("margin-left"),10);isNaN(l)&&(l=0);isNaN(m)&&(m=0);a.top+=l;a.left+=m;c.offset(a).addClass("in");l=c[0].offsetWidth;m=c[0].offsetHeight;("top"==b&&m!=f&&(e=!0,a.top=a.top+ 46f-m),/bottom|top/.test(b))?(f=0,0>a.left&&(f=-2*a.left,a.left=0,c.offset(a),l=c[0].offsetWidth),this.replaceArrow(f-h+l,l,"left")):this.replaceArrow(m-f,m,"top");e&&c.offset(a)};c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")};c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b);a.removeClass("fade in top bottom left right")};c.prototype.hide=function(){function a(){"in"!=d.hoverState&&c.detach()} 47var d=this,c=this.tip(),g=b.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(c.removeClass("in"),b.support.transition&&this.$tip.hasClass("fade")?c.one(b.supp
47ort.transition.end,a).emulateTransitionEnd(150):a(),this.$element.trigger("hidden.bs."+this.type),this)};c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")};c.prototype.hasContent= 48function(){return this.getTitle()};c.prototype.getPosition=function(){var a=this.$element[0];return b.extend({},"function"==typeof a.getBoundingClientRect?a.getBoundingClientRect():{width:a.offsetWidth,height:a.offsetHeight},this.$element.offset())};c.prototype.getCalculatedOffset=function(a,b,c,g){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-g,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-g/2,left:b.left-c}:{top:b.top+b.height/2-g/2,left:b.left+ 49b.width}};c.prototype.getTitle=function(){var a=this.$element,b=this.options;return a.attr("data-original-title")||("function"==typeof b.title?b.title.call(a[0]):b.title)};c.prototype.tip=function(){return this.$tip=this.$tip||b(this.options.template)};c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};c.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)};c.prototype.enable=function(){this.enabled= 50!0};c.prototype.disable=function(){this.enabled=!1};c.prototype.toggleEnabled=function(){this.enabled=!this.enabled};c.prototype.toggle=function(a){a=a?b(a.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;a.tip().hasClass("in")?a.leave(a):a.enter(a)};c.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var f=b.fn.tooltip;b.fn.tooltip=function(a){return this.each(function(){var d=b(this),e=d.data("bs.tooltip"),g="object"== 51typeof a&&a;e||d.data("bs.tooltip",e=new c(this,g));"string"==typeof a&&e[a]()})};b.fn.tooltip.Constructor=c;b.fn.tooltip.noConflict=function(){return b.fn.tooltip=f,this}}(jQuery); 52+function(b){var c=function(a,b){this.init("popover",a,b)};if(!b.fn.tooltip)throw Error("Popover requires tooltip.js");c.DEFAULTS=b.extend({},b.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'});c.prototype=b.extend({},b.fn.tooltip.Constructor.prototype);c.prototype.constructor=c;c.prototype.getDefaults=function(){return c.DEFAULTS};c.prototype.setContent= 53function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b);a.find(".popover-content")[this.options.html?"html":"text"](c);a.removeClass("fade top bottom left right in");a.find(".popover-title").html()||a.find(".popover-title").hide()};c.prototype.hasContent=function(){return this.getTitle()||this.getContent()};c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content? 54b.content.call(a[0]):b.content)};c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};c.prototype.tip=function(){return this.$tip||(this.$tip=b(this.options.template)),this.$tip};var f=b.fn.popover;b.fn.popover=function(a){return this.each(function(){var d=b(this),e=d.data("bs.popover"),g="object"==typeof a&&a;e||d.data("bs.popover",e=new c(this,g));"string"==typeof a&&e[a]()})};b.fn.popover.Constructor=c;b.fn.popover.noConflict=function(){return b.fn.popover=f, 55this}}(jQuery); 56+function(b){function c(a,d){var e,g=b.proxy(this.process,this);this.$element=b(a).is("body")?b(window):b(a);this.$body=b("body");this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",g);this.options=b.extend({},c.DEFAULTS,d);this.selector=(this.options.target||(e=b(a).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a";this.offsets=b([]);this.targets=b([]);this.activeTarget=null;this.refresh();this.process()}c.DEFAULTS={offset:10};c.prototype.refresh=function(){var a=this.$element[0]== 57window?"offset":"position";this.offsets=b([]);this.targets=b([]);var c=this;this.$body.find(this.selector).map(function(){var e=b(this),e=e.data("target")||e.attr("href"),g=/^#\w/.test(e)&&b(e);return g&&g.length&&[[g[a]().top+(!b.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]);c.targets.push(this[1])})};c.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset, 58c=(this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight)-this.$scrollElement.height(),g=this.offsets,f=this.targets,k=this.activeTarget;if(b>=c)return k!=(a=f.last()[0])&&this.activate(a);for(a=g.length;a--;)k!=f[a]&&b>=g[a]&&(!g[a+1]||b<=g[a+1])&&this.activate(f[a])};c.prototype.activate=function(a){this.activeTarget=a;b(this.selector).parents(".active").removeClass("active");a=b(this.selector+'[data-target="'+a+'"],'+this.selector+'[href="'+a+'"]').parents("li").addClass("active");a.parent(".dropdown-menu").length&& 59(a=a.closest("li.dropdown").addClass("active"));a.trigger("activate.bs.scrollspy")};var f=b.fn.scrollspy;b.fn.scrollspy=function(a){return this.each(function(){var d=b(this),e=d.data("bs.scrollspy"),g="object"==typeof a&&a;e||d.data("bs.scrollspy",e=new c(this,g));"string"==typeof a&&e[a]()})};b.fn.scrollspy.Constructor=c;b.fn.scrollspy.noConflict=function(){return b.fn.scrollspy=f,this};b(window).on("load",function(){b('[data-spy="scroll"]').each(function(){var a=b(this);a.scrollspy(a.data())})})}(jQuery); 60+function(b){var c=function(a){this.element=b(a)};c.prototype.show=function(){var a=this.element,c=a.closest("ul:not(.dropdown-menu)"),e=a.data("target");if(e||(e=a.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,"")),!a.parent("li").hasClass("active")){var g=c.find(".active:last a")[0],f=b.Event("show.bs.tab",{relatedTarget:g});(a.trigger(f),f.isDefaultPrevented())||(e=b(e),this.activate(a.parent("li"),c),this.activate(e,e.parent(),function(){a.trigger({type:"shown.bs.tab",relatedTarget:g})}))}};c.prototype.activate= 61function(a,c,e){function g(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active");a.addClass("active");k?(a[0].offsetWidth,a.addClass("in")):a.removeClass("fade");a.parent(".dropdown-menu")&&a.closest("li.dropdown").addClass("active");e&&e()}var f=c.find("> .active"),k=e&&b.support.transition&&f.hasClass("fade");
61k?f.one(b.support.transition.end,g).emulateTransitionEnd(150):g();f.removeClass("in")};var f=b.fn.tab;b.fn.tab=function(a){return this.each(function(){var d=b(this), 62e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this));"string"==typeof a&&e[a]()})};b.fn.tab.Constructor=c;b.fn.tab.noConflict=function(){return b.fn.tab=f,this};b(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(a){a.preventDefault();b(this).tab("show")})}(jQuery); 63+function(b){var c=function(a,d){this.options=b.extend({},c.DEFAULTS,d);this.$window=b(window).on("scroll.bs.affix.data-api",b.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",b.proxy(this.checkPositionWithEventLoop,this));this.$element=b(a);this.affixed=this.unpin=null;this.checkPosition()};c.RESET="affix affix-top affix-bottom";c.DEFAULTS={offset:0};c.prototype.checkPositionWithEventLoop=function(){setTimeout(b.proxy(this.checkPosition,this),1)};c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var a= 64b(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,h=f.top,k=f.bottom;"object"!=typeof f&&(k=h=f);"function"==typeof h&&(h=f.top());"function"==typeof k&&(k=f.bottom());
vendor: 902 bytes, lines 64-66
64a=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=k&&e.top+this.$element.height()>=a-k?"bottom":null!=h&&h>=d?"top":!1;this.affixed!==a&&(this.unpin&&this.$element.css("top",""),this.affixed=a,this.unpin="bottom"==a?e.top-d:null,this.$element.removeClass(c.RESET).addClass("affix"+(a?"-"+a: 65"")),"bottom"==a&&this.$element.offset({top:document.body.offsetHeight-k-this.$element.height()}))}};var f=b.fn.affix;b.fn.affix=function(a){return this.each(function(){var d=b(this),e=d.data("bs.affix"),f="object"==typeof a&&a;e||d.data("bs.affix",e=new c(this,f));"string"==typeof a&&e[a]()})};b.fn.affix.Constructor=c;b.fn.affix.noConflict=function(){return b.fn.affix=f,this};b(window).on("load",function(){b('[data-spy="affix"]').each(function(){var a=b(this),c=a.data();c.offset=c.offset||{};c.offsetBottom&& 66(c.offset.bottom=c.offsetBottom);c.offsetTop&&(c.offset.top=c.offsetTop);a.affix(c)})})}(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.