/* AngularJS v1.2.0rc1 (c) 2010-2012 Google, Inc. http://angularjs.org License: MIT */ (function(y,v,z){'use strict';function t(f,a,c){q.directive(f,["$parse","$swipe",function(l,n){var r=75,e=0.3,g=30;return function(p,m,k){function d(d){if(!u)return!1;var b=Math.abs(d.y-u.y);d=(d.x-u.x)*a;return h&&bg&&b/dl&&10>n||(n>l?(g=!1,c.cancel&& c.cancel()):(a.preventDefault(),c.move&&c.move(m)))}});a.on("touchend mouseup",function(a){g&&(g=!1,c.end&&c.end(f(a)))})}}}]);q.config(["$provide",function(f){f.decorator("ngClickDirective",["$delegate",function(a){a.shift();return a}])}]);q.directive("ngClick",["$parse","$timeout","$rootElement",function(f,a,c){function l(d,a,c){for(var h=0;he)){var b=a.touches&&a.touches.length? a.touches:[a],c=b[0].clientX,b=b[0].clientY;1>c&&1>b||l(k,c,b)||(a.stopPropagation(),a.preventDefault(),a.target&&a.target.blur())}}function r(d){d=d.touches&&d.touches.length?d.touches:[d];var b=d[0].clientX,c=d[0].clientY;k.push(b,c);a(function(){for(var a=0;a d&&12>p)&&(k||(c[0].addEventListener("click",n,!0),c[0].addEventListener("touchstart",r,!0),k=[]),m=Date.now(),l(k,e,f),s&&s.blur(),v.isDefined(g.disabled)&&!1!==g.disabled||b.triggerHandler("click",a));h()});b.onclick=function(a){};b.on("click",function(b){a.$apply(function(){e(a,{$event:b})})});b.on("mousedown",function(a){b.addClass(p)});b.on("mousemove mouseup",function(a){b.removeClass(p)})}}]);t("ngSwipeLeft",-1,"swipeleft");t("ngSwipeRight",1,"swiperight")})(window,window.angular); /* //@ sourceMappingURL=angular-touch.min.js.map */