evo-timeline-editor-react
Version:
[](https://www.npmjs.com/package/evo-timeline-editor-react)
50 lines (48 loc) • 275 kB
JavaScript
(function(qe,Z){typeof exports=="object"&&typeof module<"u"?Z(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],Z):(qe=typeof globalThis<"u"?globalThis:qe||self,Z(qe.EvoTimelineEditor={},qe.React))})(this,function(qe,Z){"use strict";var gc=Object.defineProperty;var mc=(qe,Z,mt)=>Z in qe?gc(qe,Z,{enumerable:!0,configurable:!0,writable:!0,value:mt}):qe[Z]=mt;var Pe=(qe,Z,mt)=>mc(qe,typeof Z!="symbol"?Z+"":Z,mt);var mt=document.createElement("style");mt.textContent=`.timeline-editor{height:600px;width:600px;min-height:32px;position:relative;font-size:12px;font-family:PingFang SC;background-color:#191b1d;display:flex;flex-direction:column;overflow:hidden}.timeline-editor-cursor{cursor:ew-resize;position:absolute;top:32px;height:calc(100% - 32px);box-sizing:border-box;border-left:1px solid #5297FF;border-right:1px solid #5297FF;transform:translate(-25%) scaleX(.5)}.timeline-editor-cursor-top{position:absolute;top:0;left:50%;transform:translate(-50%) scaleX(2);margin:auto}.timeline-editor-cursor-area{width:16px;height:100%;cursor:ew-resize;position:absolute;top:0;left:50%;transform:translate(-50%)}.timeline-editor-drag-line-container{position:absolute;height:100%;top:0;left:0}.timeline-editor-drag-line{width:0;position:absolute;top:0;height:99%;border-left:1px dashed rgba(82,151,255,.6)}.timeline-editor:hover .timeline-editor-edit-area .ReactVirtualized__Grid::-webkit-scrollbar{height:4px}.timeline-editor-edit-area{flex:1 1 auto;margin-top:10px;overflow:hidden;position:relative}.timeline-editor-edit-area .ReactVirtualized__Grid{outline:none!important;overflow:overlay!important}.timeline-editor-edit-area .ReactVirtualized__Grid::-webkit-scrollbar{width:0;height:0}.timeline-editor-edit-area .ReactVirtualized__Grid::-webkit-scrollbar-track{background-color:transparent!important}.timeline-editor-edit-area .ReactVirtualized__Grid::-webkit-scrollbar-thumb{background:#313132;border-radius:16px}.timeline-editor-action{position:absolute;left:0;top:0;background-color:#2f3134}.timeline-editor-action .timeline-editor-action-left-stretch,.timeline-editor-action .timeline-editor-action-right-stretch{position:absolute;top:0;width:10px;border-radius:4px;height:100%;overflow:hidden}.timeline-editor-action .timeline-editor-action-left-stretch:after,.timeline-editor-action .timeline-editor-action-right-stretch:after{position:absolute;top:0;bottom:0;margin:auto;border-radius:4px;border-top:28px solid transparent;border-bottom:28px solid transparent}.timeline-editor-action .timeline-editor-action-left-stretch{left:0}.timeline-editor-action .timeline-editor-action-left-stretch:after{left:0;content:"";border-left:7px solid rgba(255,255,255,.1);border-right:7px solid transparent}.timeline-editor-action .timeline-editor-action-right-stretch{right:0}.timeline-editor-action .timeline-editor-action-right-stretch:after{right:0;content:"";border-right:7px solid rgba(255,255,255,.1);border-left:7px solid transparent}.timeline-editor-edit-row{background-repeat:no-repeat,repeat;background-image:linear-gradient(#191b1d,#191b1d),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 0);display:flex;flex-direction:row;box-sizing:border-box}.timeline-editor{height:600px;width:600px;min-height:32px;position:relative;font-size:12px;font-family:PingFang SC;background-color:#191b1d;display:flex;flex-direction:column;overflow:hidden}.timeline-editor-time-area{position:relative;height:32px;flex:0 0 auto}.timeline-editor-time-area .ReactVirtualized__Grid{outline:none}.timeline-editor-time-area .ReactVirtualized__Grid::-webkit-scrollbar{display:none}.timeline-editor-time-area-interact{position:absolute;cursor:pointer;left:0;top:0}.timeline-editor-time-unit{border-right:1px solid rgba(255,255,255,.2);position:relative;box-sizing:content-box;height:4px!important;bottom:0!important;top:auto!important}.timeline-editor-time-unit-big{height:8px!important}.timeline-editor-time-unit-scale{color:#fff9;position:absolute;right:0;top:0;transform:translate(50%,-100%)}
/*$vite$:1*/`,document.head.appendChild(mt);function No(s){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const e=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(i,r,e.get?e:{enumerable:!0,get:()=>s[r]})}}return i.default=s,Object.freeze(i)}const ce=No(Z);function vr(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Zt={exports:{}},Mt={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var gr;function Wo(){if(gr)return Mt;gr=1;var s=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function r(e,a,c){var u=null;if(c!==void 0&&(u=""+c),a.key!==void 0&&(u=""+a.key),"key"in a){c={};for(var h in a)h!=="key"&&(c[h]=a[h])}else c=a;return a=c.ref,{$$typeof:s,type:e,key:u,ref:a!==void 0?a:null,props:c}}return Mt.Fragment=i,Mt.jsx=r,Mt.jsxs=r,Mt}var kt={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var mr;function Fo(){return mr||(mr=1,process.env.NODE_ENV!=="production"&&function(){function s(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===ne?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case P:return"Fragment";case j:return"Profiler";case D:return"StrictMode";case O:return"Suspense";case K:return"SuspenseList";case se:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case E:return"Portal";case L:return(x.displayName||"Context")+".Provider";case V:return(x._context.displayName||"Context")+".Consumer";case W:var z=x.render;return x=x.displayName,x||(x=z.displayName||z.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case T:return z=x.displayName||null,z!==null?z:s(x.type)||"Memo";case F:z=x._payload,x=x._init;try{return s(x(z))}catch{}}return null}function i(x){return""+x}function r(x){try{i(x);var z=!1}catch{z=!0}if(z){z=console;var Y=z.error,N=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return Y.call(z,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",N),i(x)}}function e(x){if(x===P)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===F)return"<...>";try{var z=s(x);return z?"<"+z+">":"<...>"}catch{return"<...>"}}function a(){var x=J.A;return x===null?null:x.getOwner()}function c(){return Error("react-stack-top-frame")}function u(x){if(ae.call(x,"key")){var z=Object.getOwnPropertyDescriptor(x,"key").get;if(z&&z.isReactWarning)return!1}return x.key!==void 0}function h(x,z){function Y(){ve||(ve=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",z))}Y.isReactWarning=!0,Object.defineProperty(x,"key",{get:Y,configurable:!0})}function p(){var x=s(this.type);return ge[x]||(ge[x]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),x=this.props.ref,x!==void 0?x:null}function m(x,z,Y,N,B,X,Q,ie){return Y=X.ref,x={$$typeof:C,type:x,key:z,props:X,_owner:B},(Y!==void 0?Y:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:p}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Q}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ie}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function S(x,z,Y,N,B,X,Q,ie){var te=z.children;if(te!==void 0)if(N)if(ue(te)){for(N=0;N<te.length;N++)b(te[N]);Object.freeze&&Object.freeze(te)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else b(te);if(ae.call(z,"key")){te=s(x);var k=Object.keys(z).filter(function(be){return be!=="key"});N=0<k.length?"{key: someKey, "+k.join(": ..., ")+": ...}":"{key: someKey}",me[te+N]||(k=0<k.length?"{"+k.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,N,te,k,te),me[te+N]=!0)}if(te=null,Y!==void 0&&(r(Y),te=""+Y),u(z)&&(r(z.key),te=""+z.key),"key"in z){Y={};for(var oe in z)oe!=="key"&&(Y[oe]=z[oe])}else Y=z;return te&&h(Y,typeof x=="function"?x.displayName||x.name||"Unknown":x),m(x,te,X,B,a(),Y,Q,ie)}function b(x){typeof x=="object"&&x!==null&&x.$$typeof===C&&x._store&&(x._store.validated=1)}var R=Z,C=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),L=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),ne=Symbol.for("react.client.reference"),J=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,ue=Array.isArray,de=console.createTask?console.createTask:function(){return null};R={"react-stack-bottom-frame":function(x){return x()}};var ve,ge={},fe=R["react-stack-bottom-frame"].bind(R,c)(),Te=de(e(c)),me={};kt.Fragment=P,kt.jsx=function(x,z,Y,N,B){var X=1e4>J.recentlyCreatedOwnerStacks++;return S(x,z,Y,!1,N,B,X?Error("react-stack-top-frame"):fe,X?de(e(x)):Te)},kt.jsxs=function(x,z,Y,N,B){var X=1e4>J.recentlyCreatedOwnerStacks++;return S(x,z,Y,!0,N,B,X?Error("react-stack-top-frame"):fe,X?de(e(x)):Te)}}()),kt}var yr;function Ho(){return yr||(yr=1,process.env.NODE_ENV==="production"?Zt.exports=Wo():Zt.exports=Fo()),Zt.exports}var we=Ho();function Ae(s,i){if(!(s instanceof i))throw new TypeError("Cannot call a class as a function")}function yt(s){"@babel/helpers - typeof";return yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},yt(s)}function $o(s,i){if(yt(s)!="object"||!s)return s;var r=s[Symbol.toPrimitive];if(r!==void 0){var e=r.call(s,i);if(yt(e)!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(s)}function Sr(s){var i=$o(s,"string");return yt(i)=="symbol"?i:i+""}function _r(s,i){for(var r=0;r<i.length;r++){var e=i[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,Sr(e.key),e)}}function De(s,i,r){return i&&_r(s.prototype,i),r&&_r(s,r),Object.defineProperty(s,"prototype",{writable:!1}),s}function Uo(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function je(s,i){if(i&&(yt(i)=="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Uo(s)}function xe(s){return xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},xe(s)}function _n(s,i){return _n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,e){return r.__proto__=e,r},_n(s,i)}function Ne(s,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(i&&i.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),i&&_n(s,i)}function M(s,i,r){return(i=Sr(i))in s?Object.defineProperty(s,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):s[i]=r,s}function br(){var s=this.constructor.getDerivedStateFromProps(this.props,this.state);s!=null&&this.setState(s)}function wr(s){function i(r){var e=this.constructor.getDerivedStateFromProps(s,r);return e??null}this.setState(i.bind(this))}function xr(s,i){try{var r=this.props,e=this.state;this.props=s,this.state=i,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,e)}finally{this.props=r,this.state=e}}br.__suppressDeprecationWarning=!0,wr.__suppressDeprecationWarning=!0,xr.__suppressDeprecationWarning=!0;function At(s){var i=s.prototype;if(!i||!i.isReactComponent)throw new Error("Can only polyfill class components");if(typeof s.getDerivedStateFromProps!="function"&&typeof i.getSnapshotBeforeUpdate!="function")return s;var r=null,e=null,a=null;if(typeof i.componentWillMount=="function"?r="componentWillMount":typeof i.UNSAFE_componentWillMount=="function"&&(r="UNSAFE_componentWillMount"),typeof i.componentWillReceiveProps=="function"?e="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps=="function"&&(e="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate=="function"?a="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate=="function"&&(a="UNSAFE_componentWillUpdate"),r!==null||e!==null||a!==null){var c=s.displayName||s.name,u=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
`+c+" uses "+u+" but also contains the following legacy lifecycles:"+(r!==null?`
`+r:"")+(e!==null?`
`+e:"")+(a!==null?`
`+a:"")+`
The above lifecycles should be removed. Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof s.getDerivedStateFromProps=="function"&&(i.componentWillMount=br,i.componentWillReceiveProps=wr),typeof i.getSnapshotBeforeUpdate=="function"){if(typeof i.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");i.componentWillUpdate=xr;var h=i.componentDidUpdate;i.componentDidUpdate=function(m,S,b){var R=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:b;h.call(this,m,S,R)}}return s}function Cr(s,i){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(s);i&&(e=e.filter(function(a){return Object.getOwnPropertyDescriptor(s,a).enumerable})),r.push.apply(r,e)}return r}function Rr(s){for(var i=1;i<arguments.length;i++){var r=arguments[i]!=null?arguments[i]:{};i%2?Cr(Object(r),!0).forEach(function(e){M(s,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):Cr(Object(r)).forEach(function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(r,e))})}return s}function Bo(s,i,r){return i=xe(i),je(s,Tr()?Reflect.construct(i,r||[],xe(s).constructor):i.apply(s,r))}function Tr(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Tr=function(){return!!s})()}var Ir=function(s){function i(){var r;Ae(this,i);for(var e=arguments.length,a=new Array(e),c=0;c<e;c++)a[c]=arguments[c];return r=Bo(this,i,[].concat(a)),M(r,"state",{scrollToColumn:0,scrollToRow:0,instanceProps:{prevScrollToColumn:0,prevScrollToRow:0}}),M(r,"_columnStartIndex",0),M(r,"_columnStopIndex",0),M(r,"_rowStartIndex",0),M(r,"_rowStopIndex",0),M(r,"_onKeyDown",function(u){var h=r.props,p=h.columnCount,m=h.disabled,S=h.mode,b=h.rowCount;if(!m){var R=r._getScrollState(),C=R.scrollToColumn,E=R.scrollToRow,P=r._getScrollState(),D=P.scrollToColumn,j=P.scrollToRow;switch(u.key){case"ArrowDown":j=Math.min(S==="cells"?j+1:r._rowStopIndex+1,b-1);break;case"ArrowLeft":D=Math.max(S==="cells"?D-1:r._columnStartIndex-1,0);break;case"ArrowRight":D=Math.min(S==="cells"?D+1:r._columnStopIndex+1,p-1);break;case"ArrowUp":j=Math.max(S==="cells"?j-1:r._rowStartIndex-1,0);break}(D!==C||j!==E)&&(u.preventDefault(),r._updateScrollState({scrollToColumn:D,scrollToRow:j}))}}),M(r,"_onSectionRendered",function(u){var h=u.columnStartIndex,p=u.columnStopIndex,m=u.rowStartIndex,S=u.rowStopIndex;r._columnStartIndex=h,r._columnStopIndex=p,r._rowStartIndex=m,r._rowStopIndex=S}),r}return Ne(i,s),De(i,[{key:"setScrollIndexes",value:function(e){var a=e.scrollToColumn,c=e.scrollToRow;this.setState({scrollToRow:c,scrollToColumn:a})}},{key:"render",value:function(){var e=this.props,a=e.className,c=e.children,u=this._getScrollState(),h=u.scrollToColumn,p=u.scrollToRow;return ce.createElement("div",{className:a,onKeyDown:this._onKeyDown},c({onSectionRendered:this._onSectionRendered,scrollToColumn:h,scrollToRow:p}))}},{key:"_getScrollState",value:function(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function(e){var a=e.scrollToColumn,c=e.scrollToRow,u=this.props,h=u.isControlled,p=u.onScrollToChange;typeof p=="function"&&p({scrollToColumn:a,scrollToRow:c}),h||this.setState({scrollToColumn:a,scrollToRow:c})}}],[{key:"getDerivedStateFromProps",value:function(e,a){return e.isControlled?{}:e.scrollToColumn!==a.instanceProps.prevScrollToColumn||e.scrollToRow!==a.instanceProps.prevScrollToRow?Rr(Rr({},a),{},{scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow,instanceProps:{prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow}}):{}}}])}(ce.PureComponent);M(Ir,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),At(Ir);function Er(s,i){var r;typeof i<"u"?r=i:typeof window<"u"?r=window:typeof self<"u"?r=self:r=global;var e=typeof r.document<"u"&&r.document.attachEvent;if(!e){var a=function(){var T=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(F){return r.setTimeout(F,20)};return function(F){return T(F)}}(),c=function(){var T=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(F){return T(F)}}(),u=function(F){var se=F.__resizeTriggers__,ne=se.firstElementChild,J=se.lastElementChild,ae=ne.firstElementChild;J.scrollLeft=J.scrollWidth,J.scrollTop=J.scrollHeight,ae.style.width=ne.offsetWidth+1+"px",ae.style.height=ne.offsetHeight+1+"px",ne.scrollLeft=ne.scrollWidth,ne.scrollTop=ne.scrollHeight},h=function(F){return F.offsetWidth!=F.__resizeLast__.width||F.offsetHeight!=F.__resizeLast__.height},p=function(F){if(!(F.target.className&&typeof F.target.className.indexOf=="function"&&F.target.className.indexOf("contract-trigger")<0&&F.target.className.indexOf("expand-trigger")<0)){var se=this;u(this),this.__resizeRAF__&&c(this.__resizeRAF__),this.__resizeRAF__=a(function(){h(se)&&(se.__resizeLast__.width=se.offsetWidth,se.__resizeLast__.height=se.offsetHeight,se.__resizeListeners__.forEach(function(ne){ne.call(se,F)}))})}},m=!1,S="",b="animationstart",R="Webkit Moz O ms".split(" "),C="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),E="";{var P=r.document.createElement("fakeelement");if(P.style.animationName!==void 0&&(m=!0),m===!1){for(var D=0;D<R.length;D++)if(P.style[R[D]+"AnimationName"]!==void 0){E=R[D],S="-"+E.toLowerCase()+"-",b=C[D],m=!0;break}}}var j="resizeanim",V="@"+S+"keyframes "+j+" { from { opacity: 0; } to { opacity: 0; } } ",L=S+"animation: 1ms "+j+"; "}var W=function(F){if(!F.getElementById("detectElementResize")){var se=(V||"")+".resize-triggers { "+(L||"")+'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%; }',ne=F.head||F.getElementsByTagName("head")[0],J=F.createElement("style");J.id="detectElementResize",J.type="text/css",s!=null&&J.setAttribute("nonce",s),J.styleSheet?J.styleSheet.cssText=se:J.appendChild(F.createTextNode(se)),ne.appendChild(J)}},O=function(F,se){if(e)F.attachEvent("onresize",se);else{if(!F.__resizeTriggers__){var ne=F.ownerDocument,J=r.getComputedStyle(F);J&&J.position=="static"&&(F.style.position="relative"),W(ne),F.__resizeLast__={},F.__resizeListeners__=[],(F.__resizeTriggers__=ne.createElement("div")).className="resize-triggers";var ae=ne.createElement("div");ae.className="expand-trigger",ae.appendChild(ne.createElement("div"));var ue=ne.createElement("div");ue.className="contract-trigger",F.__resizeTriggers__.appendChild(ae),F.__resizeTriggers__.appendChild(ue),F.appendChild(F.__resizeTriggers__),u(F),F.addEventListener("scroll",p,!0),b&&(F.__resizeTriggers__.__animationListener__=function(ve){ve.animationName==j&&u(F)},F.__resizeTriggers__.addEventListener(b,F.__resizeTriggers__.__animationListener__))}F.__resizeListeners__.push(se)}},K=function(F,se){if(e)F.detachEvent("onresize",se);else if(F.__resizeListeners__.splice(F.__resizeListeners__.indexOf(se),1),!F.__resizeListeners__.length){F.removeEventListener("scroll",p,!0),F.__resizeTriggers__.__animationListener__&&(F.__resizeTriggers__.removeEventListener(b,F.__resizeTriggers__.__animationListener__),F.__resizeTriggers__.__animationListener__=null);try{F.__resizeTriggers__=!F.removeChild(F.__resizeTriggers__)}catch{}}};return{addResizeListener:O,removeResizeListener:K}}function zr(s,i){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(s);i&&(e=e.filter(function(a){return Object.getOwnPropertyDescriptor(s,a).enumerable})),r.push.apply(r,e)}return r}function Or(s){for(var i=1;i<arguments.length;i++){var r=arguments[i]!=null?arguments[i]:{};i%2?zr(Object(r),!0).forEach(function(e){M(s,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):zr(Object(r)).forEach(function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(r,e))})}return s}function qo(s,i,r){return i=xe(i),je(s,Pr()?Reflect.construct(i,r||[],xe(s).constructor):i.apply(s,r))}function Pr(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Pr=function(){return!!s})()}var bn=function(s){function i(){var r;Ae(this,i);for(var e=arguments.length,a=new Array(e),c=0;c<e;c++)a[c]=arguments[c];return r=qo(this,i,[].concat(a)),M(r,"state",{height:r.props.defaultHeight||0,width:r.props.defaultWidth||0}),M(r,"_parentNode",void 0),M(r,"_autoSizer",void 0),M(r,"_window",void 0),M(r,"_detectElementResize",void 0),M(r,"_onResize",function(){var u=r.props,h=u.disableHeight,p=u.disableWidth,m=u.onResize;if(r._parentNode){var S=r._parentNode.offsetHeight||0,b=r._parentNode.offsetWidth||0,R=r._window||window,C=R.getComputedStyle(r._parentNode)||{},E=parseInt(C.paddingLeft,10)||0,P=parseInt(C.paddingRight,10)||0,D=parseInt(C.paddingTop,10)||0,j=parseInt(C.paddingBottom,10)||0,V=S-D-j,L=b-E-P;(!h&&r.state.height!==V||!p&&r.state.width!==L)&&(r.setState({height:S-D-j,width:b-E-P}),m({height:S,width:b}))}}),M(r,"_setRef",function(u){r._autoSizer=u}),r}return Ne(i,s),De(i,[{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=Er(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,a=e.children,c=e.className,u=e.disableHeight,h=e.disableWidth,p=e.style,m=this.state,S=m.height,b=m.width,R={overflow:"visible"},C={};return u||(R.height=0,C.height=S),h||(R.width=0,C.width=b),ce.createElement("div",{className:c,ref:this._setRef,style:Or(Or({},R),p)},a(C))}}])}(ce.Component);M(bn,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}});function Vo(s,i,r){return i=xe(i),je(s,Mr()?Reflect.construct(i,r||[],xe(s).constructor):i.apply(s,r))}function Mr(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Mr=function(){return!!s})()}var kr=function(s){function i(){var r;Ae(this,i);for(var e=arguments.length,a=new Array(e),c=0;c<e;c++)a[c]=arguments[c];return r=Vo(this,i,[].concat(a)),M(r,"_child",ce.createRef()),M(r,"_measure",function(){var u=r.props,h=u.cache,p=u.columnIndex,m=p===void 0?0:p,S=u.parent,b=u.rowIndex,R=b===void 0?r.props.index||0:b,C=r._getCellMeasurements(),E=C.height,P=C.width;(E!==h.getHeight(R,m)||P!==h.getWidth(R,m))&&(h.set(R,m,P,E),S&&typeof S.recomputeGridSize=="function"&&S.recomputeGridSize({columnIndex:m,rowIndex:R}))}),M(r,"_registerChild",function(u){u&&!(u instanceof Element)&&console.warn("CellMeasurer registerChild expects to be passed Element or null"),r._child.current=u,u&&r._maybeMeasureCell()}),r}return Ne(i,s),De(i,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var e=this,a=this.props.children,c=typeof a=="function"?a({measure:this._measure,registerChild:this._registerChild}):a;return c===null?c:Z.cloneElement(c,{ref:function(h){typeof c.ref=="function"?c.ref(h):c.ref&&(c.ref.current=h),e._child.current=h}})}},{key:"_getCellMeasurements",value:function(){var e=this.props.cache,a=this._child.current;if(a&&a.ownerDocument&&a.ownerDocument.defaultView&&a instanceof a.ownerDocument.defaultView.HTMLElement){var c=a.style.width,u=a.style.height;e.hasFixedWidth()||(a.style.width="auto"),e.hasFixedHeight()||(a.style.height="auto");var h=Math.ceil(a.offsetHeight),p=Math.ceil(a.offsetWidth);return c&&(a.style.width=c),u&&(a.style.height=u),{height:h,width:p}}else return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function(){var e=this.props,a=e.cache,c=e.columnIndex,u=c===void 0?0:c,h=e.parent,p=e.rowIndex,m=p===void 0?this.props.index||0:p;if(!a.has(m,u)){var S=this._getCellMeasurements(),b=S.height,R=S.width;a.set(m,u,R,b),h&&typeof h.invalidateCellSizeAfterRender=="function"&&h.invalidateCellSizeAfterRender({columnIndex:u,rowIndex:m})}}}])}(ce.PureComponent);M(kr,"__internalCellMeasurerFlag",!1),process.env.NODE_ENV!=="production"&&(kr.__internalCellMeasurerFlag=!0);function Yo(s){if(s==null)throw new TypeError("Cannot destructure "+s)}function Xe(){return Xe=Object.assign?Object.assign.bind():function(s){for(var i=1;i<arguments.length;i++){var r=arguments[i];for(var e in r)({}).hasOwnProperty.call(r,e)&&(s[e]=r[e])}return s},Xe.apply(null,arguments)}var Qt={exports:{}},en={exports:{}},Ce={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ar;function Xo(){if(Ar)return Ce;Ar=1;var s=typeof Symbol=="function"&&Symbol.for,i=s?Symbol.for("react.element"):60103,r=s?Symbol.for("react.portal"):60106,e=s?Symbol.for("react.fragment"):60107,a=s?Symbol.for("react.strict_mode"):60108,c=s?Symbol.for("react.profiler"):60114,u=s?Symbol.for("react.provider"):60109,h=s?Symbol.for("react.context"):60110,p=s?Symbol.for("react.async_mode"):60111,m=s?Symbol.for("react.concurrent_mode"):60111,S=s?Symbol.for("react.forward_ref"):60112,b=s?Symbol.for("react.suspense"):60113,R=s?Symbol.for("react.suspense_list"):60120,C=s?Symbol.for("react.memo"):60115,E=s?Symbol.for("react.lazy"):60116,P=s?Symbol.for("react.block"):60121,D=s?Symbol.for("react.fundamental"):60117,j=s?Symbol.for("react.responder"):60118,V=s?Symbol.for("react.scope"):60119;function L(O){if(typeof O=="object"&&O!==null){var K=O.$$typeof;switch(K){case i:switch(O=O.type,O){case p:case m:case e:case c:case a:case b:return O;default:switch(O=O&&O.$$typeof,O){case h:case S:case E:case C:case u:return O;default:return K}}case r:return K}}}function W(O){return L(O)===m}return Ce.AsyncMode=p,Ce.ConcurrentMode=m,Ce.ContextConsumer=h,Ce.ContextProvider=u,Ce.Element=i,Ce.ForwardRef=S,Ce.Fragment=e,Ce.Lazy=E,Ce.Memo=C,Ce.Portal=r,Ce.Profiler=c,Ce.StrictMode=a,Ce.Suspense=b,Ce.isAsyncMode=function(O){return W(O)||L(O)===p},Ce.isConcurrentMode=W,Ce.isContextConsumer=function(O){return L(O)===h},Ce.isContextProvider=function(O){return L(O)===u},Ce.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===i},Ce.isForwardRef=function(O){return L(O)===S},Ce.isFragment=function(O){return L(O)===e},Ce.isLazy=function(O){return L(O)===E},Ce.isMemo=function(O){return L(O)===C},Ce.isPortal=function(O){return L(O)===r},Ce.isProfiler=function(O){return L(O)===c},Ce.isStrictMode=function(O){return L(O)===a},Ce.isSuspense=function(O){return L(O)===b},Ce.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===e||O===m||O===c||O===a||O===b||O===R||typeof O=="object"&&O!==null&&(O.$$typeof===E||O.$$typeof===C||O.$$typeof===u||O.$$typeof===h||O.$$typeof===S||O.$$typeof===D||O.$$typeof===j||O.$$typeof===V||O.$$typeof===P)},Ce.typeOf=L,Ce}var Re={};/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Dr;function Ko(){return Dr||(Dr=1,process.env.NODE_ENV!=="production"&&function(){var s=typeof Symbol=="function"&&Symbol.for,i=s?Symbol.for("react.element"):60103,r=s?Symbol.for("react.portal"):60106,e=s?Symbol.for("react.fragment"):60107,a=s?Symbol.for("react.strict_mode"):60108,c=s?Symbol.for("react.profiler"):60114,u=s?Symbol.for("react.provider"):60109,h=s?Symbol.for("react.context"):60110,p=s?Symbol.for("react.async_mode"):60111,m=s?Symbol.for("react.concurrent_mode"):60111,S=s?Symbol.for("react.forward_ref"):60112,b=s?Symbol.for("react.suspense"):60113,R=s?Symbol.for("react.suspense_list"):60120,C=s?Symbol.for("react.memo"):60115,E=s?Symbol.for("react.lazy"):60116,P=s?Symbol.for("react.block"):60121,D=s?Symbol.for("react.fundamental"):60117,j=s?Symbol.for("react.responder"):60118,V=s?Symbol.for("react.scope"):60119;function L(U){return typeof U=="string"||typeof U=="function"||U===e||U===m||U===c||U===a||U===b||U===R||typeof U=="object"&&U!==null&&(U.$$typeof===E||U.$$typeof===C||U.$$typeof===u||U.$$typeof===h||U.$$typeof===S||U.$$typeof===D||U.$$typeof===j||U.$$typeof===V||U.$$typeof===P)}function W(U){if(typeof U=="object"&&U!==null){var Ie=U.$$typeof;switch(Ie){case i:var ke=U.type;switch(ke){case p:case m:case e:case c:case a:case b:return ke;default:var Fe=ke&&ke.$$typeof;switch(Fe){case h:case S:case E:case C:case u:return Fe;default:return Ie}}case r:return Ie}}}var O=p,K=m,T=h,F=u,se=i,ne=S,J=e,ae=E,ue=C,de=r,ve=c,ge=a,fe=b,Te=!1;function me(U){return Te||(Te=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),x(U)||W(U)===p}function x(U){return W(U)===m}function z(U){return W(U)===h}function Y(U){return W(U)===u}function N(U){return typeof U=="object"&&U!==null&&U.$$typeof===i}function B(U){return W(U)===S}function X(U){return W(U)===e}function Q(U){return W(U)===E}function ie(U){return W(U)===C}function te(U){return W(U)===r}function k(U){return W(U)===c}function oe(U){return W(U)===a}function be(U){return W(U)===b}Re.AsyncMode=O,Re.ConcurrentMode=K,Re.ContextConsumer=T,Re.ContextProvider=F,Re.Element=se,Re.ForwardRef=ne,Re.Fragment=J,Re.Lazy=ae,Re.Memo=ue,Re.Portal=de,Re.Profiler=ve,Re.StrictMode=ge,Re.Suspense=fe,Re.isAsyncMode=me,Re.isConcurrentMode=x,Re.isContextConsumer=z,Re.isContextProvider=Y,Re.isElement=N,Re.isForwardRef=B,Re.isFragment=X,Re.isLazy=Q,Re.isMemo=ie,Re.isPortal=te,Re.isProfiler=k,Re.isStrictMode=oe,Re.isSuspense=be,Re.isValidElementType=L,Re.typeOf=W}()),Re}var Lr;function Gr(){return Lr||(Lr=1,process.env.NODE_ENV==="production"?en.exports=Xo():en.exports=Ko()),en.exports}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var wn,jr;function Jo(){if(jr)return wn;jr=1;var s=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function e(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function a(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var u={},h=0;h<10;h++)u["_"+String.fromCharCode(h)]=h;var p=Object.getOwnPropertyNames(u).map(function(S){return u[S]});if(p.join("")!=="0123456789")return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach(function(S){m[S]=S}),Object.keys(Object.assign({},m)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return wn=a()?Object.assign:function(c,u){for(var h,p=e(c),m,S=1;S<arguments.length;S++){h=Object(arguments[S]);for(var b in h)i.call(h,b)&&(p[b]=h[b]);if(s){m=s(h);for(var R=0;R<m.length;R++)r.call(h,m[R])&&(p[m[R]]=h[m[R]])}}return p},wn}var xn,Nr;function Cn(){if(Nr)return xn;Nr=1;var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return xn=s,xn}var Rn,Wr;function Fr(){return Wr||(Wr=1,Rn=Function.call.bind(Object.prototype.hasOwnProperty)),Rn}var Tn,Hr;function Zo(){if(Hr)return Tn;Hr=1;var s=function(){};if(process.env.NODE_ENV!=="production"){var i=Cn(),r={},e=Fr();s=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}}}function a(c,u,h,p,m){if(process.env.NODE_ENV!=="production"){for(var S in c)if(e(c,S)){var b;try{if(typeof c[S]!="function"){var R=Error((p||"React class")+": "+h+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}b=c[S](u,S,p,h,null,i)}catch(E){b=E}if(b&&!(b instanceof Error)&&s((p||"React class")+": type specification of "+h+" `"+S+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof b+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),b instanceof Error&&!(b.message in r)){r[b.message]=!0;var C=m?m():"";s("Failed "+h+" type: "+b.message+(C??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Tn=a,Tn}var In,$r;function Qo(){if($r)return In;$r=1;var s=Gr(),i=Jo(),r=Cn(),e=Fr(),a=Zo(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(h){var p="Warning: "+h;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}});function u(){return null}return In=function(h,p){var m=typeof Symbol=="function"&&Symbol.iterator,S="@@iterator";function b(x){var z=x&&(m&&x[m]||x[S]);if(typeof z=="function")return z}var R="<<anonymous>>",C={array:j("array"),bigint:j("bigint"),bool:j("boolean"),func:j("function"),number:j("number"),object:j("object"),string:j("string"),symbol:j("symbol"),any:V(),arrayOf:L,element:W(),elementType:O(),instanceOf:K,node:ne(),objectOf:F,oneOf:T,oneOfType:se,shape:ae,exact:ue};function E(x,z){return x===z?x!==0||1/x===1/z:x!==x&&z!==z}function P(x,z){this.message=x,this.data=z&&typeof z=="object"?z:{},this.stack=""}P.prototype=Error.prototype;function D(x){if(process.env.NODE_ENV!=="production")var z={},Y=0;function N(X,Q,ie,te,k,oe,be){if(te=te||R,oe=oe||ie,be!==r){if(p){var U=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 U.name="Invariant Violation",U}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ie=te+":"+ie;!z[Ie]&&Y<3&&(c("You are manually calling a React.PropTypes validation function for the `"+oe+"` prop on `"+te+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),z[Ie]=!0,Y++)}}return Q[ie]==null?X?Q[ie]===null?new P("The "+k+" `"+oe+"` is marked as required "+("in `"+te+"`, but its value is `null`.")):new P("The "+k+" `"+oe+"` is marked as required in "+("`"+te+"`, but its value is `undefined`.")):null:x(Q,ie,te,k,oe)}var B=N.bind(null,!1);return B.isRequired=N.bind(null,!0),B}function j(x){function z(Y,N,B,X,Q,ie){var te=Y[N],k=ge(te);if(k!==x){var oe=fe(te);return new P("Invalid "+X+" `"+Q+"` of type "+("`"+oe+"` supplied to `"+B+"`, expected ")+("`"+x+"`."),{expectedType:x})}return null}return D(z)}function V(){return D(u)}function L(x){function z(Y,N,B,X,Q){if(typeof x!="function")return new P("Property `"+Q+"` of component `"+B+"` has invalid PropType notation inside arrayOf.");var ie=Y[N];if(!Array.isArray(ie)){var te=ge(ie);return new P("Invalid "+X+" `"+Q+"` of type "+("`"+te+"` supplied to `"+B+"`, expected an array."))}for(var k=0;k<ie.length;k++){var oe=x(ie,k,B,X,Q+"["+k+"]",r);if(oe instanceof Error)return oe}return null}return D(z)}function W(){function x(z,Y,N,B,X){var Q=z[Y];if(!h(Q)){var ie=ge(Q);return new P("Invalid "+B+" `"+X+"` of type "+("`"+ie+"` supplied to `"+N+"`, expected a single ReactElement."))}return null}return D(x)}function O(){function x(z,Y,N,B,X){var Q=z[Y];if(!s.isValidElementType(Q)){var ie=ge(Q);return new P("Invalid "+B+" `"+X+"` of type "+("`"+ie+"` supplied to `"+N+"`, expected a single ReactElement type."))}return null}return D(x)}function K(x){function z(Y,N,B,X,Q){if(!(Y[N]instanceof x)){var ie=x.name||R,te=me(Y[N]);return new P("Invalid "+X+" `"+Q+"` of type "+("`"+te+"` supplied to `"+B+"`, expected ")+("instance of `"+ie+"`."))}return null}return D(z)}function T(x){if(!Array.isArray(x))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c("Invalid argument supplied to oneOf, expected an array.")),u;function z(Y,N,B,X,Q){for(var ie=Y[N],te=0;te<x.length;te++)if(E(ie,x[te]))return null;var k=JSON.stringify(x,function(be,U){var Ie=fe(U);return Ie==="symbol"?String(U):U});return new P("Invalid "+X+" `"+Q+"` of value `"+String(ie)+"` "+("supplied to `"+B+"`, expected one of "+k+"."))}return D(z)}function F(x){function z(Y,N,B,X,Q){if(typeof x!="function")return new P("Property `"+Q+"` of component `"+B+"` has invalid PropType notation inside objectOf.");var ie=Y[N],te=ge(ie);if(te!=="object")return new P("Invalid "+X+" `"+Q+"` of type "+("`"+te+"` supplied to `"+B+"`, expected an object."));for(var k in ie)if(e(ie,k)){var oe=x(ie,k,B,X,Q+"."+k,r);if(oe instanceof Error)return oe}return null}return D(z)}function se(x){if(!Array.isArray(x))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),u;for(var z=0;z<x.length;z++){var Y=x[z];if(typeof Y!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Te(Y)+" at index "+z+"."),u}function N(B,X,Q,ie,te){for(var k=[],oe=0;oe<x.length;oe++){var be=x[oe],U=be(B,X,Q,ie,te,r);if(U==null)return null;U.data&&e(U.data,"expectedType")&&k.push(U.data.expectedType)}var Ie=k.length>0?", expected one of type ["+k.join(", ")+"]":"";return new P("Invalid "+ie+" `"+te+"` supplied to "+("`"+Q+"`"+Ie+"."))}return D(N)}function ne(){function x(z,Y,N,B,X){return de(z[Y])?null:new P("Invalid "+B+" `"+X+"` supplied to "+("`"+N+"`, expected a ReactNode."))}return D(x)}function J(x,z,Y,N,B){return new P((x||"React class")+": "+z+" type `"+Y+"."+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function ae(x){function z(Y,N,B,X,Q){var ie=Y[N],te=ge(ie);if(te!=="object")return new P("Invalid "+X+" `"+Q+"` of type `"+te+"` "+("supplied to `"+B+"`, expected `object`."));for(var k in x){var oe=x[k];if(typeof oe!="function")return J(B,X,Q,k,fe(oe));var be=oe(ie,k,B,X,Q+"."+k,r);if(be)return be}return null}return D(z)}function ue(x){function z(Y,N,B,X,Q){var ie=Y[N],te=ge(ie);if(te!=="object")return new P("Invalid "+X+" `"+Q+"` of type `"+te+"` "+("supplied to `"+B+"`, expected `object`."));var k=i({},Y[N],x);for(var oe in k){var be=x[oe];if(e(x,oe)&&typeof be!="function")return J(B,X,Q,oe,fe(be));if(!be)return new P("Invalid "+X+" `"+Q+"` key `"+oe+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(Y[N],null," ")+`
Valid keys: `+JSON.stringify(Object.keys(x),null," "));var U=be(ie,oe,B,X,Q+"."+oe,r);if(U)return U}return null}return D(z)}function de(x){switch(typeof x){case"number":case"string":case"undefined":return!0;case"boolean":return!x;case"object":if(Array.isArray(x))return x.every(de);if(x===null||h(x))return!0;var z=b(x);if(z){var Y=z.call(x),N;if(z!==x.entries){for(;!(N=Y.next()).done;)if(!de(N.value))return!1}else for(;!(N=Y.next()).done;){var B=N.value;if(B&&!de(B[1]))return!1}}else return!1;return!0;default:return!1}}function ve(x,z){return x==="symbol"?!0:z?z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&z instanceof Symbol:!1}function ge(x){var z=typeof x;return Array.isArray(x)?"array":x instanceof RegExp?"object":ve(z,x)?"symbol":z}function fe(x){if(typeof x>"u"||x===null)return""+x;var z=ge(x);if(z==="object"){if(x instanceof Date)return"date";if(x instanceof RegExp)return"regexp"}return z}function Te(x){var z=fe(x);switch(z){case"array":case"object":return"an "+z;case"boolean":case"date":case"regexp":return"a "+z;default:return z}}function me(x){return!x.constructor||!x.constructor.name?R:x.constructor.name}return C.checkPropTypes=a,C.resetWarningCache=a.resetWarningCache,C.PropTypes=C,C},In}var En,Ur;function es(){if(Ur)return En;Ur=1;var s=Cn();function i(){}function r(){}return r.resetWarningCache=i,En=function(){function e(u,h,p,m,S,b){if(b!==s){var R=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 R.name="Invariant Violation",R}}e.isRequired=e;function a(){return e}var c={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:a,element:e,elementType:e,instanceOf:a,node:e,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:i};return c.PropTypes=c,c},En}var Br;function ts(){if(Br)return Qt.exports;if(Br=1,process.env.NODE_ENV!=="production"){var s=Gr(),i=!0;Qt.exports=Qo()(s.isElement,i)}else Qt.exports=es()();return Qt.exports}var ns=ts();const G=vr(ns);function qr(s){var i,r,e="";if(typeof s=="string"||typeof s=="number")e+=s;else if(typeof s=="object")if(Array.isArray(s))for(i=0;i<s.length;i++)s[i]&&(r=qr(s[i]))&&(e&&(e+=" "),e+=r);else for(i in s)s[i]&&(e&&(e+=" "),e+=i);return e}function Je(){for(var s,i,r=0,e="";r<arguments.length;)(s=arguments[r++])&&(i=qr(s))&&(e&&(e+=" "),e+=i);return e}function Ct(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,i={};return function(r){var e=r.callback,a=r.indices,c=Object.keys(a),u=!s||c.every(function(p){var m=a[p];return Array.isArray(m)?m.length>0:m>=0}),h=c.length!==Object.keys(i).length||c.some(function(p){var m=i[p],S=a[p];return Array.isArray(S)?m.join(",")!==S.join(","):m!==S});i=a,u&&h&&e(a)}}const rs=!!(typeof window<"u"&&window.document&&window.document.createElement);var tn;function zn(s){if((!tn&&tn!==0||s)&&rs){var i=document.createElement("div");i.style.position="absolute",i.style.top="-9999px",i.style.width="50px",i.style.height="50px",i.style.overflow="scroll",document.body.appendChild(i),tn=i.offsetWidth-i.clientWidth,document.body.removeChild(i)}return tn}function Vr(s,i){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(s);i&&(e=e.filter(function(a){return Object.getOwnPropertyDescriptor(s,a).enumerable})),r.push.apply(r,e)}return r}function Yr(s){for(var i=1;i<arguments.length;i++){var r=arguments[i]!=null?arguments[i]:{};i%2?Vr(Object(r),!0).forEach(function(e){M(s,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):Vr(Object(r)).forEach(function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(r,e))})}return s}function is(s,i,r){return i=xe(i),je(s,Xr()?Reflect.construct(i,r||[],xe(s).constructor):i.apply(s,r))}function Xr(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Xr=function(){return!!s})()}var os=150,Rt={OBSERVED:"observed",REQUESTED:"requested"},nn=function(s){function i(){var r;Ae(this,i);for(var e=arguments.length,a=new Array(e),c=0;c<e;c++)a[c]=arguments[c];return r=is(this,i,[].concat(a)),M(r,"state",{isScrolling:!1,scrollLeft:0,scrollTop:0}),M(r,"_calculateSizeAndPositionDataOnNextUpdate",!1),M(r,"_onSectionRenderedMemoizer",Ct()),M(r,"_onScrollMemoizer",Ct(!1)),M(r,"_invokeOnSectionRenderedHelper",function(){var u=r.props,h=u.cellLayoutManager,p=u.onSectionRendered;r._onSectionRenderedMemoizer({callback:p,indices:{indices:h.getLastRenderedIndices()}})}),M(r,"_setScrollingContainerRef",function(u){r._scrollingContainer=u}),M(r,"_updateScrollPositionForScrollToCell",function(){var u=r.props,h=u.cellLayoutManager,p=u.height,m=u.scrollToAlignment,S=u.scrollToCell,b=u.width,R=r.state,C=R.scrollLeft,E=R.scrollTop;if(S>=0){var P=h.getScrollPositionForCell({align:m,cellIndex:S,height:p,scrollLeft:C,scrollTop:E,width:b});(P.scrollLeft!==C||P.scrollTop!==E)&&r._setScrollPosition(P)}}),M(r,"_onScroll",function(u){if(u.target===r._scrollingContainer){r._enablePointerEventsAfterDelay();var h=r.props,p=h.cellLayoutManager,m=h.height,S=h.isScrollingChange,b=h.width,R=r._scrollbarSize,C=p.getTotalSize(),E=C.height,P=C.width,D=Math.max(0,Math.min(P-b+R,u.target.scrollLeft)),j=Math.max(0,Math.min(E-m+R,u.target.scrollTop));if(r.state.scrollLeft!==D||r.state.scrollTop!==j){var V=u.cancelable?Rt.OBSERVED:Rt.REQUESTED;r.state.isScrolling||S(!0),r.setState({isScrolling:!0,scrollLeft:D,scrollPositionChangeReason:V,scrollTop:j})}r._invokeOnScrollMemoizer({scrollLeft:D,scrollTop:j,totalWidth:P,totalHeight:E})}}),r._scrollbarSize=zn(),r._scrollbarSize===void 0?(r._scrollbarSizeMeasured=!1,r._scrollbarSize=0):r._scrollbarSizeMeasured=!0,r}return Ne(i,s),De(i,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,a=e.cellLayoutManager,c=e.scrollLeft,u=e.scrollToCell,h=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=zn(),this._scrollbarSizeMeasured=!0,this.setState({})),u>=0?this._updateScrollPositionForScrollToCell():(c>=0||h>=0)&&this._setScrollPosition({scrollLeft:c,scrollTop:h}),this._invokeOnSectionRenderedHelper();var p=a.getTotalSize(),m=p.height,S=p.width;this._invokeOnScrollMemoizer({scrollLeft:c||0,scrollTop:h||0,totalHeight:m,totalWidth:S})}},{key:"componentDidUpdate",value:function(e,a){var c=this.props,u=c.height,h=c.scrollToAlignment,p=c.scrollToCell,m=c.width,S=this.state,b=S.scrollLeft,R=S.scrollPositionChangeReason,C=S.scrollTop;R===Rt.REQUESTED&&(b>=0&&b!==a.scrollLeft&&b!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=b),C>=0&&C!==a.scrollTop&&C!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=C)),(u!==e.height||h!==e.scrollToAlignment||p!==e.scrollToCell||m!==e.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,a=e.autoHeight,c=e.cellCount,u=e.cellLayoutManager,h=e.className,p=e.height,m=e.horizontalOverscanSize,S=e.id,b=e.noContentRenderer,R=e.style,C=e.verticalOverscanSize,E=e.width,P=this.state,D=P.isScrolling,j=P.scrollLeft,V=P.scrollTop;(this._lastRenderedCellCount!==c||this._lastRenderedCellLayoutManager!==u||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=c,this._lastRenderedCellLayoutManager=u,this._calculateSizeAndPositionDataOnNextUpdate=!1,u.calculateSizeAndPositionData());var L=u.getTotalSize(),W=L.height,O=L.width,K=Math.max(0,j-m),T=Math.max(0,V-C),F=Math.min(O,j+E+m),se=Math.min(W,V+p+C),ne=p>0&&E>0?u.cellRenderers({height:se-T,isScrolling:D,width:F-K,x:K,y:T}):[],J={boxSizing:"border-box",direction:"ltr",height:a?"auto":p,position:"relative",WebkitOverflowScrolling:"touch",width:E,willChange:"transform"},ae=W>p?this._scrollbarSize:0,ue=O>E?this._scrollbarSize:0;return J.overflowX=O+ae<=E?"hidden":"auto",J.overflowY=W+ue<=p?"hidden":"auto",ce.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Je("ReactVirtualized__Collection",h),id:S,onScroll:this._onScroll,role:"grid",style