71dd504a243be0306516075409c150c4.json 36.8 KB
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UnimplementedView=_interopRequireDefault(require(\"../../../modules/UnimplementedView\"));var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"../../../exports/View\"));var _VirtualizedList=_interopRequireDefault(require(\"../VirtualizedList\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var defaultProps=_objectSpread({},_VirtualizedList.default.defaultProps,{numColumns:1});var FlatList=function(_React$PureComponent){_inheritsLoose(FlatList,_React$PureComponent);var _proto=FlatList.prototype;_proto.scrollToEnd=function scrollToEnd(params){if(this._listRef){this._listRef.scrollToEnd(params);}};_proto.scrollToIndex=function scrollToIndex(params){if(this._listRef){this._listRef.scrollToIndex(params);}};_proto.scrollToItem=function scrollToItem(params){if(this._listRef){this._listRef.scrollToItem(params);}};_proto.scrollToOffset=function scrollToOffset(params){if(this._listRef){this._listRef.scrollToOffset(params);}};_proto.recordInteraction=function recordInteraction(){if(this._listRef){this._listRef.recordInteraction();}};_proto.flashScrollIndicators=function flashScrollIndicators(){if(this._listRef){this._listRef.flashScrollIndicators();}};_proto.getScrollResponder=function getScrollResponder(){if(this._listRef){return this._listRef.getScrollResponder();}};_proto.getScrollableNode=function getScrollableNode(){if(this._listRef){return this._listRef.getScrollableNode();}};_proto.setNativeProps=function setNativeProps(props){if(this._listRef){this._listRef.setNativeProps(props);}};_proto.UNSAFE_componentWillMount=function UNSAFE_componentWillMount(){this._checkProps(this.props);};_proto.UNSAFE_componentWillReceiveProps=function UNSAFE_componentWillReceiveProps(nextProps){(0,_invariant.default)(nextProps.numColumns===this.props.numColumns,'Changing numColumns on the fly is not supported. Change the key prop on FlatList when '+'changing the number of columns to force a fresh render of the component.');(0,_invariant.default)(nextProps.onViewableItemsChanged===this.props.onViewableItemsChanged,'Changing onViewableItemsChanged on the fly is not supported');(0,_invariant.default)(nextProps.viewabilityConfig===this.props.viewabilityConfig,'Changing viewabilityConfig on the fly is not supported');(0,_invariant.default)(nextProps.viewabilityConfigCallbackPairs===this.props.viewabilityConfigCallbackPairs,'Changing viewabilityConfigCallbackPairs on the fly is not supported');this._checkProps(nextProps);};function FlatList(props){var _this;_this=_React$PureComponent.call(this,props)||this;_this._hasWarnedLegacy=false;_this._virtualizedListPairs=[];_this._captureRef=function(ref){_this._listRef=ref;};_this._getItem=function(data,index){var numColumns=_this.props.numColumns;if(numColumns>1){var ret=[];for(var kk=0;kk<numColumns;kk++){var _item=data[index*numColumns+kk];_item&&ret.push(_item);}return ret;}else{return data[index];}};_this._getItemCount=function(data){return data?Math.ceil(data.length/_this.props.numColumns):0;};_this._keyExtractor=function(items,index){var _this$props=_this.props,keyExtractor=_this$props.keyExtractor,numColumns=_this$props.numColumns;if(numColumns>1){(0,_invariant.default)(Array.isArray(items),'FlatList: Encountered internal consistency error, expected each item to consist of an '+'array with 1-%s columns; instead, received a single item.',numColumns);return items.map(function(it,kk){return keyExtractor(it,index*numColumns+kk);}).join(':');}else{return keyExtractor(items,index);}};_this._renderItem=function(info){var _this$props2=_this.props,renderItem=_this$props2.renderItem,numColumns=_this$props2.numColumns,columnWrapperStyle=_this$props2.columnWrapperStyle;if(numColumns>1){var _item2=info.item,_index=info.index;(0,_invariant.default)(Array.isArray(_item2),'Expected array of items with numColumns > 1');return _react.default.createElement(_View.default,{style:[{flexDirection:'row'},columnWrapperStyle]},_item2.map(function(it,kk){var element=renderItem({item:it,index:_index*numColumns+kk,separators:info.separators});return element&&_react.default.cloneElement(element,{key:kk});}));}else{return renderItem(info);}};if(_this.props.viewabilityConfigCallbackPairs){_this._virtualizedListPairs=_this.props.viewabilityConfigCallbackPairs.map(function(pair){return{viewabilityConfig:pair.viewabilityConfig,onViewableItemsChanged:_this._createOnViewableItemsChanged(pair.onViewableItemsChanged)};});}else if(_this.props.onViewableItemsChanged){_this._virtualizedListPairs.push({viewabilityConfig:_this.props.viewabilityConfig,onViewableItemsChanged:_this._createOnViewableItemsChanged(_this.props.onViewableItemsChanged)});}return _this;}_proto._checkProps=function _checkProps(props){var getItem=props.getItem,getItemCount=props.getItemCount,horizontal=props.horizontal,legacyImplementation=props.legacyImplementation,numColumns=props.numColumns,columnWrapperStyle=props.columnWrapperStyle,onViewableItemsChanged=props.onViewableItemsChanged,viewabilityConfigCallbackPairs=props.viewabilityConfigCallbackPairs;(0,_invariant.default)(!getItem&&!getItemCount,'FlatList does not support custom data formats.');if(numColumns>1){(0,_invariant.default)(!horizontal,'numColumns does not support horizontal.');}else{(0,_invariant.default)(!columnWrapperStyle,'columnWrapperStyle not supported for single column lists');}if(legacyImplementation){(0,_invariant.default)(numColumns===1,'Legacy list does not support multiple columns.');if(!this._hasWarnedLegacy){console.warn('FlatList: Using legacyImplementation - some features not supported and performance '+'may suffer');this._hasWarnedLegacy=true;}}(0,_invariant.default)(!(onViewableItemsChanged&&viewabilityConfigCallbackPairs),'FlatList does not support setting both onViewableItemsChanged and '+'viewabilityConfigCallbackPairs.');};_proto._pushMultiColumnViewable=function _pushMultiColumnViewable(arr,v){var _this$props3=this.props,numColumns=_this$props3.numColumns,keyExtractor=_this$props3.keyExtractor;v.item.forEach(function(item,ii){(0,_invariant.default)(v.index!=null,'Missing index!');var index=v.index*numColumns+ii;arr.push(_objectSpread({},v,{item:item,key:keyExtractor(item,index),index:index}));});};_proto._createOnViewableItemsChanged=function _createOnViewableItemsChanged(onViewableItemsChanged){var _this2=this;return function(info){var numColumns=_this2.props.numColumns;if(onViewableItemsChanged){if(numColumns>1){var changed=[];var viewableItems=[];info.viewableItems.forEach(function(v){return _this2._pushMultiColumnViewable(viewableItems,v);});info.changed.forEach(function(v){return _this2._pushMultiColumnViewable(changed,v);});onViewableItemsChanged({viewableItems:viewableItems,changed:changed});}else{onViewableItemsChanged(info);}}};};_proto.render=function render(){if(this.props.legacyImplementation){return _react.default.createElement(_UnimplementedView.default,_extends({},this.props,{items:this.props.data,ref:this._captureRef}));}else{return _react.default.createElement(_VirtualizedList.default,_extends({},this.props,{renderItem:this._renderItem,getItem:this._getItem,getItemCount:this._getItemCount,keyExtractor:this._keyExtractor,ref:this._captureRef,viewabilityConfigCallbackPairs:this._virtualizedListPairs}));}};return FlatList;}(_react.default.PureComponent);FlatList.defaultProps=defaultProps;var _default=FlatList;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/FlatList/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_inheritsLoose","subClass","superClass","create","constructor","__proto__","_objectSpread","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","_defineProperty","obj","value","defineProperty","configurable","writable","defaultProps","VirtualizedList","numColumns","FlatList","_React$PureComponent","_proto","scrollToEnd","params","_listRef","scrollToIndex","scrollToItem","scrollToOffset","recordInteraction","flashScrollIndicators","getScrollResponder","getScrollableNode","setNativeProps","props","UNSAFE_componentWillMount","_checkProps","UNSAFE_componentWillReceiveProps","nextProps","onViewableItemsChanged","viewabilityConfig","viewabilityConfigCallbackPairs","_this","_hasWarnedLegacy","_virtualizedListPairs","_captureRef","ref","_getItem","data","index","ret","kk","_item","push","_getItemCount","Math","ceil","_keyExtractor","items","_this$props","keyExtractor","Array","isArray","map","it","join","_renderItem","info","_this$props2","renderItem","columnWrapperStyle","_item2","item","_index","React","createElement","View","style","flexDirection","element","separators","cloneElement","pair","_createOnViewableItemsChanged","getItem","getItemCount","horizontal","legacyImplementation","console","warn","_pushMultiColumnViewable","arr","v","_this$props3","ii","_this2","changed","viewableItems","render","UnimplementedView","PureComponent"],"mappings":"mKAiBA,6FACA,oDACA,mEACA,2EACA,qEArBA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CAAGC,MAAM,CAACC,MAAP,EAAiB,SAAUC,MAAV,CAAkB,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAtB,CAA2B,IAAK,GAAII,CAAAA,GAAT,GAAgBD,CAAAA,MAAhB,CAAwB,CAAE,GAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,CAA6CC,GAA7C,CAAJ,CAAuD,CAAEL,MAAM,CAACK,GAAD,CAAN,CAAcD,MAAM,CAACC,GAAD,CAApB,CAA4B,CAAE,CAAE,CAAC,MAAOL,CAAAA,MAAP,CAAgB,CAA5P,CAA8P,MAAOH,CAAAA,QAAQ,CAACY,KAAT,CAAe,IAAf,CAAqBP,SAArB,CAAP,CAAyC,CAE7T,QAASQ,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACL,SAAT,CAAqBR,MAAM,CAACe,MAAP,CAAcD,UAAU,CAACN,SAAzB,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CAAoBwB,0BAApB,CAAuCrH,QAAQ,CAAC,EAAD,CAAK,KAAKoD,KAAV,CAAiB,CAI9DwB,KAAK,CAAE,KAAKxB,KAAL,CAAWc,IAJ4C,CAK9DF,GAAG,CAAE,KAAKD,WALoD,CAAjB,CAA/C,CAJF,CAYD,CAbD,IAaO,CACL,MAAO6B,gBAAMC,aAAN,CAAoBzD,wBAApB,CAAqCpC,QAAQ,CAAC,EAAD,CAAK,KAAKoD,KAAV,CAAiB,CACnEmC,UAAU,CAAE,KAAKH,WADkD,CAEnEkB,OAAO,CAAE,KAAKrC,QAFqD,CAGnEsC,YAAY,CAAE,KAAK/B,aAHgD,CAInEM,YAAY,CAAE,KAAKH,aAJgD,CAKnEX,GAAG,CAAE,KAAKD,WALyD,CAMnEJ,8BAA8B,CAAE,KAAKG,qBAN8B,CAAjB,CAA7C,CAAP,CAQD,CACF,CAxBD,CA0BA,MAAOxB,CAAAA,QAAP,CACD,CAvTD,CAuTEsD,eAAM0B,aAvTR,CAFA,CA2TAhF,QAAQ,CAACH,YAAT,CAAwBA,YAAxB,C,aACeG,Q","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\nimport UnimplementedView from '../../../modules/UnimplementedView';\nimport React from 'react';\nimport View from '../../../exports/View';\nimport VirtualizedList from '../VirtualizedList';\nimport invariant from 'fbjs/lib/invariant';\n\nvar defaultProps = _objectSpread({}, VirtualizedList.defaultProps, {\n  numColumns: 1\n});\n\n/**\n * A performant interface for rendering simple, flat lists, supporting the most handy features:\n *\n *  - Fully cross-platform.\n *  - Optional horizontal mode.\n *  - Configurable viewability callbacks.\n *  - Header support.\n *  - Footer support.\n *  - Separator support.\n *  - Pull to Refresh.\n *  - Scroll loading.\n *  - ScrollToIndex support.\n *\n * If you need section support, use [`<SectionList>`](docs/sectionlist.html).\n *\n * Minimal Example:\n *\n *     <FlatList\n *       data={[{key: 'a'}, {key: 'b'}]}\n *       renderItem={({item}) => <Text>{item.key}</Text>}\n *     />\n *\n * More complex, multi-select example demonstrating `PureComponent` usage for perf optimization and avoiding bugs.\n *\n * - By binding the `onPressItem` handler, the props will remain `===` and `PureComponent` will\n *   prevent wasteful re-renders unless the actual `id`, `selected`, or `title` props change, even\n *   if the components rendered in `MyListItem` did not have such optimizations.\n * - By passing `extraData={this.state}` to `FlatList` we make sure `FlatList` itself will re-render\n *   when the `state.selected` changes. Without setting this prop, `FlatList` would not know it\n *   needs to re-render any items because it is also a `PureComponent` and the prop comparison will\n *   not show any changes.\n * - `keyExtractor` tells the list to use the `id`s for the react keys instead of the default `key` property.\n *\n *\n *     class MyListItem extends React.PureComponent {\n *       _onPress = () => {\n *         this.props.onPressItem(this.props.id);\n *       };\n *\n *       render() {\n *         const textColor = this.props.selected ? \"red\" : \"black\";\n *         return (\n *           <TouchableOpacity onPress={this._onPress}>\n *             <View>\n *               <Text style={{ color: textColor }}>\n *                 {this.props.title}\n *               </Text>\n *             </View>\n *           </TouchableOpacity>\n *         );\n *       }\n *     }\n *\n *     class MultiSelectList extends React.PureComponent {\n *       state = {selected: (new Map(): Map<string, boolean>)};\n *\n *       _keyExtractor = (item, index) => item.id;\n *\n *       _onPressItem = (id: string) => {\n *         // updater functions are preferred for transactional updates\n *         this.setState((state) => {\n *           // copy the map rather than modifying state.\n *           const selected = new Map(state.selected);\n *           selected.set(id, !selected.get(id)); // toggle\n *           return {selected};\n *         });\n *       };\n *\n *       _renderItem = ({item}) => (\n *         <MyListItem\n *           id={item.id}\n *           onPressItem={this._onPressItem}\n *           selected={!!this.state.selected.get(item.id)}\n *           title={item.title}\n *         />\n *       );\n *\n *       render() {\n *         return (\n *           <FlatList\n *             data={this.props.data}\n *             extraData={this.state}\n *             keyExtractor={this._keyExtractor}\n *             renderItem={this._renderItem}\n *           />\n *         );\n *       }\n *     }\n *\n * This is a convenience wrapper around [`<VirtualizedList>`](docs/virtualizedlist.html),\n * and thus inherits its props (as well as those of `ScrollView`) that aren't explicitly listed\n * here, along with the following caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n *   your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n *   equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n *   (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n *   changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n *   offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see\n *   blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n *   and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` prop on each item and uses that for the React key.\n *   Alternatively, you can provide a custom `keyExtractor` prop.\n *\n * Also inherits [ScrollView Props](docs/scrollview.html#props), unless it is nested in another FlatList of same orientation.\n */\nvar FlatList =\n/*#__PURE__*/\nfunction (_React$PureComponent) {\n  _inheritsLoose(FlatList, _React$PureComponent);\n\n  var _proto = FlatList.prototype;\n\n  /**\n   * Scrolls to the end of the content. May be janky without `getItemLayout` prop.\n   */\n  _proto.scrollToEnd = function scrollToEnd(params) {\n    if (this._listRef) {\n      this._listRef.scrollToEnd(params);\n    }\n  }\n  /**\n   * Scrolls to the item at the specified index such that it is positioned in the viewable area\n   * such that `viewPosition` 0 places it at the top, 1 at the bottom, and 0.5 centered in the\n   * middle. `viewOffset` is a fixed number of pixels to offset the final target position.\n   *\n   * Note: cannot scroll to locations outside the render window without specifying the\n   * `getItemLayout` prop.\n   */\n  ;\n\n  _proto.scrollToIndex = function scrollToIndex(params) {\n    if (this._listRef) {\n      this._listRef.scrollToIndex(params);\n    }\n  }\n  /**\n   * Requires linear scan through data - use `scrollToIndex` instead if possible.\n   *\n   * Note: cannot scroll to locations outside the render window without specifying the\n   * `getItemLayout` prop.\n   */\n  ;\n\n  _proto.scrollToItem = function scrollToItem(params) {\n    if (this._listRef) {\n      this._listRef.scrollToItem(params);\n    }\n  }\n  /**\n   * Scroll to a specific content pixel offset in the list.\n   *\n   * Check out [scrollToOffset](docs/virtualizedlist.html#scrolltooffset) of VirtualizedList\n   */\n  ;\n\n  _proto.scrollToOffset = function scrollToOffset(params) {\n    if (this._listRef) {\n      this._listRef.scrollToOffset(params);\n    }\n  }\n  /**\n   * Tells the list an interaction has occurred, which should trigger viewability calculations, e.g.\n   * if `waitForInteractions` is true and the user has not scrolled. This is typically called by\n   * taps on items or by navigation actions.\n   */\n  ;\n\n  _proto.recordInteraction = function recordInteraction() {\n    if (this._listRef) {\n      this._listRef.recordInteraction();\n    }\n  }\n  /**\n   * Displays the scroll indicators momentarily.\n   *\n   * @platform ios\n   */\n  ;\n\n  _proto.flashScrollIndicators = function flashScrollIndicators() {\n    if (this._listRef) {\n      this._listRef.flashScrollIndicators();\n    }\n  }\n  /**\n   * Provides a handle to the underlying scroll responder.\n   */\n  ;\n\n  _proto.getScrollResponder = function getScrollResponder() {\n    if (this._listRef) {\n      return this._listRef.getScrollResponder();\n    }\n  };\n\n  _proto.getScrollableNode = function getScrollableNode() {\n    if (this._listRef) {\n      return this._listRef.getScrollableNode();\n    }\n  };\n\n  _proto.setNativeProps = function setNativeProps(props) {\n    if (this._listRef) {\n      this._listRef.setNativeProps(props);\n    }\n  };\n\n  _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n    this._checkProps(this.props);\n  };\n\n  _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n    invariant(nextProps.numColumns === this.props.numColumns, 'Changing numColumns on the fly is not supported. Change the key prop on FlatList when ' + 'changing the number of columns to force a fresh render of the component.');\n    invariant(nextProps.onViewableItemsChanged === this.props.onViewableItemsChanged, 'Changing onViewableItemsChanged on the fly is not supported');\n    invariant(nextProps.viewabilityConfig === this.props.viewabilityConfig, 'Changing viewabilityConfig on the fly is not supported');\n    invariant(nextProps.viewabilityConfigCallbackPairs === this.props.viewabilityConfigCallbackPairs, 'Changing viewabilityConfigCallbackPairs on the fly is not supported');\n\n    this._checkProps(nextProps);\n  };\n\n  function FlatList(props) {\n    var _this;\n\n    _this = _React$PureComponent.call(this, props) || this;\n    _this._hasWarnedLegacy = false;\n    _this._virtualizedListPairs = [];\n\n    _this._captureRef = function (ref) {\n      _this._listRef = ref;\n    };\n\n    _this._getItem = function (data, index) {\n      var numColumns = _this.props.numColumns;\n\n      if (numColumns > 1) {\n        var ret = [];\n\n        for (var kk = 0; kk < numColumns; kk++) {\n          var _item = data[index * numColumns + kk];\n          _item && ret.push(_item);\n        }\n\n        return ret;\n      } else {\n        return data[index];\n      }\n    };\n\n    _this._getItemCount = function (data) {\n      return data ? Math.ceil(data.length / _this.props.numColumns) : 0;\n    };\n\n    _this._keyExtractor = function (items, index) {\n      var _this$props = _this.props,\n          keyExtractor = _this$props.keyExtractor,\n          numColumns = _this$props.numColumns;\n\n      if (numColumns > 1) {\n        invariant(Array.isArray(items), 'FlatList: Encountered internal consistency error, expected each item to consist of an ' + 'array with 1-%s columns; instead, received a single item.', numColumns);\n        return items.map(function (it, kk) {\n          return keyExtractor(it, index * numColumns + kk);\n        }).join(':');\n      } else {\n        /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n         * error found when Flow v0.63 was deployed. To see the error delete this\n         * comment and run Flow. */\n        return keyExtractor(items, index);\n      }\n    };\n\n    _this._renderItem = function (info) {\n      var _this$props2 = _this.props,\n          renderItem = _this$props2.renderItem,\n          numColumns = _this$props2.numColumns,\n          columnWrapperStyle = _this$props2.columnWrapperStyle;\n\n      if (numColumns > 1) {\n        var _item2 = info.item,\n            _index = info.index;\n        invariant(Array.isArray(_item2), 'Expected array of items with numColumns > 1');\n        return React.createElement(View, {\n          style: [{\n            flexDirection: 'row'\n          }, columnWrapperStyle]\n        }, _item2.map(function (it, kk) {\n          var element = renderItem({\n            item: it,\n            index: _index * numColumns + kk,\n            separators: info.separators\n          });\n          return element && React.cloneElement(element, {\n            key: kk\n          });\n        }));\n      } else {\n        return renderItem(info);\n      }\n    };\n\n    if (_this.props.viewabilityConfigCallbackPairs) {\n      _this._virtualizedListPairs = _this.props.viewabilityConfigCallbackPairs.map(function (pair) {\n        return {\n          viewabilityConfig: pair.viewabilityConfig,\n          onViewableItemsChanged: _this._createOnViewableItemsChanged(pair.onViewableItemsChanged)\n        };\n      });\n    } else if (_this.props.onViewableItemsChanged) {\n      /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n       * error found when Flow v0.63 was deployed. To see the error delete this\n       * comment and run Flow. */\n      _this._virtualizedListPairs.push({\n        viewabilityConfig: _this.props.viewabilityConfig,\n        onViewableItemsChanged: _this._createOnViewableItemsChanged(_this.props.onViewableItemsChanged)\n      });\n    }\n\n    return _this;\n  }\n\n  _proto._checkProps = function _checkProps(props) {\n    var getItem = props.getItem,\n        getItemCount = props.getItemCount,\n        horizontal = props.horizontal,\n        legacyImplementation = props.legacyImplementation,\n        numColumns = props.numColumns,\n        columnWrapperStyle = props.columnWrapperStyle,\n        onViewableItemsChanged = props.onViewableItemsChanged,\n        viewabilityConfigCallbackPairs = props.viewabilityConfigCallbackPairs;\n    invariant(!getItem && !getItemCount, 'FlatList does not support custom data formats.');\n\n    if (numColumns > 1) {\n      invariant(!horizontal, 'numColumns does not support horizontal.');\n    } else {\n      invariant(!columnWrapperStyle, 'columnWrapperStyle not supported for single column lists');\n    }\n\n    if (legacyImplementation) {\n      invariant(numColumns === 1, 'Legacy list does not support multiple columns.'); // Warning: may not have full feature parity and is meant more for debugging and performance\n      // comparison.\n\n      if (!this._hasWarnedLegacy) {\n        console.warn('FlatList: Using legacyImplementation - some features not supported and performance ' + 'may suffer');\n        this._hasWarnedLegacy = true;\n      }\n    }\n\n    invariant(!(onViewableItemsChanged && viewabilityConfigCallbackPairs), 'FlatList does not support setting both onViewableItemsChanged and ' + 'viewabilityConfigCallbackPairs.');\n  };\n\n  _proto._pushMultiColumnViewable = function _pushMultiColumnViewable(arr, v) {\n    var _this$props3 = this.props,\n        numColumns = _this$props3.numColumns,\n        keyExtractor = _this$props3.keyExtractor;\n    v.item.forEach(function (item, ii) {\n      invariant(v.index != null, 'Missing index!');\n      var index = v.index * numColumns + ii;\n      arr.push(_objectSpread({}, v, {\n        item: item,\n        key: keyExtractor(item, index),\n        index: index\n      }));\n    });\n  };\n\n  _proto._createOnViewableItemsChanged = function _createOnViewableItemsChanged(onViewableItemsChanged) {\n    var _this2 = this;\n\n    return function (info) {\n      var numColumns = _this2.props.numColumns;\n\n      if (onViewableItemsChanged) {\n        if (numColumns > 1) {\n          var changed = [];\n          var viewableItems = [];\n          info.viewableItems.forEach(function (v) {\n            return _this2._pushMultiColumnViewable(viewableItems, v);\n          });\n          info.changed.forEach(function (v) {\n            return _this2._pushMultiColumnViewable(changed, v);\n          });\n          onViewableItemsChanged({\n            viewableItems: viewableItems,\n            changed: changed\n          });\n        } else {\n          onViewableItemsChanged(info);\n        }\n      }\n    };\n  };\n\n  _proto.render = function render() {\n    if (this.props.legacyImplementation) {\n      return (\n        /* $FlowFixMe(>=0.66.0 site=react_native_fb) This comment suppresses an\n         * error found when Flow v0.66 was deployed. To see the error delete\n         * this comment and run Flow. */\n        React.createElement(UnimplementedView, _extends({}, this.props, {\n          /* $FlowFixMe(>=0.66.0 site=react_native_fb) This comment suppresses\n           * an error found when Flow v0.66 was deployed. To see the error\n           * delete this comment and run Flow. */\n          items: this.props.data,\n          ref: this._captureRef\n        }))\n      );\n    } else {\n      return React.createElement(VirtualizedList, _extends({}, this.props, {\n        renderItem: this._renderItem,\n        getItem: this._getItem,\n        getItemCount: this._getItemCount,\n        keyExtractor: this._keyExtractor,\n        ref: this._captureRef,\n        viewabilityConfigCallbackPairs: this._virtualizedListPairs\n      }));\n    }\n  };\n\n  return FlatList;\n}(React.PureComponent);\n\nFlatList.defaultProps = defaultProps;\nexport default FlatList;"]},"metadata":{},"sourceType":"script"}