@hpcc-js/dgrid2 2.5.4 → 2.5.6
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/dist/index.es6.js +2 -2
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +4 -4
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self)["@hpcc-js/dgrid2"]={},e["@hpcc-js/common"])}(this,function(e,o){"use strict";var n=function(e,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])},n(e,o)};var t=function(){return t=Object.assign||function(e){for(var o,n=1,t=arguments.length;n<t;n++)for(var r in o=arguments[n])Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);return e},t.apply(this,arguments)};function r(e,o,n,t){var r,l=arguments.length,i=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,n,t);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(l<3?r(i):l>3?r(o,n,i):r(o,n))||i);return l>3&&i&&Object.defineProperty(o,n,i),i}function l(e,o){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,o)}function i(e,o,n){if(n||2===arguments.length)for(var t,r=0,l=o.length;r<l;r++)!t&&r in o||(t||(t=Array.prototype.slice.call(o,0,r)),t[r]=o[r]);return e.concat(t||Array.prototype.slice.call(o))}"function"==typeof SuppressedError&&SuppressedError;var c,a,u,s,d,_,f,p,h,v,g,m,y={},w=[],x=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=Array.isArray;function C(e,o){for(var n in o)e[n]=o[n];return e}function k(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function R(e,o,n){var t,r,l,i={};for(l in o)"key"==l?t=o[l]:"ref"==l?r=o[l]:i[l]=o[l];if(arguments.length>2&&(i.children=arguments.length>3?c.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===i[l]&&(i[l]=e.defaultProps[l]);return I(e,i,t,r,null)}function I(e,o,n,t,r){var l={type:e,props:o,key:n,ref:t,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==r?++u:r,__i:-1,__u:0};return null==r&&null!=a.vnode&&a.vnode(l),l}function S(e){return e.children}function E(e,o){this.props=e,this.context=o}function z(e,o){if(null==o)return e.__?z(e.__,e.__i+1):null;for(var n;o<e.__k.length;o++)if(null!=(n=e.__k[o])&&null!=n.__e)return n.__e;return"function"==typeof e.type?z(e):null}function P(e){var o,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,o=0;o<e.__k.length;o++)if(null!=(n=e.__k[o])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function N(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!T.__r++||d!=a.debounceRendering)&&((d=a.debounceRendering)||_)(T)}function T(){for(var e,o,n,t,r,l,i,c=1;s.length;)s.length>c&&s.sort(f),e=s.shift(),c=s.length,e.__d&&(n=void 0,t=void 0,r=(t=(o=e).__v).__e,l=[],i=[],o.__P&&((n=C({},t)).__v=t.__v+1,a.vnode&&a.vnode(n),W(o.__P,n,t,o.__n,o.__P.namespaceURI,32&t.__u?[r]:null,l,null==r?z(t):r,!!(32&t.__u),i),n.__v=t.__v,n.__.__k[n.__i]=n,K(l,n,i),t.__e=t.__=null,n.__e!=r&&P(n)));T.__r=0}function O(e,o,n,t,r,l,i,c,a,u,s){var d,_,f,p,h,v,g,m=t&&t.__k||w,x=o.length;for(a=function(e,o,n,t,r){var l,i,c,a,u,s=n.length,d=s,_=0;for(e.__k=new Array(r),l=0;l<r;l++)null!=(i=o[l])&&"boolean"!=typeof i&&"function"!=typeof i?("string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?i=e.__k[l]=I(null,i,null,null,null):b(i)?i=e.__k[l]=I(S,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?i=e.__k[l]=I(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):e.__k[l]=i,a=l+_,i.__=e,i.__b=e.__b+1,c=null,-1!=(u=i.__i=H(i,n,a,d))&&(d--,(c=n[u])&&(c.__u|=2)),null==c||null==c.__v?(-1==u&&(r>s?_--:r<s&&_++),"function"!=typeof i.type&&(i.__u|=4)):u!=a&&(u==a-1?_--:u==a+1?_++:(u>a?_--:_++,i.__u|=4))):e.__k[l]=null;if(d)for(l=0;l<s;l++)null!=(c=n[l])&&!(2&c.__u)&&(c.__e==t&&(t=z(c)),$(c,c));return t}(n,o,m,a,x),d=0;d<x;d++)null!=(f=n.__k[d])&&(_=-1==f.__i?y:m[f.__i]||y,f.__i=d,v=W(e,f,_,r,l,i,c,a,u,s),p=f.__e,f.ref&&_.ref!=f.ref&&(_.ref&&B(_.ref,null,f),s.push(f.ref,f.__c||p,f)),null==h&&null!=p&&(h=p),(g=!!(4&f.__u))||_.__k===f.__k?a=F(f,a,e,g):"function"==typeof f.type&&void 0!==v?a=v:p&&(a=p.nextSibling),f.__u&=-7);return n.__e=h,a}function F(e,o,n,t){var r,l;if("function"==typeof e.type){for(r=e.__k,l=0;r&&l<r.length;l++)r[l]&&(r[l].__=e,o=F(r[l],o,n,t));return o}e.__e!=o&&(t&&(o&&e.type&&!o.parentNode&&(o=z(e)),n.insertBefore(e.__e,o||null)),o=e.__e);do{o=o&&o.nextSibling}while(null!=o&&8==o.nodeType);return o}function D(e,o){return o=o||[],null==e||"boolean"==typeof e||(b(e)?e.some(function(e){D(e,o)}):o.push(e)),o}function H(e,o,n,t){var r,l,i,c=e.key,a=e.type,u=o[n],s=null!=u&&!(2&u.__u);if(null===u&&null==c||s&&c==u.key&&a==u.type)return n;if(t>(s?1:0))for(r=n-1,l=n+1;r>=0||l<o.length;)if(null!=(u=o[i=r>=0?r--:l++])&&!(2&u.__u)&&c==u.key&&a==u.type)return i;return-1}function A(e,o,n){"-"==o[0]?e.setProperty(o,null==n?"":n):e[o]=null==n?"":"number"!=typeof n||x.test(o)?n:n+"px"}function L(e,o,n,t,r){var l,i;e:if("style"==o)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof t&&(e.style.cssText=t=""),t)for(o in t)n&&o in n||A(e.style,o,"");if(n)for(o in n)t&&n[o]==t[o]||A(e.style,o,n[o])}else if("o"==o[0]&&"n"==o[1])l=o!=(o=o.replace(p,"$1")),i=o.toLowerCase(),o=i in e||"onFocusOut"==o||"onFocusIn"==o?i.slice(2):o.slice(2),e.l||(e.l={}),e.l[o+l]=n,n?t?n.u=t.u:(n.u=h,e.addEventListener(o,l?g:v,l)):e.removeEventListener(o,l?g:v,l);else{if("http://www.w3.org/2000/svg"==r)o=o.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=o&&"height"!=o&&"href"!=o&&"list"!=o&&"form"!=o&&"tabIndex"!=o&&"download"!=o&&"rowSpan"!=o&&"colSpan"!=o&&"role"!=o&&"popover"!=o&&o in e)try{e[o]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=o[4]?e.removeAttribute(o):e.setAttribute(o,"popover"==o&&1==n?"":n))}}function M(e){return function(o){if(this.l){var n=this.l[o.type+e];if(null==o.t)o.t=h++;else if(o.t<n.u)return;return n(a.event?a.event(o):o)}}}function W(e,o,n,t,r,l,i,c,u,s){var d,_,f,p,h,v,g,m,y,w,x,R,I,z,P,N,T,F=o.type;if(void 0!==o.constructor)return null;128&n.__u&&(u=!!(32&n.__u),l=[c=o.__e=n.__e]),(d=a.__b)&&d(o);e:if("function"==typeof F)try{if(m=o.props,y="prototype"in F&&F.prototype.render,w=(d=F.contextType)&&t[d.__c],x=d?w?w.props.value:d.__:t,n.__c?g=(_=o.__c=n.__c).__=_.__E:(y?o.__c=_=new F(m,x):(o.__c=_=new E(m,x),_.constructor=F,_.render=V),w&&w.sub(_),_.state||(_.state={}),_.__n=t,f=_.__d=!0,_.__h=[],_._sb=[]),y&&null==_.__s&&(_.__s=_.state),y&&null!=F.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=C({},_.__s)),C(_.__s,F.getDerivedStateFromProps(m,_.__s))),p=_.props,h=_.state,_.__v=o,f)y&&null==F.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),y&&null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(y&&null==F.getDerivedStateFromProps&&m!==p&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(m,x),o.__v==n.__v||!_.__e&&null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(m,_.__s,x)){for(o.__v!=n.__v&&(_.props=m,_.state=_.__s,_.__d=!1),o.__e=n.__e,o.__k=n.__k,o.__k.some(function(e){e&&(e.__=o)}),R=0;R<_._sb.length;R++)_.__h.push(_._sb[R]);_._sb=[],_.__h.length&&i.push(_);break e}null!=_.componentWillUpdate&&_.componentWillUpdate(m,_.__s,x),y&&null!=_.componentDidUpdate&&_.__h.push(function(){_.componentDidUpdate(p,h,v)})}if(_.context=x,_.props=m,_.__P=e,_.__e=!1,I=a.__r,z=0,y){for(_.state=_.__s,_.__d=!1,I&&I(o),d=_.render(_.props,_.state,_.context),P=0;P<_._sb.length;P++)_.__h.push(_._sb[P]);_._sb=[]}else do{_.__d=!1,I&&I(o),d=_.render(_.props,_.state,_.context),_.state=_.__s}while(_.__d&&++z<25);_.state=_.__s,null!=_.getChildContext&&(t=C(C({},t),_.getChildContext())),y&&!f&&null!=_.getSnapshotBeforeUpdate&&(v=_.getSnapshotBeforeUpdate(p,h)),N=d,null!=d&&d.type===S&&null==d.key&&(N=U(d.props.children)),c=O(e,b(N)?N:[N],o,n,t,r,l,i,c,u,s),_.base=o.__e,o.__u&=-161,_.__h.length&&i.push(_),g&&(_.__E=_.__=null)}catch(e){if(o.__v=null,u||null!=l)if(e.then){for(o.__u|=u?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;l[l.indexOf(c)]=null,o.__e=c}else{for(T=l.length;T--;)k(l[T]);G(o)}else o.__e=n.__e,o.__k=n.__k,e.then||G(o);a.__e(e,o,n)}else null==l&&o.__v==n.__v?(o.__k=n.__k,o.__e=n.__e):c=o.__e=j(n.__e,o,n,t,r,l,i,u,s);return(d=a.diffed)&&d(o),128&o.__u?void 0:c}function G(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(G)}function K(e,o,n){for(var t=0;t<n.length;t++)B(n[t],n[++t],n[++t]);a.__c&&a.__c(o,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(e){e.call(o)})}catch(e){a.__e(e,o.__v)}})}function U(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:b(e)?e.map(U):C({},e)}function j(e,o,n,t,r,l,i,u,s){var d,_,f,p,h,v,g,m=n.props||y,w=o.props,x=o.type;if("svg"==x?r="http://www.w3.org/2000/svg":"math"==x?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=l)for(d=0;d<l.length;d++)if((h=l[d])&&"setAttribute"in h==!!x&&(x?h.localName==x:3==h.nodeType)){e=h,l[d]=null;break}if(null==e){if(null==x)return document.createTextNode(w);e=document.createElementNS(r,x,w.is&&w),u&&(a.__m&&a.__m(o,l),u=!1),l=null}if(null==x)m===w||u&&e.data==w||(e.data=w);else{if(l=l&&c.call(e.childNodes),!u&&null!=l)for(m={},d=0;d<e.attributes.length;d++)m[(h=e.attributes[d]).name]=h.value;for(d in m)if(h=m[d],"children"==d);else if("dangerouslySetInnerHTML"==d)f=h;else if(!(d in w)){if("value"==d&&"defaultValue"in w||"checked"==d&&"defaultChecked"in w)continue;L(e,d,null,h,r)}for(d in w)h=w[d],"children"==d?p=h:"dangerouslySetInnerHTML"==d?_=h:"value"==d?v=h:"checked"==d?g=h:u&&"function"!=typeof h||m[d]===h||L(e,d,h,m[d],r);if(_)u||f&&(_.__html==f.__html||_.__html==e.innerHTML)||(e.innerHTML=_.__html),o.__k=[];else if(f&&(e.innerHTML=""),O("template"==o.type?e.content:e,b(p)?p:[p],o,n,t,"foreignObject"==x?"http://www.w3.org/1999/xhtml":r,l,i,l?l[0]:n.__k&&z(n,0),u,s),null!=l)for(d=l.length;d--;)k(l[d]);u||(d="value","progress"==x&&null==v?e.removeAttribute("value"):null!=v&&(v!==e[d]||"progress"==x&&!v||"option"==x&&v!=m[d])&&L(e,d,v,m[d],r),d="checked",null!=g&&g!=e[d]&&L(e,d,g,m[d],r))}return e}function B(e,o,n){try{if("function"==typeof e){var t="function"==typeof e.__u;t&&e.__u(),t&&null==o||(e.__u=e(o))}else e.current=o}catch(e){a.__e(e,n)}}function $(e,o,n){var t,r;if(a.unmount&&a.unmount(e),(t=e.ref)&&(t.current&&t.current!=e.__e||B(t,null,o)),null!=(t=e.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(e){a.__e(e,o)}t.base=t.__P=null}if(t=e.__k)for(r=0;r<t.length;r++)t[r]&&$(t[r],o,n||"function"!=typeof e.type);n||k(e.__e),e.__c=e.__=e.__e=void 0}function V(e,o,n){return this.constructor(e,n)}function q(e,o,n){var t,r,l;o==document&&(o=document.documentElement),a.__&&a.__(e,o),t=!1?null:o.__k,r=[],l=[],W(o,e=o.__k=R(S,null,[e]),t||y,y,o.namespaceURI,t?null:o.firstChild?c.call(o.childNodes):null,r,t?t.__e:o.firstChild,false,l),K(r,e,l)}function J(e){function o(e){var n,t;return this.getChildContext||(n=new Set,(t={})[o.__c]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,N(e)})},this.sub=function(e){n.add(e);var o=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),o&&o.call(e)}}),e.children}return o.__c="__cC"+m++,o.__=e,o.Provider=o.__l=(o.Consumer=function(e,o){return e.children(o)}).contextType=o,o}c=w.slice,a={__e:function(e,o,n,t){for(var r,l,i;o=o.__;)if((r=o.__c)&&!r.__)try{if((l=r.constructor)&&null!=l.getDerivedStateFromError&&(r.setState(l.getDerivedStateFromError(e)),i=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,t||{}),i=r.__d),i)return r.__E=r}catch(o){e=o}throw e}},u=0,E.prototype.setState=function(e,o){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=C({},this.state),"function"==typeof e&&(e=e(C({},n),this.props)),e&&C(n,e),null!=e&&this.__v&&(o&&this._sb.push(o),N(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),N(this))},E.prototype.render=S,s=[],_="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,o){return e.__v.__b-o.__v.__b},T.__r=0,p=/(PointerCapture)$|Capture$/i,h=0,v=M(!1),g=M(!0),m=0;var X,Y,Z,Q,ee=0,oe=[],ne=a,te=ne.__b,re=ne.__r,le=ne.diffed,ie=ne.__c,ce=ne.unmount,ae=ne.__;function ue(e,o){ne.__h&&ne.__h(Y,e,ee||o),ee=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function se(e){return ee=1,function(e,o,n){var t=ue(X++,2);if(t.t=e,!t.__c&&(t.__=[n?n(o):Ce(void 0,o),function(e){var o=t.__N?t.__N[0]:t.__[0],n=t.t(o,e);o!==n&&(t.__N=[n,t.__[1]],t.__c.setState({}))}],t.__c=Y,!Y.__f)){var r=function(e,o,n){if(!t.__c.__H)return!0;var r=t.__c.__H.__.filter(function(e){return!!e.__c});if(r.every(function(e){return!e.__N}))return!l||l.call(this,e,o,n);var i=t.__c.props!==e;return r.forEach(function(e){if(e.__N){var o=e.__[0];e.__=e.__N,e.__N=void 0,o!==e.__[0]&&(i=!0)}}),l&&l.call(this,e,o,n)||i};Y.__f=!0;var l=Y.shouldComponentUpdate,i=Y.componentWillUpdate;Y.componentWillUpdate=function(e,o,n){if(this.__e){var t=l;l=void 0,r(e,o,n),l=t}i&&i.call(this,e,o,n)},Y.shouldComponentUpdate=r}return t.__N||t.__}(Ce,e)}function de(e,o){var n=ue(X++,3);!ne.__s&&be(n.__H,o)&&(n.__=e,n.u=o,Y.__H.__h.push(n))}function _e(e,o){var n=ue(X++,4);!ne.__s&&be(n.__H,o)&&(n.__=e,n.u=o,Y.__h.push(n))}function fe(e){return ee=5,pe(function(){return{current:e}},[])}function pe(e,o){var n=ue(X++,7);return be(n.__H,o)&&(n.__=e(),n.__H=o,n.__h=e),n.__}function he(e,o){return ee=8,pe(function(){return e},o)}function ve(e){var o=Y.context[e.__c],n=ue(X++,9);return n.c=e,o?(null==n.__&&(n.__=!0,o.sub(Y)),o.props.value):e.__}function ge(){for(var e;e=oe.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(we),e.__H.__h.forEach(xe),e.__H.__h=[]}catch(o){e.__H.__h=[],ne.__e(o,e.__v)}}ne.__b=function(e){Y=null,te&&te(e)},ne.__=function(e,o){e&&o.__k&&o.__k.__m&&(e.__m=o.__k.__m),ae&&ae(e,o)},ne.__r=function(e){re&&re(e),X=0;var o=(Y=e.__c).__H;o&&(Z===Y?(o.__h=[],Y.__h=[],o.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(o.__h.forEach(we),o.__h.forEach(xe),o.__h=[],X=0)),Z=Y},ne.diffed=function(e){le&&le(e);var o=e.__c;o&&o.__H&&(o.__H.__h.length&&(1!==oe.push(o)&&Q===ne.requestAnimationFrame||((Q=ne.requestAnimationFrame)||ye)(ge)),o.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),Z=Y=null},ne.__c=function(e,o){o.some(function(e){try{e.__h.forEach(we),e.__h=e.__h.filter(function(e){return!e.__||xe(e)})}catch(n){o.some(function(e){e.__h&&(e.__h=[])}),o=[],ne.__e(n,e.__v)}}),ie&&ie(e,o)},ne.unmount=function(e){ce&&ce(e);var o,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{we(e)}catch(e){o=e}}),n.__H=void 0,o&&ne.__e(o,n.__v))};var me="function"==typeof requestAnimationFrame;function ye(e){var o,n=function(){clearTimeout(t),me&&cancelAnimationFrame(o),setTimeout(e)},t=setTimeout(n,35);me&&(o=requestAnimationFrame(n))}function we(e){var o=Y,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Y=o}function xe(e){var o=Y;e.__c=e.__(),Y=o}function be(e,o){return!e||e.length!==o.length||o.some(function(o,n){return o!==e[n]})}function Ce(e,o){return"function"==typeof o?o(e):o}function ke(e,o){for(var n in o)e[n]=o[n];return e}function Re(e,o){for(var n in e)if("__source"!==n&&!(n in o))return!0;for(var t in o)if("__source"!==t&&e[t]!==o[t])return!0;return!1}function Ie(e,o){this.props=e,this.context=o}function Se(e,o){function n(e){var n=this.props.ref,t=n==e.ref;return!t&&n&&(n.call?n(null):n.current=null),o?!o(this.props,e)||!t:Re(this.props,e)}function t(o){return this.shouldComponentUpdate=n,R(e,o)}return t.displayName="Memo("+(e.displayName||e.name)+")",t.prototype.isReactComponent=!0,t.__f=!0,t.type=e,t}(Ie.prototype=new E).isPureReactComponent=!0,Ie.prototype.shouldComponentUpdate=function(e,o){return Re(this.props,e)||Re(this.state,o)};var Ee=a.__b;a.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ee&&Ee(e)};var ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Pe(e){function o(o){var n=ke({},o);return delete n.ref,e(n,o.ref||null)}return o.$$typeof=ze,o.render=e,o.prototype.isReactComponent=o.__f=!0,o.displayName="ForwardRef("+(e.displayName||e.name)+")",o}var Ne=a.__e;a.__e=function(e,o,n,t){if(e.then)for(var r,l=o;l=l.__;)if((r=l.__c)&&r.__c)return null==o.__e&&(o.__e=n.__e,o.__k=n.__k),r.__c(e,o);Ne(e,o,n,t)};var Te=a.unmount;function Oe(e,o,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=ke({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=o),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return Oe(e,o,n)})),e}function Fe(e,o,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Fe(e,o,n)}),e.__c&&e.__c.__P===o&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function De(){this.__u=0,this.o=null,this.__b=null}function He(e){if(!e.__)return null;var o=e.__.__c;return o&&o.__a&&o.__a(e)}function Ae(){this.i=null,this.l=null}a.unmount=function(e){var o=e.__c;o&&(o.__z=!0),o&&o.__R&&o.__R(),o&&32&e.__u&&(e.type=null),Te&&Te(e)},(De.prototype=new E).__c=function(e,o){var n=o.__c,t=this;null==t.o&&(t.o=[]),t.o.push(n);var r=He(t.__v),l=!1,i=function(){l||t.__z||(l=!0,n.__R=null,r?r(a):a())};n.__R=i;var c=n.__P;n.__P=null;var a=function(){if(! --t.__u){if(t.state.__a){var e=t.state.__a;t.__v.__k[0]=Fe(e,e.__c.__P,e.__c.__O)}var o;for(t.setState({__a:t.__b=null});o=t.o.pop();)o.__P=c,o.forceUpdate()}};t.__u++||32&o.__u||t.setState({__a:t.__b=t.__v.__k[0]}),e.then(i,i)},De.prototype.componentWillUnmount=function(){this.o=[]},De.prototype.render=function(e,o){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),t=this.__v.__k[0].__c;this.__v.__k[0]=Oe(this.__b,n,t.__O=t.__P)}this.__b=null}var r=o.__a&&R(S,null,e.fallback);return r&&(r.__u&=-33),[R(S,null,o.__a?null:e.children),r]};var Le=function(e,o,n){if(++n[1]===n[0]&&e.l.delete(o),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Me(e){return this.getChildContext=function(){return e.context},e.children}function We(e){var o=this,n=e.h;if(o.componentWillUnmount=function(){q(null,o.v),o.v=null,o.h=null},o.h&&o.h!==n&&o.componentWillUnmount(),!o.v){for(var t=o.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;o.h=n,o.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:t.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),o.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),o.h.removeChild(e)}}}q(R(Me,{context:o.context},e.__v),o.v)}function Ge(e,o){var n=R(We,{__v:e,h:o});return n.containerInfo=o,n}(Ae.prototype=new E).__a=function(e){var o=this,n=He(o.__v),t=o.l.get(e);return t[0]++,function(r){var l=function(){o.props.revealOrder?(t.push(r),Le(o,e,t)):r()};n?n(l):l()}},Ae.prototype.render=function(e){this.i=null,this.l=new Map;var o=D(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&o.reverse();for(var n=o.length;n--;)this.l.set(o[n],this.i=[1,0,this.i]);return e.children},Ae.prototype.componentDidUpdate=Ae.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(o,n){Le(e,n,o)})};var Ke="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ue=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,je=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Be=/[A-Z0-9]/g,$e="undefined"!=typeof document,Ve=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};E.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(o){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:o})}})});var qe=a.event;function Je(){}function Xe(){return this.cancelBubble}function Ye(){return this.defaultPrevented}a.event=function(e){return qe&&(e=qe(e)),e.persist=Je,e.isPropagationStopped=Xe,e.isDefaultPrevented=Ye,e.nativeEvent=e};var Ze={enumerable:!1,configurable:!0,get:function(){return this.class}},Qe=a.vnode;a.vnode=function(e){"string"==typeof e.type&&function(e){var o=e.props,n=e.type,t={},r=-1===n.indexOf("-");for(var l in o){var i=o[l];if(!("value"===l&&"defaultValue"in o&&null==i||$e&&"children"===l&&"noscript"===n||"class"===l||"className"===l)){var c=l.toLowerCase();"defaultValue"===l&&"value"in o&&null==o.value?l="value":"download"===l&&!0===i?i="":"translate"===c&&"no"===i?i=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?l="ondblclick":"onchange"!==c||"input"!==n&&"textarea"!==n||Ve(o.type)?"onfocus"===c?l="onfocusin":"onblur"===c?l="onfocusout":je.test(l)&&(l=c):c=l="oninput":r&&Ue.test(l)?l=l.replace(Be,"-$&").toLowerCase():null===i&&(i=void 0),"oninput"===c&&t[l=c]&&(l="oninputCapture"),t[l]=i}}"select"==n&&t.multiple&&Array.isArray(t.value)&&(t.value=D(o.children).forEach(function(e){e.props.selected=-1!=t.value.indexOf(e.props.value)})),"select"==n&&null!=t.defaultValue&&(t.value=D(o.children).forEach(function(e){e.props.selected=t.multiple?-1!=t.defaultValue.indexOf(e.props.value):t.defaultValue==e.props.value})),o.class&&!o.className?(t.class=o.class,Object.defineProperty(t,"className",Ze)):(o.className&&!o.class||o.class&&o.className)&&(t.class=t.className=o.className),e.props=t}(e),e.$$typeof=Ke,Qe&&Qe(e)};var eo=a.__r;a.__r=function(e){eo&&eo(e),e.__c};var oo=a.diffed;function no(e){var o,n,t="";if("string"==typeof e||"number"==typeof e)t+=e;else if("object"==typeof e)if(Array.isArray(e))for(o=0;o<e.length;o++)e[o]&&(n=no(e[o]))&&(t&&(t+=" "),t+=n);else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function to(){for(var e,o,n=0,t="";n<arguments.length;)(e=arguments[n++])&&(o=no(e))&&(t&&(t+=" "),t+=o);return t}a.diffed=function(e){oo&&oo(e);var o=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in o&&o.value!==n.value&&(n.value=null==o.value?"":o.value)};var ro=0;function lo(e,o,n,t,r,l){o||(o={});var i,c,u=o;if("ref"in u)for(c in u={},o)"ref"==c?i=o[c]:u[c]=o[c];var s={type:e,props:u,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ro,__i:-1,__u:0,__source:r,__self:l};if("function"==typeof e&&(i=e.defaultProps))for(c in i)void 0===u[c]&&(u[c]=i[c]);return a.vnode&&a.vnode(s),s}function io(e,o){void 0===o&&(o={});var n=o.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}io(".c1wupbe700-canary49{contain:strict;contain:size layout style paint;padding:0 8px;border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-color);background-color:inherit;white-space:nowrap;overflow:hidden;overflow:clip;text-overflow:ellipsis}.c1wupbe700-canary49[aria-selected=true]{box-shadow:inset 0 0 0 2px var(--selection-color)}.cd0kgiy700-canary49{position:sticky;z-index:1}.c1730fa4700-canary49{box-shadow:2px 0 5px -2px hsla(0,0%,53.3%,.3)}");io(".r104f42s700-canary49{--color:#000;--border-color:#ddd;--summary-border-color:#aaa;--background-color:hsl(0deg 0% 100%);--header-background-color:hsl(0deg 0% 97.5%);--row-hover-background-color:hsl(0deg 0% 96%);--row-selected-background-color:hsl(207deg 76% 92%);--row-selected-hover-background-color:hsl(207deg 76% 88%);--checkbox-color:hsl(207deg 100% 29%);--checkbox-focus-color:hsl(207deg 100% 69%);--checkbox-disabled-border-color:#ccc;--checkbox-disabled-background-color:#ddd;--selection-color:#66afe9;--font-size:14px;contain:strict;contain:size layout style paint;content-visibility:auto;height:350px;border:1px solid var(--border-color);box-sizing:border-box;overflow:auto;user-select:none;background-color:var(--background-color);color:var(--color);font-size:var(--font-size)}@supports not (contain:strict){.r104f42s700-canary49{position:relative;z-index:0}}.r104f42s700-canary49 *,.r104f42s700-canary49 :after,.r104f42s700-canary49 :before{box-sizing:inherit}.r104f42s700-canary49.rdg-dark{--color:#ddd;--border-color:#444;--summary-border-color:#555;--background-color:hsl(0deg 0% 13%);--header-background-color:hsl(0deg 0% 10.5%);--row-hover-background-color:hsl(0deg 0% 9%);--row-selected-background-color:hsl(207deg 76% 42%);--row-selected-hover-background-color:hsl(207deg 76% 38%);--checkbox-color:hsl(207deg 100% 79%);--checkbox-focus-color:hsl(207deg 100% 89%);--checkbox-disabled-border-color:#000;--checkbox-disabled-background-color:#333}@media (prefers-color-scheme:dark){.r104f42s700-canary49:not(.rdg-light){--color:#ddd;--border-color:#444;--summary-border-color:#555;--background-color:hsl(0deg 0% 13%);--header-background-color:hsl(0deg 0% 10.5%);--row-hover-background-color:hsl(0deg 0% 9%);--row-selected-background-color:hsl(207deg 76% 42%);--row-selected-hover-background-color:hsl(207deg 76% 38%);--checkbox-color:hsl(207deg 100% 79%);--checkbox-focus-color:hsl(207deg 100% 89%);--checkbox-disabled-border-color:#000;--checkbox-disabled-background-color:#333}}.f7ly7s700-canary49{position:sticky;top:0;left:0;height:0;width:0;outline:0}.vc4f4zb700-canary49.r1otpg64700-canary49{cursor:move}");io('.g1cvx5us700-canary49:not([aria-selected=true]){background-color:var(--header-background-color)}.g1cvx5us700-canary49>.c1wupbe700-canary49:not(:last-child):not(.c1730fa4700-canary49){border-right:none}.g1j2w62i700-canary49:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;box-shadow:inset 0 0 0 2px var(--selection-color);pointer-events:none;z-index:2}.g1j2w62i700-canary49>.c1wupbe700-canary49:first-child{box-shadow:inset 2px 0 0 0 var(--selection-color)}');const co="rdg-group-row-selected g1j2w62i700-canary49";io(".h1fquj5h700-canary49{contain:strict;contain:size layout style paint;display:grid;grid-template-columns:var(--template-columns);grid-template-rows:var(--header-row-height);height:var(--header-row-height);line-height:var(--header-row-height);width:var(--row-width);position:sticky;top:0;background-color:var(--header-background-color);font-weight:700;z-index:3;touch-action:none}");io(".r1otpg64700-canary49{contain:strict;contain:size layout style paint;display:grid;grid-template-rows:var(--row-height);grid-template-columns:var(--template-columns);position:absolute;left:0;width:var(--row-width);height:var(--row-height);line-height:var(--row-height);background-color:var(--background-color)}.r1otpg64700-canary49:hover{background-color:var(--row-hover-background-color)}.r1otpg64700-canary49[aria-selected=true]{background-color:var(--row-selected-background-color)}.r1otpg64700-canary49[aria-selected=true]:hover{background-color:var(--row-selected-hover-background-color)}.sel5gk2700-canary49{position:sticky;z-index:3;grid-template-rows:var(--summary-row-height);height:var(--summary-row-height);line-height:var(--summary-row-height)}.sel5gk2700-canary49>.c1wupbe700-canary49{border-top:2px solid var(--summary-border-color)}");const ao="rdg-row r1otpg64700-canary49";function uo(e){const o=fe(null);return _e(()=>{var n;e&&(null==(n=o.current)||n.focus({preventScroll:!0}))},[e]),o}io('.c1w6d5eo700-canary49{cursor:pointer;display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;margin-right:1px}.c1h7iz8d700-canary49{all:unset;width:0;margin:0}.cc79ydj700-canary49{content:"";width:20px;height:20px;border:2px solid var(--border-color);background-color:var(--background-color)}.c1h7iz8d700-canary49:checked+.cc79ydj700-canary49{background-color:var(--checkbox-color);box-shadow:inset 0 0 0 4px var(--background-color)}.c1h7iz8d700-canary49:focus+.cc79ydj700-canary49{border-color:var(--checkbox-focus-color)}.c1e5jt0b700-canary49{cursor:default}.c1e5jt0b700-canary49 .cc79ydj700-canary49{border-color:var(--checkbox-disabled-border-color);background-color:var(--checkbox-disabled-background-color)}');function so({value:e,tabIndex:o,isCellSelected:n,disabled:t,onClick:r,onChange:l,"aria-label":i,"aria-labelledby":c}){const a=uo(n);return lo("label",{className:to("rdg-checkbox-label c1w6d5eo700-canary49",t&&"rdg-checkbox-label-disabled c1e5jt0b700-canary49"),children:[lo("input",{"aria-label":i,"aria-labelledby":c,tabIndex:o,ref:a,type:"checkbox",className:"rdg-checkbox-input c1h7iz8d700-canary49",disabled:t,checked:e,onChange:function(e){l(e.target.checked,e.nativeEvent.shiftKey)},onClick:r}),lo("div",{className:"rdg-checkbox cc79ydj700-canary49"})]})}function _o(e){try{return lo(S,{children:e.row[e.column.key]})}catch{return null}}io(".gch972y700-canary49{outline:none}.cz2qf0d700-canary49{margin-left:4px;stroke:currentColor;stroke-width:1.5px;fill:transparent;vertical-align:middle}.cz2qf0d700-canary49>path{transition:d .1s}");function fo({groupKey:e,isExpanded:o,isCellSelected:n,toggleGroup:t}){return lo("span",{ref:uo(n),className:"rdg-group-cell-content gch972y700-canary49",tabIndex:-1,onKeyDown:function({key:e}){"Enter"===e&&t()},children:[e,lo("svg",{viewBox:"0 0 14 8",width:"14",height:"8",className:"rdg-caret cz2qf0d700-canary49",children:lo("path",{d:o?"M1 1 L 7 7 L 13 1":"M1 7 L 7 1 L 13 7"})})]})}function po(e,o,n){const t="function"==typeof e.colSpan?e.colSpan(n):1;if(Number.isInteger(t)&&t>1&&(!e.frozen||e.idx+t-1<=o))return t}function ho(e){e.stopPropagation()}const vo=new Set(["Unidentified","Alt","AltGraph","CapsLock","Control","Fn","FnLock","Meta","NumLock","ScrollLock","Shift","Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp","Insert","ContextMenu","Escape","Pause","Play","PrintScreen","F1","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"]);function go(e){return(e.ctrlKey||e.metaKey)&&"Control"!==e.key}function mo({key:e,target:o}){return"Tab"===e&&(o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement||o instanceof HTMLSelectElement)&&o.matches(".rdg-editor-container > :only-child, .rdg-editor-container > label:only-child > :only-child")}function yo({selectedPosition:e,columns:o,rows:n,isGroupRow:t}){const r=o[e.idx],l=n[e.rowIdx];return!t(l)&&wo(r,l)}function wo(e,o){return null!=e.editor&&!e.rowGroup&&!1!==("function"==typeof e.editable?e.editable(o):e.editable)}const{min:xo,max:bo,floor:Co,ceil:ko,sign:Ro}=Math;function Io(e){if("function"!=typeof e)throw new Error("Please specify the rowKeyGetter prop to use selection")}function So(e,o){return{gridColumnStart:e.idx+1,gridColumnEnd:void 0!==o?`span ${o}`:void 0,left:e.frozen?`var(--frozen-left-${e.key})`:void 0}}function Eo(e,...o){return to("rdg-cell c1wupbe700-canary49",...o,e.frozen&&"rdg-cell-frozen cd0kgiy700-canary49",e.isLastFrozenColumn&&"rdg-cell-frozen-last c1730fa4700-canary49")}const zo="select-row";const Po={key:zo,name:"",width:35,maxWidth:35,resizable:!1,sortable:!1,frozen:!0,headerRenderer:e=>lo(so,{"aria-label":"Select All",isCellSelected:!1,value:e.allRowsSelected,onChange:e.onAllRowsSelectionChange}),formatter:function(e){const[o,n]=Lo();return lo(so,{"aria-label":"Select",tabIndex:-1,isCellSelected:e.isCellSelected,value:o,onClick:ho,onChange:(o,t)=>{n({rowIdx:e.rowIdx,checked:o,isShiftClick:t})}})},groupFormatter:function(e){const[o,n]=Lo();return lo(so,{"aria-label":"Select Group",tabIndex:-1,isCellSelected:e.isCellSelected,value:o,onChange:o=>{n({checked:o,isShiftClick:!1,rowIdx:e.rowIdx})},onClick:ho})}};function No({key:e,width:o},n,t){return n.has(e)?n.get(e):"number"==typeof o?o:"string"==typeof o&&/^\d+%$/.test(o)?Co(t*parseInt(o,10)/100):void 0}function To(e,{minWidth:o,maxWidth:n},t){return e=bo(e,null!=o?o:t),"number"==typeof n?xo(e,n):e}function Oo(e){const o=fe(e);return de(()=>{o.current=e}),he((...e)=>{o.current(...e)},[])}const Fo=J(void 0),Do=Fo.Provider,Ho=J(void 0),Ao=Ho.Provider;function Lo(){const e=ve(Fo),o=ve(Ho);if(void 0===e||void 0===o)throw new Error("useRowSelection must be used within DataGrid cells");return[e,o]}function Mo({rawRows:e,rowHeight:o,clientHeight:n,scrollTop:t,groupBy:r,rowGrouper:l,expandedGroupIds:i,enableVirtualization:c}){const[a,u]=pe(()=>{if(0===r.length||null==l)return[void 0,e.length];const o=(e,[n,...t],r)=>{let i=0;const c={};for(const[a,u]of Object.entries(l(e,n))){const[e,n]=0===t.length?[u,u.length]:o(u,t,r+i+1);c[a]={childRows:u,childGroups:e,startRowIndex:r+i},i+=n+1}return[c,i]};return o(e,r,0)},[r,l,e]),[s,d]=pe(()=>{const o=new Set;if(!a)return[e,r];const n=[],t=(e,r,l)=>{var c;(c=e,Array.isArray(c))?n.push(...e):Object.keys(e).forEach((c,a,u)=>{var s;const d=void 0!==r?`${r}__${c}`:c,_=null!=(s=null==i?void 0:i.has(d))&&s,{childRows:f,childGroups:p,startRowIndex:h}=e[c],v={id:d,parentId:r,groupKey:c,isExpanded:_,childRows:f,level:l,posInSet:a,startRowIndex:h,setSize:u.length};n.push(v),o.add(v),_&&t(p,d,l+1)})};return t(a,void 0,0),[n,r];function r(e){return o.has(e)}},[i,a,e]),{totalRowHeight:_,getRowTop:f,getRowHeight:p,findRowIdx:h}=pe(()=>{if("number"==typeof o)return{totalRowHeight:o*s.length,getRowTop:e=>e*o,getRowHeight:()=>o,findRowIdx:e=>Co(e/o)};let e=0;const n=s.map(n=>{const t=d(n)?o({type:"GROUP",row:n}):o({type:"ROW",row:n}),r={top:e,height:t};return e+=t,r}),t=e=>bo(0,xo(s.length-1,e));return{totalRowHeight:e,getRowTop:e=>n[t(e)].top,getRowHeight:e=>n[t(e)].height,findRowIdx(e){let o=0,t=n.length-1;for(;o<=t;){const r=o+Co((t-o)/2),l=n[r].top;if(l===e)return r;if(l<e?o=r+1:l>e&&(t=r-1),o>t)return t}return 0}}},[d,o,s]);if(!c)return{rowOverscanStartIdx:0,rowOverscanEndIdx:s.length-1,rows:s,rowsCount:u,totalRowHeight:_,isGroupRow:d,getRowTop:f,getRowHeight:p,findRowIdx:h};const v=h(t),g=xo(s.length-1,h(t+n));return{rowOverscanStartIdx:bo(0,8*Co((v-4)/8)),rowOverscanEndIdx:xo(s.length-1,8*ko((g+4)/8)),rows:s,rowsCount:u,totalRowHeight:_,isGroupRow:d,getRowTop:f,getRowHeight:p,findRowIdx:h}}io(".h13yq3r8700-canary49{cursor:pointer;display:flex}.ht6rdyl700-canary49{flex-grow:1;overflow:hidden;overflow:clip;text-overflow:ellipsis}");function Wo({onSort:e,sortDirection:o,priority:n,children:t}){let r="";return"ASC"===o?r="▲":"DESC"===o&&(r="▼"),lo("span",{className:"rdg-header-sort-cell h13yq3r8700-canary49",onClick:o=>e(o.ctrlKey),children:[lo("span",{className:"rdg-header-sort-name ht6rdyl700-canary49",children:t}),lo("span",{children:[r,n]})]})}io('.celq7o9700-canary49:after{content:"";cursor:col-resize;position:absolute;top:0;right:0;bottom:0;width:10px}');function Go({column:e,colSpan:o,onResize:n,allRowsSelected:t,onAllRowsSelectionChange:r,sortColumns:l,onSortColumnsChange:i}){const c=null==l?void 0:l.findIndex(o=>o.columnKey===e.key),a=void 0!==c&&c>-1?l[c]:void 0,u=null==a?void 0:a.direction,s=void 0!==a&&l.length>1?c+1:void 0,d=u&&!s?"ASC"===u?"ascending":"descending":void 0,_=o=>{if(null==i)return;const{sortDescendingFirst:n}=e;if(void 0===a){const t={columnKey:e.key,direction:n?"DESC":"ASC"};i(l&&o?[...l,t]:[t])}else{let t;if((n&&"DESC"===u||!n&&"ASC"===u)&&(t={columnKey:e.key,direction:"ASC"===u?"DESC":"ASC"}),o){const e=[...l];t?e[c]=t:e.splice(c,1),i(e)}else i(t?[t]:[])}};const f=Eo(e,e.headerCellClass,e.resizable&&"rdg-cell-resizable celq7o9700-canary49");return lo("div",{role:"columnheader","aria-colindex":e.idx+1,"aria-sort":d,"aria-colspan":o,className:f,style:So(e,o),onPointerDown:e.resizable?function(o){if("mouse"===o.pointerType&&1!==o.buttons)return;const{currentTarget:t,pointerId:r}=o,{right:l}=t.getBoundingClientRect(),i=l-o.clientX;function c(o){if(o.pointerId!==r)return;if("mouse"===o.pointerType&&1!==o.buttons)return void a(o);const l=o.clientX+i-t.getBoundingClientRect().left;l>0&&n(e,l)}function a(e){e.pointerId===r&&(window.removeEventListener("pointermove",c),window.removeEventListener("pointerup",a))}i>11||(o.preventDefault(),window.addEventListener("pointermove",c),window.addEventListener("pointerup",a))}:void 0,children:e.headerRenderer?lo(e.headerRenderer,{column:e,sortDirection:u,priority:s,onSort:_,allRowsSelected:t,onAllRowsSelectionChange:r}):e.sortable?lo(Wo,{onSort:_,sortDirection:u,priority:s,children:e.name}):e.name})}function Ko({columns:e,rows:o,rowKeyGetter:n,onSelectedRowsChange:t,allRowsSelected:r,onColumnResize:l,sortColumns:i,onSortColumnsChange:c,lastFrozenColumnIndex:a}){const u=he(e=>{if(!t)return;Io(n);const r=new Set(e?o.map(n):void 0);t(r)},[t,o,n]),s=[];for(let o=0;o<e.length;o++){const n=e[o],t=po(n,a,{type:"HEADER"});void 0!==t&&(o+=t-1),s.push(lo(Go,{column:n,colSpan:t,onResize:l,allRowsSelected:r,onAllRowsSelectionChange:u,onSortColumnsChange:c,sortColumns:i},n.key))}return lo("div",{role:"row","aria-rowindex":1,className:"rdg-header-row h1fquj5h700-canary49",children:s})}const Uo=Se(Ko);io(".c1bmg16t700-canary49,.ccpfvsn700-canary49{background-color:#ccf}.c1bmg16t700-canary49.ccpfvsn700-canary49{background-color:#99f}.c12t67zz700-canary49{cursor:move;position:absolute;right:0;bottom:0;width:8px;height:8px;background-color:var(--selection-color)}.c12t67zz700-canary49:hover{width:16px;height:16px;border:2px solid var(--selection-color);background-color:var(--background-color)}");function jo({className:e,column:o,colSpan:n,isCellSelected:t,isCopied:r,isDraggedOver:l,row:i,rowIdx:c,dragHandleProps:a,onRowClick:u,onClick:s,onDoubleClick:d,onContextMenu:_,onRowChange:f,selectCell:p,...h},v){const{cellClass:g}=o;function m(e){p({idx:o.idx,rowIdx:c},e)}return e=Eo(o,"function"==typeof g?g(i):g,e,r&&"rdg-cell-copied ccpfvsn700-canary49",l&&"rdg-cell-dragged-over c1bmg16t700-canary49"),lo("div",{role:"gridcell","aria-colindex":o.idx+1,"aria-selected":t,"aria-colspan":n,"aria-readonly":!wo(o,i)||void 0,ref:v,className:e,style:So(o,n),onClick:function(e){var n;m(null==(n=o.editorOptions)?void 0:n.editOnClick),null==u||u(c,i,o),null==s||s(e)},onDoubleClick:function(e){m(!0),null==d||d(e)},onContextMenu:function(e){m(),null==_||_(e)},...h,children:!o.rowGroup&&lo(S,{children:[lo(o.formatter,{column:o,rowIdx:c,row:i,isCellSelected:t,onRowChange:function(e){f(c,e)}}),a&&lo("div",{className:"rdg-cell-drag-handle c12t67zz700-canary49",...a})]})})}const Bo=Se(Pe(jo));io(".c1tngyp1700-canary49{padding:0}");function $o({column:e,colSpan:o,row:n,rowIdx:t,onRowChange:r,onClose:l,onKeyDown:i,editorPortalTarget:c}){const a=fe(),u=Oo(()=>{r(n,!0)});function s(){cancelAnimationFrame(a.current)}de(()=>{function e(){a.current=requestAnimationFrame(u)}return addEventListener("mousedown",e,{capture:!0}),()=>{removeEventListener("mousedown",e,{capture:!0}),s()}},[u]);const{cellClass:d}=e,_=Eo(e,"rdg-editor-container c1tngyp1700-canary49","function"==typeof d?d(n):d);let f;var p;null!=e.editor&&(f=lo(e.editor,{column:e,row:n,rowIdx:t,onRowChange:r,onClose:l,editorPortalTarget:c}),null!=(p=e.editorOptions)&&p.createPortal&&(f=Ge(f,c)));return lo("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-selected":!0,className:_,style:So(e,o),onKeyDown:i,onMouseDownCapture:s,children:f})}function Vo({cellRenderer:e,className:o,rowIdx:n,isRowSelected:t,copiedCellIdx:r,draggedOverCellIdx:l,lastFrozenColumnIndex:i,row:c,viewportColumns:a,selectedCellProps:u,onRowClick:s,rowClass:d,setDraggedOverRowIdx:_,onMouseEnter:f,top:p,height:h,onRowChange:v,selectCell:g,...m},y){o=to(ao,"rdg-row-"+(n%2==0?"even":"odd"),null==d?void 0:d(c),o,-1===(null==u?void 0:u.idx)&&co);const w=null!=e?e:Bo,x=[];for(let e=0;e<a.length;e++){const o=a[e],t=po(o,i,{type:"ROW",row:c});void 0!==t&&(e+=t-1);const d=(null==u?void 0:u.idx)===o.idx;"EDIT"===(null==u?void 0:u.mode)&&d?x.push(lo($o,{rowIdx:n,column:o,colSpan:t,onKeyDown:u.onKeyDown,...u.editorProps},o.key)):x.push(lo(w,{rowIdx:n,column:o,colSpan:t,row:c,isCopied:r===o.idx,isDraggedOver:l===o.idx,isCellSelected:d,dragHandleProps:d?u.dragHandleProps:void 0,onFocus:d?u.onFocus:void 0,onKeyDown:d?u.onKeyDown:void 0,onRowClick:s,onRowChange:v,selectCell:g},o.key))}return lo(Do,{value:t,children:lo("div",{role:"row",ref:y,className:o,onMouseEnter:function(e){null==_||_(n),null==f||f(e)},style:{top:p,"--row-height":`${h}px`},...m,children:x})})}const qo=Se(Pe(Vo));function Jo({id:e,rowIdx:o,groupKey:n,childRows:t,isExpanded:r,isCellSelected:l,column:i,groupColumnIndex:c,toggleGroup:a}){function u(){a(e)}const s=i.rowGroup&&c===i.idx;return lo("div",{role:"gridcell","aria-colindex":i.idx+1,className:Eo(i),style:{...So(i),cursor:s?"pointer":"default"},onClick:s?u:void 0,children:(!i.rowGroup||c===i.idx)&&i.groupFormatter&&lo(i.groupFormatter,{rowIdx:o,groupKey:n,childRows:t,column:i,isExpanded:r,isCellSelected:l,toggleGroup:u})},i.key)}const Xo=Se(Jo);function Yo({id:e,groupKey:o,viewportColumns:n,childRows:t,rowIdx:r,top:l,height:i,level:c,isExpanded:a,selectedCellIdx:u,isRowSelected:s,selectCell:d,toggleGroup:_,...f}){const p=n[0].key===zo?c+1:c;return lo(Do,{value:s,children:lo("div",{role:"row","aria-level":c,"aria-expanded":a,className:to(ao,"rdg-group-row g1cvx5us700-canary49","rdg-row-"+(r%2==0?"even":"odd"),-1===u&&co),onClick:function(){d({rowIdx:r,idx:-1})},style:{top:l,"--row-height":`${i}px`},...f,children:n.map(n=>lo(Xo,{id:e,rowIdx:r,groupKey:o,childRows:t,isExpanded:a,isCellSelected:u===n.idx,column:n,groupColumnIndex:p,toggleGroup:_},n.key))})})}const Zo=Se(Yo);function Qo({column:e,colSpan:o,row:n}){const{summaryFormatter:t,summaryCellClass:r}=e,l=Eo(e,"function"==typeof r?r(n):r);return lo("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":o,className:l,style:So(e,o),children:t&&lo(t,{column:e,row:n})})}const en=Se(Qo);function on({rowIdx:e,row:o,viewportColumns:n,bottom:t,lastFrozenColumnIndex:r,"aria-rowindex":l}){const i=[];for(let e=0;e<n.length;e++){const t=n[e],l=po(t,r,{type:"SUMMARY",row:o});void 0!==l&&(e+=l-1),i.push(lo(en,{column:t,colSpan:l,row:o},t.key))}return lo("div",{role:"row","aria-rowindex":l,className:`${ao} rdg-row-${e%2==0?"even":"odd"} rdg-summary-row sel5gk2700-canary49`,style:{bottom:t},children:i})}const nn=Se(on);var tn;const rn=null==(tn=globalThis.document)?void 0:tn.body,ln={idx:-1,rowIdx:-1,mode:"SELECT"};function cn({columns:e,rows:o,summaryRows:n,rowKeyGetter:t,onRowsChange:r,rowHeight:l,headerRowHeight:i,summaryRowHeight:c,selectedRows:a,onSelectedRowsChange:u,sortColumns:s,onSortColumnsChange:d,defaultColumnOptions:_,groupBy:f,rowGrouper:p,expandedGroupIds:h,onExpandedGroupIdsChange:v,rowRenderer:g,emptyRowsRenderer:m,onRowClick:y,onScroll:w,onColumnResize:x,onSelectedCellChange:b,onFill:C,onPaste:k,cellNavigationMode:R,enableVirtualization:I,editorPortalTarget:E,className:z,style:P,rowClass:N,"aria-label":T,"aria-labelledby":O,"aria-describedby":F},D){var H;null!=l||(l=35);const A=null!=i?i:"number"==typeof l?l:35,L=null!=c?c:"number"==typeof l?l:35,M=null!=g?g:qo,W=null!=R?R:"NONE";null!=I||(I=!0);const G=null!=E?E:rn,[K,U]=se(0),[j,B]=se(0),[$,V]=se(()=>new Map),[q,J]=se(ln),[X,Y]=se(null),[Z,Q]=se(!1),[oe,ne]=se(void 0),te=fe(null),re=fe(q),le=fe(oe),ie=fe(-1),ce=fe(!1),ae=Oo(function({rowIdx:e,checked:o,isShiftClick:n}){if(!u)return;Io(t);const r=new Set(a),l=He[e];if(Me(l)){for(const e of l.childRows){const n=t(e);o?r.add(n):r.delete(n)}return void u(r)}const i=t(l);if(o){r.add(i);const o=ie.current;if(ie.current=e,n&&-1!==o&&o!==e){const n=Ro(e-o);for(let l=o+n;l!==e;l+=n){const e=He[l];Me(e)||r.add(t(e))}}}else r.delete(i),ie.current=-1;u(r)}),ue=Oo(uo),de=Oo(Je),ve=Oo(Qe),[ge,me,ye]=function(){const e=fe(null),[o,n]=se(1),[t,r]=se(1);return _e(()=>{const{ResizeObserver:o}=window;if(null==o)return;const t=new o(()=>{const{clientWidth:o,clientHeight:t}=e.current;n(o-(devicePixelRatio%.5==0?0:1)),r(t)});return t.observe(e.current),()=>{t.disconnect()}},[]),[e,o,t]}(),we=null!=(H=null==n?void 0:n.length)?H:0,xe=ye-A-we*L,be=null!=a&&null!=u,Ce=pe(()=>{const{length:e}=o;return 0!==e&&null!=a&&null!=t&&a.size>=e&&o.every(e=>a.has(t(e)))},[o,a,t]),{columns:ke,colSpanColumns:Re,colOverscanStartIdx:Ie,colOverscanEndIdx:Se,layoutCssVars:Ee,columnMetrics:ze,totalColumnWidth:Pe,lastFrozenColumnIndex:Ne,totalFrozenColumnWidth:Te,groupBy:Oe}=function({rawColumns:e,columnWidths:o,viewportWidth:n,scrollLeft:t,defaultColumnOptions:r,rawGroupBy:l,enableVirtualization:i}){var c,a,u,s;const d=null!=(c=null==r?void 0:r.minWidth)?c:80,_=null!=(a=null==r?void 0:r.formatter)?a:_o,f=null!=(u=null==r?void 0:r.sortable)&&u,p=null!=(s=null==r?void 0:r.resizable)&&s,{columns:h,colSpanColumns:v,lastFrozenColumnIndex:g,groupBy:m}=pe(()=>{const o=[];let n=-1;const t=e.map(e=>{var o,t,r,i;const c=null!=(o=null==l?void 0:l.includes(e.key))&&o,a=c||e.frozen||!1,u={...e,idx:0,frozen:a,isLastFrozenColumn:!1,rowGroup:c,sortable:null!=(t=e.sortable)?t:f,resizable:null!=(r=e.resizable)?r:p,formatter:null!=(i=e.formatter)?i:_};return c&&(null!=u.groupFormatter||(u.groupFormatter=fo)),a&&n++,u});t.sort(({key:e,frozen:o},{key:n,frozen:t})=>e===zo?-1:n===zo?1:null!=l&&l.includes(e)?l.includes(n)?l.indexOf(e)-l.indexOf(n):-1:null!=l&&l.includes(n)?1:o?t?0:-1:t?1:0);const r=[];return t.forEach((e,n)=>{e.idx=n,e.rowGroup&&o.push(e.key),null!=e.colSpan&&r.push(e)}),-1!==n&&(t[n].isLastFrozenColumn=!0),{columns:t,colSpanColumns:r,lastFrozenColumnIndex:n,groupBy:o}},[e,_,p,f,l]),{layoutCssVars:y,totalColumnWidth:w,totalFrozenColumnWidth:x,columnMetrics:b}=pe(()=>{const e=new Map;let t=0,r=0,l=0,i="",c=0,a=0;for(const t of h){let r=No(t,o,n);void 0===r?a++:(r=To(r,t,d),c+=r,e.set(t,{width:r,left:0}))}const u=(n-c)/a;for(const o of h){let n;if(e.has(o)){const r=e.get(o);r.left=t,({width:n}=r)}else n=To(u,o,d),e.set(o,{width:n,left:t});r+=n,t+=n,i+=`${n}px `}if(-1!==g){const o=e.get(h[g]);l=o.left+o.width}const s={"--template-columns":i};for(let o=0;o<=g;o++){const n=h[o];s[`--frozen-left-${n.key}`]=`${e.get(n).left}px`}return{layoutCssVars:s,totalColumnWidth:r,totalFrozenColumnWidth:l,columnMetrics:e}},[o,h,n,d,g]),[C,k]=pe(()=>{if(!i)return[0,h.length-1];const e=t+x,o=t+n,r=h.length-1,l=xo(g+1,r);if(e>=o)return[l,l];let c=l;for(;c<r;){const{left:o,width:n}=b.get(h[c]);if(o+n>e)break;c++}let a=c;for(;a<r;){const{left:e,width:n}=b.get(h[a]);if(e+n>=o)break;a++}return[bo(l,c-1),xo(r,a+1)]},[b,h,g,t,x,n,i]);return{columns:h,colSpanColumns:v,colOverscanStartIdx:C,colOverscanEndIdx:k,layoutCssVars:y,columnMetrics:b,totalColumnWidth:w,lastFrozenColumnIndex:g,totalFrozenColumnWidth:x,groupBy:m}}({rawColumns:e,columnWidths:$,scrollLeft:j,viewportWidth:me,defaultColumnOptions:_,rawGroupBy:p?f:void 0,enableVirtualization:I}),{rowOverscanStartIdx:Fe,rowOverscanEndIdx:De,rows:He,rowsCount:Ae,totalRowHeight:Le,isGroupRow:Me,getRowTop:We,getRowHeight:Ge,findRowIdx:Ke}=Mo({rawRows:o,groupBy:Oe,rowGrouper:p,rowHeight:l,clientHeight:xe,scrollTop:K,expandedGroupIds:h,enableVirtualization:I}),Ue=function({columns:e,colSpanColumns:o,rows:n,summaryRows:t,colOverscanStartIdx:r,colOverscanEndIdx:l,lastFrozenColumnIndex:i,rowOverscanStartIdx:c,rowOverscanEndIdx:a,isGroupRow:u}){const s=pe(()=>{if(0===r)return 0;let e=r;const l=(o,n)=>void 0!==n&&o+n>r&&(e=o,!0);for(const r of o){const o=r.idx;if(o>=e)break;if(l(o,po(r,i,{type:"HEADER"})))break;for(let e=c;e<=a;e++){const t=n[e];if(!u(t)&&l(o,po(r,i,{type:"ROW",row:t})))break}if(null!=t)for(const e of t)if(l(o,po(r,i,{type:"SUMMARY",row:e})))break}return e},[c,a,n,t,r,i,o,u]);return pe(()=>{const o=[];for(let n=0;n<=l;n++){const t=e[n];n<s&&!t.frozen||o.push(t)}return o},[s,l,e])}({columns:ke,colSpanColumns:Re,colOverscanStartIdx:Ie,colOverscanEndIdx:Se,lastFrozenColumnIndex:Ne,rowOverscanStartIdx:Fe,rowOverscanEndIdx:De,rows:He,summaryRows:n,isGroupRow:Me}),je=Oe.length>0&&"function"==typeof p,Be=je?-1:0,$e=!je&&null!=C;_e(()=>{q!==re.current&&"EDIT"!==q.mode&&co(q)&&(re.current=q,ho(q),ce.current?ce.current=!1:te.current.focus({preventScroll:!0}))}),function(e,o,n){ee=6,_e(function(){if("function"==typeof e){var n=e(o());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=o(),function(){return e.current=null}},null==n?n:n.concat(e))}(D,()=>({element:ge.current,scrollToColumn(e){ho({idx:e})},scrollToRow(e){const{current:o}=ge;o&&o.scrollTo({top:We(e),behavior:"smooth"})},selectCell:uo}));const Ve=he((e,o)=>{V(n=>{const t=new Map(n);return t.set(e.key,o),t}),null==x||x(e.idx,o)},[x]),qe=he(e=>{ne(e),le.current=e},[]);function Je(e){if(!v)return;const o=new Set(h);o.has(e)?o.delete(e):o.add(e),v(o)}function Xe(e){const{key:n,keyCode:t}=e,l=He[q.rowIdx];if(k&&go(e)&&co(q)&&!Me(l)&&-1!==q.idx&&"SELECT"===q.mode){const e=86;if(t===67)return void function(){const{idx:e,rowIdx:n}=q;Y({row:o[Ze(n)],columnKey:ke[e].key})}();if(t===e)return void function(){const{idx:e,rowIdx:n}=q,t=o[Ze(n)];if(!k||!r||null===X||!ao(q))return;const l=k({sourceRow:X.row,sourceColumnKey:X.columnKey,targetRow:t,targetColumnKey:ke[e].key});Qe(n,l)}()}if(co(q)&&Me(l)&&-1===q.idx&&("ArrowLeft"===n&&l.isExpanded||"ArrowRight"===n&&!l.isExpanded))return e.preventDefault(),void Je(l.id);switch(e.key){case"Escape":return Y(null),void so();case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Tab":case"Home":case"End":case"PageUp":case"PageDown":!function(e){if("EDIT"===q.mode){var o,n;if(!(null!=(o=null==(n=ke[q.idx].editorOptions)?void 0:n.onNavigation)?o:mo)(e))return}const{key:t,shiftKey:r}=e;let l=W;if("Tab"===t){if(function({cellNavigationMode:e,columns:o,rowsCount:n,selectedPosition:{rowIdx:t,idx:r},shiftKey:l}){if("NONE"===e||"CHANGE_ROW"===e){const e=r===o.length-1;return l?0===r&&0===t:e&&t===n-1}return!1}({shiftKey:r,cellNavigationMode:W,columns:ke,rowsCount:He.length,selectedPosition:q}))return void eo();l="NONE"===W?"CHANGE_ROW":W}e.preventDefault();const i=go(e),c=function({cellNavigationMode:e,columns:o,colSpanColumns:n,rows:t,currentPosition:r,nextPosition:l,lastFrozenColumnIndex:i,isCellWithinBounds:c,isGroupRow:a}){const u=t.length;let s=l;const d=e=>{const o=t[s.rowIdx];if(!a(o)){const t=s.idx;for(const r of n){const n=r.idx;if(n>t)break;const l=po(r,i,{type:"ROW",row:o});if(l&&t>n&&t<l+n){s.idx=n+(e?l:0);break}}}};if(c(s)&&d(s.idx-r.idx>0),"NONE"!==e){const{idx:n,rowIdx:t}=l,r=o.length,i=-1===n;n===r?("CHANGE_ROW"===e?t===u-1||(s={idx:0,rowIdx:t+1}):s={rowIdx:t,idx:0},d(!0)):i&&("CHANGE_ROW"===e?0===t||(s={rowIdx:t-1,idx:r-1}):s={rowIdx:t,idx:r-1}),d(!1)}return s}({columns:ke,colSpanColumns:Re,rows:He,lastFrozenColumnIndex:Ne,cellNavigationMode:l,currentPosition:q,nextPosition:wo(t,i,r),isCellWithinBounds:co,isGroupRow:Me});uo(c)}(e);break;default:!function(e){var o;if(!co(q))return;const n=He[q.rowIdx];if(Me(n))return;const{key:t}=e,r=ke[q.idx];if("EDIT"===q.mode)return void("Enter"===t&&(eo(),so()));if(null==(o=r.editorOptions)||null==o.onCellKeyDown||o.onCellKeyDown(e),e.isDefaultPrevented())return;ao(q)&&function(e){return!vo.has(e.key)}(e)&&J(({idx:e,rowIdx:o})=>({idx:e,rowIdx:o,key:t,mode:"EDIT",row:n,originalRow:n}))}(e)}}function Ye(){ce.current=!0}function Ze(e){return je?o.indexOf(He[e]):e}function Qe(e,n){if("function"!=typeof r)return;if(n===o[e])return;const t=[...o];t[e]=n,r(t,{indexes:[e],column:ke[q.idx]})}function eo(){var e;if(null==(null==(e=ke[q.idx])?void 0:e.editor)||"SELECT"===q.mode||q.row===q.originalRow)return;Qe(Ze(q.rowIdx),q.row)}function oo(e){function n(e){1!==e.buttons&&t()}function t(){window.removeEventListener("mouseover",n),window.removeEventListener("mouseup",t),Q(!1),function(){const e=le.current;if(void 0===e||!C||!r)return;const{idx:n,rowIdx:t}=q,l=o[t],i=t<e?t+1:e,c=t<e?e+1:t,a=o.slice(i,c),u=ke[n],s=C({columnKey:u.key,sourceRow:l,targetRows:a}),d=[...o],_=[];for(let e=i;e<c;e++){const o=e-i;d[e]!==s[o]&&(d[e]=s[o],_.push(e))}_.length>0&&r(d,{indexes:_,column:u}),qe(void 0)}()}1===e.buttons&&(Q(!0),window.addEventListener("mouseover",n),window.addEventListener("mouseup",t))}function no(e){if(e.stopPropagation(),!C||!r)return;const{idx:n,rowIdx:t}=q,l=o[t],i=o.slice(t+1),c=ke[n],a=C({columnKey:c.key,sourceRow:l,targetRows:i}),u=[...o],s=[];for(let e=t+1;e<u.length;e++){const o=e-t-1;u[e]!==a[o]&&(u[e]=a[o],s.push(e))}s.length>0&&r(u,{indexes:s,column:c})}function ro(e,o){"SELECT"!==q.mode&&(o?(Qe(Ze(q.rowIdx),e),so()):J(o=>({...o,row:e})))}function io(e){e&&eo(),so()}function co({idx:e,rowIdx:o}){return o>=0&&o<He.length&&e>=Be&&e<ke.length}function ao(e){return co(e)&&yo({columns:ke,rows:He,selectedPosition:e,isGroupRow:Me})}function uo(e,o){if(co(e)){if(eo(),o&&ao(e)){const o=He[e.rowIdx];J({...e,mode:"EDIT",key:null,row:o,originalRow:o})}else J({...e,mode:"SELECT"});null==b||b({...e})}}function so(){"SELECT"!==q.mode&&J(({idx:e,rowIdx:o})=>({idx:e,rowIdx:o,mode:"SELECT"}))}function ho({idx:e,rowIdx:o}){const{current:n}=ge;if(n){if("number"==typeof e&&e>Ne){if(null!=o||(o=q.rowIdx),!co({rowIdx:o,idx:e}))return;const{clientWidth:t}=n,r=ke[e],{left:l,width:i}=ze.get(r);let c=l+i;const a=He[o];if(!Me(a)){const e=po(r,Ne,{type:"ROW",row:a});if(void 0!==e){const{left:o,width:n}=ze.get(ke[r.idx+e-1]);c=o+n}}const u=c>t+j;l<j+Te?n.scrollLeft=l-Te:u&&(n.scrollLeft=c-t)}if("number"==typeof o){const e=We(o),t=Ge(o);e<K?n.scrollTop=e:e+t>K+xe&&(n.scrollTop=e+t-xe)}}}function wo(e,o,n){const{idx:t,rowIdx:r}=q,l=He[r],i=co(q)&&-1===t;if("ArrowLeft"===e&&i&&Me(l)&&!l.isExpanded&&0!==l.level){let e=-1;for(let o=q.rowIdx-1;o>=0;o--){const n=He[o];if(Me(n)&&n.id===l.parentId){e=o;break}}if(-1!==e)return{idx:t,rowIdx:e}}switch(e){case"ArrowUp":return{idx:t,rowIdx:r-1};case"ArrowDown":return{idx:t,rowIdx:r+1};case"ArrowLeft":return{idx:t-1,rowIdx:r};case"ArrowRight":return{idx:t+1,rowIdx:r};case"Tab":return-1===q.idx&&-1===q.rowIdx?n?{idx:ke.length-1,rowIdx:He.length-1}:{idx:0,rowIdx:0}:{idx:t+(n?-1:1),rowIdx:r};case"Home":return i?{idx:t,rowIdx:0}:o?{idx:0,rowIdx:0}:{idx:0,rowIdx:r};case"End":return i?{idx:t,rowIdx:He.length-1}:o?{idx:ke.length-1,rowIdx:He.length-1}:{idx:ke.length-1,rowIdx:r};case"PageUp":{const e=We(r)+Ge(r)-xe;return{idx:t,rowIdx:e>0?Ke(e):0}}case"PageDown":{const e=We(r)+xe;return{idx:t,rowIdx:e<Le?Ke(e):He.length-1}}default:return q}}function Co(e){if(void 0===oe)return;const{rowIdx:o}=q;return(o<oe?o<e&&e<=oe:o>e&&e>=oe)?q.idx:void 0}function ko(e){if(q.rowIdx===e)return"EDIT"===q.mode?{mode:"EDIT",idx:q.idx,onKeyDown:Xe,editorProps:{editorPortalTarget:G,row:q.row,onRowChange:ro,onClose:io}}:{mode:"SELECT",idx:q.idx,onFocus:Ye,onKeyDown:Xe,dragHandleProps:$e&&ao(q)?{onMouseDown:oo,onDoubleClick:no}:void 0}}return(q.idx>=ke.length||q.rowIdx>=He.length)&&(J(ln),qe(void 0)),"EDIT"===q.mode&&He[q.rowIdx]!==q.originalRow&&so(),lo("div",{role:je?"treegrid":"grid","aria-label":T,"aria-labelledby":O,"aria-describedby":F,"aria-multiselectable":!!be||void 0,"aria-colcount":ke.length,"aria-rowcount":1+Ae+we,className:to("rdg r104f42s700-canary49",z,Z&&"rdg-viewport-dragging vc4f4zb700-canary49"),style:{...P,"--header-row-height":`${A}px`,"--row-width":`${Pe}px`,"--summary-row-height":`${L}px`,...Ee},ref:ge,onScroll:function(e){const{scrollTop:o,scrollLeft:n}=e.currentTarget;U(o),B(n),null==w||w(e)},children:[lo(Uo,{rowKeyGetter:t,rows:o,columns:Ue,onColumnResize:Ve,allRowsSelected:Ce,onSelectedRowsChange:u,sortColumns:s,onSortColumnsChange:d,lastFrozenColumnIndex:Ne}),0===He.length&&m?lo(m,{}):lo(S,{children:[lo("div",{ref:te,tabIndex:0,className:"rdg-focus-sink f7ly7s700-canary49",onKeyDown:Xe,onFocus:function(){if(co(q))ho(q);else{const e={idx:0,rowIdx:0,mode:"SELECT"};co(e)&&J(e)}}}),lo("div",{style:{height:bo(Le,xe)}}),lo(Ao,{value:ae,children:function(){const e=[];let o=0;for(let r=Fe;r<=De;r++){const l=He[r],i=We(r)+A;if(Me(l)){({startRowIndex:o}=l);const n=be&&l.childRows.every(e=>null==a?void 0:a.has(t(e)));e.push(lo(Zo,{"aria-level":l.level+1,"aria-setsize":l.setSize,"aria-posinset":l.posInSet+1,"aria-rowindex":1+o+1,"aria-selected":be?n:void 0,id:l.id,groupKey:l.groupKey,viewportColumns:Ue,childRows:l.childRows,rowIdx:r,top:i,height:Ge(r),level:l.level,isExpanded:l.isExpanded,selectedCellIdx:q.rowIdx===r?q.idx:void 0,isRowSelected:n,onFocus:q.rowIdx===r?Ye:void 0,onKeyDown:q.rowIdx===r?Xe:void 0,selectCell:ue,toggleGroup:de},l.id));continue}let c;o++;let u=!1;var n;if("function"==typeof t)c=t(l),u=null!=(n=null==a?void 0:a.has(c))&&n;else c=je?o:r;e.push(lo(M,{"aria-rowindex":1+(je?o:r)+1,"aria-selected":be?u:void 0,rowIdx:r,row:l,viewportColumns:Ue,isRowSelected:u,onRowClick:y,rowClass:N,top:i,height:Ge(r),copiedCellIdx:null!==X&&X.row===l?ke.findIndex(e=>e.key===X.columnKey):void 0,draggedOverCellIdx:Co(r),setDraggedOverRowIdx:Z?qe:void 0,lastFrozenColumnIndex:Ne,selectedCellProps:ko(r),onRowChange:ve,selectCell:ue},c))}return e}()}),null==n?void 0:n.map((e,o)=>lo(nn,{"aria-rowindex":1+Ae+o+1,rowIdx:o,row:e,bottom:L*(n.length-1-o),viewportColumns:Ue,lastFrozenColumnIndex:Ne},o))]})]})}const an=Pe(cn);function un(e,o,n){var t=o;return i([],e,!0).sort(function(e,o){return e[t]<o[t]?n?1:-1:e[t]>o[t]?n?-1:1:0})}io(".t16y9g8l700-canary49{appearance:none;box-sizing:border-box;width:100%;height:100%;padding:0 6px;border:2px solid #ccc;vertical-align:top;color:var(--color);background-color:var(--background-color);font-family:inherit;font-size:var(--font-size)}.t16y9g8l700-canary49:focus{border-color:var(--selection-color);outline:none}.t16y9g8l700-canary49::placeholder{color:#999;opacity:1}");var sn=function(e){return R("div",{style:{textAlign:"center",gridColumn:"1/-1"}},e.message)},dn=function(e){var n,t=e.table,r=e.sort,l=[pe(function(){return n.columns()},[n=t,n.dataChecksum()]),pe(function(){return n.data()},[n,n.dataChecksum()])],c=l[0],a=l[1],u=t.multiSelect(),s=t.columnTypes(),d=t.columnPatterns(),_=t.columnFormats(),f=se([]),p=f[0],h=f[1],v=se(),g=v[0],m=v[1],y=se([]),w=y[0],x=y[1],b=se(new Set),C=b[0],k=b[1];de(function(){h(i(i([],u?[Po]:[],!0),c.map(function(e){var n,t,r,l;switch(null!==(n=s[e])&&void 0!==n?n:"string"){case"time":r=void 0!==d[e]?o.timeParse(d[e]):void 0,l=void 0!==_[e]?o.timeFormat(_[e]):void 0;break;case"number":t=function(e){return R("div",{style:{textAlign:"right"}},e.row[e.column.key])};default:l=void 0!==_[e]?o.format(_[e]):void 0}return{key:e,name:e,resizable:!0,sortable:!0,minWidth:80,renderCell:t,__hpcc_pattern:r,__hpcc_format:l}}),!0))},[_,d,s,c,u]);var I=he(function(e){var o=e.slice(-1)[0],n=void 0!==o,t="DESC"===(null==o?void 0:o.direction);m(o),x(un(w,n?o.columnKey:"key",!!n&&t))},[w]),S=he(function(e){return e.key},[]),E=he(function(e){k(e)},[]),z=he(function(e,o){t.onRowClickCallback(e,o.key)},[t]);return de(function(){var e=a.map(function(e,o){var n={key:o};return p.forEach(function(o,t){var r=e[t];o.__hpcc_pattern&&o.__hpcc_format?r=o.__hpcc_format(o.__hpcc_pattern(r)):o.__hpcc_pattern?r=o.__hpcc_pattern(r).toString():o.__hpcc_format&&(r=o.__hpcc_format(r)),n[o.key]=r}),n});(null==r?void 0:r.attribute)&&(e=un(e,r.attribute,r.descending)),x(e)},[p,a,r]),R(an,{columns:p,headerRowHeight:24,rows:w,rowKeyGetter:S,rowHeight:20,emptyRowsRenderer:function(){return R(sn,{message:t.noDataMessage()})},className:t.darkMode()?"rdg-dark":"rdg-light",sortColumns:g?[g]:[],onSortColumnsChange:I,selectedRows:C,onSelectedRowsChange:u?E:void 0,onRowClick:u?void 0:function(e,o,n){return z(o,n)},"aria-describedby":"","aria-label":"","aria-labelledby":"",style:{height:"100%"}})};!function(e,o){void 0===o&&(o={});var n=o.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".dgrid2_Table .rdg{font-family:monospace,Courier New,Courier}.dgrid2_Table .rdg-checkbox-label .rdg-checkbox{block-size:16px;border-width:2px;box-shadow:inset 0 0 0 3px var(--rdg-background-color);inline-size:16px}");var _n=function(e){function i(){return e.call(this)||this}return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function t(){this.constructor=e}n(e,o),e.prototype=null===o?Object.create(o):(t.prototype=o.prototype,new t)}(i,e),i.prototype.columnType=function(e,o){var n;return 1===arguments.length?this.columnTypes()[e]:(this.columnTypes(t(t({},this.columnTypes()),((n={})[e]=o,n))),this)},i.prototype.columnPattern=function(e,o){var n;return 1===arguments.length?this.columnPatterns()[e]:(this.columnPatterns(t(t({},this.columnPatterns()),((n={})[e]=o,n))),this)},i.prototype.columnFormat=function(e,o){var n;return 1===arguments.length?this.columnFormats()[e]:(this.columnFormats(t(t({},this.columnFormats()),((n={})[e]=o,n))),this)},i.prototype.onRowClickCallback=function(e,o){var n;this._prevRow&&JSON.stringify(this._prevRow)!==JSON.stringify(e)&&this.click(this._prevRow,null!==(n=this._prevColumn)&&void 0!==n?n:"",!1),e&&this.click(e,o,!0),this._prevRow=e,this._prevColumn=o},i.prototype.enter=function(o,n){e.prototype.enter.call(this,o,n),this._div=n.append("div")},i.prototype.update=function(o,n){e.prototype.update.call(this,o,n),this._div.style("width",this.width()+"px"),this._div.style("height",this.height()+"px"),function(e,o,n){null==o.__k&&(o.textContent=""),q(e,o),"function"==typeof n&&n(),e&&e.__c}(R(dn,{table:this}),this._div.node())},i.prototype.exit=function(o,n){!function(e){!!e.__k&&q(null,e)}(this._div.node()),this._div.remove(),e.prototype.exit.call(this,o,n)},i.prototype.click=function(e,o,n){},r([o.publish("...empty...","string","No Data Message"),l("design:type",Function)],i.prototype,"noDataMessage",void 0),r([o.publish(!1,"boolean","Dark Mode"),l("design:type",Function)],i.prototype,"darkMode",void 0),r([o.publish(!1,"boolean","Multiple Selection"),l("design:type",Function)],i.prototype,"multiSelect",void 0),r([o.publish({},"object",'Column Types ("boolean" | "number" | "string" | "time"'),l("design:type",Function)],i.prototype,"columnTypes",void 0),r([o.publish({},"object","Column Patterns"),l("design:type",Function)],i.prototype,"columnPatterns",void 0),r([o.publish({},"object","Column Formats"),l("design:type",Function)],i.prototype,"columnFormats",void 0),i}(o.HTMLWidget);_n.prototype._class+=" dgrid2_Table",e.BUILD_VERSION="2.108.8",e.PKG_NAME="@hpcc-js/dgrid2",e.PKG_VERSION="2.5.4",e.Table=_n});
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self)["@hpcc-js/dgrid2"]={},e["@hpcc-js/common"])}(this,function(e,o){"use strict";var n=function(e,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])},n(e,o)};var t=function(){return t=Object.assign||function(e){for(var o,n=1,t=arguments.length;n<t;n++)for(var r in o=arguments[n])Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);return e},t.apply(this,arguments)};function r(e,o,n,t){var r,l=arguments.length,i=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,n,t);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(l<3?r(i):l>3?r(o,n,i):r(o,n))||i);return l>3&&i&&Object.defineProperty(o,n,i),i}function l(e,o){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,o)}function i(e,o,n){if(n||2===arguments.length)for(var t,r=0,l=o.length;r<l;r++)!t&&r in o||(t||(t=Array.prototype.slice.call(o,0,r)),t[r]=o[r]);return e.concat(t||Array.prototype.slice.call(o))}"function"==typeof SuppressedError&&SuppressedError;var c,a,u,s,d,_,f,p,h,v,g,m,y={},w=[],x=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=Array.isArray;function C(e,o){for(var n in o)e[n]=o[n];return e}function k(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function R(e,o,n){var t,r,l,i={};for(l in o)"key"==l?t=o[l]:"ref"==l?r=o[l]:i[l]=o[l];if(arguments.length>2&&(i.children=arguments.length>3?c.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===i[l]&&(i[l]=e.defaultProps[l]);return I(e,i,t,r,null)}function I(e,o,n,t,r){var l={type:e,props:o,key:n,ref:t,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==r?++u:r,__i:-1,__u:0};return null==r&&null!=a.vnode&&a.vnode(l),l}function S(e){return e.children}function E(e,o){this.props=e,this.context=o}function z(e,o){if(null==o)return e.__?z(e.__,e.__i+1):null;for(var n;o<e.__k.length;o++)if(null!=(n=e.__k[o])&&null!=n.__e)return n.__e;return"function"==typeof e.type?z(e):null}function P(e){var o,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,o=0;o<e.__k.length;o++)if(null!=(n=e.__k[o])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function N(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!T.__r++||d!=a.debounceRendering)&&((d=a.debounceRendering)||_)(T)}function T(){for(var e,o,n,t,r,l,i,c=1;s.length;)s.length>c&&s.sort(f),e=s.shift(),c=s.length,e.__d&&(n=void 0,t=void 0,r=(t=(o=e).__v).__e,l=[],i=[],o.__P&&((n=C({},t)).__v=t.__v+1,a.vnode&&a.vnode(n),W(o.__P,n,t,o.__n,o.__P.namespaceURI,32&t.__u?[r]:null,l,null==r?z(t):r,!!(32&t.__u),i),n.__v=t.__v,n.__.__k[n.__i]=n,K(l,n,i),t.__e=t.__=null,n.__e!=r&&P(n)));T.__r=0}function O(e,o,n,t,r,l,i,c,a,u,s){var d,_,f,p,h,v,g,m=t&&t.__k||w,x=o.length;for(a=function(e,o,n,t,r){var l,i,c,a,u,s=n.length,d=s,_=0;for(e.__k=new Array(r),l=0;l<r;l++)null!=(i=o[l])&&"boolean"!=typeof i&&"function"!=typeof i?("string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?i=e.__k[l]=I(null,i,null,null,null):b(i)?i=e.__k[l]=I(S,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?i=e.__k[l]=I(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):e.__k[l]=i,a=l+_,i.__=e,i.__b=e.__b+1,c=null,-1!=(u=i.__i=H(i,n,a,d))&&(d--,(c=n[u])&&(c.__u|=2)),null==c||null==c.__v?(-1==u&&(r>s?_--:r<s&&_++),"function"!=typeof i.type&&(i.__u|=4)):u!=a&&(u==a-1?_--:u==a+1?_++:(u>a?_--:_++,i.__u|=4))):e.__k[l]=null;if(d)for(l=0;l<s;l++)null!=(c=n[l])&&!(2&c.__u)&&(c.__e==t&&(t=z(c)),$(c,c));return t}(n,o,m,a,x),d=0;d<x;d++)null!=(f=n.__k[d])&&(_=-1==f.__i?y:m[f.__i]||y,f.__i=d,v=W(e,f,_,r,l,i,c,a,u,s),p=f.__e,f.ref&&_.ref!=f.ref&&(_.ref&&B(_.ref,null,f),s.push(f.ref,f.__c||p,f)),null==h&&null!=p&&(h=p),(g=!!(4&f.__u))||_.__k===f.__k?a=F(f,a,e,g):"function"==typeof f.type&&void 0!==v?a=v:p&&(a=p.nextSibling),f.__u&=-7);return n.__e=h,a}function F(e,o,n,t){var r,l;if("function"==typeof e.type){for(r=e.__k,l=0;r&&l<r.length;l++)r[l]&&(r[l].__=e,o=F(r[l],o,n,t));return o}e.__e!=o&&(t&&(o&&e.type&&!o.parentNode&&(o=z(e)),n.insertBefore(e.__e,o||null)),o=e.__e);do{o=o&&o.nextSibling}while(null!=o&&8==o.nodeType);return o}function D(e,o){return o=o||[],null==e||"boolean"==typeof e||(b(e)?e.some(function(e){D(e,o)}):o.push(e)),o}function H(e,o,n,t){var r,l,i,c=e.key,a=e.type,u=o[n],s=null!=u&&!(2&u.__u);if(null===u&&null==c||s&&c==u.key&&a==u.type)return n;if(t>(s?1:0))for(r=n-1,l=n+1;r>=0||l<o.length;)if(null!=(u=o[i=r>=0?r--:l++])&&!(2&u.__u)&&c==u.key&&a==u.type)return i;return-1}function A(e,o,n){"-"==o[0]?e.setProperty(o,null==n?"":n):e[o]=null==n?"":"number"!=typeof n||x.test(o)?n:n+"px"}function L(e,o,n,t,r){var l,i;e:if("style"==o)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof t&&(e.style.cssText=t=""),t)for(o in t)n&&o in n||A(e.style,o,"");if(n)for(o in n)t&&n[o]==t[o]||A(e.style,o,n[o])}else if("o"==o[0]&&"n"==o[1])l=o!=(o=o.replace(p,"$1")),i=o.toLowerCase(),o=i in e||"onFocusOut"==o||"onFocusIn"==o?i.slice(2):o.slice(2),e.l||(e.l={}),e.l[o+l]=n,n?t?n.u=t.u:(n.u=h,e.addEventListener(o,l?g:v,l)):e.removeEventListener(o,l?g:v,l);else{if("http://www.w3.org/2000/svg"==r)o=o.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=o&&"height"!=o&&"href"!=o&&"list"!=o&&"form"!=o&&"tabIndex"!=o&&"download"!=o&&"rowSpan"!=o&&"colSpan"!=o&&"role"!=o&&"popover"!=o&&o in e)try{e[o]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=o[4]?e.removeAttribute(o):e.setAttribute(o,"popover"==o&&1==n?"":n))}}function M(e){return function(o){if(this.l){var n=this.l[o.type+e];if(null==o.t)o.t=h++;else if(o.t<n.u)return;return n(a.event?a.event(o):o)}}}function W(e,o,n,t,r,l,i,c,u,s){var d,_,f,p,h,v,g,m,y,w,x,R,I,z,P,N,T,F=o.type;if(void 0!==o.constructor)return null;128&n.__u&&(u=!!(32&n.__u),l=[c=o.__e=n.__e]),(d=a.__b)&&d(o);e:if("function"==typeof F)try{if(m=o.props,y="prototype"in F&&F.prototype.render,w=(d=F.contextType)&&t[d.__c],x=d?w?w.props.value:d.__:t,n.__c?g=(_=o.__c=n.__c).__=_.__E:(y?o.__c=_=new F(m,x):(o.__c=_=new E(m,x),_.constructor=F,_.render=V),w&&w.sub(_),_.state||(_.state={}),_.__n=t,f=_.__d=!0,_.__h=[],_._sb=[]),y&&null==_.__s&&(_.__s=_.state),y&&null!=F.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=C({},_.__s)),C(_.__s,F.getDerivedStateFromProps(m,_.__s))),p=_.props,h=_.state,_.__v=o,f)y&&null==F.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),y&&null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(y&&null==F.getDerivedStateFromProps&&m!==p&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(m,x),o.__v==n.__v||!_.__e&&null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(m,_.__s,x)){for(o.__v!=n.__v&&(_.props=m,_.state=_.__s,_.__d=!1),o.__e=n.__e,o.__k=n.__k,o.__k.some(function(e){e&&(e.__=o)}),R=0;R<_._sb.length;R++)_.__h.push(_._sb[R]);_._sb=[],_.__h.length&&i.push(_);break e}null!=_.componentWillUpdate&&_.componentWillUpdate(m,_.__s,x),y&&null!=_.componentDidUpdate&&_.__h.push(function(){_.componentDidUpdate(p,h,v)})}if(_.context=x,_.props=m,_.__P=e,_.__e=!1,I=a.__r,z=0,y){for(_.state=_.__s,_.__d=!1,I&&I(o),d=_.render(_.props,_.state,_.context),P=0;P<_._sb.length;P++)_.__h.push(_._sb[P]);_._sb=[]}else do{_.__d=!1,I&&I(o),d=_.render(_.props,_.state,_.context),_.state=_.__s}while(_.__d&&++z<25);_.state=_.__s,null!=_.getChildContext&&(t=C(C({},t),_.getChildContext())),y&&!f&&null!=_.getSnapshotBeforeUpdate&&(v=_.getSnapshotBeforeUpdate(p,h)),N=d,null!=d&&d.type===S&&null==d.key&&(N=U(d.props.children)),c=O(e,b(N)?N:[N],o,n,t,r,l,i,c,u,s),_.base=o.__e,o.__u&=-161,_.__h.length&&i.push(_),g&&(_.__E=_.__=null)}catch(e){if(o.__v=null,u||null!=l)if(e.then){for(o.__u|=u?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;l[l.indexOf(c)]=null,o.__e=c}else{for(T=l.length;T--;)k(l[T]);G(o)}else o.__e=n.__e,o.__k=n.__k,e.then||G(o);a.__e(e,o,n)}else null==l&&o.__v==n.__v?(o.__k=n.__k,o.__e=n.__e):c=o.__e=j(n.__e,o,n,t,r,l,i,u,s);return(d=a.diffed)&&d(o),128&o.__u?void 0:c}function G(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(G)}function K(e,o,n){for(var t=0;t<n.length;t++)B(n[t],n[++t],n[++t]);a.__c&&a.__c(o,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(e){e.call(o)})}catch(e){a.__e(e,o.__v)}})}function U(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:b(e)?e.map(U):C({},e)}function j(e,o,n,t,r,l,i,u,s){var d,_,f,p,h,v,g,m=n.props||y,w=o.props,x=o.type;if("svg"==x?r="http://www.w3.org/2000/svg":"math"==x?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=l)for(d=0;d<l.length;d++)if((h=l[d])&&"setAttribute"in h==!!x&&(x?h.localName==x:3==h.nodeType)){e=h,l[d]=null;break}if(null==e){if(null==x)return document.createTextNode(w);e=document.createElementNS(r,x,w.is&&w),u&&(a.__m&&a.__m(o,l),u=!1),l=null}if(null==x)m===w||u&&e.data==w||(e.data=w);else{if(l=l&&c.call(e.childNodes),!u&&null!=l)for(m={},d=0;d<e.attributes.length;d++)m[(h=e.attributes[d]).name]=h.value;for(d in m)if(h=m[d],"children"==d);else if("dangerouslySetInnerHTML"==d)f=h;else if(!(d in w)){if("value"==d&&"defaultValue"in w||"checked"==d&&"defaultChecked"in w)continue;L(e,d,null,h,r)}for(d in w)h=w[d],"children"==d?p=h:"dangerouslySetInnerHTML"==d?_=h:"value"==d?v=h:"checked"==d?g=h:u&&"function"!=typeof h||m[d]===h||L(e,d,h,m[d],r);if(_)u||f&&(_.__html==f.__html||_.__html==e.innerHTML)||(e.innerHTML=_.__html),o.__k=[];else if(f&&(e.innerHTML=""),O("template"==o.type?e.content:e,b(p)?p:[p],o,n,t,"foreignObject"==x?"http://www.w3.org/1999/xhtml":r,l,i,l?l[0]:n.__k&&z(n,0),u,s),null!=l)for(d=l.length;d--;)k(l[d]);u||(d="value","progress"==x&&null==v?e.removeAttribute("value"):null!=v&&(v!==e[d]||"progress"==x&&!v||"option"==x&&v!=m[d])&&L(e,d,v,m[d],r),d="checked",null!=g&&g!=e[d]&&L(e,d,g,m[d],r))}return e}function B(e,o,n){try{if("function"==typeof e){var t="function"==typeof e.__u;t&&e.__u(),t&&null==o||(e.__u=e(o))}else e.current=o}catch(e){a.__e(e,n)}}function $(e,o,n){var t,r;if(a.unmount&&a.unmount(e),(t=e.ref)&&(t.current&&t.current!=e.__e||B(t,null,o)),null!=(t=e.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(e){a.__e(e,o)}t.base=t.__P=null}if(t=e.__k)for(r=0;r<t.length;r++)t[r]&&$(t[r],o,n||"function"!=typeof e.type);n||k(e.__e),e.__c=e.__=e.__e=void 0}function V(e,o,n){return this.constructor(e,n)}function q(e,o,n){var t,r,l;o==document&&(o=document.documentElement),a.__&&a.__(e,o),t=!1?null:o.__k,r=[],l=[],W(o,e=o.__k=R(S,null,[e]),t||y,y,o.namespaceURI,t?null:o.firstChild?c.call(o.childNodes):null,r,t?t.__e:o.firstChild,false,l),K(r,e,l)}function J(e){function o(e){var n,t;return this.getChildContext||(n=new Set,(t={})[o.__c]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,N(e)})},this.sub=function(e){n.add(e);var o=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),o&&o.call(e)}}),e.children}return o.__c="__cC"+m++,o.__=e,o.Provider=o.__l=(o.Consumer=function(e,o){return e.children(o)}).contextType=o,o}c=w.slice,a={__e:function(e,o,n,t){for(var r,l,i;o=o.__;)if((r=o.__c)&&!r.__)try{if((l=r.constructor)&&null!=l.getDerivedStateFromError&&(r.setState(l.getDerivedStateFromError(e)),i=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,t||{}),i=r.__d),i)return r.__E=r}catch(o){e=o}throw e}},u=0,E.prototype.setState=function(e,o){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=C({},this.state),"function"==typeof e&&(e=e(C({},n),this.props)),e&&C(n,e),null!=e&&this.__v&&(o&&this._sb.push(o),N(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),N(this))},E.prototype.render=S,s=[],_="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,o){return e.__v.__b-o.__v.__b},T.__r=0,p=/(PointerCapture)$|Capture$/i,h=0,v=M(!1),g=M(!0),m=0;var X,Y,Z,Q,ee=0,oe=[],ne=a,te=ne.__b,re=ne.__r,le=ne.diffed,ie=ne.__c,ce=ne.unmount,ae=ne.__;function ue(e,o){ne.__h&&ne.__h(Y,e,ee||o),ee=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function se(e){return ee=1,function(e,o,n){var t=ue(X++,2);if(t.t=e,!t.__c&&(t.__=[n?n(o):Ce(void 0,o),function(e){var o=t.__N?t.__N[0]:t.__[0],n=t.t(o,e);o!==n&&(t.__N=[n,t.__[1]],t.__c.setState({}))}],t.__c=Y,!Y.__f)){var r=function(e,o,n){if(!t.__c.__H)return!0;var r=t.__c.__H.__.filter(function(e){return!!e.__c});if(r.every(function(e){return!e.__N}))return!l||l.call(this,e,o,n);var i=t.__c.props!==e;return r.forEach(function(e){if(e.__N){var o=e.__[0];e.__=e.__N,e.__N=void 0,o!==e.__[0]&&(i=!0)}}),l&&l.call(this,e,o,n)||i};Y.__f=!0;var l=Y.shouldComponentUpdate,i=Y.componentWillUpdate;Y.componentWillUpdate=function(e,o,n){if(this.__e){var t=l;l=void 0,r(e,o,n),l=t}i&&i.call(this,e,o,n)},Y.shouldComponentUpdate=r}return t.__N||t.__}(Ce,e)}function de(e,o){var n=ue(X++,3);!ne.__s&&be(n.__H,o)&&(n.__=e,n.u=o,Y.__H.__h.push(n))}function _e(e,o){var n=ue(X++,4);!ne.__s&&be(n.__H,o)&&(n.__=e,n.u=o,Y.__h.push(n))}function fe(e){return ee=5,pe(function(){return{current:e}},[])}function pe(e,o){var n=ue(X++,7);return be(n.__H,o)&&(n.__=e(),n.__H=o,n.__h=e),n.__}function he(e,o){return ee=8,pe(function(){return e},o)}function ve(e){var o=Y.context[e.__c],n=ue(X++,9);return n.c=e,o?(null==n.__&&(n.__=!0,o.sub(Y)),o.props.value):e.__}function ge(){for(var e;e=oe.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(we),e.__H.__h.forEach(xe),e.__H.__h=[]}catch(o){e.__H.__h=[],ne.__e(o,e.__v)}}ne.__b=function(e){Y=null,te&&te(e)},ne.__=function(e,o){e&&o.__k&&o.__k.__m&&(e.__m=o.__k.__m),ae&&ae(e,o)},ne.__r=function(e){re&&re(e),X=0;var o=(Y=e.__c).__H;o&&(Z===Y?(o.__h=[],Y.__h=[],o.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(o.__h.forEach(we),o.__h.forEach(xe),o.__h=[],X=0)),Z=Y},ne.diffed=function(e){le&&le(e);var o=e.__c;o&&o.__H&&(o.__H.__h.length&&(1!==oe.push(o)&&Q===ne.requestAnimationFrame||((Q=ne.requestAnimationFrame)||ye)(ge)),o.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),Z=Y=null},ne.__c=function(e,o){o.some(function(e){try{e.__h.forEach(we),e.__h=e.__h.filter(function(e){return!e.__||xe(e)})}catch(n){o.some(function(e){e.__h&&(e.__h=[])}),o=[],ne.__e(n,e.__v)}}),ie&&ie(e,o)},ne.unmount=function(e){ce&&ce(e);var o,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{we(e)}catch(e){o=e}}),n.__H=void 0,o&&ne.__e(o,n.__v))};var me="function"==typeof requestAnimationFrame;function ye(e){var o,n=function(){clearTimeout(t),me&&cancelAnimationFrame(o),setTimeout(e)},t=setTimeout(n,35);me&&(o=requestAnimationFrame(n))}function we(e){var o=Y,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Y=o}function xe(e){var o=Y;e.__c=e.__(),Y=o}function be(e,o){return!e||e.length!==o.length||o.some(function(o,n){return o!==e[n]})}function Ce(e,o){return"function"==typeof o?o(e):o}function ke(e,o){for(var n in o)e[n]=o[n];return e}function Re(e,o){for(var n in e)if("__source"!==n&&!(n in o))return!0;for(var t in o)if("__source"!==t&&e[t]!==o[t])return!0;return!1}function Ie(e,o){this.props=e,this.context=o}function Se(e,o){function n(e){var n=this.props.ref,t=n==e.ref;return!t&&n&&(n.call?n(null):n.current=null),o?!o(this.props,e)||!t:Re(this.props,e)}function t(o){return this.shouldComponentUpdate=n,R(e,o)}return t.displayName="Memo("+(e.displayName||e.name)+")",t.prototype.isReactComponent=!0,t.__f=!0,t.type=e,t}(Ie.prototype=new E).isPureReactComponent=!0,Ie.prototype.shouldComponentUpdate=function(e,o){return Re(this.props,e)||Re(this.state,o)};var Ee=a.__b;a.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ee&&Ee(e)};var ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Pe(e){function o(o){var n=ke({},o);return delete n.ref,e(n,o.ref||null)}return o.$$typeof=ze,o.render=e,o.prototype.isReactComponent=o.__f=!0,o.displayName="ForwardRef("+(e.displayName||e.name)+")",o}var Ne=a.__e;a.__e=function(e,o,n,t){if(e.then)for(var r,l=o;l=l.__;)if((r=l.__c)&&r.__c)return null==o.__e&&(o.__e=n.__e,o.__k=n.__k),r.__c(e,o);Ne(e,o,n,t)};var Te=a.unmount;function Oe(e,o,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=ke({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=o),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return Oe(e,o,n)})),e}function Fe(e,o,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Fe(e,o,n)}),e.__c&&e.__c.__P===o&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function De(){this.__u=0,this.o=null,this.__b=null}function He(e){if(!e.__)return null;var o=e.__.__c;return o&&o.__a&&o.__a(e)}function Ae(){this.i=null,this.l=null}a.unmount=function(e){var o=e.__c;o&&(o.__z=!0),o&&o.__R&&o.__R(),o&&32&e.__u&&(e.type=null),Te&&Te(e)},(De.prototype=new E).__c=function(e,o){var n=o.__c,t=this;null==t.o&&(t.o=[]),t.o.push(n);var r=He(t.__v),l=!1,i=function(){l||t.__z||(l=!0,n.__R=null,r?r(a):a())};n.__R=i;var c=n.__P;n.__P=null;var a=function(){if(! --t.__u){if(t.state.__a){var e=t.state.__a;t.__v.__k[0]=Fe(e,e.__c.__P,e.__c.__O)}var o;for(t.setState({__a:t.__b=null});o=t.o.pop();)o.__P=c,o.forceUpdate()}};t.__u++||32&o.__u||t.setState({__a:t.__b=t.__v.__k[0]}),e.then(i,i)},De.prototype.componentWillUnmount=function(){this.o=[]},De.prototype.render=function(e,o){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),t=this.__v.__k[0].__c;this.__v.__k[0]=Oe(this.__b,n,t.__O=t.__P)}this.__b=null}var r=o.__a&&R(S,null,e.fallback);return r&&(r.__u&=-33),[R(S,null,o.__a?null:e.children),r]};var Le=function(e,o,n){if(++n[1]===n[0]&&e.l.delete(o),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Me(e){return this.getChildContext=function(){return e.context},e.children}function We(e){var o=this,n=e.h;if(o.componentWillUnmount=function(){q(null,o.v),o.v=null,o.h=null},o.h&&o.h!==n&&o.componentWillUnmount(),!o.v){for(var t=o.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;o.h=n,o.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:t.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),o.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),o.h.removeChild(e)}}}q(R(Me,{context:o.context},e.__v),o.v)}function Ge(e,o){var n=R(We,{__v:e,h:o});return n.containerInfo=o,n}(Ae.prototype=new E).__a=function(e){var o=this,n=He(o.__v),t=o.l.get(e);return t[0]++,function(r){var l=function(){o.props.revealOrder?(t.push(r),Le(o,e,t)):r()};n?n(l):l()}},Ae.prototype.render=function(e){this.i=null,this.l=new Map;var o=D(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&o.reverse();for(var n=o.length;n--;)this.l.set(o[n],this.i=[1,0,this.i]);return e.children},Ae.prototype.componentDidUpdate=Ae.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(o,n){Le(e,n,o)})};var Ke="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ue=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,je=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Be=/[A-Z0-9]/g,$e="undefined"!=typeof document,Ve=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};E.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(o){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:o})}})});var qe=a.event;function Je(){}function Xe(){return this.cancelBubble}function Ye(){return this.defaultPrevented}a.event=function(e){return qe&&(e=qe(e)),e.persist=Je,e.isPropagationStopped=Xe,e.isDefaultPrevented=Ye,e.nativeEvent=e};var Ze={enumerable:!1,configurable:!0,get:function(){return this.class}},Qe=a.vnode;a.vnode=function(e){"string"==typeof e.type&&function(e){var o=e.props,n=e.type,t={},r=-1===n.indexOf("-");for(var l in o){var i=o[l];if(!("value"===l&&"defaultValue"in o&&null==i||$e&&"children"===l&&"noscript"===n||"class"===l||"className"===l)){var c=l.toLowerCase();"defaultValue"===l&&"value"in o&&null==o.value?l="value":"download"===l&&!0===i?i="":"translate"===c&&"no"===i?i=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?l="ondblclick":"onchange"!==c||"input"!==n&&"textarea"!==n||Ve(o.type)?"onfocus"===c?l="onfocusin":"onblur"===c?l="onfocusout":je.test(l)&&(l=c):c=l="oninput":r&&Ue.test(l)?l=l.replace(Be,"-$&").toLowerCase():null===i&&(i=void 0),"oninput"===c&&t[l=c]&&(l="oninputCapture"),t[l]=i}}"select"==n&&t.multiple&&Array.isArray(t.value)&&(t.value=D(o.children).forEach(function(e){e.props.selected=-1!=t.value.indexOf(e.props.value)})),"select"==n&&null!=t.defaultValue&&(t.value=D(o.children).forEach(function(e){e.props.selected=t.multiple?-1!=t.defaultValue.indexOf(e.props.value):t.defaultValue==e.props.value})),o.class&&!o.className?(t.class=o.class,Object.defineProperty(t,"className",Ze)):(o.className&&!o.class||o.class&&o.className)&&(t.class=t.className=o.className),e.props=t}(e),e.$$typeof=Ke,Qe&&Qe(e)};var eo=a.__r;a.__r=function(e){eo&&eo(e),e.__c};var oo=a.diffed;function no(e){var o,n,t="";if("string"==typeof e||"number"==typeof e)t+=e;else if("object"==typeof e)if(Array.isArray(e))for(o=0;o<e.length;o++)e[o]&&(n=no(e[o]))&&(t&&(t+=" "),t+=n);else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function to(){for(var e,o,n=0,t="";n<arguments.length;)(e=arguments[n++])&&(o=no(e))&&(t&&(t+=" "),t+=o);return t}a.diffed=function(e){oo&&oo(e);var o=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in o&&o.value!==n.value&&(n.value=null==o.value?"":o.value)};var ro=0;function lo(e,o,n,t,r,l){o||(o={});var i,c,u=o;if("ref"in u)for(c in u={},o)"ref"==c?i=o[c]:u[c]=o[c];var s={type:e,props:u,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ro,__i:-1,__u:0,__source:r,__self:l};if("function"==typeof e&&(i=e.defaultProps))for(c in i)void 0===u[c]&&(u[c]=i[c]);return a.vnode&&a.vnode(s),s}function io(e,o){void 0===o&&(o={});var n=o.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}io(".c1wupbe700-canary49{contain:strict;contain:size layout style paint;padding:0 8px;border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-color);background-color:inherit;white-space:nowrap;overflow:hidden;overflow:clip;text-overflow:ellipsis}.c1wupbe700-canary49[aria-selected=true]{box-shadow:inset 0 0 0 2px var(--selection-color)}.cd0kgiy700-canary49{position:sticky;z-index:1}.c1730fa4700-canary49{box-shadow:2px 0 5px -2px hsla(0,0%,53.3%,.3)}");io(".r104f42s700-canary49{--color:#000;--border-color:#ddd;--summary-border-color:#aaa;--background-color:hsl(0deg 0% 100%);--header-background-color:hsl(0deg 0% 97.5%);--row-hover-background-color:hsl(0deg 0% 96%);--row-selected-background-color:hsl(207deg 76% 92%);--row-selected-hover-background-color:hsl(207deg 76% 88%);--checkbox-color:hsl(207deg 100% 29%);--checkbox-focus-color:hsl(207deg 100% 69%);--checkbox-disabled-border-color:#ccc;--checkbox-disabled-background-color:#ddd;--selection-color:#66afe9;--font-size:14px;contain:strict;contain:size layout style paint;content-visibility:auto;height:350px;border:1px solid var(--border-color);box-sizing:border-box;overflow:auto;user-select:none;background-color:var(--background-color);color:var(--color);font-size:var(--font-size)}@supports not (contain:strict){.r104f42s700-canary49{position:relative;z-index:0}}.r104f42s700-canary49 *,.r104f42s700-canary49 :after,.r104f42s700-canary49 :before{box-sizing:inherit}.r104f42s700-canary49.rdg-dark{--color:#ddd;--border-color:#444;--summary-border-color:#555;--background-color:hsl(0deg 0% 13%);--header-background-color:hsl(0deg 0% 10.5%);--row-hover-background-color:hsl(0deg 0% 9%);--row-selected-background-color:hsl(207deg 76% 42%);--row-selected-hover-background-color:hsl(207deg 76% 38%);--checkbox-color:hsl(207deg 100% 79%);--checkbox-focus-color:hsl(207deg 100% 89%);--checkbox-disabled-border-color:#000;--checkbox-disabled-background-color:#333}@media (prefers-color-scheme:dark){.r104f42s700-canary49:not(.rdg-light){--color:#ddd;--border-color:#444;--summary-border-color:#555;--background-color:hsl(0deg 0% 13%);--header-background-color:hsl(0deg 0% 10.5%);--row-hover-background-color:hsl(0deg 0% 9%);--row-selected-background-color:hsl(207deg 76% 42%);--row-selected-hover-background-color:hsl(207deg 76% 38%);--checkbox-color:hsl(207deg 100% 79%);--checkbox-focus-color:hsl(207deg 100% 89%);--checkbox-disabled-border-color:#000;--checkbox-disabled-background-color:#333}}.f7ly7s700-canary49{position:sticky;top:0;left:0;height:0;width:0;outline:0}.vc4f4zb700-canary49.r1otpg64700-canary49{cursor:move}");io('.g1cvx5us700-canary49:not([aria-selected=true]){background-color:var(--header-background-color)}.g1cvx5us700-canary49>.c1wupbe700-canary49:not(:last-child):not(.c1730fa4700-canary49){border-right:none}.g1j2w62i700-canary49:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;box-shadow:inset 0 0 0 2px var(--selection-color);pointer-events:none;z-index:2}.g1j2w62i700-canary49>.c1wupbe700-canary49:first-child{box-shadow:inset 2px 0 0 0 var(--selection-color)}');const co="rdg-group-row-selected g1j2w62i700-canary49";io(".h1fquj5h700-canary49{contain:strict;contain:size layout style paint;display:grid;grid-template-columns:var(--template-columns);grid-template-rows:var(--header-row-height);height:var(--header-row-height);line-height:var(--header-row-height);width:var(--row-width);position:sticky;top:0;background-color:var(--header-background-color);font-weight:700;z-index:3;touch-action:none}");io(".r1otpg64700-canary49{contain:strict;contain:size layout style paint;display:grid;grid-template-rows:var(--row-height);grid-template-columns:var(--template-columns);position:absolute;left:0;width:var(--row-width);height:var(--row-height);line-height:var(--row-height);background-color:var(--background-color)}.r1otpg64700-canary49:hover{background-color:var(--row-hover-background-color)}.r1otpg64700-canary49[aria-selected=true]{background-color:var(--row-selected-background-color)}.r1otpg64700-canary49[aria-selected=true]:hover{background-color:var(--row-selected-hover-background-color)}.sel5gk2700-canary49{position:sticky;z-index:3;grid-template-rows:var(--summary-row-height);height:var(--summary-row-height);line-height:var(--summary-row-height)}.sel5gk2700-canary49>.c1wupbe700-canary49{border-top:2px solid var(--summary-border-color)}");const ao="rdg-row r1otpg64700-canary49";function uo(e){const o=fe(null);return _e(()=>{var n;e&&(null==(n=o.current)||n.focus({preventScroll:!0}))},[e]),o}io('.c1w6d5eo700-canary49{cursor:pointer;display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;margin-right:1px}.c1h7iz8d700-canary49{all:unset;width:0;margin:0}.cc79ydj700-canary49{content:"";width:20px;height:20px;border:2px solid var(--border-color);background-color:var(--background-color)}.c1h7iz8d700-canary49:checked+.cc79ydj700-canary49{background-color:var(--checkbox-color);box-shadow:inset 0 0 0 4px var(--background-color)}.c1h7iz8d700-canary49:focus+.cc79ydj700-canary49{border-color:var(--checkbox-focus-color)}.c1e5jt0b700-canary49{cursor:default}.c1e5jt0b700-canary49 .cc79ydj700-canary49{border-color:var(--checkbox-disabled-border-color);background-color:var(--checkbox-disabled-background-color)}');function so({value:e,tabIndex:o,isCellSelected:n,disabled:t,onClick:r,onChange:l,"aria-label":i,"aria-labelledby":c}){const a=uo(n);return lo("label",{className:to("rdg-checkbox-label c1w6d5eo700-canary49",t&&"rdg-checkbox-label-disabled c1e5jt0b700-canary49"),children:[lo("input",{"aria-label":i,"aria-labelledby":c,tabIndex:o,ref:a,type:"checkbox",className:"rdg-checkbox-input c1h7iz8d700-canary49",disabled:t,checked:e,onChange:function(e){l(e.target.checked,e.nativeEvent.shiftKey)},onClick:r}),lo("div",{className:"rdg-checkbox cc79ydj700-canary49"})]})}function _o(e){try{return lo(S,{children:e.row[e.column.key]})}catch{return null}}io(".gch972y700-canary49{outline:none}.cz2qf0d700-canary49{margin-left:4px;stroke:currentColor;stroke-width:1.5px;fill:transparent;vertical-align:middle}.cz2qf0d700-canary49>path{transition:d .1s}");function fo({groupKey:e,isExpanded:o,isCellSelected:n,toggleGroup:t}){return lo("span",{ref:uo(n),className:"rdg-group-cell-content gch972y700-canary49",tabIndex:-1,onKeyDown:function({key:e}){"Enter"===e&&t()},children:[e,lo("svg",{viewBox:"0 0 14 8",width:"14",height:"8",className:"rdg-caret cz2qf0d700-canary49",children:lo("path",{d:o?"M1 1 L 7 7 L 13 1":"M1 7 L 7 1 L 13 7"})})]})}function po(e,o,n){const t="function"==typeof e.colSpan?e.colSpan(n):1;if(Number.isInteger(t)&&t>1&&(!e.frozen||e.idx+t-1<=o))return t}function ho(e){e.stopPropagation()}const vo=new Set(["Unidentified","Alt","AltGraph","CapsLock","Control","Fn","FnLock","Meta","NumLock","ScrollLock","Shift","Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp","Insert","ContextMenu","Escape","Pause","Play","PrintScreen","F1","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"]);function go(e){return(e.ctrlKey||e.metaKey)&&"Control"!==e.key}function mo({key:e,target:o}){return"Tab"===e&&(o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement||o instanceof HTMLSelectElement)&&o.matches(".rdg-editor-container > :only-child, .rdg-editor-container > label:only-child > :only-child")}function yo({selectedPosition:e,columns:o,rows:n,isGroupRow:t}){const r=o[e.idx],l=n[e.rowIdx];return!t(l)&&wo(r,l)}function wo(e,o){return null!=e.editor&&!e.rowGroup&&!1!==("function"==typeof e.editable?e.editable(o):e.editable)}const{min:xo,max:bo,floor:Co,ceil:ko,sign:Ro}=Math;function Io(e){if("function"!=typeof e)throw new Error("Please specify the rowKeyGetter prop to use selection")}function So(e,o){return{gridColumnStart:e.idx+1,gridColumnEnd:void 0!==o?`span ${o}`:void 0,left:e.frozen?`var(--frozen-left-${e.key})`:void 0}}function Eo(e,...o){return to("rdg-cell c1wupbe700-canary49",...o,e.frozen&&"rdg-cell-frozen cd0kgiy700-canary49",e.isLastFrozenColumn&&"rdg-cell-frozen-last c1730fa4700-canary49")}const zo="select-row";const Po={key:zo,name:"",width:35,maxWidth:35,resizable:!1,sortable:!1,frozen:!0,headerRenderer:e=>lo(so,{"aria-label":"Select All",isCellSelected:!1,value:e.allRowsSelected,onChange:e.onAllRowsSelectionChange}),formatter:function(e){const[o,n]=Lo();return lo(so,{"aria-label":"Select",tabIndex:-1,isCellSelected:e.isCellSelected,value:o,onClick:ho,onChange:(o,t)=>{n({rowIdx:e.rowIdx,checked:o,isShiftClick:t})}})},groupFormatter:function(e){const[o,n]=Lo();return lo(so,{"aria-label":"Select Group",tabIndex:-1,isCellSelected:e.isCellSelected,value:o,onChange:o=>{n({checked:o,isShiftClick:!1,rowIdx:e.rowIdx})},onClick:ho})}};function No({key:e,width:o},n,t){return n.has(e)?n.get(e):"number"==typeof o?o:"string"==typeof o&&/^\d+%$/.test(o)?Co(t*parseInt(o,10)/100):void 0}function To(e,{minWidth:o,maxWidth:n},t){return e=bo(e,null!=o?o:t),"number"==typeof n?xo(e,n):e}function Oo(e){const o=fe(e);return de(()=>{o.current=e}),he((...e)=>{o.current(...e)},[])}const Fo=J(void 0),Do=Fo.Provider,Ho=J(void 0),Ao=Ho.Provider;function Lo(){const e=ve(Fo),o=ve(Ho);if(void 0===e||void 0===o)throw new Error("useRowSelection must be used within DataGrid cells");return[e,o]}function Mo({rawRows:e,rowHeight:o,clientHeight:n,scrollTop:t,groupBy:r,rowGrouper:l,expandedGroupIds:i,enableVirtualization:c}){const[a,u]=pe(()=>{if(0===r.length||null==l)return[void 0,e.length];const o=(e,[n,...t],r)=>{let i=0;const c={};for(const[a,u]of Object.entries(l(e,n))){const[e,n]=0===t.length?[u,u.length]:o(u,t,r+i+1);c[a]={childRows:u,childGroups:e,startRowIndex:r+i},i+=n+1}return[c,i]};return o(e,r,0)},[r,l,e]),[s,d]=pe(()=>{const o=new Set;if(!a)return[e,r];const n=[],t=(e,r,l)=>{var c;(c=e,Array.isArray(c))?n.push(...e):Object.keys(e).forEach((c,a,u)=>{var s;const d=void 0!==r?`${r}__${c}`:c,_=null!=(s=null==i?void 0:i.has(d))&&s,{childRows:f,childGroups:p,startRowIndex:h}=e[c],v={id:d,parentId:r,groupKey:c,isExpanded:_,childRows:f,level:l,posInSet:a,startRowIndex:h,setSize:u.length};n.push(v),o.add(v),_&&t(p,d,l+1)})};return t(a,void 0,0),[n,r];function r(e){return o.has(e)}},[i,a,e]),{totalRowHeight:_,getRowTop:f,getRowHeight:p,findRowIdx:h}=pe(()=>{if("number"==typeof o)return{totalRowHeight:o*s.length,getRowTop:e=>e*o,getRowHeight:()=>o,findRowIdx:e=>Co(e/o)};let e=0;const n=s.map(n=>{const t=d(n)?o({type:"GROUP",row:n}):o({type:"ROW",row:n}),r={top:e,height:t};return e+=t,r}),t=e=>bo(0,xo(s.length-1,e));return{totalRowHeight:e,getRowTop:e=>n[t(e)].top,getRowHeight:e=>n[t(e)].height,findRowIdx(e){let o=0,t=n.length-1;for(;o<=t;){const r=o+Co((t-o)/2),l=n[r].top;if(l===e)return r;if(l<e?o=r+1:l>e&&(t=r-1),o>t)return t}return 0}}},[d,o,s]);if(!c)return{rowOverscanStartIdx:0,rowOverscanEndIdx:s.length-1,rows:s,rowsCount:u,totalRowHeight:_,isGroupRow:d,getRowTop:f,getRowHeight:p,findRowIdx:h};const v=h(t),g=xo(s.length-1,h(t+n));return{rowOverscanStartIdx:bo(0,8*Co((v-4)/8)),rowOverscanEndIdx:xo(s.length-1,8*ko((g+4)/8)),rows:s,rowsCount:u,totalRowHeight:_,isGroupRow:d,getRowTop:f,getRowHeight:p,findRowIdx:h}}io(".h13yq3r8700-canary49{cursor:pointer;display:flex}.ht6rdyl700-canary49{flex-grow:1;overflow:hidden;overflow:clip;text-overflow:ellipsis}");function Wo({onSort:e,sortDirection:o,priority:n,children:t}){let r="";return"ASC"===o?r="▲":"DESC"===o&&(r="▼"),lo("span",{className:"rdg-header-sort-cell h13yq3r8700-canary49",onClick:o=>e(o.ctrlKey),children:[lo("span",{className:"rdg-header-sort-name ht6rdyl700-canary49",children:t}),lo("span",{children:[r,n]})]})}io('.celq7o9700-canary49:after{content:"";cursor:col-resize;position:absolute;top:0;right:0;bottom:0;width:10px}');function Go({column:e,colSpan:o,onResize:n,allRowsSelected:t,onAllRowsSelectionChange:r,sortColumns:l,onSortColumnsChange:i}){const c=null==l?void 0:l.findIndex(o=>o.columnKey===e.key),a=void 0!==c&&c>-1?l[c]:void 0,u=null==a?void 0:a.direction,s=void 0!==a&&l.length>1?c+1:void 0,d=u&&!s?"ASC"===u?"ascending":"descending":void 0,_=o=>{if(null==i)return;const{sortDescendingFirst:n}=e;if(void 0===a){const t={columnKey:e.key,direction:n?"DESC":"ASC"};i(l&&o?[...l,t]:[t])}else{let t;if((n&&"DESC"===u||!n&&"ASC"===u)&&(t={columnKey:e.key,direction:"ASC"===u?"DESC":"ASC"}),o){const e=[...l];t?e[c]=t:e.splice(c,1),i(e)}else i(t?[t]:[])}};const f=Eo(e,e.headerCellClass,e.resizable&&"rdg-cell-resizable celq7o9700-canary49");return lo("div",{role:"columnheader","aria-colindex":e.idx+1,"aria-sort":d,"aria-colspan":o,className:f,style:So(e,o),onPointerDown:e.resizable?function(o){if("mouse"===o.pointerType&&1!==o.buttons)return;const{currentTarget:t,pointerId:r}=o,{right:l}=t.getBoundingClientRect(),i=l-o.clientX;function c(o){if(o.pointerId!==r)return;if("mouse"===o.pointerType&&1!==o.buttons)return void a(o);const l=o.clientX+i-t.getBoundingClientRect().left;l>0&&n(e,l)}function a(e){e.pointerId===r&&(window.removeEventListener("pointermove",c),window.removeEventListener("pointerup",a))}i>11||(o.preventDefault(),window.addEventListener("pointermove",c),window.addEventListener("pointerup",a))}:void 0,children:e.headerRenderer?lo(e.headerRenderer,{column:e,sortDirection:u,priority:s,onSort:_,allRowsSelected:t,onAllRowsSelectionChange:r}):e.sortable?lo(Wo,{onSort:_,sortDirection:u,priority:s,children:e.name}):e.name})}function Ko({columns:e,rows:o,rowKeyGetter:n,onSelectedRowsChange:t,allRowsSelected:r,onColumnResize:l,sortColumns:i,onSortColumnsChange:c,lastFrozenColumnIndex:a}){const u=he(e=>{if(!t)return;Io(n);const r=new Set(e?o.map(n):void 0);t(r)},[t,o,n]),s=[];for(let o=0;o<e.length;o++){const n=e[o],t=po(n,a,{type:"HEADER"});void 0!==t&&(o+=t-1),s.push(lo(Go,{column:n,colSpan:t,onResize:l,allRowsSelected:r,onAllRowsSelectionChange:u,onSortColumnsChange:c,sortColumns:i},n.key))}return lo("div",{role:"row","aria-rowindex":1,className:"rdg-header-row h1fquj5h700-canary49",children:s})}const Uo=Se(Ko);io(".c1bmg16t700-canary49,.ccpfvsn700-canary49{background-color:#ccf}.c1bmg16t700-canary49.ccpfvsn700-canary49{background-color:#99f}.c12t67zz700-canary49{cursor:move;position:absolute;right:0;bottom:0;width:8px;height:8px;background-color:var(--selection-color)}.c12t67zz700-canary49:hover{width:16px;height:16px;border:2px solid var(--selection-color);background-color:var(--background-color)}");function jo({className:e,column:o,colSpan:n,isCellSelected:t,isCopied:r,isDraggedOver:l,row:i,rowIdx:c,dragHandleProps:a,onRowClick:u,onClick:s,onDoubleClick:d,onContextMenu:_,onRowChange:f,selectCell:p,...h},v){const{cellClass:g}=o;function m(e){p({idx:o.idx,rowIdx:c},e)}return e=Eo(o,"function"==typeof g?g(i):g,e,r&&"rdg-cell-copied ccpfvsn700-canary49",l&&"rdg-cell-dragged-over c1bmg16t700-canary49"),lo("div",{role:"gridcell","aria-colindex":o.idx+1,"aria-selected":t,"aria-colspan":n,"aria-readonly":!wo(o,i)||void 0,ref:v,className:e,style:So(o,n),onClick:function(e){var n;m(null==(n=o.editorOptions)?void 0:n.editOnClick),null==u||u(c,i,o),null==s||s(e)},onDoubleClick:function(e){m(!0),null==d||d(e)},onContextMenu:function(e){m(),null==_||_(e)},...h,children:!o.rowGroup&&lo(S,{children:[lo(o.formatter,{column:o,rowIdx:c,row:i,isCellSelected:t,onRowChange:function(e){f(c,e)}}),a&&lo("div",{className:"rdg-cell-drag-handle c12t67zz700-canary49",...a})]})})}const Bo=Se(Pe(jo));io(".c1tngyp1700-canary49{padding:0}");function $o({column:e,colSpan:o,row:n,rowIdx:t,onRowChange:r,onClose:l,onKeyDown:i,editorPortalTarget:c}){const a=fe(),u=Oo(()=>{r(n,!0)});function s(){cancelAnimationFrame(a.current)}de(()=>{function e(){a.current=requestAnimationFrame(u)}return addEventListener("mousedown",e,{capture:!0}),()=>{removeEventListener("mousedown",e,{capture:!0}),s()}},[u]);const{cellClass:d}=e,_=Eo(e,"rdg-editor-container c1tngyp1700-canary49","function"==typeof d?d(n):d);let f;var p;null!=e.editor&&(f=lo(e.editor,{column:e,row:n,rowIdx:t,onRowChange:r,onClose:l,editorPortalTarget:c}),null!=(p=e.editorOptions)&&p.createPortal&&(f=Ge(f,c)));return lo("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-selected":!0,className:_,style:So(e,o),onKeyDown:i,onMouseDownCapture:s,children:f})}function Vo({cellRenderer:e,className:o,rowIdx:n,isRowSelected:t,copiedCellIdx:r,draggedOverCellIdx:l,lastFrozenColumnIndex:i,row:c,viewportColumns:a,selectedCellProps:u,onRowClick:s,rowClass:d,setDraggedOverRowIdx:_,onMouseEnter:f,top:p,height:h,onRowChange:v,selectCell:g,...m},y){o=to(ao,"rdg-row-"+(n%2==0?"even":"odd"),null==d?void 0:d(c),o,-1===(null==u?void 0:u.idx)&&co);const w=null!=e?e:Bo,x=[];for(let e=0;e<a.length;e++){const o=a[e],t=po(o,i,{type:"ROW",row:c});void 0!==t&&(e+=t-1);const d=(null==u?void 0:u.idx)===o.idx;"EDIT"===(null==u?void 0:u.mode)&&d?x.push(lo($o,{rowIdx:n,column:o,colSpan:t,onKeyDown:u.onKeyDown,...u.editorProps},o.key)):x.push(lo(w,{rowIdx:n,column:o,colSpan:t,row:c,isCopied:r===o.idx,isDraggedOver:l===o.idx,isCellSelected:d,dragHandleProps:d?u.dragHandleProps:void 0,onFocus:d?u.onFocus:void 0,onKeyDown:d?u.onKeyDown:void 0,onRowClick:s,onRowChange:v,selectCell:g},o.key))}return lo(Do,{value:t,children:lo("div",{role:"row",ref:y,className:o,onMouseEnter:function(e){null==_||_(n),null==f||f(e)},style:{top:p,"--row-height":`${h}px`},...m,children:x})})}const qo=Se(Pe(Vo));function Jo({id:e,rowIdx:o,groupKey:n,childRows:t,isExpanded:r,isCellSelected:l,column:i,groupColumnIndex:c,toggleGroup:a}){function u(){a(e)}const s=i.rowGroup&&c===i.idx;return lo("div",{role:"gridcell","aria-colindex":i.idx+1,className:Eo(i),style:{...So(i),cursor:s?"pointer":"default"},onClick:s?u:void 0,children:(!i.rowGroup||c===i.idx)&&i.groupFormatter&&lo(i.groupFormatter,{rowIdx:o,groupKey:n,childRows:t,column:i,isExpanded:r,isCellSelected:l,toggleGroup:u})},i.key)}const Xo=Se(Jo);function Yo({id:e,groupKey:o,viewportColumns:n,childRows:t,rowIdx:r,top:l,height:i,level:c,isExpanded:a,selectedCellIdx:u,isRowSelected:s,selectCell:d,toggleGroup:_,...f}){const p=n[0].key===zo?c+1:c;return lo(Do,{value:s,children:lo("div",{role:"row","aria-level":c,"aria-expanded":a,className:to(ao,"rdg-group-row g1cvx5us700-canary49","rdg-row-"+(r%2==0?"even":"odd"),-1===u&&co),onClick:function(){d({rowIdx:r,idx:-1})},style:{top:l,"--row-height":`${i}px`},...f,children:n.map(n=>lo(Xo,{id:e,rowIdx:r,groupKey:o,childRows:t,isExpanded:a,isCellSelected:u===n.idx,column:n,groupColumnIndex:p,toggleGroup:_},n.key))})})}const Zo=Se(Yo);function Qo({column:e,colSpan:o,row:n}){const{summaryFormatter:t,summaryCellClass:r}=e,l=Eo(e,"function"==typeof r?r(n):r);return lo("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":o,className:l,style:So(e,o),children:t&&lo(t,{column:e,row:n})})}const en=Se(Qo);function on({rowIdx:e,row:o,viewportColumns:n,bottom:t,lastFrozenColumnIndex:r,"aria-rowindex":l}){const i=[];for(let e=0;e<n.length;e++){const t=n[e],l=po(t,r,{type:"SUMMARY",row:o});void 0!==l&&(e+=l-1),i.push(lo(en,{column:t,colSpan:l,row:o},t.key))}return lo("div",{role:"row","aria-rowindex":l,className:`${ao} rdg-row-${e%2==0?"even":"odd"} rdg-summary-row sel5gk2700-canary49`,style:{bottom:t},children:i})}const nn=Se(on);var tn;const rn=null==(tn=globalThis.document)?void 0:tn.body,ln={idx:-1,rowIdx:-1,mode:"SELECT"};function cn({columns:e,rows:o,summaryRows:n,rowKeyGetter:t,onRowsChange:r,rowHeight:l,headerRowHeight:i,summaryRowHeight:c,selectedRows:a,onSelectedRowsChange:u,sortColumns:s,onSortColumnsChange:d,defaultColumnOptions:_,groupBy:f,rowGrouper:p,expandedGroupIds:h,onExpandedGroupIdsChange:v,rowRenderer:g,emptyRowsRenderer:m,onRowClick:y,onScroll:w,onColumnResize:x,onSelectedCellChange:b,onFill:C,onPaste:k,cellNavigationMode:R,enableVirtualization:I,editorPortalTarget:E,className:z,style:P,rowClass:N,"aria-label":T,"aria-labelledby":O,"aria-describedby":F},D){var H;null!=l||(l=35);const A=null!=i?i:"number"==typeof l?l:35,L=null!=c?c:"number"==typeof l?l:35,M=null!=g?g:qo,W=null!=R?R:"NONE";null!=I||(I=!0);const G=null!=E?E:rn,[K,U]=se(0),[j,B]=se(0),[$,V]=se(()=>new Map),[q,J]=se(ln),[X,Y]=se(null),[Z,Q]=se(!1),[oe,ne]=se(void 0),te=fe(null),re=fe(q),le=fe(oe),ie=fe(-1),ce=fe(!1),ae=Oo(function({rowIdx:e,checked:o,isShiftClick:n}){if(!u)return;Io(t);const r=new Set(a),l=He[e];if(Me(l)){for(const e of l.childRows){const n=t(e);o?r.add(n):r.delete(n)}return void u(r)}const i=t(l);if(o){r.add(i);const o=ie.current;if(ie.current=e,n&&-1!==o&&o!==e){const n=Ro(e-o);for(let l=o+n;l!==e;l+=n){const e=He[l];Me(e)||r.add(t(e))}}}else r.delete(i),ie.current=-1;u(r)}),ue=Oo(uo),de=Oo(Je),ve=Oo(Qe),[ge,me,ye]=function(){const e=fe(null),[o,n]=se(1),[t,r]=se(1);return _e(()=>{const{ResizeObserver:o}=window;if(null==o)return;const t=new o(()=>{const{clientWidth:o,clientHeight:t}=e.current;n(o-(devicePixelRatio%.5==0?0:1)),r(t)});return t.observe(e.current),()=>{t.disconnect()}},[]),[e,o,t]}(),we=null!=(H=null==n?void 0:n.length)?H:0,xe=ye-A-we*L,be=null!=a&&null!=u,Ce=pe(()=>{const{length:e}=o;return 0!==e&&null!=a&&null!=t&&a.size>=e&&o.every(e=>a.has(t(e)))},[o,a,t]),{columns:ke,colSpanColumns:Re,colOverscanStartIdx:Ie,colOverscanEndIdx:Se,layoutCssVars:Ee,columnMetrics:ze,totalColumnWidth:Pe,lastFrozenColumnIndex:Ne,totalFrozenColumnWidth:Te,groupBy:Oe}=function({rawColumns:e,columnWidths:o,viewportWidth:n,scrollLeft:t,defaultColumnOptions:r,rawGroupBy:l,enableVirtualization:i}){var c,a,u,s;const d=null!=(c=null==r?void 0:r.minWidth)?c:80,_=null!=(a=null==r?void 0:r.formatter)?a:_o,f=null!=(u=null==r?void 0:r.sortable)&&u,p=null!=(s=null==r?void 0:r.resizable)&&s,{columns:h,colSpanColumns:v,lastFrozenColumnIndex:g,groupBy:m}=pe(()=>{const o=[];let n=-1;const t=e.map(e=>{var o,t,r,i;const c=null!=(o=null==l?void 0:l.includes(e.key))&&o,a=c||e.frozen||!1,u={...e,idx:0,frozen:a,isLastFrozenColumn:!1,rowGroup:c,sortable:null!=(t=e.sortable)?t:f,resizable:null!=(r=e.resizable)?r:p,formatter:null!=(i=e.formatter)?i:_};return c&&(null!=u.groupFormatter||(u.groupFormatter=fo)),a&&n++,u});t.sort(({key:e,frozen:o},{key:n,frozen:t})=>e===zo?-1:n===zo?1:null!=l&&l.includes(e)?l.includes(n)?l.indexOf(e)-l.indexOf(n):-1:null!=l&&l.includes(n)?1:o?t?0:-1:t?1:0);const r=[];return t.forEach((e,n)=>{e.idx=n,e.rowGroup&&o.push(e.key),null!=e.colSpan&&r.push(e)}),-1!==n&&(t[n].isLastFrozenColumn=!0),{columns:t,colSpanColumns:r,lastFrozenColumnIndex:n,groupBy:o}},[e,_,p,f,l]),{layoutCssVars:y,totalColumnWidth:w,totalFrozenColumnWidth:x,columnMetrics:b}=pe(()=>{const e=new Map;let t=0,r=0,l=0,i="",c=0,a=0;for(const t of h){let r=No(t,o,n);void 0===r?a++:(r=To(r,t,d),c+=r,e.set(t,{width:r,left:0}))}const u=(n-c)/a;for(const o of h){let n;if(e.has(o)){const r=e.get(o);r.left=t,({width:n}=r)}else n=To(u,o,d),e.set(o,{width:n,left:t});r+=n,t+=n,i+=`${n}px `}if(-1!==g){const o=e.get(h[g]);l=o.left+o.width}const s={"--template-columns":i};for(let o=0;o<=g;o++){const n=h[o];s[`--frozen-left-${n.key}`]=`${e.get(n).left}px`}return{layoutCssVars:s,totalColumnWidth:r,totalFrozenColumnWidth:l,columnMetrics:e}},[o,h,n,d,g]),[C,k]=pe(()=>{if(!i)return[0,h.length-1];const e=t+x,o=t+n,r=h.length-1,l=xo(g+1,r);if(e>=o)return[l,l];let c=l;for(;c<r;){const{left:o,width:n}=b.get(h[c]);if(o+n>e)break;c++}let a=c;for(;a<r;){const{left:e,width:n}=b.get(h[a]);if(e+n>=o)break;a++}return[bo(l,c-1),xo(r,a+1)]},[b,h,g,t,x,n,i]);return{columns:h,colSpanColumns:v,colOverscanStartIdx:C,colOverscanEndIdx:k,layoutCssVars:y,columnMetrics:b,totalColumnWidth:w,lastFrozenColumnIndex:g,totalFrozenColumnWidth:x,groupBy:m}}({rawColumns:e,columnWidths:$,scrollLeft:j,viewportWidth:me,defaultColumnOptions:_,rawGroupBy:p?f:void 0,enableVirtualization:I}),{rowOverscanStartIdx:Fe,rowOverscanEndIdx:De,rows:He,rowsCount:Ae,totalRowHeight:Le,isGroupRow:Me,getRowTop:We,getRowHeight:Ge,findRowIdx:Ke}=Mo({rawRows:o,groupBy:Oe,rowGrouper:p,rowHeight:l,clientHeight:xe,scrollTop:K,expandedGroupIds:h,enableVirtualization:I}),Ue=function({columns:e,colSpanColumns:o,rows:n,summaryRows:t,colOverscanStartIdx:r,colOverscanEndIdx:l,lastFrozenColumnIndex:i,rowOverscanStartIdx:c,rowOverscanEndIdx:a,isGroupRow:u}){const s=pe(()=>{if(0===r)return 0;let e=r;const l=(o,n)=>void 0!==n&&o+n>r&&(e=o,!0);for(const r of o){const o=r.idx;if(o>=e)break;if(l(o,po(r,i,{type:"HEADER"})))break;for(let e=c;e<=a;e++){const t=n[e];if(!u(t)&&l(o,po(r,i,{type:"ROW",row:t})))break}if(null!=t)for(const e of t)if(l(o,po(r,i,{type:"SUMMARY",row:e})))break}return e},[c,a,n,t,r,i,o,u]);return pe(()=>{const o=[];for(let n=0;n<=l;n++){const t=e[n];n<s&&!t.frozen||o.push(t)}return o},[s,l,e])}({columns:ke,colSpanColumns:Re,colOverscanStartIdx:Ie,colOverscanEndIdx:Se,lastFrozenColumnIndex:Ne,rowOverscanStartIdx:Fe,rowOverscanEndIdx:De,rows:He,summaryRows:n,isGroupRow:Me}),je=Oe.length>0&&"function"==typeof p,Be=je?-1:0,$e=!je&&null!=C;_e(()=>{q!==re.current&&"EDIT"!==q.mode&&co(q)&&(re.current=q,ho(q),ce.current?ce.current=!1:te.current.focus({preventScroll:!0}))}),function(e,o,n){ee=6,_e(function(){if("function"==typeof e){var n=e(o());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=o(),function(){return e.current=null}},null==n?n:n.concat(e))}(D,()=>({element:ge.current,scrollToColumn(e){ho({idx:e})},scrollToRow(e){const{current:o}=ge;o&&o.scrollTo({top:We(e),behavior:"smooth"})},selectCell:uo}));const Ve=he((e,o)=>{V(n=>{const t=new Map(n);return t.set(e.key,o),t}),null==x||x(e.idx,o)},[x]),qe=he(e=>{ne(e),le.current=e},[]);function Je(e){if(!v)return;const o=new Set(h);o.has(e)?o.delete(e):o.add(e),v(o)}function Xe(e){const{key:n,keyCode:t}=e,l=He[q.rowIdx];if(k&&go(e)&&co(q)&&!Me(l)&&-1!==q.idx&&"SELECT"===q.mode){const e=86;if(t===67)return void function(){const{idx:e,rowIdx:n}=q;Y({row:o[Ze(n)],columnKey:ke[e].key})}();if(t===e)return void function(){const{idx:e,rowIdx:n}=q,t=o[Ze(n)];if(!k||!r||null===X||!ao(q))return;const l=k({sourceRow:X.row,sourceColumnKey:X.columnKey,targetRow:t,targetColumnKey:ke[e].key});Qe(n,l)}()}if(co(q)&&Me(l)&&-1===q.idx&&("ArrowLeft"===n&&l.isExpanded||"ArrowRight"===n&&!l.isExpanded))return e.preventDefault(),void Je(l.id);switch(e.key){case"Escape":return Y(null),void so();case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Tab":case"Home":case"End":case"PageUp":case"PageDown":!function(e){if("EDIT"===q.mode){var o,n;if(!(null!=(o=null==(n=ke[q.idx].editorOptions)?void 0:n.onNavigation)?o:mo)(e))return}const{key:t,shiftKey:r}=e;let l=W;if("Tab"===t){if(function({cellNavigationMode:e,columns:o,rowsCount:n,selectedPosition:{rowIdx:t,idx:r},shiftKey:l}){if("NONE"===e||"CHANGE_ROW"===e){const e=r===o.length-1;return l?0===r&&0===t:e&&t===n-1}return!1}({shiftKey:r,cellNavigationMode:W,columns:ke,rowsCount:He.length,selectedPosition:q}))return void eo();l="NONE"===W?"CHANGE_ROW":W}e.preventDefault();const i=go(e),c=function({cellNavigationMode:e,columns:o,colSpanColumns:n,rows:t,currentPosition:r,nextPosition:l,lastFrozenColumnIndex:i,isCellWithinBounds:c,isGroupRow:a}){const u=t.length;let s=l;const d=e=>{const o=t[s.rowIdx];if(!a(o)){const t=s.idx;for(const r of n){const n=r.idx;if(n>t)break;const l=po(r,i,{type:"ROW",row:o});if(l&&t>n&&t<l+n){s.idx=n+(e?l:0);break}}}};if(c(s)&&d(s.idx-r.idx>0),"NONE"!==e){const{idx:n,rowIdx:t}=l,r=o.length,i=-1===n;n===r?("CHANGE_ROW"===e?t===u-1||(s={idx:0,rowIdx:t+1}):s={rowIdx:t,idx:0},d(!0)):i&&("CHANGE_ROW"===e?0===t||(s={rowIdx:t-1,idx:r-1}):s={rowIdx:t,idx:r-1}),d(!1)}return s}({columns:ke,colSpanColumns:Re,rows:He,lastFrozenColumnIndex:Ne,cellNavigationMode:l,currentPosition:q,nextPosition:wo(t,i,r),isCellWithinBounds:co,isGroupRow:Me});uo(c)}(e);break;default:!function(e){var o;if(!co(q))return;const n=He[q.rowIdx];if(Me(n))return;const{key:t}=e,r=ke[q.idx];if("EDIT"===q.mode)return void("Enter"===t&&(eo(),so()));if(null==(o=r.editorOptions)||null==o.onCellKeyDown||o.onCellKeyDown(e),e.isDefaultPrevented())return;ao(q)&&function(e){return!vo.has(e.key)}(e)&&J(({idx:e,rowIdx:o})=>({idx:e,rowIdx:o,key:t,mode:"EDIT",row:n,originalRow:n}))}(e)}}function Ye(){ce.current=!0}function Ze(e){return je?o.indexOf(He[e]):e}function Qe(e,n){if("function"!=typeof r)return;if(n===o[e])return;const t=[...o];t[e]=n,r(t,{indexes:[e],column:ke[q.idx]})}function eo(){var e;if(null==(null==(e=ke[q.idx])?void 0:e.editor)||"SELECT"===q.mode||q.row===q.originalRow)return;Qe(Ze(q.rowIdx),q.row)}function oo(e){function n(e){1!==e.buttons&&t()}function t(){window.removeEventListener("mouseover",n),window.removeEventListener("mouseup",t),Q(!1),function(){const e=le.current;if(void 0===e||!C||!r)return;const{idx:n,rowIdx:t}=q,l=o[t],i=t<e?t+1:e,c=t<e?e+1:t,a=o.slice(i,c),u=ke[n],s=C({columnKey:u.key,sourceRow:l,targetRows:a}),d=[...o],_=[];for(let e=i;e<c;e++){const o=e-i;d[e]!==s[o]&&(d[e]=s[o],_.push(e))}_.length>0&&r(d,{indexes:_,column:u}),qe(void 0)}()}1===e.buttons&&(Q(!0),window.addEventListener("mouseover",n),window.addEventListener("mouseup",t))}function no(e){if(e.stopPropagation(),!C||!r)return;const{idx:n,rowIdx:t}=q,l=o[t],i=o.slice(t+1),c=ke[n],a=C({columnKey:c.key,sourceRow:l,targetRows:i}),u=[...o],s=[];for(let e=t+1;e<u.length;e++){const o=e-t-1;u[e]!==a[o]&&(u[e]=a[o],s.push(e))}s.length>0&&r(u,{indexes:s,column:c})}function ro(e,o){"SELECT"!==q.mode&&(o?(Qe(Ze(q.rowIdx),e),so()):J(o=>({...o,row:e})))}function io(e){e&&eo(),so()}function co({idx:e,rowIdx:o}){return o>=0&&o<He.length&&e>=Be&&e<ke.length}function ao(e){return co(e)&&yo({columns:ke,rows:He,selectedPosition:e,isGroupRow:Me})}function uo(e,o){if(co(e)){if(eo(),o&&ao(e)){const o=He[e.rowIdx];J({...e,mode:"EDIT",key:null,row:o,originalRow:o})}else J({...e,mode:"SELECT"});null==b||b({...e})}}function so(){"SELECT"!==q.mode&&J(({idx:e,rowIdx:o})=>({idx:e,rowIdx:o,mode:"SELECT"}))}function ho({idx:e,rowIdx:o}){const{current:n}=ge;if(n){if("number"==typeof e&&e>Ne){if(null!=o||(o=q.rowIdx),!co({rowIdx:o,idx:e}))return;const{clientWidth:t}=n,r=ke[e],{left:l,width:i}=ze.get(r);let c=l+i;const a=He[o];if(!Me(a)){const e=po(r,Ne,{type:"ROW",row:a});if(void 0!==e){const{left:o,width:n}=ze.get(ke[r.idx+e-1]);c=o+n}}const u=c>t+j;l<j+Te?n.scrollLeft=l-Te:u&&(n.scrollLeft=c-t)}if("number"==typeof o){const e=We(o),t=Ge(o);e<K?n.scrollTop=e:e+t>K+xe&&(n.scrollTop=e+t-xe)}}}function wo(e,o,n){const{idx:t,rowIdx:r}=q,l=He[r],i=co(q)&&-1===t;if("ArrowLeft"===e&&i&&Me(l)&&!l.isExpanded&&0!==l.level){let e=-1;for(let o=q.rowIdx-1;o>=0;o--){const n=He[o];if(Me(n)&&n.id===l.parentId){e=o;break}}if(-1!==e)return{idx:t,rowIdx:e}}switch(e){case"ArrowUp":return{idx:t,rowIdx:r-1};case"ArrowDown":return{idx:t,rowIdx:r+1};case"ArrowLeft":return{idx:t-1,rowIdx:r};case"ArrowRight":return{idx:t+1,rowIdx:r};case"Tab":return-1===q.idx&&-1===q.rowIdx?n?{idx:ke.length-1,rowIdx:He.length-1}:{idx:0,rowIdx:0}:{idx:t+(n?-1:1),rowIdx:r};case"Home":return i?{idx:t,rowIdx:0}:o?{idx:0,rowIdx:0}:{idx:0,rowIdx:r};case"End":return i?{idx:t,rowIdx:He.length-1}:o?{idx:ke.length-1,rowIdx:He.length-1}:{idx:ke.length-1,rowIdx:r};case"PageUp":{const e=We(r)+Ge(r)-xe;return{idx:t,rowIdx:e>0?Ke(e):0}}case"PageDown":{const e=We(r)+xe;return{idx:t,rowIdx:e<Le?Ke(e):He.length-1}}default:return q}}function Co(e){if(void 0===oe)return;const{rowIdx:o}=q;return(o<oe?o<e&&e<=oe:o>e&&e>=oe)?q.idx:void 0}function ko(e){if(q.rowIdx===e)return"EDIT"===q.mode?{mode:"EDIT",idx:q.idx,onKeyDown:Xe,editorProps:{editorPortalTarget:G,row:q.row,onRowChange:ro,onClose:io}}:{mode:"SELECT",idx:q.idx,onFocus:Ye,onKeyDown:Xe,dragHandleProps:$e&&ao(q)?{onMouseDown:oo,onDoubleClick:no}:void 0}}return(q.idx>=ke.length||q.rowIdx>=He.length)&&(J(ln),qe(void 0)),"EDIT"===q.mode&&He[q.rowIdx]!==q.originalRow&&so(),lo("div",{role:je?"treegrid":"grid","aria-label":T,"aria-labelledby":O,"aria-describedby":F,"aria-multiselectable":!!be||void 0,"aria-colcount":ke.length,"aria-rowcount":1+Ae+we,className:to("rdg r104f42s700-canary49",z,Z&&"rdg-viewport-dragging vc4f4zb700-canary49"),style:{...P,"--header-row-height":`${A}px`,"--row-width":`${Pe}px`,"--summary-row-height":`${L}px`,...Ee},ref:ge,onScroll:function(e){const{scrollTop:o,scrollLeft:n}=e.currentTarget;U(o),B(n),null==w||w(e)},children:[lo(Uo,{rowKeyGetter:t,rows:o,columns:Ue,onColumnResize:Ve,allRowsSelected:Ce,onSelectedRowsChange:u,sortColumns:s,onSortColumnsChange:d,lastFrozenColumnIndex:Ne}),0===He.length&&m?lo(m,{}):lo(S,{children:[lo("div",{ref:te,tabIndex:0,className:"rdg-focus-sink f7ly7s700-canary49",onKeyDown:Xe,onFocus:function(){if(co(q))ho(q);else{const e={idx:0,rowIdx:0,mode:"SELECT"};co(e)&&J(e)}}}),lo("div",{style:{height:bo(Le,xe)}}),lo(Ao,{value:ae,children:function(){const e=[];let o=0;for(let r=Fe;r<=De;r++){const l=He[r],i=We(r)+A;if(Me(l)){({startRowIndex:o}=l);const n=be&&l.childRows.every(e=>null==a?void 0:a.has(t(e)));e.push(lo(Zo,{"aria-level":l.level+1,"aria-setsize":l.setSize,"aria-posinset":l.posInSet+1,"aria-rowindex":1+o+1,"aria-selected":be?n:void 0,id:l.id,groupKey:l.groupKey,viewportColumns:Ue,childRows:l.childRows,rowIdx:r,top:i,height:Ge(r),level:l.level,isExpanded:l.isExpanded,selectedCellIdx:q.rowIdx===r?q.idx:void 0,isRowSelected:n,onFocus:q.rowIdx===r?Ye:void 0,onKeyDown:q.rowIdx===r?Xe:void 0,selectCell:ue,toggleGroup:de},l.id));continue}let c;o++;let u=!1;var n;if("function"==typeof t)c=t(l),u=null!=(n=null==a?void 0:a.has(c))&&n;else c=je?o:r;e.push(lo(M,{"aria-rowindex":1+(je?o:r)+1,"aria-selected":be?u:void 0,rowIdx:r,row:l,viewportColumns:Ue,isRowSelected:u,onRowClick:y,rowClass:N,top:i,height:Ge(r),copiedCellIdx:null!==X&&X.row===l?ke.findIndex(e=>e.key===X.columnKey):void 0,draggedOverCellIdx:Co(r),setDraggedOverRowIdx:Z?qe:void 0,lastFrozenColumnIndex:Ne,selectedCellProps:ko(r),onRowChange:ve,selectCell:ue},c))}return e}()}),null==n?void 0:n.map((e,o)=>lo(nn,{"aria-rowindex":1+Ae+o+1,rowIdx:o,row:e,bottom:L*(n.length-1-o),viewportColumns:Ue,lastFrozenColumnIndex:Ne},o))]})]})}const an=Pe(cn);function un(e,o,n){var t=o;return i([],e,!0).sort(function(e,o){return e[t]<o[t]?n?1:-1:e[t]>o[t]?n?-1:1:0})}io(".t16y9g8l700-canary49{appearance:none;box-sizing:border-box;width:100%;height:100%;padding:0 6px;border:2px solid #ccc;vertical-align:top;color:var(--color);background-color:var(--background-color);font-family:inherit;font-size:var(--font-size)}.t16y9g8l700-canary49:focus{border-color:var(--selection-color);outline:none}.t16y9g8l700-canary49::placeholder{color:#999;opacity:1}");var sn=function(e){return R("div",{style:{textAlign:"center",gridColumn:"1/-1"}},e.message)},dn=function(e){var n,t=e.table,r=e.sort,l=[pe(function(){return n.columns()},[n=t,n.dataChecksum()]),pe(function(){return n.data()},[n,n.dataChecksum()])],c=l[0],a=l[1],u=t.multiSelect(),s=t.columnTypes(),d=t.columnPatterns(),_=t.columnFormats(),f=se([]),p=f[0],h=f[1],v=se(),g=v[0],m=v[1],y=se([]),w=y[0],x=y[1],b=se(new Set),C=b[0],k=b[1];de(function(){h(i(i([],u?[Po]:[],!0),c.map(function(e){var n,t,r,l;switch(null!==(n=s[e])&&void 0!==n?n:"string"){case"time":r=void 0!==d[e]?o.timeParse(d[e]):void 0,l=void 0!==_[e]?o.timeFormat(_[e]):void 0;break;case"number":t=function(e){return R("div",{style:{textAlign:"right"}},e.row[e.column.key])};default:l=void 0!==_[e]?o.format(_[e]):void 0}return{key:e,name:e,resizable:!0,sortable:!0,minWidth:80,renderCell:t,__hpcc_pattern:r,__hpcc_format:l}}),!0))},[_,d,s,c,u]);var I=he(function(e){var o=e.slice(-1)[0],n=void 0!==o,t="DESC"===(null==o?void 0:o.direction);m(o),x(un(w,n?o.columnKey:"key",!!n&&t))},[w]),S=he(function(e){return e.key},[]),E=he(function(e){k(e)},[]),z=he(function(e,o){t.onRowClickCallback(e,o.key)},[t]);return de(function(){var e=a.map(function(e,o){var n={key:o};return p.forEach(function(o,t){var r=e[t];o.__hpcc_pattern&&o.__hpcc_format?r=o.__hpcc_format(o.__hpcc_pattern(r)):o.__hpcc_pattern?r=o.__hpcc_pattern(r).toString():o.__hpcc_format&&(r=o.__hpcc_format(r)),n[o.key]=r}),n});(null==r?void 0:r.attribute)&&(e=un(e,r.attribute,r.descending)),x(e)},[p,a,r]),R(an,{columns:p,headerRowHeight:24,rows:w,rowKeyGetter:S,rowHeight:20,emptyRowsRenderer:function(){return R(sn,{message:t.noDataMessage()})},className:t.darkMode()?"rdg-dark":"rdg-light",sortColumns:g?[g]:[],onSortColumnsChange:I,selectedRows:C,onSelectedRowsChange:u?E:void 0,onRowClick:u?void 0:function(e,o,n){return z(o,n)},"aria-describedby":"","aria-label":"","aria-labelledby":"",style:{height:"100%"}})};!function(e,o){void 0===o&&(o={});var n=o.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".dgrid2_Table .rdg{font-family:monospace,Courier New,Courier}.dgrid2_Table .rdg-checkbox-label .rdg-checkbox{block-size:16px;border-width:2px;box-shadow:inset 0 0 0 3px var(--rdg-background-color);inline-size:16px}");var _n=function(e){function i(){return e.call(this)||this}return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function t(){this.constructor=e}n(e,o),e.prototype=null===o?Object.create(o):(t.prototype=o.prototype,new t)}(i,e),i.prototype.columnType=function(e,o){var n;return 1===arguments.length?this.columnTypes()[e]:(this.columnTypes(t(t({},this.columnTypes()),((n={})[e]=o,n))),this)},i.prototype.columnPattern=function(e,o){var n;return 1===arguments.length?this.columnPatterns()[e]:(this.columnPatterns(t(t({},this.columnPatterns()),((n={})[e]=o,n))),this)},i.prototype.columnFormat=function(e,o){var n;return 1===arguments.length?this.columnFormats()[e]:(this.columnFormats(t(t({},this.columnFormats()),((n={})[e]=o,n))),this)},i.prototype.onRowClickCallback=function(e,o){var n;this._prevRow&&JSON.stringify(this._prevRow)!==JSON.stringify(e)&&this.click(this._prevRow,null!==(n=this._prevColumn)&&void 0!==n?n:"",!1),e&&this.click(e,o,!0),this._prevRow=e,this._prevColumn=o},i.prototype.enter=function(o,n){e.prototype.enter.call(this,o,n),this._div=n.append("div")},i.prototype.update=function(o,n){e.prototype.update.call(this,o,n),this._div.style("width",this.width()+"px"),this._div.style("height",this.height()+"px"),function(e,o,n){null==o.__k&&(o.textContent=""),q(e,o),"function"==typeof n&&n(),e&&e.__c}(R(dn,{table:this}),this._div.node())},i.prototype.exit=function(o,n){!function(e){!!e.__k&&q(null,e)}(this._div.node()),this._div.remove(),e.prototype.exit.call(this,o,n)},i.prototype.click=function(e,o,n){},r([o.publish("...empty...","string","No Data Message"),l("design:type",Function)],i.prototype,"noDataMessage",void 0),r([o.publish(!1,"boolean","Dark Mode"),l("design:type",Function)],i.prototype,"darkMode",void 0),r([o.publish(!1,"boolean","Multiple Selection"),l("design:type",Function)],i.prototype,"multiSelect",void 0),r([o.publish({},"object",'Column Types ("boolean" | "number" | "string" | "time"'),l("design:type",Function)],i.prototype,"columnTypes",void 0),r([o.publish({},"object","Column Patterns"),l("design:type",Function)],i.prototype,"columnPatterns",void 0),r([o.publish({},"object","Column Formats"),l("design:type",Function)],i.prototype,"columnFormats",void 0),i}(o.HTMLWidget);_n.prototype._class+=" dgrid2_Table",e.BUILD_VERSION="2.108.11",e.PKG_NAME="@hpcc-js/dgrid2",e.PKG_VERSION="2.5.6",e.Table=_n});
|
|
2
2
|
//# sourceMappingURL=index.min.js.map
|