1;(function($){$.slidebars=function(f){var g=$.extend({siteClose:true,disableOver:false,hideControlClasses:false},f);var h=document.createElement('div').style,supportTransition=false,supportTransform=false;if(h.MozTransition===''||h.WebkitTransition===''||h.OTransition===''||h.transition==='')supportTransition=true;if(h.MozTransform===''||h.WebkitTransform===''||h.OTransform===''||h.transform==='')supportTransform=true;var i=navigator.userAgent,android=false,iOS=false;if(/Android/.test(i)){android=i.substr(i.indexOf('Android')+8,3)}else if(/(iPhone|iPod|iPad)/.test(i)){iOS=i.substr(i.indexOf('OS ')+3,3).replace('_','.')}if(android&&android<3||iOS&&iOS<5)$('html').addClass('sb-static');if(!$('#sb-site').length)$('body').children().wrapAll('<div id="sb-site" />');var j=$('#sb-site');if(!j.parent().is('body'))j.appendTo('body');if($('.sb-left').length){var k=$('.sb-left'),leftActive=false;k.addClass('sb-slidebar');if(!k.parent().is('body'))k.appendTo('body')}if($('.sb-right').length){var l=$('.sb-right'),rightActive=false;l.addClass('sb-slidebar');if(!l.parent().is('body'))l.appendTo('body')}var m=false,windowWidth=$(window).width(),$controls=$('.sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close'),$slide=$('.sb-slide');function initialise(){if(!g.disableOver||(typeof g.disableOver==='number'&&g.disableOver>=windowWidth)){m=true;$('html').addClass('sb-init');if(g.hideControlClasses)$controls.removeClass('sb-hide')}else if(typeof g.disableOver==='number'&&g.disableOver<windowWidth){m=false;$('html').removeClass('sb-init');if(g.hideControlClasses)$controls.addClass('sb-hide');if(leftActive||rightActive)close()}}initialise();function css(){if(k&&(k.hasClass('sb-style-push')||k.hasClass('sb-style-overlay')))k.css('marginLeft','-'+k.css('width'));if(l&&(l.hasClass('sb-style-push')||l.hasClass('sb-style-overlay')))l.css('marginRight','-'+l.css('width'));if(k&&k.hasClass('sb-width-custom'))k.css('width',k.attr('data-sb-width'));if(l&&l.hasClass('sb-width-custom'))l.css('width',l.attr('data-sb-width'))}css();$(window).resize(function(){var a=$(window).width();if(windowWidth!==a){windowWidth=a;initialise();css();if(leftActive)open('left');if(rightActive)open('right')}});var n;if(supportTransition&&supportTransform){n='translate';if(android&&android<4.4)n='side'}else{n='jQuery'}function animate(a,b,c){var d;if(a.hasClass('sb-style-push')){d=j.add(a).add($slide)}else if(a.hasClass('sb-style-overlay')){d=a}else{d=j.add($slide)}if(n==='translate'){d.css('transform','translate('+b+')')}else if(n==='side'){if(b[0]==='-')b=b.substr(1);d.css(c,b)}else if(n==='jQuery'){if(b[0]==='-')b=b.substr(1);var e={};e[c]=b;d.stop().animate(e,400)}setTimeout(function(){if(b==='0px'){css()}},400)}function open(a){if(a==='left'&&k&&rightActive||a==='right'&&l&&leftActive){close();setTimeout(proceed,400)}else{proceed()}function proceed(){if(m&&a==='left'&&k){$('html').addClass('sb-active sb-active-left');k.addClass('sb-active');animate(k,k.css('width'),'left');setTimeout(function(){leftActive=true},400)}else if(m&&a==='right'&&l){$('html').addClass('sb-active sb-active-right');l.addClass('sb-active');animate(l,'-'+l.css('width'),'right');setTimeout(function(){rightActive=true},400)}}}function close(a){if(leftActive||rightActive){if(leftActive){animate(k,'0px','left');leftActive=false}if(rightActive){animate(l,'0px','right');rightActive=false}setTimeout(function(){$('html').removeClass('sb-active sb-active-left sb-active-right');if(k)k.removeClass('sb-active');if(l)l.removeClass('sb-active');if(a)window.location=a},400)}}function toggle(a){if(a==='left'&&k){if(!leftActive){open('left')}else{close()}}if(a==='right'&&l){if(!rightActive){open('right')}else{close()}}}this.open=open;this.close=close;this.toggle=toggle;this.init=function(){return m};this.active=function(a){if(a==='left'&&k)return leftActive;if(a==='right'&&l)return rightActive};function eventHandler(a,b){a.stopPropagation();a.preventDefault();if(a.type==='touchend')b.off('click')}$('.sb-toggle-left').on('touchend click',function(a){eventHandler(a,$(this));toggle('left')});$('.sb-toggle-right').on('touchend click',function(a){eventHandler(a,$(this));toggle('right')});$('.sb-open-left').on('touchend click',function(a){eventHandler(a,$(this));open('left')});$('.sb-open-right').on('touchend click',function(a){eventHandler(a,$(this));open('right')});$('.sb-close').on('touchend click',function(a){eventHandler(a,$(this));close()});$('.sb-slidebar a').not('.sb-disable-close').on('click',function(a){eventHandler(a,$(this));close($(this).attr('href'))});
1j.on('touchend click',function(a){if(g.siteClose&&(leftActive||rightActive)){eventHandler(a,$(this));close()}})}})(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.