PageSourceSearch

https://healthdatagateway.org/_next/static/chunks/ce8f871a7e887035.js

js healthdatagateway.org collected 2026-10-02 04:18:01 UTC 117,319 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,767097,e=>{"use strict";let t="publisherName",o="dataUseTitles",n="geographicLocation",r="dateRange",i="organisationName",l="datasetTitles",s="publicationDate",a="publicationType",c="programmingLanguages",d="sector",u="dataProvider",h="dataProviderColl",f="license",p="accessService",m="populationSize",g="typeCategory",v="containsBioSamples",_="isCohortDiscovery",S="sampleAvailability",y="dataType",C="dataSubType",w="collectionName",R="collectionNames",x="formatAndStandards",T=[t,o,n,r,i,l,s,a,"datasetLinkTypes",d,u,h,c,"category",f,p,m,g,v,_,S,y,C,w,R,x];e.s(["FILTER_ACCESS_SERVICE",0,p,"FILTER_COHORT_DISCOVERY",0,_,"FILTER_COLLECTION_NAME",0,w,"FILTER_COLLECTION_NAMES",0,R,"FILTER_CONTAINS_BIOSAMPLES",0,v,"FILTER_DATA_CUSTODIAN_NETWORK",0,h,"FILTER_DATA_PROVIDER",0,u,"FILTER_DATA_SET_TITLES",0,l,"FILTER_DATA_SUBTYPE",0,C,"FILTER_DATA_TYPE",0,y,"FILTER_DATA_USE_TITLES",0,o,"FILTER_DATE_RANGE",0,r,"FILTER_FORMAT_STANDARDS",0,x,"FILTER_GEOGRAPHIC_LOCATION",0,n,"FILTER_LICENSE",0,f,"FILTER_MATERIAL_TYPE",0,S,"FILTER_ORGANISATION_NAME",0,i,"FILTER_POPULATION_SIZE",0,m,"FILTER_PROGRAMMING_LANGUAGE",0,c,"FILTER_PUBLICATION_DATE",0,s,"FILTER_PUBLICATION_TYPE",0,a,"FILTER_PUBLISHER_NAME",0,t,"FILTER_SECTOR",0,d,"FILTER_TYPE_CATEGORY",0,g,"filtersList",0,T])},271944,(e,t,o)=>{var n=e.r(64324);t.exports=function(e){return n(e,5)}},569940,484031,963583,e=>{"use strict";var t,o,n=e.i(843476),r=e.i(271645),i=e.i(653145);function l(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}function c(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function d(e,t,o){return t&&c(e.prototype,t),o&&c(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}var u=e.i(971151);function h(e,t){if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return(0,u.default)(e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=e.i(885963);function m(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,p.default)(e,t)}function g(e,t,o){return(t=a(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function v(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function _(e){this.setState((function(t){var o=this.constructor.getDerivedStateFromProps(e,t);return null!=o?o:null}).bind(this))}function S(e,t){try{var o=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}function y(e){var t=e.prototype;if(!t||!t.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var o=null,n=null,r=null;if("function"==typeof t.componentWillMount?o="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(o="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?n="c
1omponentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(n="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==o||null!==n||null!==r)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==o?"\n  "+o:"")+(null!==n?"\n  "+n:"")+(null!==r?"\n  "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=v,t.componentWillReceiveProps=_),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=S;var i=t.componentDidUpdate;t.componentDidUpdate=function(e,t,o){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:o;i.call(this,e,t,n)}}return e}function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach(function(t){g(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(R=function(){return!!e})()}v.__suppressDeprecationWarning=!0,_.__suppressDeprecationWarning=!0,S.__suppressDeprecationWarning=!0;var x=function(e){function t(){l(this,t);for(var e,o,n,r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];return o=t,n=[].concat(i),o=f(o),g(e=h(this,R()?Reflect.construct(o,n||[],f(this).constructor):o.apply(this,n)),"state",{scrollToColumn:0,scrollToRow:0,instanceProps:{prevScrollToColumn:0,prevScrollToRow:0}}),g(e,"_columnStartIndex",0),g(e,"_columnStopIndex",0),g(e,"_rowStartIndex",0),g(e,"_rowStopIndex",0),g(e,"_onKeyDown",function(t){var o=e.props,n=o.columnCount,r=o.disabled,i=o.mode,l=o.rowCount;if(!r){var s=e._getScrollState(),a=s.scrollToColumn,c=s.scrollToRow,d=e._getScrollState(),u=d.scrollToColumn,h=d.scrollToRow;switch(t.key){case"ArrowDown":h="cells"===i?Math.min(h+1,l-1):Math.min(e._rowStopIndex+1,l-1);break;case"ArrowLeft":u="cells"===i?Math.max(u-1,0):Math.max(e._columnStartIndex-1,0);break;case"ArrowRight":u="cells"===i?Math.min(u+1,n-1):Math.min(e._columnStopIndex+1,n-1);break;case"ArrowUp":h="cells"===i?Math.max(h-1,0):Math.max(e._rowStartIndex-1,0)}(u!==a||h!==c)&&(t.preventDefault(),e._updateScrollState({scrollToColumn:u,scrollToRow:h}))}}),g(e,"_onSectionRendered",function(t){var o=t.columnStartIndex,n=t.columnStopIndex,r=t.rowStartIndex,i=t.rowStopIndex;e._columnStartIndex=o,e._columnStopIndex=n,e._rowStartIndex=r,e._rowStopIndex=i}),e}return m(t,e),d(t,[{key:"setScrollIndexes",value:function(e){var t=e.scrollToColumn,o=e.scrollToRow;this.setState({scrollToRow:o,scrollToColumn:t})}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.children,n=this._getScrollState(),i=n.scrollToColumn,l=n.scrollToRow;return r.createElement("div",{className:t,onKeyDown:this._onKeyDown},o({onSectionRendered:this._onSectionRendered,scrollToColumn:i,scrollToRow:l}))}},{key:"_getScrollState",value:function(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function(e){var t=e.scrollToColumn,o=e.scrollToRow,n=this.props,r=n.isControlled,i=n.onScrollToChange;"function"==typeof i&&i({scrollToColumn:t,scrollToRow:o}),r||this.setState({scrollToColumn:t,scrollToRow:o})}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isControlled?{}:e.scrollToColumn!==t.instanceProps.prevScrollToColumn||e.scrollToRow!==t.instanceProps.prevScrollToRow?w(w({},t),{},{scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow,instanceProps:{prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow}}):{}}}])}(r.PureComponent);function T(t,o){var n=void 0!==o?o:"u">typeof window?window:"u">typeof self?self:e.g,r=void 0!==n.document&&n.document.attachEvent;if(!r){var i,l,s=(i=n.requestAnimationFrame||n.mozRequestAnimationFrame||n.webkitRequestAnimationFrame||function(e){return n.setTimeout(e,20)},function(e){return i(e)}),a=(l=n.cancelAnimationFrame||n.mozCancelAnimationFrame||n.webkitCancelAnimationFrame||n.clearTimeout,function(e){return l(e)}),c=function(e){var t=e.__resizeTriggers__,o=t.firstElementChild,n=t.lastElementChild,r=o.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,r.style.width=o.offsetWidth+1+"px",r.style.height=o.offsetHeight+1+"px",o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight},d=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&0>e.target.className.indexOf("contract-trigger")&&0>e.target.className.indexOf("expand-trigger"))){var t=this;c(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=s(function(){(t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(o){o.call(t,e)}))})}},u=!1,h="",f="animationstart",p="Webkit Moz O ms".split(" "),m="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=n.document.createElement("fakeelement");
1if(void 0!==g.style.animationName&&(u=!0),!1===u){for(var v=0;v<p.length;v++)if(void 0!==g.style[p[v]+"AnimationName"]){h="-"+p[v].toLowerCase()+"-",f=m[v],u=!0;break}}var _="resizeanim",S="@"+h+"keyframes "+_+" { from { opacity: 0; } to { opacity: 0; } } ",y=h+"animation: 1ms "+_+"; "}var C=function(e){if(!e.getElementById("detectElementResize")){var o=(S||"")+".resize-triggers { "+(y||"")+'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; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=e.head||e.getElementsByTagName("head")[0],r=e.createElement("style");r.id="detectElementResize",r.type="text/css",null!=t&&r.setAttribute("nonce",t),r.styleSheet?r.styleSheet.cssText=o:r.appendChild(e.createTextNode(o)),n.appendChild(r)}};return{addResizeListener:function(e,t){if(r)e.attachEvent("onresize",t);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=n.getComputedStyle(e);i&&"static"==i.position&&(e.style.position="relative"),C(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var l=o.createElement("div");l.className="expand-trigger",l.appendChild(o.createElement("div"));var s=o.createElement("div");s.className="contract-trigger",e.__resizeTriggers__.appendChild(l),e.__resizeTriggers__.appendChild(s),e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",d,!0),f&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==_&&c(e)},e.__resizeTriggers__.addEventListener(f,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(t)}},removeResizeListener:function(e,t){if(r)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",d,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach(function(t){g(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(z=function(){return!!e})()}g(x,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),y(x);var O=function(e){function t(){l(this,t);for(var e,o,n,r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];return o=t,n=[].concat(i),o=f(o),g(e=h(this,z()?Reflect.construct(o,n||[],f(this).constructor):o.apply(this,n)),"state",{height:e.props.defaultHeight||0,width:e.props.defaultWidth||0}),g(e,"_parentNode",void 0),g(e,"_autoSizer",void 0),g(e,"_window",void 0),g(e,"_detectElementResize",void 0),g(e,"_onResize",function(){var t=e.props,o=t.disableHeight,n=t.disableWidth,r=t.onResize;if(e._parentNode){var i=e._parentNode.offsetHeight||0,l=e._parentNode.offsetWidth||0,s=(e._window||window).getComputedStyle(e._parentNode)||{},a=parseInt(s.paddingLeft,10)||0,c=parseInt(s.paddingRight,10)||0,d=parseInt(s.paddingTop,10)||0,u=parseInt(s.paddingBottom,10)||0,h=i-d-u,f=l-a-c;(o||e.state.height===h)&&(n||e.state.width===f)||(e.setState({height:i-d-u,width:l-a-c}),r({height:i,width:l}))}}),g(e,"_setRef",function(t){e._autoSizer=t}),e}
1return m(t,e),d(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=T(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,o=e.className,n=e.disableHeight,i=e.disableWidth,l=e.style,s=this.state,a=s.height,c=s.width,d={overflow:"visible"},u={};return n||(d.height=0,u.height=a),i||(d.width=0,u.width=c),r.createElement("div",{className:o,ref:this._setRef,style:I(I({},d),l)},t(u))}}])}(r.Component);function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P=function(){return!!e})()}g(O,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}}),e.i(247167);var M=function(e){function t(){l(this,t);for(var e,o,n,i=arguments.length,s=Array(i),a=0;a<i;a++)s[a]=arguments[a];return o=t,n=[].concat(s),o=f(o),g(e=h(this,P()?Reflect.construct(o,n||[],f(this).constructor):o.apply(this,n)),"_child",r.createRef()),g(e,"_measure",function(){var t=e.props,o=t.cache,n=t.columnIndex,r=void 0===n?0:n,i=t.parent,l=t.rowIndex,s=void 0===l?e.props.index||0:l,a=e._getCellMeasurements(),c=a.height,d=a.width;(c!==o.getHeight(s,r)||d!==o.getWidth(s,r))&&(o.set(s,r,d,c),i&&"function"==typeof i.recomputeGridSize&&i.recomputeGridSize({columnIndex:r,rowIndex:s}))}),g(e,"_registerChild",function(t){!t||t instanceof Element||console.warn("CellMeasurer registerChild expects to be passed Element or null"),e._child.current=t,t&&e._maybeMeasureCell()}),e}
1return m(t,e),d(t,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var e=this,t=this.props.children,o="function"==typeof t?t({measure:this._measure,registerChild:this._registerChild}):t;return null===o?o:(0,r.cloneElement)(o,{ref:function(t){"function"==typeof o.ref?o.ref(t):o.ref&&(o.ref.current=t),e._child.current=t}})}},{key:"_getCellMeasurements",value:function(){var e=this.props.cache,t=this._child.current;if(!t||!t.ownerDocument||!t.ownerDocument.defaultView||!(t instanceof t.ownerDocument.defaultView.HTMLElement))return{height:0,width:0};var o=t.style.width,n=t.style.height;e.hasFixedWidth()||(t.style.width="auto"),e.hasFixedHeight()||(t.style.height="auto");var r=Math.ceil(t.offsetHeight),i=Math.ceil(t.offsetWidth);return o&&(t.style.width=o),n&&(t.style.height=n),{height:r,width:i}}},{key:"_maybeMeasureCell",value:function(){var e=this.props,t=e.cache,o=e.columnIndex,n=void 0===o?0:o,r=e.parent,i=e.rowIndex,l=void 0===i?this.props.index||0:i;if(!t.has(l,n)){var s=this._getCellMeasurements(),a=s.height,c=s.width;t.set(l,n,c,a),r&&"function"==typeof r.invalidateCellSizeAfterRender&&r.invalidateCellSizeAfterRender({columnIndex:n,rowIndex:l})}}}])}(r.PureComponent);g(M,"__internalCellMeasurerFlag",!1);var k=e.i(931067);let L=function(){for(var e,t,o=0,n="";o<arguments.length;)(e=arguments[o++])&&(t=function e(t){var o,n,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t))for(o=0;o<t.length;o++)t[o]&&(n=e(t[o]))&&(r&&(r+=" "),r+=n);else for(o in t)t[o]&&(r&&(r+=" "),r+=o);return r}(e))&&(n&&(n+=" "),n+=t);return n};function A(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t={};return function(o){var n=o.callback,r=o.indices,i=Object.keys(r),l=!e||i.every(function(e){var t=r[e];return Array.isArray(t)?t.length>0:t>=0}),s=i.length!==Object.keys(t).length||i.some(function(e){var o=t[e],n=r[e];return Array.isArray(n)?o.join(",")!==n.join(","):o!==n});t=r,l&&s&&n(r)}}let G=!!("u">typeof window&&window.document&&window.document.createElement);function E(e){if((!t&&0!==t||e)&&G){var o=document.createElement("div");o.style.position="absolute",o.style.top="-9999px",o.style.width="50px",o.style.height="50px",o.style.overflow="scroll",document.body.appendChild(o),t=o.offsetWidth-o.clientWidth,document.body.removeChild(o)}return t}function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?W(Object(o),!0).forEach(function(t){g(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):W(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function H(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(H=function(){return!!e})()}var F="requested",j=function(e){function t(){l(this,t);for(var e,o,n,r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];return o=t,n=[].concat(i),o=f(o),g(e=h(this,H()?Reflect.construct(o,n||[],f(this).constructor):o.apply(this,n)),"state",{isScrolling:!1,scrollLeft:0,scrollTop:0}),g(e,"_calculateSizeAndPositionDataOnNextUpdate",!1),g(e,"_onSectionRenderedMemoizer",A()),g(e,"_onScrollMemoizer",A(!1)),g(e,"_invokeOnSectionRenderedHelper",function(){var t=e.props,o=t.cellLayoutManager,n=t.onSectionRendered;e._onSectionRenderedMemoizer({callback:n,indices:{indices:o.getLastRenderedIndices()}})}),g(e,"_setScrollingContainerRef",function(t){e._scrollingContainer=t}),g(e,"_updateScrollPositionForScrollToCell",function(){var t=e.props,o=t.cellLayoutManager,n=t.height,r=t.scrollToAlignment,i=t.scrollToCell,l=t.width,s=e.state,a=s.scrollLeft,c=s.scrollTop;if(i>=0){var d=o.getScrollPositionForCell({align:r,cellIndex:i,height:n,scrollLeft:a,scrollTop:c,width:l});(d.scrollLeft!==a||d.scrollTop!==c)&&e._setScrollPosition(d)}}),g(e,"_onScroll",function(t){if(t.target===e._scrollingContainer){e._enablePointerEventsAfterDelay();var o=e.props,n=o.cellLayoutManager,r=o.height,i=o.isScrollingChange,l=o.width,s=e._scrollbarSize,a=n.getTotalSize(),c=a.height,d=a.width,u=Math.max(0,Math.min(d-l+s,t.target.scrollLeft)),h=Math.max(0,Math.min(c-r+s,t.target.scrollTop));if(e.state.scrollLeft!==u||e.state.scrollTop!==h){var f=t.cancelable?"observed":F;e.state.isScrolling||i(!0),e.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:f,scrollTop:h})}e._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}}),e._scrollbarSize=E(),void 0===e._scrollbarSize?(e._scrollbarSizeMeasured=!1,e._scrollbarSize=0):e._scrollbarSizeMeasured=!0,e}return m(t,e),d(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,o=e.scrollLeft,n=e.scrollToCell,r=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=E(),this._scrollbarSizeMeasured=!0,this.setState({})),n>=0?this._updateScrollPositionForScrollToCell():(o>=0||r>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:r}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),l=i.height,s=i.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:r||0,totalHeight:l,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var o=this.props,n=o.height,r=o.scrollToAlignment,i=o.scrollToCell,l=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===F&&(a>=0&&a!==t.scrollLeft&&a!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=a),d>=0&&d!==t.scrollTop&&d!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=d)),(n!==e.height||r!==e.scrollToAlignment||i!==e.scrollToCell||l!==e.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,o=e.cell
1Count,n=e.cellLayoutManager,i=e.className,l=e.height,s=e.horizontalOverscanSize,a=e.id,c=e.noContentRenderer,d=e.style,u=e.verticalOverscanSize,h=e.width,f=this.state,p=f.isScrolling,m=f.scrollLeft,g=f.scrollTop;(this._lastRenderedCellCount!==o||this._lastRenderedCellLayoutManager!==n||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=o,this._lastRenderedCellLayoutManager=n,this._calculateSizeAndPositionDataOnNextUpdate=!1,n.calculateSizeAndPositionData());var v=n.getTotalSize(),_=v.height,S=v.width,y=Math.max(0,m-s),C=Math.max(0,g-u),w=Math.min(S,m+h+s),R=Math.min(_,g+l+u),x=l>0&&h>0?n.cellRenderers({height:R-C,isScrolling:p,width:w-y,x:y,y:C}):[],T={boxSizing:"border-box",direction:"ltr",height:t?"auto":l,position:"relative",WebkitOverflowScrolling:"touch",width:h,willChange:"transform"},b=_>l?this._scrollbarSize:0,I=S>h?this._scrollbarSize:0;return T.overflowX=S+b<=h?"hidden":"auto",T.overflowY=_+I<=l?"hidden":"auto",r.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:L("ReactVirtualized__Collection",i),id:a,onScroll:this._onScroll,role:"grid",style:D(D({},T),d),tabIndex:0},o>0&&r.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:_,maxHeight:_,maxWidth:S,overflow:"hidden",pointerEvents:p?"none":"",width:S}},x),0===o&&c())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,r=e.totalHeight,i=e.totalWidth;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:r,scrollLeft:o,scrollTop:n,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n={scrollPositionChangeReason:F};t>=0&&(n.scrollLeft=t),o>=0&&(n.scrollTop=o),(t>=0&&t!==this.state.scrollLeft||o>=0&&o!==this.state.scrollTop)&&this.setState(n)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0===e.cell
1Count&&(0!==t.scrollLeft||0!==t.scrollTop)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:F}:e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:F}:null}}])}(r.PureComponent);g(j,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),j.propTypes={},y(j);var N=d(function e(t){var o=t.height,n=t.width,r=t.x,i=t.y;l(this,e),this.height=o,this.width=n,this.x=r,this.y=i,this._indexMap={},this._indices=[]},[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),U=d(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;l(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}},[{key:"getCellIndices",value:function(e){var t=e.height,o=e.width,n=e.x,r=e.y,i={};return this.getSections({height:t,width:o,x:n,y:r}).forEach(function(e){return e.getCellIndices().forEach(function(e){i[e]=e})}),Object.keys(i).map(function(e){return i[e]})}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,o=e.width,n=e.x,r=e.y,i=Math.floor(n/this._sectionSize),l=Math.floor((n+o-1)/this._sectionSize),s=Math.floor(r/this._sectionSize),a=Math.floor((r+t-1)/this._sectionSize),c=[],d=i;d<=l;d++)for(var u=s;u<=a;u++){var h="".concat(d,".").concat(u);this._sections[h]||(this._sections[h]=new N({height:this._sectionSize,width:this._sectionSize,x:d*this._sectionSize,y:u*this._sectionSize})),c.push(this._sections[h])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map(function(t){return e._sections[t].toString()})}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,o=e.index;this._cellMetadata[o]=t,this.getSections(t).forEach(function(e){return e.addCellIndex({index:o})})}}]);function B(e){var t=e.align,o=e.cellOffset,n=e.cellSize,r=e.containerSize,i=e.currentOffset,l=o-r+n;switch(void 0===t?"auto":t){case"start":return o;case"end":return l;case"center":return o-(r-n)/2;default:return Math.max(l,Math.min(o,i))}}function V(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V=function(){return!!e})()}var q=function(e){function t(e,o){var n,r,i;return l(this,t),r=t,i=[e,o],r=f(r),(n=h(this,V()?Reflect.construct(r,i||[],f(this).constructor):r.apply(this,i)))._cellMetadata=[],n._lastRenderedCellIndices=[],n._cellCache=[],n._isScrollingChange=n._isScrollingChange.bind(n),n._setCollectionViewRef=n._setCollectionViewRef.bind(n),n}return m(t,e),d(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=(0,k.default)({},(function(e){if(null==e)throw TypeError("Cannot destructure "+e)}(this.props),this.props));return r.createElement(j,(0,k.default)({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,o=e.cellSizeAndPositionGetter,n=e.sectionSize,r=[],i=new U(n),l=0,s=0,a=0;a<t;a++){var c=o({index:a});if(null==c.height||isNaN(c.height)||null==c.width||isNaN(c.width)||null==c.x||isNaN(c.x)||null==c.y||isNaN(c.y))throw Error("Invalid metadata returned for cell ".concat(a,":\n        x:").concat(c.x,", y:").concat(c.y,", width:").concat(c.width,", height:").concat(c.height));l=Math.max(l,c.y+c.height),s=Math.max(s,c.x+c.width),r[a]=c,i.registerCell({cellMetadatum:c,index:a})}return{cellMetadata:r,height:l,sectionManager:i,width:s}}({cellCount:e.cellCount,cellSizeAndPositionGetter:e.cellSizeAndPositionGetter,sectionSize:e.sectionSize});this._cellMetadata=t.cellMetadata,this._sectionManager=t.sectionManager,this._height=t.height,this._width=t.width}},{key:"getLastRenderedIndices",value:function(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function(e){var t=e.align,o=e.cellIndex,n=e.he
1ight,r=e.scrollLeft,i=e.scrollTop,l=e.width,s=this.props.cellCount;if(o>=0&&o<s){var a=this._cellMetadata[o];r=B({align:t,cellOffset:a.x,cellSize:a.width,containerSize:l,currentOffset:r,targetIndex:o}),i=B({align:t,cellOffset:a.y,cellSize:a.height,containerSize:n,currentOffset:i,targetIndex:o})}return{scrollLeft:r,scrollTop:i}}},{key:"getTotalSize",value:function(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function(e){var t=this,o=e.height,n=e.isScrolling,r=e.width,i=e.x,l=e.y,s=this.props,a=s.cellGroupRenderer,c=s.cellRenderer;return this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:o,width:r,x:i,y:l}),a({cellCache:this._cellCache,cellRenderer:c,cellSizeAndPositionGetter:function(e){var o=e.index;return t._sectionManager.getCellMetadata({index:o})},indices:this._lastRenderedCellIndices,isScrolling:n})}},{key:"_isScrollingChange",value:function(e){e||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function(e){this._collectionView=e}}])}(r.PureComponent);function K(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(K=function(){return!!e})()}function Y(e){var t=e.cellCount,o=e.cellSize,n=e.computeMetadataCallback,r=e.computeMetadataCallbackProps,i=e.nextCellsCount,l=e.nextCellSize,s=e.nextScrollToIndex,a=e.scrollToIndex,c=e.updateScrollOffsetForScrollToIndex;(t!==i||("number"==typeof o||"number"==typeof l)&&o!==l)&&(n(r),a>=0&&a===s&&c())}g(q,"defaultProps",{"aria-label":"grid",cellGroupRenderer:function(e){var t=e.cellCache,o=e.cellRenderer,n=e.cellSizeAndPositionGetter,r=e.indices,i=e.isScrolling;return r.map(function(e){var r=n({index:e}),l={index:e,isScrolling:i,key:e,style:{height:r.height,left:r.x,position:"absolute",top:r.y,width:r.width}};return i?(e in t||(t[e]=o(l)),t[e]):o(l)}).filter(function(e){return!!e})}}),q.propTypes={},function(e){function t(e,o){var n,r,i;return l(this,t),r=t,i=[e,o],r=f(r),(n=h(this,K()?Reflect.construct(r,i||[],f(this).constructor):r.apply(this,i)))._registerChild=n._registerChild.bind(n),n}
1return m(t,e),d(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,o=t.columnMaxWidth,n=t.columnMinWidth,r=t.columnCount,i=t.width;(o!==e.columnMaxWidth||n!==e.columnMinWidth||r!==e.columnCount||i!==e.width)&&this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function(){var e=this.props,t=e.children,o=e.columnMaxWidth,n=e.columnMinWidth,r=e.columnCount,i=e.width,l=o?Math.min(o,i):i,s=i/r;return t({adjustedWidth:Math.min(i,(s=Math.floor(s=Math.min(l,s=Math.max(n||1,s))))*r),columnWidth:s,getColumnWidth:function(){return s},registerChild:this._registerChild})}},{key:"_registerChild",value:function(e){if(e&&"function"!=typeof e.recomputeGridSize)throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=e,this._registeredChild&&this._registeredChild.recomputeGridSize()}}])}(r.PureComponent).propTypes={};var X=e.i(915874);function Z(e,t){if(null==e)return{};var o,n,r=(0,X.default)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],-1===t.indexOf(o)&&({}).propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}var J=d(function e(t){var o=t.cellCount,n=t.cellSizeGetter,r=t.estimatedCellSize;l(this,e),g(this,"_cellSizeAndPositionData",{}),g(this,"_lastMeasuredIndex",-1),g(this,"_lastBatchedIndex",-1),g(this,"_cellCount",void 0),g(this,"_cellSizeGetter",void 0),g(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=o,this._estimatedCellSize=r},[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,o=e.estimatedCellSize,n=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=o,this._cellSizeGetter=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),o=t.offset+t.size,n=this._lastMeasuredIndex+1;n<=e;n++){var r=this._cellSizeGetter({index:n});if(void 0===r||isNaN(r))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(r));null===r?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:o,size:r},o+=r,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t,o=e.align,n=e.containerSize,r=e.currentOffset,i=e.targetIndex;if(n<=0)return 0;var l=this.getSizeAndPositionOfCell(i),s=l.offset,a=s-n+l.size;switch(void 0===o?"auto":o){case"start":t=s;break;case"end":t=a;break;case"center":t=s-(n-l.size)/2;break;default:t=Math.max(a,Math.min(s,r))}return Math.max(0,Math.min(this.getTotalSize()-n,t))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;if(0===this.getTotalSize())return{};var n=o+t,r=this._findNearestCell(o),i=this.getSizeAndPositionOfCell(r);o=i.offset+i.size;for(var l=r;o<n&&l<this._cellCount-1;)l++,o+=this.getSizeAndPositionOfCell(l).size;return{start:r,stop:l}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e,t,o){for(;t<=e;){var n=t+Math.floor((e-t)/2),r=this.getSizeAndPositionOfCell(n).offset;if(r===o)return n;r<o?t=n+1:r>o&&(e=n-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var o=1;
1e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=o,o*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset ".concat(e," specified"));e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),o=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(o,0,e):this._exponentialSearch(o,e)}}]),$=["maxScrollSize"],Q=d(function e(t){var o=t.maxScrollSize,n=void 0===o?"u">typeof window&&window.chrome?0xffff8c:15e5:o,r=Z(t,$);l(this,e),g(this,"_cellSizeAndPositionManager",void 0),g(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new J(r),this._maxScrollSize=n},[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();return Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r})*(r-n))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,o=e.containerSize,n=e.currentOffset,r=e.targetIndex;n=this._safeOffsetToOffset({containerSize:o,offset:n});var i=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:void 0===t?"auto":t,containerSize:o,currentOffset:n,targetIndex:r});return this._offsetToSafeOffset({containerSize:o,offset:i})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;return o=this._safeOffsetToOffset({containerSize:t,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:o})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,o=e.offset,n=e.totalSize;return n<=t?0:o/(n-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();return n===r?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n})*(r-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();return n===r?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r})*(n-t))}}]);function ee(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,n=e.previousCellsCount,r=e.previousCellSize,i=e.previousScrollToAlignment,l=e.previousScrollToIndex,s=e.previousSize,a=e.scrollOffset,c=e.scrollToAlignment,d=e.scrollToIndex,u=e.size,h=e.sizeJustIncreasedFromZero,f=e.updateScrollIndexCallback,p=o.getCellCount(),m=d>=0&&d<p;m&&(u!==s||h||!r||"number"==typeof t&&t!==r||c!==i||d!==l)?f(d):!m&&p>0&&(u<s||p<n)&&a>o.getTotalSize()-u&&f(p-1)}var et=(o="u">typeof window?window:"u">typeof self?self:{}).requestAnimationFrame||o.webkitRequestAnimationFrame||o.mozRequestAnimationFrame||o.oRequestAnimationFrame||o.msRequestAnimationFrame||function(e){return o.setTimeout(e,1e3/60)},eo=o.cancelAnimationFrame||o.webkitCancelAnimationFrame||o.mozCancelAnimationFrame||o.oCancelAnimationFrame||o.msCancelAnimationFrame||function(e){o.clearTimeout(e)},en=function(e){return eo(e.id)},er=function(e,t){Promise.resolve().then(function(){o=Date.now()});var o,n=function(){Date.now()-o>=t?e.call():r.id=et(n)}
1,r={id:et(n)};return r};function ei(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function el(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ei(Object(o),!0).forEach(function(t){g(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ei(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function es(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(es=function(){return!!e})()}var ea="requested",ec=function(e){function t(e){var o,n,r;return l(this,t),o=t,n=[e],o=f(o),g(r=h(this,es()?Reflect.construct(o,n||[],f(this).constructor):o.apply(this,n)),"_onGridRenderedMemoizer",A()),g(r,"_onScrollMemoizer",A(!1)),g(r,"_deferredInvalidateColumnIndex",null),g(r,"_deferredInvalidateRowIndex",null),g(r,"_recomputeScrollLeftFlag",!1),g(r,"_recomputeScrollTopFlag",!1),g(r,"_horizontalScrollBarSize",0),g(r,"_verticalScrollBarSize",0),g(r,"_scrollbarPresenceChanged",!1),g(r,"_scrollingContainer",void 0),g(r,"_childrenToDisplay",void 0),g(r,"_columnStartIndex",void 0),g(r,"_columnStopIndex",void 0),g(r,"_rowStartIndex",void 0),g(r,"_rowStopIndex",void 0),g(r,"_renderedColumnStartIndex",0),g(r,"_renderedColumnStopIndex",0),g(r,"_renderedRowStartIndex",0),g(r,"_renderedRowStopIndex",0),g(r,"_initialScrollTop",void 0),g(r,"_initialScrollLeft",void 0),g(r,"_disablePointerEventsTimeoutId",void 0),g(r,"_styleCache",{}),g(r,"_cellCache",{}),g(r,"_debounceScrollEndedCallback",function(){r._disablePointerEventsTimeoutId=null,r.setState({isScrolling:!1,needToResetStyleCache:!1})}),g(r,"_invokeOnGridRenderedHelper",function(){var e=r.props.onSectionRendered;r._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:r._columnStartIndex,columnOverscanStopIndex:r._columnStopIndex,columnStartIndex:r._renderedColumnStartIndex,columnStopIndex:r._renderedColumnStopIndex,rowOverscanStartIndex:r._rowStartIndex,rowOverscanStopIndex:r._rowStopIndex,rowStartIndex:r._renderedRowStartIndex,rowStopIndex:r._renderedRowStopIndex}})}),g(r,"_setScrollingContainerRef",function(e){r._scrollingContainer=e,"function"==typeof r.props.elementRef?r.props.elementRef(e):"object"===s(r.props.elementRef)&&(r.props.elementRef.current=e)}),g(r,"_onScroll",function(e){e.target===r._scrollingContainer&&r.handleScrollEvent(e.target)}),r.state={instanceProps:{columnSizeAndPositionManager:new Q({cellCount:e.columnCount,cellSizeGetter:function(o){return t._wrapSizeGetter(e.columnWidth)(o)},estimatedCellSize:t._getEstimatedColumnSize(e)}),rowSizeAndPositionManager:new Q({cellCount:e.rowCount,cellSizeGetter:function(o){return t._wrapSizeGetter(e.rowHeight)(o)},estimatedCellSize:t._getEstimatedRowSize(e)}),prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(r._initialScrollTop=r._getCalculatedScrollTop(e,r.state)),e.scrollToColumn>0&&(r._initialScrollLeft=r._getCalculatedScrollLeft(e,r.state)),r}return m(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,o=void 0===t?this.props.scrollToAlignment:t,n=e.columnIndex,r=void 0===n?this.props.scrollToColumn:n,i=e.rowIndex,l=void 0===i?this.props.scrollToRow:i,s=el(el({},this.props),{},{scrollToAlignment:o,scrollToColumn:r,scrollToRow:l});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n=void 0===o?0:o;if(!(n<0)){this._debounceScrollEnded();var r=this.props,i=r.autoHeight,l=r.autoWidth,s=r.height,a=r.width,c=this.state.instanceProps,d=c.scrollbarSize,u=c.rowSizeAndPositionManager.getTotalSize(),h=c.columnSizeAndPositionManager.getTotalSize(),f=Math.min(Math.max(0,h-a+d),void 0===t?0:t),p=Math.min(Math.max(0,u-s+d),n);if(this.state.scrollLeft!==f||this.state.scrollTop!==p){var m={isScrolling:!0,scrollDirectionHorizontal:f!==this.state.scrollLeft?f>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:p!==this.state.scrollTop?p>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};
vendor: 6,426 bytes, line 1
1i||(m.scrollTop=p),l||(m.scrollLeft=f),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:f,scrollTop:p,totalColumnsWidth:h,totalRowsHeight:u})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,o=e.rowCount,n=this.state.instanceProps;n.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),n.rowSizeAndPositionManager.getSizeAndPositionOfCell(o-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n,i=this.props,l=i.scrollToColumn,s=i.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(r),this._recomputeScrollLeftFlag=l>=0&&(1===this.state.scrollDirectionHorizontal?o<=l:o>=l),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?r<=s:r>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,o=e.rowIndex,n=this.props.columnCount,r=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(el(el({},r),{},{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow(el(el({},r),{},{scrollToRow:o}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,r=e.scrollLeft,i=e.scrollToColumn,l=e.scrollTop,s=e.scrollToRow,a=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState(function(e){var t=el(el({},e),{},{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=o(),t.instanceProps.scrollbarSizeMeasured=!0,t}),"number"==typeof r&&r>=0||"number"==typeof l&&l>=0){var d=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,scrollTop:l});d&&(d.needToResetStyleCache=!1,this.setState(d))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var u=n>0&&a>0;i>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:r||0,scrollTop:l||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var o=this,n=this.props,r=n.autoHeight,i=n.autoWidth,l=n.columnCount,s=n.height,a=n.rowCount,c=n.scrollToAlignment,d=n.scrollToColumn,u=n.scrollToRow,h=n.width,f=this.state,p=f.scrollLeft,m=f.scrollPositionChangeReason,g=f.scrollTop,v=f.instanceProps;this._handleInvalidatedGridSize();var _=l>0&&0===e.columnCount||a>0&&0===e.rowCount;m===ea&&(!i&&p>=0&&(p!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=p),!r&&g>=0&&(g!==this._scrollingContainer.scrollTop||_)&&(this._scrollingContainer.scrollTop=g));var S=(0===e.width||0===e.height)&&s>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):ee({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:p,scrollToAlignment:c,scrollToIndex:d,size:h,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollLeftForScrollToColumn(o.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):ee({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:u,size:s,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollTopForScrollToRow(o.props)}}),this._invokeOnGridRenderedHelper(),p!==t.scrollLeft||g!==t.scrollTop){var y=v.rowSizeAndPositionManager.getTotalSize(),C=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:g,totalColumnsWidth:C,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&en(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,o=e.autoHeight,n=e.autoWidth,i=e.className,l=e.containerProps,s=e.containerRole,a=e.containerStyle,c=e.height,d=e.id,u=e.noContentRenderer,h=e.role,f=e.style,p=e.tabIndex,m=e.width,g=this.state,v=g.instanceProps,_=g.needToResetStyleCache,S=this._isScrolling(),y={boxSizing:"border-box",direction:"ltr",height:o?"auto":c,position:"relative",width:n?"auto":m,WebkitOverflowScrolling:"touch",willChange:"transform"};_&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var C=v.columnSizeAndPositionManager.getTotalSize(),w=v.rowSizeAndPositionManager.getTotalSize(),R=w>c?v.scrollbarSize:0,x=C>m?v.scrollbarSize:0;(x!==this._horizontalScrollBarSize||R!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=x,this._verticalScrollBarSize=R,this._scrollbarPresenceChanged=!0),y.overflowX=C+R<=m?"hidden":"auto",y.overflowY=w+x<=c?"hidden":"auto";var T=this._childrenToDisplay,b=0===T.length&&c>0&&m>0;return r.createElement("div",(0,k.default)({ref:this._setScrollingContainerRef},l,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:L("ReactVirtualized__Grid",i),id:d,onScroll:this._onScroll,role:h,style:el(el({},y),f),tabIndex:p}),T.length>0&&r.createElement("div",{className:"ReactVirtualized__Grid__innerScrollC
1ontainer",role:s,style:el({width:t?"auto":C,height:w,maxWidth:C,maxHeight:w,overflow:"hidden",pointerEvents:S?"none":"",position:"relative"},a)},T),b&&u())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=e.cellRenderer,n=e.cellRangeRenderer,r=e.columnCount,i=e.deferredMeasurementCache,l=e.height,s=e.overscanColumnCount,a=e.overscanIndicesGetter,c=e.overscanRowCount,d=e.rowCount,u=e.width,h=e.isScrollingOptOut,f=t.scrollDirectionHorizontal,p=t.scrollDirectionVertical,m=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,_=this._isScrolling(e,t);if(this._childrenToDisplay=[],l>0&&u>0){var S=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:u,offset:v}),y=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:l,offset:g}),C=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:u,offset:v}),w=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:l,offset:g});this._renderedColumnStartIndex=S.start,this._renderedColumnStopIndex=S.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var R=a({direction:"horizontal",cellCount:r,overscanCellsCount:s,scrollDirection:f,startIndex:"number"==typeof S.start?S.start:0,stopIndex:"number"==typeof S.stop?S.stop:-1}),x=a({direction:"vertical",cellCount:d,overscanCellsCount:c,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),T=R.overscanStartIndex,b=R.overscanStopIndex,I=x.overscanStartIndex,z=x.overscanStopIndex;if(i){if(!i.hasFixedHeight()){for(var O=I;O<=z;O++)if(!i.has(O,0)){T=0,b=r-1;break}}if(!i.hasFixedWidth()){for(var P=T;P<=b;P++)if(!i.has(0,P)){I=0,z=d-1;break}}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:T,columnStopIndex:b,deferredMeasurementCache:i,horizontalOffsetAdjustment:C,isScrolling:_,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:I,rowStopIndex:z,scrollLeft:v,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:w,visibleColumnIndices:S,visibleRowIndices:y}),this._columnStartIndex=T,this._columnStopIndex=b,this._rowStartIndex=I,this._rowStopIndex=z}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&en(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=er(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,r=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:i,scrollLeft:o,scrollTop:n,scrollWidth:r})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?!!e.isScrolling:!!t.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,r
1=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollLeftForScrollToColumnStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,o)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,o=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var n=this._rowStartIndex;n<=this._rowStopIndex;n++)for(var r=this._columnStartIndex;r<=this._columnStopIndex;r++){var i="".concat(n,"-").concat(r);this._styleCache[i]=e[i],o&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollTopForScrollToRowStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,o){var n,r,i={};0===e.columnCount&&0!==o.scrollLeft||0===e.rowCount&&0!==o.scrollTop?(i.scrollLeft=0,i.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(i,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=o.instanceProps;return i.needToResetStyleCache=!1,(e.columnWidth!==l.prevColumnWidth||e.rowHeight!==l.prevRowHeight)&&(i.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),(0===l.prevColumnCount||0===l.prevRowCount)&&(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===l.prevIsScrolling&&Object.assign(i,{isScrolling:!1}),Y({cellCount:l.prevColumnCount,cellSize:"number"==typeof l.prevColumnWidth?l.prevColumnWidth:null,computeMetadataCallback:function(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){n=t._getScrollLeftForScrollToColumnStateUpdate(e,o)}}),Y({cellCount:l.prevRowCount,cellSize:"number"==typeof l.prevRowHeight?l.prevRowHeight:null,computeMetadataCallback:function(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){r=t._getScrollTopForScrollToRowStateUpdate(e,o)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=!0===e.isScrolling,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),void 0===l.scrollbarSize?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,i.instanceProps=l,el(el(el({},i),n),r)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,o=e.scrollLeft,n=e.scrollTop,r
1={scrollPositionChangeReason:ea};return("number"==typeof o&&o>=0&&(r.scrollDirectionHorizontal=o>t.scrollLeft?1:-1,r.scrollLeft=o),"number"==typeof n&&n>=0&&(r.scrollDirectionVertical=n>t.scrollTop?1:-1,r.scrollTop=n),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop)?r:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var o=e.columnCount,n=e.height,r=e.scrollToAlignment,i=e.scrollToColumn,l=e.width,s=t.scrollLeft,a=t.instanceProps;if(o>0){var c=o-1,d=i<0?c:Math.min(c,i),u=a.rowSizeAndPositionManager.getTotalSize(),h=a.scrollbarSizeMeasured&&u>n?a.scrollbarSize:0;return a.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:l-h,currentOffset:s,targetIndex:d})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,r=t._getCalculatedScrollLeft(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:r,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var o=e.height,n=e.rowCount,r=e.scrollToAlignment,i=e.scrollToRow,l=e.width,s=t.scrollTop,a=t.instanceProps;if(n>0){var c=n-1,d=i<0?c:Math.min(c,i),u=a.columnSizeAndPositionManager.getTotalSize(),h=a.scrollbarSizeMeasured&&u>l?a.scrollbarSize:0;return a.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:o-h,currentOffset:s,targetIndex:d})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,r=t._getCalculatedScrollTop(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:r}):{}}}])}(r.PureComponent);function ed(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return(o=Math.max(1,o),1===n)?{overscanStartIndex:Math.max(0,r-1),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i+1)}}function eu(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}function eh(e,t){if(e){if("string"==typeof e)return eu(e,t);var o=({}).toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?eu(e,t):void 0}}function ef(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ef=function(){return!!e})()}g(ec,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,o=e.cellRenderer,n=e.columnSizeAndPositionManager,i=e.columnStartIndex,l=e.columnStopIndex,s=e.deferredMeasurementCache,a=e.horizontalOffsetAdjustment,c=e.isScrolling,d=e.isScrollingOptOut,u=e.parent,h=e.rowSizeAndPositionManager,f=e.rowStartIndex,p=e.rowStopIndex,m=e.styleCache,g=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,_=e.visibleRowIndices,S=[],y=n.areOffsetsAdjusted()||h.areOffsetsAdjusted(),C=!c&&!y,w=f;w<=p;w++)for(var R=h.getSizeAndPositionOfCell(w),x=i;x<=l;x++){var T=n.getSizeAndPositionOfCell(x),b=x>=v.start&&x<=v.stop&&w>=_.start&&w<=_.stop,I="".concat(w,"-").concat(x),z=void 0;C&&m[I]?z=m[I]:s&&!s.has(w,x)?z={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(z={height:R.size,left:T.offset+a,position:"absolute",top:R.offset+g,width:T.size},m[I]=z);var O={columnIndex:x,isScrolling:c,isVisible:b,key:I,parent:u,rowIndex:w,style:z},P=void 0;(d||c)&&!a&&!g?(t[I]||(t[I]=o(O)),P=t[I]):P=o(O),null!=P&&!1!==P&&(P.props.role||(P=r.default.cloneElement(P,{role:"gridcell"})),S.push(P))}return S},containerRole:"row",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:E,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,r),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),y(ec);var ep=function(e){function t(e,o){var n,r,i;return l(this,t),r=t,i=[e,o],r=f(r),(n=h(this,ef()?Reflect.construct(r,i||[],f(this).constructor):r.apply(this,i)))._loadM
1oreRowsMemoizer=A(),n._onRowsRendered=n._onRowsRendered.bind(n),n._registerChild=n._registerChild.bind(n),n}return m(t,e),d(t,[{key:"resetLoadMoreRowsCache",value:function(e){this._loadMoreRowsMemoizer=A(),e&&this._doStuff(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"render",value:function(){return(0,this.props.children)({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"_loadUnloadedRanges",value:function(e){var t=this,o=this.props.loadMoreRows;e.forEach(function(e){var n=o(e);n&&n.then(function(){var o,n,r,i,l;n=(o={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:e.startIndex,stopIndex:e.stopIndex}).lastRenderedStartIndex,r=o.lastRenderedStopIndex,i=o.startIndex,l=o.stopIndex,!(i>r||l<n)&&t._registeredChild&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;o?o.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)})})}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,o=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=o,this._doStuff(t,o)}},{key:"_doStuff",value:function(e,t){var o,n,r=this,i=this.props,l=i.isRowLoaded,s=i.minimumBatchSize,a=i.rowCount,c=i.threshold,d=function(e){for(var t=e.isRowLoaded,o=e.minimumBatchSize,n=e.rowCount,r=e.startIndex,i=e.stopIndex,l=[],s=null,a=null,c=r;c<=i;c++)t({index:c})?null!==a&&(l.push({startIndex:s,stopIndex:a}),s=a=null):(a=c,null===s&&(s=c));if(null!==a){for(var d=Math.min(Math.max(a,s+o-1),n-1),u=a+1;u<=d;u++)if(t({index:u}))break;else a=u;l.push({startIndex:s,stopIndex:a})}if(l.length)for(var h=l[0];h.stopIndex-h.startIndex+1<o&&h.startIndex>0;){var f=h.startIndex-1;if(t({index:f}))break;h.startIndex=f}return l}({isRowLoaded:l,minimumBatchSize:s,rowCount:a,startIndex:Math.max(0,e-c),stopIndex:Math.min(a-1,t+c)}),u=(n=[]).concat.apply(n,function(e){if(Array.isArray(e))return eu(e)}(o=d.map(function(e){return[e.startIndex,e.stopIndex]}))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||eh(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());this._loadMoreRowsMemoizer({callback:function(){r._loadUnloadedRanges(d)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}])}(r.PureComponent);function em(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(em=function(){return!!e})()}g(ep,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),ep.propTypes={};var eg=function(e){function t(){l(this,t);for(var e,o,n,r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];return o=t,n=[].concat(i),o=f(o),g(e=h(this,em()?Reflect.construct(o,n||[],f(this).constructor):o.apply(this,n)),"Grid",void 0),g(e,"_cellRenderer",function(t){var o=t.parent,n=t.rowIndex,r=t.style,i=t.
1isScrolling,l=t.isVisible,s=t.key,a=e.props.rowRenderer,c=Object.getOwnPropertyDescriptor(r,"width");return c&&c.writable&&(r.width="100%"),a({index:n,style:r,isScrolling:i,isVisible:l,key:s,parent:o})}),g(e,"_setRef",function(t){e.Grid=t}),g(e,"_onScroll",function(t){var o=t.clientHeight,n=t.scrollHeight,r=t.scrollTop;(0,e.props.onScroll)({clientHeight:o,scrollHeight:n,scrollTop:r})}),g(e,"_onSectionRendered",function(t){var o=t.rowOverscanStartIndex,n=t.rowOverscanStopIndex,r=t.rowStartIndex,i=t.rowStopIndex;(0,e.props.onRowsRendered)({overscanStartIndex:o,overscanStopIndex:n,startIndex:r,stopIndex:i})}),e}return m(t,e),d(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,o=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:o,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:o,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.noRowsRenderer,n=e.scrollToIndex,i=e.width,l=L("ReactVirtualized__List",t);return r.createElement(ec,(0,k.default)({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:l,columnWidth:i,columnCount:1,noContentRenderer:o,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:n}))}}])}(r.PureComponent);g(eg,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:ed,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});let ev=function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=o+1;t<=o;){var l=t+o>>>1;r(e[l],n)>=0?(i=l,o=l-1):t=l+1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=o+1;t<=o;){var i=t+o>>>1;e[i]>=n?(r=i,o=i-1):t=i+1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)};function e_(e,t,o,n,r){this.mid=e,this.left=t,this.right=o,this.leftPoints=n,this.rightPoints=r,this.count=(t?t.count:0)+(o?o.count:0)+n.length}var eS=e_.prototype;function ey(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function eC(e,t){var o=eP(t);e.mid=o.mid,e.left=o.left,e.right=o.right,e.leftPoints=o.leftPoints,e.rightPoints=o.rightPoints,e.count=o.count}function ew(e,t){var o=e.intervals([]);o.push(t),eC(e,o)}function eR(e,t){var o=e.intervals([]),n=o.indexOf(t);return n<0?0:(o.splice(n,1),eC(e,o),1)}function ex(e,t,o){for(var n=0;n<e.length&&e[n][0]<=t;++n){var r=o(e[n]);if(r)return r}}function eT(e,t,o){for(var n=e.length-1;n>=0&&e[n][1]>=t;--n){var r=o(e[n]);if(r)return r}}function eb(e,t){for(var o=0;o<e.length;++o){var n=t(e[o]);if(n)return n}}function eI(e,t){return e-t}function ez(e,t){var o=e[0]-t[0];return o||e[1]-t[1]}function eO(e,t){var o=e[1]-t[1];return o||e[0]-t[0]}function eP(e){if(0===e.length)return null;for(var t=[],o=0;o<e.length;++o)t.push(e[o][0],e[o][1]);t.sort(eI);for(var n=t[t.length>>1],r=[],i=[],l=[],o=0;o<e.length;++o){var s=e[o];s[1]<n?r.push(s):n<s[0]?i.push(s):l.push(s)}var a=l.slice();return l.sort(ez),a.sort(eO),new e_(n,eP(r),eP(i),l,a)}function eM(e){this.root=e}eS.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e},eS.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]<this.mid)this.left?4*(this.left.count+1)>3*(t+1)?ew(this,e):this.left.insert(e):this.left=eP([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?ew(this,e):this.right.insert(e):this.right=eP([e]);else{var o=ev(this.leftPoints,e,ez),n=ev(this.rightPoints,e,eO);this.leftPoints.splice(o,0,e),this.rightPoints.splice(n,0,e)}},eS.remove=function(e){var t=this.count-this.leftPoints;if(e[1]<this.mid){if(!this.left)return 0;if(4*(this.right?this.right.count:0)>3*(t-1))return eR(this,e);var o=this.left.remove(e);return 2===o?(this.left=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(e[0]>this.mid){if(!this.right)return 0;if(4*(this.left?this.left.count:0)>3*(t-1))return eR(this,e);var o=this.right.remove(e);return 2===o?(this.right=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(1===this.count)if(this.leftPoints[0]===e)return 2;else return 0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,r=this.left;r.right;)n=r,r=r.right;if(n===this)r.right=this.right;else{var i=this.left,o=this.right;n.count-=r.count,n.right=r.left,r.left=i,r.right=o}ey(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?ey(this,this.left):ey(this,this.right);return 1}for(var i=ev(this.leftPoints,e,ez);i<this.leftPoints.length&&this.leftPoints[i][0]===e[0];++i)if(this.leftPoints[i]===e){this.count-=1,this.leftPoints.splice(i,1);for(var o=ev(this.rightPoints,e,eO);o<this.rightPoints.length;++o)if(this.rightPoints[o][1]!==e[1])break;else if(this.rightPoints[o]===e)return this.rightPoints.splice(o,1),1}return 0},eS.queryPoint=function(e,t){if(e<this.mid){if(this.left){var o=this.left.queryPoint(e,t);if(o)return o}return ex(this.leftPoints,e,t)}if(!(e>this.mid))return eb(this.leftPoints,t);
1if(this.right){var o=this.right.queryPoint(e,t);if(o)return o}return eT(this.rightPoints,e,t)},eS.queryInterval=function(e,t,o){if(e<this.mid&&this.left){var n=this.left.queryInterval(e,t,o);if(n)return n}if(t>this.mid&&this.right){var n=this.right.queryInterval(e,t,o);if(n)return n}return t<this.mid?ex(this.leftPoints,t,o):e>this.mid?eT(this.rightPoints,e,o):eb(this.leftPoints,o)};var ek=eM.prototype;ek.insert=function(e){this.root?this.root.insert(e):this.root=new e_(e[0],null,null,[e],[e])},ek.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},ek.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},ek.queryInterval=function(e,t,o){if(e<=t&&this.root)return this.root.queryInterval(e,t,o)},Object.defineProperty(ek,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(ek,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var eL=d(function e(){l(this,e),g(this,"_columnSizeMap",{}),g(this,"_intervalTree",new eM(null)),g(this,"_leftMap",{})},[{key:"estimateTotalHeight",value:function(e,t,o){var n=e-this.count;return this.tallestColumnSize+Math.ceil(n/t)*o}},{key:"range",value:function(e,t,o){var n=this;this._intervalTree.queryInterval(e,e+t,function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i,l,s=[],a=!0,c=!1;try{i=(o=o.call(e)).next,!1;for(;!(a=(n=i.call(o)).done)&&(s.push(n.value),3!==s.length);a=!0);}catch(e){c=!0,r=e}finally{try{if(!a&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(c)throw r}}return s}}(e,3)||eh(e,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],i=(t[1],t[2]);return o(i,n._leftMap[i],r)})}},{key:"setPosition",value:function(e,t,o,n){this._intervalTree.insert([o,o+n,e]),this._leftMap[e]=t;var r=this._columnSizeMap,i=r[t];void 0===i?r[t]=o+n:r[t]=Math.max(i,o+n)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var n=e[o];t=0===t?n:Math.min(t,n)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e)t=Math.max(t,e[o]);return t}}]);function eA(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function eG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eG=function(){return!!e})()}var eE=function(e){function t(){l(this,t);for(var e,o,n,r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];return o=t,n=[].concat(i),o=f(o),g(e=h(this,eG()?Reflect.construct(o,n||[],f(this).constructor):o.apply(this,n)),"state",{isScrolling:!1,scrollTop:0}),g(e,"_debounceResetIsScrollingId",void 0),g(e,"_invalidateOnUpdateStartIndex",null),g(e,"_invalidateOnUpdateStopIndex",null),g(e,"_positionCache",new eL),g(e,"_startIndex",null),g(e,"_startIndexMemoized",null),g(e,"_stopIndex",null),g(e,"_stopIndexMemoized",null),g(e,"_debounceResetIsScrollingCallback",function(){e.setState({isScrolling:!1})}),g(e,"_setScrollingContainerRef",function(t){e._scrollingContainer=t}),g(e,"_onScroll",function(t){var o=e.props.height,n=t.currentTarget.scrollTop,r=Math.min(Math.max(0,e._getEstimatedTotalHeight()-o),n);n===r&&(e._debounceResetIsScrolling(),e.state.scrollTop!==r&&e.setState({isScrolling:!0,scrollTop:r}))}),e}return m(t,e),d(t,[{key:"clearCellPositions",value:function(){this._positionCache=new eL,this.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.rowIndex;null===this._invalidateOnUpdateStartIndex?(this._invalidateOnUpdateStartIndex=t,this._invalidateOnUpdateStopIndex=t):(this._invalidateOnUpdateStartIndex=Math.min(this._invalidateOnUpdateStartIndex,t),this._invalidateOnUpdateStopIndex=Math.max(this._invalidateOnUpdateStopIndex,t))}},{key:"recomputeCellPositions",value:function(){var e=this._positionCache.count-1;this._positionCache=new eL,this._populatePositionCache(0,e),this.forceUpdate()}},{key:"componentDidMount",value:function(){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback()}},{key:"componentDidUpdate",value:function(e,t){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback(),this.props.scrollTop!==e.scrollTop&&this._debounceResetIsScrolling()}},{key:"componentWillUnmount",value:function(){this._debounceResetIsScrollingId&&en(this._debounceResetIsScrollingId)}},{key:"render",value:function(){var e,t=this,o=this.props,n=o.autoHeight,i=o.cellCount,l=o.cellMeasurerCache,s=o.cellRenderer,a=o.className,c=o.height,d=o.id,u=o.keyMapper,h=o.overscanByPixels,f=o.role,p=o.style,m=o.tabIndex,v=o.width,_=o.rowDirection,S=this.state,y=S.isScrolling,C=S.scrollTop,w=[],R=this._getEstimatedTotalHeight(),x=this._positionCache.shortestColumnSize,T=this._positionCache.count,b=0;if(this._positionCache.range(Math.max(0,C-h),c+2*h,function(o,n,r){void 0===e?(b=o,e=o):(b=Math.min(b,o),e=Math.max(e,o)),w.push(s({index:o,isScrolling:y,key:u(o),parent:t,style:g(g(g
1(g({height:l.getHeight(o)},"ltr"===_?"left":"right",n),"position","absolute"),"top",r),"width",l.getWidth(o))}))}),x<C+c+h&&T<i)for(var I=Math.min(i-T,Math.ceil((C+c+h-x)/l.defaultHeight*v/l.defaultWidth)),z=T;z<T+I;z++)e=z,w.push(s({index:z,isScrolling:y,key:u(z),parent:this,style:{width:l.getWidth(z)}}));return this._startIndex=b,this._stopIndex=e,r.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:L("ReactVirtualized__Masonry",a),id:d,onScroll:this._onScroll,role:f,style:function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?eA(Object(o),!0).forEach(function(t){g(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):eA(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}({boxSizing:"border-box",direction:"ltr",height:n?"auto":c,overflowX:"hidden",overflowY:R<c?"hidden":"auto",position:"relative",width:v,WebkitOverflowScrolling:"touch",willChange:"transform"},p),tabIndex:m},r.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:R,maxWidth:"100%",maxHeight:R,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"}},w))}},{key:"_checkInvalidateOnUpdate",value:function(){if("number"==typeof this._invalidateOnUpdateStartIndex){var e=this._invalidateOnUpdateStartIndex,t=this._invalidateOnUpdateStopIndex;this._invalidateOnUpdateStartIndex=null,this._invalidateOnUpdateStopIndex=null,this._populatePositionCache(e,t),this.forceUpdate()}}},{key:"_debounceResetIsScrolling",value:function(){var e=this.props.scrollingResetTimeInterval;this._debounceResetIsScrollingId&&en(this._debounceResetIsScrollingId),this._debounceResetIsScrollingId=er(this._debounceResetIsScrollingCallback,e)}},{key:"_getEstimatedTotalHeight",value:function(){var e=this.props,t=e.cellCount,o=e.cellMeasurerCache,n=Math.max(1,Math.floor(e.width/o.defaultWidth));return this._positionCache.estimateTotalHeight(t,n,o.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function(){var e=this.props,t=e.height,o=e.onScroll,n=this.state.scrollTop;this._onScrollMemoized!==n&&(o({clientHeight:t,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:n}),this._onScrollMemoized=n)}},{key:"_invokeOnCellsRenderedCallback",value:function(){(this._startIndexMemoized!==this._startIndex||this._stopIndexMemoized!==this._stopIndex)&&((0,this.props.onCellsRendered)({startIndex:this._startIndex,stopIndex:this._stopIndex}),this._startIndexMemoized=this._startIndex,this._stopIndexMemoized=this._stopIndex)}},{key:"_populatePositionCache",value:function(e,t){for(var o=this.props,n=o.cellMeasurerCache,r=o.cellPositioner,i=e;i<=t;i++){var l=r(i),s=l.left,a=l.top;this._positionCache.setPosition(i,s,a,n.getHeight(i))}}}],[{key:"getDerivedStateFromProps",value:function(e,t){return void 0!==e.scrollTop&&t.scrollTop!==e.scrollTop?{isScrolling:!0,scrollTop:e.scrollTop}:null}}])}(r.PureComponent);function eW(){}g(eE,"defaultProps",{autoHeight:!1,keyMapper:function(e){return e},onCellsRendered:eW,onScroll:eW,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:150,style:{},tabIndex:0,rowDirection:"ltr"}),y(eE);var eD=d(function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(this,e),g(this,"_cellMeasurerCache",void 0),g(this,"_columnIndexOffset",void 0),g(this,"_rowIndexOffset",void 0),g(this,"columnWidth",function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})}),g(this,"rowHeight",function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})});var n=o.cellMeasurerCache,r=o.columnIndexOffset,i=o.rowIndexOffset;this._cellMeasurerCache=n,this._columnIndexOffset=void 0===r?0:r,this._rowIndexOffset=void 0===i?0:i},[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,o,n){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,o,n)}}]),eH=["rowIndex"],eF=["columnIndex","rowIndex"],ej=["columnIndex"],eN=["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"];function eU(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function eB(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};
1t%2?eU(Object(o),!0).forEach(function(t){g(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):eU(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function eV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eV=function(){return!!e})()}var eq=function(e){function t(e,o){l(this,t),n=t,i=[e,o],n=f(n),g(s=h(this,eV()?Reflect.construct(n,i||[],f(this).constructor):n.apply(this,i)),"state",{scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:!1,showVerticalScrollbar:!1}),g(s,"_deferredInvalidateColumnIndex",null),g(s,"_deferredInvalidateRowIndex",null),g(s,"_bottomLeftGridRef",function(e){s._bottomLeftGrid=e}),g(s,"_bottomRightGridRef",function(e){s._bottomRightGrid=e}),g(s,"_cellRendererBottomLeftGrid",function(e){var t=e.rowIndex,o=Z(e,eH),n=s.props,i=n.cellRenderer,l=n.fixedRowCount;return t===n.rowCount-l?r.createElement("div",{key:o.key,style:eB(eB({},o.style),{},{height:20})}):i(eB(eB({},o),{},{parent:s,rowIndex:t+l}))}),g(s,"_cellRendererBottomRightGrid",function(e){var t=e.columnIndex,o=e.rowIndex,n=Z(e,eF),r=s.props,i=r.cellRenderer,l=r.fixedColumnCount,a=r.fixedRowCount;return i(eB(eB({},n),{},{columnIndex:t+l,parent:s,rowIndex:o+a}))}),g(s,"_cellRendererTopRightGrid",function(e){var t=e.columnIndex,o=Z(e,ej),n=s.props,i=n.cellRenderer,l=n.columnCount,a=n.fixedColumnCount;return t===l-a?r.createElement("div",{key:o.key,style:eB(eB({},o.style),{},{width:20})}):i(eB(eB({},o),{},{columnIndex:t+a,parent:s}))}),g(s,"_columnWidthRightGrid",function(e){var t=e.index,o=s.props,n=o.columnCount,r=o.fixedColumnCount,i=o.columnWidth,l=s.state,a=l.scrollbarSize;return l.showHorizontalScrollbar&&t===n-r?a:"function"==typeof i?i({index:t+r}):i}),g(s,"_onScroll",function(e){var t=e.scrollLeft,o=e.scrollTop;s.setState({scrollLeft:t,scrollTop:o});var n=s.props.onScroll;n&&n(e)}),g(s,"_onScrollbarPresenceChange",function(e){var t=e.horizontal,o=e.size,n=e.vertical,r=s.state,i=r.showHorizontalScrollbar,l=r.showVerticalScrollbar;if(t!==i||n!==l){s.setState({scrollbarSize:o,showHorizontalScrollbar:t,showVerticalScrollbar:n});var a=s.props.onScrollbarPresenceChange;"function"==typeof a&&a({horizontal:t,size:o,vertical:n})}}),g(s,"_onScrollLeft",function(e){var t=e.scrollLeft;s._onScroll({scrollLeft:t,scrollTop:s.state.scrollTop})}),g(s,"_onScrollTop",function(e){var t=e.scrollTop;s._onScroll({scrollTop:t,scrollLeft:s.state.scrollLeft})}),g(s,"_rowHeightBottomGrid",function(e){var t=e.index,o=s.props,n=o.fixedRowCount,r=o.rowCount,i=o.rowHeight,l=s.state,a=l.scrollbarSize;return l.showVerticalScrollbar&&t===r-n?a:"function"==typeof i?i({index:t+n}):i}),g(s,"_topLeftGridRef",function(e){s._topLeftGrid=e}),g(s,"_topRightGridRef",function(e){s._topRightGrid=e});var n,i,s,a=e.deferredMeasurementCache,c=e.fixedColumnCount,d=e.fixedRowCount;return s._maybeCalculateCachedStyles(!0),a&&(s._deferredMeasurementCacheBottomLeftGrid=d>0?new eD({cellMeasurerCache:a,columnIndexOffset:0,rowIndexOffset:d}):a,s._deferredMeasurementCacheBottomRightGrid=c>0||d>0?new eD({cellMeasurerCache:a,columnIndexOffset:c,rowIndexOffset:d}):a,s._deferredMeasurementCacheTopRightGrid=c>0?new eD({cellMeasurerCache:a,columnIndexOffset:c,rowIndexOffset:0}):a),s}return m(t,e),d(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,r):r}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n,i=this.props,l=i.fixedColumnCount,s=i.fixedRowCount,a=Math.max(0,o-l),c=Math.max(0,r-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:a,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:r}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:r}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,o=e.scrollTop;if(t>0||o>0){var n={};t>0&&(n.scrollLeft=t),o>0&&(n.scrollTop=o),this.setState(n)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,o=e.onSectionRendered,n=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),i=(e.scrollTop,e.scrollToRow),l=Z(e,eN);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var s=this.state,a=s.scrollLeft,c=s.scrollTop;return r.createElement("div",{style:this._containerOuterStyle},r.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(l),this._renderTopRightGrid(eB(eB({},l),{},{onScroll:t,scrollLeft:a}
1))),r.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(eB(eB({},l),{},{onScroll:t,scrollTop:c})),this._renderBottomRightGrid(eB(eB({},l),{},{onScroll:t,onSectionRendered:o,scrollLeft:a,scrollToColumn:n,scrollToRow:i,scrollTop:c}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,o=e.columnWidth;if(null==this._leftGridWidth)if("function"==typeof o){for(var n=0,r=0;r<t;r++)n+=o({index:r});this._leftGridWidth=n}else this._leftGridWidth=o*t;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function(e){return e.width-this._getLeftGridWidth(e)}},{key:"_getTopGridHeight",value:function(e){var t=e.fixedRowCount,o=e.rowHeight;if(null==this._topGridHeight)if("function"==typeof o){for(var n=0,r=0;r<t;r++)n+=o({index:r});this._topGridHeight=n}else this._topGridHeight=o*t;return this._topGridHeight}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t}),this.forceUpdate()}}},{key:"_maybeCalculateCachedStyles",value:function(e){var t=this.props,o=t.columnWidth,n=t.enableFixedColumnScroll,r=t.enableFixedRowScroll,i=t.height,l=t.fixedColumnCount,s=t.fixedRowCount,a=t.rowHeight,c=t.style,d=t.styleBottomLeftGrid,u=t.styleBottomRightGrid,h=t.styleTopLeftGrid,f=t.styleTopRightGrid,p=t.width,m=e||i!==this._lastRenderedHeight||p!==this._lastRenderedWidth,g=e||o!==this._lastRenderedColumnWidth||l!==this._lastRenderedFixedColumnCount,v=e||s!==this._lastRenderedFixedRowCount||a!==this._lastRenderedRowHeight;(e||m||c!==this._lastRenderedStyle)&&(this._containerOuterStyle=eB({height:i,overflow:"visible",width:p},c)),(e||m||v)&&(this._containerTopStyle={height:this._getTopGridHeight(this.props),position:"relative",width:p},this._containerBottomStyle={height:i-this._getTopGridHeight(this.props),overflow:"visible",position:"relative",width:p}),(e||d!==this._lastRenderedStyleBottomLeftGrid)&&(this._bottomLeftGridStyle=eB({left:0,overflowX:"hidden",overflowY:n?"auto":"hidden",position:"absolute"},d)),(e||g||u!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=eB({left:this._getLeftGridWidth(this.props),position:"absolute"},u)),(e||h!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=eB({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},h)),(e||g||f!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=eB({left:this._getLeftGridWidth(this.props),overflowX:r?"auto":"hidden",overflowY:"hidden",position:"absolute",top:0},f)),this._lastRenderedColumnWidth=o,this._lastRenderedFixedColumnCount=l,this._lastRenderedFixedRowCount=s,this._lastRenderedHeight=i,this._lastRenderedRowHeight=a,this._lastRenderedStyle=c,this._lastRenderedStyleBottomLeftGrid=d,this._lastRenderedStyleBottomRightGrid=u,this._lastRenderedStyleTopLeftGrid=h,this._lastRenderedStyleTopRightGrid=f,this._lastRenderedWidth=p}},{key:"_prepareForRender",value:function(){(this._lastRenderedColumnWidth!==this.props.columnWidth||this._lastRenderedFixedColumnCount!==this.props.fixedColumnCount)&&(this._leftGridWidth=null),(this._lastRenderedFixedRowCount!==this.props.fixedRowCount||this._lastRenderedRowHeight!==this.props.rowHeight)&&(this._topGridHeight=null),this._maybeCalculateCachedStyles(),this._lastRenderedColumnWidth=this.props.columnWidth,this._lastRenderedFixedColumnCount=this.props.fixedColumnCount,this._lastRenderedFixedRowCount=this.props.fixedRowCount,this._lastRenderedRowHeight=this.props.rowHeight}},{key:"_renderBottomLeftGrid",value:function(e){var t=e.enableFixedColumnScroll,o=e.fixedColumnCount,n=e.fixedRowCount,i=e.rowCount,l=e.hideBottomLeftGridScrollbar,s=this.state.showVerticalScrollbar;if(!o)return null;var a=this._getBottomGridHeight(e),c=this._getLeftGridWidth(e),d=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,u=r.createElement(ec,(0,k.default)({},e,{cellRenderer:this._cellRendererBottomLeftGrid,className:this.props.classNameBottomLeftGrid,columnCount:o,deferredMeasurementCache:this._deferredMeasurementCacheBottomLeftGrid,height:a,onScroll:t?this._onScrollTop:void 0,ref:this._bottomLeftGridRef,rowCount:Math.max(0,i-n)+ +!!s,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:l?c+d:c}));return l?r.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:eB(eB({},this._bottomLeftGridStyle),{},{height:a,width:c,overflowY:"hidden"})},u):u}},{key:"_renderBottomRightGrid",value:function(e){var t=e.columnCount,o=e.fixedColumnCount,n=e.fixedRowCount,i=e.rowCount,l=e.scrollToColumn,s=e.scrollToRow;return r.createElement(ec,(0,k.default)({},e,{cellRenderer:this._cellRendererBottomRightGrid,className:this.props.classNameBottomRightGrid,columnCount:Math.max(0,t-o),columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheBottomRightGrid,height:this._getBottomGridHeight(e),onScroll:this._onScroll,onScrollbarPresenceChange:this._onScrollbarPresenceChange,ref:this._bottomRightGridRef,rowCount:Math.max(0,i-n),rowHeight:this._rowHeightBottomGrid,scrollToColumn:l-o,scrollToRow:s-n,style:this._bottomRightGridStyle,width:this._getRightGridWidth(e)}))}},{key:"_renderTopLeftGrid",value:function(e){var t=e.fixedColumnCount,o=e.fixedRowCount;return t&&o?r.createElement(ec,(0,k.default)({},e,{className:this.props.classNameTopLeftGrid,columnCount:t,height:this._getTopGridHeight(e),ref:this._topLeftGrid
1Ref,rowCount:o,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(e)})):null}},{key:"_renderTopRightGrid",value:function(e){var t=e.columnCount,o=e.enableFixedRowScroll,n=e.fixedColumnCount,i=e.fixedRowCount,l=e.scrollLeft,s=e.hideTopRightGridScrollbar,a=this.state,c=a.showHorizontalScrollbar,d=a.scrollbarSize;if(!i)return null;var u=this._getTopGridHeight(e),h=this._getRightGridWidth(e),f=u,p=this._topRightGridStyle;s&&(f=u+(c?d:0),p=eB(eB({},this._topRightGridStyle),{},{left:0}));var m=r.createElement(ec,(0,k.default)({},e,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,t-n)+ +!!c,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:f,onScroll:o?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:i,scrollLeft:l,style:p,tabIndex:null,width:h}));return s?r.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:eB(eB({},this._topRightGridStyle),{},{height:u,width:h,overflowX:"hidden"})},m):m}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft&&e.scrollLeft>=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}])}(r.PureComponent);function eK(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eK=function(){return!!e})()}g(eq,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),eq.propTypes={},y(eq),function(e){function t(e,o){var n,r,i;return l(this,t),r=t,i=[e,o],r=f(r),(n=h(this,eK()?Reflect.construct(r,i||[],f(this).constructor):r.apply(this,i))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},n._onScroll=n._onScroll.bind(n),n}return m(t,e),d(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,n=t.clientWidth,r=t.scrollHeight,i=t.scrollLeft,l=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:n,onScroll:this._onScroll,scrollHeight:r,scrollLeft:i,scrollTop:l,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,n=e.scrollHeight,r=e.scrollLeft,i=e.scrollTop,l=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:n,scrollLeft:r,scrollTop:i,scrollWidth:l})}}])}(r.PureComponent).propTypes={};let eY="DESC";function eX(e){var t=e.sortDirection,o=L("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":"ASC"===t,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===eY});return r.createElement("svg",{className:o,width:18,height:18,viewBox:"0 0 24 24"},"ASC"===t?r.createElement("path",{d:"M7 14l5-5 5 5z"}):r.createElement("path",{d:"M7 10l5 5 5-5z"}),r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function eZ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eZ=function(){return!!e})()}eX.propTypes={};var eJ=function(e){function t(){var e,o;return l(this,t),e=t,o=arguments,e=f(e),h(this,eZ()?Reflect.construct(e,o||[],f(this).constructor):e.apply(this,o))}return m(t,e),d(t)}(r.Component);function e$(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function eQ(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?e$(Object(o),!0).forEach(function(t){g(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):e$(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function e0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e0=function(){return!!e})()}g(eJ,"defaultProps",{cellDataGetter:function(e){var t=e.dataKey,o=e.rowData;return"function"==typeof o.get?o.get(t):o[t]},cellRenderer:function(e){var t=e.cellData;return null==t?"":String(t)},defaultSortDirection:"ASC",flexGrow:0,flexShrink:1,headerRenderer:function(e){var t=e.dataKey,o=e.label,n=e.sortBy,i=e.sortDirection,l=[r.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof o?o:null},o)];return n===t&&l.push(r.createElement(eX,{key:"SortIndicator",sortDirection:i})),l},style:{}}),eJ.propTypes={};var e1=function(e){function t(e){var o,n,r;return l(this,t),n=t,r=[e],n=f(n),(o=h(this,e0()?Reflect.construct(n,r||[],f(this).constructor):n.apply(this,r))).state={scrollbarWidth:0},o._createColumn=o._createColumn.bind(o),o._createRow=o._createRow.bind(o),o._onScroll=o._onScroll.bind(o),o._onSectionRendered=o._onSectionRendered.bind(o),o._setRef=o._setRef.bind(o),o._setGridElementRef=o._setGridElementRef.bind(o),o}return m(t,e),d(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.force
1Update()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,o=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:o}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:o,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.GridElement){var e=this.GridElement,t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,o=t.children,n=t.className,i=t.disableHeader,l=t.gridClassName,s=t.gridStyle,a=t.headerHeight,c=t.headerRowRenderer,d=t.height,u=t.id,h=t.noRowsRenderer,f=t.rowClassName,p=t.rowStyle,m=t.scrollToIndex,g=t.style,v=t.width,_=this.state.scrollbarWidth,S="function"==typeof f?f({index:-1}):f,y="function"==typeof p?p({index:-1}):p;return this._cachedColumnStyles=[],r.Children.toArray(o).forEach(function(t,o){var n=e._getFlexStyleForColumn(t,t.props.style||eJ.defaultProps.style);e._cachedColumnStyles[o]=eQ({overflow:"hidden"},n)}),r.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":r.Children.toArray(o).length,"aria-rowcount":this.props.rowCount,className:L("ReactVirtualized__Table",n),id:u,role:"grid",style:g},!i&&c({className:L("ReactVirtualized__Table__headerRow",S),columns:this._getHeaderColumns(),style:eQ({height:a,overflow:"hidden",paddingRight:_,width:v},y)}),r.createElement(ec,(0,k.default)({},this.props,{elementRef:this._setGridElementRef,"aria-readonly":null,autoContainerWidth:!0,className:L("ReactVirtualized__Table__Grid",l),cellRenderer:this._createRow,columnWidth:v,columnCount:1,height:i?d:d-a,id:void 0,noContentRenderer:h,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:_,scrollToRow:m,style:eQ(eQ({},s),{},{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,o=e.columnIndex,n=e.isScrolling,i=e.parent,l=e.rowData,s=e.rowIndex,a=this.props.onColumnClick,c=t.props,d=c.cellDataGetter,u=c.cellRenderer,h=c.className,f=c.columnData,p=c.dataKey,m=c.id,g=u({cellData:d({columnData:f,dataKey:p,rowData:l}),columnData:f,columnIndex:o,dataKey:p,isScrolling:n,parent:i,rowData:l,rowIndex:s}),v=this._cachedColumnStyles[o],_="string"==typeof g?g:null;return r.createElement("div",{"aria-colindex":o+1,"aria-describedby":m,className:L("ReactVirtualized__Table__rowColumn",h),key:"Row"+s+"-Col"+o,onClick:function(e){a&&a({columnData:f,dataKey:p,event:e})},role:"gridcell",style:v,title:_},g)}},{key:"_createHeader",value:function(e){var t,o,n,i,l,s=e.column,a=e.index,c=this.props,d=c.headerClassName,u=c.headerStyle,h=c.onHeaderClick,f=c.sort,p=c.sortBy,m=c.sortDirection,g=s.props,v=g.columnData,_=g.dataKey,S=g.defaultSortDirection,y=g.disableSort,C=g.headerRenderer,w=g.id,R=g.label,x=!y&&f,T=L("ReactVirtualized__Table__headerColumn",d,s.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),b=this._getFlexStyleForColumn(s,eQ(eQ({},u),s.props.headerStyle)),I=C({columnData:v,dataKey:_,disableSort:y,label:R,sortBy:p,sortDirection:m});if(x||h){var z=p!==_?S:m===eY?"ASC":eY,O=function(e){x&&f({defaultSortDirection:S,event:e,sortBy:_,sortDirection:z}),h&&h({columnData:v,dataKey:_,event:e})};l=s.props["aria-label"]||R||_,i="none",n=0,t=O,o=function(e){("Enter"===e.key||" "===e.key)&&O(e)}}return p===_&&(i="ASC"===m?"ascending":"descending"),r.createElement("div",{"aria-label":l,"aria-sort":i,className:T,id:w,key:"Header-Col"+a,onClick:t,onKeyDown:o,role:"columnheader",style:b,tabIndex:n},I)}},{key:"_createRow",value:function(e){var t=this,o=e.rowIndex,n=e.isScrolling,i=e.key,l=e.parent,s=e.style,a=this.props,c=a.children,d=a.onRowClick,u=a.onRowDoubleClick,h=a.onRowRightClick,f=a.onRowMouseOver,p=a.onRowMouseOut,m=a.rowClassName,g=a.rowGetter,v=a.rowRenderer,_=a.rowStyle,S=this.state.scrollbarWidth,y="function"==typeof m?m({index:o}):m,C="function"==typeof _?_({index:o}):_,w=g({index:o}),R=r.Children.toArray(c).map(function(e,r){return t._createColumn({column:e,columnIndex:r,isScrolling:n,parent:l,rowData:w,rowIndex:o,scrollbarWidth:S})}
1),x=L("ReactVirtualized__Table__row",y),T=eQ(eQ({},s),{},{height:this._getRowHeight(o),overflow:"hidden",paddingRight:S},C);return v({className:x,columns:R,index:o,isScrolling:n,key:i,onRowClick:d,onRowDoubleClick:u,onRowRightClick:h,onRowMouseOver:f,onRowMouseOut:p,rowData:w,style:T})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),n=eQ(eQ({},t),{},{flex:o,msFlex:o,WebkitFlex:o});return e.props.maxWidth&&(n.maxWidth=e.props.maxWidth),e.props.minWidth&&(n.minWidth=e.props.minWidth),n}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,o=t.children;return(t.disableHeader?[]:r.Children.toArray(o)).map(function(t,o){return e._createHeader({column:t,index:o})})}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.scrollHeight,n=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:n})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,n=e.rowStartIndex,r=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:n,stopIndex:r})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setGridElementRef",value:function(e){this.GridElement=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}])}(r.PureComponent);g(e1,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:ed,overscanRowCount:10,rowRenderer:function(e){var t=e.className,o=e.columns,n=e.index,i=e.key,l=e.onRowClick,s=e.onRowDoubleClick,a=e.onRowMouseOut,c=e.onRowMouseOver,d=e.onRowRightClick,u=e.rowData,h=e.style,f={"aria-rowindex":n+1};return(l||s||a||c||d)&&(f["aria-label"]="row",f.tabIndex=0,l&&(f.onClick=function(e){return l({event:e,index:n,rowData:u})}),s&&(f.onDoubleClick=function(e){return s({event:e,index:n,rowData:u})}),a&&(f.onMouseOut=function(e){return a({event:e,index:n,rowData:u})}),c&&(f.onMouseOver=function(e){return c({event:e,index:n,rowData:u})}),d&&(f.onContextMenu=function(e){return d({event:e,index:n,rowData:u})})),r.createElement("div",(0,k.default)({},f,{className:t,key:i,role:"row",style:h}),o)},headerRowRenderer:function(e){var t=e.className,o=e.columns,n=e.style;return r.createElement("div",{className:t,role:"row",style:n},o)},rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),e1.propTypes={};var e2=[],e4=null,e5=null;function e9(){e5&&(e5=null,document.body&&null!=e4&&(document.body.style.pointerEvents=e4),e4=null)}function e3(){e9(),e2.forEach(function(e){return e.__resetIsScrolling()})}function e7(e){var t;e.currentTarget===window&&null==e4&&document.body&&(e4=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),e5&&en(e5),t=0,e2.forEach(function(e){t=Math.max(t,e.props.scrollingResetTimeInterval)}),e5=er(e3,t),e2.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function e6(e,t){e2.some(function(e){return e.props.scrollElement===t})||t.addEventListener("scroll",e7),e2.push(e)}function e8(e,t){!(e2=e2.filter(function(t){return t!==e})).length&&(t.removeEventListener("scroll",e7),e5&&(en(e5),e9()))}var te=function(e){return e===window},tt=function(e){return e.getBoundingClientRect()};function to(e,t){if(!e)return{height:t.serverHeight,width:t.serverWidth};if(!te(e))return tt(e);var o=window,n=o.innerHeight,r=o.innerWidth;return{height:"number"==typeof n?n:0,width:"number"==typeof r?r:0}}function tn(e){return te(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function tr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function ti(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};
1t%2?tr(Object(o),!0).forEach(function(t){g(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):tr(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function tl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tl=function(){return!!e})()}var ts=function(){return"u">typeof window?window:void 0},ta=function(e){function t(){l(this,t);for(var e,o,n,i=arguments.length,s=Array(i),a=0;a<i;a++)s[a]=arguments[a];return o=t,n=[].concat(s),o=f(o),g(e=h(this,tl()?Reflect.construct(o,n||[],f(this).constructor):o.apply(this,n)),"_window",ts()),g(e,"_isMounted",!1),g(e,"_positionFromTop",0),g(e,"_positionFromLeft",0),g(e,"_detectElementResize",void 0),g(e,"_child",void 0),g(e,"_windowScrollerRef",r.createRef()),g(e,"state",ti(ti({},to(e.props.scrollElement,e.props)),{},{isScrolling:!1,scrollLeft:0,scrollTop:0})),g(e,"_registerChild",function(t){!t||t instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),e._child=t,e.updatePosition()}),g(e,"_onChildScroll",function(t){var o=t.scrollTop;if(e.state.scrollTop!==o){var n=e.props.scrollElement;n&&("function"==typeof n.scrollTo?n.scrollTo(0,o+e._positionFromTop):n.scrollTop=o+e._positionFromTop)}}),g(e,"_registerResizeListener",function(t){t===window?window.addEventListener("resize",e._onResize,!1):e._detectElementResize.addResizeListener(t,e._onResize)}),g(e,"_unregisterResizeListener",function(t){t===window?window.removeEventListener("resize",e._onResize,!1):t&&e._detectElementResize.removeResizeListener(t,e._onResize)}),g(e,"_onResize",function(){e.updatePosition()}),g(e,"__handleWindowScrollEvent",function(){if(e._isMounted){var t=e.props.onScroll,o=e.props.scrollElement;if(o){var n=tn(o),r=Math.max(0,n.left-e._positionFromLeft),i=Math.max(0,n.top-e._positionFromTop);e.setState({isScrolling:!0,scrollLeft:r,scrollTop:i}),t({scrollLeft:r,scrollTop:i})}}}),g(e,"__resetIsScrolling",function(){e.setState({isScrolling:!1})}),e}return m(t,e),d(t,[{key:"updatePosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,o=this.state,n=o.height,r=o.width,i=this._child||this._windowScrollerRef.current;if(i instanceof Element&&e){var l=function(e,t){if(te(t)&&document.documentElement){var o=document.documentElement,n=tt(e),r=tt(o);return{top:n.top-r.top,left:n.left-r.left}}var i=tn(t),l=tt(e),s=tt(t);return{top:l.top+i.top-s.top,left:l.left+i.left-s.left}}(i,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var s=to(e,this.props);(n!==s.height||r!==s.width)&&(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width})),!0===this.props.updateScrollTopOnUpdatePosition&&(this.__handleWindowScrollEvent(),this.__resetIsScrolling())}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=T(),this.updatePosition(e),e&&(e6(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var o=this.props.scrollElement,n=e.scrollElement;n!==o&&null!=n&&null!=o&&(this.updatePosition(o),e8(this,n),e6(this,o),this._unregisterResizeListener(n),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(e8(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.isScrolling,n=t.scrollTop,i=t.scrollLeft,l=t.height,s=t.width;return r.createElement("div",{ref:this._windowScrollerRef},e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:l,isScrolling:o,scrollLeft:i,scrollTop:n,width:s}))}}])}(r.PureComponent);g(ta,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:ts(),serverHeight:0,serverWidth:0});var tc=e.i(271944),td=e.i(946217),tu=e.i(948148),th=e.i(78850),tf=e.i(193319),tp=e.i(796174);e.i(908775);var tm=e.i(565474),tg=e.i(404333),tv=e.i(679262),t_=e.i(940799),tS=e.i(269450);let ty=(0,t_.styled)(tS.Button)(({theme:e})=>({marginTop:e.spacing(1),marginLeft:e.spacing(1)}));e.s(["ClearButton",0,ty],484031);let tC=({checkboxValues:e,nestedCheckboxValues:t,resetFilterSection:o})=>{let r=(0,tu.useTranslations)("pages.search.components.FilterPanel"),i=(e&&Object.values(e).filter(e=>!0===e).length)+(t&&Object.values(t).filter(e=>!0===e).length||0)||0;return(0,n.jsxs)(ty,{purpose:"link",onClick:o,disabled:!i,children:[r("clearFilter")," (",i,")"]})};e.s(["default",0,tC],963583);var tw=e.i(2992);e.s(["default",0,({filterItem:e,filterSection:t,control:o,checkboxValues:l,noFilterLabel:s,placeholder:a,counts:c={},countsDisabled:d,handleCheckboxChange:u,setValue:h,resetFilterSection:f})=>{let p=(0,tu.useTranslations)("components.FilterSection"),{field:m}=(0,i.useController)({control:o,name:t}),g=(0,r.useMemo)(()=>e.buckets.filter(e=>e?.label?.toString()?.toLowerCase()?.includes(m.value?.toLowerCase()||"")).map(e=>{let t=d?void 0:(0,td.default)(c)?e.count:c[e.label]||0;return{...e,count:t}}).filter(e=>0!==e.count),[e.buckets,m.value,d,c]);if(!e.buckets.length)return(0,n.jsx)(tp.default,{children:s||p("noFilters")});let v=({index:e,key:t,style:o})=>{let{label:r,...i}=(0,tc.default)(g[e]),s=(0,tv.getShortenedText)(r,tg.SEARCH_FILTER_CHAR_LIMIT);return(0,n.jsx)("div",{style:o,children:(0,n.jsx)(th.default,{rawLabel:s,label:(0,n.jsx)(tw.default,{content:s}),...i,formControlSx:{pl:1,pr:1},checked:l&&l[g[e].label]||!1,name:g[e].label,onChange:(e,t)=>
1u({[e.target.name]:t})})},t)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tf.default,{control:o,name:t,label:"",placeholder:a||p("placeholder"),icon:tm.SearchIcon,showClearButton:!0,setValue:h}),(0,n.jsx)("div",{style:{height:126},children:(0,n.jsx)(O,{disableWidth:!0,children:()=>(0,n.jsx)(eg,{tabIndex:-1,rowRenderer:v,rowCount:g.length,rowHeight:42,width:1,height:126,containerStyle:{width:"100%",maxWidth:"100%"},style:{width:"100%"},role:""})})}),(0,n.jsx)(tC,{checkboxValues:l,resetFilterSection:f})]})}],569940)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.