@hpcc-js/dgrid2 2.3.11 → 2.3.13
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 +648 -672
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +2846 -2870
- 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 +7 -7
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self)["@hpcc-js/dgrid2"]={},e["@hpcc-js/common"])}(this,(function(e,n){"use strict";var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},t(e,n)};var o=function(){return o=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},o.apply(this,arguments)};function r(e,n,t,o){var r,i=arguments.length,l=i<3?n:null===o?o=Object.getOwnPropertyDescriptor(n,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,n,t,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(l=(i<3?r(l):i>3?r(n,t,l):r(n,t))||l);return i>3&&l&&Object.defineProperty(n,t,l),l}function i(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)}function l(e,n,t){if(t||2===arguments.length)for(var o,r=0,i=n.length;r<i;r++)!o&&r in n||(o||(o=Array.prototype.slice.call(n,0,r)),o[r]=n[r]);return e.concat(o||Array.prototype.slice.call(n))}var c,u,s,d,a,_,f,p,h={},m=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function g(e,n){for(var t in n)e[t]=n[t];return e}function y(e){var n=e.parentNode;n&&n.removeChild(e)}function x(e,n,t){var o,r,i,l={};for(i in n)"key"==i?o=n[i]:"ref"==i?r=n[i]:l[i]=n[i];if(arguments.length>2&&(l.children=arguments.length>3?c.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===l[i]&&(l[i]=e.defaultProps[i]);return b(e,l,o,r,null)}function b(e,n,t,o,r){var i={type:e,props:n,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++s:r};return null==r&&null!=u.vnode&&u.vnode(i),i}function C(e){return e.children}function I(e,n){this.props=e,this.context=n}function k(e,n){if(null==n)return e.__?k(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?k(e):null}function R(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return R(e)}}function S(e){(!e.__d&&(e.__d=!0)&&d.push(e)&&!E.__r++||a!==u.debounceRendering)&&((a=u.debounceRendering)||_)(E)}function E(){var e,n,t,o,r,i,l,c;for(d.sort(f);e=d.shift();)e.__d&&(n=d.length,o=void 0,r=void 0,l=(i=(t=e).__v).__e,(c=t.__P)&&(o=[],(r=g({},i)).__v=i.__v+1,G(c,i,r,t.__n,void 0!==c.ownerSVGElement,null!=i.__h?[l]:null,o,null==l?k(i):l,i.__h),M(o,i),i.__e!=l&&R(i)),d.length>n&&d.sort(f));E.__r=0}function D(e,n,t,o,r,i,l,c,u,s){var d,a,_,f,p,v,g,y=o&&o.__k||m,x=y.length;for(t.__k=[],d=0;d<n.length;d++)if(null!=(f=t.__k[d]=null==(f=n[d])||"boolean"==typeof f||"function"==typeof f?null:"string"==typeof f||"number"==typeof f||"bigint"==typeof f?b(null,f,null,null,f):w(f)?b(C,{children:f},null,null,null):f.__b>0?b(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)){if(f.__=t,f.__b=t.__b+1,null===(_=y[d])||_&&f.key==_.key&&f.type===_.type)y[d]=void 0;else for(a=0;a<x;a++){if((_=y[a])&&f.key==_.key&&f.type===_.type){y[a]=void 0;break}_=null}G(e,f,_=_||h,r,i,l,c,u,s),p=f.__e,(a=f.ref)&&_.ref!=a&&(g||(g=[]),_.ref&&g.push(_.ref,null,f),g.push(a,f.__c||p,f)),null!=p?(null==v&&(v=p),"function"==typeof f.type&&f.__k===_.__k?f.__d=u=P(f,u,e):u=O(e,f,_,y,p,u),"function"==typeof t.type&&(t.__d=u)):u&&_.__e==u&&u.parentNode!=e&&(u=k(_))}for(t.__e=v,d=x;d--;)null!=y[d]&&("function"==typeof t.type&&null!=y[d].__e&&y[d].__e==t.__d&&(t.__d=F(o).nextSibling),K(y[d],y[d]));if(g)for(d=0;d<g.length;d++)L(g[d],g[++d],g[++d])}function P(e,n,t){for(var o,r=e.__k,i=0;r&&i<r.length;i++)(o=r[i])&&(o.__=e,n="function"==typeof o.type?P(o,n,t):O(t,o,o,r,o.__e,n));return n}function T(e,n){return n=n||[],null==e||"boolean"==typeof e||(w(e)?e.some((function(e){T(e,n)})):n.push(e)),n}function O(e,n,t,o,r,i){var l,c,u;if(void 0!==n.__d)l=n.__d,n.__d=void 0;else if(null==t||r!=i||null==r.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(r),l=null;else{for(c=i,u=0;(c=c.nextSibling)&&u<o.length;u+=1)if(c==r)break e;e.insertBefore(r,i),l=i}return void 0!==l?l:r.nextSibling}function F(e){var n,t,o;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(n=e.__k.length-1;n>=0;n--)if((t=e.__k[n])&&(o=F(t)))return o;return null}function z(e,n,t){"-"===n[0]?e.setProperty(n,null==t?"":t):e[n]=null==t?"":"number"!=typeof t||v.test(n)?t:t+"px"}function N(e,n,t,o,r){var i;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof o&&(e.style.cssText=o=""),o)for(n in o)t&&n in t||z(e.style,n,"");if(t)for(n in t)o&&t[n]===o[n]||z(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])i=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+i]=t,t?o||e.addEventListener(n,i?A:H,i):e.removeEventListener(n,i?A:H,i);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==n&&"height"!==n&&"href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&"rowSpan"!==n&&"colSpan"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!==n[4]?e.removeAttribute(n):e.setAttribute(n,t))}}function H(e){return this.l[e.type+!1](u.event?u.event(e):e)}function A(e){return this.l[e.type+!0](u.event?u.event(e):e)}function G(e,n,t,o,r,i,l,c,s){var d,a,_,f,p,h,m,v,y,x,b,k,R,S,E,P=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(s=t.__h,c=n.__e=t.__e,n.__h=null,i=[c]),(d=u.__b)&&d(n);try{e:if("function"==typeof P){if(v=n.props,y=(d=P.contextType)&&o[d.__c],x=d?y?y.props.value:d.__:o,t.__c?m=(a=n.__c=t.__c).__=a.__E:("prototype"in P&&P.prototype.render?n.__c=a=new P(v,x):(n.__c=a=new I(v,x),a.constructor=P,a.render=U),y&&y.sub(a),a.props=v,a.state||(a.state={}),a.context=x,a.__n=o,_=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=P.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=g({},a.__s)),g(a.__s,P.getDerivedStateFromProps(v,a.__s))),f=a.props,p=a.state,a.__v=n,_)null==P.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==P.getDerivedStateFromProps&&v!==f&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(v,x),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(v,a.__s,x)||n.__v===t.__v){for(n.__v!==t.__v&&(a.props=v,a.state=a.__s,a.__d=!1),a.__e=!1,n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),b=0;b<a._sb.length;b++)a.__h.push(a._sb[b]);a._sb=[],a.__h.length&&l.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(v,a.__s,x),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(f,p,h)}))}if(a.context=x,a.props=v,a.__P=e,k=u.__r,R=0,"prototype"in P&&P.prototype.render){for(a.state=a.__s,a.__d=!1,k&&k(n),d=a.render(a.props,a.state,a.context),S=0;S<a._sb.length;S++)a.__h.push(a._sb[S]);a._sb=[]}else do{a.__d=!1,k&&k(n),d=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++R<25);a.state=a.__s,null!=a.getChildContext&&(o=g(g({},o),a.getChildContext())),_||null==a.getSnapshotBeforeUpdate||(h=a.getSnapshotBeforeUpdate(f,p)),D(e,w(E=null!=d&&d.type===C&&null==d.key?d.props.children:d)?E:[E],n,t,o,r,i,l,c,s),a.base=n.__e,n.__h=null,a.__h.length&&l.push(a),m&&(a.__E=a.__=null),a.__e=!1}else null==i&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=W(t.__e,n,t,o,r,i,l,s);(d=u.diffed)&&d(n)}catch(e){n.__v=null,(s||null!=i)&&(n.__e=c,n.__h=!!s,i[i.indexOf(c)]=null),u.__e(e,n,t)}}function M(e,n){u.__c&&u.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){u.__e(e,n.__v)}}))}function W(e,n,t,o,r,i,l,u){var s,d,a,_=t.props,f=n.props,p=n.type,m=0;if("svg"===p&&(r=!0),null!=i)for(;m<i.length;m++)if((s=i[m])&&"setAttribute"in s==!!p&&(p?s.localName===p:3===s.nodeType)){e=s,i[m]=null;break}if(null==e){if(null===p)return document.createTextNode(f);e=r?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,f.is&&f),i=null,u=!1}if(null===p)_===f||u&&e.data===f||(e.data=f);else{if(i=i&&c.call(e.childNodes),d=(_=t.props||h).dangerouslySetInnerHTML,a=f.dangerouslySetInnerHTML,!u){if(null!=i)for(_={},m=0;m<e.attributes.length;m++)_[e.attributes[m].name]=e.attributes[m].value;(a||d)&&(a&&(d&&a.__html==d.__html||a.__html===e.innerHTML)||(e.innerHTML=a&&a.__html||""))}if(function(e,n,t,o,r){var i;for(i in t)"children"===i||"key"===i||i in n||N(e,i,null,t[i],o);for(i in n)r&&"function"!=typeof n[i]||"children"===i||"key"===i||"value"===i||"checked"===i||t[i]===n[i]||N(e,i,n[i],t[i],o)}(e,f,_,r,u),a)n.__k=[];else if(D(e,w(m=n.props.children)?m:[m],n,t,o,r&&"foreignObject"!==p,i,l,i?i[0]:t.__k&&k(t,0),u),null!=i)for(m=i.length;m--;)null!=i[m]&&y(i[m]);u||("value"in f&&void 0!==(m=f.value)&&(m!==e.value||"progress"===p&&!m||"option"===p&&m!==_.value)&&N(e,"value",m,_.value,!1),"checked"in f&&void 0!==(m=f.checked)&&m!==e.checked&&N(e,"checked",m,_.checked,!1))}return e}function L(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){u.__e(e,t)}}function K(e,n,t){var o,r;if(u.unmount&&u.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||L(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){u.__e(e,n)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&K(o[r],n,t||"function"!=typeof e.type);t||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function U(e,n,t){return this.constructor(e,t)}function j(e,n,t){var o,r,i;u.__&&u.__(e,n),r=(o="function"==typeof t)?null:t&&t.__k||n.__k,i=[],G(n,e=(!o&&t||n).__k=x(C,null,[e]),r||h,h,void 0!==n.ownerSVGElement,!o&&t?[t]:r?null:n.firstChild?c.call(n.childNodes):null,i,!o&&t?t:r?r.__e:n.firstChild,o),M(i,e)}function $(e,n){var t={__c:n="__cC"+p++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,o;return this.getChildContext||(t=[],(o={})[n]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}c=m.slice,u={__e:function(e,n,t,o){for(var r,i,l;n=n.__;)if((r=n.__c)&&!r.__)try{if((i=r.constructor)&&null!=i.getDerivedStateFromError&&(r.setState(i.getDerivedStateFromError(e)),l=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,o||{}),l=r.__d),l)return r.__E=r}catch(n){e=n}throw e}},s=0,I.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},t),this.props)),e&&g(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),S(this))},I.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},I.prototype.render=C,d=[],_="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,n){return e.__v.__b-n.__v.__b},E.__r=0,p=0;var B,V,q,X,Y=0,J=[],Z=[],Q=u.__b,ee=u.__r,ne=u.diffed,te=u.__c,oe=u.unmount;function re(e,n){u.__h&&u.__h(V,e,Y||n),Y=0;var t=V.__H||(V.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({__V:Z}),t.__[e]}function ie(e){return Y=1,function(e,n,t){var o=re(B++,2);if(o.t=e,!o.__c&&(o.__=[t?t(n):we(void 0,n),function(e){var n=o.__N?o.__N[0]:o.__[0],t=o.t(n,e);n!==t&&(o.__N=[t,o.__[1]],o.__c.setState({}))}],o.__c=V,!V.u)){var r=function(e,n,t){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return e.__c}));if(r.every((function(e){return!e.__N})))return!i||i.call(this,e,n,t);var l=!1;return r.forEach((function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(l=!0)}})),!(!l&&o.__c.props===e)&&(!i||i.call(this,e,n,t))};V.u=!0;var i=V.shouldComponentUpdate,l=V.componentWillUpdate;V.componentWillUpdate=function(e,n,t){if(this.__e){var o=i;i=void 0,r(e,n,t),i=o}l&&l.call(this,e,n,t)},V.shouldComponentUpdate=r}return o.__N||o.__}(we,e)}function le(e,n){var t=re(B++,3);!u.__s&&ve(t.__H,n)&&(t.__=e,t.i=n,V.__H.__h.push(t))}function ce(e,n){var t=re(B++,4);!u.__s&&ve(t.__H,n)&&(t.__=e,t.i=n,V.__h.push(t))}function ue(e){return Y=5,se((function(){return{current:e}}),[])}function se(e,n){var t=re(B++,7);return ve(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function de(e,n){return Y=8,se((function(){return e}),n)}function ae(e){var n=V.context[e.__c],t=re(B++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(V)),n.props.value):e.__}function _e(){for(var e;e=J.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(he),e.__H.__h.forEach(me),e.__H.__h=[]}catch(n){e.__H.__h=[],u.__e(n,e.__v)}}u.__b=function(e){V=null,Q&&Q(e)},u.__r=function(e){ee&&ee(e),B=0;var n=(V=e.__c).__H;n&&(q===V?(n.__h=[],V.__h=[],n.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Z,e.__N=e.i=void 0}))):(n.__h.forEach(he),n.__h.forEach(me),n.__h=[],B=0)),q=V},u.diffed=function(e){ne&&ne(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==J.push(n)&&X===u.requestAnimationFrame||((X=u.requestAnimationFrame)||pe)(_e)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Z&&(e.__=e.__V),e.i=void 0,e.__V=Z}))),q=V=null},u.__c=function(e,n){n.some((function(e){try{e.__h.forEach(he),e.__h=e.__h.filter((function(e){return!e.__||me(e)}))}catch(t){n.some((function(e){e.__h&&(e.__h=[])})),n=[],u.__e(t,e.__v)}})),te&&te(e,n)},u.unmount=function(e){oe&&oe(e);var n,t=e.__c;t&&t.__H&&(t.__H.__.forEach((function(e){try{he(e)}catch(e){n=e}})),t.__H=void 0,n&&u.__e(n,t.__v))};var fe="function"==typeof requestAnimationFrame;function pe(e){var n,t=function(){clearTimeout(o),fe&&cancelAnimationFrame(n),setTimeout(e)},o=setTimeout(t,100);fe&&(n=requestAnimationFrame(t))}function he(e){var n=V,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),V=n}function me(e){var n=V;e.__c=e.__(),V=n}function ve(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function we(e,n){return"function"==typeof n?n(e):n}function ge(e,n){for(var t in n)e[t]=n[t];return e}function ye(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var o in n)if("__source"!==o&&e[o]!==n[o])return!0;return!1}function xe(e){this.props=e}function be(e,n){function t(e){var t=this.props.ref,o=t==e.ref;return!o&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!o:ye(this.props,e)}function o(n){return this.shouldComponentUpdate=t,x(e,n)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}(xe.prototype=new I).isPureReactComponent=!0,xe.prototype.shouldComponentUpdate=function(e,n){return ye(this.props,e)||ye(this.state,n)};var Ce=u.__b;u.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ce&&Ce(e)};var Ie="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ke(e){function n(n){var t=ge({},n);return delete t.ref,e(t,n.ref||null)}return n.$$typeof=Ie,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n}var Re=u.__e;u.__e=function(e,n,t,o){if(e.then)for(var r,i=n;i=i.__;)if((r=i.__c)&&r.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),r.__c(e,n);Re(e,n,t,o)};var Se=u.unmount;function Ee(e,n,t){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=ge({},e)).__c&&(e.__c.__P===t&&(e.__c.__P=n),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Ee(e,n,t)}))),e}function De(e,n,t){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return De(e,n,t)})),e.__c&&e.__c.__P===n&&(e.__e&&t.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=t)),e}function Pe(){this.__u=0,this.t=null,this.__b=null}function Te(e){var n=e.__.__c;return n&&n.__a&&n.__a(e)}function Oe(){this.u=null,this.o=null}u.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),Se&&Se(e)},(Pe.prototype=new I).__c=function(e,n){var t=n.__c,o=this;null==o.t&&(o.t=[]),o.t.push(t);var r=Te(o.__v),i=!1,l=function(){i||(i=!0,t.__R=null,r?r(c):c())};t.__R=l;var c=function(){if(!--o.__u){if(o.state.__a){var e=o.state.__a;o.__v.__k[0]=De(e,e.__c.__P,e.__c.__O)}var n;for(o.setState({__a:o.__b=null});n=o.t.pop();)n.forceUpdate()}},u=!0===n.__h;o.__u++||u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(l,l)},Pe.prototype.componentWillUnmount=function(){this.t=[]},Pe.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Ee(this.__b,t,o.__O=o.__P)}this.__b=null}var r=n.__a&&x(C,null,e.fallback);return r&&(r.__h=null),[x(C,null,n.__a?null:e.children),r]};var Fe=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};(Oe.prototype=new I).__a=function(e){var n=this,t=Te(n.__v),o=n.o.get(e);return o[0]++,function(r){var i=function(){n.props.revealOrder?(o.push(r),Fe(n,e,o)):r()};t?t(i):i()}},Oe.prototype.render=function(e){this.u=null,this.o=new Map;var n=T(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},Oe.prototype.componentDidUpdate=Oe.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){Fe(e,t,n)}))};var ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ne=/^(?: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]/,He=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ae=/[A-Z0-9]/g,Ge="undefined"!=typeof document,Me=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};I.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(I.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var We=u.event;function Le(){}function Ke(){return this.cancelBubble}function Ue(){return this.defaultPrevented}u.event=function(e){return We&&(e=We(e)),e.persist=Le,e.isPropagationStopped=Ke,e.isDefaultPrevented=Ue,e.nativeEvent=e};var je={enumerable:!1,configurable:!0,get:function(){return this.class}},$e=u.vnode;u.vnode=function(e){"string"==typeof e.type&&function(e){var n=e.props,t=e.type,o={};for(var r in n){var i=n[r];if(!("value"===r&&"defaultValue"in n&&null==i||Ge&&"children"===r&&"noscript"===t||"class"===r||"className"===r)){var l=r.toLowerCase();"defaultValue"===r&&"value"in n&&null==n.value?r="value":"download"===r&&!0===i?i="":"ondoubleclick"===l?r="ondblclick":"onchange"!==l||"input"!==t&&"textarea"!==t||Me(n.type)?"onfocus"===l?r="onfocusin":"onblur"===l?r="onfocusout":He.test(r)?r=l:-1===t.indexOf("-")&&Ne.test(r)?r=r.replace(Ae,"-$&").toLowerCase():null===i&&(i=void 0):l=r="oninput","oninput"===l&&o[r=l]&&(r="oninputCapture"),o[r]=i}}"select"==t&&o.multiple&&Array.isArray(o.value)&&(o.value=T(n.children).forEach((function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)}))),"select"==t&&null!=o.defaultValue&&(o.value=T(n.children).forEach((function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",je)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(e),e.$$typeof=ze,$e&&$e(e)};var Be=u.__r;u.__r=function(e){Be&&Be(e),e.__c};var Ve=u.diffed;u.diffed=function(e){Ve&&Ve(e);var n=e.props,t=e.__e;null!=t&&"textarea"===e.type&&"value"in n&&n.value!==t.value&&(t.value=null==n.value?"":n.value)};var qe=function(e,n){return e(n)};function Xe(e){var n,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(n=0;n<e.length;n++)e[n]&&(t=Xe(e[n]))&&(o&&(o+=" "),o+=t);else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Ye(){for(var e,n,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(n=Xe(e))&&(o&&(o+=" "),o+=n);return o}var Je=0;function Ze(e,n,t,o,r,i){var l,c,s={};for(c in n)"ref"==c?l=n[c]:s[c]=n[c];var d={type:e,props:s,key:t,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Je,__source:r,__self:i};if("function"==typeof e&&(l=e.defaultProps))for(c in l)void 0===s[c]&&(s[c]=l[c]);return u.vnode&&u.vnode(d),d}function Qe(e,n,t){const o="function"==typeof e.colSpan?e.colSpan(t):1;if(Number.isInteger(o)&&o>1&&(!e.frozen||e.idx+o-1<=n))return o}function en(e){e?.scrollIntoView({inline:"nearest",block:"nearest"})}function nn(e){let n=!1;const t={...e,preventGridDefault(){n=!0},isGridDefaultPrevented:()=>n};return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),t}const tn=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 on(e){return(e.ctrlKey||e.metaKey)&&"Control"!==e.key}const rn="m1l09lto7-0-0-beta-33";function ln(e){return e.map((({key:e,idx:n,minWidth:t,maxWidth:o})=>Ze("div",{className:rn,style:{gridColumnStart:n+1,minWidth:t,maxWidth:o},"data-measuring-cell-key":e},e)))}function cn({selectedPosition:e,columns:n,rows:t,isGroupRow:o}){const r=n[e.idx],i=t[e.rowIdx];return!o(i)&&un(r,i)}function un(e,n){return null!=e.renderEditCell&&!e.rowGroup&&!1!==("function"==typeof e.editable?e.editable(n):e.editable)}function sn({rows:e,topSummaryRows:n,bottomSummaryRows:t,rowIdx:o,lastFrozenColumnIndex:r,column:i,isGroupRow:l}){const c=n?.length??0,u=-1-c;if(o===u)return Qe(i,r,{type:"HEADER"});if(n&&o>u&&o<=c+u)return Qe(i,r,{type:"SUMMARY",row:n[o+c]});if(o>=0&&o<e.length){const n=e[o];return l(n)?void 0:Qe(i,r,{type:"ROW",row:n})}return t?Qe(i,r,{type:"SUMMARY",row:t[o-e.length]}):void 0}const dn="rdg-cell c1wupbe7-0-0-beta-33",an="rdg-cell-frozen cd0kgiy7-0-0-beta-33",_n="rdg-cell-frozen-last c1730fa47-0-0-beta-33";function fn(e,n){return void 0!==n?{"--rdg-grid-row-start":e,"--rdg-row-height":`${n}px`}:{"--rdg-grid-row-start":e}}function pn(e,n){return{gridColumnStart:e.idx+1,gridColumnEnd:void 0!==n?`span ${n}`:void 0,insetInlineStart:e.frozen?`var(--rdg-frozen-left-${e.idx})`:void 0}}function hn(e,...n){return Ye(dn,...n,e.frozen&&an,e.isLastFrozenColumn&&_n)}const{min:mn,max:vn,round:wn,floor:gn,sign:yn,abs:xn}=Math;function bn(e){if("function"!=typeof e)throw new Error("Please specify the rowKeyGetter prop to use selection")}function Cn(e,{minWidth:n,maxWidth:t}){return e=vn(e,n),"number"==typeof t&&t>=n?mn(e,t):e}const In="rdg-checkbox-label c1hs68w07-0-0-beta-33",kn="rdg-checkbox-input cojpd0n7-0-0-beta-33",Rn="rdg-checkbox cwsfieb7-0-0-beta-33",Sn="rdg-checkbox-label-disabled c1fgadbl7-0-0-beta-33";function En({onChange:e,...n}){return Ze("label",{className:Ye(In,n.disabled&&Sn),children:[Ze("input",{type:"checkbox",...n,className:kn,onChange:function(n){e(n.target.checked,n.nativeEvent.shiftKey)}}),Ze("div",{className:Rn})]})}const Dn="rdg-group-cell-content g1w3c5217-0-0-beta-33",Pn="rdg-caret cm5tyhw7-0-0-beta-33";function Tn(e){return Ze(On,{...e})}function On({groupKey:e,isExpanded:n,tabIndex:t,toggleGroup:o}){return Ze("span",{className:Dn,tabIndex:t,onKeyDown:function({key:e}){"Enter"===e&&o()},children:[e,Ze("svg",{viewBox:"0 0 14 8",width:"14",height:"8",className:Pn,"aria-hidden":!0,children:Ze("path",{d:n?"M1 1 L 7 7 L 13 1":"M1 7 L 7 1 L 13 7"})})]})}function Fn(e){try{return e.row[e.column.key]}catch{return null}}const zn=$(void 0),Nn=zn.Provider;function Hn(){return ae(zn)}function An({value:e,tabIndex:n,disabled:t,onChange:o,"aria-label":r,"aria-labelledby":i}){return(0,Hn().renderCheckbox)({"aria-label":r,"aria-labelledby":i,tabIndex:n,disabled:t,checked:e,onChange:o})}const Gn=$(void 0),Mn=Gn.Provider,Wn=$(void 0),Ln=Wn.Provider;function Kn(){const e=ae(Gn),n=ae(Wn);if(void 0===e||void 0===n)throw new Error("useRowSelection must be used within DataGrid cells");return[e,n]}const Un="select-row";function jn(e){const[n,t]=Kn();return Ze(An,{"aria-label":"Select All",tabIndex:e.tabIndex,value:n,onChange:e=>{t({type:"HEADER",checked:e})}})}function $n(e){const[n,t]=Kn();return Ze(An,{"aria-label":"Select",tabIndex:e.tabIndex,value:n,onChange:(n,o)=>{t({type:"ROW",row:e.row,checked:n,isShiftClick:o})}})}function Bn(e){const[n,t]=Kn();return Ze(An,{"aria-label":"Select Group",tabIndex:e.tabIndex,value:n,onChange:n=>{t({type:"ROW",row:e.row,checked:n,isShiftClick:!1})}})}const Vn={key:Un,name:"",width:35,minWidth:35,maxWidth:35,resizable:!1,sortable:!1,frozen:!0,renderHeaderCell:e=>Ze(jn,{...e}),renderCell:e=>Ze($n,{...e}),renderGroupCell:e=>Ze(Bn,{...e})},qn="auto",Xn=50;const Yn="undefined"==typeof window?le:ce;function Jn(e,n){const t=`[data-measuring-cell-key="${CSS.escape(n)}"]`,o=e.current.querySelector(t);return o?.getBoundingClientRect().width}function Zn(e){const n=ue(e);le((()=>{n.current=e}));const t=de(((...e)=>{n.current(...e)}),[]);return e?t:e}function Qn(e){const[n,t]=ie(!1);n&&!e&&t(!1);return{tabIndex:e&&!n?0:-1,childTabIndex:e?0:-1,onFocus:e?function(e){e.target!==e.currentTarget&&t(!0)}:void 0}}function et({rawRows:e,rowHeight:n,clientHeight:t,scrollTop:o,groupBy:r,rowGrouper:i,expandedGroupIds:l,enableVirtualization:c}){const[u,s]=se((()=>{if(0===r.length||null==i)return[void 0,e.length];const n=(e,[t,...o],r)=>{let l=0;const c={};for(const[u,s]of Object.entries(i(e,t))){const[e,t]=0===o.length?[s,s.length]:n(s,o,r+l+1);c[u]={childRows:s,childGroups:e,startRowIndex:r+l},l+=t+1}return[c,l]};return n(e,r,0)}),[r,i,e]),[d,a]=se((()=>{const n=new Set;if(!u)return[e,r];const t=[],o=(e,r,i)=>{var c;(c=e,Array.isArray(c))?t.push(...e):Object.keys(e).forEach(((c,u,s)=>{const d=void 0!==r?`${r}__${c}`:c,a=l?.has(d)??!1,{childRows:_,childGroups:f,startRowIndex:p}=e[c],h={id:d,parentId:r,groupKey:c,isExpanded:a,childRows:_,level:i,posInSet:u,startRowIndex:p,setSize:s.length};t.push(h),n.add(h),a&&o(f,d,i+1)}))};return o(u,void 0,0),[t,r];function r(e){return n.has(e)}}),[l,u,e]),{totalRowHeight:_,gridTemplateRows:f,getRowTop:p,getRowHeight:h,findRowIdx:m}=se((()=>{if("number"==typeof n)return{totalRowHeight:n*d.length,gridTemplateRows:` repeat(${d.length}, ${n}px)`,getRowTop:e=>e*n,getRowHeight:()=>n,findRowIdx:e=>gn(e/n)};let e=0,t=" ";const o=d.map((o=>{const r=a(o)?n({type:"GROUP",row:o}):n({type:"ROW",row:o}),i={top:e,height:r};return t+=`${r}px `,e+=r,i})),r=e=>vn(0,mn(d.length-1,e));return{totalRowHeight:e,gridTemplateRows:t,getRowTop:e=>o[r(e)].top,getRowHeight:e=>o[r(e)].height,findRowIdx(e){let n=0,t=o.length-1;for(;n<=t;){const r=n+gn((t-n)/2),i=o[r].top;if(i===e)return r;if(i<e?n=r+1:i>e&&(t=r-1),n>t)return t}return 0}}}),[a,n,d]);let v=0,w=d.length-1;if(c){const e=4,n=m(o),r=m(o+t);v=vn(0,n-e),w=mn(d.length-1,r+e)}return{rowOverscanStartIdx:v,rowOverscanEndIdx:w,rows:d,rowsCount:s,totalRowHeight:_,gridTemplateRows:f,isGroupRow:a,getRowTop:p,getRowHeight:h,findRowIdx:m}}const nt="rdg-cell-drag-handle cadd3bp7-0-0-beta-33";function tt({rows:e,columns:n,selectedPosition:t,latestDraggedOverRowIdx:o,isCellEditable:r,onRowsChange:i,onFill:l,setDragging:c,setDraggedOverRowIdx:u}){function s(o,c){const{idx:u,rowIdx:s}=t,d=n[u],a=e[s],_=[...e],f=[];for(let n=o;n<c;n++)if(r({rowIdx:n,idx:u})){const t=l({columnKey:d.key,sourceRow:a,targetRow:e[n]});t!==e[n]&&(_[n]=t,f.push(n))}f.length>0&&i?.(_,{indexes:f,column:d})}return Ze("div",{className:nt,onMouseDown:function(e){function n(e){1!==e.buttons&&r()}function r(){window.removeEventListener("mouseover",n),window.removeEventListener("mouseup",r),c(!1),function(){const e=o.current;if(void 0===e)return;const{rowIdx:n}=t;s(n<e?n+1:e,n<e?e+1:n),u(void 0)}()}1===e.buttons&&(c(!0),window.addEventListener("mouseover",n),window.addEventListener("mouseup",r))},onDoubleClick:function(n){n.stopPropagation(),s(t.rowIdx+1,e.length)}})}const ot="c1tngyp17-0-0-beta-33";function rt({column:e,colSpan:n,row:t,rowIdx:o,onRowChange:r,closeEditor:i,onKeyDown:l,navigate:c}){const u=ue(),s=!1!==e.editorOptions?.commitOnOutsideClick,d=Zn((()=>{_(!0,!1)}));function a(){cancelAnimationFrame(u.current)}function _(e=!1,n=!0){e?r(t,!0,n):i(n)}function f(e,n=!1){r(e,n,n)}le((()=>{if(s)return addEventListener("mousedown",e,{capture:!0}),()=>{removeEventListener("mousedown",e,{capture:!0}),a()};function e(){u.current=requestAnimationFrame(d)}}),[s,d]);const{cellClass:p}=e,h=hn(e,"rdg-editor-container","function"==typeof p?p(t):p,!e.editorOptions?.displayCellContent&&ot);return Ze("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":n,"aria-selected":!0,className:h,style:pn(e,n),onKeyDown:function(n){if(l){const r=nn(n);if(l({mode:"EDIT",row:t,column:e,rowIdx:o,navigate(){c(n)},onClose:_},r),r.isGridDefaultPrevented())return}"Escape"===n.key?_():"Enter"===n.key?_(!0):function({key:e,target:n}){return"Tab"===e&&(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement)&&n.matches(".rdg-editor-container > :only-child, .rdg-editor-container > label:only-child > :only-child, .rdg-editor-container > div:only-child > label:only-child > :only-child")}(n)&&c(n)},onMouseDownCapture:a,children:null!=e.renderEditCell&&Ze(C,{children:[e.renderEditCell({column:e,row:t,onRowChange:f,onClose:_}),e.editorOptions?.displayCellContent&&e.renderCell({column:e,row:t,isCellEditable:!0,tabIndex:-1,onRowChange:f})]})})}function it({id:e,groupKey:n,childRows:t,isExpanded:o,isCellSelected:r,column:i,row:l,groupColumnIndex:c,toggleGroup:u}){const{tabIndex:s,childTabIndex:d,onFocus:a}=Qn(r);function _(){u(e)}const f=i.rowGroup&&c===i.idx;return Ze("div",{role:"gridcell","aria-colindex":i.idx+1,"aria-selected":r,tabIndex:s,className:hn(i),style:{...pn(i),cursor:f?"pointer":"default"},onClick:f?_:void 0,onFocus:a,children:(!i.rowGroup||c===i.idx)&&i.renderGroupCell?.({groupKey:n,childRows:t,column:i,row:l,isExpanded:o,tabIndex:d,toggleGroup:_})},i.key)}const lt=be(it),ct="rdg-row r1otpg647-0-0-beta-33",ut="rdg-row-selected";function st({id:e,groupKey:n,viewportColumns:t,childRows:o,rowIdx:r,row:i,gridRowStart:l,height:c,level:u,isExpanded:s,selectedCellIdx:d,isRowSelected:a,selectGroup:_,toggleGroup:f,...p}){const h=t[0].key===Un?u+1:u;return Ze(Mn,{value:a,children:Ze("div",{role:"row","aria-level":u,"aria-expanded":s,className:Ye(ct,"rdg-group-row gyxx7e97-0-0-beta-33","rdg-row-"+(r%2==0?"even":"odd"),-1===d&&ut),onClick:function(){_(r)},style:fn(l,c),...p,children:t.map((t=>Ze(lt,{id:e,groupKey:n,childRows:o,isExpanded:s,isCellSelected:d===t.idx,column:t,row:i,groupColumnIndex:h,toggleGroup:f},t.key)))})})}const dt=be(st),at="rdg-header-sort-cell hizp7y17-0-0-beta-33",_t="rdg-header-sort-name h14cojrm7-0-0-beta-33";function ft({column:e,sortDirection:n,priority:t,onSort:o,tabIndex:r}){return e.sortable?Ze(pt,{onSort:o,sortDirection:n,priority:t,tabIndex:r,children:e.name}):e.name}function pt({onSort:e,sortDirection:n,priority:t,children:o,tabIndex:r}){const i=Hn().renderSortStatus;return Ze("span",{tabIndex:r,className:at,onClick:function(n){e(n.ctrlKey||n.metaKey)},onKeyDown:function(n){" "!==n.key&&"Enter"!==n.key||(n.preventDefault(),e(n.ctrlKey||n.metaKey))},children:[Ze("span",{className:_t,children:o}),Ze("span",{children:i({sortDirection:n,priority:t})})]})}const ht="rdg-cell-resizable celq7o97-0-0-beta-33";function mt({column:e,colSpan:n,isCellSelected:t,onColumnResize:o,sortColumns:r,onSortColumnsChange:i,selectCell:l,shouldFocusGrid:c,direction:u}){const s="rtl"===u,{tabIndex:d,childTabIndex:a,onFocus:_}=Qn(t),f=r?.findIndex((n=>n.columnKey===e.key)),p=void 0!==f&&f>-1?r[f]:void 0,h=p?.direction,m=void 0!==p&&r.length>1?f+1:void 0,v=h&&!m?"ASC"===h?"ascending":"descending":void 0,w=hn(e,e.headerCellClass,e.resizable&&ht),g=e.renderHeaderCell??ft;return Ze("div",{role:"columnheader","aria-colindex":e.idx+1,"aria-selected":t,"aria-sort":v,"aria-colspan":n,tabIndex:c?0:d,className:w,style:pn(e,n),onFocus:function(e){_?.(e),c&&l(0)},onClick:function(){l(e.idx)},onDoubleClick:e.resizable?function(n){const{right:t,left:r}=n.currentTarget.getBoundingClientRect();(s?n.clientX-r:t-n.clientX)>11||o(e,"max-content")}:void 0,onPointerDown:e.resizable?function(n){if("mouse"===n.pointerType&&1!==n.buttons)return;const{currentTarget:t,pointerId:r}=n,{right:i,left:l}=t.getBoundingClientRect(),c=s?n.clientX-l:i-n.clientX;function u(n){n.preventDefault();const{right:r,left:i}=t.getBoundingClientRect(),l=s?r+c-n.clientX:n.clientX+c-i;l>0&&o(e,Cn(l,e))}c>11||(t.setPointerCapture(r),t.addEventListener("pointermove",u),t.addEventListener("lostpointercapture",(function e(){t.removeEventListener("pointermove",u),t.removeEventListener("lostpointercapture",e)})))}:void 0,children:g({column:e,sortDirection:h,priority:m,onSort:function(n){if(null==i)return;const{sortDescendingFirst:t}=e;if(void 0===p){const o={columnKey:e.key,direction:t?"DESC":"ASC"};i(r&&n?[...r,o]:[o])}else{let o;if((!0===t&&"DESC"===h||!0!==t&&"ASC"===h)&&(o={columnKey:e.key,direction:"ASC"===h?"DESC":"ASC"}),n){const e=[...r];o?e[f]=o:e.splice(f,1),i(e)}else i(o?[o]:[])}},tabIndex:a})})}function vt({columns:e,onColumnResize:n,sortColumns:t,onSortColumnsChange:o,lastFrozenColumnIndex:r,selectedCellIdx:i,selectCell:l,shouldFocusGrid:c,direction:u}){const s=[];for(let d=0;d<e.length;d++){const a=e[d],_=Qe(a,r,{type:"HEADER"});void 0!==_&&(d+=_-1),s.push(Ze(mt,{column:a,colSpan:_,isCellSelected:i===a.idx,onColumnResize:n,onSortColumnsChange:o,sortColumns:t,selectCell:l,shouldFocusGrid:c&&0===d,direction:u},a.key))}return Ze("div",{role:"row","aria-rowindex":1,className:Ye("rdg-header-row h197vzie7-0-0-beta-33",-1===i&&ut),style:fn(1),children:s})}const wt=be(vt);function gt({column:e,colSpan:n,isCellSelected:t,isCopied:o,isDraggedOver:r,row:i,rowIdx:l,dragHandle:c,onClick:u,onDoubleClick:s,onContextMenu:d,onRowChange:a,selectCell:_,...f}){const{tabIndex:p,childTabIndex:h,onFocus:m}=Qn(t),{cellClass:v}=e,w=hn(e,"function"==typeof v?v(i):v,o&&"rdg-cell-copied ccpfvsn7-0-0-beta-33",r&&"rdg-cell-dragged-over c1bmg16t7-0-0-beta-33"),g=un(e,i);function y(n){_({rowIdx:l,idx:e.idx},n)}return Ze("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-selected":t,"aria-colspan":n,"aria-readonly":!g||void 0,tabIndex:p,className:w,style:pn(e,n),onClick:function(n){if(u){const t=nn(n);if(u({row:i,column:e,selectCell:y},t),t.isGridDefaultPrevented())return}y()},onDoubleClick:function(n){if(s){const t=nn(n);if(s({row:i,column:e,selectCell:y},t),t.isGridDefaultPrevented())return}y(!0)},onContextMenu:function(n){if(d){const t=nn(n);if(d({row:i,column:e,selectCell:y},t),t.isGridDefaultPrevented())return}y()},onFocus:m,...f,children:!e.rowGroup&&Ze(C,{children:[e.renderCell({column:e,row:i,isCellEditable:g,tabIndex:h,onRowChange:function(n){a(e,n)}}),c]})})}const yt=be(gt);function xt({className:e,rowIdx:n,gridRowStart:t,height:o,selectedCellIdx:r,isRowSelected:i,copiedCellIdx:l,draggedOverCellIdx:c,lastFrozenColumnIndex:u,row:s,viewportColumns:d,selectedCellEditor:a,selectedCellDragHandle:_,onCellClick:f,onCellDoubleClick:p,onCellContextMenu:h,rowClass:m,setDraggedOverRowIdx:v,onMouseEnter:w,onRowChange:g,selectCell:y,...x},b){const C=Zn(((e,t)=>{g(e,n,t)}));e=Ye(ct,"rdg-row-"+(n%2==0?"even":"odd"),m?.(s,n),e,-1===r&&ut);const I=[];for(let e=0;e<d.length;e++){const t=d[e],{idx:o}=t,i=Qe(t,u,{type:"ROW",row:s});void 0!==i&&(e+=i-1);const m=r===o;m&&a?I.push(a):I.push(Ze(yt,{column:t,colSpan:i,row:s,rowIdx:n,isCopied:l===o,isDraggedOver:c===o,isCellSelected:m,dragHandle:m?_:void 0,onClick:f,onDoubleClick:p,onContextMenu:h,onRowChange:C,selectCell:y},t.key))}return Ze(Mn,{value:i,children:Ze("div",{role:"row",ref:b,className:e,onMouseEnter:function(e){v?.(n),w?.(e)},style:fn(t,o),...x,children:I})})}const bt=be(ke(xt));function Ct(e,n){return Ze(bt,{...n},e)}function It({scrollToPosition:{idx:e,rowIdx:n},gridElement:t,setScrollToCellPosition:o}){const r=ue(null);return Yn((()=>{en(r.current)})),Yn((()=>{const e=new IntersectionObserver((function(){o(null)}),{root:t,threshold:1});return e.observe(r.current),()=>{e.disconnect()}}),[t,o]),Ze("div",{ref:r,style:{gridColumn:void 0===e?"1/-1":e+1,gridRow:void 0===n?"1/-1":n+2}})}const kt="rdg-sort-arrow a1mygwml7-0-0-beta-33";function Rt({sortDirection:e,priority:n}){return Ze(C,{children:[St({sortDirection:e}),Et({priority:n})]})}function St({sortDirection:e}){return void 0===e?null:Ze("svg",{viewBox:"0 0 12 8",width:"12",height:"8",className:kt,"aria-hidden":!0,children:Ze("path",{d:"ASC"===e?"M0 8 6 0 12 8":"M0 0 6 8 12 0"})})}function Et({priority:e}){return e}function Dt({column:e,colSpan:n,row:t,rowIdx:o,isCellSelected:r,selectCell:i}){const{tabIndex:l,childTabIndex:c,onFocus:u}=Qn(r),{summaryCellClass:s}=e,d=hn(e,"s1n3hxke7-0-0-beta-33","function"==typeof s?s(t):s);return Ze("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":n,"aria-selected":r,tabIndex:l,className:d,style:pn(e,n),onClick:function(){i({rowIdx:o,idx:e.idx})},onFocus:u,children:e.renderSummaryCell?.({column:e,row:t,tabIndex:c})})}const Pt=be(Dt);function Tt({rowIdx:e,gridRowStart:n,row:t,viewportColumns:o,top:r,bottom:i,lastFrozenColumnIndex:l,selectedCellIdx:c,isTop:u,showBorder:s,selectCell:d,"aria-rowindex":a}){const _=[];for(let n=0;n<o.length;n++){const r=o[n],i=Qe(r,l,{type:"SUMMARY",row:t});void 0!==i&&(n+=i-1);const u=c===r.idx;_.push(Ze(Pt,{column:r,colSpan:i,row:t,rowIdx:e,isCellSelected:u,selectCell:d},r.key))}return Ze("div",{role:"row","aria-rowindex":a,className:Ye(ct,"rdg-row-"+(e%2==0?"even":"odd"),"rdg-summary-row snfqesz7-0-0-beta-33",u?["rdg-top-summary-row t1jijrjz7-0-0-beta-33",s&&"t14bmecc7-0-0-beta-33"]:["rdg-bottom-summary-row",s&&"b1odhhml7-0-0-beta-33"],-1===c&&ut),style:{...fn(n),"--rdg-summary-row-top":void 0!==r?`${r}px`:void 0,"--rdg-summary-row-bottom":void 0!==i?`${i}px`:void 0},children:_})}const Ot=be(Tt);function Ft(e,n){const{columns:t,rows:o,topSummaryRows:r,bottomSummaryRows:i,rowKeyGetter:l,onRowsChange:c,rowHeight:u,headerRowHeight:s,summaryRowHeight:d,selectedRows:a,onSelectedRowsChange:_,sortColumns:f,onSortColumnsChange:p,defaultColumnOptions:h,groupBy:m,rowGrouper:v,expandedGroupIds:w,onExpandedGroupIdsChange:g,onCellClick:y,onCellDoubleClick:x,onCellContextMenu:b,onCellKeyDown:I,onScroll:k,onColumnResize:R,onFill:S,onCopy:E,onPaste:D,enableVirtualization:P,renderers:T,className:O,style:F,rowClass:z,direction:N,"aria-label":H,"aria-labelledby":A,"aria-describedby":G,"data-testid":M}=e,W=Hn(),L=u??35,K=s??("number"==typeof L?L:35),U=d??("number"==typeof L?L:35),j=T?.renderRow??W?.renderRow??Ct,$=T?.renderSortStatus??W?.renderSortStatus??Rt,B=T?.renderCheckbox??W?.renderCheckbox??En,V=T?.noRowsFallback??W?.noRowsFallback,q=P??!0,X=N??"ltr",J=r?.length??0,Z=i?.length??0,Q=J+Z,ee=1+J,ne=-ee,[te,oe]=ie(0),[re,le]=ie(0),[ae,_e]=ie((()=>new Map)),[fe,pe]=ie((()=>new Map)),[he,me]=ie((()=>({idx:-1,rowIdx:ne-1,mode:"SELECT"}))),[ve,we]=ie(null),[ge,ye]=ie(!1),[xe,be]=ie(void 0),[Ce,Ie]=ie(null),ke=ue(he),Re=ue(xe),Se=ue(-1),Ee=ue(null),De=ue(!1),[Pe,Te,Oe]=function(){const e=ue(null),[n,t]=ie(1),[o,r]=ie(1);return Yn((()=>{const{ResizeObserver:n}=window;if(null==n)return;const{clientWidth:o,clientHeight:i,offsetWidth:l,offsetHeight:c}=e.current,{width:u,height:s}=e.current.getBoundingClientRect(),d=s-c+i;t(u-l+o),r(d);const a=new n((e=>{const n=e[0].contentBoxSize[0];qe((()=>{t(n.inlineSize),r(n.blockSize)}))}));return a.observe(e.current),()=>{a.disconnect()}}),[]),[e,n,o]}(),Fe=Oe-K-Q*U,ze=null!=a&&null!=_,Ne="rtl"===X,He=Ne?"ArrowRight":"ArrowLeft",Ae=Ne?"ArrowLeft":"ArrowRight",Ge=se((()=>({renderCheckbox:B,renderSortStatus:$})),[B,$]),Me=se((()=>{const{length:e}=o;return 0!==e&&null!=a&&null!=l&&a.size>=e&&o.every((e=>a.has(l(e))))}),[o,a,l]),{columns:We,colSpanColumns:Le,colOverscanStartIdx:Ke,colOverscanEndIdx:Ue,templateColumns:je,layoutCssVars:$e,lastFrozenColumnIndex:Be,totalFrozenColumnWidth:Ve,groupBy:Xe}=function({rawColumns:e,measuredColumnWidths:n,resizedColumnWidths:t,viewportWidth:o,scrollLeft:r,defaultColumnOptions:i,rawGroupBy:l,enableVirtualization:c}){const u=i?.width??qn,s=i?.minWidth??Xn,d=i?.maxWidth??void 0,a=i?.renderCell??Fn,_=i?.sortable??!1,f=i?.resizable??!1,{columns:p,colSpanColumns:h,lastFrozenColumnIndex:m,groupBy:v}=se((()=>{const n=[];let t=-1;const o=e.map((e=>{const n=l?.includes(e.key)??!1,o=n||e.frozen||!1,r={...e,idx:0,frozen:o,isLastFrozenColumn:!1,rowGroup:n,width:e.width??u,minWidth:e.minWidth??s,maxWidth:e.maxWidth??d,sortable:e.sortable??_,resizable:e.resizable??f,renderCell:e.renderCell??a};return n&&(r.renderGroupCell??=Tn),o&&t++,r}));o.sort((({key:e,frozen:n},{key:t,frozen:o})=>e===Un?-1:t===Un?1:l?.includes(e)?l.includes(t)?l.indexOf(e)-l.indexOf(t):-1:l?.includes(t)?1:n?o?0:-1:o?1:0));const r=[];return o.forEach(((e,t)=>{e.idx=t,e.rowGroup&&n.push(e.key),null!=e.colSpan&&r.push(e)})),-1!==t&&(o[t].isLastFrozenColumn=!0),{columns:o,colSpanColumns:r,lastFrozenColumnIndex:t,groupBy:n}}),[e,u,s,d,a,f,_,l]),{templateColumns:w,layoutCssVars:g,totalFrozenColumnWidth:y,columnMetrics:x}=se((()=>{const e=new Map;let o=0,r=0;const i=[];for(const r of p){let l=t.get(r.key)??n.get(r.key)??r.width;l="number"==typeof l?Cn(l,r):r.minWidth,i.push(`${l}px`),e.set(r,{width:l,left:o}),o+=l}if(-1!==m){const n=e.get(p[m]);r=n.left+n.width}const l={};for(let n=0;n<=m;n++){const t=p[n];l[`--rdg-frozen-left-${t.idx}`]=`${e.get(t).left}px`}return{templateColumns:i,layoutCssVars:l,totalFrozenColumnWidth:r,columnMetrics:e}}),[n,t,p,m]),[b,C]=se((()=>{if(!c)return[0,p.length-1];const e=r+y,n=r+o,t=p.length-1,i=mn(m+1,t);if(e>=n)return[i,i];let l=i;for(;l<t;){const{left:n,width:t}=x.get(p[l]);if(n+t>e)break;l++}let u=l;for(;u<t;){const{left:e,width:t}=x.get(p[u]);if(e+t>=n)break;u++}return[vn(i,l-1),mn(t,u+1)]}),[x,p,m,r,y,o,c]);return{columns:p,colSpanColumns:h,colOverscanStartIdx:b,colOverscanEndIdx:C,templateColumns:w,layoutCssVars:g,lastFrozenColumnIndex:m,totalFrozenColumnWidth:y,groupBy:v}}({rawColumns:t,measuredColumnWidths:fe,resizedColumnWidths:ae,scrollLeft:re,viewportWidth:Te,defaultColumnOptions:h,rawGroupBy:v?m:void 0,enableVirtualization:q}),{rowOverscanStartIdx:Je,rowOverscanEndIdx:rn,rows:un,rowsCount:dn,totalRowHeight:an,gridTemplateRows:_n,isGroupRow:fn,getRowTop:pn,getRowHeight:hn,findRowIdx:wn}=et({rawRows:o,groupBy:Xe,rowGrouper:v,rowHeight:L,clientHeight:Fe,scrollTop:te,expandedGroupIds:w,enableVirtualization:q}),gn=function({columns:e,colSpanColumns:n,rows:t,topSummaryRows:o,bottomSummaryRows:r,colOverscanStartIdx:i,colOverscanEndIdx:l,lastFrozenColumnIndex:c,rowOverscanStartIdx:u,rowOverscanEndIdx:s,isGroupRow:d}){const a=se((()=>{if(0===i)return 0;let e=i;const l=(n,t)=>void 0!==t&&n+t>i&&(e=n,!0);for(const i of n){const n=i.idx;if(n>=e)break;if(l(n,Qe(i,c,{type:"HEADER"})))break;for(let e=u;e<=s;e++){const o=t[e];if(!d(o)&&l(n,Qe(i,c,{type:"ROW",row:o})))break}if(null!=o)for(const e of o)if(l(n,Qe(i,c,{type:"SUMMARY",row:e})))break;if(null!=r)for(const e of r)if(l(n,Qe(i,c,{type:"SUMMARY",row:e})))break}return e}),[u,s,t,o,r,i,c,n,d]);return se((()=>{const n=[];for(let t=0;t<=l;t++){const o=e[t];t<a&&!o.frozen||n.push(o)}return n}),[a,l,e])}({columns:We,colSpanColumns:Le,colOverscanStartIdx:Ke,colOverscanEndIdx:Ue,lastFrozenColumnIndex:Be,rowOverscanStartIdx:Je,rowOverscanEndIdx:rn,rows:un,topSummaryRows:r,bottomSummaryRows:i,isGroupRow:fn}),{gridTemplateColumns:In,handleColumnResize:kn}=function(e,n,t,o,r,i,l,c,u,s){const d=ue(r),a=e.length===n.length,_=a&&r!==d.current,f=[...t],p=[];for(const{key:e,idx:t,width:o}of n)"string"!=typeof o||!_&&l.has(e)||i.has(e)||(f[t]=o,p.push(e));const h=f.join(" ");function m(e){0!==e.length&&u((n=>{const t=new Map(n);let r=!1;for(const i of e){const e=Jn(o,i);r||=e!==n.get(i),void 0===e?t.delete(i):t.set(i,e)}return r?t:n}))}return Yn((()=>{d.current=r,m(p)})),{gridTemplateColumns:h,handleColumnResize:function(e,r){const{key:l}=e,u=[...t],d=[];for(const{key:e,idx:t,width:o}of n)if(l===e){const e="number"==typeof r?`${r}px`:r;u[t]=e}else a&&"string"==typeof o&&!i.has(e)&&(u[t]=o,d.push(e));o.current.style.gridTemplateColumns=u.join(" ");const _="number"==typeof r?r:Jn(o,l);qe((()=>{c((e=>{const n=new Map(e);return n.set(l,_),n})),m(d)})),s?.(e.idx,_)}}}(We,gn,je,Pe,Te,ae,fe,_e,pe,R),Rn=Xe.length>0&&"function"==typeof v,Sn=Rn?-1:0,Dn=We.length-1,Pn=un.length+Z-1,On=pt(he),zn=ht(he),An=Zn(kn),Gn=Zn(p),Wn=Zn(y),Kn=Zn(x),jn=Zn(b),$n=Zn(lt),Bn=Zn(st),Vn=Zn(vt),Qn=Zn((e=>{vt({rowIdx:e,idx:-1})})),nt=Zn((e=>{vt({rowIdx:ne,idx:e})})),ot=Zn(ct);Yn((()=>{On&&!Ht(he,ke.current)?(ke.current=he,-1===he.idx&&(Ee.current.focus({preventScroll:!0}),en(Ee.current))):ke.current=he})),Yn((()=>{if(!De.current)return;De.current=!1;const e=Nt(Pe.current);if(null===e)return;en(e);(e.querySelector('[tabindex="0"]')??e).focus({preventScroll:!0})})),function(e,n,t){Y=6,ce((function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0}),null==t?t:t.concat(e))}(n,(()=>({element:Pe.current,scrollToCell({idx:e,rowIdx:n}){const t=void 0!==e&&e>Be&&e<We.length?e:void 0,o=void 0!==n&&ft(n)?n:void 0;void 0===t&&void 0===o||Ie({idx:t,rowIdx:o})},selectCell:vt})));const it=de((e=>{be(e),Re.current=e}),[]);function lt(e){if(!_)return;if(bn(l),"HEADER"===e.type){const n=new Set(a);for(const t of o){const o=l(t);e.checked?n.add(o):n.delete(o)}return void _(n)}const{row:n,checked:t,isShiftClick:r}=e,i=new Set(a);if(fn(n)){for(const e of n.childRows){const n=l(e);t?i.add(n):i.delete(n)}return void _(i)}const c=l(n);if(t){i.add(c);const e=Se.current,t=un.indexOf(n);if(Se.current=t,r&&-1!==e&&e!==t){const n=yn(t-e);for(let o=e+n;o!==t;o+=n){const e=un[o];fn(e)||i.add(l(e))}}}else i.delete(c),Se.current=-1;_(i)}function ct(e){if(!g)return;const n=new Set(w);n.has(e)?n.delete(e):n.add(e),g(n)}function ut(e){return Rn?o.indexOf(un[e]):e}function st(e,n,t){if("function"!=typeof c)return;const r=ut(n);if(t===o[r])return;const i=[...o];i[r]=t,c(i,{indexes:[r],column:e})}function at(){"EDIT"===he.mode&&st(We[he.idx],he.rowIdx,he.row)}function _t(e){return e>=Sn&&e<=Dn}function ft(e){return e>=0&&e<un.length}function pt({idx:e,rowIdx:n}){return n>=ne&&n<=Pn&&_t(e)}function ht({idx:e,rowIdx:n}){return ft(n)&&_t(e)}function mt(e){return ht(e)&&cn({columns:We,rows:un,selectedPosition:e,isGroupRow:fn})}function vt(e,n){if(pt(e))if(at(),n&&mt(e)){const n=un[e.rowIdx];me({...e,mode:"EDIT",row:n,originalRow:n})}else Ht(he,e)?en(Nt(Pe.current)):(De.current=!0,me({...e,mode:"SELECT"}))}function gt(e){const{key:n,shiftKey:t}=e;let o="NONE";if("Tab"===n){if(function({maxColIdx:e,minRowIdx:n,maxRowIdx:t,selectedPosition:{rowIdx:o,idx:r},shiftKey:i}){return i?0===r&&o===n:r===e&&o===t}({shiftKey:t,maxColIdx:Dn,minRowIdx:ne,maxRowIdx:Pn,selectedPosition:he}))return void at();o="CHANGE_ROW"}e.preventDefault();const l=function(e,n,t){const{idx:o,rowIdx:r}=he,i=un[r],l=On&&-1===o;if(e===He&&l&&fn(i)&&!i.isExpanded&&0!==i.level){let e=-1;for(let n=he.rowIdx-1;n>=0;n--){const t=un[n];if(fn(t)&&t.id===i.parentId){e=n;break}}if(-1!==e)return{idx:o,rowIdx:e}}switch(e){case"ArrowUp":return{idx:o,rowIdx:r-1};case"ArrowDown":return{idx:o,rowIdx:r+1};case He:return{idx:o-1,rowIdx:r};case Ae:return{idx:o+1,rowIdx:r};case"Tab":return{idx:o+(t?-1:1),rowIdx:r};case"Home":return l?{idx:o,rowIdx:0}:{idx:0,rowIdx:n?ne:r};case"End":return l?{idx:o,rowIdx:un.length-1}:{idx:Dn,rowIdx:n?Pn:r};case"PageUp":{if(he.rowIdx===ne)return he;const e=pn(r)+hn(r)-Fe;return{idx:o,rowIdx:e>0?wn(e):0}}case"PageDown":{if(he.rowIdx>=un.length)return he;const e=pn(r)+Fe;return{idx:o,rowIdx:e<an?wn(e):un.length-1}}default:return he}}(n,on(e),t);if(Ht(he,l))return;const c=function({cellNavigationMode:e,columns:n,colSpanColumns:t,rows:o,topSummaryRows:r,bottomSummaryRows:i,minRowIdx:l,maxRowIdx:c,currentPosition:{idx:u},nextPosition:s,lastFrozenColumnIndex:d,isCellWithinBounds:a,isGroupRow:_}){let{idx:f,rowIdx:p}=s;const h=e=>{if(p>=0&&p<o.length){const e=o[p];if(_(e))return}for(const n of t){const t=n.idx;if(t>f)break;const l=sn({rows:o,topSummaryRows:r,bottomSummaryRows:i,rowIdx:p,lastFrozenColumnIndex:d,column:n,isGroupRow:_});if(l&&f>t&&f<l+t){f=t+(e?l:0);break}}};if(a(s)&&h(f-u>0),"CHANGE_ROW"===e){const e=n.length,t=-1===f;f===e?p===c||(f=0,p+=1):t&&(p===l||(p-=1,f=e-1),h(!1))}return{idx:f,rowIdx:p}}({columns:We,colSpanColumns:Le,rows:un,topSummaryRows:r,bottomSummaryRows:i,minRowIdx:ne,maxRowIdx:Pn,lastFrozenColumnIndex:Be,cellNavigationMode:o,currentPosition:he,nextPosition:l,isCellWithinBounds:pt,isGroupRow:fn});vt(c)}function yt(e){if(void 0===xe)return;const{rowIdx:n}=he;return(n<xe?n<e&&e<=xe:n>e&&e>=xe)?he.idx:void 0}function xt(e){if(he.rowIdx===e&&"EDIT"!==he.mode&&!Rn&&null!=S)return Ze(tt,{rows:o,columns:We,selectedPosition:he,isCellEditable:mt,latestDraggedOverRowIdx:Re,onRowsChange:c,onFill:S,setDragging:ye,setDraggedOverRowIdx:it})}function bt(e){if(he.rowIdx!==e||"SELECT"===he.mode)return;const{idx:n,row:t}=he,o=We[n],r=Qe(o,Be,{type:"ROW",row:t}),i=e=>{De.current=e,me((({idx:e,rowIdx:n})=>({idx:e,rowIdx:n,mode:"SELECT"})))};return un[he.rowIdx]!==he.originalRow&&i(!1),Ze(rt,{column:o,colSpan:r,row:t,rowIdx:e,onRowChange:(e,n,t)=>{n?qe((()=>{st(o,he.rowIdx,e),i(t)})):me((n=>({...n,row:e})))},closeEditor:i,onKeyDown:I,navigate:gt},o.key)}function kt(e){const n=We[he.idx];return void 0===n||he.rowIdx!==e||gn.includes(n)?gn:he.idx>Ue?[...gn,n]:[...gn.slice(0,Be+1),n,...gn.slice(Be+1)]}(he.idx>Dn||he.rowIdx>Pn)&&(me({idx:-1,rowIdx:ne-1,mode:"SELECT"}),it(void 0));let St=`${K}px`;J>0&&(St+=` repeat(${J}, ${U}px)`),un.length>0&&(St+=_n),Z>0&&(St+=` repeat(${Z}, ${U}px)`);const Et=-1===he.idx&&he.rowIdx!==ne-1;return Ze("div",{role:Rn?"treegrid":"grid","aria-label":H,"aria-labelledby":A,"aria-describedby":G,"aria-multiselectable":!!ze||void 0,"aria-colcount":We.length,"aria-rowcount":1+dn+Q,className:Ye("rdg r104f42s7-0-0-beta-33",O,ge&&"rdg-viewport-dragging v7ly7s7-0-0-beta-33"),style:{...F,scrollPaddingInlineStart:he.idx>Be||void 0!==Ce?.idx?`${Ve}px`:void 0,scrollPaddingBlock:ft(he.rowIdx)||void 0!==Ce?.rowIdx?`${K+J*U}px ${Z*U}px`:void 0,gridTemplateColumns:In,gridTemplateRows:St,"--rdg-header-row-height":`${K}px`,"--rdg-summary-row-height":`${U}px`,"--rdg-sign":Ne?-1:1,...$e},dir:X,ref:Pe,onScroll:function(e){const{scrollTop:n,scrollLeft:t}=e.currentTarget;qe((()=>{oe(n),le(xn(t))})),k?.(e)},onKeyDown:function(e){const{idx:n,rowIdx:t,mode:r}=he;if("EDIT"===r)return;const i=un[t];if(!fn(i)&&I){const o=nn(e);if(I({mode:"SELECT",row:i,column:We[n],rowIdx:t,selectCell:vt},o),o.isGridDefaultPrevented())return}if(!(e.target instanceof Element))return;const u=null!==e.target.closest(".rdg-cell"),s=Rn&&e.target===Ee.current;if(!u&&!s)return;const{key:d,keyCode:_}=e;if(zn&&(null!=D||null!=E)&&on(e)&&!fn(un[t])){const e=86;if(_===67)return void function(){const{idx:e,rowIdx:n}=he,t=o[ut(n)],r=We[e].key;we({row:t,columnKey:r}),E?.({sourceRow:t,sourceColumnKey:r})}();if(_===e)return void function(){if(!D||!c||null===ve||!mt(he))return;const{idx:e,rowIdx:n}=he,t=We[e],r=o[ut(n)],i=D({sourceRow:ve.row,sourceColumnKey:ve.columnKey,targetRow:r,targetColumnKey:t.key});st(t,n,i)}()}if(ft(t)&&fn(i)&&-1===he.idx&&(d===He&&i.isExpanded||d===Ae&&!i.isExpanded))return e.preventDefault(),void ct(i.id);switch(e.key){case"Escape":return void we(null);case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Tab":case"Home":case"End":case"PageUp":case"PageDown":gt(e);break;default:!function(e){if(!zn)return;const n=un[he.rowIdx];if(fn(n))return;const{key:t,shiftKey:o}=e;if(ze&&o&&" "===t){bn(l);const t=l(n);return lt({type:"ROW",row:n,checked:!a.has(t),isShiftClick:!1}),void e.preventDefault()}mt(he)&&function(e){return!tn.has(e.key)}(e)&&me((({idx:e,rowIdx:t})=>({idx:e,rowIdx:t,mode:"EDIT",row:n,originalRow:n})))}(e)}},"data-testid":M,children:[Rn&&Ze("div",{ref:Ee,tabIndex:Et?0:-1,className:Ye("fc4f4zb7-0-0-beta-33",Et&&["rel5gk27-0-0-beta-33",-1!==Be&&"r1qymf1z7-0-0-beta-33"]),style:{gridRowStart:he.rowIdx+ee+1}}),null!==Ce&&Ze(It,{scrollToPosition:Ce,setScrollToCellPosition:Ie,gridElement:Pe.current}),Ze(Nn,{value:Ge,children:[Ze(Ln,{value:$n,children:[Ze(Mn,{value:Me,children:Ze(wt,{columns:kt(-1),onColumnResize:An,sortColumns:f,onSortColumnsChange:Gn,lastFrozenColumnIndex:Be,selectedCellIdx:he.rowIdx===ne?he.idx:void 0,selectCell:nt,shouldFocusGrid:!On,direction:X})}),0===un.length&&V?V:Ze(C,{children:[r?.map(((e,n)=>{const t=1+n+1,o=n+ne+1,r=he.rowIdx===o;return Ze(Ot,{"aria-rowindex":t,rowIdx:o,gridRowStart:t,row:e,top:K+U*n,bottom:void 0,viewportColumns:kt(o),lastFrozenColumnIndex:Be,selectedCellIdx:r?he.idx:void 0,isTop:!0,showBorder:n===J-1,selectCell:Vn},n)})),function(){const e=[];let n=0;const{idx:t,rowIdx:o}=he,r=zn&&o>rn?rn+1:rn;for(let i=zn&&o<Je?Je-1:Je;i<=r;i++){const r=i===Je-1||i===rn+1,c=r?o:i;let u=gn;const s=We[t];void 0!==s&&(u=r?[s]:kt(c));const d=un[c],_=ee+c+1;if(fn(d)){({startRowIndex:n}=d);let r=!1;ze&&(bn(l),r=d.childRows.every((e=>a.has(l(e))))),e.push(Ze(dt,{"aria-level":d.level+1,"aria-setsize":d.setSize,"aria-posinset":d.posInSet+1,"aria-rowindex":ee+n+1,"aria-selected":ze?r:void 0,id:d.id,groupKey:d.groupKey,viewportColumns:u,childRows:d.childRows,rowIdx:c,row:d,gridRowStart:_,height:hn(c),level:d.level,isExpanded:d.isExpanded,selectedCellIdx:o===c?t:void 0,isRowSelected:r,selectGroup:Qn,toggleGroup:ot},d.id));continue}let f;n++;let p=!1;"function"==typeof l?(f=l(d),p=a?.has(f)??!1):f=Rn?n:c,e.push(j(f,{"aria-rowindex":ee+(Rn?n:c)+1,"aria-selected":ze?p:void 0,rowIdx:c,row:d,viewportColumns:u,isRowSelected:p,onCellClick:Wn,onCellDoubleClick:Kn,onCellContextMenu:jn,rowClass:z,gridRowStart:_,height:hn(c),copiedCellIdx:null!==ve&&ve.row===d?We.findIndex((e=>e.key===ve.columnKey)):void 0,selectedCellIdx:o===c?t:void 0,draggedOverCellIdx:yt(c),setDraggedOverRowIdx:ge?it:void 0,lastFrozenColumnIndex:Be,onRowChange:Bn,selectCell:Vn,selectedCellDragHandle:xt(c),selectedCellEditor:bt(c)}))}return e}(),i?.map(((e,n)=>{const t=ee+un.length+n+1,o=un.length+n,r=he.rowIdx===o,l=Fe>an?Oe-U*(i.length-n):void 0,c=void 0===l?U*(i.length-1-n):void 0;return Ze(Ot,{"aria-rowindex":ee+dn+n+1,rowIdx:o,gridRowStart:t,row:e,top:l,bottom:c,viewportColumns:kt(o),lastFrozenColumnIndex:Be,selectedCellIdx:r?he.idx:void 0,isTop:!1,showBorder:0===n,selectCell:Vn},n)}))]})]}),ln(gn)]})]})}let zt;function Nt(e){return zt??=document.createExpression('div[@role="row"]/div[@tabindex="0"]'),zt.evaluate(e,8).singleNodeValue}function Ht(e,n){return e.idx===n.idx&&e.rowIdx===n.rowIdx}const At=ke(Ft);function Gt(e,n,t){var o=n;return l([],e,!0).sort((function(e,n){return e[o]<n[o]?t?1:-1:e[o]>n[o]?t?-1:1:0}))}var Mt=function(e){return x("div",{style:{textAlign:"center",gridColumn:"1/-1"}},e.message,x("span",null,"--- * --- * ---"))},Wt=function(e){var t,o=e.table,r=e.sort,i=[se((function(){return t.columns()}),[t=o,t.dataChecksum()]),se((function(){return t.data()}),[t,t.dataChecksum()])],c=i[0],u=i[1],s=o.multiSelect(),d=o.columnTypes(),a=o.columnPatterns(),_=o.columnFormats(),f=ie([]),p=f[0],h=f[1],m=ie(),v=m[0],w=m[1],g=ie([]),y=g[0],b=g[1],C=ie(new Set),I=C[0],k=C[1];le((function(){h(l(l([],s?[Vn]:[],!0),c.map((function(e){var t,o,r,i;switch(null!==(t=d[e])&&void 0!==t?t:"string"){case"time":r=void 0!==a[e]?n.timeParse(a[e]):void 0,i=void 0!==_[e]?n.timeFormat(_[e]):void 0;break;case"number":o=function(e){return x("div",{style:{textAlign:"right"}},e.row[e.column.key])};default:i=void 0!==_[e]?n.format(_[e]):void 0}return{key:e,name:e,resizable:!0,sortable:!0,minWidth:80,renderCell:o,__hpcc_pattern:r,__hpcc_format:i}})),!0))}),[_,a,d,c,s]);var R=de((function(e){var n=e.slice(-1)[0],t=void 0!==n,o="DESC"===(null==n?void 0:n.direction);w(n),b(Gt(y,t?n.columnKey:"key",!!t&&o))}),[y]),S=de((function(e){return e.key}),[]),E=de((function(e){k(e)}),[]),D=de((function(e,n){o.onRowClickCallback(e,n.key)}),[o]);return le((function(){var e=u.map((function(e,n){var t={key:n};return p.forEach((function(n,o){var r=e[o];n.__hpcc_pattern&&n.__hpcc_format?r=n.__hpcc_format(n.__hpcc_pattern(r)):n.__hpcc_pattern?r=n.__hpcc_pattern(r).toString():n.__hpcc_format&&(r=n.__hpcc_format(r)),t[n.key]=r})),t}));(null==r?void 0:r.attribute)&&(e=Gt(e,r.attribute,r.descending)),b(e)}),[p,u,r]),x(At,{columns:p,headerRowHeight:24,rows:y,rowKeyGetter:S,rowHeight:20,renderers:{noRowsFallback:x(Mt,{message:o.noDataMessage()})},className:o.darkMode()?"rdg-dark":"rdg-light",sortColumns:v?[v]:[],onSortColumnsChange:R,selectedRows:I,onSelectedRowsChange:s?E:void 0,onCellClick:s?void 0:D,"aria-describedby":"","aria-label":"","aria-labelledby":"",style:{height:"100%"}})};!function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===t&&o.firstChild?o.insertBefore(r,o.firstChild):o.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 Lt=function(e){function l(){return e.call(this)||this}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}(l,e),l.prototype.columnType=function(e,n){var t;return 1===arguments.length?this.columnTypes()[e]:(this.columnTypes(o(o({},this.columnTypes()),((t={})[e]=n,t))),this)},l.prototype.columnPattern=function(e,n){var t;return 1===arguments.length?this.columnPatterns()[e]:(this.columnPatterns(o(o({},this.columnPatterns()),((t={})[e]=n,t))),this)},l.prototype.columnFormat=function(e,n){var t;return 1===arguments.length?this.columnFormats()[e]:(this.columnFormats(o(o({},this.columnFormats()),((t={})[e]=n,t))),this)},l.prototype.onRowClickCallback=function(e,n){var t;this._prevRow&&JSON.stringify(this._prevRow)!==JSON.stringify(e)&&this.click(this._prevRow,null!==(t=this._prevColumn)&&void 0!==t?t:"",!1),e&&this.click(e,n,!0),this._prevRow=e,this._prevColumn=n},l.prototype.enter=function(n,t){e.prototype.enter.call(this,n,t),this._div=t.append("div")},l.prototype.update=function(n,t){e.prototype.update.call(this,n,t),this._div.style("width",this.width()+"px"),this._div.style("height",this.height()+"px"),function(e,n,t){null==n.__k&&(n.textContent=""),j(e,n),"function"==typeof t&&t(),e&&e.__c}(x(Wt,{table:this}),this._div.node())},l.prototype.exit=function(n,t){!function(e){!!e.__k&&j(null,e)}(this._div.node()),this._div.remove(),e.prototype.exit.call(this,n,t)},l.prototype.click=function(e,n,t){},r([n.publish("...empty...","string","No Data Message"),i("design:type",Function)],l.prototype,"noDataMessage",void 0),r([n.publish(!1,"boolean","Dark Mode"),i("design:type",Function)],l.prototype,"darkMode",void 0),r([n.publish(!1,"boolean","Multiple Selection"),i("design:type",Function)],l.prototype,"multiSelect",void 0),r([n.publish({},"object",'Column Types ("boolean" | "number" | "string" | "time"'),i("design:type",Function)],l.prototype,"columnTypes",void 0),r([n.publish({},"object","Column Patterns"),i("design:type",Function)],l.prototype,"columnPatterns",void 0),r([n.publish({},"object","Column Formats"),i("design:type",Function)],l.prototype,"columnFormats",void 0),l}(n.HTMLWidget);Lt.prototype._class+=" dgrid2_Table",e.BUILD_VERSION="2.104.28",e.PKG_NAME="@hpcc-js/dgrid2",e.PKG_VERSION="2.3.11",e.Table=Lt,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@hpcc-js/dgrid2"]={},e["@hpcc-js/common"])}(this,(function(e,t){"use strict";var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)};var o=function(){return o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};function r(e,t,n,o){var r,i=arguments.length,l=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(l=(i<3?r(l):i>3?r(t,n,l):r(t,n))||l);return i>3&&l&&Object.defineProperty(t,n,l),l}function i(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var c,u,a,s,d,_,f,p,h={},m=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function x(e,t,n){var o,r,i,l={};for(i in t)"key"==i?o=t[i]:"ref"==i?r=t[i]:l[i]=t[i];if(arguments.length>2&&(l.children=arguments.length>3?c.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===l[i]&&(l[i]=e.defaultProps[i]);return C(e,l,o,r,null)}function C(e,t,n,o,r){var i={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++a:r};return null==r&&null!=u.vnode&&u.vnode(i),i}function b(e){return e.children}function I(e,t){this.props=e,this.context=t}function k(e,t){if(null==t)return e.__?k(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__d||n.__e;return"function"==typeof e.type?k(e):null}function S(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return S(e)}}function R(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!E.__r++||d!==u.debounceRendering)&&((d=u.debounceRendering)||_)(E)}function E(){var e,t,n,o,r,i,l,c,u;for(s.sort(f);e=s.shift();)e.__d&&(t=s.length,o=void 0,r=void 0,i=void 0,c=(l=(n=e).__v).__e,(u=n.__P)&&(o=[],r=[],(i=g({},l)).__v=l.__v+1,M(u,l,i,n.__n,void 0!==u.ownerSVGElement,null!=l.__h?[c]:null,o,null==c?k(l):c,l.__h,r),W(o,l,r),l.__e!=c&&S(l)),s.length>t&&s.sort(f));E.__r=0}function D(e,t,n,o,r,i,l,c,u,a,s){var d,_,f,p,v,g,y,x,I,S=0,R=o&&o.__k||m,E=R.length,D=E,P=t.length;for(n.__k=[],d=0;d<P;d++)null!=(p=n.__k[d]=null==(p=t[d])||"boolean"==typeof p||"function"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?C(null,p,null,null,p):w(p)?C(b,{children:p},null,null,null):p.__b>0?C(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)?(p.__=n,p.__b=n.__b+1,-1===(x=O(p,R,y=d+S,D))?f=h:(f=R[x]||h,R[x]=void 0,D--),M(e,p,f,r,i,l,c,u,a,s),v=p.__e,(_=p.ref)&&f.ref!=_&&(f.ref&&U(f.ref,null,p),s.push(_,p.__c||v,p)),null!=v&&(null==g&&(g=v),(I=f===h||null===f.__v)?-1==x&&S--:x!==y&&(x===y+1?S++:x>y?D>P-y?S+=x-y:S--:S=x<y&&x==y-1?x-y:0),y=d+S,"function"!=typeof p.type||x===y&&f.__k!==p.__k?"function"==typeof p.type||x===y&&!I?void 0!==p.__d?(u=p.__d,p.__d=void 0):u=v.nextSibling:u=F(e,v,u):u=T(p,u,e),"function"==typeof n.type&&(n.__d=u))):(f=R[d])&&null==f.key&&f.__e&&(f.__e==u&&(f.__=o,u=k(f)),$(f,f,!1),R[d]=null);for(n.__e=g,d=E;d--;)null!=R[d]&&("function"==typeof n.type&&null!=R[d].__e&&R[d].__e==n.__d&&(n.__d=R[d].__e.nextSibling),$(R[d],R[d]))}function T(e,t,n){for(var o,r=e.__k,i=0;r&&i<r.length;i++)(o=r[i])&&(o.__=e,t="function"==typeof o.type?T(o,t,n):F(n,o.__e,t));return t}function P(e,t){return t=t||[],null==e||"boolean"==typeof e||(w(e)?e.some((function(e){P(e,t)})):t.push(e)),t}function F(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function O(e,t,n,o){var r=e.key,i=e.type,l=n-1,c=n+1,u=t[n];if(null===u||u&&r==u.key&&i===u.type)return n;if(o>(null!=u?1:0))for(;l>=0||c<t.length;){if(l>=0){if((u=t[l])&&r==u.key&&i===u.type)return l;l--}if(c<t.length){if((u=t[c])&&r==u.key&&i===u.type)return c;c++}}return-1}function N(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||v.test(t)?n:n+"px"}function z(e,t,n,o,r){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof o&&(e.style.cssText=o=""),o)for(t in o)n&&t in n||N(e.style,t,"");if(n)for(t in n)o&&n[t]===o[t]||N(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?o?n.u=o.u:(n.u=Date.now(),e.addEventListener(t,i?A:H,i)):e.removeEventListener(t,i?A:H,i);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function H(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(u.event?u.event(e):e)}function A(e){return this.l[e.type+!0](u.event?u.event(e):e)}function M(e,t,n,o,r,i,l,c,a,s){var d,_,f,p,h,m,v,y,x,C,k,S,R,E,T,P=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(a=n.__h,c=t.__e=n.__e,t.__h=null,i=[c]),(d=u.__b)&&d(t);e:if("function"==typeof P)try{if(y=t.props,x=(d=P.contextType)&&o[d.__c],C=d?x?x.props.value:d.__:o,n.__c?v=(_=t.__c=n.__c).__=_.__E:("prototype"in P&&P.prototype.render?t.__c=_=new P(y,C):(t.__c=_=new I(y,C),_.constructor=P,_.render=K),x&&x.sub(_),_.props=y,_.state||(_.state={}),_.context=C,_.__n=o,f=_.__d=!0,_.__h=[],_._sb=[]),null==_.__s&&(_.__s=_.state),null!=P.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=g({},_.__s)),g(_.__s,P.getDerivedStateFromProps(y,_.__s))),p=_.props,h=_.state,_.__v=t,f)null==P.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(null==P.getDerivedStateFromProps&&y!==p&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(y,C),!_.__e&&(null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(y,_.__s,C)||t.__v===n.__v)){for(t.__v!==n.__v&&(_.props=y,_.state=_.__s,_.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),k=0;k<_._sb.length;k++)_.__h.push(_._sb[k]);_._sb=[],_.__h.length&&l.push(_);break e}null!=_.componentWillUpdate&&_.componentWillUpdate(y,_.__s,C),null!=_.componentDidUpdate&&_.__h.push((function(){_.componentDidUpdate(p,h,m)}))}if(_.context=C,_.props=y,_.__P=e,_.__e=!1,S=u.__r,R=0,"prototype"in P&&P.prototype.render){for(_.state=_.__s,_.__d=!1,S&&S(t),d=_.render(_.props,_.state,_.context),E=0;E<_._sb.length;E++)_.__h.push(_._sb[E]);_._sb=[]}else do{_.__d=!1,S&&S(t),d=_.render(_.props,_.state,_.context),_.state=_.__s}while(_.__d&&++R<25);_.state=_.__s,null!=_.getChildContext&&(o=g(g({},o),_.getChildContext())),f||null==_.getSnapshotBeforeUpdate||(m=_.getSnapshotBeforeUpdate(p,h)),D(e,w(T=null!=d&&d.type===b&&null==d.key?d.props.children:d)?T:[T],t,n,o,r,i,l,c,a,s),_.base=t.__e,t.__h=null,_.__h.length&&l.push(_),v&&(_.__E=_.__=null)}catch(e){t.__v=null,(a||null!=i)&&(t.__e=c,t.__h=!!a,i[i.indexOf(c)]=null),u.__e(e,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=L(n.__e,t,n,o,r,i,l,a,s);(d=u.diffed)&&d(t)}function W(e,t,n){for(var o=0;o<n.length;o++)U(n[o],n[++o],n[++o]);u.__c&&u.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){u.__e(e,t.__v)}}))}function L(e,t,n,o,r,i,l,u,a){var s,d,_,f=n.props,p=t.props,m=t.type,v=0;if("svg"===m&&(r=!0),null!=i)for(;v<i.length;v++)if((s=i[v])&&"setAttribute"in s==!!m&&(m?s.localName===m:3===s.nodeType)){e=s,i[v]=null;break}if(null==e){if(null===m)return document.createTextNode(p);e=r?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,p.is&&p),i=null,u=!1}if(null===m)f===p||u&&e.data===p||(e.data=p);else{if(i=i&&c.call(e.childNodes),d=(f=n.props||h).dangerouslySetInnerHTML,_=p.dangerouslySetInnerHTML,!u){if(null!=i)for(f={},v=0;v<e.attributes.length;v++)f[e.attributes[v].name]=e.attributes[v].value;(_||d)&&(_&&(d&&_.__html==d.__html||_.__html===e.innerHTML)||(e.innerHTML=_&&_.__html||""))}if(function(e,t,n,o,r){var i;for(i in n)"children"===i||"key"===i||i in t||z(e,i,null,n[i],o);for(i in t)r&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||z(e,i,t[i],n[i],o)}(e,p,f,r,u),_)t.__k=[];else if(D(e,w(v=t.props.children)?v:[v],t,n,o,r&&"foreignObject"!==m,i,l,i?i[0]:n.__k&&k(n,0),u,a),null!=i)for(v=i.length;v--;)null!=i[v]&&y(i[v]);u||("value"in p&&void 0!==(v=p.value)&&(v!==e.value||"progress"===m&&!v||"option"===m&&v!==f.value)&&z(e,"value",v,f.value,!1),"checked"in p&&void 0!==(v=p.checked)&&v!==e.checked&&z(e,"checked",v,f.checked,!1))}return e}function U(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){u.__e(e,n)}}function $(e,t,n){var o,r;if(u.unmount&&u.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||U(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){u.__e(e,t)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&$(o[r],t,n||"function"!=typeof e.type);n||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function K(e,t,n){return this.constructor(e,n)}function j(e,t,n){var o,r,i,l;u.__&&u.__(e,t),r=(o="function"==typeof n)?null:n&&n.__k||t.__k,i=[],l=[],M(t,e=(!o&&n||t).__k=x(b,null,[e]),r||h,h,void 0!==t.ownerSVGElement,!o&&n?[n]:r?null:t.firstChild?c.call(t.childNodes):null,i,!o&&n?n:r?r.__e:t.firstChild,o,l),W(i,e,l)}function B(e,t){var n={__c:t="__cC"+p++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,o;return this.getChildContext||(n=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,R(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}c=m.slice,u={__e:function(e,t,n,o){for(var r,i,l;t=t.__;)if((r=t.__c)&&!r.__)try{if((i=r.constructor)&&null!=i.getDerivedStateFromError&&(r.setState(i.getDerivedStateFromError(e)),l=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,o||{}),l=r.__d),l)return r.__E=r}catch(t){e=t}throw e}},a=0,I.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),R(this))},I.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),R(this))},I.prototype.render=b,s=[],_="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,t){return e.__v.__b-t.__v.__b},E.__r=0,p=0;var V,G,q,Y,X=0,J=[],Z=[],Q=u.__b,ee=u.__r,te=u.diffed,ne=u.__c,oe=u.unmount;function re(e,t){u.__h&&u.__h(G,e,X||t),X=0;var n=G.__H||(G.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Z}),n.__[e]}function ie(e){return X=1,function(e,t,n){var o=re(V++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):we(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=G,!G.u)){var r=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return e.__c}));if(r.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var l=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}})),!(!l&&o.__c.props===e)&&(!i||i.call(this,e,t,n))};G.u=!0;var i=G.shouldComponentUpdate,l=G.componentWillUpdate;G.componentWillUpdate=function(e,t,n){if(this.__e){var o=i;i=void 0,r(e,t,n),i=o}l&&l.call(this,e,t,n)},G.shouldComponentUpdate=r}return o.__N||o.__}(we,e)}function le(e,t){var n=re(V++,3);!u.__s&&ve(n.__H,t)&&(n.__=e,n.i=t,G.__H.__h.push(n))}function ce(e,t){var n=re(V++,4);!u.__s&&ve(n.__H,t)&&(n.__=e,n.i=t,G.__h.push(n))}function ue(e){return X=5,ae((function(){return{current:e}}),[])}function ae(e,t){var n=re(V++,7);return ve(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function se(e,t){return X=8,ae((function(){return e}),t)}function de(e){var t=G.context[e.__c],n=re(V++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(G)),t.props.value):e.__}function _e(){for(var e;e=J.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(he),e.__H.__h.forEach(me),e.__H.__h=[]}catch(t){e.__H.__h=[],u.__e(t,e.__v)}}u.__b=function(e){G=null,Q&&Q(e)},u.__r=function(e){ee&&ee(e),V=0;var t=(G=e.__c).__H;t&&(q===G?(t.__h=[],G.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Z,e.__N=e.i=void 0}))):(t.__h.forEach(he),t.__h.forEach(me),t.__h=[],V=0)),q=G},u.diffed=function(e){te&&te(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==J.push(t)&&Y===u.requestAnimationFrame||((Y=u.requestAnimationFrame)||pe)(_e)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Z&&(e.__=e.__V),e.i=void 0,e.__V=Z}))),q=G=null},u.__c=function(e,t){t.some((function(e){try{e.__h.forEach(he),e.__h=e.__h.filter((function(e){return!e.__||me(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],u.__e(n,e.__v)}})),ne&&ne(e,t)},u.unmount=function(e){oe&&oe(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{he(e)}catch(e){t=e}})),n.__H=void 0,t&&u.__e(t,n.__v))};var fe="function"==typeof requestAnimationFrame;function pe(e){var t,n=function(){clearTimeout(o),fe&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);fe&&(t=requestAnimationFrame(n))}function he(e){var t=G,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),G=t}function me(e){var t=G;e.__c=e.__(),G=t}function ve(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}function ge(e,t){for(var n in t)e[n]=t[n];return e}function ye(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var o in t)if("__source"!==o&&e[o]!==t[o])return!0;return!1}function xe(e){this.props=e}function Ce(e,t){function n(e){var n=this.props.ref,o=n==e.ref;return!o&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!o:ye(this.props,e)}function o(t){return this.shouldComponentUpdate=n,x(e,t)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}(xe.prototype=new I).isPureReactComponent=!0,xe.prototype.shouldComponentUpdate=function(e,t){return ye(this.props,e)||ye(this.state,t)};var be=u.__b;u.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),be&&be(e)};var Ie="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ke(e){function t(t){var n=ge({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ie,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Se=u.__e;u.__e=function(e,t,n,o){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);Se(e,t,n,o)};var Re=u.unmount;function Ee(e,t,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=ge({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Ee(e,t,n)}))),e}function De(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return De(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Te(){this.__u=0,this.t=null,this.__b=null}function Pe(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Fe(){this.u=null,this.o=null}u.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Re&&Re(e)},(Te.prototype=new I).__c=function(e,t){var n=t.__c,o=this;null==o.t&&(o.t=[]),o.t.push(n);var r=Pe(o.__v),i=!1,l=function(){i||(i=!0,n.__R=null,r?r(c):c())};n.__R=l;var c=function(){if(! --o.__u){if(o.state.__a){var e=o.state.__a;o.__v.__k[0]=De(e,e.__c.__P,e.__c.__O)}var t;for(o.setState({__a:o.__b=null});t=o.t.pop();)t.forceUpdate()}},u=!0===t.__h;o.__u++||u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(l,l)},Te.prototype.componentWillUnmount=function(){this.t=[]},Te.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Ee(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&x(b,null,e.fallback);return r&&(r.__h=null),[x(b,null,t.__a?null:e.children),r]};var Oe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(Fe.prototype=new I).__a=function(e){var t=this,n=Pe(t.__v),o=t.o.get(e);return o[0]++,function(r){var i=function(){t.props.revealOrder?(o.push(r),Oe(t,e,o)):r()};n?n(i):i()}},Fe.prototype.render=function(e){this.u=null,this.o=new Map;var t=P(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Fe.prototype.componentDidUpdate=Fe.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Oe(e,n,t)}))};var Ne="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ze=/^(?: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]/,He=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ae=/[A-Z0-9]/g,Me="undefined"!=typeof document,We=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};I.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(I.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Le=u.event;function Ue(){}function $e(){return this.cancelBubble}function Ke(){return this.defaultPrevented}u.event=function(e){return Le&&(e=Le(e)),e.persist=Ue,e.isPropagationStopped=$e,e.isDefaultPrevented=Ke,e.nativeEvent=e};var je={enumerable:!1,configurable:!0,get:function(){return this.class}},Be=u.vnode;u.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,o={};for(var r in t){var i=t[r];if(!("value"===r&&"defaultValue"in t&&null==i||Me&&"children"===r&&"noscript"===n||"class"===r||"className"===r)){var l=r.toLowerCase();"defaultValue"===r&&"value"in t&&null==t.value?r="value":"download"===r&&!0===i?i="":"ondoubleclick"===l?r="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||We(t.type)?"onfocus"===l?r="onfocusin":"onblur"===l?r="onfocusout":He.test(r)?r=l:-1===n.indexOf("-")&&ze.test(r)?r=r.replace(Ae,"-$&").toLowerCase():null===i&&(i=void 0):l=r="oninput","oninput"===l&&o[r=l]&&(r="oninputCapture"),o[r]=i}}"select"==n&&o.multiple&&Array.isArray(o.value)&&(o.value=P(t.children).forEach((function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)}))),"select"==n&&null!=o.defaultValue&&(o.value=P(t.children).forEach((function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),t.class&&!t.className?(o.class=t.class,Object.defineProperty(o,"className",je)):(t.className&&!t.class||t.class&&t.className)&&(o.class=o.className=t.className),e.props=o}(e),e.$$typeof=Ne,Be&&Be(e)};var Ve=u.__r;u.__r=function(e){Ve&&Ve(e),e.__c};var Ge=u.diffed;u.diffed=function(e){Ge&&Ge(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};var qe=function(e,t){return e(t)};function Ye(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Ye(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Xe(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=Ye(e))&&(o&&(o+=" "),o+=t);return o}var Je=0;function Ze(e,t,n,o,r,i){var l,c,a={};for(c in t)"ref"==c?l=t[c]:a[c]=t[c];var s={type:e,props:a,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Je,__source:r,__self:i};if("function"==typeof e&&(l=e.defaultProps))for(c in l)void 0===a[c]&&(a[c]=l[c]);return u.vnode&&u.vnode(s),s}function Qe(e,t,n){const o="function"==typeof e.colSpan?e.colSpan(n):1;if(Number.isInteger(o)&&o>1&&(!e.frozen||e.idx+o-1<=t))return o}function et(e){e.stopPropagation()}function tt(e){e?.scrollIntoView({inline:"nearest",block:"nearest"})}function nt(e){let t=!1;const n={...e,preventGridDefault(){t=!0},isGridDefaultPrevented:()=>t};return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),n}const ot=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 rt(e){return(e.ctrlKey||e.metaKey)&&"Control"!==e.key}const it="mlln6zg7-0-0-beta-40";function lt(e){return e.map((({key:e,idx:t,minWidth:n,maxWidth:o})=>Ze("div",{className:it,style:{gridColumnStart:t+1,minWidth:n,maxWidth:o},"data-measuring-cell-key":e},e)))}function ct({selectedPosition:e,columns:t,rows:n}){return ut(t[e.idx],n[e.rowIdx])}function ut(e,t){return null!=e.renderEditCell&&!1!==("function"==typeof e.editable?e.editable(t):e.editable)}function at({rows:e,topSummaryRows:t,bottomSummaryRows:n,rowIdx:o,mainHeaderRowIdx:r,lastFrozenColumnIndex:i,column:l}){const c=t?.length??0;if(o===r)return Qe(l,i,{type:"HEADER"});if(t&&o>r&&o<=c+r)return Qe(l,i,{type:"SUMMARY",row:t[o+c]});if(o>=0&&o<e.length){return Qe(l,i,{type:"ROW",row:e[o]})}return n?Qe(l,i,{type:"SUMMARY",row:n[o-e.length]}):void 0}function st({moveUp:e,moveNext:t,cellNavigationMode:n,columns:o,colSpanColumns:r,rows:i,topSummaryRows:l,bottomSummaryRows:c,minRowIdx:u,mainHeaderRowIdx:a,maxRowIdx:s,currentPosition:{idx:d,rowIdx:_},nextPosition:f,lastFrozenColumnIndex:p,isCellWithinBounds:h}){let{idx:m,rowIdx:v}=f;const w=o.length,g=e=>{for(const t of r){const n=t.idx;if(n>m)break;const o=at({rows:i,topSummaryRows:l,bottomSummaryRows:c,rowIdx:v,mainHeaderRowIdx:a,lastFrozenColumnIndex:p,column:t});if(o&&m>n&&m<o+n){m=n+(e?o:0);break}}},y=e=>e.level+a;if(h(f)&&(g(t),v<a&&(()=>{if(t){let e=o[m].parent;for(;void 0!==e;){const t=y(e);if(v===t){m=e.idx+e.colSpan;break}e=e.parent}}else if(e){let e=o[m].parent,t=!1;for(;void 0!==e;){const n=y(e);if(v>=n){m=e.idx,v=n,t=!0;break}e=e.parent}t||(m=d,v=_)}})()),"CHANGE_ROW"===n){const e=-1===m;if(m===w){v===s||(m=0,v+=1)}else if(e){v===u||(v-=1,m=w-1),g(!1)}}if(v<a){let e=o[m].parent;const t=v;for(v=a;void 0!==e;){const n=y(e);n>=t&&(v=n,m=e.idx),e=e.parent}}return{idx:m,rowIdx:v}}const dt="rdg-cell cj343x07-0-0-beta-40",_t="rdg-cell-frozen csofj7r7-0-0-beta-40",ft="rdg-cell-frozen-last ch2wcw87-0-0-beta-40";function pt(e,t){return void 0!==t?{"--rdg-grid-row-start":e,"--rdg-row-height":`${t}px`}:{"--rdg-grid-row-start":e}}function ht(e,t,n){const o=t+1,r=`calc(${n-1} * var(--rdg-header-row-height))`;return void 0===e.parent?{insetBlockStart:0,gridRowStart:1,gridRowEnd:o,paddingBlockStart:r}:{insetBlockStart:`calc(${t-n} * var(--rdg-header-row-height))`,gridRowStart:o-n,gridRowEnd:o,paddingBlockStart:r}}function mt(e,t=1){const n=e.idx+1;return{gridColumnStart:n,gridColumnEnd:n+t,insetInlineStart:e.frozen?`var(--rdg-frozen-left-${e.idx})`:void 0}}function vt(e,...t){return Xe(dt,...t,e.frozen&&_t,e.isLastFrozenColumn&&ft)}const{min:wt,max:gt,round:yt,floor:xt,sign:Ct,abs:bt}=Math;function It(e){if("function"!=typeof e)throw new Error("Please specify the rowKeyGetter prop to use selection")}function kt(e,{minWidth:t,maxWidth:n}){return e=gt(e,t),"number"==typeof n&&n>=t?wt(e,n):e}function St(e,t){return void 0===e.parent?t:e.level-e.parent.level}const Rt="rdg-checkbox-label c1bn88vv7-0-0-beta-40",Et="rdg-checkbox-input c1qt073l7-0-0-beta-40",Dt="rdg-checkbox cf71kmq7-0-0-beta-40",Tt="rdg-checkbox-label-disabled c1lwve4p7-0-0-beta-40";function Pt({onChange:e,...t}){return Ze("label",{className:Xe(Rt,t.disabled&&Tt),children:[Ze("input",{type:"checkbox",...t,className:Et,onChange:function(t){e(t.target.checked,t.nativeEvent.shiftKey)}}),Ze("div",{className:Dt})]})}function Ft(e){try{return e.row[e.column.key]}catch{return null}}const Ot=B(void 0),Nt=Ot.Provider;function zt(){return de(Ot)}function Ht({value:e,tabIndex:t,disabled:n,onChange:o,"aria-label":r,"aria-labelledby":i}){return(0,zt().renderCheckbox)({"aria-label":r,"aria-labelledby":i,tabIndex:t,disabled:n,checked:e,onChange:o})}const At=B(void 0),Mt=At.Provider,Wt=B(void 0),Lt=Wt.Provider;function Ut(){const e=de(At),t=de(Wt);if(void 0===e||void 0===t)throw new Error("useRowSelection must be used within DataGrid cells");return[e,t]}const $t="select-row";function Kt(e){const[t,n]=Ut();return Ze(Ht,{"aria-label":"Select All",tabIndex:e.tabIndex,value:t,onChange:e=>{n({type:"HEADER",checked:e})}})}function jt(e){const[t,n]=Ut();return Ze(Ht,{"aria-label":"Select",tabIndex:e.tabIndex,value:t,onChange:(t,o)=>{n({type:"ROW",row:e.row,checked:t,isShiftClick:o})}})}function Bt(e){const[t,n]=Ut();return Ze(Ht,{"aria-label":"Select Group",tabIndex:e.tabIndex,value:t,onChange:t=>{n({type:"ROW",row:e.row,checked:t,isShiftClick:!1})}})}const Vt={key:$t,name:"",width:35,minWidth:35,maxWidth:35,resizable:!1,sortable:!1,frozen:!0,renderHeaderCell:e=>Ze(Kt,{...e}),renderCell:e=>Ze(jt,{...e}),renderGroupCell:e=>Ze(Bt,{...e})},Gt="auto",qt=50;function Yt({rawColumns:e,defaultColumnOptions:t,getColumnWidth:n,viewportWidth:o,scrollLeft:r,enableVirtualization:i}){const l=t?.width??Gt,c=t?.minWidth??qt,u=t?.maxWidth??void 0,a=t?.renderCell??Ft,s=t?.sortable??!1,d=t?.resizable??!1,_=t?.draggable??!1,{columns:f,colSpanColumns:p,lastFrozenColumnIndex:h,headerRowsCount:m}=ae((()=>{let t=-1,n=1;const o=[];!function e(r,i,f){for(const p of r){if("children"in p){const t={name:p.name,parent:f,idx:-1,colSpan:0,level:0,headerCellClass:p.headerCellClass};e(p.children,i+1,t);continue}const r=p.frozen??!1,h={...p,parent:f,idx:0,level:0,frozen:r,isLastFrozenColumn:!1,width:p.width??l,minWidth:p.minWidth??c,maxWidth:p.maxWidth??u,sortable:p.sortable??s,resizable:p.resizable??d,draggable:p.draggable??_,renderCell:p.renderCell??a};o.push(h),r&&t++,i>n&&(n=i)}}(e,1),o.sort((({key:e,frozen:t},{key:n,frozen:o})=>e===$t?-1:n===$t?1:t?o?0:-1:o?1:0));const r=[];return o.forEach(((e,t)=>{e.idx=t,Xt(e,t,0),null!=e.colSpan&&r.push(e)})),-1!==t&&(o[t].isLastFrozenColumn=!0),{columns:o,colSpanColumns:r,lastFrozenColumnIndex:t,headerRowsCount:n}}),[e,l,c,u,a,d,s,_]),{templateColumns:v,layoutCssVars:w,totalFrozenColumnWidth:g,columnMetrics:y}=ae((()=>{const e=new Map;let t=0,o=0;const r=[];for(const o of f){let i=n(o);i="number"==typeof i?kt(i,o):o.minWidth,r.push(`${i}px`),e.set(o,{width:i,left:t}),t+=i}if(-1!==h){const t=e.get(f[h]);o=t.left+t.width}const i={};for(let t=0;t<=h;t++){const n=f[t];i[`--rdg-frozen-left-${n.idx}`]=`${e.get(n).left}px`}return{templateColumns:r,layoutCssVars:i,totalFrozenColumnWidth:o,columnMetrics:e}}),[n,f,h]),[x,C]=ae((()=>{if(!i)return[0,f.length-1];const e=r+g,t=r+o,n=f.length-1,l=wt(h+1,n);if(e>=t)return[l,l];let c=l;for(;c<n;){const{left:t,width:n}=y.get(f[c]);if(t+n>e)break;c++}let u=c;for(;u<n;){const{left:e,width:n}=y.get(f[u]);if(e+n>=t)break;u++}return[gt(l,c-1),wt(n,u+1)]}),[y,f,h,r,g,o,i]);return{columns:f,colSpanColumns:p,colOverscanStartIdx:x,colOverscanEndIdx:C,templateColumns:v,layoutCssVars:w,headerRowsCount:m,lastFrozenColumnIndex:h,totalFrozenColumnWidth:g}}function Xt(e,t,n){if(n<e.level&&(e.level=n),void 0!==e.parent){const{parent:o}=e;-1===o.idx&&(o.idx=t),o.colSpan+=1,Xt(o,t,n-1)}}const Jt="undefined"==typeof window?le:ce;function Zt(e,t){const n=`[data-measuring-cell-key="${CSS.escape(t)}"]`,o=e.current.querySelector(n);return o?.getBoundingClientRect().width}function Qt(e){const t=ue(e);le((()=>{t.current=e}));const n=se(((...e)=>{t.current(...e)}),[]);return e?n:e}function en(e){const[t,n]=ie(!1);t&&!e&&n(!1);return{tabIndex:e&&!t?0:-1,childTabIndex:e?0:-1,onFocus:e?function(e){e.target!==e.currentTarget&&n(!0)}:void 0}}const tn="c1creorc7-0-0-beta-40",nn="rdg-cell-drag-handle c1w9bbhr7-0-0-beta-40";function on({gridRowStart:e,rows:t,column:n,columnWidth:o,selectedPosition:r,latestDraggedOverRowIdx:i,isCellEditable:l,onRowsChange:c,onFill:u,onClick:a,setDragging:s,setDraggedOverRowIdx:d}){const{idx:_,rowIdx:f}=r;function p(e,o){const r=t[f],i=[...t],a=[];for(let c=e;c<o;c++)if(l({rowIdx:c,idx:_})){const e=u({columnKey:n.key,sourceRow:r,targetRow:t[c]});e!==t[c]&&(i[c]=e,a.push(c))}a.length>0&&c?.(i,{indexes:a,column:n})}const h=n.colSpan?.({type:"ROW",row:t[f]})??1,m=mt(n,h);return Ze("div",{style:{...m,gridRowStart:e,insetInlineStart:m.insetInlineStart&&"number"==typeof o?`calc(${m.insetInlineStart} + ${o}px - var(--rdg-drag-handle-size))`:void 0},className:Xe(nn,n.frozen&&tn),onClick:a,onMouseDown:function(e){function t(e){1!==e.buttons&&n()}function n(){window.removeEventListener("mouseover",t),window.removeEventListener("mouseup",n),s(!1),function(){const e=i.current;if(void 0===e)return;p(f<e?f+1:e,f<e?e+1:f),d(void 0)}()}e.preventDefault(),1===e.buttons&&(s(!0),window.addEventListener("mouseover",t),window.addEventListener("mouseup",n))},onDoubleClick:function(e){e.stopPropagation(),p(f+1,t.length)}})}const rn="cis5rrm7-0-0-beta-40";function ln({column:e,colSpan:t,row:n,rowIdx:o,onRowChange:r,closeEditor:i,onKeyDown:l,navigate:c}){const u=ue(),a=!1!==e.editorOptions?.commitOnOutsideClick,s=Qt((()=>{_(!0,!1)}));function d(){cancelAnimationFrame(u.current)}function _(e=!1,t=!0){e?r(n,!0,t):i(t)}function f(e,t=!1){r(e,t,t)}le((()=>{if(a)return addEventListener("mousedown",e,{capture:!0}),()=>{removeEventListener("mousedown",e,{capture:!0}),d()};function e(){u.current=requestAnimationFrame(s)}}),[a,s]);const{cellClass:p}=e,h=vt(e,"rdg-editor-container","function"==typeof p?p(n):p,!e.editorOptions?.displayCellContent&&rn);return Ze("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":t,"aria-selected":!0,className:h,style:mt(e,t),onKeyDown:function(t){if(l){const r=nt(t);if(l({mode:"EDIT",row:n,column:e,rowIdx:o,navigate(){c(t)},onClose:_},r),r.isGridDefaultPrevented())return}"Escape"===t.key?_():"Enter"===t.key?_(!0):function({key:e,target:t}){return"Tab"===e&&(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)&&1===t.closest(".rdg-editor-container")?.querySelectorAll("input, textarea, select").length}(t)&&c(t)},onMouseDownCapture:d,children:null!=e.renderEditCell&&Ze(b,{children:[e.renderEditCell({column:e,row:n,onRowChange:f,onClose:_}),e.editorOptions?.displayCellContent&&e.renderCell({column:e,row:n,isCellEditable:!0,tabIndex:-1,onRowChange:f})]})})}function cn({column:e,rowIdx:t,isCellSelected:n,selectCell:o}){const{tabIndex:r,onFocus:i}=en(n),{colSpan:l}=e,c=St(e,t),u=e.idx+1;return Ze("div",{role:"columnheader","aria-colindex":u,"aria-colspan":l,"aria-rowspan":c,"aria-selected":n,tabIndex:r,className:Xe(dt,e.headerCellClass),style:{...ht(e,t,c),gridColumnStart:u,gridColumnEnd:u+l},onFocus:i,onClick:function(){o({idx:e.idx,rowIdx:t})},children:e.name})}const un="h44jtk67-0-0-beta-40",an="rdg-header-sort-name hcgkhxz7-0-0-beta-40";function sn({column:e,sortDirection:t,priority:n}){return e.sortable?Ze(dn,{sortDirection:t,priority:n,children:e.name}):e.name}function dn({sortDirection:e,priority:t,children:n}){const o=zt().renderSortStatus;return Ze("span",{className:un,children:[Ze("span",{className:an,children:n}),Ze("span",{children:o({sortDirection:e,priority:t})})]})}const _n="c6l2wv17-0-0-beta-40",fn="rdg-cell-resizable c1kqdw7y7-0-0-beta-40",pn="r1y6ywlx7-0-0-beta-40",hn="rdg-cell-draggable",mn="rdg-cell-dragging c1bezg5o7-0-0-beta-40",vn="rdg-cell-drag-over c1vc96037-0-0-beta-40";function wn({column:e,colSpan:t,rowIdx:n,isCellSelected:o,onColumnResize:r,onColumnsReorder:i,sortColumns:l,onSortColumnsChange:c,selectCell:u,shouldFocusGrid:a,direction:s,dragDropKey:d}){const[_,f]=ie(!1),[p,h]=ie(!1),m="rtl"===s,v=St(e,n),{tabIndex:w,childTabIndex:g,onFocus:y}=en(o),x=l?.findIndex((t=>t.columnKey===e.key)),C=void 0!==x&&x>-1?l[x]:void 0,b=C?.direction,I=void 0!==C&&l.length>1?x+1:void 0,k=b&&!I?"ASC"===b?"ascending":"descending":void 0,{sortable:S,resizable:R,draggable:E}=e,D=vt(e,e.headerCellClass,S&&_n,R&&fn,E&&hn,_&&mn,p&&vn),T=e.renderHeaderCell??sn;function P(t){if(null==c)return;const{sortDescendingFirst:n}=e;if(void 0===C){const o={columnKey:e.key,direction:n?"DESC":"ASC"};c(l&&t?[...l,o]:[o])}else{let o;if((!0===n&&"DESC"===b||!0!==n&&"ASC"===b)&&(o={columnKey:e.key,direction:"ASC"===b?"DESC":"ASC"}),t){const e=[...l];o?e[x]=o:e.splice(x,1),c(e)}else c(o?[o]:[])}}let F;return E&&(F={draggable:!0,onDragStart:function(t){t.dataTransfer.setData(d,e.key),t.dataTransfer.dropEffect="move",f(!0)},onDragEnd:function(){f(!1)},onDragOver:function(e){e.preventDefault(),e.dataTransfer.dropEffect="move"},onDragEnter:function(e){gn(e)&&h(!0)},onDragLeave:function(e){gn(e)&&h(!1)},onDrop:function(t){if(h(!1),t.dataTransfer.types.includes(d)){const n=t.dataTransfer.getData(d);n!==e.key&&(t.preventDefault(),i?.(n,e.key))}}}),Ze("div",{role:"columnheader","aria-colindex":e.idx+1,"aria-colspan":t,"aria-rowspan":v,"aria-selected":o,"aria-sort":k,tabIndex:a?0:w,className:D,style:{...ht(e,n,v),...mt(e,t)},onFocus:function(e){y?.(e),a&&u({idx:0,rowIdx:n})},onClick:function(t){u({idx:e.idx,rowIdx:n}),S&&P(t.ctrlKey||t.metaKey)},onKeyDown:S?function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),P(e.ctrlKey||e.metaKey))}:void 0,...F,children:[T({column:e,sortDirection:b,priority:I,tabIndex:g}),R&&Ze("div",{className:pn,onClick:et,onDoubleClick:function(){r(e,"max-content")},onPointerDown:function(t){if("mouse"===t.pointerType&&1!==t.buttons)return;const{currentTarget:n,pointerId:o}=t,i=n.parentElement,{right:l,left:c}=i.getBoundingClientRect(),u=m?t.clientX-c:l-t.clientX;function a(t){t.preventDefault();const{right:n,left:o}=i.getBoundingClientRect(),l=m?n+u-t.clientX:t.clientX+u-o;l>0&&r(e,kt(l,e))}n.setPointerCapture(o),n.addEventListener("pointermove",a),n.addEventListener("lostpointercapture",(function e(){n.removeEventListener("pointermove",a),n.removeEventListener("lostpointercapture",e)}))}})]})}function gn(e){const t=e.relatedTarget;return!e.currentTarget.contains(t)}const yn="rdg-row r1upfr807-0-0-beta-40",xn="rdg-row-selected",Cn="rdg-header-row h10tskcx7-0-0-beta-40";function bn({rowIdx:e,columns:t,onColumnResize:n,onColumnsReorder:o,sortColumns:r,onSortColumnsChange:i,lastFrozenColumnIndex:l,selectedCellIdx:c,selectCell:u,shouldFocusGrid:a,direction:s}){const d=function(){var e=re(V++,11);if(!e.__){for(var t=G.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}(),_=[];for(let f=0;f<t.length;f++){const p=t[f],h=Qe(p,l,{type:"HEADER"});void 0!==h&&(f+=h-1),_.push(Ze(wn,{column:p,colSpan:h,rowIdx:e,isCellSelected:c===p.idx,onColumnResize:n,onColumnsReorder:o,onSortColumnsChange:i,sortColumns:r,selectCell:u,shouldFocusGrid:a&&0===f,direction:s,dragDropKey:d},p.key))}return Ze("div",{role:"row","aria-rowindex":e,className:Xe(Cn,-1===c&&xn),children:_})}const In=Ce(bn);function kn({rowIdx:e,level:t,columns:n,selectedCellIdx:o,selectCell:r}){const i=[],l=new Set;for(const c of n){let{parent:n}=c;if(void 0!==n){for(;n.level>t&&void 0!==n.parent;)n=n.parent;if(n.level===t&&!l.has(n)){l.add(n);const{idx:t}=n;i.push(Ze(cn,{column:n,rowIdx:e,isCellSelected:o===t,selectCell:r},t))}}}return Ze("div",{role:"row","aria-rowindex":e,className:Cn,children:i})}const Sn=Ce(kn);function Rn({column:e,colSpan:t,isCellSelected:n,isCopied:o,isDraggedOver:r,row:i,rowIdx:l,onClick:c,onDoubleClick:u,onContextMenu:a,onRowChange:s,selectCell:d,..._}){const{tabIndex:f,childTabIndex:p,onFocus:h}=en(n),{cellClass:m}=e,v=vt(e,"function"==typeof m?m(i):m,o&&"rdg-cell-copied c6ra8a37-0-0-beta-40",r&&"rdg-cell-dragged-over cq910m07-0-0-beta-40"),w=ut(e,i);function g(t){d({rowIdx:l,idx:e.idx},t)}return Ze("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":t,"aria-selected":n,"aria-readonly":!w||void 0,tabIndex:f,className:v,style:mt(e,t),onClick:function(t){if(c){const n=nt(t);if(c({row:i,column:e,selectCell:g},n),n.isGridDefaultPrevented())return}g()},onDoubleClick:function(t){if(u){const n=nt(t);if(u({row:i,column:e,selectCell:g},n),n.isGridDefaultPrevented())return}g(!0)},onContextMenu:function(t){if(a){const n=nt(t);if(a({row:i,column:e,selectCell:g},n),n.isGridDefaultPrevented())return}g()},onFocus:h,..._,children:e.renderCell({column:e,row:i,isCellEditable:w,tabIndex:p,onRowChange:function(t){s(e,t)}})})}const En=Ce(Rn);function Dn({className:e,rowIdx:t,gridRowStart:n,height:o,selectedCellIdx:r,isRowSelected:i,copiedCellIdx:l,draggedOverCellIdx:c,lastFrozenColumnIndex:u,row:a,viewportColumns:s,selectedCellEditor:d,onCellClick:_,onCellDoubleClick:f,onCellContextMenu:p,rowClass:h,setDraggedOverRowIdx:m,onMouseEnter:v,onRowChange:w,selectCell:g,...y},x){const C=Qt(((e,n)=>{w(e,t,n)}));e=Xe(yn,"rdg-row-"+(t%2==0?"even":"odd"),h?.(a,t),e,-1===r&&xn);const b=[];for(let e=0;e<s.length;e++){const n=s[e],{idx:o}=n,i=Qe(n,u,{type:"ROW",row:a});void 0!==i&&(e+=i-1);const h=r===o;h&&d?b.push(d):b.push(Ze(En,{column:n,colSpan:i,row:a,rowIdx:t,isCopied:l===o,isDraggedOver:c===o,isCellSelected:h,onClick:_,onDoubleClick:f,onContextMenu:p,onRowChange:C,selectCell:g},n.key))}return Ze(Mt,{value:i,children:Ze("div",{role:"row",ref:x,className:e,onMouseEnter:function(e){m?.(t),v?.(e)},style:pt(n,o),...y,children:b})})}const Tn=Ce(ke(Dn));function Pn(e,t){return Ze(Tn,{...t},e)}function Fn({scrollToPosition:{idx:e,rowIdx:t},gridElement:n,setScrollToCellPosition:o}){const r=ue(null);return Jt((()=>{tt(r.current)})),Jt((()=>{const e=new IntersectionObserver((function(){o(null)}),{root:n,threshold:1});return e.observe(r.current),()=>{e.disconnect()}}),[n,o]),Ze("div",{ref:r,style:{gridColumn:void 0===e?"1/-1":e+1,gridRow:void 0===t?"1/-1":t+2}})}const On="rdg-sort-arrow a3ejtar7-0-0-beta-40";function Nn({sortDirection:e,priority:t}){return Ze(b,{children:[zn({sortDirection:e}),Hn({priority:t})]})}function zn({sortDirection:e}){return void 0===e?null:Ze("svg",{viewBox:"0 0 12 8",width:"12",height:"8",className:On,"aria-hidden":!0,children:Ze("path",{d:"ASC"===e?"M0 8 6 0 12 8":"M0 0 6 8 12 0"})})}function Hn({priority:e}){return e}function An({column:e,colSpan:t,row:n,rowIdx:o,isCellSelected:r,selectCell:i}){const{tabIndex:l,childTabIndex:c,onFocus:u}=en(r),{summaryCellClass:a}=e,s=vt(e,"s8wc6fl7-0-0-beta-40","function"==typeof a?a(n):a);return Ze("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":t,"aria-selected":r,tabIndex:l,className:s,style:mt(e,t),onClick:function(){i({rowIdx:o,idx:e.idx})},onFocus:u,children:e.renderSummaryCell?.({column:e,row:n,tabIndex:c})})}const Mn=Ce(An);function Wn({rowIdx:e,gridRowStart:t,row:n,viewportColumns:o,top:r,bottom:i,lastFrozenColumnIndex:l,selectedCellIdx:c,isTop:u,showBorder:a,selectCell:s,"aria-rowindex":d}){const _=[];for(let t=0;t<o.length;t++){const r=o[t],i=Qe(r,l,{type:"SUMMARY",row:n});void 0!==i&&(t+=i-1);const u=c===r.idx;_.push(Ze(Mn,{column:r,colSpan:i,row:n,rowIdx:e,isCellSelected:u,selectCell:s},r.key))}return Ze("div",{role:"row","aria-rowindex":d,className:Xe(yn,"rdg-row-"+(e%2==0?"even":"odd"),"rdg-summary-row skuhp557-0-0-beta-40",u?["rdg-top-summary-row tf8l5ub7-0-0-beta-40",a&&"tb9ughf7-0-0-beta-40"]:["rdg-bottom-summary-row",a&&"b1yssfnt7-0-0-beta-40"],-1===c&&xn),style:{...pt(t),"--rdg-summary-row-top":void 0!==r?`${r}px`:void 0,"--rdg-summary-row-bottom":void 0!==i?`${i}px`:void 0},children:_})}const Ln=Ce(Wn);function Un(e,t){const{columns:n,rows:o,topSummaryRows:r,bottomSummaryRows:i,rowKeyGetter:l,onRowsChange:c,rowHeight:u,headerRowHeight:a,summaryRowHeight:s,selectedRows:d,onSelectedRowsChange:_,sortColumns:f,onSortColumnsChange:p,defaultColumnOptions:h,onCellClick:m,onCellDoubleClick:v,onCellContextMenu:w,onCellKeyDown:g,onSelectedCellChange:y,onScroll:x,onColumnResize:C,onColumnsReorder:I,onFill:k,onCopy:S,onPaste:R,enableVirtualization:E,renderers:D,className:T,style:P,rowClass:F,direction:O,role:N,"aria-label":z,"aria-labelledby":H,"aria-describedby":A,"aria-rowcount":M,"data-testid":W}=e,L=zt(),U=N??"grid",$=u??35,K=a??("number"==typeof $?$:35),j=s??("number"==typeof $?$:35),B=D?.renderRow??L?.renderRow??Pn,V=D?.renderSortStatus??L?.renderSortStatus??Nn,G=D?.renderCheckbox??L?.renderCheckbox??Pt,q=D?.noRowsFallback??L?.noRowsFallback,Y=E??!0,J=O??"ltr",[Z,Q]=ie(0),[ee,te]=ie(0),[ne,oe]=ie((()=>new Map)),[re,le]=ie((()=>new Map)),[de,_e]=ie(null),[fe,pe]=ie(!1),[he,me]=ie(void 0),[ve,we]=ie(null),ge=se((e=>ne.get(e.key)??re.get(e.key)??e.width),[re,ne]),[ye,xe,Ce]=function(){const e=ue(null),[t,n]=ie(1),[o,r]=ie(1);return Jt((()=>{const{ResizeObserver:t}=window;if(null==t)return;const{clientWidth:o,clientHeight:i,offsetWidth:l,offsetHeight:c}=e.current,{width:u,height:a}=e.current.getBoundingClientRect(),s=a-c+i;n(u-l+o),r(s);const d=new t((e=>{const t=e[0].contentBoxSize[0];qe((()=>{n(t.inlineSize),r(t.blockSize)}))}));return d.observe(e.current),()=>{d.disconnect()}}),[]),[e,t,o]}(),{columns:be,colSpanColumns:Ie,lastFrozenColumnIndex:ke,headerRowsCount:Se,colOverscanStartIdx:Re,colOverscanEndIdx:Ee,templateColumns:De,layoutCssVars:Te,totalFrozenColumnWidth:Pe}=Yt({rawColumns:n,defaultColumnOptions:h,getColumnWidth:ge,scrollLeft:ee,viewportWidth:xe,enableVirtualization:Y}),Fe=r?.length??0,Oe=i?.length??0,Ne=Fe+Oe,ze=Se+Fe,He=Se-1,Ae=-ze,Me=Ae+He,We=o.length+Oe-1,[Le,Ue]=ie((()=>({idx:-1,rowIdx:Ae-1,mode:"SELECT"}))),$e=ue(Le),Ke=ue(he),je=ue(-1),Be=ue(null),Ve=ue(!1),Ge="treegrid"===U,Ye=Se*K,Je=Ce-Ye-Ne*j,et=null!=d&&null!=_,it="rtl"===J,ut=it?"ArrowRight":"ArrowLeft",at=it?"ArrowLeft":"ArrowRight",dt=M??Se+o.length+Ne,_t=ae((()=>({renderCheckbox:G,renderSortStatus:V})),[G,V]),ft=ae((()=>{const{length:e}=o;return 0!==e&&null!=d&&null!=l&&d.size>=e&&o.every((e=>d.has(l(e))))}),[o,d,l]),{rowOverscanStartIdx:pt,rowOverscanEndIdx:ht,totalRowHeight:mt,gridTemplateRows:vt,getRowTop:yt,getRowHeight:kt,findRowIdx:St}=function({rows:e,rowHeight:t,clientHeight:n,scrollTop:o,enableVirtualization:r}){const{totalRowHeight:i,gridTemplateRows:l,getRowTop:c,getRowHeight:u,findRowIdx:a}=ae((()=>{if("number"==typeof t)return{totalRowHeight:t*e.length,gridTemplateRows:` repeat(${e.length}, ${t}px)`,getRowTop:e=>e*t,getRowHeight:()=>t,findRowIdx:e=>xt(e/t)};let n=0,o=" ";const r=e.map((e=>{const r=t(e),i={top:n,height:r};return o+=`${r}px `,n+=r,i})),i=t=>gt(0,wt(e.length-1,t));return{totalRowHeight:n,gridTemplateRows:o,getRowTop:e=>r[i(e)].top,getRowHeight:e=>r[i(e)].height,findRowIdx(e){let t=0,n=r.length-1;for(;t<=n;){const o=t+xt((n-t)/2),i=r[o].top;if(i===e)return o;if(i<e?t=o+1:i>e&&(n=o-1),t>n)return n}return 0}}}),[t,e]);let s=0,d=e.length-1;if(r){const t=4,r=a(o),i=a(o+n);s=gt(0,r-t),d=wt(e.length-1,i+t)}return{rowOverscanStartIdx:s,rowOverscanEndIdx:d,totalRowHeight:i,gridTemplateRows:l,getRowTop:c,getRowHeight:u,findRowIdx:a}}({rows:o,rowHeight:$,clientHeight:Je,scrollTop:Z,enableVirtualization:Y}),Rt=function({columns:e,colSpanColumns:t,rows:n,topSummaryRows:o,bottomSummaryRows:r,colOverscanStartIdx:i,colOverscanEndIdx:l,lastFrozenColumnIndex:c,rowOverscanStartIdx:u,rowOverscanEndIdx:a}){const s=ae((()=>{if(0===i)return 0;let e=i;const l=(t,n)=>void 0!==n&&t+n>i&&(e=t,!0);for(const i of t){const t=i.idx;if(t>=e)break;if(l(t,Qe(i,c,{type:"HEADER"})))break;for(let e=u;e<=a;e++){const o=n[e];if(l(t,Qe(i,c,{type:"ROW",row:o})))break}if(null!=o)for(const e of o)if(l(t,Qe(i,c,{type:"SUMMARY",row:e})))break;if(null!=r)for(const e of r)if(l(t,Qe(i,c,{type:"SUMMARY",row:e})))break}return e}),[u,a,n,o,r,i,c,t]);return ae((()=>{const t=[];for(let n=0;n<=l;n++){const o=e[n];n<s&&!o.frozen||t.push(o)}return t}),[s,l,e])}({columns:be,colSpanColumns:Ie,colOverscanStartIdx:Re,colOverscanEndIdx:Ee,lastFrozenColumnIndex:ke,rowOverscanStartIdx:pt,rowOverscanEndIdx:ht,rows:o,topSummaryRows:r,bottomSummaryRows:i}),{gridTemplateColumns:Et,handleColumnResize:Dt}=function(e,t,n,o,r,i,l,c,u,a){const s=ue(r),d=e.length===t.length,_=d&&r!==s.current,f=[...n],p=[];for(const{key:e,idx:n,width:o}of t)"string"!=typeof o||!_&&l.has(e)||i.has(e)||(f[n]=o,p.push(e));const h=f.join(" ");function m(e){0!==e.length&&u((t=>{const n=new Map(t);let r=!1;for(const i of e){const e=Zt(o,i);r||=e!==t.get(i),void 0===e?n.delete(i):n.set(i,e)}return r?n:t}))}return Jt((()=>{s.current=r,m(p)})),{gridTemplateColumns:h,handleColumnResize:function(e,r){const{key:l}=e,u=[...n],s=[];for(const{key:e,idx:n,width:o}of t)if(l===e){const e="number"==typeof r?`${r}px`:r;u[n]=e}else d&&"string"==typeof o&&!i.has(e)&&(u[n]=o,s.push(e));o.current.style.gridTemplateColumns=u.join(" ");const _="number"==typeof r?r:Zt(o,l);qe((()=>{c((e=>{const t=new Map(e);return t.set(l,_),t})),m(s)})),a?.(e.idx,_)}}}(be,Rt,De,ye,xe,ne,re,oe,le,C),Tt=Ge?-1:0,Ft=be.length-1,Ot=un(Le),Ht=an(Le),At=Qt(Dt),Wt=Qt(I),Ut=Qt(p),$t=Qt(m),Kt=Qt(v),jt=Qt(w),Bt=Qt(en),Vt=Qt(tn),Gt=Qt(dn),qt=Qt((({idx:e,rowIdx:t})=>{dn({rowIdx:Ae+t-1,idx:e})}));Jt((()=>{Ot&&!Kn(Le,$e.current)?($e.current=Le,-1===Le.idx&&(Be.current.focus({preventScroll:!0}),tt(Be.current))):$e.current=Le})),Jt((()=>{Ve.current&&(Ve.current=!1,pn())})),function(e,t,n){X=6,ce((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}(t,(()=>({element:ye.current,scrollToCell({idx:e,rowIdx:t}){const n=void 0!==e&&e>ke&&e<be.length?e:void 0,o=void 0!==t&&cn(t)?t:void 0;void 0===n&&void 0===o||we({idx:n,rowIdx:o})},selectCell:dn})));const Xt=se((e=>{me(e),Ke.current=e}),[]);function en(e){if(!_)return;if(It(l),"HEADER"===e.type){const t=new Set(d);for(const n of o){const o=l(n);e.checked?t.add(o):t.delete(o)}return void _(t)}const{row:t,checked:n,isShiftClick:r}=e,i=new Set(d),c=l(t);if(n){i.add(c);const e=je.current,n=o.indexOf(t);if(je.current=n,r&&-1!==e&&e!==n){const t=Ct(n-e);for(let r=e+t;r!==n;r+=t){const e=o[r];i.add(l(e))}}}else i.delete(c),je.current=-1;_(i)}function tn(e,t,n){if("function"!=typeof c)return;if(n===o[t])return;const r=[...o];r[t]=n,c(r,{indexes:[t],column:e})}function nn(){"EDIT"===Le.mode&&tn(be[Le.idx],Le.rowIdx,Le.row)}function rn(e){return e>=Tt&&e<=Ft}function cn(e){return e>=0&&e<o.length}function un({idx:e,rowIdx:t}){return t>=Ae&&t<=We&&rn(e)}function an({idx:e,rowIdx:t}){return cn(t)&&rn(e)}function sn(e){return an(e)&&ct({columns:be,rows:o,selectedPosition:e})}function dn(e,t){if(!un(e))return;nn();const n=o[e.rowIdx],r=Kn(Le,e);t&&sn(e)?Ue({...e,mode:"EDIT",row:n,originalRow:n}):r?tt($n(ye.current)):(Ve.current=!0,Ue({...e,mode:"SELECT"})),y&&!r&&y({rowIdx:e.rowIdx,row:n,column:be[e.idx]})}function _n(e){const{key:t,shiftKey:n}=e;let l="NONE";if("Tab"===t){if(function({maxColIdx:e,minRowIdx:t,maxRowIdx:n,selectedPosition:{rowIdx:o,idx:r},shiftKey:i}){return i?0===r&&o===t:r===e&&o===n}({shiftKey:n,maxColIdx:Ft,minRowIdx:Ae,maxRowIdx:We,selectedPosition:Le}))return void nn();l="CHANGE_ROW"}e.preventDefault();const c=function(e,t,n){const{idx:r,rowIdx:i}=Le,l=Ot&&-1===r;switch(e){case"ArrowUp":return{idx:r,rowIdx:i-1};case"ArrowDown":return{idx:r,rowIdx:i+1};case ut:return{idx:r-1,rowIdx:i};case at:return{idx:r+1,rowIdx:i};case"Tab":return{idx:r+(n?-1:1),rowIdx:i};case"Home":return l?{idx:r,rowIdx:Ae}:{idx:0,rowIdx:t?Ae:i};case"End":return l?{idx:r,rowIdx:We}:{idx:Ft,rowIdx:t?We:i};case"PageUp":{if(Le.rowIdx===Ae)return Le;const e=yt(i)+kt(i)-Je;return{idx:r,rowIdx:e>0?St(e):0}}case"PageDown":{if(Le.rowIdx>=o.length)return Le;const e=yt(i)+Je;return{idx:r,rowIdx:e<mt?St(e):o.length-1}}default:return Le}}(t,rt(e),n);if(Kn(Le,c))return;dn(st({moveUp:"ArrowUp"===t,moveNext:t===at||"Tab"===t&&!n,columns:be,colSpanColumns:Ie,rows:o,topSummaryRows:r,bottomSummaryRows:i,minRowIdx:Ae,mainHeaderRowIdx:Me,maxRowIdx:We,lastFrozenColumnIndex:ke,cellNavigationMode:l,currentPosition:Le,nextPosition:c,isCellWithinBounds:un}))}function fn(e){if(void 0===he)return;const{rowIdx:t}=Le;return(t<he?t<e&&e<=he:t>e&&e>=he)?Le.idx:void 0}function pn(){const e=$n(ye.current);if(null===e)return;tt(e);(e.querySelector('[tabindex="0"]')??e).focus({preventScroll:!0})}function hn(e){if(Le.rowIdx!==e||"SELECT"===Le.mode)return;const{idx:t,row:n}=Le,r=be[t],i=Qe(r,ke,{type:"ROW",row:n}),l=e=>{Ve.current=e,Ue((({idx:e,rowIdx:t})=>({idx:e,rowIdx:t,mode:"SELECT"})))};return o[Le.rowIdx]!==Le.originalRow&&l(!1),Ze(ln,{column:r,colSpan:i,row:n,rowIdx:e,onRowChange:(e,t,n)=>{t?qe((()=>{tn(r,Le.rowIdx,e),l(n)})):Ue((t=>({...t,row:e})))},closeEditor:l,onKeyDown:g,navigate:_n},r.key)}function mn(e){const t=-1===Le.idx?void 0:be[Le.idx];return void 0===t||Le.rowIdx!==e||Rt.includes(t)?Rt:Le.idx>Ee?[...Rt,t]:[...Rt.slice(0,ke+1),t,...Rt.slice(ke+1)]}(Le.idx>Ft||Le.rowIdx>We)&&(Ue({idx:-1,rowIdx:Ae-1,mode:"SELECT"}),Xt(void 0));let vn=`repeat(${Se}, ${K}px)`;Fe>0&&(vn+=` repeat(${Fe}, ${j}px)`),o.length>0&&(vn+=vt),Oe>0&&(vn+=` repeat(${Oe}, ${j}px)`);const wn=-1===Le.idx&&Le.rowIdx!==Ae-1;return Ze("div",{role:U,"aria-label":z,"aria-labelledby":H,"aria-describedby":A,"aria-multiselectable":!!et||void 0,"aria-colcount":be.length,"aria-rowcount":dt,className:Xe("rdg rnvodz57-0-0-beta-40",T,fe&&"rdg-viewport-dragging vlqv91k7-0-0-beta-40"),style:{...P,scrollPaddingInlineStart:Le.idx>ke||void 0!==ve?.idx?`${Pe}px`:void 0,scrollPaddingBlock:cn(Le.rowIdx)||void 0!==ve?.rowIdx?`${Ye+Fe*j}px ${Oe*j}px`:void 0,gridTemplateColumns:Et,gridTemplateRows:vn,"--rdg-header-row-height":`${K}px`,"--rdg-summary-row-height":`${j}px`,"--rdg-sign":it?-1:1,...Te},dir:J,ref:ye,onScroll:function(e){const{scrollTop:t,scrollLeft:n}=e.currentTarget;qe((()=>{Q(t),te(bt(n))})),x?.(e)},onKeyDown:function(e){const{idx:t,rowIdx:n,mode:r}=Le;if("EDIT"===r)return;if(g&&cn(n)){const r=o[n],i=nt(e);if(g({mode:"SELECT",row:r,column:be[t],rowIdx:n,selectCell:dn},i),i.isGridDefaultPrevented())return}if(!(e.target instanceof Element))return;const i=null!==e.target.closest(".rdg-cell"),u=Ge&&e.target===Be.current;if(!i&&!u)return;const{keyCode:a}=e;if(Ht&&(null!=R||null!=S)&&rt(e)){const e=86;if(a===67)return void function(){const{idx:e,rowIdx:t}=Le,n=o[t],r=be[e].key;_e({row:n,columnKey:r}),S?.({sourceRow:n,sourceColumnKey:r})}();if(a===e)return void function(){if(!R||!c||null===de||!sn(Le))return;const{idx:e,rowIdx:t}=Le,n=be[e],r=o[t],i=R({sourceRow:de.row,sourceColumnKey:de.columnKey,targetRow:r,targetColumnKey:n.key});tn(n,t,i)}()}switch(e.key){case"Escape":return void _e(null);case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Tab":case"Home":case"End":case"PageUp":case"PageDown":_n(e);break;default:!function(e){if(!Ht)return;const t=o[Le.rowIdx],{key:n,shiftKey:r}=e;if(et&&r&&" "===n){It(l);const n=l(t);return en({type:"ROW",row:t,checked:!d.has(n),isShiftClick:!1}),void e.preventDefault()}sn(Le)&&function(e){return!ot.has(e.key)}(e)&&Ue((({idx:e,rowIdx:n})=>({idx:e,rowIdx:n,mode:"EDIT",row:t,originalRow:t})))}(e)}},"data-testid":W,children:[Ze(Nt,{value:_t,children:Ze(Lt,{value:Bt,children:[Ze(Mt,{value:ft,children:[Array.from({length:He},((e,t)=>Ze(Sn,{rowIdx:t+1,level:-He+t,columns:mn(Ae+t),selectedCellIdx:Le.rowIdx===Ae+t?Le.idx:void 0,selectCell:qt},t))),Ze(In,{rowIdx:Se,columns:mn(Me),onColumnResize:At,onColumnsReorder:Wt,sortColumns:f,onSortColumnsChange:Ut,lastFrozenColumnIndex:ke,selectedCellIdx:Le.rowIdx===Me?Le.idx:void 0,selectCell:qt,shouldFocusGrid:!Ot,direction:J})]}),0===o.length&&q?q:Ze(b,{children:[r?.map(((e,t)=>{const n=Se+1+t,o=Me+1+t,r=Le.rowIdx===o;return Ze(Ln,{"aria-rowindex":n,rowIdx:o,gridRowStart:n,row:e,top:Ye+j*t,bottom:void 0,viewportColumns:mn(o),lastFrozenColumnIndex:ke,selectedCellIdx:r?Le.idx:void 0,isTop:!0,showBorder:t===Fe-1,selectCell:Gt},t)})),function(){const e=[],{idx:t,rowIdx:n}=Le,r=Ht&&n>ht?ht+1:ht;for(let i=Ht&&n<pt?pt-1:pt;i<=r;i++){const r=i===pt-1||i===ht+1,c=r?n:i;let u=Rt;const a=-1===t?void 0:be[t];void 0!==a&&(u=r?[a]:mn(c));const s=o[c],_=ze+c+1;let f=c,p=!1;"function"==typeof l&&(f=l(s),p=d?.has(f)??!1),e.push(B(f,{"aria-rowindex":ze+c+1,"aria-selected":et?p:void 0,rowIdx:c,row:s,viewportColumns:u,isRowSelected:p,onCellClick:$t,onCellDoubleClick:Kt,onCellContextMenu:jt,rowClass:F,gridRowStart:_,height:kt(c),copiedCellIdx:null!==de&&de.row===s?be.findIndex((e=>e.key===de.columnKey)):void 0,selectedCellIdx:n===c?t:void 0,draggedOverCellIdx:fn(c),setDraggedOverRowIdx:fe?Xt:void 0,lastFrozenColumnIndex:ke,onRowChange:Vt,selectCell:Gt,selectedCellEditor:hn(c)}))}return e}(),i?.map(((e,t)=>{const n=ze+o.length+t+1,r=o.length+t,l=Le.rowIdx===r,c=Je>mt?Ce-j*(i.length-t):void 0,u=void 0===c?j*(i.length-1-t):void 0;return Ze(Ln,{"aria-rowindex":dt-Oe+t+1,rowIdx:r,gridRowStart:n,row:e,top:c,bottom:u,viewportColumns:mn(r),lastFrozenColumnIndex:ke,selectedCellIdx:l?Le.idx:void 0,isTop:!1,showBorder:0===t,selectCell:Gt},t)}))]})]})}),function(){if(null==k||"EDIT"===Le.mode||!an(Le))return;const e=be[Le.idx];if(null==e.renderEditCell||!1===e.editable)return;const t=ge(e);return Ze(on,{gridRowStart:ze+Le.rowIdx+1,rows:o,column:e,columnWidth:t,selectedPosition:Le,isCellEditable:sn,latestDraggedOverRowIdx:Ke,onRowsChange:c,onClick:pn,onFill:k,setDragging:pe,setDraggedOverRowIdx:Xt})}(),lt(Rt),Ge&&Ze("div",{ref:Be,tabIndex:wn?0:-1,className:Xe("f1lsfrzw7-0-0-beta-40",wn&&["r190mhd37-0-0-beta-40",-1!==ke&&"r139qu9m7-0-0-beta-40"],!cn(Le.rowIdx)&&"f1cte0lg7-0-0-beta-40"),style:{gridRowStart:Le.rowIdx+ze+1}}),null!==ve&&Ze(Fn,{scrollToPosition:ve,setScrollToCellPosition:we,gridElement:ye.current})]})}function $n(e){return e.querySelector(':scope > [role="row"] > [tabindex="0"]')}function Kn(e,t){return e.idx===t.idx&&e.rowIdx===t.rowIdx}const jn=ke(Un);function Bn(e,t,n){var o=t;return l([],e,!0).sort((function(e,t){return e[o]<t[o]?n?1:-1:e[o]>t[o]?n?-1:1:0}))}var Vn=function(e){return x("div",{style:{textAlign:"center",gridColumn:"1/-1"}},e.message,x("span",null,"--- * --- * ---"))},Gn=function(e){var n,o=e.table,r=e.sort,i=[ae((function(){return n.columns()}),[n=o,n.dataChecksum()]),ae((function(){return n.data()}),[n,n.dataChecksum()])],c=i[0],u=i[1],a=o.multiSelect(),s=o.columnTypes(),d=o.columnPatterns(),_=o.columnFormats(),f=ie([]),p=f[0],h=f[1],m=ie(),v=m[0],w=m[1],g=ie([]),y=g[0],C=g[1],b=ie(new Set),I=b[0],k=b[1];le((function(){h(l(l([],a?[Vt]:[],!0),c.map((function(e){var n,o,r,i;switch(null!==(n=s[e])&&void 0!==n?n:"string"){case"time":r=void 0!==d[e]?t.timeParse(d[e]):void 0,i=void 0!==_[e]?t.timeFormat(_[e]):void 0;break;case"number":o=function(e){return x("div",{style:{textAlign:"right"}},e.row[e.column.key])};default:i=void 0!==_[e]?t.format(_[e]):void 0}return{key:e,name:e,resizable:!0,sortable:!0,minWidth:80,renderCell:o,__hpcc_pattern:r,__hpcc_format:i}})),!0))}),[_,d,s,c,a]);var S=se((function(e){var t=e.slice(-1)[0],n=void 0!==t,o="DESC"===(null==t?void 0:t.direction);w(t),C(Bn(y,n?t.columnKey:"key",!!n&&o))}),[y]),R=se((function(e){return e.key}),[]),E=se((function(e){k(e)}),[]),D=se((function(e,t){o.onRowClickCallback(e,t.key)}),[o]);return le((function(){var e=u.map((function(e,t){var n={key:t};return p.forEach((function(t,o){var r=e[o];t.__hpcc_pattern&&t.__hpcc_format?r=t.__hpcc_format(t.__hpcc_pattern(r)):t.__hpcc_pattern?r=t.__hpcc_pattern(r).toString():t.__hpcc_format&&(r=t.__hpcc_format(r)),n[t.key]=r})),n}));(null==r?void 0:r.attribute)&&(e=Bn(e,r.attribute,r.descending)),C(e)}),[p,u,r]),x(jn,{columns:p,headerRowHeight:24,rows:y,rowKeyGetter:R,rowHeight:20,renderers:{noRowsFallback:x(Vn,{message:o.noDataMessage()})},className:o.darkMode()?"rdg-dark":"rdg-light",sortColumns:v?[v]:[],onSortColumnsChange:S,selectedRows:I,onSelectedRowsChange:a?E:void 0,onCellClick:a?void 0:D,"aria-describedby":"","aria-label":"","aria-labelledby":"",style:{height:"100%"}})};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&o.firstChild?o.insertBefore(r,o.firstChild):o.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 qn=function(e){function l(){return e.call(this)||this}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}(l,e),l.prototype.columnType=function(e,t){var n;return 1===arguments.length?this.columnTypes()[e]:(this.columnTypes(o(o({},this.columnTypes()),((n={})[e]=t,n))),this)},l.prototype.columnPattern=function(e,t){var n;return 1===arguments.length?this.columnPatterns()[e]:(this.columnPatterns(o(o({},this.columnPatterns()),((n={})[e]=t,n))),this)},l.prototype.columnFormat=function(e,t){var n;return 1===arguments.length?this.columnFormats()[e]:(this.columnFormats(o(o({},this.columnFormats()),((n={})[e]=t,n))),this)},l.prototype.onRowClickCallback=function(e,t){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,t,!0),this._prevRow=e,this._prevColumn=t},l.prototype.enter=function(t,n){e.prototype.enter.call(this,t,n),this._div=n.append("div")},l.prototype.update=function(t,n){e.prototype.update.call(this,t,n),this._div.style("width",this.width()+"px"),this._div.style("height",this.height()+"px"),function(e,t,n){null==t.__k&&(t.textContent=""),j(e,t),"function"==typeof n&&n(),e&&e.__c}(x(Gn,{table:this}),this._div.node())},l.prototype.exit=function(t,n){!function(e){!!e.__k&&j(null,e)}(this._div.node()),this._div.remove(),e.prototype.exit.call(this,t,n)},l.prototype.click=function(e,t,n){},r([t.publish("...empty...","string","No Data Message"),i("design:type",Function)],l.prototype,"noDataMessage",void 0),r([t.publish(!1,"boolean","Dark Mode"),i("design:type",Function)],l.prototype,"darkMode",void 0),r([t.publish(!1,"boolean","Multiple Selection"),i("design:type",Function)],l.prototype,"multiSelect",void 0),r([t.publish({},"object",'Column Types ("boolean" | "number" | "string" | "time"'),i("design:type",Function)],l.prototype,"columnTypes",void 0),r([t.publish({},"object","Column Patterns"),i("design:type",Function)],l.prototype,"columnPatterns",void 0),r([t.publish({},"object","Column Formats"),i("design:type",Function)],l.prototype,"columnFormats",void 0),l}(t.HTMLWidget);qn.prototype._class+=" dgrid2_Table",e.BUILD_VERSION="2.104.32",e.PKG_NAME="@hpcc-js/dgrid2",e.PKG_VERSION="2.3.13",e.Table=qn,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=index.min.js.map
|