1/* 2 jQuery.scrollTo 3 Copyright (c) 2007-2015 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com 4 Licensed under MIT 5 http://flesler.blogspot.com/2007/10/jqueryscrollto.html 6 @projectDescription Lightweight, cross-browser and highly customizable animated scrolling with jQuery 7 @author Ariel Flesler 8 @version 2.1.2 9*/ 10(function(c){"function"===typeof define&&define.amd?define(["jquery"],c):"undefined"!==typeof module&&module.exports?module.exports=c(require("jquery")):c(jQuery)})(function(c){function v(a){return!a.nodeName||-1!==c.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function r(a){return"function"===typeof a||c.isPlainObject(a)?a:{top:a,left:a}}var m=c.scrollTo=function(a,d,b){return c(window).scrollTo(a,d,b)};m.defaults={axis:"xy",duration:0,limit:!0};c.fn.scrollTo=function(a, 11d,b){"object"===typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=c.extend({},m.defaults,b);d=d||b.duration;var k=b.queue&&1<b.axis.length;k&&(d/=2);b.offset=r(b.offset);b.over=r(b.over);return this.each(function(){function w(p){var h=c.extend({},b,{queue:!0,duration:d,complete:p&&function(){p.call(n,e,b)}});t.animate(f,h)}if(null!==a){var u=v(this),n=u?this.contentWindow||window:this,t=c(n),e=a,f={};switch(typeof e){case "number":case "string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(e)){e= 12r(e);break}e=u?c(e):c(e,n);case "object":if(0===e.length)return;if(e.is||e.style)var x=(e=c(e)).offset()}var A="function"===typeof b.offset&&b.offset(n,e)||b.offset;c.each(b.axis.split(""),function(p,h){var q="x"===h?"Left":"Top",l=q.toLowerCase(),g="scroll"+q,y=t[g](),z=m.max(n,h);x?(f[g]=x[l]+(u?0:y-t.offset()[l]),b.margin&&(f[g]-=parseInt(e.css("margin"+q),10)||0,f[g]-=parseInt(e.css("border"+q+"Width"),10)||0),f[g]+=A[l]||0,b.over[l]&&(f[g]+=e["x"===h?"width":"height"]()*b.over[l])):(h=e[l],f[g]= 13h.slice&&"%"===h.slice(-1)?parseFloat(h)/100*z:h);b.limit&&/^\d+$/.test(f[g])&&(f[g]=0>=f[g]?0:Math.min(f[g],z));!p&&1<b.axis.length&&(y===f[g]?f={}:k&&(w(b.onAfterFirst),f={}))});w(b.onAfter)}})};m.max=function(a,d){var b="x"===d?"Width":"Height";d="scroll"+b;if(!v(a))return a[d]-c(a)[b.toLowerCase()]();b="client"+b;var k=a.ownerDocument||a.document;a=k.documentElement;k=k.body;return Math.max(a[d],k[d])-Math.min(a[b],k[b])};c.Tween.propHooks.scrollLeft=c.Tween.propHooks.scrollTop={get:function(a){return c(a.elem)[a.prop]()}, 14set:function(a){var d=this.get(a);if(a.options.interrupt&&a._last&&a._last!==d)return c(a.elem).stop();var b=Math.round(a.now);d!==b&&(c(a.elem)[a.prop](b),a._last=this.get(a))}};return m});
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.