/ig,aI=/^(?:body|html)$/i,ap=/([A-Z])/g,aC=["val","css","html","text","data","width","height","offset"],ax=["after","prepend","before","append"],az=aS.createElement("table"),aQ=aS.createElement("tr"),aR={tr:aS.createElement("tbody"),tbody:az,thead:az,tfoot:az,td:aQ,th:aQ,"*":aS.createElement("div")},aA=/complete|loaded|interactive/,ak=/^[\w-]*$/,af={},ag=af.toString,aV={},aX,ai,ao=aS.createElement("div"),a0={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},au=Array.isArray||function(a){return a instanceof Array};aV.matches=function(b,f){if(!f||!b||b.nodeType!==1){return false}var a=b.webkitMatchesSelector||b.mozMatchesSelector||b.oMatchesSelector||b.matchesSelector;if(a){return a.call(b,f)}var c,d=b.parentNode,e=!d;if(e){(d=ao).appendChild(b)}c=~aV.qsa(d,f).indexOf(b);e&&ao.removeChild(b);return c};function aa(a){return a==null?String(a):af[ag.call(a)]||"object"}function aG(a){return aa(a)=="function"}function aK(a){return a!=null&&a==a.window}function aB(a){return a!=null&&a.nodeType==a.DOCUMENT_NODE}function aJ(a){return aa(a)=="object"}function ab(a){return aJ(a)&&!aK(a)&&Object.getPrototypeOf(a)==Object.prototype}function aw(a){return typeof a.length=="number"}function ae(a){return aH.call(a,function(b){return b!=null})}function ay(a){return a.length>0?aq.fn.concat.apply([],a):a}aX=function(a){return a.replace(/-+(.)?/g,function(c,b){return b?b.toUpperCase():""})};function an(a){return a.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}ai=function(a){return aH.call(a,function(b,c){return a.indexOf(b)==c})};function ah(a){return a in aO?aO[a]:(aO[a]=new RegExp("(^|\\s)"+a+"(\\s|$)"))}function aT(b,a){return(typeof a=="number"&&!ad[an(b)])?a+"px":a}function aU(a){var c,b;if(!aj[a]){c=aS.createElement(a);aS.body.appendChild(c);b=getComputedStyle(c,"").getPropertyValue("display");c.parentNode.removeChild(c);b=="none"&&(b="block");aj[a]=b}return aj[a]}function aE(a){return"children" in a?aF.call(a.children):aq.map(a.childNodes,function(b){if(b.nodeType==1){return b}})}aV.fragment=function(c,d,e){var a,f,b;if(aL.test(c)){a=aq(aS.createElement(RegExp.$1))}if(!a){if(c.replace){c=c.replace(aM,"<$1>$2>")}if(d===am){d=at.test(c)&&RegExp.$1}if(!(d in aR)){d="*"}b=aR[d];b.innerHTML=""+c;a=aq.each(aF.call(b.childNodes),function(){b.removeChild(this)})}if(ab(e)){f=aq(a);aq.each(e,function(h,g){if(aC.indexOf(h)>-1){f[h](g)}else{f.attr(h,g)}})}return a};aV.Z=function(a,b){a=a||[];a.__proto__=aq.fn;a.selector=b||"";return a};aV.isZ=function(a){return a instanceof aV.Z};aV.init=function(c,b){var a;if(!c){return aV.Z()}else{if(typeof c=="string"){c=c.trim();if(c[0]=="<"&&at.test(c)){a=aV.fragment(c,RegExp.$1,b),c=null}else{if(b!==am){return aq(b).find(c)}else{a=aV.qsa(aS,c)}}}else{if(aG(c)){return aq(aS).ready(c)}else{if(aV.isZ(c)){return c}else{if(au(c)){a=ae(c)}else{if(aJ(c)){a=[c],c=null}else{if(at.test(c)){a=aV.fragment(c.trim(),RegExp.$1,b),c=null}else{if(b!==am){return aq(b).find(c)}else{a=aV.qsa(aS,c)}}}}}}}}return aV.Z(a,c)};aq=function(b,a){return aV.init(b,a)};function al(a,c,b){for(aD in c){if(b&&(ab(c[aD])||au(c[aD]))){if(ab(c[aD])&&!ab(a[aD])){a[aD]={}}if(au(c[aD])&&!au(a[aD])){a[aD]=[]}al(a[aD],c[aD],b)}else{if(c[aD]!==am){a[aD]=c[aD]}}}}aq.extend=function(a){var c,b=aF.call(arguments,1);if(typeof a=="boolean"){c=a;a=b.shift()}b.forEach(function(d){al(a,d,c)});return a};aV.qsa=function(d,f){var b,a=f[0]=="#",e=!a&&f[0]==".",c=a||e?f.slice(1):f,g=ak.test(c);return(aB(d)&&g&&a)?((b=d.getElementById(c))?[b]:[]):(d.nodeType!==1&&d.nodeType!==9)?[]:aF.call(g&&!a?e?d.getElementsByClassName(c):d.getElementsByTagName(f):d.querySelectorAll(f))};function av(a,b){return b==null?aq(a):aq(a).filter(b)}aq.contains=aS.documentElement.contains?function(b,a){return b!==a&&b.contains(a)}:function(b,a){while(a&&(a=a.parentNode)){if(a===b){return true}}return false};function ar(b,c,d,a){return aG(c)?c.call(b,d,a):c}function aY(b,c,a){a==null?b.removeAttribute(c):b.setAttribute(c,a)}function aZ(b,a){var d=b.className,c=d&&d.baseVal!==am;if(a===am){return c?d.baseVal:d}c?(d.baseVal=a):(b.className=a)}function aP(b){var c;try{return b?b=="true"||(b=="false"?false:b=="null"?null:!/^0/.test(b)&&!isNaN(c=Number(b))?c:/^[\[\{]/.test(b)?aq.parseJSON(b):b):b}catch(a){return b}}aq.type=aa;aq.isFunction=aG;aq.isWindow=aK;aq.isArray=au;aq.isPlainObject=ab;aq.isEmptyObject=function(a){var b;for(b in a){return false}return true};aq.inArray=function(b,a,c){return aN.indexOf.call(a,b,c)};aq.camelCase=aX;aq.trim=function(a){return a==null?"":String.prototype.trim.call(a)};aq.uuid=0;aq.support={};aq.expr={};aq.map=function(f,a){var b,c=[],d,e;if(aw(f)){for(d=0;d=0?a:a+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){if(this.parentNode!=null){this.parentNode.removeChild(this)}})},each:function(a){aN.every.call(this,function(b,c){return a.call(b,c,b)!==false});return this},filter:function(a){if(aG(a)){return this.not(this.not(a))}return aq(aH.call(this,function(b){return aV.matches(b,a)}))},add:function(b,a){return aq(ai(this.concat(aq(b,a))))},is:function(a){return this.length>0&&aV.matches(this[0],a)},not:function(c){var b=[];if(aG(c)&&c.call!==am){this.each(function(d){if(!c.call(this,d)){b.push(this)}})}else{var a=typeof c=="string"?this.filter(c):(aw(c)&&aG(c.item))?aF.call(c):aq(c);this.forEach(function(d){if(a.indexOf(d)<0){b.push(d)}})}return aq(b)},has:function(a){return this.filter(function(){return aJ(a)?aq.contains(this,a):aq(this).find(a).size()})},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){var a=this[0];return a&&!aJ(a)?a:aq(a)},last:function(){var a=this[this.length-1];return a&&!aJ(a)?a:aq(a)},find:function(c){var b,a=this;if(!c){b=[]}else{if(typeof c=="object"){b=aq(c).filter(function(){var d=this;return aN.some.call(a,function(e){return aq.contains(e,d)})})}else{if(this.length==1){b=aq(aV.qsa(this[0],c))}else{b=this.map(function(){return aV.qsa(this,c)})}}}return b},closest:function(d,c){var b=this[0],a=false;if(typeof d=="object"){a=aq(d)}while(b&&!(a?a.indexOf(b)>=0:aV.matches(b,d))){b=b!==c&&!aB(b)&&b.parentNode}return aq(b)},parents:function(c){var a=[],b=this;while(b.length>0){b=aq.map(b,function(d){if((d=d.parentNode)&&!aB(d)&&a.indexOf(d)<0){a.push(d);return d}})}return av(a,c)},parent:function(a){return av(ai(this.pluck("parentNode")),a)},children:function(a){return av(this.map(function(){return aE(this)}),a)},contents:function(){return this.map(function(){return aF.call(this.childNodes)})},siblings:function(a){return av(this.map(function(c,b){return aH.call(aE(b.parentNode),function(d){return d!==b})}),a)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(a){return aq.map(this,function(b){return b[a]})},show:function(){return this.each(function(){this.style.display=="none"&&(this.style.display="");if(getComputedStyle(this,"").getPropertyValue("display")=="none"){this.style.display=aU(this.nodeName)}})},replaceWith:function(a){return this.before(a).remove()},wrap:function(d){var c=aG(d);if(this[0]&&!c){var b=aq(d).get(0),a=b.parentNode||this.length>1}return this.each(function(e){aq(this).wrapAll(c?d.call(this,e):a?b.cloneNode(true):b)})},wrapAll:function(b){if(this[0]){aq(this[0]).before(b=aq(b));var a;while((a=b.children()).length){b=a.first()}aq(b).append(this)}return this},wrapInner:function(b){var a=aG(b);return this.each(function(d){var e=aq(this),f=e.contents(),c=a?b.call(this,d):b;f.length?f.wrapAll(c):e.append(c)})},unwrap:function(){this.parent().each(function(){aq(this).replaceWith(aq(this).children())});return this},clone:function(){return this.map(function(){return this.cloneNode(true)})},hide:function(){return this.css("display","none")},toggle:function(a){return this.each(function(){var b=aq(this);(a===am?b.css("display")=="none":a)?b.show():b.hide()})},prev:function(a){return aq(this.pluck("previousElementSibling")).filter(a||"*")},next:function(a){return aq(this.pluck("nextElementSibling")).filter(a||"*")},html:function(a){return 0 in arguments?this.each(function(c){var b=this.innerHTML;aq(this).empty().append(ar(this,a,c,b))}):(0 in this?this[0].innerHTML:null)},text:function(a){return 0 in arguments?this.each(function(c){var b=ar(this,a,c,this.textContent);this.textContent=b==null?"":""+b}):(0 in this?this[0].textContent:null)},attr:function(c,a){var b;return(typeof c=="string"&&!(1 in arguments))?(!this.length||this[0].nodeType!==1?am:(!(b=this[0].getAttribute(c))&&c in this[0])?this[0][c]:b):this.each(function(d){if(this.nodeType!==1){return}if(aJ(c)){for(aD in c){aY(this,aD,c[aD])}}else{aY(this,c,ar(this,a,d,this.getAttribute(c)))}})},removeAttr:function(a){return this.each(function(){this.nodeType===1&&aY(this,a)})},prop:function(b,a){b=a0[b]||b;return(1 in arguments)?this.each(function(c){this[b]=ar(this,a,c,this[b])}):(this[0]&&this[0][b])},data:function(d,a){var c="data-"+d.replace(ap,"-$1").toLowerCase();var b=(1 in arguments)?this.attr(c,a):this.attr(c);return b!==null?aP(b):am},val:function(a){return 0 in arguments?this.each(function(b){this.value=ar(this,a,b,this.value)}):(this[0]&&(this[0].multiple?aq(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value))},offset:function(a){if(a){return this.each(function(e){var c=aq(this),g=ar(this,a,e,c.offset()),f=c.offsetParent().offset(),d={top:g.top-f.top,left:g.left-f.left};if(c.css("position")=="static"){d.position="relative"}c.css(d)})}if(!this.length){return null}var b=this[0].getBoundingClientRect();return{left:b.left+window.pageXOffset,top:b.top+window.pageYOffset,width:Math.round(b.width),height:Math.round(b.height)}},css:function(f,a){if(arguments.length<2){var d=this[0],e=getComputedStyle(d,"");if(!d){return}if(typeof f=="string"){return d.style[aX(f)]||e.getPropertyValue(f)}else{if(au(f)){var b={};aq.each(au(f)?f:[f],function(h,g){b[g]=(d.style[aX(g)]||e.getPropertyValue(g))});return b}}}var c="";if(aa(f)=="string"){if(!a&&a!==0){this.each(function(){this.style.removeProperty(an(f))})}else{c=an(f)+":"+aT(f,a)}}else{for(aD in f){if(!f[aD]&&f[aD]!==0){this.each(function(){this.style.removeProperty(an(aD))})}else{c+=an(aD)+":"+aT(aD,f[aD])+";"}}}return this.each(function(){this.style.cssText+=";"+c})},index:function(a){return a?this.indexOf(aq(a)[0]):this.parent().children().indexOf(this[0])},hasClass:function(a){if(!a){return false}return aN.some.call(this,function(b){return this.test(aZ(b))},ah(a))},addClass:function(a){if(!a){return this}return this.each(function(d){ac=[];var b=aZ(this),c=ar(this,a,d,b);c.split(/\s+/g).forEach(function(e){if(!aq(this).hasClass(e)){ac.push(e)}},this);ac.length&&aZ(this,b+(b?" ":"")+ac.join(" "))})},removeClass:function(a){return this.each(function(b){if(a===am){return aZ(this,"")}ac=aZ(this);ar(this,a,b,ac).split(/\s+/g).forEach(function(c){ac=ac.replace(ah(c)," ")});aZ(this,ac.trim())})},toggleClass:function(a,b){if(!a){return this}return this.each(function(e){var c=aq(this),d=ar(this,a,e,aZ(this));d.split(/\s+/g).forEach(function(f){(b===am?!c.hasClass(f):b)?c.addClass(f):c.removeClass(f)})})},scrollTop:function(a){if(!this.length){return}var b="scrollTop" in this[0];if(a===am){return b?this[0].scrollTop:this[0].pageYOffset}return this.each(b?function(){this.scrollTop=a}:function(){this.scrollTo(this.scrollX,a)})},scrollLeft:function(a){if(!this.length){return}var b="scrollLeft" in this[0];if(a===am){return b?this[0].scrollLeft:this[0].pageXOffset}return this.each(b?function(){this.scrollLeft=a}:function(){this.scrollTo(a,this.scrollY)})},position:function(){if(!this.length){return}var b=this[0],c=this.offsetParent(),a=this.offset(),d=aI.test(c[0].nodeName)?{top:0,left:0}:c.offset();a.top-=parseFloat(aq(b).css("margin-top"))||0;a.left-=parseFloat(aq(b).css("margin-left"))||0;d.top+=parseFloat(aq(c[0]).css("border-top-width"))||0;d.left+=parseFloat(aq(c[0]).css("border-left-width"))||0;return{top:a.top-d.top,left:a.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||aS.body;while(a&&!aI.test(a.nodeName)&&aq(a).css("position")=="static"){a=a.offsetParent}return a})}};aq.fn.detach=aq.fn.remove;["width","height"].forEach(function(a){var b=a.replace(/./,function(c){return c[0].toUpperCase()});aq.fn[a]=function(d){var c,e=this[0];if(d===am){return aK(e)?e["inner"+b]:aB(e)?e.documentElement["scroll"+b]:(c=this.offset())&&c[a]}else{return this.each(function(f){e=aq(this);e.css(a,ar(this,d,f,e[a]()))})}}});function aW(a,c){c(a);for(var b=0,d=a.childNodes.length;b1;if(e.length<1){return this}return this.each(function(i,j){f=a?j:j.parentNode;j=c==0?j.nextSibling:c==1?j.firstChild:c==2?j:null;var h=aq.contains(aS.documentElement,f);e.forEach(function(k){if(g){k=k.cloneNode(true)}else{if(!f){return aq(k).remove()}}f.insertBefore(k,j);if(h){aW(k,function(l){if(l.nodeName!=null&&l.nodeName.toUpperCase()==="SCRIPT"&&(!l.type||l.type==="text/javascript")&&!l.src){window["eval"].call(window,l.innerHTML)}})}})})};aq.fn[a?b+"To":"insert"+(c?"Before":"After")]=function(d){aq(d)[b](this);return this}});aV.Z.prototype=aq.fn;aV.uniq=ai;aV.deserializeValue=aP;aq.zepto=aV;return aq})();window.Zepto=Zepto;window.$===undefined&&(window.$=Zepto);(function(e){var g=1,h,t=Array.prototype.slice,a=e.isFunction,b=function(z){return typeof z=="string"},s={},y={},f="onfocusin" in window,r={focus:"focusin",blur:"focusout"},x={mouseenter:"mouseover",mouseleave:"mouseout"};y.click=y.mousedown=y.mouseup=y.mousemove="MouseEvents";function c(z){return z._zid||(z._zid=g++)}function l(A,C,B,z){C=q(C);if(C.ns){var D=w(C.ns)}return(s[c(A)]||[]).filter(function(E){return E&&(!C.e||E.e==C.e)&&(!C.ns||D.test(E.ns))&&(!B||c(E.fn)===c(B))&&(!z||E.sel==z)})}function q(z){var A=(""+z).split(".");return{e:A[0],ns:A.slice(1).sort().join(" ")}}function w(z){return new RegExp("(?:^| )"+z.replace(" "," .* ?")+"(?: |$)")}function j(z,A){return z.del&&(!f&&(z.e in r))||!!A}function v(z){return x[z]||(f&&r[z])||z}function p(B,F,E,C,A,D,H){var z=c(B),G=(s[z]||(s[z]=[]));F.split(/\s/).forEach(function(J){if(J=="ready"){return e(document).ready(E)}var I=q(J);I.fn=E;I.sel=A;if(I.e in x){E=function(M){var L=M.relatedTarget;if(!L||(L!==this&&!e.contains(this,L))){return I.fn.apply(this,arguments)}}}I.del=D;var K=D||E;I.proxy=function(M){M=n(M);if(M.isImmediatePropagationStopped()){return}M.data=C;var L=K.apply(B,M._args==h?[M]:[M].concat(M._args));if(L===false){M.preventDefault(),M.stopPropagation()}return L};I.i=G.length;G.push(I);if("addEventListener" in B){B.addEventListener(v(I.e),I.proxy,j(I,H))}})}function o(C,B,D,z,A){var E=c(C);(B||"").split(/\s/).forEach(function(F){l(C,F,D,z).forEach(function(G){delete s[E][G.i];if("removeEventListener" in C){C.removeEventListener(v(G.e),G.proxy,j(G,A))}})})}e.event={add:p,remove:o};e.proxy=function(B,A){var z=(2 in arguments)&&t.call(arguments,2);if(a(B)){var C=function(){return B.apply(A,z?z.concat(t.call(arguments)):arguments)};C._zid=c(B);return C}else{if(b(A)){if(z){z.unshift(B[A],B);return e.proxy.apply(null,z)}else{return e.proxy(B[A],B)}}else{throw new TypeError("expected function")}}};e.fn.bind=function(z,A,B){return this.on(z,A,B)};e.fn.unbind=function(z,A){return this.off(z,A)};e.fn.one=function(A,z,B,C){return this.on(A,z,B,C,1)};var u=function(){return true},d=function(){return false},i=/^([A-Z]|returnValue$|layer[XY]$)/,m={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function n(A,z){if(z||!A.isDefaultPrevented){z||(z=A);e.each(m,function(B,D){var C=z[B];A[B]=function(){this[D]=u;return C&&C.apply(z,arguments)};A[D]=d});if(z.defaultPrevented!==h?z.defaultPrevented:"returnValue" in z?z.returnValue===false:z.getPreventDefault&&z.getPreventDefault()){A.isDefaultPrevented=u}}return A}function k(B){var A,z={originalEvent:B};for(A in B){if(!i.test(A)&&B[A]!==h){z[A]=B[A]}}return n(z,B)}e.fn.delegate=function(z,A,B){return this.on(A,z,B)};e.fn.undelegate=function(z,A,B){return this.off(A,z,B)};e.fn.live=function(z,A){e(document.body).delegate(this.selector,z,A);return this};e.fn.die=function(z,A){e(document.body).undelegate(this.selector,z,A);return this};e.fn.on=function(D,z,E,G,C){var B,A,F=this;if(D&&!b(D)){e.each(D,function(I,H){F.on(I,z,E,H,C)});return F}if(!b(z)&&!a(G)&&G!==false){G=E,E=z,z=h}if(a(E)||E===false){G=E,E=h}if(G===false){G=d}return F.each(function(I,H){if(C){B=function(J){o(H,J.type,G);return G.apply(this,arguments)}}if(z){A=function(L){var J,K=e(L.target).closest(z,H).get(0);if(K&&K!==H){J=e.extend(k(L),{currentTarget:K,liveFired:H});return(B||G).apply(K,[J].concat(t.call(arguments,1)))}}}p(H,D,G,E,z,A||B)})};e.fn.off=function(A,z,C){var B=this;if(A&&!b(A)){e.each(A,function(E,D){B.off(E,z,D)});return B}if(!b(z)&&!a(C)&&C!==false){C=z,z=h}if(C===false){C=d}return B.each(function(){o(this,A,C,z)})};e.fn.trigger=function(A,z){A=(b(A)||e.isPlainObject(A))?e.Event(A):n(A);A._args=z;return this.each(function(){if("dispatchEvent" in this){this.dispatchEvent(A)}else{e(this).triggerHandler(A,z)}})};e.fn.triggerHandler=function(A,z){var C,B;this.each(function(E,D){C=k(b(A)?e.Event(A):A);C._args=z;C.target=D;e.each(l(D,A.type||A),function(F,G){B=G.proxy(C);if(C.isImmediatePropagationStopped()){return false}})});return B};("focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error").split(" ").forEach(function(z){e.fn[z]=function(A){return A?this.bind(z,A):this.trigger(z)}});["focus","blur"].forEach(function(z){e.fn[z]=function(A){if(A){this.bind(z,A)}else{this.each(function(){try{this[z]()}catch(B){}})}return this}});e.Event=function(C,B){if(!b(C)){B=C,C=B.type}var D=document.createEvent(y[C]||"Events"),z=true;if(B){for(var A in B){(A=="bubbles")?(z=!!B[A]):(D[A]=B[A])}}D.initEvent(C,z,true);return n(D)}})(Zepto);(function(f){var g={},a,k,c,i,d=750,l;function j(p,o,r,q){return Math.abs(p-o)>=Math.abs(r-q)?(p-o>0?"Left":"Right"):(r-q>0?"Up":"Down")}function n(){i=null;if(g.last){g.el.trigger("longTap");g={}}}function b(){if(i){clearTimeout(i)}i=null}function e(){if(a){clearTimeout(a)}if(k){clearTimeout(k)}if(c){clearTimeout(c)}if(i){clearTimeout(i)}a=k=c=i=null;g={}}function m(o){return(o.pointerType=="touch"||o.pointerType==o.MSPOINTER_TYPE_TOUCH)&&o.isPrimary}function h(p,o){return(p.type=="pointer"+o||p.type.toLowerCase()=="mspointer"+o)}f(document).ready(function(){var p,t,q=0,r=0,s,o;if("MSGesture" in window){l=new MSGesture();l.target=document.body}f(document).bind("MSGestureEnd",function(v){var u=v.velocityX>1?"Right":v.velocityX<-1?"Left":v.velocityY>1?"Down":v.velocityY<-1?"Up":null;if(u){g.el.trigger("swipe");g.el.trigger("swipe"+u)}}).on("touchstart MSPointerDown pointerdown",function(u){if((o=h(u,"down"))&&!m(u)){return}s=o?u:u.touches[0];if(u.touches&&u.touches.length===1&&g.x2){g.x2=undefined;g.y2=undefined}p=Date.now();t=p-(g.last||p);g.el=f("tagName" in s.target?s.target:s.target.parentNode);a&&clearTimeout(a);g.x1=s.pageX;g.y1=s.pageY;if(t>0&&t<=250){g.isDoubleTap=true}g.last=p;i=setTimeout(n,d);if(l&&o){l.addPointer(u.pointerId)}}).on("touchmove MSPointerMove pointermove",function(u){if((o=h(u,"move"))&&!m(u)){return}s=o?u:u.touches[0];b();g.x2=s.pageX;g.y2=s.pageY;q+=Math.abs(g.x1-g.x2);r+=Math.abs(g.y1-g.y2)}).on("touchend MSPointerUp pointerup",function(u){if((o=h(u,"up"))&&!m(u)){return}b();if((g.x2&&Math.abs(g.x1-g.x2)>30)||(g.y2&&Math.abs(g.y1-g.y2)>30)){c=setTimeout(function(){g.el.trigger("swipe");g.el.trigger("swipe"+(j(g.x1,g.x2,g.y1,g.y2)));g={}},0)}else{if("last" in g){if(q<30&&r<30){k=setTimeout(function(){var v=f.Event("tap");v.cancelTouch=e;g.el.trigger(v);if(g.isDoubleTap){if(g.el){g.el.trigger("doubleTap")}g={}}else{a=setTimeout(function(){a=null;if(g.el){g.el.trigger("singleTap")}g={}},250)}},0)}else{g={}}}}q=r=0}).on("touchcancel MSPointerCancel pointercancel",e);f(window).on("scroll",e)});["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(o){f.fn[o]=function(p){return this.on(o,p)}})})(Zepto);(function($){var jsonpID=0,document=window.document,key,name,rscript=/