/*! bootstrap carousel swipe jquery plugin v1.1 | https://github.com/maaaaark/bcswipe | mit license */ !function(t){t.fn.bcswipe=function(e){var n={threshold:50};return e&&t.extend(n,e),this.each(function(){function e(t){1==t.touches.length&&(u=t.touches[0].pagex,c=!0,this.addeventlistener("touchmove",i,!1))}function i(e){if(c){var i=e.touches[0].pagex,r=u-i;if(math.abs(r)>=n.threshold){if(h(),o(t(this)))return;r>0?t(this).carousel("next"):t(this).carousel("prev")}}}function o(t){return t.find(".item.active").length<1}function h(){this.removeeventlistener("touchmove",i),u=null,c=!1}var u,c=!1;"ontouchstart"in document.documentelement&&this.addeventlistener("touchstart",e,!1)}),this}}(jquery);