/* Bootstrap carousel.js v4.3.1 (https://getbootstrap.com/) Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ (function(b,f){"object"===typeof exports&&"undefined"!==typeof module?module.exports=f(require("jquery"),require("./util.js")):"function"===typeof define&&define.amd?define(["jquery","./util.js"],f):(b=b||self,b.BootstrapCarousel=f(b.jQuery,b.Util))})(this,function(b,f){function n(b,c){for(var a=0;athis._items.length-1||0>a))if(this._isSliding)b(this._element).one("slid.bs.carousel",function(){return d.to(a)});else c===a?(this.pause(),this.cycle()):this._slide(a>c?"next":"prev",this._items[a])};c.dispose=function(){b(this._element).off(".bs.carousel");b.removeData(this._element,"bs.carousel");this._indicatorsElement=this._activeElement=this._isSliding=this._isPaused=this._interval=this._element=this._config=this._items=null};c._getConfig=function(a){a=l({},m,a);f.typeCheckConfig("bootstrapcarousel", a,v);return a};c._handleSwipe=function(){var a=Math.abs(this.touchDeltaX);40>=a||(a/=this.touchDeltaX,0a&&this.next())};c._addEventListeners=function(){var a=this;if(this._config.keyboard)b(this._element).on("keydown.bs.carousel",function(b){return a._keydown(b)});if("hover"===this._config.pause)b(this._element).on("mouseenter.bs.carousel",function(b){return a.pause(b)}).on("mouseleave.bs.carousel",function(b){return a.cycle(b)});this._config.touch&&this._addTouchEventListeners()}; c._addTouchEventListeners=function(){var a=this;if(this._touchSupported){var d=function(b){a._pointerEvent&&r[b.originalEvent.pointerType.toUpperCase()]?a.touchStartX=b.originalEvent.clientX:a._pointerEvent||(a.touchStartX=b.originalEvent.touches[0].clientX)},c=function(b){a._pointerEvent&&r[b.originalEvent.pointerType.toUpperCase()]&&(a.touchDeltaX=b.originalEvent.clientX-a.touchStartX);a._handleSwipe();"hover"===a._config.pause&&(a.pause(),a.touchTimeout&&clearTimeout(a.touchTimeout),a.touchTimeout= setTimeout(function(b){return a.cycle(b)},500+a._config.interval))};b(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(a){return a.preventDefault()});this._pointerEvent?(b(this._element).on("pointerdown.bs.carousel",function(a){return d(a)}),b(this._element).on("pointerup.bs.carousel",function(a){return c(a)}),this._element.classList.add("pointer-event")):(b(this._element).on("touchstart.bs.carousel",function(a){return d(a)}),b(this._element).on("touchmove.bs.carousel", function(b){a.touchDeltaX=b.originalEvent.touches&&1