vendor: 21,104 bytes, lines 1-2
1/*! For license information please see LICENSES */ 2(window.woodJsonp=window.woodJsonp||[]).push([[12],{1636:function(t,e,n){var r;!function(o,h,c,l){"use strict";var f,v=["","webkit","Moz","MS","ms","o"],d=h.createElement("div"),m="function",T=Math.round,y=Math.abs,E=Date.now;function I(t,e,n){return setTimeout(D(t,n),e)}function A(t,e,n){return!!Array.isArray(t)&&(_(t,n[e],n),!0)}function _(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==l)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function C(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",h=o.console&&(o.console.warn||o.console.log);return h&&h.call(o.console,r,n),t.apply(this,arguments)}}f="function"!=typeof Object.assign?function(t){if(t===l||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var output=Object(t),e=1;e<arguments.length;e++){var source=arguments[e];if(source!==l&&null!==source)for(var n in source)source.hasOwnProperty(n)&&(output[n]=source[n])}return output}:Object.assign;var S=C((function(t,e,n){for(var r=Object.keys(e),i=0;i<r.length;)(!n||n&&t[r[i]]===l)&&(t[r[i]]=e[r[i]]),i++;return t}),"extend","Use `assign`."),w=C((function(t,e){return S(t,e,!0)}),"merge","Use `assign`.");function P(t,base,e){var n,r=base.prototype;(n=t.prototype=Object.create(r)).constructor=t,n._super=r,e&&f(n,e)}function D(t,e){return function(){return t.apply(e,arguments)}}function x(t,e){return typeof t==m?t.apply(e&&e[0]||l,e):t}function O(t,e){return t===l?e:t}function R(t,e,n){_(X(e),(function(e){t.addEventListener(e,n,!1)}))}function M(t,e,n){_(X(e),(function(e){t.removeEventListener(e,n,!1)}))}function z(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function N(t,e){return t.indexOf(e)>-1}function X(t){return t.trim().split(/\s+/g)}function Y(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function F(t){return Array.prototype.slice.call(t,0)}function W(t,e,n){for(var r=[],o=[],i=0;i<t.length;){var h=e?t[i][e]:t[i];Y(o,h)<0&&r.push(t[i]),o[i]=h,i++}return n&&(r=e?r.sort((function(a,b){return a[e]>b[e]})):r.sort()),r}function k(t,e){for(var n,r,o=e[0].toUpperCase()+e.slice(1),i=0;i<v.length;){if((r=(n=v[i])?n+o:e)in t)return r;i++}return l}var L=1;function H(element){var t=element.ownerDocument||element;return t.defaultView||t.parentWindow||o}var U="ontouchstart"in o,V=k(o,"PointerEvent")!==l,j=U&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),G="touch",Z="mouse",B=25,J=1,$=4,K=8,Q=1,tt=2,et=4,it=8,nt=16,st=tt|et,ot=it|nt,at=st|ot,ht=["x","y"],ut=["clientX","clientY"];function ct(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){x(t.options.enable,[t])&&n.handler(e)},this.init()}function lt(t,e,input){var n=input.pointers.length,r=input.changedPointers.length,o=e&J&&n-r==0,h=e&($|K)&&n-r==0;input.isFirst=!!o,input.isFinal=!!h,o&&(t.session={}),input.eventType=e,function(t,input){var e=t.session,n=input.pointers,r=n.length;e.firstInput||(e.firstInput=pt(input));r>1&&!e.firstMultiple?e.firstMultiple=pt(input):1===r&&(e.firstMultiple=!1);var o=e.firstInput,h=e.firstMultiple,c=h?h.center:o.center,f=input.center=ft(n);input.timeStamp=E(),input.deltaTime=input.timeStamp-o.timeStamp,input.angle=Tt(c,f),input.distance=gt(c,f),function(t,input){var e=input.center,n=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};input.eventType!==J&&o.eventType!==$||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:e.x,y:e.y});input.deltaX=r.x+(e.x-n.x),input.deltaY=r.y+(e.y-n.y)}(e,input),input.offsetDirection=mt(input.deltaX,input.deltaY);var v=vt(input.deltaTime,input.deltaX,input.deltaY);input.overallVelocityX=v.x,input.overallVelocityY=v.y,input.overallVelocity=y(v.x)>y(v.y)?v.x:v.y,input.scale=h?(d=h.pointers,m=n,gt(m[0],m[1],ut)/gt(d[0],d[1],ut)):1,input.rotation=h?function(t,e){return Tt(e[1],e[0],ut)+Tt(t[1],t[0],ut)}(h.pointers,n):0,input.maxPointers=e.prevInput?input.pointers.length>e.prevInput.maxPointers?input.pointers.length:e.prevInput.maxPointers:input.pointers.length,function(t,input){var e,n,r,o,h=t.lastInterval||input,c=input.timeStamp-h.timeStamp;if(input.eventType!=K&&(c>B||h.velocity===l)){var f=input.deltaX-h.deltaX,v=input.deltaY-h.deltaY,d=vt(c,f,v);n=d.x,r=d.y,e=y(d.x)>y(d.y)?d.x:d.y,o=mt(f,v),t.lastInterval=input}else e=h.velocity,n=h.velocityX,r=h.velocityY,o=h.direction;input.velocity=e,input.velocityX=n,input.velocityY=r,input.direction=o}(e,input);var d,m;var T=t.element;z(input.srcEvent.target,T)&&(T=input.srcEvent.target);input.target=T}(t,input),t.emit("hammer.input",input),t.recognize(input),t.session.prevInput=input}function pt(input){for(var t=[],i=0;i<input.pointers.length;)t[i]={clientX:T(input.pointers[i].clientX),clientY:T(input.pointers[i].clientY)},i++;return{timeStamp:E(),pointers:t,center:ft(t),deltaX:input.deltaX,deltaY:input.deltaY}}function ft(t){var e=t.length;if(1===e)return{x:T(t[0].clientX),y:T(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:T(n/e),y:T(r/e)}}function vt(t,e,n){return{x:e/t||0,y:n/t||0}}function mt(t,e){return t===e?Q:y(t)>=y(e)?t<0?tt:et:e<0?it:nt}function gt(t,e,n){n||(n=ht);var r=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(r*r+o*o)}function Tt(t,e,n){n||(n=ht);var r=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return 180*Math.atan2(o,r)/Math.PI}ct.prototype={handler:function(){},init:function(){this.evEl&&R(this.element,this.evEl,this.domHandler),this.evTarget&&R(this.target,this.evTarget,this.domHandler),this.evWin&&R(H(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&M(this.element,this.evEl,this.domHandler),this.evTarget&&M(this.target,this.evTarget,this.domHandler),this.evWin&&M(H(this.element),this.evWin,this.domHandler)}};var yt={mousedown:J,mousemove:2,mouseup:$},Et="mousedown",It="mousemove mouseup";function At(){this.evEl=Et,this.evWin=It,this.pressed=!1,ct.apply(this,arguments)}P(At,ct,{handler:function(t){var e=yt[t.type];e&J&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=$),this.pressed&&(e&$&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:Z,srcEvent:t}))}});var _t={pointerdown:J,pointermove:2,pointerup:$,pointercancel:K,pointerout:K},Ct={2:G,3:"pen",4:Z,5:"kinect"},St="pointerdown",bt="pointermove pointerup pointercancel";function wt(){this.evEl=St,this.evWin=bt,ct.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(St="MSPointerDown",bt="MSPointerMove MSPointerUp MSPointerCancel"),P(wt,ct,{handler:function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),o=_t[r],h=Ct[t.pointerType]||t.pointerType,c=h==G,l=Y(e,t.pointerId,"pointerId");o&J&&(0===t.button||c)?l<0&&(e.push(t),l=e.length-1):o&($|K)&&(n=!0),l<0||(e[l]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:h,srcEvent:t}),n&&e.splice(l,1))}});var Pt={touchstart:J,touchmove:2,touchend:$,touchcancel:K};function Dt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,ct.apply(this,arguments)}function xt(t,e){var n=F(t.touches),r=F(t.changedTouches);return e&($|K)&&(n=W(n.concat(r),"identifier",!0)),[n,r]}P(Dt,ct,{handler:function(t){var e=Pt[t.type];if(e===J&&(this.started=!0),this.started){var n=xt.call(this,t,e);e&($|K)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:G,srcEvent:t})}}});var Ot={touchstart:J,touchmove:2,touchend:$,touchcancel:K},Rt="touchstart touchmove touchend touchcancel";function Mt(){this.evTarget=Rt,this.targetIds={},ct.apply(this,arguments)}function zt(t,e){var n=F(t.touches),r=this.targetIds;if(e&(2|J)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,h=F(t.changedTouches),c=[],l=this.target;if(o=n.filter((function(t){return z(t.target,l)})),e===J)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<h.length;)r[h[i].identifier]&&c.push(h[i]),e&($|K)&&delete r[h[i].identifier],i++;return c.length?[W(o.concat(c),"identifier",!0),c]:void 0}P(Mt,ct,{handler:function(t){var e=Ot[t.type],n=zt.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:G,srcEvent:t})}});var Nt=2500;function Xt(){ct.apply(this,arguments);var t=D(this.handler,this);this.touch=new Mt(this.manager,t),this.mouse=new At(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function Yt(t,e){t&J?(this.primaryTouch=e.changedPointers[0].identifier,Ft.call(this,e)):t&($|K)&&Ft.call(this,e)}function Ft(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var i=r.indexOf(n);i>-1&&r.splice(i,1)}),Nt)}}function Wt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),h=Math.abs(n-r.y);if(o<=25&&h<=25)return!0}return!1}P(Xt,ct,{handler:function(t,e,n){var r=n.pointerType==G,o=n.pointerType==Z;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)Yt.call(this,e,n);else if(o&&Wt.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var qt=k(d.style,"touchAction"),kt=qt!==l,Lt="compute",Ht="auto",Ut="manipulation",Vt="none",jt="pan-x",Gt="pan-y",Zt=function(){if(!kt)return!1;var t={},e=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||o.CSS.supports("touch-action",n)})),t}();function Bt(t,e){this.manager=t,this.set(e)}Bt.prototype={set:function(t){t==Lt&&(t=this.compute()),kt&&this.manager.element.style&&Zt[t]&&(this.manager.element.style[qt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return _(this.manager.recognizers,(function(e){x(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(N(t,Vt))return Vt;var e=N(t,jt),n=N(t,Gt);if(e&&n)return Vt;if(e||n)return e?jt:Gt;if(N(t,Ut))return Ut;return Ht}(t.join(" "))},preventDefaults:function(input){var t=input.srcEvent,e=input.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var n=this.actions,r=N(n,Vt)&&!Zt[Vt],o=N(n,Gt)&&!Zt[Gt],h=N(n,jt)&&!Zt[jt];if(r){var c=1===input.pointers.length,l=input.distance<2,f=input.deltaTime<250;if(c&&l&&f)return}if(!h||!o)return r||o&&e&st||h&&e&ot?this.preventSrc(t):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Jt=1,$t=32;function Kt(t){this.options=f({},this.defaults,t||{}),this.id=L++,this.manager=null,this.options.enable=O(this.options.enable,!0),this.state=Jt,this.simultaneous={},this.requireFail=[]}function Qt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function te(t){return t==nt?"down":t==it?"up":t==tt?"left":t==et?"right":""}function ee(t,e){var n=e.manager;return n?n.get(t):t}function ie(){Kt.apply(this,arguments)}function ne(){ie.apply(this,arguments),this.pX=null,this.pY=null}function re(){ie.apply(this,arguments)}function se(){Kt.apply(this,arguments),this._timer=null,this._input=null}function oe(){ie.apply(this,arguments)}function ae(){ie.apply(this,arguments)}function he(){Kt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ue(element,t){return(t=t||{}).recognizers=O(t.recognizers,ue.defaults.preset),new ce(element,t)}Kt.prototype={defaults:{},set:function(t){return f(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(A(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=ee(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return A(t,"dropRecognizeWith",this)||(t=ee(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(A(t,"requireFailure",this))return this;var e=this.requireFail;return-1===Y(e,t=ee(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(A(t,"dropRequireFailure",this))return this;t=ee(t,this);var e=Y(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(input){var t=this,e=this.state;function n(e){t.manager.emit(e,input)}e<8&&n(t.options.event+Qt(e)),n(t.options.event),input.additionalEvent&&n(input.additionalEvent),e>=8&&n(t.options.event+Qt(e))},tryEmit:function(input){if(this.canEmit())return this.emit(input);this.state=$t},canEmit:function(){for(var i=0;i<this.requireFail.length;){if(!(this.requireFail[i].state&($t|Jt)))return!1;i++}return!0},recognize:function(t){var e=f({},t);if(!x(this.options.enable,[this,e]))return this.reset(),void(this.state=$t);56&this.state&&(this.state=Jt),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},P(ie,Kt,{defaults:{pointers:1},attrTest:function(input){var t=this.options.pointers;return 0===t||input.pointers.length===t},process:function(input){var t=this.state,e=input.eventType,n=6&t,r=this.attrTest(input);return n&&(e&K||!r)?16|t:n||r?e&$?8|t:2&t?4|t:2:$t}}),P(ne,ie,{defaults:{event:"pan",threshold:10,pointers:1,direction:at},getTouchAction:function(){var t=this.options.direction,e=[];return t&st&&e.push(Gt),t&ot&&e.push(jt),e},directionTest:function(input){var t=this.options,e=!0,n=input.distance,r=input.direction,o=input.deltaX,h=input.deltaY;return r&t.direction||(t.direction&st?(r=0===o?Q:o<0?tt:et,e=o!=this.pX,n=Math.abs(input.deltaX)):(r=0===h?Q:h<0?it:nt,e=h!=this.pY,n=Math.abs(input.deltaY))),input.direction=r,e&&n>t.threshold&&r&t.direction},attrTest:function(input){return ie.prototype.attrTest.call(this,input)&&(2&this.state||!(2&this.state)&&this.directionTest(input))},emit:function(input){this.pX=input.deltaX,this.pY=input.deltaY;var t=te(input.direction);t&&(input.additionalEvent=this.options.event+t),this._super.emit.call(this,input)}}),P(re,ie,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Vt]},attrTest:function(input){return this._super.attrTest.call(this,input)&&(Math.abs(input.scale-1)>this.options.threshold||2&this.state)},emit:function(input){if(1!==input.scale){var t=input.scale<1?"in":"out";input.additionalEvent=this.options.event+t}this._super.emit.call(this,input)}}),P(se,Kt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ht]},process:function(input){var t=this.options,e=input.pointers.length===t.pointers,n=input.distance<t.threshold,r=input.deltaTime>t.time;if(this._input=input,!n||!e||input.eventType&($|K)&&!r)this.reset();else if(input.eventType&J)this.reset(),this._timer=I((function(){this.state=8,this.tryEmit()}),t.time,this);else if(input.eventType&$)return 8;return $t},reset:function(){clearTimeout(this._timer)},emit:function(input){8===this.state&&(input&&input.eventType&$?this.manager.emit(this.options.event+"up",input):(this._input.timeStamp=E(),this.manager.emit(this.options.event,this._input)))}}),P(oe,ie,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Vt]},attrTest:function(input){return this._super.attrTest.call(this,input)&&(Math.abs(input.rotation)>this.options.threshold||2&this.state)}}),P(ae,ie,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:st|ot,pointers:1},getTouchAction:function(){return ne.prototype.getTouchAction.call(this)},attrTest:function(input){var t,e=this.options.direction;return e&(st|ot)?t=input.overallVelocity:e&st?t=input.overallVelocityX:e&ot&&(t=input.overallVelocityY),this._super.attrTest.call(this,input)&&e&input.offsetDirection&&input.distance>this.options.threshold&&input.maxPointers==this.options.pointers&&y(t)>this.options.velocity&&input.eventType&$},emit:function(input){var t=te(input.offsetDirection);t&&this.manager.emit(this.options.event+t,input),this.manager.emit(this.options.event,input)}}),P(he,Kt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ut]},process:function(input){var t=this.options,e=input.pointers.length===t.pointers,n=input.distance<t.threshold,r=input.deltaTime<t.time;if(this.reset(),input.eventType&J&&0===this.count)return this.failTimeout();if(n&&r&&e){if(input.eventType!=$)return this.failTimeout();var o=!this.pTime||input.timeStamp-this.pTime<t.interval,h=!this.pCenter||gt(this.pCenter,input.center)<t.posThreshold;if(this.pTime=input.timeStamp,this.pCenter=input.center,h&&o?this.count+=1:this.count=1,this._input=input,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=I((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return $t},failTimeout:function(){return this._timer=I((function(){this.state=$t}),this.options.interval,this),$t},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ue.VERSION="2.0.7",ue.defaults={domEvents:!1,touchAction:Lt,enable:!0,inputTarget:null,inputClass:null,preset:[[oe,{enable:!1}],[re,{enable:!1},["rotate"]],[ae,{direction:st}],[ne,{direction:st},["swipe"]],[he],[he,{event:"doubletap",taps:2},["tap"]],[se]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function ce(element,t){var e;this.options=f({},ue.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||element,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=element,this.input=new((e=this).options.inputClass||(V?wt:j?Mt:U?Xt:At))(e,lt),this.touchAction=new Bt(this,this.options.touchAction),le(this,!0),_(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function le(t,e){var n,element=t.element;element.style&&(_(t.options.cssProps,(function(r,o){n=k(element.style,o),e?(t.oldCssProps[n]=element.style[n],element.style[n]=r):element.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}ce.prototype={set:function(t){return f(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var r=this.recognizers,o=e.curRecognizer;(!o||o&&8&o.state)&&(o=e.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===e.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(t),!o&&14&n.state&&(o=e.curRecognizer=n),i++}},get:function(t){if(t instanceof Kt)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(A(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(A(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=Y(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==l&&e!==l){var n=this.handlers;return _(X(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(t!==l){var n=this.handlers;return _(X(t),(function(t){e?n[t]&&n[t].splice(Y(n[t],e),1):delete n[t]})),this}},emit:function(t,data){this.options.domEvents&&function(t,data){var e=h.createEvent("Event");e.initEvent(t,!0,!0),e.gesture=data,data.target.dispatchEvent(e)}(t,data);var e=this.handlers[t]&&this.handlers[t].slice();if(e&&e.length){data.type=t,data.preventDefault=function(){data.srcEvent.preventDefault()};for(var i=0;i<e.length;)e[i](data),i++}},destroy:function(){this.element&&le(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},f(ue,{INPUT_START:J,INPUT_MOVE:2,INPUT_END:$,INPUT_CANCEL:K,STATE_POSSIBLE:Jt,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:$t,DIRECTION_NONE:Q,DIRECTION_LEFT:tt,DIRECTION_RIGHT:et,DIRECTION_UP:it,DIRECTION_DOWN:nt,DIRECTION_HORIZONTAL:st,DIRECTION_VERTICAL:ot,DIRECTION_ALL:at,Manager:ce,Input:ct,TouchAction:Bt,TouchInput:Mt,MouseInput:At,PointerEventInput:wt,TouchMouseInput:Xt,SingleTouchInput:Dt,Recognizer:Kt,AttrRecognizer:ie,Tap:he,Pan:ne,Swipe:ae,Pinch:re,Rotate:oe,Press:se,on:R,off:M,each:_,merge:w,extend:S,assign:f,inherit:P,bindFn:D,prefixed:k}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=ue,(r=function(){return ue}.call(e,n,e,t))===l||(t.exports=r)}(window,document)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.