@reltio/remotes 1.4.1131 → 1.4.1134

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/2507.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[2507],{98808:(e,t,n)=>{n.d(t,{K:()=>f,N:()=>d});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),s=n(94079);const i=(0,n(79692).Z)((e=>({button:{padding:"9px 16px 9px 12px","& svg g path, & svg path":{fill:e.palette.primary.main,fillOpacity:1}},iconButton:{"& svg g path, & svg path":{fill:e.palette.primary.main,fillOpacity:1}},startIcon:{marginLeft:0,marginRight:"8px",width:"18px",height:"18px",alignItems:"center"},label:{whiteSpace:"nowrap",fontSize:"14px",lineHeight:"16px",letterSpacing:0},overflowStyle:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},menuIcon:{marginRight:"12px"},menuItem:{minHeight:"28px",padding:"2px 16px 2px 12px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}})));var c=n(31276),p=n(88611),u=n(8818);function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}let d;!function(e){e.iconButton="iconButton",e.button="button",e.menuItem="menuItem"}(d||(d={}));const f=(0,r.forwardRef)(((e,t)=>{let{className:n,mode:r=d.iconButton,label:l,disabled:f,icon:g,onClick:h=c.ZT,onMenuClose:b=c.ZT}=e,v=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["className","mode","label","disabled","icon","onClick","onMenuClose"]);const y=i();return(()=>{switch(r){case"iconButton":return a().createElement(u.k,m({disabled:f,className:o()(y.iconButton,n),size:"S",tooltipTitle:l,onClick:h,icon:g},v));case"button":return a().createElement(s.Button,m({className:o()(y.button,n),disabled:f,startIcon:a().createElement(g,null),onClick:h,color:"primary",classes:{startIcon:y.startIcon,label:y.label}},v),a().createElement(p.C,{value:l},a().createElement("div",{className:y.overflowStyle},l)));case"menuItem":{const e=()=>{b(),h()};return a().createElement(s.MenuItem,m({classes:{root:y.menuItem},onClick:e,disabled:f,ref:t},v),a().createElement(a().Fragment,null,a().createElement(g,{className:y.menuIcon}),a().createElement(s.Typography,{classes:{root:y.menuText}},l)))}}})()}));f.displayName="ActionButton"},7154:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(24328),a=n.n(r),l=n(13980),o=n.n(l),s=n(99493),i=n(17440),c=n(89846),p=n(27185);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}const m=e=>{let{relation:t={},inRelationTypes:n=[],outRelationTypes:l=[],onChange:o=i.identity,applyFirstByDefault:s=!1,reversedContextLabels:m=!1}=e,d=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["relation","inRelationTypes","outRelationTypes","onChange","applyFirstByDefault","reversedContextLabels"]);const{getRelationTypesOptions:f,fromEditorValue:g,toEditorValue:h}=(0,c.n)({reversedContextLabels:m}),b=(0,r.useMemo)((()=>f(n,l)),[f,n,l]),v=(0,r.useCallback)((0,i.pipe)(g(n,l),o),[g,n,l,o]),y=!!t.relationType;return(0,r.useEffect)((()=>{s&&b.length&&!y&&v(b[0])}),[b,s,v,y]),a().createElement(p.Z,u({value:h(t,b),options:b,onChange:v},d))};m.propTypes={className:o().string,relation:s.bNA,inRelationTypes:o().arrayOf(s.IYE),outRelationTypes:o().arrayOf(s.IYE),applyFirstByDefault:o().bool,reversedContextLabels:o().bool,onChange:o().func};const d=m},2014:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),s=n(19592);const i=(0,n(79692).Z)((e=>({label:{backgroundColor:"rgba(43,152,240,0.12)",fontSize:"12px",lineHeight:"15px",color:e.palette.text.primary,display:"flex",alignItems:"center",padding:"2px 7px"},container:{display:"flex",alignItems:"center",cursor:"pointer"},expanded:{marginBottom:"8px"}})));function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}const p=(0,r.forwardRef)(((e,t)=>{let{children:n,expanded:r,onExpand:l,className:p}=e,u=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["children","expanded","onExpand","className"]);const m=i();return a().createElement("div",c({onClick:l,ref:t,className:o()(m.container,p,{[m.expanded]:r})},u),a().createElement(s.Z,{expanded:r}),a().createElement("div",{className:m.label},n))}));p.displayName="MatchRuleBadge";const u=p},83037:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),a=n.n(r),l=n(99493),o=n(74615),s=n(93301),i=n(66792);const c=e=>{let{entitiesMap:t,entity:n,match:r,metadata:c}=e;return(0,l.Pcm)(r)?a().createElement(s.Z,{transitiveMatchRules:(0,l.wB1)(c,r,t)}):a().createElement(i.Z,{matchRules:(0,l.LS0)(c,n.type,r.matchRules),Component:o.Z})}},41022:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(24328),a=n.n(r),l=n(87918),o=n.n(l);const s=e=>{let{isMlMatch:t=!1}=e;return a().createElement(a().Fragment,null,t?o().text("Match IQ"):o().text("Match rules"))}},4724:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(24328),a=n.n(r),l=n(41022);const o=(0,n(79692).Z)({title:{fontWeight:500,marginBottom:"9px"},body:{fontWeight:"normal",marginLeft:"16px"},container:{padding:"8px",fontSize:"12px",lineHeight:"14px"}}),s=e=>{let{isMlMatch:t=!1,matchRules:n}=e;const r=o();return a().createElement("div",{className:r.container},a().createElement("div",{className:r.title},a().createElement(l.Z,{isMlMatch:t})," "),a().createElement("div",{className:r.body},n.map((e=>a().createElement("div",{key:e.uri},`- ${e.label}`)))))}},12896:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),s=n(41022);const i=(0,n(79692).Z)((e=>({container:{fontSize:"13px",lineHeight:"15px"},title:{color:e.palette.text.secondary,marginBottom:"7px"},labelsContainer:{color:e.palette.text.primary,marginBottom:"8px"}}))),c=e=>{let{isMlMatch:t,matchRules:n,className:r}=e;const l=i();return a().createElement("div",{className:o()(l.container,r)},a().createElement("div",{className:l.title},a().createElement(s.Z,{isMlMatch:t})),a().createElement("div",{className:l.labelsContainer},n.map((e=>a().createElement("div",{key:e.uri},`- ${e.label}`)))))}},74615:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),a=n.n(r),l=n(4724),o=n(12896),s=n(83348),i=n(2014);const c=(0,n(79692).Z)({container:{display:"flex",flexDirection:"column",alignItems:"flex-start"},rulesContainer:{marginLeft:"16px"},icon:{height:"17px",width:"15px",marginRight:"5px"}});function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const u=e=>a().createElement("svg",p({width:192,height:192,viewBox:"0 0 192 192",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),a().createElement("defs",null,a().createElement("linearGradient",{x1:"94.582%",y1:"6.451%",x2:"23.195%",y2:"83.323%",id:"MLMatch_svg__b"},a().createElement("stop",{stopColor:"#CDE1FF",offset:"0%"}),a().createElement("stop",{stopColor:"#AFFBF4",offset:"100%"})),a().createElement("linearGradient",{x1:"94.582%",y1:"6.594%",x2:"23.195%",y2:"83.214%",id:"MLMatch_svg__d"},a().createElement("stop",{stopColor:"#FFF",offset:"0%"}),a().createElement("stop",{stopColor:"#FDFFFF",offset:"100%"})),a().createElement("linearGradient",{x1:"93.837%",y1:"55.274%",x2:"29.292%",y2:"-20.431%",id:"MLMatch_svg__g"},a().createElement("stop",{stopColor:"#FFFCC7",stopOpacity:0,offset:"0%"}),a().createElement("stop",{stopColor:"#FFF470",offset:"100%"})),a().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"98.152%",id:"MLMatch_svg__i"},a().createElement("stop",{stopColor:"#83D6FF",offset:"0%"}),a().createElement("stop",{stopColor:"#72B9EF",offset:"100%"})),a().createElement("path",{d:"M1.821 66.003L34.263 9.94C36.633 5.813 45.673.594 51.398.072l64.445-.064c5.06-.241 14.821 5.084 17.888 10.395l31.467 54.503c3.186 5.518 2.765 16.592-.13 22.117l-30.948 53.481c-3.776 5.127-14.165 11.126-19.57 11.328l-62.134.061c-5.51-.264-15.934-5.764-18.758-10.655L1.856 86.155C-.846 81.475-.37 70.648 1.82 66.003z",id:"MLMatch_svg__a"}),a().createElement("path",{d:"M11.109 67.042l28.713-49.618C41.92 13.77 49.931 9.158 55.006 8.7l57.143.005c4.486-.209 13.147 4.516 15.871 9.223l27.954 48.298c2.83 4.89 2.467 14.696-.095 19.586l-27.391 47.334c-3.343 4.537-12.55 9.84-17.342 10.013l-55.094-.004c-4.886-.24-14.134-5.12-16.643-9.454L11.16 84.889c-2.4-4.147-1.989-13.735-.05-17.847z",id:"MLMatch_svg__c"}),a().createElement("path",{d:"M.995 0c26.4.684 47.59 22.234 47.59 48.72 0 26.23-23.795 34.53-23.795 56.987 0 3.703-3.011 6.705-6.725 6.705l-17.07-.001V68.985c6.466-1.238 11.353-6.923 11.353-13.75S7.46 42.722.995 41.485V0z",id:"MLMatch_svg__e"}),a().createElement("path",{d:"M47.353 0l-.087 41.235-.225.003c-7.588.167-13.688 6.37-13.688 13.997 0 7.683 6.19 13.92 13.854 14l-.091 43.265H27.887c-1.894-.56-3.197-1.234-3.91-2.025-.712-.79-1.357-2.275-1.933-4.455l-2.335-10.733c-.354-1.265-.674-2.183-.96-2.753-.286-.57-.784-1.281-1.494-2.134L2.002 70.367c-.846-.949-1.383-1.73-1.61-2.343-.228-.613-.356-1.626-.386-3.038V31.34c-.028-.785.044-1.37.216-1.757.173-.387.566-.848 1.18-1.382L28.368.885c.37-.367.665-.601.885-.704.22-.103.557-.163 1.01-.181h17.09z",id:"MLMatch_svg__h"})),a().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a().createElement("g",{transform:"translate(12 6)"},a().createElement("use",{fill:"url(#MLMatch_svg__b)",xlinkHref:"#MLMatch_svg__a"}),a().createElement("use",{fill:"url(#MLMatch_svg__d)",opacity:.5,xlinkHref:"#MLMatch_svg__c"})),a().createElement("g",{transform:"translate(69.652 30.765)"},a().createElement("rect",{fill:"#363636",x:15.457,y:132.745,width:21.151,height:23.158,rx:10.576}),a().createElement("path",{d:"M48.146 118.763v18.93c0 7.198-5.944 13.035-13.277 13.035h-16.71c-7.333 0-13.278-5.837-13.278-13.036v-18.929a13 13 0 01.023-.763h43.22a13 13 0 01.022.763z",fill:"#717171"}),a().createElement("path",{d:"M41.348 137.2c0 7.199-4.947 13.035-11.048 13.035H16.395c-6.101 0-11.047-5.836-11.047-13.035v-18.965h36V137.2z",fill:"#828282"}),a().createElement("path",{d:"M47.51 138.235a4 4 0 110 8H4.556a4 4 0 110-8h42.956zm0-11a4 4 0 110 8H4.556a4 4 0 110-8h42.956zm0-11a4 4 0 110 8H4.556a4 4 0 110-8h42.956z",fill:"#B1B1B1"}),a().createElement("path",{d:"M24.999 138.234v8h-16v-8h16zm0-11v8h-16v-8h16zm0-11v8h-16v-8h16z",fill:"#C5C5C5"}),a().createElement("g",{transform:"translate(27)"},a().createElement("mask",{id:"MLMatch_svg__f",fill:"#fff"},a().createElement("use",{xlinkHref:"#MLMatch_svg__e"})),a().createElement("use",{fill:"#FFD44B",xlinkHref:"#MLMatch_svg__e"}),a().createElement("path",{d:"M-49 48.729C-49 21.583-27.155 0-.207 0 26.74 0 48.585 21.817 48.585 48.729c0 26.227-23.75 34.525-23.75 56.98a6.708 6.708 0 01-6.713 6.703h-38.208a6.708 6.708 0 01-6.712-6.704C-26.798 85.217-49 75.875-49 48.73z",fill:"#FFD347",mask:"url(#MLMatch_svg__f)"}),a().createElement("path",{d:"M-49 48.729C-49 21.583-27.155 0-.207 0 26.74 0 48.585 21.817 48.585 48.729c0 26.227-23.75 34.525-23.75 56.98a6.708 6.708 0 01-6.713 6.703h-38.208a6.708 6.708 0 01-6.712-6.704C-26.798 85.217-49 75.875-49 48.73z",fill:"#FFDE72",mask:"url(#MLMatch_svg__f)"}),a().createElement("path",{d:"M11.965 48.645c.17-7.171 7.488-10.693 13.863-6.802 7.245 4.422 4.05 16.311-4.742 16.548l-.268.004h-3.227l-4.608 56.092-5.995-.253 4.413-51.248.185-4.592-10.592.001v-6h10.83l.139-3.585.002-.165zm10.737-1.681c-2.54-1.55-4.64-.58-4.737 1.766l-.005.284-.131 3.38 2.99.001c2.852 0 3.999-3.945 2.011-5.347l-.128-.084z",fill:"#F3BE13",mask:"url(#MLMatch_svg__f)"}),a().createElement("ellipse",{fill:"url(#MLMatch_svg__g)",mask:"url(#MLMatch_svg__f)",cx:-1.89,cy:48.245,rx:36.534,ry:36.667}))),a().createElement("g",{transform:"translate(45.647 30.765)"},a().createElement("mask",{id:"MLMatch_svg__j",fill:"#fff"},a().createElement("use",{xlinkHref:"#MLMatch_svg__h"})),a().createElement("use",{fill:"url(#MLMatch_svg__i)",xlinkHref:"#MLMatch_svg__h"}),a().createElement("path",{fill:"#D6FCFA",fillRule:"nonzero",opacity:.5,mask:"url(#MLMatch_svg__j)",d:"M38.24 11.235v6l-3.55-.001-22.207 22.207h-18.13v-6H9.997l22.207-22.206zM25.682 40.779l13.8 13.799H50v6H36.997L21.439 45.021zM53.311 28.235v6h-13.65l-3.935 4.246-4.4-4.08 5.718-6.166zM14.248 52.235l20.52 20.52h3.695v6h-6.18l-20.52-20.52H-.647v-6zM21.353 84.235h8.95L40.4 94.332h16.753v6H37.915L27.817 90.235z"})),a().createElement("circle",{fill:"#008FD8",cx:94,cy:86,r:9})));var m=n(87918),d=n.n(m);const f=(0,s.Z)(i.Z),g=e=>{let{isMlMatch:t=!1,matchRules:n}=e;const s=c(),[i,p]=(0,r.useState)(!1),m=(0,r.useCallback)((()=>p((e=>!e))),[]);return a().createElement("div",{className:s.container},a().createElement(f,{tooltipTitle:a().createElement(l.Z,{matchRules:n,isMlMatch:t}),tooltipPlacement:"bottom-start",onExpand:m,expanded:i},t?a().createElement(a().Fragment,null,a().createElement(u,{className:s.icon}),d().text("Match IQ")):d().text("Rules")),i?a().createElement(o.Z,{className:s.rulesContainer,matchRules:n,isMlMatch:t}):null)}},66792:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(24328),a=n.n(r),l=n(13980),o=n.n(l),s=n(17440),i=n(99493);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}const p=e=>{let{matchRules:t,Component:n}=e,r=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["matchRules","Component"]);const[l,o]=(0,i.UkJ)(t);return a().createElement(a().Fragment,null,(0,s.isEmpty)(o)?null:a().createElement(n,c({matchRules:o},r)),(0,s.isEmpty)(l)?null:a().createElement(n,c({isMlMatch:!0,matchRules:l},r)))};p.propTypes={matchRules:i.p3$,Component:o().func};const u=p},93301:(e,t,n)=>{n.d(t,{Z:()=>E});var r=n(24328),a=n.n(r),l=n(87918),o=n.n(l),s=n(2014),i=n(19592),c=n(12896),p=n(66792),u=n(79692);const m=(0,u.Z)((e=>({label:{fontSize:"13px",lineHeight:"15px",color:e.palette.primary.light},container:{display:"flex",flexDirection:"column"},badge:{display:"flex",marginBottom:"8px",cursor:"pointer"},matchLabels:{marginLeft:"30px"}}))),d=e=>{let{label:t,matchRules:n}=e;const l=m(),[o,s]=(0,r.useState)(!1),u=(0,r.useCallback)((()=>s((e=>!e))),[]);return a().createElement("div",{className:l.container},a().createElement("div",{onClick:u,className:l.badge},a().createElement(i.Z,{expanded:o}),a().createElement("div",{className:l.label},t)),o?a().createElement(p.Z,{Component:c.Z,matchRules:n,className:l.matchLabels}):null)},f=(0,u.Z)({container:{display:"flex",flexDirection:"column"},rulesWrapper:{display:"flex",flexDirection:"column"}});var g=n(83348),h=n(4724);const b=(0,u.Z)({ruleWrapper:{paddingTop:"8px"},label:{fontWeight:500,fontSize:"12px"}}),v=e=>{let{transitiveMatchRules:t}=e;const n=b();return a().createElement(a().Fragment,null,t.map(((e,t)=>{let{label:r,matchRules:l}=e;return a().createElement("div",{key:t,className:n.ruleWrapper},a().createElement("div",{className:n.label},r),a().createElement(h.Z,{matchRules:l}))})))};function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}const x=(0,g.Z)(s.Z),E=e=>{let{transitiveMatchRules:t}=e;const n=f(),[l,s]=(0,r.useState)(!1),i=(0,r.useCallback)((()=>s((e=>!e))),[]);return a().createElement("div",{className:n.container},a().createElement(x,{tooltipTitle:a().createElement(v,{transitiveMatchRules:t}),tooltipPlacement:"bottom-start",onExpand:i,expanded:l},o().text("Transitive matches")),l?t.map(((e,t)=>a().createElement(d,y({key:t},e)))):null)}},93428:(e,t,n)=>{n.d(t,{H:()=>d});var r=n(24328),a=n.n(r),l=n(87918),o=n.n(l);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}const i=e=>a().createElement("svg",s({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.955 10.955v-3.5l4.5 4.5-4.5 4.5v-3.5h-6.41l-6-6 1.41-1.41 5.41 5.41h5.59zm-11 7.41l-1.41-1.41 3.41-3.41 1.41 1.41-3.41 3.41z",fill:"#000",fillOpacity:.54}));var c=n(31276),p=n(98808),u=n(84504);function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}const d=(0,r.forwardRef)(((e,t)=>{let{className:n,mode:r=p.N.iconButton,onMenuClose:l=c.ZT,disabled:s=!1,entity:d,entities:f,onStartRequest:g,onFinishRequest:h,onSuccess:b,onError:v}=e,y=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["className","mode","onMenuClose","disabled","entity","entities","onStartRequest","onFinishRequest","onSuccess","onError"]);const{sendMergeAllRequest:x}=(0,u._)({entity:d,entities:f,onStartRequest:g,onFinishRequest:h,onError:v,onSuccess:b});return a().createElement(p.K,m({className:n,disabled:s,mode:r,label:s?"":o().text("Merge"),icon:i,onClick:x,onMenuClose:l,ref:t},y))}));d.displayName="mergeButton"},30885:(e,t,n)=>{n.d(t,{i:()=>d});var r=n(98808),a=n(24328),l=n.n(a);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const s=e=>l().createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 1.5v3.638h-1.247l-11.03 11H2v2h3.55l11.029-11H17V10.5L21.5 6 17 1.5zM8.844 8.785L5.55 5.5H2v2h2.723l2.707 2.7 1.414-1.415zm4.835 4.822l-1.414 1.414 3.488 3.479H17v3.638l4.5-4.5-4.5-4.5V16.5h-.421l-2.9-2.893z",fill:"#000",fillOpacity:.54}));var i=n(31276),c=n(87918),p=n.n(c),u=n(59119);function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}const d=(0,a.forwardRef)(((e,t)=>{let{className:n,mode:a=r.N.iconButton,onMenuClose:o=i.ZT,disabled:c=!1,entity:d,entities:f,onStartRequest:g,onFinishRequest:h,onSuccess:b}=e,v=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["className","mode","onMenuClose","disabled","entity","entities","onStartRequest","onFinishRequest","onSuccess"]);const{sendMarkAsNotMatchRequest:y}=(0,u.m)({entity:d,entities:f,onStartRequest:g,onFinishRequest:h,onSuccess:b});return l().createElement(r.K,m({className:n,disabled:c,mode:a,label:c?"":p().text("Not a match"),icon:s,onClick:y,onMenuClose:o,ref:t},v))}));d.displayName="notMatchButton"},93517:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(24328),a=n.n(r),l=n(87918),o=n.n(l),s=n(71153),i=n.n(s),c=n(99493);const p=(0,n(79692).Z)((e=>({container:{display:"flex",padding:"16px",overflow:"hidden"},image:{width:"40px",height:"40px"},info:{marginLeft:"12px",overflow:"hidden",display:"flex",flexDirection:"column"},label:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",fontWeight:400,fontSize:"13px",lineHeight:"15px",color:e.palette.primary.main},secondaryLabel:{marginTop:"4px",fontWeight:400,fontSize:"10px",lineHeight:"12px",color:e.palette.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},link:{textDecoration:"none"},thirdRow:{display:"flex",alignItems:"center",marginTop:"auto",paddingTop:"4px"},entityId:{display:"flex",alignItems:"baseline",fontWeight:400,fontSize:"12px",lineHeight:"16px"},entityIdLabel:{color:e.palette.text.secondary},entityIdValue:{marginLeft:"8px",color:e.palette.text.primary}})));var u=n(53180),m=n(31039),d=n(88611),f=n(68439);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}const h=(0,r.memo)((e=>{let{entity:t,classes:n={}}=e,r=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["entity","classes"]);const l=p(),{secondaryLabel:s,label:h,container:b}=n,v=(0,c.idV)(t.label),{secondaryLabel:y}=t;return a().createElement("div",g({className:i()(l.container,b)},r),a().createElement(u.Z,{entity:t,imageClassName:l.image}),a().createElement("div",{className:l.info},a().createElement(m.Z,{value:(0,c.wwR)(t),className:l.link},a().createElement(d.C,{value:v,placement:"top",showOnExceededHeight:!0},a().createElement("div",{className:i()(l.label,h)},v))),y&&a().createElement(d.C,{value:y,placement:"top",showOnExceededHeight:!0},a().createElement("div",{className:i()(l.secondaryLabel,s)},y)),a().createElement("div",{className:l.thirdRow},a().createElement(f.Z,{entity:t,size:"medium"}),a().createElement("div",{className:l.entityId},a().createElement("div",{className:l.entityIdLabel},o().text("ID:")),a().createElement("div",{className:l.entityIdValue},(0,c.BTI)(t))))))}))},39827:(e,t,n)=>{n.d(t,{G:()=>d});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),s=n(8818),i=n(79692),c=n(41128);const p=(0,i.Z)((e=>({container:{display:"flex",flexDirection:"column",flexShrink:0,width:"64px",paddingTop:"8px",backgroundColor:e.palette.background.paper,boxShadow:"0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.2)"},active:{backgroundColor:(0,c.U1)(e.palette.primary.main,.12),color:e.palette.primary.main,"&:after":{content:'""',position:"absolute",height:"42px",width:"3px",backgroundColor:e.palette.primary.main,left:"-8px",borderRadius:"0 6px 6px 0"}},buttonWrapper:{position:"relative",width:"48px",height:"44px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"6px",margin:"2px 8px",color:e.palette.text.secondary}})));function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}const d=e=>{let{buttonsProps:t,activeIndexId:n,className:r,onButtonClick:l,classes:i={}}=e;const c=p(),{active:d,buttonWrapper:f}=i,g=m(i,["active","buttonWrapper"]);return a().createElement("div",{className:o()(c.container,r)},t.map((e=>{let{id:t}=e,r=m(e,["id"]);return a().createElement(s.k,u({},r,{classes:g,size:"S",key:t,className:o()({[o()(c.active,d)]:n===t},c.buttonWrapper,f),onClick:()=>l(t),"data-reltio-id":`reltio-profile-right-side-button-${t}`}))})))}},52043:(e,t,n)=>{n.d(t,{h:()=>o});var r=n(24328),a=n.n(r);const l=(0,n(79692).Z)((e=>({contentWrapper:{display:"flex",flexDirection:"column",backgroundColor:e.palette.background.paper,boxShadow:"0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.2)",marginLeft:"3px",transition:e.transitions.create(["width"],{duration:e.transitions.duration.enteringScreen})}}))),o=e=>{let{width:t,open:n,children:r}=e;const o=l();return a().createElement("div",{className:o.contentWrapper,style:{width:`${n?t:0}px`}},n&&a().createElement(a().Fragment,null,r))}},17308:(e,t,n)=>{n.d(t,{P:()=>u});var r=n(24328),a=n.n(r),l=n(87685);const o=(0,n(79692).Z)({container:{display:"flex",flexShrink:0,height:"63px",alignItems:"center",borderBottom:"1px solid rgba(0,0,0,0.12)"},icon:{margin:"0 12px"},divider:{backgroundColor:"rgba(0,0,0,0.12)",margin:"19px 17px"},secondTitle:{fontSize:"14px"}});var s=n(94079),i=n(87918),c=n.n(i),p=n(8818);const u=e=>{let{onClose:t,mainTitle:n,secondTitle:r,content:i,rightContent:u}=e;const m=o();return a().createElement("div",{className:m.container},a().createElement(p.k,{size:"L",icon:l.default,onClick:t,className:m.icon,tooltipTitle:c().text("Close")}),i||a().createElement(a().Fragment,null,a().createElement(s.Typography,{variant:"h6"},n),r&&a().createElement(a().Fragment,null,a().createElement(s.Divider,{orientation:"vertical",flexItem:!0,className:m.divider}),a().createElement(s.Typography,{variant:"body1",color:"textSecondary",className:m.secondTitle},r)),u))}},27185:(e,t,n)=>{n.d(t,{Z:()=>S});var r=n(24328),a=n.n(r),l=n(13980),o=n.n(l),s=n(87918),i=n.n(s),c=n(17440),p=n(71153),u=n.n(p),m=n(94079);const d=(0,n(79692).Z)({container:{display:"flex",alignItems:"center",height:"32px",minHeight:"32px",padding:0},text:{display:"flex",width:"calc(100% - 68px)"},textItem:{fontSize:"13px",lineHeight:"15px",marginRight:10},primaryTextItem:{flex:"1 0",flexBasis:0,maxWidth:"50%",overflow:"hidden",textOverflow:"ellipsis"},secondaryTextItem:{flex:"1 0",flexBasis:0,overflow:"hidden",textOverflow:"ellipsis"},icons:{transform:"scale(0.5)",position:"relative",flexShrink:0,width:"68px",bottom:"10px"},iconTop:{position:"absolute",top:0,left:0,zIndex:1},iconBottom:{position:"absolute",top:0,left:26,zIndex:0}});var f=n(31254),g=n(88611);function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}const b=e=>{let{innerRef:t,innerProps:n,selectOption:r,data:l}=e;const o=d(),{value:s,label:i,startObject:c,endObject:p}=l,b=c.objectType.label+" ↔ "+p.objectType.label;return a().createElement(m.MenuItem,h({className:o.container,ref:t,key:s,onClick:()=>r({label:i,value:s,startObject:c,endObject:p})},n),a().createElement("div",{className:o.icons},a().createElement(f.Z,{className:o.iconTop,entityType:c.objectType}),a().createElement(f.Z,{className:o.iconBottom,entityType:p.objectType})),a().createElement("div",{className:o.text},a().createElement(g.C,{value:i},a().createElement(m.Typography,{className:u()(o.textItem,o.primaryTextItem)},i)),a().createElement(g.C,{value:b},a().createElement(m.Typography,{color:"textSecondary",className:u()(o.textItem,o.secondaryTextItem)},b))))};b.propTypes={innerRef:o().oneOfType([o().oneOf([null]),o().func,o().shape({current:o().any.isRequired})]),innerProps:o().object.isRequired,selectOption:o().func.isRequired,data:o().shape({value:o().string.isRequired,label:o().string.isRequired,startObject:o().object,endObject:o().object})};const v=b;var y=n(24737);function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const O=e=>{let{value:t={},options:n=[],onChange:l=c.identity,TextFieldProps:o}=e,s=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["value","options","onChange","TextFieldProps"]);const p=(0,r.useMemo)((()=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){E(e,t,n[t])}))}return e}({},(0,c.defaultTo)({},o),{"data-reltio-id":"relation-type-selector"})),[o]);return a().createElement(y.Z,x({value:t,options:n,onChange:l,label:i().text("Select relationship type "),components:{Option:v},TextFieldProps:p},s))},C=o().shape({label:o().string.isRequired,value:o().string.isRequired,startObject:o().object,endObject:o().object});O.propTypes={value:C,options:o().arrayOf(C),onChange:o().func};const S=O},89140:(e,t,n)=>{n.d(t,{V:()=>k});var r=n(24328),a=n.n(r),l=n(17440),o=n(94079),s=n(94842),i=n(13980),c=n.n(i),p=n(87918),u=n.n(p),m=n(98685),d=n(71153),f=n.n(d),g=n(79692);const h=(0,g.Z)((e=>({comment:{display:"flex",flexDirection:"row",flex:1,marginLeft:"6px"},avatar:{height:"24px",width:"24px",margin:"3px 13px 0 0"},icon:{fill:"#537280",backgroundColor:"#EAEDEE"},firstLine:{display:"flex",flexDirection:"row"},info:{flex:1},author:{flex:1,fontWeight:"500",color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px"},date:{color:"rgba(0, 0, 0, 0.54)",fontSize:"11px",marginRight:"17px",lineHeight:"15px"},text:{color:"rgba(0, 0, 0, 0.6)",fontSize:"13px",wordWrap:"break-word",wordBreak:"break-all",paddingRight:"10px"}}))),b=(0,g.Z)((e=>({circleButton:{maxWidth:"14px",maxHeight:"14px",border:"1px solid rgba(0, 0, 0, 0.3)",fontSize:"13px",color:"rgba(0, 0, 0, 0.6)",position:"absolute",top:"-11px",left:"5px",backgroundColor:"#ffffff","&:hover":{backgroundColor:"#f7f7f7"},"&.focused":{backgroundColor:"#f7f7f7"}},delimiter:{position:"relative",height:"4px",borderTop:"1px solid rgba(0, 0, 0, 0.3)",borderBottom:"1px solid rgba(0, 0, 0, 0.3)",margin:"15px 0 24px 0"}}))),v=(0,g.Z)((e=>({container:{padding:"5px 0",display:"flex",flexDirection:"column"},commentsContainer:{maxHeight:"300px",overflowY:"auto"},title:{margin:"0 0 8px 5px",fontSize:"14px",color:"rgba(0, 0, 0, 0.87)"},filledInputRoot:{backgroundColor:"rgba(0, 0, 0, 0.03)",padding:"0 6px",height:"40px",margin:"10px 17px 0 6px",fontSize:"14px","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"},"&.focused":{backgroundColor:"rgba(0, 0, 0, 0.03)"}}}))),y=(0,g.Z)((e=>({messageContainer:{borderBottom:"1px solid rgba(0,0,0,0.3)",paddingBottom:"7px",marginBottom:"7px"}}))),x=e=>{let{author:t,classes:n,message:r,time:l}=e;const s=h();return a().createElement("div",{className:s.comment},a().createElement(o.Avatar,{className:s.avatar},a().createElement(m.Z,{className:s.icon})),a().createElement("div",{className:f()(s.info,n.messageContainer)},a().createElement("div",{className:s.firstLine},a().createElement("div",{className:s.author},t),a().createElement("span",{className:s.date},u().date(l,"L LT"))),a().createElement("div",{className:s.text},r)))};x.defaultProps={classes:{}},x.propTypes={classes:c().object,author:c().string,id:c().string,message:c().string,time:c().number};const E=e=>{let{comments:t,onClick:n}=e;const r=b();return a().createElement(a().Fragment,null,a().createElement(x,t[0]),a().createElement("div",{className:r.delimiter},a().createElement(o.IconButton,{className:r.circleButton,onClick:n},t.length-2)),a().createElement(x,t[t.length-1]))};E.propTypes={comments:c().arrayOf(c().shape({author:c().string,id:c().string,message:c().string,time:c().number})),onClick:c().func};const O=e=>{let{comments:t}=e;const n=y();return t.map((e=>{let{author:t,id:r,message:l,time:o}=e;return a().createElement(x,{classes:{messageContainer:n.messageContainer},key:r,author:t,message:l,time:o})}))};O.propTypes={comments:c().arrayOf(c().shape({author:c().string,id:c().string,message:c().string,time:c().number}))};var C=n(43477),S=n(22385);const w=e=>e.target.value,k=e=>{let{processInstanceComments:t,taskId:n,isTaskOpen:i}=e;const c=v(),[p,m]=(0,r.useState)(!1),[d,f]=(0,r.useState)(""),{comments:g,writeComment:h,readOnly:b}=(0,C.W)({processInstanceComments:t,taskId:n,isOpen:i}),y=(0,r.useCallback)((()=>{h(d),f("")}),[d,h]),x=(0,l.pipe)(w,f);return a().createElement("div",{className:c.container},a().createElement("div",{className:c.title}," ",u().text("Comments")," "),a().createElement("div",{className:c.commentsContainer},p||g.length<3?a().createElement(O,{comments:g}):a().createElement(E,{onClick:()=>m(!0),comments:g})),!b&&a().createElement(o.Input,{endAdornment:a().createElement(o.InputAdornment,{position:"end"},a().createElement(S.Z,{icon:s.Z,disabled:0===d.length,onClick:y})),classes:{root:c.filledInputRoot},placeholder:u().text("Write a comment"),value:d,onKeyPress:(0,l.when)((0,l.propEq)("key","Enter"),y),onChange:x,disableUnderline:!0}))};k.propTypes={processInstanceComments:c().arrayOf(c().shape({author:c().string,id:c().string,message:c().string,time:c().number})),taskId:c().string}},75813:(e,t,n)=>{n.d(t,{R:()=>s});var r=n(87918),a=n.n(r),l=n(99493),o=n(585);const s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{errorMessage:t,errorCode:n}=e;n!==l.Xt7.WORKFLOW_IS_NOT_REGISTERED_ERROR&&(console.error(e),o.Z.addError({title:a().text("Error"),message:t||a().text("Something went wrong...")}))}},21380:(e,t,n)=>{n.d(t,{rc:()=>a,Xs:()=>l,tg:()=>o});var r=n(17440);const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.find((0,r.startsWith)("changeRequests/"))},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,r.pipe)(a,(0,r.unless)(r.isNil,(0,r.pipe)((0,r.split)("/"),(0,r.nth)(1))))(e)},o=e=>void 0===e||!0===e},5434:(e,t,n)=>{n.d(t,{r:()=>f});var r=n(24328),a=n(17440),l=n(52730),o=n(99493),s=n(87638),i=n(67218),c=n(94150),p=n(75813),u=n(22994),m=n(21380);const d=e=>({label:e,value:e}),f=e=>{let{assignee:t,taskId:n,isOpen:f}=e;const{updateTaskState:g}=(0,r.useContext)(c.O)||{},h=(0,l.useSelector)(s.ZP.selectors.getWorkflowPath),b=(0,l.useSelector)(s.ZP.selectors.getWorkflowEnvironmentUrl),v=(0,l.useSelector)(s.ZP.selectors.getTenant),y=(0,i._)(),x=(0,i._)(),[E,O]=(0,r.useState)(null),[C,S]=(0,r.useState)(),[w,k]=(0,r.useState)(!1),M=(0,u.Z)()("UPDATE_TASK")&&(0,m.tg)(f);(0,r.useEffect)((()=>{O(d(t))}),[t]);const P=(0,r.useCallback)((e=>{if(h&&M&&n){const t=(0,a.filter)((t=>t.value.toLowerCase().includes(e)));return C?Promise.resolve(t(C)):x((0,o.j2$)({taskId:n,workflowPath:h,environment:b,tenant:v})).then((e=>{const{data:n}=e,r=n.sort(((e,t)=>o.P6Y.strings.sort("asc",e,t))).map(d);return S(r),t(r)})).catch(p.R)}}),[h,n,b,v,C,S,M]),_=(0,r.useCallback)((e=>{if(h&&M&&n){const{value:t}=e;k(!0),y((0,o._C4)({taskId:n,workflowPath:h,environment:b,tenant:v,assignee:t})).then((()=>{O(d(t)),null==g||g(n,{assignee:t})})).catch(p.R).finally((()=>{k(!1)}))}}),[h,n,b,v,M]);return{assignee:E,getAssignees:P,updateAssignee:_,updateRequestIsInProgress:w,readOnly:!M}}},22994:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(52730),a=n(87638);const l=()=>{const e=(0,r.useSelector)(a.ZP.selectors.getWorkflowPath),t=(0,r.useSelector)(a.ZP.selectors.getCanUserStartProcessFromQuery),n=(0,r.useSelector)(a.ZP.selectors.getCanUserViewWorkflowJobs),l=(0,r.useSelector)(a.ZP.selectors.getCanUserViewWorkflowEnvironmentConfigJar),o=(0,r.useSelector)(a.ZP.selectors.getCanUserViewWorkflowDefinition),s=(0,r.useSelector)(a.ZP.selectors.getCanUserViewWorkflowConfigJar),i=(0,r.useSelector)(a.ZP.selectors.getCanUserViewProcessInstanceSearchQuery),c=(0,r.useSelector)(a.ZP.selectors.getCanUserUpdateWorkflowDataTask),p=(0,r.useSelector)(a.ZP.selectors.getCanUserUpdateProcessInstance),u=(0,r.useSelector)(a.ZP.selectors.getCanUserReadWorkflowDataTask),m=(0,r.useSelector)(a.ZP.selectors.getCanUserManageWorkflowEnvironmentDefinition),d=(0,r.useSelector)(a.ZP.selectors.getCanUserManageWorkflowDefinition),f=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobsValidateTasks),g=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobsUpdateTasks),h=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobsTerminateProcessInstance),b=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobsSyncBusinessProcessData),v=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobs),y=(0,r.useSelector)(a.ZP.selectors.getCanUserCreateWorkflowEnvironmentConfigJar),x=(0,r.useSelector)(a.ZP.selectors.getCanUserRegisterConfigEnvironments),E=(0,r.useSelector)(a.ZP.selectors.getCanUserCreateWorkflowConfigJar);return r=>{if(!e)return!1;switch(r){case"VIEW_PROCESS_DEFINITIONS":return o;case"DEPLOY_GENERIC_PROCESS_DEFINITION":return m;case"VIEW_JOBS":return n;case"START_JOB":return v||b&&h&&g&&f;case"VIEW_CUSTOM_JARS":return s||l;case"UPDATE_PROCESS_INSTANCE":return p;case"VIEW_TASKS":return u;case"REGISTER_TENANT":return x;case"START_PROCESS_INSTANCE":case"START_PROCESS_INSTANCE_SEARCH_QUERY":return t;case"VIEW_PROCESS_INSTANCE_COMMENTS":case"VIEW_PROCESS_INSTANCES":case"VIEW_PROCESS_INSTANCE_COUNT":return i;case"UPDATE_TASK":return c;case"DEPLOY_TENANT_PROCESS_DEFINITION":return d;case"DEPLOY_CUSTOM_JAR":return E&&y}return!1}}},43477:(e,t,n)=>{n.d(t,{W:()=>m});var r=n(24328),a=n(99493),l=n(87638),o=n(52730),s=n(67218),i=n(94150),c=n(75813),p=n(22994),u=n(21380);const m=e=>{let{processInstanceComments:t,taskId:n,isOpen:m}=e;const{updateTaskState:d}=(0,r.useContext)(i.O)||{},f=(0,o.useSelector)(l.ZP.selectors.getWorkflowPath),g=(0,o.useSelector)(l.ZP.selectors.getWorkflowEnvironmentUrl),h=(0,o.useSelector)(l.ZP.selectors.getTenant),b=(0,s._)(),[v,y]=(0,r.useState)([]),[x,E]=(0,r.useState)(!1),O=(0,p.Z)()("UPDATE_TASK")&&(0,u.tg)(m);(0,r.useEffect)((()=>{y(t||[])}),[t]);const C=(0,r.useCallback)((e=>{O&&(E(!0),b((0,a.tZe)({workflowPath:f,environment:g,tenant:h,taskId:n,comment:e}).then((()=>(0,a.yW4)({workflowPath:f,environment:g,tenant:h,taskId:n})))).then((e=>{let{processInstanceComments:t}=e;y(t||[]),null==d||d(n,{processInstanceComments:t})})).catch(c.R).finally((()=>E(!1))))}),[g,n,h,f,b,d,O]);return{comments:v,requestIsInProgress:x,writeComment:C,readOnly:!O}}},94150:(e,t,n)=>{n.d(t,{O:()=>a});var r=n(24328);const a=n.n(r)().createContext(null);a.displayName="WorkflowTasksContext"},59119:(e,t,n)=>{n.d(t,{m:()=>s});var r=n(99493),a=n(52730),l=n(87638),o=n(24328);const s=e=>{let{entities:t,entity:n,onFinishRequest:s,onStartRequest:i,onSuccess:c}=e;const p=(0,a.useSelector)(l.ZP.selectors.getTenant),u=(0,a.useSelector)(l.ZP.selectors.getDtssPath),[m,d]=(0,o.useState)(!1);return{isPending:m,sendMarkAsNotMatchRequest:(0,o.useCallback)((()=>{null==i||i(),d(!0);const e={dtssPath:u,customerTenant:p,entity:n,entities:t};((0,r.biM)(n)?(0,r.bMg)(e):(0,r.fZN)(e)).then((()=>{null==c||c()})).finally((()=>{null==s||s(),d(!1)}))}),[u,t,n,s,i,c,p])}}},28741:(e,t,n)=>{n.d(t,{s:()=>p});var r=n(24328),a=n(52730),l=n(87638),o=n(99493),s=n(20449),i=n(67218),c=n(17440);const p=e=>{let{enabled:t,entity:n,filter:p,onFinishLoading:u,onStartLoading:m,options:d,page:f,rowsPerPage:g,sorting:h,markMatchedValues:b}=e;const{order:v,field:y}=h||{},[x,E]=(0,r.useState)(0),[O,C]=(0,r.useState)([]),[S,w]=(0,r.useState)({}),k=(0,a.useSelector)(l.ZP.selectors.getTenant),M=(0,a.useSelector)(l.ZP.selectors.getDtssPath),P=(0,a.useSelector)(l.ZP.selectors.getDataTenants),{activityFilter:_,globalFilter:T}=(0,a.useSelector)(l.ZP.selectors.getGlobalSearchRequestOptions)||{},N="boolean"==typeof d.showInactiveEntities?d.showInactiveEntities?o.YJ7.ALL:o.YJ7.ACTIVE_ONLY:_,R=(0,r.useMemo)((()=>({dtssPath:M,dataTenants:P,entity:n,customerTenant:k,dtssRequest:o.Rgl})),[M,P,n,k]),I=(0,r.useCallback)((0,o.U_T)(R,o.SP6),[R]),j=(0,s.a)(I),Z=(0,s.a)(o.bFH),L=(0,c.prop)("uri",n),F=(0,i._)(),W=(0,r.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!t||(0,o.ZiX)(L))return E(0),C([]),void w({});null==m||m(),F((0,o.biM)(n)?Z({dtssPath:M,entity:n,customerTenant:k,offset:f*g,max:g,force:e}):j({entityUri:L,offset:f*g,max:g,filter:(0,o.vyX)(T,p)||"",sort:y,order:v,force:e,markMatchedValues:b,deep:d.showTransitiveMatches?void 0:1,activeness:N})).then((e=>{const{response:t,total:n,originalResponse:r}=e;E(n),(0,o.B1H)(r).length>0&&w((0,o.KPC)(r)),C(t)})).finally((()=>{null==u||u()}))}),[T,N,M,t,L,y,p,b,Z,j,u,m,d,v,f,g,F,k]);return(0,r.useEffect)((()=>{W()}),[W]),{total:x,matches:O,entitiesMap:S,loadMatches:(0,r.useCallback)((()=>{W(!0)}),[W])}}},84504:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(24328),a=n(52730),l=n(87638),o=n(99493),s=n(31276);const i=e=>{let{entities:t,entity:n,onFinishRequest:i,onStartRequest:c,onSuccess:p,onError:u=s.ZT}=e;const m=(0,a.useSelector)(l.ZP.selectors.getTenant),d=(0,a.useSelector)(l.ZP.selectors.getDtssPath),[f,g]=(0,r.useState)(!1);return{isPending:f,sendMergeAllRequest:(0,r.useCallback)((()=>{null==c||c(),g(!0);const e={dtssPath:d,customerTenant:m,entity:n,entities:t};((0,o.biM)(n)?(0,o.uJQ)(e):(0,o.OxG)(e)).then((()=>{null==p||p()})).catch(u).finally((()=>{null==i||i(),g(!1)}))}),[d,t,n,u,i,c,p,m])}}},20449:(e,t,n)=>{n.d(t,{a:()=>l});var r=n(24328),a=n(17440);const l=e=>(0,r.useCallback)((e=>{let t={},n=[];return async r=>{let{max:l,offset:o,force:s}=r,i=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(r,["max","offset","force"]),c=s;const p=Object.keys(t);if(c=c||!(0,a.equals)(Object.keys(i),p),!c)for(const e of p)c=c||!(0,a.equals)(t[e],i[e]);return c&&(n=await e(i),t=i),{response:n.slice(o,o+l),total:n.length,originalResponse:n}}})(e),[e])},89846:(e,t,n)=>{n.d(t,{n:()=>o});var r=n(24328),a=n(99493),l=n(17440);const o=e=>{let{reversedContextLabels:t}=e;return{getRelationTypesOptions:(0,r.useCallback)(((e,n)=>{const r={},o=(0,l.pipe)(a.PjQ,(0,l.tap)((e=>r[e]=(0,l.propOr)(0,e,r)+1))),s=(0,l.ascend)((0,l.prop)("label")),i=(0,l.curry)(((e,n)=>{let{uri:r,label:l,startObject:s,endObject:i}=n;const c=e===(t?a.Nsj.OUT:a.Nsj.IN)?s:i;return{label:{directionalLabel:o(c),typeLabel:l},value:`${r},${e}`,startObject:s,endObject:i}}));return e.map(i(a.Nsj.IN)).concat(n.map(i(a.Nsj.OUT))).map((0,l.evolve)({label:e=>{let{directionalLabel:t,typeLabel:n}=e;return t?r[t]>1?`${t} (${n})`:t:n}})).sort(s)}),[t]),fromEditorValue:(0,r.useCallback)(((e,t)=>n=>{const[r,o]=n.value.split(",");return{type:(o===a.Nsj.IN?e:t).find((0,l.propEq)("uri",r)),direction:o}}),[]),toEditorValue:(0,r.useCallback)(((e,t)=>t.find((0,l.propEq)("value",`${e.relationType},${e.direction}`))),[])}}}}]);
package/2623.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 2623.js.LICENSE.txt */
2
- (self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[2623],{43525:(e,t,o)=>{"use strict";var r=o(14859);t.Z=void 0;var n=r(o(24328)),i=(0,r(o(50175)).default)(n.default.createElement("path",{d:"M16.01 11H4v2h12.01v3L20 12l-3.99-4z"}),"ArrowRightAlt");t.Z=i},14940:(e,t,o)=>{"use strict";var r=o(14859);t.Z=void 0;var n=r(o(24328)),i=(0,r(o(50175)).default)(n.default.createElement("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");t.Z=i},73272:(e,t,o)=>{"use strict";var r=o(14859);t.Z=void 0;var n=r(o(24328)),i=(0,r(o(50175)).default)(n.default.createElement("path",{d:"M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"}),"Flag");t.Z=i},67766:(e,t,o)=>{"use strict";var r=o(14859);t.Z=void 0;var n=r(o(24328)),i=(0,r(o(50175)).default)(n.default.createElement("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=i},42767:(e,t,o)=>{"use strict";var r=o(14859);t.Z=void 0;var n=r(o(24328)),i=(0,r(o(50175)).default)(n.default.createElement("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=i},98685:(e,t,o)=>{"use strict";var r=o(14859);t.Z=void 0;var n=r(o(24328)),i=(0,r(o(50175)).default)(n.default.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=i},94842:(e,t,o)=>{"use strict";var r=o(14859);t.Z=void 0;var n=r(o(24328)),i=(0,r(o(50175)).default)(n.default.createElement("path",{d:"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"}),"Send");t.Z=i},72753:(e,t,o)=>{"use strict";var r=o(14859);t.Z=void 0;var n=r(o(24328)),i=(0,r(o(50175)).default)(n.default.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=i},81521:(e,t,o)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}function l(e){return l="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},l(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?s(e):t}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}function h(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}o.d(t,{qj:()=>Y,Z8:()=>ee,t1:()=>te,aV:()=>_e});var f=o(24328),p=o(46847);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},g.apply(this,arguments)}var m=o(6277);function v(e){var t=e.cellCount,o=e.cellSize,r=e.computeMetadataCallback,n=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)||(r(n),a>=0&&a===s&&c())}function _(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}o(13980);var S=function(){function e(t){var o=t.cellCount,n=t.cellSizeGetter,i=t.estimatedCellSize;r(this,e),h(this,"_cellSizeAndPositionData",{}),h(this,"_lastMeasuredIndex",-1),h(this,"_lastBatchedIndex",-1),h(this,"_cellCount",void 0),h(this,"_cellSizeGetter",void 0),h(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=o,this._estimatedCellSize=i}return i(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,o=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=o,this._cellSizeGetter=r}},{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,r=this._lastMeasuredIndex+1;r<=e;r++){var n=this._cellSizeGetter({index:r});if(void 0===n||isNaN(n))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(n));null===n?(this._cellSizeAndPositionData[r]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:o,size:n},o+=n,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=e.align,o=void 0===t?"auto":t,r=e.containerSize,n=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var l,s=this.getSizeAndPositionOfCell(i),a=s.offset,c=a-r+s.size;switch(o){case"start":l=a;break;case"end":l=c;break;case"center":l=a-(r-s.size)/2;break;default:l=Math.max(c,Math.min(a,n))}var d=this.getTotalSize();return Math.max(0,Math.min(d-r,l))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;if(0===this.getTotalSize())return{};var r=o+t,n=this._findNearestCell(o),i=this.getSizeAndPositionOfCell(n);o=i.offset+i.size;for(var l=n;o<r&&l<this._cellCount-1;)l++,o+=this.getSizeAndPositionOfCell(l).size;return{start:n,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 r=t+Math.floor((e-t)/2),n=this.getSizeAndPositionOfCell(r).offset;if(n===o)return r;n<o?t=r+1:n>o&&(e=r-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var o=1;e<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)}}]),e}(),y=function(){function e(t){var o=t.maxScrollSize,n=void 0===o?"undefined"!=typeof window&&window.chrome?16777100:15e5:o,i=_(t,["maxScrollSize"]);r(this,e),h(this,"_cellSizeAndPositionManager",void 0),h(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new S(i),this._maxScrollSize=n}return i(e,[{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,r=this._cellSizeAndPositionManager.getTotalSize(),n=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n});return Math.round(i*(n-r))}},{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=void 0===t?"auto":t,r=e.containerSize,n=e.currentOffset,i=e.targetIndex;n=this._safeOffsetToOffset({containerSize:r,offset:n});var l=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:r,currentOffset:n,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:l})}},{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,r=e.totalSize;return r<=t?0:o/(r-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,o=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),n=this.getTotalSize();if(r===n)return o;var i=this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r});return Math.round(i*(n-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,o=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),n=this.getTotalSize();if(r===n)return o;var i=this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n});return Math.round(i*(r-t))}}]),e}();function w(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(o){var r=o.callback,n=o.indices,i=Object.keys(n),l=!e||i.every((function(e){var t=n[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],r=n[e];return Array.isArray(r)?o.join(",")!==r.join(","):o!==r}));t=n,l&&s&&r(n)}}function C(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,r=e.previousCellsCount,n=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(),g=d>=0&&d<p;g&&(u!==s||h||!n||"number"==typeof t&&t!==n||c!==i||d!==l)?f(d):!g&&p>0&&(u<s||p<r)&&a>o.getTotalSize()-u&&f(p-1)}const x=!("undefined"==typeof window||!window.document||!window.document.createElement);var b,R;function T(e){if((!b&&0!==b||e)&&x){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),b=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return b}var z,I,M=(R="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||R.webkitRequestAnimationFrame||R.mozRequestAnimationFrame||R.oRequestAnimationFrame||R.msRequestAnimationFrame||function(e){return R.setTimeout(e,1e3/60)},O=R.cancelAnimationFrame||R.webkitCancelAnimationFrame||R.mozCancelAnimationFrame||R.oCancelAnimationFrame||R.msCancelAnimationFrame||function(e){R.clearTimeout(e)},P=M,k=O,L=function(e){return k(e.id)},G=function(e,t){var o;Promise.resolve().then((function(){o=Date.now()}));var r={id:P((function n(){Date.now()-o>=t?e.call():r.id=P(n)}))};return r};function A(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?A(o,!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):A(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var H="requested",W=(I=z=function(e){function t(e){var o;r(this,t),h(s(o=a(this,c(t).call(this,e))),"_onGridRenderedMemoizer",w()),h(s(o),"_onScrollMemoizer",w(!1)),h(s(o),"_deferredInvalidateColumnIndex",null),h(s(o),"_deferredInvalidateRowIndex",null),h(s(o),"_recomputeScrollLeftFlag",!1),h(s(o),"_recomputeScrollTopFlag",!1),h(s(o),"_horizontalScrollBarSize",0),h(s(o),"_verticalScrollBarSize",0),h(s(o),"_scrollbarPresenceChanged",!1),h(s(o),"_scrollingContainer",void 0),h(s(o),"_childrenToDisplay",void 0),h(s(o),"_columnStartIndex",void 0),h(s(o),"_columnStopIndex",void 0),h(s(o),"_rowStartIndex",void 0),h(s(o),"_rowStopIndex",void 0),h(s(o),"_renderedColumnStartIndex",0),h(s(o),"_renderedColumnStopIndex",0),h(s(o),"_renderedRowStartIndex",0),h(s(o),"_renderedRowStopIndex",0),h(s(o),"_initialScrollTop",void 0),h(s(o),"_initialScrollLeft",void 0),h(s(o),"_disablePointerEventsTimeoutId",void 0),h(s(o),"_styleCache",{}),h(s(o),"_cellCache",{}),h(s(o),"_debounceScrollEndedCallback",(function(){o._disablePointerEventsTimeoutId=null,o.setState({isScrolling:!1,needToResetStyleCache:!1})})),h(s(o),"_invokeOnGridRenderedHelper",(function(){var e=o.props.onSectionRendered;o._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:o._columnStartIndex,columnOverscanStopIndex:o._columnStopIndex,columnStartIndex:o._renderedColumnStartIndex,columnStopIndex:o._renderedColumnStopIndex,rowOverscanStartIndex:o._rowStartIndex,rowOverscanStopIndex:o._rowStopIndex,rowStartIndex:o._renderedRowStartIndex,rowStopIndex:o._renderedRowStopIndex}})})),h(s(o),"_setScrollingContainerRef",(function(e){o._scrollingContainer=e})),h(s(o),"_onScroll",(function(e){e.target===o._scrollingContainer&&o.handleScrollEvent(e.target)}));var n=new y({cellCount:e.columnCount,cellSizeGetter:function(o){return t._wrapSizeGetter(e.columnWidth)(o)},estimatedCellSize:t._getEstimatedColumnSize(e)}),i=new y({cellCount:e.rowCount,cellSizeGetter:function(o){return t._wrapSizeGetter(e.rowHeight)(o)},estimatedCellSize:t._getEstimatedRowSize(e)});return o.state={instanceProps:{columnSizeAndPositionManager:n,rowSizeAndPositionManager:i,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&&(o._initialScrollTop=o._getCalculatedScrollTop(e,o.state)),e.scrollToColumn>0&&(o._initialScrollLeft=o._getCalculatedScrollLeft(e,o.state)),o}return u(t,e),i(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,r=e.columnIndex,n=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,l=void 0===i?this.props.scrollToRow:i,s=E({},this.props,{scrollToAlignment:o,scrollToColumn:n,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=void 0===t?0:t,r=e.scrollTop,n=void 0===r?0:r;if(!(n<0)){this._debounceScrollEnded();var i=this.props,l=i.autoHeight,s=i.autoWidth,a=i.height,c=i.width,d=this.state.instanceProps,u=d.scrollbarSize,h=d.rowSizeAndPositionManager.getTotalSize(),f=d.columnSizeAndPositionManager.getTotalSize(),p=Math.min(Math.max(0,f-c+u),o),g=Math.min(Math.max(0,h-a+u),n);if(this.state.scrollLeft!==p||this.state.scrollTop!==g){var m={isScrolling:!0,scrollDirectionHorizontal:p!==this.state.scrollLeft?p>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:g!==this.state.scrollTop?g>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};l||(m.scrollTop=g),s||(m.scrollLeft=p),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:g,totalColumnsWidth:f,totalRowsHeight:h})}}},{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,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),r.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,r=e.rowIndex,n=void 0===r?0:r,i=this.props,l=i.scrollToColumn,s=i.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(n),this._recomputeScrollLeftFlag=l>=0&&(1===this.state.scrollDirectionHorizontal?o<=l:o>=l),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?n<=s:n>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,o=e.rowIndex,r=this.props.columnCount,n=this.props;r>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(E({},n,{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow(E({},n,{scrollToRow:o}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,r=e.height,n=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=E({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=o(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof n&&n>=0||"number"==typeof l&&l>=0){var d=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,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=r>0&&a>0;i>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:l||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var o=this,r=this.props,n=r.autoHeight,i=r.autoWidth,l=r.columnCount,s=r.height,a=r.rowCount,c=r.scrollToAlignment,d=r.scrollToColumn,u=r.scrollToRow,h=r.width,f=this.state,p=f.scrollLeft,g=f.scrollPositionChangeReason,m=f.scrollTop,v=f.instanceProps;this._handleInvalidatedGridSize();var _=l>0&&0===e.columnCount||a>0&&0===e.rowCount;g===H&&(!i&&p>=0&&(p!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=p),!n&&m>=0&&(m!==this._scrollingContainer.scrollTop||_)&&(this._scrollingContainer.scrollTop=m));var S=(0===e.width||0===e.height)&&s>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):C({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)):C({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:m,scrollToAlignment:c,scrollToIndex:u,size:s,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollTopForScrollToRow(o.props)}}),this._invokeOnGridRenderedHelper(),p!==t.scrollLeft||m!==t.scrollTop){var y=v.rowSizeAndPositionManager.getTotalSize(),w=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:m,totalColumnsWidth:w,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,o=e.autoHeight,r=e.autoWidth,n=e.className,i=e.containerProps,l=e.containerRole,s=e.containerStyle,a=e.height,c=e.id,d=e.noContentRenderer,u=e.role,h=e.style,p=e.tabIndex,v=e.width,_=this.state,S=_.instanceProps,y=_.needToResetStyleCache,w=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:o?"auto":a,position:"relative",width:r?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};y&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var x=S.columnSizeAndPositionManager.getTotalSize(),b=S.rowSizeAndPositionManager.getTotalSize(),R=b>a?S.scrollbarSize:0,T=x>v?S.scrollbarSize:0;T===this._horizontalScrollBarSize&&R===this._verticalScrollBarSize||(this._horizontalScrollBarSize=T,this._verticalScrollBarSize=R,this._scrollbarPresenceChanged=!0),C.overflowX=x+R<=v?"hidden":"auto",C.overflowY=b+T<=a?"hidden":"auto";var z=this._childrenToDisplay,I=0===z.length&&a>0&&v>0;return f.createElement("div",g({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:(0,m.Z)("ReactVirtualized__Grid",n),id:c,onScroll:this._onScroll,role:u,style:E({},C,{},h),tabIndex:p}),z.length>0&&f.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:E({width:t?"auto":x,height:b,maxWidth:x,maxHeight:b,overflow:"hidden",pointerEvents:w?"none":"",position:"relative"},s)},z),I&&d())}},{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,r=e.cellRangeRenderer,n=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,g=t.instanceProps,m=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=g.columnSizeAndPositionManager.getVisibleCellRange({containerSize:u,offset:v}),y=g.rowSizeAndPositionManager.getVisibleCellRange({containerSize:l,offset:m}),w=g.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:u,offset:v}),C=g.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:l,offset:m});this._renderedColumnStartIndex=S.start,this._renderedColumnStopIndex=S.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var x=a({direction:"horizontal",cellCount:n,overscanCellsCount:s,scrollDirection:f,startIndex:"number"==typeof S.start?S.start:0,stopIndex:"number"==typeof S.stop?S.stop:-1}),b=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}),R=x.overscanStartIndex,T=x.overscanStopIndex,z=b.overscanStartIndex,I=b.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var M=z;M<=I;M++)if(!i.has(M,0)){R=0,T=n-1;break}if(!i.hasFixedWidth())for(var O=R;O<=T;O++)if(!i.has(0,O)){z=0,I=d-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:g.columnSizeAndPositionManager,columnStartIndex:R,columnStopIndex:T,deferredMeasurementCache:i,horizontalOffsetAdjustment:w,isScrolling:_,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:g.rowSizeAndPositionManager,rowStartIndex:z,rowStopIndex:I,scrollLeft:v,scrollTop:m,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:S,visibleRowIndices:y}),this._columnStartIndex=R,this._columnStopIndex=T,this._rowStartIndex=z,this._rowStopIndex=I}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=G(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,r=e.scrollTop,n=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,r=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:i,scrollLeft:o,scrollTop:r,scrollWidth:n})},indices:{scrollLeft:o,scrollTop:r}})}},{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")?Boolean(e.isScrolling):Boolean(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,r=e.scrollTop,n=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:r});n&&(n.needToResetStyleCache=!1,this.setState(n))}},{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,r=t._getScrollLeftForScrollToColumnStateUpdate(e,o);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{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 r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var n=this._columnStartIndex;n<=this._columnStopIndex;n++){var i="".concat(r,"-").concat(n);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,r=t._getScrollTopForScrollToRowStateUpdate(e,o);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,o){var r={};0===e.columnCount&&0!==o.scrollLeft||0===e.rowCount&&0!==o.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var n,i,l=o.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===l.prevColumnWidth&&e.rowHeight===l.prevRowHeight||(r.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(r,{isScrolling:!1}),v({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)}}),v({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(){i=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,r.instanceProps=l,E({},r,{},n,{},i)}},{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,r=e.scrollTop,n={scrollPositionChangeReason:H};return"number"==typeof o&&o>=0&&(n.scrollDirectionHorizontal=o>t.scrollLeft?1:-1,n.scrollLeft=o),"number"==typeof r&&r>=0&&(n.scrollDirectionVertical=r>t.scrollTop?1:-1,n.scrollTop=r),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof r&&r>=0&&r!==t.scrollTop?n:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var o=e.columnCount,r=e.height,n=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>r?a.scrollbarSize:0;return a.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:l-h,currentOffset:s,targetIndex:d})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var r=o.scrollLeft,n=t._getCalculatedScrollLeft(e,o);return"number"==typeof n&&n>=0&&r!==n?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:n,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var o=e.height,r=e.rowCount,n=e.scrollToAlignment,i=e.scrollToRow,l=e.width,s=t.scrollTop,a=t.instanceProps;if(r>0){var c=r-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:n,containerSize:o-h,currentOffset:s,targetIndex:d})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var r=o.scrollTop,n=t._getCalculatedScrollTop(e,o);return"number"==typeof n&&n>=0&&r!==n?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:n}):{}}}]),t}(f.PureComponent),h(z,"propTypes",null),I);h(W,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,o=e.cellRenderer,r=e.columnSizeAndPositionManager,n=e.columnStartIndex,i=e.columnStopIndex,l=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,a=e.isScrolling,c=e.isScrollingOptOut,d=e.parent,u=e.rowSizeAndPositionManager,h=e.rowStartIndex,f=e.rowStopIndex,p=e.styleCache,g=e.verticalOffsetAdjustment,m=e.visibleColumnIndices,v=e.visibleRowIndices,_=[],S=r.areOffsetsAdjusted()||u.areOffsetsAdjusted(),y=!a&&!S,w=h;w<=f;w++)for(var C=u.getSizeAndPositionOfCell(w),x=n;x<=i;x++){var b=r.getSizeAndPositionOfCell(x),R=x>=m.start&&x<=m.stop&&w>=v.start&&w<=v.stop,T="".concat(w,"-").concat(x),z=void 0;y&&p[T]?z=p[T]:l&&!l.has(w,x)?z={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(z={height:C.size,left:b.offset+s,position:"absolute",top:C.offset+g,width:b.size},p[T]=z);var I={columnIndex:x,isScrolling:a,isVisible:R,key:T,parent:d,rowIndex:w,style:z},M=void 0;!c&&!a||s||g?M=o(I):(t[T]||(t[T]=o(I)),M=t[T]),null!=M&&!1!==M&&_.push(M)}return _},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:T,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,o=e.overscanCellsCount,r=e.scrollDirection,n=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,n),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,n-o),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),(0,p.polyfill)(W);const D=W;function j(e){var t=e.cellCount,o=e.overscanCellsCount,r=e.scrollDirection,n=e.startIndex,i=e.stopIndex;return o=Math.max(1,o),1===r?{overscanStartIndex:Math.max(0,n-1),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,n-o),overscanStopIndex:Math.min(t-1,i+1)}}var F,N;function U(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}var B,V,$=(N=F=function(e){function t(){var e,o;r(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return h(s(o=a(this,(e=c(t)).call.apply(e,[this].concat(i)))),"state",{scrollToColumn:0,scrollToRow:0,instanceProps:{prevScrollToColumn:0,prevScrollToRow:0}}),h(s(o),"_columnStartIndex",0),h(s(o),"_columnStopIndex",0),h(s(o),"_rowStartIndex",0),h(s(o),"_rowStopIndex",0),h(s(o),"_onKeyDown",(function(e){var t=o.props,r=t.columnCount,n=t.disabled,i=t.mode,l=t.rowCount;if(!n){var s=o._getScrollState(),a=s.scrollToColumn,c=s.scrollToRow,d=o._getScrollState(),u=d.scrollToColumn,h=d.scrollToRow;switch(e.key){case"ArrowDown":h="cells"===i?Math.min(h+1,l-1):Math.min(o._rowStopIndex+1,l-1);break;case"ArrowLeft":u="cells"===i?Math.max(u-1,0):Math.max(o._columnStartIndex-1,0);break;case"ArrowRight":u="cells"===i?Math.min(u+1,r-1):Math.min(o._columnStopIndex+1,r-1);break;case"ArrowUp":h="cells"===i?Math.max(h-1,0):Math.max(o._rowStartIndex-1,0)}u===a&&h===c||(e.preventDefault(),o._updateScrollState({scrollToColumn:u,scrollToRow:h}))}})),h(s(o),"_onSectionRendered",(function(e){var t=e.columnStartIndex,r=e.columnStopIndex,n=e.rowStartIndex,i=e.rowStopIndex;o._columnStartIndex=t,o._columnStopIndex=r,o._rowStartIndex=n,o._rowStopIndex=i})),o}return u(t,e),i(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,r=this._getScrollState(),n=r.scrollToColumn,i=r.scrollToRow;return f.createElement("div",{className:t,onKeyDown:this._onKeyDown},o({onSectionRendered:this._onSectionRendered,scrollToColumn:n,scrollToRow:i}))}},{key:"_getScrollState",value:function(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function(e){var t=e.scrollToColumn,o=e.scrollToRow,r=this.props,n=r.isControlled,i=r.onScrollToChange;"function"==typeof i&&i({scrollToColumn:t,scrollToRow:o}),n||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?function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?U(o,!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):U(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow,instanceProps:{prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow}}):{}}}]),t}(f.PureComponent),h(F,"propTypes",null),N);function Z(e,t){var r,n=void 0!==(r=void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o.g).document&&r.document.attachEvent;if(!n){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(t){return e(t)}}(),l=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(t){return e(t)}}(),s=function(e){var t=e.__resizeTriggers__,o=t.firstElementChild,r=t.lastElementChild,n=o.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,n.style.width=o.offsetWidth+1+"px",n.style.height=o.offsetHeight+1+"px",o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight},a=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;s(this),this.__resizeRAF__&&l(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(o){o.call(t,e)})))}))}},c=!1,d="",u="animationstart",h="Webkit Moz O ms".split(" "),f="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p=r.document.createElement("fakeelement");if(void 0!==p.style.animationName&&(c=!0),!1===c)for(var g=0;g<h.length;g++)if(void 0!==p.style[h[g]+"AnimationName"]){d="-"+h[g].toLowerCase()+"-",u=f[g],c=!0;break}var m="resizeanim",v="@"+d+"keyframes "+m+" { from { opacity: 0; } to { opacity: 0; } } ",_=d+"animation: 1ms "+m+"; "}return{addResizeListener:function(t,o){if(n)t.attachEvent("onresize",o);else{if(!t.__resizeTriggers__){var i=t.ownerDocument,l=r.getComputedStyle(t);l&&"static"==l.position&&(t.style.position="relative"),function(t){if(!t.getElementById("detectElementResize")){var o=(v||"")+".resize-triggers { "+(_||"")+'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%; }',r=t.head||t.getElementsByTagName("head")[0],n=t.createElement("style");n.id="detectElementResize",n.type="text/css",null!=e&&n.setAttribute("nonce",e),n.styleSheet?n.styleSheet.cssText=o:n.appendChild(t.createTextNode(o)),r.appendChild(n)}}(i),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var c='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';if(window.trustedTypes){var d=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return c}});t.__resizeTriggers__.innerHTML=d.createHTML("")}else t.__resizeTriggers__.innerHTML=c;t.appendChild(t.__resizeTriggers__),s(t),t.addEventListener("scroll",a,!0),u&&(t.__resizeTriggers__.__animationListener__=function(e){e.animationName==m&&s(t)},t.__resizeTriggers__.addEventListener(u,t.__resizeTriggers__.__animationListener__))}t.__resizeListeners__.push(o)}},removeResizeListener:function(e,t){if(n)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",a,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(u,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function q(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function X(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?q(o,!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):q(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}h($,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),(0,p.polyfill)($);var Y=(V=B=function(e){function t(){var e,o;r(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return h(s(o=a(this,(e=c(t)).call.apply(e,[this].concat(i)))),"state",{height:o.props.defaultHeight||0,width:o.props.defaultWidth||0}),h(s(o),"_parentNode",void 0),h(s(o),"_autoSizer",void 0),h(s(o),"_window",void 0),h(s(o),"_detectElementResize",void 0),h(s(o),"_onResize",(function(){var e=o.props,t=e.disableHeight,r=e.disableWidth,n=e.onResize;if(o._parentNode){var i=o._parentNode.offsetHeight||0,l=o._parentNode.offsetWidth||0,s=(o._window||window).getComputedStyle(o._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;(!t&&o.state.height!==h||!r&&o.state.width!==f)&&(o.setState({height:i-d-u,width:l-a-c}),n({height:i,width:l}))}})),h(s(o),"_setRef",(function(e){o._autoSizer=e})),o}return u(t,e),i(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=Z(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,r=e.disableHeight,n=e.disableWidth,i=e.style,l=this.state,s=l.height,a=l.width,c={overflow:"visible"},d={};return r||(c.height=0,d.height=s),n||(c.width=0,d.width=a),f.createElement("div",{className:o,ref:this._setRef,style:X({},c,{},i)},t(d))}}]),t}(f.Component),h(B,"propTypes",null),V);h(Y,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}});var K,J,Q=o(75047),ee=(J=K=function(e){function t(){var e,o;r(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return h(s(o=a(this,(e=c(t)).call.apply(e,[this].concat(i)))),"_child",void 0),h(s(o),"_measure",(function(){var e=o.props,t=e.cache,r=e.columnIndex,n=void 0===r?0:r,i=e.parent,l=e.rowIndex,s=void 0===l?o.props.index||0:l,a=o._getCellMeasurements(),c=a.height,d=a.width;c===t.getHeight(s,n)&&d===t.getWidth(s,n)||(t.set(s,n,d,c),i&&"function"==typeof i.recomputeGridSize&&i.recomputeGridSize({columnIndex:n,rowIndex:s}))})),h(s(o),"_registerChild",(function(e){!e||e instanceof Element||console.warn("CellMeasurer registerChild expects to be passed Element or null"),o._child=e,e&&o._maybeMeasureCell()})),o}return u(t,e),i(t,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var e=this.props.children;return"function"==typeof e?e({measure:this._measure,registerChild:this._registerChild}):e}},{key:"_getCellMeasurements",value:function(){var e=this.props.cache,t=this._child||(0,Q.findDOMNode)(this);if(t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){var o=t.style.width,r=t.style.height;e.hasFixedWidth()||(t.style.width="auto"),e.hasFixedHeight()||(t.style.height="auto");var n=Math.ceil(t.offsetHeight),i=Math.ceil(t.offsetWidth);return o&&(t.style.width=o),r&&(t.style.height=r),{height:n,width:i}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function(){var e=this.props,t=e.cache,o=e.columnIndex,r=void 0===o?0:o,n=e.parent,i=e.rowIndex,l=void 0===i?this.props.index||0:i;if(!t.has(l,r)){var s=this._getCellMeasurements(),a=s.height,c=s.width;t.set(l,r,c,a),n&&"function"==typeof n.invalidateCellSizeAfterRender&&n.invalidateCellSizeAfterRender({columnIndex:r,rowIndex:l})}}}]),t}(f.PureComponent),h(K,"propTypes",null),J);h(ee,"__internalCellMeasurerFlag",!1);var te=function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,e),h(this,"_cellHeightCache",{}),h(this,"_cellWidthCache",{}),h(this,"_columnWidthCache",{}),h(this,"_rowHeightCache",{}),h(this,"_defaultHeight",void 0),h(this,"_defaultWidth",void 0),h(this,"_minHeight",void 0),h(this,"_minWidth",void 0),h(this,"_keyMapper",void 0),h(this,"_hasFixedHeight",void 0),h(this,"_hasFixedWidth",void 0),h(this,"_columnCount",0),h(this,"_rowCount",0),h(this,"columnWidth",(function(e){var o=e.index,r=t._keyMapper(0,o);return void 0!==t._columnWidthCache[r]?t._columnWidthCache[r]:t._defaultWidth})),h(this,"rowHeight",(function(e){var o=e.index,r=t._keyMapper(o,0);return void 0!==t._rowHeightCache[r]?t._rowHeightCache[r]:t._defaultHeight}));var n=o.defaultHeight,i=o.defaultWidth,l=o.fixedHeight,s=o.fixedWidth,a=o.keyMapper,c=o.minHeight,d=o.minWidth;this._hasFixedHeight=!0===l,this._hasFixedWidth=!0===s,this._minHeight=c||0,this._minWidth=d||0,this._keyMapper=a||oe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof n?n:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof i?i:100)}return i(e,[{key:"clear",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=this._keyMapper(e,t);delete this._cellHeightCache[o],delete this._cellWidthCache[o],this._updateCachedColumnAndRowSizes(e,t)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var o=this._keyMapper(e,t);return void 0!==this._cellHeightCache[o]?Math.max(this._minHeight,this._cellHeightCache[o]):this._defaultHeight}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var o=this._keyMapper(e,t);return void 0!==this._cellWidthCache[o]?Math.max(this._minWidth,this._cellWidthCache[o]):this._defaultWidth}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=this._keyMapper(e,t);return void 0!==this._cellHeightCache[o]}},{key:"set",value:function(e,t,o,r){var n=this._keyMapper(e,t);t>=this._columnCount&&(this._columnCount=t+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[n]=r,this._cellWidthCache[n]=o,this._updateCachedColumnAndRowSizes(e,t)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,t){if(!this._hasFixedWidth){for(var o=0,r=0;r<this._rowCount;r++)o=Math.max(o,this.getWidth(r,t));var n=this._keyMapper(0,t);this._columnWidthCache[n]=o}if(!this._hasFixedHeight){for(var i=0,l=0;l<this._columnCount;l++)i=Math.max(i,this.getHeight(e,l));var s=this._keyMapper(e,0);this._rowHeightCache[s]=i}}},{key:"defaultHeight",get:function(){return this._defaultHeight}},{key:"defaultWidth",get:function(){return this._defaultWidth}}]),e}();function oe(e,t){return"".concat(e,"-").concat(t)}function re(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function ne(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?re(o,!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):re(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ie="observed",le="requested",se=function(e){function t(){var e,o;r(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return h(s(o=a(this,(e=c(t)).call.apply(e,[this].concat(i)))),"state",{isScrolling:!1,scrollLeft:0,scrollTop:0}),h(s(o),"_calculateSizeAndPositionDataOnNextUpdate",!1),h(s(o),"_onSectionRenderedMemoizer",w()),h(s(o),"_onScrollMemoizer",w(!1)),h(s(o),"_invokeOnSectionRenderedHelper",(function(){var e=o.props,t=e.cellLayoutManager,r=e.onSectionRendered;o._onSectionRenderedMemoizer({callback:r,indices:{indices:t.getLastRenderedIndices()}})})),h(s(o),"_setScrollingContainerRef",(function(e){o._scrollingContainer=e})),h(s(o),"_updateScrollPositionForScrollToCell",(function(){var e=o.props,t=e.cellLayoutManager,r=e.height,n=e.scrollToAlignment,i=e.scrollToCell,l=e.width,s=o.state,a=s.scrollLeft,c=s.scrollTop;if(i>=0){var d=t.getScrollPositionForCell({align:n,cellIndex:i,height:r,scrollLeft:a,scrollTop:c,width:l});d.scrollLeft===a&&d.scrollTop===c||o._setScrollPosition(d)}})),h(s(o),"_onScroll",(function(e){if(e.target===o._scrollingContainer){o._enablePointerEventsAfterDelay();var t=o.props,r=t.cellLayoutManager,n=t.height,i=t.isScrollingChange,l=t.width,s=o._scrollbarSize,a=r.getTotalSize(),c=a.height,d=a.width,u=Math.max(0,Math.min(d-l+s,e.target.scrollLeft)),h=Math.max(0,Math.min(c-n+s,e.target.scrollTop));if(o.state.scrollLeft!==u||o.state.scrollTop!==h){var f=e.cancelable?ie:le;o.state.isScrolling||i(!0),o.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:f,scrollTop:h})}o._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}})),o._scrollbarSize=T(),void 0===o._scrollbarSize?(o._scrollbarSizeMeasured=!1,o._scrollbarSize=0):o._scrollbarSizeMeasured=!0,o}return u(t,e),i(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,o=e.scrollLeft,r=e.scrollToCell,n=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=T(),this._scrollbarSizeMeasured=!0,this.setState({})),r>=0?this._updateScrollPositionForScrollToCell():(o>=0||n>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:n}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),l=i.height,s=i.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:n||0,totalHeight:l,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var o=this.props,r=o.height,n=o.scrollToAlignment,i=o.scrollToCell,l=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===le&&(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)),r===e.height&&n===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.cellCount,r=e.cellLayoutManager,n=e.className,i=e.height,l=e.horizontalOverscanSize,s=e.id,a=e.noContentRenderer,c=e.style,d=e.verticalOverscanSize,u=e.width,h=this.state,p=h.isScrolling,g=h.scrollLeft,v=h.scrollTop;(this._lastRenderedCellCount!==o||this._lastRenderedCellLayoutManager!==r||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=o,this._lastRenderedCellLayoutManager=r,this._calculateSizeAndPositionDataOnNextUpdate=!1,r.calculateSizeAndPositionData());var _=r.getTotalSize(),S=_.height,y=_.width,w=Math.max(0,g-l),C=Math.max(0,v-d),x=Math.min(y,g+u+l),b=Math.min(S,v+i+d),R=i>0&&u>0?r.cellRenderers({height:b-C,isScrolling:p,width:x-w,x:w,y:C}):[],T={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:u,willChange:"transform"},z=S>i?this._scrollbarSize:0,I=y>u?this._scrollbarSize:0;return T.overflowX=y+z<=u?"hidden":"auto",T.overflowY=S+I<=i?"hidden":"auto",f.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:(0,m.Z)("ReactVirtualized__Collection",n),id:s,onScroll:this._onScroll,role:"grid",style:ne({},T,{},c),tabIndex:0},o>0&&f.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:S,maxHeight:S,maxWidth:y,overflow:"hidden",pointerEvents:p?"none":"",width:y}},R),0===o&&a())}},{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,r=e.scrollTop,n=e.totalHeight,i=e.totalWidth;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,r=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:n,scrollLeft:o,scrollTop:r,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:r}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,o=e.scrollTop,r={scrollPositionChangeReason:le};t>=0&&(r.scrollLeft=t),o>=0&&(r.scrollTop=o),(t>=0&&t!==this.state.scrollLeft||o>=0&&o!==this.state.scrollTop)&&this.setState(r)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?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:le}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:le}}}]),t}(f.PureComponent);h(se,"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}),se.propTypes={},(0,p.polyfill)(se);const ae=se;var ce=function(){function e(t){var o=t.height,n=t.width,i=t.x,l=t.y;r(this,e),this.height=o,this.width=n,this.x=i,this.y=l,this._indexMap={},this._indices=[]}return i(e,[{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)}}]),e}(),de=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;r(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return i(e,[{key:"getCellIndices",value:function(e){var t=e.height,o=e.width,r=e.x,n=e.y,i={};return this.getSections({height:t,width:o,x:r,y:n}).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,r=e.x,n=e.y,i=Math.floor(r/this._sectionSize),l=Math.floor((r+o-1)/this._sectionSize),s=Math.floor(n/this._sectionSize),a=Math.floor((n+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 ce({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})}))}}]),e}();function ue(e){var t=e.align,o=void 0===t?"auto":t,r=e.cellOffset,n=e.cellSize,i=e.containerSize,l=e.currentOffset,s=r,a=s-i+n;switch(o){case"start":return s;case"end":return a;case"center":return s-(i-n)/2;default:return Math.max(a,Math.min(s,l))}}var he=function(e){function t(e,o){var n;return r(this,t),(n=a(this,c(t).call(this,e,o)))._cellMetadata=[],n._lastRenderedCellIndices=[],n._cellCache=[],n._isScrollingChange=n._isScrollingChange.bind(s(n)),n._setCollectionViewRef=n._setCollectionViewRef.bind(s(n)),n}return u(t,e),i(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=g({},this.props);return f.createElement(ae,g({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,r=[],n=new de(e.sectionSize),i=0,l=0,s=0;s<t;s++){var a=o({index:s});if(null==a.height||isNaN(a.height)||null==a.width||isNaN(a.width)||null==a.x||isNaN(a.x)||null==a.y||isNaN(a.y))throw Error("Invalid metadata returned for cell ".concat(s,":\n x:").concat(a.x,", y:").concat(a.y,", width:").concat(a.width,", height:").concat(a.height));i=Math.max(i,a.y+a.height),l=Math.max(l,a.x+a.width),r[s]=a,n.registerCell({cellMetadatum:a,index:s})}return{cellMetadata:r,height:i,sectionManager:n,width:l}}({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,r=e.height,n=e.scrollLeft,i=e.scrollTop,l=e.width,s=this.props.cellCount;if(o>=0&&o<s){var a=this._cellMetadata[o];n=ue({align:t,cellOffset:a.x,cellSize:a.width,containerSize:l,currentOffset:n,targetIndex:o}),i=ue({align:t,cellOffset:a.y,cellSize:a.height,containerSize:r,currentOffset:i,targetIndex:o})}return{scrollLeft:n,scrollTop:i}}},{key:"getTotalSize",value:function(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function(e){var t=this,o=e.height,r=e.isScrolling,n=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:n,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:r})}},{key:"_isScrollingChange",value:function(e){e||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function(e){this._collectionView=e}}]),t}(f.PureComponent);function fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function pe(e,t){if(e){if("string"==typeof e)return fe(e,t);var o=Object.prototype.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)?fe(e,t):void 0}}h(he,"defaultProps",{"aria-label":"grid",cellGroupRenderer:function(e){var t=e.cellCache,o=e.cellRenderer,r=e.cellSizeAndPositionGetter,n=e.indices,i=e.isScrolling;return n.map((function(e){var n=r({index:e}),l={index:e,isScrolling:i,key:e,style:{height:n.height,left:n.x,position:"absolute",top:n.y,width:n.width}};return i?(e in t||(t[e]=o(l)),t[e]):o(l)})).filter((function(e){return!!e}))}}),he.propTypes={},(function(e){function t(e,o){var n;return r(this,t),(n=a(this,c(t).call(this,e,o)))._registerChild=n._registerChild.bind(s(n)),n}return u(t,e),i(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,o=t.columnMaxWidth,r=t.columnMinWidth,n=t.columnCount,i=t.width;o===e.columnMaxWidth&&r===e.columnMinWidth&&n===e.columnCount&&i===e.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function(){var e=this.props,t=e.children,o=e.columnMaxWidth,r=e.columnMinWidth,n=e.columnCount,i=e.width,l=r||1,s=o?Math.min(o,i):i,a=i/n;return a=Math.max(l,a),a=Math.min(s,a),a=Math.floor(a),t({adjustedWidth:Math.min(i,a*n),columnWidth:a,getColumnWidth:function(){return a},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()}}]),t}(f.PureComponent)).propTypes={};var ge=function(e){function t(e,o){var n;return r(this,t),(n=a(this,c(t).call(this,e,o)))._loadMoreRowsMemoizer=w(),n._onRowsRendered=n._onRowsRendered.bind(s(n)),n._registerChild=n._registerChild.bind(s(n)),n}return u(t,e),i(t,[{key:"resetLoadMoreRowsCache",value:function(e){this._loadMoreRowsMemoizer=w(),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 r=o(e);r&&r.then((function(){var o;(o={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:e.startIndex,stopIndex:e.stopIndex}).startIndex>o.lastRenderedStopIndex||o.stopIndex<o.lastRenderedStartIndex||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,r,n=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,r=e.rowCount,n=e.stopIndex,i=[],l=null,s=null,a=e.startIndex;a<=n;a++)t({index:a})?null!==s&&(i.push({startIndex:l,stopIndex:s}),l=s=null):(s=a,null===l&&(l=a));if(null!==s){for(var c=Math.min(Math.max(s,l+o-1),r-1),d=s+1;d<=c&&!t({index:d});d++)s=d;i.push({startIndex:l,stopIndex:s})}if(i.length)for(var u=i[0];u.stopIndex-u.startIndex+1<o&&u.startIndex>0;){var h=u.startIndex-1;if(t({index:h}))break;u.startIndex=h}return i}({isRowLoaded:l,minimumBatchSize:s,rowCount:a,startIndex:Math.max(0,e-c),stopIndex:Math.min(a-1,t+c)}),u=(o=[]).concat.apply(o,function(e){if(Array.isArray(e))return fe(e)}(r=d.map((function(e){return[e.startIndex,e.stopIndex]})))||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(r)||pe(r)||function(){throw new 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(){n._loadUnloadedRanges(d)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(f.PureComponent);h(ge,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),ge.propTypes={};var me,ve,_e=(ve=me=function(e){function t(){var e,o;r(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return h(s(o=a(this,(e=c(t)).call.apply(e,[this].concat(i)))),"Grid",void 0),h(s(o),"_cellRenderer",(function(e){var t=e.parent,r=e.rowIndex,n=e.style,i=e.isScrolling,l=e.isVisible,s=e.key,a=o.props.rowRenderer,c=Object.getOwnPropertyDescriptor(n,"width");return c&&c.writable&&(n.width="100%"),a({index:r,style:n,isScrolling:i,isVisible:l,key:s,parent:t})})),h(s(o),"_setRef",(function(e){o.Grid=e})),h(s(o),"_onScroll",(function(e){var t=e.clientHeight,r=e.scrollHeight,n=e.scrollTop;(0,o.props.onScroll)({clientHeight:t,scrollHeight:r,scrollTop:n})})),h(s(o),"_onSectionRendered",(function(e){var t=e.rowOverscanStartIndex,r=e.rowOverscanStopIndex,n=e.rowStartIndex,i=e.rowStopIndex;(0,o.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:r,startIndex:n,stopIndex:i})})),o}return u(t,e),i(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=void 0===t?0:t,r=e.rowIndex,n=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n,columnIndex:o})}},{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,r=e.scrollToIndex,n=e.width,i=(0,m.Z)("ReactVirtualized__List",t);return f.createElement(D,g({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:n,columnCount:1,noContentRenderer:o,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:r}))}}]),t}(f.PureComponent),h(me,"propTypes",null),ve);h(_e,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:j,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});const Se=function(e,t,o,r,n){return"function"==typeof o?function(e,t,o,r,n){for(var i=o+1;t<=o;){var l=t+o>>>1;n(e[l],r)>=0?(i=l,o=l-1):t=l+1}return i}(e,void 0===r?0:0|r,void 0===n?e.length-1:0|n,t,o):function(e,t,o,r){for(var n=o+1;t<=o;){var i=t+o>>>1;e[i]>=r?(n=i,o=i-1):t=i+1}return n}(e,void 0===o?0:0|o,void 0===r?e.length-1:0|r,t)};function ye(e,t,o,r,n){this.mid=e,this.left=t,this.right=o,this.leftPoints=r,this.rightPoints=n,this.count=(t?t.count:0)+(o?o.count:0)+r.length}var we=ye.prototype;function Ce(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 xe(e,t){var o=ke(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 be(e,t){var o=e.intervals([]);o.push(t),xe(e,o)}function Re(e,t){var o=e.intervals([]),r=o.indexOf(t);return r<0?0:(o.splice(r,1),xe(e,o),1)}function Te(e,t,o){for(var r=0;r<e.length&&e[r][0]<=t;++r){var n=o(e[r]);if(n)return n}}function ze(e,t,o){for(var r=e.length-1;r>=0&&e[r][1]>=t;--r){var n=o(e[r]);if(n)return n}}function Ie(e,t){for(var o=0;o<e.length;++o){var r=t(e[o]);if(r)return r}}function Me(e,t){return e-t}function Oe(e,t){return e[0]-t[0]||e[1]-t[1]}function Pe(e,t){return e[1]-t[1]||e[0]-t[0]}function ke(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(Me);var r=t[t.length>>1],n=[],i=[],l=[];for(o=0;o<e.length;++o){var s=e[o];s[1]<r?n.push(s):r<s[0]?i.push(s):l.push(s)}var a=l,c=l.slice();return a.sort(Oe),c.sort(Pe),new ye(r,ke(n),ke(i),a,c)}function Le(e){this.root=e}we.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e},we.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)?be(this,e):this.left.insert(e):this.left=ke([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?be(this,e):this.right.insert(e):this.right=ke([e]);else{var o=Se(this.leftPoints,e,Oe),r=Se(this.rightPoints,e,Pe);this.leftPoints.splice(o,0,e),this.rightPoints.splice(r,0,e)}},we.remove=function(e){var t=this.count-this.leftPoints;if(e[1]<this.mid)return this.left?4*(this.right?this.right.count:0)>3*(t-1)?Re(this,e):2===(i=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?Re(this,e):2===(i=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var o=this,r=this.left;r.right;)o=r,r=r.right;if(o===this)r.right=this.right;else{var n=this.left,i=this.right;o.count-=r.count,o.right=r.left,r.left=n,r.right=i}Ce(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Ce(this,this.left):Ce(this,this.right);return 1}for(n=Se(this.leftPoints,e,Oe);n<this.leftPoints.length&&this.leftPoints[n][0]===e[0];++n)if(this.leftPoints[n]===e)for(this.count-=1,this.leftPoints.splice(n,1),i=Se(this.rightPoints,e,Pe);i<this.rightPoints.length&&this.rightPoints[i][1]===e[1];++i)if(this.rightPoints[i]===e)return this.rightPoints.splice(i,1),1;return 0},we.queryPoint=function(e,t){return e<this.mid?this.left&&(o=this.left.queryPoint(e,t))?o:Te(this.leftPoints,e,t):e>this.mid?this.right&&(o=this.right.queryPoint(e,t))?o:ze(this.rightPoints,e,t):Ie(this.leftPoints,t);var o},we.queryInterval=function(e,t,o){var r;return e<this.mid&&this.left&&(r=this.left.queryInterval(e,t,o))||t>this.mid&&this.right&&(r=this.right.queryInterval(e,t,o))?r:t<this.mid?Te(this.leftPoints,t,o):e>this.mid?ze(this.rightPoints,e,o):Ie(this.leftPoints,o)};var Ge=Le.prototype;Ge.insert=function(e){this.root?this.root.insert(e):this.root=new ye(e[0],null,null,[e],[e])},Ge.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},Ge.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},Ge.queryInterval=function(e,t,o){if(e<=t&&this.root)return this.root.queryInterval(e,t,o)},Object.defineProperty(Ge,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(Ge,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var Ae,Ee,He=function(){function e(){r(this,e),h(this,"_columnSizeMap",{}),h(this,"_intervalTree",new Le(null)),h(this,"_leftMap",{})}return i(e,[{key:"estimateTotalHeight",value:function(e,t,o){var r=e-this.count;return this.tallestColumnSize+Math.ceil(r/t)*o}},{key:"range",value:function(e,t,o){var r=this;this._intervalTree.queryInterval(e,e+t,(function(e){var t,n,i=(n=3,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var o=[],r=!0,n=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(r=(l=s.next()).done)&&(o.push(l.value),!t||o.length!==t);r=!0);}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}return o}}(t,n)||pe(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=i[0],s=(i[1],i[2]);return o(s,r._leftMap[s],l)}))}},{key:"setPosition",value:function(e,t,o,r){this._intervalTree.insert([o,o+r,e]),this._leftMap[e]=t;var n=this._columnSizeMap,i=n[t];n[t]=void 0===i?o+r:Math.max(i,o+r)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var r=e[o];t=0===t?r:Math.min(t,r)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var r=e[o];t=Math.max(t,r)}return t}}]),e}();function We(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function De(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?We(o,!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):We(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var je=(Ee=Ae=function(e){function t(){var e,o;r(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return h(s(o=a(this,(e=c(t)).call.apply(e,[this].concat(i)))),"state",{isScrolling:!1,scrollTop:0}),h(s(o),"_debounceResetIsScrollingId",void 0),h(s(o),"_invalidateOnUpdateStartIndex",null),h(s(o),"_invalidateOnUpdateStopIndex",null),h(s(o),"_positionCache",new He),h(s(o),"_startIndex",null),h(s(o),"_startIndexMemoized",null),h(s(o),"_stopIndex",null),h(s(o),"_stopIndexMemoized",null),h(s(o),"_debounceResetIsScrollingCallback",(function(){o.setState({isScrolling:!1})})),h(s(o),"_setScrollingContainerRef",(function(e){o._scrollingContainer=e})),h(s(o),"_onScroll",(function(e){var t=o.props.height,r=e.currentTarget.scrollTop,n=Math.min(Math.max(0,o._getEstimatedTotalHeight()-t),r);r===n&&(o._debounceResetIsScrolling(),o.state.scrollTop!==n&&o.setState({isScrolling:!0,scrollTop:n}))})),o}return u(t,e),i(t,[{key:"clearCellPositions",value:function(){this._positionCache=new He,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 He,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&&L(this._debounceResetIsScrollingId)}},{key:"render",value:function(){var e,t=this,o=this.props,r=o.autoHeight,n=o.cellCount,i=o.cellMeasurerCache,l=o.cellRenderer,s=o.className,a=o.height,c=o.id,d=o.keyMapper,u=o.overscanByPixels,p=o.role,g=o.style,v=o.tabIndex,_=o.width,S=o.rowDirection,y=this.state,w=y.isScrolling,C=y.scrollTop,x=[],b=this._getEstimatedTotalHeight(),R=this._positionCache.shortestColumnSize,T=this._positionCache.count,z=0;if(this._positionCache.range(Math.max(0,C-u),a+2*u,(function(o,r,n){var s;void 0===e?(z=o,e=o):(z=Math.min(z,o),e=Math.max(e,o)),x.push(l({index:o,isScrolling:w,key:d(o),parent:t,style:(s={height:i.getHeight(o)},h(s,"ltr"===S?"left":"right",r),h(s,"position","absolute"),h(s,"top",n),h(s,"width",i.getWidth(o)),s)}))})),R<C+a+u&&T<n)for(var I=Math.min(n-T,Math.ceil((C+a+u-R)/i.defaultHeight*_/i.defaultWidth)),M=T;M<T+I;M++)e=M,x.push(l({index:M,isScrolling:w,key:d(M),parent:this,style:{width:i.getWidth(M)}}));return this._startIndex=z,this._stopIndex=e,f.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:(0,m.Z)("ReactVirtualized__Masonry",s),id:c,onScroll:this._onScroll,role:p,style:De({boxSizing:"border-box",direction:"ltr",height:r?"auto":a,overflowX:"hidden",overflowY:b<a?"hidden":"auto",position:"relative",width:_,WebkitOverflowScrolling:"touch",willChange:"transform"},g),tabIndex:v},f.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:b,maxWidth:"100%",maxHeight:b,overflow:"hidden",pointerEvents:w?"none":"",position:"relative"}},x))}},{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&&L(this._debounceResetIsScrollingId),this._debounceResetIsScrollingId=G(this._debounceResetIsScrollingCallback,e)}},{key:"_getEstimatedTotalHeight",value:function(){var e=this.props,t=e.cellCount,o=e.cellMeasurerCache,r=e.width,n=Math.max(1,Math.floor(r/o.defaultWidth));return this._positionCache.estimateTotalHeight(t,n,o.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function(){var e=this.props,t=e.height,o=e.onScroll,r=this.state.scrollTop;this._onScrollMemoized!==r&&(o({clientHeight:t,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:r}),this._onScrollMemoized=r)}},{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,r=o.cellMeasurerCache,n=o.cellPositioner,i=e;i<=t;i++){var l=n(i),s=l.left,a=l.top;this._positionCache.setPosition(i,s,a,r.getHeight(i))}}}],[{key:"getDerivedStateFromProps",value:function(e,t){return void 0!==e.scrollTop&&t.scrollTop!==e.scrollTop?{isScrolling:!0,scrollTop:e.scrollTop}:null}}]),t}(f.PureComponent),h(Ae,"propTypes",null),Ee);function Fe(){}h(je,"defaultProps",{autoHeight:!1,keyMapper:function(e){return e},onCellsRendered:Fe,onScroll:Fe,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:150,style:{},tabIndex:0,rowDirection:"ltr"}),(0,p.polyfill)(je);var Ne=function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,e),h(this,"_cellMeasurerCache",void 0),h(this,"_columnIndexOffset",void 0),h(this,"_rowIndexOffset",void 0),h(this,"columnWidth",(function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})})),h(this,"rowHeight",(function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})}));var n=o.cellMeasurerCache,i=o.columnIndexOffset,l=void 0===i?0:i,s=o.rowIndexOffset,a=void 0===s?0:s;this._cellMeasurerCache=n,this._columnIndexOffset=l,this._rowIndexOffset=a}return i(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{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,r){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,o,r)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function Ue(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Be(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ue(o,!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ue(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Ve=function(e){function t(e,o){var n;r(this,t),h(s(n=a(this,c(t).call(this,e,o))),"state",{scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:!1,showVerticalScrollbar:!1}),h(s(n),"_deferredInvalidateColumnIndex",null),h(s(n),"_deferredInvalidateRowIndex",null),h(s(n),"_bottomLeftGridRef",(function(e){n._bottomLeftGrid=e})),h(s(n),"_bottomRightGridRef",(function(e){n._bottomRightGrid=e})),h(s(n),"_cellRendererBottomLeftGrid",(function(e){var t=e.rowIndex,o=_(e,["rowIndex"]),r=n.props,i=r.cellRenderer,l=r.fixedRowCount;return t===r.rowCount-l?f.createElement("div",{key:o.key,style:Be({},o.style,{height:20})}):i(Be({},o,{parent:s(n),rowIndex:t+l}))})),h(s(n),"_cellRendererBottomRightGrid",(function(e){var t=e.columnIndex,o=e.rowIndex,r=_(e,["columnIndex","rowIndex"]),i=n.props,l=i.cellRenderer,a=i.fixedColumnCount,c=i.fixedRowCount;return l(Be({},r,{columnIndex:t+a,parent:s(n),rowIndex:o+c}))})),h(s(n),"_cellRendererTopRightGrid",(function(e){var t=e.columnIndex,o=_(e,["columnIndex"]),r=n.props,i=r.cellRenderer,l=r.columnCount,a=r.fixedColumnCount;return t===l-a?f.createElement("div",{key:o.key,style:Be({},o.style,{width:20})}):i(Be({},o,{columnIndex:t+a,parent:s(n)}))})),h(s(n),"_columnWidthRightGrid",(function(e){var t=e.index,o=n.props,r=o.columnCount,i=o.fixedColumnCount,l=o.columnWidth,s=n.state,a=s.scrollbarSize;return s.showHorizontalScrollbar&&t===r-i?a:"function"==typeof l?l({index:t+i}):l})),h(s(n),"_onScroll",(function(e){var t=e.scrollLeft,o=e.scrollTop;n.setState({scrollLeft:t,scrollTop:o});var r=n.props.onScroll;r&&r(e)})),h(s(n),"_onScrollbarPresenceChange",(function(e){var t=e.horizontal,o=e.size,r=e.vertical,i=n.state,l=i.showHorizontalScrollbar,s=i.showVerticalScrollbar;if(t!==l||r!==s){n.setState({scrollbarSize:o,showHorizontalScrollbar:t,showVerticalScrollbar:r});var a=n.props.onScrollbarPresenceChange;"function"==typeof a&&a({horizontal:t,size:o,vertical:r})}})),h(s(n),"_onScrollLeft",(function(e){var t=e.scrollLeft;n._onScroll({scrollLeft:t,scrollTop:n.state.scrollTop})})),h(s(n),"_onScrollTop",(function(e){var t=e.scrollTop;n._onScroll({scrollTop:t,scrollLeft:n.state.scrollLeft})})),h(s(n),"_rowHeightBottomGrid",(function(e){var t=e.index,o=n.props,r=o.fixedRowCount,i=o.rowCount,l=o.rowHeight,s=n.state,a=s.scrollbarSize;return s.showVerticalScrollbar&&t===i-r?a:"function"==typeof l?l({index:t+r}):l})),h(s(n),"_topLeftGridRef",(function(e){n._topLeftGrid=e})),h(s(n),"_topRightGridRef",(function(e){n._topRightGrid=e}));var i=e.deferredMeasurementCache,l=e.fixedColumnCount,d=e.fixedRowCount;return n._maybeCalculateCachedStyles(!0),i&&(n._deferredMeasurementCacheBottomLeftGrid=d>0?new Ne({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:d}):i,n._deferredMeasurementCacheBottomRightGrid=l>0||d>0?new Ne({cellMeasurerCache:i,columnIndexOffset:l,rowIndexOffset:d}):i,n._deferredMeasurementCacheTopRightGrid=l>0?new Ne({cellMeasurerCache:i,columnIndexOffset:l,rowIndexOffset:0}):i),n}return u(t,e),i(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,r=e.rowIndex,n=void 0===r?0:r;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{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,r=e.rowIndex,n=void 0===r?0:r,i=this.props,l=i.fixedColumnCount,s=i.fixedRowCount,a=Math.max(0,o-l),c=Math.max(0,n-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:n}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:n}),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 r={};t>0&&(r.scrollLeft=t),o>0&&(r.scrollTop=o),this.setState(r)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,o=e.onSectionRendered,r=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),n=(e.scrollTop,e.scrollToRow),i=_(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var l=this.state,s=l.scrollLeft,a=l.scrollTop;return f.createElement("div",{style:this._containerOuterStyle},f.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(i),this._renderTopRightGrid(Be({},i,{onScroll:t,scrollLeft:s}))),f.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(Be({},i,{onScroll:t,scrollTop:a})),this._renderBottomRightGrid(Be({},i,{onScroll:t,onSectionRendered:o,scrollLeft:s,scrollToColumn:r,scrollToRow:n,scrollTop:a}))))}},{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 r=0,n=0;n<t;n++)r+=o({index:n});this._leftGridWidth=r}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 r=0,n=0;n<t;n++)r+=o({index:n});this._topGridHeight=r}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,r=t.enableFixedColumnScroll,n=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,g=e||i!==this._lastRenderedHeight||p!==this._lastRenderedWidth,m=e||o!==this._lastRenderedColumnWidth||l!==this._lastRenderedFixedColumnCount,v=e||s!==this._lastRenderedFixedRowCount||a!==this._lastRenderedRowHeight;(e||g||c!==this._lastRenderedStyle)&&(this._containerOuterStyle=Be({height:i,overflow:"visible",width:p},c)),(e||g||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=Be({left:0,overflowX:"hidden",overflowY:r?"auto":"hidden",position:"absolute"},d)),(e||m||u!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=Be({left:this._getLeftGridWidth(this.props),position:"absolute"},u)),(e||h!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=Be({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},h)),(e||m||f!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=Be({left:this._getLeftGridWidth(this.props),overflowX:n?"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,r=e.fixedRowCount,n=e.rowCount,i=e.hideBottomLeftGridScrollbar,l=this.state.showVerticalScrollbar;if(!o)return null;var s=l?1:0,a=this._getBottomGridHeight(e),c=this._getLeftGridWidth(e),d=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,u=i?c+d:c,h=f.createElement(D,g({},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,n-r)+s,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:u}));return i?f.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:Be({},this._bottomLeftGridStyle,{height:a,width:c,overflowY:"hidden"})},h):h}},{key:"_renderBottomRightGrid",value:function(e){var t=e.columnCount,o=e.fixedColumnCount,r=e.fixedRowCount,n=e.rowCount,i=e.scrollToColumn,l=e.scrollToRow;return f.createElement(D,g({},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,n-r),rowHeight:this._rowHeightBottomGrid,scrollToColumn:i-o,scrollToRow:l-r,style:this._bottomRightGridStyle,width:this._getRightGridWidth(e)}))}},{key:"_renderTopLeftGrid",value:function(e){var t=e.fixedColumnCount,o=e.fixedRowCount;return t&&o?f.createElement(D,g({},e,{className:this.props.classNameTopLeftGrid,columnCount:t,height:this._getTopGridHeight(e),ref:this._topLeftGridRef,rowCount:o,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(e)})):null}},{key:"_renderTopRightGrid",value:function(e){var t=e.columnCount,o=e.enableFixedRowScroll,r=e.fixedColumnCount,n=e.fixedRowCount,i=e.scrollLeft,l=e.hideTopRightGridScrollbar,s=this.state,a=s.showHorizontalScrollbar,c=s.scrollbarSize;if(!n)return null;var d=a?1:0,u=this._getTopGridHeight(e),h=this._getRightGridWidth(e),p=a?c:0,m=u,v=this._topRightGridStyle;l&&(m=u+p,v=Be({},this._topRightGridStyle,{left:0}));var _=f.createElement(D,g({},e,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,t-r)+d,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:m,onScroll:o?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:n,scrollLeft:i,style:v,tabIndex:null,width:h}));return l?f.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:Be({},this._topRightGridStyle,{height:u,width:h,overflowX:"hidden"})},_):_}}],[{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}}]),t}(f.PureComponent);function $e(e){var t=e.className,o=e.columns,r=e.style;return f.createElement("div",{className:t,role:"row",style:r},o)}h(Ve,"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}),Ve.propTypes={},(0,p.polyfill)(Ve),(function(e){function t(e,o){var n;return r(this,t),(n=a(this,c(t).call(this,e,o))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},n._onScroll=n._onScroll.bind(s(n)),n}return u(t,e),i(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,r=t.clientWidth,n=t.scrollHeight,i=t.scrollLeft,l=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:r,onScroll:this._onScroll,scrollHeight:n,scrollLeft:i,scrollTop:l,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,r=e.scrollHeight,n=e.scrollLeft,i=e.scrollTop,l=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:r,scrollLeft:n,scrollTop:i,scrollWidth:l})}}]),t}(f.PureComponent)).propTypes={},$e.propTypes=null;const Ze="ASC",qe="DESC";function Xe(e){var t=e.sortDirection,o=(0,m.Z)("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===Ze,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===qe});return f.createElement("svg",{className:o,width:18,height:18,viewBox:"0 0 24 24"},t===Ze?f.createElement("path",{d:"M7 14l5-5 5 5z"}):f.createElement("path",{d:"M7 10l5 5 5-5z"}),f.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function Ye(e){var t=e.dataKey,o=e.label,r=e.sortBy,n=e.sortDirection,i=r===t,l=[f.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof o?o:null},o)];return i&&l.push(f.createElement(Xe,{key:"SortIndicator",sortDirection:n})),l}function Ke(e){var t=e.className,o=e.columns,r=e.index,n=e.key,i=e.onRowClick,l=e.onRowDoubleClick,s=e.onRowMouseOut,a=e.onRowMouseOver,c=e.onRowRightClick,d=e.rowData,u=e.style,h={"aria-rowindex":r+1};return(i||l||s||a||c)&&(h["aria-label"]="row",h.tabIndex=0,i&&(h.onClick=function(e){return i({event:e,index:r,rowData:d})}),l&&(h.onDoubleClick=function(e){return l({event:e,index:r,rowData:d})}),s&&(h.onMouseOut=function(e){return s({event:e,index:r,rowData:d})}),a&&(h.onMouseOver=function(e){return a({event:e,index:r,rowData:d})}),c&&(h.onContextMenu=function(e){return c({event:e,index:r,rowData:d})})),f.createElement("div",g({},h,{className:t,key:n,role:"row",style:u}),o)}Xe.propTypes={},Ye.propTypes=null,Ke.propTypes=null;var Je=function(e){function t(){return r(this,t),a(this,c(t).apply(this,arguments))}return u(t,e),t}(f.Component);function Qe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function et(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qe(o,!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qe(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}h(Je,"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:Ze,flexGrow:0,flexShrink:1,headerRenderer:Ye,style:{}}),Je.propTypes={};var tt=function(e){function t(e){var o;return r(this,t),(o=a(this,c(t).call(this,e))).state={scrollbarWidth:0},o._createColumn=o._createColumn.bind(s(o)),o._createRow=o._createRow.bind(s(o)),o._onScroll=o._onScroll.bind(s(o)),o._onSectionRendered=o._onSectionRendered.bind(s(o)),o._setRef=o._setRef.bind(s(o)),o}return u(t,e),i(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}).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=void 0===t?0:t,r=e.rowIndex,n=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n,columnIndex:o})}},{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.Grid){var e=(0,Q.findDOMNode)(this.Grid),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,r=t.className,n=t.disableHeader,i=t.gridClassName,l=t.gridStyle,s=t.headerHeight,a=t.headerRowRenderer,c=t.height,d=t.id,u=t.noRowsRenderer,h=t.rowClassName,p=t.rowStyle,v=t.scrollToIndex,_=t.style,S=t.width,y=this.state.scrollbarWidth,w=n?c:c-s,C="function"==typeof h?h({index:-1}):h,x="function"==typeof p?p({index:-1}):p;return this._cachedColumnStyles=[],f.Children.toArray(o).forEach((function(t,o){var r=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[o]=et({overflow:"hidden"},r)})),f.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":f.Children.toArray(o).length,"aria-rowcount":this.props.rowCount,className:(0,m.Z)("ReactVirtualized__Table",r),id:d,role:"grid",style:_},!n&&a({className:(0,m.Z)("ReactVirtualized__Table__headerRow",C),columns:this._getHeaderColumns(),style:et({height:s,overflow:"hidden",paddingRight:y,width:S},x)}),f.createElement(D,g({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:(0,m.Z)("ReactVirtualized__Table__Grid",i),cellRenderer:this._createRow,columnWidth:S,columnCount:1,height:w,id:void 0,noContentRenderer:u,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:y,scrollToRow:v,style:et({},l,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,o=e.columnIndex,r=e.isScrolling,n=e.parent,i=e.rowData,l=e.rowIndex,s=this.props.onColumnClick,a=t.props,c=a.cellDataGetter,d=a.cellRenderer,u=a.className,h=a.columnData,p=a.dataKey,g=a.id,v=d({cellData:c({columnData:h,dataKey:p,rowData:i}),columnData:h,columnIndex:o,dataKey:p,isScrolling:r,parent:n,rowData:i,rowIndex:l}),_=this._cachedColumnStyles[o],S="string"==typeof v?v:null;return f.createElement("div",{"aria-colindex":o+1,"aria-describedby":g,className:(0,m.Z)("ReactVirtualized__Table__rowColumn",u),key:"Row"+l+"-Col"+o,onClick:function(e){s&&s({columnData:h,dataKey:p,event:e})},role:"gridcell",style:_,title:S},v)}},{key:"_createHeader",value:function(e){var t,o,r,n,i,l=e.column,s=e.index,a=this.props,c=a.headerClassName,d=a.headerStyle,u=a.onHeaderClick,h=a.sort,p=a.sortBy,g=a.sortDirection,v=l.props,_=v.columnData,S=v.dataKey,y=v.defaultSortDirection,w=v.disableSort,C=v.headerRenderer,x=v.id,b=v.label,R=!w&&h,T=(0,m.Z)("ReactVirtualized__Table__headerColumn",c,l.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:R}),z=this._getFlexStyleForColumn(l,et({},d,{},l.props.headerStyle)),I=C({columnData:_,dataKey:S,disableSort:w,label:b,sortBy:p,sortDirection:g});if(R||u){var M=p!==S?y:g===qe?Ze:qe,O=function(e){R&&h({defaultSortDirection:y,event:e,sortBy:S,sortDirection:M}),u&&u({columnData:_,dataKey:S,event:e})};i=l.props["aria-label"]||b||S,n="none",r=0,t=O,o=function(e){"Enter"!==e.key&&" "!==e.key||O(e)}}return p===S&&(n=g===Ze?"ascending":"descending"),f.createElement("div",{"aria-label":i,"aria-sort":n,className:T,id:x,key:"Header-Col"+s,onClick:t,onKeyDown:o,role:"columnheader",style:z,tabIndex:r},I)}},{key:"_createRow",value:function(e){var t=this,o=e.rowIndex,r=e.isScrolling,n=e.key,i=e.parent,l=e.style,s=this.props,a=s.children,c=s.onRowClick,d=s.onRowDoubleClick,u=s.onRowRightClick,h=s.onRowMouseOver,p=s.onRowMouseOut,g=s.rowClassName,v=s.rowGetter,_=s.rowRenderer,S=s.rowStyle,y=this.state.scrollbarWidth,w="function"==typeof g?g({index:o}):g,C="function"==typeof S?S({index:o}):S,x=v({index:o}),b=f.Children.toArray(a).map((function(e,n){return t._createColumn({column:e,columnIndex:n,isScrolling:r,parent:i,rowData:x,rowIndex:o,scrollbarWidth:y})})),R=(0,m.Z)("ReactVirtualized__Table__row",w),T=et({},l,{height:this._getRowHeight(o),overflow:"hidden",paddingRight:y},C);return _({className:R,columns:b,index:o,isScrolling:r,key:n,onRowClick:c,onRowDoubleClick:d,onRowRightClick:u,onRowMouseOver:h,onRowMouseOut:p,rowData:x,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"),r=et({},t,{flex:o,msFlex:o,WebkitFlex:o});return e.props.maxWidth&&(r.maxWidth=e.props.maxWidth),e.props.minWidth&&(r.minWidth=e.props.minWidth),r}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,o=t.children;return(t.disableHeader?[]:f.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,r=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:r})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,r=e.rowStartIndex,n=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:r,stopIndex:n})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(f.PureComponent);h(tt,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:j,overscanRowCount:10,rowRenderer:Ke,headerRowRenderer:$e,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),tt.propTypes={};var ot=[],rt=null,nt=null;function it(){nt&&(nt=null,document.body&&null!=rt&&(document.body.style.pointerEvents=rt),rt=null)}function lt(){it(),ot.forEach((function(e){return e.__resetIsScrolling()}))}function st(e){e.currentTarget===window&&null==rt&&document.body&&(rt=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){nt&&L(nt);var e=0;ot.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),nt=G(lt,e)}(),ot.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function at(e,t){ot.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",st),ot.push(e)}function ct(e,t){(ot=ot.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",st),nt&&(L(nt),it()))}var dt,ut,ht=function(e){return e===window},ft=function(e){return e.getBoundingClientRect()};function pt(e,t){if(e){if(ht(e)){var o=window,r=o.innerHeight,n=o.innerWidth;return{height:"number"==typeof r?r:0,width:"number"==typeof n?n:0}}return ft(e)}return{height:t.serverHeight,width:t.serverWidth}}function gt(e,t){if(ht(t)&&document.documentElement){var o=document.documentElement,r=ft(e),n=ft(o);return{top:r.top-n.top,left:r.left-n.left}}var i=mt(t),l=ft(e),s=ft(t);return{top:l.top+i.top-s.top,left:l.left+i.left-s.left}}function mt(e){return ht(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 vt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function _t(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vt(o,!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vt(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var St=function(){return"undefined"!=typeof window?window:void 0},yt=(ut=dt=function(e){function t(){var e,o;r(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return h(s(o=a(this,(e=c(t)).call.apply(e,[this].concat(i)))),"_window",St()),h(s(o),"_isMounted",!1),h(s(o),"_positionFromTop",0),h(s(o),"_positionFromLeft",0),h(s(o),"_detectElementResize",void 0),h(s(o),"_child",void 0),h(s(o),"state",_t({},pt(o.props.scrollElement,o.props),{isScrolling:!1,scrollLeft:0,scrollTop:0})),h(s(o),"_registerChild",(function(e){!e||e instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),o._child=e,o.updatePosition()})),h(s(o),"_onChildScroll",(function(e){var t=e.scrollTop;if(o.state.scrollTop!==t){var r=o.props.scrollElement;r&&("function"==typeof r.scrollTo?r.scrollTo(0,t+o._positionFromTop):r.scrollTop=t+o._positionFromTop)}})),h(s(o),"_registerResizeListener",(function(e){e===window?window.addEventListener("resize",o._onResize,!1):o._detectElementResize.addResizeListener(e,o._onResize)})),h(s(o),"_unregisterResizeListener",(function(e){e===window?window.removeEventListener("resize",o._onResize,!1):e&&o._detectElementResize.removeResizeListener(e,o._onResize)})),h(s(o),"_onResize",(function(){o.updatePosition()})),h(s(o),"__handleWindowScrollEvent",(function(){if(o._isMounted){var e=o.props.onScroll,t=o.props.scrollElement;if(t){var r=mt(t),n=Math.max(0,r.left-o._positionFromLeft),i=Math.max(0,r.top-o._positionFromTop);o.setState({isScrolling:!0,scrollLeft:n,scrollTop:i}),e({scrollLeft:n,scrollTop:i})}}})),h(s(o),"__resetIsScrolling",(function(){o.setState({isScrolling:!1})})),o}return u(t,e),i(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,r=o.height,n=o.width,i=this._child||Q.findDOMNode(this);if(i instanceof Element&&e){var l=gt(i,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var s=pt(e,this.props);r===s.height&&n===s.width||(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=Z(),this.updatePosition(e),e&&(at(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var o=this.props.scrollElement,r=e.scrollElement;r!==o&&null!=r&&null!=o&&(this.updatePosition(o),ct(this,r),at(this,o),this._unregisterResizeListener(r),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(ct(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.isScrolling,r=t.scrollTop,n=t.scrollLeft,i=t.height,l=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:o,scrollLeft:n,scrollTop:r,width:l})}}]),t}(f.PureComponent),h(dt,"propTypes",null),ut);h(yt,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:St(),serverHeight:0,serverWidth:0})},8978:(e,t,o)=>{"use strict";t.v7=y,t.Kx=w,t._t=b,t.ZP=function(e){var t=b(e);return function(e){return r.default.createElement(c.DragDropContextConsumer,null,(function(o){var n=o.dragDropManager;return void 0===n?null:r.default.createElement(t,p({},e,{dragDropManager:n}))}))}};var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,o):{};r.get||r.set?Object.defineProperty(t,o,r):t[o]=e[o]}return t.default=e,t}(o(24328)),n=h(o(52386)),i=o(75047),l=h(o(5095)),s=h(o(12198)),a=h(o(20506)),c=o(13896),d=h(o(89819)),u=o(67750);function h(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="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},f(e)}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},p.apply(this,arguments)}function g(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function y(e){return function(t,o){var r=t.x,n=t.w,i=t.y,l=t.h,s=Math.min(n/2,e);if(o.x>=r&&o.x<=r+n&&o.y>=i&&o.y<=i+l){if(o.x<r+s)return(o.x-r-s)/s;if(o.x>r+n-s)return-(r+n-o.x-s)/s}return 0}}function w(e){return function(t,o){var r=t.y,n=t.h,i=t.x,l=t.w,s=Math.min(n/2,e);if(o.y>=r&&o.y<=r+n&&o.x>=i&&o.x<=i+l){if(o.y<r+s)return(o.y-r-s)/s;if(o.y>r+n-s)return-(r+n-o.y-s)/s}return 0}}var C=y(150),x=w(150);function b(e){var t=function(t){function o(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),n=function(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?_(e):t}(this,m(o).call(this,e,t)),S(_(_(n)),"updateScrolling",(0,l.default)((function(e){var t=n.container.getBoundingClientRect(),o={x:t.left,y:t.top,w:t.width,h:t.height},r=(0,u.getCoords)(e),i=n.props,l=i.horizontalStrength,s=i.verticalStrength;n.scaleX=l(o,r),n.scaleY=s(o,r),n.frame||!n.scaleX&&!n.scaleY||n.startScrolling()}),100,{trailing:!1})),S(_(_(n)),"handleEvent",(function(e){n.dragging&&!n.attached&&(n.attach(),n.updateScrolling(e))})),n.wrappedInstance=r.default.createRef(),n.scaleX=0,n.scaleY=0,n.frame=null,n.attached=!1,n.dragging=!1,n}var n,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(o,t),n=o,(a=[{key:"componentDidMount",value:function(){var e=this;this.container=(0,i.findDOMNode)(this.wrappedInstance.current),this.container&&"function"==typeof this.container.addEventListener&&this.container.addEventListener("dragover",this.handleEvent),window.document.body.addEventListener("touchmove",this.handleEvent);var t=this.props.dragDropManager;this.clearMonitorSubscription=t.getMonitor().subscribeToStateChange((function(){return e.handleMonitorChange()}))}},{key:"componentWillUnmount",value:function(){this.container&&"function"==typeof this.container.removeEventListener&&this.container.removeEventListener("dragover",this.handleEvent),window.document.body.removeEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription(),this.stopScrolling()}},{key:"handleMonitorChange",value:function(){var e=this.props.dragDropManager.getMonitor().isDragging();!this.dragging&&e?this.dragging=!0:this.dragging&&!e&&(this.dragging=!1,this.stopScrolling())}},{key:"attach",value:function(){this.attached=!0,window.document.body.addEventListener("dragover",this.updateScrolling),window.document.body.addEventListener("touchmove",this.updateScrolling)}},{key:"detach",value:function(){this.attached=!1,window.document.body.removeEventListener("dragover",this.updateScrolling),window.document.body.removeEventListener("touchmove",this.updateScrolling)}},{key:"startScrolling",value:function(){var e=this,t=0;!function o(){var r=e.scaleX,n=e.scaleY,i=e.container,l=e.props,a=l.strengthMultiplier,c=l.onScrollChange;if(0!==a&&r+n!==0){if((t+=1)%2){var d=i.scrollLeft,h=i.scrollTop,f=i.scrollWidth,p=i.scrollHeight,g=i.clientWidth,m=i.clientHeight;c(r?i.scrollLeft=(0,u.intBetween)(0,f-g,d+r*a):d,n?i.scrollTop=(0,u.intBetween)(0,p-m,h+n*a):h)}e.frame=(0,s.default)(o)}else e.stopScrolling()}()}},{key:"stopScrolling",value:function(){this.detach(),this.scaleX=0,this.scaleY=0,this.frame&&(s.default.cancel(this.frame),this.frame=null)}},{key:"render",value:function(){var t=this.props,o=(t.strengthMultiplier,t.verticalStrength,t.horizontalStrength,t.onScrollChange,function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(t,["strengthMultiplier","verticalStrength","horizontalStrength","onScrollChange"]));return r.default.createElement(e,p({ref:this.wrappedInstance},o))}}])&&g(n.prototype,a),o}(r.Component);return S(t,"displayName","Scrolling(".concat((0,a.default)(e),")")),S(t,"propTypes",{dragDropManager:n.default.object.isRequired,onScrollChange:n.default.func,verticalStrength:n.default.func,horizontalStrength:n.default.func,strengthMultiplier:n.default.number}),S(t,"defaultProps",{onScrollChange:u.noop,verticalStrength:x,horizontalStrength:C,strengthMultiplier:30}),(0,d.default)(t,e)}},67750:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){},t.intBetween=function(e,t,o){return Math.floor(Math.min(t,Math.max(e,o)))},t.getCoords=function(e){return"touchmove"===e.type?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:{x:e.clientX,y:e.clientY}}},89819:(e,t,o)=>{"use strict";var r=o(77328),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function a(e){return r.isMemo(e)?l:s[e.$$typeof]||n}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=l;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,o,r){if("string"!=typeof o){if(p){var n=f(o);n&&n!==p&&e(t,n,r)}var l=d(o);u&&(l=l.concat(u(o)));for(var s=a(t),g=a(o),m=0;m<l.length;++m){var v=l[m];if(!(i[v]||r&&r[v]||g&&g[v]||s&&s[v])){var _=h(o,v);try{c(t,v,_)}catch(e){}}}}return t}},5095:(e,t,o)=>{var r="Expected a function",n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,d="object"==typeof self&&self&&self.Object===Object&&self,u=c||d||Function("return this")(),h=Object.prototype.toString,f=Math.max,p=Math.min,g=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var o=l.test(e);return o||s.test(e)?a(e.slice(2),o?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,o){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return m(o)&&(n="leading"in o?!!o.leading:n,i="trailing"in o?!!o.trailing:i),function(e,t,o){var n,i,l,s,a,c,d=0,u=!1,h=!1,_=!0;if("function"!=typeof e)throw new TypeError(r);function S(t){var o=n,r=i;return n=i=void 0,d=t,s=e.apply(r,o)}function y(e){return d=e,a=setTimeout(C,t),u?S(e):s}function w(e){var o=e-c;return void 0===c||o>=t||o<0||h&&e-d>=l}function C(){var e=g();if(w(e))return x(e);a=setTimeout(C,function(e){var o=t-(e-c);return h?p(o,l-(e-d)):o}(e))}function x(e){return a=void 0,_&&n?S(e):(n=i=void 0,s)}function b(){var e=g(),o=w(e);if(n=arguments,i=this,c=e,o){if(void 0===a)return y(c);if(h)return a=setTimeout(C,t),S(c)}return void 0===a&&(a=setTimeout(C,t)),s}return t=v(t)||0,m(o)&&(u=!!o.leading,l=(h="maxWait"in o)?f(v(o.maxWait)||0,t):l,_="trailing"in o?!!o.trailing:_),b.cancel=function(){void 0!==a&&clearTimeout(a),d=0,n=c=i=a=void 0},b.flush=function(){return void 0===a?s:x(g())},b}(e,t,{leading:n,maxWait:t,trailing:i})}},94352:function(e,t,o){var r=o(34406);(function(){var t,o,n,i,l,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=r&&r.hrtime?(e.exports=function(){return(t()-l)/1e6},o=r.hrtime,i=(t=function(){var e;return 1e9*(e=o())[0]+e[1]})(),s=1e9*r.uptime(),l=i-s):Date.now?(e.exports=function(){return Date.now()-n},n=Date.now()):(e.exports=function(){return(new Date).getTime()-n},n=(new Date).getTime())}).call(this)},61727:(e,t,o)=>{"use strict";var r=o(15528);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,t,o,n,i,l){if(l!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:n};return o.PropTypes=o,o}},52386:(e,t,o)=>{e.exports=o(61727)()},15528:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},12198:(e,t,o)=>{for(var r=o(94352),n="undefined"==typeof window?o.g:window,i=["moz","webkit"],l="AnimationFrame",s=n["request"+l],a=n["cancel"+l]||n["cancelRequest"+l],c=0;!s&&c<i.length;c++)s=n[i[c]+"Request"+l],a=n[i[c]+"Cancel"+l]||n[i[c]+"CancelRequest"+l];if(!s||!a){var d=0,u=0,h=[];s=function(e){if(0===h.length){var t=r(),o=Math.max(0,16.666666666666668-(t-d));d=o+t,setTimeout((function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(d)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(o))}return h.push({handle:++u,callback:e,cancelled:!1}),u},a=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return s.call(n,e)},e.exports.cancel=function(){a.apply(n,arguments)},e.exports.polyfill=function(e){e||(e=n),e.requestAnimationFrame=s,e.cancelAnimationFrame=a}},20506:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},35938:(e,t)=>{"use strict";var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,n=o?Symbol.for("react.portal"):60106,i=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,a=o?Symbol.for("react.provider"):60109,c=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.async_mode"):60111,u=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,f=o?Symbol.for("react.suspense"):60113,p=o?Symbol.for("react.suspense_list"):60120,g=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,v=o?Symbol.for("react.block"):60121,_=o?Symbol.for("react.fundamental"):60117,S=o?Symbol.for("react.responder"):60118,y=o?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case u:case i:case s:case l:case f:return e;default:switch(e=e&&e.$$typeof){case c:case h:case m:case g:case a:return e;default:return t}}case n:return t}}}function C(e){return w(e)===u}t.AsyncMode=d,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=a,t.Element=r,t.ForwardRef=h,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=n,t.Profiler=s,t.StrictMode=l,t.Suspense=f,t.isAsyncMode=function(e){return C(e)||w(e)===d},t.isConcurrentMode=C,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===a},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===h},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===l},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===s||e===l||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===a||e.$$typeof===c||e.$$typeof===h||e.$$typeof===_||e.$$typeof===S||e.$$typeof===y||e.$$typeof===v)},t.typeOf=w},77328:(e,t,o)=>{"use strict";e.exports=o(35938)}}]);
@@ -1,8 +0,0 @@
1
- /** @license React v16.13.1
2
- * react-is.production.min.js
3
- *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */