{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///react-virtualized.js","webpack:///webpack/bootstrap a3a391bdcfdc485378e5","webpack:///./source/index.js","webpack:///./source/AutoSizer/index.js","webpack:///./source/AutoSizer/AutoSizer.js","webpack:///external {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack:///./~/react-pure-render/function.js","webpack:///./~/react-pure-render/shallowEqual.js","webpack:///./source/vendor/detectElementResize.js","webpack:///./source/ColumnSizer/index.js","webpack:///./source/ColumnSizer/ColumnSizer.js","webpack:///./source/Grid/index.js","webpack:///./source/Grid/Grid.js","webpack:///./~/timers-browserify/main.js","webpack:///./~/timers-browserify/~/process/browser.js","webpack:///./source/utils.js","webpack:///./~/classnames/index.js","webpack:///./~/raf/index.js","webpack:///./~/performance-now/lib/performance-now.js","webpack:///./~/node-libs-browser/~/process/browser.js","webpack:///./source/FlexTable/index.js","webpack:///./source/FlexTable/FlexTable.js","webpack:///./source/FlexTable/FlexColumn.js","webpack:///external {\"commonjs\":\"react-dom\",\"commonjs2\":\"react-dom\",\"amd\":\"react-dom\",\"root\":\"ReactDOM\"}","webpack:///./source/InfiniteLoader/index.js","webpack:///./source/InfiniteLoader/InfiniteLoader.js","webpack:///./source/ScrollSync/index.js","webpack:///./source/ScrollSync/ScrollSync.js","webpack:///./source/VirtualScroll/index.js","webpack:///./source/VirtualScroll/VirtualScroll.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE_3__","__WEBPACK_EXTERNAL_MODULE_21__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","Object","defineProperty","value","_AutoSizer","enumerable","get","AutoSizer","_ColumnSizer","ColumnSizer","_FlexTable","FlexTable","FlexColumn","SortDirection","SortIndicator","_Grid","Grid","_InfiniteLoader","InfiniteLoader","_ScrollSync","ScrollSync","_VirtualScroll","VirtualScroll","_interopRequireDefault","obj","__esModule","default","undefined","_AutoSizer2","_AutoSizer3","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","prototype","create","constructor","writable","configurable","setPrototypeOf","__proto__","_class","_temp","_createClass","defineProperties","target","props","i","length","descriptor","key","protoProps","staticProps","_react","_react2","_function","_function2","_Component","_this","getPrototypeOf","shouldComponentUpdate","state","height","width","_onResize","bind","_setRef","_detectElementResize","addResizeListener","_parentNode","removeResizeListener","_props","children","disableHeight","disableWidth","_state","outerStyle","overflow","createElement","ref","style","onResize","_parentNode$getBoundi","getBoundingClientRect","getComputedStyle","paddingLeft","parseInt","paddingRight","paddingTop","paddingBottom","setState","autoSizer","parentNode","Component","propTypes","PropTypes","func","isRequired","bool","defaultProps","shouldPureComponentUpdate","nextProps","nextState","_shallowEqual2","_shallowEqual","shallowEqual","objA","objB","keysA","keys","keysB","bHasOwnProperty","hasOwnProperty","_window","window","attachEvent","document","stylesCreated","requestFrame","raf","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","fn","setTimeout","cancelFrame","cancel","cancelAnimationFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","clearTimeout","resetTriggers","element","triggers","__resizeTriggers__","expand","firstElementChild","contract","lastElementChild","expandChild","scrollLeft","scrollWidth","scrollTop","scrollHeight","offsetWidth","offsetHeight","checkTriggers","__resizeLast__","scrollListener","e","__resizeRAF__","__resizeListeners__","forEach","animation","animationstring","keyframeprefix","animationstartevent","domPrefixes","split","startEvents","pfx","elm","animationName","toLowerCase","animationKeyframes","animationStyle","createStyles","css","head","getElementsByTagName","type","styleSheet","cssText","appendChild","createTextNode","position","className","innerHTML","addEventListener","push","detachEvent","splice","indexOf","removeEventListener","removeChild","_ColumnSizer2","_ColumnSizer3","_Grid2","context","_registerChild","prevProps","prevState","columnMaxWidth","columnMinWidth","columnsCount","_registeredChild","recomputeGridSize","_props2","safeColumnMinWidth","safeColumnMaxWidth","Math","min","columnWidth","max","floor","adjustedWidth","getColumnWidth","registerChild","child","Error","number","_Grid3","setImmediate","clearImmediate","_utils","_classnames","_classnames2","_raf","_raf2","IS_SCROLLING_TIMEOUT","SCROLL_POSITION_CHANGE_REASONS","OBSERVED","REQUESTED","computeGridMetadataOnNextUpdate","isScrolling","_onGridRenderedMemoizer","createCallbackMemoizer","_onScrollMemoizer","_computeGridMetadata","_invokeOnGridRenderedHelper","_onKeyPress","_onScroll","_updateScrollLeftForScrollToColumn","_updateScrollTopForScrollToRow","_ref","scrollToColumn","scrollToRow","_ref2","newState","scrollPositionChangeReason","_this2","setScrollPosition","_setImmediateId","rowHeight","rowsCount","refs","scrollingContainer","updateScrollIndexHelper","cellsCount","cellMetadata","_columnMetadata","cellSize","previousCellsCount","previousCellSize","previousScrollToIndex","previousSize","scrollOffset","scrollToIndex","size","updateScrollIndexCallback","_rowMetadata","_disablePointerEventsTimeoutId","_setNextStateAnimationFrameId","computeCellMetadataAndUpdateScrollOffsetHelper","computeMetadataCallback","computeMetadataCallbackProps","computeMetadataOnNextUpdate","nextCellsCount","nextCellSize","nextScrollToIndex","updateScrollOffsetForScrollToIndex","_props3","noContentRenderer","overscanColumnsCount","overscanRowsCount","renderCell","_state2","childrenToDisplay","_getVisibleCellIndice","getVisibleCellIndices","containerSize","currentOffset","columnStartIndex","start","columnStopIndex","stop","_getVisibleCellIndice2","rowStartIndex","rowStopIndex","_renderedColumnStartIndex","_renderedColumnStopIndex","_renderedRowStartIndex","_renderedRowStopIndex","overscanColumnIndices","getOverscanIndices","overscanCellsCount","startIndex","stopIndex","overscanRowIndices","overscanStartIndex","overscanStopIndex","rowIndex","rowDatum","columnIndex","columnDatum","transform","offset","_getRowHeight","WebkitTransform","_getColumnWidth","onKeyDown","onScroll","tabIndex","_getTotalColumnsWidth","_getTotalRowsHeight","maxWidth","maxHeight","pointerEvents","initCellMetadata","_this3","index","Function","datum","_props4","onSectionRendered","_getOverscanIndices","columnOverscanStartIndex","columnOverscanStopIndex","_getOverscanIndices2","rowOverscanStartIndex","rowOverscanStopIndex","callback","indices","_this4","event","preventDefault","scrollToColumnOverride","calculatedScrollLeft","getUpdatedOffsetForIndex","targetIndex","scrollToRowOverride","calculatedScrollTop","_props5","_state3","newScrollLeft","newScrollTop","_stopEvent","scrollToCell","_enablePointerEventsAfterDelay","_props6","totalRowsHeight","totalColumnsWidth","_setNextState","_ref3","clientHeight","clientWidth","string","oneOfType","Timeout","clearFn","_id","_clearFn","nextTick","apply","slice","Array","immediateIds","nextImmediateId","arguments","setInterval","clearInterval","timeout","close","unref","enroll","item","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","args","cleanUpNextTick","draining","currentQueue","queue","concat","queueIndex","drainQueue","len","run","Item","fun","array","noop","process","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","name","cwd","chdir","dir","umask","requireAllKeys","cachedIndices","allInitialized","every","indexChanged","some","findNearestCell","mode","high","low","middle","EQUAL_OR_LOWER","EQUAL_OR_HIGHER","_ref4","_ref5","maxOffset","minOffset","newOffset","_ref6","_ref7","sizeGetter","_size","isNaN","_ref8","hasScrollToIndex","sizeHasChanged","calculatedScrollOffset","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","classNames","classes","arg","argType","isArray","hasOwn","join","global","now","vendors","suffix","caf","last","frameDuration","_now","next","cp","cancelled","round","handle","polyfill","getNanoSeconds","hrtime","loadTime","performance","hr","Date","getTime","_FlexTable2","_FlexTable3","_FlexColumn2","_FlexColumn3","sortDirection","FlexTable__sortableHeaderIcon--ASC","ASC","FlexTable__sortableHeaderIcon--DESC","DESC","viewBox","xmlns","d","fill","_initialiseProps","_FlexColumn","_reactDom","scrollbarWidth","_createRow","setScrollTop","_setScrollbarWidth","disableHeader","headerHeight","noRowsRenderer","onRowsRendered","rowClassName","availableRowsHeight","rowRenderer","rowClass","_getRenderedHeaderRow","column","rowData","_column$props","cellClassName","cellDataGetter","columnData","dataKey","cellRenderer","cellData","renderedCell","_getFlexStyleForColumn","headerClassName","onHeaderClick","sort","sortBy","_column$props2","disableSort","label","showSortIndicator","sortEnabled","FlexTable__sortableHeaderColumn","newSortDirection","onClick","onRowClick","rowGetter","renderedRow","Children","map","_createColumn","flexValue","flexGrow","flexShrink","flex","msFlex","WebkitFlex","minWidth","items","_createHeader","findDOMNode","propName","componentName","toArray","oneOf","defaultCellRenderer","cellDataKey","String","defaultCellDataGetter","Column","object","any","_InfiniteLoader2","_InfiniteLoader3","isRangeVisible","lastRenderedStartIndex","lastRenderedStopIndex","scanForUnloadedRanges","isRowLoaded","unloadedRanges","rangeStartIndex","rangeStopIndex","_onRowsRendered","loadMoreRows","threshold","_lastRenderedStartIndex","_lastRenderedStopIndex","unloadedRange","promise","then","forceUpdate","registeredChild","_ScrollSync2","_ScrollSync3","_VirtualScroll2","_VirtualScroll3","_temp2","_Object$getPrototypeO","_ret","_len","_key"],"mappings":"CAAA,SAAAA,MAAAC;IACA,mBAAAC,WAAA,mBAAAC,SACAA,OAAAD,UAAAD,QAAAG,QAAA,UAAAA,QAAA,gBACA,qBAAAC,iBAAAC,MACAD,SAAA,wBAAAJ,WACA,mBAAAC,UACAA,QAAA,mBAAAD,QAAAG,QAAA,UAAAA,QAAA,gBAEAJ,KAAA,mBAAAC,QAAAD,KAAA,OAAAA,KAAA;EACCO,MAAA,SAAAC,+BAAAC;;IACD,OCAgB,SAAUC;;;;;QCN1B,SAAAC,oBAAAC;;;;;YAGA,IAAAC,iBAAAD;YACA,OAAAC,iBAAAD,UAAAV;;;;;YAGA,IAAAC,SAAAU,iBAAAD;;gBACAV;;gBACAY,IAAAF;;gBACAG,SAAA;;;;;;;;;;;;;;YAUA,OANAL,QAAAE,UAAAI,KAAAb,OAAAD,SAAAC,eAAAD,SAAAS;YAGAR,OAAAY,UAAA,GAGAZ,OAAAD;;;;;;QAvBA,IAAAW;;;;;;;;;;;;;;;;;;QAqCA,OATAF,oBAAAM,IAAAP,SAGAC,oBAAAO,IAAAL;QAGAF,oBAAAQ,I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OAAA0C,UAAUmH,OAAOjH;YAG5BgK,eAAe5M,OAAA0C,UAAUmH;YAGzBpE,WAAWzF,OAAA0C,UAAUmH;YAGrBnJ,OAAOV,OAAA0C,UAAUmH,OAAOjH;W7B+hHxBxD,O6B5hHK0D;YACL6Y,gBAAgB;gB7B6hHf,O6B7hHqB;;YACtBC,gBAAgB;gB7B+hHf,O6B/hHqB;;YACtB1L,UAAU;gB7BiiHT,O6BjiHe;;YAChBrC,mBAAmB;W7BmiHnB+S;QACHxlB,qB6B9lHoBuC","file":"react-virtualized.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactVirtualized\"] = factory(require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"ReactVirtualized\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_21__) {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactVirtualized\"] = factory(require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"ReactVirtualized\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_21__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _AutoSizer = __webpack_require__(1);\n\t\n\tObject.defineProperty(exports, 'AutoSizer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _AutoSizer.AutoSizer;\n\t }\n\t});\n\t\n\tvar _ColumnSizer = __webpack_require__(7);\n\t\n\tObject.defineProperty(exports, 'ColumnSizer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _ColumnSizer.ColumnSizer;\n\t }\n\t});\n\t\n\tvar _FlexTable = __webpack_require__(18);\n\t\n\tObject.defineProperty(exports, 'FlexTable', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.FlexTable;\n\t }\n\t});\n\tObject.defineProperty(exports, 'FlexColumn', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.FlexColumn;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortDirection', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.SortDirection;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortIndicator', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.SortIndicator;\n\t }\n\t});\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tObject.defineProperty(exports, 'Grid', {\n\t enumerable: true,\n\t get: function get() {\n\t return _Grid.Grid;\n\t }\n\t});\n\t\n\tvar _InfiniteLoader = __webpack_require__(22);\n\t\n\tObject.defineProperty(exports, 'InfiniteLoader', {\n\t enumerable: true,\n\t get: function get() {\n\t return _InfiniteLoader.InfiniteLoader;\n\t }\n\t});\n\t\n\tvar _ScrollSync = __webpack_require__(24);\n\t\n\tObject.defineProperty(exports, 'ScrollSync', {\n\t enumerable: true,\n\t get: function get() {\n\t return _ScrollSync.ScrollSync;\n\t }\n\t});\n\t\n\tvar _VirtualScroll = __webpack_require__(26);\n\t\n\tObject.defineProperty(exports, 'VirtualScroll', {\n\t enumerable: true,\n\t get: function get() {\n\t return _VirtualScroll.VirtualScroll;\n\t }\n\t});\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.AutoSizer = exports.default = undefined;\n\t\n\tvar _AutoSizer2 = __webpack_require__(2);\n\t\n\tvar _AutoSizer3 = _interopRequireDefault(_AutoSizer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _AutoSizer3.default;\n\texports.AutoSizer = _AutoSizer3.default;\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _class, _temp;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\n\t * Decorator component that automatically adjusts the width and height of a single child.\n\t * Child component should not be declared as a child but should rather be specified by a `ChildComponent` property.\n\t * All other properties will be passed through to the child component.\n\t */\n\tvar AutoSizer = (_temp = _class = function (_Component) {\n\t _inherits(AutoSizer, _Component);\n\t\n\t function AutoSizer(props) {\n\t _classCallCheck(this, AutoSizer);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(AutoSizer).call(this, props));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this.state = {\n\t height: 0,\n\t width: 0\n\t };\n\t\n\t _this._onResize = _this._onResize.bind(_this);\n\t _this._setRef = _this._setRef.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(AutoSizer, [{\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t // Defer requiring resize handler in order to support server-side rendering.\n\t // See issue #41\n\t this._detectElementResize = __webpack_require__(6);\n\t this._detectElementResize.addResizeListener(this._parentNode, this._onResize);\n\t\n\t this._onResize();\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props = this.props;\n\t var children = _props.children;\n\t var disableHeight = _props.disableHeight;\n\t var disableWidth = _props.disableWidth;\n\t var _state = this.state;\n\t var height = _state.height;\n\t var width = _state.width;\n\t\n\t // Outer div should not force width/height since that may prevent containers from shrinking.\n\t // Inner component should overflow and use calculated width/height.\n\t // See issue #68 for more information.\n\t\n\t var outerStyle = { overflow: 'visible' };\n\t\n\t if (!disableHeight) {\n\t outerStyle.height = 0;\n\t }\n\t\n\t if (!disableWidth) {\n\t outerStyle.width = 0;\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t ref: this._setRef,\n\t style: outerStyle\n\t },\n\t children({ height: height, width: width })\n\t );\n\t }\n\t }, {\n\t key: '_onResize',\n\t value: function _onResize() {\n\t var onResize = this.props.onResize;\n\t\n\t var _parentNode$getBoundi = this._parentNode.getBoundingClientRect();\n\t\n\t var height = _parentNode$getBoundi.height;\n\t var width = _parentNode$getBoundi.width;\n\t\n\t\n\t var style = getComputedStyle(this._parentNode);\n\t var paddingLeft = parseInt(style.paddingLeft, 10);\n\t var paddingRight = parseInt(style.paddingRight, 10);\n\t var paddingTop = parseInt(style.paddingTop, 10);\n\t var paddingBottom = parseInt(style.paddingBottom, 10);\n\t\n\t this.setState({\n\t height: height - paddingTop - paddingBottom,\n\t width: width - paddingLeft - paddingRight\n\t });\n\t\n\t onResize({ height: height, width: width });\n\t }\n\t }, {\n\t key: '_setRef',\n\t value: function _setRef(autoSizer) {\n\t // In case the component has been unmounted\n\t this._parentNode = autoSizer && autoSizer.parentNode;\n\t }\n\t }]);\n\t\n\t return AutoSizer;\n\t}(_react.Component), _class.propTypes = {\n\t /**\n\t * Function respondible for rendering children.\n\t * This function should implement the following signature:\n\t * ({ height, width }) => PropTypes.element\n\t */\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t /** Disable dynamic :height property */\n\t disableHeight: _react.PropTypes.bool,\n\t\n\t /** Disable dynamic :width property */\n\t disableWidth: _react.PropTypes.bool,\n\t\n\t /** Callback to be invoked on-resize: ({ height, width }) */\n\t onResize: _react.PropTypes.func.isRequired\n\t}, _class.defaultProps = {\n\t onResize: function onResize() {}\n\t}, _temp);\n\texports.default = AutoSizer;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports['default'] = shouldPureComponentUpdate;\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _shallowEqual = __webpack_require__(5);\n\t\n\tvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\t\n\tfunction shouldPureComponentUpdate(nextProps, nextState) {\n\t return !(0, _shallowEqual2['default'])(this.props, nextProps) || !(0, _shallowEqual2['default'])(this.state, nextState);\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports['default'] = shallowEqual;\n\t\n\tfunction shallowEqual(objA, objB) {\n\t if (objA === objB) {\n\t return true;\n\t }\n\t\n\t if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n\t return false;\n\t }\n\t\n\t var keysA = Object.keys(objA);\n\t var keysB = Object.keys(objB);\n\t\n\t if (keysA.length !== keysB.length) {\n\t return false;\n\t }\n\t\n\t // Test for A's keys different from B.\n\t var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\t for (var i = 0; i < keysA.length; i++) {\n\t if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t* Detect Element Resize.\n\t* Forked in order to guard against unsafe 'window' and 'document' references.\n\t*\n\t* https://github.com/sdecima/javascript-detect-element-resize\n\t* Sebastian Decima\n\t*\n\t* version: 0.5.3\n\t**/\n\t\n\t// Check `document` and `window` in case of server-side rendering\n\tvar _window;\n\tif (typeof window !== 'undefined') {\n\t _window = window;\n\t} else if (typeof self !== 'undefined') {\n\t _window = self;\n\t} else {\n\t _window = undefined;\n\t}\n\t\n\tvar attachEvent = typeof document !== 'undefined' && document.attachEvent;\n\tvar stylesCreated = false;\n\t\n\tif (!attachEvent) {\n\t var requestFrame = function () {\n\t var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame || function (fn) {\n\t return _window.setTimeout(fn, 20);\n\t };\n\t return function (fn) {\n\t return raf(fn);\n\t };\n\t }();\n\t\n\t var cancelFrame = function () {\n\t var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame || _window.clearTimeout;\n\t return function (id) {\n\t return cancel(id);\n\t };\n\t }();\n\t\n\t var resetTriggers = function resetTriggers(element) {\n\t var triggers = element.__resizeTriggers__,\n\t expand = triggers.firstElementChild,\n\t contract = triggers.lastElementChild,\n\t expandChild = expand.firstElementChild;\n\t contract.scrollLeft = contract.scrollWidth;\n\t contract.scrollTop = contract.scrollHeight;\n\t expandChild.style.width = expand.offsetWidth + 1 + 'px';\n\t expandChild.style.height = expand.offsetHeight + 1 + 'px';\n\t expand.scrollLeft = expand.scrollWidth;\n\t expand.scrollTop = expand.scrollHeight;\n\t };\n\t\n\t var checkTriggers = function checkTriggers(element) {\n\t return element.offsetWidth != element.__resizeLast__.width || element.offsetHeight != element.__resizeLast__.height;\n\t };\n\t\n\t var scrollListener = function scrollListener(e) {\n\t var element = this;\n\t resetTriggers(this);\n\t if (this.__resizeRAF__) cancelFrame(this.__resizeRAF__);\n\t this.__resizeRAF__ = requestFrame(function () {\n\t if (checkTriggers(element)) {\n\t element.__resizeLast__.width = element.offsetWidth;\n\t element.__resizeLast__.height = element.offsetHeight;\n\t element.__resizeListeners__.forEach(function (fn) {\n\t fn.call(element, e);\n\t });\n\t }\n\t });\n\t };\n\t\n\t /* Detect CSS Animations support to detect element display/re-attach */\n\t var animation = false,\n\t animationstring = 'animation',\n\t keyframeprefix = '',\n\t animationstartevent = 'animationstart',\n\t domPrefixes = 'Webkit Moz O ms'.split(' '),\n\t startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n\t pfx = '';\n\t {\n\t var elm = document.createElement('fakeelement');\n\t if (elm.style.animationName !== undefined) {\n\t animation = true;\n\t }\n\t\n\t if (animation === false) {\n\t for (var i = 0; i < domPrefixes.length; i++) {\n\t if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) {\n\t pfx = domPrefixes[i];\n\t animationstring = pfx + 'Animation';\n\t keyframeprefix = '-' + pfx.toLowerCase() + '-';\n\t animationstartevent = startEvents[i];\n\t animation = true;\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t\n\t var animationName = 'resizeanim';\n\t var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n\t var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n\t}\n\t\n\tvar createStyles = function createStyles() {\n\t if (!stylesCreated) {\n\t //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360\n\t var css = (animationKeyframes ? animationKeyframes : '') + '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' + '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \\\" \\\"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n\t head = document.head || document.getElementsByTagName('head')[0],\n\t style = document.createElement('style');\n\t\n\t style.type = 'text/css';\n\t if (style.styleSheet) {\n\t style.styleSheet.cssText = css;\n\t } else {\n\t style.appendChild(document.createTextNode(css));\n\t }\n\t\n\t head.appendChild(style);\n\t stylesCreated = true;\n\t }\n\t};\n\t\n\tvar addResizeListener = function addResizeListener(element, fn) {\n\t if (attachEvent) element.attachEvent('onresize', fn);else {\n\t if (!element.__resizeTriggers__) {\n\t if (getComputedStyle(element).position == 'static') element.style.position = 'relative';\n\t createStyles();\n\t element.__resizeLast__ = {};\n\t element.__resizeListeners__ = [];\n\t (element.__resizeTriggers__ = document.createElement('div')).className = 'resize-triggers';\n\t element.__resizeTriggers__.innerHTML = '
' + '
';\n\t element.appendChild(element.__resizeTriggers__);\n\t resetTriggers(element);\n\t element.addEventListener('scroll', scrollListener, true);\n\t\n\t /* Listen for a css animation to detect element display/re-attach */\n\t animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {\n\t if (e.animationName == animationName) resetTriggers(element);\n\t });\n\t }\n\t element.__resizeListeners__.push(fn);\n\t }\n\t};\n\t\n\tvar removeResizeListener = function removeResizeListener(element, fn) {\n\t if (attachEvent) element.detachEvent('onresize', fn);else {\n\t element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n\t if (!element.__resizeListeners__.length) {\n\t element.removeEventListener('scroll', scrollListener);\n\t element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = {\n\t addResizeListener: addResizeListener,\n\t removeResizeListener: removeResizeListener\n\t};\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.ColumnSizer = exports.default = undefined;\n\t\n\tvar _ColumnSizer2 = __webpack_require__(8);\n\t\n\tvar _ColumnSizer3 = _interopRequireDefault(_ColumnSizer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _ColumnSizer3.default;\n\texports.ColumnSizer = _ColumnSizer3.default;\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _class, _temp;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\n\t * High-order component that auto-calculates column-widths for `Grid` cells.\n\t */\n\tvar ColumnSizer = (_temp = _class = function (_Component) {\n\t _inherits(ColumnSizer, _Component);\n\t\n\t function ColumnSizer(props, context) {\n\t _classCallCheck(this, ColumnSizer);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ColumnSizer).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this._registerChild = _this._registerChild.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ColumnSizer, [{\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props = this.props;\n\t var columnMaxWidth = _props.columnMaxWidth;\n\t var columnMinWidth = _props.columnMinWidth;\n\t var columnsCount = _props.columnsCount;\n\t var width = _props.width;\n\t\n\t\n\t if (columnMaxWidth !== prevProps.columnMaxWidth || columnMinWidth !== prevProps.columnMinWidth || columnsCount !== prevProps.columnsCount || width !== prevProps.width) {\n\t if (this._registeredChild) {\n\t this._registeredChild.recomputeGridSize();\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props2 = this.props;\n\t var children = _props2.children;\n\t var columnMaxWidth = _props2.columnMaxWidth;\n\t var columnMinWidth = _props2.columnMinWidth;\n\t var columnsCount = _props2.columnsCount;\n\t var width = _props2.width;\n\t\n\t\n\t var safeColumnMinWidth = columnMinWidth || 1;\n\t\n\t var safeColumnMaxWidth = columnMaxWidth ? Math.min(columnMaxWidth, width) : width;\n\t\n\t var columnWidth = width / columnsCount;\n\t columnWidth = Math.max(safeColumnMinWidth, columnWidth);\n\t columnWidth = Math.min(safeColumnMaxWidth, columnWidth);\n\t columnWidth = Math.floor(columnWidth);\n\t\n\t var adjustedWidth = Math.min(width, columnWidth * columnsCount);\n\t\n\t return children({\n\t adjustedWidth: adjustedWidth,\n\t getColumnWidth: function getColumnWidth() {\n\t return columnWidth;\n\t },\n\t registerChild: this._registerChild\n\t });\n\t }\n\t }, {\n\t key: '_registerChild',\n\t value: function _registerChild(child) {\n\t if (child !== null && !(child instanceof _Grid2.default)) {\n\t throw Error('Unexpected child type registered; only Grid children are supported.');\n\t }\n\t\n\t this._registeredChild = child;\n\t\n\t if (this._registeredChild) {\n\t this._registeredChild.recomputeGridSize();\n\t }\n\t }\n\t }]);\n\t\n\t return ColumnSizer;\n\t}(_react.Component), _class.propTypes = {\n\t /**\n\t * Function respondible for rendering a virtualized Grid.\n\t * This function should implement the following signature:\n\t * ({ adjustedWidth, getColumnWidth, registerChild }) => PropTypes.element\n\t *\n\t * The specified :getColumnWidth function should be passed to the Grid's :columnWidth property.\n\t * The :registerChild should be passed to the Grid's :ref property.\n\t * The :adjustedWidth property is optional; it reflects the lesser of the overall width or the width of all columns.\n\t */\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t /** Optional maximum allowed column width */\n\t columnMaxWidth: _react.PropTypes.number,\n\t\n\t /** Optional minimum allowed column width */\n\t columnMinWidth: _react.PropTypes.number,\n\t\n\t /** Number of columns in Grid or FlexTable child */\n\t columnsCount: _react.PropTypes.number.isRequired,\n\t\n\t /** Width of Grid or FlexTable child */\n\t width: _react.PropTypes.number.isRequired\n\t}, _temp);\n\texports.default = ColumnSizer;\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.Grid = exports.default = undefined;\n\t\n\tvar _Grid2 = __webpack_require__(10);\n\t\n\tvar _Grid3 = _interopRequireDefault(_Grid2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _Grid3.default;\n\texports.Grid = _Grid3.default;\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _class, _temp;\n\t\n\tvar _utils = __webpack_require__(13);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _raf = __webpack_require__(15);\n\t\n\tvar _raf2 = _interopRequireDefault(_raf);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\n\t * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress.\n\t * This improves performance and makes scrolling smoother.\n\t */\n\tvar IS_SCROLLING_TIMEOUT = 150;\n\t\n\t/**\n\t * Controls whether the Grid updates the DOM element's scrollLeft/scrollTop based on the current state or just observes it.\n\t * This prevents Grid from interrupting mouse-wheel animations (see issue #2).\n\t */\n\tvar SCROLL_POSITION_CHANGE_REASONS = {\n\t OBSERVED: 'observed',\n\t REQUESTED: 'requested'\n\t};\n\t\n\t/**\n\t * Renders tabular data with virtualization along the vertical and horizontal axes.\n\t * Row heights and column widths must be known ahead of time and specified as properties.\n\t */\n\tvar Grid = (_temp = _class = function (_Component) {\n\t _inherits(Grid, _Component);\n\t\n\t function Grid(props, context) {\n\t _classCallCheck(this, Grid);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Grid).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this.state = {\n\t computeGridMetadataOnNextUpdate: false,\n\t isScrolling: false,\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t };\n\t\n\t // Invokes onSectionRendered callback only when start/stop row or column indices change\n\t _this._onGridRenderedMemoizer = (0, _utils.createCallbackMemoizer)();\n\t _this._onScrollMemoizer = (0, _utils.createCallbackMemoizer)(false);\n\t\n\t // Bind functions to instance so they don't lose context when passed around\n\t _this._computeGridMetadata = _this._computeGridMetadata.bind(_this);\n\t _this._invokeOnGridRenderedHelper = _this._invokeOnGridRenderedHelper.bind(_this);\n\t _this._onKeyPress = _this._onKeyPress.bind(_this);\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t _this._updateScrollLeftForScrollToColumn = _this._updateScrollLeftForScrollToColumn.bind(_this);\n\t _this._updateScrollTopForScrollToRow = _this._updateScrollTopForScrollToRow.bind(_this);\n\t return _this;\n\t }\n\t\n\t /**\n\t * Forced recompute of row heights and column widths.\n\t * This function should be called if dynamic column or row sizes have changed but nothing else has.\n\t * Since Grid only receives :columnsCount and :rowsCount it has no way of detecting when the underlying data changes.\n\t */\n\t\n\t\n\t _createClass(Grid, [{\n\t key: 'recomputeGridSize',\n\t value: function recomputeGridSize() {\n\t this.setState({\n\t computeGridMetadataOnNextUpdate: true\n\t });\n\t }\n\t\n\t /**\n\t * Updates the Grid to ensure the cell at the specified row and column indices is visible.\n\t * This method exists so that a user can forcefully scroll to the same cell twice.\n\t * (The :scrollToColumn and :scrollToRow properties would not change in that case so it would not be picked up by the component.)\n\t */\n\t\n\t }, {\n\t key: 'scrollToCell',\n\t value: function scrollToCell(_ref) {\n\t var scrollToColumn = _ref.scrollToColumn;\n\t var scrollToRow = _ref.scrollToRow;\n\t\n\t this._updateScrollLeftForScrollToColumn(scrollToColumn);\n\t this._updateScrollTopForScrollToRow(scrollToRow);\n\t }\n\t\n\t /**\n\t * Set the :scrollLeft and :scrollTop position within the inner scroll container.\n\t * Normally it is best to let Grid manage these properties or to use a method like :scrollToCell.\n\t * This method enables Grid to be scroll-synced to another react-virtualized component though.\n\t * It is appropriate to use in that case.\n\t */\n\t\n\t }, {\n\t key: 'setScrollPosition',\n\t value: function setScrollPosition(_ref2) {\n\t var scrollLeft = _ref2.scrollLeft;\n\t var scrollTop = _ref2.scrollTop;\n\t\n\t var newState = {\n\t scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\t };\n\t\n\t if (scrollLeft >= 0) {\n\t newState.scrollLeft = scrollLeft;\n\t }\n\t\n\t if (scrollTop >= 0) {\n\t newState.scrollTop = scrollTop;\n\t }\n\t\n\t if (scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft || scrollTop >= 0 && scrollTop !== this.state.scrollTop) {\n\t this.setState(newState);\n\t }\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var _this2 = this;\n\t\n\t var _props = this.props;\n\t var scrollLeft = _props.scrollLeft;\n\t var scrollToColumn = _props.scrollToColumn;\n\t var scrollTop = _props.scrollTop;\n\t var scrollToRow = _props.scrollToRow;\n\t\n\t\n\t if (scrollLeft >= 0 || scrollTop >= 0) {\n\t this.setScrollPosition({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t\n\t if (scrollToColumn >= 0 || scrollToRow >= 0) {\n\t // Without setImmediate() the initial scrollingContainer.scrollTop assignment doesn't work\n\t this._setImmediateId = setImmediate(function () {\n\t _this2._setImmediateId = null;\n\t _this2._updateScrollLeftForScrollToColumn();\n\t _this2._updateScrollTopForScrollToRow();\n\t });\n\t }\n\t\n\t // Update onRowsRendered callback\n\t this._invokeOnGridRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props2 = this.props;\n\t var columnsCount = _props2.columnsCount;\n\t var columnWidth = _props2.columnWidth;\n\t var height = _props2.height;\n\t var rowHeight = _props2.rowHeight;\n\t var rowsCount = _props2.rowsCount;\n\t var scrollToColumn = _props2.scrollToColumn;\n\t var scrollToRow = _props2.scrollToRow;\n\t var width = _props2.width;\n\t var _state = this.state;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollPositionChangeReason = _state.scrollPositionChangeReason;\n\t var scrollTop = _state.scrollTop;\n\t\n\t // Make sure requested changes to :scrollLeft or :scrollTop get applied.\n\t // Assigning to scrollLeft/scrollTop tells the browser to interrupt any running scroll animations,\n\t // And to discard any pending async changes to the scroll position that may have happened in the meantime (e.g. on a separate scrolling thread).\n\t // So we only set these when we require an adjustment of the scroll position.\n\t // See issue #2 for more information.\n\t\n\t if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n\t if (scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft && scrollLeft !== this.refs.scrollingContainer.scrollLeft) {\n\t this.refs.scrollingContainer.scrollLeft = scrollLeft;\n\t }\n\t if (scrollTop >= 0 && scrollTop !== prevState.scrollTop && scrollTop !== this.refs.scrollingContainer.scrollTop) {\n\t this.refs.scrollingContainer.scrollTop = scrollTop;\n\t }\n\t }\n\t\n\t // Update scrollLeft if appropriate\n\t (0, _utils.updateScrollIndexHelper)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t cellSize: columnWidth,\n\t previousCellsCount: prevProps.columnsCount,\n\t previousCellSize: prevProps.columnWidth,\n\t previousScrollToIndex: prevProps.scrollToColumn,\n\t previousSize: prevProps.width,\n\t scrollOffset: scrollLeft,\n\t scrollToIndex: scrollToColumn,\n\t size: width,\n\t updateScrollIndexCallback: this._updateScrollLeftForScrollToColumn\n\t });\n\t\n\t // Update scrollTop if appropriate\n\t (0, _utils.updateScrollIndexHelper)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t cellSize: rowHeight,\n\t previousCellsCount: prevProps.rowsCount,\n\t previousCellSize: prevProps.rowHeight,\n\t previousScrollToIndex: prevProps.scrollToRow,\n\t previousSize: prevProps.height,\n\t scrollOffset: scrollTop,\n\t scrollToIndex: scrollToRow,\n\t size: height,\n\t updateScrollIndexCallback: this._updateScrollTopForScrollToRow\n\t });\n\t\n\t // Update onRowsRendered callback if start/stop indices have changed\n\t this._invokeOnGridRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentWillMount',\n\t value: function componentWillMount() {\n\t this._computeGridMetadata(this.props);\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t if (this._setImmediateId) {\n\t clearImmediate(this._setImmediateId);\n\t }\n\t\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2.default.cancel(this._setNextStateAnimationFrameId);\n\t }\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.columnsCount === 0 && nextState.scrollLeft !== 0) {\n\t this.setScrollPosition({ scrollLeft: 0 });\n\t }\n\t\n\t if (nextProps.rowsCount === 0 && nextState.scrollTop !== 0) {\n\t this.setScrollPosition({ scrollTop: 0 });\n\t }\n\t\n\t if (nextProps.scrollLeft !== this.props.scrollLeft) {\n\t this.setScrollPosition({ scrollLeft: nextProps.scrollLeft });\n\t }\n\t\n\t if (nextProps.scrollTop !== this.props.scrollTop) {\n\t this.setScrollPosition({ scrollTop: nextProps.scrollTop });\n\t }\n\t\n\t (0, _utils.computeCellMetadataAndUpdateScrollOffsetHelper)({\n\t cellsCount: this.props.columnsCount,\n\t cellSize: this.props.columnWidth,\n\t computeMetadataCallback: this._computeGridMetadata,\n\t computeMetadataCallbackProps: nextProps,\n\t computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n\t nextCellsCount: nextProps.columnsCount,\n\t nextCellSize: nextProps.columnWidth,\n\t nextScrollToIndex: nextProps.scrollToColumn,\n\t scrollToIndex: this.props.scrollToColumn,\n\t updateScrollOffsetForScrollToIndex: this._updateScrollLeftForScrollToColumn\n\t });\n\t\n\t (0, _utils.computeCellMetadataAndUpdateScrollOffsetHelper)({\n\t cellsCount: this.props.rowsCount,\n\t cellSize: this.props.rowHeight,\n\t computeMetadataCallback: this._computeGridMetadata,\n\t computeMetadataCallbackProps: nextProps,\n\t computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n\t nextCellsCount: nextProps.rowsCount,\n\t nextCellSize: nextProps.rowHeight,\n\t nextScrollToIndex: nextProps.scrollToRow,\n\t scrollToIndex: this.props.scrollToRow,\n\t updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToRow\n\t });\n\t\n\t this.setState({\n\t computeGridMetadataOnNextUpdate: false\n\t });\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props3 = this.props;\n\t var className = _props3.className;\n\t var columnsCount = _props3.columnsCount;\n\t var height = _props3.height;\n\t var noContentRenderer = _props3.noContentRenderer;\n\t var overscanColumnsCount = _props3.overscanColumnsCount;\n\t var overscanRowsCount = _props3.overscanRowsCount;\n\t var renderCell = _props3.renderCell;\n\t var rowsCount = _props3.rowsCount;\n\t var width = _props3.width;\n\t var _state2 = this.state;\n\t var isScrolling = _state2.isScrolling;\n\t var scrollLeft = _state2.scrollLeft;\n\t var scrollTop = _state2.scrollTop;\n\t\n\t\n\t var childrenToDisplay = [];\n\t\n\t // Render only enough columns and rows to cover the visible area of the grid.\n\t if (height > 0 && width > 0) {\n\t var _getVisibleCellIndice = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t });\n\t\n\t var columnStartIndex = _getVisibleCellIndice.start;\n\t var columnStopIndex = _getVisibleCellIndice.stop;\n\t\n\t var _getVisibleCellIndice2 = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t });\n\t\n\t var rowStartIndex = _getVisibleCellIndice2.start;\n\t var rowStopIndex = _getVisibleCellIndice2.stop;\n\t\n\t // Store for :onSectionRendered callback in componentDidUpdate\n\t\n\t this._renderedColumnStartIndex = columnStartIndex;\n\t this._renderedColumnStopIndex = columnStopIndex;\n\t this._renderedRowStartIndex = rowStartIndex;\n\t this._renderedRowStopIndex = rowStopIndex;\n\t\n\t var overscanColumnIndices = (0, _utils.getOverscanIndices)({\n\t cellsCount: columnsCount,\n\t overscanCellsCount: overscanColumnsCount,\n\t startIndex: columnStartIndex,\n\t stopIndex: columnStopIndex\n\t });\n\t\n\t var overscanRowIndices = (0, _utils.getOverscanIndices)({\n\t cellsCount: rowsCount,\n\t overscanCellsCount: overscanRowsCount,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t\n\t columnStartIndex = overscanColumnIndices.overscanStartIndex;\n\t columnStopIndex = overscanColumnIndices.overscanStopIndex;\n\t rowStartIndex = overscanRowIndices.overscanStartIndex;\n\t rowStopIndex = overscanRowIndices.overscanStopIndex;\n\t\n\t var key = 0;\n\t\n\t for (var rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n\t var rowDatum = this._rowMetadata[rowIndex];\n\t\n\t for (var columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n\t var columnDatum = this._columnMetadata[columnIndex];\n\t var child = renderCell({ columnIndex: columnIndex, rowIndex: rowIndex });\n\t var transform = 'translate(' + columnDatum.offset + 'px, ' + rowDatum.offset + 'px)';\n\t\n\t child = _react2.default.createElement(\n\t 'div',\n\t {\n\t key: ++key,\n\t className: 'Grid__cell',\n\t style: {\n\t transform: transform,\n\t height: this._getRowHeight(rowIndex),\n\t WebkitTransform: transform,\n\t width: this._getColumnWidth(columnIndex)\n\t }\n\t },\n\t child\n\t );\n\t\n\t childrenToDisplay.push(child);\n\t }\n\t }\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t ref: 'scrollingContainer',\n\t className: (0, _classnames2.default)('Grid', className),\n\t onKeyDown: this._onKeyPress,\n\t onScroll: this._onScroll,\n\t tabIndex: 0,\n\t style: {\n\t height: height,\n\t width: width\n\t }\n\t },\n\t childrenToDisplay.length > 0 && _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'Grid__innerScrollContainer',\n\t style: {\n\t width: this._getTotalColumnsWidth(),\n\t height: this._getTotalRowsHeight(),\n\t maxWidth: this._getTotalColumnsWidth(),\n\t maxHeight: this._getTotalRowsHeight(),\n\t pointerEvents: isScrolling ? 'none' : 'auto'\n\t }\n\t },\n\t childrenToDisplay\n\t ),\n\t childrenToDisplay.length === 0 && noContentRenderer()\n\t );\n\t }\n\t\n\t /* ---------------------------- Helper methods ---------------------------- */\n\t\n\t }, {\n\t key: '_computeGridMetadata',\n\t value: function _computeGridMetadata(props) {\n\t var columnsCount = props.columnsCount;\n\t var columnWidth = props.columnWidth;\n\t var rowHeight = props.rowHeight;\n\t var rowsCount = props.rowsCount;\n\t\n\t\n\t this._columnMetadata = (0, _utils.initCellMetadata)({\n\t cellsCount: columnsCount,\n\t size: columnWidth\n\t });\n\t this._rowMetadata = (0, _utils.initCellMetadata)({\n\t cellsCount: rowsCount,\n\t size: rowHeight\n\t });\n\t }\n\t\n\t /**\n\t * Sets an :isScrolling flag for a small window of time.\n\t * This flag is used to disable pointer events on the scrollable portion of the Grid.\n\t * This prevents jerky/stuttery mouse-wheel scrolling.\n\t */\n\t\n\t }, {\n\t key: '_enablePointerEventsAfterDelay',\n\t value: function _enablePointerEventsAfterDelay() {\n\t var _this3 = this;\n\t\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t this._disablePointerEventsTimeoutId = setTimeout(function () {\n\t _this3._disablePointerEventsTimeoutId = null;\n\t _this3.setState({\n\t isScrolling: false\n\t });\n\t }, IS_SCROLLING_TIMEOUT);\n\t }\n\t }, {\n\t key: '_getColumnWidth',\n\t value: function _getColumnWidth(index) {\n\t var columnWidth = this.props.columnWidth;\n\t\n\t\n\t return columnWidth instanceof Function ? columnWidth(index) : columnWidth;\n\t }\n\t }, {\n\t key: '_getRowHeight',\n\t value: function _getRowHeight(index) {\n\t var rowHeight = this.props.rowHeight;\n\t\n\t\n\t return rowHeight instanceof Function ? rowHeight(index) : rowHeight;\n\t }\n\t }, {\n\t key: '_getTotalColumnsWidth',\n\t value: function _getTotalColumnsWidth() {\n\t if (this._columnMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t var datum = this._columnMetadata[this._columnMetadata.length - 1];\n\t return datum.offset + datum.size;\n\t }\n\t }, {\n\t key: '_getTotalRowsHeight',\n\t value: function _getTotalRowsHeight() {\n\t if (this._rowMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t var datum = this._rowMetadata[this._rowMetadata.length - 1];\n\t return datum.offset + datum.size;\n\t }\n\t }, {\n\t key: '_invokeOnGridRenderedHelper',\n\t value: function _invokeOnGridRenderedHelper() {\n\t var _props4 = this.props;\n\t var columnsCount = _props4.columnsCount;\n\t var onSectionRendered = _props4.onSectionRendered;\n\t var overscanColumnsCount = _props4.overscanColumnsCount;\n\t var overscanRowsCount = _props4.overscanRowsCount;\n\t var rowsCount = _props4.rowsCount;\n\t\n\t var _getOverscanIndices = (0, _utils.getOverscanIndices)({\n\t cellsCount: columnsCount,\n\t overscanCellsCount: overscanColumnsCount,\n\t startIndex: this._renderedColumnStartIndex,\n\t stopIndex: this._renderedColumnStopIndex\n\t });\n\t\n\t var columnOverscanStartIndex = _getOverscanIndices.overscanStartIndex;\n\t var columnOverscanStopIndex = _getOverscanIndices.overscanStopIndex;\n\t\n\t var _getOverscanIndices2 = (0, _utils.getOverscanIndices)({\n\t cellsCount: rowsCount,\n\t overscanCellsCount: overscanRowsCount,\n\t startIndex: this._renderedRowStartIndex,\n\t stopIndex: this._renderedRowStopIndex\n\t });\n\t\n\t var rowOverscanStartIndex = _getOverscanIndices2.overscanStartIndex;\n\t var rowOverscanStopIndex = _getOverscanIndices2.overscanStopIndex;\n\t\n\t\n\t this._onGridRenderedMemoizer({\n\t callback: onSectionRendered,\n\t indices: {\n\t columnOverscanStartIndex: columnOverscanStartIndex,\n\t columnOverscanStopIndex: columnOverscanStopIndex,\n\t columnStartIndex: this._renderedColumnStartIndex,\n\t columnStopIndex: this._renderedColumnStopIndex,\n\t rowOverscanStartIndex: rowOverscanStartIndex,\n\t rowOverscanStopIndex: rowOverscanStopIndex,\n\t rowStartIndex: this._renderedRowStartIndex,\n\t rowStopIndex: this._renderedRowStopIndex\n\t }\n\t });\n\t }\n\t\n\t /**\n\t * Updates the state during the next animation frame.\n\t * Use this method to avoid multiple renders in a small span of time.\n\t * This helps performance for bursty events (like onScroll).\n\t */\n\t\n\t }, {\n\t key: '_setNextState',\n\t value: function _setNextState(state) {\n\t var _this4 = this;\n\t\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2.default.cancel(this._setNextStateAnimationFrameId);\n\t }\n\t\n\t this._setNextStateAnimationFrameId = (0, _raf2.default)(function () {\n\t _this4._setNextStateAnimationFrameId = null;\n\t _this4.setState(state);\n\t });\n\t }\n\t }, {\n\t key: '_stopEvent',\n\t value: function _stopEvent(event) {\n\t event.preventDefault();\n\t }\n\t }, {\n\t key: '_updateScrollLeftForScrollToColumn',\n\t value: function _updateScrollLeftForScrollToColumn(scrollToColumnOverride) {\n\t var scrollToColumn = scrollToColumnOverride != null ? scrollToColumnOverride : this.props.scrollToColumn;\n\t\n\t var width = this.props.width;\n\t var scrollLeft = this.state.scrollLeft;\n\t\n\t\n\t if (scrollToColumn >= 0) {\n\t var calculatedScrollLeft = (0, _utils.getUpdatedOffsetForIndex)({\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft,\n\t targetIndex: scrollToColumn\n\t });\n\t\n\t if (scrollLeft !== calculatedScrollLeft) {\n\t this.setScrollPosition({\n\t scrollLeft: calculatedScrollLeft\n\t });\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_updateScrollTopForScrollToRow',\n\t value: function _updateScrollTopForScrollToRow(scrollToRowOverride) {\n\t var scrollToRow = scrollToRowOverride != null ? scrollToRowOverride : this.props.scrollToRow;\n\t\n\t var height = this.props.height;\n\t var scrollTop = this.state.scrollTop;\n\t\n\t\n\t if (scrollToRow >= 0) {\n\t var calculatedScrollTop = (0, _utils.getUpdatedOffsetForIndex)({\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop,\n\t targetIndex: scrollToRow\n\t });\n\t\n\t if (scrollTop !== calculatedScrollTop) {\n\t this.setScrollPosition({\n\t scrollTop: calculatedScrollTop\n\t });\n\t }\n\t }\n\t }\n\t\n\t /* ---------------------------- Event handlers ---------------------------- */\n\t\n\t }, {\n\t key: '_onKeyPress',\n\t value: function _onKeyPress(event) {\n\t var _props5 = this.props;\n\t var columnsCount = _props5.columnsCount;\n\t var height = _props5.height;\n\t var rowsCount = _props5.rowsCount;\n\t var width = _props5.width;\n\t var _state3 = this.state;\n\t var scrollLeft = _state3.scrollLeft;\n\t var scrollTop = _state3.scrollTop;\n\t\n\t\n\t var start = undefined,\n\t datum = undefined,\n\t newScrollLeft = undefined,\n\t newScrollTop = undefined;\n\t\n\t if (columnsCount === 0 || rowsCount === 0) {\n\t return;\n\t }\n\t\n\t switch (event.key) {\n\t case 'ArrowDown':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t datum = this._rowMetadata[start];\n\t newScrollTop = Math.min(this._getTotalRowsHeight() - height, scrollTop + datum.size);\n\t\n\t this.setScrollPosition({\n\t scrollTop: newScrollTop\n\t });\n\t break;\n\t case 'ArrowLeft':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t }).start;\n\t\n\t this.scrollToCell({\n\t scrollToColumn: Math.max(0, start - 1),\n\t scrollToRow: this.props.scrollToRow\n\t });\n\t break;\n\t case 'ArrowRight':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t }).start;\n\t datum = this._columnMetadata[start];\n\t newScrollLeft = Math.min(this._getTotalColumnsWidth() - width, scrollLeft + datum.size);\n\t\n\t this.setScrollPosition({\n\t scrollLeft: newScrollLeft\n\t });\n\t break;\n\t case 'ArrowUp':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t\n\t this.scrollToCell({\n\t scrollToColumn: this.props.scrollToColumn,\n\t scrollToRow: Math.max(0, start - 1)\n\t });\n\t break;\n\t }\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(event) {\n\t // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollLeft / target.scrollTop.\n\t // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n\t // See issue #404 for more information.\n\t if (event.target !== this.refs.scrollingContainer) {\n\t return;\n\t }\n\t\n\t // Prevent pointer events from interrupting a smooth scroll\n\t this._enablePointerEventsAfterDelay();\n\t\n\t // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n\t // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n\t // This causes a series of rapid renders that is slow for long lists.\n\t // We can avoid that by doing some simple bounds checking to ensure that scrollTop never exceeds the total height.\n\t var _props6 = this.props;\n\t var height = _props6.height;\n\t var onScroll = _props6.onScroll;\n\t var width = _props6.width;\n\t\n\t var totalRowsHeight = this._getTotalRowsHeight();\n\t var totalColumnsWidth = this._getTotalColumnsWidth();\n\t var scrollLeft = Math.min(totalColumnsWidth - width, event.target.scrollLeft);\n\t var scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop);\n\t\n\t // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n\t // Don't force a re-render if this is the case.\n\t // The mouse may move faster then the animation frame does.\n\t // Use requestAnimationFrame to avoid over-updating.\n\t if (this.state.scrollLeft !== scrollLeft || this.state.scrollTop !== scrollTop) {\n\t this._setNextState({\n\t isScrolling: true,\n\t scrollLeft: scrollLeft,\n\t scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.OBSERVED,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t\n\t this._onScrollMemoizer({\n\t callback: function callback(_ref3) {\n\t var scrollLeft = _ref3.scrollLeft;\n\t var scrollTop = _ref3.scrollTop;\n\t\n\t onScroll({\n\t clientHeight: height,\n\t clientWidth: width,\n\t scrollHeight: totalRowsHeight,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t scrollWidth: totalColumnsWidth\n\t });\n\t },\n\t indices: {\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t }\n\t });\n\t }\n\t }]);\n\t\n\t return Grid;\n\t}(_react.Component), _class.propTypes = {\n\t /**\n\t * Optional custom CSS class name to attach to root Grid element.\n\t */\n\t className: _react.PropTypes.string,\n\t\n\t /**\n\t * Number of columns in grid.\n\t */\n\t columnsCount: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Either a fixed column width (number) or a function that returns the width of a column given its index.\n\t * Should implement the following interface: (index: number): number\n\t */\n\t columnWidth: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t /**\n\t * Height of Grid; this property determines the number of visible (vs virtualized) rows.\n\t */\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Optional renderer to be used in place of rows when either :rowsCount or :columnsCount is 0.\n\t */\n\t noContentRenderer: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n\t * This callback can be used to sync scrolling between lists, tables, or grids.\n\t * ({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth }): void\n\t */\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Callback invoked with information about the section of the Grid that was just rendered.\n\t * ({ columnStartIndex, columnStopIndex, rowStartIndex, rowStopIndex }): void\n\t */\n\t onSectionRendered: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Number of columns to render before/after the visible section of the grid.\n\t * These columns can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n\t */\n\t overscanColumnsCount: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Number of rows to render above/below the visible section of the grid.\n\t * These rows can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n\t */\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Responsible for rendering a cell given an row and column index.\n\t * Should implement the following interface: ({ columnIndex: number, rowIndex: number }): PropTypes.node\n\t */\n\t renderCell: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Either a fixed row height (number) or a function that returns the height of a row given its index.\n\t * Should implement the following interface: (index: number): number\n\t */\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t /**\n\t * Number of rows in grid.\n\t */\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t /** Horizontal offset. */\n\t scrollLeft: _react.PropTypes.number,\n\t\n\t /**\n\t * Column index to ensure visible (by forcefully scrolling if necessary)\n\t */\n\t scrollToColumn: _react.PropTypes.number,\n\t\n\t /** Vertical offset. */\n\t scrollTop: _react.PropTypes.number,\n\t\n\t /**\n\t * Row index to ensure visible (by forcefully scrolling if necessary)\n\t */\n\t scrollToRow: _react.PropTypes.number,\n\t\n\t /**\n\t * Width of Grid; this property determines the number of visible (vs virtualized) columns.\n\t */\n\t width: _react.PropTypes.number.isRequired\n\t}, _class.defaultProps = {\n\t noContentRenderer: function noContentRenderer() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t onSectionRendered: function onSectionRendered() {\n\t return null;\n\t },\n\t overscanColumnsCount: 0,\n\t overscanRowsCount: 10\n\t}, _temp);\n\texports.default = Grid;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11).setImmediate, __webpack_require__(11).clearImmediate))\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {var nextTick = __webpack_require__(12).nextTick;\n\tvar apply = Function.prototype.apply;\n\tvar slice = Array.prototype.slice;\n\tvar immediateIds = {};\n\tvar nextImmediateId = 0;\n\t\n\t// DOM APIs, for completeness\n\t\n\texports.setTimeout = function() {\n\t return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n\t};\n\texports.setInterval = function() {\n\t return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n\t};\n\texports.clearTimeout =\n\texports.clearInterval = function(timeout) { timeout.close(); };\n\t\n\tfunction Timeout(id, clearFn) {\n\t this._id = id;\n\t this._clearFn = clearFn;\n\t}\n\tTimeout.prototype.unref = Timeout.prototype.ref = function() {};\n\tTimeout.prototype.close = function() {\n\t this._clearFn.call(window, this._id);\n\t};\n\t\n\t// Does not start the time, just sets up the members needed.\n\texports.enroll = function(item, msecs) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = msecs;\n\t};\n\t\n\texports.unenroll = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = -1;\n\t};\n\t\n\texports._unrefActive = exports.active = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t\n\t var msecs = item._idleTimeout;\n\t if (msecs >= 0) {\n\t item._idleTimeoutId = setTimeout(function onTimeout() {\n\t if (item._onTimeout)\n\t item._onTimeout();\n\t }, msecs);\n\t }\n\t};\n\t\n\t// That's not how node.js implements it but the exposed api is the same.\n\texports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n\t var id = nextImmediateId++;\n\t var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\t\n\t immediateIds[id] = true;\n\t\n\t nextTick(function onNextTick() {\n\t if (immediateIds[id]) {\n\t // fn.call() is faster so we optimize for the common use-case\n\t // @see http://jsperf.com/call-apply-segu\n\t if (args) {\n\t fn.apply(null, args);\n\t } else {\n\t fn.call(null);\n\t }\n\t // Prevent ids from leaking\n\t exports.clearImmediate(id);\n\t }\n\t });\n\t\n\t return id;\n\t};\n\t\n\texports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n\t delete immediateIds[id];\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11).setImmediate, __webpack_require__(11).clearImmediate))\n\n/***/ },\n/* 12 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = setTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t clearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t setTimeout(drainQueue, 0);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 13 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.computeCellMetadataAndUpdateScrollOffsetHelper = computeCellMetadataAndUpdateScrollOffsetHelper;\n\texports.createCallbackMemoizer = createCallbackMemoizer;\n\texports.findNearestCell = findNearestCell;\n\texports.getOverscanIndices = getOverscanIndices;\n\texports.getUpdatedOffsetForIndex = getUpdatedOffsetForIndex;\n\texports.getVisibleCellIndices = getVisibleCellIndices;\n\texports.initCellMetadata = initCellMetadata;\n\texports.updateScrollIndexHelper = updateScrollIndexHelper;\n\t/**\n\t * Helper method that determines when to recalculate row or column metadata.\n\t *\n\t * @param cellsCount Number of rows or columns in the current axis\n\t * @param cellsSize Width or height of cells for the current axis\n\t * @param computeMetadataCallback Method to invoke if cell metadata should be recalculated\n\t * @param computeMetadataCallbackProps Parameters to pass to :computeMetadataCallback\n\t * @param computeMetadataOnNextUpdate Flag specifying that metadata should be recalculated\n\t * @param nextCellsCount Newly updated number of rows or columns in the current axis\n\t * @param nextCellsSize Newly updated width or height of cells for the current axis\n\t * @param nextScrollToIndex Newly updated scroll-to-index\n\t * @param scrollToIndex Scroll-to-index\n\t * @param updateScrollOffsetForScrollToIndex Callback to invoke if the scroll position should be recalculated\n\t */\n\tfunction computeCellMetadataAndUpdateScrollOffsetHelper(_ref) {\n\t var cellsCount = _ref.cellsCount;\n\t var cellSize = _ref.cellSize;\n\t var computeMetadataCallback = _ref.computeMetadataCallback;\n\t var computeMetadataCallbackProps = _ref.computeMetadataCallbackProps;\n\t var computeMetadataOnNextUpdate = _ref.computeMetadataOnNextUpdate;\n\t var nextCellsCount = _ref.nextCellsCount;\n\t var nextCellSize = _ref.nextCellSize;\n\t var nextScrollToIndex = _ref.nextScrollToIndex;\n\t var scrollToIndex = _ref.scrollToIndex;\n\t var updateScrollOffsetForScrollToIndex = _ref.updateScrollOffsetForScrollToIndex;\n\t\n\t // Don't compare cell sizes if they are functions because inline functions would cause infinite loops.\n\t // In that event users should use the manual recompute methods to inform of changes.\n\t if (computeMetadataOnNextUpdate || cellsCount !== nextCellsCount || (typeof cellSize === 'number' || typeof nextCellSize === 'number') && cellSize !== nextCellSize) {\n\t computeMetadataCallback(computeMetadataCallbackProps);\n\t\n\t // Updated cell metadata may have hidden the previous scrolled-to item.\n\t // In this case we should also update the scrollTop to ensure it stays visible.\n\t if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n\t updateScrollOffsetForScrollToIndex();\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Helper utility that updates the specified callback whenever any of the specified indices have changed.\n\t */\n\tfunction createCallbackMemoizer() {\n\t var requireAllKeys = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];\n\t\n\t var cachedIndices = {};\n\t\n\t return function (_ref2) {\n\t var callback = _ref2.callback;\n\t var indices = _ref2.indices;\n\t\n\t var keys = Object.keys(indices);\n\t var allInitialized = !requireAllKeys || keys.every(function (key) {\n\t return indices[key] >= 0;\n\t });\n\t var indexChanged = keys.some(function (key) {\n\t return cachedIndices[key] !== indices[key];\n\t });\n\t\n\t cachedIndices = indices;\n\t\n\t if (allInitialized && indexChanged) {\n\t callback(indices);\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * Binary search function inspired by react-infinite.\n\t */\n\tfunction findNearestCell(_ref3) {\n\t var cellMetadata = _ref3.cellMetadata;\n\t var mode = _ref3.mode;\n\t var offset = _ref3.offset;\n\t\n\t var high = cellMetadata.length - 1;\n\t var low = 0;\n\t var middle = undefined;\n\t var currentOffset = undefined;\n\t\n\t // TODO Add better guards here against NaN offset\n\t\n\t while (low <= high) {\n\t middle = low + Math.floor((high - low) / 2);\n\t currentOffset = cellMetadata[middle].offset;\n\t\n\t if (currentOffset === offset) {\n\t return middle;\n\t } else if (currentOffset < offset) {\n\t low = middle + 1;\n\t } else if (currentOffset > offset) {\n\t high = middle - 1;\n\t }\n\t }\n\t\n\t if (mode === findNearestCell.EQUAL_OR_LOWER && low > 0) {\n\t return low - 1;\n\t } else if (mode === findNearestCell.EQUAL_OR_HIGHER && high < cellMetadata.length - 1) {\n\t return high + 1;\n\t }\n\t}\n\t\n\tfindNearestCell.EQUAL_OR_LOWER = 1;\n\tfindNearestCell.EQUAL_OR_HIGHER = 2;\n\t\n\tfunction getOverscanIndices(_ref4) {\n\t var cellsCount = _ref4.cellsCount;\n\t var overscanCellsCount = _ref4.overscanCellsCount;\n\t var startIndex = _ref4.startIndex;\n\t var stopIndex = _ref4.stopIndex;\n\t\n\t return {\n\t overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n\t overscanStopIndex: Math.min(cellsCount - 1, stopIndex + overscanCellsCount)\n\t };\n\t}\n\t\n\t/**\n\t * Determines a new offset that ensures a certain cell is visible, given the current offset.\n\t * If the cell is already visible then the current offset will be returned.\n\t * If the current offset is too great or small, it will be adjusted just enough to ensure the specified index is visible.\n\t *\n\t * @param cellMetadata Metadata initially computed by initCellMetadata()\n\t * @param containerSize Total size (width or height) of the container\n\t * @param currentOffset Container's current (x or y) offset\n\t * @param targetIndex Index of target cell\n\t * @return Offset to use to ensure the specified cell is visible\n\t */\n\tfunction getUpdatedOffsetForIndex(_ref5) {\n\t var cellMetadata = _ref5.cellMetadata;\n\t var containerSize = _ref5.containerSize;\n\t var currentOffset = _ref5.currentOffset;\n\t var targetIndex = _ref5.targetIndex;\n\t\n\t if (cellMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t targetIndex = Math.max(0, Math.min(cellMetadata.length - 1, targetIndex));\n\t\n\t var datum = cellMetadata[targetIndex];\n\t var maxOffset = datum.offset;\n\t var minOffset = maxOffset - containerSize + datum.size;\n\t var newOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset));\n\t\n\t return newOffset;\n\t}\n\t\n\t/**\n\t * Determines the range of cells to display for a given offset in order to fill the specified container.\n\t *\n\t * @param cellsCount Total number of cells.\n\t * @param cellMetadata Metadata initially computed by initCellMetadata()\n\t * @param containerSize Total size (width or height) of the container\n\t * @param currentOffset Container's current (x or y) offset\n\t * @return An object containing :start and :stop attributes, each specifying a cell index\n\t */\n\tfunction getVisibleCellIndices(_ref6) {\n\t var cellsCount = _ref6.cellsCount;\n\t var cellMetadata = _ref6.cellMetadata;\n\t var containerSize = _ref6.containerSize;\n\t var currentOffset = _ref6.currentOffset;\n\t\n\t if (cellsCount === 0) {\n\t return {};\n\t }\n\t\n\t currentOffset = Math.max(0, currentOffset);\n\t\n\t var maxOffset = currentOffset + containerSize;\n\t\n\t // TODO Add better guards here against NaN offset\n\t\n\t var start = findNearestCell({\n\t cellMetadata: cellMetadata,\n\t mode: findNearestCell.EQUAL_OR_LOWER,\n\t offset: currentOffset\n\t });\n\t\n\t var datum = cellMetadata[start];\n\t currentOffset = datum.offset + datum.size;\n\t\n\t var stop = start;\n\t\n\t while (currentOffset < maxOffset && stop < cellsCount - 1) {\n\t stop++;\n\t\n\t currentOffset += cellMetadata[stop].size;\n\t }\n\t\n\t return {\n\t start: start,\n\t stop: stop\n\t };\n\t}\n\t\n\t/**\n\t * Initializes metadata for an axis and its cells.\n\t * This data is used to determine which cells are visible given a container size and scroll position.\n\t *\n\t * @param cellsCount Total number of cells.\n\t * @param size Either a fixed size or a function that returns the size for a given given an index.\n\t * @return Object mapping cell index to cell metadata (size, offset)\n\t */\n\tfunction initCellMetadata(_ref7) {\n\t var cellsCount = _ref7.cellsCount;\n\t var size = _ref7.size;\n\t\n\t var sizeGetter = size instanceof Function ? size : function (index) {\n\t return size;\n\t };\n\t\n\t var cellMetadata = [];\n\t var offset = 0;\n\t\n\t for (var i = 0; i < cellsCount; i++) {\n\t var _size = sizeGetter(i);\n\t\n\t if (_size == null || isNaN(_size)) {\n\t throw Error('Invalid size returned for cell ' + i + ' of value ' + _size);\n\t }\n\t\n\t cellMetadata[i] = {\n\t size: _size,\n\t offset: offset\n\t };\n\t\n\t offset += _size;\n\t }\n\t\n\t return cellMetadata;\n\t}\n\t\n\t/**\n\t * Helper function that determines when to update scroll offsets to ensure that a scroll-to-index remains visible.\n\t *\n\t * @param cellMetadata Metadata initially computed by initCellMetadata()\n\t * @param cellsCount Number of rows or columns in the current axis\n\t * @param cellsSize Width or height of cells for the current axis\n\t * @param previousCellsCount Previous number of rows or columns\n\t * @param previousCellsSize Previous width or height of cells\n\t * @param previousScrollToIndex Previous scroll-to-index\n\t * @param previousSize Previous width or height of the virtualized container\n\t * @param scrollOffset Current scrollLeft or scrollTop\n\t * @param scrollToIndex Scroll-to-index\n\t * @param size Width or height of the virtualized container\n\t * @param updateScrollIndexCallback Callback to invoke with an optional scroll-to-index override\n\t */\n\tfunction updateScrollIndexHelper(_ref8) {\n\t var cellMetadata = _ref8.cellMetadata;\n\t var cellsCount = _ref8.cellsCount;\n\t var cellSize = _ref8.cellSize;\n\t var previousCellsCount = _ref8.previousCellsCount;\n\t var previousCellSize = _ref8.previousCellSize;\n\t var previousScrollToIndex = _ref8.previousScrollToIndex;\n\t var previousSize = _ref8.previousSize;\n\t var scrollOffset = _ref8.scrollOffset;\n\t var scrollToIndex = _ref8.scrollToIndex;\n\t var size = _ref8.size;\n\t var updateScrollIndexCallback = _ref8.updateScrollIndexCallback;\n\t\n\t var hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellsCount;\n\t var sizeHasChanged = size !== previousSize || !previousCellSize || typeof cellSize === 'number' && cellSize !== previousCellSize;\n\t\n\t // If we have a new scroll target OR if height/row-height has changed,\n\t // We should ensure that the scroll target is visible.\n\t if (hasScrollToIndex && (sizeHasChanged || scrollToIndex !== previousScrollToIndex)) {\n\t updateScrollIndexCallback();\n\t\n\t // If we don't have a selected item but list size or number of children have decreased,\n\t // Make sure we aren't scrolled too far past the current content.\n\t } else if (!hasScrollToIndex && (size < previousSize || cellsCount < previousCellsCount)) {\n\t var calculatedScrollOffset = getUpdatedOffsetForIndex({\n\t cellMetadata: cellMetadata,\n\t containerSize: size,\n\t currentOffset: scrollOffset,\n\t targetIndex: cellsCount - 1\n\t });\n\t\n\t // Only adjust the scroll position if we've scrolled below the last set of rows.\n\t if (calculatedScrollOffset < scrollOffset) {\n\t updateScrollIndexCallback(cellsCount - 1);\n\t }\n\t }\n\t}\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\t Copyright (c) 2016 Jed Watson.\n\t Licensed under the MIT License (MIT), see\n\t http://jedwatson.github.io/classnames\n\t*/\n\t/* global define */\n\t\n\t(function () {\n\t\t'use strict';\n\t\n\t\tvar hasOwn = {}.hasOwnProperty;\n\t\n\t\tfunction classNames () {\n\t\t\tvar classes = [];\n\t\n\t\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\t\tvar arg = arguments[i];\n\t\t\t\tif (!arg) continue;\n\t\n\t\t\t\tvar argType = typeof arg;\n\t\n\t\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\t\tclasses.push(arg);\n\t\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t\t} else if (argType === 'object') {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\treturn classes.join(' ');\n\t\t}\n\t\n\t\tif (typeof module !== 'undefined' && module.exports) {\n\t\t\tmodule.exports = classNames;\n\t\t} else if (true) {\n\t\t\t// register as 'classnames', consistent with npm package name\n\t\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t\t\t\treturn classNames;\n\t\t\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else {\n\t\t\twindow.classNames = classNames;\n\t\t}\n\t}());\n\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {var now = __webpack_require__(16)\n\t , root = typeof window === 'undefined' ? global : window\n\t , vendors = ['moz', 'webkit']\n\t , suffix = 'AnimationFrame'\n\t , raf = root['request' + suffix]\n\t , caf = root['cancel' + suffix] || root['cancelRequest' + suffix]\n\t\n\tfor(var i = 0; !raf && i < vendors.length; i++) {\n\t raf = root[vendors[i] + 'Request' + suffix]\n\t caf = root[vendors[i] + 'Cancel' + suffix]\n\t || root[vendors[i] + 'CancelRequest' + suffix]\n\t}\n\t\n\t// Some versions of FF have rAF but not cAF\n\tif(!raf || !caf) {\n\t var last = 0\n\t , id = 0\n\t , queue = []\n\t , frameDuration = 1000 / 60\n\t\n\t raf = function(callback) {\n\t if(queue.length === 0) {\n\t var _now = now()\n\t , next = Math.max(0, frameDuration - (_now - last))\n\t last = next + _now\n\t setTimeout(function() {\n\t var cp = queue.slice(0)\n\t // Clear queue here to prevent\n\t // callbacks from appending listeners\n\t // to the current frame's queue\n\t queue.length = 0\n\t for(var i = 0; i < cp.length; i++) {\n\t if(!cp[i].cancelled) {\n\t try{\n\t cp[i].callback(last)\n\t } catch(e) {\n\t setTimeout(function() { throw e }, 0)\n\t }\n\t }\n\t }\n\t }, Math.round(next))\n\t }\n\t queue.push({\n\t handle: ++id,\n\t callback: callback,\n\t cancelled: false\n\t })\n\t return id\n\t }\n\t\n\t caf = function(handle) {\n\t for(var i = 0; i < queue.length; i++) {\n\t if(queue[i].handle === handle) {\n\t queue[i].cancelled = true\n\t }\n\t }\n\t }\n\t}\n\t\n\tmodule.exports = function(fn) {\n\t // Wrap in a new function to prevent\n\t // `cancel` potentially being assigned\n\t // to the native rAF function\n\t return raf.call(root, fn)\n\t}\n\tmodule.exports.cancel = function() {\n\t caf.apply(root, arguments)\n\t}\n\tmodule.exports.polyfill = function() {\n\t root.requestAnimationFrame = raf\n\t root.cancelAnimationFrame = caf\n\t}\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {// Generated by CoffeeScript 1.7.1\n\t(function() {\n\t var getNanoSeconds, hrtime, loadTime;\n\t\n\t if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n\t module.exports = function() {\n\t return performance.now();\n\t };\n\t } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n\t module.exports = function() {\n\t return (getNanoSeconds() - loadTime) / 1e6;\n\t };\n\t hrtime = process.hrtime;\n\t getNanoSeconds = function() {\n\t var hr;\n\t hr = hrtime();\n\t return hr[0] * 1e9 + hr[1];\n\t };\n\t loadTime = getNanoSeconds();\n\t } else if (Date.now) {\n\t module.exports = function() {\n\t return Date.now() - loadTime;\n\t };\n\t loadTime = Date.now();\n\t } else {\n\t module.exports = function() {\n\t return new Date().getTime() - loadTime;\n\t };\n\t loadTime = new Date().getTime();\n\t }\n\t\n\t}).call(this);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17)))\n\n/***/ },\n/* 17 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = setTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t clearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t setTimeout(drainQueue, 0);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.FlexColumn = exports.SortIndicator = exports.SortDirection = exports.FlexTable = exports.default = undefined;\n\t\n\tvar _FlexTable2 = __webpack_require__(19);\n\t\n\tObject.defineProperty(exports, 'SortDirection', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable2.SortDirection;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortIndicator', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable2.SortIndicator;\n\t }\n\t});\n\t\n\tvar _FlexTable3 = _interopRequireDefault(_FlexTable2);\n\t\n\tvar _FlexColumn2 = __webpack_require__(20);\n\t\n\tvar _FlexColumn3 = _interopRequireDefault(_FlexColumn2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _FlexTable3.default;\n\texports.FlexTable = _FlexTable3.default;\n\texports.FlexColumn = _FlexColumn3.default;\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = exports.SortDirection = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _class, _temp, _initialiseProps;\n\t\n\texports.SortIndicator = SortIndicator;\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _FlexColumn = __webpack_require__(20);\n\t\n\tvar _FlexColumn2 = _interopRequireDefault(_FlexColumn);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(21);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar SortDirection = exports.SortDirection = {\n\t /**\n\t * Sort items in ascending order.\n\t * This means arranging from the lowest value to the highest (e.g. a-z, 0-9).\n\t */\n\t ASC: 'ASC',\n\t\n\t /**\n\t * Sort items in descending order.\n\t * This means arranging from the highest value to the lowest (e.g. z-a, 9-0).\n\t */\n\t DESC: 'DESC'\n\t};\n\t\n\t/**\n\t * Table component with fixed headers and virtualized rows for improved performance with large data sets.\n\t * This component expects explicit width, height, and padding parameters.\n\t */\n\tvar FlexTable = (_temp = _class = function (_Component) {\n\t _inherits(FlexTable, _Component);\n\t\n\t function FlexTable(props) {\n\t _classCallCheck(this, FlexTable);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(FlexTable).call(this, props));\n\t\n\t _initialiseProps.call(_this);\n\t\n\t _this.state = {\n\t scrollbarWidth: 0\n\t };\n\t\n\t _this._createRow = _this._createRow.bind(_this);\n\t return _this;\n\t }\n\t\n\t /**\n\t * See Grid#recomputeGridSize\n\t */\n\t\n\t\n\t _createClass(FlexTable, [{\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.refs.Grid.recomputeGridSize();\n\t }\n\t\n\t /**\n\t * See Grid#scrollToIndex\n\t */\n\t\n\t }, {\n\t key: 'scrollToRow',\n\t value: function scrollToRow(scrollToIndex) {\n\t this.refs.Grid.scrollToCell({\n\t scrollToColumn: 0,\n\t scrollToRow: scrollToIndex\n\t });\n\t }\n\t\n\t /**\n\t * See Grid#setScrollPosition\n\t */\n\t\n\t }, {\n\t key: 'setScrollTop',\n\t value: function setScrollTop(scrollTop) {\n\t this.refs.Grid.setScrollPosition({\n\t scrollLeft: 0,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var scrollTop = this.props.scrollTop;\n\t\n\t\n\t if (scrollTop >= 0) {\n\t this.setScrollTop(scrollTop);\n\t }\n\t\n\t this._setScrollbarWidth();\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate() {\n\t this._setScrollbarWidth();\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.scrollTop !== this.props.scrollTop) {\n\t this.setScrollTop(nextProps.scrollTop);\n\t }\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var _props = this.props;\n\t var className = _props.className;\n\t var disableHeader = _props.disableHeader;\n\t var headerHeight = _props.headerHeight;\n\t var height = _props.height;\n\t var noRowsRenderer = _props.noRowsRenderer;\n\t var onRowsRendered = _props.onRowsRendered;\n\t var _onScroll = _props.onScroll;\n\t var overscanRowsCount = _props.overscanRowsCount;\n\t var rowClassName = _props.rowClassName;\n\t var rowHeight = _props.rowHeight;\n\t var rowsCount = _props.rowsCount;\n\t var scrollToIndex = _props.scrollToIndex;\n\t var width = _props.width;\n\t var scrollbarWidth = this.state.scrollbarWidth;\n\t\n\t\n\t var availableRowsHeight = height - headerHeight;\n\t\n\t // This row-renderer wrapper function is necessary in order to trigger re-render when the\n\t // sort-by or sort-direction have changed (else Grid will not see any props changes)\n\t var rowRenderer = function rowRenderer(index) {\n\t return _this2._createRow(index);\n\t };\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName(-1) : rowClassName;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t className: (0, _classnames2.default)('FlexTable', className)\n\t },\n\t !disableHeader && _react2.default.createElement(\n\t 'div',\n\t {\n\t className: (0, _classnames2.default)('FlexTable__headerRow', rowClass),\n\t style: {\n\t height: headerHeight,\n\t paddingRight: scrollbarWidth,\n\t width: width\n\t }\n\t },\n\t this._getRenderedHeaderRow()\n\t ),\n\t _react2.default.createElement(_Grid2.default, {\n\t ref: 'Grid',\n\t className: 'FlexTable__Grid',\n\t columnWidth: width,\n\t columnsCount: 1,\n\t height: availableRowsHeight,\n\t noContentRenderer: noRowsRenderer,\n\t onScroll: function onScroll(_ref) {\n\t var clientHeight = _ref.clientHeight;\n\t var scrollHeight = _ref.scrollHeight;\n\t var scrollTop = _ref.scrollTop;\n\t return _onScroll({ clientHeight: clientHeight, scrollHeight: scrollHeight, scrollTop: scrollTop });\n\t },\n\t onSectionRendered: function onSectionRendered(_ref2) {\n\t var rowOverscanStartIndex = _ref2.rowOverscanStartIndex;\n\t var rowOverscanStopIndex = _ref2.rowOverscanStopIndex;\n\t var rowStartIndex = _ref2.rowStartIndex;\n\t var rowStopIndex = _ref2.rowStopIndex;\n\t return onRowsRendered({\n\t overscanStartIndex: rowOverscanStartIndex,\n\t overscanStopIndex: rowOverscanStopIndex,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t },\n\t overscanRowsCount: overscanRowsCount,\n\t renderCell: function renderCell(_ref3) {\n\t var columnIndex = _ref3.columnIndex;\n\t var rowIndex = _ref3.rowIndex;\n\t return rowRenderer(rowIndex);\n\t },\n\t rowHeight: rowHeight,\n\t rowsCount: rowsCount,\n\t scrollToRow: scrollToIndex,\n\t width: width\n\t })\n\t );\n\t }\n\t }, {\n\t key: '_createColumn',\n\t value: function _createColumn(column, columnIndex, rowData, rowIndex) {\n\t var _column$props = column.props;\n\t var cellClassName = _column$props.cellClassName;\n\t var cellDataGetter = _column$props.cellDataGetter;\n\t var columnData = _column$props.columnData;\n\t var dataKey = _column$props.dataKey;\n\t var cellRenderer = _column$props.cellRenderer;\n\t\n\t var cellData = cellDataGetter(dataKey, rowData, columnData);\n\t var renderedCell = cellRenderer(cellData, dataKey, rowData, rowIndex, columnData);\n\t\n\t var style = this._getFlexStyleForColumn(column);\n\t\n\t var title = typeof renderedCell === 'string' ? renderedCell : null;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t key: 'Row' + rowIndex + '-Col' + columnIndex,\n\t className: (0, _classnames2.default)('FlexTable__rowColumn', cellClassName),\n\t style: style\n\t },\n\t _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'FlexTable__truncatedColumnText',\n\t title: title\n\t },\n\t renderedCell\n\t )\n\t );\n\t }\n\t }, {\n\t key: '_createHeader',\n\t value: function _createHeader(column, columnIndex) {\n\t var _props2 = this.props;\n\t var headerClassName = _props2.headerClassName;\n\t var onHeaderClick = _props2.onHeaderClick;\n\t var sort = _props2.sort;\n\t var sortBy = _props2.sortBy;\n\t var sortDirection = _props2.sortDirection;\n\t var _column$props2 = column.props;\n\t var dataKey = _column$props2.dataKey;\n\t var disableSort = _column$props2.disableSort;\n\t var label = _column$props2.label;\n\t var columnData = _column$props2.columnData;\n\t\n\t var showSortIndicator = sortBy === dataKey;\n\t var sortEnabled = !disableSort && sort;\n\t\n\t var classNames = (0, _classnames2.default)('FlexTable__headerColumn', headerClassName, column.props.headerClassName, {\n\t 'FlexTable__sortableHeaderColumn': sortEnabled\n\t });\n\t var style = this._getFlexStyleForColumn(column);\n\t\n\t // If this is a sortable header, clicking it should update the table data's sorting.\n\t var newSortDirection = sortBy !== dataKey || sortDirection === SortDirection.DESC ? SortDirection.ASC : SortDirection.DESC;\n\t var onClick = function onClick() {\n\t sortEnabled && sort(dataKey, newSortDirection);\n\t onHeaderClick(dataKey, columnData);\n\t };\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t key: 'Header-Col' + columnIndex,\n\t className: classNames,\n\t style: style,\n\t onClick: onClick\n\t },\n\t _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'FlexTable__headerTruncatedText',\n\t title: label\n\t },\n\t label\n\t ),\n\t showSortIndicator && _react2.default.createElement(SortIndicator, { sortDirection: sortDirection })\n\t );\n\t }\n\t }, {\n\t key: '_createRow',\n\t value: function _createRow(rowIndex) {\n\t var _this3 = this;\n\t\n\t var _props3 = this.props;\n\t var children = _props3.children;\n\t var onRowClick = _props3.onRowClick;\n\t var rowClassName = _props3.rowClassName;\n\t var rowGetter = _props3.rowGetter;\n\t var scrollbarWidth = this.state.scrollbarWidth;\n\t\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName(rowIndex) : rowClassName;\n\t\n\t var renderedRow = _react2.default.Children.map(children, function (column, columnIndex) {\n\t return _this3._createColumn(column, columnIndex, rowGetter(rowIndex), rowIndex);\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t key: rowIndex,\n\t className: (0, _classnames2.default)('FlexTable__row', rowClass),\n\t onClick: function onClick() {\n\t return onRowClick(rowIndex);\n\t },\n\t style: {\n\t height: this._getRowHeight(rowIndex),\n\t paddingRight: scrollbarWidth\n\t }\n\t },\n\t renderedRow\n\t );\n\t }\n\t\n\t /**\n\t * Determines the flex-shrink, flex-grow, and width values for a cell (header or column).\n\t */\n\t\n\t }, {\n\t key: '_getFlexStyleForColumn',\n\t value: function _getFlexStyleForColumn(column) {\n\t var flexValue = column.props.flexGrow + ' ' + column.props.flexShrink + ' ' + column.props.width + 'px';\n\t\n\t var style = {\n\t flex: flexValue,\n\t msFlex: flexValue,\n\t WebkitFlex: flexValue\n\t };\n\t\n\t if (column.props.maxWidth) {\n\t style.maxWidth = column.props.maxWidth;\n\t }\n\t\n\t if (column.props.minWidth) {\n\t style.minWidth = column.props.minWidth;\n\t }\n\t\n\t return style;\n\t }\n\t }, {\n\t key: '_getRenderedHeaderRow',\n\t value: function _getRenderedHeaderRow() {\n\t var _this4 = this;\n\t\n\t var _props4 = this.props;\n\t var children = _props4.children;\n\t var disableHeader = _props4.disableHeader;\n\t\n\t var items = disableHeader ? [] : children;\n\t return _react2.default.Children.map(items, function (column, columnIndex) {\n\t return _this4._createHeader(column, columnIndex);\n\t });\n\t }\n\t }, {\n\t key: '_getRowHeight',\n\t value: function _getRowHeight(rowIndex) {\n\t var rowHeight = this.props.rowHeight;\n\t\n\t\n\t return rowHeight instanceof Function ? rowHeight(rowIndex) : rowHeight;\n\t }\n\t }, {\n\t key: '_setScrollbarWidth',\n\t value: function _setScrollbarWidth() {\n\t var Grid = (0, _reactDom.findDOMNode)(this.refs.Grid);\n\t var clientWidth = Grid.clientWidth || 0;\n\t var offsetWidth = Grid.offsetWidth || 0;\n\t var scrollbarWidth = offsetWidth - clientWidth;\n\t\n\t this.setState({ scrollbarWidth: scrollbarWidth });\n\t }\n\t }]);\n\t\n\t return FlexTable;\n\t}(_react.Component), _class.propTypes = {\n\t /** One or more FlexColumns describing the data displayed in this row */\n\t children: function children(props, propName, componentName) {\n\t var children = _react2.default.Children.toArray(props.children);\n\t for (var i = 0; i < children.length; i++) {\n\t if (children[i].type !== _FlexColumn2.default) {\n\t return new Error('FlexTable only accepts children of type FlexColumn');\n\t }\n\t }\n\t },\n\t\n\t /** Optional CSS class name */\n\t className: _react.PropTypes.string,\n\t\n\t /** Disable rendering the header at all */\n\t disableHeader: _react.PropTypes.bool,\n\t\n\t /** Optional CSS class to apply to all column headers */\n\t headerClassName: _react.PropTypes.string,\n\t\n\t /** Fixed height of header row */\n\t headerHeight: _react.PropTypes.number.isRequired,\n\t\n\t /** Fixed/available height for out DOM element */\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t /** Optional renderer to be used in place of table body rows when rowsCount is 0 */\n\t noRowsRenderer: _react.PropTypes.func,\n\t\n\t /**\n\t * Optional callback when a column's header is clicked.\n\t * (dataKey: string): void\n\t */\n\t onHeaderClick: _react.PropTypes.func,\n\t\n\t /**\n\t * Callback invoked when a user clicks on a table row.\n\t * (rowIndex: number): void\n\t */\n\t onRowClick: _react.PropTypes.func,\n\t\n\t /**\n\t * Callback invoked with information about the slice of rows that were just rendered.\n\t * ({ startIndex, stopIndex }): void\n\t */\n\t onRowsRendered: _react.PropTypes.func,\n\t\n\t /**\n\t * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n\t * This callback can be used to sync scrolling between lists, tables, or grids.\n\t * ({ clientHeight, scrollHeight, scrollTop }): void\n\t */\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Number of rows to render above/below the visible bounds of the list.\n\t * These rows can help for smoother scrolling on touch devices.\n\t */\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Optional CSS class to apply to all table rows (including the header row).\n\t * This property can be a CSS class name (string) or a function that returns a class name.\n\t * If a function is provided its signature should be: (rowIndex: number): string\n\t */\n\t rowClassName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.func]),\n\t\n\t /**\n\t * Callback responsible for returning a data row given an index.\n\t * (index: number): any\n\t */\n\t rowGetter: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Either a fixed row height (number) or a function that returns the height of a row given its index.\n\t * (index: number): number\n\t */\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t /** Number of rows in table. */\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t /** Row index to ensure visible (by forcefully scrolling if necessary) */\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t /** Vertical offset. */\n\t scrollTop: _react.PropTypes.number,\n\t\n\t /**\n\t * Sort function to be called if a sortable header is clicked.\n\t * (dataKey: string, sortDirection: SortDirection): void\n\t */\n\t sort: _react.PropTypes.func,\n\t\n\t /** FlexTable data is currently sorted by this :dataKey (if it is sorted at all) */\n\t sortBy: _react.PropTypes.string,\n\t\n\t /** FlexTable data is currently sorted in this direction (if it is sorted at all) */\n\t sortDirection: _react.PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n\t\n\t /** Width of list */\n\t width: _react.PropTypes.number.isRequired\n\t}, _class.defaultProps = {\n\t disableHeader: false,\n\t headerHeight: 0,\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onHeaderClick: function onHeaderClick() {\n\t return null;\n\t },\n\t onRowClick: function onRowClick() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t overscanRowsCount: 10\n\t}, _initialiseProps = function _initialiseProps() {\n\t this.shouldComponentUpdate = _function2.default;\n\t}, _temp);\n\t\n\t/**\n\t * Displayed beside a header to indicate that a FlexTable is currently sorted by this column.\n\t */\n\t\n\texports.default = FlexTable;\n\tfunction SortIndicator(_ref4) {\n\t var sortDirection = _ref4.sortDirection;\n\t\n\t var classNames = (0, _classnames2.default)('FlexTable__sortableHeaderIcon', {\n\t 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC,\n\t 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'svg',\n\t {\n\t className: classNames,\n\t width: 18,\n\t height: 18,\n\t viewBox: '0 0 24 24',\n\t xmlns: 'http://www.w3.org/2000/svg'\n\t },\n\t sortDirection === SortDirection.ASC ? _react2.default.createElement('path', { d: 'M7 14l5-5 5 5z' }) : _react2.default.createElement('path', { d: 'M7 10l5 5 5-5z' }),\n\t _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })\n\t );\n\t}\n\tSortIndicator.propTypes = {\n\t sortDirection: _react.PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC])\n\t};\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = undefined;\n\t\n\tvar _class, _temp;\n\t\n\texports.defaultCellRenderer = defaultCellRenderer;\n\texports.defaultCellDataGetter = defaultCellDataGetter;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\n\t * Default cell renderer that displays an attribute as a simple string\n\t * You should override the column's cellRenderer if your data is some other type of object.\n\t */\n\tfunction defaultCellRenderer(cellData, cellDataKey, rowData, rowIndex, columnData) {\n\t if (cellData === null || cellData === undefined) {\n\t return '';\n\t } else {\n\t return String(cellData);\n\t }\n\t}\n\t\n\t/**\n\t * Default accessor for returning a cell value for a given attribute.\n\t * This function expects to operate on either a vanilla Object or an Immutable Map.\n\t * You should override the column's cellDataGetter if your data is some other type of object.\n\t */\n\tfunction defaultCellDataGetter(dataKey, rowData, columnData) {\n\t if (rowData.get instanceof Function) {\n\t return rowData.get(dataKey);\n\t } else {\n\t return rowData[dataKey];\n\t }\n\t}\n\t\n\t/**\n\t * Describes the header and cell contents of a table column.\n\t */\n\tvar Column = (_temp = _class = function (_Component) {\n\t _inherits(Column, _Component);\n\t\n\t function Column() {\n\t _classCallCheck(this, Column);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(Column).apply(this, arguments));\n\t }\n\t\n\t return Column;\n\t}(_react.Component), _class.defaultProps = {\n\t cellDataGetter: defaultCellDataGetter,\n\t cellRenderer: defaultCellRenderer,\n\t flexGrow: 0,\n\t flexShrink: 1\n\t}, _class.propTypes = {\n\t /** Optional CSS class to apply to cell */\n\t cellClassName: _react.PropTypes.string,\n\t /**\n\t * Callback responsible for returning a cell's data, given its :dataKey\n\t * (dataKey: string, rowData: any): any\n\t */\n\t cellDataGetter: _react.PropTypes.func,\n\t /**\n\t * Callback responsible for rendering a cell's contents.\n\t * (cellData: any, cellDataKey: string, rowData: any, rowIndex: number, columnData: any): element\n\t */\n\t cellRenderer: _react.PropTypes.func,\n\t /** Optional additional data passed to this column's :cellDataGetter */\n\t columnData: _react.PropTypes.object,\n\t /** Uniquely identifies the row-data attribute correspnding to this cell */\n\t dataKey: _react.PropTypes.any.isRequired,\n\t /** If sort is enabled for the table at large, disable it for this column */\n\t disableSort: _react.PropTypes.bool,\n\t /** Flex grow style; defaults to 0 */\n\t flexGrow: _react.PropTypes.number,\n\t /** Flex shrink style; defaults to 1 */\n\t flexShrink: _react.PropTypes.number,\n\t /** Optional CSS class to apply to this column's header */\n\t headerClassName: _react.PropTypes.string,\n\t /** Header label for this column */\n\t label: _react.PropTypes.string,\n\t /** Maximum width of column; this property will only be used if :flexGrow is > 0. */\n\t maxWidth: _react.PropTypes.number,\n\t /** Minimum width of column. */\n\t minWidth: _react.PropTypes.number,\n\t /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */\n\t width: _react.PropTypes.number.isRequired\n\t}, _temp);\n\texports.default = Column;\n\n/***/ },\n/* 21 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_21__;\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.InfiniteLoader = exports.default = undefined;\n\t\n\tvar _InfiniteLoader2 = __webpack_require__(23);\n\t\n\tvar _InfiniteLoader3 = _interopRequireDefault(_InfiniteLoader2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _InfiniteLoader3.default;\n\texports.InfiniteLoader = _InfiniteLoader3.default;\n\n/***/ },\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _class, _temp;\n\t\n\texports.isRangeVisible = isRangeVisible;\n\texports.scanForUnloadedRanges = scanForUnloadedRanges;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\n\t * Higher-order component that manages lazy-loading for \"infinite\" data.\n\t * This component decorates a virtual component and just-in-time prefetches rows as a user scrolls.\n\t * It is intended as a convenience component; fork it if you'd like finer-grained control over data-loading.\n\t */\n\tvar InfiniteLoader = (_temp = _class = function (_Component) {\n\t _inherits(InfiniteLoader, _Component);\n\t\n\t function InfiniteLoader(props, context) {\n\t _classCallCheck(this, InfiniteLoader);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(InfiniteLoader).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this._onRowsRendered = _this._onRowsRendered.bind(_this);\n\t _this._registerChild = _this._registerChild.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(InfiniteLoader, [{\n\t key: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t\n\t\n\t return children({\n\t onRowsRendered: this._onRowsRendered,\n\t registerChild: this._registerChild\n\t });\n\t }\n\t }, {\n\t key: '_onRowsRendered',\n\t value: function _onRowsRendered(_ref) {\n\t var _this2 = this;\n\t\n\t var startIndex = _ref.startIndex;\n\t var stopIndex = _ref.stopIndex;\n\t var _props = this.props;\n\t var isRowLoaded = _props.isRowLoaded;\n\t var loadMoreRows = _props.loadMoreRows;\n\t var rowsCount = _props.rowsCount;\n\t var threshold = _props.threshold;\n\t\n\t\n\t this._lastRenderedStartIndex = startIndex;\n\t this._lastRenderedStopIndex = stopIndex;\n\t\n\t var unloadedRanges = scanForUnloadedRanges({\n\t isRowLoaded: isRowLoaded,\n\t startIndex: Math.max(0, startIndex - threshold),\n\t stopIndex: Math.min(rowsCount, stopIndex + threshold)\n\t });\n\t\n\t unloadedRanges.forEach(function (unloadedRange) {\n\t var promise = loadMoreRows(unloadedRange);\n\t if (promise) {\n\t promise.then(function () {\n\t // Refresh the visible rows if any of them have just been loaded.\n\t // Otherwise they will remain in their unloaded visual state.\n\t if (isRangeVisible({\n\t lastRenderedStartIndex: _this2._lastRenderedStartIndex,\n\t lastRenderedStopIndex: _this2._lastRenderedStopIndex,\n\t startIndex: unloadedRange.startIndex,\n\t stopIndex: unloadedRange.stopIndex\n\t })) {\n\t if (_this2._registeredChild) {\n\t _this2._registeredChild.forceUpdate();\n\t }\n\t }\n\t });\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_registerChild',\n\t value: function _registerChild(registeredChild) {\n\t this._registeredChild = registeredChild;\n\t }\n\t }]);\n\t\n\t return InfiniteLoader;\n\t}(_react.Component), _class.propTypes = {\n\t /**\n\t * Function respondible for rendering a virtualized component.\n\t * This function should implement the following signature:\n\t * ({ onRowsRendered, registerChild }) => PropTypes.element\n\t *\n\t * The specified :onRowsRendered function should be passed through to the child's :onRowsRendered property.\n\t * The :registerChild callback should be set as the virtualized component's :ref.\n\t */\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Function responsible for tracking the loaded state of each row.\n\t * It should implement the following signature: (index: number): boolean\n\t */\n\t isRowLoaded: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Callback to be invoked when more rows must be loaded.\n\t * It should implement the following signature: ({ startIndex, stopIndex }): Promise\n\t * The returned Promise should be resolved once row data has finished loading.\n\t * It will be used to determine when to refresh the list with the newly-loaded data.\n\t * This callback may be called multiple times in reaction to a single scroll event.\n\t */\n\t loadMoreRows: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Number of rows in list; can be arbitrary high number if actual number is unknown.\n\t */\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Threshold at which to pre-fetch data.\n\t * A threshold X means that data will start loading when a user scrolls within X rows.\n\t * This value defaults to 15.\n\t */\n\t threshold: _react.PropTypes.number.isRequired\n\t}, _class.defaultProps = {\n\t rowsCount: 0,\n\t threshold: 15\n\t}, _temp);\n\t\n\t/**\n\t * Determines if the specified start/stop range is visible based on the most recently rendered range.\n\t */\n\t\n\texports.default = InfiniteLoader;\n\tfunction isRangeVisible(_ref2) {\n\t var lastRenderedStartIndex = _ref2.lastRenderedStartIndex;\n\t var lastRenderedStopIndex = _ref2.lastRenderedStopIndex;\n\t var startIndex = _ref2.startIndex;\n\t var stopIndex = _ref2.stopIndex;\n\t\n\t return !(startIndex > lastRenderedStopIndex || stopIndex < lastRenderedStartIndex);\n\t}\n\t\n\t/**\n\t * Returns all of the ranges within a larger range that contain unloaded rows.\n\t */\n\tfunction scanForUnloadedRanges(_ref3) {\n\t var isRowLoaded = _ref3.isRowLoaded;\n\t var startIndex = _ref3.startIndex;\n\t var stopIndex = _ref3.stopIndex;\n\t\n\t var unloadedRanges = [];\n\t var rangeStartIndex = null;\n\t var rangeStopIndex = null;\n\t\n\t for (var i = startIndex; i <= stopIndex; i++) {\n\t var loaded = isRowLoaded(i);\n\t\n\t if (!loaded) {\n\t rangeStopIndex = i;\n\t if (rangeStartIndex === null) {\n\t rangeStartIndex = i;\n\t }\n\t } else if (rangeStopIndex !== null) {\n\t unloadedRanges.push({\n\t startIndex: rangeStartIndex,\n\t stopIndex: rangeStopIndex\n\t });\n\t\n\t rangeStartIndex = rangeStopIndex = null;\n\t }\n\t }\n\t\n\t if (rangeStopIndex !== null) {\n\t unloadedRanges.push({\n\t startIndex: rangeStartIndex,\n\t stopIndex: rangeStopIndex\n\t });\n\t }\n\t\n\t return unloadedRanges;\n\t}\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.ScrollSync = exports.default = undefined;\n\t\n\tvar _ScrollSync2 = __webpack_require__(25);\n\t\n\tvar _ScrollSync3 = _interopRequireDefault(_ScrollSync2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _ScrollSync3.default;\n\texports.ScrollSync = _ScrollSync3.default;\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _class, _temp;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\n\t * HOC that simplifies the process of synchronizing scrolling between two or more virtualized components.\n\t */\n\tvar ScrollSync = (_temp = _class = function (_Component) {\n\t _inherits(ScrollSync, _Component);\n\t\n\t function ScrollSync(props, context) {\n\t _classCallCheck(this, ScrollSync);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ScrollSync).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this.state = {\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t };\n\t\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ScrollSync, [{\n\t key: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t var _state = this.state;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollTop = _state.scrollTop;\n\t\n\t\n\t return children({\n\t onScroll: this._onScroll,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(_ref) {\n\t var scrollLeft = _ref.scrollLeft;\n\t var scrollTop = _ref.scrollTop;\n\t\n\t this.setState({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t }]);\n\t\n\t return ScrollSync;\n\t}(_react.Component), _class.propTypes = {\n\t /**\n\t * Function respondible for rendering 2 or more virtualized components.\n\t * This function should implement the following signature:\n\t * ({ onScroll, scrollLeft, scrollTop }) => PropTypes.element\n\t */\n\t children: _react.PropTypes.func.isRequired\n\t}, _temp);\n\texports.default = ScrollSync;\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.VirtualScroll = exports.default = undefined;\n\t\n\tvar _VirtualScroll2 = __webpack_require__(27);\n\t\n\tvar _VirtualScroll3 = _interopRequireDefault(_VirtualScroll2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _VirtualScroll3.default;\n\texports.VirtualScroll = _VirtualScroll3.default;\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _class, _temp2;\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\n\t * It is inefficient to create and manage a large list of DOM elements within a scrolling container\n\t * if only a few of those elements are visible. The primary purpose of this component is to improve\n\t * performance by only rendering the DOM nodes that a user is able to see based on their current\n\t * scroll position.\n\t *\n\t * This component renders a virtualized list of elements with either fixed or dynamic heights.\n\t */\n\tvar VirtualScroll = (_temp2 = _class = function (_Component) {\n\t _inherits(VirtualScroll, _Component);\n\t\n\t function VirtualScroll() {\n\t var _Object$getPrototypeO;\n\t\n\t var _temp, _this, _ret;\n\t\n\t _classCallCheck(this, VirtualScroll);\n\t\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_Object$getPrototypeO = Object.getPrototypeOf(VirtualScroll)).call.apply(_Object$getPrototypeO, [this].concat(args))), _this), _this.shouldComponentUpdate = _function2.default, _temp), _possibleConstructorReturn(_this, _ret);\n\t }\n\t\n\t _createClass(VirtualScroll, [{\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var scrollTop = this.props.scrollTop;\n\t\n\t\n\t if (scrollTop >= 0) {\n\t this.setScrollTop(scrollTop);\n\t }\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.scrollTop !== this.props.scrollTop) {\n\t this.setScrollTop(nextProps.scrollTop);\n\t }\n\t }\n\t\n\t /**\n\t * See Grid#recomputeGridSize\n\t */\n\t\n\t }, {\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.refs.Grid.recomputeGridSize();\n\t }\n\t\n\t /**\n\t * See Grid#scrollToCell\n\t */\n\t\n\t }, {\n\t key: 'scrollToRow',\n\t value: function scrollToRow(scrollToIndex) {\n\t this.refs.Grid.scrollToCell({\n\t scrollToColumn: 0,\n\t scrollToRow: scrollToIndex\n\t });\n\t }\n\t\n\t /**\n\t * See Grid#setScrollPosition\n\t */\n\t\n\t }, {\n\t key: 'setScrollTop',\n\t value: function setScrollTop(scrollTop) {\n\t this.refs.Grid.setScrollPosition({\n\t scrollLeft: 0,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props = this.props;\n\t var className = _props.className;\n\t var height = _props.height;\n\t var noRowsRenderer = _props.noRowsRenderer;\n\t var onRowsRendered = _props.onRowsRendered;\n\t var _onScroll = _props.onScroll;\n\t var rowHeight = _props.rowHeight;\n\t var rowRenderer = _props.rowRenderer;\n\t var overscanRowsCount = _props.overscanRowsCount;\n\t var rowsCount = _props.rowsCount;\n\t var scrollToIndex = _props.scrollToIndex;\n\t var width = _props.width;\n\t\n\t\n\t var classNames = (0, _classnames2.default)('VirtualScroll', className);\n\t\n\t return _react2.default.createElement(_Grid2.default, {\n\t ref: 'Grid',\n\t className: classNames,\n\t columnWidth: width,\n\t columnsCount: 1,\n\t height: height,\n\t noContentRenderer: noRowsRenderer,\n\t onScroll: function onScroll(_ref) {\n\t var clientHeight = _ref.clientHeight;\n\t var scrollHeight = _ref.scrollHeight;\n\t var scrollTop = _ref.scrollTop;\n\t return _onScroll({ clientHeight: clientHeight, scrollHeight: scrollHeight, scrollTop: scrollTop });\n\t },\n\t onSectionRendered: function onSectionRendered(_ref2) {\n\t var rowOverscanStartIndex = _ref2.rowOverscanStartIndex;\n\t var rowOverscanStopIndex = _ref2.rowOverscanStopIndex;\n\t var rowStartIndex = _ref2.rowStartIndex;\n\t var rowStopIndex = _ref2.rowStopIndex;\n\t return onRowsRendered({\n\t overscanStartIndex: rowOverscanStartIndex,\n\t overscanStopIndex: rowOverscanStopIndex,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t },\n\t overscanRowsCount: overscanRowsCount,\n\t renderCell: function renderCell(_ref3) {\n\t var columnIndex = _ref3.columnIndex;\n\t var rowIndex = _ref3.rowIndex;\n\t return rowRenderer(rowIndex);\n\t },\n\t rowHeight: rowHeight,\n\t rowsCount: rowsCount,\n\t scrollToRow: scrollToIndex,\n\t width: width\n\t });\n\t }\n\t }]);\n\t\n\t return VirtualScroll;\n\t}(_react.Component), _class.propTypes = {\n\t /** Optional CSS class name */\n\t className: _react.PropTypes.string,\n\t\n\t /** Height constraint for list (determines how many actual rows are rendered) */\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t /** Optional renderer to be used in place of rows when rowsCount is 0 */\n\t noRowsRenderer: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Callback invoked with information about the slice of rows that were just rendered.\n\t * ({ startIndex, stopIndex }): void\n\t */\n\t onRowsRendered: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Number of rows to render above/below the visible bounds of the list.\n\t * These rows can help for smoother scrolling on touch devices.\n\t */\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n\t * This callback can be used to sync scrolling between lists, tables, or grids.\n\t * ({ clientHeight, scrollHeight, scrollTop }): void\n\t */\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Either a fixed row height (number) or a function that returns the height of a row given its index.\n\t * (index: number): number\n\t */\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t /** Responsbile for rendering a row given an index */\n\t rowRenderer: _react.PropTypes.func.isRequired,\n\t\n\t /** Number of rows in list. */\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t /** Row index to ensure visible (by forcefully scrolling if necessary) */\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t /** Vertical offset. */\n\t scrollTop: _react.PropTypes.number,\n\t\n\t /** Width of list */\n\t width: _react.PropTypes.number.isRequired\n\t}, _class.defaultProps = {\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t overscanRowsCount: 10\n\t}, _temp2);\n\texports.default = VirtualScroll;\n\n/***/ }\n/******/ ])\n});\n;\n\n\n/** WEBPACK FOOTER **\n ** react-virtualized.js\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap a3a391bdcfdc485378e5\n **/","/* @flow */\nexport { AutoSizer } from './AutoSizer'\nexport { ColumnSizer } from './ColumnSizer'\nexport { FlexTable, FlexColumn, SortDirection, SortIndicator } from './FlexTable'\nexport { Grid } from './Grid'\nexport { InfiniteLoader } from './InfiniteLoader'\nexport { ScrollSync } from './ScrollSync'\nexport { VirtualScroll } from './VirtualScroll'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/index.js\n **/","export default from './AutoSizer'\nexport AutoSizer from './AutoSizer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/AutoSizer/index.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Decorator component that automatically adjusts the width and height of a single child.\n * Child component should not be declared as a child but should rather be specified by a `ChildComponent` property.\n * All other properties will be passed through to the child component.\n */\nexport default class AutoSizer extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering children.\n * This function should implement the following signature:\n * ({ height, width }) => PropTypes.element\n */\n children: PropTypes.func.isRequired,\n\n /** Disable dynamic :height property */\n disableHeight: PropTypes.bool,\n\n /** Disable dynamic :width property */\n disableWidth: PropTypes.bool,\n\n /** Callback to be invoked on-resize: ({ height, width }) */\n onResize: PropTypes.func.isRequired\n }\n\n static defaultProps = {\n onResize: () => {}\n }\n\n constructor (props) {\n super(props)\n\n this.state = {\n height: 0,\n width: 0\n }\n\n this._onResize = this._onResize.bind(this)\n this._setRef = this._setRef.bind(this)\n }\n\n componentDidMount () {\n // Defer requiring resize handler in order to support server-side rendering.\n // See issue #41\n this._detectElementResize = require('../vendor/detectElementResize')\n this._detectElementResize.addResizeListener(this._parentNode, this._onResize)\n\n this._onResize()\n }\n\n componentWillUnmount () {\n this._detectElementResize.removeResizeListener(this._parentNode, this._onResize)\n }\n\n render () {\n const { children, disableHeight, disableWidth } = this.props\n const { height, width } = this.state\n\n // Outer div should not force width/height since that may prevent containers from shrinking.\n // Inner component should overflow and use calculated width/height.\n // See issue #68 for more information.\n const outerStyle = { overflow: 'visible' }\n\n if (!disableHeight) {\n outerStyle.height = 0\n }\n\n if (!disableWidth) {\n outerStyle.width = 0\n }\n\n return (\n \n {children({ height, width })}\n \n )\n }\n\n _onResize () {\n const { onResize } = this.props\n const { height, width } = this._parentNode.getBoundingClientRect()\n\n const style = getComputedStyle(this._parentNode)\n const paddingLeft = parseInt(style.paddingLeft, 10)\n const paddingRight = parseInt(style.paddingRight, 10)\n const paddingTop = parseInt(style.paddingTop, 10)\n const paddingBottom = parseInt(style.paddingBottom, 10)\n\n this.setState({\n height: height - paddingTop - paddingBottom,\n width: width - paddingLeft - paddingRight\n })\n\n onResize({ height, width })\n }\n\n _setRef (autoSizer) {\n // In case the component has been unmounted\n this._parentNode = autoSizer && autoSizer.parentNode\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/AutoSizer/AutoSizer.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}\n ** module id = 3\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports['default'] = shouldPureComponentUpdate;\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _shallowEqual = require('./shallowEqual');\n\nvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\nfunction shouldPureComponentUpdate(nextProps, nextState) {\n return !(0, _shallowEqual2['default'])(this.props, nextProps) || !(0, _shallowEqual2['default'])(this.state, nextState);\n}\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-pure-render/function.js\n ** module id = 4\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports['default'] = shallowEqual;\n\nfunction shallowEqual(objA, objB) {\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n for (var i = 0; i < keysA.length; i++) {\n if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-pure-render/shallowEqual.js\n ** module id = 5\n ** module chunks = 0\n **/","/**\n* Detect Element Resize.\n* Forked in order to guard against unsafe 'window' and 'document' references.\n*\n* https://github.com/sdecima/javascript-detect-element-resize\n* Sebastian Decima\n*\n* version: 0.5.3\n**/\n\n// Check `document` and `window` in case of server-side rendering\nvar _window\nif (typeof window !== 'undefined') {\n _window = window\n} else if (typeof self !== 'undefined') {\n _window = self\n} else {\n _window = this\n}\n\nvar attachEvent = typeof document !== 'undefined' && document.attachEvent;\nvar stylesCreated = false;\n\nif (!attachEvent) {\n var requestFrame = (function(){\n var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame ||\n function(fn){ return _window.setTimeout(fn, 20); };\n return function(fn){ return raf(fn); };\n })();\n\n var cancelFrame = (function(){\n var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame ||\n _window.clearTimeout;\n return function(id){ return cancel(id); };\n })();\n\n var resetTriggers = function(element){\n var triggers = element.__resizeTriggers__,\n expand = triggers.firstElementChild,\n contract = triggers.lastElementChild,\n expandChild = expand.firstElementChild;\n contract.scrollLeft = contract.scrollWidth;\n contract.scrollTop = contract.scrollHeight;\n expandChild.style.width = expand.offsetWidth + 1 + 'px';\n expandChild.style.height = expand.offsetHeight + 1 + 'px';\n expand.scrollLeft = expand.scrollWidth;\n expand.scrollTop = expand.scrollHeight;\n };\n\n var checkTriggers = function(element){\n return element.offsetWidth != element.__resizeLast__.width ||\n element.offsetHeight != element.__resizeLast__.height;\n }\n\n var scrollListener = function(e){\n var element = this;\n resetTriggers(this);\n if (this.__resizeRAF__) cancelFrame(this.__resizeRAF__);\n this.__resizeRAF__ = requestFrame(function(){\n if (checkTriggers(element)) {\n element.__resizeLast__.width = element.offsetWidth;\n element.__resizeLast__.height = element.offsetHeight;\n element.__resizeListeners__.forEach(function(fn){\n fn.call(element, e);\n });\n }\n });\n };\n\n /* Detect CSS Animations support to detect element display/re-attach */\n var animation = false,\n animationstring = 'animation',\n keyframeprefix = '',\n animationstartevent = 'animationstart',\n domPrefixes = 'Webkit Moz O ms'.split(' '),\n startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n pfx = '';\n {\n var elm = document.createElement('fakeelement');\n if( elm.style.animationName !== undefined ) { animation = true; }\n\n if( animation === false ) {\n for( var i = 0; i < domPrefixes.length; i++ ) {\n if( elm.style[ domPrefixes[i] + 'AnimationName' ] !== undefined ) {\n pfx = domPrefixes[ i ];\n animationstring = pfx + 'Animation';\n keyframeprefix = '-' + pfx.toLowerCase() + '-';\n animationstartevent = startEvents[ i ];\n animation = true;\n break;\n }\n }\n }\n }\n\n var animationName = 'resizeanim';\n var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n}\n\nvar createStyles = function() {\n if (!stylesCreated) {\n //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360\n var css = (animationKeyframes ? animationKeyframes : '') +\n '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' +\n '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \\\" \\\"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n head = document.head || document.getElementsByTagName('head')[0],\n style = document.createElement('style');\n\n style.type = 'text/css';\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n\n head.appendChild(style);\n stylesCreated = true;\n }\n}\n\nvar addResizeListener = function(element, fn){\n if (attachEvent) element.attachEvent('onresize', fn);\n else {\n if (!element.__resizeTriggers__) {\n if (getComputedStyle(element).position == 'static') element.style.position = 'relative';\n createStyles();\n element.__resizeLast__ = {};\n element.__resizeListeners__ = [];\n (element.__resizeTriggers__ = document.createElement('div')).className = 'resize-triggers';\n element.__resizeTriggers__.innerHTML = '
' +\n '
';\n element.appendChild(element.__resizeTriggers__);\n resetTriggers(element);\n element.addEventListener('scroll', scrollListener, true);\n\n /* Listen for a css animation to detect element display/re-attach */\n animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function(e) {\n if(e.animationName == animationName)\n resetTriggers(element);\n });\n }\n element.__resizeListeners__.push(fn);\n }\n};\n\nvar removeResizeListener = function(element, fn){\n if (attachEvent) element.detachEvent('onresize', fn);\n else {\n element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n if (!element.__resizeListeners__.length) {\n element.removeEventListener('scroll', scrollListener);\n element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n }\n }\n}\n\nmodule.exports = {\n addResizeListener : addResizeListener,\n removeResizeListener : removeResizeListener\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/vendor/detectElementResize.js\n **/","/** @flow */\nexport default from './ColumnSizer'\nexport ColumnSizer from './ColumnSizer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ColumnSizer/index.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\nimport Grid from '../Grid'\n\n/**\n * High-order component that auto-calculates column-widths for `Grid` cells.\n */\nexport default class ColumnSizer extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering a virtualized Grid.\n * This function should implement the following signature:\n * ({ adjustedWidth, getColumnWidth, registerChild }) => PropTypes.element\n *\n * The specified :getColumnWidth function should be passed to the Grid's :columnWidth property.\n * The :registerChild should be passed to the Grid's :ref property.\n * The :adjustedWidth property is optional; it reflects the lesser of the overall width or the width of all columns.\n */\n children: PropTypes.func.isRequired,\n\n /** Optional maximum allowed column width */\n columnMaxWidth: PropTypes.number,\n\n /** Optional minimum allowed column width */\n columnMinWidth: PropTypes.number,\n\n /** Number of columns in Grid or FlexTable child */\n columnsCount: PropTypes.number.isRequired,\n\n /** Width of Grid or FlexTable child */\n width: PropTypes.number.isRequired\n }\n\n constructor (props, context) {\n super(props, context)\n\n this._registerChild = this._registerChild.bind(this)\n }\n\n componentDidUpdate (prevProps, prevState) {\n const {\n columnMaxWidth,\n columnMinWidth,\n columnsCount,\n width\n } = this.props\n\n if (\n columnMaxWidth !== prevProps.columnMaxWidth ||\n columnMinWidth !== prevProps.columnMinWidth ||\n columnsCount !== prevProps.columnsCount ||\n width !== prevProps.width\n ) {\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize()\n }\n }\n }\n\n render () {\n const {\n children,\n columnMaxWidth,\n columnMinWidth,\n columnsCount,\n width\n } = this.props\n\n const safeColumnMinWidth = columnMinWidth || 1\n\n const safeColumnMaxWidth = columnMaxWidth\n ? Math.min(columnMaxWidth, width)\n : width\n\n let columnWidth = width / columnsCount\n columnWidth = Math.max(safeColumnMinWidth, columnWidth)\n columnWidth = Math.min(safeColumnMaxWidth, columnWidth)\n columnWidth = Math.floor(columnWidth)\n\n let adjustedWidth = Math.min(width, columnWidth * columnsCount)\n\n return children({\n adjustedWidth,\n getColumnWidth: () => columnWidth,\n registerChild: this._registerChild\n })\n }\n\n _registerChild (child) {\n if (child !== null && !(child instanceof Grid)) {\n throw Error('Unexpected child type registered; only Grid children are supported.')\n }\n\n this._registeredChild = child\n\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize()\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ColumnSizer/ColumnSizer.js\n **/","/** @flow */\nexport default from './Grid'\nexport Grid from './Grid'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/index.js\n **/","/** @flow */\nimport {\n computeCellMetadataAndUpdateScrollOffsetHelper,\n createCallbackMemoizer,\n getOverscanIndices,\n getUpdatedOffsetForIndex,\n getVisibleCellIndices,\n initCellMetadata,\n updateScrollIndexHelper\n} from '../utils'\nimport cn from 'classnames'\nimport raf from 'raf'\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nconst IS_SCROLLING_TIMEOUT = 150\n\n/**\n * Controls whether the Grid updates the DOM element's scrollLeft/scrollTop based on the current state or just observes it.\n * This prevents Grid from interrupting mouse-wheel animations (see issue #2).\n */\nconst SCROLL_POSITION_CHANGE_REASONS = {\n OBSERVED: 'observed',\n REQUESTED: 'requested'\n}\n\n/**\n * Renders tabular data with virtualization along the vertical and horizontal axes.\n * Row heights and column widths must be known ahead of time and specified as properties.\n */\nexport default class Grid extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Optional custom CSS class name to attach to root Grid element.\n */\n className: PropTypes.string,\n\n /**\n * Number of columns in grid.\n */\n columnsCount: PropTypes.number.isRequired,\n\n /**\n * Either a fixed column width (number) or a function that returns the width of a column given its index.\n * Should implement the following interface: (index: number): number\n */\n columnWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /**\n * Height of Grid; this property determines the number of visible (vs virtualized) rows.\n */\n height: PropTypes.number.isRequired,\n\n /**\n * Optional renderer to be used in place of rows when either :rowsCount or :columnsCount is 0.\n */\n noContentRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Callback invoked with information about the section of the Grid that was just rendered.\n * ({ columnStartIndex, columnStopIndex, rowStartIndex, rowStopIndex }): void\n */\n onSectionRendered: PropTypes.func.isRequired,\n\n /**\n * Number of columns to render before/after the visible section of the grid.\n * These columns can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanColumnsCount: PropTypes.number.isRequired,\n\n /**\n * Number of rows to render above/below the visible section of the grid.\n * These rows can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanRowsCount: PropTypes.number.isRequired,\n\n /**\n * Responsible for rendering a cell given an row and column index.\n * Should implement the following interface: ({ columnIndex: number, rowIndex: number }): PropTypes.node\n */\n renderCell: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * Should implement the following interface: (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /**\n * Number of rows in grid.\n */\n rowsCount: PropTypes.number.isRequired,\n\n /** Horizontal offset. */\n scrollLeft: PropTypes.number,\n\n /**\n * Column index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToColumn: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /**\n * Row index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToRow: PropTypes.number,\n\n /**\n * Width of Grid; this property determines the number of visible (vs virtualized) columns.\n */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n noContentRenderer: () => null,\n onScroll: () => null,\n onSectionRendered: () => null,\n overscanColumnsCount: 0,\n overscanRowsCount: 10\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n computeGridMetadataOnNextUpdate: false,\n isScrolling: false,\n scrollLeft: 0,\n scrollTop: 0\n }\n\n // Invokes onSectionRendered callback only when start/stop row or column indices change\n this._onGridRenderedMemoizer = createCallbackMemoizer()\n this._onScrollMemoizer = createCallbackMemoizer(false)\n\n // Bind functions to instance so they don't lose context when passed around\n this._computeGridMetadata = this._computeGridMetadata.bind(this)\n this._invokeOnGridRenderedHelper = this._invokeOnGridRenderedHelper.bind(this)\n this._onKeyPress = this._onKeyPress.bind(this)\n this._onScroll = this._onScroll.bind(this)\n this._updateScrollLeftForScrollToColumn = this._updateScrollLeftForScrollToColumn.bind(this)\n this._updateScrollTopForScrollToRow = this._updateScrollTopForScrollToRow.bind(this)\n }\n\n /**\n * Forced recompute of row heights and column widths.\n * This function should be called if dynamic column or row sizes have changed but nothing else has.\n * Since Grid only receives :columnsCount and :rowsCount it has no way of detecting when the underlying data changes.\n */\n recomputeGridSize () {\n this.setState({\n computeGridMetadataOnNextUpdate: true\n })\n }\n\n /**\n * Updates the Grid to ensure the cell at the specified row and column indices is visible.\n * This method exists so that a user can forcefully scroll to the same cell twice.\n * (The :scrollToColumn and :scrollToRow properties would not change in that case so it would not be picked up by the component.)\n */\n scrollToCell ({ scrollToColumn, scrollToRow }) {\n this._updateScrollLeftForScrollToColumn(scrollToColumn)\n this._updateScrollTopForScrollToRow(scrollToRow)\n }\n\n /**\n * Set the :scrollLeft and :scrollTop position within the inner scroll container.\n * Normally it is best to let Grid manage these properties or to use a method like :scrollToCell.\n * This method enables Grid to be scroll-synced to another react-virtualized component though.\n * It is appropriate to use in that case.\n */\n setScrollPosition ({ scrollLeft, scrollTop }) {\n const newState = {\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n }\n\n if (scrollLeft >= 0) {\n newState.scrollLeft = scrollLeft\n }\n\n if (scrollTop >= 0) {\n newState.scrollTop = scrollTop\n }\n\n if (\n scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft ||\n scrollTop >= 0 && scrollTop !== this.state.scrollTop\n ) {\n this.setState(newState)\n }\n }\n\n componentDidMount () {\n const { scrollLeft, scrollToColumn, scrollTop, scrollToRow } = this.props\n\n if (scrollLeft >= 0 || scrollTop >= 0) {\n this.setScrollPosition({ scrollLeft, scrollTop })\n }\n\n if (scrollToColumn >= 0 || scrollToRow >= 0) {\n // Without setImmediate() the initial scrollingContainer.scrollTop assignment doesn't work\n this._setImmediateId = setImmediate(() => {\n this._setImmediateId = null\n this._updateScrollLeftForScrollToColumn()\n this._updateScrollTopForScrollToRow()\n })\n }\n\n // Update onRowsRendered callback\n this._invokeOnGridRenderedHelper()\n }\n\n componentDidUpdate (prevProps, prevState) {\n const { columnsCount, columnWidth, height, rowHeight, rowsCount, scrollToColumn, scrollToRow, width } = this.props\n const { scrollLeft, scrollPositionChangeReason, scrollTop } = this.state\n\n // Make sure requested changes to :scrollLeft or :scrollTop get applied.\n // Assigning to scrollLeft/scrollTop tells the browser to interrupt any running scroll animations,\n // And to discard any pending async changes to the scroll position that may have happened in the meantime (e.g. on a separate scrolling thread).\n // So we only set these when we require an adjustment of the scroll position.\n // See issue #2 for more information.\n if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n if (\n scrollLeft >= 0 &&\n scrollLeft !== prevState.scrollLeft &&\n scrollLeft !== this.refs.scrollingContainer.scrollLeft\n ) {\n this.refs.scrollingContainer.scrollLeft = scrollLeft\n }\n if (\n scrollTop >= 0 &&\n scrollTop !== prevState.scrollTop &&\n scrollTop !== this.refs.scrollingContainer.scrollTop\n ) {\n this.refs.scrollingContainer.scrollTop = scrollTop\n }\n }\n\n // Update scrollLeft if appropriate\n updateScrollIndexHelper({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n cellSize: columnWidth,\n previousCellsCount: prevProps.columnsCount,\n previousCellSize: prevProps.columnWidth,\n previousScrollToIndex: prevProps.scrollToColumn,\n previousSize: prevProps.width,\n scrollOffset: scrollLeft,\n scrollToIndex: scrollToColumn,\n size: width,\n updateScrollIndexCallback: this._updateScrollLeftForScrollToColumn\n })\n\n // Update scrollTop if appropriate\n updateScrollIndexHelper({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n cellSize: rowHeight,\n previousCellsCount: prevProps.rowsCount,\n previousCellSize: prevProps.rowHeight,\n previousScrollToIndex: prevProps.scrollToRow,\n previousSize: prevProps.height,\n scrollOffset: scrollTop,\n scrollToIndex: scrollToRow,\n size: height,\n updateScrollIndexCallback: this._updateScrollTopForScrollToRow\n })\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnGridRenderedHelper()\n }\n\n componentWillMount () {\n this._computeGridMetadata(this.props)\n }\n\n componentWillUnmount () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n if (this._setImmediateId) {\n clearImmediate(this._setImmediateId)\n }\n\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (\n nextProps.columnsCount === 0 &&\n nextState.scrollLeft !== 0\n ) {\n this.setScrollPosition({ scrollLeft: 0 })\n }\n\n if (\n nextProps.rowsCount === 0 &&\n nextState.scrollTop !== 0\n ) {\n this.setScrollPosition({ scrollTop: 0 })\n }\n\n if (nextProps.scrollLeft !== this.props.scrollLeft) {\n this.setScrollPosition({ scrollLeft: nextProps.scrollLeft })\n }\n\n if (nextProps.scrollTop !== this.props.scrollTop) {\n this.setScrollPosition({ scrollTop: nextProps.scrollTop })\n }\n\n computeCellMetadataAndUpdateScrollOffsetHelper({\n cellsCount: this.props.columnsCount,\n cellSize: this.props.columnWidth,\n computeMetadataCallback: this._computeGridMetadata,\n computeMetadataCallbackProps: nextProps,\n computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n nextCellsCount: nextProps.columnsCount,\n nextCellSize: nextProps.columnWidth,\n nextScrollToIndex: nextProps.scrollToColumn,\n scrollToIndex: this.props.scrollToColumn,\n updateScrollOffsetForScrollToIndex: this._updateScrollLeftForScrollToColumn\n })\n\n computeCellMetadataAndUpdateScrollOffsetHelper({\n cellsCount: this.props.rowsCount,\n cellSize: this.props.rowHeight,\n computeMetadataCallback: this._computeGridMetadata,\n computeMetadataCallbackProps: nextProps,\n computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n nextCellsCount: nextProps.rowsCount,\n nextCellSize: nextProps.rowHeight,\n nextScrollToIndex: nextProps.scrollToRow,\n scrollToIndex: this.props.scrollToRow,\n updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToRow\n })\n\n this.setState({\n computeGridMetadataOnNextUpdate: false\n })\n }\n\n render () {\n const {\n className,\n columnsCount,\n height,\n noContentRenderer,\n overscanColumnsCount,\n overscanRowsCount,\n renderCell,\n rowsCount,\n width\n } = this.props\n\n const {\n isScrolling,\n scrollLeft,\n scrollTop\n } = this.state\n\n let childrenToDisplay = []\n\n // Render only enough columns and rows to cover the visible area of the grid.\n if (height > 0 && width > 0) {\n let {\n start: columnStartIndex,\n stop: columnStopIndex\n } = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n })\n\n let {\n start: rowStartIndex,\n stop: rowStopIndex\n } = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n })\n\n // Store for :onSectionRendered callback in componentDidUpdate\n this._renderedColumnStartIndex = columnStartIndex\n this._renderedColumnStopIndex = columnStopIndex\n this._renderedRowStartIndex = rowStartIndex\n this._renderedRowStopIndex = rowStopIndex\n\n const overscanColumnIndices = getOverscanIndices({\n cellsCount: columnsCount,\n overscanCellsCount: overscanColumnsCount,\n startIndex: columnStartIndex,\n stopIndex: columnStopIndex\n })\n\n const overscanRowIndices = getOverscanIndices({\n cellsCount: rowsCount,\n overscanCellsCount: overscanRowsCount,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })\n\n columnStartIndex = overscanColumnIndices.overscanStartIndex\n columnStopIndex = overscanColumnIndices.overscanStopIndex\n rowStartIndex = overscanRowIndices.overscanStartIndex\n rowStopIndex = overscanRowIndices.overscanStopIndex\n\n let key = 0\n\n for (let rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n let rowDatum = this._rowMetadata[rowIndex]\n\n for (let columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n let columnDatum = this._columnMetadata[columnIndex]\n let child = renderCell({ columnIndex, rowIndex })\n let transform = `translate(${columnDatum.offset}px, ${rowDatum.offset}px)`\n\n child = (\n \n {child}\n \n )\n\n childrenToDisplay.push(child)\n }\n }\n }\n\n return (\n \n {childrenToDisplay.length > 0 &&\n \n {childrenToDisplay}\n \n }\n {childrenToDisplay.length === 0 &&\n noContentRenderer()\n }\n \n )\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\n\n _computeGridMetadata (props) {\n const { columnsCount, columnWidth, rowHeight, rowsCount } = props\n\n this._columnMetadata = initCellMetadata({\n cellsCount: columnsCount,\n size: columnWidth\n })\n this._rowMetadata = initCellMetadata({\n cellsCount: rowsCount,\n size: rowHeight\n })\n }\n\n /**\n * Sets an :isScrolling flag for a small window of time.\n * This flag is used to disable pointer events on the scrollable portion of the Grid.\n * This prevents jerky/stuttery mouse-wheel scrolling.\n */\n _enablePointerEventsAfterDelay () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n this._disablePointerEventsTimeoutId = setTimeout(() => {\n this._disablePointerEventsTimeoutId = null\n this.setState({\n isScrolling: false\n })\n }, IS_SCROLLING_TIMEOUT)\n }\n\n _getColumnWidth (index) {\n const { columnWidth } = this.props\n\n return columnWidth instanceof Function\n ? columnWidth(index)\n : columnWidth\n }\n\n _getRowHeight (index) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight(index)\n : rowHeight\n }\n\n _getTotalColumnsWidth () {\n if (this._columnMetadata.length === 0) {\n return 0\n }\n\n const datum = this._columnMetadata[this._columnMetadata.length - 1]\n return datum.offset + datum.size\n }\n\n _getTotalRowsHeight () {\n if (this._rowMetadata.length === 0) {\n return 0\n }\n\n const datum = this._rowMetadata[this._rowMetadata.length - 1]\n return datum.offset + datum.size\n }\n\n _invokeOnGridRenderedHelper () {\n const { columnsCount, onSectionRendered, overscanColumnsCount, overscanRowsCount, rowsCount } = this.props\n\n const {\n overscanStartIndex: columnOverscanStartIndex,\n overscanStopIndex: columnOverscanStopIndex\n } = getOverscanIndices({\n cellsCount: columnsCount,\n overscanCellsCount: overscanColumnsCount,\n startIndex: this._renderedColumnStartIndex,\n stopIndex: this._renderedColumnStopIndex\n })\n\n const {\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex\n } = getOverscanIndices({\n cellsCount: rowsCount,\n overscanCellsCount: overscanRowsCount,\n startIndex: this._renderedRowStartIndex,\n stopIndex: this._renderedRowStopIndex\n })\n\n this._onGridRenderedMemoizer({\n callback: onSectionRendered,\n indices: {\n columnOverscanStartIndex,\n columnOverscanStopIndex,\n columnStartIndex: this._renderedColumnStartIndex,\n columnStopIndex: this._renderedColumnStopIndex,\n rowOverscanStartIndex,\n rowOverscanStopIndex,\n rowStartIndex: this._renderedRowStartIndex,\n rowStopIndex: this._renderedRowStopIndex\n }\n })\n }\n\n /**\n * Updates the state during the next animation frame.\n * Use this method to avoid multiple renders in a small span of time.\n * This helps performance for bursty events (like onScroll).\n */\n _setNextState (state) {\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n\n this._setNextStateAnimationFrameId = raf(() => {\n this._setNextStateAnimationFrameId = null\n this.setState(state)\n })\n }\n\n _stopEvent (event) {\n event.preventDefault()\n }\n\n _updateScrollLeftForScrollToColumn (scrollToColumnOverride) {\n const scrollToColumn = scrollToColumnOverride != null\n ? scrollToColumnOverride\n : this.props.scrollToColumn\n\n const { width } = this.props\n const { scrollLeft } = this.state\n\n if (scrollToColumn >= 0) {\n const calculatedScrollLeft = getUpdatedOffsetForIndex({\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft,\n targetIndex: scrollToColumn\n })\n\n if (scrollLeft !== calculatedScrollLeft) {\n this.setScrollPosition({\n scrollLeft: calculatedScrollLeft\n })\n }\n }\n }\n\n _updateScrollTopForScrollToRow (scrollToRowOverride) {\n const scrollToRow = scrollToRowOverride != null\n ? scrollToRowOverride\n : this.props.scrollToRow\n\n const { height } = this.props\n const { scrollTop } = this.state\n\n if (scrollToRow >= 0) {\n const calculatedScrollTop = getUpdatedOffsetForIndex({\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop,\n targetIndex: scrollToRow\n })\n\n if (scrollTop !== calculatedScrollTop) {\n this.setScrollPosition({\n scrollTop: calculatedScrollTop\n })\n }\n }\n }\n\n /* ---------------------------- Event handlers ---------------------------- */\n\n _onKeyPress (event) {\n const { columnsCount, height, rowsCount, width } = this.props\n const { scrollLeft, scrollTop } = this.state\n\n let start, datum, newScrollLeft, newScrollTop\n\n if (columnsCount === 0 || rowsCount === 0) {\n return\n }\n\n switch (event.key) {\n case 'ArrowDown':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n datum = this._rowMetadata[start]\n newScrollTop = Math.min(\n this._getTotalRowsHeight() - height,\n scrollTop + datum.size\n )\n\n this.setScrollPosition({\n scrollTop: newScrollTop\n })\n break\n case 'ArrowLeft':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n }).start\n\n this.scrollToCell({\n scrollToColumn: Math.max(0, start - 1),\n scrollToRow: this.props.scrollToRow\n })\n break\n case 'ArrowRight':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n }).start\n datum = this._columnMetadata[start]\n newScrollLeft = Math.min(\n this._getTotalColumnsWidth() - width,\n scrollLeft + datum.size\n )\n\n this.setScrollPosition({\n scrollLeft: newScrollLeft\n })\n break\n case 'ArrowUp':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n\n this.scrollToCell({\n scrollToColumn: this.props.scrollToColumn,\n scrollToRow: Math.max(0, start - 1)\n })\n break\n }\n }\n\n _onScroll (event) {\n // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollLeft / target.scrollTop.\n // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n // See issue #404 for more information.\n if (event.target !== this.refs.scrollingContainer) {\n return\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n this._enablePointerEventsAfterDelay()\n\n // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n // This causes a series of rapid renders that is slow for long lists.\n // We can avoid that by doing some simple bounds checking to ensure that scrollTop never exceeds the total height.\n const { height, onScroll, width } = this.props\n const totalRowsHeight = this._getTotalRowsHeight()\n const totalColumnsWidth = this._getTotalColumnsWidth()\n const scrollLeft = Math.min(totalColumnsWidth - width, event.target.scrollLeft)\n const scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop)\n\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n if (\n this.state.scrollLeft !== scrollLeft ||\n this.state.scrollTop !== scrollTop\n ) {\n this._setNextState({\n isScrolling: true,\n scrollLeft,\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.OBSERVED,\n scrollTop\n })\n }\n\n this._onScrollMemoizer({\n callback: ({ scrollLeft, scrollTop }) => {\n onScroll({\n clientHeight: height,\n clientWidth: width,\n scrollHeight: totalRowsHeight,\n scrollLeft,\n scrollTop,\n scrollWidth: totalColumnsWidth\n })\n },\n indices: {\n scrollLeft,\n scrollTop\n }\n })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/Grid.js\n **/","var nextTick = require('process/browser.js').nextTick;\nvar apply = Function.prototype.apply;\nvar slice = Array.prototype.slice;\nvar immediateIds = {};\nvar nextImmediateId = 0;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) { timeout.close(); };\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(window, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// That's not how node.js implements it but the exposed api is the same.\nexports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n var id = nextImmediateId++;\n var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\n immediateIds[id] = true;\n\n nextTick(function onNextTick() {\n if (immediateIds[id]) {\n // fn.call() is faster so we optimize for the common use-case\n // @see http://jsperf.com/call-apply-segu\n if (args) {\n fn.apply(null, args);\n } else {\n fn.call(null);\n }\n // Prevent ids from leaking\n exports.clearImmediate(id);\n }\n });\n\n return id;\n};\n\nexports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n delete immediateIds[id];\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/timers-browserify/main.js\n ** module id = 11\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = setTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n clearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n setTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/timers-browserify/~/process/browser.js\n ** module id = 12\n ** module chunks = 0\n **/","/**\n * Helper method that determines when to recalculate row or column metadata.\n *\n * @param cellsCount Number of rows or columns in the current axis\n * @param cellsSize Width or height of cells for the current axis\n * @param computeMetadataCallback Method to invoke if cell metadata should be recalculated\n * @param computeMetadataCallbackProps Parameters to pass to :computeMetadataCallback\n * @param computeMetadataOnNextUpdate Flag specifying that metadata should be recalculated\n * @param nextCellsCount Newly updated number of rows or columns in the current axis\n * @param nextCellsSize Newly updated width or height of cells for the current axis\n * @param nextScrollToIndex Newly updated scroll-to-index\n * @param scrollToIndex Scroll-to-index\n * @param updateScrollOffsetForScrollToIndex Callback to invoke if the scroll position should be recalculated\n */\nexport function computeCellMetadataAndUpdateScrollOffsetHelper ({\n cellsCount,\n cellSize,\n computeMetadataCallback,\n computeMetadataCallbackProps,\n computeMetadataOnNextUpdate,\n nextCellsCount,\n nextCellSize,\n nextScrollToIndex,\n scrollToIndex,\n updateScrollOffsetForScrollToIndex\n}) {\n // Don't compare cell sizes if they are functions because inline functions would cause infinite loops.\n // In that event users should use the manual recompute methods to inform of changes.\n if (\n computeMetadataOnNextUpdate ||\n cellsCount !== nextCellsCount ||\n (\n (\n typeof cellSize === 'number' ||\n typeof nextCellSize === 'number'\n ) &&\n cellSize !== nextCellSize\n )\n ) {\n computeMetadataCallback(computeMetadataCallbackProps)\n\n // Updated cell metadata may have hidden the previous scrolled-to item.\n // In this case we should also update the scrollTop to ensure it stays visible.\n if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n updateScrollOffsetForScrollToIndex()\n }\n }\n}\n\n/**\n * Helper utility that updates the specified callback whenever any of the specified indices have changed.\n */\nexport function createCallbackMemoizer (requireAllKeys = true) {\n let cachedIndices = {}\n\n return ({\n callback,\n indices\n }) => {\n const keys = Object.keys(indices)\n const allInitialized = !requireAllKeys || keys.every(key => indices[key] >= 0)\n const indexChanged = keys.some(key => cachedIndices[key] !== indices[key])\n\n cachedIndices = indices\n\n if (allInitialized && indexChanged) {\n callback(indices)\n }\n }\n}\n\n/**\n * Binary search function inspired by react-infinite.\n */\nexport function findNearestCell ({\n cellMetadata,\n mode,\n offset\n}) {\n let high = cellMetadata.length - 1\n let low = 0\n let middle\n let currentOffset\n\n // TODO Add better guards here against NaN offset\n\n while (low <= high) {\n middle = low + Math.floor((high - low) / 2)\n currentOffset = cellMetadata[middle].offset\n\n if (currentOffset === offset) {\n return middle\n } else if (currentOffset < offset) {\n low = middle + 1\n } else if (currentOffset > offset) {\n high = middle - 1\n }\n }\n\n if (mode === findNearestCell.EQUAL_OR_LOWER && low > 0) {\n return low - 1\n } else if (mode === findNearestCell.EQUAL_OR_HIGHER && high < cellMetadata.length - 1) {\n return high + 1\n }\n}\n\nfindNearestCell.EQUAL_OR_LOWER = 1\nfindNearestCell.EQUAL_OR_HIGHER = 2\n\nexport function getOverscanIndices ({ cellsCount, overscanCellsCount, startIndex, stopIndex }) {\n return {\n overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n overscanStopIndex: Math.min(cellsCount - 1, stopIndex + overscanCellsCount)\n }\n}\n\n/**\n * Determines a new offset that ensures a certain cell is visible, given the current offset.\n * If the cell is already visible then the current offset will be returned.\n * If the current offset is too great or small, it will be adjusted just enough to ensure the specified index is visible.\n *\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @param targetIndex Index of target cell\n * @return Offset to use to ensure the specified cell is visible\n */\nexport function getUpdatedOffsetForIndex ({\n cellMetadata,\n containerSize,\n currentOffset,\n targetIndex\n}) {\n if (cellMetadata.length === 0) {\n return 0\n }\n\n targetIndex = Math.max(0, Math.min(cellMetadata.length - 1, targetIndex))\n\n const datum = cellMetadata[targetIndex]\n const maxOffset = datum.offset\n const minOffset = maxOffset - containerSize + datum.size\n const newOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset))\n\n return newOffset\n}\n\n/**\n * Determines the range of cells to display for a given offset in order to fill the specified container.\n *\n * @param cellsCount Total number of cells.\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @return An object containing :start and :stop attributes, each specifying a cell index\n */\nexport function getVisibleCellIndices ({\n cellsCount,\n cellMetadata,\n containerSize,\n currentOffset\n}) {\n if (cellsCount === 0) {\n return {}\n }\n\n currentOffset = Math.max(0, currentOffset)\n\n const maxOffset = currentOffset + containerSize\n\n // TODO Add better guards here against NaN offset\n\n let start = findNearestCell({\n cellMetadata,\n mode: findNearestCell.EQUAL_OR_LOWER,\n offset: currentOffset\n })\n\n let datum = cellMetadata[start]\n currentOffset = datum.offset + datum.size\n\n let stop = start\n\n while (currentOffset < maxOffset && stop < cellsCount - 1) {\n stop++\n\n currentOffset += cellMetadata[stop].size\n }\n\n return {\n start,\n stop\n }\n}\n\n/**\n * Initializes metadata for an axis and its cells.\n * This data is used to determine which cells are visible given a container size and scroll position.\n *\n * @param cellsCount Total number of cells.\n * @param size Either a fixed size or a function that returns the size for a given given an index.\n * @return Object mapping cell index to cell metadata (size, offset)\n */\nexport function initCellMetadata ({\n cellsCount,\n size\n}) {\n const sizeGetter = size instanceof Function\n ? size\n : index => size\n\n const cellMetadata = []\n let offset = 0\n\n for (var i = 0; i < cellsCount; i++) {\n let size = sizeGetter(i)\n\n if (size == null || isNaN(size)) {\n throw Error(`Invalid size returned for cell ${i} of value ${size}`)\n }\n\n cellMetadata[i] = {\n size,\n offset\n }\n\n offset += size\n }\n\n return cellMetadata\n}\n\n/**\n * Helper function that determines when to update scroll offsets to ensure that a scroll-to-index remains visible.\n *\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param cellsCount Number of rows or columns in the current axis\n * @param cellsSize Width or height of cells for the current axis\n * @param previousCellsCount Previous number of rows or columns\n * @param previousCellsSize Previous width or height of cells\n * @param previousScrollToIndex Previous scroll-to-index\n * @param previousSize Previous width or height of the virtualized container\n * @param scrollOffset Current scrollLeft or scrollTop\n * @param scrollToIndex Scroll-to-index\n * @param size Width or height of the virtualized container\n * @param updateScrollIndexCallback Callback to invoke with an optional scroll-to-index override\n */\nexport function updateScrollIndexHelper ({\n cellMetadata,\n cellsCount,\n cellSize,\n previousCellsCount,\n previousCellSize,\n previousScrollToIndex,\n previousSize,\n scrollOffset,\n scrollToIndex,\n size,\n updateScrollIndexCallback\n}) {\n const hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellsCount\n const sizeHasChanged = (\n size !== previousSize ||\n !previousCellSize ||\n (\n typeof cellSize === 'number' &&\n cellSize !== previousCellSize\n )\n )\n\n // If we have a new scroll target OR if height/row-height has changed,\n // We should ensure that the scroll target is visible.\n if (hasScrollToIndex && (sizeHasChanged || scrollToIndex !== previousScrollToIndex)) {\n updateScrollIndexCallback()\n\n // If we don't have a selected item but list size or number of children have decreased,\n // Make sure we aren't scrolled too far past the current content.\n } else if (!hasScrollToIndex && (size < previousSize || cellsCount < previousCellsCount)) {\n const calculatedScrollOffset = getUpdatedOffsetForIndex({\n cellMetadata,\n containerSize: size,\n currentOffset: scrollOffset,\n targetIndex: cellsCount - 1\n })\n\n // Only adjust the scroll position if we've scrolled below the last set of rows.\n if (calculatedScrollOffset < scrollOffset) {\n updateScrollIndexCallback(cellsCount - 1)\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/utils.js\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/classnames/index.js\n ** module id = 14\n ** module chunks = 0\n **/","var now = require('performance-now')\n , root = typeof window === 'undefined' ? global : window\n , vendors = ['moz', 'webkit']\n , suffix = 'AnimationFrame'\n , raf = root['request' + suffix]\n , caf = root['cancel' + suffix] || root['cancelRequest' + suffix]\n\nfor(var i = 0; !raf && i < vendors.length; i++) {\n raf = root[vendors[i] + 'Request' + suffix]\n caf = root[vendors[i] + 'Cancel' + suffix]\n || root[vendors[i] + 'CancelRequest' + suffix]\n}\n\n// Some versions of FF have rAF but not cAF\nif(!raf || !caf) {\n var last = 0\n , id = 0\n , queue = []\n , frameDuration = 1000 / 60\n\n raf = function(callback) {\n if(queue.length === 0) {\n var _now = now()\n , next = Math.max(0, frameDuration - (_now - last))\n last = next + _now\n setTimeout(function() {\n var cp = queue.slice(0)\n // Clear queue here to prevent\n // callbacks from appending listeners\n // to the current frame's queue\n queue.length = 0\n for(var i = 0; i < cp.length; i++) {\n if(!cp[i].cancelled) {\n try{\n cp[i].callback(last)\n } catch(e) {\n setTimeout(function() { throw e }, 0)\n }\n }\n }\n }, Math.round(next))\n }\n queue.push({\n handle: ++id,\n callback: callback,\n cancelled: false\n })\n return id\n }\n\n caf = function(handle) {\n for(var i = 0; i < queue.length; i++) {\n if(queue[i].handle === handle) {\n queue[i].cancelled = true\n }\n }\n }\n}\n\nmodule.exports = function(fn) {\n // Wrap in a new function to prevent\n // `cancel` potentially being assigned\n // to the native rAF function\n return raf.call(root, fn)\n}\nmodule.exports.cancel = function() {\n caf.apply(root, arguments)\n}\nmodule.exports.polyfill = function() {\n root.requestAnimationFrame = raf\n root.cancelAnimationFrame = caf\n}\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/raf/index.js\n ** module id = 15\n ** module chunks = 0\n **/","// Generated by CoffeeScript 1.7.1\n(function() {\n var getNanoSeconds, hrtime, loadTime;\n\n if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n module.exports = function() {\n return performance.now();\n };\n } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n module.exports = function() {\n return (getNanoSeconds() - loadTime) / 1e6;\n };\n hrtime = process.hrtime;\n getNanoSeconds = function() {\n var hr;\n hr = hrtime();\n return hr[0] * 1e9 + hr[1];\n };\n loadTime = getNanoSeconds();\n } else if (Date.now) {\n module.exports = function() {\n return Date.now() - loadTime;\n };\n loadTime = Date.now();\n } else {\n module.exports = function() {\n return new Date().getTime() - loadTime;\n };\n loadTime = new Date().getTime();\n }\n\n}).call(this);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/performance-now/lib/performance-now.js\n ** module id = 16\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = setTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n clearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n setTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/node-libs-browser/~/process/browser.js\n ** module id = 17\n ** module chunks = 0\n **/","/* @flow */\nexport default from './FlexTable'\nexport FlexTable, { SortDirection, SortIndicator } from './FlexTable'\nexport FlexColumn from './FlexColumn'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/index.js\n **/","/** @flow */\nimport cn from 'classnames'\nimport FlexColumn from './FlexColumn'\nimport React, { Component, PropTypes } from 'react'\nimport { findDOMNode } from 'react-dom'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\nimport Grid from '../Grid'\n\nexport const SortDirection = {\n /**\n * Sort items in ascending order.\n * This means arranging from the lowest value to the highest (e.g. a-z, 0-9).\n */\n ASC: 'ASC',\n\n /**\n * Sort items in descending order.\n * This means arranging from the highest value to the lowest (e.g. z-a, 9-0).\n */\n DESC: 'DESC'\n}\n\n/**\n * Table component with fixed headers and virtualized rows for improved performance with large data sets.\n * This component expects explicit width, height, and padding parameters.\n */\nexport default class FlexTable extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** One or more FlexColumns describing the data displayed in this row */\n children: (props, propName, componentName) => {\n const children = React.Children.toArray(props.children)\n for (let i = 0; i < children.length; i++) {\n if (children[i].type !== FlexColumn) {\n return new Error(`FlexTable only accepts children of type FlexColumn`)\n }\n }\n },\n\n /** Optional CSS class name */\n className: PropTypes.string,\n\n /** Disable rendering the header at all */\n disableHeader: PropTypes.bool,\n\n /** Optional CSS class to apply to all column headers */\n headerClassName: PropTypes.string,\n\n /** Fixed height of header row */\n headerHeight: PropTypes.number.isRequired,\n\n /** Fixed/available height for out DOM element */\n height: PropTypes.number.isRequired,\n\n /** Optional renderer to be used in place of table body rows when rowsCount is 0 */\n noRowsRenderer: PropTypes.func,\n\n /**\n * Optional callback when a column's header is clicked.\n * (dataKey: string): void\n */\n onHeaderClick: PropTypes.func,\n\n /**\n * Callback invoked when a user clicks on a table row.\n * (rowIndex: number): void\n */\n onRowClick: PropTypes.func,\n\n /**\n * Callback invoked with information about the slice of rows that were just rendered.\n * ({ startIndex, stopIndex }): void\n */\n onRowsRendered: PropTypes.func,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, scrollHeight, scrollTop }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowsCount: PropTypes.number.isRequired,\n\n /**\n * Optional CSS class to apply to all table rows (including the header row).\n * This property can be a CSS class name (string) or a function that returns a class name.\n * If a function is provided its signature should be: (rowIndex: number): string\n */\n rowClassName: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /**\n * Callback responsible for returning a data row given an index.\n * (index: number): any\n */\n rowGetter: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /** Number of rows in table. */\n rowsCount: PropTypes.number.isRequired,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /**\n * Sort function to be called if a sortable header is clicked.\n * (dataKey: string, sortDirection: SortDirection): void\n */\n sort: PropTypes.func,\n\n /** FlexTable data is currently sorted by this :dataKey (if it is sorted at all) */\n sortBy: PropTypes.string,\n\n /** FlexTable data is currently sorted in this direction (if it is sorted at all) */\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n\n /** Width of list */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n disableHeader: false,\n headerHeight: 0,\n noRowsRenderer: () => null,\n onHeaderClick: () => null,\n onRowClick: () => null,\n onRowsRendered: () => null,\n onScroll: () => null,\n overscanRowsCount: 10\n }\n\n constructor (props) {\n super(props)\n\n this.state = {\n scrollbarWidth: 0\n }\n\n this._createRow = this._createRow.bind(this)\n }\n\n /**\n * See Grid#recomputeGridSize\n */\n recomputeRowHeights () {\n this.refs.Grid.recomputeGridSize()\n }\n\n /**\n * See Grid#scrollToIndex\n */\n scrollToRow (scrollToIndex) {\n this.refs.Grid.scrollToCell({\n scrollToColumn: 0,\n scrollToRow: scrollToIndex\n })\n }\n\n /**\n * See Grid#setScrollPosition\n */\n setScrollTop (scrollTop) {\n this.refs.Grid.setScrollPosition({\n scrollLeft: 0,\n scrollTop\n })\n }\n\n componentDidMount () {\n const { scrollTop } = this.props\n\n if (scrollTop >= 0) {\n this.setScrollTop(scrollTop)\n }\n\n this._setScrollbarWidth()\n }\n\n componentDidUpdate () {\n this._setScrollbarWidth()\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (nextProps.scrollTop !== this.props.scrollTop) {\n this.setScrollTop(nextProps.scrollTop)\n }\n }\n\n render () {\n const {\n className,\n disableHeader,\n headerHeight,\n height,\n noRowsRenderer,\n onRowsRendered,\n onScroll,\n overscanRowsCount,\n rowClassName,\n rowHeight,\n rowsCount,\n scrollToIndex,\n width\n } = this.props\n const { scrollbarWidth } = this.state\n\n const availableRowsHeight = height - headerHeight\n\n // This row-renderer wrapper function is necessary in order to trigger re-render when the\n // sort-by or sort-direction have changed (else Grid will not see any props changes)\n const rowRenderer = index => {\n return this._createRow(index)\n }\n\n const rowClass = rowClassName instanceof Function ? rowClassName(-1) : rowClassName\n\n return (\n \n {!disableHeader && (\n \n {this._getRenderedHeaderRow()}\n \n )}\n\n onScroll({ clientHeight, scrollHeight, scrollTop })}\n onSectionRendered={({ rowOverscanStartIndex, rowOverscanStopIndex, rowStartIndex, rowStopIndex }) => onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })}\n overscanRowsCount={overscanRowsCount}\n renderCell={({ columnIndex, rowIndex }) => rowRenderer(rowIndex)}\n rowHeight={rowHeight}\n rowsCount={rowsCount}\n scrollToRow={scrollToIndex}\n width={width}\n />\n \n )\n }\n\n _createColumn (column, columnIndex, rowData, rowIndex) {\n const {\n cellClassName,\n cellDataGetter,\n columnData,\n dataKey,\n cellRenderer\n } = column.props\n const cellData = cellDataGetter(dataKey, rowData, columnData)\n const renderedCell = cellRenderer(cellData, dataKey, rowData, rowIndex, columnData)\n\n const style = this._getFlexStyleForColumn(column)\n\n const title = typeof renderedCell === 'string'\n ? renderedCell\n : null\n\n return (\n \n \n {renderedCell}\n \n \n )\n }\n\n _createHeader (column, columnIndex) {\n const { headerClassName, onHeaderClick, sort, sortBy, sortDirection } = this.props\n const { dataKey, disableSort, label, columnData } = column.props\n const showSortIndicator = sortBy === dataKey\n const sortEnabled = !disableSort && sort\n\n const classNames = cn(\n 'FlexTable__headerColumn',\n headerClassName,\n column.props.headerClassName,\n {\n 'FlexTable__sortableHeaderColumn': sortEnabled\n }\n )\n const style = this._getFlexStyleForColumn(column)\n\n // If this is a sortable header, clicking it should update the table data's sorting.\n const newSortDirection = sortBy !== dataKey || sortDirection === SortDirection.DESC\n ? SortDirection.ASC\n : SortDirection.DESC\n const onClick = () => {\n sortEnabled && sort(dataKey, newSortDirection)\n onHeaderClick(dataKey, columnData)\n }\n\n return (\n \n \n {label}\n \n {showSortIndicator &&\n \n }\n \n )\n }\n\n _createRow (rowIndex) {\n const {\n children,\n onRowClick,\n rowClassName,\n rowGetter\n } = this.props\n const { scrollbarWidth } = this.state\n\n const rowClass = rowClassName instanceof Function ? rowClassName(rowIndex) : rowClassName\n\n const renderedRow = React.Children.map(\n children,\n (column, columnIndex) => this._createColumn(\n column,\n columnIndex,\n rowGetter(rowIndex),\n rowIndex\n )\n )\n\n return (\n onRowClick(rowIndex)}\n style={{\n height: this._getRowHeight(rowIndex),\n paddingRight: scrollbarWidth\n }}\n >\n {renderedRow}\n \n )\n }\n\n /**\n * Determines the flex-shrink, flex-grow, and width values for a cell (header or column).\n */\n _getFlexStyleForColumn (column) {\n const flexValue = `${column.props.flexGrow} ${column.props.flexShrink} ${column.props.width}px`\n\n const style = {\n flex: flexValue,\n msFlex: flexValue,\n WebkitFlex: flexValue\n }\n\n if (column.props.maxWidth) {\n style.maxWidth = column.props.maxWidth\n }\n\n if (column.props.minWidth) {\n style.minWidth = column.props.minWidth\n }\n\n return style\n }\n\n _getRenderedHeaderRow () {\n const { children, disableHeader } = this.props\n const items = disableHeader ? [] : children\n return React.Children.map(items, (column, columnIndex) =>\n this._createHeader(column, columnIndex)\n )\n }\n\n _getRowHeight (rowIndex) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight(rowIndex)\n : rowHeight\n }\n\n _setScrollbarWidth () {\n const Grid = findDOMNode(this.refs.Grid)\n const clientWidth = Grid.clientWidth || 0\n const offsetWidth = Grid.offsetWidth || 0\n const scrollbarWidth = offsetWidth - clientWidth\n\n this.setState({ scrollbarWidth })\n }\n}\n\n/**\n * Displayed beside a header to indicate that a FlexTable is currently sorted by this column.\n */\nexport function SortIndicator ({ sortDirection }) {\n const classNames = cn('FlexTable__sortableHeaderIcon', {\n 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC,\n 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC\n })\n\n return (\n \n {sortDirection === SortDirection.ASC\n ? \n : \n }\n \n \n )\n}\nSortIndicator.propTypes = {\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC])\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexTable.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\n\n/**\n * Default cell renderer that displays an attribute as a simple string\n * You should override the column's cellRenderer if your data is some other type of object.\n */\nexport function defaultCellRenderer (\n cellData: any,\n cellDataKey: string,\n rowData: any,\n rowIndex: number,\n columnData: any\n): string {\n if (cellData === null || cellData === undefined) {\n return ''\n } else {\n return String(cellData)\n }\n}\n\n/**\n * Default accessor for returning a cell value for a given attribute.\n * This function expects to operate on either a vanilla Object or an Immutable Map.\n * You should override the column's cellDataGetter if your data is some other type of object.\n */\nexport function defaultCellDataGetter (\n dataKey: string,\n rowData: any,\n columnData: any\n) {\n if (rowData.get instanceof Function) {\n return rowData.get(dataKey)\n } else {\n return rowData[dataKey]\n }\n}\n\n/**\n * Describes the header and cell contents of a table column.\n */\nexport default class Column extends Component {\n\n static defaultProps = {\n cellDataGetter: defaultCellDataGetter,\n cellRenderer: defaultCellRenderer,\n flexGrow: 0,\n flexShrink: 1\n }\n\n static propTypes = {\n /** Optional CSS class to apply to cell */\n cellClassName: PropTypes.string,\n /**\n * Callback responsible for returning a cell's data, given its :dataKey\n * (dataKey: string, rowData: any): any\n */\n cellDataGetter: PropTypes.func,\n /**\n * Callback responsible for rendering a cell's contents.\n * (cellData: any, cellDataKey: string, rowData: any, rowIndex: number, columnData: any): element\n */\n cellRenderer: PropTypes.func,\n /** Optional additional data passed to this column's :cellDataGetter */\n columnData: PropTypes.object,\n /** Uniquely identifies the row-data attribute correspnding to this cell */\n dataKey: PropTypes.any.isRequired,\n /** If sort is enabled for the table at large, disable it for this column */\n disableSort: PropTypes.bool,\n /** Flex grow style; defaults to 0 */\n flexGrow: PropTypes.number,\n /** Flex shrink style; defaults to 1 */\n flexShrink: PropTypes.number,\n /** Optional CSS class to apply to this column's header */\n headerClassName: PropTypes.string,\n /** Header label for this column */\n label: PropTypes.string,\n /** Maximum width of column; this property will only be used if :flexGrow is > 0. */\n maxWidth: PropTypes.number,\n /** Minimum width of column. */\n minWidth: PropTypes.number,\n /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */\n width: PropTypes.number.isRequired\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexColumn.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_21__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external {\"commonjs\":\"react-dom\",\"commonjs2\":\"react-dom\",\"amd\":\"react-dom\",\"root\":\"ReactDOM\"}\n ** module id = 21\n ** module chunks = 0\n **/","/** @flow */\nexport default from './InfiniteLoader'\nexport InfiniteLoader from './InfiniteLoader'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/InfiniteLoader/index.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Higher-order component that manages lazy-loading for \"infinite\" data.\n * This component decorates a virtual component and just-in-time prefetches rows as a user scrolls.\n * It is intended as a convenience component; fork it if you'd like finer-grained control over data-loading.\n */\nexport default class InfiniteLoader extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering a virtualized component.\n * This function should implement the following signature:\n * ({ onRowsRendered, registerChild }) => PropTypes.element\n *\n * The specified :onRowsRendered function should be passed through to the child's :onRowsRendered property.\n * The :registerChild callback should be set as the virtualized component's :ref.\n */\n children: PropTypes.func.isRequired,\n\n /**\n * Function responsible for tracking the loaded state of each row.\n * It should implement the following signature: (index: number): boolean\n */\n isRowLoaded: PropTypes.func.isRequired,\n\n /**\n * Callback to be invoked when more rows must be loaded.\n * It should implement the following signature: ({ startIndex, stopIndex }): Promise\n * The returned Promise should be resolved once row data has finished loading.\n * It will be used to determine when to refresh the list with the newly-loaded data.\n * This callback may be called multiple times in reaction to a single scroll event.\n */\n loadMoreRows: PropTypes.func.isRequired,\n\n /**\n * Number of rows in list; can be arbitrary high number if actual number is unknown.\n */\n rowsCount: PropTypes.number.isRequired,\n\n /**\n * Threshold at which to pre-fetch data.\n * A threshold X means that data will start loading when a user scrolls within X rows.\n * This value defaults to 15.\n */\n threshold: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n rowsCount: 0,\n threshold: 15\n }\n\n constructor (props, context) {\n super(props, context)\n\n this._onRowsRendered = this._onRowsRendered.bind(this)\n this._registerChild = this._registerChild.bind(this)\n }\n\n render () {\n const { children } = this.props\n\n return children({\n onRowsRendered: this._onRowsRendered,\n registerChild: this._registerChild\n })\n }\n\n _onRowsRendered ({ startIndex, stopIndex }) {\n const { isRowLoaded, loadMoreRows, rowsCount, threshold } = this.props\n\n this._lastRenderedStartIndex = startIndex\n this._lastRenderedStopIndex = stopIndex\n\n const unloadedRanges = scanForUnloadedRanges({\n isRowLoaded,\n startIndex: Math.max(0, startIndex - threshold),\n stopIndex: Math.min(rowsCount, stopIndex + threshold)\n })\n\n unloadedRanges.forEach(unloadedRange => {\n let promise = loadMoreRows(unloadedRange)\n if (promise) {\n promise.then(() => {\n // Refresh the visible rows if any of them have just been loaded.\n // Otherwise they will remain in their unloaded visual state.\n if (\n isRangeVisible({\n lastRenderedStartIndex: this._lastRenderedStartIndex,\n lastRenderedStopIndex: this._lastRenderedStopIndex,\n startIndex: unloadedRange.startIndex,\n stopIndex: unloadedRange.stopIndex\n })\n ) {\n if (this._registeredChild) {\n this._registeredChild.forceUpdate()\n }\n }\n })\n }\n })\n }\n\n _registerChild (registeredChild) {\n this._registeredChild = registeredChild\n }\n}\n\n/**\n * Determines if the specified start/stop range is visible based on the most recently rendered range.\n */\nexport function isRangeVisible ({\n lastRenderedStartIndex,\n lastRenderedStopIndex,\n startIndex,\n stopIndex\n}) {\n return !(startIndex > lastRenderedStopIndex || stopIndex < lastRenderedStartIndex)\n}\n\n/**\n * Returns all of the ranges within a larger range that contain unloaded rows.\n */\nexport function scanForUnloadedRanges ({ isRowLoaded, startIndex, stopIndex }) {\n const unloadedRanges = []\n let rangeStartIndex = null\n let rangeStopIndex = null\n\n for (let i = startIndex; i <= stopIndex; i++) {\n let loaded = isRowLoaded(i)\n\n if (!loaded) {\n rangeStopIndex = i\n if (rangeStartIndex === null) {\n rangeStartIndex = i\n }\n } else if (rangeStopIndex !== null) {\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n })\n\n rangeStartIndex = rangeStopIndex = null\n }\n }\n\n if (rangeStopIndex !== null) {\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n })\n }\n\n return unloadedRanges\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/InfiniteLoader/InfiniteLoader.js\n **/","/** @flow */\nexport default from './ScrollSync'\nexport ScrollSync from './ScrollSync'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ScrollSync/index.js\n **/","import { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * HOC that simplifies the process of synchronizing scrolling between two or more virtualized components.\n */\nexport default class ScrollSync extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering 2 or more virtualized components.\n * This function should implement the following signature:\n * ({ onScroll, scrollLeft, scrollTop }) => PropTypes.element\n */\n children: PropTypes.func.isRequired\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n scrollLeft: 0,\n scrollTop: 0\n }\n\n this._onScroll = this._onScroll.bind(this)\n }\n\n render () {\n const { children } = this.props\n const { scrollLeft, scrollTop } = this.state\n\n return children({\n onScroll: this._onScroll,\n scrollLeft,\n scrollTop\n })\n }\n\n _onScroll ({ scrollLeft, scrollTop }) {\n this.setState({ scrollLeft, scrollTop })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ScrollSync/ScrollSync.js\n **/","/** @flow */\nexport default from './VirtualScroll'\nexport VirtualScroll from './VirtualScroll'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/VirtualScroll/index.js\n **/","/** @flow */\nimport Grid from '../Grid'\nimport React, { Component, PropTypes } from 'react'\nimport cn from 'classnames'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * It is inefficient to create and manage a large list of DOM elements within a scrolling container\n * if only a few of those elements are visible. The primary purpose of this component is to improve\n * performance by only rendering the DOM nodes that a user is able to see based on their current\n * scroll position.\n *\n * This component renders a virtualized list of elements with either fixed or dynamic heights.\n */\nexport default class VirtualScroll extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** Optional CSS class name */\n className: PropTypes.string,\n\n /** Height constraint for list (determines how many actual rows are rendered) */\n height: PropTypes.number.isRequired,\n\n /** Optional renderer to be used in place of rows when rowsCount is 0 */\n noRowsRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback invoked with information about the slice of rows that were just rendered.\n * ({ startIndex, stopIndex }): void\n */\n onRowsRendered: PropTypes.func.isRequired,\n\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowsCount: PropTypes.number.isRequired,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, scrollHeight, scrollTop }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /** Responsbile for rendering a row given an index */\n rowRenderer: PropTypes.func.isRequired,\n\n /** Number of rows in list. */\n rowsCount: PropTypes.number.isRequired,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /** Width of list */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n noRowsRenderer: () => null,\n onRowsRendered: () => null,\n onScroll: () => null,\n overscanRowsCount: 10\n }\n\n componentDidMount () {\n const { scrollTop } = this.props\n\n if (scrollTop >= 0) {\n this.setScrollTop(scrollTop)\n }\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (nextProps.scrollTop !== this.props.scrollTop) {\n this.setScrollTop(nextProps.scrollTop)\n }\n }\n\n /**\n * See Grid#recomputeGridSize\n */\n recomputeRowHeights () {\n this.refs.Grid.recomputeGridSize()\n }\n\n /**\n * See Grid#scrollToCell\n */\n scrollToRow (scrollToIndex) {\n this.refs.Grid.scrollToCell({\n scrollToColumn: 0,\n scrollToRow: scrollToIndex\n })\n }\n\n /**\n * See Grid#setScrollPosition\n */\n setScrollTop (scrollTop) {\n this.refs.Grid.setScrollPosition({\n scrollLeft: 0,\n scrollTop\n })\n }\n\n render () {\n const {\n className,\n height,\n noRowsRenderer,\n onRowsRendered,\n onScroll,\n rowHeight,\n rowRenderer,\n overscanRowsCount,\n rowsCount,\n scrollToIndex,\n width\n } = this.props\n\n const classNames = cn('VirtualScroll', className)\n\n return (\n onScroll({ clientHeight, scrollHeight, scrollTop })}\n onSectionRendered={({ rowOverscanStartIndex, rowOverscanStopIndex, rowStartIndex, rowStopIndex }) => onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })}\n overscanRowsCount={overscanRowsCount}\n renderCell={({ columnIndex, rowIndex }) => rowRenderer(rowIndex)}\n rowHeight={rowHeight}\n rowsCount={rowsCount}\n scrollToRow={scrollToIndex}\n width={width}\n />\n )\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/VirtualScroll/VirtualScroll.js\n **/"],"sourceRoot":""}