diff --git a/build/global/react-hotkeys.js b/build/global/react-hotkeys.js index f37e3e6f..9d73092f 100644 --- a/build/global/react-hotkeys.js +++ b/build/global/react-hotkeys.js @@ -7,7 +7,7 @@ exports["ReactHotkeys"] = factory(require("react"), require("ReactDOM")); else root["ReactHotkeys"] = factory(root["React"], root["ReactDOM"]); -})(this, function(__WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_13__) { +})(this, function(__WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_12__) { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; @@ -77,7 +77,7 @@ return /******/ (function(modules) { // webpackBootstrap } }); - var _FocusTrap = __webpack_require__(14); + var _FocusTrap = __webpack_require__(13); Object.defineProperty(exports, 'FocusTrap', { enumerable: true, @@ -86,7 +86,7 @@ return /******/ (function(modules) { // webpackBootstrap } }); - var _HotKeyMapMixin = __webpack_require__(15); + var _HotKeyMapMixin = __webpack_require__(14); Object.defineProperty(exports, 'HotKeyMapMixin', { enumerable: true, @@ -121,35 +121,35 @@ return /******/ (function(modules) { // webpackBootstrap var _createReactClass2 = _interopRequireDefault(_createReactClass); - var _reactDom = __webpack_require__(13); + var _reactDom = __webpack_require__(12); var _reactDom2 = _interopRequireDefault(_reactDom); - var _FocusTrap = __webpack_require__(14); + var _FocusTrap = __webpack_require__(13); var _FocusTrap2 = _interopRequireDefault(_FocusTrap); - var _HotKeyMapMixin = __webpack_require__(15); + var _HotKeyMapMixin = __webpack_require__(14); var _HotKeyMapMixin2 = _interopRequireDefault(_HotKeyMapMixin); - var _isBoolean = __webpack_require__(121); + var _isBoolean = __webpack_require__(120); var _isBoolean2 = _interopRequireDefault(_isBoolean); - var _isArray = __webpack_require__(56); + var _isArray = __webpack_require__(55); var _isArray2 = _interopRequireDefault(_isArray); - var _isObject = __webpack_require__(29); + var _isObject = __webpack_require__(28); var _isObject2 = _interopRequireDefault(_isObject); - var _forEach = __webpack_require__(122); + var _forEach = __webpack_require__(121); var _forEach2 = _interopRequireDefault(_forEach); - var _isEqual = __webpack_require__(67); + var _isEqual = __webpack_require__(66); var _isEqual2 = _interopRequireDefault(_isEqual); @@ -203,7 +203,7 @@ return /******/ (function(modules) { // webpackBootstrap componentDidMount: function componentDidMount() { // import is here to support React's server rendering as Mousetrap immediately // calls itself with window and it fails in Node environment - var Mousetrap = __webpack_require__(130); + var Mousetrap = __webpack_require__(129); // Not optimal - imagine hundreds of this component. We need a top level // delegation point for mousetrap this.__mousetrap__ = new Mousetrap(this.props.attach || _reactDom2.default.findDOMNode(this)); @@ -583,7 +583,7 @@ return /******/ (function(modules) { // webpackBootstrap var _assign = __webpack_require__(10); var emptyObject = __webpack_require__(11); - var _invariant = __webpack_require__(12); + var _invariant = __webpack_require__(6); if (false) { var warning = require('fbjs/lib/warning'); @@ -1416,72 +1416,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), /* 12 */ -/***/ (function(module, exports, __webpack_require__) { - - /** - * Copyright (c) 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ - - 'use strict'; - - /** - * Use invariant() to assert state which your program assumes to be true. - * - * Provide sprintf-style format (only %s is supported) and arguments - * to provide information about what broke and what you were - * expecting. - * - * The invariant message will be stripped in production, but the invariant - * will remain to ensure logic does not differ in production. - */ - - var validateFormat = function validateFormat(format) {}; - - if (false) { - validateFormat = function validateFormat(format) { - if (format === undefined) { - throw new Error('invariant requires an error message argument'); - } - }; - } - - function invariant(condition, format, a, b, c, d, e, f) { - validateFormat(format); - - if (!condition) { - var error; - if (format === undefined) { - error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.'); - } else { - var args = [a, b, c, d, e, f]; - var argIndex = 0; - error = new Error(format.replace(/%s/g, function () { - return args[argIndex++]; - })); - error.name = 'Invariant Violation'; - } - - error.framesToPop = 1; // we don't care about invariant's own frame - throw error; - } - } - - module.exports = invariant; - -/***/ }), -/* 13 */ /***/ (function(module, exports) { - module.exports = __WEBPACK_EXTERNAL_MODULE_13__; + module.exports = __WEBPACK_EXTERNAL_MODULE_12__; /***/ }), -/* 14 */ +/* 13 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -1552,7 +1492,7 @@ return /******/ (function(modules) { // webpackBootstrap exports.default = FocusTrap; /***/ }), -/* 15 */ +/* 14 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -1570,11 +1510,11 @@ return /******/ (function(modules) { // webpackBootstrap var _react2 = _interopRequireDefault(_react); - var _assign = __webpack_require__(16); + var _assign = __webpack_require__(15); var _assign2 = _interopRequireDefault(_assign); - var _isEqual = __webpack_require__(67); + var _isEqual = __webpack_require__(66); var _isEqual2 = _interopRequireDefault(_isEqual); @@ -1625,15 +1565,15 @@ return /******/ (function(modules) { // webpackBootstrap } /***/ }), -/* 16 */ +/* 15 */ /***/ (function(module, exports, __webpack_require__) { - var assignValue = __webpack_require__(17), - copyObject = __webpack_require__(35), - createAssigner = __webpack_require__(36), - isArrayLike = __webpack_require__(46), - isPrototype = __webpack_require__(49), - keys = __webpack_require__(50); + var assignValue = __webpack_require__(16), + copyObject = __webpack_require__(34), + createAssigner = __webpack_require__(35), + isArrayLike = __webpack_require__(45), + isPrototype = __webpack_require__(48), + keys = __webpack_require__(49); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -1689,11 +1629,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 17 */ +/* 16 */ /***/ (function(module, exports, __webpack_require__) { - var baseAssignValue = __webpack_require__(18), - eq = __webpack_require__(34); + var baseAssignValue = __webpack_require__(17), + eq = __webpack_require__(33); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -1723,10 +1663,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 18 */ +/* 17 */ /***/ (function(module, exports, __webpack_require__) { - var defineProperty = __webpack_require__(19); + var defineProperty = __webpack_require__(18); /** * The base implementation of `assignValue` and `assignMergeValue` without @@ -1754,10 +1694,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 19 */ +/* 18 */ /***/ (function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(20); + var getNative = __webpack_require__(19); var defineProperty = (function() { try { @@ -1771,11 +1711,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 20 */ +/* 19 */ /***/ (function(module, exports, __webpack_require__) { - var baseIsNative = __webpack_require__(21), - getValue = __webpack_require__(33); + var baseIsNative = __webpack_require__(20), + getValue = __webpack_require__(32); /** * Gets the native function at `key` of `object`. @@ -1794,13 +1734,13 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 21 */ +/* 20 */ /***/ (function(module, exports, __webpack_require__) { - var isFunction = __webpack_require__(22), - isMasked = __webpack_require__(30), - isObject = __webpack_require__(29), - toSource = __webpack_require__(32); + var isFunction = __webpack_require__(21), + isMasked = __webpack_require__(29), + isObject = __webpack_require__(28), + toSource = __webpack_require__(31); /** * Used to match `RegExp` @@ -1847,11 +1787,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 22 */ +/* 21 */ /***/ (function(module, exports, __webpack_require__) { - var baseGetTag = __webpack_require__(23), - isObject = __webpack_require__(29); + var baseGetTag = __webpack_require__(22), + isObject = __webpack_require__(28); /** `Object#toString` result references. */ var asyncTag = '[object AsyncFunction]', @@ -1890,12 +1830,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 23 */ +/* 22 */ /***/ (function(module, exports, __webpack_require__) { - var Symbol = __webpack_require__(24), - getRawTag = __webpack_require__(27), - objectToString = __webpack_require__(28); + var Symbol = __webpack_require__(23), + getRawTag = __webpack_require__(26), + objectToString = __webpack_require__(27); /** `Object#toString` result references. */ var nullTag = '[object Null]', @@ -1924,10 +1864,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 24 */ +/* 23 */ /***/ (function(module, exports, __webpack_require__) { - var root = __webpack_require__(25); + var root = __webpack_require__(24); /** Built-in value references. */ var Symbol = root.Symbol; @@ -1936,10 +1876,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 25 */ +/* 24 */ /***/ (function(module, exports, __webpack_require__) { - var freeGlobal = __webpack_require__(26); + var freeGlobal = __webpack_require__(25); /** Detect free variable `self`. */ var freeSelf = typeof self == 'object' && self && self.Object === Object && self; @@ -1951,7 +1891,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 26 */ +/* 25 */ /***/ (function(module, exports) { /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */ @@ -1962,10 +1902,10 @@ return /******/ (function(modules) { // webpackBootstrap /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), -/* 27 */ +/* 26 */ /***/ (function(module, exports, __webpack_require__) { - var Symbol = __webpack_require__(24); + var Symbol = __webpack_require__(23); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -2014,7 +1954,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 28 */ +/* 27 */ /***/ (function(module, exports) { /** Used for built-in method references. */ @@ -2042,7 +1982,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 29 */ +/* 28 */ /***/ (function(module, exports) { /** @@ -2079,10 +2019,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 30 */ +/* 29 */ /***/ (function(module, exports, __webpack_require__) { - var coreJsData = __webpack_require__(31); + var coreJsData = __webpack_require__(30); /** Used to detect methods masquerading as native. */ var maskSrcKey = (function() { @@ -2105,10 +2045,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 31 */ +/* 30 */ /***/ (function(module, exports, __webpack_require__) { - var root = __webpack_require__(25); + var root = __webpack_require__(24); /** Used to detect overreaching core-js shims. */ var coreJsData = root['__core-js_shared__']; @@ -2117,7 +2057,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 32 */ +/* 31 */ /***/ (function(module, exports) { /** Used for built-in method references. */ @@ -2149,7 +2089,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 33 */ +/* 32 */ /***/ (function(module, exports) { /** @@ -2168,7 +2108,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 34 */ +/* 33 */ /***/ (function(module, exports) { /** @@ -2211,11 +2151,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 35 */ +/* 34 */ /***/ (function(module, exports, __webpack_require__) { - var assignValue = __webpack_require__(17), - baseAssignValue = __webpack_require__(18); + var assignValue = __webpack_require__(16), + baseAssignValue = __webpack_require__(17); /** * Copies properties of `source` to `object`. @@ -2257,11 +2197,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 36 */ +/* 35 */ /***/ (function(module, exports, __webpack_require__) { - var baseRest = __webpack_require__(37), - isIterateeCall = __webpack_require__(45); + var baseRest = __webpack_require__(36), + isIterateeCall = __webpack_require__(44); /** * Creates a function like `_.assign`. @@ -2300,12 +2240,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 37 */ +/* 36 */ /***/ (function(module, exports, __webpack_require__) { - var identity = __webpack_require__(38), - overRest = __webpack_require__(39), - setToString = __webpack_require__(41); + var identity = __webpack_require__(37), + overRest = __webpack_require__(38), + setToString = __webpack_require__(40); /** * The base implementation of `_.rest` which doesn't validate or coerce arguments. @@ -2323,7 +2263,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 38 */ +/* 37 */ /***/ (function(module, exports) { /** @@ -2350,10 +2290,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 39 */ +/* 38 */ /***/ (function(module, exports, __webpack_require__) { - var apply = __webpack_require__(40); + var apply = __webpack_require__(39); /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeMax = Math.max; @@ -2392,7 +2332,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 40 */ +/* 39 */ /***/ (function(module, exports) { /** @@ -2419,11 +2359,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 41 */ +/* 40 */ /***/ (function(module, exports, __webpack_require__) { - var baseSetToString = __webpack_require__(42), - shortOut = __webpack_require__(44); + var baseSetToString = __webpack_require__(41), + shortOut = __webpack_require__(43); /** * Sets the `toString` method of `func` to return `string`. @@ -2439,12 +2379,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 42 */ +/* 41 */ /***/ (function(module, exports, __webpack_require__) { - var constant = __webpack_require__(43), - defineProperty = __webpack_require__(19), - identity = __webpack_require__(38); + var constant = __webpack_require__(42), + defineProperty = __webpack_require__(18), + identity = __webpack_require__(37); /** * The base implementation of `setToString` without support for hot loop shorting. @@ -2467,7 +2407,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 43 */ +/* 42 */ /***/ (function(module, exports) { /** @@ -2499,7 +2439,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 44 */ +/* 43 */ /***/ (function(module, exports) { /** Used to detect hot functions by number of calls within a span of milliseconds. */ @@ -2542,13 +2482,13 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 45 */ +/* 44 */ /***/ (function(module, exports, __webpack_require__) { - var eq = __webpack_require__(34), - isArrayLike = __webpack_require__(46), - isIndex = __webpack_require__(48), - isObject = __webpack_require__(29); + var eq = __webpack_require__(33), + isArrayLike = __webpack_require__(45), + isIndex = __webpack_require__(47), + isObject = __webpack_require__(28); /** * Checks if the given arguments are from an iteratee call. @@ -2578,11 +2518,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 46 */ +/* 45 */ /***/ (function(module, exports, __webpack_require__) { - var isFunction = __webpack_require__(22), - isLength = __webpack_require__(47); + var isFunction = __webpack_require__(21), + isLength = __webpack_require__(46); /** * Checks if `value` is array-like. A value is considered array-like if it's @@ -2617,7 +2557,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 47 */ +/* 46 */ /***/ (function(module, exports) { /** Used as references for various `Number` constants. */ @@ -2658,7 +2598,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 48 */ +/* 47 */ /***/ (function(module, exports) { /** Used as references for various `Number` constants. */ @@ -2686,7 +2626,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 49 */ +/* 48 */ /***/ (function(module, exports) { /** Used for built-in method references. */ @@ -2710,12 +2650,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 50 */ +/* 49 */ /***/ (function(module, exports, __webpack_require__) { - var arrayLikeKeys = __webpack_require__(51), - baseKeys = __webpack_require__(64), - isArrayLike = __webpack_require__(46); + var arrayLikeKeys = __webpack_require__(50), + baseKeys = __webpack_require__(63), + isArrayLike = __webpack_require__(45); /** * Creates an array of the own enumerable property names of `object`. @@ -2753,15 +2693,15 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 51 */ +/* 50 */ /***/ (function(module, exports, __webpack_require__) { - var baseTimes = __webpack_require__(52), - isArguments = __webpack_require__(53), - isArray = __webpack_require__(56), - isBuffer = __webpack_require__(57), - isIndex = __webpack_require__(48), - isTypedArray = __webpack_require__(60); + var baseTimes = __webpack_require__(51), + isArguments = __webpack_require__(52), + isArray = __webpack_require__(55), + isBuffer = __webpack_require__(56), + isIndex = __webpack_require__(47), + isTypedArray = __webpack_require__(59); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -2808,7 +2748,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 52 */ +/* 51 */ /***/ (function(module, exports) { /** @@ -2834,11 +2774,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 53 */ +/* 52 */ /***/ (function(module, exports, __webpack_require__) { - var baseIsArguments = __webpack_require__(54), - isObjectLike = __webpack_require__(55); + var baseIsArguments = __webpack_require__(53), + isObjectLike = __webpack_require__(54); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -2876,11 +2816,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 54 */ +/* 53 */ /***/ (function(module, exports, __webpack_require__) { - var baseGetTag = __webpack_require__(23), - isObjectLike = __webpack_require__(55); + var baseGetTag = __webpack_require__(22), + isObjectLike = __webpack_require__(54); /** `Object#toString` result references. */ var argsTag = '[object Arguments]'; @@ -2900,7 +2840,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 55 */ +/* 54 */ /***/ (function(module, exports) { /** @@ -2935,7 +2875,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 56 */ +/* 55 */ /***/ (function(module, exports) { /** @@ -2967,11 +2907,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 57 */ +/* 56 */ /***/ (function(module, exports, __webpack_require__) { - /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(25), - stubFalse = __webpack_require__(59); + /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(24), + stubFalse = __webpack_require__(58); /** Detect free variable `exports`. */ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; @@ -3009,10 +2949,10 @@ return /******/ (function(modules) { // webpackBootstrap module.exports = isBuffer; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(58)(module))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(57)(module))) /***/ }), -/* 58 */ +/* 57 */ /***/ (function(module, exports) { module.exports = function(module) { @@ -3028,7 +2968,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 59 */ +/* 58 */ /***/ (function(module, exports) { /** @@ -3052,12 +2992,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 60 */ +/* 59 */ /***/ (function(module, exports, __webpack_require__) { - var baseIsTypedArray = __webpack_require__(61), - baseUnary = __webpack_require__(62), - nodeUtil = __webpack_require__(63); + var baseIsTypedArray = __webpack_require__(60), + baseUnary = __webpack_require__(61), + nodeUtil = __webpack_require__(62); /* Node.js helper references. */ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; @@ -3085,12 +3025,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 61 */ +/* 60 */ /***/ (function(module, exports, __webpack_require__) { - var baseGetTag = __webpack_require__(23), - isLength = __webpack_require__(47), - isObjectLike = __webpack_require__(55); + var baseGetTag = __webpack_require__(22), + isLength = __webpack_require__(46), + isObjectLike = __webpack_require__(54); /** `Object#toString` result references. */ var argsTag = '[object Arguments]', @@ -3151,7 +3091,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 62 */ +/* 61 */ /***/ (function(module, exports) { /** @@ -3171,10 +3111,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 63 */ +/* 62 */ /***/ (function(module, exports, __webpack_require__) { - /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(26); + /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(25); /** Detect free variable `exports`. */ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; @@ -3197,14 +3137,14 @@ return /******/ (function(modules) { // webpackBootstrap module.exports = nodeUtil; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(58)(module))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(57)(module))) /***/ }), -/* 64 */ +/* 63 */ /***/ (function(module, exports, __webpack_require__) { - var isPrototype = __webpack_require__(49), - nativeKeys = __webpack_require__(65); + var isPrototype = __webpack_require__(48), + nativeKeys = __webpack_require__(64); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -3236,10 +3176,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 65 */ +/* 64 */ /***/ (function(module, exports, __webpack_require__) { - var overArg = __webpack_require__(66); + var overArg = __webpack_require__(65); /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeKeys = overArg(Object.keys, Object); @@ -3248,7 +3188,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 66 */ +/* 65 */ /***/ (function(module, exports) { /** @@ -3269,10 +3209,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 67 */ +/* 66 */ /***/ (function(module, exports, __webpack_require__) { - var baseIsEqual = __webpack_require__(68); + var baseIsEqual = __webpack_require__(67); /** * Performs a deep comparison between two values to determine if they are @@ -3310,11 +3250,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 68 */ +/* 67 */ /***/ (function(module, exports, __webpack_require__) { - var baseIsEqualDeep = __webpack_require__(69), - isObjectLike = __webpack_require__(55); + var baseIsEqualDeep = __webpack_require__(68), + isObjectLike = __webpack_require__(54); /** * The base implementation of `_.isEqual` which supports partial comparisons @@ -3344,17 +3284,17 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 69 */ +/* 68 */ /***/ (function(module, exports, __webpack_require__) { - var Stack = __webpack_require__(70), - equalArrays = __webpack_require__(99), - equalByTag = __webpack_require__(105), - equalObjects = __webpack_require__(109), - getTag = __webpack_require__(116), - isArray = __webpack_require__(56), - isBuffer = __webpack_require__(57), - isTypedArray = __webpack_require__(60); + var Stack = __webpack_require__(69), + equalArrays = __webpack_require__(98), + equalByTag = __webpack_require__(104), + equalObjects = __webpack_require__(108), + getTag = __webpack_require__(115), + isArray = __webpack_require__(55), + isBuffer = __webpack_require__(56), + isTypedArray = __webpack_require__(59); /** Used to compose bitmasks for value comparisons. */ var COMPARE_PARTIAL_FLAG = 1; @@ -3433,15 +3373,15 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 70 */ +/* 69 */ /***/ (function(module, exports, __webpack_require__) { - var ListCache = __webpack_require__(71), - stackClear = __webpack_require__(78), - stackDelete = __webpack_require__(79), - stackGet = __webpack_require__(80), - stackHas = __webpack_require__(81), - stackSet = __webpack_require__(82); + var ListCache = __webpack_require__(70), + stackClear = __webpack_require__(77), + stackDelete = __webpack_require__(78), + stackGet = __webpack_require__(79), + stackHas = __webpack_require__(80), + stackSet = __webpack_require__(81); /** * Creates a stack cache object to store key-value pairs. @@ -3466,14 +3406,14 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 71 */ +/* 70 */ /***/ (function(module, exports, __webpack_require__) { - var listCacheClear = __webpack_require__(72), - listCacheDelete = __webpack_require__(73), - listCacheGet = __webpack_require__(75), - listCacheHas = __webpack_require__(76), - listCacheSet = __webpack_require__(77); + var listCacheClear = __webpack_require__(71), + listCacheDelete = __webpack_require__(72), + listCacheGet = __webpack_require__(74), + listCacheHas = __webpack_require__(75), + listCacheSet = __webpack_require__(76); /** * Creates an list cache object. @@ -3504,7 +3444,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 72 */ +/* 71 */ /***/ (function(module, exports) { /** @@ -3523,10 +3463,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 73 */ +/* 72 */ /***/ (function(module, exports, __webpack_require__) { - var assocIndexOf = __webpack_require__(74); + var assocIndexOf = __webpack_require__(73); /** Used for built-in method references. */ var arrayProto = Array.prototype; @@ -3564,10 +3504,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 74 */ +/* 73 */ /***/ (function(module, exports, __webpack_require__) { - var eq = __webpack_require__(34); + var eq = __webpack_require__(33); /** * Gets the index at which the `key` is found in `array` of key-value pairs. @@ -3591,10 +3531,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 75 */ +/* 74 */ /***/ (function(module, exports, __webpack_require__) { - var assocIndexOf = __webpack_require__(74); + var assocIndexOf = __webpack_require__(73); /** * Gets the list cache value for `key`. @@ -3616,10 +3556,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 76 */ +/* 75 */ /***/ (function(module, exports, __webpack_require__) { - var assocIndexOf = __webpack_require__(74); + var assocIndexOf = __webpack_require__(73); /** * Checks if a list cache value for `key` exists. @@ -3638,10 +3578,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 77 */ +/* 76 */ /***/ (function(module, exports, __webpack_require__) { - var assocIndexOf = __webpack_require__(74); + var assocIndexOf = __webpack_require__(73); /** * Sets the list cache `key` to `value`. @@ -3670,10 +3610,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 78 */ +/* 77 */ /***/ (function(module, exports, __webpack_require__) { - var ListCache = __webpack_require__(71); + var ListCache = __webpack_require__(70); /** * Removes all key-value entries from the stack. @@ -3691,7 +3631,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 79 */ +/* 78 */ /***/ (function(module, exports) { /** @@ -3715,7 +3655,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 80 */ +/* 79 */ /***/ (function(module, exports) { /** @@ -3735,7 +3675,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 81 */ +/* 80 */ /***/ (function(module, exports) { /** @@ -3755,12 +3695,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 82 */ +/* 81 */ /***/ (function(module, exports, __webpack_require__) { - var ListCache = __webpack_require__(71), - Map = __webpack_require__(83), - MapCache = __webpack_require__(84); + var ListCache = __webpack_require__(70), + Map = __webpack_require__(82), + MapCache = __webpack_require__(83); /** Used as the size to enable large array optimizations. */ var LARGE_ARRAY_SIZE = 200; @@ -3795,11 +3735,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 83 */ +/* 82 */ /***/ (function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(20), - root = __webpack_require__(25); + var getNative = __webpack_require__(19), + root = __webpack_require__(24); /* Built-in method references that are verified to be native. */ var Map = getNative(root, 'Map'); @@ -3808,14 +3748,14 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 84 */ +/* 83 */ /***/ (function(module, exports, __webpack_require__) { - var mapCacheClear = __webpack_require__(85), - mapCacheDelete = __webpack_require__(93), - mapCacheGet = __webpack_require__(96), - mapCacheHas = __webpack_require__(97), - mapCacheSet = __webpack_require__(98); + var mapCacheClear = __webpack_require__(84), + mapCacheDelete = __webpack_require__(92), + mapCacheGet = __webpack_require__(95), + mapCacheHas = __webpack_require__(96), + mapCacheSet = __webpack_require__(97); /** * Creates a map cache object to store key-value pairs. @@ -3846,12 +3786,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 85 */ +/* 84 */ /***/ (function(module, exports, __webpack_require__) { - var Hash = __webpack_require__(86), - ListCache = __webpack_require__(71), - Map = __webpack_require__(83); + var Hash = __webpack_require__(85), + ListCache = __webpack_require__(70), + Map = __webpack_require__(82); /** * Removes all key-value entries from the map. @@ -3873,14 +3813,14 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 86 */ +/* 85 */ /***/ (function(module, exports, __webpack_require__) { - var hashClear = __webpack_require__(87), - hashDelete = __webpack_require__(89), - hashGet = __webpack_require__(90), - hashHas = __webpack_require__(91), - hashSet = __webpack_require__(92); + var hashClear = __webpack_require__(86), + hashDelete = __webpack_require__(88), + hashGet = __webpack_require__(89), + hashHas = __webpack_require__(90), + hashSet = __webpack_require__(91); /** * Creates a hash object. @@ -3911,10 +3851,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 87 */ +/* 86 */ /***/ (function(module, exports, __webpack_require__) { - var nativeCreate = __webpack_require__(88); + var nativeCreate = __webpack_require__(87); /** * Removes all key-value entries from the hash. @@ -3932,10 +3872,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 88 */ +/* 87 */ /***/ (function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(20); + var getNative = __webpack_require__(19); /* Built-in method references that are verified to be native. */ var nativeCreate = getNative(Object, 'create'); @@ -3944,7 +3884,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 89 */ +/* 88 */ /***/ (function(module, exports) { /** @@ -3967,10 +3907,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 90 */ +/* 89 */ /***/ (function(module, exports, __webpack_require__) { - var nativeCreate = __webpack_require__(88); + var nativeCreate = __webpack_require__(87); /** Used to stand-in for `undefined` hash values. */ var HASH_UNDEFINED = '__lodash_hash_undefined__'; @@ -4003,10 +3943,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 91 */ +/* 90 */ /***/ (function(module, exports, __webpack_require__) { - var nativeCreate = __webpack_require__(88); + var nativeCreate = __webpack_require__(87); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -4032,10 +3972,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 92 */ +/* 91 */ /***/ (function(module, exports, __webpack_require__) { - var nativeCreate = __webpack_require__(88); + var nativeCreate = __webpack_require__(87); /** Used to stand-in for `undefined` hash values. */ var HASH_UNDEFINED = '__lodash_hash_undefined__'; @@ -4061,10 +4001,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 93 */ +/* 92 */ /***/ (function(module, exports, __webpack_require__) { - var getMapData = __webpack_require__(94); + var getMapData = __webpack_require__(93); /** * Removes `key` and its value from the map. @@ -4085,10 +4025,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 94 */ +/* 93 */ /***/ (function(module, exports, __webpack_require__) { - var isKeyable = __webpack_require__(95); + var isKeyable = __webpack_require__(94); /** * Gets the data for `map`. @@ -4109,7 +4049,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 95 */ +/* 94 */ /***/ (function(module, exports) { /** @@ -4130,10 +4070,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 96 */ +/* 95 */ /***/ (function(module, exports, __webpack_require__) { - var getMapData = __webpack_require__(94); + var getMapData = __webpack_require__(93); /** * Gets the map value for `key`. @@ -4152,10 +4092,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 97 */ +/* 96 */ /***/ (function(module, exports, __webpack_require__) { - var getMapData = __webpack_require__(94); + var getMapData = __webpack_require__(93); /** * Checks if a map value for `key` exists. @@ -4174,10 +4114,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 98 */ +/* 97 */ /***/ (function(module, exports, __webpack_require__) { - var getMapData = __webpack_require__(94); + var getMapData = __webpack_require__(93); /** * Sets the map `key` to `value`. @@ -4202,12 +4142,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 99 */ +/* 98 */ /***/ (function(module, exports, __webpack_require__) { - var SetCache = __webpack_require__(100), - arraySome = __webpack_require__(103), - cacheHas = __webpack_require__(104); + var SetCache = __webpack_require__(99), + arraySome = __webpack_require__(102), + cacheHas = __webpack_require__(103); /** Used to compose bitmasks for value comparisons. */ var COMPARE_PARTIAL_FLAG = 1, @@ -4291,12 +4231,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 100 */ +/* 99 */ /***/ (function(module, exports, __webpack_require__) { - var MapCache = __webpack_require__(84), - setCacheAdd = __webpack_require__(101), - setCacheHas = __webpack_require__(102); + var MapCache = __webpack_require__(83), + setCacheAdd = __webpack_require__(100), + setCacheHas = __webpack_require__(101); /** * @@ -4324,7 +4264,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 101 */ +/* 100 */ /***/ (function(module, exports) { /** Used to stand-in for `undefined` hash values. */ @@ -4349,7 +4289,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 102 */ +/* 101 */ /***/ (function(module, exports) { /** @@ -4369,7 +4309,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 103 */ +/* 102 */ /***/ (function(module, exports) { /** @@ -4398,7 +4338,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 104 */ +/* 103 */ /***/ (function(module, exports) { /** @@ -4417,15 +4357,15 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 105 */ +/* 104 */ /***/ (function(module, exports, __webpack_require__) { - var Symbol = __webpack_require__(24), - Uint8Array = __webpack_require__(106), - eq = __webpack_require__(34), - equalArrays = __webpack_require__(99), - mapToArray = __webpack_require__(107), - setToArray = __webpack_require__(108); + var Symbol = __webpack_require__(23), + Uint8Array = __webpack_require__(105), + eq = __webpack_require__(33), + equalArrays = __webpack_require__(98), + mapToArray = __webpack_require__(106), + setToArray = __webpack_require__(107); /** Used to compose bitmasks for value comparisons. */ var COMPARE_PARTIAL_FLAG = 1, @@ -4535,10 +4475,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 106 */ +/* 105 */ /***/ (function(module, exports, __webpack_require__) { - var root = __webpack_require__(25); + var root = __webpack_require__(24); /** Built-in value references. */ var Uint8Array = root.Uint8Array; @@ -4547,7 +4487,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 107 */ +/* 106 */ /***/ (function(module, exports) { /** @@ -4571,7 +4511,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 108 */ +/* 107 */ /***/ (function(module, exports) { /** @@ -4595,10 +4535,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 109 */ +/* 108 */ /***/ (function(module, exports, __webpack_require__) { - var getAllKeys = __webpack_require__(110); + var getAllKeys = __webpack_require__(109); /** Used to compose bitmasks for value comparisons. */ var COMPARE_PARTIAL_FLAG = 1; @@ -4690,12 +4630,12 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 110 */ +/* 109 */ /***/ (function(module, exports, __webpack_require__) { - var baseGetAllKeys = __webpack_require__(111), - getSymbols = __webpack_require__(113), - keys = __webpack_require__(50); + var baseGetAllKeys = __webpack_require__(110), + getSymbols = __webpack_require__(112), + keys = __webpack_require__(49); /** * Creates an array of own enumerable property names and symbols of `object`. @@ -4712,11 +4652,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 111 */ +/* 110 */ /***/ (function(module, exports, __webpack_require__) { - var arrayPush = __webpack_require__(112), - isArray = __webpack_require__(56); + var arrayPush = __webpack_require__(111), + isArray = __webpack_require__(55); /** * The base implementation of `getAllKeys` and `getAllKeysIn` which uses @@ -4738,7 +4678,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 112 */ +/* 111 */ /***/ (function(module, exports) { /** @@ -4764,11 +4704,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 113 */ +/* 112 */ /***/ (function(module, exports, __webpack_require__) { - var arrayFilter = __webpack_require__(114), - stubArray = __webpack_require__(115); + var arrayFilter = __webpack_require__(113), + stubArray = __webpack_require__(114); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -4800,7 +4740,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 114 */ +/* 113 */ /***/ (function(module, exports) { /** @@ -4831,7 +4771,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 115 */ +/* 114 */ /***/ (function(module, exports) { /** @@ -4860,16 +4800,16 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 116 */ +/* 115 */ /***/ (function(module, exports, __webpack_require__) { - var DataView = __webpack_require__(117), - Map = __webpack_require__(83), - Promise = __webpack_require__(118), - Set = __webpack_require__(119), - WeakMap = __webpack_require__(120), - baseGetTag = __webpack_require__(23), - toSource = __webpack_require__(32); + var DataView = __webpack_require__(116), + Map = __webpack_require__(82), + Promise = __webpack_require__(117), + Set = __webpack_require__(118), + WeakMap = __webpack_require__(119), + baseGetTag = __webpack_require__(22), + toSource = __webpack_require__(31); /** `Object#toString` result references. */ var mapTag = '[object Map]', @@ -4924,11 +4864,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 117 */ +/* 116 */ /***/ (function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(20), - root = __webpack_require__(25); + var getNative = __webpack_require__(19), + root = __webpack_require__(24); /* Built-in method references that are verified to be native. */ var DataView = getNative(root, 'DataView'); @@ -4937,11 +4877,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 118 */ +/* 117 */ /***/ (function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(20), - root = __webpack_require__(25); + var getNative = __webpack_require__(19), + root = __webpack_require__(24); /* Built-in method references that are verified to be native. */ var Promise = getNative(root, 'Promise'); @@ -4950,11 +4890,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 119 */ +/* 118 */ /***/ (function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(20), - root = __webpack_require__(25); + var getNative = __webpack_require__(19), + root = __webpack_require__(24); /* Built-in method references that are verified to be native. */ var Set = getNative(root, 'Set'); @@ -4963,11 +4903,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 120 */ +/* 119 */ /***/ (function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(20), - root = __webpack_require__(25); + var getNative = __webpack_require__(19), + root = __webpack_require__(24); /* Built-in method references that are verified to be native. */ var WeakMap = getNative(root, 'WeakMap'); @@ -4976,11 +4916,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 121 */ +/* 120 */ /***/ (function(module, exports, __webpack_require__) { - var baseGetTag = __webpack_require__(23), - isObjectLike = __webpack_require__(55); + var baseGetTag = __webpack_require__(22), + isObjectLike = __webpack_require__(54); /** `Object#toString` result references. */ var boolTag = '[object Boolean]'; @@ -5011,13 +4951,13 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 122 */ +/* 121 */ /***/ (function(module, exports, __webpack_require__) { - var arrayEach = __webpack_require__(123), - baseEach = __webpack_require__(124), - castFunction = __webpack_require__(129), - isArray = __webpack_require__(56); + var arrayEach = __webpack_require__(122), + baseEach = __webpack_require__(123), + castFunction = __webpack_require__(128), + isArray = __webpack_require__(55); /** * Iterates over elements of `collection` and invokes `iteratee` for each element. @@ -5058,7 +4998,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 123 */ +/* 122 */ /***/ (function(module, exports) { /** @@ -5086,11 +5026,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 124 */ +/* 123 */ /***/ (function(module, exports, __webpack_require__) { - var baseForOwn = __webpack_require__(125), - createBaseEach = __webpack_require__(128); + var baseForOwn = __webpack_require__(124), + createBaseEach = __webpack_require__(127); /** * The base implementation of `_.forEach` without support for iteratee shorthands. @@ -5106,11 +5046,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 125 */ +/* 124 */ /***/ (function(module, exports, __webpack_require__) { - var baseFor = __webpack_require__(126), - keys = __webpack_require__(50); + var baseFor = __webpack_require__(125), + keys = __webpack_require__(49); /** * The base implementation of `_.forOwn` without support for iteratee shorthands. @@ -5128,10 +5068,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 126 */ +/* 125 */ /***/ (function(module, exports, __webpack_require__) { - var createBaseFor = __webpack_require__(127); + var createBaseFor = __webpack_require__(126); /** * The base implementation of `baseForOwn` which iterates over `object` @@ -5150,7 +5090,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 127 */ +/* 126 */ /***/ (function(module, exports) { /** @@ -5181,10 +5121,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 128 */ +/* 127 */ /***/ (function(module, exports, __webpack_require__) { - var isArrayLike = __webpack_require__(46); + var isArrayLike = __webpack_require__(45); /** * Creates a `baseEach` or `baseEachRight` function. @@ -5219,10 +5159,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 129 */ +/* 128 */ /***/ (function(module, exports, __webpack_require__) { - var identity = __webpack_require__(38); + var identity = __webpack_require__(37); /** * Casts `value` to `identity` if it's not a function. @@ -5239,7 +5179,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/* 130 */ +/* 129 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */ diff --git a/build/global/react-hotkeys.min.js b/build/global/react-hotkeys.min.js index 447d2f8d..403da757 100644 --- a/build/global/react-hotkeys.min.js +++ b/build/global/react-hotkeys.min.js @@ -1,6 +1,6 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["react","ReactDOM"],e):"object"==typeof exports?exports.ReactHotkeys=e(require("react"),require("ReactDOM")):t.ReactHotkeys=e(t.React,t.ReactDOM)}(this,function(t,e){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){n(1),t.exports=n(1)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(2);Object.defineProperty(e,"HotKeys",{enumerable:!0,get:function(){return r(o).default}});var i=n(14);Object.defineProperty(e,"FocusTrap",{enumerable:!0,get:function(){return r(i).default}});var a=n(15);Object.defineProperty(e,"HotKeyMapMixin",{enumerable:!0,get:function(){return r(a).default}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){var n=t[e];return n?(0,j.default)(n)?n:[n]:[e]}Object.defineProperty(e,"__esModule",{value:!0});var a=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.props.handlers,o=void 0===r?{}:r,a=n.handlers,u=void 0===a?o:a;if(e||this.updateMap()||!(0,k.default)(o,u)){var c=this.getMap(),s=[],f=this.__mousetrap__;(0,P.default)(o,function(e,n){var r=i(c,n);(0,P.default)(r,function(n){var r=void 0,o=function(n,r){var o=(0,m.default)(t.props.focused)?t.props.focused:t.__isFocused__;if(o&&r!==t.__lastChildSequence__)return t.context.hotKeyParent&&t.context.hotKeyParent.childHandledSequence(r),e(n,r)};(0,w.default)(n)&&(r=n.action,n=n.sequence),s.push({callback:o,action:r,sequence:n})})}),f.reset(),(0,P.default)(s,function(t){return f.bind(t.sequence,t.callback,t.action)})}},childHandledSequence:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.__lastChildSequence__=t,this.context.hotKeyParent&&this.context.hotKeyParent.childHandledSequence(t)},onFocus:function(){if(this.__isFocused__=!0,this.props.onFocus){var t;(t=this.props).onFocus.apply(t,arguments)}},onBlur:function(){if(this.__isFocused__=!1,this.props.onBlur){var t;(t=this.props).onBlur.apply(t,arguments)}this.context.hotKeyParent&&this.context.hotKeyParent.childHandledSequence(null)},render:function(){var t=this.props,e=t.children,n=(t.keyMap,t.handlers,t.focused,t.attach,o(t,["children","keyMap","handlers","focused","attach"]));return f.default.createElement(y.default,a({},n,{onFocus:this.onFocus,onBlur:this.onBlur}),e)}});e.default=N},function(t,e,n){t.exports=n(4)()},function(t,e,n){"use strict";var r=n(5),o=n(6);t.exports=function(){function t(){o(!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=r,n.PropTypes=n,n}},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r,i,a,u,c){if(o(e),!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,r,i,a,u,c],p=0;s=new Error(e.replace(/%s/g,function(){return f[p++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var o=function(t){};t.exports=r},function(e,n){e.exports=t},function(t,e,n){"use strict";var r=n(7),o=n(9),i=(new r.Component).updater;t.exports=o(r.Component,r.isValidElement,i)},function(t,e,n){"use strict";function r(t){return t}function o(t,e,n){function o(t,e){var n=b.hasOwnProperty(e)?b[e]:null;g.hasOwnProperty(e)&&c("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&c("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function i(t,n){if(n){c("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),c(!e(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=t.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(s)&&x.mixins(t,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==s){var u=n[a],f=r.hasOwnProperty(a);if(o(f,a),x.hasOwnProperty(a))x[a](t,u);else{var p=b.hasOwnProperty(a),d="function"==typeof u,v=d&&!p&&!f&&n.autobind!==!1;if(v)i.push(a,u),r[a]=u;else if(f){var y=b[a];c(p&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,a),"DEFINE_MANY_MERGED"===y?r[a]=l(r[a],u):"DEFINE_MANY"===y&&(r[a]=h(r[a],u))}else r[a]=u}}}else;}function f(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in x;c(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in t;c(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),t[n]=r}}}function p(t,e){c(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in e)e.hasOwnProperty(n)&&(c(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function l(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return p(o,n),p(o,r),o}}function h(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function d(t,e){var n=e.bind(t);return n}function v(t){for(var e=t.__reactAutoBindPairs,n=0;n=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){var n=t[e];return n?(0,j.default)(n)?n:[n]:[e]}Object.defineProperty(e,"__esModule",{value:!0});var a=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.props.handlers,o=void 0===r?{}:r,a=n.handlers,u=void 0===a?o:a;if(e||this.updateMap()||!(0,k.default)(o,u)){var c=this.getMap(),s=[],f=this.__mousetrap__;(0,P.default)(o,function(e,n){var r=i(c,n);(0,P.default)(r,function(n){var r=void 0,o=function(n,r){var o=(0,g.default)(t.props.focused)?t.props.focused:t.__isFocused__;if(o&&r!==t.__lastChildSequence__)return t.context.hotKeyParent&&t.context.hotKeyParent.childHandledSequence(r),e(n,r)};(0,w.default)(n)&&(r=n.action,n=n.sequence),s.push({callback:o,action:r,sequence:n})})}),f.reset(),(0,P.default)(s,function(t){return f.bind(t.sequence,t.callback,t.action)})}},childHandledSequence:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.__lastChildSequence__=t,this.context.hotKeyParent&&this.context.hotKeyParent.childHandledSequence(t)},onFocus:function(){if(this.__isFocused__=!0,this.props.onFocus){var t;(t=this.props).onFocus.apply(t,arguments)}},onBlur:function(){if(this.__isFocused__=!1,this.props.onBlur){var t;(t=this.props).onBlur.apply(t,arguments)}this.context.hotKeyParent&&this.context.hotKeyParent.childHandledSequence(null)},render:function(){var t=this.props,e=t.children,n=(t.keyMap,t.handlers,t.focused,t.attach,o(t,["children","keyMap","handlers","focused","attach"]));return f.default.createElement(y.default,a({},n,{onFocus:this.onFocus,onBlur:this.onBlur}),e)}});e.default=N},function(t,e,n){t.exports=n(4)()},function(t,e,n){"use strict";var r=n(5),o=n(6);t.exports=function(){function t(){o(!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=r,n.PropTypes=n,n}},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r,i,a,u,c){if(o(e),!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,r,i,a,u,c],p=0;s=new Error(e.replace(/%s/g,function(){return f[p++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var o=function(t){};t.exports=r},function(e,n){e.exports=t},function(t,e,n){"use strict";var r=n(7),o=n(9),i=(new r.Component).updater;t.exports=o(r.Component,r.isValidElement,i)},function(t,e,n){"use strict";function r(t){return t}function o(t,e,n){function o(t,e){var n=b.hasOwnProperty(e)?b[e]:null;m.hasOwnProperty(e)&&c("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&c("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function i(t,n){if(n){c("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),c(!e(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=t.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(s)&&x.mixins(t,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==s){var u=n[a],f=r.hasOwnProperty(a);if(o(f,a),x.hasOwnProperty(a))x[a](t,u);else{var p=b.hasOwnProperty(a),d="function"==typeof u,v=d&&!p&&!f&&n.autobind!==!1;if(v)i.push(a,u),r[a]=u;else if(f){var y=b[a];c(p&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,a),"DEFINE_MANY_MERGED"===y?r[a]=l(r[a],u):"DEFINE_MANY"===y&&(r[a]=h(r[a],u))}else r[a]=u}}}else;}function f(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in x;c(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in t;c(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),t[n]=r}}}function p(t,e){c(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in e)e.hasOwnProperty(n)&&(c(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function l(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return p(o,n),p(o,r),o}}function h(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function d(t,e){var n=e.bind(t);return n}function v(t){for(var e=t.__reactAutoBindPairs,n=0;n=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var c=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};return{contextTypes:{hotKeyMap:a.default.object},childContextTypes:{hotKeyMap:a.default.object},getChildContext:function(){return{hotKeyMap:this.__hotKeyMap__}},componentWillMount:function(){this.updateMap()},updateMap:function(){var t=this.buildMap();return!(0,p.default)(t,this.__hotKeyMap__)&&(this.__hotKeyMap__=t,!0)},buildMap:function(){var e=this.context.hotKeyMap||{},n=this.props.keyMap||{};return(0,s.default)({},e,t,n)},getMap:function(){return this.__hotKeyMap__}}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(3),a=r(i),u=n(7),c=(r(u),n(16)),s=r(c),f=n(67),p=r(f)},function(t,e,n){var r=n(17),o=n(35),i=n(36),a=n(46),u=n(49),c=n(50),s=Object.prototype,f=s.hasOwnProperty,p=i(function(t,e){if(u(e)||a(e))return void o(e,c(e),t);for(var n in e)f.call(e,n)&&r(t,n,e[n])});t.exports=p},function(t,e,n){function r(t,e,n){var r=t[e];u.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(18),i=n(34),a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(19);t.exports=r},function(t,e,n){var r=n(20),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){function r(t,e){var n=i(t,e);return o(n)?n:void 0}var o=n(21),i=n(33);t.exports=r},function(t,e,n){function r(t){if(!a(t)||i(t))return!1;var e=o(t)?d:s;return e.test(u(t))}var o=n(22),i=n(30),a=n(29),u=n(32),c=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,f=Function.prototype,p=Object.prototype,l=f.toString,h=p.hasOwnProperty,d=RegExp("^"+l.call(h).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==u||e==c||e==a||e==s}var o=n(23),i=n(29),a="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";t.exports=r},function(t,e,n){function r(t){return null==t?void 0===t?c:u:s&&s in Object(t)?i(t):a(t)}var o=n(24),i=n(27),a=n(28),u="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;t.exports=r},function(t,e,n){var r=n(25),o=r.Symbol;t.exports=o},function(t,e,n){var r=n(26),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,function(){return this}())},function(t,e,n){function r(t){var e=a.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(e?t[c]=n:delete t[c]),o}var o=n(24),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,c=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){function r(t){return!!i&&i in t}var o=n(31),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(25),o=r["__core-js_shared__"];t.exports=o},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t,e,n,r){var a=!n;n||(n={});for(var u=-1,c=e.length;++u1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&i(n[0],n[1],u)&&(a=o<3?void 0:a,o=1),e=Object(e);++r0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=n},function(t,e,n){function r(t,e,n){if(!u(n))return!1;var r=typeof e;return!!("number"==r?i(n)&&a(e,n.length):"string"==r&&e in n)&&o(n[e],t)}var o=n(34),i=n(46),a=n(48),u=n(29);t.exports=r},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(22),i=n(47);t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){function n(t,e){return e=null==e?r:e,!!e&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&t-1}var o=n(74);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(74);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(71);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.lengthl))return!1;var d=f.get(t);if(d&&f.get(e))return d==e;var v=-1,y=!0,_=n&c?new o:void 0;for(f.set(t,e),f.set(e,t);++v95&&t<112||g.hasOwnProperty(t)&&(m[g[t]]=t)}return m}function v(t,e,n){return n||(n=d()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function y(t){return"+"===t?["+"]:(t=t.replace(/\+{2}/g,"+plus"),t.split("+"))}function _(t,e){var n,r,o,i=[];for(n=y(t),o=0;o1?void d(t,u,e,r):(a=_(t,r),y._callbacks[a.key]=y._callbacks[a.key]||[],n(a.key,a.modifiers,{type:a.action},o,t,i),void y._callbacks[a.key][o?"unshift":"push"]({callback:e,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:t}))}var y=this;if(t=t||i,!(y instanceof x))return new x(t);y.target=t,y._callbacks={},y._directMap={};var b,m={},g=!1,j=!1,O=!1;y._handleKey=function(t,o,i){var a,u=n(t,o,i),c={},s=0,f=!1;for(a=0;a":".","?":"/","|":"\\"},w={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},E=1;E<20;++E)g[111+E]="f"+E;for(E=0;E<=9;++E)g[E+96]=E.toString();x.prototype.bind=function(t,e,n){var r=this;return t=t instanceof Array?t:[t],r._bindMultiple.call(r,t,e,n),r},x.prototype.unbind=function(t,e){var n=this;return n.bind.call(n,t,function(){},e)},x.prototype.trigger=function(t,e){var n=this;return n._directMap[t+":"+e]&&n._directMap[t+":"+e]({},t),n},x.prototype.reset=function(){var t=this;return t._callbacks={},t._directMap={},t},x.prototype.stopCallback=function(t,e){var n=this;return!((" "+e.className+" ").indexOf(" mousetrap ")>-1)&&(!b(e,n.target)&&("INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable))},x.prototype.handleKey=function(){var t=this;return t._handleKey.apply(t,arguments)},x.addKeycodes=function(t){for(var e in t)t.hasOwnProperty(e)&&(g[e]=t[e]);m=null},x.init=function(){var t=x(i);for(var e in t)"_"!==e.charAt(0)&&(x[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e))},x.init(),o.Mousetrap=x,"undefined"!=typeof t&&t.exports&&(t.exports=x),r=function(){return x}.call(e,n,e,t),!(r!==a&&(t.exports=r))}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)}])}); \ No newline at end of file +"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(t){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,u,c=n(t),s=1;s=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var c=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};return{contextTypes:{hotKeyMap:a.default.object},childContextTypes:{hotKeyMap:a.default.object},getChildContext:function(){return{hotKeyMap:this.__hotKeyMap__}},componentWillMount:function(){this.updateMap()},updateMap:function(){var t=this.buildMap();return!(0,p.default)(t,this.__hotKeyMap__)&&(this.__hotKeyMap__=t,!0)},buildMap:function(){var e=this.context.hotKeyMap||{},n=this.props.keyMap||{};return(0,s.default)({},e,t,n)},getMap:function(){return this.__hotKeyMap__}}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(3),a=r(i),u=n(7),c=(r(u),n(15)),s=r(c),f=n(66),p=r(f)},function(t,e,n){var r=n(16),o=n(34),i=n(35),a=n(45),u=n(48),c=n(49),s=Object.prototype,f=s.hasOwnProperty,p=i(function(t,e){if(u(e)||a(e))return void o(e,c(e),t);for(var n in e)f.call(e,n)&&r(t,n,e[n])});t.exports=p},function(t,e,n){function r(t,e,n){var r=t[e];u.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(17),i=n(33),a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(18);t.exports=r},function(t,e,n){var r=n(19),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){function r(t,e){var n=i(t,e);return o(n)?n:void 0}var o=n(20),i=n(32);t.exports=r},function(t,e,n){function r(t){if(!a(t)||i(t))return!1;var e=o(t)?d:s;return e.test(u(t))}var o=n(21),i=n(29),a=n(28),u=n(31),c=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,f=Function.prototype,p=Object.prototype,l=f.toString,h=p.hasOwnProperty,d=RegExp("^"+l.call(h).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==u||e==c||e==a||e==s}var o=n(22),i=n(28),a="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";t.exports=r},function(t,e,n){function r(t){return null==t?void 0===t?c:u:s&&s in Object(t)?i(t):a(t)}var o=n(23),i=n(26),a=n(27),u="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;t.exports=r},function(t,e,n){var r=n(24),o=r.Symbol;t.exports=o},function(t,e,n){var r=n(25),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,function(){return this}())},function(t,e,n){function r(t){var e=a.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(e?t[c]=n:delete t[c]),o}var o=n(23),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,c=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){function r(t){return!!i&&i in t}var o=n(30),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(24),o=r["__core-js_shared__"];t.exports=o},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t,e,n,r){var a=!n;n||(n={});for(var u=-1,c=e.length;++u1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&i(n[0],n[1],u)&&(a=o<3?void 0:a,o=1),e=Object(e);++r0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=n},function(t,e,n){function r(t,e,n){if(!u(n))return!1;var r=typeof e;return!!("number"==r?i(n)&&a(e,n.length):"string"==r&&e in n)&&o(n[e],t)}var o=n(33),i=n(45),a=n(47),u=n(28);t.exports=r},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(21),i=n(46);t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){function n(t,e){return e=null==e?r:e,!!e&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&t-1}var o=n(73);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(73);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(70);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.lengthl))return!1;var d=f.get(t);if(d&&f.get(e))return d==e;var v=-1,y=!0,_=n&c?new o:void 0;for(f.set(t,e),f.set(e,t);++v95&&t<112||m.hasOwnProperty(t)&&(g[m[t]]=t)}return g}function v(t,e,n){return n||(n=d()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function y(t){return"+"===t?["+"]:(t=t.replace(/\+{2}/g,"+plus"),t.split("+"))}function _(t,e){var n,r,o,i=[];for(n=y(t),o=0;o1?void d(t,u,e,r):(a=_(t,r),y._callbacks[a.key]=y._callbacks[a.key]||[],n(a.key,a.modifiers,{type:a.action},o,t,i),void y._callbacks[a.key][o?"unshift":"push"]({callback:e,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:t}))}var y=this;if(t=t||i,!(y instanceof x))return new x(t);y.target=t,y._callbacks={},y._directMap={};var b,g={},m=!1,j=!1,O=!1;y._handleKey=function(t,o,i){var a,u=n(t,o,i),c={},s=0,f=!1;for(a=0;a":".","?":"/","|":"\\"},w={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},E=1;E<20;++E)m[111+E]="f"+E;for(E=0;E<=9;++E)m[E+96]=E.toString();x.prototype.bind=function(t,e,n){var r=this;return t=t instanceof Array?t:[t],r._bindMultiple.call(r,t,e,n),r},x.prototype.unbind=function(t,e){var n=this;return n.bind.call(n,t,function(){},e)},x.prototype.trigger=function(t,e){var n=this;return n._directMap[t+":"+e]&&n._directMap[t+":"+e]({},t),n},x.prototype.reset=function(){var t=this;return t._callbacks={},t._directMap={},t},x.prototype.stopCallback=function(t,e){var n=this;return!((" "+e.className+" ").indexOf(" mousetrap ")>-1)&&(!b(e,n.target)&&("INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable))},x.prototype.handleKey=function(){var t=this;return t._handleKey.apply(t,arguments)},x.addKeycodes=function(t){for(var e in t)t.hasOwnProperty(e)&&(m[e]=t[e]);g=null},x.init=function(){var t=x(i);for(var e in t)"_"!==e.charAt(0)&&(x[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e))},x.init(),o.Mousetrap=x,"undefined"!=typeof t&&t.exports&&(t.exports=x),r=function(){return x}.call(e,n,e,t),!(r!==a&&(t.exports=r))}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)}])}); \ No newline at end of file diff --git a/build/npm/package.json b/build/npm/package.json index 8ce1cfb1..803f7cde 100644 --- a/build/npm/package.json +++ b/build/npm/package.json @@ -1,6 +1,6 @@ { "name": "react-hotkeys", - "version": "0.9.0", + "version": "0.10.0", "description": "A declarative library for handling hotkeys and focus within a React application", "main": "lib", "directories": { diff --git a/package.json b/package.json index 267ba8a3..a31f21a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-hotkeys", - "version": "0.9.0", + "version": "0.10.0", "description": "A declarative library for handling hotkeys and focus within a React application", "main": "lib", "directories": {