dga-ui-react 1.4.0 → 1.4.1

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.
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("d3");function r(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=r(n);const a=t.createContext(null),i={direction:"ltr",fontFamily:"IBM Plex Sans",textColor:"#161616",textOnColor:"#FFFFFF",palette:{neutral:{25:"#FCFCFD",50:"#F9FAFB",100:"#F3F4F6",200:"#E5E7EB",300:"#D2D6DB",400:"#9DA4AE",500:"#6C737F",600:"#4D5761",700:"#384250",800:"#1F2A37",900:"#111927",950:"#0D121C",light:"#D2D6DB",main:"#6C737F",dark:"#384250",contrastText:"#FFF"},primary:{25:"#F7FDF9",50:"#F3FCF6",100:"#DFF6E7",200:"#B8EACB",300:"#88D8AD",400:"#54C08A",500:"#25935F",600:"#1B8354",700:"#166A45",800:"#14573A",900:"#104631",950:"#092A1E",light:"#54C08A",main:"#1B8354",dark:"#14573A",contrastText:"#FFF"},secondary:{25:"#FFFEF7",50:"#FFFEF2",100:"#FFFCE6",200:"#FCF3BD",300:"#FAE996",400:"#F7D54D",500:"#F5BD02",600:"#DBA102",700:"#B87B02",800:"#945C01",900:"#6E3C00",950:"#472400",light:"#F7D54D",main:"#DBA102",dark:"#945C01",contrastText:"#0D121C"},error:{25:"#FFFBFA",50:"#FEF3F2",100:"#FEE4E2",200:"#FECDCA",300:"#FDA29B",400:"#F97066",500:"#F04438",600:"#D92D20",700:"#B42318",800:"#912018",900:"#7A271A",950:"#55160C",light:"#FDA29B",main:"#F04438",dark:"#B42318",contrastText:"#FFF"},warning:{25:"#FFFCF5",50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E",950:"#4E1D09",light:"#FEC84B",main:"#F79009",dark:"#B54708",contrastText:"#0D121C"},info:{25:"#F5FAFF",50:"#ECFDF3",100:"#D1E9FF",200:"#B2DDFF",300:"#84CAFF",400:"#53B1FD",500:"#2E90FA",600:"#1570EF",700:"#175CD3",800:"#1849A9",900:"#194185",950:"#102A56",light:"#84CAFF",main:"#2E90FA",dark:"#175CD3",contrastText:"#FFF"},success:{25:"#F6FEF9",50:"#ECFDF3",100:"#DCFAE6",200:"#ABEFC6",300:"#75E0A7",400:"#47CD89",500:"#17B26A",600:"#079455",700:"#067647",800:"#085D3A",900:"#074D31",950:"#053321",light:"#75E0A7",main:"#17B26A",dark:"#067647",contrastText:"#FFF"}},typography:{h1:{fontSize:"72px",lineHeight:"90px"},h2:{fontSize:"60px",lineHeight:"72px"},h3:{fontSize:"48px",lineHeight:"60px"},h4:{fontSize:"36px",lineHeight:"44px"},h5:{fontSize:"30px",lineHeight:"38px"},h6:{fontSize:"24px",lineHeight:"32px"},xl:{fontSize:"20px",lineHeight:"30px"},lg:{fontSize:"18px",lineHeight:"28px"},md:{fontSize:"16px",lineHeight:"24px"},sm:{fontSize:"14px",lineHeight:"20px"},xs:{fontSize:"12px",lineHeight:"18px"}},elevation:{shadows:{xs:"box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);",sm:"box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .06), 0px 1px 3px 0px rgba(16, 24, 40, .1);",md:"box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, .06), 0px 4px 8px -2px rgba(16, 24, 40, .1);",lg:"box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);",xl:"box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -4px rgba(16, 24, 40, .08);","2xl":"box-shadow: 0 24px 48px -12px #1018282e;","3xl":"box-shadow: 0 32px 64px -12px #10182824;"},backdropBlur:{sm:"filter: blur(8px);-webkit-filter: blur(8px);",md:"filter: blur(16px);-webkit-filter: blur(16px);",lg:"filter: blur(24px);-webkit-filter: blur(24px);",xl:"filter: blur(40px);-webkit-filter: blur(40px);"}},raduises:{none:"0",xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"24px",full:"9999px"},breakPoints:{lg:1280,md:768,sm:375}};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".dgaui {\n font-family: IBM Plex Sans Arabic;\n box-sizing: border-box;\n font-size: 14px;\n -webkit-tap-highlight-color: transparent;\n}\n\n.dgaui input,\n.dgaui textarea,\n.dgaui select {\n font-family: IBM Plex Sans Arabic;\n}\n\n.dgaui_hiddenScrollbar {\n -ms-overflow-style: none; /* IE and Edge */\n /* Hide scrollbar for IE, Edge and Firefox */\n scrollbar-width: none; /* Firefox */\n}\n/* Hide scrollbar for Chrome, Safari and Opera */\n.dgaui_hiddenScrollbar::-webkit-scrollbar {\n display: none;\n}\n\n.dgauiDragging {\n cursor: grabbing;\n}\n");const s=()=>{const e=t.useContext(a);let n=i;return e&&(n=((e,t)=>{let n={};return t&&(n=function e(t,n){let r=Object.assign({},t);for(const a in n)(o=n[a])&&"object"==typeof o&&!Array.isArray(o)&&a in t?r[a]=e(t[a],n[a]):r[a]=n[a];var o;return r}(e,t)),n})(i,e)),n};var c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)};function l(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function u(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var p=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|disableRemotePlayback|download|draggable|encType|enterKeyHint|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,d=u((function(e){return p.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),h="-ms-",f="-moz-",m="-webkit-",g="comm",y="rule",v="decl",x="@keyframes",b=Math.abs,w=String.fromCharCode,S=Object.assign;function k(e){return e.trim()}function C(e,t){return(e=t.exec(e))?e[0]:e}function A(e,t,n){return e.replace(t,n)}function F(e,t,n){return e.indexOf(t,n)}function E(e,t){return 0|e.charCodeAt(t)}function D(e,t,n){return e.slice(t,n)}function N(e){return e.length}function P(e){return e.length}function $(e,t){return t.push(e),e}function O(e,t){return e.filter((function(e){return!C(e,t)}))}var _=1,T=1,I=0,j=0,R=0,B="";function z(e,t,n,r,o,a,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:_,column:T,length:i,return:"",siblings:s}}function L(e,t){return S(z("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function M(e){for(;e.root;)e=L(e.root,{children:[e]});$(e,e.siblings)}function H(){return R=j>0?E(B,--j):0,T--,10===R&&(T=1,_--),R}function V(){return R=j<I?E(B,j++):0,T++,10===R&&(T=1,_++),R}function q(){return E(B,j)}function G(){return j}function Y(e,t){return D(B,e,t)}function W(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U(e){return k(Y(j-1,K(91===e?e+2:40===e?e+1:e)))}function X(e){for(;(R=q())&&R<33;)V();return W(e)>2||W(R)>3?"":" "}function Z(e,t){for(;--t&&V()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return Y(e,G()+(t<6&&32==q()&&32==V()))}function K(e){for(;V();)switch(R){case e:return j;case 34:case 39:34!==e&&39!==e&&K(R);break;case 40:41===e&&K(e);break;case 92:V()}return j}function J(e,t){for(;V()&&e+R!==57&&(e+R!==84||47!==q()););return"/*"+Y(t,j-1)+"*"+w(47===e?e:V())}function Q(e){for(;!W(q());)V();return Y(e,j)}function ee(e){return function(e){return B="",e}(te("",null,null,null,[""],e=function(e){return _=T=1,I=N(B=e),j=0,[]}(e),0,[0],e))}function te(e,t,n,r,o,a,i,s,c){for(var l=0,u=0,p=i,d=0,h=0,f=0,m=1,g=1,y=1,v=0,x="",S=o,k=a,C=r,D=x;g;)switch(f=v,v=V()){case 40:if(108!=f&&58==E(D,p-1)){-1!=F(D+=A(U(v),"&","&\f"),"&\f",b(l?s[l-1]:0))&&(y=-1);break}case 34:case 39:case 91:D+=U(v);break;case 9:case 10:case 13:case 32:D+=X(f);break;case 92:D+=Z(G()-1,7);continue;case 47:switch(q()){case 42:case 47:$(re(J(V(),G()),t,n,c),c);break;default:D+="/"}break;case 123*m:s[l++]=N(D)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(D=A(D,/\f/g,"")),h>0&&N(D)-p&&$(h>32?oe(D+";",r,n,p-1,c):oe(A(D," ","")+";",r,n,p-2,c),c);break;case 59:D+=";";default:if($(C=ne(D,t,n,l,u,o,s,x,S=[],k=[],p,a),a),123===v)if(0===u)te(D,t,C,C,S,a,p,s,k);else switch(99===d&&110===E(D,3)?100:d){case 100:case 108:case 109:case 115:te(e,C,C,r&&$(ne(e,C,C,0,0,o,s,x,o,S=[],p,k),k),o,k,p,s,r?S:k);break;default:te(D,C,C,C,[""],k,0,s,k)}}l=u=h=0,m=y=1,x=D="",p=i;break;case 58:p=1+N(D),h=f;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==H())continue;switch(D+=w(v),v*m){case 38:y=u>0?1:(D+="\f",-1);break;case 44:s[l++]=(N(D)-1)*y,y=1;break;case 64:45===q()&&(D+=U(V())),d=q(),u=p=N(x=D+=Q(G())),v++;break;case 45:45===f&&2==N(D)&&(m=0)}}return a}function ne(e,t,n,r,o,a,i,s,c,l,u,p){for(var d=o-1,h=0===o?a:[""],f=P(h),m=0,g=0,v=0;m<r;++m)for(var x=0,w=D(e,d+1,d=b(g=i[m])),S=e;x<f;++x)(S=k(g>0?h[x]+" "+w:A(w,/&\f/g,h[x])))&&(c[v++]=S);return z(e,t,n,0===o?y:s,c,l,u,p)}function re(e,t,n,r){return z(e,t,n,g,w(R),D(e,2,-2),0,r)}function oe(e,t,n,r,o){return z(e,t,n,v,D(e,0,r),D(e,r+1,-1),r,o)}function ae(e,t,n){switch(function(e,t){return 45^E(e,0)?(((t<<2^E(e,0))<<2^E(e,1))<<2^E(e,2))<<2^E(e,3):0}(e,t)){case 5103:return m+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return m+e+e;case 4789:return f+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return m+e+f+e+h+e+e;case 5936:switch(E(e,t+11)){case 114:return m+e+h+A(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return m+e+h+A(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return m+e+h+A(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return m+e+h+e+e;case 6165:return m+e+h+"flex-"+e+e;case 5187:return m+e+A(e,/(\w+).+(:[^]+)/,m+"box-$1$2"+h+"flex-$1$2")+e;case 5443:return m+e+h+"flex-item-"+A(e,/flex-|-self/g,"")+(C(e,/flex-|baseline/)?"":h+"grid-row-"+A(e,/flex-|-self/g,""))+e;case 4675:return m+e+h+"flex-line-pack"+A(e,/align-content|flex-|-self/g,"")+e;case 5548:return m+e+h+A(e,"shrink","negative")+e;case 5292:return m+e+h+A(e,"basis","preferred-size")+e;case 6060:return m+"box-"+A(e,"-grow","")+m+e+h+A(e,"grow","positive")+e;case 4554:return m+A(e,/([^-])(transform)/g,"$1"+m+"$2")+e;case 6187:return A(A(A(e,/(zoom-|grab)/,m+"$1"),/(image-set)/,m+"$1"),e,"")+e;case 5495:case 3959:return A(e,/(image-set\([^]*)/,m+"$1$`$1");case 4968:return A(A(e,/(.+:)(flex-)?(.*)/,m+"box-pack:$3"+h+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+m+e+e;case 4200:if(!C(e,/flex-|baseline/))return h+"grid-column-align"+D(e,t)+e;break;case 2592:case 3360:return h+A(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,C(e.props,/grid-\w+-end/)}))?~F(e+(n=n[t].value),"span",0)?e:h+A(e,"-start","")+e+h+"grid-row-span:"+(~F(n,"span",0)?C(n,/\d+/):+C(n,/\d+/)-+C(e,/\d+/))+";":h+A(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return C(e.props,/grid-\w+-start/)}))?e:h+A(A(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return A(e,/(.+)-inline(.+)/,m+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(N(e)-1-t>6)switch(E(e,t+1)){case 109:if(45!==E(e,t+4))break;case 102:return A(e,/(.+:)(.+)-([^]+)/,"$1"+m+"$2-$3$1"+f+(108==E(e,t+3)?"$3":"$2-$3"))+e;case 115:return~F(e,"stretch",0)?ae(A(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return A(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,s){return h+n+":"+r+s+(o?h+n+"-span:"+(a?i:+i-+r)+s:"")+e}));case 4949:if(121===E(e,t+6))return A(e,":",":"+m)+e;break;case 6444:switch(E(e,45===E(e,14)?18:11)){case 120:return A(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+m+(45===E(e,14)?"inline-":"")+"box$3$1"+m+"$2$3$1"+h+"$2box$3")+e;case 100:return A(e,":",":"+h)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return A(e,"scroll-","scroll-snap-")+e}return e}function ie(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function se(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case v:return e.return=e.return||e.value;case g:return"";case x:return e.return=e.value+"{"+ie(e.children,r)+"}";case y:if(!N(e.value=e.props.join(",")))return""}return N(n=ie(e.children,r))?e.return=e.value+"{"+n+"}":""}function ce(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case v:return void(e.return=ae(e.value,e.length,n));case x:return ie([L(e,{value:A(e.value,"@","@"+m)})],r);case y:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(C(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":M(L(e,{props:[A(t,/:(read-\w+)/,":-moz-$1")]})),M(L(e,{props:[t]})),S(e,{props:O(n,r)});break;case"::placeholder":M(L(e,{props:[A(t,/:(plac\w+)/,":"+m+"input-$1")]})),M(L(e,{props:[A(t,/:(plac\w+)/,":-moz-$1")]})),M(L(e,{props:[A(t,/:(plac\w+)/,h+"input-$1")]})),M(L(e,{props:[t]})),S(e,{props:O(n,r)})}return""}))}}var le={animationIterationCount:1,aspectRatio: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},ue="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",pe="active",de="data-styled-version",he="6.1.15",fe="/*!sc*/\n",me="undefined"!=typeof window&&"HTMLElement"in window,ge=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),ye=/invalid hook call/i,ve=new Set,xe=function(e,n){if("production"!==process.env.NODE_ENV){var r=n?' with the id of "'.concat(n,'"'):"",o="The component ".concat(e).concat(r," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",a=console.error;try{var i=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];ye.test(e)?(i=!1,ve.delete(o)):a.apply(void 0,l([e],t,!1))},t.useRef(),i&&!ve.has(o)&&(console.warn(o),ve.add(o))}catch(e){ye.test(e.message)&&ve.delete(o)}finally{console.error=a}}},be=Object.freeze([]),we=Object.freeze({});var Se=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ke=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ce=/(^-|-$)/g;function Ae(e){return e.replace(ke,"-").replace(Ce,"")}var Fe=/(a)(d)/gi,Ee=function(e){return String.fromCharCode(e+(e>25?39:97))};function De(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Ee(t%52)+n;return(Ee(t%52)+n).replace(Fe,"$1-$2")}var Ne,Pe=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},$e=function(e){return Pe(5381,e)};function Oe(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function _e(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Te="function"==typeof Symbol&&Symbol.for,Ie=Te?Symbol.for("react.memo"):60115,je=Te?Symbol.for("react.forward_ref"):60112,Re={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Be={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ze={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Le=((Ne={})[je]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ne[Ie]=ze,Ne);function Me(e){return("type"in(t=e)&&t.type.$$typeof)===Ie?ze:"$$typeof"in e?Le[e.$$typeof]:Re;var t}var He=Object.defineProperty,Ve=Object.getOwnPropertyNames,qe=Object.getOwnPropertySymbols,Ge=Object.getOwnPropertyDescriptor,Ye=Object.getPrototypeOf,We=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(We){var r=Ye(t);r&&r!==We&&Ue(e,r,n)}var o=Ve(t);qe&&(o=o.concat(qe(t)));for(var a=Me(e),i=Me(t),s=0;s<o.length;++s){var c=o[s];if(!(c in Be||n&&n[c]||i&&c in i||a&&c in a)){var l=Ge(t,c);try{He(e,c,l)}catch(e){}}}}return e}function Xe(e){return"function"==typeof e}function Ze(e){return"object"==typeof e&&"styledComponentId"in e}function Ke(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Je(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function Qe(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function et(e,t,n){if(void 0===n&&(n=!1),!n&&!Qe(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=et(e[r],t[r]);else if(Qe(t))for(var r in t)e[r]=et(e[r],t[r]);return e}function tt(e,t){Object.defineProperty(e,"toString",{value:t})}var nt="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function rt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,a=e.length;o<a;o+=1)r.push(e[o]);return r.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function ot(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(rt.apply(void 0,l([nt[e]],t,!1)).trim())}var at=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw ot(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=(a=0,t.length);a<s;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},e.prototype.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 o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.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),o=r+n,a=r;a<o;a++)t+="".concat(this.tag.getRule(a)).concat(fe);return t},e}(),it=1<<30,st=new Map,ct=new Map,lt=1,ut=function(e){if(st.has(e))return st.get(e);for(;ct.has(lt);)lt++;var t=lt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>it))throw ot(16,"".concat(t));return st.set(e,t),ct.set(t,e),t},pt=function(e,t){lt=t+1,st.set(e,t),ct.set(t,e)},dt="style[".concat(ue,"][").concat(de,'="').concat(he,'"]'),ht=new RegExp("^".concat(ue,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ft=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},mt=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(fe),o=[],a=0,i=r.length;a<i;a++){var s=r[a].trim();if(s){var c=s.match(ht);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(pt(u,l),ft(e,u,c[3]),e.getTag().insertRules(l,o)),o.length=0}else o.push(s)}}},gt=function(e){for(var t=document.querySelectorAll(dt),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ue)!==pe&&(mt(e,o),o.parentNode&&o.parentNode.removeChild(o))}};var yt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ue,"]")));return t[t.length-1]}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(ue,pe),r.setAttribute(de,he);var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},vt=function(){function e(e){this.element=yt(e),this.element.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 o=t[n];if(o.ownerNode===e)return o}throw ot(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),xt=function(){function e(e){this.element=yt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),bt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),wt=me,St={isServer:!me,useCSSOMInjection:!ge},kt=function(){function e(e,t,n){void 0===e&&(e=we),void 0===t&&(t={});var r=this;this.options=c(c({},St),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&me&&wt&&(wt=!1,gt(this)),tt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return ct.get(e)}(n);if(void 0===o)return"continue";var a=e.names.get(o),i=t.getGroup(n);if(void 0===a||!a.size||0===i.length)return"continue";var s="".concat(ue,".g").concat(n,'[id="').concat(o,'"]'),c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+="".concat(e,","))})),r+="".concat(i).concat(s,'{content:"').concat(c,'"}').concat(fe)},a=0;a<n;a++)o(a);return r}(r)}))}return e.registerId=function(e){return ut(e)},e.prototype.rehydrate=function(){!this.server&&me&&gt(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(c(c({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new bt(n):t?new vt(n):new xt(n)}(this.options),new at(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(ut(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(ut(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(ut(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Ct=/&/g,At=/^\s*\/\/.*$/gm;function Ft(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ft(e.children,t)),e}))}var Et=new kt,Dt=function(){var e,t,n,r=we,o=r.options,a=void 0===o?we:o,i=r.plugins,s=void 0===i?be:i,c=function(n,r,o){return o.startsWith(t)&&o.endsWith(t)&&o.replaceAll(t,"").length>0?".".concat(e):n},l=s.slice();l.push((function(e){e.type===y&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ct,t).replace(n,c))})),a.prefix&&l.push(ce),l.push(se);var u=function(r,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),e=s,t=o,n=new RegExp("\\".concat(t,"\\b"),"g");var c=r.replace(At,""),u=ee(i||o?"".concat(i," ").concat(o," { ").concat(c," }"):c);a.namespace&&(u=Ft(u,a.namespace));var p,d=[];return ie(u,function(e){var t=P(e);return function(n,r,o,a){for(var i="",s=0;s<t;s++)i+=e[s](n,r,o,a)||"";return i}}(l.concat((p=function(e){return d.push(e)},function(e){e.root||(e=e.return)&&p(e)})))),d};return u.hash=s.length?s.reduce((function(e,t){return t.name||ot(15),Pe(e,t.name)}),5381).toString():"",u}(),Nt=t.createContext({shouldForwardProp:void 0,styleSheet:Et,stylis:Dt});function Pt(){return t.useContext(Nt)}Nt.Consumer,t.createContext(void 0);var $t=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Dt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,tt(this,(function(){throw ot(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Dt),this.name+e.hash},e}(),Ot=function(e){return e>="A"&&e<="Z"};function _t(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Ot(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Tt=function(e){return null==e||!1===e||""===e},It=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Tt(a)&&(Array.isArray(a)&&a.isCss||Xe(a)?r.push("".concat(_t(o),":"),a,";"):Qe(a)?r.push.apply(r,l(l(["".concat(o," {")],It(a),!1),["}"],!1)):r.push("".concat(_t(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in le||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function jt(e,t,n,r){if(Tt(e))return[];if(Ze(e))return[".".concat(e.styledComponentId)];if(Xe(e)){if(!Xe(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof o||Array.isArray(o)||o instanceof $t||Qe(o)||null===o||console.error("".concat(Oe(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),jt(o,t,n,r)}var a;return e instanceof $t?n?(e.inject(n,r),[e.getName(r)]):[e]:Qe(e)?It(e):Array.isArray(e)?Array.prototype.concat.apply(be,e.map((function(e){return jt(e,t,n,r)}))):[e.toString()]}var Rt=$e(he),Bt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Xe(n)&&!Ze(n))return!1}return!0}(e),this.componentId=t,this.baseHash=Pe(Rt,t),this.baseStyle=n,kt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Ke(r,this.staticRulesId);else{var o=Je(jt(this.rules,e,t,n)),a=De(Pe(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}r=Ke(r,a),this.staticRulesId=a}else{for(var s=Pe(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u,"production"!==process.env.NODE_ENV&&(s=Pe(s,u));else if(u){var p=Je(jt(u,e,t,n));s=Pe(s,p+l),c+=p}}if(c){var d=De(s>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),r=Ke(r,d)}}return r},e}(),zt=t.createContext(void 0);zt.Consumer;var Lt={},Mt=new Set;function Ht(e,n,r){var o=Ze(e),a=e,i=!_e(e),s=n.attrs,l=void 0===s?be:s,u=n.componentId,p=void 0===u?function(e,t){var n="string"!=typeof e?"sc":Ae(e);Lt[n]=(Lt[n]||0)+1;var r="".concat(n,"-").concat(function(e){return De($e(e)>>>0)}(he+n+Lt[n]));return t?"".concat(t,"-").concat(r):r}(n.displayName,n.parentComponentId):u,h=n.displayName,f=void 0===h?function(e){return _e(e)?"styled.".concat(e):"Styled(".concat(Oe(e),")")}(e):h,m=n.displayName&&n.componentId?"".concat(Ae(n.displayName),"-").concat(n.componentId):n.componentId||p,g=o&&a.attrs?a.attrs.concat(l).filter(Boolean):l,y=n.shouldForwardProp;if(o&&a.shouldForwardProp){var v=a.shouldForwardProp;if(n.shouldForwardProp){var x=n.shouldForwardProp;y=function(e,t){return v(e,t)&&x(e,t)}}else y=v}var b=new Bt(r,m,o?a.componentStyle:void 0);function w(e,n){return function(e,n,r){var o=e.attrs,a=e.componentStyle,i=e.defaultProps,s=e.foldedComponentIds,l=e.styledComponentId,u=e.target,p=t.useContext(zt),h=Pt(),f=e.shouldForwardProp||h.shouldForwardProp;"production"!==process.env.NODE_ENV&&t.useDebugValue(l);var m=function(e,t,n){return void 0===n&&(n=we),e.theme!==n.theme&&e.theme||t||n.theme}(n,p,i)||we,g=function(e,t,n){for(var r,o=c(c({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var i=Xe(r=e[a])?r(o):r;for(var s in i)o[s]="className"===s?Ke(o[s],i[s]):"style"===s?c(c({},o[s]),i[s]):i[s]}return t.className&&(o.className=Ke(o.className,t.className)),o}(o,n,m),y=g.as||u,v={};for(var x in g)void 0===g[x]||"$"===x[0]||"as"===x||"theme"===x&&g.theme===m||("forwardedAs"===x?v.as=g.forwardedAs:f&&!f(x,y)||(v[x]=g[x],f||"development"!==process.env.NODE_ENV||d(x)||Mt.has(x)||!Se.has(y)||(Mt.add(x),console.warn('styled-components: it looks like an unknown prop "'.concat(x,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var b=function(e,n){var r=Pt(),o=e.generateAndInjectStyles(n,r.styleSheet,r.stylis);return"production"!==process.env.NODE_ENV&&t.useDebugValue(o),o}(a,g);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(b);var w=Ke(s,l);return b&&(w+=" "+b),g.className&&(w+=" "+g.className),v[_e(y)&&!Se.has(y)?"class":"className"]=w,r&&(v.ref=r),t.createElement(y,v)}(S,e,n)}w.displayName=f;var S=t.forwardRef(w);return S.attrs=g,S.componentStyle=b,S.displayName=f,S.shouldForwardProp=y,S.foldedComponentIds=o?Ke(a.foldedComponentIds,a.styledComponentId):"",S.styledComponentId=m,S.target=o?a.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)et(e,o[r],!0);return e}({},a.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(xe(f,m),S.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var a=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(a,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={}}}}(f,m)),tt(S,(function(){return".".concat(S.styledComponentId)})),i&&Ue(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function Vt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var qt=function(e){return Object.assign(e,{isCss:!0})};function Gt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Xe(e)||Qe(e))return qt(jt(Vt(be,l([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?jt(r):qt(jt(Vt(r,t)))}function Yt(e,t,n){if(void 0===n&&(n=we),!t)throw ot(1,t);var r=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,Gt.apply(void 0,l([r],o,!1)))};return r.attrs=function(r){return Yt(e,t,c(c({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Yt(e,t,c(c({},n),r))},r}var Wt=function(e){return Yt(Ht,e)},Ut=Wt;Se.forEach((function(e){Ut[e]=Wt(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var Xt="__sc-".concat(ue,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[Xt]||(window[Xt]=0),1===window[Xt]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[Xt]+=1);const Zt=({square:t=!1,color:n=""})=>{const r=s();return e.jsx(Kt,{$theme:r,$color:n,className:"dgaui dgaui_chartMark"+(t?" square":"")})},Kt=Ut.div`
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("d3");const r=t.createContext(null),o={direction:"ltr",fontFamily:"IBM Plex Sans",textColor:"#161616",textOnColor:"#FFFFFF",palette:{neutral:{25:"#FCFCFD",50:"#F9FAFB",100:"#F3F4F6",200:"#E5E7EB",300:"#D2D6DB",400:"#9DA4AE",500:"#6C737F",600:"#4D5761",700:"#384250",800:"#1F2A37",900:"#111927",950:"#0D121C",light:"#D2D6DB",main:"#6C737F",dark:"#384250",contrastText:"#FFF"},primary:{25:"#F7FDF9",50:"#F3FCF6",100:"#DFF6E7",200:"#B8EACB",300:"#88D8AD",400:"#54C08A",500:"#25935F",600:"#1B8354",700:"#166A45",800:"#14573A",900:"#104631",950:"#092A1E",light:"#54C08A",main:"#1B8354",dark:"#14573A",contrastText:"#FFF"},secondary:{25:"#FFFEF7",50:"#FFFEF2",100:"#FFFCE6",200:"#FCF3BD",300:"#FAE996",400:"#F7D54D",500:"#F5BD02",600:"#DBA102",700:"#B87B02",800:"#945C01",900:"#6E3C00",950:"#472400",light:"#F7D54D",main:"#DBA102",dark:"#945C01",contrastText:"#0D121C"},error:{25:"#FFFBFA",50:"#FEF3F2",100:"#FEE4E2",200:"#FECDCA",300:"#FDA29B",400:"#F97066",500:"#F04438",600:"#D92D20",700:"#B42318",800:"#912018",900:"#7A271A",950:"#55160C",light:"#FDA29B",main:"#F04438",dark:"#B42318",contrastText:"#FFF"},warning:{25:"#FFFCF5",50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E",950:"#4E1D09",light:"#FEC84B",main:"#F79009",dark:"#B54708",contrastText:"#0D121C"},info:{25:"#F5FAFF",50:"#ECFDF3",100:"#D1E9FF",200:"#B2DDFF",300:"#84CAFF",400:"#53B1FD",500:"#2E90FA",600:"#1570EF",700:"#175CD3",800:"#1849A9",900:"#194185",950:"#102A56",light:"#84CAFF",main:"#2E90FA",dark:"#175CD3",contrastText:"#FFF"},success:{25:"#F6FEF9",50:"#ECFDF3",100:"#DCFAE6",200:"#ABEFC6",300:"#75E0A7",400:"#47CD89",500:"#17B26A",600:"#079455",700:"#067647",800:"#085D3A",900:"#074D31",950:"#053321",light:"#75E0A7",main:"#17B26A",dark:"#067647",contrastText:"#FFF"}},typography:{h1:{fontSize:"72px",lineHeight:"90px"},h2:{fontSize:"60px",lineHeight:"72px"},h3:{fontSize:"48px",lineHeight:"60px"},h4:{fontSize:"36px",lineHeight:"44px"},h5:{fontSize:"30px",lineHeight:"38px"},h6:{fontSize:"24px",lineHeight:"32px"},xl:{fontSize:"20px",lineHeight:"30px"},lg:{fontSize:"18px",lineHeight:"28px"},md:{fontSize:"16px",lineHeight:"24px"},sm:{fontSize:"14px",lineHeight:"20px"},xs:{fontSize:"12px",lineHeight:"18px"}},elevation:{shadows:{xs:"box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);",sm:"box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .06), 0px 1px 3px 0px rgba(16, 24, 40, .1);",md:"box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, .06), 0px 4px 8px -2px rgba(16, 24, 40, .1);",lg:"box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);",xl:"box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -4px rgba(16, 24, 40, .08);","2xl":"box-shadow: 0 24px 48px -12px #1018282e;","3xl":"box-shadow: 0 32px 64px -12px #10182824;"},backdropBlur:{sm:"filter: blur(8px);-webkit-filter: blur(8px);",md:"filter: blur(16px);-webkit-filter: blur(16px);",lg:"filter: blur(24px);-webkit-filter: blur(24px);",xl:"filter: blur(40px);-webkit-filter: blur(40px);"}},raduises:{none:"0",xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"24px",full:"9999px"},breakPoints:{lg:1280,md:768,sm:375}};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".dgaui {\n font-family: IBM Plex Sans Arabic;\n box-sizing: border-box;\n font-size: 14px;\n -webkit-tap-highlight-color: transparent;\n}\n\n.dgaui input,\n.dgaui textarea,\n.dgaui select {\n font-family: IBM Plex Sans Arabic;\n}\n\n.dgaui_hiddenScrollbar {\n -ms-overflow-style: none; /* IE and Edge */\n /* Hide scrollbar for IE, Edge and Firefox */\n scrollbar-width: none; /* Firefox */\n}\n/* Hide scrollbar for Chrome, Safari and Opera */\n.dgaui_hiddenScrollbar::-webkit-scrollbar {\n display: none;\n}\n\n.dgauiDragging {\n cursor: grabbing;\n}\n");const a=()=>{const e=t.useContext(r);let n=o;return e&&(n=((e,t)=>{let n={};return t&&(n=function e(t,n){let r=Object.assign({},t);for(const a in n)(o=n[a])&&"object"==typeof o&&!Array.isArray(o)&&a in t?r[a]=e(t[a],n[a]):r[a]=n[a];var o;return r}(e,t)),n})(o,e)),n};var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function c(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|disableRemotePlayback|download|draggable|encType|enterKeyHint|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,u=c((function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),p="-ms-",d="-moz-",h="-webkit-",f="comm",m="rule",g="decl",y="@keyframes",v=Math.abs,x=String.fromCharCode,b=Object.assign;function w(e){return e.trim()}function S(e,t){return(e=t.exec(e))?e[0]:e}function k(e,t,n){return e.replace(t,n)}function C(e,t,n){return e.indexOf(t,n)}function A(e,t){return 0|e.charCodeAt(t)}function F(e,t,n){return e.slice(t,n)}function E(e){return e.length}function D(e){return e.length}function N(e,t){return t.push(e),e}function P(e,t){return e.filter((function(e){return!S(e,t)}))}var $=1,_=1,T=0,I=0,O=0,R="";function j(e,t,n,r,o,a,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:$,column:_,length:i,return:"",siblings:s}}function B(e,t){return b(j("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function z(e){for(;e.root;)e=B(e.root,{children:[e]});N(e,e.siblings)}function L(){return O=I>0?A(R,--I):0,_--,10===O&&(_=1,$--),O}function M(){return O=I<T?A(R,I++):0,_++,10===O&&(_=1,$++),O}function H(){return A(R,I)}function V(){return I}function q(e,t){return F(R,e,t)}function G(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Y(e){return w(q(I-1,X(91===e?e+2:40===e?e+1:e)))}function W(e){for(;(O=H())&&O<33;)M();return G(e)>2||G(O)>3?"":" "}function U(e,t){for(;--t&&M()&&!(O<48||O>102||O>57&&O<65||O>70&&O<97););return q(e,V()+(t<6&&32==H()&&32==M()))}function X(e){for(;M();)switch(O){case e:return I;case 34:case 39:34!==e&&39!==e&&X(O);break;case 40:41===e&&X(e);break;case 92:M()}return I}function Z(e,t){for(;M()&&e+O!==57&&(e+O!==84||47!==H()););return"/*"+q(t,I-1)+"*"+x(47===e?e:M())}function K(e){for(;!G(H());)M();return q(e,I)}function J(e){return function(e){return R="",e}(Q("",null,null,null,[""],e=function(e){return $=_=1,T=E(R=e),I=0,[]}(e),0,[0],e))}function Q(e,t,n,r,o,a,i,s,c){for(var l=0,u=0,p=i,d=0,h=0,f=0,m=1,g=1,y=1,b=0,w="",S=o,F=a,D=r,P=w;g;)switch(f=b,b=M()){case 40:if(108!=f&&58==A(P,p-1)){-1!=C(P+=k(Y(b),"&","&\f"),"&\f",v(l?s[l-1]:0))&&(y=-1);break}case 34:case 39:case 91:P+=Y(b);break;case 9:case 10:case 13:case 32:P+=W(f);break;case 92:P+=U(V()-1,7);continue;case 47:switch(H()){case 42:case 47:N(te(Z(M(),V()),t,n,c),c);break;default:P+="/"}break;case 123*m:s[l++]=E(P)*y;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:-1==y&&(P=k(P,/\f/g,"")),h>0&&E(P)-p&&N(h>32?ne(P+";",r,n,p-1,c):ne(k(P," ","")+";",r,n,p-2,c),c);break;case 59:P+=";";default:if(N(D=ee(P,t,n,l,u,o,s,w,S=[],F=[],p,a),a),123===b)if(0===u)Q(P,t,D,D,S,a,p,s,F);else switch(99===d&&110===A(P,3)?100:d){case 100:case 108:case 109:case 115:Q(e,D,D,r&&N(ee(e,D,D,0,0,o,s,w,o,S=[],p,F),F),o,F,p,s,r?S:F);break;default:Q(P,D,D,D,[""],F,0,s,F)}}l=u=h=0,m=y=1,w=P="",p=i;break;case 58:p=1+E(P),h=f;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==L())continue;switch(P+=x(b),b*m){case 38:y=u>0?1:(P+="\f",-1);break;case 44:s[l++]=(E(P)-1)*y,y=1;break;case 64:45===H()&&(P+=Y(M())),d=H(),u=p=E(w=P+=K(V())),b++;break;case 45:45===f&&2==E(P)&&(m=0)}}return a}function ee(e,t,n,r,o,a,i,s,c,l,u,p){for(var d=o-1,h=0===o?a:[""],f=D(h),g=0,y=0,x=0;g<r;++g)for(var b=0,S=F(e,d+1,d=v(y=i[g])),C=e;b<f;++b)(C=w(y>0?h[b]+" "+S:k(S,/&\f/g,h[b])))&&(c[x++]=C);return j(e,t,n,0===o?m:s,c,l,u,p)}function te(e,t,n,r){return j(e,t,n,f,x(O),F(e,2,-2),0,r)}function ne(e,t,n,r,o){return j(e,t,n,g,F(e,0,r),F(e,r+1,-1),r,o)}function re(e,t,n){switch(function(e,t){return 45^A(e,0)?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}(e,t)){case 5103:return h+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return h+e+e;case 4789:return d+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return h+e+d+e+p+e+e;case 5936:switch(A(e,t+11)){case 114:return h+e+p+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return h+e+p+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return h+e+p+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return h+e+p+e+e;case 6165:return h+e+p+"flex-"+e+e;case 5187:return h+e+k(e,/(\w+).+(:[^]+)/,h+"box-$1$2"+p+"flex-$1$2")+e;case 5443:return h+e+p+"flex-item-"+k(e,/flex-|-self/g,"")+(S(e,/flex-|baseline/)?"":p+"grid-row-"+k(e,/flex-|-self/g,""))+e;case 4675:return h+e+p+"flex-line-pack"+k(e,/align-content|flex-|-self/g,"")+e;case 5548:return h+e+p+k(e,"shrink","negative")+e;case 5292:return h+e+p+k(e,"basis","preferred-size")+e;case 6060:return h+"box-"+k(e,"-grow","")+h+e+p+k(e,"grow","positive")+e;case 4554:return h+k(e,/([^-])(transform)/g,"$1"+h+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,h+"$1"),/(image-set)/,h+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,h+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,h+"box-pack:$3"+p+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+h+e+e;case 4200:if(!S(e,/flex-|baseline/))return p+"grid-column-align"+F(e,t)+e;break;case 2592:case 3360:return p+k(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,S(e.props,/grid-\w+-end/)}))?~C(e+(n=n[t].value),"span",0)?e:p+k(e,"-start","")+e+p+"grid-row-span:"+(~C(n,"span",0)?S(n,/\d+/):+S(n,/\d+/)-+S(e,/\d+/))+";":p+k(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return S(e.props,/grid-\w+-start/)}))?e:p+k(k(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,h+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(E(e)-1-t>6)switch(A(e,t+1)){case 109:if(45!==A(e,t+4))break;case 102:return k(e,/(.+:)(.+)-([^]+)/,"$1"+h+"$2-$3$1"+d+(108==A(e,t+3)?"$3":"$2-$3"))+e;case 115:return~C(e,"stretch",0)?re(k(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return k(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,s){return p+n+":"+r+s+(o?p+n+"-span:"+(a?i:+i-+r)+s:"")+e}));case 4949:if(121===A(e,t+6))return k(e,":",":"+h)+e;break;case 6444:switch(A(e,45===A(e,14)?18:11)){case 120:return k(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+h+(45===A(e,14)?"inline-":"")+"box$3$1"+h+"$2$3$1"+p+"$2box$3")+e;case 100:return k(e,":",":"+p)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return k(e,"scroll-","scroll-snap-")+e}return e}function oe(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function ae(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case g:return e.return=e.return||e.value;case f:return"";case y:return e.return=e.value+"{"+oe(e.children,r)+"}";case m:if(!E(e.value=e.props.join(",")))return""}return E(n=oe(e.children,r))?e.return=e.value+"{"+n+"}":""}function ie(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case g:return void(e.return=re(e.value,e.length,n));case y:return oe([B(e,{value:k(e.value,"@","@"+h)})],r);case m:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(S(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":z(B(e,{props:[k(t,/:(read-\w+)/,":-moz-$1")]})),z(B(e,{props:[t]})),b(e,{props:P(n,r)});break;case"::placeholder":z(B(e,{props:[k(t,/:(plac\w+)/,":"+h+"input-$1")]})),z(B(e,{props:[k(t,/:(plac\w+)/,":-moz-$1")]})),z(B(e,{props:[k(t,/:(plac\w+)/,p+"input-$1")]})),z(B(e,{props:[t]})),b(e,{props:P(n,r)})}return""}))}}var se={animationIterationCount:1,aspectRatio: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},ce="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="active",ue="data-styled-version",pe="6.1.15",de="/*!sc*/\n",he="undefined"!=typeof window&&"HTMLElement"in window,fe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),me=/invalid hook call/i,ge=new Set,ye=function(e,n){if("production"!==process.env.NODE_ENV){var r=n?' with the id of "'.concat(n,'"'):"",o="The component ".concat(e).concat(r," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",a=console.error;try{var i=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];me.test(e)?(i=!1,ge.delete(o)):a.apply(void 0,s([e],t,!1))},t.useRef(),i&&!ge.has(o)&&(console.warn(o),ge.add(o))}catch(e){me.test(e.message)&&ge.delete(o)}finally{console.error=a}}},ve=Object.freeze([]),xe=Object.freeze({});var be=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),we=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Se=/(^-|-$)/g;function ke(e){return e.replace(we,"-").replace(Se,"")}var Ce=/(a)(d)/gi,Ae=function(e){return String.fromCharCode(e+(e>25?39:97))};function Fe(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Ae(t%52)+n;return(Ae(t%52)+n).replace(Ce,"$1-$2")}var Ee,De=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ne=function(e){return De(5381,e)};function Pe(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function $e(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var _e="function"==typeof Symbol&&Symbol.for,Te=_e?Symbol.for("react.memo"):60115,Ie=_e?Symbol.for("react.forward_ref"):60112,Oe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Re={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},je={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Be=((Ee={})[Ie]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ee[Te]=je,Ee);function ze(e){return("type"in(t=e)&&t.type.$$typeof)===Te?je:"$$typeof"in e?Be[e.$$typeof]:Oe;var t}var Le=Object.defineProperty,Me=Object.getOwnPropertyNames,He=Object.getOwnPropertySymbols,Ve=Object.getOwnPropertyDescriptor,qe=Object.getPrototypeOf,Ge=Object.prototype;function Ye(e,t,n){if("string"!=typeof t){if(Ge){var r=qe(t);r&&r!==Ge&&Ye(e,r,n)}var o=Me(t);He&&(o=o.concat(He(t)));for(var a=ze(e),i=ze(t),s=0;s<o.length;++s){var c=o[s];if(!(c in Re||n&&n[c]||i&&c in i||a&&c in a)){var l=Ve(t,c);try{Le(e,c,l)}catch(e){}}}}return e}function We(e){return"function"==typeof e}function Ue(e){return"object"==typeof e&&"styledComponentId"in e}function Xe(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ze(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function Ke(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Je(e,t,n){if(void 0===n&&(n=!1),!n&&!Ke(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Je(e[r],t[r]);else if(Ke(t))for(var r in t)e[r]=Je(e[r],t[r]);return e}function Qe(e,t){Object.defineProperty(e,"toString",{value:t})}var et="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function tt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,a=e.length;o<a;o+=1)r.push(e[o]);return r.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function nt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(tt.apply(void 0,s([et[e]],t,!1)).trim())}var rt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw nt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=(a=0,t.length);a<s;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},e.prototype.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 o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.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),o=r+n,a=r;a<o;a++)t+="".concat(this.tag.getRule(a)).concat(de);return t},e}(),ot=1<<30,at=new Map,it=new Map,st=1,ct=function(e){if(at.has(e))return at.get(e);for(;it.has(st);)st++;var t=st++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>ot))throw nt(16,"".concat(t));return at.set(e,t),it.set(t,e),t},lt=function(e,t){st=t+1,at.set(e,t),it.set(t,e)},ut="style[".concat(ce,"][").concat(ue,'="').concat(pe,'"]'),pt=new RegExp("^".concat(ce,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),dt=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},ht=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(de),o=[],a=0,i=r.length;a<i;a++){var s=r[a].trim();if(s){var c=s.match(pt);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(lt(u,l),dt(e,u,c[3]),e.getTag().insertRules(l,o)),o.length=0}else o.push(s)}}},ft=function(e){for(var t=document.querySelectorAll(ut),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ce)!==le&&(ht(e,o),o.parentNode&&o.parentNode.removeChild(o))}};var mt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ce,"]")));return t[t.length-1]}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(ce,le),r.setAttribute(ue,pe);var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},gt=function(){function e(e){this.element=mt(e),this.element.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 o=t[n];if(o.ownerNode===e)return o}throw nt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),yt=function(){function e(e){this.element=mt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),vt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),xt=he,bt={isServer:!he,useCSSOMInjection:!fe},wt=function(){function e(e,t,n){void 0===e&&(e=xe),void 0===t&&(t={});var r=this;this.options=i(i({},bt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&he&&xt&&(xt=!1,ft(this)),Qe(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return it.get(e)}(n);if(void 0===o)return"continue";var a=e.names.get(o),i=t.getGroup(n);if(void 0===a||!a.size||0===i.length)return"continue";var s="".concat(ce,".g").concat(n,'[id="').concat(o,'"]'),c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+="".concat(e,","))})),r+="".concat(i).concat(s,'{content:"').concat(c,'"}').concat(de)},a=0;a<n;a++)o(a);return r}(r)}))}return e.registerId=function(e){return ct(e)},e.prototype.rehydrate=function(){!this.server&&he&&ft(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(i(i({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new vt(n):t?new gt(n):new yt(n)}(this.options),new rt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(ct(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(ct(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(ct(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),St=/&/g,kt=/^\s*\/\/.*$/gm;function Ct(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ct(e.children,t)),e}))}var At=new wt,Ft=function(){var e,t,n,r=xe,o=r.options,a=void 0===o?xe:o,i=r.plugins,s=void 0===i?ve:i,c=function(n,r,o){return o.startsWith(t)&&o.endsWith(t)&&o.replaceAll(t,"").length>0?".".concat(e):n},l=s.slice();l.push((function(e){e.type===m&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(St,t).replace(n,c))})),a.prefix&&l.push(ie),l.push(ae);var u=function(r,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),e=s,t=o,n=new RegExp("\\".concat(t,"\\b"),"g");var c=r.replace(kt,""),u=J(i||o?"".concat(i," ").concat(o," { ").concat(c," }"):c);a.namespace&&(u=Ct(u,a.namespace));var p,d=[];return oe(u,function(e){var t=D(e);return function(n,r,o,a){for(var i="",s=0;s<t;s++)i+=e[s](n,r,o,a)||"";return i}}(l.concat((p=function(e){return d.push(e)},function(e){e.root||(e=e.return)&&p(e)})))),d};return u.hash=s.length?s.reduce((function(e,t){return t.name||nt(15),De(e,t.name)}),5381).toString():"",u}(),Et=t.createContext({shouldForwardProp:void 0,styleSheet:At,stylis:Ft});function Dt(){return t.useContext(Et)}Et.Consumer,t.createContext(void 0);var Nt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ft);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Qe(this,(function(){throw nt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Ft),this.name+e.hash},e}(),Pt=function(e){return e>="A"&&e<="Z"};function $t(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Pt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var _t=function(e){return null==e||!1===e||""===e},Tt=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!_t(a)&&(Array.isArray(a)&&a.isCss||We(a)?r.push("".concat($t(o),":"),a,";"):Ke(a)?r.push.apply(r,s(s(["".concat(o," {")],Tt(a),!1),["}"],!1)):r.push("".concat($t(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in se||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function It(e,t,n,r){if(_t(e))return[];if(Ue(e))return[".".concat(e.styledComponentId)];if(We(e)){if(!We(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof o||Array.isArray(o)||o instanceof Nt||Ke(o)||null===o||console.error("".concat(Pe(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),It(o,t,n,r)}var a;return e instanceof Nt?n?(e.inject(n,r),[e.getName(r)]):[e]:Ke(e)?Tt(e):Array.isArray(e)?Array.prototype.concat.apply(ve,e.map((function(e){return It(e,t,n,r)}))):[e.toString()]}var Ot=Ne(pe),Rt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(We(n)&&!Ue(n))return!1}return!0}(e),this.componentId=t,this.baseHash=De(Ot,t),this.baseStyle=n,wt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Xe(r,this.staticRulesId);else{var o=Ze(It(this.rules,e,t,n)),a=Fe(De(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}r=Xe(r,a),this.staticRulesId=a}else{for(var s=De(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u,"production"!==process.env.NODE_ENV&&(s=De(s,u));else if(u){var p=Ze(It(u,e,t,n));s=De(s,p+l),c+=p}}if(c){var d=Fe(s>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),r=Xe(r,d)}}return r},e}(),jt=t.createContext(void 0);jt.Consumer;var Bt={},zt=new Set;function Lt(e,n,r){var o=Ue(e),a=e,s=!$e(e),c=n.attrs,l=void 0===c?ve:c,p=n.componentId,d=void 0===p?function(e,t){var n="string"!=typeof e?"sc":ke(e);Bt[n]=(Bt[n]||0)+1;var r="".concat(n,"-").concat(function(e){return Fe(Ne(e)>>>0)}(pe+n+Bt[n]));return t?"".concat(t,"-").concat(r):r}(n.displayName,n.parentComponentId):p,h=n.displayName,f=void 0===h?function(e){return $e(e)?"styled.".concat(e):"Styled(".concat(Pe(e),")")}(e):h,m=n.displayName&&n.componentId?"".concat(ke(n.displayName),"-").concat(n.componentId):n.componentId||d,g=o&&a.attrs?a.attrs.concat(l).filter(Boolean):l,y=n.shouldForwardProp;if(o&&a.shouldForwardProp){var v=a.shouldForwardProp;if(n.shouldForwardProp){var x=n.shouldForwardProp;y=function(e,t){return v(e,t)&&x(e,t)}}else y=v}var b=new Rt(r,m,o?a.componentStyle:void 0);function w(e,n){return function(e,n,r){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,l=e.styledComponentId,p=e.target,d=t.useContext(jt),h=Dt(),f=e.shouldForwardProp||h.shouldForwardProp;"production"!==process.env.NODE_ENV&&t.useDebugValue(l);var m=function(e,t,n){return void 0===n&&(n=xe),e.theme!==n.theme&&e.theme||t||n.theme}(n,d,s)||xe,g=function(e,t,n){for(var r,o=i(i({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var s=We(r=e[a])?r(o):r;for(var c in s)o[c]="className"===c?Xe(o[c],s[c]):"style"===c?i(i({},o[c]),s[c]):s[c]}return t.className&&(o.className=Xe(o.className,t.className)),o}(o,n,m),y=g.as||p,v={};for(var x in g)void 0===g[x]||"$"===x[0]||"as"===x||"theme"===x&&g.theme===m||("forwardedAs"===x?v.as=g.forwardedAs:f&&!f(x,y)||(v[x]=g[x],f||"development"!==process.env.NODE_ENV||u(x)||zt.has(x)||!be.has(y)||(zt.add(x),console.warn('styled-components: it looks like an unknown prop "'.concat(x,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var b=function(e,n){var r=Dt(),o=e.generateAndInjectStyles(n,r.styleSheet,r.stylis);return"production"!==process.env.NODE_ENV&&t.useDebugValue(o),o}(a,g);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(b);var w=Xe(c,l);return b&&(w+=" "+b),g.className&&(w+=" "+g.className),v[$e(y)&&!be.has(y)?"class":"className"]=w,r&&(v.ref=r),t.createElement(y,v)}(S,e,n)}w.displayName=f;var S=t.forwardRef(w);return S.attrs=g,S.componentStyle=b,S.displayName=f,S.shouldForwardProp=y,S.foldedComponentIds=o?Xe(a.foldedComponentIds,a.styledComponentId):"",S.styledComponentId=m,S.target=o?a.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)Je(e,o[r],!0);return e}({},a.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(ye(f,m),S.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var a=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(a,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={}}}}(f,m)),Qe(S,(function(){return".".concat(S.styledComponentId)})),s&&Ye(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function Mt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Ht=function(e){return Object.assign(e,{isCss:!0})};function Vt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(We(e)||Ke(e))return Ht(It(Mt(ve,s([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?It(r):Ht(It(Mt(r,t)))}function qt(e,t,n){if(void 0===n&&(n=xe),!t)throw nt(1,t);var r=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,Vt.apply(void 0,s([r],o,!1)))};return r.attrs=function(r){return qt(e,t,i(i({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return qt(e,t,i(i({},n),r))},r}var Gt=function(e){return qt(Lt,e)},Yt=Gt;be.forEach((function(e){Yt[e]=Gt(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var Wt="__sc-".concat(ce,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[Wt]||(window[Wt]=0),1===window[Wt]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[Wt]+=1);const Ut=({square:t=!1,color:n=""})=>{const r=a();return e.jsx(Xt,{$theme:r,$color:n,className:"dgaui dgaui_chartMark"+(t?" square":"")})},Xt=Yt.div`
2
2
  border-radius: 100%;
3
3
  background-color: ${e=>e.$color};
4
4
  width: 8px;
@@ -7,7 +7,7 @@
7
7
  &.square {
8
8
  border-radius: 2px;
9
9
  }
10
- `,Jt=({markSquare:t=!1,children:n,markColor:r="#1B8354"})=>{const o=s();return e.jsxs(Qt,{$theme:o,className:"dgaui dgaui_chartLegend",children:[e.jsx(Zt,{square:t,color:r})," ",n]})},Qt=Ut.div`
10
+ `,Zt=({markSquare:t=!1,children:n,markColor:r="#1B8354"})=>{const o=a();return e.jsxs(Kt,{$theme:o,className:"dgaui dgaui_chartLegend",children:[e.jsx(Ut,{square:t,color:r})," ",n]})},Kt=Yt.div`
11
11
  direction: ${e=>e.$theme.direction};
12
12
  display: flex;
13
13
  align-items: center;
@@ -15,7 +15,7 @@
15
15
  .dgaui_chartMark {
16
16
  margin-inline-end: 8px;
17
17
  }
18
- `,en=Ut.div`
18
+ `,Jt=Yt.div`
19
19
  direction: ${e=>e.$theme.direction};
20
20
  width: ${e=>e.$size}px;
21
21
  height: ${e=>e.$size}px;
@@ -48,7 +48,7 @@
48
48
  pointer-events: none;
49
49
  width: max-content;
50
50
  }
51
- `,tn=Ut.div`
51
+ `,Qt=Yt.div`
52
52
  position: relative;
53
53
 
54
54
  .grid line {
@@ -103,5 +103,5 @@
103
103
  pointer-events: none;
104
104
  width: max-content;
105
105
  }
106
- `;exports.BarChart=({data:n,xAxisLabel:r,yAxisLabel:a})=>{var i;const c=s(),l=t.useRef(null),[u,p]=t.useState(),d=null!==(i=n.colors)&&void 0!==i?i:[c.palette.primary[600],c.palette.primary[400],c.palette.primary[200],c.palette.primary[100],c.palette.primary[50],c.palette.primary[25]];return t.useEffect((()=>{if(!l.current||!n)return;o.select(l.current).selectAll("*").remove();const e=40,t=20,r=30,i=a?72:40,s=600-i-t,u=400-e-r,h=o.select(l.current).attr("width",s+i+t).attr("height",u+e+r),f=h.append("defs"),m=h.append("g").attr("transform",`translate(${i},${e})`).attr("class","mainContainer"),g=n.categories.map(((e,t)=>{const r={category:e};return n.series.forEach((e=>{r[e.name]=e.values[t]})),r})),y=o.stack().keys(n.series.map((e=>e.name)))(g),v=o.scaleBand().domain(n.categories).range([0,s]).padding(.5),x=o.scaleLinear().domain([0,o.max(y[y.length-1],(e=>e[1]))]).nice().range([u,0]);m.append("g").attr("class","grid").call(o.axisLeft(x).tickSize(-s).tickFormat((()=>"")));const b=o.scaleOrdinal().domain(n.series.map((e=>e.name))).range(d);m.selectAll(".series").data(y).enter().append("g").attr("fill",(e=>b(e.key))).selectAll("rect").data((e=>e)).enter().append("rect").attr("x",(e=>v(e.data.category))).attr("y",(e=>x(e[1]))).attr("height",(e=>x(e[0])-x(e[1]))).attr("width",v.bandwidth()).on("mousemove",((e,t)=>{p({data:t.data,location:{x:e.layerX+10,y:e.layerY+10}})})).on("mouseleave",(()=>{p(void 0)})).attr("mask",(function(e){const t=o.select(this.parentNode).datum();if((null==t?void 0:t.key)===y[y.length-1].key){const t=Date.now().toString(36)+Math.random().toString(36).substring(2,8);return this.setAttribute("fill",n.colors?n.colors[n.colors.length-1]:c.palette.neutral[200]),this.setAttribute("class","topBarBlock"),f.append("mask").attr("id","roundTopCorners_"+t).append("rect").attr("rx",8).attr("x",v(e.data.category)).attr("y",x(e[1])).attr("height",x(e[0])-x(e[1])+8).attr("width",v.bandwidth()).attr("fill",n.colors?n.colors[n.colors.length-1]:c.palette.neutral[200]),`url(#roundTopCorners_${t})`}return""})),m.append("g").attr("class","axis axis-x").attr("transform",`translate(0,${u})`).call(o.axisBottom(v)),m.append("g").attr("class","axis axis-y").call(o.axisLeft(x))}),[n]),e.jsxs(tn,{$x:null==u?void 0:u.location.x,$y:null==u?void 0:u.location.y,className:"dgaui dgaui_barChart",children:[e.jsx("svg",{ref:l}),r&&e.jsx("div",{className:"xAxisLabel",children:r}),a&&e.jsx("div",{className:"yAxisLabel",children:a}),e.jsx("div",{className:"legends",children:n.series.map(((t,r)=>{var o;return e.jsx(Jt,{markColor:d[r],children:null===(o=n.series[r])||void 0===o?void 0:o.name},r)}))}),u&&e.jsxs("div",{className:"dgaui_barChartTooltip",children:[e.jsx("div",{children:u.data.category}),Object.keys(u.data).map(((t,n)=>"category"===t?null:e.jsx("div",{children:e.jsxs(Jt,{markColor:d[n-1],children:[e.jsx("span",{style:{marginInlineEnd:24},children:t})," ",u.data[t]]})}))).reverse()]})]})},exports.PieChart=({data:r=[],hole:o=!1,size:a=150,style:i})=>{const c=s(),[l,u]=t.useState(),p=[c.palette.primary[600],c.palette.primary[400],c.palette.primary[200],c.palette.success[600],c.palette.primary[800],c.palette.primary[900]],d=function(e=0,t=0){const n=[];let r=1;for(;n.length<e;)r<=t?n.push(r):r%t==0?n.push(t):n.push(r%t),r++;return n}(r.length,p.length),h=r.map(((e,t)=>"color"===i?e.color:p[d[t]-1])),f=t.useRef(null);return t.useEffect((()=>{if(!f.current||!r)return;const e=a,t=a,s=Math.min(e,t)/2,c=20,l=20,p=20,d=20,m=n.select(f.current).attr("viewBox",`0 0 ${e+d+l} ${t+c+p}`).style("width","100%").style("height","auto").style("display","block").html("").append("g").attr("transform",`translate(${e/2+d}, ${t/2+c})`),g=n.pie().value((e=>e.value)),y=n.arc().innerRadius(o?s/2:0).outerRadius(s);m.selectAll(".arc").data(g(r)).enter().append("g").attr("class","arc").on("mousemove",((e,t)=>{u({data:Object.assign(Object.assign({},t.data),{color:h[t.index]}),location:{x:e.layerX+10,y:e.layerY+10}})})).on("mouseleave",(()=>{u(void 0)})).append("path").attr("d",y).attr("fill",(e=>"brand"===i?h[e.index]:e.data.color)).attr("class","rounded-full").style("stroke","#fff").style("stroke-width","0px")}),[r,o,a,i]),e.jsxs(en,{$theme:c,$size:a,$x:null==l?void 0:l.location.x,$y:null==l?void 0:l.location.y,className:"dgaui dgaui_pieChart",children:[e.jsx("svg",{ref:f}),e.jsx("div",{className:"legends",children:r.map(((t,n)=>e.jsx(Jt,{markColor:h[n],children:t.label},n)))}),l&&e.jsxs("div",{className:"dgaui_pieChartTooltip",children:[e.jsx("div",{children:l.data.value}),e.jsx("div",{children:e.jsx(Jt,{markColor:l.data.color,children:l.data.label})})]})]})};
106
+ `;exports.BarChart=({data:r,xAxisLabel:o,yAxisLabel:i,width:s,height:c})=>{var l;const u=a(),p=t.useRef(null),[d,h]=t.useState(),f=null!==(l=r.colors)&&void 0!==l?l:[u.palette.primary[600],u.palette.primary[400],u.palette.primary[200],u.palette.primary[100],u.palette.primary[50],u.palette.primary[25]];return t.useEffect((()=>{if(!p.current||!r)return;n.select(p.current).selectAll("*").remove();const e=40,t=20,o=30,a=i?72:40,l=(s||600)-a-t,d=(c||400)-e-o,m=n.select(p.current).attr("width",l+a+t).attr("height",d+e+o),g=m.append("defs"),y=m.append("g").attr("transform",`translate(${a},${e})`).attr("class","mainContainer"),v=r.categories.map(((e,t)=>{const n={category:e};return r.series.forEach((e=>{n[e.name]=e.values[t]})),n})),x=n.stack().keys(r.series.map((e=>e.name)))(v),b=n.scaleBand().domain(r.categories).range([0,l]).padding(.5),w=n.scaleLinear().domain([0,n.max(x[x.length-1],(e=>e[1]))]).nice().range([d,0]);y.append("g").attr("class","grid").call(n.axisLeft(w).tickSize(-l).tickFormat((()=>"")));const S=n.scaleOrdinal().domain(r.series.map((e=>e.name))).range(f);y.selectAll(".series").data(x).enter().append("g").attr("fill",(e=>S(e.key))).selectAll("rect").data((e=>e)).enter().append("rect").attr("x",(e=>b(e.data.category))).attr("y",(e=>w(e[1]))).attr("height",(e=>w(e[0])-w(e[1]))).attr("width",b.bandwidth()).on("mousemove",((e,t)=>{h({data:t.data,location:{x:e.layerX+10,y:e.layerY+10}})})).on("mouseleave",(()=>{h(void 0)})).attr("mask",(function(e){const t=n.select(this.parentNode).datum();if((null==t?void 0:t.key)===x[x.length-1].key){const t=Date.now().toString(36)+Math.random().toString(36).substring(2,8);return this.setAttribute("fill",r.colors?r.colors[r.colors.length-1]:u.palette.neutral[200]),this.setAttribute("class","topBarBlock"),g.append("mask").attr("id","roundTopCorners_"+t).append("rect").attr("rx",8).attr("x",b(e.data.category)).attr("y",w(e[1])).attr("height",w(e[0])-w(e[1])+8).attr("width",b.bandwidth()).attr("fill",r.colors?r.colors[r.colors.length-1]:u.palette.neutral[200]),`url(#roundTopCorners_${t})`}return""})),y.append("g").attr("class","axis axis-x").attr("transform",`translate(0,${c})`).call(n.axisBottom(b)),y.append("g").attr("class","axis axis-y").call(n.axisLeft(w))}),[r,s,c]),e.jsxs(Qt,{$x:null==d?void 0:d.location.x,$y:null==d?void 0:d.location.y,className:"dgaui dgaui_barChart",children:[e.jsx("svg",{ref:p}),o&&e.jsx("div",{className:"xAxisLabel",children:o}),i&&e.jsx("div",{className:"yAxisLabel",children:i}),e.jsx("div",{className:"legends",children:r.series.map(((t,n)=>{var o;return e.jsx(Zt,{markColor:f[n],children:null===(o=r.series[n])||void 0===o?void 0:o.name},n)}))}),d&&e.jsxs("div",{className:"dgaui_barChartTooltip",children:[e.jsx("div",{children:d.data.category}),Object.keys(d.data).map(((t,n)=>"category"===t?null:e.jsx("div",{children:e.jsxs(Zt,{markColor:f[n-1],children:[e.jsx("span",{style:{marginInlineEnd:24},children:t})," ",d.data[t]]})}))).reverse()]})]})},exports.PieChart=({data:r=[],hole:o=!1,size:i=150,style:s})=>{const c=a(),[l,u]=t.useState(),p=[c.palette.primary[600],c.palette.primary[400],c.palette.primary[200],c.palette.success[600],c.palette.primary[800],c.palette.primary[900]],d=function(e=0,t=0){const n=[];let r=1;for(;n.length<e;)r<=t?n.push(r):r%t==0?n.push(t):n.push(r%t),r++;return n}(r.length,p.length),h=r.map(((e,t)=>"color"===s?e.color:p[d[t]-1])),f=t.useRef(null);return t.useEffect((()=>{if(!f.current||!r)return;const e=i,t=i,a=Math.min(e,t)/2,c=20,l=20,p=20,d=20,m=n.select(f.current).attr("viewBox",`0 0 ${e+d+l} ${t+c+p}`).style("width","100%").style("height","auto").style("display","block").html("").append("g").attr("transform",`translate(${e/2+d}, ${t/2+c})`),g=n.pie().value((e=>e.value)),y=n.arc().innerRadius(o?a/2:0).outerRadius(a);m.selectAll(".arc").data(g(r)).enter().append("g").attr("class","arc").on("mousemove",((e,t)=>{u({data:Object.assign(Object.assign({},t.data),{color:h[t.index]}),location:{x:e.layerX+10,y:e.layerY+10}})})).on("mouseleave",(()=>{u(void 0)})).append("path").attr("d",y).attr("fill",(e=>"brand"===s?h[e.index]:e.data.color)).attr("class","rounded-full").style("stroke","#fff").style("stroke-width","0px")}),[r,o,i,s]),e.jsxs(Jt,{$theme:c,$size:i,$x:null==l?void 0:l.location.x,$y:null==l?void 0:l.location.y,className:"dgaui dgaui_pieChart",children:[e.jsx("svg",{ref:f}),e.jsx("div",{className:"legends",children:r.map(((t,n)=>e.jsx(Zt,{markColor:h[n],children:t.label},n)))}),l&&e.jsxs("div",{className:"dgaui_pieChartTooltip",children:[e.jsx("div",{children:l.data.value}),e.jsx("div",{children:e.jsx(Zt,{markColor:l.data.color,children:l.data.label})})]})]})};
107
107
  //# sourceMappingURL=index.js.map