PageSourceSearch

https://dist.syncsketch.com/bundles/840.06643a9.js

js syncsketch.com collected 2026-10-02 14:35:22 UTC 20,853 bytes, 3 lines download raw bytes

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

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.