function __sircl_touchswipe_click(n,t){if(n.hasAttr(t)){var i=n.attr(t);sircl.ext.$select(n,i).each(function(){this.click()})}}typeof sircl=="undefined"&&console.warn("The 'sircl-touchswipe-jquery' component should be registered after the 'sircl' component. Please review order of script files.");typeof $.fn.swipe=="undefined"&&console.warn("The 'sircl-touchswipe-jquery' component requires the 'jquery.touchSwipe.js' component. See https://github.com/mattbryson/TouchSwipe-Jquery-Plugin");$$("before",function(){$(this).find("*[onswipeleft-click],*[onswiperight-click],*[onswipeup-click],*[onswipedown-click],*[ontap-click],*[ondoubletap-click],*[onlongtap-click]").each(function(){$(this).swipe("destroy")})});$$("process",function(){$(this).find("*[onswipeleft-click],*[onswiperight-click],*[onswipeup-click],*[onswipedown-click],*[ontap-click],*[ondoubletap-click],*[onlongtap-click],*[onlongtapend-click]").each(function(){$(this).swipe({swipeLeft:function(){__sircl_touchswipe_click(this,"onswipeleft-click")},swipeRight:function(){__sircl_touchswipe_click(this,"onswiperight-click")},swipeUp:function(){__sircl_touchswipe_click(this,"onswipeup-click")},swipeDown:function(){__sircl_touchswipe_click(this,"onswipedown-click")},tap:function(){__sircl_touchswipe_click(this,"ontap-click")},doubleTap:function(){__sircl_touchswipe_click(this,"ondoubletap-click")},hold:function(){__sircl_touchswipe_click(this,"onlongtap-click")},longTap:function(){__sircl_touchswipe_click(this,"onlongtapend-click")},threshold:parseInt($(this).closest("[swipe-threshold]").attr("swipe-threshold")||"75"),longTapThreshold:parseInt($(this).closest("[longtap-threshold]").attr("longtap-threshold")||"500"),doubleTapThreshold:parseInt($(this).closest("[doubletap-threshold]").attr("doubletap-threshold")||"200")});$(this).swipe("enable")})});