UNPKG

ez-data-grid

Version:

Light easy to use free open source to create custom React data grids.

9 lines 64 kB
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t){e.exports=require("react")},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return Ee}));var r=n(2),i=n(0),o=n.n(i),a=(n(4),n(5)),c=n(6),s=n(7),l=n(3),u=n.n(l);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var d=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},p=function(e){return"object"==typeof e&&e.constructor===Object},h=Object.freeze([]),m=Object.freeze({});function g(e){return"function"==typeof e}function b(e){return e.displayName||e.name||"Component"}function v(e){return e&&"string"==typeof e.styledComponentId}var y=void 0!==e&&(e.env.REACT_APP_SC_ATTR||e.env.SC_ATTR)||"data-styled",w="undefined"!=typeof window&&"HTMLElement"in window,x="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||void 0!==e&&(e.env.REACT_APP_SC_DISABLE_SPEEDY||e.env.SC_DISABLE_SPEEDY)||!1,k=function(){return n.nc};function C(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+e+" for more information."+(n.length>0?" Additional arguments: "+n.join(", "):""))}var S=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(y))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(y,"active"),r.setAttribute("data-styled-version","5.0.1");var a=k();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},A=function(){function e(e){var t=this.element=S(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}C(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),O=function(){function e(e){var t=this.element=S(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),E=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&C(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),c=0,s=t.length;c<s;c++)this.tag.insertRule(a,t[c])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"\n";return t},e}(),I=new Map,T=new Map,R=1,P=function(e){if(I.has(e))return I.get(e);var t=R++;return I.set(e,t),T.set(t,e),t},z=function(e){return T.get(e)},F=function(e,t){t>=R&&(R=t+1),I.set(e,t),T.set(t,e)},N="style["+y+'][data-styled-version="5.0.1"]',$=/(?:\s*)?(.*?){((?:{[^}]*}|(?!{).*?)*)}/g,L=new RegExp("^"+y+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\]'),D=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},M=function(e,t){for(var n,r=t.innerHTML,i=[];n=$.exec(r);){var o=n[1].match(L);if(o){var a=0|parseInt(o[1],10),c=o[2];0!==a&&(F(c,a),D(e,c,n[2].split('"')[1]),e.getTag().insertRules(a,i)),i.length=0}else i.push(n[0].trim())}},W=w,_={isServer:!w,useCSSOMInjection:!x},H=function(){function e(e,t,n){void 0===e&&(e=_),void 0===t&&(t={}),this.options=f({},_,{},e),this.gs=t,this.names=new Map(n),!this.options.isServer&&w&&W&&(W=!1,function(e){for(var t=document.querySelectorAll(N),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(y)&&(M(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return P(e)};var t=e.prototype;return t.reconstructWithOptions=function(t){return new e(f({},this.options,{},t),this.gs,this.names)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(t=this.options,n=t.isServer,r=t.useCSSOMInjection,i=t.target,e=n?new E(i):r?new A(i):new O(i),new j(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(P(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(P(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(P(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=z(i);if(void 0!==o){var a=e.names.get(o),c=t.getGroup(i);if(void 0!==a&&0!==c.length){var s=y+".g"+i+'[id="'+o+'"]',l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+=e+",")})),r+=""+c+s+'{content:"'+l+'"}\n'}}}return r}(this)},e}(),B=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},V=function(e){return B(5381,e)};var U=/^\s*\/\/.*$/gm;function G(e){var t,n,r,i=void 0===e?m:e,o=i.options,c=void 0===o?m:o,s=i.plugins,l=void 0===s?h:s,u=new a.a(c),f=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,c,s,l,u,f){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),p=function(e,r,i){return r>0&&-1!==i.slice(0,r).indexOf(n)&&i.slice(r-n.length,r)!==n?"."+t:e};function g(e,i,o,a){void 0===a&&(a="&");var c=e.replace(U,""),s=i&&o?o+" "+i+" { "+c+" }":c;return t=a,n=i,r=new RegExp("\\"+n+"\\b","g"),u(o||!i?"":i,s)}return u.use([].concat(l,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,p))},d,function(e){if(-2===e){var t=f;return f=[],t}}])),g.hash=l.length?l.reduce((function(e,t){return t.name||C(15),B(e,t.name)}),5381).toString():"",g}var q=o.a.createContext(),Y=(q.Consumer,o.a.createContext()),X=(Y.Consumer,new H),Q=G();function K(){return Object(i.useContext)(q)||X}function Z(){return Object(i.useContext)(Y)||Q}var J=function(){function e(e,t){var n=this;this.inject=function(e){e.hasNameForId(n.id,n.name)||e.insertRules(n.id,n.name,Q.apply(void 0,n.stringifyArgs))},this.toString=function(){return C(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.stringifyArgs=t}return e.prototype.getName=function(){return this.name},e}(),ee=/([A-Z])/g,te=/^ms-/;function ne(e){return e.replace(ee,"-$1").toLowerCase().replace(te,"-ms-")}var re=function(e){return null==e||!1===e||""===e},ie=function e(t,n){var r=[];return Object.keys(t).forEach((function(n){if(!re(t[n])){if(p(t[n]))return r.push.apply(r,e(t[n],n)),r;if(g(t[n]))return r.push(ne(n)+":",t[n],";"),r;r.push(ne(n)+": "+(i=n,null==(o=t[n])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||i in c.a?String(o).trim():o+"px")+";")}var i,o;return r})),n?[n+" {"].concat(r,["}"]):r};function oe(e,t,n){if(Array.isArray(e)){for(var r,i=[],o=0,a=e.length;o<a;o+=1)""!==(r=oe(e[o],t,n))&&(Array.isArray(r)?i.push.apply(i,r):i.push(r));return i}return re(e)?"":v(e)?"."+e.styledComponentId:g(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:oe(e(t),t,n):e instanceof J?n?(e.inject(n),e.getName()):e:p(e)?ie(e):e.toString();var c}function ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return g(e)||p(e)?oe(d(h,[e].concat(n))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:oe(d(e,n))}var ce=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},se=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function le(e,t,n){var r=e[n];ce(t)&&ce(r)?ue(r,t):e[n]=t}function ue(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(ce(a))for(var c in a)se(c)&&le(e,a[c],c)}return e}var fe=/(a)(d)/gi,de=function(e){return String.fromCharCode(e+(e>25?39:97))};function pe(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=de(t%52)+n;return(de(t%52)+n).replace(fe,"$1-$2")}function he(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(g(n)&&!v(n))return!1}return!0}var me=function(){function e(e,t){this.rules=e,this.staticRulesId="",this.isStatic=he(e),this.componentId=t,this.baseHash=V(t),H.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId;if(this.isStatic&&!n.hash){if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))return this.staticRulesId;var i=oe(this.rules,e,t).join(""),o=pe(B(this.baseHash,i.length)>>>0);if(!t.hasNameForId(r,o)){var a=n(i,"."+o,void 0,r);t.insertRules(r,o,a)}return this.staticRulesId=o,o}for(var c=this.rules.length,s=B(this.baseHash,n.hash),l="",u=0;u<c;u++){var f=this.rules[u];if("string"==typeof f)l+=f;else{var d=oe(f,e,t),p=Array.isArray(d)?d.join(""):d;s=B(s,p+u),l+=p}}var h=pe(s>>>0);if(!t.hasNameForId(r,h)){var m=n(l,"."+h,void 0,r);t.insertRules(r,h,m)}return h},e}(),ge=(new Set,function(e,t,n){return void 0===n&&(n=m),e.theme!==n.theme&&e.theme||t||n.theme}),be=/[[\].#*$><+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ye(e){return e.replace(be,"-").replace(ve,"")}function we(e){return"string"==typeof e&&!0}var xe=function(e){return pe(V(e)>>>0)};var ke=o.a.createContext();ke.Consumer;var Ce={};function Se(e,t,n){var r=e.attrs,o=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,l=e.styledComponentId,u=e.target;Object(i.useDebugValue)(l);var d=function(e,t,n){void 0===e&&(e=m);var r=f({},t,{theme:e}),i={};return n.forEach((function(e){var t,n,o,a=e;for(t in g(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]})),[r,i]}(ge(t,Object(i.useContext)(ke),a)||m,t,r),p=d[0],h=d[1],b=function(e,t,n,r){var o=K(),a=Z(),c=e.isStatic&&!t?e.generateAndInjectStyles(m,o,a):e.generateAndInjectStyles(n,o,a);return Object(i.useDebugValue)(c),c}(o,r.length>0,p),v=n,y=h.as||t.as||u,w=we(y),x=h!==t?f({},t,{},h):t,k=w||"as"in x||"forwardedAs"in x,C=k?{}:f({},x);if(k)for(var S in x)"forwardedAs"===S?C.as=x[S]:"as"===S||"forwardedAs"===S||w&&!Object(s.a)(S)||(C[S]=x[S]);return t.style&&h.style!==t.style&&(C.style=f({},t.style,{},h.style)),C.className=Array.prototype.concat(c,l,b!==l?b:null,t.className,h.className).filter(Boolean).join(" "),C.ref=v,Object(i.createElement)(y,C)}function Ae(e,t,n){var r,i=v(e),a=!we(e),c=t.displayName,s=void 0===c?function(e){return we(e)?"styled."+e:"Styled("+b(e)+")"}(e):c,l=t.componentId,d=void 0===l?function(e,t){var n="string"!=typeof e?"sc":ye(e);Ce[n]=(Ce[n]||0)+1;var r=n+"-"+xe(n+Ce[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,p=t.attrs,m=void 0===p?h:p,g=t.displayName&&t.componentId?ye(t.displayName)+"-"+t.componentId:t.componentId||d,y=i&&e.attrs?Array.prototype.concat(e.attrs,m).filter(Boolean):m,w=new me(i?e.componentStyle.rules.concat(n):n,g),x=function(e,t){return Se(r,e,t)};return x.displayName=s,(r=o.a.forwardRef(x)).attrs=y,r.componentStyle=w,r.displayName=s,r.foldedComponentIds=i?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):h,r.styledComponentId=g,r.target=i?e.target:e,r.withComponent=function(e){var r=t.componentId,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["componentId"]),o=r&&r+"-"+(we(e)?e:ye(b(e)));return Ae(e,f({},i,{attrs:y,componentId:o}),n)},Object.defineProperty(r,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?ue({},e.defaultProps,t):t}}),r.toString=function(){return"."+r.styledComponentId},a&&u()(r,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),r}var Oe=function(e){return function e(t,n,i){if(void 0===i&&(i=m),!Object(r.isValidElementType)(n))return C(1,String(n));var o=function(){return t(n,i,ae.apply(void 0,arguments))};return o.withConfig=function(r){return e(t,n,f({},i,{},r))},o.attrs=function(r){return e(t,n,f({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},o}(Ae,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Oe[e]=Oe(e)}));function Ee(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=ae.apply(void 0,[e].concat(n)).join(""),o=xe(i);return new J(o,[i,o,"@keyframes"])}t.a=Oe}).call(this,n(8))},function(e,t,n){"use strict";e.exports=n(9)},function(e,t,n){"use strict";var r=n(2),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function s(e){return r.isMemo(e)?a:c[e.$$typeof]||i}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var c=s(t),m=s(n),g=0;g<a.length;++g){var b=a[g];if(!(o[b]||r&&r[b]||m&&m[b]||c&&c[b])){var v=d(n,b);try{l(t,b,v)}catch(e){}}}}return t}},function(e,t){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var l=o[s];if(!c(l))return!1;var u=e[l],f=t[l];if(!1===(i=n?n.call(r,u,f,l):void 0)||void 0===i&&u!==f)return!1}return!0}},function(e,t,n){"use strict";t.a=function(e){function t(e,t,r){var i=t.trim().split(h);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var c=0;for(e=0===a?"":e[0]+" ";c<o;++c)t[c]=n(e,t[c],r).trim();break;default:var s=c=0;for(t=[];c<o;++c)for(var l=0;l<a;++l)t[s++]=n(e[l]+" ",i[c],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,o){var a=e+";",c=2*t+3*n+4*o;if(944===c){e=a.indexOf(":",9)+1;var s=a.substring(e,a.length-1).trim();return s=a.substring(0,e).trim()+s+";",1===I||2===I&&i(s,1)?"-webkit-"+s+s:s}if(0===I||2===I&&!i(a,1))return a;switch(c){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(A,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(s=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+s+a;case 1005:return d.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(s=a.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=a.replace(y,"tb");break;case 232:s=a.replace(y,"tb-rl");break;case 220:s=a.replace(y,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+s+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,c=(s=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:a=a.replace(s,"-webkit-"+s)+";"+a;break;case 207:case 102:a=a.replace(s,"-webkit-"+(102<c?"inline-":"")+"box")+";"+a.replace(s,"-webkit-"+s)+";"+a.replace(s,"-ms-"+s+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return s=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+s+"-ms-flex-"+s+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,o).replace(":fill-available",":stretch"):a.replace(s,"-webkit-"+s)+a.replace(s,"-moz-"+s.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),z(2!==t?r:r.replace(C,"$1"),n,t)}function o(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,i,o,a,c,l,u){for(var f,d=0,p=t;d<P;++d)switch(f=R[d].call(s,e,p,n,r,i,o,a,c,l,u)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function c(e){return void 0!==(e=e.prefix)&&(z=null,e?"function"!=typeof e?I=1:(I=2,z=e):I=0),c}function s(e,n){var c=e;if(33>c.charCodeAt(0)&&(c=c.trim()),c=[c],0<P){var s=a(-1,n,c,c,E,O,0,0,0,0);void 0!==s&&"string"==typeof s&&(n=s)}var f=function e(n,c,s,f,d){for(var p,h,m,y,x,k=0,C=0,S=0,A=0,R=0,z=0,N=m=p=0,$=0,L=0,D=0,M=0,W=s.length,_=W-1,H="",B="",V="",U="";$<W;){if(h=s.charCodeAt($),$===_&&0!==C+A+S+k&&(0!==C&&(h=47===C?10:47),A=S=k=0,W++,_++),0===C+A+S+k){if($===_&&(0<L&&(H=H.replace(u,"")),0<H.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:H+=s.charAt($)}h=59}switch(h){case 123:for(p=(H=H.trim()).charCodeAt(0),m=1,M=++$;$<W;){switch(h=s.charCodeAt($)){case 123:m++;break;case 125:m--;break;case 47:switch(h=s.charCodeAt($+1)){case 42:case 47:e:{for(N=$+1;N<_;++N)switch(s.charCodeAt(N)){case 47:if(42===h&&42===s.charCodeAt(N-1)&&$+2!==N){$=N+1;break e}break;case 10:if(47===h){$=N+1;break e}}$=N}}break;case 91:h++;case 40:h++;case 34:case 39:for(;$++<_&&s.charCodeAt($)!==h;);}if(0===m)break;$++}switch(m=s.substring(M,$),0===p&&(p=(H=H.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<L&&(H=H.replace(u,"")),h=H.charCodeAt(1)){case 100:case 109:case 115:case 45:L=c;break;default:L=T}if(M=(m=e(c,L,m,h,d+1)).length,0<P&&(x=a(3,m,L=t(T,H,D),c,E,O,M,h,d,f),H=L.join(""),void 0!==x&&0===(M=(m=x.trim()).length)&&(h=0,m="")),0<M)switch(h){case 115:H=H.replace(w,o);case 100:case 109:case 45:m=H+"{"+m+"}";break;case 107:m=(H=H.replace(g,"$1 $2"))+"{"+m+"}",m=1===I||2===I&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=H+m,112===f&&(B+=m,m="")}else m="";break;default:m=e(c,t(c,H,D),m,f,d+1)}V+=m,m=D=L=N=p=0,H="",h=s.charCodeAt(++$);break;case 125:case 59:if(1<(M=(H=(0<L?H.replace(u,""):H).trim()).length))switch(0===N&&(p=H.charCodeAt(0),45===p||96<p&&123>p)&&(M=(H=H.replace(" ",":")).length),0<P&&void 0!==(x=a(1,H,c,n,E,O,B.length,f,d,f))&&0===(M=(H=x.trim()).length)&&(H="\0\0"),p=H.charCodeAt(0),h=H.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){U+=H+s.charAt($);break}default:58!==H.charCodeAt(M-1)&&(B+=r(H,p,h,H.charCodeAt(2)))}D=L=N=p=0,H="",h=s.charCodeAt(++$)}}switch(h){case 13:case 10:47===C?C=0:0===1+p&&107!==f&&0<H.length&&(L=1,H+="\0"),0<P*F&&a(0,H,c,n,E,O,B.length,f,d,f),O=1,E++;break;case 59:case 125:if(0===C+A+S+k){O++;break}default:switch(O++,y=s.charAt($),h){case 9:case 32:if(0===A+k+C)switch(R){case 44:case 58:case 9:case 32:y="";break;default:32!==h&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===A+C+k&&(L=D=1,y="\f"+y);break;case 108:if(0===A+C+k+j&&0<N)switch($-N){case 2:112===R&&58===s.charCodeAt($-3)&&(j=R);case 8:111===z&&(j=z)}break;case 58:0===A+C+k&&(N=$);break;case 44:0===C+S+A+k&&(L=1,y+="\r");break;case 34:case 39:0===C&&(A=A===h?0:0===A?h:A);break;case 91:0===A+C+S&&k++;break;case 93:0===A+C+S&&k--;break;case 41:0===A+C+k&&S--;break;case 40:if(0===A+C+k){if(0===p)switch(2*R+3*z){case 533:break;default:p=1}S++}break;case 64:0===C+S+A+k+N+m&&(m=1);break;case 42:case 47:if(!(0<A+k+S))switch(C){case 0:switch(2*h+3*s.charCodeAt($+1)){case 235:C=47;break;case 220:M=$,C=42}break;case 42:47===h&&42===R&&M+2!==$&&(33===s.charCodeAt(M+2)&&(B+=s.substring(M,$+1)),y="",C=0)}}0===C&&(H+=y)}z=R,R=h,$++}if(0<(M=B.length)){if(L=c,0<P&&(void 0!==(x=a(2,B,L,n,E,O,M,f,d,f))&&0===(B=x).length))return U+B+V;if(B=L.join(",")+"{"+B+"}",0!=I*j){switch(2!==I||i(B,2)||(j=0),j){case 111:B=B.replace(v,":-moz-$1")+B;break;case 112:B=B.replace(b,"::-webkit-input-$1")+B.replace(b,"::-moz-$1")+B.replace(b,":-ms-input-$1")+B}j=0}}return U+B+V}(T,c,n,0,0);return 0<P&&(void 0!==(s=a(-2,f,c,c,E,O,f.length,0,0,0))&&(f=s)),"",j=0,O=E=1,f}var l=/^\0+/g,u=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,p=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,v=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,k=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,O=1,E=1,j=0,I=1,T=[],R=[],P=0,z=null,F=0;return s.use=function e(t){switch(t){case void 0:case null:P=R.length=0;break;default:if("function"==typeof t)R[P++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else F=0|!!t}return e},s.set=c,void 0!==e&&c(e),s}},function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){"use strict";var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.a=i},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,l=[],u=!1,f=-1;function d(){u&&s&&(u=!1,s.length?l=s.concat(l):f=-1,l.length&&p())}function p(){if(!u){var e=c(d);u=!0;for(var t=l.length;t;){for(s=l,l=[];++f<t;)s&&s[f].run();f=-1,t=l.length}s=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||u||c(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict"; /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case d:case a:case s:case c:case h:return e;default:switch(e=e&&e.$$typeof){case u:case p:case b:case g:case l:return e;default:return t}}case o:return t}}}function C(e){return k(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=i,t.ForwardRef=p,t.Fragment=a,t.Lazy=b,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=c,t.Suspense=h,t.isAsyncMode=function(e){return C(e)||k(e)===f},t.isConcurrentMode=C,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===b},t.isMemo=function(e){return k(e)===g},t.isPortal=function(e){return k(e)===o},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===c},t.isSuspense=function(e){return k(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===c||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===w||e.$$typeof===x||e.$$typeof===v)},t.typeOf=k},function(e,t,n){"use strict";n.r(t),n.d(t,"EzColumn",(function(){return gt})),n.d(t,"EzGrid",(function(){return bt}));var r=n(0),i=n.n(r),o=n(1);function a(){var e=h(["\n display: flex;\n min-height: 46px;\n transition: 0.25s linear background-color;\n z-index: 99;\n box-shadow: 0px 3px 5px -2px rgba(0, 0, 0, 0.75);\n align-items: center;\n overflow-x: hidden;\n min-width: ","px;\n position: sticky;\n top: 0px;\n background-color: white;\n"]);return a=function(){return e},e}function c(){var e=h(["\n height: calc(2rem + 2px);\n padding: 0.375rem 0.75rem;\n font-size: 1rem;\n line-height: 1.5;\n border-radius: 0.25rem;\n width: 100%;\n transition: all 0.15s ease-in-out;\n background-color: transparent;\n border: none;\n display: flex;\n align-items: center;\n font-weight: bold;\n"]);return c=function(){return e},e}function s(){var e=h(["\n flex-basis: 0;\n -ms-flex-positive: 1;\n flex-grow: 1;\n /*max-width: 100%;*/\n position: relative;\n /*width: 100%;*/\n min-height: 46px;\n padding-right: 15px;\n padding-left: 15px;\n align-items: center;\n display: flex;\n transition: 0.25s linear all;\n ",";\n\n &:hover {\n background-color: ",";\n }\n\n &:hover "," {\n opacity: 1;\n }\n\n &:hover "," {\n opacity: 1;\n }\n\n &:hover "," {\n ",";\n }\n"]);return s=function(){return e},e}function l(){var e=h(["\n border-left: 9px solid transparent;\n border-right: 9px solid transparent;\n border-top: 9px solid #4f4f4f;\n margin-bottom: 0.45rem;\n opacity: 0;\n transition: 0.125s linear all;\n margin-left: ",";\n cursor: pointer;\n ",";\n\n &:hover {\n border-top: 9px solid black;\n }\n"]);return l=function(){return e},e}function u(){var e=h(["\n font-size: 18px;\n opacity: 0;\n margin-left: 0.35rem;\n color: ",";\n -webkit-transition: 0.25s linear all;\n transition: 0.25s linear all;\n margin-left: auto;\n cursor: pointer;\n\n &:hover {\n color: ",";\n }\n"]);return u=function(){return e},e}function f(){var e=h(["\n padding-right: 15px;\n padding-left: 15px;\n"]);return f=function(){return e},e}function d(){var e=h(["\n position: relative;\n min-height: 46px;\n padding-right: 10px;\n padding-left: 10px;\n align-items: center;\n display: flex;\n"]);return d=function(){return e},e}function p(){var e=h(["\n font-size: 13px;\n transition: 0.25s linear all;\n"]);return p=function(){return e},e}function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var b=function(e){var t=m(Object(r.useState)(!0),2),n=t[0],o=t[1],a=m(Object(r.useState)(!1),2),c=a[0],s=a[1];Object(r.useEffect)((function(){s(e.filteredList.includes(e.value))}),[e.filteredList,e.value]);return i.a.createElement(C,{key:e.index,isWithoutData:e.isWithoutData,minWidth:e.minWidth,haveActions:!e.disableSorting||!e.disableFilters},i.a.createElement(S,{isWithoutData:e.isWithoutData},i.a.createElement(v,null,e.value),!e.isWithoutData&&!e.disableFilters&&i.a.createElement(x,{isFiltered:c,onClick:function(){e.onOpenFilterClicked(e.value,c)}},"🝖"),e.isWithoutData||e.disableSorting?null:i.a.createElement(k,{isAsc:n,disableFilters:e.disableFilters,onClick:function(){var t=!n;o(t),e.sortByColumn(e.value,t)}})))},v=o.a.div(p()),y=o.a.div(d()),w=o.a.input(f()),x=o.a.div(u(),(function(e){return e.isFiltered?"#008000":"#4f4f4f"}),(function(e){return e.isFiltered?"#00b300":"black"})),k=o.a.div(l(),(function(e){return e.disableFilters?"auto":"0.55rem"}),(function(e){return e.isAsc?"":"transform: rotateX(180deg)"})),C=o.a.div(s(),(function(e){return e.minWidth?"min-width:"+e.minWidth+";":"min-width: 80px;"}),(function(e){return e.isWithoutData?"":"#eaeaeaab"}),k,x,v,(function(e){return e.isWithoutData||!e.haveActions?"":"transform: translate(-25px, -15px); font-size: 12px; position: absolute;"})),S=o.a.div(c()),A=o.a.div(a(),(function(e){return e.rowMinWidth})),O=function(e){var t=m(Object(r.useState)(!1),2),n=t[0],o=t[1];return i.a.createElement(A,{rowMinWidth:e.rowMinWidth},!e.disableChooseRows&&i.a.createElement(y,null,i.a.createElement(w,{type:"checkbox",checked:n,onClick:function(){var t=!n;e.checkAllRows(t),o(t)},readOnly:!0})),e.data.map((function(t,n){return i.a.createElement(b,{minWidth:t.props.minWidth,disableSorting:e.disableSorting,disableFilters:e.disableFilters,onOpenFilterClicked:e.onOpenFilterClicked,isWithoutData:t.props.isWithoutData,value:t.props.title,key:n,index:n,filteredList:e.filteredList,sortByColumn:function(n,r){!t.props.isWithoutData&&e.sortByColumn(n,r)}})})))},E={IS_EQUALE_TO:"Is equal to",IS_NOT_EQUAL_TO:"Is not equal to",STARTS_WITH:"Start with",CONTAINS:"Contains",DOESNT_CONTAINS:"Doesnt contains",ENDS_WITH:"Ends with"};function j(){var e=$(["\n display: inline-flex;\n ",";\n line-height: 1.5;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n border-radius: 0.25rem;\n outline: none;\n margin-right: 0.25rem;\n font-size: 12px;\n"]);return j=function(){return e},e}function I(){var e=$(["\n display: inline-flex;\n padding: 0.375rem 0.75rem;\n line-height: 1.5;\n margin-right: 0.25rem;\n background-color: ",";\n background-clip: padding-box;\n border-radius: 0.25rem;\n color: white;\n transition: all linear 0.2s;\n outline: none;\n cursor: pointer;\n align-items: center;\n animation: "," 0.1s linear;\n -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.55);\n -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.55);\n box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.55);\n font-size: 12px;\n\n &:hover {\n background-color: ",";\n }\n"]);return I=function(){return e},e}function T(){var e=$(["\n display: flex;\n padding: 0.15rem;\n animation: "," 0.1s linear;\n background-color: #dadada;\n border-radius: 0.25rem;\n border: 1px solid #d2d2d2;\n margin-right: 0.25rem;\n"]);return T=function(){return e},e}function R(){var e=$(["\n display: inline-flex;\n padding: 0.15rem;\n font-size: 1rem;\n line-height: 1.5;\n margin-left: 0.25rem;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n border-radius: 0.25rem;\n outline: none;\n margin-right: 0.25rem;\n font-size: 12px;\n"]);return R=function(){return e},e}function P(){var e=$([""]);return P=function(){return e},e}function z(){var e=$(["\n color: white;\n transition: all linear 0.2s;\n display: flex;\n align-items: center;\n margin-left: auto;\n font-size: 12px;\n background-color: #2858a7;\n background-clip: padding-box;\n line-height: 1.5;\n border-radius: 0.25rem;\n cursor: pointer;\n padding: 0.375rem 0.75rem;\n font-weight: bold;\n transform: ",";\n\n &:hover {\n background-color: #2263cf;\n }\n"]);return z=function(){return e},e}function F(){var e=$(["\n font-size: 10px;\n padding: 0 0.3rem 0 0.3rem;\n background-color: white;\n border-radius: 1rem;\n margin-left: 0.4rem;\n color: black;\n font-weight: bold;\n cursor: pointer;\n"]);return F=function(){return e},e}function N(){var e=$(["\n from {\n transform: scaleY(0);\n }\n\n to {\n transform: transform: scaleY(1);\n }\n"]);return N=function(){return e},e}function $(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M=function(e,t){return e!==t},W=function(e,t){return e===t},_=function(e,t){return-1!==e.indexOf(t)},H=function(e,t){return 0===e.indexOf(t)},B=function(e,t){return e.endsWith(t)},V=function(e,t){return-1===e.indexOf(t)},U=function(e){switch(e){case E.IS_NOT_EQUAL_TO:return M;case E.IS_EQUALE_TO:return W;case E.CONTAINS:return _;case E.STARTS_WITH:return H;case E.ENDS_WITH:return B;default:return V}},G=Object(o.b)(N()),q=o.a.div(F()),Y=o.a.div(z(),(function(e){return e.isOpen?"scale(0)":"scale(1)"})),X=o.a.option(P()),Q=o.a.select(R()),K=o.a.div(T(),G),Z=o.a.div(I(),(function(e){return e.haveFilter?"#45ac20":"#a02626"}),G,(function(e){return e.haveFilter?"#49cb1b":"#c71818"})),J=o.a.input(j(),(function(e){return e.isSmall?"padding: .15rem":"padding: .375rem .75rem"})),ee=function(e){var t=L(Object(r.useState)(!0),2),n=t[0],o=t[1],a=L(Object(r.useState)(null),2),c=a[0],s=a[1],l=L(Object(r.useState)(E[Object.keys(E)[0]]),2),u=l[0],f=l[1],d=Object.keys(E).filter((function(e){return E[e]===u}));return n?i.a.createElement(K,null,i.a.createElement(J,{placeholder:e.filterText,onChange:function(t){var n=U(u);e.onFilterChanged(t.target.value,e.filterText,n,u),s(t.target.value)},isSmall:!0,value:c||""}),i.a.createElement(Q,{onChange:function(t){var n=t.target.selectedOptions[0].innerText;if(null!=c){var r=U(n);e.onFilterChanged(c,e.filterText,r,n)}f(n)},defaultValue:d},Object.keys(E).map((function(e,t){return i.a.createElement(X,{key:t,value:e},E[e])}))),i.a.createElement(Y,{onClick:function(){return o(!n)}},"OK")):i.a.createElement(Z,{key:e.filterText,onClick:function(){return o(!n)},haveFilter:c},e.filterText,i.a.createElement(q,{onClick:function(t){t.stopPropagation(),e.onCloseButtonClick(e.filterText,c)}},"X"))};function te(){var e=oe(["\n padding-bottom: 0.5rem;\n padding-top: 0.5rem;\n display: flex;\n min-height: 38px;\n border-bottom: 1px solid #c8c8c8;\n overflow-x: auto;\n\n ::-webkit-scrollbar {\n height: 6px;\n }\n\n ::-webkit-scrollbar-track {\n background: #f1f1f1;\n }\n\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n"]);return te=function(){return e},e}function ne(){var e=oe(["\n display: inline-flex;\n ",";\n margin-left: 0.25rem;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n border-radius: 0.25rem;\n outline: none;\n margin-right: 0.5rem;\n font-size: 12px;\n"]);return ne=function(){return e},e}function re(){var e=oe(["\n display: flex;\n"]);return re=function(){return e},e}function ie(){var e=oe(["\n display: inline-flex;\n padding: 0.375rem 0.9rem;\n line-height: 1.5;\n font-weight: bold;\n font-size: 12px;\n margin-left: auto;\n margin-right: 0.25rem;\n background-color: #efefef;\n background-clip: padding-box;\n border-radius: 0.25rem;\n transition: all linear 0.2s;\n outline: none;\n color: black;\n cursor: pointer;\n -webkit-align-items: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n border: 1px solid #ced4da;\n\n &:hover {\n color: #ffffff;\n background-color: #d4d4d4;\n }\n"]);return ie=function(){return e},e}function oe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ae=function(e){var t=function(t,n){n&&e.onRemoveFilter(t),e.onCloseFilterClicked(t)};return i.a.createElement(i.a.Fragment,null,i.a.createElement(se,null,e.filteredList?e.filteredList.map((function(n){return i.a.createElement(ee,{key:n,filterText:n,onFilterChanged:e.onChange,onCloseButtonClick:t})})):null))},ce=o.a.div(ie()),se=o.a.div(re()),le=o.a.input(ne(),(function(e){return e.isSmall?"padding: .15rem":"padding: .375rem .75rem"})),ue=o.a.div(te()),fe=function(e){return i.a.createElement(ue,null,i.a.createElement(le,{placeholder:"Search",onChange:e.onSearchChange}),i.a.createElement(ae,{onCloseFilterClicked:e.onCloseFilterClicked,onChange:e.onFilterChanged,onRemoveFilter:e.removeFilter,filteredList:e.filteredList}),e.onAddButtonClick&&i.a.createElement(ce,{onClick:function(){return e.onAddButtonClick(e.columnTitles,e.columnIds)}},"ADD"))};function de(){var e=xe(["\n display: flex;\n padding: 0.5rem 0.35rem 0.5rem 0.35rem;\n min-height: 20px;\n border-top: 1px solid #c8c8c8;\n align-items: center;\n font-size: 12px;\n"]);return de=function(){return e},e}function pe(){var e=xe(["\n width: 50px;\n margin-right: 0.25rem;\n border: 1px solid dimgrey;\n outline: none;\n padding: 0.075rem 0.45rem;\n line-height: 1.5;\n margin-left: 0.25rem;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n font-size: 12px;\n"]);return pe=function(){return e},e}function he(){var e=xe(["\n display: flex;\n margin-right: 0.55rem;\n align-items: center;\n"]);return he=function(){return e},e}function me(){var e=xe(["\n border-left: 7px solid black;\n margin-left: 0.5rem;\n width: 0;\n height: 0;\n border-top: 7px solid transparent;\n border-bottom: 7px solid transparent;\n cursor: pointer;\n display: inline-block;\n"]);return me=function(){return e},e}function ge(){var e=xe(["\n margin-right: 0.5rem;\n border-right: 7px solid black;\n width: 0;\n height: 0;\n border-top: 7px solid transparent;\n border-bottom: 7px solid transparent;\n cursor: pointer;\n display: inline-block;\n"]);return ge=function(){return e},e}function be(){var e=xe(["\n display: flex;\n align-items: center;\n"]);return be=function(){return e},e}function ve(){var e=xe(["\n padding: 0.075rem 0.45rem;\n line-height: 1.5;\n margin-left: auto;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n font-size: 12px;\n"]);return ve=function(){return e},e}function ye(){var e=xe([""]);return ye=function(){return e},e}function we(){var e=xe(["\n @media (max-width: 470px) {\n display: none;\n }\n"]);return we=function(){return e},e}function xe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ke=o.a.span(we()),Ce=o.a.option(ye()),Se=o.a.select(ve()),Ae=o.a.span(be()),Oe=o.a.div(ge()),Ee=o.a.div(me()),je=o.a.div(he()),Ie=o.a.input(pe()),Te=o.a.div(de()),Re=function(e){var t=e.pageNumber*e.rowsInPage,n=t+e.rowsInPage>=e.rowsToShow.length?e.rowsToShow.length:t+e.rowsInPage,r=Math.ceil(e.rowsToShow.length/