{"version":3,"file":"js/8615-bb3717d2b1dbfd8b2358.js","mappings":";;;;;;;;AAAyC;;AAEzC;AACA;AACA,gEAAgE;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gBAAgB,sCAAsC,kBAAkB;AACnF,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA,iDAAiD,OAAO;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB;AACA;AACA;AACA,YAAY,WAAW;AACvB;AACA,YAAY,WAAW;AACvB;AACA;AACA,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;;AAEzB,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2BAA2B;;AAE3B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,OAAO;AACf;AACA;AACA,IAAI,OAAO;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,OAAO;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,yCAAyC,6DAA6D;AACtG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,kBAAkB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,yFAAyF;AACxH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA,gBAAgB,gDAAmB,UAAU,wEAAwE;AACrH,YAAY,gDAAmB,UAAU,oGAAoG,wCAAwC,gBAAgB;AACrM,iDAAiD,gDAAmB,UAAU,SAAS,sBAAsB,6BAA6B,wCAAwC;AAClL,oBAAoB,gDAAmB,UAAU;AACjD;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,4CAAS;;AAEX,sDAAe,cAAc,EAAC;AAC9B;;;;;;;;ACvbA,2BAA2B,SAAS,cAAc,4BAA4B,YAAY,qBAAqB,2DAA2D,uCAAuC,qCAAqC,oBAAoB,EAAE,iBAAiB,4FAA4F,eAAe,wCAAwC,SAAS,EAAE,mBAAmB,8BAA8B,qDAAqD,0BAA0B,6CAA6C,sBAAsB,6DAA6D,YAAY,eAAe,SAAS,iBAAiB,iCAAiC,iBAAiB,YAAY,UAAU,sBAAsB,mBAAmB,iDAAiD,iBAAiB,kBAAkB,aAAa,sCAAsC,SAAS,EAAE,WAAW,mCAAmC,6BAA6B,8BAA8B,UAAU,UAAU,OAAO,EAAE,iBAAiB,aAAa,sCAAsC,SAAS,EAAE,+BAA+B,cAAc,0BAA0B,WAAW,kBAAkB,4CAA4C,SAAS,uFAAuF,SAAS,0BAA0B,uCAAuC,oBAAoB,sBAAsB,aAAa,qLAAqL,iBAAiB,4CAA4C,WAAW,aAAa,eAAe,UAAU,mBAAO,CAAC,KAAO,EAAE,iBAAiB,iBAAiB,iBAAiB,aAAa,WAAW,cAAc,cAAc,2CAA2C,wBAAwB,UAAU,mMAAmM,sCAAsC,aAAa,SAAS,eAAe,OAAO,2MAA2M,wBAAwB,iBAAiB,aAAa,yDAAyD,iBAAiB,aAAa,sCAAsC,SAAS,qBAAqB,WAAW,wBAAwB,iBAAiB,aAAa,sCAAsC,SAAS,EAAE,wBAAwB,6DAA6D,qBAAqB,QAAQ,wCAAwC","sources":["webpack://geosnapshot/./node_modules/react-infinite-scroll-component/dist/index.es.js","webpack://geosnapshot/./node_modules/react-pluralize/dist/index.js"],"sourcesContent":["import React, { Component } from 'react';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\n\n/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {Boolean} [noTrailing] Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset)\n * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {Boolean} [debounceMode] If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @return {Function} A new, throttled, function.\n */\nfunction throttle (delay, noTrailing, callback, debounceMode) {\n /*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n var timeoutID;\n var cancelled = false; // Keep track of the last time `callback` was executed.\n\n var lastExec = 0; // Function to clear existing timeout\n\n function clearExistingTimeout() {\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n } // Function to cancel next exec\n\n\n function cancel() {\n clearExistingTimeout();\n cancelled = true;\n } // `noTrailing` defaults to falsy.\n\n\n if (typeof noTrailing !== 'boolean') {\n debounceMode = callback;\n callback = noTrailing;\n noTrailing = undefined;\n }\n /*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n\n\n function wrapper() {\n var self = this;\n var elapsed = Date.now() - lastExec;\n var args = arguments;\n\n if (cancelled) {\n return;\n } // Execute `callback` and update the `lastExec` timestamp.\n\n\n function exec() {\n lastExec = Date.now();\n callback.apply(self, args);\n }\n /*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n\n\n function clear() {\n timeoutID = undefined;\n }\n\n if (debounceMode && !timeoutID) {\n /*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`.\n */\n exec();\n }\n\n clearExistingTimeout();\n\n if (debounceMode === undefined && elapsed > delay) {\n /*\n * In throttle mode, if `delay` time has been exceeded, execute\n * `callback`.\n */\n exec();\n } else if (noTrailing !== true) {\n /*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n }\n\n wrapper.cancel = cancel; // Return the wrapper function.\n\n return wrapper;\n}\n\nvar ThresholdUnits = {\r\n Pixel: 'Pixel',\r\n Percent: 'Percent',\r\n};\r\nvar defaultThreshold = {\r\n unit: ThresholdUnits.Percent,\r\n value: 0.8,\r\n};\r\nfunction parseThreshold(scrollThreshold) {\r\n if (typeof scrollThreshold === 'number') {\r\n return {\r\n unit: ThresholdUnits.Percent,\r\n value: scrollThreshold * 100,\r\n };\r\n }\r\n if (typeof scrollThreshold === 'string') {\r\n if (scrollThreshold.match(/^(\\d*(\\.\\d+)?)px$/)) {\r\n return {\r\n unit: ThresholdUnits.Pixel,\r\n value: parseFloat(scrollThreshold),\r\n };\r\n }\r\n if (scrollThreshold.match(/^(\\d*(\\.\\d+)?)%$/)) {\r\n return {\r\n unit: ThresholdUnits.Percent,\r\n value: parseFloat(scrollThreshold),\r\n };\r\n }\r\n console.warn('scrollThreshold format is invalid. Valid formats: \"120px\", \"50%\"...');\r\n return defaultThreshold;\r\n }\r\n console.warn('scrollThreshold should be string or number');\r\n return defaultThreshold;\r\n}\n\nvar InfiniteScroll = /** @class */ (function (_super) {\r\n __extends(InfiniteScroll, _super);\r\n function InfiniteScroll(props) {\r\n var _this = _super.call(this, props) || this;\r\n _this.lastScrollTop = 0;\r\n _this.actionTriggered = false;\r\n // variables to keep track of pull down behaviour\r\n _this.startY = 0;\r\n _this.currentY = 0;\r\n _this.dragging = false;\r\n // will be populated in componentDidMount\r\n // based on the height of the pull down element\r\n _this.maxPullDownDistance = 0;\r\n _this.getScrollableTarget = function () {\r\n if (_this.props.scrollableTarget instanceof HTMLElement)\r\n return _this.props.scrollableTarget;\r\n if (typeof _this.props.scrollableTarget === 'string') {\r\n return document.getElementById(_this.props.scrollableTarget);\r\n }\r\n if (_this.props.scrollableTarget === null) {\r\n console.warn(\"You are trying to pass scrollableTarget but it is null. This might\\n happen because the element may not have been added to DOM yet.\\n See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\\n \");\r\n }\r\n return null;\r\n };\r\n _this.onStart = function (evt) {\r\n if (_this.lastScrollTop)\r\n return;\r\n _this.dragging = true;\r\n if (evt instanceof MouseEvent) {\r\n _this.startY = evt.pageY;\r\n }\r\n else if (evt instanceof TouchEvent) {\r\n _this.startY = evt.touches[0].pageY;\r\n }\r\n _this.currentY = _this.startY;\r\n if (_this._infScroll) {\r\n _this._infScroll.style.willChange = 'transform';\r\n _this._infScroll.style.transition = \"transform 0.2s cubic-bezier(0,0,0.31,1)\";\r\n }\r\n };\r\n _this.onMove = function (evt) {\r\n if (!_this.dragging)\r\n return;\r\n if (evt instanceof MouseEvent) {\r\n _this.currentY = evt.pageY;\r\n }\r\n else if (evt instanceof TouchEvent) {\r\n _this.currentY = evt.touches[0].pageY;\r\n }\r\n // user is scrolling down to up\r\n if (_this.currentY < _this.startY)\r\n return;\r\n if (_this.currentY - _this.startY >=\r\n Number(_this.props.pullDownToRefreshThreshold)) {\r\n _this.setState({\r\n pullToRefreshThresholdBreached: true,\r\n });\r\n }\r\n // so you can drag upto 1.5 times of the maxPullDownDistance\r\n if (_this.currentY - _this.startY > _this.maxPullDownDistance * 1.5)\r\n return;\r\n if (_this._infScroll) {\r\n _this._infScroll.style.overflow = 'visible';\r\n _this._infScroll.style.transform = \"translate3d(0px, \" + (_this.currentY -\r\n _this.startY) + \"px, 0px)\";\r\n }\r\n };\r\n _this.onEnd = function () {\r\n _this.startY = 0;\r\n _this.currentY = 0;\r\n _this.dragging = false;\r\n if (_this.state.pullToRefreshThresholdBreached) {\r\n _this.props.refreshFunction && _this.props.refreshFunction();\r\n _this.setState({\r\n pullToRefreshThresholdBreached: false,\r\n });\r\n }\r\n requestAnimationFrame(function () {\r\n // this._infScroll\r\n if (_this._infScroll) {\r\n _this._infScroll.style.overflow = 'auto';\r\n _this._infScroll.style.transform = 'none';\r\n _this._infScroll.style.willChange = 'none';\r\n }\r\n });\r\n };\r\n _this.onScrollListener = function (event) {\r\n if (typeof _this.props.onScroll === 'function') {\r\n // Execute this callback in next tick so that it does not affect the\r\n // functionality of the library.\r\n setTimeout(function () { return _this.props.onScroll && _this.props.onScroll(event); }, 0);\r\n }\r\n var target = _this.props.height || _this._scrollableNode\r\n ? event.target\r\n : document.documentElement.scrollTop\r\n ? document.documentElement\r\n : document.body;\r\n // return immediately if the action has already been triggered,\r\n // prevents multiple triggers.\r\n if (_this.actionTriggered)\r\n return;\r\n var atBottom = _this.props.inverse\r\n ? _this.isElementAtTop(target, _this.props.scrollThreshold)\r\n : _this.isElementAtBottom(target, _this.props.scrollThreshold);\r\n // call the `next` function in the props to trigger the next data fetch\r\n if (atBottom && _this.props.hasMore) {\r\n _this.actionTriggered = true;\r\n _this.setState({ showLoader: true });\r\n _this.props.next && _this.props.next();\r\n }\r\n _this.lastScrollTop = target.scrollTop;\r\n };\r\n _this.state = {\r\n showLoader: false,\r\n pullToRefreshThresholdBreached: false,\r\n };\r\n _this.throttledOnScrollListener = throttle(150, _this.onScrollListener).bind(_this);\r\n _this.onStart = _this.onStart.bind(_this);\r\n _this.onMove = _this.onMove.bind(_this);\r\n _this.onEnd = _this.onEnd.bind(_this);\r\n return _this;\r\n }\r\n InfiniteScroll.prototype.componentDidMount = function () {\r\n if (typeof this.props.dataLength === 'undefined') {\r\n throw new Error(\"mandatory prop \\\"dataLength\\\" is missing. The prop is needed\" +\r\n \" when loading more content. Check README.md for usage\");\r\n }\r\n this._scrollableNode = this.getScrollableTarget();\r\n this.el = this.props.height\r\n ? this._infScroll\r\n : this._scrollableNode || window;\r\n if (this.el) {\r\n this.el.addEventListener('scroll', this\r\n .throttledOnScrollListener);\r\n }\r\n if (typeof this.props.initialScrollY === 'number' &&\r\n this.el &&\r\n this.el instanceof HTMLElement &&\r\n this.el.scrollHeight > this.props.initialScrollY) {\r\n this.el.scrollTo(0, this.props.initialScrollY);\r\n }\r\n if (this.props.pullDownToRefresh && this.el) {\r\n this.el.addEventListener('touchstart', this.onStart);\r\n this.el.addEventListener('touchmove', this.onMove);\r\n this.el.addEventListener('touchend', this.onEnd);\r\n this.el.addEventListener('mousedown', this.onStart);\r\n this.el.addEventListener('mousemove', this.onMove);\r\n this.el.addEventListener('mouseup', this.onEnd);\r\n // get BCR of pullDown element to position it above\r\n this.maxPullDownDistance =\r\n (this._pullDown &&\r\n this._pullDown.firstChild &&\r\n this._pullDown.firstChild.getBoundingClientRect()\r\n .height) ||\r\n 0;\r\n this.forceUpdate();\r\n if (typeof this.props.refreshFunction !== 'function') {\r\n throw new Error(\"Mandatory prop \\\"refreshFunction\\\" missing.\\n Pull Down To Refresh functionality will not work\\n as expected. Check README.md for usage'\");\r\n }\r\n }\r\n };\r\n InfiniteScroll.prototype.componentWillUnmount = function () {\r\n if (this.el) {\r\n this.el.removeEventListener('scroll', this\r\n .throttledOnScrollListener);\r\n if (this.props.pullDownToRefresh) {\r\n this.el.removeEventListener('touchstart', this.onStart);\r\n this.el.removeEventListener('touchmove', this.onMove);\r\n this.el.removeEventListener('touchend', this.onEnd);\r\n this.el.removeEventListener('mousedown', this.onStart);\r\n this.el.removeEventListener('mousemove', this.onMove);\r\n this.el.removeEventListener('mouseup', this.onEnd);\r\n }\r\n }\r\n };\r\n InfiniteScroll.prototype.UNSAFE_componentWillReceiveProps = function (props) {\r\n // do nothing when dataLength is unchanged\r\n if (this.props.dataLength === props.dataLength)\r\n return;\r\n this.actionTriggered = false;\r\n // update state when new data was sent in\r\n this.setState({\r\n showLoader: false,\r\n });\r\n };\r\n InfiniteScroll.prototype.isElementAtTop = function (target, scrollThreshold) {\r\n if (scrollThreshold === void 0) { scrollThreshold = 0.8; }\r\n var clientHeight = target === document.body || target === document.documentElement\r\n ? window.screen.availHeight\r\n : target.clientHeight;\r\n var threshold = parseThreshold(scrollThreshold);\r\n if (threshold.unit === ThresholdUnits.Pixel) {\r\n return (target.scrollTop <=\r\n threshold.value + clientHeight - target.scrollHeight + 1 ||\r\n target.scrollTop === 0);\r\n }\r\n return (target.scrollTop <=\r\n threshold.value / 100 + clientHeight - target.scrollHeight + 1 ||\r\n target.scrollTop === 0);\r\n };\r\n InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {\r\n if (scrollThreshold === void 0) { scrollThreshold = 0.8; }\r\n var clientHeight = target === document.body || target === document.documentElement\r\n ? window.screen.availHeight\r\n : target.clientHeight;\r\n var threshold = parseThreshold(scrollThreshold);\r\n if (threshold.unit === ThresholdUnits.Pixel) {\r\n return (target.scrollTop + clientHeight >= target.scrollHeight - threshold.value);\r\n }\r\n return (target.scrollTop + clientHeight >=\r\n (threshold.value / 100) * target.scrollHeight);\r\n };\r\n InfiniteScroll.prototype.render = function () {\r\n var _this = this;\r\n var style = __assign({ height: this.props.height || 'auto', overflow: 'auto', WebkitOverflowScrolling: 'touch' }, this.props.style);\r\n var hasChildren = this.props.hasChildren ||\r\n !!(this.props.children &&\r\n this.props.children instanceof Array &&\r\n this.props.children.length);\r\n // because heighted infiniteScroll visualy breaks\r\n // on drag down as overflow becomes visible\r\n var outerDivStyle = this.props.pullDownToRefresh && this.props.height\r\n ? { overflow: 'auto' }\r\n : {};\r\n return (React.createElement(\"div\", { style: outerDivStyle, className: \"infinite-scroll-component__outerdiv\" },\r\n React.createElement(\"div\", { className: \"infinite-scroll-component \" + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },\r\n this.props.pullDownToRefresh && (React.createElement(\"div\", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },\r\n React.createElement(\"div\", { style: {\r\n position: 'absolute',\r\n left: 0,\r\n right: 0,\r\n top: -1 * this.maxPullDownDistance,\r\n } }, this.state.pullToRefreshThresholdBreached\r\n ? this.props.releaseToRefreshContent\r\n : this.props.pullDownToRefreshContent))),\r\n this.props.children,\r\n !this.state.showLoader &&\r\n !hasChildren &&\r\n this.props.hasMore &&\r\n this.props.loader,\r\n this.state.showLoader && this.props.hasMore && this.props.loader,\r\n !this.props.hasMore && this.props.endMessage)));\r\n };\r\n return InfiniteScroll;\r\n}(Component));\n\nexport default InfiniteScroll;\n//# sourceMappingURL=index.es.js.map\n","module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,\"a\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\"\",r(r.s=0)}([function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=r(1);Object.defineProperty(t,\"default\",{enumerable:!0,get:function(){return(e=n,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=a(r(2)),o=a(r(3)),u=r(6);function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=e.className,r=e.style,o=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,[\"className\",\"style\"]);return n.default.createElement(\"span\",{className:t,style:r},(0,u.pluralize)(o))};l.propTypes={singular:o.default.string.isRequired,plural:o.default.string,count:o.default.number,showCount:o.default.bool,className:o.default.string,style:o.default.object,zero:o.default.string},l.defaultProps={count:1,showCount:!0,className:null,style:{},zero:null},t.default=l},function(e,t){e.exports=require(\"react\")},function(e,t,r){e.exports=r(4)()},function(e,t,r){\"use strict\";var n=r(5);function o(){}function u(){}u.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,u,a){if(a!==n){var l=new Error(\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\");throw l.name=\"Invariant Violation\",l}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:u,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){\"use strict\";e.exports=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\"},function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.pluralize=void 0;var n=r(7);t.pluralize=n.pluralize},function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});t.pluralize=function(e){var t=e.singular,r=e.plural,n=e.count,o=e.showCount,u=e.zero;if(0===n&&u)return u;var a=t;return 1!==n&&(a=r||t+\"s\"),o?n+\" \"+a:a}}]);"],"names":[],"sourceRoot":""}