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