{"version":3,"sources":["jsdelivr-header.js","/npm/angular-mousewheel@1.0.5/mousewheel.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACAA,QAAQ,OAAO,wBAAyB,IACrC,UAAU,WAAY,CAAC,SAAU,SAAS,GACzC,MAAO,CACL,SAAU,OACR,KAAM,SAAS,EAAO,EAAS,GAC/B,IAWI,EAXA,EAAO,EAAO,EAAe,UAC7B,EAAK,SAAS,EAAO,EAAO,EAAQ,GAClC,EAAM,QAAO,WACX,EAAK,EAAO,CACV,OAAQ,EACR,OAAQ,EACR,QAAS,EACT,QAAS,GAE3B,GACA,EAG+B,oBAAZ,UAaL,EAAU,EAAQ,KAAK,cAC3B,EAAU,QAAQ,EAAQ,IAC1B,EAAQ,KAAK,UAAW,IAI1B,EAAQ,MAAM,GAGd,EAAM,IAAI,YAAY,WACpB,EAAQ,QAAQ,EAC1B,KAtBU,EAAQ,KAAK,SAAS,SAAS,GAC7B,EAAM,QAAO,WACX,EAAK,EAAO,CACV,OAAQ,GAExB,GACA,GAiBA,EAEA","file":"/npm/angular-mousewheel@1.0.5/mousewheel.js/+esm","sourceRoot":"","sourcesContent":["/**\n * Bundled by jsDelivr using Rollup v2.79.2 and Terser v5.39.0.\n * Original file: /npm/angular-mousewheel@1.0.5/mousewheel.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/*\n * angular-mousewheel v1.0.5\n * (c) 2013 Monospaced http://monospaced.com\n * License: MIT\n */\n\nangular.module('monospaced.mousewheel', [])\n  .directive('msdWheel', ['$parse', function($parse){\n    return {\n      restrict: 'A, C',\n        link: function(scope, element, attr) {\n        var expr = $parse(attr['msdWheel']),\n            fn = function(event, delta, deltaX, deltaY){\n              scope.$apply(function(){\n                expr(scope, {\n                  $event: event,\n                  $delta: delta,\n                  $deltaX: deltaX,\n                  $deltaY: deltaY\n                });\n              });\n            },\n            hamster;\n\n        if (typeof Hamster === 'undefined') {\n          // fallback to standard wheel event\n          element.bind('wheel', function(event){\n            scope.$apply(function() {\n              expr(scope, {\n                $event: event\n              });\n            });\n          });\n          return;\n        }\n\n        // don't create multiple Hamster instances per element\n        if (!(hamster = element.data('hamster'))) {\n          hamster = Hamster(element[0]);\n          element.data('hamster', hamster);\n        }\n\n        // bind Hamster wheel event\n        hamster.wheel(fn);\n\n        // unbind Hamster wheel event\n        scope.$on('$destroy', function(){\n          hamster.unwheel(fn);\n        });\n      }\n    };\n  }]);\n"]}