Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-swipeout

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-swipeout - npm Package Compare versions

Comparing version 1.4.6-alpha.4 to 1.4.6-alpha.5

es/index.d.ts

2

dist/rc-swipeout.min.js

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports["rc-swipeout"]=e(require("react"),require("react-dom")):t["rc-swipeout"]=e(t.React,t.ReactDOM)}(this,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=101)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(9),r=n(38),o=n(26),s=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(39),r=n(16);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(0),r=n(1),o=n(36),s=n(7),u=function(t,e,n){var a,c,f,l=t&u.F,p=t&u.G,h=t&u.S,d=t&u.P,v=t&u.B,y=t&u.W,m=p?r:r[e]||(r[e]={}),g=m.prototype,b=p?i:h?i[e]:(i[e]||{}).prototype;p&&(n=e);for(a in n)(c=!l&&b&&void 0!==b[a])&&a in m||(f=c?b[a]:n[a],m[a]=p&&"function"!=typeof b[a]?n[a]:v&&c?o(f,i):y&&b[a]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):d&&"function"==typeof f?o(Function.call,f):f,d&&((m.virtual||(m.virtual={}))[a]=f,t&u.R&&g&&!g[a]&&s(g,a,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var i=n(4),r=n(14);t.exports=n(2)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(24)("wks"),r=n(15),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},function(t,e,n){var i=n(11);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var i=n(43),r=n(17);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e,n){var i=n(9),r=n(74),o=n(17),s=n(23)("IE_PROTO"),u=function(){},a=function(){var t,e=n(37)("iframe"),i=o.length;for(e.style.display="none",n(67).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;i--;)delete a.prototype[o[i]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=i(t),n=new u,u.prototype=null,n[s]=t):n=a(),void 0===e?n:r(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(4).f,r=n(3),o=n(8)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(24)("keys"),r=n(15);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(0),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(11);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(0),r=n(1),o=n(19),s=n(28),u=n(4).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:s.f(t)})}},function(t,e,n){e.f=n(8)},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var i=n(53),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,r.default)(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}()},function(t,e,n){"use strict";e.__esModule=!0;var i=n(51),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(54),o=i(r),s=n(52),u=i(s),a=n(34),c=i(a);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,c.default)(e)));t.prototype=(0,u.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(o.default?(0,o.default)(t,e):t.__proto__=e)}},function(t,e,n){"use strict";e.__esModule=!0;var i=n(34),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,r.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(56),o=i(r),s=n(55),u=i(s),a="function"==typeof u.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};e.default="function"==typeof u.default&&"symbol"===a(o.default)?function(t){return void 0===t?"undefined":a(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":a(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(63);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(11),r=n(0).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){t.exports=!n(2)&&!n(10)(function(){return 7!=Object.defineProperty(n(37)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(35);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var i=n(19),r=n(6),o=n(44),s=n(7),u=n(3),a=n(18),c=n(69),f=n(22),l=n(76),p=n(8)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,y,m,g){c(n,e,v);var b,T,_,E=function(t){if(!h&&t in x)return x[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",S="values"==y,w=!1,x=t.prototype,P=x[p]||x["@@iterator"]||y&&x[y],C=P||E(y),M=y?S?E("entries"):C:void 0,j="Array"==e?x.entries||P:P;if(j&&(_=l(j.call(new t)))!==Object.prototype&&_.next&&(f(_,O,!0),i||u(_,p)||s(_,p,d)),S&&P&&"values"!==P.name&&(w=!0,C=function(){return P.call(this)}),i&&!g||!h&&!w&&x[p]||s(x,p,C),a[e]=C,a[O]=d,y)if(b={values:S?C:E("values"),keys:m?C:E("keys"),entries:M},g)for(T in b)T in x||o(x,T,b[T]);else r(r.P+r.F*(h||w),e,b);return b}},function(t,e,n){var i=n(13),r=n(14),o=n(5),s=n(26),u=n(3),a=n(38),c=Object.getOwnPropertyDescriptor;e.f=n(2)?c:function(t,e){if(t=o(t),e=s(e,!0),a)try{return c(t,e)}catch(t){}if(u(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(43),r=n(17).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(3),r=n(5),o=n(65)(!1),s=n(23)("IE_PROTO");t.exports=function(t,e){var n,u=r(t),a=0,c=[];for(n in u)n!=s&&i(u,n)&&c.push(n);for(;e.length>a;)i(u,n=e[a++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){t.exports=n(7)},function(t,e,n){var i=n(16);t.exports=function(t){return Object(i(t))}},function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(50);n.d(e,"default",function(){return i.a})},function(t,e){},function(t,e,n){"use strict";var i=n(31),r=n.n(i),o=n(29),s=n.n(o),u=n(30),a=n.n(u),c=n(33),f=n.n(c),l=n(32),p=n.n(l),h=n(46),d=n.n(h),v=n(47),y=n.n(v),m=n(100),g=n(95),b=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]]);return n},T=function(t){function e(t){s()(this,e);var n=f()(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.onCloseSwipe=function(t){if(n.openedLeft||n.openedRight){(function(t){for(;t.parentNode&&t.parentNode!==document.body;){if(t.className.indexOf(n.props.prefixCls+"-actions")>-1)return t;t=t.parentNode}})(t.target)||(t.preventDefault(),n.close())}},n.onPanStart=function(t){var e=t.direction,i=t.deltaX,r=2===e,o=4===e;if(r||o){var s=n.props,u=s.left,a=s.right;n.needShowRight=r&&a.length>0,n.needShowLeft=o&&u.length>0,n.left&&(n.left.style.visibility=n.needShowRight?"hidden":"visible"),n.right&&(n.right.style.visibility=n.needShowLeft?"hidden":"visible"),(n.needShowLeft||n.needShowRight)&&(n.swiping=!0,n._setStyle(i))}},n.onPan=function(t){var e=t.deltaX;n.swiping&&n._setStyle(e)},n.onPanEnd=function(t){if(n.swiping){var e=n.btnsLeftWidth,i=n.btnsRightWidth,r=t.deltaX,o=n.needShowRight&&Math.abs(r)>i/2,s=n.needShowLeft&&Math.abs(r)>i/2;o?n.open(-i,!1,!0):s?n.open(e,!0,!1):n.close(),n.swiping=!1,n.needShowLeft=!1,n.needShowRight=!1}},n._setStyle=function(t){var e=t>0?n.btnsLeftWidth:-n.btnsRightWidth,i=n._getContentEasing(t,e);n.content.style.left=i+"px",n.cover&&(n.cover.style.display=Math.abs(t)>0?"block":"none",n.cover.style.left=i+"px")},n.open=function(t,e,i){n.openedLeft||n.openedRight||!n.props.onOpen||n.props.onOpen(),n.openedLeft=e,n.openedRight=i,n._setStyle(t)},n.close=function(){(n.openedLeft||n.openedRight)&&n.props.onClose&&n.props.onClose(),n._setStyle(0),n.openedLeft=!1,n.openedRight=!1},n.openedLeft=!1,n.openedRight=!1,n}return p()(e,t),a()(e,[{key:"componentDidMount",value:function(){this.btnsLeftWidth=this.left?this.left.offsetWidth:0,this.btnsRightWidth=this.right?this.right.offsetWidth:0,document.body.addEventListener("touchstart",this.onCloseSwipe,!0)}},{key:"componentWillUnmount",value:function(){document.body.removeEventListener("touchstart",this.onCloseSwipe,!0)}},{key:"onBtnClick",value:function(t,e){var n=e.onPress;n&&n(t),this.props.autoClose&&this.close()}},{key:"_getContentEasing",value:function(t,e){var n=Math.abs(t)-Math.abs(e),i=n>0,r=e>0?1:-1;return i?(t=e+Math.pow(n,.85)*r,Math.abs(t)>Math.abs(e)?e:t):t}},{key:"renderButtons",value:function(t,e){var n=this,i=this.props.prefixCls;return t&&t.length?d.a.createElement("div",{className:i+"-actions "+i+"-actions-"+e,ref:function(t){return n[e]=t}},t.map(function(t,e){return d.a.createElement("div",{key:e,className:i+"-btn "+(t.hasOwnProperty("className")?t.className:""),style:t.style,role:"button",onClick:function(e){return n.onBtnClick(e,t)}},d.a.createElement("div",{className:i+"-btn-text"},t.text||"Click"))})):null}},{key:"render",value:function(){var t=this,e=this.props,i=e.prefixCls,o=e.left,s=e.right,u=e.disabled,a=e.children,c=b(e,["prefixCls","left","right","disabled","children"]),f=n.i(g.a)(c,["autoClose","onOpen","onClose"]),l={ref:function(e){return t.content=y.a.findDOMNode(e)}};return!o.length&&!s.length||u?d.a.createElement("div",r()({},l,f),a):d.a.createElement("div",r()({className:""+i},f),d.a.createElement("div",{className:i+"-cover",ref:function(e){return t.cover=e}}),this.renderButtons(o,"left"),this.renderButtons(s,"right"),d.a.createElement(m.a,r()({direction:"DIRECTION_ALL",onPanStart:this.onPanStart,onPan:this.onPan,onPanEnd:this.onPanEnd},l),d.a.createElement("div",{className:i+"-content"},a)))}}]),e}(d.a.Component);e.a=T,T.defaultProps={prefixCls:"rc-swipeout",autoClose:!1,disabled:!1,left:[],right:[],onOpen:function(){},onClose:function(){}}},function(t,e,n){t.exports={default:n(57),__esModule:!0}},function(t,e,n){t.exports={default:n(58),__esModule:!0}},function(t,e,n){t.exports={default:n(59),__esModule:!0}},function(t,e,n){t.exports={default:n(60),__esModule:!0}},function(t,e,n){t.exports={default:n(61),__esModule:!0}},function(t,e,n){t.exports={default:n(62),__esModule:!0}},function(t,e,n){n(82),t.exports=n(1).Object.assign},function(t,e,n){n(83);var i=n(1).Object;t.exports=function(t,e){return i.create(t,e)}},function(t,e,n){n(84);var i=n(1).Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},function(t,e,n){n(85),t.exports=n(1).Object.setPrototypeOf},function(t,e,n){n(88),n(86),n(89),n(90),t.exports=n(1).Symbol},function(t,e,n){n(87),n(91),t.exports=n(28).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var i=n(5),r=n(80),o=n(79);t.exports=function(t){return function(e,n,s){var u,a=i(e),c=r(a.length),f=o(s,c);if(t&&n!=n){for(;c>f;)if((u=a[f++])!=u)return!0}else for(;c>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var i=n(12),r=n(21),o=n(13);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var s,u=n(t),a=o.f,c=0;u.length>c;)a.call(t,s=u[c++])&&e.push(s);return e}},function(t,e,n){var i=n(0).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(35);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";var i=n(20),r=n(14),o=n(22),s={};n(7)(s,n(8)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var i=n(12),r=n(5);t.exports=function(t,e){for(var n,o=r(t),s=i(o),u=s.length,a=0;u>a;)if(o[n=s[a++]]===e)return n}},function(t,e,n){var i=n(15)("meta"),r=n(11),o=n(3),s=n(4).f,u=0,a=Object.isExtensible||function(){return!0},c=!n(10)(function(){return a(Object.preventExtensions({}))}),f=function(t){s(t,i,{value:{i:"O"+ ++u,w:{}}})},l=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[i].i},p=function(t,e){if(!o(t,i)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[i].w},h=function(t){return c&&d.NEED&&a(t)&&!o(t,i)&&f(t),t},d=t.exports={KEY:i,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},function(t,e,n){"use strict";var i=n(12),r=n(21),o=n(13),s=n(45),u=n(39),a=Object.assign;t.exports=!a||n(10)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=a({},t)[n]||Object.keys(a({},e)).join("")!=i})?function(t,e){for(var n=s(t),a=arguments.length,c=1,f=r.f,l=o.f;a>c;)for(var p,h=u(arguments[c++]),d=f?i(h).concat(f(h)):i(h),v=d.length,y=0;v>y;)l.call(h,p=d[y++])&&(n[p]=h[p]);return n}:a},function(t,e,n){var i=n(4),r=n(9),o=n(12);t.exports=n(2)?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),u=s.length,a=0;u>a;)i.f(t,n=s[a++],e[n]);return t}},function(t,e,n){var i=n(5),r=n(42).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return r(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?u(t):r(i(t))}},function(t,e,n){var i=n(3),r=n(45),o=n(23)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var i=n(11),r=n(9),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n(36)(Function.call,n(41).f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){var i=n(25),r=n(16);t.exports=function(t){return function(e,n){var o,s,u=String(r(e)),a=i(n),c=u.length;return a<0||a>=c?t?"":void 0:(o=u.charCodeAt(a),o<55296||o>56319||a+1===c||(s=u.charCodeAt(a+1))<56320||s>57343?t?u.charAt(a):o:t?u.slice(a,a+2):s-56320+(o-55296<<10)+65536)}}},function(t,e,n){var i=n(25),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(25),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){"use strict";var i=n(64),r=n(70),o=n(18),s=n(5);t.exports=n(40)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(6);i(i.S+i.F,"Object",{assign:n(73)})},function(t,e,n){var i=n(6);i(i.S,"Object",{create:n(20)})},function(t,e,n){var i=n(6);i(i.S+i.F*!n(2),"Object",{defineProperty:n(4).f})},function(t,e,n){var i=n(6);i(i.S,"Object",{setPrototypeOf:n(77).set})},function(t,e){},function(t,e,n){"use strict";var i=n(78)(!0);n(40)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var i=n(0),r=n(3),o=n(2),s=n(6),u=n(44),a=n(72).KEY,c=n(10),f=n(24),l=n(22),p=n(15),h=n(8),d=n(28),v=n(27),y=n(71),m=n(66),g=n(68),b=n(9),T=n(5),_=n(26),E=n(14),O=n(20),S=n(75),w=n(41),x=n(4),P=n(12),C=w.f,M=x.f,j=S.f,R=i.Symbol,I=i.JSON,A=I&&I.stringify,L=h("_hidden"),k=h("toPrimitive"),N={}.propertyIsEnumerable,D=f("symbol-registry"),F=f("symbols"),z=f("op-symbols"),W=Object.prototype,X="function"==typeof R,Y=i.QObject,q=!Y||!Y.prototype||!Y.prototype.findChild,H=o&&c(function(){return 7!=O(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=C(W,e);i&&delete W[e],M(t,e,n),i&&t!==W&&M(W,e,i)}:M,U=function(t){var e=F[t]=O(R.prototype);return e._k=t,e},V=X&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},G=function(t,e,n){return t===W&&G(z,e,n),b(t),e=_(e,!0),b(n),r(F,e)?(n.enumerable?(r(t,L)&&t[L][e]&&(t[L][e]=!1),n=O(n,{enumerable:E(0,!1)})):(r(t,L)||M(t,L,E(1,{})),t[L][e]=!0),H(t,e,n)):M(t,e,n)},B=function(t,e){b(t);for(var n,i=m(e=T(e)),r=0,o=i.length;o>r;)G(t,n=i[r++],e[n]);return t},J=function(t,e){return void 0===e?O(t):B(O(t),e)},Z=function(t){var e=N.call(this,t=_(t,!0));return!(this===W&&r(F,t)&&!r(z,t))&&(!(e||!r(this,t)||!r(F,t)||r(this,L)&&this[L][t])||e)},K=function(t,e){if(t=T(t),e=_(e,!0),t!==W||!r(F,e)||r(z,e)){var n=C(t,e);return!n||!r(F,e)||r(t,L)&&t[L][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=j(T(t)),i=[],o=0;n.length>o;)r(F,e=n[o++])||e==L||e==a||i.push(e);return i},$=function(t){for(var e,n=t===W,i=j(n?z:T(t)),o=[],s=0;i.length>s;)!r(F,e=i[s++])||n&&!r(W,e)||o.push(F[e]);return o};X||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(z,n),r(this,L)&&r(this[L],t)&&(this[L][t]=!1),H(this,t,E(1,n))};return o&&q&&H(W,t,{configurable:!0,set:e}),U(t)},u(R.prototype,"toString",function(){return this._k}),w.f=K,x.f=G,n(42).f=S.f=Q,n(13).f=Z,n(21).f=$,o&&!n(19)&&u(W,"propertyIsEnumerable",Z,!0),d.f=function(t){return U(h(t))}),s(s.G+s.W+s.F*!X,{Symbol:R});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var nt=P(h.store),it=0;nt.length>it;)v(nt[it++]);s(s.S+s.F*!X,"Symbol",{for:function(t){return r(D,t+="")?D[t]:D[t]=R(t)},keyFor:function(t){if(V(t))return y(D,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),s(s.S+s.F*!X,"Object",{create:J,defineProperty:G,defineProperties:B,getOwnPropertyDescriptor:K,getOwnPropertyNames:Q,getOwnPropertySymbols:$}),I&&s(s.S+s.F*(!X||c(function(){var t=R();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!V(t)){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);return e=i[1],"function"==typeof e&&(n=e),!n&&g(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!V(e))return e}),i[1]=e,A.apply(I,i)}}}),R.prototype[k]||n(7)(R.prototype,k,R.prototype.valueOf),l(R,"Symbol"),l(Math,"Math",!0),l(i.JSON,"JSON",!0)},function(t,e,n){n(27)("asyncIterator")},function(t,e,n){n(27)("observable")},function(t,e,n){n(81);for(var i=n(0),r=n(7),o=n(18),s=n(8)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var c=u[a],f=i[c],l=f&&f.prototype;l&&!l[s]&&r(l,s,c),o[c]=o.Array}},function(t,e,n){"use strict";function i(t){return function(){return t}}var r=function(){};r.thatReturns=i,r.thatReturnsFalse=i(!1),r.thatReturnsTrue=i(!0),r.thatReturnsNull=i(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";function i(t,e,n,i,o,s,u,a){if(r(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,i,o,s,u,a],l=0;c=new Error(e.replace(/%s/g,function(){return f[l++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(t){};t.exports=i},function(t,e,n){var i;!function(r,o,s,u){"use strict";function a(t,e,n){return setTimeout(h(t,n),e)}function c(t,e,n){return!!Array.isArray(t)&&(f(t,n[e],n),!0)}function f(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==u)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 l(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",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}function p(t,e,n){var i,r=e.prototype;i=t.prototype=Object.create(r),i.constructor=t,i._super=r,n&&dt(i,n)}function h(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==mt?t.apply(e?e[0]||u:u,e):t}function v(t,e){return t===u?e:t}function y(t,e,n){f(T(e),function(e){t.addEventListener(e,n,!1)})}function m(t,e,n){f(T(e),function(e){t.removeEventListener(e,n,!1)})}function g(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function b(t,e){return t.indexOf(e)>-1}function T(t){return t.trim().split(/\s+/g)}function _(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 E(t){return Array.prototype.slice.call(t,0)}function O(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];_(r,s)<0&&i.push(t[o]),r[o]=s,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function S(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<vt.length;){if(n=vt[o],(i=n?n+r:e)in t)return i;o++}return u}function w(){return Ot++}function x(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}function P(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){d(t.options.enable,[t])&&n.handler(e)},this.init()}function C(t){var e=t.options.inputClass;return new(e||(xt?Y:Pt?U:wt?G:X))(t,M)}function M(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&Mt&&i-r==0,s=e&(Rt|It)&&i-r==0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,j(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function j(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=A(e)),r>1&&!n.firstMultiple?n.firstMultiple=A(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,u=s?s.center:o.center,a=e.center=L(i);e.timeStamp=Tt(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=F(u,a),e.distance=D(u,a),R(n,e),e.offsetDirection=N(e.deltaX,e.deltaY);var c=k(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=bt(c.x)>bt(c.y)?c.x:c.y,e.scale=s?W(s.pointers,i):1,e.rotation=s?z(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,I(n,e);var f=t.element;g(e.srcEvent.target,f)&&(f=e.srcEvent.target),e.target=f}function R(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==Mt&&o.eventType!==Rt||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function I(t,e){var n,i,r,o,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(e.eventType!=It&&(a>Ct||s.velocity===u)){var c=e.deltaX-s.deltaX,f=e.deltaY-s.deltaY,l=k(a,c,f);i=l.x,r=l.y,n=bt(l.x)>bt(l.y)?l.x:l.y,o=N(c,f),t.lastInterval=e}else n=s.velocity,i=s.velocityX,r=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}function A(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:gt(t.pointers[n].clientX),clientY:gt(t.pointers[n].clientY)},n++;return{timeStamp:Tt(),pointers:e,center:L(e),deltaX:t.deltaX,deltaY:t.deltaY}}function L(t){var e=t.length;if(1===e)return{x:gt(t[0].clientX),y:gt(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:gt(n/e),y:gt(i/e)}}function k(t,e,n){return{x:e/t||0,y:n/t||0}}function N(t,e){return t===e?At:bt(t)>=bt(e)?t<0?Lt:kt:e<0?Nt:Dt}function D(t,e,n){n||(n=Xt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function F(t,e,n){n||(n=Xt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function z(t,e){return F(e[1],e[0],Yt)+F(t[1],t[0],Yt)}function W(t,e){return D(e[0],e[1],Yt)/D(t[0],t[1],Yt)}function X(){this.evEl=Ht,this.evWin=Ut,this.pressed=!1,P.apply(this,arguments)}function Y(){this.evEl=Bt,this.evWin=Jt,P.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function q(){this.evTarget=Kt,this.evWin=Qt,this.started=!1,P.apply(this,arguments)}function H(t,e){var n=E(t.touches),i=E(t.changedTouches);return e&(Rt|It)&&(n=O(n.concat(i),"identifier",!0)),[n,i]}function U(){this.evTarget=te,this.targetIds={},P.apply(this,arguments)}function V(t,e){var n=E(t.touches),i=this.targetIds;if(e&(Mt|jt)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=E(t.changedTouches),u=[],a=this.target;if(o=n.filter(function(t){return g(t.target,a)}),e===Mt)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<s.length;)i[s[r].identifier]&&u.push(s[r]),e&(Rt|It)&&delete i[s[r].identifier],r++;return u.length?[O(o.concat(u),"identifier",!0),u]:void 0}function G(){P.apply(this,arguments);var t=h(this.handler,this);this.touch=new U(this.manager,t),this.mouse=new X(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function B(t,e){t&Mt?(this.primaryTouch=e.changedPointers[0].identifier,J.call(this,e)):t&(Rt|It)&&J.call(this,e)}function J(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,r=function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)};setTimeout(r,ee)}}function Z(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),s=Math.abs(n-r.y);if(o<=ne&&s<=ne)return!0}return!1}function K(t,e){this.manager=t,this.set(e)}function Q(t){if(b(t,ue))return ue;var e=b(t,ae),n=b(t,ce);return e&&n?ue:e||n?e?ae:ce:b(t,se)?se:oe}function $(t){this.options=dt({},this.defaults,t||{}),this.id=w(),this.manager=null,this.options.enable=v(this.options.enable,!0),this.state=le,this.simultaneous={},this.requireFail=[]}function tt(t){return t&ye?"cancel":t&de?"end":t&he?"move":t&pe?"start":""}function et(t){return t==Dt?"down":t==Nt?"up":t==Lt?"left":t==kt?"right":""}function nt(t,e){var n=e.manager;return n?n.get(t):t}function it(){$.apply(this,arguments)}function rt(){it.apply(this,arguments),this.pX=null,this.pY=null}function ot(){it.apply(this,arguments)}function st(){$.apply(this,arguments),this._timer=null,this._input=null}function ut(){it.apply(this,arguments)}function at(){it.apply(this,arguments)}function ct(){$.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ft(t,e){return e=e||{},e.recognizers=v(e.recognizers,ft.defaults.preset),new lt(t,e)}function lt(t,e){this.options=dt({},ft.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=C(this),this.touchAction=new K(this,this.options.touchAction),pt(this,!0),f(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 pt(t,e){var n=t.element;if(n.style){var i;f(t.options.cssProps,function(r,o){i=S(n.style,o),e?(t.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=t.oldCssProps[i]||""}),e||(t.oldCssProps={})}}function ht(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var dt,vt=["","webkit","Moz","MS","ms","o"],yt=o.createElement("div"),mt="function",gt=Math.round,bt=Math.abs,Tt=Date.now;dt="function"!=typeof Object.assign?function(t){if(t===u||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!==u&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var _t=l(function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===u)&&(t[i[r]]=e[i[r]]),r++;return t},"extend","Use `assign`."),Et=l(function(t,e){return _t(t,e,!0)},"merge","Use `assign`."),Ot=1,St=/mobile|tablet|ip(ad|hone|od)|android/i,wt="ontouchstart"in r,xt=S(r,"PointerEvent")!==u,Pt=wt&&St.test(navigator.userAgent),Ct=25,Mt=1,jt=2,Rt=4,It=8,At=1,Lt=2,kt=4,Nt=8,Dt=16,Ft=Lt|kt,zt=Nt|Dt,Wt=Ft|zt,Xt=["x","y"],Yt=["clientX","clientY"];P.prototype={handler:function(){},init:function(){this.evEl&&y(this.element,this.evEl,this.domHandler),this.evTarget&&y(this.target,this.evTarget,this.domHandler),this.evWin&&y(x(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(x(this.element),this.evWin,this.domHandler)}};var qt={mousedown:Mt,mousemove:jt,mouseup:Rt},Ht="mousedown",Ut="mousemove mouseup";p(X,P,{handler:function(t){var e=qt[t.type];e&Mt&&0===t.button&&(this.pressed=!0),e&jt&&1!==t.which&&(e=Rt),this.pressed&&(e&Rt&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var Vt={pointerdown:Mt,pointermove:jt,pointerup:Rt,pointercancel:It,pointerout:It},Gt={2:"touch",3:"pen",4:"mouse",5:"kinect"},Bt="pointerdown",Jt="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(Bt="MSPointerDown",Jt="MSPointerMove MSPointerUp MSPointerCancel"),p(Y,P,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=Vt[i],o=Gt[t.pointerType]||t.pointerType,s="touch"==o,u=_(e,t.pointerId,"pointerId");r&Mt&&(0===t.button||s)?u<0&&(e.push(t),u=e.length-1):r&(Rt|It)&&(n=!0),u<0||(e[u]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(u,1))}});var Zt={touchstart:Mt,touchmove:jt,touchend:Rt,touchcancel:It},Kt="touchstart",Qt="touchstart touchmove touchend touchcancel";p(q,P,{handler:function(t){var e=Zt[t.type];if(e===Mt&&(this.started=!0),this.started){var n=H.call(this,t,e);e&(Rt|It)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var $t={touchstart:Mt,touchmove:jt,touchend:Rt,touchcancel:It},te="touchstart touchmove touchend touchcancel";p(U,P,{handler:function(t){var e=$t[t.type],n=V.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}});var ee=2500,ne=25;p(G,P,{handler:function(t,e,n){var i="touch"==n.pointerType,r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)B.call(this,e,n);else if(r&&Z.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ie=S(yt.style,"touchAction"),re=ie!==u,oe="auto",se="manipulation",ue="none",ae="pan-x",ce="pan-y",fe=function(){if(!re)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||r.CSS.supports("touch-action",n)}),t}();K.prototype={set:function(t){"compute"==t&&(t=this.compute()),re&&this.manager.element.style&&fe[t]&&(this.manager.element.style[ie]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return f(this.manager.recognizers,function(e){d(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),Q(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var i=this.actions,r=b(i,ue)&&!fe[ue],o=b(i,ce)&&!fe[ce],s=b(i,ae)&&!fe[ae];if(r){var u=1===t.pointers.length,a=t.distance<2,c=t.deltaTime<250;if(u&&a&&c)return}return s&&o?void 0:r||o&&n&Ft||s&&n&zt?this.preventSrc(e):void 0},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var le=1,pe=2,he=4,de=8,ve=de,ye=16;$.prototype={defaults:{},set:function(t){return dt(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(c(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=nt(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return c(t,"dropRecognizeWith",this)?this:(t=nt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(c(t,"requireFailure",this))return this;var e=this.requireFail;return t=nt(t,this),-1===_(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(c(t,"dropRequireFailure",this))return this;t=nt(t,this);var e=_(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){function e(e){n.manager.emit(e,t)}var n=this,i=this.state;i<de&&e(n.options.event+tt(i)),e(n.options.event),t.additionalEvent&&e(t.additionalEvent),i>=de&&e(n.options.event+tt(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|le)))return!1;t++}return!0},recognize:function(t){var e=dt({},t);if(!d(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(ve|ye|32)&&(this.state=le),this.state=this.process(e),this.state&(pe|he|de|ye)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},p(it,$,{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=e&(pe|he),r=this.attrTest(t);return i&&(n&It||!r)?e|ye:i||r?n&Rt?e|de:e&pe?e|he:pe:32}}),p(rt,it,{defaults:{event:"pan",threshold:10,pointers:1,direction:Wt},getTouchAction:function(){var t=this.options.direction,e=[];return t&Ft&&e.push(ce),t&zt&&e.push(ae),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,s=t.deltaY;return r&e.direction||(e.direction&Ft?(r=0===o?At:o<0?Lt:kt,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===s?At:s<0?Nt:Dt,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return it.prototype.attrTest.call(this,t)&&(this.state&pe||!(this.state&pe)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=et(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),p(ot,it,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ue]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&pe)},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)}}),p(st,$,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[oe]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(Rt|It)&&!r)this.reset();else if(t.eventType&Mt)this.reset(),this._timer=a(function(){this.state=ve,this.tryEmit()},e.time,this);else if(t.eventType&Rt)return ve;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ve&&(t&&t.eventType&Rt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Tt(),this.manager.emit(this.options.event,this._input)))}}),p(ut,it,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ue]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&pe)}}),p(at,it,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Ft|zt,pointers:1},getTouchAction:function(){return rt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Ft|zt)?e=t.overallVelocity:n&Ft?e=t.overallVelocityX:n&zt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&bt(e)>this.options.velocity&&t.eventType&Rt},emit:function(t){var e=et(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),p(ct,$,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[se]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&Mt&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=Rt)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||D(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,s&&o?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=a(function(){this.state=ve,this.tryEmit()},e.interval,this),pe):ve}return 32},failTimeout:function(){return this._timer=a(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ve&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ft.VERSION="2.0.7",ft.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[ut,{enable:!1}],[ot,{enable:!1},["rotate"]],[at,{direction:Ft}],[rt,{direction:Ft},["swipe"]],[ct],[ct,{event:"doubletap",taps:2},["tap"]],[st]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};lt.prototype={set:function(t){return dt(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){this.touchAction.preventDefaults(t);var n,i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&ve)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(pe|he|de)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof $)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(c(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(c(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=_(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==u&&e!==u){var n=this.handlers;return f(T(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==u){var n=this.handlers;return f(T(t),function(t){e?n[t]&&n[t].splice(_(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&ht(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&&pt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},dt(ft,{INPUT_START:Mt,INPUT_MOVE:jt,INPUT_END:Rt,INPUT_CANCEL:It,STATE_POSSIBLE:le,STATE_BEGAN:pe,STATE_CHANGED:he,STATE_ENDED:de,STATE_RECOGNIZED:ve,STATE_CANCELLED:ye,STATE_FAILED:32,DIRECTION_NONE:At,DIRECTION_LEFT:Lt,DIRECTION_RIGHT:kt,DIRECTION_UP:Nt,DIRECTION_DOWN:Dt,DIRECTION_HORIZONTAL:Ft,DIRECTION_VERTICAL:zt,DIRECTION_ALL:Wt,Manager:lt,Input:P,TouchAction:K,TouchInput:U,MouseInput:X,PointerEventInput:Y,TouchMouseInput:G,SingleTouchInput:q,Recognizer:$,AttrRecognizer:it,Tap:ct,Pan:rt,Swipe:at,Pinch:ot,Rotate:ut,Press:st,on:y,off:m,each:f,merge:Et,extend:_t,assign:dt,inherit:p,bindFn:h,prefixed:S}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=ft,(i=function(){return ft}.call(e,n,e,t))!==u&&(t.exports=i)}(window,document)},function(t,e,n){"use strict";function i(t,e){for(var n=o()({},t),i=0;i<e.length;i++){delete n[e[i]]}return n}var r=n(31),o=n.n(r);e.a=i},function(t,e,n){"use strict";var i=n(92),r=n(93),o=n(98);t.exports=function(){function t(t,e,n,i,s,u){u!==o&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e};return n.checkPropTypes=i,n.PropTypes=n,n}},function(t,e,n){t.exports=n(96)()},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";function i(t,e){var n=this;e.hasOwnProperty("vertical")&&console.warn("vertical is deprecated, please use `direction` instead");var i=e.direction;if(i||e.hasOwnProperty("vertical")){var r=i||(e.vertical?"DIRECTION_ALL":"DIRECTION_HORIZONTAL");t.get("pan").set({direction:g[r]}),t.get("swipe").set({direction:g[r]})}e.options&&Object.keys(e.options).forEach(function(i){if("recognizers"===i)Object.keys(e.options.recognizers).forEach(function(n){var i=t.get(n);i.set(e.options.recognizers[n]),e.options.recognizers[n].requireFailure&&i.requireFailure(e.options.recognizers[n].requireFailure)},n);else{var r=i,o={};o[r]=e.options[i],t.set(o)}},this),e.recognizeWith&&Object.keys(e.recognizeWith).forEach(function(n){t.get(n).recognizeWith(e.recognizeWith[n])},this),Object.keys(e).forEach(function(n){var i=T[n];i&&(t.off(i),t.on(i,e[n]))})}var r=n(29),o=n.n(r),s=n(30),u=n.n(s),a=n(33),c=n.n(a),f=n(32),l=n.n(f),p=n(46),h=n.n(p),d=n(97),v=n.n(d),y=n(47),m=n.n(y),g="undefined"!=typeof window?n(94):void 0,b={children:!0,direction:!0,options:!0,recognizeWith:!0,vertical:!0},T={action:"tap press",onDoubleTap:"doubletap",onPan:"pan",onPanCancel:"pancancel",onPanEnd:"panend",onPanStart:"panstart",onPinch:"pinch",onPinchCancel:"pinchcancel",onPinchEnd:"pinchend",onPinchIn:"pinchin",onPinchOut:"pinchout",onPinchStart:"pinchstart",onPress:"press",onPressUp:"pressup",onRotate:"rotate",onRotateCancel:"rotatecancel",onRotateEnd:"rotateend",onRotateMove:"rotatemove",onRotateStart:"rotatestart",onSwipe:"swipe",onSwipeRight:"swiperight",onSwipeLeft:"swipeleft",onSwipeUp:"swipeup",onSwipeDown:"swipedown",onTap:"tap"};Object.keys(T).forEach(function(t){b[t]=!0});var _=function(t){function e(){return o()(this,e),c()(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l()(e,t),u()(e,[{key:"componentDidMount",value:function(){this.hammer=new g(m.a.findDOMNode(this)),i(this.hammer,this.props)}},{key:"componentDidUpdate",value:function(){this.hammer&&i(this.hammer,this.props)}},{key:"componentWillUnmount",value:function(){this.hammer&&(this.hammer.stop(),this.hammer.destroy()),this.hammer=null}},{key:"render",value:function(){var t={};return Object.keys(this.props).forEach(function(e){b[e]||(t[e]=this.props[e])},this),h.a.cloneElement(h.a.Children.only(this.props.children),t)}}]),e}(h.a.Component);_.displayName="Hammer",_.propTypes={className:v.a.string},e.a=_},function(t,e,n){"use strict";var i=n(99);e.a=i.a},function(t,e,n){n(48),t.exports=n(49)}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports["rc-swipeout"]=e(require("react"),require("react-dom")):t["rc-swipeout"]=e(t.React,t.ReactDOM)}(this,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=102)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(9),r=n(38),o=n(26),s=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(39),r=n(16);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(0),r=n(1),o=n(36),s=n(7),u=function(t,e,n){var a,c,f,l=t&u.F,p=t&u.G,h=t&u.S,d=t&u.P,v=t&u.B,y=t&u.W,m=p?r:r[e]||(r[e]={}),g=m.prototype,b=p?i:h?i[e]:(i[e]||{}).prototype;p&&(n=e);for(a in n)(c=!l&&b&&void 0!==b[a])&&a in m||(f=c?b[a]:n[a],m[a]=p&&"function"!=typeof b[a]?n[a]:v&&c?o(f,i):y&&b[a]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):d&&"function"==typeof f?o(Function.call,f):f,d&&((m.virtual||(m.virtual={}))[a]=f,t&u.R&&g&&!g[a]&&s(g,a,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var i=n(4),r=n(14);t.exports=n(2)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(24)("wks"),r=n(15),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},function(t,e,n){var i=n(11);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var i=n(43),r=n(17);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e,n){var i=n(9),r=n(75),o=n(17),s=n(23)("IE_PROTO"),u=function(){},a=function(){var t,e=n(37)("iframe"),i=o.length;for(e.style.display="none",n(68).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;i--;)delete a.prototype[o[i]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=i(t),n=new u,u.prototype=null,n[s]=t):n=a(),void 0===e?n:r(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(4).f,r=n(3),o=n(8)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(24)("keys"),r=n(15);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(0),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(11);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(0),r=n(1),o=n(19),s=n(28),u=n(4).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:s.f(t)})}},function(t,e,n){e.f=n(8)},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var i=n(54),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,r.default)(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}()},function(t,e,n){"use strict";e.__esModule=!0;var i=n(52),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(55),o=i(r),s=n(53),u=i(s),a=n(34),c=i(a);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,c.default)(e)));t.prototype=(0,u.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(o.default?(0,o.default)(t,e):t.__proto__=e)}},function(t,e,n){"use strict";e.__esModule=!0;var i=n(34),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,r.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(57),o=i(r),s=n(56),u=i(s),a="function"==typeof u.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};e.default="function"==typeof u.default&&"symbol"===a(o.default)?function(t){return void 0===t?"undefined":a(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":a(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(64);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(11),r=n(0).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){t.exports=!n(2)&&!n(10)(function(){return 7!=Object.defineProperty(n(37)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(35);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var i=n(19),r=n(6),o=n(44),s=n(7),u=n(3),a=n(18),c=n(70),f=n(22),l=n(77),p=n(8)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,y,m,g){c(n,e,v);var b,T,_,E=function(t){if(!h&&t in x)return x[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",S="values"==y,w=!1,x=t.prototype,P=x[p]||x["@@iterator"]||y&&x[y],C=P||E(y),M=y?S?E("entries"):C:void 0,j="Array"==e?x.entries||P:P;if(j&&(_=l(j.call(new t)))!==Object.prototype&&_.next&&(f(_,O,!0),i||u(_,p)||s(_,p,d)),S&&P&&"values"!==P.name&&(w=!0,C=function(){return P.call(this)}),i&&!g||!h&&!w&&x[p]||s(x,p,C),a[e]=C,a[O]=d,y)if(b={values:S?C:E("values"),keys:m?C:E("keys"),entries:M},g)for(T in b)T in x||o(x,T,b[T]);else r(r.P+r.F*(h||w),e,b);return b}},function(t,e,n){var i=n(13),r=n(14),o=n(5),s=n(26),u=n(3),a=n(38),c=Object.getOwnPropertyDescriptor;e.f=n(2)?c:function(t,e){if(t=o(t),e=s(e,!0),a)try{return c(t,e)}catch(t){}if(u(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(43),r=n(17).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(3),r=n(5),o=n(66)(!1),s=n(23)("IE_PROTO");t.exports=function(t,e){var n,u=r(t),a=0,c=[];for(n in u)n!=s&&i(u,n)&&c.push(n);for(;e.length>a;)i(u,n=e[a++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){t.exports=n(7)},function(t,e,n){var i=n(16);t.exports=function(t){return Object(i(t))}},function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(51);e.default=i.a},function(t,e){},function(t,e,n){"use strict";var i=n(31),r=n.n(i),o=n(29),s=n.n(o),u=n(30),a=n.n(u),c=n(33),f=n.n(c),l=n(32),p=n.n(l),h=n(46),d=n.n(h),v=n(47),y=n.n(v),m=n(101),g=n(96),b=this&&this.__rest||function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&(n[i[r]]=t[i[r]]);return n},T=function(t){function e(t){s()(this,e);var n=f()(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.onCloseSwipe=function(t){if(n.openedLeft||n.openedRight){(function(t){for(;t.parentNode&&t.parentNode!==document.body;){if(t.className.indexOf(n.props.prefixCls+"-actions")>-1)return t;t=t.parentNode}})(t.target)||(t.preventDefault(),n.close())}},n.onPanStart=function(t){var e=t.direction,i=t.deltaX,r=2===e,o=4===e;if(r||o){var s=n.props,u=s.left,a=s.right;n.needShowRight=r&&a.length>0,n.needShowLeft=o&&u.length>0,n.left&&(n.left.style.visibility=n.needShowRight?"hidden":"visible"),n.right&&(n.right.style.visibility=n.needShowLeft?"hidden":"visible"),(n.needShowLeft||n.needShowRight)&&(n.swiping=!0,n._setStyle(i))}},n.onPan=function(t){var e=t.deltaX;n.swiping&&n._setStyle(e)},n.onPanEnd=function(t){if(n.swiping){var e=n.btnsLeftWidth,i=n.btnsRightWidth,r=t.deltaX,o=n.needShowRight&&Math.abs(r)>i/2,s=n.needShowLeft&&Math.abs(r)>i/2;o?n.open(-i,!1,!0):s?n.open(e,!0,!1):n.close(),n.swiping=!1,n.needShowLeft=!1,n.needShowRight=!1}},n._setStyle=function(t){var e=t>0?n.btnsLeftWidth:-n.btnsRightWidth,i=n._getContentEasing(t,e);n.content.style.left=i+"px",n.cover&&(n.cover.style.display=Math.abs(t)>0?"block":"none",n.cover.style.left=i+"px")},n.open=function(t,e,i){n.openedLeft||n.openedRight||!n.props.onOpen||n.props.onOpen(),n.openedLeft=e,n.openedRight=i,n._setStyle(t)},n.close=function(){(n.openedLeft||n.openedRight)&&n.props.onClose&&n.props.onClose(),n._setStyle(0),n.openedLeft=!1,n.openedRight=!1},n.openedLeft=!1,n.openedRight=!1,n}return p()(e,t),a()(e,[{key:"componentDidMount",value:function(){this.btnsLeftWidth=this.left?this.left.offsetWidth:0,this.btnsRightWidth=this.right?this.right.offsetWidth:0,document.body.addEventListener("touchstart",this.onCloseSwipe,!0)}},{key:"componentWillUnmount",value:function(){document.body.removeEventListener("touchstart",this.onCloseSwipe,!0)}},{key:"onBtnClick",value:function(t,e){var n=e.onPress;n&&n(t),this.props.autoClose&&this.close()}},{key:"_getContentEasing",value:function(t,e){var n=Math.abs(t)-Math.abs(e),i=n>0,r=e>0?1:-1;return i?(t=e+Math.pow(n,.85)*r,Math.abs(t)>Math.abs(e)?e:t):t}},{key:"renderButtons",value:function(t,e){var n=this,i=this.props.prefixCls;return t&&t.length?d.a.createElement("div",{className:i+"-actions "+i+"-actions-"+e,ref:function(t){return n[e]=t}},t.map(function(t,e){return d.a.createElement("div",{key:e,className:i+"-btn "+(t.hasOwnProperty("className")?t.className:""),style:t.style,role:"button",onClick:function(e){return n.onBtnClick(e,t)}},d.a.createElement("div",{className:i+"-btn-text"},t.text||"Click"))})):null}},{key:"render",value:function(){var t=this,e=this.props,i=e.prefixCls,o=e.left,s=e.right,u=e.disabled,a=e.children,c=b(e,["prefixCls","left","right","disabled","children"]),f=n.i(g.a)(c,["autoClose","onOpen","onClose"]),l={ref:function(e){return t.content=y.a.findDOMNode(e)}};return!o.length&&!s.length||u?d.a.createElement("div",r()({},l,f),a):d.a.createElement("div",r()({className:""+i},f),d.a.createElement("div",{className:i+"-cover",ref:function(e){return t.cover=e}}),this.renderButtons(o,"left"),this.renderButtons(s,"right"),d.a.createElement(m.a,r()({direction:"DIRECTION_ALL",onPanStart:this.onPanStart,onPan:this.onPan,onPanEnd:this.onPanEnd},l),d.a.createElement("div",{className:i+"-content"},a)))}}]),e}(d.a.Component);e.a=T,T.defaultProps={prefixCls:"rc-swipeout",autoClose:!1,disabled:!1,left:[],right:[],onOpen:function(){},onClose:function(){}}},function(t,e,n){"use strict";var i=n(50);n.d(e,"a",function(){return i.a})},function(t,e,n){t.exports={default:n(58),__esModule:!0}},function(t,e,n){t.exports={default:n(59),__esModule:!0}},function(t,e,n){t.exports={default:n(60),__esModule:!0}},function(t,e,n){t.exports={default:n(61),__esModule:!0}},function(t,e,n){t.exports={default:n(62),__esModule:!0}},function(t,e,n){t.exports={default:n(63),__esModule:!0}},function(t,e,n){n(83),t.exports=n(1).Object.assign},function(t,e,n){n(84);var i=n(1).Object;t.exports=function(t,e){return i.create(t,e)}},function(t,e,n){n(85);var i=n(1).Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},function(t,e,n){n(86),t.exports=n(1).Object.setPrototypeOf},function(t,e,n){n(89),n(87),n(90),n(91),t.exports=n(1).Symbol},function(t,e,n){n(88),n(92),t.exports=n(28).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var i=n(5),r=n(81),o=n(80);t.exports=function(t){return function(e,n,s){var u,a=i(e),c=r(a.length),f=o(s,c);if(t&&n!=n){for(;c>f;)if((u=a[f++])!=u)return!0}else for(;c>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var i=n(12),r=n(21),o=n(13);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var s,u=n(t),a=o.f,c=0;u.length>c;)a.call(t,s=u[c++])&&e.push(s);return e}},function(t,e,n){var i=n(0).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(35);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";var i=n(20),r=n(14),o=n(22),s={};n(7)(s,n(8)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var i=n(12),r=n(5);t.exports=function(t,e){for(var n,o=r(t),s=i(o),u=s.length,a=0;u>a;)if(o[n=s[a++]]===e)return n}},function(t,e,n){var i=n(15)("meta"),r=n(11),o=n(3),s=n(4).f,u=0,a=Object.isExtensible||function(){return!0},c=!n(10)(function(){return a(Object.preventExtensions({}))}),f=function(t){s(t,i,{value:{i:"O"+ ++u,w:{}}})},l=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[i].i},p=function(t,e){if(!o(t,i)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[i].w},h=function(t){return c&&d.NEED&&a(t)&&!o(t,i)&&f(t),t},d=t.exports={KEY:i,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},function(t,e,n){"use strict";var i=n(12),r=n(21),o=n(13),s=n(45),u=n(39),a=Object.assign;t.exports=!a||n(10)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=a({},t)[n]||Object.keys(a({},e)).join("")!=i})?function(t,e){for(var n=s(t),a=arguments.length,c=1,f=r.f,l=o.f;a>c;)for(var p,h=u(arguments[c++]),d=f?i(h).concat(f(h)):i(h),v=d.length,y=0;v>y;)l.call(h,p=d[y++])&&(n[p]=h[p]);return n}:a},function(t,e,n){var i=n(4),r=n(9),o=n(12);t.exports=n(2)?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),u=s.length,a=0;u>a;)i.f(t,n=s[a++],e[n]);return t}},function(t,e,n){var i=n(5),r=n(42).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return r(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?u(t):r(i(t))}},function(t,e,n){var i=n(3),r=n(45),o=n(23)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var i=n(11),r=n(9),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n(36)(Function.call,n(41).f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){var i=n(25),r=n(16);t.exports=function(t){return function(e,n){var o,s,u=String(r(e)),a=i(n),c=u.length;return a<0||a>=c?t?"":void 0:(o=u.charCodeAt(a),o<55296||o>56319||a+1===c||(s=u.charCodeAt(a+1))<56320||s>57343?t?u.charAt(a):o:t?u.slice(a,a+2):s-56320+(o-55296<<10)+65536)}}},function(t,e,n){var i=n(25),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(25),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){"use strict";var i=n(65),r=n(71),o=n(18),s=n(5);t.exports=n(40)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(6);i(i.S+i.F,"Object",{assign:n(74)})},function(t,e,n){var i=n(6);i(i.S,"Object",{create:n(20)})},function(t,e,n){var i=n(6);i(i.S+i.F*!n(2),"Object",{defineProperty:n(4).f})},function(t,e,n){var i=n(6);i(i.S,"Object",{setPrototypeOf:n(78).set})},function(t,e){},function(t,e,n){"use strict";var i=n(79)(!0);n(40)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var i=n(0),r=n(3),o=n(2),s=n(6),u=n(44),a=n(73).KEY,c=n(10),f=n(24),l=n(22),p=n(15),h=n(8),d=n(28),v=n(27),y=n(72),m=n(67),g=n(69),b=n(9),T=n(5),_=n(26),E=n(14),O=n(20),S=n(76),w=n(41),x=n(4),P=n(12),C=w.f,M=x.f,j=S.f,R=i.Symbol,I=i.JSON,A=I&&I.stringify,L=h("_hidden"),k=h("toPrimitive"),N={}.propertyIsEnumerable,D=f("symbol-registry"),F=f("symbols"),z=f("op-symbols"),W=Object.prototype,X="function"==typeof R,Y=i.QObject,q=!Y||!Y.prototype||!Y.prototype.findChild,H=o&&c(function(){return 7!=O(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=C(W,e);i&&delete W[e],M(t,e,n),i&&t!==W&&M(W,e,i)}:M,U=function(t){var e=F[t]=O(R.prototype);return e._k=t,e},V=X&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},G=function(t,e,n){return t===W&&G(z,e,n),b(t),e=_(e,!0),b(n),r(F,e)?(n.enumerable?(r(t,L)&&t[L][e]&&(t[L][e]=!1),n=O(n,{enumerable:E(0,!1)})):(r(t,L)||M(t,L,E(1,{})),t[L][e]=!0),H(t,e,n)):M(t,e,n)},B=function(t,e){b(t);for(var n,i=m(e=T(e)),r=0,o=i.length;o>r;)G(t,n=i[r++],e[n]);return t},J=function(t,e){return void 0===e?O(t):B(O(t),e)},Z=function(t){var e=N.call(this,t=_(t,!0));return!(this===W&&r(F,t)&&!r(z,t))&&(!(e||!r(this,t)||!r(F,t)||r(this,L)&&this[L][t])||e)},K=function(t,e){if(t=T(t),e=_(e,!0),t!==W||!r(F,e)||r(z,e)){var n=C(t,e);return!n||!r(F,e)||r(t,L)&&t[L][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=j(T(t)),i=[],o=0;n.length>o;)r(F,e=n[o++])||e==L||e==a||i.push(e);return i},$=function(t){for(var e,n=t===W,i=j(n?z:T(t)),o=[],s=0;i.length>s;)!r(F,e=i[s++])||n&&!r(W,e)||o.push(F[e]);return o};X||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(z,n),r(this,L)&&r(this[L],t)&&(this[L][t]=!1),H(this,t,E(1,n))};return o&&q&&H(W,t,{configurable:!0,set:e}),U(t)},u(R.prototype,"toString",function(){return this._k}),w.f=K,x.f=G,n(42).f=S.f=Q,n(13).f=Z,n(21).f=$,o&&!n(19)&&u(W,"propertyIsEnumerable",Z,!0),d.f=function(t){return U(h(t))}),s(s.G+s.W+s.F*!X,{Symbol:R});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var nt=P(h.store),it=0;nt.length>it;)v(nt[it++]);s(s.S+s.F*!X,"Symbol",{for:function(t){return r(D,t+="")?D[t]:D[t]=R(t)},keyFor:function(t){if(V(t))return y(D,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),s(s.S+s.F*!X,"Object",{create:J,defineProperty:G,defineProperties:B,getOwnPropertyDescriptor:K,getOwnPropertyNames:Q,getOwnPropertySymbols:$}),I&&s(s.S+s.F*(!X||c(function(){var t=R();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!V(t)){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);return e=i[1],"function"==typeof e&&(n=e),!n&&g(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!V(e))return e}),i[1]=e,A.apply(I,i)}}}),R.prototype[k]||n(7)(R.prototype,k,R.prototype.valueOf),l(R,"Symbol"),l(Math,"Math",!0),l(i.JSON,"JSON",!0)},function(t,e,n){n(27)("asyncIterator")},function(t,e,n){n(27)("observable")},function(t,e,n){n(82);for(var i=n(0),r=n(7),o=n(18),s=n(8)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var c=u[a],f=i[c],l=f&&f.prototype;l&&!l[s]&&r(l,s,c),o[c]=o.Array}},function(t,e,n){"use strict";function i(t){return function(){return t}}var r=function(){};r.thatReturns=i,r.thatReturnsFalse=i(!1),r.thatReturnsTrue=i(!0),r.thatReturnsNull=i(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";function i(t,e,n,i,o,s,u,a){if(r(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,i,o,s,u,a],l=0;c=new Error(e.replace(/%s/g,function(){return f[l++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(t){};t.exports=i},function(t,e,n){var i;!function(r,o,s,u){"use strict";function a(t,e,n){return setTimeout(h(t,n),e)}function c(t,e,n){return!!Array.isArray(t)&&(f(t,n[e],n),!0)}function f(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==u)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 l(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",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}function p(t,e,n){var i,r=e.prototype;i=t.prototype=Object.create(r),i.constructor=t,i._super=r,n&&dt(i,n)}function h(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==mt?t.apply(e?e[0]||u:u,e):t}function v(t,e){return t===u?e:t}function y(t,e,n){f(T(e),function(e){t.addEventListener(e,n,!1)})}function m(t,e,n){f(T(e),function(e){t.removeEventListener(e,n,!1)})}function g(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function b(t,e){return t.indexOf(e)>-1}function T(t){return t.trim().split(/\s+/g)}function _(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 E(t){return Array.prototype.slice.call(t,0)}function O(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];_(r,s)<0&&i.push(t[o]),r[o]=s,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function S(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<vt.length;){if(n=vt[o],(i=n?n+r:e)in t)return i;o++}return u}function w(){return Ot++}function x(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}function P(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){d(t.options.enable,[t])&&n.handler(e)},this.init()}function C(t){var e=t.options.inputClass;return new(e||(xt?Y:Pt?U:wt?G:X))(t,M)}function M(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&Mt&&i-r==0,s=e&(Rt|It)&&i-r==0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,j(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function j(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=A(e)),r>1&&!n.firstMultiple?n.firstMultiple=A(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,u=s?s.center:o.center,a=e.center=L(i);e.timeStamp=Tt(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=F(u,a),e.distance=D(u,a),R(n,e),e.offsetDirection=N(e.deltaX,e.deltaY);var c=k(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=bt(c.x)>bt(c.y)?c.x:c.y,e.scale=s?W(s.pointers,i):1,e.rotation=s?z(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,I(n,e);var f=t.element;g(e.srcEvent.target,f)&&(f=e.srcEvent.target),e.target=f}function R(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==Mt&&o.eventType!==Rt||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function I(t,e){var n,i,r,o,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(e.eventType!=It&&(a>Ct||s.velocity===u)){var c=e.deltaX-s.deltaX,f=e.deltaY-s.deltaY,l=k(a,c,f);i=l.x,r=l.y,n=bt(l.x)>bt(l.y)?l.x:l.y,o=N(c,f),t.lastInterval=e}else n=s.velocity,i=s.velocityX,r=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}function A(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:gt(t.pointers[n].clientX),clientY:gt(t.pointers[n].clientY)},n++;return{timeStamp:Tt(),pointers:e,center:L(e),deltaX:t.deltaX,deltaY:t.deltaY}}function L(t){var e=t.length;if(1===e)return{x:gt(t[0].clientX),y:gt(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:gt(n/e),y:gt(i/e)}}function k(t,e,n){return{x:e/t||0,y:n/t||0}}function N(t,e){return t===e?At:bt(t)>=bt(e)?t<0?Lt:kt:e<0?Nt:Dt}function D(t,e,n){n||(n=Xt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function F(t,e,n){n||(n=Xt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function z(t,e){return F(e[1],e[0],Yt)+F(t[1],t[0],Yt)}function W(t,e){return D(e[0],e[1],Yt)/D(t[0],t[1],Yt)}function X(){this.evEl=Ht,this.evWin=Ut,this.pressed=!1,P.apply(this,arguments)}function Y(){this.evEl=Bt,this.evWin=Jt,P.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function q(){this.evTarget=Kt,this.evWin=Qt,this.started=!1,P.apply(this,arguments)}function H(t,e){var n=E(t.touches),i=E(t.changedTouches);return e&(Rt|It)&&(n=O(n.concat(i),"identifier",!0)),[n,i]}function U(){this.evTarget=te,this.targetIds={},P.apply(this,arguments)}function V(t,e){var n=E(t.touches),i=this.targetIds;if(e&(Mt|jt)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=E(t.changedTouches),u=[],a=this.target;if(o=n.filter(function(t){return g(t.target,a)}),e===Mt)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<s.length;)i[s[r].identifier]&&u.push(s[r]),e&(Rt|It)&&delete i[s[r].identifier],r++;return u.length?[O(o.concat(u),"identifier",!0),u]:void 0}function G(){P.apply(this,arguments);var t=h(this.handler,this);this.touch=new U(this.manager,t),this.mouse=new X(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function B(t,e){t&Mt?(this.primaryTouch=e.changedPointers[0].identifier,J.call(this,e)):t&(Rt|It)&&J.call(this,e)}function J(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,r=function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)};setTimeout(r,ee)}}function Z(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),s=Math.abs(n-r.y);if(o<=ne&&s<=ne)return!0}return!1}function K(t,e){this.manager=t,this.set(e)}function Q(t){if(b(t,ue))return ue;var e=b(t,ae),n=b(t,ce);return e&&n?ue:e||n?e?ae:ce:b(t,se)?se:oe}function $(t){this.options=dt({},this.defaults,t||{}),this.id=w(),this.manager=null,this.options.enable=v(this.options.enable,!0),this.state=le,this.simultaneous={},this.requireFail=[]}function tt(t){return t&ye?"cancel":t&de?"end":t&he?"move":t&pe?"start":""}function et(t){return t==Dt?"down":t==Nt?"up":t==Lt?"left":t==kt?"right":""}function nt(t,e){var n=e.manager;return n?n.get(t):t}function it(){$.apply(this,arguments)}function rt(){it.apply(this,arguments),this.pX=null,this.pY=null}function ot(){it.apply(this,arguments)}function st(){$.apply(this,arguments),this._timer=null,this._input=null}function ut(){it.apply(this,arguments)}function at(){it.apply(this,arguments)}function ct(){$.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ft(t,e){return e=e||{},e.recognizers=v(e.recognizers,ft.defaults.preset),new lt(t,e)}function lt(t,e){this.options=dt({},ft.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=C(this),this.touchAction=new K(this,this.options.touchAction),pt(this,!0),f(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 pt(t,e){var n=t.element;if(n.style){var i;f(t.options.cssProps,function(r,o){i=S(n.style,o),e?(t.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=t.oldCssProps[i]||""}),e||(t.oldCssProps={})}}function ht(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var dt,vt=["","webkit","Moz","MS","ms","o"],yt=o.createElement("div"),mt="function",gt=Math.round,bt=Math.abs,Tt=Date.now;dt="function"!=typeof Object.assign?function(t){if(t===u||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!==u&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var _t=l(function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===u)&&(t[i[r]]=e[i[r]]),r++;return t},"extend","Use `assign`."),Et=l(function(t,e){return _t(t,e,!0)},"merge","Use `assign`."),Ot=1,St=/mobile|tablet|ip(ad|hone|od)|android/i,wt="ontouchstart"in r,xt=S(r,"PointerEvent")!==u,Pt=wt&&St.test(navigator.userAgent),Ct=25,Mt=1,jt=2,Rt=4,It=8,At=1,Lt=2,kt=4,Nt=8,Dt=16,Ft=Lt|kt,zt=Nt|Dt,Wt=Ft|zt,Xt=["x","y"],Yt=["clientX","clientY"];P.prototype={handler:function(){},init:function(){this.evEl&&y(this.element,this.evEl,this.domHandler),this.evTarget&&y(this.target,this.evTarget,this.domHandler),this.evWin&&y(x(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(x(this.element),this.evWin,this.domHandler)}};var qt={mousedown:Mt,mousemove:jt,mouseup:Rt},Ht="mousedown",Ut="mousemove mouseup";p(X,P,{handler:function(t){var e=qt[t.type];e&Mt&&0===t.button&&(this.pressed=!0),e&jt&&1!==t.which&&(e=Rt),this.pressed&&(e&Rt&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var Vt={pointerdown:Mt,pointermove:jt,pointerup:Rt,pointercancel:It,pointerout:It},Gt={2:"touch",3:"pen",4:"mouse",5:"kinect"},Bt="pointerdown",Jt="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(Bt="MSPointerDown",Jt="MSPointerMove MSPointerUp MSPointerCancel"),p(Y,P,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=Vt[i],o=Gt[t.pointerType]||t.pointerType,s="touch"==o,u=_(e,t.pointerId,"pointerId");r&Mt&&(0===t.button||s)?u<0&&(e.push(t),u=e.length-1):r&(Rt|It)&&(n=!0),u<0||(e[u]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(u,1))}});var Zt={touchstart:Mt,touchmove:jt,touchend:Rt,touchcancel:It},Kt="touchstart",Qt="touchstart touchmove touchend touchcancel";p(q,P,{handler:function(t){var e=Zt[t.type];if(e===Mt&&(this.started=!0),this.started){var n=H.call(this,t,e);e&(Rt|It)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var $t={touchstart:Mt,touchmove:jt,touchend:Rt,touchcancel:It},te="touchstart touchmove touchend touchcancel";p(U,P,{handler:function(t){var e=$t[t.type],n=V.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}});var ee=2500,ne=25;p(G,P,{handler:function(t,e,n){var i="touch"==n.pointerType,r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)B.call(this,e,n);else if(r&&Z.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ie=S(yt.style,"touchAction"),re=ie!==u,oe="auto",se="manipulation",ue="none",ae="pan-x",ce="pan-y",fe=function(){if(!re)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||r.CSS.supports("touch-action",n)}),t}();K.prototype={set:function(t){"compute"==t&&(t=this.compute()),re&&this.manager.element.style&&fe[t]&&(this.manager.element.style[ie]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return f(this.manager.recognizers,function(e){d(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),Q(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var i=this.actions,r=b(i,ue)&&!fe[ue],o=b(i,ce)&&!fe[ce],s=b(i,ae)&&!fe[ae];if(r){var u=1===t.pointers.length,a=t.distance<2,c=t.deltaTime<250;if(u&&a&&c)return}return s&&o?void 0:r||o&&n&Ft||s&&n&zt?this.preventSrc(e):void 0},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var le=1,pe=2,he=4,de=8,ve=de,ye=16;$.prototype={defaults:{},set:function(t){return dt(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(c(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=nt(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return c(t,"dropRecognizeWith",this)?this:(t=nt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(c(t,"requireFailure",this))return this;var e=this.requireFail;return t=nt(t,this),-1===_(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(c(t,"dropRequireFailure",this))return this;t=nt(t,this);var e=_(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){function e(e){n.manager.emit(e,t)}var n=this,i=this.state;i<de&&e(n.options.event+tt(i)),e(n.options.event),t.additionalEvent&&e(t.additionalEvent),i>=de&&e(n.options.event+tt(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|le)))return!1;t++}return!0},recognize:function(t){var e=dt({},t);if(!d(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(ve|ye|32)&&(this.state=le),this.state=this.process(e),this.state&(pe|he|de|ye)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},p(it,$,{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=e&(pe|he),r=this.attrTest(t);return i&&(n&It||!r)?e|ye:i||r?n&Rt?e|de:e&pe?e|he:pe:32}}),p(rt,it,{defaults:{event:"pan",threshold:10,pointers:1,direction:Wt},getTouchAction:function(){var t=this.options.direction,e=[];return t&Ft&&e.push(ce),t&zt&&e.push(ae),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,s=t.deltaY;return r&e.direction||(e.direction&Ft?(r=0===o?At:o<0?Lt:kt,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===s?At:s<0?Nt:Dt,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return it.prototype.attrTest.call(this,t)&&(this.state&pe||!(this.state&pe)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=et(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),p(ot,it,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ue]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&pe)},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)}}),p(st,$,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[oe]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(Rt|It)&&!r)this.reset();else if(t.eventType&Mt)this.reset(),this._timer=a(function(){this.state=ve,this.tryEmit()},e.time,this);else if(t.eventType&Rt)return ve;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ve&&(t&&t.eventType&Rt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Tt(),this.manager.emit(this.options.event,this._input)))}}),p(ut,it,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ue]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&pe)}}),p(at,it,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Ft|zt,pointers:1},getTouchAction:function(){return rt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Ft|zt)?e=t.overallVelocity:n&Ft?e=t.overallVelocityX:n&zt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&bt(e)>this.options.velocity&&t.eventType&Rt},emit:function(t){var e=et(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),p(ct,$,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[se]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&Mt&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=Rt)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||D(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,s&&o?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=a(function(){this.state=ve,this.tryEmit()},e.interval,this),pe):ve}return 32},failTimeout:function(){return this._timer=a(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ve&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ft.VERSION="2.0.7",ft.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[ut,{enable:!1}],[ot,{enable:!1},["rotate"]],[at,{direction:Ft}],[rt,{direction:Ft},["swipe"]],[ct],[ct,{event:"doubletap",taps:2},["tap"]],[st]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};lt.prototype={set:function(t){return dt(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){this.touchAction.preventDefaults(t);var n,i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&ve)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(pe|he|de)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof $)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(c(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(c(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=_(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==u&&e!==u){var n=this.handlers;return f(T(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==u){var n=this.handlers;return f(T(t),function(t){e?n[t]&&n[t].splice(_(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&ht(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&&pt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},dt(ft,{INPUT_START:Mt,INPUT_MOVE:jt,INPUT_END:Rt,INPUT_CANCEL:It,STATE_POSSIBLE:le,STATE_BEGAN:pe,STATE_CHANGED:he,STATE_ENDED:de,STATE_RECOGNIZED:ve,STATE_CANCELLED:ye,STATE_FAILED:32,DIRECTION_NONE:At,DIRECTION_LEFT:Lt,DIRECTION_RIGHT:kt,DIRECTION_UP:Nt,DIRECTION_DOWN:Dt,DIRECTION_HORIZONTAL:Ft,DIRECTION_VERTICAL:zt,DIRECTION_ALL:Wt,Manager:lt,Input:P,TouchAction:K,TouchInput:U,MouseInput:X,PointerEventInput:Y,TouchMouseInput:G,SingleTouchInput:q,Recognizer:$,AttrRecognizer:it,Tap:ct,Pan:rt,Swipe:at,Pinch:ot,Rotate:ut,Press:st,on:y,off:m,each:f,merge:Et,extend:_t,assign:dt,inherit:p,bindFn:h,prefixed:S}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=ft,(i=function(){return ft}.call(e,n,e,t))!==u&&(t.exports=i)}(window,document)},function(t,e,n){"use strict";function i(t,e){for(var n=o()({},t),i=0;i<e.length;i++){delete n[e[i]]}return n}var r=n(31),o=n.n(r);e.a=i},function(t,e,n){"use strict";var i=n(93),r=n(94),o=n(99);t.exports=function(){function t(t,e,n,i,s,u){u!==o&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e};return n.checkPropTypes=i,n.PropTypes=n,n}},function(t,e,n){t.exports=n(97)()},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";function i(t,e){var n=this;e.hasOwnProperty("vertical")&&console.warn("vertical is deprecated, please use `direction` instead");var i=e.direction;if(i||e.hasOwnProperty("vertical")){var r=i||(e.vertical?"DIRECTION_ALL":"DIRECTION_HORIZONTAL");t.get("pan").set({direction:g[r]}),t.get("swipe").set({direction:g[r]})}e.options&&Object.keys(e.options).forEach(function(i){if("recognizers"===i)Object.keys(e.options.recognizers).forEach(function(n){var i=t.get(n);i.set(e.options.recognizers[n]),e.options.recognizers[n].requireFailure&&i.requireFailure(e.options.recognizers[n].requireFailure)},n);else{var r=i,o={};o[r]=e.options[i],t.set(o)}},this),e.recognizeWith&&Object.keys(e.recognizeWith).forEach(function(n){t.get(n).recognizeWith(e.recognizeWith[n])},this),Object.keys(e).forEach(function(n){var i=T[n];i&&(t.off(i),t.on(i,e[n]))})}var r=n(29),o=n.n(r),s=n(30),u=n.n(s),a=n(33),c=n.n(a),f=n(32),l=n.n(f),p=n(46),h=n.n(p),d=n(98),v=n.n(d),y=n(47),m=n.n(y),g="undefined"!=typeof window?n(95):void 0,b={children:!0,direction:!0,options:!0,recognizeWith:!0,vertical:!0},T={action:"tap press",onDoubleTap:"doubletap",onPan:"pan",onPanCancel:"pancancel",onPanEnd:"panend",onPanStart:"panstart",onPinch:"pinch",onPinchCancel:"pinchcancel",onPinchEnd:"pinchend",onPinchIn:"pinchin",onPinchOut:"pinchout",onPinchStart:"pinchstart",onPress:"press",onPressUp:"pressup",onRotate:"rotate",onRotateCancel:"rotatecancel",onRotateEnd:"rotateend",onRotateMove:"rotatemove",onRotateStart:"rotatestart",onSwipe:"swipe",onSwipeRight:"swiperight",onSwipeLeft:"swipeleft",onSwipeUp:"swipeup",onSwipeDown:"swipedown",onTap:"tap"};Object.keys(T).forEach(function(t){b[t]=!0});var _=function(t){function e(){return o()(this,e),c()(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l()(e,t),u()(e,[{key:"componentDidMount",value:function(){this.hammer=new g(m.a.findDOMNode(this)),i(this.hammer,this.props)}},{key:"componentDidUpdate",value:function(){this.hammer&&i(this.hammer,this.props)}},{key:"componentWillUnmount",value:function(){this.hammer&&(this.hammer.stop(),this.hammer.destroy()),this.hammer=null}},{key:"render",value:function(){var t={};return Object.keys(this.props).forEach(function(e){b[e]||(t[e]=this.props[e])},this),h.a.cloneElement(h.a.Children.only(this.props.children),t)}}]),e}(h.a.Component);_.displayName="Hammer",_.propTypes={className:v.a.string},e.a=_},function(t,e,n){"use strict";var i=n(100);e.a=i.a},function(t,e,n){n(48),t.exports=n(49)}])});
{
"name": "rc-swipeout",
"version": "1.4.6-alpha.4",
"version": "1.4.6-alpha.5",
"description": "swipe out ui component for react(web and react-native)",

@@ -34,3 +34,3 @@ "keywords": [

"rc-swipeout": [
"./src/index.js",
"./index.js",
"./assets/index.less"

@@ -37,0 +37,0 @@ ]

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc