{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///react-virtualized.js","webpack:///webpack/bootstrap 76f298d14ce54f563791","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:///./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:///./source/FlexTable/SortIndicator.js","webpack:///./source/FlexTable/SortDirection.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__","_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","_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","setScrollPosition","_invokeOnScrollMemoizer","totalColumnsWidth","_getTotalColumnsWidth","totalRowsHeight","_getTotalRowsHeight","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","visibleColumnIndices","getVisibleCellIndices","containerSize","currentOffset","visibleRowIndices","_renderedColumnStartIndex","start","_renderedColumnStopIndex","stop","_renderedRowStartIndex","_renderedRowStopIndex","overscanColumnIndices","getOverscanIndices","overscanCellsCount","startIndex","stopIndex","overscanRowIndices","_columnStartIndex","overscanStartIndex","_columnStopIndex","overscanStopIndex","_rowStartIndex","_rowStopIndex","rowIndex","rowDatum","columnIndex","columnDatum","renderedCell","_getRowHeight","left","offset","top","_getColumnWidth","gridStyle","overflowX","overflowY","onKeyDown","onScroll","tabIndex","maxWidth","maxHeight","pointerEvents","initCellMetadata","_this2","index","Function","datum","onSectionRendered","callback","indices","columnOverscanStartIndex","columnOverscanStopIndex","columnStartIndex","columnStopIndex","rowOverscanStartIndex","rowOverscanStopIndex","rowStartIndex","rowStopIndex","_ref3","_props4","_ref4","clientHeight","clientWidth","_this3","scrollToColumnOverride","calculatedScrollLeft","getUpdatedOffsetForIndex","targetIndex","scrollToRowOverride","calculatedScrollTop","event","_props5","_state3","newScrollLeft","newScrollTop","preventDefault","scrollToCell","stopPropagation","_enablePointerEventsAfterDelay","_props6","cancelable","_setNextState","string","oneOfType","requireAllKeys","arguments","cachedIndices","allInitialized","every","indexChanged","some","findNearestCell","mode","high","low","middle","EQUAL_OR_LOWER","EQUAL_OR_HIGHER","_ref5","maxOffset","minOffset","newOffset","_ref6","lastDatum","totalCellSize","_ref7","sizeGetter","_size","isNaN","_ref8","hasScrollToIndex","sizeHasChanged","calculatedScrollOffset","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","classNames","classes","arg","argType","Array","isArray","apply","hasOwn","join","global","now","vendors","suffix","caf","last","queue","frameDuration","_now","next","cp","slice","cancelled","round","handle","polyfill","process","getNanoSeconds","hrtime","loadTime","performance","hr","Date","getTime","cleanUpNextTick","draining","currentQueue","concat","queueIndex","drainQueue","timeout","len","run","Item","fun","array","noop","nextTick","args","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","name","cwd","chdir","dir","umask","_FlexTable2","_FlexTable3","_FlexColumn2","_FlexColumn3","_SortDirection2","_SortDirection3","_SortIndicator2","_SortIndicator3","_FlexColumn","_reactDom","_SortDirection","_initialiseProps","scrollbarWidth","_createRow","setScrollTop","_setScrollbarWidth","disableHeader","headerHeight","noRowsRenderer","onRowsRendered","rowClassName","availableRowsHeight","rowRenderer","rowClass","_getRenderedHeaderRow","column","rowData","_column$props","cellClassName","cellDataGetter","columnData","dataKey","cellRenderer","cellData","_getFlexStyleForColumn","headerClassName","onHeaderClick","sort","sortBy","sortDirection","_column$props2","disableSort","headerRenderer","label","sortEnabled","FlexTable__sortableHeaderColumn","newSortDirection","DESC","ASC","onClick","renderedHeader","onRowClick","rowGetter","renderedRow","Children","map","_createColumn","flexValue","flexGrow","flexShrink","flex","msFlex","WebkitFlex","minWidth","_this4","items","_createHeader","findDOMNode","propName","componentName","toArray","oneOf","defaultCellRenderer","cellDataKey","String","defaultCellDataGetter","defaultHeaderRenderer","showSortIndicator","_SortIndicator","Column","object","any","FlexTable__sortableHeaderIcon--ASC","FlexTable__sortableHeaderIcon--DESC","viewBox","xmlns","d","fill","_InfiniteLoader2","_InfiniteLoader3","isRangeVisible","lastRenderedStartIndex","lastRenderedStopIndex","scanForUnloadedRanges","isRowLoaded","unloadedRanges","rangeStartIndex","rangeStopIndex","_onRowsRendered","loadMoreRows","threshold","_lastRenderedStartIndex","_lastRenderedStopIndex","unloadedRange","promise","then","forceUpdate","registeredChild","_ScrollSync2","_ScrollSync3","_VirtualScroll2","_VirtualScroll3","_Object$getPrototypeO","_temp","_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,IA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UC,QAAOC;YAGnEkY,aAAa9a,OAAA0C,UAAUC,KAAKC;YAG5BoJ,WAAWhM,OAAA0C,UAAUmH,OAAOjH;YAG5BiK,eAAe7M,OAAA0C,UAAUmH;YAGzBpE,WAAWzF,OAAA0C,UAAUmH;YAGrBnJ,OAAOV,OAAA0C,UAAUmH,OAAOjH;WAnDP/E,cAsDZiF;YACL4X,gBAAgB;gB7Bo9Ff,O6Bp9FqB;;YACtBC,gBAAgB;gB7Bs9Ff,O6Bt9FqB;;YACtBpK,UAAU;gB7Bw9FT,O6Bx9Fe;;YAChBzC,mBAAmB;W7B29FtBxS,qB6BrhGoBuC","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__(16);\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\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 _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\tvar AutoSizer = 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 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 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 this._parentNode = autoSizer && autoSizer.parentNode;\n\t }\n\t }]);\n\t\n\t return AutoSizer;\n\t}(_react.Component);\n\t\n\tAutoSizer.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t disableHeight: _react.PropTypes.bool,\n\t\n\t disableWidth: _react.PropTypes.bool,\n\t\n\t onResize: _react.PropTypes.func.isRequired\n\t};\n\tAutoSizer.defaultProps = {\n\t onResize: function onResize() {}\n\t};\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\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 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 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 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\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 _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\tvar ColumnSizer = 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);\n\t\n\tColumnSizer.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t columnMaxWidth: _react.PropTypes.number,\n\t\n\t columnMinWidth: _react.PropTypes.number,\n\t\n\t columnsCount: _react.PropTypes.number.isRequired,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\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'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\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 _utils = __webpack_require__(11);\n\t\n\tvar _classnames = __webpack_require__(12);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _raf = __webpack_require__(13);\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\tvar IS_SCROLLING_TIMEOUT = 150;\n\t\n\tvar SCROLL_POSITION_CHANGE_REASONS = {\n\t OBSERVED: 'observed',\n\t REQUESTED: 'requested'\n\t};\n\t\n\tvar Grid = 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 _this._onGridRenderedMemoizer = (0, _utils.createCallbackMemoizer)();\n\t _this._onScrollMemoizer = (0, _utils.createCallbackMemoizer)(false);\n\t\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 _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 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 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 _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 this._updateScrollLeftForScrollToColumn();\n\t this._updateScrollTopForScrollToRow();\n\t }\n\t\n\t this._invokeOnGridRenderedHelper();\n\t\n\t this._invokeOnScrollMemoizer({\n\t scrollLeft: scrollLeft || 0,\n\t scrollTop: scrollTop || 0,\n\t totalColumnsWidth: this._getTotalColumnsWidth(),\n\t totalRowsHeight: this._getTotalRowsHeight()\n\t });\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 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 (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 (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 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._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 if (height > 0 && width > 0) {\n\t var visibleColumnIndices = (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 visibleRowIndices = (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 this._renderedColumnStartIndex = visibleColumnIndices.start;\n\t this._renderedColumnStopIndex = visibleColumnIndices.stop;\n\t this._renderedRowStartIndex = visibleRowIndices.start;\n\t this._renderedRowStopIndex = visibleRowIndices.stop;\n\t\n\t var overscanColumnIndices = (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 overscanRowIndices = (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 this._columnStartIndex = overscanColumnIndices.overscanStartIndex;\n\t this._columnStopIndex = overscanColumnIndices.overscanStopIndex;\n\t this._rowStartIndex = overscanRowIndices.overscanStartIndex;\n\t this._rowStopIndex = overscanRowIndices.overscanStopIndex;\n\t\n\t for (var rowIndex = this._rowStartIndex; rowIndex <= this._rowStopIndex; rowIndex++) {\n\t var rowDatum = this._rowMetadata[rowIndex];\n\t\n\t for (var columnIndex = this._columnStartIndex; columnIndex <= this._columnStopIndex; columnIndex++) {\n\t var columnDatum = this._columnMetadata[columnIndex];\n\t var renderedCell = renderCell({ columnIndex: columnIndex, rowIndex: rowIndex });\n\t var key = rowIndex + '-' + columnIndex;\n\t var child = _react2.default.createElement(\n\t 'div',\n\t {\n\t key: key,\n\t className: 'Grid__cell',\n\t style: {\n\t height: this._getRowHeight(rowIndex),\n\t left: columnDatum.offset + 'px',\n\t top: rowDatum.offset + 'px',\n\t width: this._getColumnWidth(columnIndex)\n\t }\n\t },\n\t renderedCell\n\t );\n\t\n\t childrenToDisplay.push(child);\n\t }\n\t }\n\t }\n\t\n\t var gridStyle = {\n\t height: height,\n\t width: width\n\t };\n\t\n\t var totalColumnsWidth = this._getTotalColumnsWidth();\n\t var totalRowsHeight = this._getTotalRowsHeight();\n\t\n\t if (totalColumnsWidth <= width) {\n\t gridStyle.overflowX = 'hidden';\n\t }\n\t\n\t if (totalRowsHeight <= height) {\n\t gridStyle.overflowY = 'hidden';\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: gridStyle\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: totalColumnsWidth,\n\t height: totalRowsHeight,\n\t maxWidth: totalColumnsWidth,\n\t maxHeight: totalRowsHeight,\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 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 key: '_enablePointerEventsAfterDelay',\n\t value: function _enablePointerEventsAfterDelay() {\n\t var _this2 = 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 _this2._disablePointerEventsTimeoutId = null;\n\t _this2.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 onSectionRendered = this.props.onSectionRendered;\n\t\n\t\n\t this._onGridRenderedMemoizer({\n\t callback: onSectionRendered,\n\t indices: {\n\t columnOverscanStartIndex: this._columnStartIndex,\n\t columnOverscanStopIndex: this._columnStopIndex,\n\t columnStartIndex: this._renderedColumnStartIndex,\n\t columnStopIndex: this._renderedColumnStopIndex,\n\t rowOverscanStartIndex: this._rowStartIndex,\n\t rowOverscanStopIndex: this._rowStopIndex,\n\t rowStartIndex: this._renderedRowStartIndex,\n\t rowStopIndex: this._renderedRowStopIndex\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_invokeOnScrollMemoizer',\n\t value: function _invokeOnScrollMemoizer(_ref3) {\n\t var scrollLeft = _ref3.scrollLeft;\n\t var scrollTop = _ref3.scrollTop;\n\t var totalColumnsWidth = _ref3.totalColumnsWidth;\n\t var totalRowsHeight = _ref3.totalRowsHeight;\n\t var _props4 = this.props;\n\t var height = _props4.height;\n\t var onScroll = _props4.onScroll;\n\t var width = _props4.width;\n\t\n\t\n\t this._onScrollMemoizer({\n\t callback: function callback(_ref4) {\n\t var scrollLeft = _ref4.scrollLeft;\n\t var scrollTop = _ref4.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 key: '_setNextState',\n\t value: function _setNextState(state) {\n\t var _this3 = 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 _this3._setNextStateAnimationFrameId = null;\n\t _this3.setState(state);\n\t });\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 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 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 event.preventDefault();\n\t\n\t datum = this._rowMetadata[this._renderedRowStartIndex];\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 event.preventDefault();\n\t\n\t this.scrollToCell({\n\t scrollToColumn: Math.max(0, this._renderedColumnStartIndex - 1),\n\t scrollToRow: this.props.scrollToRow\n\t });\n\t break;\n\t case 'ArrowRight':\n\t event.preventDefault();\n\t\n\t datum = this._columnMetadata[this._renderedColumnStartIndex];\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 event.preventDefault();\n\t\n\t this.scrollToCell({\n\t scrollToColumn: this.props.scrollToColumn,\n\t scrollToRow: Math.max(0, this._renderedRowStartIndex - 1)\n\t });\n\t break;\n\t }\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(event) {\n\t if (event.target !== this.refs.scrollingContainer) {\n\t return;\n\t }\n\t\n\t event.stopPropagation();\n\t\n\t this._enablePointerEventsAfterDelay();\n\t\n\t var _props6 = this.props;\n\t var height = _props6.height;\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 if (this.state.scrollLeft !== scrollLeft || this.state.scrollTop !== scrollTop) {\n\t var scrollPositionChangeReason = event.cancelable ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED : SCROLL_POSITION_CHANGE_REASONS.REQUESTED;\n\t\n\t if (!this.state.isScrolling) {\n\t this.setState({\n\t isScrolling: true\n\t });\n\t }\n\t\n\t this._setNextState({\n\t isScrolling: true,\n\t scrollLeft: scrollLeft,\n\t scrollPositionChangeReason: scrollPositionChangeReason,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t\n\t this._invokeOnScrollMemoizer({ scrollLeft: scrollLeft, scrollTop: scrollTop, totalColumnsWidth: totalColumnsWidth, totalRowsHeight: totalRowsHeight });\n\t }\n\t }]);\n\t\n\t return Grid;\n\t}(_react.Component);\n\t\n\tGrid.propTypes = {\n\t className: _react.PropTypes.string,\n\t\n\t columnsCount: _react.PropTypes.number.isRequired,\n\t\n\t columnWidth: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noContentRenderer: _react.PropTypes.func.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t onSectionRendered: _react.PropTypes.func.isRequired,\n\t\n\t overscanColumnsCount: _react.PropTypes.number.isRequired,\n\t\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t renderCell: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollLeft: _react.PropTypes.number,\n\t\n\t scrollToColumn: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t scrollToRow: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tGrid.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};\n\texports.default = Grid;\n\n/***/ },\n/* 11 */\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\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 if (computeMetadataOnNextUpdate || cellsCount !== nextCellsCount || (typeof cellSize === 'number' || typeof nextCellSize === 'number') && cellSize !== nextCellSize) {\n\t computeMetadataCallback(computeMetadataCallbackProps);\n\t\n\t if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n\t updateScrollOffsetForScrollToIndex();\n\t }\n\t }\n\t}\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\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 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\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\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 var lastDatum = cellMetadata[cellMetadata.length - 1];\n\t var totalCellSize = lastDatum.offset + lastDatum.size;\n\t\n\t currentOffset = Math.max(0, Math.min(totalCellSize - containerSize, currentOffset));\n\t\n\t var maxOffset = Math.min(totalCellSize, currentOffset + containerSize);\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\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\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 (hasScrollToIndex && (sizeHasChanged || scrollToIndex !== previousScrollToIndex)) {\n\t updateScrollIndexCallback();\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 if (calculatedScrollOffset < scrollOffset) {\n\t updateScrollIndexCallback(cellsCount - 1);\n\t }\n\t }\n\t}\n\n/***/ },\n/* 12 */\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/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {var now = __webpack_require__(14)\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/* 14 */\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__(15)))\n\n/***/ },\n/* 15 */\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/* 16 */\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.SortIndicator = exports.SortDirection = exports.FlexColumn = exports.FlexTable = exports.default = undefined;\n\t\n\tvar _FlexTable2 = __webpack_require__(17);\n\t\n\tvar _FlexTable3 = _interopRequireDefault(_FlexTable2);\n\t\n\tvar _FlexColumn2 = __webpack_require__(18);\n\t\n\tvar _FlexColumn3 = _interopRequireDefault(_FlexColumn2);\n\t\n\tvar _SortDirection2 = __webpack_require__(20);\n\t\n\tvar _SortDirection3 = _interopRequireDefault(_SortDirection2);\n\t\n\tvar _SortIndicator2 = __webpack_require__(19);\n\t\n\tvar _SortIndicator3 = _interopRequireDefault(_SortIndicator2);\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\texports.SortDirection = _SortDirection3.default;\n\texports.SortIndicator = _SortIndicator3.default;\n\n/***/ },\n/* 17 */\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 _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 _classnames = __webpack_require__(12);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _FlexColumn = __webpack_require__(18);\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\tvar _SortDirection = __webpack_require__(20);\n\t\n\tvar _SortDirection2 = _interopRequireDefault(_SortDirection);\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 FlexTable = 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 _createClass(FlexTable, [{\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.refs.Grid.recomputeGridSize();\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 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 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 headerRenderer = _column$props2.headerRenderer;\n\t var label = _column$props2.label;\n\t var columnData = _column$props2.columnData;\n\t\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 var newSortDirection = sortBy !== dataKey || sortDirection === _SortDirection2.default.DESC ? _SortDirection2.default.ASC : _SortDirection2.default.DESC;\n\t var onClick = function onClick() {\n\t sortEnabled && sort(dataKey, newSortDirection);\n\t onHeaderClick(dataKey, columnData);\n\t };\n\t\n\t var renderedHeader = headerRenderer({\n\t columnData: columnData,\n\t dataKey: dataKey,\n\t disableSort: disableSort,\n\t label: label,\n\t sortBy: sortBy,\n\t sortDirection: sortDirection\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 renderedHeader\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 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\n\t return _react2.default.Children.map(items, function (column, index) {\n\t return _this4._createHeader(column, index);\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);\n\t\n\tFlexTable.propTypes = {\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 className: _react.PropTypes.string,\n\t\n\t disableHeader: _react.PropTypes.bool,\n\t\n\t headerClassName: _react.PropTypes.string,\n\t\n\t headerHeight: _react.PropTypes.number.isRequired,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noRowsRenderer: _react.PropTypes.func,\n\t\n\t onHeaderClick: _react.PropTypes.func,\n\t\n\t onRowClick: _react.PropTypes.func,\n\t\n\t onRowsRendered: _react.PropTypes.func,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t rowClassName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.func]),\n\t\n\t rowGetter: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t sort: _react.PropTypes.func,\n\t\n\t sortBy: _react.PropTypes.string,\n\t\n\t sortDirection: _react.PropTypes.oneOf([_SortDirection2.default.ASC, _SortDirection2.default.DESC]),\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tFlexTable.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};\n\t\n\tvar _initialiseProps = function _initialiseProps() {\n\t this.shouldComponentUpdate = _function2.default;\n\t};\n\t\n\texports.default = FlexTable;\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.defaultCellRenderer = defaultCellRenderer;\n\texports.defaultCellDataGetter = defaultCellDataGetter;\n\texports.defaultHeaderRenderer = defaultHeaderRenderer;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _SortIndicator = __webpack_require__(19);\n\t\n\tvar _SortIndicator2 = _interopRequireDefault(_SortIndicator);\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\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\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\tfunction defaultHeaderRenderer(_ref) {\n\t var columnData = _ref.columnData;\n\t var dataKey = _ref.dataKey;\n\t var disableSort = _ref.disableSort;\n\t var label = _ref.label;\n\t var sortBy = _ref.sortBy;\n\t var sortDirection = _ref.sortDirection;\n\t\n\t var showSortIndicator = sortBy === dataKey;\n\t var children = [_react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'FlexTable__headerTruncatedText',\n\t key: 'label',\n\t title: label\n\t },\n\t label\n\t )];\n\t\n\t if (showSortIndicator) {\n\t children.push(_react2.default.createElement(_SortIndicator2.default, {\n\t key: 'SortIndicator',\n\t sortDirection: sortDirection\n\t }));\n\t }\n\t\n\t return children;\n\t}\n\t\n\tvar Column = 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);\n\t\n\tColumn.defaultProps = {\n\t cellDataGetter: defaultCellDataGetter,\n\t cellRenderer: defaultCellRenderer,\n\t flexGrow: 0,\n\t flexShrink: 1,\n\t headerRenderer: defaultHeaderRenderer\n\t};\n\tColumn.propTypes = {\n\t cellClassName: _react.PropTypes.string,\n\t\n\t cellDataGetter: _react.PropTypes.func,\n\t\n\t cellRenderer: _react.PropTypes.func,\n\t\n\t columnData: _react.PropTypes.object,\n\t\n\t dataKey: _react.PropTypes.any.isRequired,\n\t\n\t disableSort: _react.PropTypes.bool,\n\t\n\t flexGrow: _react.PropTypes.number,\n\t\n\t flexShrink: _react.PropTypes.number,\n\t\n\t headerClassName: _react.PropTypes.string,\n\t\n\t headerRenderer: _react.PropTypes.func.isRequired,\n\t\n\t label: _react.PropTypes.string,\n\t\n\t maxWidth: _react.PropTypes.number,\n\t\n\t minWidth: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\texports.default = Column;\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 = SortIndicator;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(12);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _SortDirection = __webpack_require__(20);\n\t\n\tvar _SortDirection2 = _interopRequireDefault(_SortDirection);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction SortIndicator(_ref) {\n\t var sortDirection = _ref.sortDirection;\n\t\n\t var classNames = (0, _classnames2.default)('FlexTable__sortableHeaderIcon', {\n\t 'FlexTable__sortableHeaderIcon--ASC': sortDirection === _SortDirection2.default.ASC,\n\t 'FlexTable__sortableHeaderIcon--DESC': sortDirection === _SortDirection2.default.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 === _SortDirection2.default.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([_SortDirection2.default.ASC, _SortDirection2.default.DESC])\n\t};\n\n/***/ },\n/* 20 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar SortDirection = {\n\t ASC: 'ASC',\n\t\n\t DESC: 'DESC'\n\t};\n\t\n\texports.default = SortDirection;\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\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\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\tvar InfiniteLoader = 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 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);\n\t\n\tInfiniteLoader.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t isRowLoaded: _react.PropTypes.func.isRequired,\n\t\n\t loadMoreRows: _react.PropTypes.func.isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t threshold: _react.PropTypes.number.isRequired\n\t};\n\tInfiniteLoader.defaultProps = {\n\t rowsCount: 0,\n\t threshold: 15\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\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\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 _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\tvar ScrollSync = 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 clientHeight: 0,\n\t clientWidth: 0,\n\t scrollHeight: 0,\n\t scrollLeft: 0,\n\t scrollTop: 0,\n\t scrollWidth: 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 clientHeight = _state.clientHeight;\n\t var clientWidth = _state.clientWidth;\n\t var scrollHeight = _state.scrollHeight;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollTop = _state.scrollTop;\n\t var scrollWidth = _state.scrollWidth;\n\t\n\t\n\t return children({\n\t clientHeight: clientHeight,\n\t clientWidth: clientWidth,\n\t onScroll: this._onScroll,\n\t scrollHeight: scrollHeight,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t scrollWidth: scrollWidth\n\t });\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(_ref) {\n\t var clientHeight = _ref.clientHeight;\n\t var clientWidth = _ref.clientWidth;\n\t var scrollHeight = _ref.scrollHeight;\n\t var scrollLeft = _ref.scrollLeft;\n\t var scrollTop = _ref.scrollTop;\n\t var scrollWidth = _ref.scrollWidth;\n\t\n\t this.setState({ clientHeight: clientHeight, clientWidth: clientWidth, scrollHeight: scrollHeight, scrollLeft: scrollLeft, scrollTop: scrollTop, scrollWidth: scrollWidth });\n\t }\n\t }]);\n\t\n\t return ScrollSync;\n\t}(_react.Component);\n\t\n\tScrollSync.propTypes = {\n\t children: _react.PropTypes.func.isRequired\n\t};\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\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 _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__(12);\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\tvar VirtualScroll = 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 key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.refs.Grid.recomputeGridSize();\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 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);\n\t\n\tVirtualScroll.propTypes = {\n\t className: _react.PropTypes.string,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noRowsRenderer: _react.PropTypes.func.isRequired,\n\t\n\t onRowsRendered: _react.PropTypes.func.isRequired,\n\t\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowRenderer: _react.PropTypes.func.isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tVirtualScroll.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};\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 76f298d14ce54f563791\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 this._updateScrollLeftForScrollToColumn()\n this._updateScrollTopForScrollToRow()\n }\n\n // Update onRowsRendered callback\n this._invokeOnGridRenderedHelper()\n\n // Initialize onScroll callback\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft || 0,\n scrollTop: scrollTop || 0,\n totalColumnsWidth: this._getTotalColumnsWidth(),\n totalRowsHeight: this._getTotalRowsHeight()\n })\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._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 const visibleColumnIndices = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n })\n\n const visibleRowIndices = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n })\n\n // Store for _invokeOnGridRenderedHelper()\n this._renderedColumnStartIndex = visibleColumnIndices.start\n this._renderedColumnStopIndex = visibleColumnIndices.stop\n this._renderedRowStartIndex = visibleRowIndices.start\n this._renderedRowStopIndex = visibleRowIndices.stop\n\n const overscanColumnIndices = getOverscanIndices({\n cellsCount: columnsCount,\n overscanCellsCount: overscanColumnsCount,\n startIndex: this._renderedColumnStartIndex,\n stopIndex: this._renderedColumnStopIndex\n })\n\n const overscanRowIndices = getOverscanIndices({\n cellsCount: rowsCount,\n overscanCellsCount: overscanRowsCount,\n startIndex: this._renderedRowStartIndex,\n stopIndex: this._renderedRowStopIndex\n })\n\n // Store for _invokeOnGridRenderedHelper()\n this._columnStartIndex = overscanColumnIndices.overscanStartIndex\n this._columnStopIndex = overscanColumnIndices.overscanStopIndex\n this._rowStartIndex = overscanRowIndices.overscanStartIndex\n this._rowStopIndex = overscanRowIndices.overscanStopIndex\n\n for (let rowIndex = this._rowStartIndex; rowIndex <= this._rowStopIndex; rowIndex++) {\n let rowDatum = this._rowMetadata[rowIndex]\n\n for (let columnIndex = this._columnStartIndex; columnIndex <= this._columnStopIndex; columnIndex++) {\n let columnDatum = this._columnMetadata[columnIndex]\n let renderedCell = renderCell({ columnIndex, rowIndex })\n let key = `${rowIndex}-${columnIndex}`\n let child = (\n \n {renderedCell}\n \n )\n\n childrenToDisplay.push(child)\n }\n }\n }\n\n const gridStyle = {\n height: height,\n width: width\n }\n\n const totalColumnsWidth = this._getTotalColumnsWidth()\n const totalRowsHeight = this._getTotalRowsHeight()\n\n // Force browser to hide scrollbars when we know they aren't necessary.\n // Otherwise once scrollbars appear they may not disappear again.\n // For more info see issue #116\n if (totalColumnsWidth <= width) {\n gridStyle.overflowX = 'hidden'\n }\n\n if (totalRowsHeight <= height) {\n gridStyle.overflowY = 'hidden'\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 { onSectionRendered } = this.props\n\n this._onGridRenderedMemoizer({\n callback: onSectionRendered,\n indices: {\n columnOverscanStartIndex: this._columnStartIndex,\n columnOverscanStopIndex: this._columnStopIndex,\n columnStartIndex: this._renderedColumnStartIndex,\n columnStopIndex: this._renderedColumnStopIndex,\n rowOverscanStartIndex: this._rowStartIndex,\n rowOverscanStopIndex: this._rowStopIndex,\n rowStartIndex: this._renderedRowStartIndex,\n rowStopIndex: this._renderedRowStopIndex\n }\n })\n }\n\n _invokeOnScrollMemoizer ({ scrollLeft, scrollTop, totalColumnsWidth, totalRowsHeight }) {\n const { height, onScroll, width } = this.props\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 * 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 _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 datum, newScrollLeft, newScrollTop\n\n if (columnsCount === 0 || rowsCount === 0) {\n return\n }\n\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault() // Prevent key from also scrolling surrounding window\n\n datum = this._rowMetadata[this._renderedRowStartIndex]\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 event.preventDefault() // Prevent key from also scrolling surrounding window\n\n this.scrollToCell({\n scrollToColumn: Math.max(0, this._renderedColumnStartIndex - 1),\n scrollToRow: this.props.scrollToRow\n })\n break\n case 'ArrowRight':\n event.preventDefault() // Prevent key from also scrolling surrounding window\n\n datum = this._columnMetadata[this._renderedColumnStartIndex]\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 event.preventDefault() // Prevent key from also scrolling surrounding window\n\n this.scrollToCell({\n scrollToColumn: this.props.scrollToColumn,\n scrollToRow: Math.max(0, this._renderedRowStartIndex - 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 detectElementResize library from being triggered by this scroll event.\n event.stopPropagation()\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, 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 // Browsers with cancelable scroll events (eg. Firefox) interrupt scrolling animations if scrollTop/scrollLeft is set.\n // Other browsers (eg. Safari) don't scroll as well without the help under certain conditions (DOM or style changes during scrolling).\n // All things considered, this seems to be the best current work around that I'm aware of.\n // For more information see https://github.com/bvaughn/react-virtualized/pull/124\n const scrollPositionChangeReason = event.cancelable\n ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED\n : SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\n if (!this.state.isScrolling) {\n this.setState({\n isScrolling: true\n })\n }\n\n this._setNextState({\n isScrolling: true,\n scrollLeft,\n scrollPositionChangeReason,\n scrollTop\n })\n }\n\n this._invokeOnScrollMemoizer({ scrollLeft, scrollTop, totalColumnsWidth, totalRowsHeight })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/Grid.js\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 // TODO Add better guards here against NaN offset\n\n const lastDatum = cellMetadata[cellMetadata.length - 1]\n const totalCellSize = lastDatum.offset + lastDatum.size\n\n // Ensure offset is within reasonable bounds\n currentOffset = Math.max(0, Math.min(totalCellSize - containerSize, currentOffset))\n\n const maxOffset = Math.min(totalCellSize, currentOffset + containerSize)\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 = 12\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 = 13\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 = 14\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 = 15\n ** module chunks = 0\n **/","/* @flow */\nexport default from './FlexTable'\nexport FlexTable from './FlexTable'\nexport FlexColumn from './FlexColumn'\nexport SortDirection from './SortDirection'\nexport SortIndicator from './SortIndicator'\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'\nimport SortDirection from './SortDirection'\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, headerRenderer, label, columnData } = column.props\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 const renderedHeader = headerRenderer({\n columnData,\n dataKey,\n disableSort,\n label,\n sortBy,\n sortDirection\n })\n\n return (\n \n {renderedHeader}\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\n return React.Children.map(items, (column, index) =>\n this._createHeader(column, index)\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\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexTable.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport SortIndicator from './SortIndicator'\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 * Default table header renderer.\n */\nexport function defaultHeaderRenderer ({\n columnData,\n dataKey,\n disableSort,\n label,\n sortBy,\n sortDirection\n}) {\n const showSortIndicator = sortBy === dataKey\n const children = [\n \n {label}\n \n ]\n\n if (showSortIndicator) {\n children.push(\n \n )\n }\n\n return children\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 headerRenderer: defaultHeaderRenderer\n }\n\n static propTypes = {\n /** Optional CSS class to apply to cell */\n cellClassName: PropTypes.string,\n\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 /**\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\n /** Optional additional data passed to this column's :cellDataGetter */\n columnData: PropTypes.object,\n\n /** Uniquely identifies the row-data attribute correspnding to this cell */\n dataKey: PropTypes.any.isRequired,\n\n /** If sort is enabled for the table at large, disable it for this column */\n disableSort: PropTypes.bool,\n\n /** Flex grow style; defaults to 0 */\n flexGrow: PropTypes.number,\n\n /** Flex shrink style; defaults to 1 */\n flexShrink: PropTypes.number,\n\n /** Optional CSS class to apply to this column's header */\n headerClassName: PropTypes.string,\n\n /**\n * Optional callback responsible for rendering a column header contents.\n * ({ columnData: object, dataKey: string, disableSort: boolean, label: string, sortBy: string, sortDirection: string }): PropTypes.node\n */\n headerRenderer: PropTypes.func.isRequired,\n\n /** Header label for this column */\n label: PropTypes.string,\n\n /** Maximum width of column; this property will only be used if :flexGrow is > 0. */\n maxWidth: PropTypes.number,\n\n /** Minimum width of column. */\n minWidth: PropTypes.number,\n\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 **/","import React, { PropTypes } from 'react'\nimport cn from 'classnames'\nimport SortDirection from './SortDirection'\n\n/**\n * Displayed beside a header to indicate that a FlexTable is currently sorted by this column.\n */\nexport default 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/SortIndicator.js\n **/","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\nexport default SortDirection\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/SortDirection.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 clientHeight: 0,\n clientWidth: 0,\n scrollHeight: 0,\n scrollLeft: 0,\n scrollTop: 0,\n scrollWidth: 0\n }\n\n this._onScroll = this._onScroll.bind(this)\n }\n\n render () {\n const { children } = this.props\n const { clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth } = this.state\n\n return children({\n clientHeight,\n clientWidth,\n onScroll: this._onScroll,\n scrollHeight,\n scrollLeft,\n scrollTop,\n scrollWidth\n })\n }\n\n _onScroll ({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth }) {\n this.setState({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth })\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":""}