!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):(t=t||self).vuescroll=e(t.Vue)}(this,function(t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t,e,o){return e&&i(t.prototype,e),o&&i(t,o),t};function i(t,e){for(var o=0;oMath.abs(t.deltaY)?l=0:a=0)):(a=0,l=-1*t.wheelDelta/2):t.detail&&(l=a=16*t.detail,1==t.axis?l=0:2==t.axis&&(a=0)),r&&t.shiftKey&&(a^=l,a^=l^=a),o&&(a^=l,a^=l^=a),this.checkScrollable(t,a,l)&&(t.stopPropagation(),t.preventDefault(),this.scrollBy({dx:a,dy:l},i))}},computed:{scrollContentElm:function(){return this.$refs.scrollContent._isVue?this.$refs.scrollContent.$el:this.$refs.scrollContent}}}],methods:{destroy:function(){this.destroyResize&&this.destroyResize()},getCurrentviewDom:function(){return this.getCurrentviewDomNative()},internalScrollTo:function(t,e,o,i){this.nativeScrollTo(t,e,o,i)},internalStop:function(){this.nativeStop()},internalPause:function(){this.nativePause()},internalContinue:function(){this.nativeContinue()},handleScroll:function(t){this.updateBarStateAndEmitEvent("handle-scroll",t)},updateBarStateAndEmitEvent:function(t,e){var o=1