/*! copyright (c) 2013 brandon aaron (http://brandonaaron.net) * licensed under the mit license (license.txt). * * thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. * thanks to: mathias bank(http://www.mathias-bank.de) for a scope bug fix. * thanks to: seamus leahy for adding deltax and deltay * * version: 3.1.3 * * requires: 1.2.2+ */ ;(function(c){"function"===typeof define&&define.amd?define(["jquery"],c):"object"===typeof exports?module.exports=c:c(jquery)})(function(c){function l(b){var a=b||window.event,h=[].slice.call(arguments,1),d=0,e=0,f=0,g=0,g=0;b=c.event.fix(a);b.type="mousewheel";a.wheeldelta&&(d=a.wheeldelta);a.detail&&(d=-1*a.detail);a.deltay&&(d=f=-1*a.deltay);a.deltax&&(e=a.deltax,d=-1*e);void 0!==a.wheeldeltay&&(f=a.wheeldeltay);void 0!==a.wheeldeltax&&(e=-1*a.wheeldeltax);g=math.abs(d);if(!m||g