(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~CollectionCommentsPage~CommentsPage~Explore~Frontpage~ModListing~ModQueuePages~ModerationPag~2db29515"],{"./node_modules/@researchgate/react-intersection-observer/lib/es/index.js":function(t,e,r){"use strict";var n=r("./node_modules/react/index.js"),o=r.n(n),i=r("./node_modules/react-dom/index.js");r("./node_modules/@researchgate/react-intersection-observer/node_modules/prop-types/index.js"),r("./node_modules/invariant/browser.js");function s(t,e){return Array.isArray(t)&&Array.isArray(e)&&t.length===e.length?t.some(function(r,n){return s(t[n],e[n])}):t!==e}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.root||null,r=function(t){var e=/^-?\d*\.?\d+(px|%)$/,r=(t||"0px").split(/\s+/).map(function(t){if(!e.test(t))throw new Error("rootMargin must be specified in pixels or percent");return t});return r[1]=r[1]||r[0],r[2]=r[2]||r[0],r[3]=r[3]||r[1],r.join(" ")}(t.rootMargin),n=Array.isArray(t.threshold)?t.threshold:[void 0!==t.threshold?t.threshold:0],o=a.keys(),i=Array.isArray(o),c=0;for(o=i?o:o[Symbol.iterator]();;){var h;if(i){if(c>=o.length)break;h=o[c++]}else{if((c=o.next()).done)break;h=c.value}var u=h;if(![[e,u.root],[r,u.rootMargin],[n,u.thresholds]].some(function(t){return s.apply(void 0,t)}))return u}return null}var a=new Map,h=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.create=function(t,e){return c(e)||new IntersectionObserver(t,e)},t.findElement=function(t,e){var r=a.get(e);if(r){var n=r.values(),o=Array.isArray(n),i=0;for(n=o?n:n[Symbol.iterator]();;){var s;if(o){if(i>=n.length)break;s=n[i++]}else{if((i=n.next()).done)break;s=i.value}var c=s;if(c.target===t.target)return c}}return null},t.observe=function(t){var e=void 0;a.has(t.observer)?e=a.get(t.observer):(e=new Set,a.set(t.observer,e)),e.add(t),t.observer.observe(t.target)},t.unobserve=function(t){if(a.has(t.observer)){var e=a.get(t.observer);e.delete(t)&&(e.size>0?t.observer.unobserve(t.target):(t.observer.disconnect(),a.delete(t.observer)))}},t.clear=function(){a.clear()},t.count=function(){return a.size},t}(),u=function(){function t(t,e){for(var r=0;r0}});else{var r=[];o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},o.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},o.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,r){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==r[e-1]})},o.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},o.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(t,"resize",this._checkForIntersections,!0),i(e,"scroll",this._checkForIntersections,!0),"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},o.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},o.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),r=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(o){var i=o.element,s=c(i),a=this._rootContainsTarget(i),h=o.entry,u=e&&a&&this._computeTargetAndRootIntersection(i,r),p=o.entry=new n({time:t.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:r,intersectionRect:u});h?e&&a?this._hasCrossedThreshold(h,p)&&this._queuedEntries.push(p):h&&h.isIntersecting&&this._queuedEntries.push(p):this._queuedEntries.push(p)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},o.prototype._computeTargetAndRootIntersection=function(r,n){if("none"!=t.getComputedStyle(r).display){for(var o,i,s,a,u,p,l,d,f=c(r),v=h(r),b=!1;!b;){var g=null,m=1==v.nodeType?t.getComputedStyle(v):{};if("none"==m.display)return;if(v==this.root||v==e?(b=!0,g=n):v!=e.body&&v!=e.documentElement&&"visible"!=m.overflow&&(g=c(v)),g&&(o=g,i=f,void 0,void 0,void 0,void 0,void 0,void 0,s=Math.max(o.top,i.top),a=Math.min(o.bottom,i.bottom),u=Math.max(o.left,i.left),p=Math.min(o.right,i.right),d=a-s,!(f=(l=p-u)>=0&&d>=0&&{top:s,bottom:a,left:u,right:p,width:l,height:d})))break;v=h(v)}return f}},o.prototype._getRootRect=function(){var t;if(this.root)t=c(this.root);else{var r=e.documentElement,n=e.body;t={top:0,left:0,right:r.clientWidth||n.clientWidth,width:r.clientWidth||n.clientWidth,bottom:r.clientHeight||n.clientHeight,height:r.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,r){return"px"==e.unit?e.value:e.value*(r%2?t.width:t.height)/100}),r={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return r.width=r.right-r.left,r.height=r.bottom-r.top,r},o.prototype._hasCrossedThreshold=function(t,e){var r=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(r!==n)for(var o=0;o